Skip to content

Commit

Permalink
Merge pull request #74 from apideck-libraries/generator-update
Browse files Browse the repository at this point in the history
Automated update by SDK Generator
  • Loading branch information
Amzani authored Jan 29, 2025
2 parents 63c3242 + e0dd4e9 commit 32beae9
Show file tree
Hide file tree
Showing 1,411 changed files with 2,354 additions and 1,445 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
commit: main
tag: 3.8.0
tag: 3.9.0

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apideck/php",
"version": "3.8.0",
"version": "3.9.0",
"description": "Apideck PHP SDK",
"keywords": [
"apideck",
Expand Down
6 changes: 6 additions & 0 deletions src/gen/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ docs/Model/EcommerceCustomer.md
docs/Model/EcommerceCustomerAddresses.md
docs/Model/EcommerceCustomersFilter.md
docs/Model/EcommerceDiscount.md
docs/Model/EcommerceEventType.md
docs/Model/EcommerceOrder.md
docs/Model/EcommerceOrderLineItem.md
docs/Model/EcommerceOrderStatus.md
Expand Down Expand Up @@ -467,6 +468,7 @@ docs/Model/InvoiceItem.md
docs/Model/InvoiceItemFilter.md
docs/Model/InvoiceItemSalesDetails.md
docs/Model/InvoiceItemsFilter.md
docs/Model/InvoiceItemsSort.md
docs/Model/InvoiceLineItem.md
docs/Model/InvoiceResponse.md
docs/Model/InvoicesFilter.md
Expand Down Expand Up @@ -968,6 +970,7 @@ lib/Model/EcommerceCustomer.php
lib/Model/EcommerceCustomerAddresses.php
lib/Model/EcommerceCustomersFilter.php
lib/Model/EcommerceDiscount.php
lib/Model/EcommerceEventType.php
lib/Model/EcommerceOrder.php
lib/Model/EcommerceOrderLineItem.php
lib/Model/EcommerceOrderStatus.php
Expand Down Expand Up @@ -1168,6 +1171,7 @@ lib/Model/InvoiceItem.php
lib/Model/InvoiceItemFilter.php
lib/Model/InvoiceItemSalesDetails.php
lib/Model/InvoiceItemsFilter.php
lib/Model/InvoiceItemsSort.php
lib/Model/InvoiceLineItem.php
lib/Model/InvoiceResponse.php
lib/Model/InvoicesFilter.php
Expand Down Expand Up @@ -1666,6 +1670,7 @@ test/Model/EcommerceCustomerAddressesTest.php
test/Model/EcommerceCustomerTest.php
test/Model/EcommerceCustomersFilterTest.php
test/Model/EcommerceDiscountTest.php
test/Model/EcommerceEventTypeTest.php
test/Model/EcommerceOrderLineItemTest.php
test/Model/EcommerceOrderStatusTest.php
test/Model/EcommerceOrderTest.php
Expand Down Expand Up @@ -1865,6 +1870,7 @@ test/Model/InvoiceItemFilterTest.php
test/Model/InvoiceItemSalesDetailsTest.php
test/Model/InvoiceItemTest.php
test/Model/InvoiceItemsFilterTest.php
test/Model/InvoiceItemsSortTest.php
test/Model/InvoiceLineItemTest.php
test/Model/InvoiceResponseTest.php
test/Model/InvoiceTest.php
Expand Down
1 change: 1 addition & 0 deletions src/gen/docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2744,6 +2744,7 @@ Name | Type | Description | Notes
**x_apideck_service_id** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. |
**cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. |
**filter** | [\Apideck\Client\Model\InvoiceItemsFilter](../models/\Apideck\Client\Model\InvoiceItemsFilter.md)| Apply filters |
**sort** | [\Apideck\Client\Model\InvoiceItemsSort](../models/\Apideck\Client\Model\InvoiceItemsSort.md)| Apply sorting |
**pass_through** | [\Apideck\Client\Model\PassThroughQuery](../models/\Apideck\Client\Model\PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads |
**fields** | **string**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: &#x60;fields=name,email,addresses.city&#x60;<br /><br />In the example above, the response will only include the fields \&quot;name\&quot;, \&quot;email\&quot; and \&quot;addresses.city\&quot;. If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
Expand Down
18 changes: 18 additions & 0 deletions src/gen/docs/models/ConnectionWebhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,24 @@ Name | Type | Description | Notes

* `ACCOUNTING_EXPENSE_DELETED` (value: `'accounting.expense.deleted'`)

* `ECOMMERCE_ORDER_CREATED` (value: `'ecommerce.order.created'`)

* `ECOMMERCE_ORDER_UPDATED` (value: `'ecommerce.order.updated'`)

* `ECOMMERCE_ORDER_DELETED` (value: `'ecommerce.order.deleted'`)

* `ECOMMERCE_PRODUCT_CREATED` (value: `'ecommerce.product.created'`)

* `ECOMMERCE_PRODUCT_UPDATED` (value: `'ecommerce.product.updated'`)

* `ECOMMERCE_PRODUCT_DELETED` (value: `'ecommerce.product.deleted'`)

* `ECOMMERCE_CUSTOMER_CREATED` (value: `'ecommerce.customer.created'`)

* `ECOMMERCE_CUSTOMER_UPDATED` (value: `'ecommerce.customer.updated'`)

* `ECOMMERCE_CUSTOMER_DELETED` (value: `'ecommerce.customer.deleted'`)




Expand Down
31 changes: 31 additions & 0 deletions src/gen/docs/models/EcommerceEventType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Apideck.EcommerceEventType

## Enum


* `STAR` (value: `'*'`)

* `ECOMMERCE_ORDER_CREATED` (value: `'ecommerce.order.created'`)

* `ECOMMERCE_ORDER_UPDATED` (value: `'ecommerce.order.updated'`)

* `ECOMMERCE_ORDER_DELETED` (value: `'ecommerce.order.deleted'`)

* `ECOMMERCE_PRODUCT_CREATED` (value: `'ecommerce.product.created'`)

* `ECOMMERCE_PRODUCT_UPDATED` (value: `'ecommerce.product.updated'`)

* `ECOMMERCE_PRODUCT_DELETED` (value: `'ecommerce.product.deleted'`)

* `ECOMMERCE_CUSTOMER_CREATED` (value: `'ecommerce.customer.created'`)

* `ECOMMERCE_CUSTOMER_UPDATED` (value: `'ecommerce.customer.updated'`)

* `ECOMMERCE_CUSTOMER_DELETED` (value: `'ecommerce.customer.deleted'`)


---

[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)


Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
`service_id` | **string** | Service provider identifier | [optional]
`resource` | [**\Apideck\Client\Model\LinkedConnectorResource**](LinkedConnectorResource.md) | | [optional]
`example_response` | **object** | | [optional]
`workflow_examples` | **array&lt;string,object&gt;** | If the resource has a workflow, this will contain the example response for each step | [optional]



Expand All @@ -20,6 +21,7 @@ Name | Type | Description | Notes
* [`LinkedConnectorResource`](LinkedConnectorResource.md)



---

[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
Expand Down
34 changes: 34 additions & 0 deletions src/gen/docs/models/InvoiceItemsSort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Apideck.InvoiceItemsSort

### Description

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
`by` | **string** | The field on which to sort the Invoice Items | [optional]
`direction` | [**\Apideck\Client\Model\SortDirection**](SortDirection.md) | | [optional]





<a name="BY"></a>
## Enum: InvoiceItemsSort.by


* `CREATED_AT` (value: `'created_at'`)

* `UPDATED_AT` (value: `'updated_at'`)




## Referenced Types:

* [`SortDirection`](SortDirection.md)

---

[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)


2 changes: 1 addition & 1 deletion src/gen/docs/models/Opportunity.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
`title` | **string** | The title or name of the opportunity. |
`primary_contact_id` | **string** | The unique identifier of the primary contact associated with the opportunity. |
`id` | **string** | A unique identifier for the opportunity. | [optional]
`primary_contact_id` | **string** | The unique identifier of the primary contact associated with the opportunity. | [optional]
`description` | **string** | A description of the opportunity. | [optional]
`type` | **string** | The type of the opportunity | [optional]
`monetary_amount` | **float** | The monetary value associated with the opportunity | [optional]
Expand Down
4 changes: 4 additions & 0 deletions src/gen/docs/models/PaymentStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
## Enum


* `DRAFT` (value: `'draft'`)

* `AUTHORISED` (value: `'authorised'`)

* `REJECTED` (value: `'rejected'`)

* `PAID` (value: `'paid'`)

* `VOIDED` (value: `'voided'`)
Expand Down
2 changes: 2 additions & 0 deletions src/gen/docs/models/UnifiedId.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### Description

A object containing a unique identifier for the resource that was created, updated, or deleted.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
18 changes: 18 additions & 0 deletions src/gen/docs/models/WebhookEventType.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,24 @@

* `ACCOUNTING_EXPENSE_DELETED` (value: `'accounting.expense.deleted'`)

* `ECOMMERCE_ORDER_CREATED` (value: `'ecommerce.order.created'`)

* `ECOMMERCE_ORDER_UPDATED` (value: `'ecommerce.order.updated'`)

* `ECOMMERCE_ORDER_DELETED` (value: `'ecommerce.order.deleted'`)

* `ECOMMERCE_PRODUCT_CREATED` (value: `'ecommerce.product.created'`)

* `ECOMMERCE_PRODUCT_UPDATED` (value: `'ecommerce.product.updated'`)

* `ECOMMERCE_PRODUCT_DELETED` (value: `'ecommerce.product.deleted'`)

* `ECOMMERCE_CUSTOMER_CREATED` (value: `'ecommerce.customer.created'`)

* `ECOMMERCE_CUSTOMER_UPDATED` (value: `'ecommerce.customer.updated'`)

* `ECOMMERCE_CUSTOMER_DELETED` (value: `'ecommerce.customer.deleted'`)


---

Expand Down
Loading

0 comments on commit 32beae9

Please sign in to comment.