diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5973f8ef8..9018e8f52 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -18,5 +18,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
commit: main
- tag: 3.1.2
+ tag: 3.2.0
diff --git a/package.json b/package.json
index 6766d148f..5ede3c032 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@apideck/php",
- "version": "3.1.2",
+ "version": "3.2.0",
"description": "Apideck PHP SDK",
"keywords": [
"apideck",
diff --git a/src/gen/.openapi-generator/FILES b/src/gen/.openapi-generator/FILES
index 0ae3a485b..5a378252f 100644
--- a/src/gen/.openapi-generator/FILES
+++ b/src/gen/.openapi-generator/FILES
@@ -22,7 +22,11 @@ docs/Api/PosApi.md
docs/Api/SmsApi.md
docs/Api/VaultApi.md
docs/Api/WebhookApi.md
+docs/Model/AccountingDepartment.md
+docs/Model/AccountingDepartmentsFilter.md
docs/Model/AccountingEventType.md
+docs/Model/AccountingLocation.md
+docs/Model/AccountingLocationsFilter.md
docs/Model/ActivitiesFilter.md
docs/Model/ActivitiesSort.md
docs/Model/Activity.md
@@ -106,6 +110,8 @@ docs/Model/Contact.md
docs/Model/ContactsFilter.md
docs/Model/ContactsSort.md
docs/Model/CopyFolderRequest.md
+docs/Model/CreateAccountingDepartmentResponse.md
+docs/Model/CreateAccountingLocationResponse.md
docs/Model/CreateActivityResponse.md
docs/Model/CreateApplicantResponse.md
docs/Model/CreateApplicationResponse.md
@@ -154,6 +160,7 @@ docs/Model/CreatePurchaseOrderResponse.md
docs/Model/CreateSessionResponse.md
docs/Model/CreateSessionResponseData.md
docs/Model/CreateSharedLinkResponse.md
+docs/Model/CreateSubsidiaryResponse.md
docs/Model/CreateSupplierResponse.md
docs/Model/CreateTaxRateResponse.md
docs/Model/CreateTenderResponse.md
@@ -176,6 +183,8 @@ docs/Model/Customer.md
docs/Model/CustomersFilter.md
docs/Model/CustomersSort.md
docs/Model/Deduction.md
+docs/Model/DeleteAccountingDepartmentResponse.md
+docs/Model/DeleteAccountingLocationResponse.md
docs/Model/DeleteActivityResponse.md
docs/Model/DeleteApplicantResponse.md
docs/Model/DeleteApplicationResponse.md
@@ -216,6 +225,7 @@ docs/Model/DeletePosPaymentResponse.md
docs/Model/DeleteProductResponse.md
docs/Model/DeletePurchaseOrderResponse.md
docs/Model/DeleteSharedLinkResponse.md
+docs/Model/DeleteSubsidiaryResponse.md
docs/Model/DeleteSupplierResponse.md
docs/Model/DeleteTaxRateResponse.md
docs/Model/DeleteTenderResponse.md
@@ -270,6 +280,10 @@ docs/Model/FormField.md
docs/Model/FormFieldOption.md
docs/Model/FormFieldOptionGroup.md
docs/Model/Gender.md
+docs/Model/GetAccountingDepartmentResponse.md
+docs/Model/GetAccountingDepartmentsResponse.md
+docs/Model/GetAccountingLocationResponse.md
+docs/Model/GetAccountingLocationsResponse.md
docs/Model/GetActivitiesResponse.md
docs/Model/GetActivityResponse.md
docs/Model/GetApiResourceCoverageResponse.md
@@ -387,6 +401,8 @@ docs/Model/GetSharedLinkResponse.md
docs/Model/GetSharedLinksResponse.md
docs/Model/GetStoreResponse.md
docs/Model/GetStoresResponse.md
+docs/Model/GetSubsidiariesResponse.md
+docs/Model/GetSubsidiaryResponse.md
docs/Model/GetSupplierResponse.md
docs/Model/GetSuppliersResponse.md
docs/Model/GetTaxRateResponse.md
@@ -537,6 +553,8 @@ docs/Model/SimpleFormFieldOption.md
docs/Model/SocialLink.md
docs/Model/SortDirection.md
docs/Model/Status.md
+docs/Model/Subsidiary.md
+docs/Model/SubsidiaryReference.md
docs/Model/Supplier.md
docs/Model/SuppliersFilter.md
docs/Model/SuppliersSort.md
@@ -561,6 +579,8 @@ docs/Model/UnifiedFile.md
docs/Model/UnifiedFilePermissions.md
docs/Model/UnifiedId.md
docs/Model/UnprocessableResponse.md
+docs/Model/UpdateAccountingDepartmentResponse.md
+docs/Model/UpdateAccountingLocationResponse.md
docs/Model/UpdateActivityResponse.md
docs/Model/UpdateApplicantResponse.md
docs/Model/UpdateApplicationResponse.md
@@ -608,6 +628,7 @@ docs/Model/UpdatePosPaymentResponse.md
docs/Model/UpdateProductResponse.md
docs/Model/UpdatePurchaseOrderResponse.md
docs/Model/UpdateSharedLinkResponse.md
+docs/Model/UpdateSubsidiaryResponse.md
docs/Model/UpdateSupplierResponse.md
docs/Model/UpdateTaxRateResponse.md
docs/Model/UpdateTenderResponse.md
@@ -652,7 +673,11 @@ lib/Apideck.php
lib/ApideckConfiguration.php
lib/Configuration.php
lib/HeaderSelector.php
+lib/Model/AccountingDepartment.php
+lib/Model/AccountingDepartmentsFilter.php
lib/Model/AccountingEventType.php
+lib/Model/AccountingLocation.php
+lib/Model/AccountingLocationsFilter.php
lib/Model/ActivitiesFilter.php
lib/Model/ActivitiesSort.php
lib/Model/Activity.php
@@ -736,6 +761,8 @@ lib/Model/Contact.php
lib/Model/ContactsFilter.php
lib/Model/ContactsSort.php
lib/Model/CopyFolderRequest.php
+lib/Model/CreateAccountingDepartmentResponse.php
+lib/Model/CreateAccountingLocationResponse.php
lib/Model/CreateActivityResponse.php
lib/Model/CreateApplicantResponse.php
lib/Model/CreateApplicationResponse.php
@@ -784,6 +811,7 @@ lib/Model/CreatePurchaseOrderResponse.php
lib/Model/CreateSessionResponse.php
lib/Model/CreateSessionResponseData.php
lib/Model/CreateSharedLinkResponse.php
+lib/Model/CreateSubsidiaryResponse.php
lib/Model/CreateSupplierResponse.php
lib/Model/CreateTaxRateResponse.php
lib/Model/CreateTenderResponse.php
@@ -806,6 +834,8 @@ lib/Model/Customer.php
lib/Model/CustomersFilter.php
lib/Model/CustomersSort.php
lib/Model/Deduction.php
+lib/Model/DeleteAccountingDepartmentResponse.php
+lib/Model/DeleteAccountingLocationResponse.php
lib/Model/DeleteActivityResponse.php
lib/Model/DeleteApplicantResponse.php
lib/Model/DeleteApplicationResponse.php
@@ -846,6 +876,7 @@ lib/Model/DeletePosPaymentResponse.php
lib/Model/DeleteProductResponse.php
lib/Model/DeletePurchaseOrderResponse.php
lib/Model/DeleteSharedLinkResponse.php
+lib/Model/DeleteSubsidiaryResponse.php
lib/Model/DeleteSupplierResponse.php
lib/Model/DeleteTaxRateResponse.php
lib/Model/DeleteTenderResponse.php
@@ -900,6 +931,10 @@ lib/Model/FormField.php
lib/Model/FormFieldOption.php
lib/Model/FormFieldOptionGroup.php
lib/Model/Gender.php
+lib/Model/GetAccountingDepartmentResponse.php
+lib/Model/GetAccountingDepartmentsResponse.php
+lib/Model/GetAccountingLocationResponse.php
+lib/Model/GetAccountingLocationsResponse.php
lib/Model/GetActivitiesResponse.php
lib/Model/GetActivityResponse.php
lib/Model/GetApiResourceCoverageResponse.php
@@ -1017,6 +1052,8 @@ lib/Model/GetSharedLinkResponse.php
lib/Model/GetSharedLinksResponse.php
lib/Model/GetStoreResponse.php
lib/Model/GetStoresResponse.php
+lib/Model/GetSubsidiariesResponse.php
+lib/Model/GetSubsidiaryResponse.php
lib/Model/GetSupplierResponse.php
lib/Model/GetSuppliersResponse.php
lib/Model/GetTaxRateResponse.php
@@ -1168,6 +1205,8 @@ lib/Model/SimpleFormFieldOption.php
lib/Model/SocialLink.php
lib/Model/SortDirection.php
lib/Model/Status.php
+lib/Model/Subsidiary.php
+lib/Model/SubsidiaryReference.php
lib/Model/Supplier.php
lib/Model/SuppliersFilter.php
lib/Model/SuppliersSort.php
@@ -1192,6 +1231,8 @@ lib/Model/UnifiedFile.php
lib/Model/UnifiedFilePermissions.php
lib/Model/UnifiedId.php
lib/Model/UnprocessableResponse.php
+lib/Model/UpdateAccountingDepartmentResponse.php
+lib/Model/UpdateAccountingLocationResponse.php
lib/Model/UpdateActivityResponse.php
lib/Model/UpdateApplicantResponse.php
lib/Model/UpdateApplicationResponse.php
@@ -1239,6 +1280,7 @@ lib/Model/UpdatePosPaymentResponse.php
lib/Model/UpdateProductResponse.php
lib/Model/UpdatePurchaseOrderResponse.php
lib/Model/UpdateSharedLinkResponse.php
+lib/Model/UpdateSubsidiaryResponse.php
lib/Model/UpdateSupplierResponse.php
lib/Model/UpdateTaxRateResponse.php
lib/Model/UpdateTenderResponse.php
@@ -1279,7 +1321,11 @@ test/Api/PosApiTest.php
test/Api/SmsApiTest.php
test/Api/VaultApiTest.php
test/Api/WebhookApiTest.php
+test/Model/AccountingDepartmentTest.php
+test/Model/AccountingDepartmentsFilterTest.php
test/Model/AccountingEventTypeTest.php
+test/Model/AccountingLocationTest.php
+test/Model/AccountingLocationsFilterTest.php
test/Model/ActivitiesFilterTest.php
test/Model/ActivitiesSortTest.php
test/Model/ActivityAttendeeTest.php
@@ -1363,6 +1409,8 @@ test/Model/ContactTest.php
test/Model/ContactsFilterTest.php
test/Model/ContactsSortTest.php
test/Model/CopyFolderRequestTest.php
+test/Model/CreateAccountingDepartmentResponseTest.php
+test/Model/CreateAccountingLocationResponseTest.php
test/Model/CreateActivityResponseTest.php
test/Model/CreateApplicantResponseTest.php
test/Model/CreateApplicationResponseTest.php
@@ -1411,6 +1459,7 @@ test/Model/CreatePurchaseOrderResponseTest.php
test/Model/CreateSessionResponseDataTest.php
test/Model/CreateSessionResponseTest.php
test/Model/CreateSharedLinkResponseTest.php
+test/Model/CreateSubsidiaryResponseTest.php
test/Model/CreateSupplierResponseTest.php
test/Model/CreateTaxRateResponseTest.php
test/Model/CreateTenderResponseTest.php
@@ -1433,6 +1482,8 @@ test/Model/CustomerTest.php
test/Model/CustomersFilterTest.php
test/Model/CustomersSortTest.php
test/Model/DeductionTest.php
+test/Model/DeleteAccountingDepartmentResponseTest.php
+test/Model/DeleteAccountingLocationResponseTest.php
test/Model/DeleteActivityResponseTest.php
test/Model/DeleteApplicantResponseTest.php
test/Model/DeleteApplicationResponseTest.php
@@ -1473,6 +1524,7 @@ test/Model/DeletePosPaymentResponseTest.php
test/Model/DeleteProductResponseTest.php
test/Model/DeletePurchaseOrderResponseTest.php
test/Model/DeleteSharedLinkResponseTest.php
+test/Model/DeleteSubsidiaryResponseTest.php
test/Model/DeleteSupplierResponseTest.php
test/Model/DeleteTaxRateResponseTest.php
test/Model/DeleteTenderResponseTest.php
@@ -1527,6 +1579,10 @@ test/Model/FormFieldOptionGroupTest.php
test/Model/FormFieldOptionTest.php
test/Model/FormFieldTest.php
test/Model/GenderTest.php
+test/Model/GetAccountingDepartmentResponseTest.php
+test/Model/GetAccountingDepartmentsResponseTest.php
+test/Model/GetAccountingLocationResponseTest.php
+test/Model/GetAccountingLocationsResponseTest.php
test/Model/GetActivitiesResponseTest.php
test/Model/GetActivityResponseTest.php
test/Model/GetApiResourceCoverageResponseTest.php
@@ -1644,6 +1700,8 @@ test/Model/GetSharedLinkResponseTest.php
test/Model/GetSharedLinksResponseTest.php
test/Model/GetStoreResponseTest.php
test/Model/GetStoresResponseTest.php
+test/Model/GetSubsidiariesResponseTest.php
+test/Model/GetSubsidiaryResponseTest.php
test/Model/GetSupplierResponseTest.php
test/Model/GetSuppliersResponseTest.php
test/Model/GetTaxRateResponseTest.php
@@ -1794,6 +1852,8 @@ test/Model/SimpleFormFieldOptionTest.php
test/Model/SocialLinkTest.php
test/Model/SortDirectionTest.php
test/Model/StatusTest.php
+test/Model/SubsidiaryReferenceTest.php
+test/Model/SubsidiaryTest.php
test/Model/SupplierTest.php
test/Model/SuppliersFilterTest.php
test/Model/SuppliersSortTest.php
@@ -1818,6 +1878,8 @@ test/Model/UnifiedFilePermissionsTest.php
test/Model/UnifiedFileTest.php
test/Model/UnifiedIdTest.php
test/Model/UnprocessableResponseTest.php
+test/Model/UpdateAccountingDepartmentResponseTest.php
+test/Model/UpdateAccountingLocationResponseTest.php
test/Model/UpdateActivityResponseTest.php
test/Model/UpdateApplicantResponseTest.php
test/Model/UpdateApplicationResponseTest.php
@@ -1865,6 +1927,7 @@ test/Model/UpdatePosPaymentResponseTest.php
test/Model/UpdateProductResponseTest.php
test/Model/UpdatePurchaseOrderResponseTest.php
test/Model/UpdateSharedLinkResponseTest.php
+test/Model/UpdateSubsidiaryResponseTest.php
test/Model/UpdateSupplierResponseTest.php
test/Model/UpdateTaxRateResponseTest.php
test/Model/UpdateTenderResponseTest.php
diff --git a/src/gen/docs/apis/AccountingApi.md b/src/gen/docs/apis/AccountingApi.md
index 4bea10e53..6c471f7f6 100644
--- a/src/gen/docs/apis/AccountingApi.md
+++ b/src/gen/docs/apis/AccountingApi.md
@@ -22,6 +22,11 @@
* [Delete Customer](#customersDelete)
* [Get Customer](#customersOne)
* [Update Customer](#customersUpdate)
+* [Create Department](#departmentsAdd)
+* [List Departments](#departmentsAll)
+* [Delete Department](#departmentsDelete)
+* [Get Department](#departmentsOne)
+* [Update Department](#departmentsUpdate)
* [Create Invoice Item](#invoiceItemsAdd)
* [List Invoice Items](#invoiceItemsAll)
* [Delete Invoice Item](#invoiceItemsDelete)
@@ -42,6 +47,11 @@
* [Delete Ledger Account](#ledgerAccountsDelete)
* [Get Ledger Account](#ledgerAccountsOne)
* [Update Ledger Account](#ledgerAccountsUpdate)
+* [Create Location](#locationsAdd)
+* [List Locations](#locationsAll)
+* [Delete Location](#locationsDelete)
+* [Get Location](#locationsOne)
+* [Update Location](#locationsUpdate)
* [Create Payment](#paymentsAdd)
* [List Payments](#paymentsAll)
* [Delete Payment](#paymentsDelete)
@@ -53,6 +63,11 @@
* [Delete Purchase Order](#purchaseOrdersDelete)
* [Get Purchase Order](#purchaseOrdersOne)
* [Update Purchase Order](#purchaseOrdersUpdate)
+* [Create Subsidiary](#subsidiariesAdd)
+* [List Subsidiaries](#subsidiariesAll)
+* [Delete Subsidiary](#subsidiariesDelete)
+* [Get Subsidiary](#subsidiariesOne)
+* [Update Subsidiary](#subsidiariesUpdate)
* [Create Supplier](#suppliersAdd)
* [List Suppliers](#suppliersAll)
* [Delete Supplier](#suppliersDelete)
@@ -1206,23 +1221,965 @@ try {
```
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Create Department
+
+
+Method: **departmentsAdd**
+
+```php
+Apideck->getAccountingApi()->departmentsAdd($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **accounting_department** | [\Apideck\Client\Model\AccountingDepartment](../models/\Apideck\Client\Model\AccountingDepartment.md)| |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\CreateAccountingDepartmentResponse`](../models/\Apideck\Client\Model\CreateAccountingDepartmentResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**201** | Department |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->departmentsAdd($department);
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# List Departments
+
+
+Method: **departmentsAll**
+
+```php
+Apideck->getAccountingApi()->departmentsAll($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
+ **filter** | [\Apideck\Client\Model\AccountingDepartmentsFilter](../models/\Apideck\Client\Model\AccountingDepartmentsFilter.md)| Apply filters |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+ **limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\GetAccountingDepartmentsResponse`](../models/\Apideck\Client\Model\GetAccountingDepartmentsResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | Departments |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->departmentsAll();
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Delete Department
+
+
+Method: **departmentsDelete**
+
+```php
+Apideck->getAccountingApi()->departmentsDelete($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| ID of the record you are acting upon. |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\DeleteAccountingDepartmentResponse`](../models/\Apideck\Client\Model\DeleteAccountingDepartmentResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | Department deleted |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->departmentsDelete('id_example');
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Get Department
+
+
+Method: **departmentsOne**
+
+```php
+Apideck->getAccountingApi()->departmentsOne($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| ID of the record you are acting upon. |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\GetAccountingDepartmentResponse`](../models/\Apideck\Client\Model\GetAccountingDepartmentResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | Location |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->departmentsOne('id_example');
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Update Department
+
+
+Method: **departmentsUpdate**
+
+```php
+Apideck->getAccountingApi()->departmentsUpdate($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| ID of the record you are acting upon. |
+ **accounting_department** | [\Apideck\Client\Model\AccountingDepartment](../models/\Apideck\Client\Model\AccountingDepartment.md)| |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\UpdateAccountingDepartmentResponse`](../models/\Apideck\Client\Model\UpdateAccountingDepartmentResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | Department |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->departmentsUpdate('id_example', $department);
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
# Create Invoice Item
-Method: **invoiceItemsAdd**
+Method: **invoiceItemsAdd**
+
+```php
+Apideck->getAccountingApi()->invoiceItemsAdd($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **invoice_item** | [\Apideck\Client\Model\InvoiceItem](../models/\Apideck\Client\Model\InvoiceItem.md)| |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\CreateInvoiceItemResponse`](../models/\Apideck\Client\Model\CreateInvoiceItemResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**201** | InvoiceItems |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->invoiceItemsAdd($invoiceItem);
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# List Invoice Items
+
+
+Method: **invoiceItemsAll**
+
+```php
+Apideck->getAccountingApi()->invoiceItemsAll($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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 |
+ **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+ **limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\GetInvoiceItemsResponse`](../models/\Apideck\Client\Model\GetInvoiceItemsResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | InvoiceItems |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->invoiceItemsAll();
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Delete Invoice Item
+
+
+Method: **invoiceItemsDelete**
+
+```php
+Apideck->getAccountingApi()->invoiceItemsDelete($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| ID of the record you are acting upon. |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\DeleteTaxRateResponse`](../models/\Apideck\Client\Model\DeleteTaxRateResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | InvoiceItems |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->invoiceItemsDelete('id_example');
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Get Invoice Item
+
+
+Method: **invoiceItemsOne**
+
+```php
+Apideck->getAccountingApi()->invoiceItemsOne($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| ID of the record you are acting upon. |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\GetInvoiceItemResponse`](../models/\Apideck\Client\Model\GetInvoiceItemResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | InvoiceItems |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->invoiceItemsOne('id_example');
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Update Invoice Item
+
+
+Method: **invoiceItemsUpdate**
+
+```php
+Apideck->getAccountingApi()->invoiceItemsUpdate($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| ID of the record you are acting upon. |
+ **invoice_item** | [\Apideck\Client\Model\InvoiceItem](../models/\Apideck\Client\Model\InvoiceItem.md)| |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\UpdateInvoiceItemsResponse`](../models/\Apideck\Client\Model\UpdateInvoiceItemsResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | InvoiceItems |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->invoiceItemsUpdate('id_example', $invoiceItem);
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Create Invoice
+
+
+Method: **invoicesAdd**
+
+```php
+Apideck->getAccountingApi()->invoicesAdd($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **invoice** | [\Apideck\Client\Model\Invoice](../models/\Apideck\Client\Model\Invoice.md)| |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\CreateInvoiceResponse`](../models/\Apideck\Client\Model\CreateInvoiceResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**201** | Invoice created |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->invoicesAdd($invoice);
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# List Invoices
+
+
+Method: **invoicesAll**
+
+```php
+Apideck->getAccountingApi()->invoicesAll($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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\InvoicesFilter](../models/\Apideck\Client\Model\InvoicesFilter.md)| Apply filters |
+ **sort** | [\Apideck\Client\Model\InvoicesSort](../models/\Apideck\Client\Model\InvoicesSort.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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+ **limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\GetInvoicesResponse`](../models/\Apideck\Client\Model\GetInvoicesResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | Invoices |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->invoicesAll();
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Delete Invoice
+
+
+Method: **invoicesDelete**
+
+```php
+Apideck->getAccountingApi()->invoicesDelete($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| ID of the record you are acting upon. |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\DeleteInvoiceResponse`](../models/\Apideck\Client\Model\DeleteInvoiceResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | Invoice deleted |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->invoicesDelete('id_example');
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Get Invoice
+
+
+Method: **invoicesOne**
+
+```php
+Apideck->getAccountingApi()->invoicesOne($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| ID of the record you are acting upon. |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\GetInvoiceResponse`](../models/\Apideck\Client\Model\GetInvoiceResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**200** | Invoice |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->invoicesOne('id_example');
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# Update Invoice
+
+
+Method: **invoicesUpdate**
```php
-Apideck->getAccountingApi()->invoiceItemsAdd($data)
+Apideck->getAccountingApi()->invoicesUpdate($data)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **invoice_item** | [\Apideck\Client\Model\InvoiceItem](../models/\Apideck\Client\Model\InvoiceItem.md)| |
+ **id** | **string**| ID of the record you are acting upon. |
+ **invoice** | [\Apideck\Client\Model\Invoice](../models/\Apideck\Client\Model\Invoice.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -1232,14 +2189,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\CreateInvoiceItemResponse`](../models/\Apideck\Client\Model\CreateInvoiceItemResponse.md)
+[`\Apideck\Client\Model\UpdateInvoiceResponse`](../models/\Apideck\Client\Model\UpdateInvoiceResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**201** | InvoiceItems |
+**200** | Invoice updated |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1263,7 +2220,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoiceItemsAdd($invoiceItem);
+ $response = $apideck->getAccountingApi()->invoicesUpdate('id_example', $invoice);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1274,14 +2231,80 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# List Invoice Items
+
+# Create Journal Entry
-Method: **invoiceItemsAll**
+Method: **journalEntriesAdd**
```php
-Apideck->getAccountingApi()->invoiceItemsAll($data)
+Apideck->getAccountingApi()->journalEntriesAdd($data)
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **journal_entry** | [\Apideck\Client\Model\JournalEntry](../models/\Apideck\Client\Model\JournalEntry.md)| |
+ **x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
+ **x_apideck_app_id** | **string**| The ID of your Unify application |
+ **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. |
+ **raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+
+
+
+### Response Type
+
+[`\Apideck\Client\Model\CreateJournalEntryResponse`](../models/\Apideck\Client\Model\CreateJournalEntryResponse.md)
+
+
+
+### HTTP response details
+| Status code | Description |
+|-------------|-------------|
+**201** | JournalEntries |
+**400** | Bad Request |
+**401** | Unauthorized |
+**402** | Payment Required |
+**404** | The specified resource was not found |
+**422** | Unprocessable |
+4/5xx | Unexpected error |
+
+
+## Example Usage
+
+```php
+', '', '', '');
+
+$apideck = new Apideck($config);
+
+try {
+ $response = $apideck->getAccountingApi()->journalEntriesAdd($journalEntry);
+ var_dump('API called successfully', $response);
+} catch(ApiException $error) {
+ var_dump('API called failed', $error);
+}
+
+```
+
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
+# List Journal Entries
+
+
+Method: **journalEntriesAll**
+
+```php
+Apideck->getAccountingApi()->journalEntriesAll($data)
```
### Parameters
@@ -1292,7 +2315,8 @@ Name | Type | Description | Notes
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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 |
+ **filter** | [\Apideck\Client\Model\JournalEntriesFilter](../models/\Apideck\Client\Model\JournalEntriesFilter.md)| Apply filters |
+ **sort** | [\Apideck\Client\Model\JournalEntriesSort](../models/\Apideck\Client\Model\JournalEntriesSort.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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
@@ -1302,14 +2326,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\GetInvoiceItemsResponse`](../models/\Apideck\Client\Model\GetInvoiceItemsResponse.md)
+[`\Apideck\Client\Model\GetJournalEntriesResponse`](../models/\Apideck\Client\Model\GetJournalEntriesResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | InvoiceItems |
+**200** | JournalEntry |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1333,7 +2357,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoiceItemsAll();
+ $response = $apideck->getAccountingApi()->journalEntriesAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1344,14 +2368,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Delete Invoice Item
+
+# Delete Journal Entry
-Method: **invoiceItemsDelete**
+Method: **journalEntriesDelete**
```php
-Apideck->getAccountingApi()->invoiceItemsDelete($data)
+Apideck->getAccountingApi()->journalEntriesDelete($data)
```
### Parameters
@@ -1368,14 +2392,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\DeleteTaxRateResponse`](../models/\Apideck\Client\Model\DeleteTaxRateResponse.md)
+[`\Apideck\Client\Model\DeleteJournalEntryResponse`](../models/\Apideck\Client\Model\DeleteJournalEntryResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | InvoiceItems |
+**200** | JournalEntries |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1399,7 +2423,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoiceItemsDelete('id_example');
+ $response = $apideck->getAccountingApi()->journalEntriesDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1410,14 +2434,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Get Invoice Item
+
+# Get Journal Entry
-Method: **invoiceItemsOne**
+Method: **journalEntriesOne**
```php
-Apideck->getAccountingApi()->invoiceItemsOne($data)
+Apideck->getAccountingApi()->journalEntriesOne($data)
```
### Parameters
@@ -1435,14 +2459,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\GetInvoiceItemResponse`](../models/\Apideck\Client\Model\GetInvoiceItemResponse.md)
+[`\Apideck\Client\Model\GetJournalEntryResponse`](../models/\Apideck\Client\Model\GetJournalEntryResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | InvoiceItems |
+**200** | JournalEntries |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1466,7 +2490,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoiceItemsOne('id_example');
+ $response = $apideck->getAccountingApi()->journalEntriesOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1477,14 +2501,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Update Invoice Item
+
+# Update Journal Entry
-Method: **invoiceItemsUpdate**
+Method: **journalEntriesUpdate**
```php
-Apideck->getAccountingApi()->invoiceItemsUpdate($data)
+Apideck->getAccountingApi()->journalEntriesUpdate($data)
```
### Parameters
@@ -1492,7 +2516,7 @@ Apideck->getAccountingApi()->invoiceItemsUpdate($data)
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **string**| ID of the record you are acting upon. |
- **invoice_item** | [\Apideck\Client\Model\InvoiceItem](../models/\Apideck\Client\Model\InvoiceItem.md)| |
+ **journal_entry** | [\Apideck\Client\Model\JournalEntry](../models/\Apideck\Client\Model\JournalEntry.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -1502,14 +2526,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\UpdateInvoiceItemsResponse`](../models/\Apideck\Client\Model\UpdateInvoiceItemsResponse.md)
+[`\Apideck\Client\Model\UpdateJournalEntryResponse`](../models/\Apideck\Client\Model\UpdateJournalEntryResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | InvoiceItems |
+**200** | JournalEntries |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1533,7 +2557,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoiceItemsUpdate('id_example', $invoiceItem);
+ $response = $apideck->getAccountingApi()->journalEntriesUpdate('id_example', $journalEntry);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1544,21 +2568,21 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Create Invoice
+
+# Create Ledger Account
-Method: **invoicesAdd**
+Method: **ledgerAccountsAdd**
```php
-Apideck->getAccountingApi()->invoicesAdd($data)
+Apideck->getAccountingApi()->ledgerAccountsAdd($data)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **invoice** | [\Apideck\Client\Model\Invoice](../models/\Apideck\Client\Model\Invoice.md)| |
+ **request_body** | [array](../models/array.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -1568,14 +2592,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\CreateInvoiceResponse`](../models/\Apideck\Client\Model\CreateInvoiceResponse.md)
+[`\Apideck\Client\Model\CreateLedgerAccountResponse`](../models/\Apideck\Client\Model\CreateLedgerAccountResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**201** | Invoice created |
+**201** | LedgerAccount created |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1599,7 +2623,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoicesAdd($invoice);
+ $response = $apideck->getAccountingApi()->ledgerAccountsAdd($ledgerAccount);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1610,14 +2634,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# List Invoices
+
+# List Ledger Accounts
-Method: **invoicesAll**
+Method: **ledgerAccountsAll**
```php
-Apideck->getAccountingApi()->invoicesAll($data)
+Apideck->getAccountingApi()->ledgerAccountsAll($data)
```
### Parameters
@@ -1628,8 +2652,8 @@ Name | Type | Description | Notes
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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\InvoicesFilter](../models/\Apideck\Client\Model\InvoicesFilter.md)| Apply filters |
- **sort** | [\Apideck\Client\Model\InvoicesSort](../models/\Apideck\Client\Model\InvoicesSort.md)| Apply sorting |
+ **filter** | [\Apideck\Client\Model\LedgerAccountsFilter](../models/\Apideck\Client\Model\LedgerAccountsFilter.md)| Apply filters |
+ **sort** | [\Apideck\Client\Model\LedgerAccountsSort](../models/\Apideck\Client\Model\LedgerAccountsSort.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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
@@ -1639,14 +2663,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\GetInvoicesResponse`](../models/\Apideck\Client\Model\GetInvoicesResponse.md)
+[`\Apideck\Client\Model\GetLedgerAccountsResponse`](../models/\Apideck\Client\Model\GetLedgerAccountsResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | Invoices |
+**200** | LedgerAccounts |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1670,7 +2694,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoicesAll();
+ $response = $apideck->getAccountingApi()->ledgerAccountsAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1681,14 +2705,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Delete Invoice
+
+# Delete Ledger Account
-Method: **invoicesDelete**
+Method: **ledgerAccountsDelete**
```php
-Apideck->getAccountingApi()->invoicesDelete($data)
+Apideck->getAccountingApi()->ledgerAccountsDelete($data)
```
### Parameters
@@ -1705,14 +2729,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\DeleteInvoiceResponse`](../models/\Apideck\Client\Model\DeleteInvoiceResponse.md)
+[`\Apideck\Client\Model\DeleteLedgerAccountResponse`](../models/\Apideck\Client\Model\DeleteLedgerAccountResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | Invoice deleted |
+**200** | LedgerAccount deleted |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1736,7 +2760,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoicesDelete('id_example');
+ $response = $apideck->getAccountingApi()->ledgerAccountsDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1747,14 +2771,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Get Invoice
+
+# Get Ledger Account
-Method: **invoicesOne**
+Method: **ledgerAccountsOne**
```php
-Apideck->getAccountingApi()->invoicesOne($data)
+Apideck->getAccountingApi()->ledgerAccountsOne($data)
```
### Parameters
@@ -1772,14 +2796,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\GetInvoiceResponse`](../models/\Apideck\Client\Model\GetInvoiceResponse.md)
+[`\Apideck\Client\Model\GetLedgerAccountResponse`](../models/\Apideck\Client\Model\GetLedgerAccountResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | Invoice |
+**200** | LedgerAccount |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1803,7 +2827,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoicesOne('id_example');
+ $response = $apideck->getAccountingApi()->ledgerAccountsOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1814,14 +2838,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Update Invoice
+
+# Update Ledger Account
-Method: **invoicesUpdate**
+Method: **ledgerAccountsUpdate**
```php
-Apideck->getAccountingApi()->invoicesUpdate($data)
+Apideck->getAccountingApi()->ledgerAccountsUpdate($data)
```
### Parameters
@@ -1829,7 +2853,7 @@ Apideck->getAccountingApi()->invoicesUpdate($data)
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **string**| ID of the record you are acting upon. |
- **invoice** | [\Apideck\Client\Model\Invoice](../models/\Apideck\Client\Model\Invoice.md)| |
+ **request_body** | [array](../models/array.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -1839,14 +2863,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\UpdateInvoiceResponse`](../models/\Apideck\Client\Model\UpdateInvoiceResponse.md)
+[`\Apideck\Client\Model\UpdateLedgerAccountResponse`](../models/\Apideck\Client\Model\UpdateLedgerAccountResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | Invoice updated |
+**200** | LedgerAccount updated |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1870,7 +2894,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->invoicesUpdate('id_example', $invoice);
+ $response = $apideck->getAccountingApi()->ledgerAccountsUpdate('id_example', $ledgerAccount);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1881,21 +2905,21 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Create Journal Entry
+
+# Create Location
-Method: **journalEntriesAdd**
+Method: **locationsAdd**
```php
-Apideck->getAccountingApi()->journalEntriesAdd($data)
+Apideck->getAccountingApi()->locationsAdd($data)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **journal_entry** | [\Apideck\Client\Model\JournalEntry](../models/\Apideck\Client\Model\JournalEntry.md)| |
+ **accounting_location** | [\Apideck\Client\Model\AccountingLocation](../models/\Apideck\Client\Model\AccountingLocation.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -1905,14 +2929,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\CreateJournalEntryResponse`](../models/\Apideck\Client\Model\CreateJournalEntryResponse.md)
+[`\Apideck\Client\Model\CreateAccountingLocationResponse`](../models/\Apideck\Client\Model\CreateAccountingLocationResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**201** | JournalEntries |
+**201** | Location |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -1936,7 +2960,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->journalEntriesAdd($journalEntry);
+ $response = $apideck->getAccountingApi()->locationsAdd($location);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -1947,14 +2971,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# List Journal Entries
+
+# List Locations
-Method: **journalEntriesAll**
+Method: **locationsAll**
```php
-Apideck->getAccountingApi()->journalEntriesAll($data)
+Apideck->getAccountingApi()->locationsAll($data)
```
### Parameters
@@ -1965,10 +2989,8 @@ Name | Type | Description | Notes
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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\JournalEntriesFilter](../models/\Apideck\Client\Model\JournalEntriesFilter.md)| Apply filters |
- **sort** | [\Apideck\Client\Model\JournalEntriesSort](../models/\Apideck\Client\Model\JournalEntriesSort.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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
+ **filter** | [\Apideck\Client\Model\AccountingLocationsFilter](../models/\Apideck\Client\Model\AccountingLocationsFilter.md)| Apply filters |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
**limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20
@@ -1976,14 +2998,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\GetJournalEntriesResponse`](../models/\Apideck\Client\Model\GetJournalEntriesResponse.md)
+[`\Apideck\Client\Model\GetAccountingLocationsResponse`](../models/\Apideck\Client\Model\GetAccountingLocationsResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | JournalEntry |
+**200** | Locations |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2007,7 +3029,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->journalEntriesAll();
+ $response = $apideck->getAccountingApi()->locationsAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2018,14 +3040,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Delete Journal Entry
+
+# Delete Location
-Method: **journalEntriesDelete**
+Method: **locationsDelete**
```php
-Apideck->getAccountingApi()->journalEntriesDelete($data)
+Apideck->getAccountingApi()->locationsDelete($data)
```
### Parameters
@@ -2042,14 +3064,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\DeleteJournalEntryResponse`](../models/\Apideck\Client\Model\DeleteJournalEntryResponse.md)
+[`\Apideck\Client\Model\DeleteAccountingLocationResponse`](../models/\Apideck\Client\Model\DeleteAccountingLocationResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | JournalEntries |
+**200** | Location deleted |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2073,7 +3095,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->journalEntriesDelete('id_example');
+ $response = $apideck->getAccountingApi()->locationsDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2084,14 +3106,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Get Journal Entry
+
+# Get Location
-Method: **journalEntriesOne**
+Method: **locationsOne**
```php
-Apideck->getAccountingApi()->journalEntriesOne($data)
+Apideck->getAccountingApi()->locationsOne($data)
```
### Parameters
@@ -2109,14 +3131,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\GetJournalEntryResponse`](../models/\Apideck\Client\Model\GetJournalEntryResponse.md)
+[`\Apideck\Client\Model\GetAccountingLocationResponse`](../models/\Apideck\Client\Model\GetAccountingLocationResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | JournalEntries |
+**200** | Location |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2140,7 +3162,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->journalEntriesOne('id_example');
+ $response = $apideck->getAccountingApi()->locationsOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2151,14 +3173,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Update Journal Entry
+
+# Update Location
-Method: **journalEntriesUpdate**
+Method: **locationsUpdate**
```php
-Apideck->getAccountingApi()->journalEntriesUpdate($data)
+Apideck->getAccountingApi()->locationsUpdate($data)
```
### Parameters
@@ -2166,7 +3188,7 @@ Apideck->getAccountingApi()->journalEntriesUpdate($data)
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **string**| ID of the record you are acting upon. |
- **journal_entry** | [\Apideck\Client\Model\JournalEntry](../models/\Apideck\Client\Model\JournalEntry.md)| |
+ **accounting_location** | [\Apideck\Client\Model\AccountingLocation](../models/\Apideck\Client\Model\AccountingLocation.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -2176,14 +3198,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\UpdateJournalEntryResponse`](../models/\Apideck\Client\Model\UpdateJournalEntryResponse.md)
+[`\Apideck\Client\Model\UpdateAccountingLocationResponse`](../models/\Apideck\Client\Model\UpdateAccountingLocationResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | JournalEntries |
+**200** | Location |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2207,7 +3229,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->journalEntriesUpdate('id_example', $journalEntry);
+ $response = $apideck->getAccountingApi()->locationsUpdate('id_example', $location);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2218,21 +3240,21 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Create Ledger Account
+
+# Create Payment
-Method: **ledgerAccountsAdd**
+Method: **paymentsAdd**
```php
-Apideck->getAccountingApi()->ledgerAccountsAdd($data)
+Apideck->getAccountingApi()->paymentsAdd($data)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **request_body** | [array](../models/array.md)| |
+ **payment** | [\Apideck\Client\Model\Payment](../models/\Apideck\Client\Model\Payment.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -2242,14 +3264,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\CreateLedgerAccountResponse`](../models/\Apideck\Client\Model\CreateLedgerAccountResponse.md)
+[`\Apideck\Client\Model\CreatePaymentResponse`](../models/\Apideck\Client\Model\CreatePaymentResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**201** | LedgerAccount created |
+**201** | Payment created |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2273,7 +3295,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->ledgerAccountsAdd($ledgerAccount);
+ $response = $apideck->getAccountingApi()->paymentsAdd($payment);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2284,14 +3306,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# List Ledger Accounts
+
+# List Payments
-Method: **ledgerAccountsAll**
+Method: **paymentsAll**
```php
-Apideck->getAccountingApi()->ledgerAccountsAll($data)
+Apideck->getAccountingApi()->paymentsAll($data)
```
### Parameters
@@ -2302,8 +3324,8 @@ Name | Type | Description | Notes
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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\LedgerAccountsFilter](../models/\Apideck\Client\Model\LedgerAccountsFilter.md)| Apply filters |
- **sort** | [\Apideck\Client\Model\LedgerAccountsSort](../models/\Apideck\Client\Model\LedgerAccountsSort.md)| Apply sorting |
+ **filter** | [\Apideck\Client\Model\PaymentsFilter](../models/\Apideck\Client\Model\PaymentsFilter.md)| Apply filters |
+ **sort** | [\Apideck\Client\Model\PaymentsSort](../models/\Apideck\Client\Model\PaymentsSort.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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
@@ -2313,14 +3335,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\GetLedgerAccountsResponse`](../models/\Apideck\Client\Model\GetLedgerAccountsResponse.md)
+[`\Apideck\Client\Model\GetPaymentsResponse`](../models/\Apideck\Client\Model\GetPaymentsResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | LedgerAccounts |
+**200** | Payments |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2344,7 +3366,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->ledgerAccountsAll();
+ $response = $apideck->getAccountingApi()->paymentsAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2355,14 +3377,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Delete Ledger Account
+
+# Delete Payment
-Method: **ledgerAccountsDelete**
+Method: **paymentsDelete**
```php
-Apideck->getAccountingApi()->ledgerAccountsDelete($data)
+Apideck->getAccountingApi()->paymentsDelete($data)
```
### Parameters
@@ -2379,14 +3401,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\DeleteLedgerAccountResponse`](../models/\Apideck\Client\Model\DeleteLedgerAccountResponse.md)
+[`\Apideck\Client\Model\DeletePaymentResponse`](../models/\Apideck\Client\Model\DeletePaymentResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | LedgerAccount deleted |
+**200** | Payment deleted |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2410,7 +3432,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->ledgerAccountsDelete('id_example');
+ $response = $apideck->getAccountingApi()->paymentsDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2421,14 +3443,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Get Ledger Account
+
+# Get Payment
-Method: **ledgerAccountsOne**
+Method: **paymentsOne**
```php
-Apideck->getAccountingApi()->ledgerAccountsOne($data)
+Apideck->getAccountingApi()->paymentsOne($data)
```
### Parameters
@@ -2446,14 +3468,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\GetLedgerAccountResponse`](../models/\Apideck\Client\Model\GetLedgerAccountResponse.md)
+[`\Apideck\Client\Model\GetPaymentResponse`](../models/\Apideck\Client\Model\GetPaymentResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | LedgerAccount |
+**200** | Payment |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2477,7 +3499,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->ledgerAccountsOne('id_example');
+ $response = $apideck->getAccountingApi()->paymentsOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2488,14 +3510,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Update Ledger Account
+
+# Update Payment
-Method: **ledgerAccountsUpdate**
+Method: **paymentsUpdate**
```php
-Apideck->getAccountingApi()->ledgerAccountsUpdate($data)
+Apideck->getAccountingApi()->paymentsUpdate($data)
```
### Parameters
@@ -2503,7 +3525,7 @@ Apideck->getAccountingApi()->ledgerAccountsUpdate($data)
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **string**| ID of the record you are acting upon. |
- **request_body** | [array](../models/array.md)| |
+ **payment** | [\Apideck\Client\Model\Payment](../models/\Apideck\Client\Model\Payment.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -2513,14 +3535,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\UpdateLedgerAccountResponse`](../models/\Apideck\Client\Model\UpdateLedgerAccountResponse.md)
+[`\Apideck\Client\Model\UpdatePaymentResponse`](../models/\Apideck\Client\Model\UpdatePaymentResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | LedgerAccount updated |
+**200** | Payment Updated |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2544,7 +3566,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->ledgerAccountsUpdate('id_example', $ledgerAccount);
+ $response = $apideck->getAccountingApi()->paymentsUpdate('id_example', $payment);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2555,38 +3577,40 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Create Payment
+
+# Get Profit And Loss
-Method: **paymentsAdd**
+Method: **profitAndLossOne**
```php
-Apideck->getAccountingApi()->paymentsAdd($data)
+Apideck->getAccountingApi()->profitAndLossOne($data)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **payment** | [\Apideck\Client\Model\Payment](../models/\Apideck\Client\Model\Payment.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
+ **filter** | [\Apideck\Client\Model\ProfitAndLossFilter](../models/\Apideck\Client\Model\ProfitAndLossFilter.md)| Apply filters |
+ **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
### Response Type
-[`\Apideck\Client\Model\CreatePaymentResponse`](../models/\Apideck\Client\Model\CreatePaymentResponse.md)
+[`\Apideck\Client\Model\GetProfitAndLossResponse`](../models/\Apideck\Client\Model\GetProfitAndLossResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**201** | Payment created |
+**200** | Profit & Loss Report |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2610,7 +3634,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->paymentsAdd($payment);
+ $response = $apideck->getAccountingApi()->profitAndLossOne();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2621,43 +3645,38 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# List Payments
+
+# Create Purchase Order
-Method: **paymentsAll**
+Method: **purchaseOrdersAdd**
```php
-Apideck->getAccountingApi()->paymentsAll($data)
+Apideck->getAccountingApi()->purchaseOrdersAdd($data)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **purchase_order** | [\Apideck\Client\Model\PurchaseOrder](../models/\Apideck\Client\Model\PurchaseOrder.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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\PaymentsFilter](../models/\Apideck\Client\Model\PaymentsFilter.md)| Apply filters |
- **sort** | [\Apideck\Client\Model\PaymentsSort](../models/\Apideck\Client\Model\PaymentsSort.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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
- **limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20
### Response Type
-[`\Apideck\Client\Model\GetPaymentsResponse`](../models/\Apideck\Client\Model\GetPaymentsResponse.md)
+[`\Apideck\Client\Model\CreatePurchaseOrderResponse`](../models/\Apideck\Client\Model\CreatePurchaseOrderResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | Payments |
+**201** | PurchaseOrders |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2681,7 +3700,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->paymentsAll();
+ $response = $apideck->getAccountingApi()->purchaseOrdersAdd($purchaseOrder);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2692,38 +3711,42 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Delete Payment
+
+# List Purchase Orders
-Method: **paymentsDelete**
+Method: **purchaseOrdersAll**
```php
-Apideck->getAccountingApi()->paymentsDelete($data)
+Apideck->getAccountingApi()->purchaseOrdersAll($data)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **id** | **string**| ID of the record you are acting upon. |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
+ **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 |
+ **filter** | [\Apideck\Client\Model\PurchaseOrdersFilter](../models/\Apideck\Client\Model\PurchaseOrdersFilter.md)| Apply filters |
+ **sort** | [\Apideck\Client\Model\PurchaseOrdersSort](../models/\Apideck\Client\Model\PurchaseOrdersSort.md)| Apply sorting |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
+ **limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20
### Response Type
-[`\Apideck\Client\Model\DeletePaymentResponse`](../models/\Apideck\Client\Model\DeletePaymentResponse.md)
+[`\Apideck\Client\Model\GetPurchaseOrdersResponse`](../models/\Apideck\Client\Model\GetPurchaseOrdersResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | Payment deleted |
+**200** | PurchaseOrders |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2747,7 +3770,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->paymentsDelete('id_example');
+ $response = $apideck->getAccountingApi()->purchaseOrdersAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2758,14 +3781,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Get Payment
+
+# Delete Purchase Order
-Method: **paymentsOne**
+Method: **purchaseOrdersDelete**
```php
-Apideck->getAccountingApi()->paymentsOne($data)
+Apideck->getAccountingApi()->purchaseOrdersDelete($data)
```
### Parameters
@@ -2776,21 +3799,20 @@ Name | Type | Description | Notes
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
- **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
### Response Type
-[`\Apideck\Client\Model\GetPaymentResponse`](../models/\Apideck\Client\Model\GetPaymentResponse.md)
+[`\Apideck\Client\Model\DeletePurchaseOrderResponse`](../models/\Apideck\Client\Model\DeletePurchaseOrderResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | Payment |
+**200** | PurchaseOrders |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2814,7 +3836,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->paymentsOne('id_example');
+ $response = $apideck->getAccountingApi()->purchaseOrdersDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2825,14 +3847,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Update Payment
+
+# Get Purchase Order
-Method: **paymentsUpdate**
+Method: **purchaseOrdersOne**
```php
-Apideck->getAccountingApi()->paymentsUpdate($data)
+Apideck->getAccountingApi()->purchaseOrdersOne($data)
```
### Parameters
@@ -2840,7 +3862,6 @@ Apideck->getAccountingApi()->paymentsUpdate($data)
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **string**| ID of the record you are acting upon. |
- **payment** | [\Apideck\Client\Model\Payment](../models/\Apideck\Client\Model\Payment.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -2850,14 +3871,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\UpdatePaymentResponse`](../models/\Apideck\Client\Model\UpdatePaymentResponse.md)
+[`\Apideck\Client\Model\GetPurchaseOrderResponse`](../models/\Apideck\Client\Model\GetPurchaseOrderResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | Payment Updated |
+**200** | PurchaseOrders |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2881,7 +3902,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->paymentsUpdate('id_example', $payment);
+ $response = $apideck->getAccountingApi()->purchaseOrdersOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2892,40 +3913,39 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Get Profit And Loss
+
+# Update Purchase Order
-Method: **profitAndLossOne**
+Method: **purchaseOrdersUpdate**
```php
-Apideck->getAccountingApi()->profitAndLossOne($data)
+Apideck->getAccountingApi()->purchaseOrdersUpdate($data)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **id** | **string**| ID of the record you are acting upon. |
+ **purchase_order** | [\Apideck\Client\Model\PurchaseOrder](../models/\Apideck\Client\Model\PurchaseOrder.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
- **filter** | [\Apideck\Client\Model\ProfitAndLossFilter](../models/\Apideck\Client\Model\ProfitAndLossFilter.md)| Apply filters |
- **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
### Response Type
-[`\Apideck\Client\Model\GetProfitAndLossResponse`](../models/\Apideck\Client\Model\GetProfitAndLossResponse.md)
+[`\Apideck\Client\Model\UpdatePurchaseOrderResponse`](../models/\Apideck\Client\Model\UpdatePurchaseOrderResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | Profit & Loss Report |
+**200** | PurchaseOrders |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -2949,7 +3969,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->profitAndLossOne();
+ $response = $apideck->getAccountingApi()->purchaseOrdersUpdate('id_example', $purchaseOrder);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -2960,21 +3980,21 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Create Purchase Order
+
+# Create Subsidiary
-Method: **purchaseOrdersAdd**
+Method: **subsidiariesAdd**
```php
-Apideck->getAccountingApi()->purchaseOrdersAdd($data)
+Apideck->getAccountingApi()->subsidiariesAdd($data)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **purchase_order** | [\Apideck\Client\Model\PurchaseOrder](../models/\Apideck\Client\Model\PurchaseOrder.md)| |
+ **subsidiary** | [\Apideck\Client\Model\Subsidiary](../models/\Apideck\Client\Model\Subsidiary.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -2984,14 +4004,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\CreatePurchaseOrderResponse`](../models/\Apideck\Client\Model\CreatePurchaseOrderResponse.md)
+[`\Apideck\Client\Model\CreateSubsidiaryResponse`](../models/\Apideck\Client\Model\CreateSubsidiaryResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**201** | PurchaseOrders |
+**201** | Subsidiaries |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -3015,7 +4035,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->purchaseOrdersAdd($purchaseOrder);
+ $response = $apideck->getAccountingApi()->subsidiariesAdd($subsidiary);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -3026,14 +4046,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# List Purchase Orders
+
+# List Subsidiaries
-Method: **purchaseOrdersAll**
+Method: **subsidiariesAll**
```php
-Apideck->getAccountingApi()->purchaseOrdersAll($data)
+Apideck->getAccountingApi()->subsidiariesAll($data)
```
### Parameters
@@ -3044,9 +4064,7 @@ Name | Type | Description | Notes
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
- **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 |
- **filter** | [\Apideck\Client\Model\PurchaseOrdersFilter](../models/\Apideck\Client\Model\PurchaseOrdersFilter.md)| Apply filters |
- **sort** | [\Apideck\Client\Model\PurchaseOrdersSort](../models/\Apideck\Client\Model\PurchaseOrdersSort.md)| Apply sorting |
+ **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
**limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20
@@ -3054,14 +4072,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\GetPurchaseOrdersResponse`](../models/\Apideck\Client\Model\GetPurchaseOrdersResponse.md)
+[`\Apideck\Client\Model\GetSubsidiariesResponse`](../models/\Apideck\Client\Model\GetSubsidiariesResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | PurchaseOrders |
+**200** | Subsidiaries |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -3085,7 +4103,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->purchaseOrdersAll();
+ $response = $apideck->getAccountingApi()->subsidiariesAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -3096,14 +4114,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Delete Purchase Order
+
+# Delete Subsidiary
-Method: **purchaseOrdersDelete**
+Method: **subsidiariesDelete**
```php
-Apideck->getAccountingApi()->purchaseOrdersDelete($data)
+Apideck->getAccountingApi()->subsidiariesDelete($data)
```
### Parameters
@@ -3120,14 +4138,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\DeletePurchaseOrderResponse`](../models/\Apideck\Client\Model\DeletePurchaseOrderResponse.md)
+[`\Apideck\Client\Model\DeleteSubsidiaryResponse`](../models/\Apideck\Client\Model\DeleteSubsidiaryResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | PurchaseOrders |
+**200** | Subsidiarys |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -3151,7 +4169,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->purchaseOrdersDelete('id_example');
+ $response = $apideck->getAccountingApi()->subsidiariesDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -3162,14 +4180,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Get Purchase Order
+
+# Get Subsidiary
-Method: **purchaseOrdersOne**
+Method: **subsidiariesOne**
```php
-Apideck->getAccountingApi()->purchaseOrdersOne($data)
+Apideck->getAccountingApi()->subsidiariesOne($data)
```
### Parameters
@@ -3180,20 +4198,21 @@ Name | Type | Description | Notes
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
+ **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.
Example: `fields=name,email,addresses.city`
In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. |
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
### Response Type
-[`\Apideck\Client\Model\GetPurchaseOrderResponse`](../models/\Apideck\Client\Model\GetPurchaseOrderResponse.md)
+[`\Apideck\Client\Model\GetSubsidiaryResponse`](../models/\Apideck\Client\Model\GetSubsidiaryResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | PurchaseOrders |
+**200** | Subsidiary |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -3217,7 +4236,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->purchaseOrdersOne('id_example');
+ $response = $apideck->getAccountingApi()->subsidiariesOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
@@ -3228,14 +4247,14 @@ try {
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
-
-# Update Purchase Order
+
+# Update Subsidiary
-Method: **purchaseOrdersUpdate**
+Method: **subsidiariesUpdate**
```php
-Apideck->getAccountingApi()->purchaseOrdersUpdate($data)
+Apideck->getAccountingApi()->subsidiariesUpdate($data)
```
### Parameters
@@ -3243,7 +4262,7 @@ Apideck->getAccountingApi()->purchaseOrdersUpdate($data)
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **string**| ID of the record you are acting upon. |
- **purchase_order** | [\Apideck\Client\Model\PurchaseOrder](../models/\Apideck\Client\Model\PurchaseOrder.md)| |
+ **subsidiary** | [\Apideck\Client\Model\Subsidiary](../models/\Apideck\Client\Model\Subsidiary.md)| |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**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. |
@@ -3253,14 +4272,14 @@ Name | Type | Description | Notes
### Response Type
-[`\Apideck\Client\Model\UpdatePurchaseOrderResponse`](../models/\Apideck\Client\Model\UpdatePurchaseOrderResponse.md)
+[`\Apideck\Client\Model\UpdateSubsidiaryResponse`](../models/\Apideck\Client\Model\UpdateSubsidiaryResponse.md)
### HTTP response details
| Status code | Description |
|-------------|-------------|
-**200** | PurchaseOrders |
+**200** | Subsidiaries |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
@@ -3284,7 +4303,7 @@ $config = new ApideckConfiguration('', 'getAccountingApi()->purchaseOrdersUpdate('id_example', $purchaseOrder);
+ $response = $apideck->getAccountingApi()->subsidiariesUpdate('id_example', $subsidiary);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
diff --git a/src/gen/docs/models/AccountingDepartment.md b/src/gen/docs/models/AccountingDepartment.md
new file mode 100644
index 000000000..3d2309b33
--- /dev/null
+++ b/src/gen/docs/models/AccountingDepartment.md
@@ -0,0 +1,52 @@
+# Apideck.AccountingDepartment
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`id` | **string** | A unique identifier for an object. | [optional]
+`parent_id` | **string** | A unique identifier for an object. | [optional]
+`name` | **string** | The name of the department. | [optional]
+`status` | **string** | Based on the status some functionality is enabled or disabled. | [optional]
+`subsidiaries` | [**\Apideck\Client\Model\SubsidiaryReference[]**](SubsidiaryReference.md) | | [optional]
+`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional]
+`row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional]
+`updated_by` | **string** | The user who last updated the object. | [optional]
+`created_by` | **string** | The user who created the object. | [optional]
+`updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional]
+`created_at` | **\DateTime** | The date and time when the object was created. | [optional]
+
+
+
+
+
+
+## Enum: AccountingDepartment.status
+
+
+* `ACTIVE` (value: `'active'`)
+
+* `INACTIVE` (value: `'inactive'`)
+
+
+
+
+## Referenced Types:
+
+
+
+
+* [`SubsidiaryReference`](SubsidiaryReference.md)
+
+
+
+
+
+
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/AccountingDepartmentsFilter.md b/src/gen/docs/models/AccountingDepartmentsFilter.md
new file mode 100644
index 000000000..77cfd06c3
--- /dev/null
+++ b/src/gen/docs/models/AccountingDepartmentsFilter.md
@@ -0,0 +1,18 @@
+# Apideck.AccountingDepartmentsFilter
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`subsidiary` | **string** | Id of the subsidiary to search for | [optional]
+
+
+
+
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/AccountingLocation.md b/src/gen/docs/models/AccountingLocation.md
new file mode 100644
index 000000000..46f132f3c
--- /dev/null
+++ b/src/gen/docs/models/AccountingLocation.md
@@ -0,0 +1,56 @@
+# Apideck.AccountingLocation
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`id` | **string** | A unique identifier for an object. | [optional]
+`parent_id` | **string** | A unique identifier for an object. | [optional]
+`company_name` | **string** | The name of the company. | [optional]
+`display_name` | **string** | The display name of the location. | [optional]
+`status` | **string** | Based on the status some functionality is enabled or disabled. | [optional]
+`addresses` | [**\Apideck\Client\Model\Address[]**](Address.md) | | [optional]
+`subsidiaries` | [**\Apideck\Client\Model\SubsidiaryReference[]**](SubsidiaryReference.md) | | [optional]
+`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional]
+`row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional]
+`updated_by` | **string** | The user who last updated the object. | [optional]
+`created_by` | **string** | The user who created the object. | [optional]
+`updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional]
+`created_at` | **\DateTime** | The date and time when the object was created. | [optional]
+
+
+
+
+
+
+## Enum: AccountingLocation.status
+
+
+* `ACTIVE` (value: `'active'`)
+
+* `INACTIVE` (value: `'inactive'`)
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`Address`](Address.md)
+* [`SubsidiaryReference`](SubsidiaryReference.md)
+
+
+
+
+
+
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/AccountingLocationsFilter.md b/src/gen/docs/models/AccountingLocationsFilter.md
new file mode 100644
index 000000000..570e63d75
--- /dev/null
+++ b/src/gen/docs/models/AccountingLocationsFilter.md
@@ -0,0 +1,18 @@
+# Apideck.AccountingLocationsFilter
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`subsidiary` | **string** | Id of the subsidiary to search for | [optional]
+
+
+
+
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/Bill.md b/src/gen/docs/models/Bill.md
index 5ad2b9748..ed7b16d4e 100644
--- a/src/gen/docs/models/Bill.md
+++ b/src/gen/docs/models/Bill.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
`downstream_id` | **string** | The third-party API ID of original entity | [optional]
`bill_number` | **string** | Reference to supplier bill number | [optional]
`supplier` | [**\Apideck\Client\Model\LinkedSupplier**](LinkedSupplier.md) | | [optional]
+`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional]
`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional]
`currency_rate` | **float** | Currency Exchange Rate at the time entity was recorded/generated. | [optional]
`tax_inclusive` | **bool** | Amounts are including tax | [optional]
@@ -73,6 +74,7 @@ Name | Type | Description | Notes
* [`LinkedSupplier`](LinkedSupplier.md)
+
* [`Currency`](Currency.md)
diff --git a/src/gen/docs/models/BillLineItem.md b/src/gen/docs/models/BillLineItem.md
index bf1a71129..a6ed25b83 100644
--- a/src/gen/docs/models/BillLineItem.md
+++ b/src/gen/docs/models/BillLineItem.md
@@ -37,9 +37,11 @@ Name | Type | Description | Notes
## Enum: BillLineItem.type
-* `ITEM` (value: `'expense_item'`)
+* `EXPENSE_ITEM` (value: `'expense_item'`)
-* `ACCOUNT` (value: `'expense_account'`)
+* `EXPENSE_ACCOUNT` (value: `'expense_account'`)
+
+* `OTHER` (value: `'other'`)
diff --git a/src/gen/docs/models/CreateAccountingDepartmentResponse.md b/src/gen/docs/models/CreateAccountingDepartmentResponse.md
new file mode 100644
index 000000000..f8aa5fb24
--- /dev/null
+++ b/src/gen/docs/models/CreateAccountingDepartmentResponse.md
@@ -0,0 +1,31 @@
+# Apideck.CreateAccountingDepartmentResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`UnifiedId`](UnifiedId.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/CreateAccountingLocationResponse.md b/src/gen/docs/models/CreateAccountingLocationResponse.md
new file mode 100644
index 000000000..ff2315284
--- /dev/null
+++ b/src/gen/docs/models/CreateAccountingLocationResponse.md
@@ -0,0 +1,31 @@
+# Apideck.CreateAccountingLocationResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`UnifiedId`](UnifiedId.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/CreateSubsidiaryResponse.md b/src/gen/docs/models/CreateSubsidiaryResponse.md
new file mode 100644
index 000000000..76f62f1a7
--- /dev/null
+++ b/src/gen/docs/models/CreateSubsidiaryResponse.md
@@ -0,0 +1,31 @@
+# Apideck.CreateSubsidiaryResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`UnifiedId`](UnifiedId.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/CreditNote.md b/src/gen/docs/models/CreditNote.md
index e53d21240..8520f1b28 100644
--- a/src/gen/docs/models/CreditNote.md
+++ b/src/gen/docs/models/CreditNote.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
`total_amount` | **float** | Amount of transaction |
`number` | **string** | Credit note number. | [optional]
`customer` | [**\Apideck\Client\Model\LinkedCustomer**](LinkedCustomer.md) | | [optional]
+`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional]
`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional]
`currency_rate` | **float** | Currency Exchange Rate at the time entity was recorded/generated. | [optional]
`tax_inclusive` | **bool** | Amounts are including tax | [optional]
@@ -71,6 +72,7 @@ Name | Type | Description | Notes
* [`LinkedCustomer`](LinkedCustomer.md)
+
* [`Currency`](Currency.md)
diff --git a/src/gen/docs/models/Customer.md b/src/gen/docs/models/Customer.md
index 314e73ba2..e3920a664 100644
--- a/src/gen/docs/models/Customer.md
+++ b/src/gen/docs/models/Customer.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
`display_id` | **string** | Display ID | [optional]
`display_name` | **string** | Display name | [optional]
`company_name` | **string** | The name of the company. | [optional]
+`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional]
`title` | **string** | The job title of the person. | [optional]
`first_name` | **string** | The first name of the person. | [optional]
`middle_name` | **string** | Middle name of the person. | [optional]
@@ -72,6 +73,7 @@ Name | Type | Description | Notes
+
* [`Address`](Address.md)
* [`PhoneNumber`](PhoneNumber.md)
* [`Email`](Email.md)
diff --git a/src/gen/docs/models/DeleteAccountingDepartmentResponse.md b/src/gen/docs/models/DeleteAccountingDepartmentResponse.md
new file mode 100644
index 000000000..716229987
--- /dev/null
+++ b/src/gen/docs/models/DeleteAccountingDepartmentResponse.md
@@ -0,0 +1,31 @@
+# Apideck.DeleteAccountingDepartmentResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`UnifiedId`](UnifiedId.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/DeleteAccountingLocationResponse.md b/src/gen/docs/models/DeleteAccountingLocationResponse.md
new file mode 100644
index 000000000..372c103e9
--- /dev/null
+++ b/src/gen/docs/models/DeleteAccountingLocationResponse.md
@@ -0,0 +1,31 @@
+# Apideck.DeleteAccountingLocationResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`UnifiedId`](UnifiedId.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/DeleteSubsidiaryResponse.md b/src/gen/docs/models/DeleteSubsidiaryResponse.md
new file mode 100644
index 000000000..88d1f8939
--- /dev/null
+++ b/src/gen/docs/models/DeleteSubsidiaryResponse.md
@@ -0,0 +1,31 @@
+# Apideck.DeleteSubsidiaryResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`UnifiedId`](UnifiedId.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/EcommerceOrderStatus.md b/src/gen/docs/models/EcommerceOrderStatus.md
index 4d7dc081c..8c0128781 100644
--- a/src/gen/docs/models/EcommerceOrderStatus.md
+++ b/src/gen/docs/models/EcommerceOrderStatus.md
@@ -13,6 +13,8 @@
* `UNKNOWN` (value: `'unknown'`)
+* `OTHER` (value: `'other'`)
+
---
diff --git a/src/gen/docs/models/GetAccountingDepartmentResponse.md b/src/gen/docs/models/GetAccountingDepartmentResponse.md
new file mode 100644
index 000000000..c97ff15fa
--- /dev/null
+++ b/src/gen/docs/models/GetAccountingDepartmentResponse.md
@@ -0,0 +1,31 @@
+# Apideck.GetAccountingDepartmentResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\AccountingDepartment**](AccountingDepartment.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`AccountingDepartment`](AccountingDepartment.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/GetAccountingDepartmentsResponse.md b/src/gen/docs/models/GetAccountingDepartmentsResponse.md
new file mode 100644
index 000000000..e7c4ac0dd
--- /dev/null
+++ b/src/gen/docs/models/GetAccountingDepartmentsResponse.md
@@ -0,0 +1,35 @@
+# Apideck.GetAccountingDepartmentsResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\AccountingDepartment[]**](AccountingDepartment.md) | |
+`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional]
+`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional]
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`AccountingDepartment`](AccountingDepartment.md)
+* [`Meta`](Meta.md)
+* [`Links`](Links.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/GetAccountingLocationResponse.md b/src/gen/docs/models/GetAccountingLocationResponse.md
new file mode 100644
index 000000000..ba2ec8e9a
--- /dev/null
+++ b/src/gen/docs/models/GetAccountingLocationResponse.md
@@ -0,0 +1,31 @@
+# Apideck.GetAccountingLocationResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\AccountingLocation**](AccountingLocation.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`AccountingLocation`](AccountingLocation.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/GetAccountingLocationsResponse.md b/src/gen/docs/models/GetAccountingLocationsResponse.md
new file mode 100644
index 000000000..aa2707c88
--- /dev/null
+++ b/src/gen/docs/models/GetAccountingLocationsResponse.md
@@ -0,0 +1,35 @@
+# Apideck.GetAccountingLocationsResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\AccountingLocation[]**](AccountingLocation.md) | |
+`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional]
+`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional]
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`AccountingLocation`](AccountingLocation.md)
+* [`Meta`](Meta.md)
+* [`Links`](Links.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/GetSubsidiariesResponse.md b/src/gen/docs/models/GetSubsidiariesResponse.md
new file mode 100644
index 000000000..a14f04646
--- /dev/null
+++ b/src/gen/docs/models/GetSubsidiariesResponse.md
@@ -0,0 +1,35 @@
+# Apideck.GetSubsidiariesResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\Subsidiary[]**](Subsidiary.md) | |
+`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional]
+`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional]
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`Subsidiary`](Subsidiary.md)
+* [`Meta`](Meta.md)
+* [`Links`](Links.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/GetSubsidiaryResponse.md b/src/gen/docs/models/GetSubsidiaryResponse.md
new file mode 100644
index 000000000..134270720
--- /dev/null
+++ b/src/gen/docs/models/GetSubsidiaryResponse.md
@@ -0,0 +1,31 @@
+# Apideck.GetSubsidiaryResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\Subsidiary**](Subsidiary.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`Subsidiary`](Subsidiary.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/Invoice.md b/src/gen/docs/models/Invoice.md
index 41259e36d..2f747c913 100644
--- a/src/gen/docs/models/Invoice.md
+++ b/src/gen/docs/models/Invoice.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
`type` | **string** | Invoice type | [optional]
`number` | **string** | Invoice number. | [optional]
`customer` | [**\Apideck\Client\Model\LinkedCustomer**](LinkedCustomer.md) | | [optional]
+`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional]
`invoice_date` | **\DateTime** | Date invoice was issued - YYYY-MM-DD. | [optional]
`due_date` | **\DateTime** | The invoice due date is the date on which a payment or invoice is scheduled to be received by the seller - YYYY-MM-DD. | [optional]
`terms` | **string** | Terms of payment. | [optional]
@@ -107,6 +108,7 @@ Name | Type | Description | Notes
+
* [`Currency`](Currency.md)
diff --git a/src/gen/docs/models/InvoiceLineItem.md b/src/gen/docs/models/InvoiceLineItem.md
index 759f19893..94df2c46d 100644
--- a/src/gen/docs/models/InvoiceLineItem.md
+++ b/src/gen/docs/models/InvoiceLineItem.md
@@ -45,6 +45,8 @@ Name | Type | Description | Notes
* `SUB_TOTAL` (value: `'sub_total'`)
+* `OTHER` (value: `'other'`)
+
diff --git a/src/gen/docs/models/JournalEntry.md b/src/gen/docs/models/JournalEntry.md
index 9a580a425..ab198bf9a 100644
--- a/src/gen/docs/models/JournalEntry.md
+++ b/src/gen/docs/models/JournalEntry.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
`title` | **string** | Journal entry title | [optional]
`currency_rate` | **float** | Currency Exchange Rate at the time entity was recorded/generated. | [optional]
`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional]
-`company_id` | **string** | The company or subsidiary the journal entry belongs to | [optional]
+`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional]
`line_items` | [**\Apideck\Client\Model\JournalEntryLineItem[]**](JournalEntryLineItem.md) | Requires a minimum of 2 line items that sum to 0 | [optional]
`memo` | **string** | Reference for the journal entry. | [optional]
`posted_at` | **\DateTime** | This is the date on which the journal entry was added. This can be different from the creation date and can also be backdated. | [optional]
diff --git a/src/gen/docs/models/LinkedCustomer.md b/src/gen/docs/models/LinkedCustomer.md
index 6f4d29563..a8bf32c4f 100644
--- a/src/gen/docs/models/LinkedCustomer.md
+++ b/src/gen/docs/models/LinkedCustomer.md
@@ -7,7 +7,7 @@ The customer this entity is linked to.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-`id` | **string** | The ID of the customer this entity is linked to. |
+`id` | **string** | The ID of the customer this entity is linked to. | [optional]
`display_id` | **string** | The display ID of the customer. | [optional]
`display_name` | **string** | The display name of the customer. | [optional]
`name` | **string** | The name of the customer. Deprecated, use display_name instead. | [optional]
diff --git a/src/gen/docs/models/LinkedSupplier.md b/src/gen/docs/models/LinkedSupplier.md
index 603fcc3ab..529979c05 100644
--- a/src/gen/docs/models/LinkedSupplier.md
+++ b/src/gen/docs/models/LinkedSupplier.md
@@ -7,7 +7,7 @@ The supplier this entity is linked to.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-`id` | **string** | The ID of the supplier this entity is linked to. |
+`id` | **string** | The ID of the supplier this entity is linked to. | [optional]
`display_id` | **string** | The display ID of the supplier. | [optional]
`display_name` | **string** | The display name of the supplier. | [optional]
`company_name` | **string** | The company name of the supplier. | [optional]
diff --git a/src/gen/docs/models/Payment.md b/src/gen/docs/models/Payment.md
index 682f2a539..f268f183c 100644
--- a/src/gen/docs/models/Payment.md
+++ b/src/gen/docs/models/Payment.md
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
`account` | [**\Apideck\Client\Model\LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional]
`customer` | [**\Apideck\Client\Model\LinkedCustomer**](LinkedCustomer.md) | | [optional]
`supplier` | [**\Apideck\Client\Model\LinkedSupplier**](LinkedSupplier.md) | | [optional]
+`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional]
`reconciled` | **bool** | Payment has been reconciled | [optional]
`status` | **string** | Status of payment | [optional]
`type` | **string** | Type of payment | [optional]
@@ -94,6 +95,7 @@ Name | Type | Description | Notes
+
* [`PaymentAllocations`](PaymentAllocations.md)
diff --git a/src/gen/docs/models/PurchaseOrder.md b/src/gen/docs/models/PurchaseOrder.md
index 81b29880f..6a98c6f24 100644
--- a/src/gen/docs/models/PurchaseOrder.md
+++ b/src/gen/docs/models/PurchaseOrder.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
`po_number` | **string** | A PO Number uniquely identifies a purchase order and is generally defined by the buyer. | [optional]
`reference` | **string** | Optional purchase order reference. | [optional]
`supplier` | [**\Apideck\Client\Model\LinkedSupplier**](LinkedSupplier.md) | | [optional]
+`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional]
`status` | **string** | | [optional]
`issued_date` | **\DateTime** | Date purchase order was issued - YYYY-MM-DD. | [optional]
`delivery_date` | **\DateTime** | The date on which the purchase order is to be delivered - YYYY-MM-DD. | [optional]
@@ -72,6 +73,7 @@ Name | Type | Description | Notes
+
* [`Currency`](Currency.md)
diff --git a/src/gen/docs/models/Subsidiary.md b/src/gen/docs/models/Subsidiary.md
new file mode 100644
index 000000000..3c27e55fe
--- /dev/null
+++ b/src/gen/docs/models/Subsidiary.md
@@ -0,0 +1,38 @@
+# Apideck.Subsidiary
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`id` | **string** | A unique identifier for an object. | [optional]
+`parent_id` | **string** | A unique identifier for an object. | [optional]
+`name` | **string** | The name of the company. | [optional]
+`status` | **string** | Based on the status some functionality is enabled or disabled. | [optional]
+`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional]
+`row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional]
+`updated_by` | **string** | The user who last updated the object. | [optional]
+`created_by` | **string** | The user who created the object. | [optional]
+`updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional]
+`created_at` | **\DateTime** | The date and time when the object was created. | [optional]
+
+
+
+
+
+
+## Enum: Subsidiary.status
+
+
+* `ACTIVE` (value: `'active'`)
+
+* `INACTIVE` (value: `'inactive'`)
+
+
+
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/SubsidiaryReference.md b/src/gen/docs/models/SubsidiaryReference.md
new file mode 100644
index 000000000..f22b43b90
--- /dev/null
+++ b/src/gen/docs/models/SubsidiaryReference.md
@@ -0,0 +1,19 @@
+# Apideck.SubsidiaryReference
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`id` | **string** | A unique identifier for an object. | [optional]
+`name` | **string** | The name of the company. | [optional]
+
+
+
+
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/Supplier.md b/src/gen/docs/models/Supplier.md
index a256911d0..cd6712ff3 100644
--- a/src/gen/docs/models/Supplier.md
+++ b/src/gen/docs/models/Supplier.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
`display_id` | **string** | Display ID | [optional]
`display_name` | **string** | Display name | [optional]
`company_name` | **string** | The name of the company. | [optional]
+`company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional]
`title` | **string** | The job title of the person. | [optional]
`first_name` | **string** | The first name of the person. | [optional]
`middle_name` | **string** | Middle name of the person. | [optional]
@@ -69,6 +70,7 @@ Name | Type | Description | Notes
+
* [`Address`](Address.md)
* [`PhoneNumber`](PhoneNumber.md)
* [`Email`](Email.md)
diff --git a/src/gen/docs/models/UnauthorizedResponse.md b/src/gen/docs/models/UnauthorizedResponse.md
index 4f5becbb5..8a77b3506 100644
--- a/src/gen/docs/models/UnauthorizedResponse.md
+++ b/src/gen/docs/models/UnauthorizedResponse.md
@@ -9,13 +9,21 @@ Name | Type | Description | Notes
`error` | **string** | Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) | [optional]
`type_name` | **string** | The type of error returned | [optional]
`message` | **string** | A human-readable message providing more details about the error. | [optional]
-`detail` | **string** | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
+`detail` | [**AnyOfStringObject**](AnyOfStringObject.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`ref` | **string** | Link to documentation of error type | [optional]
+## Referenced Types:
+
+
+
+
+* [`AnyOfStringObject`](AnyOfStringObject.md)
+
+
---
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
diff --git a/src/gen/docs/models/UnprocessableResponse.md b/src/gen/docs/models/UnprocessableResponse.md
index d4b71f162..0e39d4e12 100644
--- a/src/gen/docs/models/UnprocessableResponse.md
+++ b/src/gen/docs/models/UnprocessableResponse.md
@@ -9,13 +9,21 @@ Name | Type | Description | Notes
`error` | **string** | Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) | [optional]
`type_name` | **string** | The type of error returned | [optional]
`message` | **string** | A human-readable message providing more details about the error. | [optional]
-`detail` | **string** | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
+`detail` | [**AnyOfStringObject**](AnyOfStringObject.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`ref` | **string** | Link to documentation of error type | [optional]
+## Referenced Types:
+
+
+
+
+* [`AnyOfStringObject`](AnyOfStringObject.md)
+
+
---
[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
diff --git a/src/gen/docs/models/UpdateAccountingDepartmentResponse.md b/src/gen/docs/models/UpdateAccountingDepartmentResponse.md
new file mode 100644
index 000000000..64f227478
--- /dev/null
+++ b/src/gen/docs/models/UpdateAccountingDepartmentResponse.md
@@ -0,0 +1,31 @@
+# Apideck.UpdateAccountingDepartmentResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`UnifiedId`](UnifiedId.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/UpdateAccountingLocationResponse.md b/src/gen/docs/models/UpdateAccountingLocationResponse.md
new file mode 100644
index 000000000..ecf95b2ff
--- /dev/null
+++ b/src/gen/docs/models/UpdateAccountingLocationResponse.md
@@ -0,0 +1,31 @@
+# Apideck.UpdateAccountingLocationResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`UnifiedId`](UnifiedId.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/docs/models/UpdateSubsidiaryResponse.md b/src/gen/docs/models/UpdateSubsidiaryResponse.md
new file mode 100644
index 000000000..790a46891
--- /dev/null
+++ b/src/gen/docs/models/UpdateSubsidiaryResponse.md
@@ -0,0 +1,31 @@
+# Apideck.UpdateSubsidiaryResponse
+
+### Description
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+`status_code` | **int** | HTTP Response Status Code |
+`status` | **string** | HTTP Response Status |
+`service` | **string** | Apideck ID of service provider |
+`resource` | **string** | Unified API resource name |
+`operation` | **string** | Operation performed |
+`data` | [**\Apideck\Client\Model\UnifiedId**](UnifiedId.md) | |
+
+
+
+
+
+## Referenced Types:
+
+
+
+
+
+* [`UnifiedId`](UnifiedId.md)
+
+---
+
+[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
+
+
diff --git a/src/gen/lib/Api/AccountingApi.php b/src/gen/lib/Api/AccountingApi.php
index 1c05d38bf..4115eb52e 100644
--- a/src/gen/lib/Api/AccountingApi.php
+++ b/src/gen/lib/Api/AccountingApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -9123,11 +9123,11 @@ public function customersUpdateRequest($id, $customer, $x_apideck_consumer_id =
}
/**
- * Operation invoiceItemsAdd
+ * Operation departmentsAdd
*
- * Create Invoice Item
+ * Create Department
*
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department accounting_department (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -9135,20 +9135,20 @@ public function customersUpdateRequest($id, $customer, $x_apideck_consumer_id =
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\CreateInvoiceItemResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\CreateAccountingDepartmentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoiceItemsAdd($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function departmentsAdd($accounting_department, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- list($response) = $this->invoiceItemsAddWithHttpInfo($invoice_item, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ list($response) = $this->departmentsAddWithHttpInfo($accounting_department, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $response;
}
/**
- * Operation invoiceItemsAddWithHttpInfo
+ * Operation departmentsAddWithHttpInfo
*
- * Create Invoice Item
+ * Create Department
*
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -9156,11 +9156,11 @@ public function invoiceItemsAdd($invoice_item, $raw = false, $x_apideck_consumer
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\CreateInvoiceItemResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\CreateAccountingDepartmentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoiceItemsAddWithHttpInfo($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function departmentsAddWithHttpInfo($accounting_department, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $request = $this->invoiceItemsAddRequest($invoice_item, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $request = $this->departmentsAddRequest($accounting_department, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
try {
$options = $this->createHttpClientOption();
@@ -9199,14 +9199,14 @@ public function invoiceItemsAddWithHttpInfo($invoice_item, $raw = false, $x_apid
switch($statusCode) {
case 201:
- if ('\Apideck\Client\Model\CreateInvoiceItemResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\CreateAccountingDepartmentResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateInvoiceItemResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateAccountingDepartmentResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -9284,7 +9284,7 @@ public function invoiceItemsAddWithHttpInfo($invoice_item, $raw = false, $x_apid
];
}
- $returnType = '\Apideck\Client\Model\CreateInvoiceItemResponse';
+ $returnType = '\Apideck\Client\Model\CreateAccountingDepartmentResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -9302,7 +9302,7 @@ public function invoiceItemsAddWithHttpInfo($invoice_item, $raw = false, $x_apid
case 201:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\CreateInvoiceItemResponse',
+ '\Apideck\Client\Model\CreateAccountingDepartmentResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -9361,11 +9361,11 @@ public function invoiceItemsAddWithHttpInfo($invoice_item, $raw = false, $x_apid
}
/**
- * Operation invoiceItemsAddAsync
+ * Operation departmentsAddAsync
*
- * Create Invoice Item
+ * Create Department
*
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -9374,9 +9374,9 @@ public function invoiceItemsAddWithHttpInfo($invoice_item, $raw = false, $x_apid
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsAddAsync($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function departmentsAddAsync($accounting_department, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- return $this->invoiceItemsAddAsyncWithHttpInfo($invoice_item, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
+ return $this->departmentsAddAsyncWithHttpInfo($accounting_department, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
->then(
function ($response) {
return $response[0];
@@ -9385,11 +9385,11 @@ function ($response) {
}
/**
- * Operation invoiceItemsAddAsyncWithHttpInfo
+ * Operation departmentsAddAsyncWithHttpInfo
*
- * Create Invoice Item
+ * Create Department
*
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -9398,10 +9398,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsAddAsyncWithHttpInfo($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function departmentsAddAsyncWithHttpInfo($accounting_department, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $returnType = '\Apideck\Client\Model\CreateInvoiceItemResponse';
- $request = $this->invoiceItemsAddRequest($invoice_item, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $returnType = '\Apideck\Client\Model\CreateAccountingDepartmentResponse';
+ $request = $this->departmentsAddRequest($accounting_department, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -9437,9 +9437,9 @@ function ($exception) {
}
/**
- * Create request for operation 'invoiceItemsAdd'
+ * Create request for operation 'departmentsAdd'
*
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -9448,16 +9448,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoiceItemsAddRequest($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function departmentsAddRequest($accounting_department, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- // verify the required parameter 'invoice_item' is set
- if ($invoice_item === null || (is_array($invoice_item) && count($invoice_item) === 0)) {
+ // verify the required parameter 'accounting_department' is set
+ if ($accounting_department === null || (is_array($accounting_department) && count($accounting_department) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $invoice_item when calling invoiceItemsAdd'
+ 'Missing the required parameter $accounting_department when calling departmentsAdd'
);
}
- $resourcePath = '/accounting/invoice-items';
+ $resourcePath = '/accounting/departments';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -9532,11 +9532,11 @@ public function invoiceItemsAddRequest($invoice_item, $raw = false, $x_apideck_c
}
// for model (json/xml)
- if (isset($invoice_item)) {
+ if (isset($accounting_department)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($invoice_item));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($accounting_department));
} else {
- $httpBody = $invoice_item;
+ $httpBody = $accounting_department;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -9589,9 +9589,9 @@ public function invoiceItemsAddRequest($invoice_item, $raw = false, $x_apideck_c
}
/**
- * Operation invoiceItemsAll
+ * Operation departmentsAll
*
- * List Invoice Items
+ * List Departments
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -9599,24 +9599,23 @@ public function invoiceItemsAddRequest($invoice_item, $raw = false, $x_apideck_c
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingDepartmentsFilter $filter Apply filters (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetInvoiceItemsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetAccountingDepartmentsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoiceItemsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
+ public function departmentsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
{
- list($response) = $this->invoiceItemsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $pass_through, $fields);
+ list($response) = $this->departmentsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields, $filter);
return $response;
}
/**
- * Operation invoiceItemsAllWithHttpInfo
+ * Operation departmentsAllWithHttpInfo
*
- * List Invoice Items
+ * List Departments
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -9624,17 +9623,16 @@ public function invoiceItemsAll($raw = false, $x_apideck_consumer_id = null, $x_
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingDepartmentsFilter $filter Apply filters (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetInvoiceItemsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetAccountingDepartmentsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoiceItemsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
+ public function departmentsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
{
- $request = $this->invoiceItemsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $pass_through, $fields);
+ $request = $this->departmentsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields, $filter);
try {
$options = $this->createHttpClientOption();
@@ -9673,14 +9671,14 @@ public function invoiceItemsAllWithHttpInfo($raw = false, $x_apideck_consumer_id
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetInvoiceItemsResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetAccountingDepartmentsResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetInvoiceItemsResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetAccountingDepartmentsResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -9758,7 +9756,7 @@ public function invoiceItemsAllWithHttpInfo($raw = false, $x_apideck_consumer_id
];
}
- $returnType = '\Apideck\Client\Model\GetInvoiceItemsResponse';
+ $returnType = '\Apideck\Client\Model\GetAccountingDepartmentsResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -9776,7 +9774,7 @@ public function invoiceItemsAllWithHttpInfo($raw = false, $x_apideck_consumer_id
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetInvoiceItemsResponse',
+ '\Apideck\Client\Model\GetAccountingDepartmentsResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -9835,9 +9833,9 @@ public function invoiceItemsAllWithHttpInfo($raw = false, $x_apideck_consumer_id
}
/**
- * Operation invoiceItemsAllAsync
+ * Operation departmentsAllAsync
*
- * List Invoice Items
+ * List Departments
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -9845,16 +9843,15 @@ public function invoiceItemsAllWithHttpInfo($raw = false, $x_apideck_consumer_id
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingDepartmentsFilter $filter Apply filters (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
+ public function departmentsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
{
- return $this->invoiceItemsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $pass_through, $fields)
+ return $this->departmentsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields, $filter)
->then(
function ($response) {
return $response[0];
@@ -9863,9 +9860,9 @@ function ($response) {
}
/**
- * Operation invoiceItemsAllAsyncWithHttpInfo
+ * Operation departmentsAllAsyncWithHttpInfo
*
- * List Invoice Items
+ * List Departments
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -9873,17 +9870,16 @@ function ($response) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingDepartmentsFilter $filter Apply filters (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
+ public function departmentsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
{
- $returnType = '\Apideck\Client\Model\GetInvoiceItemsResponse';
- $request = $this->invoiceItemsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $pass_through, $fields);
+ $returnType = '\Apideck\Client\Model\GetAccountingDepartmentsResponse';
+ $request = $this->departmentsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields, $filter);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -9919,7 +9915,7 @@ function ($exception) {
}
/**
- * Create request for operation 'invoiceItemsAll'
+ * Create request for operation 'departmentsAll'
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -9927,24 +9923,23 @@ function ($exception) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingDepartmentsFilter $filter Apply filters (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoiceItemsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
+ public function departmentsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
{
if ($limit !== null && $limit > 200) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.invoiceItemsAll, must be smaller than or equal to 200.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.departmentsAll, must be smaller than or equal to 200.');
}
if ($limit !== null && $limit < 1) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.invoiceItemsAll, must be bigger than or equal to 1.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.departmentsAll, must be bigger than or equal to 1.');
}
- $resourcePath = '/accounting/invoice-items';
+ $resourcePath = '/accounting/departments';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -10073,60 +10068,20 @@ public function invoiceItemsAllRequest($raw = false, $x_apideck_consumer_id = nu
}
// query params
- if ('raw' === 'filter') {
- // Support for raw as true/false parameter
- if('form' === 'deepObject' && is_array($filter)) {
- foreach($filter as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['filter'] = $filter ? 'true' : 'false';
- }
- }
-
-
- if ($filter !== null && 'sort' === 'filter') {
- // Support for sort options
- $sort_data = $sort->jsonSerialize();
- foreach($sort_data as $key => $value) {
- $queryParams['sort['.$key.']'] = $value;
- }
- }
-
- if ($filter !== null && 'filter' === 'filter') {
- // Support for filter options
- $filter_data = $filter->jsonSerialize();
- foreach($filter_data as $key => $value) {
- $queryParams['filter['.$key.']'] = $value;
- }
- }
- if ($filter !== null && !('filter' === 'raw' || 'filter' === 'sort' || 'filter' === 'filter')) {
- if('form' === 'deepObject' && is_array($filter)) {
- foreach($filter as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['filter'] = $filter;
- }
- }
- // query params
-
- if ('raw' === 'pass_through') {
+ if ('raw' === 'fields') {
// Support for raw as true/false parameter
- if('form' === 'deepObject' && is_array($pass_through)) {
- foreach($pass_through as $key => $value) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
$queryParams[$key] = $value;
}
}
else {
- $queryParams['pass_through'] = $pass_through ? 'true' : 'false';
+ $queryParams['fields'] = $fields ? 'true' : 'false';
}
}
- if ($pass_through !== null && 'sort' === 'pass_through') {
+ if ($fields !== null && 'sort' === 'fields') {
// Support for sort options
$sort_data = $sort->jsonSerialize();
foreach($sort_data as $key => $value) {
@@ -10134,39 +10089,39 @@ public function invoiceItemsAllRequest($raw = false, $x_apideck_consumer_id = nu
}
}
- if ($pass_through !== null && 'filter' === 'pass_through') {
+ if ($fields !== null && 'filter' === 'fields') {
// Support for filter options
$filter_data = $filter->jsonSerialize();
foreach($filter_data as $key => $value) {
$queryParams['filter['.$key.']'] = $value;
}
}
- if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter')) {
- if('form' === 'deepObject' && is_array($pass_through)) {
- foreach($pass_through as $key => $value) {
+ if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
$queryParams[$key] = $value;
}
}
else {
- $queryParams['pass_through'] = $pass_through;
+ $queryParams['fields'] = $fields;
}
}
// query params
- if ('raw' === 'fields') {
+ if ('raw' === 'filter') {
// Support for raw as true/false parameter
- if('form' === 'form' && is_array($fields)) {
- foreach($fields as $key => $value) {
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
$queryParams[$key] = $value;
}
}
else {
- $queryParams['fields'] = $fields ? 'true' : 'false';
+ $queryParams['filter'] = $filter ? 'true' : 'false';
}
}
- if ($fields !== null && 'sort' === 'fields') {
+ if ($filter !== null && 'sort' === 'filter') {
// Support for sort options
$sort_data = $sort->jsonSerialize();
foreach($sort_data as $key => $value) {
@@ -10174,21 +10129,21 @@ public function invoiceItemsAllRequest($raw = false, $x_apideck_consumer_id = nu
}
}
- if ($fields !== null && 'filter' === 'fields') {
+ if ($filter !== null && 'filter' === 'filter') {
// Support for filter options
$filter_data = $filter->jsonSerialize();
foreach($filter_data as $key => $value) {
$queryParams['filter['.$key.']'] = $value;
}
}
- if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
- if('form' === 'form' && is_array($fields)) {
- foreach($fields as $key => $value) {
+ if ($filter !== null && !('filter' === 'raw' || 'filter' === 'sort' || 'filter' === 'filter')) {
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
$queryParams[$key] = $value;
}
}
else {
- $queryParams['fields'] = $fields;
+ $queryParams['filter'] = $filter;
}
}
@@ -10270,9 +10225,9 @@ public function invoiceItemsAllRequest($raw = false, $x_apideck_consumer_id = nu
}
/**
- * Operation invoiceItemsDelete
+ * Operation departmentsDelete
*
- * Delete Invoice Item
+ * Delete Department
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -10282,18 +10237,18 @@ public function invoiceItemsAllRequest($raw = false, $x_apideck_consumer_id = nu
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\DeleteTaxRateResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\DeleteAccountingDepartmentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoiceItemsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->invoiceItemsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->departmentsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation invoiceItemsDeleteWithHttpInfo
+ * Operation departmentsDeleteWithHttpInfo
*
- * Delete Invoice Item
+ * Delete Department
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -10303,11 +10258,11 @@ public function invoiceItemsDelete($id, $x_apideck_consumer_id = null, $x_apidec
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\DeleteTaxRateResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\DeleteAccountingDepartmentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoiceItemsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->invoiceItemsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->departmentsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -10346,14 +10301,14 @@ public function invoiceItemsDeleteWithHttpInfo($id, $x_apideck_consumer_id = nul
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\DeleteTaxRateResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\DeleteAccountingDepartmentResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteTaxRateResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteAccountingDepartmentResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -10431,7 +10386,7 @@ public function invoiceItemsDeleteWithHttpInfo($id, $x_apideck_consumer_id = nul
];
}
- $returnType = '\Apideck\Client\Model\DeleteTaxRateResponse';
+ $returnType = '\Apideck\Client\Model\DeleteAccountingDepartmentResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -10449,7 +10404,7 @@ public function invoiceItemsDeleteWithHttpInfo($id, $x_apideck_consumer_id = nul
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\DeleteTaxRateResponse',
+ '\Apideck\Client\Model\DeleteAccountingDepartmentResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -10508,9 +10463,9 @@ public function invoiceItemsDeleteWithHttpInfo($id, $x_apideck_consumer_id = nul
}
/**
- * Operation invoiceItemsDeleteAsync
+ * Operation departmentsDeleteAsync
*
- * Delete Invoice Item
+ * Delete Department
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -10521,9 +10476,9 @@ public function invoiceItemsDeleteWithHttpInfo($id, $x_apideck_consumer_id = nul
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->invoiceItemsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->departmentsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -10532,9 +10487,9 @@ function ($response) {
}
/**
- * Operation invoiceItemsDeleteAsyncWithHttpInfo
+ * Operation departmentsDeleteAsyncWithHttpInfo
*
- * Delete Invoice Item
+ * Delete Department
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -10545,10 +10500,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\DeleteTaxRateResponse';
- $request = $this->invoiceItemsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\DeleteAccountingDepartmentResponse';
+ $request = $this->departmentsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -10584,7 +10539,7 @@ function ($exception) {
}
/**
- * Create request for operation 'invoiceItemsDelete'
+ * Create request for operation 'departmentsDelete'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -10595,16 +10550,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoiceItemsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling invoiceItemsDelete'
+ 'Missing the required parameter $id when calling departmentsDelete'
);
}
- $resourcePath = '/accounting/invoice-items/{id}';
+ $resourcePath = '/accounting/departments/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -10738,9 +10693,9 @@ public function invoiceItemsDeleteRequest($id, $x_apideck_consumer_id = null, $x
}
/**
- * Operation invoiceItemsOne
+ * Operation departmentsOne
*
- * Get Invoice Item
+ * Get Department
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -10751,18 +10706,18 @@ public function invoiceItemsDeleteRequest($id, $x_apideck_consumer_id = null, $x
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetInvoiceItemResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetAccountingDepartmentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoiceItemsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function departmentsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- list($response) = $this->invoiceItemsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ list($response) = $this->departmentsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $response;
}
/**
- * Operation invoiceItemsOneWithHttpInfo
+ * Operation departmentsOneWithHttpInfo
*
- * Get Invoice Item
+ * Get Department
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -10773,11 +10728,11 @@ public function invoiceItemsOne($id, $x_apideck_consumer_id = null, $x_apideck_a
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetInvoiceItemResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetAccountingDepartmentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoiceItemsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function departmentsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $request = $this->invoiceItemsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $request = $this->departmentsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
try {
$options = $this->createHttpClientOption();
@@ -10816,14 +10771,14 @@ public function invoiceItemsOneWithHttpInfo($id, $x_apideck_consumer_id = null,
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetInvoiceItemResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetAccountingDepartmentResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetInvoiceItemResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetAccountingDepartmentResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -10901,7 +10856,7 @@ public function invoiceItemsOneWithHttpInfo($id, $x_apideck_consumer_id = null,
];
}
- $returnType = '\Apideck\Client\Model\GetInvoiceItemResponse';
+ $returnType = '\Apideck\Client\Model\GetAccountingDepartmentResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -10919,7 +10874,7 @@ public function invoiceItemsOneWithHttpInfo($id, $x_apideck_consumer_id = null,
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetInvoiceItemResponse',
+ '\Apideck\Client\Model\GetAccountingDepartmentResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -10978,9 +10933,9 @@ public function invoiceItemsOneWithHttpInfo($id, $x_apideck_consumer_id = null,
}
/**
- * Operation invoiceItemsOneAsync
+ * Operation departmentsOneAsync
*
- * Get Invoice Item
+ * Get Department
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -10992,9 +10947,9 @@ public function invoiceItemsOneWithHttpInfo($id, $x_apideck_consumer_id = null,
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function departmentsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- return $this->invoiceItemsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
+ return $this->departmentsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
->then(
function ($response) {
return $response[0];
@@ -11003,9 +10958,9 @@ function ($response) {
}
/**
- * Operation invoiceItemsOneAsyncWithHttpInfo
+ * Operation departmentsOneAsyncWithHttpInfo
*
- * Get Invoice Item
+ * Get Department
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -11017,10 +10972,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function departmentsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetInvoiceItemResponse';
- $request = $this->invoiceItemsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $returnType = '\Apideck\Client\Model\GetAccountingDepartmentResponse';
+ $request = $this->departmentsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -11056,7 +11011,7 @@ function ($exception) {
}
/**
- * Create request for operation 'invoiceItemsOne'
+ * Create request for operation 'departmentsOne'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -11068,16 +11023,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoiceItemsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function departmentsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling invoiceItemsOne'
+ 'Missing the required parameter $id when calling departmentsOne'
);
}
- $resourcePath = '/accounting/invoice-items/{id}';
+ $resourcePath = '/accounting/departments/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -11251,12 +11206,12 @@ public function invoiceItemsOneRequest($id, $x_apideck_consumer_id = null, $x_ap
}
/**
- * Operation invoiceItemsUpdate
+ * Operation departmentsUpdate
*
- * Update Invoice Item
+ * Update Department
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department accounting_department (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -11264,21 +11219,21 @@ public function invoiceItemsOneRequest($id, $x_apideck_consumer_id = null, $x_ap
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\UpdateInvoiceItemsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\UpdateAccountingDepartmentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoiceItemsUpdate($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsUpdate($id, $accounting_department, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->invoiceItemsUpdateWithHttpInfo($id, $invoice_item, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->departmentsUpdateWithHttpInfo($id, $accounting_department, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation invoiceItemsUpdateWithHttpInfo
+ * Operation departmentsUpdateWithHttpInfo
*
- * Update Invoice Item
+ * Update Department
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -11286,11 +11241,11 @@ public function invoiceItemsUpdate($id, $invoice_item, $x_apideck_consumer_id =
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\UpdateInvoiceItemsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\UpdateAccountingDepartmentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoiceItemsUpdateWithHttpInfo($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsUpdateWithHttpInfo($id, $accounting_department, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->invoiceItemsUpdateRequest($id, $invoice_item, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->departmentsUpdateRequest($id, $accounting_department, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -11329,14 +11284,14 @@ public function invoiceItemsUpdateWithHttpInfo($id, $invoice_item, $x_apideck_co
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\UpdateInvoiceItemsResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\UpdateAccountingDepartmentResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateInvoiceItemsResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateAccountingDepartmentResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -11414,7 +11369,7 @@ public function invoiceItemsUpdateWithHttpInfo($id, $invoice_item, $x_apideck_co
];
}
- $returnType = '\Apideck\Client\Model\UpdateInvoiceItemsResponse';
+ $returnType = '\Apideck\Client\Model\UpdateAccountingDepartmentResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -11432,7 +11387,7 @@ public function invoiceItemsUpdateWithHttpInfo($id, $invoice_item, $x_apideck_co
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\UpdateInvoiceItemsResponse',
+ '\Apideck\Client\Model\UpdateAccountingDepartmentResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -11491,12 +11446,12 @@ public function invoiceItemsUpdateWithHttpInfo($id, $invoice_item, $x_apideck_co
}
/**
- * Operation invoiceItemsUpdateAsync
+ * Operation departmentsUpdateAsync
*
- * Update Invoice Item
+ * Update Department
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -11505,9 +11460,9 @@ public function invoiceItemsUpdateWithHttpInfo($id, $invoice_item, $x_apideck_co
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsUpdateAsync($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsUpdateAsync($id, $accounting_department, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->invoiceItemsUpdateAsyncWithHttpInfo($id, $invoice_item, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->departmentsUpdateAsyncWithHttpInfo($id, $accounting_department, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -11516,12 +11471,12 @@ function ($response) {
}
/**
- * Operation invoiceItemsUpdateAsyncWithHttpInfo
+ * Operation departmentsUpdateAsyncWithHttpInfo
*
- * Update Invoice Item
+ * Update Department
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -11530,10 +11485,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoiceItemsUpdateAsyncWithHttpInfo($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsUpdateAsyncWithHttpInfo($id, $accounting_department, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\UpdateInvoiceItemsResponse';
- $request = $this->invoiceItemsUpdateRequest($id, $invoice_item, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\UpdateAccountingDepartmentResponse';
+ $request = $this->departmentsUpdateRequest($id, $accounting_department, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -11569,10 +11524,10 @@ function ($exception) {
}
/**
- * Create request for operation 'invoiceItemsUpdate'
+ * Create request for operation 'departmentsUpdate'
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
+ * @param \Apideck\Client\Model\AccountingDepartment $accounting_department (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -11581,22 +11536,22 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoiceItemsUpdateRequest($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function departmentsUpdateRequest($id, $accounting_department, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling invoiceItemsUpdate'
+ 'Missing the required parameter $id when calling departmentsUpdate'
);
}
- // verify the required parameter 'invoice_item' is set
- if ($invoice_item === null || (is_array($invoice_item) && count($invoice_item) === 0)) {
+ // verify the required parameter 'accounting_department' is set
+ if ($accounting_department === null || (is_array($accounting_department) && count($accounting_department) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $invoice_item when calling invoiceItemsUpdate'
+ 'Missing the required parameter $accounting_department when calling departmentsUpdate'
);
}
- $resourcePath = '/accounting/invoice-items/{id}';
+ $resourcePath = '/accounting/departments/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -11679,11 +11634,11 @@ public function invoiceItemsUpdateRequest($id, $invoice_item, $x_apideck_consume
}
// for model (json/xml)
- if (isset($invoice_item)) {
+ if (isset($accounting_department)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($invoice_item));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($accounting_department));
} else {
- $httpBody = $invoice_item;
+ $httpBody = $accounting_department;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -11736,11 +11691,11 @@ public function invoiceItemsUpdateRequest($id, $invoice_item, $x_apideck_consume
}
/**
- * Operation invoicesAdd
+ * Operation invoiceItemsAdd
*
- * Create Invoice
+ * Create Invoice Item
*
- * @param \Apideck\Client\Model\Invoice $invoice invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item invoice_item (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -11748,20 +11703,20 @@ public function invoiceItemsUpdateRequest($id, $invoice_item, $x_apideck_consume
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\CreateInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\CreateInvoiceItemResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoicesAdd($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoiceItemsAdd($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- list($response) = $this->invoicesAddWithHttpInfo($invoice, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ list($response) = $this->invoiceItemsAddWithHttpInfo($invoice_item, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $response;
}
/**
- * Operation invoicesAddWithHttpInfo
+ * Operation invoiceItemsAddWithHttpInfo
*
- * Create Invoice
+ * Create Invoice Item
*
- * @param \Apideck\Client\Model\Invoice $invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -11769,11 +11724,11 @@ public function invoicesAdd($invoice, $raw = false, $x_apideck_consumer_id = nul
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\CreateInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\CreateInvoiceItemResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoicesAddWithHttpInfo($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoiceItemsAddWithHttpInfo($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $request = $this->invoicesAddRequest($invoice, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $request = $this->invoiceItemsAddRequest($invoice_item, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
try {
$options = $this->createHttpClientOption();
@@ -11812,14 +11767,14 @@ public function invoicesAddWithHttpInfo($invoice, $raw = false, $x_apideck_consu
switch($statusCode) {
case 201:
- if ('\Apideck\Client\Model\CreateInvoiceResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\CreateInvoiceItemResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateInvoiceResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateInvoiceItemResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -11897,7 +11852,7 @@ public function invoicesAddWithHttpInfo($invoice, $raw = false, $x_apideck_consu
];
}
- $returnType = '\Apideck\Client\Model\CreateInvoiceResponse';
+ $returnType = '\Apideck\Client\Model\CreateInvoiceItemResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -11915,7 +11870,7 @@ public function invoicesAddWithHttpInfo($invoice, $raw = false, $x_apideck_consu
case 201:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\CreateInvoiceResponse',
+ '\Apideck\Client\Model\CreateInvoiceItemResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -11974,11 +11929,11 @@ public function invoicesAddWithHttpInfo($invoice, $raw = false, $x_apideck_consu
}
/**
- * Operation invoicesAddAsync
+ * Operation invoiceItemsAddAsync
*
- * Create Invoice
+ * Create Invoice Item
*
- * @param \Apideck\Client\Model\Invoice $invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -11987,9 +11942,9 @@ public function invoicesAddWithHttpInfo($invoice, $raw = false, $x_apideck_consu
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesAddAsync($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoiceItemsAddAsync($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- return $this->invoicesAddAsyncWithHttpInfo($invoice, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
+ return $this->invoiceItemsAddAsyncWithHttpInfo($invoice_item, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
->then(
function ($response) {
return $response[0];
@@ -11998,11 +11953,11 @@ function ($response) {
}
/**
- * Operation invoicesAddAsyncWithHttpInfo
+ * Operation invoiceItemsAddAsyncWithHttpInfo
*
- * Create Invoice
+ * Create Invoice Item
*
- * @param \Apideck\Client\Model\Invoice $invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -12011,10 +11966,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesAddAsyncWithHttpInfo($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoiceItemsAddAsyncWithHttpInfo($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $returnType = '\Apideck\Client\Model\CreateInvoiceResponse';
- $request = $this->invoicesAddRequest($invoice, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $returnType = '\Apideck\Client\Model\CreateInvoiceItemResponse';
+ $request = $this->invoiceItemsAddRequest($invoice_item, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -12050,9 +12005,9 @@ function ($exception) {
}
/**
- * Create request for operation 'invoicesAdd'
+ * Create request for operation 'invoiceItemsAdd'
*
- * @param \Apideck\Client\Model\Invoice $invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -12061,16 +12016,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoicesAddRequest($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoiceItemsAddRequest($invoice_item, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- // verify the required parameter 'invoice' is set
- if ($invoice === null || (is_array($invoice) && count($invoice) === 0)) {
+ // verify the required parameter 'invoice_item' is set
+ if ($invoice_item === null || (is_array($invoice_item) && count($invoice_item) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $invoice when calling invoicesAdd'
+ 'Missing the required parameter $invoice_item when calling invoiceItemsAdd'
);
}
- $resourcePath = '/accounting/invoices';
+ $resourcePath = '/accounting/invoice-items';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -12145,11 +12100,11 @@ public function invoicesAddRequest($invoice, $raw = false, $x_apideck_consumer_i
}
// for model (json/xml)
- if (isset($invoice)) {
+ if (isset($invoice_item)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($invoice));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($invoice_item));
} else {
- $httpBody = $invoice;
+ $httpBody = $invoice_item;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -12202,9 +12157,9 @@ public function invoicesAddRequest($invoice, $raw = false, $x_apideck_consumer_i
}
/**
- * Operation invoicesAll
+ * Operation invoiceItemsAll
*
- * List Invoices
+ * List Invoice Items
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -12212,25 +12167,24 @@ public function invoicesAddRequest($invoice, $raw = false, $x_apideck_consumer_i
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetInvoicesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetInvoiceItemsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoicesAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoiceItemsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
{
- list($response) = $this->invoicesAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ list($response) = $this->invoiceItemsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $pass_through, $fields);
return $response;
}
/**
- * Operation invoicesAllWithHttpInfo
+ * Operation invoiceItemsAllWithHttpInfo
*
- * List Invoices
+ * List Invoice Items
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -12238,18 +12192,17 @@ public function invoicesAll($raw = false, $x_apideck_consumer_id = null, $x_apid
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetInvoicesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetInvoiceItemsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoicesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoiceItemsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
{
- $request = $this->invoicesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ $request = $this->invoiceItemsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $pass_through, $fields);
try {
$options = $this->createHttpClientOption();
@@ -12288,14 +12241,14 @@ public function invoicesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetInvoicesResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetInvoiceItemsResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetInvoicesResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetInvoiceItemsResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -12373,7 +12326,7 @@ public function invoicesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
];
}
- $returnType = '\Apideck\Client\Model\GetInvoicesResponse';
+ $returnType = '\Apideck\Client\Model\GetInvoiceItemsResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -12391,7 +12344,7 @@ public function invoicesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetInvoicesResponse',
+ '\Apideck\Client\Model\GetInvoiceItemsResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -12450,9 +12403,9 @@ public function invoicesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
}
/**
- * Operation invoicesAllAsync
+ * Operation invoiceItemsAllAsync
*
- * List Invoices
+ * List Invoice Items
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -12460,17 +12413,16 @@ public function invoicesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoiceItemsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
{
- return $this->invoicesAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields)
+ return $this->invoiceItemsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $pass_through, $fields)
->then(
function ($response) {
return $response[0];
@@ -12479,9 +12431,9 @@ function ($response) {
}
/**
- * Operation invoicesAllAsyncWithHttpInfo
+ * Operation invoiceItemsAllAsyncWithHttpInfo
*
- * List Invoices
+ * List Invoice Items
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -12489,18 +12441,17 @@ function ($response) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoiceItemsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetInvoicesResponse';
- $request = $this->invoicesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ $returnType = '\Apideck\Client\Model\GetInvoiceItemsResponse';
+ $request = $this->invoiceItemsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $pass_through, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -12536,7 +12487,7 @@ function ($exception) {
}
/**
- * Create request for operation 'invoicesAll'
+ * Create request for operation 'invoiceItemsAll'
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -12544,25 +12495,24 @@ function ($exception) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoiceItemsFilter $filter Apply filters (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoicesAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoiceItemsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $pass_through = null, $fields = null)
{
if ($limit !== null && $limit > 200) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.invoicesAll, must be smaller than or equal to 200.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.invoiceItemsAll, must be smaller than or equal to 200.');
}
if ($limit !== null && $limit < 1) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.invoicesAll, must be bigger than or equal to 1.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.invoiceItemsAll, must be bigger than or equal to 1.');
}
- $resourcePath = '/accounting/invoices';
+ $resourcePath = '/accounting/invoice-items';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -12731,46 +12681,6 @@ public function invoicesAllRequest($raw = false, $x_apideck_consumer_id = null,
}
// query params
- if ('raw' === 'sort') {
- // Support for raw as true/false parameter
- if('form' === 'deepObject' && is_array($sort)) {
- foreach($sort as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['sort'] = $sort ? 'true' : 'false';
- }
- }
-
-
- if ($sort !== null && 'sort' === 'sort') {
- // Support for sort options
- $sort_data = $sort->jsonSerialize();
- foreach($sort_data as $key => $value) {
- $queryParams['sort['.$key.']'] = $value;
- }
- }
-
- if ($sort !== null && 'filter' === 'sort') {
- // Support for filter options
- $filter_data = $filter->jsonSerialize();
- foreach($filter_data as $key => $value) {
- $queryParams['filter['.$key.']'] = $value;
- }
- }
- if ($sort !== null && !('sort' === 'raw' || 'sort' === 'sort' || 'sort' === 'filter')) {
- if('form' === 'deepObject' && is_array($sort)) {
- foreach($sort as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['sort'] = $sort;
- }
- }
- // query params
-
if ('raw' === 'pass_through') {
// Support for raw as true/false parameter
if('form' === 'deepObject' && is_array($pass_through)) {
@@ -12928,9 +12838,9 @@ public function invoicesAllRequest($raw = false, $x_apideck_consumer_id = null,
}
/**
- * Operation invoicesDelete
+ * Operation invoiceItemsDelete
*
- * Delete Invoice
+ * Delete Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -12940,18 +12850,18 @@ public function invoicesAllRequest($raw = false, $x_apideck_consumer_id = null,
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\DeleteInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\DeleteTaxRateResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoicesDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->invoicesDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->invoiceItemsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation invoicesDeleteWithHttpInfo
+ * Operation invoiceItemsDeleteWithHttpInfo
*
- * Delete Invoice
+ * Delete Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -12961,11 +12871,11 @@ public function invoicesDelete($id, $x_apideck_consumer_id = null, $x_apideck_ap
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\DeleteInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\DeleteTaxRateResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoicesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->invoicesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->invoiceItemsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -13004,14 +12914,14 @@ public function invoicesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\DeleteInvoiceResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\DeleteTaxRateResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteInvoiceResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteTaxRateResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -13089,7 +12999,7 @@ public function invoicesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
];
}
- $returnType = '\Apideck\Client\Model\DeleteInvoiceResponse';
+ $returnType = '\Apideck\Client\Model\DeleteTaxRateResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -13107,7 +13017,7 @@ public function invoicesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\DeleteInvoiceResponse',
+ '\Apideck\Client\Model\DeleteTaxRateResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -13166,9 +13076,9 @@ public function invoicesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
}
/**
- * Operation invoicesDeleteAsync
+ * Operation invoiceItemsDeleteAsync
*
- * Delete Invoice
+ * Delete Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -13179,9 +13089,9 @@ public function invoicesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->invoicesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->invoiceItemsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -13190,9 +13100,9 @@ function ($response) {
}
/**
- * Operation invoicesDeleteAsyncWithHttpInfo
+ * Operation invoiceItemsDeleteAsyncWithHttpInfo
*
- * Delete Invoice
+ * Delete Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -13203,10 +13113,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\DeleteInvoiceResponse';
- $request = $this->invoicesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\DeleteTaxRateResponse';
+ $request = $this->invoiceItemsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -13242,7 +13152,7 @@ function ($exception) {
}
/**
- * Create request for operation 'invoicesDelete'
+ * Create request for operation 'invoiceItemsDelete'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -13253,16 +13163,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoicesDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling invoicesDelete'
+ 'Missing the required parameter $id when calling invoiceItemsDelete'
);
}
- $resourcePath = '/accounting/invoices/{id}';
+ $resourcePath = '/accounting/invoice-items/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -13396,9 +13306,9 @@ public function invoicesDeleteRequest($id, $x_apideck_consumer_id = null, $x_api
}
/**
- * Operation invoicesOne
+ * Operation invoiceItemsOne
*
- * Get Invoice
+ * Get Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -13409,18 +13319,18 @@ public function invoicesDeleteRequest($id, $x_apideck_consumer_id = null, $x_api
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetInvoiceItemResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoicesOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoiceItemsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- list($response) = $this->invoicesOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ list($response) = $this->invoiceItemsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $response;
}
/**
- * Operation invoicesOneWithHttpInfo
+ * Operation invoiceItemsOneWithHttpInfo
*
- * Get Invoice
+ * Get Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -13431,11 +13341,11 @@ public function invoicesOne($id, $x_apideck_consumer_id = null, $x_apideck_app_i
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetInvoiceItemResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoicesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoiceItemsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $request = $this->invoicesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $request = $this->invoiceItemsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
try {
$options = $this->createHttpClientOption();
@@ -13474,14 +13384,14 @@ public function invoicesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetInvoiceResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetInvoiceItemResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetInvoiceResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetInvoiceItemResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -13559,7 +13469,7 @@ public function invoicesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
];
}
- $returnType = '\Apideck\Client\Model\GetInvoiceResponse';
+ $returnType = '\Apideck\Client\Model\GetInvoiceItemResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -13577,7 +13487,7 @@ public function invoicesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetInvoiceResponse',
+ '\Apideck\Client\Model\GetInvoiceItemResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -13636,9 +13546,9 @@ public function invoicesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
}
/**
- * Operation invoicesOneAsync
+ * Operation invoiceItemsOneAsync
*
- * Get Invoice
+ * Get Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -13650,9 +13560,9 @@ public function invoicesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoiceItemsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- return $this->invoicesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
+ return $this->invoiceItemsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
->then(
function ($response) {
return $response[0];
@@ -13661,9 +13571,9 @@ function ($response) {
}
/**
- * Operation invoicesOneAsyncWithHttpInfo
+ * Operation invoiceItemsOneAsyncWithHttpInfo
*
- * Get Invoice
+ * Get Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -13675,10 +13585,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoiceItemsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetInvoiceResponse';
- $request = $this->invoicesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $returnType = '\Apideck\Client\Model\GetInvoiceItemResponse';
+ $request = $this->invoiceItemsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -13714,7 +13624,7 @@ function ($exception) {
}
/**
- * Create request for operation 'invoicesOne'
+ * Create request for operation 'invoiceItemsOne'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -13726,16 +13636,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoicesOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoiceItemsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling invoicesOne'
+ 'Missing the required parameter $id when calling invoiceItemsOne'
);
}
- $resourcePath = '/accounting/invoices/{id}';
+ $resourcePath = '/accounting/invoice-items/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -13909,12 +13819,12 @@ public function invoicesOneRequest($id, $x_apideck_consumer_id = null, $x_apidec
}
/**
- * Operation invoicesUpdate
+ * Operation invoiceItemsUpdate
*
- * Update Invoice
+ * Update Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Invoice $invoice invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item invoice_item (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -13922,21 +13832,21 @@ public function invoicesOneRequest($id, $x_apideck_consumer_id = null, $x_apidec
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\UpdateInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\UpdateInvoiceItemsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function invoicesUpdate($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsUpdate($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->invoicesUpdateWithHttpInfo($id, $invoice, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->invoiceItemsUpdateWithHttpInfo($id, $invoice_item, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation invoicesUpdateWithHttpInfo
+ * Operation invoiceItemsUpdateWithHttpInfo
*
- * Update Invoice
+ * Update Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Invoice $invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -13944,11 +13854,11 @@ public function invoicesUpdate($id, $invoice, $x_apideck_consumer_id = null, $x_
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\UpdateInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\UpdateInvoiceItemsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function invoicesUpdateWithHttpInfo($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsUpdateWithHttpInfo($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->invoicesUpdateRequest($id, $invoice, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->invoiceItemsUpdateRequest($id, $invoice_item, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -13987,14 +13897,14 @@ public function invoicesUpdateWithHttpInfo($id, $invoice, $x_apideck_consumer_id
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\UpdateInvoiceResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\UpdateInvoiceItemsResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateInvoiceResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateInvoiceItemsResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -14072,7 +13982,7 @@ public function invoicesUpdateWithHttpInfo($id, $invoice, $x_apideck_consumer_id
];
}
- $returnType = '\Apideck\Client\Model\UpdateInvoiceResponse';
+ $returnType = '\Apideck\Client\Model\UpdateInvoiceItemsResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -14090,7 +14000,7 @@ public function invoicesUpdateWithHttpInfo($id, $invoice, $x_apideck_consumer_id
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\UpdateInvoiceResponse',
+ '\Apideck\Client\Model\UpdateInvoiceItemsResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -14149,12 +14059,12 @@ public function invoicesUpdateWithHttpInfo($id, $invoice, $x_apideck_consumer_id
}
/**
- * Operation invoicesUpdateAsync
+ * Operation invoiceItemsUpdateAsync
*
- * Update Invoice
+ * Update Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Invoice $invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -14163,9 +14073,9 @@ public function invoicesUpdateWithHttpInfo($id, $invoice, $x_apideck_consumer_id
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesUpdateAsync($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsUpdateAsync($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->invoicesUpdateAsyncWithHttpInfo($id, $invoice, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->invoiceItemsUpdateAsyncWithHttpInfo($id, $invoice_item, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -14174,12 +14084,12 @@ function ($response) {
}
/**
- * Operation invoicesUpdateAsyncWithHttpInfo
+ * Operation invoiceItemsUpdateAsyncWithHttpInfo
*
- * Update Invoice
+ * Update Invoice Item
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Invoice $invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -14188,10 +14098,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function invoicesUpdateAsyncWithHttpInfo($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsUpdateAsyncWithHttpInfo($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\UpdateInvoiceResponse';
- $request = $this->invoicesUpdateRequest($id, $invoice, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\UpdateInvoiceItemsResponse';
+ $request = $this->invoiceItemsUpdateRequest($id, $invoice_item, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -14227,10 +14137,10 @@ function ($exception) {
}
/**
- * Create request for operation 'invoicesUpdate'
+ * Create request for operation 'invoiceItemsUpdate'
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Invoice $invoice (required)
+ * @param \Apideck\Client\Model\InvoiceItem $invoice_item (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -14239,22 +14149,22 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function invoicesUpdateRequest($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoiceItemsUpdateRequest($id, $invoice_item, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling invoicesUpdate'
+ 'Missing the required parameter $id when calling invoiceItemsUpdate'
);
}
- // verify the required parameter 'invoice' is set
- if ($invoice === null || (is_array($invoice) && count($invoice) === 0)) {
+ // verify the required parameter 'invoice_item' is set
+ if ($invoice_item === null || (is_array($invoice_item) && count($invoice_item) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $invoice when calling invoicesUpdate'
+ 'Missing the required parameter $invoice_item when calling invoiceItemsUpdate'
);
}
- $resourcePath = '/accounting/invoices/{id}';
+ $resourcePath = '/accounting/invoice-items/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -14337,11 +14247,11 @@ public function invoicesUpdateRequest($id, $invoice, $x_apideck_consumer_id = nu
}
// for model (json/xml)
- if (isset($invoice)) {
+ if (isset($invoice_item)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($invoice));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($invoice_item));
} else {
- $httpBody = $invoice;
+ $httpBody = $invoice_item;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -14394,11 +14304,11 @@ public function invoicesUpdateRequest($id, $invoice, $x_apideck_consumer_id = nu
}
/**
- * Operation journalEntriesAdd
+ * Operation invoicesAdd
*
- * Create Journal Entry
+ * Create Invoice
*
- * @param \Apideck\Client\Model\JournalEntry $journal_entry journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice invoice (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -14406,20 +14316,20 @@ public function invoicesUpdateRequest($id, $invoice, $x_apideck_consumer_id = nu
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\CreateJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\CreateInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function journalEntriesAdd($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoicesAdd($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- list($response) = $this->journalEntriesAddWithHttpInfo($journal_entry, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ list($response) = $this->invoicesAddWithHttpInfo($invoice, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $response;
}
/**
- * Operation journalEntriesAddWithHttpInfo
+ * Operation invoicesAddWithHttpInfo
*
- * Create Journal Entry
+ * Create Invoice
*
- * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -14427,11 +14337,11 @@ public function journalEntriesAdd($journal_entry, $raw = false, $x_apideck_consu
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\CreateJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\CreateInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function journalEntriesAddWithHttpInfo($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoicesAddWithHttpInfo($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $request = $this->journalEntriesAddRequest($journal_entry, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $request = $this->invoicesAddRequest($invoice, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
try {
$options = $this->createHttpClientOption();
@@ -14470,14 +14380,14 @@ public function journalEntriesAddWithHttpInfo($journal_entry, $raw = false, $x_a
switch($statusCode) {
case 201:
- if ('\Apideck\Client\Model\CreateJournalEntryResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\CreateInvoiceResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateJournalEntryResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateInvoiceResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -14555,7 +14465,7 @@ public function journalEntriesAddWithHttpInfo($journal_entry, $raw = false, $x_a
];
}
- $returnType = '\Apideck\Client\Model\CreateJournalEntryResponse';
+ $returnType = '\Apideck\Client\Model\CreateInvoiceResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -14573,7 +14483,7 @@ public function journalEntriesAddWithHttpInfo($journal_entry, $raw = false, $x_a
case 201:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\CreateJournalEntryResponse',
+ '\Apideck\Client\Model\CreateInvoiceResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -14632,11 +14542,11 @@ public function journalEntriesAddWithHttpInfo($journal_entry, $raw = false, $x_a
}
/**
- * Operation journalEntriesAddAsync
+ * Operation invoicesAddAsync
*
- * Create Journal Entry
+ * Create Invoice
*
- * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -14645,9 +14555,9 @@ public function journalEntriesAddWithHttpInfo($journal_entry, $raw = false, $x_a
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesAddAsync($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoicesAddAsync($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- return $this->journalEntriesAddAsyncWithHttpInfo($journal_entry, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
+ return $this->invoicesAddAsyncWithHttpInfo($invoice, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
->then(
function ($response) {
return $response[0];
@@ -14656,11 +14566,11 @@ function ($response) {
}
/**
- * Operation journalEntriesAddAsyncWithHttpInfo
+ * Operation invoicesAddAsyncWithHttpInfo
*
- * Create Journal Entry
+ * Create Invoice
*
- * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -14669,10 +14579,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesAddAsyncWithHttpInfo($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoicesAddAsyncWithHttpInfo($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $returnType = '\Apideck\Client\Model\CreateJournalEntryResponse';
- $request = $this->journalEntriesAddRequest($journal_entry, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $returnType = '\Apideck\Client\Model\CreateInvoiceResponse';
+ $request = $this->invoicesAddRequest($invoice, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -14708,9 +14618,9 @@ function ($exception) {
}
/**
- * Create request for operation 'journalEntriesAdd'
+ * Create request for operation 'invoicesAdd'
*
- * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -14719,16 +14629,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function journalEntriesAddRequest($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function invoicesAddRequest($invoice, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- // verify the required parameter 'journal_entry' is set
- if ($journal_entry === null || (is_array($journal_entry) && count($journal_entry) === 0)) {
+ // verify the required parameter 'invoice' is set
+ if ($invoice === null || (is_array($invoice) && count($invoice) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $journal_entry when calling journalEntriesAdd'
+ 'Missing the required parameter $invoice when calling invoicesAdd'
);
}
- $resourcePath = '/accounting/journal-entries';
+ $resourcePath = '/accounting/invoices';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -14803,11 +14713,11 @@ public function journalEntriesAddRequest($journal_entry, $raw = false, $x_apidec
}
// for model (json/xml)
- if (isset($journal_entry)) {
+ if (isset($invoice)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($journal_entry));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($invoice));
} else {
- $httpBody = $journal_entry;
+ $httpBody = $invoice;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -14860,9 +14770,9 @@ public function journalEntriesAddRequest($journal_entry, $raw = false, $x_apidec
}
/**
- * Operation journalEntriesAll
+ * Operation invoicesAll
*
- * List Journal Entries
+ * List Invoices
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -14870,25 +14780,25 @@ public function journalEntriesAddRequest($journal_entry, $raw = false, $x_apidec
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetJournalEntriesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetInvoicesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function journalEntriesAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoicesAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- list($response) = $this->journalEntriesAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ list($response) = $this->invoicesAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
return $response;
}
/**
- * Operation journalEntriesAllWithHttpInfo
+ * Operation invoicesAllWithHttpInfo
*
- * List Journal Entries
+ * List Invoices
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -14896,18 +14806,18 @@ public function journalEntriesAll($raw = false, $x_apideck_consumer_id = null, $
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetJournalEntriesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetInvoicesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function journalEntriesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoicesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- $request = $this->journalEntriesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ $request = $this->invoicesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
try {
$options = $this->createHttpClientOption();
@@ -14946,14 +14856,14 @@ public function journalEntriesAllWithHttpInfo($raw = false, $x_apideck_consumer_
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetJournalEntriesResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetInvoicesResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetJournalEntriesResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetInvoicesResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -15031,7 +14941,7 @@ public function journalEntriesAllWithHttpInfo($raw = false, $x_apideck_consumer_
];
}
- $returnType = '\Apideck\Client\Model\GetJournalEntriesResponse';
+ $returnType = '\Apideck\Client\Model\GetInvoicesResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -15049,7 +14959,7 @@ public function journalEntriesAllWithHttpInfo($raw = false, $x_apideck_consumer_
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetJournalEntriesResponse',
+ '\Apideck\Client\Model\GetInvoicesResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -15108,9 +15018,9 @@ public function journalEntriesAllWithHttpInfo($raw = false, $x_apideck_consumer_
}
/**
- * Operation journalEntriesAllAsync
+ * Operation invoicesAllAsync
*
- * List Journal Entries
+ * List Invoices
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -15118,17 +15028,17 @@ public function journalEntriesAllWithHttpInfo($raw = false, $x_apideck_consumer_
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoicesAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- return $this->journalEntriesAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields)
+ return $this->invoicesAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields)
->then(
function ($response) {
return $response[0];
@@ -15137,9 +15047,9 @@ function ($response) {
}
/**
- * Operation journalEntriesAllAsyncWithHttpInfo
+ * Operation invoicesAllAsyncWithHttpInfo
*
- * List Journal Entries
+ * List Invoices
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -15147,18 +15057,18 @@ function ($response) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoicesAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetJournalEntriesResponse';
- $request = $this->journalEntriesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ $returnType = '\Apideck\Client\Model\GetInvoicesResponse';
+ $request = $this->invoicesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -15194,7 +15104,7 @@ function ($exception) {
}
/**
- * Create request for operation 'journalEntriesAll'
+ * Create request for operation 'invoicesAll'
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -15202,25 +15112,25 @@ function ($exception) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\InvoicesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\InvoicesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function journalEntriesAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function invoicesAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
if ($limit !== null && $limit > 200) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.journalEntriesAll, must be smaller than or equal to 200.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.invoicesAll, must be smaller than or equal to 200.');
}
if ($limit !== null && $limit < 1) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.journalEntriesAll, must be bigger than or equal to 1.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.invoicesAll, must be bigger than or equal to 1.');
}
- $resourcePath = '/accounting/journal-entries';
+ $resourcePath = '/accounting/invoices';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -15586,9 +15496,9 @@ public function journalEntriesAllRequest($raw = false, $x_apideck_consumer_id =
}
/**
- * Operation journalEntriesDelete
+ * Operation invoicesDelete
*
- * Delete Journal Entry
+ * Delete Invoice
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -15598,18 +15508,18 @@ public function journalEntriesAllRequest($raw = false, $x_apideck_consumer_id =
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\DeleteJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\DeleteInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function journalEntriesDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->journalEntriesDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->invoicesDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation journalEntriesDeleteWithHttpInfo
+ * Operation invoicesDeleteWithHttpInfo
*
- * Delete Journal Entry
+ * Delete Invoice
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -15619,11 +15529,11 @@ public function journalEntriesDelete($id, $x_apideck_consumer_id = null, $x_apid
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\DeleteJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\DeleteInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function journalEntriesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->journalEntriesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->invoicesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -15662,14 +15572,14 @@ public function journalEntriesDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\DeleteJournalEntryResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\DeleteInvoiceResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteJournalEntryResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteInvoiceResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -15747,7 +15657,7 @@ public function journalEntriesDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
];
}
- $returnType = '\Apideck\Client\Model\DeleteJournalEntryResponse';
+ $returnType = '\Apideck\Client\Model\DeleteInvoiceResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -15765,7 +15675,7 @@ public function journalEntriesDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\DeleteJournalEntryResponse',
+ '\Apideck\Client\Model\DeleteInvoiceResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -15824,9 +15734,9 @@ public function journalEntriesDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
}
/**
- * Operation journalEntriesDeleteAsync
+ * Operation invoicesDeleteAsync
*
- * Delete Journal Entry
+ * Delete Invoice
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -15837,9 +15747,9 @@ public function journalEntriesDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->journalEntriesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->invoicesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -15848,9 +15758,9 @@ function ($response) {
}
/**
- * Operation journalEntriesDeleteAsyncWithHttpInfo
+ * Operation invoicesDeleteAsyncWithHttpInfo
*
- * Delete Journal Entry
+ * Delete Invoice
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -15861,10 +15771,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\DeleteJournalEntryResponse';
- $request = $this->journalEntriesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\DeleteInvoiceResponse';
+ $request = $this->invoicesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -15900,7 +15810,7 @@ function ($exception) {
}
/**
- * Create request for operation 'journalEntriesDelete'
+ * Create request for operation 'invoicesDelete'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -15911,16 +15821,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function journalEntriesDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling journalEntriesDelete'
+ 'Missing the required parameter $id when calling invoicesDelete'
);
}
- $resourcePath = '/accounting/journal-entries/{id}';
+ $resourcePath = '/accounting/invoices/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -16054,9 +15964,9 @@ public function journalEntriesDeleteRequest($id, $x_apideck_consumer_id = null,
}
/**
- * Operation journalEntriesOne
+ * Operation invoicesOne
*
- * Get Journal Entry
+ * Get Invoice
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -16067,18 +15977,18 @@ public function journalEntriesDeleteRequest($id, $x_apideck_consumer_id = null,
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function journalEntriesOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoicesOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- list($response) = $this->journalEntriesOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ list($response) = $this->invoicesOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $response;
}
/**
- * Operation journalEntriesOneWithHttpInfo
+ * Operation invoicesOneWithHttpInfo
*
- * Get Journal Entry
+ * Get Invoice
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -16089,11 +15999,11 @@ public function journalEntriesOne($id, $x_apideck_consumer_id = null, $x_apideck
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function journalEntriesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoicesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $request = $this->journalEntriesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $request = $this->invoicesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
try {
$options = $this->createHttpClientOption();
@@ -16132,14 +16042,14 @@ public function journalEntriesOneWithHttpInfo($id, $x_apideck_consumer_id = null
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetJournalEntryResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetInvoiceResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetJournalEntryResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetInvoiceResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -16217,7 +16127,7 @@ public function journalEntriesOneWithHttpInfo($id, $x_apideck_consumer_id = null
];
}
- $returnType = '\Apideck\Client\Model\GetJournalEntryResponse';
+ $returnType = '\Apideck\Client\Model\GetInvoiceResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -16235,7 +16145,7 @@ public function journalEntriesOneWithHttpInfo($id, $x_apideck_consumer_id = null
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetJournalEntryResponse',
+ '\Apideck\Client\Model\GetInvoiceResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -16294,9 +16204,9 @@ public function journalEntriesOneWithHttpInfo($id, $x_apideck_consumer_id = null
}
/**
- * Operation journalEntriesOneAsync
+ * Operation invoicesOneAsync
*
- * Get Journal Entry
+ * Get Invoice
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -16308,9 +16218,9 @@ public function journalEntriesOneWithHttpInfo($id, $x_apideck_consumer_id = null
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoicesOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- return $this->journalEntriesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
+ return $this->invoicesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
->then(
function ($response) {
return $response[0];
@@ -16319,9 +16229,9 @@ function ($response) {
}
/**
- * Operation journalEntriesOneAsyncWithHttpInfo
+ * Operation invoicesOneAsyncWithHttpInfo
*
- * Get Journal Entry
+ * Get Invoice
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -16333,10 +16243,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoicesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetJournalEntryResponse';
- $request = $this->journalEntriesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $returnType = '\Apideck\Client\Model\GetInvoiceResponse';
+ $request = $this->invoicesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -16372,7 +16282,7 @@ function ($exception) {
}
/**
- * Create request for operation 'journalEntriesOne'
+ * Create request for operation 'invoicesOne'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -16384,16 +16294,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function journalEntriesOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function invoicesOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling journalEntriesOne'
+ 'Missing the required parameter $id when calling invoicesOne'
);
}
- $resourcePath = '/accounting/journal-entries/{id}';
+ $resourcePath = '/accounting/invoices/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -16567,12 +16477,12 @@ public function journalEntriesOneRequest($id, $x_apideck_consumer_id = null, $x_
}
/**
- * Operation journalEntriesUpdate
+ * Operation invoicesUpdate
*
- * Update Journal Entry
+ * Update Invoice
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\JournalEntry $journal_entry journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice invoice (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -16580,21 +16490,21 @@ public function journalEntriesOneRequest($id, $x_apideck_consumer_id = null, $x_
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\UpdateJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\UpdateInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function journalEntriesUpdate($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesUpdate($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->journalEntriesUpdateWithHttpInfo($id, $journal_entry, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->invoicesUpdateWithHttpInfo($id, $invoice, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation journalEntriesUpdateWithHttpInfo
+ * Operation invoicesUpdateWithHttpInfo
*
- * Update Journal Entry
+ * Update Invoice
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -16602,11 +16512,11 @@ public function journalEntriesUpdate($id, $journal_entry, $x_apideck_consumer_id
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\UpdateJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\UpdateInvoiceResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function journalEntriesUpdateWithHttpInfo($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesUpdateWithHttpInfo($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->journalEntriesUpdateRequest($id, $journal_entry, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->invoicesUpdateRequest($id, $invoice, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -16645,14 +16555,14 @@ public function journalEntriesUpdateWithHttpInfo($id, $journal_entry, $x_apideck
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\UpdateJournalEntryResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\UpdateInvoiceResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateJournalEntryResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateInvoiceResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -16730,7 +16640,7 @@ public function journalEntriesUpdateWithHttpInfo($id, $journal_entry, $x_apideck
];
}
- $returnType = '\Apideck\Client\Model\UpdateJournalEntryResponse';
+ $returnType = '\Apideck\Client\Model\UpdateInvoiceResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -16748,7 +16658,7 @@ public function journalEntriesUpdateWithHttpInfo($id, $journal_entry, $x_apideck
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\UpdateJournalEntryResponse',
+ '\Apideck\Client\Model\UpdateInvoiceResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -16807,12 +16717,12 @@ public function journalEntriesUpdateWithHttpInfo($id, $journal_entry, $x_apideck
}
/**
- * Operation journalEntriesUpdateAsync
+ * Operation invoicesUpdateAsync
*
- * Update Journal Entry
+ * Update Invoice
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -16821,9 +16731,9 @@ public function journalEntriesUpdateWithHttpInfo($id, $journal_entry, $x_apideck
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesUpdateAsync($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesUpdateAsync($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->journalEntriesUpdateAsyncWithHttpInfo($id, $journal_entry, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->invoicesUpdateAsyncWithHttpInfo($id, $invoice, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -16832,12 +16742,12 @@ function ($response) {
}
/**
- * Operation journalEntriesUpdateAsyncWithHttpInfo
+ * Operation invoicesUpdateAsyncWithHttpInfo
*
- * Update Journal Entry
+ * Update Invoice
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -16846,10 +16756,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function journalEntriesUpdateAsyncWithHttpInfo($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesUpdateAsyncWithHttpInfo($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\UpdateJournalEntryResponse';
- $request = $this->journalEntriesUpdateRequest($id, $journal_entry, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\UpdateInvoiceResponse';
+ $request = $this->invoicesUpdateRequest($id, $invoice, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -16885,10 +16795,10 @@ function ($exception) {
}
/**
- * Create request for operation 'journalEntriesUpdate'
+ * Create request for operation 'invoicesUpdate'
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
+ * @param \Apideck\Client\Model\Invoice $invoice (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -16897,22 +16807,22 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function journalEntriesUpdateRequest($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function invoicesUpdateRequest($id, $invoice, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling journalEntriesUpdate'
+ 'Missing the required parameter $id when calling invoicesUpdate'
);
}
- // verify the required parameter 'journal_entry' is set
- if ($journal_entry === null || (is_array($journal_entry) && count($journal_entry) === 0)) {
+ // verify the required parameter 'invoice' is set
+ if ($invoice === null || (is_array($invoice) && count($invoice) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $journal_entry when calling journalEntriesUpdate'
+ 'Missing the required parameter $invoice when calling invoicesUpdate'
);
}
- $resourcePath = '/accounting/journal-entries/{id}';
+ $resourcePath = '/accounting/invoices/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -16995,11 +16905,11 @@ public function journalEntriesUpdateRequest($id, $journal_entry, $x_apideck_cons
}
// for model (json/xml)
- if (isset($journal_entry)) {
+ if (isset($invoice)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($journal_entry));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($invoice));
} else {
- $httpBody = $journal_entry;
+ $httpBody = $invoice;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -17052,11 +16962,11 @@ public function journalEntriesUpdateRequest($id, $journal_entry, $x_apideck_cons
}
/**
- * Operation ledgerAccountsAdd
+ * Operation journalEntriesAdd
*
- * Create Ledger Account
+ * Create Journal Entry
*
- * @param array $request_body request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry journal_entry (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -17064,20 +16974,20 @@ public function journalEntriesUpdateRequest($id, $journal_entry, $x_apideck_cons
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\CreateLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\CreateJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function ledgerAccountsAdd($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function journalEntriesAdd($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- list($response) = $this->ledgerAccountsAddWithHttpInfo($request_body, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ list($response) = $this->journalEntriesAddWithHttpInfo($journal_entry, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $response;
}
/**
- * Operation ledgerAccountsAddWithHttpInfo
+ * Operation journalEntriesAddWithHttpInfo
*
- * Create Ledger Account
+ * Create Journal Entry
*
- * @param array $request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -17085,11 +16995,11 @@ public function ledgerAccountsAdd($request_body, $raw = false, $x_apideck_consum
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\CreateLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\CreateJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function ledgerAccountsAddWithHttpInfo($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function journalEntriesAddWithHttpInfo($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $request = $this->ledgerAccountsAddRequest($request_body, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $request = $this->journalEntriesAddRequest($journal_entry, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
try {
$options = $this->createHttpClientOption();
@@ -17128,14 +17038,14 @@ public function ledgerAccountsAddWithHttpInfo($request_body, $raw = false, $x_ap
switch($statusCode) {
case 201:
- if ('\Apideck\Client\Model\CreateLedgerAccountResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\CreateJournalEntryResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateLedgerAccountResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateJournalEntryResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -17213,7 +17123,7 @@ public function ledgerAccountsAddWithHttpInfo($request_body, $raw = false, $x_ap
];
}
- $returnType = '\Apideck\Client\Model\CreateLedgerAccountResponse';
+ $returnType = '\Apideck\Client\Model\CreateJournalEntryResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -17231,7 +17141,7 @@ public function ledgerAccountsAddWithHttpInfo($request_body, $raw = false, $x_ap
case 201:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\CreateLedgerAccountResponse',
+ '\Apideck\Client\Model\CreateJournalEntryResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -17290,11 +17200,11 @@ public function ledgerAccountsAddWithHttpInfo($request_body, $raw = false, $x_ap
}
/**
- * Operation ledgerAccountsAddAsync
+ * Operation journalEntriesAddAsync
*
- * Create Ledger Account
+ * Create Journal Entry
*
- * @param array $request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -17303,9 +17213,9 @@ public function ledgerAccountsAddWithHttpInfo($request_body, $raw = false, $x_ap
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsAddAsync($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function journalEntriesAddAsync($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- return $this->ledgerAccountsAddAsyncWithHttpInfo($request_body, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
+ return $this->journalEntriesAddAsyncWithHttpInfo($journal_entry, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
->then(
function ($response) {
return $response[0];
@@ -17314,11 +17224,11 @@ function ($response) {
}
/**
- * Operation ledgerAccountsAddAsyncWithHttpInfo
+ * Operation journalEntriesAddAsyncWithHttpInfo
*
- * Create Ledger Account
+ * Create Journal Entry
*
- * @param array $request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -17327,10 +17237,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsAddAsyncWithHttpInfo($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function journalEntriesAddAsyncWithHttpInfo($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $returnType = '\Apideck\Client\Model\CreateLedgerAccountResponse';
- $request = $this->ledgerAccountsAddRequest($request_body, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $returnType = '\Apideck\Client\Model\CreateJournalEntryResponse';
+ $request = $this->journalEntriesAddRequest($journal_entry, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -17366,9 +17276,9 @@ function ($exception) {
}
/**
- * Create request for operation 'ledgerAccountsAdd'
+ * Create request for operation 'journalEntriesAdd'
*
- * @param array $request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -17377,16 +17287,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function ledgerAccountsAddRequest($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function journalEntriesAddRequest($journal_entry, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- // verify the required parameter 'request_body' is set
- if ($request_body === null || (is_array($request_body) && count($request_body) === 0)) {
+ // verify the required parameter 'journal_entry' is set
+ if ($journal_entry === null || (is_array($journal_entry) && count($journal_entry) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $request_body when calling ledgerAccountsAdd'
+ 'Missing the required parameter $journal_entry when calling journalEntriesAdd'
);
}
- $resourcePath = '/accounting/ledger-accounts';
+ $resourcePath = '/accounting/journal-entries';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -17461,11 +17371,11 @@ public function ledgerAccountsAddRequest($request_body, $raw = false, $x_apideck
}
// for model (json/xml)
- if (isset($request_body)) {
+ if (isset($journal_entry)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($request_body));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($journal_entry));
} else {
- $httpBody = $request_body;
+ $httpBody = $journal_entry;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -17518,9 +17428,9 @@ public function ledgerAccountsAddRequest($request_body, $raw = false, $x_apideck
}
/**
- * Operation ledgerAccountsAll
+ * Operation journalEntriesAll
*
- * List Ledger Accounts
+ * List Journal Entries
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -17528,25 +17438,25 @@ public function ledgerAccountsAddRequest($request_body, $raw = false, $x_apideck
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetLedgerAccountsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetJournalEntriesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function ledgerAccountsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function journalEntriesAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- list($response) = $this->ledgerAccountsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ list($response) = $this->journalEntriesAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
return $response;
}
/**
- * Operation ledgerAccountsAllWithHttpInfo
+ * Operation journalEntriesAllWithHttpInfo
*
- * List Ledger Accounts
+ * List Journal Entries
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -17554,18 +17464,18 @@ public function ledgerAccountsAll($raw = false, $x_apideck_consumer_id = null, $
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetLedgerAccountsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetJournalEntriesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function ledgerAccountsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function journalEntriesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- $request = $this->ledgerAccountsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ $request = $this->journalEntriesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
try {
$options = $this->createHttpClientOption();
@@ -17604,14 +17514,14 @@ public function ledgerAccountsAllWithHttpInfo($raw = false, $x_apideck_consumer_
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetLedgerAccountsResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetJournalEntriesResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetLedgerAccountsResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetJournalEntriesResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -17689,7 +17599,7 @@ public function ledgerAccountsAllWithHttpInfo($raw = false, $x_apideck_consumer_
];
}
- $returnType = '\Apideck\Client\Model\GetLedgerAccountsResponse';
+ $returnType = '\Apideck\Client\Model\GetJournalEntriesResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -17707,7 +17617,7 @@ public function ledgerAccountsAllWithHttpInfo($raw = false, $x_apideck_consumer_
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetLedgerAccountsResponse',
+ '\Apideck\Client\Model\GetJournalEntriesResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -17766,9 +17676,9 @@ public function ledgerAccountsAllWithHttpInfo($raw = false, $x_apideck_consumer_
}
/**
- * Operation ledgerAccountsAllAsync
+ * Operation journalEntriesAllAsync
*
- * List Ledger Accounts
+ * List Journal Entries
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -17776,17 +17686,17 @@ public function ledgerAccountsAllWithHttpInfo($raw = false, $x_apideck_consumer_
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function journalEntriesAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- return $this->ledgerAccountsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields)
+ return $this->journalEntriesAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields)
->then(
function ($response) {
return $response[0];
@@ -17795,9 +17705,9 @@ function ($response) {
}
/**
- * Operation ledgerAccountsAllAsyncWithHttpInfo
+ * Operation journalEntriesAllAsyncWithHttpInfo
*
- * List Ledger Accounts
+ * List Journal Entries
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -17805,18 +17715,18 @@ function ($response) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function journalEntriesAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetLedgerAccountsResponse';
- $request = $this->ledgerAccountsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ $returnType = '\Apideck\Client\Model\GetJournalEntriesResponse';
+ $request = $this->journalEntriesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -17852,7 +17762,7 @@ function ($exception) {
}
/**
- * Create request for operation 'ledgerAccountsAll'
+ * Create request for operation 'journalEntriesAll'
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -17860,25 +17770,25 @@ function ($exception) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\JournalEntriesFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\JournalEntriesSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function ledgerAccountsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function journalEntriesAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
if ($limit !== null && $limit > 200) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.ledgerAccountsAll, must be smaller than or equal to 200.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.journalEntriesAll, must be smaller than or equal to 200.');
}
if ($limit !== null && $limit < 1) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.ledgerAccountsAll, must be bigger than or equal to 1.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.journalEntriesAll, must be bigger than or equal to 1.');
}
- $resourcePath = '/accounting/ledger-accounts';
+ $resourcePath = '/accounting/journal-entries';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -18244,9 +18154,9 @@ public function ledgerAccountsAllRequest($raw = false, $x_apideck_consumer_id =
}
/**
- * Operation ledgerAccountsDelete
+ * Operation journalEntriesDelete
*
- * Delete Ledger Account
+ * Delete Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -18256,18 +18166,18 @@ public function ledgerAccountsAllRequest($raw = false, $x_apideck_consumer_id =
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\DeleteLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\DeleteJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function ledgerAccountsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->ledgerAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->journalEntriesDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation ledgerAccountsDeleteWithHttpInfo
+ * Operation journalEntriesDeleteWithHttpInfo
*
- * Delete Ledger Account
+ * Delete Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -18277,11 +18187,11 @@ public function ledgerAccountsDelete($id, $x_apideck_consumer_id = null, $x_apid
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\DeleteLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\DeleteJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function ledgerAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->ledgerAccountsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->journalEntriesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -18320,14 +18230,14 @@ public function ledgerAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\DeleteLedgerAccountResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\DeleteJournalEntryResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteLedgerAccountResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteJournalEntryResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -18405,7 +18315,7 @@ public function ledgerAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
];
}
- $returnType = '\Apideck\Client\Model\DeleteLedgerAccountResponse';
+ $returnType = '\Apideck\Client\Model\DeleteJournalEntryResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -18423,7 +18333,7 @@ public function ledgerAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\DeleteLedgerAccountResponse',
+ '\Apideck\Client\Model\DeleteJournalEntryResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -18482,9 +18392,9 @@ public function ledgerAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
}
/**
- * Operation ledgerAccountsDeleteAsync
+ * Operation journalEntriesDeleteAsync
*
- * Delete Ledger Account
+ * Delete Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -18495,9 +18405,9 @@ public function ledgerAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->ledgerAccountsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->journalEntriesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -18506,9 +18416,9 @@ function ($response) {
}
/**
- * Operation ledgerAccountsDeleteAsyncWithHttpInfo
+ * Operation journalEntriesDeleteAsyncWithHttpInfo
*
- * Delete Ledger Account
+ * Delete Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -18519,10 +18429,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\DeleteLedgerAccountResponse';
- $request = $this->ledgerAccountsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\DeleteJournalEntryResponse';
+ $request = $this->journalEntriesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -18558,7 +18468,7 @@ function ($exception) {
}
/**
- * Create request for operation 'ledgerAccountsDelete'
+ * Create request for operation 'journalEntriesDelete'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -18569,16 +18479,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function ledgerAccountsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling ledgerAccountsDelete'
+ 'Missing the required parameter $id when calling journalEntriesDelete'
);
}
- $resourcePath = '/accounting/ledger-accounts/{id}';
+ $resourcePath = '/accounting/journal-entries/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -18712,9 +18622,9 @@ public function ledgerAccountsDeleteRequest($id, $x_apideck_consumer_id = null,
}
/**
- * Operation ledgerAccountsOne
+ * Operation journalEntriesOne
*
- * Get Ledger Account
+ * Get Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -18725,18 +18635,18 @@ public function ledgerAccountsDeleteRequest($id, $x_apideck_consumer_id = null,
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function ledgerAccountsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function journalEntriesOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- list($response) = $this->ledgerAccountsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ list($response) = $this->journalEntriesOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $response;
}
/**
- * Operation ledgerAccountsOneWithHttpInfo
+ * Operation journalEntriesOneWithHttpInfo
*
- * Get Ledger Account
+ * Get Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -18747,11 +18657,11 @@ public function ledgerAccountsOne($id, $x_apideck_consumer_id = null, $x_apideck
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function ledgerAccountsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function journalEntriesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $request = $this->ledgerAccountsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $request = $this->journalEntriesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
try {
$options = $this->createHttpClientOption();
@@ -18790,14 +18700,14 @@ public function ledgerAccountsOneWithHttpInfo($id, $x_apideck_consumer_id = null
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetLedgerAccountResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetJournalEntryResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetLedgerAccountResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetJournalEntryResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -18875,7 +18785,7 @@ public function ledgerAccountsOneWithHttpInfo($id, $x_apideck_consumer_id = null
];
}
- $returnType = '\Apideck\Client\Model\GetLedgerAccountResponse';
+ $returnType = '\Apideck\Client\Model\GetJournalEntryResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -18893,7 +18803,7 @@ public function ledgerAccountsOneWithHttpInfo($id, $x_apideck_consumer_id = null
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetLedgerAccountResponse',
+ '\Apideck\Client\Model\GetJournalEntryResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -18952,9 +18862,9 @@ public function ledgerAccountsOneWithHttpInfo($id, $x_apideck_consumer_id = null
}
/**
- * Operation ledgerAccountsOneAsync
+ * Operation journalEntriesOneAsync
*
- * Get Ledger Account
+ * Get Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -18966,9 +18876,9 @@ public function ledgerAccountsOneWithHttpInfo($id, $x_apideck_consumer_id = null
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function journalEntriesOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- return $this->ledgerAccountsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
+ return $this->journalEntriesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
->then(
function ($response) {
return $response[0];
@@ -18977,9 +18887,9 @@ function ($response) {
}
/**
- * Operation ledgerAccountsOneAsyncWithHttpInfo
+ * Operation journalEntriesOneAsyncWithHttpInfo
*
- * Get Ledger Account
+ * Get Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -18991,10 +18901,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function journalEntriesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetLedgerAccountResponse';
- $request = $this->ledgerAccountsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $returnType = '\Apideck\Client\Model\GetJournalEntryResponse';
+ $request = $this->journalEntriesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -19030,7 +18940,7 @@ function ($exception) {
}
/**
- * Create request for operation 'ledgerAccountsOne'
+ * Create request for operation 'journalEntriesOne'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -19042,16 +18952,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function ledgerAccountsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function journalEntriesOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling ledgerAccountsOne'
+ 'Missing the required parameter $id when calling journalEntriesOne'
);
}
- $resourcePath = '/accounting/ledger-accounts/{id}';
+ $resourcePath = '/accounting/journal-entries/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -19225,12 +19135,12 @@ public function ledgerAccountsOneRequest($id, $x_apideck_consumer_id = null, $x_
}
/**
- * Operation ledgerAccountsUpdate
+ * Operation journalEntriesUpdate
*
- * Update Ledger Account
+ * Update Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
- * @param array $request_body request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry journal_entry (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -19238,21 +19148,21 @@ public function ledgerAccountsOneRequest($id, $x_apideck_consumer_id = null, $x_
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\UpdateLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\UpdateJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function ledgerAccountsUpdate($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesUpdate($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->ledgerAccountsUpdateWithHttpInfo($id, $request_body, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->journalEntriesUpdateWithHttpInfo($id, $journal_entry, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation ledgerAccountsUpdateWithHttpInfo
+ * Operation journalEntriesUpdateWithHttpInfo
*
- * Update Ledger Account
+ * Update Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
- * @param array $request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -19260,11 +19170,11 @@ public function ledgerAccountsUpdate($id, $request_body, $x_apideck_consumer_id
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\UpdateLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\UpdateJournalEntryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function ledgerAccountsUpdateWithHttpInfo($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesUpdateWithHttpInfo($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->ledgerAccountsUpdateRequest($id, $request_body, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->journalEntriesUpdateRequest($id, $journal_entry, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -19303,14 +19213,14 @@ public function ledgerAccountsUpdateWithHttpInfo($id, $request_body, $x_apideck_
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\UpdateLedgerAccountResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\UpdateJournalEntryResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateLedgerAccountResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateJournalEntryResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -19388,7 +19298,7 @@ public function ledgerAccountsUpdateWithHttpInfo($id, $request_body, $x_apideck_
];
}
- $returnType = '\Apideck\Client\Model\UpdateLedgerAccountResponse';
+ $returnType = '\Apideck\Client\Model\UpdateJournalEntryResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -19406,7 +19316,7 @@ public function ledgerAccountsUpdateWithHttpInfo($id, $request_body, $x_apideck_
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\UpdateLedgerAccountResponse',
+ '\Apideck\Client\Model\UpdateJournalEntryResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -19465,12 +19375,12 @@ public function ledgerAccountsUpdateWithHttpInfo($id, $request_body, $x_apideck_
}
/**
- * Operation ledgerAccountsUpdateAsync
+ * Operation journalEntriesUpdateAsync
*
- * Update Ledger Account
+ * Update Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
- * @param array $request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -19479,9 +19389,9 @@ public function ledgerAccountsUpdateWithHttpInfo($id, $request_body, $x_apideck_
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsUpdateAsync($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesUpdateAsync($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->ledgerAccountsUpdateAsyncWithHttpInfo($id, $request_body, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->journalEntriesUpdateAsyncWithHttpInfo($id, $journal_entry, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -19490,12 +19400,12 @@ function ($response) {
}
/**
- * Operation ledgerAccountsUpdateAsyncWithHttpInfo
+ * Operation journalEntriesUpdateAsyncWithHttpInfo
*
- * Update Ledger Account
+ * Update Journal Entry
*
* @param string $id ID of the record you are acting upon. (required)
- * @param array $request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -19504,10 +19414,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function ledgerAccountsUpdateAsyncWithHttpInfo($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesUpdateAsyncWithHttpInfo($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\UpdateLedgerAccountResponse';
- $request = $this->ledgerAccountsUpdateRequest($id, $request_body, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\UpdateJournalEntryResponse';
+ $request = $this->journalEntriesUpdateRequest($id, $journal_entry, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -19543,10 +19453,10 @@ function ($exception) {
}
/**
- * Create request for operation 'ledgerAccountsUpdate'
+ * Create request for operation 'journalEntriesUpdate'
*
* @param string $id ID of the record you are acting upon. (required)
- * @param array $request_body (required)
+ * @param \Apideck\Client\Model\JournalEntry $journal_entry (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -19555,22 +19465,22 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function ledgerAccountsUpdateRequest($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function journalEntriesUpdateRequest($id, $journal_entry, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling ledgerAccountsUpdate'
+ 'Missing the required parameter $id when calling journalEntriesUpdate'
);
}
- // verify the required parameter 'request_body' is set
- if ($request_body === null || (is_array($request_body) && count($request_body) === 0)) {
+ // verify the required parameter 'journal_entry' is set
+ if ($journal_entry === null || (is_array($journal_entry) && count($journal_entry) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $request_body when calling ledgerAccountsUpdate'
+ 'Missing the required parameter $journal_entry when calling journalEntriesUpdate'
);
}
- $resourcePath = '/accounting/ledger-accounts/{id}';
+ $resourcePath = '/accounting/journal-entries/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -19653,11 +19563,11 @@ public function ledgerAccountsUpdateRequest($id, $request_body, $x_apideck_consu
}
// for model (json/xml)
- if (isset($request_body)) {
+ if (isset($journal_entry)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($request_body));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($journal_entry));
} else {
- $httpBody = $request_body;
+ $httpBody = $journal_entry;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -19710,11 +19620,11 @@ public function ledgerAccountsUpdateRequest($id, $request_body, $x_apideck_consu
}
/**
- * Operation paymentsAdd
+ * Operation ledgerAccountsAdd
*
- * Create Payment
+ * Create Ledger Account
*
- * @param \Apideck\Client\Model\Payment $payment payment (required)
+ * @param array $request_body request_body (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -19722,20 +19632,20 @@ public function ledgerAccountsUpdateRequest($id, $request_body, $x_apideck_consu
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\CreatePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\CreateLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function paymentsAdd($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function ledgerAccountsAdd($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- list($response) = $this->paymentsAddWithHttpInfo($payment, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ list($response) = $this->ledgerAccountsAddWithHttpInfo($request_body, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $response;
}
/**
- * Operation paymentsAddWithHttpInfo
+ * Operation ledgerAccountsAddWithHttpInfo
*
- * Create Payment
+ * Create Ledger Account
*
- * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param array $request_body (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -19743,11 +19653,11 @@ public function paymentsAdd($payment, $raw = false, $x_apideck_consumer_id = nul
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\CreatePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\CreateLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function paymentsAddWithHttpInfo($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function ledgerAccountsAddWithHttpInfo($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $request = $this->paymentsAddRequest($payment, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $request = $this->ledgerAccountsAddRequest($request_body, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
try {
$options = $this->createHttpClientOption();
@@ -19786,14 +19696,14 @@ public function paymentsAddWithHttpInfo($payment, $raw = false, $x_apideck_consu
switch($statusCode) {
case 201:
- if ('\Apideck\Client\Model\CreatePaymentResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\CreateLedgerAccountResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreatePaymentResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateLedgerAccountResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -19871,7 +19781,7 @@ public function paymentsAddWithHttpInfo($payment, $raw = false, $x_apideck_consu
];
}
- $returnType = '\Apideck\Client\Model\CreatePaymentResponse';
+ $returnType = '\Apideck\Client\Model\CreateLedgerAccountResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -19889,7 +19799,7 @@ public function paymentsAddWithHttpInfo($payment, $raw = false, $x_apideck_consu
case 201:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\CreatePaymentResponse',
+ '\Apideck\Client\Model\CreateLedgerAccountResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -19948,11 +19858,11 @@ public function paymentsAddWithHttpInfo($payment, $raw = false, $x_apideck_consu
}
/**
- * Operation paymentsAddAsync
+ * Operation ledgerAccountsAddAsync
*
- * Create Payment
+ * Create Ledger Account
*
- * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param array $request_body (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -19961,9 +19871,9 @@ public function paymentsAddWithHttpInfo($payment, $raw = false, $x_apideck_consu
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsAddAsync($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function ledgerAccountsAddAsync($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- return $this->paymentsAddAsyncWithHttpInfo($payment, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
+ return $this->ledgerAccountsAddAsyncWithHttpInfo($request_body, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
->then(
function ($response) {
return $response[0];
@@ -19972,11 +19882,11 @@ function ($response) {
}
/**
- * Operation paymentsAddAsyncWithHttpInfo
+ * Operation ledgerAccountsAddAsyncWithHttpInfo
*
- * Create Payment
+ * Create Ledger Account
*
- * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param array $request_body (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -19985,10 +19895,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsAddAsyncWithHttpInfo($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function ledgerAccountsAddAsyncWithHttpInfo($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $returnType = '\Apideck\Client\Model\CreatePaymentResponse';
- $request = $this->paymentsAddRequest($payment, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $returnType = '\Apideck\Client\Model\CreateLedgerAccountResponse';
+ $request = $this->ledgerAccountsAddRequest($request_body, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -20024,9 +19934,9 @@ function ($exception) {
}
/**
- * Create request for operation 'paymentsAdd'
+ * Create request for operation 'ledgerAccountsAdd'
*
- * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param array $request_body (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -20035,16 +19945,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function paymentsAddRequest($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function ledgerAccountsAddRequest($request_body, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- // verify the required parameter 'payment' is set
- if ($payment === null || (is_array($payment) && count($payment) === 0)) {
+ // verify the required parameter 'request_body' is set
+ if ($request_body === null || (is_array($request_body) && count($request_body) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $payment when calling paymentsAdd'
+ 'Missing the required parameter $request_body when calling ledgerAccountsAdd'
);
}
- $resourcePath = '/accounting/payments';
+ $resourcePath = '/accounting/ledger-accounts';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -20119,11 +20029,11 @@ public function paymentsAddRequest($payment, $raw = false, $x_apideck_consumer_i
}
// for model (json/xml)
- if (isset($payment)) {
+ if (isset($request_body)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($payment));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($request_body));
} else {
- $httpBody = $payment;
+ $httpBody = $request_body;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -20176,9 +20086,9 @@ public function paymentsAddRequest($payment, $raw = false, $x_apideck_consumer_i
}
/**
- * Operation paymentsAll
+ * Operation ledgerAccountsAll
*
- * List Payments
+ * List Ledger Accounts
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -20186,25 +20096,25 @@ public function paymentsAddRequest($payment, $raw = false, $x_apideck_consumer_i
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetPaymentsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetLedgerAccountsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function paymentsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function ledgerAccountsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- list($response) = $this->paymentsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ list($response) = $this->ledgerAccountsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
return $response;
}
/**
- * Operation paymentsAllWithHttpInfo
+ * Operation ledgerAccountsAllWithHttpInfo
*
- * List Payments
+ * List Ledger Accounts
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -20212,18 +20122,18 @@ public function paymentsAll($raw = false, $x_apideck_consumer_id = null, $x_apid
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetPaymentsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetLedgerAccountsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function paymentsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function ledgerAccountsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- $request = $this->paymentsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ $request = $this->ledgerAccountsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
try {
$options = $this->createHttpClientOption();
@@ -20262,14 +20172,14 @@ public function paymentsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetPaymentsResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetLedgerAccountsResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetPaymentsResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetLedgerAccountsResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -20347,7 +20257,7 @@ public function paymentsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
];
}
- $returnType = '\Apideck\Client\Model\GetPaymentsResponse';
+ $returnType = '\Apideck\Client\Model\GetLedgerAccountsResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -20365,7 +20275,7 @@ public function paymentsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetPaymentsResponse',
+ '\Apideck\Client\Model\GetLedgerAccountsResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -20424,9 +20334,9 @@ public function paymentsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
}
/**
- * Operation paymentsAllAsync
+ * Operation ledgerAccountsAllAsync
*
- * List Payments
+ * List Ledger Accounts
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -20434,17 +20344,17 @@ public function paymentsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = n
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function ledgerAccountsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- return $this->paymentsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields)
+ return $this->ledgerAccountsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields)
->then(
function ($response) {
return $response[0];
@@ -20453,9 +20363,9 @@ function ($response) {
}
/**
- * Operation paymentsAllAsyncWithHttpInfo
+ * Operation ledgerAccountsAllAsyncWithHttpInfo
*
- * List Payments
+ * List Ledger Accounts
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -20463,18 +20373,18 @@ function ($response) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function ledgerAccountsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetPaymentsResponse';
- $request = $this->paymentsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ $returnType = '\Apideck\Client\Model\GetLedgerAccountsResponse';
+ $request = $this->ledgerAccountsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -20510,7 +20420,7 @@ function ($exception) {
}
/**
- * Create request for operation 'paymentsAll'
+ * Create request for operation 'ledgerAccountsAll'
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -20518,25 +20428,25 @@ function ($exception) {
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\LedgerAccountsSort $sort Apply sorting (optional)
* @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function paymentsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ public function ledgerAccountsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
{
if ($limit !== null && $limit > 200) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.paymentsAll, must be smaller than or equal to 200.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.ledgerAccountsAll, must be smaller than or equal to 200.');
}
if ($limit !== null && $limit < 1) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.paymentsAll, must be bigger than or equal to 1.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.ledgerAccountsAll, must be bigger than or equal to 1.');
}
- $resourcePath = '/accounting/payments';
+ $resourcePath = '/accounting/ledger-accounts';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -20902,9 +20812,9 @@ public function paymentsAllRequest($raw = false, $x_apideck_consumer_id = null,
}
/**
- * Operation paymentsDelete
+ * Operation ledgerAccountsDelete
*
- * Delete Payment
+ * Delete Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -20914,18 +20824,18 @@ public function paymentsAllRequest($raw = false, $x_apideck_consumer_id = null,
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\DeletePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\DeleteLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function paymentsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->paymentsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->ledgerAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation paymentsDeleteWithHttpInfo
+ * Operation ledgerAccountsDeleteWithHttpInfo
*
- * Delete Payment
+ * Delete Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -20935,11 +20845,11 @@ public function paymentsDelete($id, $x_apideck_consumer_id = null, $x_apideck_ap
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\DeletePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\DeleteLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function paymentsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->paymentsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->ledgerAccountsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -20978,14 +20888,14 @@ public function paymentsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\DeletePaymentResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\DeleteLedgerAccountResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeletePaymentResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteLedgerAccountResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -21063,7 +20973,7 @@ public function paymentsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
];
}
- $returnType = '\Apideck\Client\Model\DeletePaymentResponse';
+ $returnType = '\Apideck\Client\Model\DeleteLedgerAccountResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -21081,7 +20991,7 @@ public function paymentsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\DeletePaymentResponse',
+ '\Apideck\Client\Model\DeleteLedgerAccountResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -21140,9 +21050,9 @@ public function paymentsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
}
/**
- * Operation paymentsDeleteAsync
+ * Operation ledgerAccountsDeleteAsync
*
- * Delete Payment
+ * Delete Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -21153,9 +21063,9 @@ public function paymentsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->paymentsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->ledgerAccountsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -21164,9 +21074,9 @@ function ($response) {
}
/**
- * Operation paymentsDeleteAsyncWithHttpInfo
+ * Operation ledgerAccountsDeleteAsyncWithHttpInfo
*
- * Delete Payment
+ * Delete Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -21177,10 +21087,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\DeletePaymentResponse';
- $request = $this->paymentsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\DeleteLedgerAccountResponse';
+ $request = $this->ledgerAccountsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -21216,7 +21126,7 @@ function ($exception) {
}
/**
- * Create request for operation 'paymentsDelete'
+ * Create request for operation 'ledgerAccountsDelete'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -21227,16 +21137,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function paymentsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling paymentsDelete'
+ 'Missing the required parameter $id when calling ledgerAccountsDelete'
);
}
- $resourcePath = '/accounting/payments/{id}';
+ $resourcePath = '/accounting/ledger-accounts/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -21370,9 +21280,9 @@ public function paymentsDeleteRequest($id, $x_apideck_consumer_id = null, $x_api
}
/**
- * Operation paymentsOne
+ * Operation ledgerAccountsOne
*
- * Get Payment
+ * Get Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -21383,18 +21293,18 @@ public function paymentsDeleteRequest($id, $x_apideck_consumer_id = null, $x_api
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetPaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function paymentsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function ledgerAccountsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- list($response) = $this->paymentsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ list($response) = $this->ledgerAccountsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $response;
}
/**
- * Operation paymentsOneWithHttpInfo
+ * Operation ledgerAccountsOneWithHttpInfo
*
- * Get Payment
+ * Get Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -21405,11 +21315,11 @@ public function paymentsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_i
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetPaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function paymentsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function ledgerAccountsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $request = $this->paymentsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $request = $this->ledgerAccountsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
try {
$options = $this->createHttpClientOption();
@@ -21448,14 +21358,14 @@ public function paymentsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetPaymentResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetLedgerAccountResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetPaymentResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetLedgerAccountResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -21533,7 +21443,7 @@ public function paymentsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
];
}
- $returnType = '\Apideck\Client\Model\GetPaymentResponse';
+ $returnType = '\Apideck\Client\Model\GetLedgerAccountResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -21551,7 +21461,7 @@ public function paymentsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetPaymentResponse',
+ '\Apideck\Client\Model\GetLedgerAccountResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -21610,9 +21520,9 @@ public function paymentsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
}
/**
- * Operation paymentsOneAsync
+ * Operation ledgerAccountsOneAsync
*
- * Get Payment
+ * Get Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -21624,9 +21534,9 @@ public function paymentsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_a
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function ledgerAccountsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- return $this->paymentsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
+ return $this->ledgerAccountsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
->then(
function ($response) {
return $response[0];
@@ -21635,9 +21545,9 @@ function ($response) {
}
/**
- * Operation paymentsOneAsyncWithHttpInfo
+ * Operation ledgerAccountsOneAsyncWithHttpInfo
*
- * Get Payment
+ * Get Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -21649,10 +21559,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function ledgerAccountsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetPaymentResponse';
- $request = $this->paymentsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ $returnType = '\Apideck\Client\Model\GetLedgerAccountResponse';
+ $request = $this->ledgerAccountsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -21688,7 +21598,7 @@ function ($exception) {
}
/**
- * Create request for operation 'paymentsOne'
+ * Create request for operation 'ledgerAccountsOne'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -21700,16 +21610,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function paymentsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ public function ledgerAccountsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling paymentsOne'
+ 'Missing the required parameter $id when calling ledgerAccountsOne'
);
}
- $resourcePath = '/accounting/payments/{id}';
+ $resourcePath = '/accounting/ledger-accounts/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -21883,12 +21793,12 @@ public function paymentsOneRequest($id, $x_apideck_consumer_id = null, $x_apidec
}
/**
- * Operation paymentsUpdate
+ * Operation ledgerAccountsUpdate
*
- * Update Payment
+ * Update Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Payment $payment payment (required)
+ * @param array $request_body request_body (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -21896,21 +21806,21 @@ public function paymentsOneRequest($id, $x_apideck_consumer_id = null, $x_apidec
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\UpdatePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\UpdateLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function paymentsUpdate($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsUpdate($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->paymentsUpdateWithHttpInfo($id, $payment, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->ledgerAccountsUpdateWithHttpInfo($id, $request_body, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation paymentsUpdateWithHttpInfo
+ * Operation ledgerAccountsUpdateWithHttpInfo
*
- * Update Payment
+ * Update Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param array $request_body (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -21918,11 +21828,11 @@ public function paymentsUpdate($id, $payment, $x_apideck_consumer_id = null, $x_
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\UpdatePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\UpdateLedgerAccountResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function paymentsUpdateWithHttpInfo($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsUpdateWithHttpInfo($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->paymentsUpdateRequest($id, $payment, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->ledgerAccountsUpdateRequest($id, $request_body, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -21961,14 +21871,14 @@ public function paymentsUpdateWithHttpInfo($id, $payment, $x_apideck_consumer_id
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\UpdatePaymentResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\UpdateLedgerAccountResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdatePaymentResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateLedgerAccountResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -22046,7 +21956,7 @@ public function paymentsUpdateWithHttpInfo($id, $payment, $x_apideck_consumer_id
];
}
- $returnType = '\Apideck\Client\Model\UpdatePaymentResponse';
+ $returnType = '\Apideck\Client\Model\UpdateLedgerAccountResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -22064,7 +21974,7 @@ public function paymentsUpdateWithHttpInfo($id, $payment, $x_apideck_consumer_id
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\UpdatePaymentResponse',
+ '\Apideck\Client\Model\UpdateLedgerAccountResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -22123,12 +22033,12 @@ public function paymentsUpdateWithHttpInfo($id, $payment, $x_apideck_consumer_id
}
/**
- * Operation paymentsUpdateAsync
+ * Operation ledgerAccountsUpdateAsync
*
- * Update Payment
+ * Update Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param array $request_body (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -22137,9 +22047,9 @@ public function paymentsUpdateWithHttpInfo($id, $payment, $x_apideck_consumer_id
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsUpdateAsync($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsUpdateAsync($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->paymentsUpdateAsyncWithHttpInfo($id, $payment, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->ledgerAccountsUpdateAsyncWithHttpInfo($id, $request_body, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -22148,12 +22058,12 @@ function ($response) {
}
/**
- * Operation paymentsUpdateAsyncWithHttpInfo
+ * Operation ledgerAccountsUpdateAsyncWithHttpInfo
*
- * Update Payment
+ * Update Ledger Account
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param array $request_body (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -22162,10 +22072,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function paymentsUpdateAsyncWithHttpInfo($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsUpdateAsyncWithHttpInfo($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\UpdatePaymentResponse';
- $request = $this->paymentsUpdateRequest($id, $payment, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\UpdateLedgerAccountResponse';
+ $request = $this->ledgerAccountsUpdateRequest($id, $request_body, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -22201,10 +22111,10 @@ function ($exception) {
}
/**
- * Create request for operation 'paymentsUpdate'
+ * Create request for operation 'ledgerAccountsUpdate'
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param array $request_body (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -22213,22 +22123,22 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function paymentsUpdateRequest($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function ledgerAccountsUpdateRequest($id, $request_body, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling paymentsUpdate'
+ 'Missing the required parameter $id when calling ledgerAccountsUpdate'
);
}
- // verify the required parameter 'payment' is set
- if ($payment === null || (is_array($payment) && count($payment) === 0)) {
+ // verify the required parameter 'request_body' is set
+ if ($request_body === null || (is_array($request_body) && count($request_body) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $payment when calling paymentsUpdate'
+ 'Missing the required parameter $request_body when calling ledgerAccountsUpdate'
);
}
- $resourcePath = '/accounting/payments/{id}';
+ $resourcePath = '/accounting/ledger-accounts/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -22311,11 +22221,11 @@ public function paymentsUpdateRequest($id, $payment, $x_apideck_consumer_id = nu
}
// for model (json/xml)
- if (isset($payment)) {
+ if (isset($request_body)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($payment));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($request_body));
} else {
- $httpBody = $payment;
+ $httpBody = $request_body;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -22368,48 +22278,44 @@ public function paymentsUpdateRequest($id, $payment, $x_apideck_consumer_id = nu
}
/**
- * Operation profitAndLossOne
+ * Operation locationsAdd
*
- * Get Profit and Loss
+ * Create Location
*
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location accounting_location (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
- * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
- * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetProfitAndLossResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\CreateAccountingLocationResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function profitAndLossOne($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ public function locationsAdd($accounting_location, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- list($response) = $this->profitAndLossOneWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $filter, $pass_through, $fields);
+ list($response) = $this->locationsAddWithHttpInfo($accounting_location, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $response;
}
/**
- * Operation profitAndLossOneWithHttpInfo
+ * Operation locationsAddWithHttpInfo
*
- * Get Profit and Loss
+ * Create Location
*
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
- * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
- * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetProfitAndLossResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\CreateAccountingLocationResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function profitAndLossOneWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ public function locationsAddWithHttpInfo($accounting_location, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $request = $this->profitAndLossOneRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $filter, $pass_through, $fields);
+ $request = $this->locationsAddRequest($accounting_location, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
try {
$options = $this->createHttpClientOption();
@@ -22447,15 +22353,15 @@ public function profitAndLossOneWithHttpInfo($raw = false, $x_apideck_consumer_i
}
switch($statusCode) {
- case 200:
- if ('\Apideck\Client\Model\GetProfitAndLossResponse' === '\SplFileObject') {
+ case 201:
+ if ('\Apideck\Client\Model\CreateAccountingLocationResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetProfitAndLossResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateAccountingLocationResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -22533,7 +22439,7 @@ public function profitAndLossOneWithHttpInfo($raw = false, $x_apideck_consumer_i
];
}
- $returnType = '\Apideck\Client\Model\GetProfitAndLossResponse';
+ $returnType = '\Apideck\Client\Model\CreateAccountingLocationResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -22548,10 +22454,10 @@ public function profitAndLossOneWithHttpInfo($raw = false, $x_apideck_consumer_i
} catch (ApiException $e) {
switch ($e->getCode()) {
- case 200:
+ case 201:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetProfitAndLossResponse',
+ '\Apideck\Client\Model\CreateAccountingLocationResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -22610,24 +22516,22 @@ public function profitAndLossOneWithHttpInfo($raw = false, $x_apideck_consumer_i
}
/**
- * Operation profitAndLossOneAsync
+ * Operation locationsAddAsync
*
- * Get Profit and Loss
+ * Create Location
*
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
- * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
- * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function profitAndLossOneAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ public function locationsAddAsync($accounting_location, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- return $this->profitAndLossOneAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $filter, $pass_through, $fields)
+ return $this->locationsAddAsyncWithHttpInfo($accounting_location, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
->then(
function ($response) {
return $response[0];
@@ -22636,25 +22540,23 @@ function ($response) {
}
/**
- * Operation profitAndLossOneAsyncWithHttpInfo
+ * Operation locationsAddAsyncWithHttpInfo
*
- * Get Profit and Loss
+ * Create Location
*
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
- * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
- * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function profitAndLossOneAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ public function locationsAddAsyncWithHttpInfo($accounting_location, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $returnType = '\Apideck\Client\Model\GetProfitAndLossResponse';
- $request = $this->profitAndLossOneRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $filter, $pass_through, $fields);
+ $returnType = '\Apideck\Client\Model\CreateAccountingLocationResponse';
+ $request = $this->locationsAddRequest($accounting_location, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -22690,23 +22592,27 @@ function ($exception) {
}
/**
- * Create request for operation 'profitAndLossOne'
+ * Create request for operation 'locationsAdd'
*
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
- * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
- * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function profitAndLossOneRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ public function locationsAddRequest($accounting_location, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
+ // verify the required parameter 'accounting_location' is set
+ if ($accounting_location === null || (is_array($accounting_location) && count($accounting_location) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $accounting_location when calling locationsAdd'
+ );
+ }
- $resourcePath = '/accounting/profit-and-loss';
+ $resourcePath = '/accounting/locations';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -22753,126 +22659,6 @@ public function profitAndLossOneRequest($raw = false, $x_apideck_consumer_id = n
$queryParams['raw'] = $raw;
}
}
- // query params
-
- if ('raw' === 'filter') {
- // Support for raw as true/false parameter
- if('form' === 'deepObject' && is_array($filter)) {
- foreach($filter as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['filter'] = $filter ? 'true' : 'false';
- }
- }
-
-
- if ($filter !== null && 'sort' === 'filter') {
- // Support for sort options
- $sort_data = $sort->jsonSerialize();
- foreach($sort_data as $key => $value) {
- $queryParams['sort['.$key.']'] = $value;
- }
- }
-
- if ($filter !== null && 'filter' === 'filter') {
- // Support for filter options
- $filter_data = $filter->jsonSerialize();
- foreach($filter_data as $key => $value) {
- $queryParams['filter['.$key.']'] = $value;
- }
- }
- if ($filter !== null && !('filter' === 'raw' || 'filter' === 'sort' || 'filter' === 'filter')) {
- if('form' === 'deepObject' && is_array($filter)) {
- foreach($filter as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['filter'] = $filter;
- }
- }
- // query params
-
- if ('raw' === 'pass_through') {
- // Support for raw as true/false parameter
- if('form' === 'deepObject' && is_array($pass_through)) {
- foreach($pass_through as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['pass_through'] = $pass_through ? 'true' : 'false';
- }
- }
-
-
- if ($pass_through !== null && 'sort' === 'pass_through') {
- // Support for sort options
- $sort_data = $sort->jsonSerialize();
- foreach($sort_data as $key => $value) {
- $queryParams['sort['.$key.']'] = $value;
- }
- }
-
- if ($pass_through !== null && 'filter' === 'pass_through') {
- // Support for filter options
- $filter_data = $filter->jsonSerialize();
- foreach($filter_data as $key => $value) {
- $queryParams['filter['.$key.']'] = $value;
- }
- }
- if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter')) {
- if('form' === 'deepObject' && is_array($pass_through)) {
- foreach($pass_through as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['pass_through'] = $pass_through;
- }
- }
- // query params
-
- if ('raw' === 'fields') {
- // Support for raw as true/false parameter
- if('form' === 'form' && is_array($fields)) {
- foreach($fields as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['fields'] = $fields ? 'true' : 'false';
- }
- }
-
-
- if ($fields !== null && 'sort' === 'fields') {
- // Support for sort options
- $sort_data = $sort->jsonSerialize();
- foreach($sort_data as $key => $value) {
- $queryParams['sort['.$key.']'] = $value;
- }
- }
-
- if ($fields !== null && 'filter' === 'fields') {
- // Support for filter options
- $filter_data = $filter->jsonSerialize();
- foreach($filter_data as $key => $value) {
- $queryParams['filter['.$key.']'] = $value;
- }
- }
- if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
- if('form' === 'form' && is_array($fields)) {
- foreach($fields as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['fields'] = $fields;
- }
- }
// header params
if ($x_apideck_consumer_id !== null) {
@@ -22896,15 +22682,7933 @@ public function profitAndLossOneRequest($raw = false, $x_apideck_consumer_id = n
} else {
$headers = $this->headerSelector->selectHeaders(
['application/json'],
- []
+ ['application/json']
);
}
// for model (json/xml)
- if (count($formParams) > 0) {
- if ($multipart) {
- $multipartContents = [];
- foreach ($formParams as $formParamName => $formParamValue) {
+ if (isset($accounting_location)) {
+ if ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($accounting_location));
+ } else {
+ $httpBody = $accounting_location;
+ }
+ } elseif (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'POST',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation locationsAll
+ *
+ * List Locations
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingLocationsFilter $filter Apply filters (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\GetAccountingLocationsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function locationsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
+ {
+ list($response) = $this->locationsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields, $filter);
+ return $response;
+ }
+
+ /**
+ * Operation locationsAllWithHttpInfo
+ *
+ * List Locations
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingLocationsFilter $filter Apply filters (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\GetAccountingLocationsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function locationsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
+ {
+ $request = $this->locationsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields, $filter);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\GetAccountingLocationsResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetAccountingLocationsResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\GetAccountingLocationsResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\GetAccountingLocationsResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation locationsAllAsync
+ *
+ * List Locations
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingLocationsFilter $filter Apply filters (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function locationsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
+ {
+ return $this->locationsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields, $filter)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation locationsAllAsyncWithHttpInfo
+ *
+ * List Locations
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingLocationsFilter $filter Apply filters (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function locationsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
+ {
+ $returnType = '\Apideck\Client\Model\GetAccountingLocationsResponse';
+ $request = $this->locationsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields, $filter);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'locationsAll'
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ * @param \Apideck\Client\Model\AccountingLocationsFilter $filter Apply filters (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function locationsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null, $filter = null)
+ {
+ if ($limit !== null && $limit > 200) {
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.locationsAll, must be smaller than or equal to 200.');
+ }
+ if ($limit !== null && $limit < 1) {
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.locationsAll, must be bigger than or equal to 1.');
+ }
+
+
+ $resourcePath = '/accounting/locations';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+ // query params
+
+ if ('raw' === 'cursor') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($cursor)) {
+ foreach($cursor as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['cursor'] = $cursor ? 'true' : 'false';
+ }
+ }
+
+
+ if ($cursor !== null && 'sort' === 'cursor') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($cursor !== null && 'filter' === 'cursor') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter')) {
+ if('form' === 'form' && is_array($cursor)) {
+ foreach($cursor as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['cursor'] = $cursor;
+ }
+ }
+ // query params
+
+ if ('raw' === 'limit') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($limit)) {
+ foreach($limit as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['limit'] = $limit ? 'true' : 'false';
+ }
+ }
+
+
+ if ($limit !== null && 'sort' === 'limit') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($limit !== null && 'filter' === 'limit') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter')) {
+ if('form' === 'form' && is_array($limit)) {
+ foreach($limit as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['limit'] = $limit;
+ }
+ }
+ // query params
+
+ if ('raw' === 'fields') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields ? 'true' : 'false';
+ }
+ }
+
+
+ if ($fields !== null && 'sort' === 'fields') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($fields !== null && 'filter' === 'fields') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields;
+ }
+ }
+ // query params
+
+ if ('raw' === 'filter') {
+ // Support for raw as true/false parameter
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['filter'] = $filter ? 'true' : 'false';
+ }
+ }
+
+
+ if ($filter !== null && 'sort' === 'filter') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($filter !== null && 'filter' === 'filter') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($filter !== null && !('filter' === 'raw' || 'filter' === 'sort' || 'filter' === 'filter')) {
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['filter'] = $filter;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'GET',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation locationsDelete
+ *
+ * Delete Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\DeleteAccountingLocationResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function locationsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ list($response) = $this->locationsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ return $response;
+ }
+
+ /**
+ * Operation locationsDeleteWithHttpInfo
+ *
+ * Delete Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\DeleteAccountingLocationResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function locationsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $request = $this->locationsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\DeleteAccountingLocationResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteAccountingLocationResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\DeleteAccountingLocationResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\DeleteAccountingLocationResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation locationsDeleteAsync
+ *
+ * Delete Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function locationsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ return $this->locationsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation locationsDeleteAsyncWithHttpInfo
+ *
+ * Delete Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function locationsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $returnType = '\Apideck\Client\Model\DeleteAccountingLocationResponse';
+ $request = $this->locationsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'locationsDelete'
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function locationsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ // verify the required parameter 'id' is set
+ if ($id === null || (is_array($id) && count($id) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $id when calling locationsDelete'
+ );
+ }
+
+ $resourcePath = '/accounting/locations/{id}';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ '{' . 'id' . '}',
+ ObjectSerializer::toPathValue($id),
+ $resourcePath
+ );
+ }
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'DELETE',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation locationsOne
+ *
+ * Get Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\GetAccountingLocationResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function locationsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ list($response) = $this->locationsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ return $response;
+ }
+
+ /**
+ * Operation locationsOneWithHttpInfo
+ *
+ * Get Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\GetAccountingLocationResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function locationsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ $request = $this->locationsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\GetAccountingLocationResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetAccountingLocationResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\GetAccountingLocationResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\GetAccountingLocationResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation locationsOneAsync
+ *
+ * Get Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function locationsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ return $this->locationsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation locationsOneAsyncWithHttpInfo
+ *
+ * Get Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function locationsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ $returnType = '\Apideck\Client\Model\GetAccountingLocationResponse';
+ $request = $this->locationsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'locationsOne'
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function locationsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ // verify the required parameter 'id' is set
+ if ($id === null || (is_array($id) && count($id) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $id when calling locationsOne'
+ );
+ }
+
+ $resourcePath = '/accounting/locations/{id}';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+ // query params
+
+ if ('raw' === 'fields') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields ? 'true' : 'false';
+ }
+ }
+
+
+ if ($fields !== null && 'sort' === 'fields') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($fields !== null && 'filter' === 'fields') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ '{' . 'id' . '}',
+ ObjectSerializer::toPathValue($id),
+ $resourcePath
+ );
+ }
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'GET',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation locationsUpdate
+ *
+ * Update Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location accounting_location (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\UpdateAccountingLocationResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function locationsUpdate($id, $accounting_location, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ list($response) = $this->locationsUpdateWithHttpInfo($id, $accounting_location, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ return $response;
+ }
+
+ /**
+ * Operation locationsUpdateWithHttpInfo
+ *
+ * Update Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\UpdateAccountingLocationResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function locationsUpdateWithHttpInfo($id, $accounting_location, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $request = $this->locationsUpdateRequest($id, $accounting_location, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\UpdateAccountingLocationResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateAccountingLocationResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\UpdateAccountingLocationResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UpdateAccountingLocationResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation locationsUpdateAsync
+ *
+ * Update Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function locationsUpdateAsync($id, $accounting_location, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ return $this->locationsUpdateAsyncWithHttpInfo($id, $accounting_location, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation locationsUpdateAsyncWithHttpInfo
+ *
+ * Update Location
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function locationsUpdateAsyncWithHttpInfo($id, $accounting_location, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $returnType = '\Apideck\Client\Model\UpdateAccountingLocationResponse';
+ $request = $this->locationsUpdateRequest($id, $accounting_location, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'locationsUpdate'
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\AccountingLocation $accounting_location (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function locationsUpdateRequest($id, $accounting_location, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ // verify the required parameter 'id' is set
+ if ($id === null || (is_array($id) && count($id) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $id when calling locationsUpdate'
+ );
+ }
+ // verify the required parameter 'accounting_location' is set
+ if ($accounting_location === null || (is_array($accounting_location) && count($accounting_location) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $accounting_location when calling locationsUpdate'
+ );
+ }
+
+ $resourcePath = '/accounting/locations/{id}';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ '{' . 'id' . '}',
+ ObjectSerializer::toPathValue($id),
+ $resourcePath
+ );
+ }
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ ['application/json']
+ );
+ }
+
+ // for model (json/xml)
+ if (isset($accounting_location)) {
+ if ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($accounting_location));
+ } else {
+ $httpBody = $accounting_location;
+ }
+ } elseif (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'PATCH',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation paymentsAdd
+ *
+ * Create Payment
+ *
+ * @param \Apideck\Client\Model\Payment $payment payment (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\CreatePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function paymentsAdd($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ list($response) = $this->paymentsAddWithHttpInfo($payment, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ return $response;
+ }
+
+ /**
+ * Operation paymentsAddWithHttpInfo
+ *
+ * Create Payment
+ *
+ * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\CreatePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function paymentsAddWithHttpInfo($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ $request = $this->paymentsAddRequest($payment, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 201:
+ if ('\Apideck\Client\Model\CreatePaymentResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreatePaymentResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\CreatePaymentResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 201:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\CreatePaymentResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation paymentsAddAsync
+ *
+ * Create Payment
+ *
+ * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsAddAsync($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ return $this->paymentsAddAsyncWithHttpInfo($payment, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation paymentsAddAsyncWithHttpInfo
+ *
+ * Create Payment
+ *
+ * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsAddAsyncWithHttpInfo($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ $returnType = '\Apideck\Client\Model\CreatePaymentResponse';
+ $request = $this->paymentsAddRequest($payment, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'paymentsAdd'
+ *
+ * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function paymentsAddRequest($payment, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ // verify the required parameter 'payment' is set
+ if ($payment === null || (is_array($payment) && count($payment) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $payment when calling paymentsAdd'
+ );
+ }
+
+ $resourcePath = '/accounting/payments';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ ['application/json']
+ );
+ }
+
+ // for model (json/xml)
+ if (isset($payment)) {
+ if ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($payment));
+ } else {
+ $httpBody = $payment;
+ }
+ } elseif (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'POST',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation paymentsAll
+ *
+ * List Payments
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\GetPaymentsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function paymentsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ {
+ list($response) = $this->paymentsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+ return $response;
+ }
+
+ /**
+ * Operation paymentsAllWithHttpInfo
+ *
+ * List Payments
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\GetPaymentsResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function paymentsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ {
+ $request = $this->paymentsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\GetPaymentsResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetPaymentsResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\GetPaymentsResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\GetPaymentsResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation paymentsAllAsync
+ *
+ * List Payments
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ {
+ return $this->paymentsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation paymentsAllAsyncWithHttpInfo
+ *
+ * List Payments
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ {
+ $returnType = '\Apideck\Client\Model\GetPaymentsResponse';
+ $request = $this->paymentsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $filter, $sort, $pass_through, $fields);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'paymentsAll'
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PaymentsFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PaymentsSort $sort Apply sorting (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function paymentsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $filter = null, $sort = null, $pass_through = null, $fields = null)
+ {
+ if ($limit !== null && $limit > 200) {
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.paymentsAll, must be smaller than or equal to 200.');
+ }
+ if ($limit !== null && $limit < 1) {
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.paymentsAll, must be bigger than or equal to 1.');
+ }
+
+
+ $resourcePath = '/accounting/payments';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+ // query params
+
+ if ('raw' === 'cursor') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($cursor)) {
+ foreach($cursor as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['cursor'] = $cursor ? 'true' : 'false';
+ }
+ }
+
+
+ if ($cursor !== null && 'sort' === 'cursor') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($cursor !== null && 'filter' === 'cursor') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter')) {
+ if('form' === 'form' && is_array($cursor)) {
+ foreach($cursor as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['cursor'] = $cursor;
+ }
+ }
+ // query params
+
+ if ('raw' === 'limit') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($limit)) {
+ foreach($limit as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['limit'] = $limit ? 'true' : 'false';
+ }
+ }
+
+
+ if ($limit !== null && 'sort' === 'limit') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($limit !== null && 'filter' === 'limit') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter')) {
+ if('form' === 'form' && is_array($limit)) {
+ foreach($limit as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['limit'] = $limit;
+ }
+ }
+ // query params
+
+ if ('raw' === 'filter') {
+ // Support for raw as true/false parameter
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['filter'] = $filter ? 'true' : 'false';
+ }
+ }
+
+
+ if ($filter !== null && 'sort' === 'filter') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($filter !== null && 'filter' === 'filter') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($filter !== null && !('filter' === 'raw' || 'filter' === 'sort' || 'filter' === 'filter')) {
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['filter'] = $filter;
+ }
+ }
+ // query params
+
+ if ('raw' === 'sort') {
+ // Support for raw as true/false parameter
+ if('form' === 'deepObject' && is_array($sort)) {
+ foreach($sort as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['sort'] = $sort ? 'true' : 'false';
+ }
+ }
+
+
+ if ($sort !== null && 'sort' === 'sort') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($sort !== null && 'filter' === 'sort') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($sort !== null && !('sort' === 'raw' || 'sort' === 'sort' || 'sort' === 'filter')) {
+ if('form' === 'deepObject' && is_array($sort)) {
+ foreach($sort as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['sort'] = $sort;
+ }
+ }
+ // query params
+
+ if ('raw' === 'pass_through') {
+ // Support for raw as true/false parameter
+ if('form' === 'deepObject' && is_array($pass_through)) {
+ foreach($pass_through as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['pass_through'] = $pass_through ? 'true' : 'false';
+ }
+ }
+
+
+ if ($pass_through !== null && 'sort' === 'pass_through') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($pass_through !== null && 'filter' === 'pass_through') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter')) {
+ if('form' === 'deepObject' && is_array($pass_through)) {
+ foreach($pass_through as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['pass_through'] = $pass_through;
+ }
+ }
+ // query params
+
+ if ('raw' === 'fields') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields ? 'true' : 'false';
+ }
+ }
+
+
+ if ($fields !== null && 'sort' === 'fields') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($fields !== null && 'filter' === 'fields') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'GET',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation paymentsDelete
+ *
+ * Delete Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\DeletePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function paymentsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ list($response) = $this->paymentsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ return $response;
+ }
+
+ /**
+ * Operation paymentsDeleteWithHttpInfo
+ *
+ * Delete Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\DeletePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function paymentsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $request = $this->paymentsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\DeletePaymentResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeletePaymentResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\DeletePaymentResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\DeletePaymentResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation paymentsDeleteAsync
+ *
+ * Delete Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ return $this->paymentsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation paymentsDeleteAsyncWithHttpInfo
+ *
+ * Delete Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $returnType = '\Apideck\Client\Model\DeletePaymentResponse';
+ $request = $this->paymentsDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'paymentsDelete'
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function paymentsDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ // verify the required parameter 'id' is set
+ if ($id === null || (is_array($id) && count($id) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $id when calling paymentsDelete'
+ );
+ }
+
+ $resourcePath = '/accounting/payments/{id}';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ '{' . 'id' . '}',
+ ObjectSerializer::toPathValue($id),
+ $resourcePath
+ );
+ }
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'DELETE',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation paymentsOne
+ *
+ * Get Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\GetPaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function paymentsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ list($response) = $this->paymentsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+ return $response;
+ }
+
+ /**
+ * Operation paymentsOneWithHttpInfo
+ *
+ * Get Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\GetPaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function paymentsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ $request = $this->paymentsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\GetPaymentResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetPaymentResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\GetPaymentResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\GetPaymentResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation paymentsOneAsync
+ *
+ * Get Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ return $this->paymentsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation paymentsOneAsyncWithHttpInfo
+ *
+ * Get Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ $returnType = '\Apideck\Client\Model\GetPaymentResponse';
+ $request = $this->paymentsOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'paymentsOne'
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function paymentsOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
+ {
+ // verify the required parameter 'id' is set
+ if ($id === null || (is_array($id) && count($id) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $id when calling paymentsOne'
+ );
+ }
+
+ $resourcePath = '/accounting/payments/{id}';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+ // query params
+
+ if ('raw' === 'fields') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields ? 'true' : 'false';
+ }
+ }
+
+
+ if ($fields !== null && 'sort' === 'fields') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($fields !== null && 'filter' === 'fields') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ '{' . 'id' . '}',
+ ObjectSerializer::toPathValue($id),
+ $resourcePath
+ );
+ }
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'GET',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation paymentsUpdate
+ *
+ * Update Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\Payment $payment payment (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\UpdatePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function paymentsUpdate($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ list($response) = $this->paymentsUpdateWithHttpInfo($id, $payment, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ return $response;
+ }
+
+ /**
+ * Operation paymentsUpdateWithHttpInfo
+ *
+ * Update Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\UpdatePaymentResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function paymentsUpdateWithHttpInfo($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $request = $this->paymentsUpdateRequest($id, $payment, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\UpdatePaymentResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdatePaymentResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\UpdatePaymentResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UpdatePaymentResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation paymentsUpdateAsync
+ *
+ * Update Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsUpdateAsync($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ return $this->paymentsUpdateAsyncWithHttpInfo($id, $payment, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation paymentsUpdateAsyncWithHttpInfo
+ *
+ * Update Payment
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function paymentsUpdateAsyncWithHttpInfo($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $returnType = '\Apideck\Client\Model\UpdatePaymentResponse';
+ $request = $this->paymentsUpdateRequest($id, $payment, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'paymentsUpdate'
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\Payment $payment (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function paymentsUpdateRequest($id, $payment, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ // verify the required parameter 'id' is set
+ if ($id === null || (is_array($id) && count($id) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $id when calling paymentsUpdate'
+ );
+ }
+ // verify the required parameter 'payment' is set
+ if ($payment === null || (is_array($payment) && count($payment) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $payment when calling paymentsUpdate'
+ );
+ }
+
+ $resourcePath = '/accounting/payments/{id}';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ '{' . 'id' . '}',
+ ObjectSerializer::toPathValue($id),
+ $resourcePath
+ );
+ }
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ ['application/json']
+ );
+ }
+
+ // for model (json/xml)
+ if (isset($payment)) {
+ if ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($payment));
+ } else {
+ $httpBody = $payment;
+ }
+ } elseif (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'PATCH',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation profitAndLossOne
+ *
+ * Get Profit and Loss
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\GetProfitAndLossResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function profitAndLossOne($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ {
+ list($response) = $this->profitAndLossOneWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $filter, $pass_through, $fields);
+ return $response;
+ }
+
+ /**
+ * Operation profitAndLossOneWithHttpInfo
+ *
+ * Get Profit and Loss
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\GetProfitAndLossResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function profitAndLossOneWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ {
+ $request = $this->profitAndLossOneRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $filter, $pass_through, $fields);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\GetProfitAndLossResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetProfitAndLossResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\GetProfitAndLossResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\GetProfitAndLossResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation profitAndLossOneAsync
+ *
+ * Get Profit and Loss
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function profitAndLossOneAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ {
+ return $this->profitAndLossOneAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $filter, $pass_through, $fields)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation profitAndLossOneAsyncWithHttpInfo
+ *
+ * Get Profit and Loss
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function profitAndLossOneAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ {
+ $returnType = '\Apideck\Client\Model\GetProfitAndLossResponse';
+ $request = $this->profitAndLossOneRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $filter, $pass_through, $fields);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'profitAndLossOne'
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param \Apideck\Client\Model\ProfitAndLossFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function profitAndLossOneRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $filter = null, $pass_through = null, $fields = null)
+ {
+
+ $resourcePath = '/accounting/profit-and-loss';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+ // query params
+
+ if ('raw' === 'filter') {
+ // Support for raw as true/false parameter
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['filter'] = $filter ? 'true' : 'false';
+ }
+ }
+
+
+ if ($filter !== null && 'sort' === 'filter') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($filter !== null && 'filter' === 'filter') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($filter !== null && !('filter' === 'raw' || 'filter' === 'sort' || 'filter' === 'filter')) {
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['filter'] = $filter;
+ }
+ }
+ // query params
+
+ if ('raw' === 'pass_through') {
+ // Support for raw as true/false parameter
+ if('form' === 'deepObject' && is_array($pass_through)) {
+ foreach($pass_through as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['pass_through'] = $pass_through ? 'true' : 'false';
+ }
+ }
+
+
+ if ($pass_through !== null && 'sort' === 'pass_through') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($pass_through !== null && 'filter' === 'pass_through') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter')) {
+ if('form' === 'deepObject' && is_array($pass_through)) {
+ foreach($pass_through as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['pass_through'] = $pass_through;
+ }
+ }
+ // query params
+
+ if ('raw' === 'fields') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields ? 'true' : 'false';
+ }
+ }
+
+
+ if ($fields !== null && 'sort' === 'fields') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($fields !== null && 'filter' === 'fields') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'GET',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersAdd
+ *
+ * Create Purchase Order
+ *
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order purchase_order (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\CreatePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function purchaseOrdersAdd($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ list($response) = $this->purchaseOrdersAddWithHttpInfo($purchase_order, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ return $response;
+ }
+
+ /**
+ * Operation purchaseOrdersAddWithHttpInfo
+ *
+ * Create Purchase Order
+ *
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\CreatePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function purchaseOrdersAddWithHttpInfo($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ $request = $this->purchaseOrdersAddRequest($purchase_order, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 201:
+ if ('\Apideck\Client\Model\CreatePurchaseOrderResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreatePurchaseOrderResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\CreatePurchaseOrderResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 201:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\CreatePurchaseOrderResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation purchaseOrdersAddAsync
+ *
+ * Create Purchase Order
+ *
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersAddAsync($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ return $this->purchaseOrdersAddAsyncWithHttpInfo($purchase_order, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersAddAsyncWithHttpInfo
+ *
+ * Create Purchase Order
+ *
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersAddAsyncWithHttpInfo($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ $returnType = '\Apideck\Client\Model\CreatePurchaseOrderResponse';
+ $request = $this->purchaseOrdersAddRequest($purchase_order, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'purchaseOrdersAdd'
+ *
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function purchaseOrdersAddRequest($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ {
+ // verify the required parameter 'purchase_order' is set
+ if ($purchase_order === null || (is_array($purchase_order) && count($purchase_order) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $purchase_order when calling purchaseOrdersAdd'
+ );
+ }
+
+ $resourcePath = '/accounting/purchase-orders';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ ['application/json']
+ );
+ }
+
+ // for model (json/xml)
+ if (isset($purchase_order)) {
+ if ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($purchase_order));
+ } else {
+ $httpBody = $purchase_order;
+ }
+ } elseif (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'POST',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersAll
+ *
+ * List Purchase Orders
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\GetPurchaseOrdersResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function purchaseOrdersAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ {
+ list($response) = $this->purchaseOrdersAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $pass_through, $limit, $filter, $sort);
+ return $response;
+ }
+
+ /**
+ * Operation purchaseOrdersAllWithHttpInfo
+ *
+ * List Purchase Orders
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\GetPurchaseOrdersResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function purchaseOrdersAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ {
+ $request = $this->purchaseOrdersAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $pass_through, $limit, $filter, $sort);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\GetPurchaseOrdersResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetPurchaseOrdersResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\GetPurchaseOrdersResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\GetPurchaseOrdersResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation purchaseOrdersAllAsync
+ *
+ * List Purchase Orders
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ {
+ return $this->purchaseOrdersAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $pass_through, $limit, $filter, $sort)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersAllAsyncWithHttpInfo
+ *
+ * List Purchase Orders
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ {
+ $returnType = '\Apideck\Client\Model\GetPurchaseOrdersResponse';
+ $request = $this->purchaseOrdersAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $pass_through, $limit, $filter, $sort);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'purchaseOrdersAll'
+ *
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
+ * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
+ * @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
+ * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
+ * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function purchaseOrdersAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ {
+ if ($limit !== null && $limit > 200) {
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.purchaseOrdersAll, must be smaller than or equal to 200.');
+ }
+ if ($limit !== null && $limit < 1) {
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.purchaseOrdersAll, must be bigger than or equal to 1.');
+ }
+
+
+ $resourcePath = '/accounting/purchase-orders';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+ // query params
+
+ if ('raw' === 'cursor') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($cursor)) {
+ foreach($cursor as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['cursor'] = $cursor ? 'true' : 'false';
+ }
+ }
+
+
+ if ($cursor !== null && 'sort' === 'cursor') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($cursor !== null && 'filter' === 'cursor') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter')) {
+ if('form' === 'form' && is_array($cursor)) {
+ foreach($cursor as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['cursor'] = $cursor;
+ }
+ }
+ // query params
+
+ if ('raw' === 'pass_through') {
+ // Support for raw as true/false parameter
+ if('form' === 'deepObject' && is_array($pass_through)) {
+ foreach($pass_through as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['pass_through'] = $pass_through ? 'true' : 'false';
+ }
+ }
+
+
+ if ($pass_through !== null && 'sort' === 'pass_through') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($pass_through !== null && 'filter' === 'pass_through') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter')) {
+ if('form' === 'deepObject' && is_array($pass_through)) {
+ foreach($pass_through as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['pass_through'] = $pass_through;
+ }
+ }
+ // query params
+
+ if ('raw' === 'limit') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($limit)) {
+ foreach($limit as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['limit'] = $limit ? 'true' : 'false';
+ }
+ }
+
+
+ if ($limit !== null && 'sort' === 'limit') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($limit !== null && 'filter' === 'limit') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter')) {
+ if('form' === 'form' && is_array($limit)) {
+ foreach($limit as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['limit'] = $limit;
+ }
+ }
+ // query params
+
+ if ('raw' === 'filter') {
+ // Support for raw as true/false parameter
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['filter'] = $filter ? 'true' : 'false';
+ }
+ }
+
+
+ if ($filter !== null && 'sort' === 'filter') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($filter !== null && 'filter' === 'filter') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($filter !== null && !('filter' === 'raw' || 'filter' === 'sort' || 'filter' === 'filter')) {
+ if('form' === 'deepObject' && is_array($filter)) {
+ foreach($filter as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['filter'] = $filter;
+ }
+ }
+ // query params
+
+ if ('raw' === 'sort') {
+ // Support for raw as true/false parameter
+ if('form' === 'deepObject' && is_array($sort)) {
+ foreach($sort as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['sort'] = $sort ? 'true' : 'false';
+ }
+ }
+
+
+ if ($sort !== null && 'sort' === 'sort') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($sort !== null && 'filter' === 'sort') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($sort !== null && !('sort' === 'raw' || 'sort' === 'sort' || 'sort' === 'filter')) {
+ if('form' === 'deepObject' && is_array($sort)) {
+ foreach($sort as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['sort'] = $sort;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'GET',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersDelete
+ *
+ * Delete Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\DeletePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function purchaseOrdersDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ list($response) = $this->purchaseOrdersDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ return $response;
+ }
+
+ /**
+ * Operation purchaseOrdersDeleteWithHttpInfo
+ *
+ * Delete Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\DeletePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function purchaseOrdersDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $request = $this->purchaseOrdersDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\DeletePurchaseOrderResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeletePurchaseOrderResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\DeletePurchaseOrderResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\DeletePurchaseOrderResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation purchaseOrdersDeleteAsync
+ *
+ * Delete Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ return $this->purchaseOrdersDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersDeleteAsyncWithHttpInfo
+ *
+ * Delete Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $returnType = '\Apideck\Client\Model\DeletePurchaseOrderResponse';
+ $request = $this->purchaseOrdersDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'purchaseOrdersDelete'
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function purchaseOrdersDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ // verify the required parameter 'id' is set
+ if ($id === null || (is_array($id) && count($id) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $id when calling purchaseOrdersDelete'
+ );
+ }
+
+ $resourcePath = '/accounting/purchase-orders/{id}';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ '{' . 'id' . '}',
+ ObjectSerializer::toPathValue($id),
+ $resourcePath
+ );
+ }
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'DELETE',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersOne
+ *
+ * Get Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\GetPurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function purchaseOrdersOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ list($response) = $this->purchaseOrdersOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ return $response;
+ }
+
+ /**
+ * Operation purchaseOrdersOneWithHttpInfo
+ *
+ * Get Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\GetPurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function purchaseOrdersOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $request = $this->purchaseOrdersOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\GetPurchaseOrderResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetPurchaseOrderResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\GetPurchaseOrderResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\GetPurchaseOrderResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation purchaseOrdersOneAsync
+ *
+ * Get Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ return $this->purchaseOrdersOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersOneAsyncWithHttpInfo
+ *
+ * Get Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $returnType = '\Apideck\Client\Model\GetPurchaseOrderResponse';
+ $request = $this->purchaseOrdersOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'purchaseOrdersOne'
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function purchaseOrdersOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ // verify the required parameter 'id' is set
+ if ($id === null || (is_array($id) && count($id) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $id when calling purchaseOrdersOne'
+ );
+ }
+
+ $resourcePath = '/accounting/purchase-orders/{id}';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ '{' . 'id' . '}',
+ ObjectSerializer::toPathValue($id),
+ $resourcePath
+ );
+ }
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ []
+ );
+ }
+
+ // for model (json/xml)
+ if (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
+ $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
+ foreach ($formParamValueItems as $formParamValueItem) {
+ $multipartContents[] = [
+ 'name' => $formParamName,
+ 'contents' => $formParamValueItem
+ ];
+ }
+ }
+ // for HTTP post (form)
+ $httpBody = new MultipartStream($multipartContents);
+
+ } elseif ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode($formParams);
+
+ } else {
+ // for HTTP post (form)
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
+ }
+ }
+
+ // this endpoint requires API key authentication
+ $apiKey = $this->config->getApiKeyWithPrefix('Authorization');
+ if ($apiKey !== null) {
+ $headers['Authorization'] = $apiKey;
+ }
+
+ $defaultHeaders = $this->config->getDefaultHeaders();
+ if ($this->config->getUserAgent()) {
+ $defaultHeaders['User-Agent'] = $this->config->getUserAgent();
+ }
+
+ $headers = array_merge(
+ $defaultHeaders,
+ $headerParams,
+ $headers
+ );
+
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
+ return new Request(
+ 'GET',
+ $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
+ $headers,
+ $httpBody
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersUpdate
+ *
+ * Update Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order purchase_order (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return \Apideck\Client\Model\UpdatePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ */
+ public function purchaseOrdersUpdate($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ list($response) = $this->purchaseOrdersUpdateWithHttpInfo($id, $purchase_order, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ return $response;
+ }
+
+ /**
+ * Operation purchaseOrdersUpdateWithHttpInfo
+ *
+ * Update Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \Apideck\Client\ApiException on non-2xx response
+ * @throws \InvalidArgumentException
+ * @return array of \Apideck\Client\Model\UpdatePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function purchaseOrdersUpdateWithHttpInfo($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $request = $this->purchaseOrdersUpdateRequest($id, $purchase_order, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ try {
+ $options = $this->createHttpClientOption();
+ try {
+ $response = $this->client->send($request, $options);
+ } catch (RequestException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ $e->getResponse() ? $e->getResponse()->getHeaders() : null,
+ $e->getResponse() ? (string) $e->getResponse()->getBody() : null
+ );
+ } catch (ConnectException $e) {
+ throw new ApiException(
+ "[{$e->getCode()}] {$e->getMessage()}",
+ (int) $e->getCode(),
+ null,
+ null
+ );
+ }
+
+ $statusCode = $response->getStatusCode();
+
+ if ($statusCode < 200 || $statusCode > 299) {
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ (string) $request->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+
+ switch($statusCode) {
+ case 200:
+ if ('\Apideck\Client\Model\UpdatePurchaseOrderResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdatePurchaseOrderResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 400:
+ if ('\Apideck\Client\Model\BadRequestResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\BadRequestResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 401:
+ if ('\Apideck\Client\Model\UnauthorizedResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnauthorizedResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 402:
+ if ('\Apideck\Client\Model\PaymentRequiredResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\PaymentRequiredResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 404:
+ if ('\Apideck\Client\Model\NotFoundResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\NotFoundResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ case 422:
+ if ('\Apideck\Client\Model\UnprocessableResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnprocessableResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ default:
+ if ('\Apideck\Client\Model\UnexpectedErrorResponse' === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UnexpectedErrorResponse', []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ }
+
+ $returnType = '\Apideck\Client\Model\UpdatePurchaseOrderResponse';
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UpdatePurchaseOrderResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\BadRequestResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 401:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnauthorizedResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 402:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\PaymentRequiredResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 404:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\NotFoundResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ case 422:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnprocessableResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ default:
+ $data = ObjectSerializer::deserialize(
+ $e->getResponseBody(),
+ '\Apideck\Client\Model\UnexpectedErrorResponse',
+ $e->getResponseHeaders()
+ );
+ $e->setResponseObject($data);
+ break;
+ }
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation purchaseOrdersUpdateAsync
+ *
+ * Update Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersUpdateAsync($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ return $this->purchaseOrdersUpdateAsyncWithHttpInfo($id, $purchase_order, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ ->then(
+ function ($response) {
+ return $response[0];
+ }
+ );
+ }
+
+ /**
+ * Operation purchaseOrdersUpdateAsyncWithHttpInfo
+ *
+ * Update Purchase Order
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public function purchaseOrdersUpdateAsyncWithHttpInfo($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ $returnType = '\Apideck\Client\Model\UpdatePurchaseOrderResponse';
+ $request = $this->purchaseOrdersUpdateRequest($id, $purchase_order, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+
+ return $this->client
+ ->sendAsync($request, $this->createHttpClientOption())
+ ->then(
+ function ($response) use ($returnType) {
+ if ($returnType === '\SplFileObject') {
+ $content = $response->getBody(); //stream goes to serializer
+ } else {
+ $content = (string) $response->getBody();
+ }
+
+ return [
+ ObjectSerializer::deserialize($content, $returnType, []),
+ $response->getStatusCode(),
+ $response->getHeaders()
+ ];
+ },
+ function ($exception) {
+ $response = $exception->getResponse();
+ $statusCode = $response->getStatusCode();
+ throw new ApiException(
+ sprintf(
+ '[%d] Error connecting to the API (%s)',
+ $statusCode,
+ $exception->getRequest()->getUri()
+ ),
+ $statusCode,
+ $response->getHeaders(),
+ (string) $response->getBody()
+ );
+ }
+ );
+ }
+
+ /**
+ * Create request for operation 'purchaseOrdersUpdate'
+ *
+ * @param string $id ID of the record you are acting upon. (required)
+ * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
+ * @param string $x_apideck_app_id The ID of your Unify application (optional)
+ * @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
+ * @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ *
+ * @throws \InvalidArgumentException
+ * @return \GuzzleHttp\Psr7\Request
+ */
+ public function purchaseOrdersUpdateRequest($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ {
+ // verify the required parameter 'id' is set
+ if ($id === null || (is_array($id) && count($id) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $id when calling purchaseOrdersUpdate'
+ );
+ }
+ // verify the required parameter 'purchase_order' is set
+ if ($purchase_order === null || (is_array($purchase_order) && count($purchase_order) === 0)) {
+ throw new \InvalidArgumentException(
+ 'Missing the required parameter $purchase_order when calling purchaseOrdersUpdate'
+ );
+ }
+
+ $resourcePath = '/accounting/purchase-orders/{id}';
+ $formParams = [];
+ $queryParams = [];
+ $headerParams = [];
+ $httpBody = '';
+ $multipart = false;
+
+ // query params
+
+ if ('raw' === 'raw') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw ? 'true' : 'false';
+ }
+ }
+
+
+ if ($raw !== null && 'sort' === 'raw') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($raw !== null && 'filter' === 'raw') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter')) {
+ if('form' === 'form' && is_array($raw)) {
+ foreach($raw as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['raw'] = $raw;
+ }
+ }
+
+ // header params
+ if ($x_apideck_consumer_id !== null) {
+ $headerParams['x-apideck-consumer-id'] = ObjectSerializer::toHeaderValue($x_apideck_consumer_id);
+ }
+ // header params
+ if ($x_apideck_app_id !== null) {
+ $headerParams['x-apideck-app-id'] = ObjectSerializer::toHeaderValue($x_apideck_app_id);
+ }
+ // header params
+ if ($x_apideck_service_id !== null) {
+ $headerParams['x-apideck-service-id'] = ObjectSerializer::toHeaderValue($x_apideck_service_id);
+ }
+
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ '{' . 'id' . '}',
+ ObjectSerializer::toPathValue($id),
+ $resourcePath
+ );
+ }
+
+
+ if ($multipart) {
+ $headers = $this->headerSelector->selectHeadersForMultipart(
+ ['application/json']
+ );
+ } else {
+ $headers = $this->headerSelector->selectHeaders(
+ ['application/json'],
+ ['application/json']
+ );
+ }
+
+ // for model (json/xml)
+ if (isset($purchase_order)) {
+ if ($headers['Content-Type'] === 'application/json') {
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($purchase_order));
+ } else {
+ $httpBody = $purchase_order;
+ }
+ } elseif (count($formParams) > 0) {
+ if ($multipart) {
+ $multipartContents = [];
+ foreach ($formParams as $formParamName => $formParamValue) {
$formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue];
foreach ($formParamValueItems as $formParamValueItem) {
$multipartContents[] = [
@@ -22944,7 +30648,7 @@ public function profitAndLossOneRequest($raw = false, $x_apideck_consumer_id = n
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
- 'GET',
+ 'PATCH',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
$headers,
$httpBody
@@ -22952,11 +30656,11 @@ public function profitAndLossOneRequest($raw = false, $x_apideck_consumer_id = n
}
/**
- * Operation purchaseOrdersAdd
+ * Operation subsidiariesAdd
*
- * Create Purchase Order
+ * Create Subsidiary
*
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary subsidiary (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -22964,20 +30668,20 @@ public function profitAndLossOneRequest($raw = false, $x_apideck_consumer_id = n
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\CreatePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\CreateSubsidiaryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function purchaseOrdersAdd($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function subsidiariesAdd($subsidiary, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- list($response) = $this->purchaseOrdersAddWithHttpInfo($purchase_order, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ list($response) = $this->subsidiariesAddWithHttpInfo($subsidiary, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $response;
}
/**
- * Operation purchaseOrdersAddWithHttpInfo
+ * Operation subsidiariesAddWithHttpInfo
*
- * Create Purchase Order
+ * Create Subsidiary
*
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -22985,11 +30689,11 @@ public function purchaseOrdersAdd($purchase_order, $raw = false, $x_apideck_cons
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\CreatePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\CreateSubsidiaryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function purchaseOrdersAddWithHttpInfo($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function subsidiariesAddWithHttpInfo($subsidiary, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $request = $this->purchaseOrdersAddRequest($purchase_order, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $request = $this->subsidiariesAddRequest($subsidiary, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
try {
$options = $this->createHttpClientOption();
@@ -23028,14 +30732,14 @@ public function purchaseOrdersAddWithHttpInfo($purchase_order, $raw = false, $x_
switch($statusCode) {
case 201:
- if ('\Apideck\Client\Model\CreatePurchaseOrderResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\CreateSubsidiaryResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreatePurchaseOrderResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateSubsidiaryResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -23113,7 +30817,7 @@ public function purchaseOrdersAddWithHttpInfo($purchase_order, $raw = false, $x_
];
}
- $returnType = '\Apideck\Client\Model\CreatePurchaseOrderResponse';
+ $returnType = '\Apideck\Client\Model\CreateSubsidiaryResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -23131,7 +30835,7 @@ public function purchaseOrdersAddWithHttpInfo($purchase_order, $raw = false, $x_
case 201:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\CreatePurchaseOrderResponse',
+ '\Apideck\Client\Model\CreateSubsidiaryResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -23190,11 +30894,11 @@ public function purchaseOrdersAddWithHttpInfo($purchase_order, $raw = false, $x_
}
/**
- * Operation purchaseOrdersAddAsync
+ * Operation subsidiariesAddAsync
*
- * Create Purchase Order
+ * Create Subsidiary
*
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -23203,9 +30907,9 @@ public function purchaseOrdersAddWithHttpInfo($purchase_order, $raw = false, $x_
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersAddAsync($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function subsidiariesAddAsync($subsidiary, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- return $this->purchaseOrdersAddAsyncWithHttpInfo($purchase_order, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
+ return $this->subsidiariesAddAsyncWithHttpInfo($subsidiary, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id)
->then(
function ($response) {
return $response[0];
@@ -23214,11 +30918,11 @@ function ($response) {
}
/**
- * Operation purchaseOrdersAddAsyncWithHttpInfo
+ * Operation subsidiariesAddAsyncWithHttpInfo
*
- * Create Purchase Order
+ * Create Subsidiary
*
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -23227,10 +30931,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersAddAsyncWithHttpInfo($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function subsidiariesAddAsyncWithHttpInfo($subsidiary, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- $returnType = '\Apideck\Client\Model\CreatePurchaseOrderResponse';
- $request = $this->purchaseOrdersAddRequest($purchase_order, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
+ $returnType = '\Apideck\Client\Model\CreateSubsidiaryResponse';
+ $request = $this->subsidiariesAddRequest($subsidiary, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -23266,9 +30970,9 @@ function ($exception) {
}
/**
- * Create request for operation 'purchaseOrdersAdd'
+ * Create request for operation 'subsidiariesAdd'
*
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary (required)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
@@ -23277,16 +30981,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function purchaseOrdersAddRequest($purchase_order, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
+ public function subsidiariesAddRequest($subsidiary, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null)
{
- // verify the required parameter 'purchase_order' is set
- if ($purchase_order === null || (is_array($purchase_order) && count($purchase_order) === 0)) {
+ // verify the required parameter 'subsidiary' is set
+ if ($subsidiary === null || (is_array($subsidiary) && count($subsidiary) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $purchase_order when calling purchaseOrdersAdd'
+ 'Missing the required parameter $subsidiary when calling subsidiariesAdd'
);
}
- $resourcePath = '/accounting/purchase-orders';
+ $resourcePath = '/accounting/subsidiaries';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -23361,11 +31065,11 @@ public function purchaseOrdersAddRequest($purchase_order, $raw = false, $x_apide
}
// for model (json/xml)
- if (isset($purchase_order)) {
+ if (isset($subsidiary)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($purchase_order));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($subsidiary));
} else {
- $httpBody = $purchase_order;
+ $httpBody = $subsidiary;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
@@ -23418,52 +31122,48 @@ public function purchaseOrdersAddRequest($purchase_order, $raw = false, $x_apide
}
/**
- * Operation purchaseOrdersAll
+ * Operation subsidiariesAll
*
- * List Purchase Orders
+ * List Subsidiaries
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetPurchaseOrdersResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetSubsidiariesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function purchaseOrdersAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ public function subsidiariesAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null)
{
- list($response) = $this->purchaseOrdersAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $pass_through, $limit, $filter, $sort);
+ list($response) = $this->subsidiariesAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields);
return $response;
}
/**
- * Operation purchaseOrdersAllWithHttpInfo
+ * Operation subsidiariesAllWithHttpInfo
*
- * List Purchase Orders
+ * List Subsidiaries
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetPurchaseOrdersResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetSubsidiariesResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function purchaseOrdersAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ public function subsidiariesAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null)
{
- $request = $this->purchaseOrdersAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $pass_through, $limit, $filter, $sort);
+ $request = $this->subsidiariesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields);
try {
$options = $this->createHttpClientOption();
@@ -23502,14 +31202,14 @@ public function purchaseOrdersAllWithHttpInfo($raw = false, $x_apideck_consumer_
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetPurchaseOrdersResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetSubsidiariesResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetPurchaseOrdersResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetSubsidiariesResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -23587,7 +31287,7 @@ public function purchaseOrdersAllWithHttpInfo($raw = false, $x_apideck_consumer_
];
}
- $returnType = '\Apideck\Client\Model\GetPurchaseOrdersResponse';
+ $returnType = '\Apideck\Client\Model\GetSubsidiariesResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -23605,7 +31305,7 @@ public function purchaseOrdersAllWithHttpInfo($raw = false, $x_apideck_consumer_
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetPurchaseOrdersResponse',
+ '\Apideck\Client\Model\GetSubsidiariesResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -23664,26 +31364,24 @@ public function purchaseOrdersAllWithHttpInfo($raw = false, $x_apideck_consumer_
}
/**
- * Operation purchaseOrdersAllAsync
+ * Operation subsidiariesAllAsync
*
- * List Purchase Orders
+ * List Subsidiaries
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ public function subsidiariesAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null)
{
- return $this->purchaseOrdersAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $pass_through, $limit, $filter, $sort)
+ return $this->subsidiariesAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields)
->then(
function ($response) {
return $response[0];
@@ -23692,27 +31390,25 @@ function ($response) {
}
/**
- * Operation purchaseOrdersAllAsyncWithHttpInfo
+ * Operation subsidiariesAllAsyncWithHttpInfo
*
- * List Purchase Orders
+ * List Subsidiaries
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ public function subsidiariesAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetPurchaseOrdersResponse';
- $request = $this->purchaseOrdersAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $pass_through, $limit, $filter, $sort);
+ $returnType = '\Apideck\Client\Model\GetSubsidiariesResponse';
+ $request = $this->subsidiariesAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -23748,32 +31444,30 @@ function ($exception) {
}
/**
- * Create request for operation 'purchaseOrdersAll'
+ * Create request for operation 'subsidiariesAll'
*
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param string $cursor Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional)
- * @param \Apideck\Client\Model\PassThroughQuery $pass_through Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)
* @param int $limit Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20)
- * @param \Apideck\Client\Model\PurchaseOrdersFilter $filter Apply filters (optional)
- * @param \Apideck\Client\Model\PurchaseOrdersSort $sort Apply sorting (optional)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function purchaseOrdersAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $pass_through = null, $limit = 20, $filter = null, $sort = null)
+ public function subsidiariesAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $fields = null)
{
if ($limit !== null && $limit > 200) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.purchaseOrdersAll, must be smaller than or equal to 200.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.subsidiariesAll, must be smaller than or equal to 200.');
}
if ($limit !== null && $limit < 1) {
- throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.purchaseOrdersAll, must be bigger than or equal to 1.');
+ throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.subsidiariesAll, must be bigger than or equal to 1.');
}
- $resourcePath = '/accounting/purchase-orders';
+ $resourcePath = '/accounting/subsidiaries';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -23862,46 +31556,6 @@ public function purchaseOrdersAllRequest($raw = false, $x_apideck_consumer_id =
}
// query params
- if ('raw' === 'pass_through') {
- // Support for raw as true/false parameter
- if('form' === 'deepObject' && is_array($pass_through)) {
- foreach($pass_through as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['pass_through'] = $pass_through ? 'true' : 'false';
- }
- }
-
-
- if ($pass_through !== null && 'sort' === 'pass_through') {
- // Support for sort options
- $sort_data = $sort->jsonSerialize();
- foreach($sort_data as $key => $value) {
- $queryParams['sort['.$key.']'] = $value;
- }
- }
-
- if ($pass_through !== null && 'filter' === 'pass_through') {
- // Support for filter options
- $filter_data = $filter->jsonSerialize();
- foreach($filter_data as $key => $value) {
- $queryParams['filter['.$key.']'] = $value;
- }
- }
- if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter')) {
- if('form' === 'deepObject' && is_array($pass_through)) {
- foreach($pass_through as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['pass_through'] = $pass_through;
- }
- }
- // query params
-
if ('raw' === 'limit') {
// Support for raw as true/false parameter
if('form' === 'form' && is_array($limit)) {
@@ -23942,60 +31596,20 @@ public function purchaseOrdersAllRequest($raw = false, $x_apideck_consumer_id =
}
// query params
- if ('raw' === 'filter') {
- // Support for raw as true/false parameter
- if('form' === 'deepObject' && is_array($filter)) {
- foreach($filter as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['filter'] = $filter ? 'true' : 'false';
- }
- }
-
-
- if ($filter !== null && 'sort' === 'filter') {
- // Support for sort options
- $sort_data = $sort->jsonSerialize();
- foreach($sort_data as $key => $value) {
- $queryParams['sort['.$key.']'] = $value;
- }
- }
-
- if ($filter !== null && 'filter' === 'filter') {
- // Support for filter options
- $filter_data = $filter->jsonSerialize();
- foreach($filter_data as $key => $value) {
- $queryParams['filter['.$key.']'] = $value;
- }
- }
- if ($filter !== null && !('filter' === 'raw' || 'filter' === 'sort' || 'filter' === 'filter')) {
- if('form' === 'deepObject' && is_array($filter)) {
- foreach($filter as $key => $value) {
- $queryParams[$key] = $value;
- }
- }
- else {
- $queryParams['filter'] = $filter;
- }
- }
- // query params
-
- if ('raw' === 'sort') {
+ if ('raw' === 'fields') {
// Support for raw as true/false parameter
- if('form' === 'deepObject' && is_array($sort)) {
- foreach($sort as $key => $value) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
$queryParams[$key] = $value;
}
}
else {
- $queryParams['sort'] = $sort ? 'true' : 'false';
+ $queryParams['fields'] = $fields ? 'true' : 'false';
}
}
- if ($sort !== null && 'sort' === 'sort') {
+ if ($fields !== null && 'sort' === 'fields') {
// Support for sort options
$sort_data = $sort->jsonSerialize();
foreach($sort_data as $key => $value) {
@@ -24003,21 +31617,21 @@ public function purchaseOrdersAllRequest($raw = false, $x_apideck_consumer_id =
}
}
- if ($sort !== null && 'filter' === 'sort') {
+ if ($fields !== null && 'filter' === 'fields') {
// Support for filter options
$filter_data = $filter->jsonSerialize();
foreach($filter_data as $key => $value) {
$queryParams['filter['.$key.']'] = $value;
}
}
- if ($sort !== null && !('sort' === 'raw' || 'sort' === 'sort' || 'sort' === 'filter')) {
- if('form' === 'deepObject' && is_array($sort)) {
- foreach($sort as $key => $value) {
+ if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
$queryParams[$key] = $value;
}
}
else {
- $queryParams['sort'] = $sort;
+ $queryParams['fields'] = $fields;
}
}
@@ -24099,9 +31713,9 @@ public function purchaseOrdersAllRequest($raw = false, $x_apideck_consumer_id =
}
/**
- * Operation purchaseOrdersDelete
+ * Operation subsidiariesDelete
*
- * Delete Purchase Order
+ * Delete Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -24111,18 +31725,18 @@ public function purchaseOrdersAllRequest($raw = false, $x_apideck_consumer_id =
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\DeletePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\DeleteSubsidiaryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function purchaseOrdersDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->purchaseOrdersDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->subsidiariesDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation purchaseOrdersDeleteWithHttpInfo
+ * Operation subsidiariesDeleteWithHttpInfo
*
- * Delete Purchase Order
+ * Delete Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -24132,11 +31746,11 @@ public function purchaseOrdersDelete($id, $x_apideck_consumer_id = null, $x_apid
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\DeletePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\DeleteSubsidiaryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function purchaseOrdersDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->purchaseOrdersDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->subsidiariesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -24175,14 +31789,14 @@ public function purchaseOrdersDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\DeletePurchaseOrderResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\DeleteSubsidiaryResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeletePurchaseOrderResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteSubsidiaryResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -24260,7 +31874,7 @@ public function purchaseOrdersDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
];
}
- $returnType = '\Apideck\Client\Model\DeletePurchaseOrderResponse';
+ $returnType = '\Apideck\Client\Model\DeleteSubsidiaryResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -24278,7 +31892,7 @@ public function purchaseOrdersDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\DeletePurchaseOrderResponse',
+ '\Apideck\Client\Model\DeleteSubsidiaryResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -24337,9 +31951,9 @@ public function purchaseOrdersDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
}
/**
- * Operation purchaseOrdersDeleteAsync
+ * Operation subsidiariesDeleteAsync
*
- * Delete Purchase Order
+ * Delete Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -24350,9 +31964,9 @@ public function purchaseOrdersDeleteWithHttpInfo($id, $x_apideck_consumer_id = n
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->purchaseOrdersDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->subsidiariesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -24361,9 +31975,9 @@ function ($response) {
}
/**
- * Operation purchaseOrdersDeleteAsyncWithHttpInfo
+ * Operation subsidiariesDeleteAsyncWithHttpInfo
*
- * Delete Purchase Order
+ * Delete Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -24374,10 +31988,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\DeletePurchaseOrderResponse';
- $request = $this->purchaseOrdersDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\DeleteSubsidiaryResponse';
+ $request = $this->subsidiariesDeleteRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -24413,7 +32027,7 @@ function ($exception) {
}
/**
- * Create request for operation 'purchaseOrdersDelete'
+ * Create request for operation 'subsidiariesDelete'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
@@ -24424,16 +32038,16 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function purchaseOrdersDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesDeleteRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling purchaseOrdersDelete'
+ 'Missing the required parameter $id when calling subsidiariesDelete'
);
}
- $resourcePath = '/accounting/purchase-orders/{id}';
+ $resourcePath = '/accounting/subsidiaries/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -24567,44 +32181,46 @@ public function purchaseOrdersDeleteRequest($id, $x_apideck_consumer_id = null,
}
/**
- * Operation purchaseOrdersOne
+ * Operation subsidiariesOne
*
- * Get Purchase Order
+ * Get Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\GetPurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\GetSubsidiaryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function purchaseOrdersOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- list($response) = $this->purchaseOrdersOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->subsidiariesOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $response;
}
/**
- * Operation purchaseOrdersOneWithHttpInfo
+ * Operation subsidiariesOneWithHttpInfo
*
- * Get Purchase Order
+ * Get Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\GetPurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\GetSubsidiaryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function purchaseOrdersOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $request = $this->purchaseOrdersOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->subsidiariesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
try {
$options = $this->createHttpClientOption();
@@ -24643,14 +32259,14 @@ public function purchaseOrdersOneWithHttpInfo($id, $x_apideck_consumer_id = null
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\GetPurchaseOrderResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\GetSubsidiaryResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetPurchaseOrderResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetSubsidiaryResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -24728,7 +32344,7 @@ public function purchaseOrdersOneWithHttpInfo($id, $x_apideck_consumer_id = null
];
}
- $returnType = '\Apideck\Client\Model\GetPurchaseOrderResponse';
+ $returnType = '\Apideck\Client\Model\GetSubsidiaryResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -24746,7 +32362,7 @@ public function purchaseOrdersOneWithHttpInfo($id, $x_apideck_consumer_id = null
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\GetPurchaseOrderResponse',
+ '\Apideck\Client\Model\GetSubsidiaryResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -24805,22 +32421,23 @@ public function purchaseOrdersOneWithHttpInfo($id, $x_apideck_consumer_id = null
}
/**
- * Operation purchaseOrdersOneAsync
+ * Operation subsidiariesOneAsync
*
- * Get Purchase Order
+ * Get Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- return $this->purchaseOrdersOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->subsidiariesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields)
->then(
function ($response) {
return $response[0];
@@ -24829,23 +32446,24 @@ function ($response) {
}
/**
- * Operation purchaseOrdersOneAsyncWithHttpInfo
+ * Operation subsidiariesOneAsyncWithHttpInfo
*
- * Get Purchase Order
+ * Get Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
- $returnType = '\Apideck\Client\Model\GetPurchaseOrderResponse';
- $request = $this->purchaseOrdersOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\GetSubsidiaryResponse';
+ $request = $this->subsidiariesOneRequest($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -24881,27 +32499,28 @@ function ($exception) {
}
/**
- * Create request for operation 'purchaseOrdersOne'
+ * Create request for operation 'subsidiariesOne'
*
* @param string $id ID of the record you are acting upon. (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
* @param bool $raw Include raw response. Mostly used for debugging purposes (optional, default to false)
+ * @param string $fields 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: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function purchaseOrdersOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesOneRequest($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling purchaseOrdersOne'
+ 'Missing the required parameter $id when calling subsidiariesOne'
);
}
- $resourcePath = '/accounting/purchase-orders/{id}';
+ $resourcePath = '/accounting/subsidiaries/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -24948,6 +32567,46 @@ public function purchaseOrdersOneRequest($id, $x_apideck_consumer_id = null, $x_
$queryParams['raw'] = $raw;
}
}
+ // query params
+
+ if ('raw' === 'fields') {
+ // Support for raw as true/false parameter
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields ? 'true' : 'false';
+ }
+ }
+
+
+ if ($fields !== null && 'sort' === 'fields') {
+ // Support for sort options
+ $sort_data = $sort->jsonSerialize();
+ foreach($sort_data as $key => $value) {
+ $queryParams['sort['.$key.']'] = $value;
+ }
+ }
+
+ if ($fields !== null && 'filter' === 'fields') {
+ // Support for filter options
+ $filter_data = $filter->jsonSerialize();
+ foreach($filter_data as $key => $value) {
+ $queryParams['filter['.$key.']'] = $value;
+ }
+ }
+ if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter')) {
+ if('form' === 'form' && is_array($fields)) {
+ foreach($fields as $key => $value) {
+ $queryParams[$key] = $value;
+ }
+ }
+ else {
+ $queryParams['fields'] = $fields;
+ }
+ }
// header params
if ($x_apideck_consumer_id !== null) {
@@ -25035,12 +32694,12 @@ public function purchaseOrdersOneRequest($id, $x_apideck_consumer_id = null, $x_
}
/**
- * Operation purchaseOrdersUpdate
+ * Operation subsidiariesUpdate
*
- * Update Purchase Order
+ * Update Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary subsidiary (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -25048,21 +32707,21 @@ public function purchaseOrdersOneRequest($id, $x_apideck_consumer_id = null, $x_
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return \Apideck\Client\Model\UpdatePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
+ * @return \Apideck\Client\Model\UpdateSubsidiaryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
- public function purchaseOrdersUpdate($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesUpdate($id, $subsidiary, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- list($response) = $this->purchaseOrdersUpdateWithHttpInfo($id, $purchase_order, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ list($response) = $this->subsidiariesUpdateWithHttpInfo($id, $subsidiary, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $response;
}
/**
- * Operation purchaseOrdersUpdateWithHttpInfo
+ * Operation subsidiariesUpdateWithHttpInfo
*
- * Update Purchase Order
+ * Update Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -25070,11 +32729,11 @@ public function purchaseOrdersUpdate($id, $purchase_order, $x_apideck_consumer_i
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
- * @return array of \Apideck\Client\Model\UpdatePurchaseOrderResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \Apideck\Client\Model\UpdateSubsidiaryResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
- public function purchaseOrdersUpdateWithHttpInfo($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesUpdateWithHttpInfo($id, $subsidiary, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $request = $this->purchaseOrdersUpdateRequest($id, $purchase_order, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $request = $this->subsidiariesUpdateRequest($id, $subsidiary, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
try {
$options = $this->createHttpClientOption();
@@ -25113,14 +32772,14 @@ public function purchaseOrdersUpdateWithHttpInfo($id, $purchase_order, $x_apidec
switch($statusCode) {
case 200:
- if ('\Apideck\Client\Model\UpdatePurchaseOrderResponse' === '\SplFileObject') {
+ if ('\Apideck\Client\Model\UpdateSubsidiaryResponse' === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
$content = (string) $response->getBody();
}
return [
- ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdatePurchaseOrderResponse', []),
+ ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateSubsidiaryResponse', []),
$response->getStatusCode(),
$response->getHeaders()
];
@@ -25198,7 +32857,7 @@ public function purchaseOrdersUpdateWithHttpInfo($id, $purchase_order, $x_apidec
];
}
- $returnType = '\Apideck\Client\Model\UpdatePurchaseOrderResponse';
+ $returnType = '\Apideck\Client\Model\UpdateSubsidiaryResponse';
if ($returnType === '\SplFileObject') {
$content = $response->getBody(); //stream goes to serializer
} else {
@@ -25216,7 +32875,7 @@ public function purchaseOrdersUpdateWithHttpInfo($id, $purchase_order, $x_apidec
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
- '\Apideck\Client\Model\UpdatePurchaseOrderResponse',
+ '\Apideck\Client\Model\UpdateSubsidiaryResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
@@ -25275,12 +32934,12 @@ public function purchaseOrdersUpdateWithHttpInfo($id, $purchase_order, $x_apidec
}
/**
- * Operation purchaseOrdersUpdateAsync
+ * Operation subsidiariesUpdateAsync
*
- * Update Purchase Order
+ * Update Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -25289,9 +32948,9 @@ public function purchaseOrdersUpdateWithHttpInfo($id, $purchase_order, $x_apidec
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersUpdateAsync($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesUpdateAsync($id, $subsidiary, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- return $this->purchaseOrdersUpdateAsyncWithHttpInfo($id, $purchase_order, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
+ return $this->subsidiariesUpdateAsyncWithHttpInfo($id, $subsidiary, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw)
->then(
function ($response) {
return $response[0];
@@ -25300,12 +32959,12 @@ function ($response) {
}
/**
- * Operation purchaseOrdersUpdateAsyncWithHttpInfo
+ * Operation subsidiariesUpdateAsyncWithHttpInfo
*
- * Update Purchase Order
+ * Update Subsidiary
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -25314,10 +32973,10 @@ function ($response) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
- public function purchaseOrdersUpdateAsyncWithHttpInfo($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesUpdateAsyncWithHttpInfo($id, $subsidiary, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
- $returnType = '\Apideck\Client\Model\UpdatePurchaseOrderResponse';
- $request = $this->purchaseOrdersUpdateRequest($id, $purchase_order, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
+ $returnType = '\Apideck\Client\Model\UpdateSubsidiaryResponse';
+ $request = $this->subsidiariesUpdateRequest($id, $subsidiary, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -25353,10 +33012,10 @@ function ($exception) {
}
/**
- * Create request for operation 'purchaseOrdersUpdate'
+ * Create request for operation 'subsidiariesUpdate'
*
* @param string $id ID of the record you are acting upon. (required)
- * @param \Apideck\Client\Model\PurchaseOrder $purchase_order (required)
+ * @param \Apideck\Client\Model\Subsidiary $subsidiary (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
* @param string $x_apideck_service_id Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
@@ -25365,22 +33024,22 @@ function ($exception) {
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
- public function purchaseOrdersUpdateRequest($id, $purchase_order, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
+ public function subsidiariesUpdateRequest($id, $subsidiary, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false)
{
// verify the required parameter 'id' is set
if ($id === null || (is_array($id) && count($id) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $id when calling purchaseOrdersUpdate'
+ 'Missing the required parameter $id when calling subsidiariesUpdate'
);
}
- // verify the required parameter 'purchase_order' is set
- if ($purchase_order === null || (is_array($purchase_order) && count($purchase_order) === 0)) {
+ // verify the required parameter 'subsidiary' is set
+ if ($subsidiary === null || (is_array($subsidiary) && count($subsidiary) === 0)) {
throw new \InvalidArgumentException(
- 'Missing the required parameter $purchase_order when calling purchaseOrdersUpdate'
+ 'Missing the required parameter $subsidiary when calling subsidiariesUpdate'
);
}
- $resourcePath = '/accounting/purchase-orders/{id}';
+ $resourcePath = '/accounting/subsidiaries/{id}';
$formParams = [];
$queryParams = [];
$headerParams = [];
@@ -25463,11 +33122,11 @@ public function purchaseOrdersUpdateRequest($id, $purchase_order, $x_apideck_con
}
// for model (json/xml)
- if (isset($purchase_order)) {
+ if (isset($subsidiary)) {
if ($headers['Content-Type'] === 'application/json') {
- $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($purchase_order));
+ $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($subsidiary));
} else {
- $httpBody = $purchase_order;
+ $httpBody = $subsidiary;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
diff --git a/src/gen/lib/Api/AtsApi.php b/src/gen/lib/Api/AtsApi.php
index c05cdf418..1ff5446d1 100644
--- a/src/gen/lib/Api/AtsApi.php
+++ b/src/gen/lib/Api/AtsApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/ConnectorApi.php b/src/gen/lib/Api/ConnectorApi.php
index 9cde2b1d7..4705d3313 100644
--- a/src/gen/lib/Api/ConnectorApi.php
+++ b/src/gen/lib/Api/ConnectorApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/CrmApi.php b/src/gen/lib/Api/CrmApi.php
index 37e24fbc4..aa1528348 100644
--- a/src/gen/lib/Api/CrmApi.php
+++ b/src/gen/lib/Api/CrmApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/EcommerceApi.php b/src/gen/lib/Api/EcommerceApi.php
index 9f92ad424..7b0ed9e4d 100644
--- a/src/gen/lib/Api/EcommerceApi.php
+++ b/src/gen/lib/Api/EcommerceApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/FileStorageApi.php b/src/gen/lib/Api/FileStorageApi.php
index ee0f1d408..241e283be 100644
--- a/src/gen/lib/Api/FileStorageApi.php
+++ b/src/gen/lib/Api/FileStorageApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/HrisApi.php b/src/gen/lib/Api/HrisApi.php
index f85b8c1bb..79cd407ec 100644
--- a/src/gen/lib/Api/HrisApi.php
+++ b/src/gen/lib/Api/HrisApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/IssueTrackingApi.php b/src/gen/lib/Api/IssueTrackingApi.php
index 21b12c097..cea24066f 100644
--- a/src/gen/lib/Api/IssueTrackingApi.php
+++ b/src/gen/lib/Api/IssueTrackingApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/LeadApi.php b/src/gen/lib/Api/LeadApi.php
index 7acdc81fe..9d6850b59 100644
--- a/src/gen/lib/Api/LeadApi.php
+++ b/src/gen/lib/Api/LeadApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/PosApi.php b/src/gen/lib/Api/PosApi.php
index 30e1256a0..87bb2a28b 100644
--- a/src/gen/lib/Api/PosApi.php
+++ b/src/gen/lib/Api/PosApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/SmsApi.php b/src/gen/lib/Api/SmsApi.php
index 983aef4ca..2d1d54da3 100644
--- a/src/gen/lib/Api/SmsApi.php
+++ b/src/gen/lib/Api/SmsApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/VaultApi.php b/src/gen/lib/Api/VaultApi.php
index b03a8a650..556e771a0 100644
--- a/src/gen/lib/Api/VaultApi.php
+++ b/src/gen/lib/Api/VaultApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Api/WebhookApi.php b/src/gen/lib/Api/WebhookApi.php
index 3b84392cc..57e6d023f 100644
--- a/src/gen/lib/Api/WebhookApi.php
+++ b/src/gen/lib/Api/WebhookApi.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/ApiException.php b/src/gen/lib/ApiException.php
index f815a85cd..f0902d88b 100644
--- a/src/gen/lib/ApiException.php
+++ b/src/gen/lib/ApiException.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Configuration.php b/src/gen/lib/Configuration.php
index 6e999a1c5..43a8ab1af 100644
--- a/src/gen/lib/Configuration.php
+++ b/src/gen/lib/Configuration.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -97,7 +97,7 @@ class Configuration
*
* @var string
*/
- protected $userAgent = 'OpenAPI-Generator/3.1.2/PHP';
+ protected $userAgent = 'OpenAPI-Generator/3.2.0/PHP';
/**
* Debug switch (default set to false)
@@ -447,8 +447,8 @@ public static function toDebugReport()
$report = 'PHP SDK (Apideck\Client) Debug Report:' . PHP_EOL;
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
- $report .= ' The version of the OpenAPI document: 10.1.3' . PHP_EOL;
- $report .= ' SDK Package Version: 3.1.2' . PHP_EOL;
+ $report .= ' The version of the OpenAPI document: 10.3.1' . PHP_EOL;
+ $report .= ' SDK Package Version: 3.2.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
return $report;
diff --git a/src/gen/lib/HeaderSelector.php b/src/gen/lib/HeaderSelector.php
index 075db4dba..5fbdbe71a 100644
--- a/src/gen/lib/HeaderSelector.php
+++ b/src/gen/lib/HeaderSelector.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/AccountingDepartment.php b/src/gen/lib/Model/AccountingDepartment.php
new file mode 100644
index 000000000..cc6530cf4
--- /dev/null
+++ b/src/gen/lib/Model/AccountingDepartment.php
@@ -0,0 +1,654 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class AccountingDepartment implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'AccountingDepartment';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'id' => 'string',
+ 'parent_id' => 'string',
+ 'name' => 'string',
+ 'status' => 'string',
+ 'subsidiaries' => '\Apideck\Client\Model\SubsidiaryReference[]',
+ 'custom_mappings' => 'object',
+ 'row_version' => 'string',
+ 'updated_by' => 'string',
+ 'created_by' => 'string',
+ 'updated_at' => '\DateTime',
+ 'created_at' => '\DateTime'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'id' => null,
+ 'parent_id' => null,
+ 'name' => null,
+ 'status' => null,
+ 'subsidiaries' => null,
+ 'custom_mappings' => null,
+ 'row_version' => null,
+ 'updated_by' => null,
+ 'created_by' => null,
+ 'updated_at' => 'date-time',
+ 'created_at' => 'date-time'
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'id' => 'id',
+ 'parent_id' => 'parent_id',
+ 'name' => 'name',
+ 'status' => 'status',
+ 'subsidiaries' => 'subsidiaries',
+ 'custom_mappings' => 'custom_mappings',
+ 'row_version' => 'row_version',
+ 'updated_by' => 'updated_by',
+ 'created_by' => 'created_by',
+ 'updated_at' => 'updated_at',
+ 'created_at' => 'created_at'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'id' => 'setId',
+ 'parent_id' => 'setParentId',
+ 'name' => 'setName',
+ 'status' => 'setStatus',
+ 'subsidiaries' => 'setSubsidiaries',
+ 'custom_mappings' => 'setCustomMappings',
+ 'row_version' => 'setRowVersion',
+ 'updated_by' => 'setUpdatedBy',
+ 'created_by' => 'setCreatedBy',
+ 'updated_at' => 'setUpdatedAt',
+ 'created_at' => 'setCreatedAt'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'id' => 'getId',
+ 'parent_id' => 'getParentId',
+ 'name' => 'getName',
+ 'status' => 'getStatus',
+ 'subsidiaries' => 'getSubsidiaries',
+ 'custom_mappings' => 'getCustomMappings',
+ 'row_version' => 'getRowVersion',
+ 'updated_by' => 'getUpdatedBy',
+ 'created_by' => 'getCreatedBy',
+ 'updated_at' => 'getUpdatedAt',
+ 'created_at' => 'getCreatedAt'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+ const STATUS_ACTIVE = 'active';
+ const STATUS_INACTIVE = 'inactive';
+
+ /**
+ * Gets allowable values of the enum
+ *
+ * @return string[]
+ */
+ public function getStatusAllowableValues()
+ {
+ return [
+ self::STATUS_ACTIVE,
+ self::STATUS_INACTIVE,
+ ];
+ }
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['id'] = $data['id'] ?? null;
+ $this->container['parent_id'] = $data['parent_id'] ?? null;
+ $this->container['name'] = $data['name'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['subsidiaries'] = $data['subsidiaries'] ?? null;
+ $this->container['custom_mappings'] = $data['custom_mappings'] ?? null;
+ $this->container['row_version'] = $data['row_version'] ?? null;
+ $this->container['updated_by'] = $data['updated_by'] ?? null;
+ $this->container['created_by'] = $data['created_by'] ?? null;
+ $this->container['updated_at'] = $data['updated_at'] ?? null;
+ $this->container['created_at'] = $data['created_at'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ $allowedValues = $this->getStatusAllowableValues();
+ if (!is_null($this->container['status']) && !in_array($this->container['status'], $allowedValues, true)) {
+ $invalidProperties[] = sprintf(
+ "invalid value '%s' for 'status', must be one of '%s'",
+ $this->container['status'],
+ implode("', '", $allowedValues)
+ );
+ }
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets id
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->container['id'];
+ }
+
+ /**
+ * Sets id
+ *
+ * @param string|null $id A unique identifier for an object.
+ *
+ * @return self
+ */
+ public function setId($id)
+ {
+ $this->container['id'] = $id;
+
+ return $this;
+ }
+
+ /**
+ * Gets parent_id
+ *
+ * @return string|null
+ */
+ public function getParentId()
+ {
+ return $this->container['parent_id'];
+ }
+
+ /**
+ * Sets parent_id
+ *
+ * @param string|null $parent_id A unique identifier for an object.
+ *
+ * @return self
+ */
+ public function setParentId($parent_id)
+ {
+ $this->container['parent_id'] = $parent_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets name
+ *
+ * @return string|null
+ */
+ public function getName()
+ {
+ return $this->container['name'];
+ }
+
+ /**
+ * Sets name
+ *
+ * @param string|null $name The name of the department.
+ *
+ * @return self
+ */
+ public function setName($name)
+ {
+ $this->container['name'] = $name;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string|null
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string|null $status Based on the status some functionality is enabled or disabled.
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $allowedValues = $this->getStatusAllowableValues();
+ if (!is_null($status) && !in_array($status, $allowedValues, true)) {
+ throw new \InvalidArgumentException(
+ sprintf(
+ "Invalid value '%s' for 'status', must be one of '%s'",
+ $status,
+ implode("', '", $allowedValues)
+ )
+ );
+ }
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets subsidiaries
+ *
+ * @return \Apideck\Client\Model\SubsidiaryReference[]|null
+ */
+ public function getSubsidiaries()
+ {
+ return $this->container['subsidiaries'];
+ }
+
+ /**
+ * Sets subsidiaries
+ *
+ * @param \Apideck\Client\Model\SubsidiaryReference[]|null $subsidiaries subsidiaries
+ *
+ * @return self
+ */
+ public function setSubsidiaries($subsidiaries)
+ {
+ $this->container['subsidiaries'] = $subsidiaries;
+
+ return $this;
+ }
+
+ /**
+ * Gets custom_mappings
+ *
+ * @return object|null
+ */
+ public function getCustomMappings()
+ {
+ return $this->container['custom_mappings'];
+ }
+
+ /**
+ * Sets custom_mappings
+ *
+ * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here.
+ *
+ * @return self
+ */
+ public function setCustomMappings($custom_mappings)
+ {
+ $this->container['custom_mappings'] = $custom_mappings;
+
+ return $this;
+ }
+
+ /**
+ * Gets row_version
+ *
+ * @return string|null
+ */
+ public function getRowVersion()
+ {
+ return $this->container['row_version'];
+ }
+
+ /**
+ * Sets row_version
+ *
+ * @param string|null $row_version A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
+ *
+ * @return self
+ */
+ public function setRowVersion($row_version)
+ {
+ $this->container['row_version'] = $row_version;
+
+ return $this;
+ }
+
+ /**
+ * Gets updated_by
+ *
+ * @return string|null
+ */
+ public function getUpdatedBy()
+ {
+ return $this->container['updated_by'];
+ }
+
+ /**
+ * Sets updated_by
+ *
+ * @param string|null $updated_by The user who last updated the object.
+ *
+ * @return self
+ */
+ public function setUpdatedBy($updated_by)
+ {
+ $this->container['updated_by'] = $updated_by;
+
+ return $this;
+ }
+
+ /**
+ * Gets created_by
+ *
+ * @return string|null
+ */
+ public function getCreatedBy()
+ {
+ return $this->container['created_by'];
+ }
+
+ /**
+ * Sets created_by
+ *
+ * @param string|null $created_by The user who created the object.
+ *
+ * @return self
+ */
+ public function setCreatedBy($created_by)
+ {
+ $this->container['created_by'] = $created_by;
+
+ return $this;
+ }
+
+ /**
+ * Gets updated_at
+ *
+ * @return \DateTime|null
+ */
+ public function getUpdatedAt()
+ {
+ return $this->container['updated_at'];
+ }
+
+ /**
+ * Sets updated_at
+ *
+ * @param \DateTime|null $updated_at The date and time when the object was last updated.
+ *
+ * @return self
+ */
+ public function setUpdatedAt($updated_at)
+ {
+ $this->container['updated_at'] = $updated_at;
+
+ return $this;
+ }
+
+ /**
+ * Gets created_at
+ *
+ * @return \DateTime|null
+ */
+ public function getCreatedAt()
+ {
+ return $this->container['created_at'];
+ }
+
+ /**
+ * Sets created_at
+ *
+ * @param \DateTime|null $created_at The date and time when the object was created.
+ *
+ * @return self
+ */
+ public function setCreatedAt($created_at)
+ {
+ $this->container['created_at'] = $created_at;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/AccountingDepartmentsFilter.php b/src/gen/lib/Model/AccountingDepartmentsFilter.php
new file mode 100644
index 000000000..28a35d389
--- /dev/null
+++ b/src/gen/lib/Model/AccountingDepartmentsFilter.php
@@ -0,0 +1,320 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class AccountingDepartmentsFilter implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'AccountingDepartmentsFilter';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'subsidiary' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'subsidiary' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'subsidiary' => 'subsidiary'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'subsidiary' => 'setSubsidiary'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'subsidiary' => 'getSubsidiary'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['subsidiary'] = $data['subsidiary'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets subsidiary
+ *
+ * @return string|null
+ */
+ public function getSubsidiary()
+ {
+ return $this->container['subsidiary'];
+ }
+
+ /**
+ * Sets subsidiary
+ *
+ * @param string|null $subsidiary Id of the subsidiary to search for
+ *
+ * @return self
+ */
+ public function setSubsidiary($subsidiary)
+ {
+ $this->container['subsidiary'] = $subsidiary;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/AccountingEventType.php b/src/gen/lib/Model/AccountingEventType.php
index 6747b6355..62f53c634 100644
--- a/src/gen/lib/Model/AccountingEventType.php
+++ b/src/gen/lib/Model/AccountingEventType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/AccountingLocation.php b/src/gen/lib/Model/AccountingLocation.php
new file mode 100644
index 000000000..90472ba08
--- /dev/null
+++ b/src/gen/lib/Model/AccountingLocation.php
@@ -0,0 +1,714 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class AccountingLocation implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'AccountingLocation';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'id' => 'string',
+ 'parent_id' => 'string',
+ 'company_name' => 'string',
+ 'display_name' => 'string',
+ 'status' => 'string',
+ 'addresses' => '\Apideck\Client\Model\Address[]',
+ 'subsidiaries' => '\Apideck\Client\Model\SubsidiaryReference[]',
+ 'custom_mappings' => 'object',
+ 'row_version' => 'string',
+ 'updated_by' => 'string',
+ 'created_by' => 'string',
+ 'updated_at' => '\DateTime',
+ 'created_at' => '\DateTime'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'id' => null,
+ 'parent_id' => null,
+ 'company_name' => null,
+ 'display_name' => null,
+ 'status' => null,
+ 'addresses' => null,
+ 'subsidiaries' => null,
+ 'custom_mappings' => null,
+ 'row_version' => null,
+ 'updated_by' => null,
+ 'created_by' => null,
+ 'updated_at' => 'date-time',
+ 'created_at' => 'date-time'
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'id' => 'id',
+ 'parent_id' => 'parent_id',
+ 'company_name' => 'company_name',
+ 'display_name' => 'display_name',
+ 'status' => 'status',
+ 'addresses' => 'addresses',
+ 'subsidiaries' => 'subsidiaries',
+ 'custom_mappings' => 'custom_mappings',
+ 'row_version' => 'row_version',
+ 'updated_by' => 'updated_by',
+ 'created_by' => 'created_by',
+ 'updated_at' => 'updated_at',
+ 'created_at' => 'created_at'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'id' => 'setId',
+ 'parent_id' => 'setParentId',
+ 'company_name' => 'setCompanyName',
+ 'display_name' => 'setDisplayName',
+ 'status' => 'setStatus',
+ 'addresses' => 'setAddresses',
+ 'subsidiaries' => 'setSubsidiaries',
+ 'custom_mappings' => 'setCustomMappings',
+ 'row_version' => 'setRowVersion',
+ 'updated_by' => 'setUpdatedBy',
+ 'created_by' => 'setCreatedBy',
+ 'updated_at' => 'setUpdatedAt',
+ 'created_at' => 'setCreatedAt'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'id' => 'getId',
+ 'parent_id' => 'getParentId',
+ 'company_name' => 'getCompanyName',
+ 'display_name' => 'getDisplayName',
+ 'status' => 'getStatus',
+ 'addresses' => 'getAddresses',
+ 'subsidiaries' => 'getSubsidiaries',
+ 'custom_mappings' => 'getCustomMappings',
+ 'row_version' => 'getRowVersion',
+ 'updated_by' => 'getUpdatedBy',
+ 'created_by' => 'getCreatedBy',
+ 'updated_at' => 'getUpdatedAt',
+ 'created_at' => 'getCreatedAt'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+ const STATUS_ACTIVE = 'active';
+ const STATUS_INACTIVE = 'inactive';
+
+ /**
+ * Gets allowable values of the enum
+ *
+ * @return string[]
+ */
+ public function getStatusAllowableValues()
+ {
+ return [
+ self::STATUS_ACTIVE,
+ self::STATUS_INACTIVE,
+ ];
+ }
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['id'] = $data['id'] ?? null;
+ $this->container['parent_id'] = $data['parent_id'] ?? null;
+ $this->container['company_name'] = $data['company_name'] ?? null;
+ $this->container['display_name'] = $data['display_name'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['addresses'] = $data['addresses'] ?? null;
+ $this->container['subsidiaries'] = $data['subsidiaries'] ?? null;
+ $this->container['custom_mappings'] = $data['custom_mappings'] ?? null;
+ $this->container['row_version'] = $data['row_version'] ?? null;
+ $this->container['updated_by'] = $data['updated_by'] ?? null;
+ $this->container['created_by'] = $data['created_by'] ?? null;
+ $this->container['updated_at'] = $data['updated_at'] ?? null;
+ $this->container['created_at'] = $data['created_at'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ $allowedValues = $this->getStatusAllowableValues();
+ if (!is_null($this->container['status']) && !in_array($this->container['status'], $allowedValues, true)) {
+ $invalidProperties[] = sprintf(
+ "invalid value '%s' for 'status', must be one of '%s'",
+ $this->container['status'],
+ implode("', '", $allowedValues)
+ );
+ }
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets id
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->container['id'];
+ }
+
+ /**
+ * Sets id
+ *
+ * @param string|null $id A unique identifier for an object.
+ *
+ * @return self
+ */
+ public function setId($id)
+ {
+ $this->container['id'] = $id;
+
+ return $this;
+ }
+
+ /**
+ * Gets parent_id
+ *
+ * @return string|null
+ */
+ public function getParentId()
+ {
+ return $this->container['parent_id'];
+ }
+
+ /**
+ * Sets parent_id
+ *
+ * @param string|null $parent_id A unique identifier for an object.
+ *
+ * @return self
+ */
+ public function setParentId($parent_id)
+ {
+ $this->container['parent_id'] = $parent_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets company_name
+ *
+ * @return string|null
+ */
+ public function getCompanyName()
+ {
+ return $this->container['company_name'];
+ }
+
+ /**
+ * Sets company_name
+ *
+ * @param string|null $company_name The name of the company.
+ *
+ * @return self
+ */
+ public function setCompanyName($company_name)
+ {
+ $this->container['company_name'] = $company_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets display_name
+ *
+ * @return string|null
+ */
+ public function getDisplayName()
+ {
+ return $this->container['display_name'];
+ }
+
+ /**
+ * Sets display_name
+ *
+ * @param string|null $display_name The display name of the location.
+ *
+ * @return self
+ */
+ public function setDisplayName($display_name)
+ {
+ $this->container['display_name'] = $display_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string|null
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string|null $status Based on the status some functionality is enabled or disabled.
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $allowedValues = $this->getStatusAllowableValues();
+ if (!is_null($status) && !in_array($status, $allowedValues, true)) {
+ throw new \InvalidArgumentException(
+ sprintf(
+ "Invalid value '%s' for 'status', must be one of '%s'",
+ $status,
+ implode("', '", $allowedValues)
+ )
+ );
+ }
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets addresses
+ *
+ * @return \Apideck\Client\Model\Address[]|null
+ */
+ public function getAddresses()
+ {
+ return $this->container['addresses'];
+ }
+
+ /**
+ * Sets addresses
+ *
+ * @param \Apideck\Client\Model\Address[]|null $addresses addresses
+ *
+ * @return self
+ */
+ public function setAddresses($addresses)
+ {
+ $this->container['addresses'] = $addresses;
+
+ return $this;
+ }
+
+ /**
+ * Gets subsidiaries
+ *
+ * @return \Apideck\Client\Model\SubsidiaryReference[]|null
+ */
+ public function getSubsidiaries()
+ {
+ return $this->container['subsidiaries'];
+ }
+
+ /**
+ * Sets subsidiaries
+ *
+ * @param \Apideck\Client\Model\SubsidiaryReference[]|null $subsidiaries subsidiaries
+ *
+ * @return self
+ */
+ public function setSubsidiaries($subsidiaries)
+ {
+ $this->container['subsidiaries'] = $subsidiaries;
+
+ return $this;
+ }
+
+ /**
+ * Gets custom_mappings
+ *
+ * @return object|null
+ */
+ public function getCustomMappings()
+ {
+ return $this->container['custom_mappings'];
+ }
+
+ /**
+ * Sets custom_mappings
+ *
+ * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here.
+ *
+ * @return self
+ */
+ public function setCustomMappings($custom_mappings)
+ {
+ $this->container['custom_mappings'] = $custom_mappings;
+
+ return $this;
+ }
+
+ /**
+ * Gets row_version
+ *
+ * @return string|null
+ */
+ public function getRowVersion()
+ {
+ return $this->container['row_version'];
+ }
+
+ /**
+ * Sets row_version
+ *
+ * @param string|null $row_version A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
+ *
+ * @return self
+ */
+ public function setRowVersion($row_version)
+ {
+ $this->container['row_version'] = $row_version;
+
+ return $this;
+ }
+
+ /**
+ * Gets updated_by
+ *
+ * @return string|null
+ */
+ public function getUpdatedBy()
+ {
+ return $this->container['updated_by'];
+ }
+
+ /**
+ * Sets updated_by
+ *
+ * @param string|null $updated_by The user who last updated the object.
+ *
+ * @return self
+ */
+ public function setUpdatedBy($updated_by)
+ {
+ $this->container['updated_by'] = $updated_by;
+
+ return $this;
+ }
+
+ /**
+ * Gets created_by
+ *
+ * @return string|null
+ */
+ public function getCreatedBy()
+ {
+ return $this->container['created_by'];
+ }
+
+ /**
+ * Sets created_by
+ *
+ * @param string|null $created_by The user who created the object.
+ *
+ * @return self
+ */
+ public function setCreatedBy($created_by)
+ {
+ $this->container['created_by'] = $created_by;
+
+ return $this;
+ }
+
+ /**
+ * Gets updated_at
+ *
+ * @return \DateTime|null
+ */
+ public function getUpdatedAt()
+ {
+ return $this->container['updated_at'];
+ }
+
+ /**
+ * Sets updated_at
+ *
+ * @param \DateTime|null $updated_at The date and time when the object was last updated.
+ *
+ * @return self
+ */
+ public function setUpdatedAt($updated_at)
+ {
+ $this->container['updated_at'] = $updated_at;
+
+ return $this;
+ }
+
+ /**
+ * Gets created_at
+ *
+ * @return \DateTime|null
+ */
+ public function getCreatedAt()
+ {
+ return $this->container['created_at'];
+ }
+
+ /**
+ * Sets created_at
+ *
+ * @param \DateTime|null $created_at The date and time when the object was created.
+ *
+ * @return self
+ */
+ public function setCreatedAt($created_at)
+ {
+ $this->container['created_at'] = $created_at;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/AccountingLocationsFilter.php b/src/gen/lib/Model/AccountingLocationsFilter.php
new file mode 100644
index 000000000..4aa6dd9f3
--- /dev/null
+++ b/src/gen/lib/Model/AccountingLocationsFilter.php
@@ -0,0 +1,320 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class AccountingLocationsFilter implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'AccountingLocationsFilter';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'subsidiary' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'subsidiary' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'subsidiary' => 'subsidiary'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'subsidiary' => 'setSubsidiary'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'subsidiary' => 'getSubsidiary'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['subsidiary'] = $data['subsidiary'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets subsidiary
+ *
+ * @return string|null
+ */
+ public function getSubsidiary()
+ {
+ return $this->container['subsidiary'];
+ }
+
+ /**
+ * Sets subsidiary
+ *
+ * @param string|null $subsidiary Id of the subsidiary to search for
+ *
+ * @return self
+ */
+ public function setSubsidiary($subsidiary)
+ {
+ $this->container['subsidiary'] = $subsidiary;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/ActivitiesFilter.php b/src/gen/lib/Model/ActivitiesFilter.php
index f943d69b9..3c7a1b64d 100644
--- a/src/gen/lib/Model/ActivitiesFilter.php
+++ b/src/gen/lib/Model/ActivitiesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ActivitiesSort.php b/src/gen/lib/Model/ActivitiesSort.php
index 88cecbee4..673e8cf3e 100644
--- a/src/gen/lib/Model/ActivitiesSort.php
+++ b/src/gen/lib/Model/ActivitiesSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Activity.php b/src/gen/lib/Model/Activity.php
index a3fd0453c..894a19ef3 100644
--- a/src/gen/lib/Model/Activity.php
+++ b/src/gen/lib/Model/Activity.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ActivityAttendee.php b/src/gen/lib/Model/ActivityAttendee.php
index 3013a839a..eef9b28f4 100644
--- a/src/gen/lib/Model/ActivityAttendee.php
+++ b/src/gen/lib/Model/ActivityAttendee.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Address.php b/src/gen/lib/Model/Address.php
index c353ef95a..976208511 100644
--- a/src/gen/lib/Model/Address.php
+++ b/src/gen/lib/Model/Address.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Api.php b/src/gen/lib/Model/Api.php
index 1bfcbcaf5..f93b3f989 100644
--- a/src/gen/lib/Model/Api.php
+++ b/src/gen/lib/Model/Api.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApiResource.php b/src/gen/lib/Model/ApiResource.php
index 5fec712e9..4b0ece441 100644
--- a/src/gen/lib/Model/ApiResource.php
+++ b/src/gen/lib/Model/ApiResource.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApiResourceCoverage.php b/src/gen/lib/Model/ApiResourceCoverage.php
index 02c73c936..50caa567a 100644
--- a/src/gen/lib/Model/ApiResourceCoverage.php
+++ b/src/gen/lib/Model/ApiResourceCoverage.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApiResourceCoverageCoverage.php b/src/gen/lib/Model/ApiResourceCoverageCoverage.php
index 94cb3091d..76c4ecd19 100644
--- a/src/gen/lib/Model/ApiResourceCoverageCoverage.php
+++ b/src/gen/lib/Model/ApiResourceCoverageCoverage.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApiResourceLinkedResources.php b/src/gen/lib/Model/ApiResourceLinkedResources.php
index 826d59e74..ef7263f69 100644
--- a/src/gen/lib/Model/ApiResourceLinkedResources.php
+++ b/src/gen/lib/Model/ApiResourceLinkedResources.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApiResources.php b/src/gen/lib/Model/ApiResources.php
index d5f9ec603..69cfd8bee 100644
--- a/src/gen/lib/Model/ApiResources.php
+++ b/src/gen/lib/Model/ApiResources.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApiStatus.php b/src/gen/lib/Model/ApiStatus.php
index f693a1d0d..60ed1dadb 100644
--- a/src/gen/lib/Model/ApiStatus.php
+++ b/src/gen/lib/Model/ApiStatus.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApisFilter.php b/src/gen/lib/Model/ApisFilter.php
index 867d69a2b..96607a906 100644
--- a/src/gen/lib/Model/ApisFilter.php
+++ b/src/gen/lib/Model/ApisFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Applicant.php b/src/gen/lib/Model/Applicant.php
index 22b20ecf3..d902f1ed5 100644
--- a/src/gen/lib/Model/Applicant.php
+++ b/src/gen/lib/Model/Applicant.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApplicantSocialLinks.php b/src/gen/lib/Model/ApplicantSocialLinks.php
index 11fb19ad2..3746e6f51 100644
--- a/src/gen/lib/Model/ApplicantSocialLinks.php
+++ b/src/gen/lib/Model/ApplicantSocialLinks.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApplicantWebsites.php b/src/gen/lib/Model/ApplicantWebsites.php
index a2168f203..03370c412 100644
--- a/src/gen/lib/Model/ApplicantWebsites.php
+++ b/src/gen/lib/Model/ApplicantWebsites.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApplicantsFilter.php b/src/gen/lib/Model/ApplicantsFilter.php
index 4d097e7e0..065e1d562 100644
--- a/src/gen/lib/Model/ApplicantsFilter.php
+++ b/src/gen/lib/Model/ApplicantsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Application.php b/src/gen/lib/Model/Application.php
index 2a369c304..26b6dfc47 100644
--- a/src/gen/lib/Model/Application.php
+++ b/src/gen/lib/Model/Application.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ApplicationStage.php b/src/gen/lib/Model/ApplicationStage.php
index 40ae26652..0b3207836 100644
--- a/src/gen/lib/Model/ApplicationStage.php
+++ b/src/gen/lib/Model/ApplicationStage.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Assignee.php b/src/gen/lib/Model/Assignee.php
index 93140f00d..4efcf3d67 100644
--- a/src/gen/lib/Model/Assignee.php
+++ b/src/gen/lib/Model/Assignee.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/AtsActivity.php b/src/gen/lib/Model/AtsActivity.php
index 50412e86e..1d675a4d9 100644
--- a/src/gen/lib/Model/AtsActivity.php
+++ b/src/gen/lib/Model/AtsActivity.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/AtsEventType.php b/src/gen/lib/Model/AtsEventType.php
index dc2999023..b25019811 100644
--- a/src/gen/lib/Model/AtsEventType.php
+++ b/src/gen/lib/Model/AtsEventType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/AuthType.php b/src/gen/lib/Model/AuthType.php
index 27ce03599..9f2e70fdb 100644
--- a/src/gen/lib/Model/AuthType.php
+++ b/src/gen/lib/Model/AuthType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BadRequestResponse.php b/src/gen/lib/Model/BadRequestResponse.php
index b047b0c75..b358ad112 100644
--- a/src/gen/lib/Model/BadRequestResponse.php
+++ b/src/gen/lib/Model/BadRequestResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheet.php b/src/gen/lib/Model/BalanceSheet.php
index 04a11cd8b..d2d53a5e0 100644
--- a/src/gen/lib/Model/BalanceSheet.php
+++ b/src/gen/lib/Model/BalanceSheet.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetAssets.php b/src/gen/lib/Model/BalanceSheetAssets.php
index 6acb2d4c2..4e72cb3dc 100644
--- a/src/gen/lib/Model/BalanceSheetAssets.php
+++ b/src/gen/lib/Model/BalanceSheetAssets.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetAssetsCurrentAssets.php b/src/gen/lib/Model/BalanceSheetAssetsCurrentAssets.php
index f155e8c0f..e914d5cee 100644
--- a/src/gen/lib/Model/BalanceSheetAssetsCurrentAssets.php
+++ b/src/gen/lib/Model/BalanceSheetAssetsCurrentAssets.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetAssetsCurrentAssetsAccounts.php b/src/gen/lib/Model/BalanceSheetAssetsCurrentAssetsAccounts.php
index 54fffe874..6804ef01d 100644
--- a/src/gen/lib/Model/BalanceSheetAssetsCurrentAssetsAccounts.php
+++ b/src/gen/lib/Model/BalanceSheetAssetsCurrentAssetsAccounts.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetAssetsFixedAssets.php b/src/gen/lib/Model/BalanceSheetAssetsFixedAssets.php
index 1f7223d0b..221174932 100644
--- a/src/gen/lib/Model/BalanceSheetAssetsFixedAssets.php
+++ b/src/gen/lib/Model/BalanceSheetAssetsFixedAssets.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetAssetsFixedAssetsAccounts.php b/src/gen/lib/Model/BalanceSheetAssetsFixedAssetsAccounts.php
index 39e177bad..be971c8a7 100644
--- a/src/gen/lib/Model/BalanceSheetAssetsFixedAssetsAccounts.php
+++ b/src/gen/lib/Model/BalanceSheetAssetsFixedAssetsAccounts.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetEquity.php b/src/gen/lib/Model/BalanceSheetEquity.php
index 0c250518d..7f3e1ced9 100644
--- a/src/gen/lib/Model/BalanceSheetEquity.php
+++ b/src/gen/lib/Model/BalanceSheetEquity.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetEquityItems.php b/src/gen/lib/Model/BalanceSheetEquityItems.php
index 87e746356..693031328 100644
--- a/src/gen/lib/Model/BalanceSheetEquityItems.php
+++ b/src/gen/lib/Model/BalanceSheetEquityItems.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetFilter.php b/src/gen/lib/Model/BalanceSheetFilter.php
index 1fcf7cfc9..81fc2ed09 100644
--- a/src/gen/lib/Model/BalanceSheetFilter.php
+++ b/src/gen/lib/Model/BalanceSheetFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetLiabilities.php b/src/gen/lib/Model/BalanceSheetLiabilities.php
index b91bd460b..ec64b9ef3 100644
--- a/src/gen/lib/Model/BalanceSheetLiabilities.php
+++ b/src/gen/lib/Model/BalanceSheetLiabilities.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BalanceSheetLiabilitiesAccounts.php b/src/gen/lib/Model/BalanceSheetLiabilitiesAccounts.php
index 4c5f1066d..c2c9e7302 100644
--- a/src/gen/lib/Model/BalanceSheetLiabilitiesAccounts.php
+++ b/src/gen/lib/Model/BalanceSheetLiabilitiesAccounts.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BankAccount.php b/src/gen/lib/Model/BankAccount.php
index d88ac93ad..3fd4fdd46 100644
--- a/src/gen/lib/Model/BankAccount.php
+++ b/src/gen/lib/Model/BankAccount.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Benefit.php b/src/gen/lib/Model/Benefit.php
index 5b10f525a..0dd4d285c 100644
--- a/src/gen/lib/Model/Benefit.php
+++ b/src/gen/lib/Model/Benefit.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Bill.php b/src/gen/lib/Model/Bill.php
index 7631b50b2..bafa2e60c 100644
--- a/src/gen/lib/Model/Bill.php
+++ b/src/gen/lib/Model/Bill.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -63,6 +63,7 @@ class Bill implements ModelInterface, ArrayAccess, \JsonSerializable
'downstream_id' => 'string',
'bill_number' => 'string',
'supplier' => '\Apideck\Client\Model\LinkedSupplier',
+ 'company_id' => 'string',
'currency' => '\Apideck\Client\Model\Currency',
'currency_rate' => 'float',
'tax_inclusive' => 'bool',
@@ -108,6 +109,7 @@ class Bill implements ModelInterface, ArrayAccess, \JsonSerializable
'downstream_id' => null,
'bill_number' => null,
'supplier' => null,
+ 'company_id' => null,
'currency' => null,
'currency_rate' => null,
'tax_inclusive' => null,
@@ -172,6 +174,7 @@ public static function openAPIFormats()
'downstream_id' => 'downstream_id',
'bill_number' => 'bill_number',
'supplier' => 'supplier',
+ 'company_id' => 'company_id',
'currency' => 'currency',
'currency_rate' => 'currency_rate',
'tax_inclusive' => 'tax_inclusive',
@@ -215,6 +218,7 @@ public static function openAPIFormats()
'downstream_id' => 'setDownstreamId',
'bill_number' => 'setBillNumber',
'supplier' => 'setSupplier',
+ 'company_id' => 'setCompanyId',
'currency' => 'setCurrency',
'currency_rate' => 'setCurrencyRate',
'tax_inclusive' => 'setTaxInclusive',
@@ -258,6 +262,7 @@ public static function openAPIFormats()
'downstream_id' => 'getDownstreamId',
'bill_number' => 'getBillNumber',
'supplier' => 'getSupplier',
+ 'company_id' => 'getCompanyId',
'currency' => 'getCurrency',
'currency_rate' => 'getCurrencyRate',
'tax_inclusive' => 'getTaxInclusive',
@@ -379,6 +384,7 @@ public function __construct(array $data = null)
$this->container['downstream_id'] = $data['downstream_id'] ?? null;
$this->container['bill_number'] = $data['bill_number'] ?? null;
$this->container['supplier'] = $data['supplier'] ?? null;
+ $this->container['company_id'] = $data['company_id'] ?? null;
$this->container['currency'] = $data['currency'] ?? null;
$this->container['currency_rate'] = $data['currency_rate'] ?? null;
$this->container['tax_inclusive'] = $data['tax_inclusive'] ?? null;
@@ -541,6 +547,30 @@ public function setSupplier($supplier)
return $this;
}
+ /**
+ * Gets company_id
+ *
+ * @return string|null
+ */
+ public function getCompanyId()
+ {
+ return $this->container['company_id'];
+ }
+
+ /**
+ * Sets company_id
+ *
+ * @param string|null $company_id The company or subsidiary id the transaction belongs to
+ *
+ * @return self
+ */
+ public function setCompanyId($company_id)
+ {
+ $this->container['company_id'] = $company_id;
+
+ return $this;
+ }
+
/**
* Gets currency
*
diff --git a/src/gen/lib/Model/BillLineItem.php b/src/gen/lib/Model/BillLineItem.php
index cebc1b1ff..9fb0b9112 100644
--- a/src/gen/lib/Model/BillLineItem.php
+++ b/src/gen/lib/Model/BillLineItem.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -272,8 +272,9 @@ public function getModelName()
return self::$openAPIModelName;
}
- const TYPE_ITEM = 'expense_item';
- const TYPE_ACCOUNT = 'expense_account';
+ const TYPE_EXPENSE_ITEM = 'expense_item';
+ const TYPE_EXPENSE_ACCOUNT = 'expense_account';
+ const TYPE_OTHER = 'other';
/**
* Gets allowable values of the enum
@@ -283,8 +284,9 @@ public function getModelName()
public function getTypeAllowableValues()
{
return [
- self::TYPE_ITEM,
- self::TYPE_ACCOUNT,
+ self::TYPE_EXPENSE_ITEM,
+ self::TYPE_EXPENSE_ACCOUNT,
+ self::TYPE_OTHER,
];
}
diff --git a/src/gen/lib/Model/BillsFilter.php b/src/gen/lib/Model/BillsFilter.php
index 1165c5617..f00b2162e 100644
--- a/src/gen/lib/Model/BillsFilter.php
+++ b/src/gen/lib/Model/BillsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/BillsSort.php b/src/gen/lib/Model/BillsSort.php
index 929560387..003861779 100644
--- a/src/gen/lib/Model/BillsSort.php
+++ b/src/gen/lib/Model/BillsSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Branch.php b/src/gen/lib/Model/Branch.php
index 9c92f59bc..08c23665d 100644
--- a/src/gen/lib/Model/Branch.php
+++ b/src/gen/lib/Model/Branch.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CashDetails.php b/src/gen/lib/Model/CashDetails.php
index bf74ac9d6..ed4714c82 100644
--- a/src/gen/lib/Model/CashDetails.php
+++ b/src/gen/lib/Model/CashDetails.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Collection.php b/src/gen/lib/Model/Collection.php
index 88f3b0dc0..f0a989f57 100644
--- a/src/gen/lib/Model/Collection.php
+++ b/src/gen/lib/Model/Collection.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CollectionTag.php b/src/gen/lib/Model/CollectionTag.php
index 501b9c22e..347c7d920 100644
--- a/src/gen/lib/Model/CollectionTag.php
+++ b/src/gen/lib/Model/CollectionTag.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CollectionTicketComment.php b/src/gen/lib/Model/CollectionTicketComment.php
index 6ae74a0d5..565059b3b 100644
--- a/src/gen/lib/Model/CollectionTicketComment.php
+++ b/src/gen/lib/Model/CollectionTicketComment.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CollectionUser.php b/src/gen/lib/Model/CollectionUser.php
index 06c78c648..2e0dcb8a3 100644
--- a/src/gen/lib/Model/CollectionUser.php
+++ b/src/gen/lib/Model/CollectionUser.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CollectionsSort.php b/src/gen/lib/Model/CollectionsSort.php
index b646fed34..3e2ad892b 100644
--- a/src/gen/lib/Model/CollectionsSort.php
+++ b/src/gen/lib/Model/CollectionsSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CommentsSort.php b/src/gen/lib/Model/CommentsSort.php
index 976c5b9c8..0d5f05099 100644
--- a/src/gen/lib/Model/CommentsSort.php
+++ b/src/gen/lib/Model/CommentsSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CompaniesFilter.php b/src/gen/lib/Model/CompaniesFilter.php
index 89fc562d0..43e750eb3 100644
--- a/src/gen/lib/Model/CompaniesFilter.php
+++ b/src/gen/lib/Model/CompaniesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CompaniesSort.php b/src/gen/lib/Model/CompaniesSort.php
index 7a35725e5..f1dc59aef 100644
--- a/src/gen/lib/Model/CompaniesSort.php
+++ b/src/gen/lib/Model/CompaniesSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Company.php b/src/gen/lib/Model/Company.php
index 938a68ffd..510b39a64 100644
--- a/src/gen/lib/Model/Company.php
+++ b/src/gen/lib/Model/Company.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CompanyInfo.php b/src/gen/lib/Model/CompanyInfo.php
index f6bf67375..90ae52e37 100644
--- a/src/gen/lib/Model/CompanyInfo.php
+++ b/src/gen/lib/Model/CompanyInfo.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CompanyRowType.php b/src/gen/lib/Model/CompanyRowType.php
index 029a8f246..53f465e79 100644
--- a/src/gen/lib/Model/CompanyRowType.php
+++ b/src/gen/lib/Model/CompanyRowType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Compensation.php b/src/gen/lib/Model/Compensation.php
index 30e8fa7d1..eeaac186b 100644
--- a/src/gen/lib/Model/Compensation.php
+++ b/src/gen/lib/Model/Compensation.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Connection.php b/src/gen/lib/Model/Connection.php
index 4e0a7b64b..2ec0dfcfb 100644
--- a/src/gen/lib/Model/Connection.php
+++ b/src/gen/lib/Model/Connection.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectionConfiguration.php b/src/gen/lib/Model/ConnectionConfiguration.php
index 6b7ba4a60..8befe7518 100644
--- a/src/gen/lib/Model/ConnectionConfiguration.php
+++ b/src/gen/lib/Model/ConnectionConfiguration.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectionDefaults.php b/src/gen/lib/Model/ConnectionDefaults.php
index 28c06fb15..8b7eeb806 100644
--- a/src/gen/lib/Model/ConnectionDefaults.php
+++ b/src/gen/lib/Model/ConnectionDefaults.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectionImportData.php b/src/gen/lib/Model/ConnectionImportData.php
index 56dd26160..e43ac052e 100644
--- a/src/gen/lib/Model/ConnectionImportData.php
+++ b/src/gen/lib/Model/ConnectionImportData.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectionImportDataCredentials.php b/src/gen/lib/Model/ConnectionImportDataCredentials.php
index f2a6e1977..4dc43e335 100644
--- a/src/gen/lib/Model/ConnectionImportDataCredentials.php
+++ b/src/gen/lib/Model/ConnectionImportDataCredentials.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectionMetadata.php b/src/gen/lib/Model/ConnectionMetadata.php
index 98a4c2f6d..11a2cb370 100644
--- a/src/gen/lib/Model/ConnectionMetadata.php
+++ b/src/gen/lib/Model/ConnectionMetadata.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectionState.php b/src/gen/lib/Model/ConnectionState.php
index c336282d7..445b03cd5 100644
--- a/src/gen/lib/Model/ConnectionState.php
+++ b/src/gen/lib/Model/ConnectionState.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectionWebhook.php b/src/gen/lib/Model/ConnectionWebhook.php
index 96aa6ec2f..c7e7638a4 100644
--- a/src/gen/lib/Model/ConnectionWebhook.php
+++ b/src/gen/lib/Model/ConnectionWebhook.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Connector.php b/src/gen/lib/Model/Connector.php
index ee389bec1..cd9871f72 100644
--- a/src/gen/lib/Model/Connector.php
+++ b/src/gen/lib/Model/Connector.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorDoc.php b/src/gen/lib/Model/ConnectorDoc.php
index 47e059c0d..95fa95293 100644
--- a/src/gen/lib/Model/ConnectorDoc.php
+++ b/src/gen/lib/Model/ConnectorDoc.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorEvent.php b/src/gen/lib/Model/ConnectorEvent.php
index b3d71be9c..53f169f0a 100644
--- a/src/gen/lib/Model/ConnectorEvent.php
+++ b/src/gen/lib/Model/ConnectorEvent.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorOauthScopes.php b/src/gen/lib/Model/ConnectorOauthScopes.php
index 05056f81d..b003dbe3d 100644
--- a/src/gen/lib/Model/ConnectorOauthScopes.php
+++ b/src/gen/lib/Model/ConnectorOauthScopes.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorOauthScopes1.php b/src/gen/lib/Model/ConnectorOauthScopes1.php
index e2751e7d2..a6ab19e7e 100644
--- a/src/gen/lib/Model/ConnectorOauthScopes1.php
+++ b/src/gen/lib/Model/ConnectorOauthScopes1.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorResource.php b/src/gen/lib/Model/ConnectorResource.php
index 82542b55c..63508973b 100644
--- a/src/gen/lib/Model/ConnectorResource.php
+++ b/src/gen/lib/Model/ConnectorResource.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorSetting.php b/src/gen/lib/Model/ConnectorSetting.php
index 52bc54322..14d8c6032 100644
--- a/src/gen/lib/Model/ConnectorSetting.php
+++ b/src/gen/lib/Model/ConnectorSetting.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorStatus.php b/src/gen/lib/Model/ConnectorStatus.php
index d0bb1cb12..8071d560d 100644
--- a/src/gen/lib/Model/ConnectorStatus.php
+++ b/src/gen/lib/Model/ConnectorStatus.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorTlsSupport.php b/src/gen/lib/Model/ConnectorTlsSupport.php
index 03e9eab2d..10cbc6b0c 100644
--- a/src/gen/lib/Model/ConnectorTlsSupport.php
+++ b/src/gen/lib/Model/ConnectorTlsSupport.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorUnifiedApis.php b/src/gen/lib/Model/ConnectorUnifiedApis.php
index c050ea7d0..be5c55c07 100644
--- a/src/gen/lib/Model/ConnectorUnifiedApis.php
+++ b/src/gen/lib/Model/ConnectorUnifiedApis.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConnectorsFilter.php b/src/gen/lib/Model/ConnectorsFilter.php
index 7612c6e27..62855d3f0 100644
--- a/src/gen/lib/Model/ConnectorsFilter.php
+++ b/src/gen/lib/Model/ConnectorsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Consumer.php b/src/gen/lib/Model/Consumer.php
index 3ba6703cb..36df8f97b 100644
--- a/src/gen/lib/Model/Consumer.php
+++ b/src/gen/lib/Model/Consumer.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConsumerConnection.php b/src/gen/lib/Model/ConsumerConnection.php
index e295892f4..1247febc0 100644
--- a/src/gen/lib/Model/ConsumerConnection.php
+++ b/src/gen/lib/Model/ConsumerConnection.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConsumerMetadata.php b/src/gen/lib/Model/ConsumerMetadata.php
index 3e9d46169..cff4adaba 100644
--- a/src/gen/lib/Model/ConsumerMetadata.php
+++ b/src/gen/lib/Model/ConsumerMetadata.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponse.php b/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponse.php
index 489f258d0..a83c3dad5 100644
--- a/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponse.php
+++ b/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponseData.php b/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponseData.php
index 99491f394..d91afcc0f 100644
--- a/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponseData.php
+++ b/src/gen/lib/Model/ConsumerRequestCountsInDateRangeResponseData.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Contact.php b/src/gen/lib/Model/Contact.php
index 8eb6e033f..a623ad180 100644
--- a/src/gen/lib/Model/Contact.php
+++ b/src/gen/lib/Model/Contact.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ContactsFilter.php b/src/gen/lib/Model/ContactsFilter.php
index 21393de63..77be4ee78 100644
--- a/src/gen/lib/Model/ContactsFilter.php
+++ b/src/gen/lib/Model/ContactsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ContactsSort.php b/src/gen/lib/Model/ContactsSort.php
index d9f928d1d..ff18deb3e 100644
--- a/src/gen/lib/Model/ContactsSort.php
+++ b/src/gen/lib/Model/ContactsSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CopyFolderRequest.php b/src/gen/lib/Model/CopyFolderRequest.php
index ce5156e00..d51510e59 100644
--- a/src/gen/lib/Model/CopyFolderRequest.php
+++ b/src/gen/lib/Model/CopyFolderRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateAccountingDepartmentResponse.php b/src/gen/lib/Model/CreateAccountingDepartmentResponse.php
new file mode 100644
index 000000000..ace180a73
--- /dev/null
+++ b/src/gen/lib/Model/CreateAccountingDepartmentResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class CreateAccountingDepartmentResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'CreateAccountingDepartmentResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\UnifiedId'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\UnifiedId
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\UnifiedId $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/CreateAccountingLocationResponse.php b/src/gen/lib/Model/CreateAccountingLocationResponse.php
new file mode 100644
index 000000000..95c341168
--- /dev/null
+++ b/src/gen/lib/Model/CreateAccountingLocationResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class CreateAccountingLocationResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'CreateAccountingLocationResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\UnifiedId'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\UnifiedId
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\UnifiedId $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/CreateActivityResponse.php b/src/gen/lib/Model/CreateActivityResponse.php
index 24e0619c6..fdbd02866 100644
--- a/src/gen/lib/Model/CreateActivityResponse.php
+++ b/src/gen/lib/Model/CreateActivityResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateApplicantResponse.php b/src/gen/lib/Model/CreateApplicantResponse.php
index db8e13f5b..4de512866 100644
--- a/src/gen/lib/Model/CreateApplicantResponse.php
+++ b/src/gen/lib/Model/CreateApplicantResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateApplicationResponse.php b/src/gen/lib/Model/CreateApplicationResponse.php
index 108b47ff2..75965a3b9 100644
--- a/src/gen/lib/Model/CreateApplicationResponse.php
+++ b/src/gen/lib/Model/CreateApplicationResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateBillResponse.php b/src/gen/lib/Model/CreateBillResponse.php
index 7654cabec..c86d2fb95 100644
--- a/src/gen/lib/Model/CreateBillResponse.php
+++ b/src/gen/lib/Model/CreateBillResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateCommentResponse.php b/src/gen/lib/Model/CreateCommentResponse.php
index 6eeb78ae1..06de7baa0 100644
--- a/src/gen/lib/Model/CreateCommentResponse.php
+++ b/src/gen/lib/Model/CreateCommentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateCompanyResponse.php b/src/gen/lib/Model/CreateCompanyResponse.php
index f3f5c7371..b1f4de7a4 100644
--- a/src/gen/lib/Model/CreateCompanyResponse.php
+++ b/src/gen/lib/Model/CreateCompanyResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateConnectionResponse.php b/src/gen/lib/Model/CreateConnectionResponse.php
index 922ba7c36..3ee92f849 100644
--- a/src/gen/lib/Model/CreateConnectionResponse.php
+++ b/src/gen/lib/Model/CreateConnectionResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateConsumerResponse.php b/src/gen/lib/Model/CreateConsumerResponse.php
index aa0750406..373a533f1 100644
--- a/src/gen/lib/Model/CreateConsumerResponse.php
+++ b/src/gen/lib/Model/CreateConsumerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateContactResponse.php b/src/gen/lib/Model/CreateContactResponse.php
index 28e6feef3..b69af2575 100644
--- a/src/gen/lib/Model/CreateContactResponse.php
+++ b/src/gen/lib/Model/CreateContactResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateCreditNoteResponse.php b/src/gen/lib/Model/CreateCreditNoteResponse.php
index 09f472056..05cd11bf4 100644
--- a/src/gen/lib/Model/CreateCreditNoteResponse.php
+++ b/src/gen/lib/Model/CreateCreditNoteResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateCustomMappingRequest.php b/src/gen/lib/Model/CreateCustomMappingRequest.php
index 3fb77a61b..f4d29d754 100644
--- a/src/gen/lib/Model/CreateCustomMappingRequest.php
+++ b/src/gen/lib/Model/CreateCustomMappingRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateCustomMappingResponse.php b/src/gen/lib/Model/CreateCustomMappingResponse.php
index bfa618593..e115d3210 100644
--- a/src/gen/lib/Model/CreateCustomMappingResponse.php
+++ b/src/gen/lib/Model/CreateCustomMappingResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateCustomerResponse.php b/src/gen/lib/Model/CreateCustomerResponse.php
index f74e380a1..b7a6e4f4f 100644
--- a/src/gen/lib/Model/CreateCustomerResponse.php
+++ b/src/gen/lib/Model/CreateCustomerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateDepartmentResponse.php b/src/gen/lib/Model/CreateDepartmentResponse.php
index 9423dcc91..aef886e82 100644
--- a/src/gen/lib/Model/CreateDepartmentResponse.php
+++ b/src/gen/lib/Model/CreateDepartmentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateDriveGroupResponse.php b/src/gen/lib/Model/CreateDriveGroupResponse.php
index a735b5bcf..33aee4212 100644
--- a/src/gen/lib/Model/CreateDriveGroupResponse.php
+++ b/src/gen/lib/Model/CreateDriveGroupResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateDriveResponse.php b/src/gen/lib/Model/CreateDriveResponse.php
index c3c9794a0..2e33bec5f 100644
--- a/src/gen/lib/Model/CreateDriveResponse.php
+++ b/src/gen/lib/Model/CreateDriveResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateEcommerceCustomerResponse.php b/src/gen/lib/Model/CreateEcommerceCustomerResponse.php
index c8b3b97a0..a9edd8e72 100644
--- a/src/gen/lib/Model/CreateEcommerceCustomerResponse.php
+++ b/src/gen/lib/Model/CreateEcommerceCustomerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateEcommerceOrderResponse.php b/src/gen/lib/Model/CreateEcommerceOrderResponse.php
index 11947ad61..a58fe7684 100644
--- a/src/gen/lib/Model/CreateEcommerceOrderResponse.php
+++ b/src/gen/lib/Model/CreateEcommerceOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateEmployeeResponse.php b/src/gen/lib/Model/CreateEmployeeResponse.php
index a849a6a8f..64afa0ead 100644
--- a/src/gen/lib/Model/CreateEmployeeResponse.php
+++ b/src/gen/lib/Model/CreateEmployeeResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateFileRequest.php b/src/gen/lib/Model/CreateFileRequest.php
index 900b05470..a352358fd 100644
--- a/src/gen/lib/Model/CreateFileRequest.php
+++ b/src/gen/lib/Model/CreateFileRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateFileResponse.php b/src/gen/lib/Model/CreateFileResponse.php
index 3a2babe0d..18dd75bc6 100644
--- a/src/gen/lib/Model/CreateFileResponse.php
+++ b/src/gen/lib/Model/CreateFileResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateFolderRequest.php b/src/gen/lib/Model/CreateFolderRequest.php
index a50b92608..72cee580e 100644
--- a/src/gen/lib/Model/CreateFolderRequest.php
+++ b/src/gen/lib/Model/CreateFolderRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateFolderResponse.php b/src/gen/lib/Model/CreateFolderResponse.php
index 8d10baacd..1cb561e3d 100644
--- a/src/gen/lib/Model/CreateFolderResponse.php
+++ b/src/gen/lib/Model/CreateFolderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateHrisCompanyResponse.php b/src/gen/lib/Model/CreateHrisCompanyResponse.php
index df9f18f6b..b187ce99d 100644
--- a/src/gen/lib/Model/CreateHrisCompanyResponse.php
+++ b/src/gen/lib/Model/CreateHrisCompanyResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateInvoiceItemResponse.php b/src/gen/lib/Model/CreateInvoiceItemResponse.php
index ef4047b25..6c5e6144f 100644
--- a/src/gen/lib/Model/CreateInvoiceItemResponse.php
+++ b/src/gen/lib/Model/CreateInvoiceItemResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateInvoiceResponse.php b/src/gen/lib/Model/CreateInvoiceResponse.php
index 8eca5eff9..418573bc9 100644
--- a/src/gen/lib/Model/CreateInvoiceResponse.php
+++ b/src/gen/lib/Model/CreateInvoiceResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateItemResponse.php b/src/gen/lib/Model/CreateItemResponse.php
index 85a833abe..b5243b194 100644
--- a/src/gen/lib/Model/CreateItemResponse.php
+++ b/src/gen/lib/Model/CreateItemResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateJobResponse.php b/src/gen/lib/Model/CreateJobResponse.php
index 4e87c7d29..c1237c944 100644
--- a/src/gen/lib/Model/CreateJobResponse.php
+++ b/src/gen/lib/Model/CreateJobResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateJournalEntryResponse.php b/src/gen/lib/Model/CreateJournalEntryResponse.php
index fa5afe490..4f40ff1cd 100644
--- a/src/gen/lib/Model/CreateJournalEntryResponse.php
+++ b/src/gen/lib/Model/CreateJournalEntryResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateLeadResponse.php b/src/gen/lib/Model/CreateLeadResponse.php
index 39755a2a2..b68bc2c68 100644
--- a/src/gen/lib/Model/CreateLeadResponse.php
+++ b/src/gen/lib/Model/CreateLeadResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateLedgerAccountResponse.php b/src/gen/lib/Model/CreateLedgerAccountResponse.php
index 7feacb06a..d6fba8b19 100644
--- a/src/gen/lib/Model/CreateLedgerAccountResponse.php
+++ b/src/gen/lib/Model/CreateLedgerAccountResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateLocationResponse.php b/src/gen/lib/Model/CreateLocationResponse.php
index ce6fedf3d..3a5a576d2 100644
--- a/src/gen/lib/Model/CreateLocationResponse.php
+++ b/src/gen/lib/Model/CreateLocationResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateMerchantResponse.php b/src/gen/lib/Model/CreateMerchantResponse.php
index 0020c33c5..09fdc2a57 100644
--- a/src/gen/lib/Model/CreateMerchantResponse.php
+++ b/src/gen/lib/Model/CreateMerchantResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateMessageResponse.php b/src/gen/lib/Model/CreateMessageResponse.php
index 959136eff..0190e97a2 100644
--- a/src/gen/lib/Model/CreateMessageResponse.php
+++ b/src/gen/lib/Model/CreateMessageResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateModifierGroupResponse.php b/src/gen/lib/Model/CreateModifierGroupResponse.php
index b7503275d..cacc0ca99 100644
--- a/src/gen/lib/Model/CreateModifierGroupResponse.php
+++ b/src/gen/lib/Model/CreateModifierGroupResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateModifierResponse.php b/src/gen/lib/Model/CreateModifierResponse.php
index c3d758648..c8c3383fe 100644
--- a/src/gen/lib/Model/CreateModifierResponse.php
+++ b/src/gen/lib/Model/CreateModifierResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateNoteResponse.php b/src/gen/lib/Model/CreateNoteResponse.php
index ac874cee9..acb9dc82b 100644
--- a/src/gen/lib/Model/CreateNoteResponse.php
+++ b/src/gen/lib/Model/CreateNoteResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateOpportunityResponse.php b/src/gen/lib/Model/CreateOpportunityResponse.php
index 0f8ae70f3..c3054120f 100644
--- a/src/gen/lib/Model/CreateOpportunityResponse.php
+++ b/src/gen/lib/Model/CreateOpportunityResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateOrderResponse.php b/src/gen/lib/Model/CreateOrderResponse.php
index 8c54161fb..88fd33d11 100644
--- a/src/gen/lib/Model/CreateOrderResponse.php
+++ b/src/gen/lib/Model/CreateOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateOrderTypeResponse.php b/src/gen/lib/Model/CreateOrderTypeResponse.php
index 9ba8e761a..3c5243478 100644
--- a/src/gen/lib/Model/CreateOrderTypeResponse.php
+++ b/src/gen/lib/Model/CreateOrderTypeResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreatePaymentResponse.php b/src/gen/lib/Model/CreatePaymentResponse.php
index 5b1c440f3..1c1fd5dad 100644
--- a/src/gen/lib/Model/CreatePaymentResponse.php
+++ b/src/gen/lib/Model/CreatePaymentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreatePipelineResponse.php b/src/gen/lib/Model/CreatePipelineResponse.php
index f6ea39900..37faf44ef 100644
--- a/src/gen/lib/Model/CreatePipelineResponse.php
+++ b/src/gen/lib/Model/CreatePipelineResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreatePosPaymentResponse.php b/src/gen/lib/Model/CreatePosPaymentResponse.php
index 8d83bba91..903f4e6e6 100644
--- a/src/gen/lib/Model/CreatePosPaymentResponse.php
+++ b/src/gen/lib/Model/CreatePosPaymentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateProductResponse.php b/src/gen/lib/Model/CreateProductResponse.php
index 375ec00d1..4a43e4aad 100644
--- a/src/gen/lib/Model/CreateProductResponse.php
+++ b/src/gen/lib/Model/CreateProductResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreatePurchaseOrderResponse.php b/src/gen/lib/Model/CreatePurchaseOrderResponse.php
index 8afe99347..faa37fa89 100644
--- a/src/gen/lib/Model/CreatePurchaseOrderResponse.php
+++ b/src/gen/lib/Model/CreatePurchaseOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateSessionResponse.php b/src/gen/lib/Model/CreateSessionResponse.php
index ccfa89a5f..e8fb051dd 100644
--- a/src/gen/lib/Model/CreateSessionResponse.php
+++ b/src/gen/lib/Model/CreateSessionResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateSessionResponseData.php b/src/gen/lib/Model/CreateSessionResponseData.php
index 1f2e9cd70..12967b68d 100644
--- a/src/gen/lib/Model/CreateSessionResponseData.php
+++ b/src/gen/lib/Model/CreateSessionResponseData.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateSharedLinkResponse.php b/src/gen/lib/Model/CreateSharedLinkResponse.php
index 21916b8f4..a57dbef6b 100644
--- a/src/gen/lib/Model/CreateSharedLinkResponse.php
+++ b/src/gen/lib/Model/CreateSharedLinkResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateSubsidiaryResponse.php b/src/gen/lib/Model/CreateSubsidiaryResponse.php
new file mode 100644
index 000000000..f99b3db6a
--- /dev/null
+++ b/src/gen/lib/Model/CreateSubsidiaryResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class CreateSubsidiaryResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'CreateSubsidiaryResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\UnifiedId'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\UnifiedId
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\UnifiedId $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/CreateSupplierResponse.php b/src/gen/lib/Model/CreateSupplierResponse.php
index a38e40446..94d6b8408 100644
--- a/src/gen/lib/Model/CreateSupplierResponse.php
+++ b/src/gen/lib/Model/CreateSupplierResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateTaxRateResponse.php b/src/gen/lib/Model/CreateTaxRateResponse.php
index 1fc629510..fff2d4261 100644
--- a/src/gen/lib/Model/CreateTaxRateResponse.php
+++ b/src/gen/lib/Model/CreateTaxRateResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateTenderResponse.php b/src/gen/lib/Model/CreateTenderResponse.php
index 6408417c0..62315821c 100644
--- a/src/gen/lib/Model/CreateTenderResponse.php
+++ b/src/gen/lib/Model/CreateTenderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateTicketResponse.php b/src/gen/lib/Model/CreateTicketResponse.php
index 9c6a69c4b..798052a64 100644
--- a/src/gen/lib/Model/CreateTicketResponse.php
+++ b/src/gen/lib/Model/CreateTicketResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateTimeOffRequestResponse.php b/src/gen/lib/Model/CreateTimeOffRequestResponse.php
index 26b116114..038948083 100644
--- a/src/gen/lib/Model/CreateTimeOffRequestResponse.php
+++ b/src/gen/lib/Model/CreateTimeOffRequestResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateUploadSessionRequest.php b/src/gen/lib/Model/CreateUploadSessionRequest.php
index 3824ef996..eb0e874b0 100644
--- a/src/gen/lib/Model/CreateUploadSessionRequest.php
+++ b/src/gen/lib/Model/CreateUploadSessionRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateUploadSessionResponse.php b/src/gen/lib/Model/CreateUploadSessionResponse.php
index 302e147bd..6326e506c 100644
--- a/src/gen/lib/Model/CreateUploadSessionResponse.php
+++ b/src/gen/lib/Model/CreateUploadSessionResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateUserResponse.php b/src/gen/lib/Model/CreateUserResponse.php
index a4b95102f..4f3f2ad3e 100644
--- a/src/gen/lib/Model/CreateUserResponse.php
+++ b/src/gen/lib/Model/CreateUserResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateWebhookRequest.php b/src/gen/lib/Model/CreateWebhookRequest.php
index 8db3e6104..9b3e6f578 100644
--- a/src/gen/lib/Model/CreateWebhookRequest.php
+++ b/src/gen/lib/Model/CreateWebhookRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreateWebhookResponse.php b/src/gen/lib/Model/CreateWebhookResponse.php
index 24558fee6..f49ca93e9 100644
--- a/src/gen/lib/Model/CreateWebhookResponse.php
+++ b/src/gen/lib/Model/CreateWebhookResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreditNote.php b/src/gen/lib/Model/CreditNote.php
index 8735e558a..5c841b551 100644
--- a/src/gen/lib/Model/CreditNote.php
+++ b/src/gen/lib/Model/CreditNote.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -63,6 +63,7 @@ class CreditNote implements ModelInterface, ArrayAccess, \JsonSerializable
'total_amount' => 'float',
'number' => 'string',
'customer' => '\Apideck\Client\Model\LinkedCustomer',
+ 'company_id' => 'string',
'currency' => '\Apideck\Client\Model\Currency',
'currency_rate' => 'float',
'tax_inclusive' => 'bool',
@@ -101,6 +102,7 @@ class CreditNote implements ModelInterface, ArrayAccess, \JsonSerializable
'total_amount' => null,
'number' => null,
'customer' => null,
+ 'company_id' => null,
'currency' => null,
'currency_rate' => null,
'tax_inclusive' => null,
@@ -158,6 +160,7 @@ public static function openAPIFormats()
'total_amount' => 'total_amount',
'number' => 'number',
'customer' => 'customer',
+ 'company_id' => 'company_id',
'currency' => 'currency',
'currency_rate' => 'currency_rate',
'tax_inclusive' => 'tax_inclusive',
@@ -194,6 +197,7 @@ public static function openAPIFormats()
'total_amount' => 'setTotalAmount',
'number' => 'setNumber',
'customer' => 'setCustomer',
+ 'company_id' => 'setCompanyId',
'currency' => 'setCurrency',
'currency_rate' => 'setCurrencyRate',
'tax_inclusive' => 'setTaxInclusive',
@@ -230,6 +234,7 @@ public static function openAPIFormats()
'total_amount' => 'getTotalAmount',
'number' => 'getNumber',
'customer' => 'getCustomer',
+ 'company_id' => 'getCompanyId',
'currency' => 'getCurrency',
'currency_rate' => 'getCurrencyRate',
'tax_inclusive' => 'getTaxInclusive',
@@ -353,6 +358,7 @@ public function __construct(array $data = null)
$this->container['total_amount'] = $data['total_amount'] ?? null;
$this->container['number'] = $data['number'] ?? null;
$this->container['customer'] = $data['customer'] ?? null;
+ $this->container['company_id'] = $data['company_id'] ?? null;
$this->container['currency'] = $data['currency'] ?? null;
$this->container['currency_rate'] = $data['currency_rate'] ?? null;
$this->container['tax_inclusive'] = $data['tax_inclusive'] ?? null;
@@ -523,6 +529,30 @@ public function setCustomer($customer)
return $this;
}
+ /**
+ * Gets company_id
+ *
+ * @return string|null
+ */
+ public function getCompanyId()
+ {
+ return $this->container['company_id'];
+ }
+
+ /**
+ * Sets company_id
+ *
+ * @param string|null $company_id The company or subsidiary id the transaction belongs to
+ *
+ * @return self
+ */
+ public function setCompanyId($company_id)
+ {
+ $this->container['company_id'] = $company_id;
+
+ return $this;
+ }
+
/**
* Gets currency
*
diff --git a/src/gen/lib/Model/CreditNotesFilter.php b/src/gen/lib/Model/CreditNotesFilter.php
index 31f83f9af..a8e07c29a 100644
--- a/src/gen/lib/Model/CreditNotesFilter.php
+++ b/src/gen/lib/Model/CreditNotesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CreditNotesSort.php b/src/gen/lib/Model/CreditNotesSort.php
index db7cb1c2b..e8e236f9a 100644
--- a/src/gen/lib/Model/CreditNotesSort.php
+++ b/src/gen/lib/Model/CreditNotesSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CrmEventType.php b/src/gen/lib/Model/CrmEventType.php
index 270161a1b..cce2ef138 100644
--- a/src/gen/lib/Model/CrmEventType.php
+++ b/src/gen/lib/Model/CrmEventType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Currency.php b/src/gen/lib/Model/Currency.php
index 52a2cfb71..c461ca404 100644
--- a/src/gen/lib/Model/Currency.php
+++ b/src/gen/lib/Model/Currency.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CustomField.php b/src/gen/lib/Model/CustomField.php
index daceeec7e..9426f6fdd 100644
--- a/src/gen/lib/Model/CustomField.php
+++ b/src/gen/lib/Model/CustomField.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CustomFieldFinder.php b/src/gen/lib/Model/CustomFieldFinder.php
index bc11b8a59..dbef19664 100644
--- a/src/gen/lib/Model/CustomFieldFinder.php
+++ b/src/gen/lib/Model/CustomFieldFinder.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CustomMapping.php b/src/gen/lib/Model/CustomMapping.php
index c49307a07..cc982a512 100644
--- a/src/gen/lib/Model/CustomMapping.php
+++ b/src/gen/lib/Model/CustomMapping.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Customer.php b/src/gen/lib/Model/Customer.php
index 6ab13c27b..d1a0774ae 100644
--- a/src/gen/lib/Model/Customer.php
+++ b/src/gen/lib/Model/Customer.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -64,6 +64,7 @@ class Customer implements ModelInterface, ArrayAccess, \JsonSerializable
'display_id' => 'string',
'display_name' => 'string',
'company_name' => 'string',
+ 'company_id' => 'string',
'title' => 'string',
'first_name' => 'string',
'middle_name' => 'string',
@@ -106,6 +107,7 @@ class Customer implements ModelInterface, ArrayAccess, \JsonSerializable
'display_id' => null,
'display_name' => null,
'company_name' => null,
+ 'company_id' => null,
'title' => null,
'first_name' => null,
'middle_name' => null,
@@ -167,6 +169,7 @@ public static function openAPIFormats()
'display_id' => 'display_id',
'display_name' => 'display_name',
'company_name' => 'company_name',
+ 'company_id' => 'company_id',
'title' => 'title',
'first_name' => 'first_name',
'middle_name' => 'middle_name',
@@ -207,6 +210,7 @@ public static function openAPIFormats()
'display_id' => 'setDisplayId',
'display_name' => 'setDisplayName',
'company_name' => 'setCompanyName',
+ 'company_id' => 'setCompanyId',
'title' => 'setTitle',
'first_name' => 'setFirstName',
'middle_name' => 'setMiddleName',
@@ -247,6 +251,7 @@ public static function openAPIFormats()
'display_id' => 'getDisplayId',
'display_name' => 'getDisplayName',
'company_name' => 'getCompanyName',
+ 'company_id' => 'getCompanyId',
'title' => 'getTitle',
'first_name' => 'getFirstName',
'middle_name' => 'getMiddleName',
@@ -359,6 +364,7 @@ public function __construct(array $data = null)
$this->container['display_id'] = $data['display_id'] ?? null;
$this->container['display_name'] = $data['display_name'] ?? null;
$this->container['company_name'] = $data['company_name'] ?? null;
+ $this->container['company_id'] = $data['company_id'] ?? null;
$this->container['title'] = $data['title'] ?? null;
$this->container['first_name'] = $data['first_name'] ?? null;
$this->container['middle_name'] = $data['middle_name'] ?? null;
@@ -544,6 +550,30 @@ public function setCompanyName($company_name)
return $this;
}
+ /**
+ * Gets company_id
+ *
+ * @return string|null
+ */
+ public function getCompanyId()
+ {
+ return $this->container['company_id'];
+ }
+
+ /**
+ * Sets company_id
+ *
+ * @param string|null $company_id The company or subsidiary id the transaction belongs to
+ *
+ * @return self
+ */
+ public function setCompanyId($company_id)
+ {
+ $this->container['company_id'] = $company_id;
+
+ return $this;
+ }
+
/**
* Gets title
*
diff --git a/src/gen/lib/Model/CustomersFilter.php b/src/gen/lib/Model/CustomersFilter.php
index d8f6ab2d1..9a634ba07 100644
--- a/src/gen/lib/Model/CustomersFilter.php
+++ b/src/gen/lib/Model/CustomersFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/CustomersSort.php b/src/gen/lib/Model/CustomersSort.php
index 081fd4237..1684d9b06 100644
--- a/src/gen/lib/Model/CustomersSort.php
+++ b/src/gen/lib/Model/CustomersSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Deduction.php b/src/gen/lib/Model/Deduction.php
index 79e2f1791..3af1d467c 100644
--- a/src/gen/lib/Model/Deduction.php
+++ b/src/gen/lib/Model/Deduction.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteAccountingDepartmentResponse.php b/src/gen/lib/Model/DeleteAccountingDepartmentResponse.php
new file mode 100644
index 000000000..bb624e3e8
--- /dev/null
+++ b/src/gen/lib/Model/DeleteAccountingDepartmentResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class DeleteAccountingDepartmentResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'DeleteAccountingDepartmentResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\UnifiedId'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\UnifiedId
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\UnifiedId $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/DeleteAccountingLocationResponse.php b/src/gen/lib/Model/DeleteAccountingLocationResponse.php
new file mode 100644
index 000000000..5806bb3fd
--- /dev/null
+++ b/src/gen/lib/Model/DeleteAccountingLocationResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class DeleteAccountingLocationResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'DeleteAccountingLocationResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\UnifiedId'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\UnifiedId
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\UnifiedId $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/DeleteActivityResponse.php b/src/gen/lib/Model/DeleteActivityResponse.php
index 0615f8d71..97721577a 100644
--- a/src/gen/lib/Model/DeleteActivityResponse.php
+++ b/src/gen/lib/Model/DeleteActivityResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteApplicantResponse.php b/src/gen/lib/Model/DeleteApplicantResponse.php
index 763e76e71..7abfbc5d7 100644
--- a/src/gen/lib/Model/DeleteApplicantResponse.php
+++ b/src/gen/lib/Model/DeleteApplicantResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteApplicationResponse.php b/src/gen/lib/Model/DeleteApplicationResponse.php
index da35eb05b..a4514c83e 100644
--- a/src/gen/lib/Model/DeleteApplicationResponse.php
+++ b/src/gen/lib/Model/DeleteApplicationResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteBillResponse.php b/src/gen/lib/Model/DeleteBillResponse.php
index 61ff7f28d..c7b72be8d 100644
--- a/src/gen/lib/Model/DeleteBillResponse.php
+++ b/src/gen/lib/Model/DeleteBillResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteCommentResponse.php b/src/gen/lib/Model/DeleteCommentResponse.php
index a4b90f5d9..30aaa72e2 100644
--- a/src/gen/lib/Model/DeleteCommentResponse.php
+++ b/src/gen/lib/Model/DeleteCommentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteCompanyResponse.php b/src/gen/lib/Model/DeleteCompanyResponse.php
index 966f08d16..fb7b31b87 100644
--- a/src/gen/lib/Model/DeleteCompanyResponse.php
+++ b/src/gen/lib/Model/DeleteCompanyResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteConsumerResponse.php b/src/gen/lib/Model/DeleteConsumerResponse.php
index 9aeb7e435..e3673fa00 100644
--- a/src/gen/lib/Model/DeleteConsumerResponse.php
+++ b/src/gen/lib/Model/DeleteConsumerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteContactResponse.php b/src/gen/lib/Model/DeleteContactResponse.php
index 9f26a64ea..4a640da3e 100644
--- a/src/gen/lib/Model/DeleteContactResponse.php
+++ b/src/gen/lib/Model/DeleteContactResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteCreditNoteResponse.php b/src/gen/lib/Model/DeleteCreditNoteResponse.php
index 3621abf81..1f8b0abec 100644
--- a/src/gen/lib/Model/DeleteCreditNoteResponse.php
+++ b/src/gen/lib/Model/DeleteCreditNoteResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteCustomerResponse.php b/src/gen/lib/Model/DeleteCustomerResponse.php
index 7091c17d0..fdf23ad95 100644
--- a/src/gen/lib/Model/DeleteCustomerResponse.php
+++ b/src/gen/lib/Model/DeleteCustomerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteDepartmentResponse.php b/src/gen/lib/Model/DeleteDepartmentResponse.php
index e8649ae93..cfd253e05 100644
--- a/src/gen/lib/Model/DeleteDepartmentResponse.php
+++ b/src/gen/lib/Model/DeleteDepartmentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteDriveGroupResponse.php b/src/gen/lib/Model/DeleteDriveGroupResponse.php
index 2f65b4f0e..58f671bc0 100644
--- a/src/gen/lib/Model/DeleteDriveGroupResponse.php
+++ b/src/gen/lib/Model/DeleteDriveGroupResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteDriveResponse.php b/src/gen/lib/Model/DeleteDriveResponse.php
index cb9620116..3a3af9a1c 100644
--- a/src/gen/lib/Model/DeleteDriveResponse.php
+++ b/src/gen/lib/Model/DeleteDriveResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteEcommerceCustomerResponse.php b/src/gen/lib/Model/DeleteEcommerceCustomerResponse.php
index 8c9496ff9..c57dfbcbd 100644
--- a/src/gen/lib/Model/DeleteEcommerceCustomerResponse.php
+++ b/src/gen/lib/Model/DeleteEcommerceCustomerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteEcommerceOrderResponse.php b/src/gen/lib/Model/DeleteEcommerceOrderResponse.php
index a5931944a..b2eb78088 100644
--- a/src/gen/lib/Model/DeleteEcommerceOrderResponse.php
+++ b/src/gen/lib/Model/DeleteEcommerceOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteEmployeeResponse.php b/src/gen/lib/Model/DeleteEmployeeResponse.php
index 34cf133ca..a68ba1c8c 100644
--- a/src/gen/lib/Model/DeleteEmployeeResponse.php
+++ b/src/gen/lib/Model/DeleteEmployeeResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteFileResponse.php b/src/gen/lib/Model/DeleteFileResponse.php
index 5cfefd1a9..33eca6756 100644
--- a/src/gen/lib/Model/DeleteFileResponse.php
+++ b/src/gen/lib/Model/DeleteFileResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteFolderResponse.php b/src/gen/lib/Model/DeleteFolderResponse.php
index 5b224ad59..0d3716351 100644
--- a/src/gen/lib/Model/DeleteFolderResponse.php
+++ b/src/gen/lib/Model/DeleteFolderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteHrisCompanyResponse.php b/src/gen/lib/Model/DeleteHrisCompanyResponse.php
index e2fa2fab0..5751bf8de 100644
--- a/src/gen/lib/Model/DeleteHrisCompanyResponse.php
+++ b/src/gen/lib/Model/DeleteHrisCompanyResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteInvoiceResponse.php b/src/gen/lib/Model/DeleteInvoiceResponse.php
index 997529947..7120c6628 100644
--- a/src/gen/lib/Model/DeleteInvoiceResponse.php
+++ b/src/gen/lib/Model/DeleteInvoiceResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteItemResponse.php b/src/gen/lib/Model/DeleteItemResponse.php
index 568a0cada..bd288d247 100644
--- a/src/gen/lib/Model/DeleteItemResponse.php
+++ b/src/gen/lib/Model/DeleteItemResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteJobResponse.php b/src/gen/lib/Model/DeleteJobResponse.php
index 72b1b5f2e..94bba6137 100644
--- a/src/gen/lib/Model/DeleteJobResponse.php
+++ b/src/gen/lib/Model/DeleteJobResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteJournalEntryResponse.php b/src/gen/lib/Model/DeleteJournalEntryResponse.php
index 7f6d103fe..71c110b2f 100644
--- a/src/gen/lib/Model/DeleteJournalEntryResponse.php
+++ b/src/gen/lib/Model/DeleteJournalEntryResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteLeadResponse.php b/src/gen/lib/Model/DeleteLeadResponse.php
index e5acef1ad..eb9b2fcd8 100644
--- a/src/gen/lib/Model/DeleteLeadResponse.php
+++ b/src/gen/lib/Model/DeleteLeadResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteLedgerAccountResponse.php b/src/gen/lib/Model/DeleteLedgerAccountResponse.php
index 299162996..84a5af292 100644
--- a/src/gen/lib/Model/DeleteLedgerAccountResponse.php
+++ b/src/gen/lib/Model/DeleteLedgerAccountResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteLocationResponse.php b/src/gen/lib/Model/DeleteLocationResponse.php
index b7141f7e6..620620ef4 100644
--- a/src/gen/lib/Model/DeleteLocationResponse.php
+++ b/src/gen/lib/Model/DeleteLocationResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteMerchantResponse.php b/src/gen/lib/Model/DeleteMerchantResponse.php
index 1173ba0bd..289b08358 100644
--- a/src/gen/lib/Model/DeleteMerchantResponse.php
+++ b/src/gen/lib/Model/DeleteMerchantResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteMessageResponse.php b/src/gen/lib/Model/DeleteMessageResponse.php
index bc5ee767d..cbe702a4f 100644
--- a/src/gen/lib/Model/DeleteMessageResponse.php
+++ b/src/gen/lib/Model/DeleteMessageResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteModifierGroupResponse.php b/src/gen/lib/Model/DeleteModifierGroupResponse.php
index 58bc53d11..91acf376a 100644
--- a/src/gen/lib/Model/DeleteModifierGroupResponse.php
+++ b/src/gen/lib/Model/DeleteModifierGroupResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteModifierResponse.php b/src/gen/lib/Model/DeleteModifierResponse.php
index 803641a9d..efdf6d757 100644
--- a/src/gen/lib/Model/DeleteModifierResponse.php
+++ b/src/gen/lib/Model/DeleteModifierResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteNoteResponse.php b/src/gen/lib/Model/DeleteNoteResponse.php
index deab0a79f..bae9a3ce9 100644
--- a/src/gen/lib/Model/DeleteNoteResponse.php
+++ b/src/gen/lib/Model/DeleteNoteResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteOpportunityResponse.php b/src/gen/lib/Model/DeleteOpportunityResponse.php
index f13741863..e43bbc176 100644
--- a/src/gen/lib/Model/DeleteOpportunityResponse.php
+++ b/src/gen/lib/Model/DeleteOpportunityResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteOrderResponse.php b/src/gen/lib/Model/DeleteOrderResponse.php
index b21e5b2b4..7e928c5aa 100644
--- a/src/gen/lib/Model/DeleteOrderResponse.php
+++ b/src/gen/lib/Model/DeleteOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteOrderTypeResponse.php b/src/gen/lib/Model/DeleteOrderTypeResponse.php
index 4d1a43f7c..96bab2f49 100644
--- a/src/gen/lib/Model/DeleteOrderTypeResponse.php
+++ b/src/gen/lib/Model/DeleteOrderTypeResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeletePaymentResponse.php b/src/gen/lib/Model/DeletePaymentResponse.php
index 17b83f980..efda723b2 100644
--- a/src/gen/lib/Model/DeletePaymentResponse.php
+++ b/src/gen/lib/Model/DeletePaymentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeletePipelineResponse.php b/src/gen/lib/Model/DeletePipelineResponse.php
index b6d535903..e4aa1c388 100644
--- a/src/gen/lib/Model/DeletePipelineResponse.php
+++ b/src/gen/lib/Model/DeletePipelineResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeletePosPaymentResponse.php b/src/gen/lib/Model/DeletePosPaymentResponse.php
index 8607b6d39..a6213714b 100644
--- a/src/gen/lib/Model/DeletePosPaymentResponse.php
+++ b/src/gen/lib/Model/DeletePosPaymentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteProductResponse.php b/src/gen/lib/Model/DeleteProductResponse.php
index 6b1744268..3337745ed 100644
--- a/src/gen/lib/Model/DeleteProductResponse.php
+++ b/src/gen/lib/Model/DeleteProductResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeletePurchaseOrderResponse.php b/src/gen/lib/Model/DeletePurchaseOrderResponse.php
index 67e7f1aca..d7b2f9f79 100644
--- a/src/gen/lib/Model/DeletePurchaseOrderResponse.php
+++ b/src/gen/lib/Model/DeletePurchaseOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteSharedLinkResponse.php b/src/gen/lib/Model/DeleteSharedLinkResponse.php
index 222bd6037..07a1242a1 100644
--- a/src/gen/lib/Model/DeleteSharedLinkResponse.php
+++ b/src/gen/lib/Model/DeleteSharedLinkResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteSubsidiaryResponse.php b/src/gen/lib/Model/DeleteSubsidiaryResponse.php
new file mode 100644
index 000000000..a725ee77c
--- /dev/null
+++ b/src/gen/lib/Model/DeleteSubsidiaryResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class DeleteSubsidiaryResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'DeleteSubsidiaryResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\UnifiedId'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\UnifiedId
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\UnifiedId $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/DeleteSupplierResponse.php b/src/gen/lib/Model/DeleteSupplierResponse.php
index f2b080e72..8bb9cf876 100644
--- a/src/gen/lib/Model/DeleteSupplierResponse.php
+++ b/src/gen/lib/Model/DeleteSupplierResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteTaxRateResponse.php b/src/gen/lib/Model/DeleteTaxRateResponse.php
index 78589a014..7ca43cdeb 100644
--- a/src/gen/lib/Model/DeleteTaxRateResponse.php
+++ b/src/gen/lib/Model/DeleteTaxRateResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteTenderResponse.php b/src/gen/lib/Model/DeleteTenderResponse.php
index 675e1836a..69a85f8a2 100644
--- a/src/gen/lib/Model/DeleteTenderResponse.php
+++ b/src/gen/lib/Model/DeleteTenderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteTicketResponse.php b/src/gen/lib/Model/DeleteTicketResponse.php
index adfb065bc..41bcb65ca 100644
--- a/src/gen/lib/Model/DeleteTicketResponse.php
+++ b/src/gen/lib/Model/DeleteTicketResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteTimeOffRequestResponse.php b/src/gen/lib/Model/DeleteTimeOffRequestResponse.php
index 3289afeff..1379cd443 100644
--- a/src/gen/lib/Model/DeleteTimeOffRequestResponse.php
+++ b/src/gen/lib/Model/DeleteTimeOffRequestResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteUploadSessionResponse.php b/src/gen/lib/Model/DeleteUploadSessionResponse.php
index 5ee739306..293ece9ab 100644
--- a/src/gen/lib/Model/DeleteUploadSessionResponse.php
+++ b/src/gen/lib/Model/DeleteUploadSessionResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteUserResponse.php b/src/gen/lib/Model/DeleteUserResponse.php
index 709d23a04..85913b540 100644
--- a/src/gen/lib/Model/DeleteUserResponse.php
+++ b/src/gen/lib/Model/DeleteUserResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DeleteWebhookResponse.php b/src/gen/lib/Model/DeleteWebhookResponse.php
index feae52d9b..d4dfa5936 100644
--- a/src/gen/lib/Model/DeleteWebhookResponse.php
+++ b/src/gen/lib/Model/DeleteWebhookResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Department.php b/src/gen/lib/Model/Department.php
index f6e68bbc9..141682b95 100644
--- a/src/gen/lib/Model/Department.php
+++ b/src/gen/lib/Model/Department.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Drive.php b/src/gen/lib/Model/Drive.php
index 46d391a34..1bc1e8eeb 100644
--- a/src/gen/lib/Model/Drive.php
+++ b/src/gen/lib/Model/Drive.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DriveGroup.php b/src/gen/lib/Model/DriveGroup.php
index 3836b0d70..9a6eab36a 100644
--- a/src/gen/lib/Model/DriveGroup.php
+++ b/src/gen/lib/Model/DriveGroup.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DriveGroupsFilter.php b/src/gen/lib/Model/DriveGroupsFilter.php
index e4a06b4f9..c3418e09f 100644
--- a/src/gen/lib/Model/DriveGroupsFilter.php
+++ b/src/gen/lib/Model/DriveGroupsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/DrivesFilter.php b/src/gen/lib/Model/DrivesFilter.php
index c5435687b..af753e893 100644
--- a/src/gen/lib/Model/DrivesFilter.php
+++ b/src/gen/lib/Model/DrivesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceAddress.php b/src/gen/lib/Model/EcommerceAddress.php
index cb5acb8c7..0fa4cf694 100644
--- a/src/gen/lib/Model/EcommerceAddress.php
+++ b/src/gen/lib/Model/EcommerceAddress.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceCustomer.php b/src/gen/lib/Model/EcommerceCustomer.php
index 35281dfad..578b2fb5b 100644
--- a/src/gen/lib/Model/EcommerceCustomer.php
+++ b/src/gen/lib/Model/EcommerceCustomer.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceCustomerAddresses.php b/src/gen/lib/Model/EcommerceCustomerAddresses.php
index 02f92d6cf..3509d3b3c 100644
--- a/src/gen/lib/Model/EcommerceCustomerAddresses.php
+++ b/src/gen/lib/Model/EcommerceCustomerAddresses.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceCustomersFilter.php b/src/gen/lib/Model/EcommerceCustomersFilter.php
index 77cb5e793..0019c699b 100644
--- a/src/gen/lib/Model/EcommerceCustomersFilter.php
+++ b/src/gen/lib/Model/EcommerceCustomersFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceDiscount.php b/src/gen/lib/Model/EcommerceDiscount.php
index b27737949..fcb322631 100644
--- a/src/gen/lib/Model/EcommerceDiscount.php
+++ b/src/gen/lib/Model/EcommerceDiscount.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceOrder.php b/src/gen/lib/Model/EcommerceOrder.php
index 4d476de2e..1226795bb 100644
--- a/src/gen/lib/Model/EcommerceOrder.php
+++ b/src/gen/lib/Model/EcommerceOrder.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceOrderLineItem.php b/src/gen/lib/Model/EcommerceOrderLineItem.php
index dae556b04..a31610c7d 100644
--- a/src/gen/lib/Model/EcommerceOrderLineItem.php
+++ b/src/gen/lib/Model/EcommerceOrderLineItem.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceOrderStatus.php b/src/gen/lib/Model/EcommerceOrderStatus.php
index 6474c076f..737f8278f 100644
--- a/src/gen/lib/Model/EcommerceOrderStatus.php
+++ b/src/gen/lib/Model/EcommerceOrderStatus.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -53,6 +53,8 @@ class EcommerceOrderStatus
const UNKNOWN = 'unknown';
+ const OTHER = 'other';
+
/**
* Gets allowable values of the enum
* @return string[]
@@ -64,7 +66,8 @@ public static function getAllowableEnumValues()
self::COMPLETED,
self::CANCELLED,
self::ARCHIVED,
- self::UNKNOWN
+ self::UNKNOWN,
+ self::OTHER
];
}
}
diff --git a/src/gen/lib/Model/EcommerceOrdersFilter.php b/src/gen/lib/Model/EcommerceOrdersFilter.php
index a587b2090..561050d7a 100644
--- a/src/gen/lib/Model/EcommerceOrdersFilter.php
+++ b/src/gen/lib/Model/EcommerceOrdersFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceProduct.php b/src/gen/lib/Model/EcommerceProduct.php
index faade49f7..dfee46c83 100644
--- a/src/gen/lib/Model/EcommerceProduct.php
+++ b/src/gen/lib/Model/EcommerceProduct.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceProductCategories.php b/src/gen/lib/Model/EcommerceProductCategories.php
index 9f1541e1b..de0313c13 100644
--- a/src/gen/lib/Model/EcommerceProductCategories.php
+++ b/src/gen/lib/Model/EcommerceProductCategories.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceProductImages.php b/src/gen/lib/Model/EcommerceProductImages.php
index 5ce124cee..488121b3a 100644
--- a/src/gen/lib/Model/EcommerceProductImages.php
+++ b/src/gen/lib/Model/EcommerceProductImages.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceProductImages1.php b/src/gen/lib/Model/EcommerceProductImages1.php
index 6b217ea60..a1c8e744b 100644
--- a/src/gen/lib/Model/EcommerceProductImages1.php
+++ b/src/gen/lib/Model/EcommerceProductImages1.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceProductOptions.php b/src/gen/lib/Model/EcommerceProductOptions.php
index 8bf78779b..43806f1c5 100644
--- a/src/gen/lib/Model/EcommerceProductOptions.php
+++ b/src/gen/lib/Model/EcommerceProductOptions.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceProductOptions1.php b/src/gen/lib/Model/EcommerceProductOptions1.php
index 382c9531d..75276ecf4 100644
--- a/src/gen/lib/Model/EcommerceProductOptions1.php
+++ b/src/gen/lib/Model/EcommerceProductOptions1.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceProductVariants.php b/src/gen/lib/Model/EcommerceProductVariants.php
index a0b335854..a47fd4d60 100644
--- a/src/gen/lib/Model/EcommerceProductVariants.php
+++ b/src/gen/lib/Model/EcommerceProductVariants.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EcommerceStore.php b/src/gen/lib/Model/EcommerceStore.php
index 1e76d2fe8..7fd2f0dea 100644
--- a/src/gen/lib/Model/EcommerceStore.php
+++ b/src/gen/lib/Model/EcommerceStore.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Email.php b/src/gen/lib/Model/Email.php
index 69d29239b..85350293f 100644
--- a/src/gen/lib/Model/Email.php
+++ b/src/gen/lib/Model/Email.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Employee.php b/src/gen/lib/Model/Employee.php
index c668d168f..7deb02b7a 100644
--- a/src/gen/lib/Model/Employee.php
+++ b/src/gen/lib/Model/Employee.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmployeeCompensation.php b/src/gen/lib/Model/EmployeeCompensation.php
index 159d0e7e5..8ed5a1a34 100644
--- a/src/gen/lib/Model/EmployeeCompensation.php
+++ b/src/gen/lib/Model/EmployeeCompensation.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmployeeEmploymentRole.php b/src/gen/lib/Model/EmployeeEmploymentRole.php
index 837dab207..53858a936 100644
--- a/src/gen/lib/Model/EmployeeEmploymentRole.php
+++ b/src/gen/lib/Model/EmployeeEmploymentRole.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmployeeJob.php b/src/gen/lib/Model/EmployeeJob.php
index 0d63e02f8..067199d4b 100644
--- a/src/gen/lib/Model/EmployeeJob.php
+++ b/src/gen/lib/Model/EmployeeJob.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmployeeList.php b/src/gen/lib/Model/EmployeeList.php
index feb7a02c6..999be6651 100644
--- a/src/gen/lib/Model/EmployeeList.php
+++ b/src/gen/lib/Model/EmployeeList.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmployeeManager.php b/src/gen/lib/Model/EmployeeManager.php
index 88511f128..d6b947bf2 100644
--- a/src/gen/lib/Model/EmployeeManager.php
+++ b/src/gen/lib/Model/EmployeeManager.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmployeePayroll.php b/src/gen/lib/Model/EmployeePayroll.php
index 60598bc16..d545356df 100644
--- a/src/gen/lib/Model/EmployeePayroll.php
+++ b/src/gen/lib/Model/EmployeePayroll.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmployeeSchedules.php b/src/gen/lib/Model/EmployeeSchedules.php
index a30dc2237..a2efec653 100644
--- a/src/gen/lib/Model/EmployeeSchedules.php
+++ b/src/gen/lib/Model/EmployeeSchedules.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmployeesFilter.php b/src/gen/lib/Model/EmployeesFilter.php
index 201c17100..17dd4359c 100644
--- a/src/gen/lib/Model/EmployeesFilter.php
+++ b/src/gen/lib/Model/EmployeesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmployeesSort.php b/src/gen/lib/Model/EmployeesSort.php
index 233f4cf9f..6c5b11242 100644
--- a/src/gen/lib/Model/EmployeesSort.php
+++ b/src/gen/lib/Model/EmployeesSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/EmploymentStatus.php b/src/gen/lib/Model/EmploymentStatus.php
index b9b8e9d7c..5b2186a1c 100644
--- a/src/gen/lib/Model/EmploymentStatus.php
+++ b/src/gen/lib/Model/EmploymentStatus.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Error.php b/src/gen/lib/Model/Error.php
index db1d19767..3c82b3218 100644
--- a/src/gen/lib/Model/Error.php
+++ b/src/gen/lib/Model/Error.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ExecuteWebhookResponse.php b/src/gen/lib/Model/ExecuteWebhookResponse.php
index 6be5aa9da..66aa558b9 100644
--- a/src/gen/lib/Model/ExecuteWebhookResponse.php
+++ b/src/gen/lib/Model/ExecuteWebhookResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/FileStorageEventType.php b/src/gen/lib/Model/FileStorageEventType.php
index 974a3d302..e3f472032 100644
--- a/src/gen/lib/Model/FileStorageEventType.php
+++ b/src/gen/lib/Model/FileStorageEventType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/FileType.php b/src/gen/lib/Model/FileType.php
index 67822e2cf..31f34b3ab 100644
--- a/src/gen/lib/Model/FileType.php
+++ b/src/gen/lib/Model/FileType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/FilesFilter.php b/src/gen/lib/Model/FilesFilter.php
index 95e10ea79..fd7c8495d 100644
--- a/src/gen/lib/Model/FilesFilter.php
+++ b/src/gen/lib/Model/FilesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/FilesSearch.php b/src/gen/lib/Model/FilesSearch.php
index cc0200195..99e208caa 100644
--- a/src/gen/lib/Model/FilesSearch.php
+++ b/src/gen/lib/Model/FilesSearch.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/FilesSort.php b/src/gen/lib/Model/FilesSort.php
index 73e8e8084..074a19fff 100644
--- a/src/gen/lib/Model/FilesSort.php
+++ b/src/gen/lib/Model/FilesSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Folder.php b/src/gen/lib/Model/Folder.php
index 60a019776..29f80af3e 100644
--- a/src/gen/lib/Model/Folder.php
+++ b/src/gen/lib/Model/Folder.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/FormField.php b/src/gen/lib/Model/FormField.php
index 368779091..6e5bde70e 100644
--- a/src/gen/lib/Model/FormField.php
+++ b/src/gen/lib/Model/FormField.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/FormFieldOption.php b/src/gen/lib/Model/FormFieldOption.php
index 0c79e1360..bbd058a6e 100644
--- a/src/gen/lib/Model/FormFieldOption.php
+++ b/src/gen/lib/Model/FormFieldOption.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/FormFieldOptionGroup.php b/src/gen/lib/Model/FormFieldOptionGroup.php
index 15b0f693f..21c76ec86 100644
--- a/src/gen/lib/Model/FormFieldOptionGroup.php
+++ b/src/gen/lib/Model/FormFieldOptionGroup.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Gender.php b/src/gen/lib/Model/Gender.php
index 61c1cbf48..72ba46556 100644
--- a/src/gen/lib/Model/Gender.php
+++ b/src/gen/lib/Model/Gender.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetAccountingDepartmentResponse.php b/src/gen/lib/Model/GetAccountingDepartmentResponse.php
new file mode 100644
index 000000000..2fda1cd5b
--- /dev/null
+++ b/src/gen/lib/Model/GetAccountingDepartmentResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class GetAccountingDepartmentResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'GetAccountingDepartmentResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\AccountingDepartment'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\AccountingDepartment
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\AccountingDepartment $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/GetAccountingDepartmentsResponse.php b/src/gen/lib/Model/GetAccountingDepartmentsResponse.php
new file mode 100644
index 000000000..5a5bc96f8
--- /dev/null
+++ b/src/gen/lib/Model/GetAccountingDepartmentsResponse.php
@@ -0,0 +1,548 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class GetAccountingDepartmentsResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'GetAccountingDepartmentsResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\AccountingDepartment[]',
+ 'meta' => '\Apideck\Client\Model\Meta',
+ 'links' => '\Apideck\Client\Model\Links'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null,
+ 'meta' => null,
+ 'links' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data',
+ 'meta' => 'meta',
+ 'links' => 'links'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData',
+ 'meta' => 'setMeta',
+ 'links' => 'setLinks'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData',
+ 'meta' => 'getMeta',
+ 'links' => 'getLinks'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ $this->container['meta'] = $data['meta'] ?? null;
+ $this->container['links'] = $data['links'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\AccountingDepartment[]
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\AccountingDepartment[] $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+
+ /**
+ * Gets meta
+ *
+ * @return \Apideck\Client\Model\Meta|null
+ */
+ public function getMeta()
+ {
+ return $this->container['meta'];
+ }
+
+ /**
+ * Sets meta
+ *
+ * @param \Apideck\Client\Model\Meta|null $meta meta
+ *
+ * @return self
+ */
+ public function setMeta($meta)
+ {
+ $this->container['meta'] = $meta;
+
+ return $this;
+ }
+
+ /**
+ * Gets links
+ *
+ * @return \Apideck\Client\Model\Links|null
+ */
+ public function getLinks()
+ {
+ return $this->container['links'];
+ }
+
+ /**
+ * Sets links
+ *
+ * @param \Apideck\Client\Model\Links|null $links links
+ *
+ * @return self
+ */
+ public function setLinks($links)
+ {
+ $this->container['links'] = $links;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/GetAccountingLocationResponse.php b/src/gen/lib/Model/GetAccountingLocationResponse.php
new file mode 100644
index 000000000..ae3098fd9
--- /dev/null
+++ b/src/gen/lib/Model/GetAccountingLocationResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class GetAccountingLocationResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'GetAccountingLocationResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\AccountingLocation'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\AccountingLocation
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\AccountingLocation $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/GetAccountingLocationsResponse.php b/src/gen/lib/Model/GetAccountingLocationsResponse.php
new file mode 100644
index 000000000..a83e5d094
--- /dev/null
+++ b/src/gen/lib/Model/GetAccountingLocationsResponse.php
@@ -0,0 +1,548 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class GetAccountingLocationsResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'GetAccountingLocationsResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\AccountingLocation[]',
+ 'meta' => '\Apideck\Client\Model\Meta',
+ 'links' => '\Apideck\Client\Model\Links'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null,
+ 'meta' => null,
+ 'links' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data',
+ 'meta' => 'meta',
+ 'links' => 'links'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData',
+ 'meta' => 'setMeta',
+ 'links' => 'setLinks'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData',
+ 'meta' => 'getMeta',
+ 'links' => 'getLinks'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ $this->container['meta'] = $data['meta'] ?? null;
+ $this->container['links'] = $data['links'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\AccountingLocation[]
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\AccountingLocation[] $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+
+ /**
+ * Gets meta
+ *
+ * @return \Apideck\Client\Model\Meta|null
+ */
+ public function getMeta()
+ {
+ return $this->container['meta'];
+ }
+
+ /**
+ * Sets meta
+ *
+ * @param \Apideck\Client\Model\Meta|null $meta meta
+ *
+ * @return self
+ */
+ public function setMeta($meta)
+ {
+ $this->container['meta'] = $meta;
+
+ return $this;
+ }
+
+ /**
+ * Gets links
+ *
+ * @return \Apideck\Client\Model\Links|null
+ */
+ public function getLinks()
+ {
+ return $this->container['links'];
+ }
+
+ /**
+ * Sets links
+ *
+ * @param \Apideck\Client\Model\Links|null $links links
+ *
+ * @return self
+ */
+ public function setLinks($links)
+ {
+ $this->container['links'] = $links;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/GetActivitiesResponse.php b/src/gen/lib/Model/GetActivitiesResponse.php
index 96c8258a2..6f67876b5 100644
--- a/src/gen/lib/Model/GetActivitiesResponse.php
+++ b/src/gen/lib/Model/GetActivitiesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetActivityResponse.php b/src/gen/lib/Model/GetActivityResponse.php
index 303836a8e..99dbb8d6c 100644
--- a/src/gen/lib/Model/GetActivityResponse.php
+++ b/src/gen/lib/Model/GetActivityResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetApiResourceCoverageResponse.php b/src/gen/lib/Model/GetApiResourceCoverageResponse.php
index 1b9662e0f..ce5d7380e 100644
--- a/src/gen/lib/Model/GetApiResourceCoverageResponse.php
+++ b/src/gen/lib/Model/GetApiResourceCoverageResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetApiResourceResponse.php b/src/gen/lib/Model/GetApiResourceResponse.php
index 7d91c0307..14b4cfd0c 100644
--- a/src/gen/lib/Model/GetApiResourceResponse.php
+++ b/src/gen/lib/Model/GetApiResourceResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetApiResponse.php b/src/gen/lib/Model/GetApiResponse.php
index 7551f9422..5edd6673f 100644
--- a/src/gen/lib/Model/GetApiResponse.php
+++ b/src/gen/lib/Model/GetApiResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetApisResponse.php b/src/gen/lib/Model/GetApisResponse.php
index 709b79f33..3303bca43 100644
--- a/src/gen/lib/Model/GetApisResponse.php
+++ b/src/gen/lib/Model/GetApisResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetApplicantResponse.php b/src/gen/lib/Model/GetApplicantResponse.php
index 1d857a8e7..abc2d3152 100644
--- a/src/gen/lib/Model/GetApplicantResponse.php
+++ b/src/gen/lib/Model/GetApplicantResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetApplicantsResponse.php b/src/gen/lib/Model/GetApplicantsResponse.php
index 06399a258..ba84ccba0 100644
--- a/src/gen/lib/Model/GetApplicantsResponse.php
+++ b/src/gen/lib/Model/GetApplicantsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetApplicationResponse.php b/src/gen/lib/Model/GetApplicationResponse.php
index bdee97cf3..8f74ec07d 100644
--- a/src/gen/lib/Model/GetApplicationResponse.php
+++ b/src/gen/lib/Model/GetApplicationResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetApplicationsResponse.php b/src/gen/lib/Model/GetApplicationsResponse.php
index 6b6a4719d..242bcb8cb 100644
--- a/src/gen/lib/Model/GetApplicationsResponse.php
+++ b/src/gen/lib/Model/GetApplicationsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetBalanceSheetResponse.php b/src/gen/lib/Model/GetBalanceSheetResponse.php
index 8eba0d151..9cfa2ad1c 100644
--- a/src/gen/lib/Model/GetBalanceSheetResponse.php
+++ b/src/gen/lib/Model/GetBalanceSheetResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetBillResponse.php b/src/gen/lib/Model/GetBillResponse.php
index d76e15f54..b6784a682 100644
--- a/src/gen/lib/Model/GetBillResponse.php
+++ b/src/gen/lib/Model/GetBillResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetBillsResponse.php b/src/gen/lib/Model/GetBillsResponse.php
index e4a98bfd9..f7eaaaa2c 100644
--- a/src/gen/lib/Model/GetBillsResponse.php
+++ b/src/gen/lib/Model/GetBillsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCollectionResponse.php b/src/gen/lib/Model/GetCollectionResponse.php
index 99db7df4c..a8f2cea94 100644
--- a/src/gen/lib/Model/GetCollectionResponse.php
+++ b/src/gen/lib/Model/GetCollectionResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCollectionTagsResponse.php b/src/gen/lib/Model/GetCollectionTagsResponse.php
index 67c2de3bb..944bedc6e 100644
--- a/src/gen/lib/Model/GetCollectionTagsResponse.php
+++ b/src/gen/lib/Model/GetCollectionTagsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCollectionUserResponse.php b/src/gen/lib/Model/GetCollectionUserResponse.php
index e750e78b6..4d82d017b 100644
--- a/src/gen/lib/Model/GetCollectionUserResponse.php
+++ b/src/gen/lib/Model/GetCollectionUserResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCollectionUsersResponse.php b/src/gen/lib/Model/GetCollectionUsersResponse.php
index 1afb9b56f..978f1a391 100644
--- a/src/gen/lib/Model/GetCollectionUsersResponse.php
+++ b/src/gen/lib/Model/GetCollectionUsersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCollectionsResponse.php b/src/gen/lib/Model/GetCollectionsResponse.php
index 8cfb58eea..b305fa034 100644
--- a/src/gen/lib/Model/GetCollectionsResponse.php
+++ b/src/gen/lib/Model/GetCollectionsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCommentResponse.php b/src/gen/lib/Model/GetCommentResponse.php
index d46fc2e3c..4b076286d 100644
--- a/src/gen/lib/Model/GetCommentResponse.php
+++ b/src/gen/lib/Model/GetCommentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCommentsResponse.php b/src/gen/lib/Model/GetCommentsResponse.php
index dd99c6b02..85d8d5c31 100644
--- a/src/gen/lib/Model/GetCommentsResponse.php
+++ b/src/gen/lib/Model/GetCommentsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCompaniesResponse.php b/src/gen/lib/Model/GetCompaniesResponse.php
index e9fd5de23..0e170358b 100644
--- a/src/gen/lib/Model/GetCompaniesResponse.php
+++ b/src/gen/lib/Model/GetCompaniesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCompanyInfoResponse.php b/src/gen/lib/Model/GetCompanyInfoResponse.php
index d85d81581..37037b041 100644
--- a/src/gen/lib/Model/GetCompanyInfoResponse.php
+++ b/src/gen/lib/Model/GetCompanyInfoResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCompanyResponse.php b/src/gen/lib/Model/GetCompanyResponse.php
index efe6da0fc..257e86f5c 100644
--- a/src/gen/lib/Model/GetCompanyResponse.php
+++ b/src/gen/lib/Model/GetCompanyResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConnectionResponse.php b/src/gen/lib/Model/GetConnectionResponse.php
index 8c627022e..22e1a6c79 100644
--- a/src/gen/lib/Model/GetConnectionResponse.php
+++ b/src/gen/lib/Model/GetConnectionResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConnectionsResponse.php b/src/gen/lib/Model/GetConnectionsResponse.php
index 495a03459..66240f12e 100644
--- a/src/gen/lib/Model/GetConnectionsResponse.php
+++ b/src/gen/lib/Model/GetConnectionsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConnectorResourceExampleResponse.php b/src/gen/lib/Model/GetConnectorResourceExampleResponse.php
index 404c63791..80f895f9b 100644
--- a/src/gen/lib/Model/GetConnectorResourceExampleResponse.php
+++ b/src/gen/lib/Model/GetConnectorResourceExampleResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConnectorResourceExampleResponseData.php b/src/gen/lib/Model/GetConnectorResourceExampleResponseData.php
index 7679580c1..3f94223af 100644
--- a/src/gen/lib/Model/GetConnectorResourceExampleResponseData.php
+++ b/src/gen/lib/Model/GetConnectorResourceExampleResponseData.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConnectorResourceResponse.php b/src/gen/lib/Model/GetConnectorResourceResponse.php
index bb303b935..6da6ddde4 100644
--- a/src/gen/lib/Model/GetConnectorResourceResponse.php
+++ b/src/gen/lib/Model/GetConnectorResourceResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConnectorResourceSchemaResponse.php b/src/gen/lib/Model/GetConnectorResourceSchemaResponse.php
index 14c9ac80e..bc23cedae 100644
--- a/src/gen/lib/Model/GetConnectorResourceSchemaResponse.php
+++ b/src/gen/lib/Model/GetConnectorResourceSchemaResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConnectorResponse.php b/src/gen/lib/Model/GetConnectorResponse.php
index 71afdadd3..c68085a77 100644
--- a/src/gen/lib/Model/GetConnectorResponse.php
+++ b/src/gen/lib/Model/GetConnectorResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConnectorsResponse.php b/src/gen/lib/Model/GetConnectorsResponse.php
index d314e1293..bebf8b1dc 100644
--- a/src/gen/lib/Model/GetConnectorsResponse.php
+++ b/src/gen/lib/Model/GetConnectorsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConsumerResponse.php b/src/gen/lib/Model/GetConsumerResponse.php
index 06733f5cb..589d76c45 100644
--- a/src/gen/lib/Model/GetConsumerResponse.php
+++ b/src/gen/lib/Model/GetConsumerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConsumersResponse.php b/src/gen/lib/Model/GetConsumersResponse.php
index c5cf1bbe3..5d9616f29 100644
--- a/src/gen/lib/Model/GetConsumersResponse.php
+++ b/src/gen/lib/Model/GetConsumersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetConsumersResponseData.php b/src/gen/lib/Model/GetConsumersResponseData.php
index bf8b155bf..d61880f3f 100644
--- a/src/gen/lib/Model/GetConsumersResponseData.php
+++ b/src/gen/lib/Model/GetConsumersResponseData.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetContactResponse.php b/src/gen/lib/Model/GetContactResponse.php
index 83f35c6f8..ba7f3b765 100644
--- a/src/gen/lib/Model/GetContactResponse.php
+++ b/src/gen/lib/Model/GetContactResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetContactsResponse.php b/src/gen/lib/Model/GetContactsResponse.php
index b09187cd8..d95be78c2 100644
--- a/src/gen/lib/Model/GetContactsResponse.php
+++ b/src/gen/lib/Model/GetContactsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCreditNoteResponse.php b/src/gen/lib/Model/GetCreditNoteResponse.php
index 73ac79bae..19a4f2f2f 100644
--- a/src/gen/lib/Model/GetCreditNoteResponse.php
+++ b/src/gen/lib/Model/GetCreditNoteResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCreditNotesResponse.php b/src/gen/lib/Model/GetCreditNotesResponse.php
index 05b203793..9be36c409 100644
--- a/src/gen/lib/Model/GetCreditNotesResponse.php
+++ b/src/gen/lib/Model/GetCreditNotesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCustomFieldsResponse.php b/src/gen/lib/Model/GetCustomFieldsResponse.php
index 77ea22543..bf0c2ab41 100644
--- a/src/gen/lib/Model/GetCustomFieldsResponse.php
+++ b/src/gen/lib/Model/GetCustomFieldsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCustomMappingResponse.php b/src/gen/lib/Model/GetCustomMappingResponse.php
index ba2dd1c59..367757e0d 100644
--- a/src/gen/lib/Model/GetCustomMappingResponse.php
+++ b/src/gen/lib/Model/GetCustomMappingResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCustomerResponse.php b/src/gen/lib/Model/GetCustomerResponse.php
index 674968d91..9c7e40a9a 100644
--- a/src/gen/lib/Model/GetCustomerResponse.php
+++ b/src/gen/lib/Model/GetCustomerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetCustomersResponse.php b/src/gen/lib/Model/GetCustomersResponse.php
index 1e06b0255..603e26af1 100644
--- a/src/gen/lib/Model/GetCustomersResponse.php
+++ b/src/gen/lib/Model/GetCustomersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetDepartmentResponse.php b/src/gen/lib/Model/GetDepartmentResponse.php
index 349f56067..09b7a25e9 100644
--- a/src/gen/lib/Model/GetDepartmentResponse.php
+++ b/src/gen/lib/Model/GetDepartmentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetDepartmentsResponse.php b/src/gen/lib/Model/GetDepartmentsResponse.php
index a162b76a7..750350c4d 100644
--- a/src/gen/lib/Model/GetDepartmentsResponse.php
+++ b/src/gen/lib/Model/GetDepartmentsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetDriveGroupResponse.php b/src/gen/lib/Model/GetDriveGroupResponse.php
index 6a2dcf71a..25d891794 100644
--- a/src/gen/lib/Model/GetDriveGroupResponse.php
+++ b/src/gen/lib/Model/GetDriveGroupResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetDriveGroupsResponse.php b/src/gen/lib/Model/GetDriveGroupsResponse.php
index c1532e7fa..a46d272ba 100644
--- a/src/gen/lib/Model/GetDriveGroupsResponse.php
+++ b/src/gen/lib/Model/GetDriveGroupsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetDriveResponse.php b/src/gen/lib/Model/GetDriveResponse.php
index bd1185fd8..27f14c0f3 100644
--- a/src/gen/lib/Model/GetDriveResponse.php
+++ b/src/gen/lib/Model/GetDriveResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetDrivesResponse.php b/src/gen/lib/Model/GetDrivesResponse.php
index d57d38650..7081cfcf2 100644
--- a/src/gen/lib/Model/GetDrivesResponse.php
+++ b/src/gen/lib/Model/GetDrivesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetEcommerceCustomerResponse.php b/src/gen/lib/Model/GetEcommerceCustomerResponse.php
index c163ff594..cfe9e0569 100644
--- a/src/gen/lib/Model/GetEcommerceCustomerResponse.php
+++ b/src/gen/lib/Model/GetEcommerceCustomerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetEcommerceCustomersResponse.php b/src/gen/lib/Model/GetEcommerceCustomersResponse.php
index 899a63aff..267dc8ea8 100644
--- a/src/gen/lib/Model/GetEcommerceCustomersResponse.php
+++ b/src/gen/lib/Model/GetEcommerceCustomersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetEcommerceOrderResponse.php b/src/gen/lib/Model/GetEcommerceOrderResponse.php
index dd1eebb86..0fd91a96e 100644
--- a/src/gen/lib/Model/GetEcommerceOrderResponse.php
+++ b/src/gen/lib/Model/GetEcommerceOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetEcommerceOrdersResponse.php b/src/gen/lib/Model/GetEcommerceOrdersResponse.php
index 30de2c6c0..eaf141ce7 100644
--- a/src/gen/lib/Model/GetEcommerceOrdersResponse.php
+++ b/src/gen/lib/Model/GetEcommerceOrdersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetEmployeePayrollResponse.php b/src/gen/lib/Model/GetEmployeePayrollResponse.php
index 059df0cfa..be035a242 100644
--- a/src/gen/lib/Model/GetEmployeePayrollResponse.php
+++ b/src/gen/lib/Model/GetEmployeePayrollResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetEmployeePayrollsResponse.php b/src/gen/lib/Model/GetEmployeePayrollsResponse.php
index a0c2c31ec..bc18a0690 100644
--- a/src/gen/lib/Model/GetEmployeePayrollsResponse.php
+++ b/src/gen/lib/Model/GetEmployeePayrollsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetEmployeeResponse.php b/src/gen/lib/Model/GetEmployeeResponse.php
index 0fc55837c..617895fb4 100644
--- a/src/gen/lib/Model/GetEmployeeResponse.php
+++ b/src/gen/lib/Model/GetEmployeeResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetEmployeeSchedulesResponse.php b/src/gen/lib/Model/GetEmployeeSchedulesResponse.php
index fdcc96a1c..28763733b 100644
--- a/src/gen/lib/Model/GetEmployeeSchedulesResponse.php
+++ b/src/gen/lib/Model/GetEmployeeSchedulesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetEmployeesResponse.php b/src/gen/lib/Model/GetEmployeesResponse.php
index 1dafaffa1..190a9dce1 100644
--- a/src/gen/lib/Model/GetEmployeesResponse.php
+++ b/src/gen/lib/Model/GetEmployeesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetFileResponse.php b/src/gen/lib/Model/GetFileResponse.php
index 4402d81a9..5aad20b1c 100644
--- a/src/gen/lib/Model/GetFileResponse.php
+++ b/src/gen/lib/Model/GetFileResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetFilesResponse.php b/src/gen/lib/Model/GetFilesResponse.php
index b0221f6cd..f3160047b 100644
--- a/src/gen/lib/Model/GetFilesResponse.php
+++ b/src/gen/lib/Model/GetFilesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetFolderResponse.php b/src/gen/lib/Model/GetFolderResponse.php
index fa352f2f1..adf2a6b3a 100644
--- a/src/gen/lib/Model/GetFolderResponse.php
+++ b/src/gen/lib/Model/GetFolderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetFoldersResponse.php b/src/gen/lib/Model/GetFoldersResponse.php
index 249a5c37d..a9d5e28a9 100644
--- a/src/gen/lib/Model/GetFoldersResponse.php
+++ b/src/gen/lib/Model/GetFoldersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetHrisCompaniesResponse.php b/src/gen/lib/Model/GetHrisCompaniesResponse.php
index 6ec8b386d..86a12a175 100644
--- a/src/gen/lib/Model/GetHrisCompaniesResponse.php
+++ b/src/gen/lib/Model/GetHrisCompaniesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetHrisCompanyResponse.php b/src/gen/lib/Model/GetHrisCompanyResponse.php
index ff160a7f0..d037e478b 100644
--- a/src/gen/lib/Model/GetHrisCompanyResponse.php
+++ b/src/gen/lib/Model/GetHrisCompanyResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetHrisJobResponse.php b/src/gen/lib/Model/GetHrisJobResponse.php
index 431116cba..793a9a9d2 100644
--- a/src/gen/lib/Model/GetHrisJobResponse.php
+++ b/src/gen/lib/Model/GetHrisJobResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetHrisJobsResponse.php b/src/gen/lib/Model/GetHrisJobsResponse.php
index 387de3f2d..1b16758fa 100644
--- a/src/gen/lib/Model/GetHrisJobsResponse.php
+++ b/src/gen/lib/Model/GetHrisJobsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetInvoiceItemResponse.php b/src/gen/lib/Model/GetInvoiceItemResponse.php
index 373fd9cdf..3355304b9 100644
--- a/src/gen/lib/Model/GetInvoiceItemResponse.php
+++ b/src/gen/lib/Model/GetInvoiceItemResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetInvoiceItemsResponse.php b/src/gen/lib/Model/GetInvoiceItemsResponse.php
index 580fc232e..b3274fd5a 100644
--- a/src/gen/lib/Model/GetInvoiceItemsResponse.php
+++ b/src/gen/lib/Model/GetInvoiceItemsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetInvoiceResponse.php b/src/gen/lib/Model/GetInvoiceResponse.php
index 3b863afe0..68ac4d243 100644
--- a/src/gen/lib/Model/GetInvoiceResponse.php
+++ b/src/gen/lib/Model/GetInvoiceResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetInvoicesResponse.php b/src/gen/lib/Model/GetInvoicesResponse.php
index 7b9c2233f..ac1ea7962 100644
--- a/src/gen/lib/Model/GetInvoicesResponse.php
+++ b/src/gen/lib/Model/GetInvoicesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetItemResponse.php b/src/gen/lib/Model/GetItemResponse.php
index 63db2c2cf..7d6bdcafa 100644
--- a/src/gen/lib/Model/GetItemResponse.php
+++ b/src/gen/lib/Model/GetItemResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetItemsResponse.php b/src/gen/lib/Model/GetItemsResponse.php
index 8125f38db..454ca17c2 100644
--- a/src/gen/lib/Model/GetItemsResponse.php
+++ b/src/gen/lib/Model/GetItemsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetJobResponse.php b/src/gen/lib/Model/GetJobResponse.php
index e5a52a87f..2268fa543 100644
--- a/src/gen/lib/Model/GetJobResponse.php
+++ b/src/gen/lib/Model/GetJobResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetJobsResponse.php b/src/gen/lib/Model/GetJobsResponse.php
index bc21fe3c1..972319a77 100644
--- a/src/gen/lib/Model/GetJobsResponse.php
+++ b/src/gen/lib/Model/GetJobsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetJournalEntriesResponse.php b/src/gen/lib/Model/GetJournalEntriesResponse.php
index d9c89e3bc..995169f45 100644
--- a/src/gen/lib/Model/GetJournalEntriesResponse.php
+++ b/src/gen/lib/Model/GetJournalEntriesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetJournalEntryResponse.php b/src/gen/lib/Model/GetJournalEntryResponse.php
index 6cfb89b0d..eff8cd311 100644
--- a/src/gen/lib/Model/GetJournalEntryResponse.php
+++ b/src/gen/lib/Model/GetJournalEntryResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetLeadResponse.php b/src/gen/lib/Model/GetLeadResponse.php
index ca9e9ad0d..90f7b58b5 100644
--- a/src/gen/lib/Model/GetLeadResponse.php
+++ b/src/gen/lib/Model/GetLeadResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetLeadsResponse.php b/src/gen/lib/Model/GetLeadsResponse.php
index b6d8bc5a2..15acdd92d 100644
--- a/src/gen/lib/Model/GetLeadsResponse.php
+++ b/src/gen/lib/Model/GetLeadsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetLedgerAccountResponse.php b/src/gen/lib/Model/GetLedgerAccountResponse.php
index f35ae1acc..ebd89a873 100644
--- a/src/gen/lib/Model/GetLedgerAccountResponse.php
+++ b/src/gen/lib/Model/GetLedgerAccountResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetLedgerAccountsResponse.php b/src/gen/lib/Model/GetLedgerAccountsResponse.php
index 2f2326f55..36051a49c 100644
--- a/src/gen/lib/Model/GetLedgerAccountsResponse.php
+++ b/src/gen/lib/Model/GetLedgerAccountsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetLocationResponse.php b/src/gen/lib/Model/GetLocationResponse.php
index 8d4ff33d3..c83b0e959 100644
--- a/src/gen/lib/Model/GetLocationResponse.php
+++ b/src/gen/lib/Model/GetLocationResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetLocationsResponse.php b/src/gen/lib/Model/GetLocationsResponse.php
index aaa98d55a..c847cf135 100644
--- a/src/gen/lib/Model/GetLocationsResponse.php
+++ b/src/gen/lib/Model/GetLocationsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetLogsResponse.php b/src/gen/lib/Model/GetLogsResponse.php
index 194174f0c..d283a8303 100644
--- a/src/gen/lib/Model/GetLogsResponse.php
+++ b/src/gen/lib/Model/GetLogsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetMerchantResponse.php b/src/gen/lib/Model/GetMerchantResponse.php
index 29824cbe2..67afe3009 100644
--- a/src/gen/lib/Model/GetMerchantResponse.php
+++ b/src/gen/lib/Model/GetMerchantResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetMerchantsResponse.php b/src/gen/lib/Model/GetMerchantsResponse.php
index b7d73afa0..23618654c 100644
--- a/src/gen/lib/Model/GetMerchantsResponse.php
+++ b/src/gen/lib/Model/GetMerchantsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetMessageResponse.php b/src/gen/lib/Model/GetMessageResponse.php
index 30bb66f3f..7a1b50d5a 100644
--- a/src/gen/lib/Model/GetMessageResponse.php
+++ b/src/gen/lib/Model/GetMessageResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetMessagesResponse.php b/src/gen/lib/Model/GetMessagesResponse.php
index 61fb675b2..cecf0e166 100644
--- a/src/gen/lib/Model/GetMessagesResponse.php
+++ b/src/gen/lib/Model/GetMessagesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetModifierGroupResponse.php b/src/gen/lib/Model/GetModifierGroupResponse.php
index a4b3f9bbf..02209e2b0 100644
--- a/src/gen/lib/Model/GetModifierGroupResponse.php
+++ b/src/gen/lib/Model/GetModifierGroupResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetModifierGroupsResponse.php b/src/gen/lib/Model/GetModifierGroupsResponse.php
index 8c5552a7f..92dd49ca3 100644
--- a/src/gen/lib/Model/GetModifierGroupsResponse.php
+++ b/src/gen/lib/Model/GetModifierGroupsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetModifierResponse.php b/src/gen/lib/Model/GetModifierResponse.php
index 45d0caf13..f09f4f781 100644
--- a/src/gen/lib/Model/GetModifierResponse.php
+++ b/src/gen/lib/Model/GetModifierResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetModifiersResponse.php b/src/gen/lib/Model/GetModifiersResponse.php
index ee2abf265..d1e96a935 100644
--- a/src/gen/lib/Model/GetModifiersResponse.php
+++ b/src/gen/lib/Model/GetModifiersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetNoteResponse.php b/src/gen/lib/Model/GetNoteResponse.php
index 9bad0cd29..35ffb3391 100644
--- a/src/gen/lib/Model/GetNoteResponse.php
+++ b/src/gen/lib/Model/GetNoteResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetNotesResponse.php b/src/gen/lib/Model/GetNotesResponse.php
index 1154136de..eea83e90d 100644
--- a/src/gen/lib/Model/GetNotesResponse.php
+++ b/src/gen/lib/Model/GetNotesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetOpportunitiesResponse.php b/src/gen/lib/Model/GetOpportunitiesResponse.php
index fabf18130..da9b211c0 100644
--- a/src/gen/lib/Model/GetOpportunitiesResponse.php
+++ b/src/gen/lib/Model/GetOpportunitiesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetOpportunityResponse.php b/src/gen/lib/Model/GetOpportunityResponse.php
index bdc652eea..da36aed11 100644
--- a/src/gen/lib/Model/GetOpportunityResponse.php
+++ b/src/gen/lib/Model/GetOpportunityResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetOrderResponse.php b/src/gen/lib/Model/GetOrderResponse.php
index 1a148c1f5..a56d1c728 100644
--- a/src/gen/lib/Model/GetOrderResponse.php
+++ b/src/gen/lib/Model/GetOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetOrderTypeResponse.php b/src/gen/lib/Model/GetOrderTypeResponse.php
index ec882a825..43eab9ac5 100644
--- a/src/gen/lib/Model/GetOrderTypeResponse.php
+++ b/src/gen/lib/Model/GetOrderTypeResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetOrderTypesResponse.php b/src/gen/lib/Model/GetOrderTypesResponse.php
index 0feacd07c..885deaece 100644
--- a/src/gen/lib/Model/GetOrderTypesResponse.php
+++ b/src/gen/lib/Model/GetOrderTypesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetOrdersResponse.php b/src/gen/lib/Model/GetOrdersResponse.php
index cb5d99e0d..baff3cd37 100644
--- a/src/gen/lib/Model/GetOrdersResponse.php
+++ b/src/gen/lib/Model/GetOrdersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPaymentResponse.php b/src/gen/lib/Model/GetPaymentResponse.php
index 06d7b0baf..70f446b76 100644
--- a/src/gen/lib/Model/GetPaymentResponse.php
+++ b/src/gen/lib/Model/GetPaymentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPaymentsResponse.php b/src/gen/lib/Model/GetPaymentsResponse.php
index ae7076f3d..f6f6c5fc7 100644
--- a/src/gen/lib/Model/GetPaymentsResponse.php
+++ b/src/gen/lib/Model/GetPaymentsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPayrollResponse.php b/src/gen/lib/Model/GetPayrollResponse.php
index 154bd8675..ab0a7ab41 100644
--- a/src/gen/lib/Model/GetPayrollResponse.php
+++ b/src/gen/lib/Model/GetPayrollResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPayrollsResponse.php b/src/gen/lib/Model/GetPayrollsResponse.php
index 9e6c5c00e..055461452 100644
--- a/src/gen/lib/Model/GetPayrollsResponse.php
+++ b/src/gen/lib/Model/GetPayrollsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPipelineResponse.php b/src/gen/lib/Model/GetPipelineResponse.php
index f249e0082..5c5b02092 100644
--- a/src/gen/lib/Model/GetPipelineResponse.php
+++ b/src/gen/lib/Model/GetPipelineResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPipelinesResponse.php b/src/gen/lib/Model/GetPipelinesResponse.php
index 834da9a90..55f6b6569 100644
--- a/src/gen/lib/Model/GetPipelinesResponse.php
+++ b/src/gen/lib/Model/GetPipelinesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPosPaymentResponse.php b/src/gen/lib/Model/GetPosPaymentResponse.php
index b63f7c50c..76758bd3c 100644
--- a/src/gen/lib/Model/GetPosPaymentResponse.php
+++ b/src/gen/lib/Model/GetPosPaymentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPosPaymentsResponse.php b/src/gen/lib/Model/GetPosPaymentsResponse.php
index 7adddbc87..5201fa22e 100644
--- a/src/gen/lib/Model/GetPosPaymentsResponse.php
+++ b/src/gen/lib/Model/GetPosPaymentsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetProductResponse.php b/src/gen/lib/Model/GetProductResponse.php
index 2140f8993..6f6608eb7 100644
--- a/src/gen/lib/Model/GetProductResponse.php
+++ b/src/gen/lib/Model/GetProductResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetProductsResponse.php b/src/gen/lib/Model/GetProductsResponse.php
index ac275323d..b9a6d3362 100644
--- a/src/gen/lib/Model/GetProductsResponse.php
+++ b/src/gen/lib/Model/GetProductsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetProfitAndLossResponse.php b/src/gen/lib/Model/GetProfitAndLossResponse.php
index 1a6ad1255..2e37932b8 100644
--- a/src/gen/lib/Model/GetProfitAndLossResponse.php
+++ b/src/gen/lib/Model/GetProfitAndLossResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPurchaseOrderResponse.php b/src/gen/lib/Model/GetPurchaseOrderResponse.php
index 7ac3b6436..f0290b7d5 100644
--- a/src/gen/lib/Model/GetPurchaseOrderResponse.php
+++ b/src/gen/lib/Model/GetPurchaseOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetPurchaseOrdersResponse.php b/src/gen/lib/Model/GetPurchaseOrdersResponse.php
index 06d9ea55e..307ef97f9 100644
--- a/src/gen/lib/Model/GetPurchaseOrdersResponse.php
+++ b/src/gen/lib/Model/GetPurchaseOrdersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetResourceExampleResponse.php b/src/gen/lib/Model/GetResourceExampleResponse.php
index 354e9b2ca..9052ba9f7 100644
--- a/src/gen/lib/Model/GetResourceExampleResponse.php
+++ b/src/gen/lib/Model/GetResourceExampleResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetResourceSchemaResponse.php b/src/gen/lib/Model/GetResourceSchemaResponse.php
index e5982852f..113951d2c 100644
--- a/src/gen/lib/Model/GetResourceSchemaResponse.php
+++ b/src/gen/lib/Model/GetResourceSchemaResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetSharedLinkResponse.php b/src/gen/lib/Model/GetSharedLinkResponse.php
index cc7b7d63a..7a4137b6c 100644
--- a/src/gen/lib/Model/GetSharedLinkResponse.php
+++ b/src/gen/lib/Model/GetSharedLinkResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetSharedLinksResponse.php b/src/gen/lib/Model/GetSharedLinksResponse.php
index efb57e31a..d1819c8b5 100644
--- a/src/gen/lib/Model/GetSharedLinksResponse.php
+++ b/src/gen/lib/Model/GetSharedLinksResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetStoreResponse.php b/src/gen/lib/Model/GetStoreResponse.php
index 87cd38a71..83a044984 100644
--- a/src/gen/lib/Model/GetStoreResponse.php
+++ b/src/gen/lib/Model/GetStoreResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetStoresResponse.php b/src/gen/lib/Model/GetStoresResponse.php
index 80d5a3262..08d0089c1 100644
--- a/src/gen/lib/Model/GetStoresResponse.php
+++ b/src/gen/lib/Model/GetStoresResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetSubsidiariesResponse.php b/src/gen/lib/Model/GetSubsidiariesResponse.php
new file mode 100644
index 000000000..25d7e20fd
--- /dev/null
+++ b/src/gen/lib/Model/GetSubsidiariesResponse.php
@@ -0,0 +1,548 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class GetSubsidiariesResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'GetSubsidiariesResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\Subsidiary[]',
+ 'meta' => '\Apideck\Client\Model\Meta',
+ 'links' => '\Apideck\Client\Model\Links'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null,
+ 'meta' => null,
+ 'links' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data',
+ 'meta' => 'meta',
+ 'links' => 'links'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData',
+ 'meta' => 'setMeta',
+ 'links' => 'setLinks'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData',
+ 'meta' => 'getMeta',
+ 'links' => 'getLinks'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ $this->container['meta'] = $data['meta'] ?? null;
+ $this->container['links'] = $data['links'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\Subsidiary[]
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\Subsidiary[] $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+
+ /**
+ * Gets meta
+ *
+ * @return \Apideck\Client\Model\Meta|null
+ */
+ public function getMeta()
+ {
+ return $this->container['meta'];
+ }
+
+ /**
+ * Sets meta
+ *
+ * @param \Apideck\Client\Model\Meta|null $meta meta
+ *
+ * @return self
+ */
+ public function setMeta($meta)
+ {
+ $this->container['meta'] = $meta;
+
+ return $this;
+ }
+
+ /**
+ * Gets links
+ *
+ * @return \Apideck\Client\Model\Links|null
+ */
+ public function getLinks()
+ {
+ return $this->container['links'];
+ }
+
+ /**
+ * Sets links
+ *
+ * @param \Apideck\Client\Model\Links|null $links links
+ *
+ * @return self
+ */
+ public function setLinks($links)
+ {
+ $this->container['links'] = $links;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/GetSubsidiaryResponse.php b/src/gen/lib/Model/GetSubsidiaryResponse.php
new file mode 100644
index 000000000..ce7ee9f61
--- /dev/null
+++ b/src/gen/lib/Model/GetSubsidiaryResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class GetSubsidiaryResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'GetSubsidiaryResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\Subsidiary'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\Subsidiary
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\Subsidiary $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/GetSupplierResponse.php b/src/gen/lib/Model/GetSupplierResponse.php
index a7b0a7c72..bbc78ac11 100644
--- a/src/gen/lib/Model/GetSupplierResponse.php
+++ b/src/gen/lib/Model/GetSupplierResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetSuppliersResponse.php b/src/gen/lib/Model/GetSuppliersResponse.php
index 5a39b7137..768bb7673 100644
--- a/src/gen/lib/Model/GetSuppliersResponse.php
+++ b/src/gen/lib/Model/GetSuppliersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetTaxRateResponse.php b/src/gen/lib/Model/GetTaxRateResponse.php
index 0fa1a9de1..a22124a61 100644
--- a/src/gen/lib/Model/GetTaxRateResponse.php
+++ b/src/gen/lib/Model/GetTaxRateResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetTaxRatesResponse.php b/src/gen/lib/Model/GetTaxRatesResponse.php
index 0e9db97a9..72314d444 100644
--- a/src/gen/lib/Model/GetTaxRatesResponse.php
+++ b/src/gen/lib/Model/GetTaxRatesResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetTenderResponse.php b/src/gen/lib/Model/GetTenderResponse.php
index 1a1c4e6fc..dac3afdd7 100644
--- a/src/gen/lib/Model/GetTenderResponse.php
+++ b/src/gen/lib/Model/GetTenderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetTendersResponse.php b/src/gen/lib/Model/GetTendersResponse.php
index ad6757c9f..14b589619 100644
--- a/src/gen/lib/Model/GetTendersResponse.php
+++ b/src/gen/lib/Model/GetTendersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetTicketResponse.php b/src/gen/lib/Model/GetTicketResponse.php
index 2f777c436..235b41552 100644
--- a/src/gen/lib/Model/GetTicketResponse.php
+++ b/src/gen/lib/Model/GetTicketResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetTicketsResponse.php b/src/gen/lib/Model/GetTicketsResponse.php
index 94f989dd9..1131cf423 100644
--- a/src/gen/lib/Model/GetTicketsResponse.php
+++ b/src/gen/lib/Model/GetTicketsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetTimeOffRequestResponse.php b/src/gen/lib/Model/GetTimeOffRequestResponse.php
index 1553e3a84..39a2855ea 100644
--- a/src/gen/lib/Model/GetTimeOffRequestResponse.php
+++ b/src/gen/lib/Model/GetTimeOffRequestResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetTimeOffRequestsResponse.php b/src/gen/lib/Model/GetTimeOffRequestsResponse.php
index 4e5c97467..df065b3a1 100644
--- a/src/gen/lib/Model/GetTimeOffRequestsResponse.php
+++ b/src/gen/lib/Model/GetTimeOffRequestsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetUploadSessionResponse.php b/src/gen/lib/Model/GetUploadSessionResponse.php
index 77bfc7748..4477d1942 100644
--- a/src/gen/lib/Model/GetUploadSessionResponse.php
+++ b/src/gen/lib/Model/GetUploadSessionResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetUserResponse.php b/src/gen/lib/Model/GetUserResponse.php
index b45500a74..2c7212d05 100644
--- a/src/gen/lib/Model/GetUserResponse.php
+++ b/src/gen/lib/Model/GetUserResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetUsersResponse.php b/src/gen/lib/Model/GetUsersResponse.php
index 780931b95..07962d7a8 100644
--- a/src/gen/lib/Model/GetUsersResponse.php
+++ b/src/gen/lib/Model/GetUsersResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetWebhookEventLogsResponse.php b/src/gen/lib/Model/GetWebhookEventLogsResponse.php
index ae0a12ed9..d62d8f3ad 100644
--- a/src/gen/lib/Model/GetWebhookEventLogsResponse.php
+++ b/src/gen/lib/Model/GetWebhookEventLogsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetWebhookResponse.php b/src/gen/lib/Model/GetWebhookResponse.php
index 6637c8cd1..9f428938d 100644
--- a/src/gen/lib/Model/GetWebhookResponse.php
+++ b/src/gen/lib/Model/GetWebhookResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/GetWebhooksResponse.php b/src/gen/lib/Model/GetWebhooksResponse.php
index 56526109d..eb99f7867 100644
--- a/src/gen/lib/Model/GetWebhooksResponse.php
+++ b/src/gen/lib/Model/GetWebhooksResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/HrisCompany.php b/src/gen/lib/Model/HrisCompany.php
index c02eab393..d615a6f4c 100644
--- a/src/gen/lib/Model/HrisCompany.php
+++ b/src/gen/lib/Model/HrisCompany.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/HrisEventType.php b/src/gen/lib/Model/HrisEventType.php
index 70f699fb6..012cc6014 100644
--- a/src/gen/lib/Model/HrisEventType.php
+++ b/src/gen/lib/Model/HrisEventType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/HrisJob.php b/src/gen/lib/Model/HrisJob.php
index 4a60b4b8c..9a50f72a0 100644
--- a/src/gen/lib/Model/HrisJob.php
+++ b/src/gen/lib/Model/HrisJob.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/HrisJobLocation.php b/src/gen/lib/Model/HrisJobLocation.php
index 68f9e2ca3..c39f1b1a6 100644
--- a/src/gen/lib/Model/HrisJobLocation.php
+++ b/src/gen/lib/Model/HrisJobLocation.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/HrisJobs.php b/src/gen/lib/Model/HrisJobs.php
index 4136bbe19..9578f95c7 100644
--- a/src/gen/lib/Model/HrisJobs.php
+++ b/src/gen/lib/Model/HrisJobs.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/IntegrationState.php b/src/gen/lib/Model/IntegrationState.php
index c84ef0fac..7257eda37 100644
--- a/src/gen/lib/Model/IntegrationState.php
+++ b/src/gen/lib/Model/IntegrationState.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Invoice.php b/src/gen/lib/Model/Invoice.php
index 7ad023c73..4534c056b 100644
--- a/src/gen/lib/Model/Invoice.php
+++ b/src/gen/lib/Model/Invoice.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -64,6 +64,7 @@ class Invoice implements ModelInterface, ArrayAccess, \JsonSerializable
'type' => 'string',
'number' => 'string',
'customer' => '\Apideck\Client\Model\LinkedCustomer',
+ 'company_id' => 'string',
'invoice_date' => '\DateTime',
'due_date' => '\DateTime',
'terms' => 'string',
@@ -116,6 +117,7 @@ class Invoice implements ModelInterface, ArrayAccess, \JsonSerializable
'type' => null,
'number' => null,
'customer' => null,
+ 'company_id' => null,
'invoice_date' => 'date',
'due_date' => 'date',
'terms' => null,
@@ -187,6 +189,7 @@ public static function openAPIFormats()
'type' => 'type',
'number' => 'number',
'customer' => 'customer',
+ 'company_id' => 'company_id',
'invoice_date' => 'invoice_date',
'due_date' => 'due_date',
'terms' => 'terms',
@@ -237,6 +240,7 @@ public static function openAPIFormats()
'type' => 'setType',
'number' => 'setNumber',
'customer' => 'setCustomer',
+ 'company_id' => 'setCompanyId',
'invoice_date' => 'setInvoiceDate',
'due_date' => 'setDueDate',
'terms' => 'setTerms',
@@ -287,6 +291,7 @@ public static function openAPIFormats()
'type' => 'getType',
'number' => 'getNumber',
'customer' => 'getCustomer',
+ 'company_id' => 'getCompanyId',
'invoice_date' => 'getInvoiceDate',
'due_date' => 'getDueDate',
'terms' => 'getTerms',
@@ -438,6 +443,7 @@ public function __construct(array $data = null)
$this->container['type'] = $data['type'] ?? null;
$this->container['number'] = $data['number'] ?? null;
$this->container['customer'] = $data['customer'] ?? null;
+ $this->container['company_id'] = $data['company_id'] ?? null;
$this->container['invoice_date'] = $data['invoice_date'] ?? null;
$this->container['due_date'] = $data['due_date'] ?? null;
$this->container['terms'] = $data['terms'] ?? null;
@@ -649,6 +655,30 @@ public function setCustomer($customer)
return $this;
}
+ /**
+ * Gets company_id
+ *
+ * @return string|null
+ */
+ public function getCompanyId()
+ {
+ return $this->container['company_id'];
+ }
+
+ /**
+ * Sets company_id
+ *
+ * @param string|null $company_id The company or subsidiary id the transaction belongs to
+ *
+ * @return self
+ */
+ public function setCompanyId($company_id)
+ {
+ $this->container['company_id'] = $company_id;
+
+ return $this;
+ }
+
/**
* Gets invoice_date
*
diff --git a/src/gen/lib/Model/InvoiceItem.php b/src/gen/lib/Model/InvoiceItem.php
index cc3373dbe..594b39e0e 100644
--- a/src/gen/lib/Model/InvoiceItem.php
+++ b/src/gen/lib/Model/InvoiceItem.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/InvoiceItemSalesDetails.php b/src/gen/lib/Model/InvoiceItemSalesDetails.php
index 6a9cb555a..f2de490b4 100644
--- a/src/gen/lib/Model/InvoiceItemSalesDetails.php
+++ b/src/gen/lib/Model/InvoiceItemSalesDetails.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/InvoiceItemsFilter.php b/src/gen/lib/Model/InvoiceItemsFilter.php
index bbf698caa..b64adcbc9 100644
--- a/src/gen/lib/Model/InvoiceItemsFilter.php
+++ b/src/gen/lib/Model/InvoiceItemsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/InvoiceLineItem.php b/src/gen/lib/Model/InvoiceLineItem.php
index 57dea9bca..3c3348464 100644
--- a/src/gen/lib/Model/InvoiceLineItem.php
+++ b/src/gen/lib/Model/InvoiceLineItem.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -276,6 +276,7 @@ public function getModelName()
const TYPE_DISCOUNT = 'discount';
const TYPE_INFO = 'info';
const TYPE_SUB_TOTAL = 'sub_total';
+ const TYPE_OTHER = 'other';
/**
* Gets allowable values of the enum
@@ -289,6 +290,7 @@ public function getTypeAllowableValues()
self::TYPE_DISCOUNT,
self::TYPE_INFO,
self::TYPE_SUB_TOTAL,
+ self::TYPE_OTHER,
];
}
diff --git a/src/gen/lib/Model/InvoiceResponse.php b/src/gen/lib/Model/InvoiceResponse.php
index 78ddc6650..92dc94ca8 100644
--- a/src/gen/lib/Model/InvoiceResponse.php
+++ b/src/gen/lib/Model/InvoiceResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/InvoicesFilter.php b/src/gen/lib/Model/InvoicesFilter.php
index bd86e1699..23e96791b 100644
--- a/src/gen/lib/Model/InvoicesFilter.php
+++ b/src/gen/lib/Model/InvoicesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/InvoicesSort.php b/src/gen/lib/Model/InvoicesSort.php
index 2f11ebe31..101359e35 100644
--- a/src/gen/lib/Model/InvoicesSort.php
+++ b/src/gen/lib/Model/InvoicesSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/IssueTrackingEventType.php b/src/gen/lib/Model/IssueTrackingEventType.php
index 4c2381954..5de85cdf5 100644
--- a/src/gen/lib/Model/IssueTrackingEventType.php
+++ b/src/gen/lib/Model/IssueTrackingEventType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/IssuesFilter.php b/src/gen/lib/Model/IssuesFilter.php
index 120d54d13..cf929ef3c 100644
--- a/src/gen/lib/Model/IssuesFilter.php
+++ b/src/gen/lib/Model/IssuesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Item.php b/src/gen/lib/Model/Item.php
index 04a9d50e9..a3de49410 100644
--- a/src/gen/lib/Model/Item.php
+++ b/src/gen/lib/Model/Item.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Job.php b/src/gen/lib/Model/Job.php
index 6f320c0ff..be7ac28e7 100644
--- a/src/gen/lib/Model/Job.php
+++ b/src/gen/lib/Model/Job.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/JobLinks.php b/src/gen/lib/Model/JobLinks.php
index aca8766bb..fea1f15fe 100644
--- a/src/gen/lib/Model/JobLinks.php
+++ b/src/gen/lib/Model/JobLinks.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/JobSalary.php b/src/gen/lib/Model/JobSalary.php
index 6ddfb3736..484183deb 100644
--- a/src/gen/lib/Model/JobSalary.php
+++ b/src/gen/lib/Model/JobSalary.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/JobStatus.php b/src/gen/lib/Model/JobStatus.php
index 399b699a9..4671a5f4c 100644
--- a/src/gen/lib/Model/JobStatus.php
+++ b/src/gen/lib/Model/JobStatus.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/JournalEntriesFilter.php b/src/gen/lib/Model/JournalEntriesFilter.php
index a1b1a41ed..e51c94083 100644
--- a/src/gen/lib/Model/JournalEntriesFilter.php
+++ b/src/gen/lib/Model/JournalEntriesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/JournalEntriesSort.php b/src/gen/lib/Model/JournalEntriesSort.php
index 7279dba0a..011d996e7 100644
--- a/src/gen/lib/Model/JournalEntriesSort.php
+++ b/src/gen/lib/Model/JournalEntriesSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/JournalEntry.php b/src/gen/lib/Model/JournalEntry.php
index a4453c52c..fb66c2fb1 100644
--- a/src/gen/lib/Model/JournalEntry.php
+++ b/src/gen/lib/Model/JournalEntry.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -420,7 +420,7 @@ public function getCompanyId()
/**
* Sets company_id
*
- * @param string|null $company_id The company or subsidiary the journal entry belongs to
+ * @param string|null $company_id The company or subsidiary id the transaction belongs to
*
* @return self
*/
diff --git a/src/gen/lib/Model/JournalEntryLineItem.php b/src/gen/lib/Model/JournalEntryLineItem.php
index 2d2a197b9..fca93396c 100644
--- a/src/gen/lib/Model/JournalEntryLineItem.php
+++ b/src/gen/lib/Model/JournalEntryLineItem.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Lead.php b/src/gen/lib/Model/Lead.php
index da75553b5..6065f1013 100644
--- a/src/gen/lib/Model/Lead.php
+++ b/src/gen/lib/Model/Lead.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LeadEventType.php b/src/gen/lib/Model/LeadEventType.php
index a7c590ba5..023389364 100644
--- a/src/gen/lib/Model/LeadEventType.php
+++ b/src/gen/lib/Model/LeadEventType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LeadsFilter.php b/src/gen/lib/Model/LeadsFilter.php
index 7cf046e1e..0e816fc28 100644
--- a/src/gen/lib/Model/LeadsFilter.php
+++ b/src/gen/lib/Model/LeadsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LeadsSort.php b/src/gen/lib/Model/LeadsSort.php
index fd6d6a0ac..1e862a033 100644
--- a/src/gen/lib/Model/LeadsSort.php
+++ b/src/gen/lib/Model/LeadsSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LedgerAccount.php b/src/gen/lib/Model/LedgerAccount.php
index a597dcde6..97921a9a3 100644
--- a/src/gen/lib/Model/LedgerAccount.php
+++ b/src/gen/lib/Model/LedgerAccount.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LedgerAccountCategories.php b/src/gen/lib/Model/LedgerAccountCategories.php
index 208776cd8..b4aa7488a 100644
--- a/src/gen/lib/Model/LedgerAccountCategories.php
+++ b/src/gen/lib/Model/LedgerAccountCategories.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LedgerAccountParentAccount.php b/src/gen/lib/Model/LedgerAccountParentAccount.php
index eb6134e59..b9e64ee88 100644
--- a/src/gen/lib/Model/LedgerAccountParentAccount.php
+++ b/src/gen/lib/Model/LedgerAccountParentAccount.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LedgerAccountsFilter.php b/src/gen/lib/Model/LedgerAccountsFilter.php
index d7e69ddfe..55e096015 100644
--- a/src/gen/lib/Model/LedgerAccountsFilter.php
+++ b/src/gen/lib/Model/LedgerAccountsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LedgerAccountsSort.php b/src/gen/lib/Model/LedgerAccountsSort.php
index b619b3064..9aff7df20 100644
--- a/src/gen/lib/Model/LedgerAccountsSort.php
+++ b/src/gen/lib/Model/LedgerAccountsSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LinkedConnectorResource.php b/src/gen/lib/Model/LinkedConnectorResource.php
index 5aae96d24..bfc95ddc4 100644
--- a/src/gen/lib/Model/LinkedConnectorResource.php
+++ b/src/gen/lib/Model/LinkedConnectorResource.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LinkedCustomer.php b/src/gen/lib/Model/LinkedCustomer.php
index c0be9b3a3..2b63555f3 100644
--- a/src/gen/lib/Model/LinkedCustomer.php
+++ b/src/gen/lib/Model/LinkedCustomer.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -215,9 +215,6 @@ public function listInvalidProperties()
{
$invalidProperties = [];
- if ($this->container['id'] === null) {
- $invalidProperties[] = "'id' can't be null";
- }
return $invalidProperties;
}
@@ -236,7 +233,7 @@ public function valid()
/**
* Gets id
*
- * @return string
+ * @return string|null
*/
public function getId()
{
@@ -246,7 +243,7 @@ public function getId()
/**
* Sets id
*
- * @param string $id The ID of the customer this entity is linked to.
+ * @param string|null $id The ID of the customer this entity is linked to.
*
* @return self
*/
diff --git a/src/gen/lib/Model/LinkedEcommerceCustomer.php b/src/gen/lib/Model/LinkedEcommerceCustomer.php
index e8aa0a9fd..90f47738c 100644
--- a/src/gen/lib/Model/LinkedEcommerceCustomer.php
+++ b/src/gen/lib/Model/LinkedEcommerceCustomer.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LinkedEcommerceOrder.php b/src/gen/lib/Model/LinkedEcommerceOrder.php
index fb940b5a7..ea0851438 100644
--- a/src/gen/lib/Model/LinkedEcommerceOrder.php
+++ b/src/gen/lib/Model/LinkedEcommerceOrder.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LinkedFolder.php b/src/gen/lib/Model/LinkedFolder.php
index 0c5bbf505..c73b852d3 100644
--- a/src/gen/lib/Model/LinkedFolder.php
+++ b/src/gen/lib/Model/LinkedFolder.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LinkedInvoiceItem.php b/src/gen/lib/Model/LinkedInvoiceItem.php
index 30e296c4d..3142e993b 100644
--- a/src/gen/lib/Model/LinkedInvoiceItem.php
+++ b/src/gen/lib/Model/LinkedInvoiceItem.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LinkedLedgerAccount.php b/src/gen/lib/Model/LinkedLedgerAccount.php
index c55a1d3a4..630324f65 100644
--- a/src/gen/lib/Model/LinkedLedgerAccount.php
+++ b/src/gen/lib/Model/LinkedLedgerAccount.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LinkedParentCustomer.php b/src/gen/lib/Model/LinkedParentCustomer.php
index 29909c47e..0ef7d824f 100644
--- a/src/gen/lib/Model/LinkedParentCustomer.php
+++ b/src/gen/lib/Model/LinkedParentCustomer.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LinkedSupplier.php b/src/gen/lib/Model/LinkedSupplier.php
index ed92b92fe..ce5a1a02e 100644
--- a/src/gen/lib/Model/LinkedSupplier.php
+++ b/src/gen/lib/Model/LinkedSupplier.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -215,9 +215,6 @@ public function listInvalidProperties()
{
$invalidProperties = [];
- if ($this->container['id'] === null) {
- $invalidProperties[] = "'id' can't be null";
- }
return $invalidProperties;
}
@@ -236,7 +233,7 @@ public function valid()
/**
* Gets id
*
- * @return string
+ * @return string|null
*/
public function getId()
{
@@ -246,7 +243,7 @@ public function getId()
/**
* Sets id
*
- * @param string $id The ID of the supplier this entity is linked to.
+ * @param string|null $id The ID of the supplier this entity is linked to.
*
* @return self
*/
diff --git a/src/gen/lib/Model/LinkedTaxRate.php b/src/gen/lib/Model/LinkedTaxRate.php
index 10c63c98d..f5f0a178c 100644
--- a/src/gen/lib/Model/LinkedTaxRate.php
+++ b/src/gen/lib/Model/LinkedTaxRate.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LinkedTrackingCategory.php b/src/gen/lib/Model/LinkedTrackingCategory.php
index 35823f634..415a8e62e 100644
--- a/src/gen/lib/Model/LinkedTrackingCategory.php
+++ b/src/gen/lib/Model/LinkedTrackingCategory.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Links.php b/src/gen/lib/Model/Links.php
index a89b5d913..443509511 100644
--- a/src/gen/lib/Model/Links.php
+++ b/src/gen/lib/Model/Links.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Location.php b/src/gen/lib/Model/Location.php
index 852c71a06..1abeb6d77 100644
--- a/src/gen/lib/Model/Location.php
+++ b/src/gen/lib/Model/Location.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Log.php b/src/gen/lib/Model/Log.php
index c5a5a3d5b..9605fa5b5 100644
--- a/src/gen/lib/Model/Log.php
+++ b/src/gen/lib/Model/Log.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LogOperation.php b/src/gen/lib/Model/LogOperation.php
index 110baab34..0ef48764e 100644
--- a/src/gen/lib/Model/LogOperation.php
+++ b/src/gen/lib/Model/LogOperation.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LogService.php b/src/gen/lib/Model/LogService.php
index 17ba3bf1b..f55e7e0e9 100644
--- a/src/gen/lib/Model/LogService.php
+++ b/src/gen/lib/Model/LogService.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/LogsFilter.php b/src/gen/lib/Model/LogsFilter.php
index 71eb582a1..4713f32db 100644
--- a/src/gen/lib/Model/LogsFilter.php
+++ b/src/gen/lib/Model/LogsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Merchant.php b/src/gen/lib/Model/Merchant.php
index dd2a5d0e5..5c1a7d763 100644
--- a/src/gen/lib/Model/Merchant.php
+++ b/src/gen/lib/Model/Merchant.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Message.php b/src/gen/lib/Model/Message.php
index 9089697cb..317066ca4 100644
--- a/src/gen/lib/Model/Message.php
+++ b/src/gen/lib/Model/Message.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Meta.php b/src/gen/lib/Model/Meta.php
index 77056041b..2dc10d2aa 100644
--- a/src/gen/lib/Model/Meta.php
+++ b/src/gen/lib/Model/Meta.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/MetaCursors.php b/src/gen/lib/Model/MetaCursors.php
index 522e72355..1161da081 100644
--- a/src/gen/lib/Model/MetaCursors.php
+++ b/src/gen/lib/Model/MetaCursors.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ModelInterface.php b/src/gen/lib/Model/ModelInterface.php
index b8ce4cfe9..f2853cee5 100644
--- a/src/gen/lib/Model/ModelInterface.php
+++ b/src/gen/lib/Model/ModelInterface.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Modifier.php b/src/gen/lib/Model/Modifier.php
index f65e24f63..e13bf5e44 100644
--- a/src/gen/lib/Model/Modifier.php
+++ b/src/gen/lib/Model/Modifier.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ModifierGroup.php b/src/gen/lib/Model/ModifierGroup.php
index 052dcb0ea..5a28d2c8c 100644
--- a/src/gen/lib/Model/ModifierGroup.php
+++ b/src/gen/lib/Model/ModifierGroup.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ModifierGroupFilter.php b/src/gen/lib/Model/ModifierGroupFilter.php
index ab9cb843d..72c5f902f 100644
--- a/src/gen/lib/Model/ModifierGroupFilter.php
+++ b/src/gen/lib/Model/ModifierGroupFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/NotFoundResponse.php b/src/gen/lib/Model/NotFoundResponse.php
index 9dc1ae1fc..58102f8ac 100644
--- a/src/gen/lib/Model/NotFoundResponse.php
+++ b/src/gen/lib/Model/NotFoundResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/NotImplementedResponse.php b/src/gen/lib/Model/NotImplementedResponse.php
index ef52b6d10..9559abbab 100644
--- a/src/gen/lib/Model/NotImplementedResponse.php
+++ b/src/gen/lib/Model/NotImplementedResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Note.php b/src/gen/lib/Model/Note.php
index cf461d64b..611740e11 100644
--- a/src/gen/lib/Model/Note.php
+++ b/src/gen/lib/Model/Note.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OAuthGrantType.php b/src/gen/lib/Model/OAuthGrantType.php
index 2e9ba48ad..b499a6f3b 100644
--- a/src/gen/lib/Model/OAuthGrantType.php
+++ b/src/gen/lib/Model/OAuthGrantType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Offer.php b/src/gen/lib/Model/Offer.php
index ce2ad1cfc..3661cac35 100644
--- a/src/gen/lib/Model/Offer.php
+++ b/src/gen/lib/Model/Offer.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OpportunitiesFilter.php b/src/gen/lib/Model/OpportunitiesFilter.php
index afb958b8b..96add6452 100644
--- a/src/gen/lib/Model/OpportunitiesFilter.php
+++ b/src/gen/lib/Model/OpportunitiesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OpportunitiesSort.php b/src/gen/lib/Model/OpportunitiesSort.php
index 774cf0459..f6b934ad3 100644
--- a/src/gen/lib/Model/OpportunitiesSort.php
+++ b/src/gen/lib/Model/OpportunitiesSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Opportunity.php b/src/gen/lib/Model/Opportunity.php
index 9a6b8f2f1..a058b8ea7 100644
--- a/src/gen/lib/Model/Opportunity.php
+++ b/src/gen/lib/Model/Opportunity.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Order.php b/src/gen/lib/Model/Order.php
index 9bb14c29b..a46b49d13 100644
--- a/src/gen/lib/Model/Order.php
+++ b/src/gen/lib/Model/Order.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderCustomers.php b/src/gen/lib/Model/OrderCustomers.php
index 25d3b1579..f08aaee17 100644
--- a/src/gen/lib/Model/OrderCustomers.php
+++ b/src/gen/lib/Model/OrderCustomers.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderDiscounts.php b/src/gen/lib/Model/OrderDiscounts.php
index 83a248fc6..324a8f34a 100644
--- a/src/gen/lib/Model/OrderDiscounts.php
+++ b/src/gen/lib/Model/OrderDiscounts.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderFulfillments.php b/src/gen/lib/Model/OrderFulfillments.php
index fbf884251..ba033df8f 100644
--- a/src/gen/lib/Model/OrderFulfillments.php
+++ b/src/gen/lib/Model/OrderFulfillments.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderLineItems.php b/src/gen/lib/Model/OrderLineItems.php
index c2958d660..1ae2087f9 100644
--- a/src/gen/lib/Model/OrderLineItems.php
+++ b/src/gen/lib/Model/OrderLineItems.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderPayments.php b/src/gen/lib/Model/OrderPayments.php
index 1bd7c3619..85559cf61 100644
--- a/src/gen/lib/Model/OrderPayments.php
+++ b/src/gen/lib/Model/OrderPayments.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderPickupDetails.php b/src/gen/lib/Model/OrderPickupDetails.php
index a969bea1a..d241510a5 100644
--- a/src/gen/lib/Model/OrderPickupDetails.php
+++ b/src/gen/lib/Model/OrderPickupDetails.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderPickupDetailsCurbsidePickupDetails.php b/src/gen/lib/Model/OrderPickupDetailsCurbsidePickupDetails.php
index 4e50f2532..a374a7c7b 100644
--- a/src/gen/lib/Model/OrderPickupDetailsCurbsidePickupDetails.php
+++ b/src/gen/lib/Model/OrderPickupDetailsCurbsidePickupDetails.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderPickupDetailsRecipient.php b/src/gen/lib/Model/OrderPickupDetailsRecipient.php
index b6a573538..af66d80fe 100644
--- a/src/gen/lib/Model/OrderPickupDetailsRecipient.php
+++ b/src/gen/lib/Model/OrderPickupDetailsRecipient.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderRefunds.php b/src/gen/lib/Model/OrderRefunds.php
index 5fcda3a50..58b4119a5 100644
--- a/src/gen/lib/Model/OrderRefunds.php
+++ b/src/gen/lib/Model/OrderRefunds.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderTenders.php b/src/gen/lib/Model/OrderTenders.php
index b9a6144d4..0206e5e64 100644
--- a/src/gen/lib/Model/OrderTenders.php
+++ b/src/gen/lib/Model/OrderTenders.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/OrderType.php b/src/gen/lib/Model/OrderType.php
index 32ab91127..4f27d5d2b 100644
--- a/src/gen/lib/Model/OrderType.php
+++ b/src/gen/lib/Model/OrderType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Owner.php b/src/gen/lib/Model/Owner.php
index cf6f8fa34..8d3fd0005 100644
--- a/src/gen/lib/Model/Owner.php
+++ b/src/gen/lib/Model/Owner.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PaginationCoverage.php b/src/gen/lib/Model/PaginationCoverage.php
index bcc600522..7a58ad80a 100644
--- a/src/gen/lib/Model/PaginationCoverage.php
+++ b/src/gen/lib/Model/PaginationCoverage.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PassThroughQuery.php b/src/gen/lib/Model/PassThroughQuery.php
index 8e9afbfea..1b198280b 100644
--- a/src/gen/lib/Model/PassThroughQuery.php
+++ b/src/gen/lib/Model/PassThroughQuery.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Payment.php b/src/gen/lib/Model/Payment.php
index 36fef2cb1..036ad3b19 100644
--- a/src/gen/lib/Model/Payment.php
+++ b/src/gen/lib/Model/Payment.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -74,6 +74,7 @@ class Payment implements ModelInterface, ArrayAccess, \JsonSerializable
'account' => '\Apideck\Client\Model\LinkedLedgerAccount',
'customer' => '\Apideck\Client\Model\LinkedCustomer',
'supplier' => '\Apideck\Client\Model\LinkedSupplier',
+ 'company_id' => 'string',
'reconciled' => 'bool',
'status' => 'string',
'type' => 'string',
@@ -111,6 +112,7 @@ class Payment implements ModelInterface, ArrayAccess, \JsonSerializable
'account' => null,
'customer' => null,
'supplier' => null,
+ 'company_id' => null,
'reconciled' => null,
'status' => null,
'type' => null,
@@ -167,6 +169,7 @@ public static function openAPIFormats()
'account' => 'account',
'customer' => 'customer',
'supplier' => 'supplier',
+ 'company_id' => 'company_id',
'reconciled' => 'reconciled',
'status' => 'status',
'type' => 'type',
@@ -202,6 +205,7 @@ public static function openAPIFormats()
'account' => 'setAccount',
'customer' => 'setCustomer',
'supplier' => 'setSupplier',
+ 'company_id' => 'setCompanyId',
'reconciled' => 'setReconciled',
'status' => 'setStatus',
'type' => 'setType',
@@ -237,6 +241,7 @@ public static function openAPIFormats()
'account' => 'getAccount',
'customer' => 'getCustomer',
'supplier' => 'getSupplier',
+ 'company_id' => 'getCompanyId',
'reconciled' => 'getReconciled',
'status' => 'getStatus',
'type' => 'getType',
@@ -369,6 +374,7 @@ public function __construct(array $data = null)
$this->container['account'] = $data['account'] ?? null;
$this->container['customer'] = $data['customer'] ?? null;
$this->container['supplier'] = $data['supplier'] ?? null;
+ $this->container['company_id'] = $data['company_id'] ?? null;
$this->container['reconciled'] = $data['reconciled'] ?? null;
$this->container['status'] = $data['status'] ?? null;
$this->container['type'] = $data['type'] ?? null;
@@ -798,6 +804,30 @@ public function setSupplier($supplier)
return $this;
}
+ /**
+ * Gets company_id
+ *
+ * @return string|null
+ */
+ public function getCompanyId()
+ {
+ return $this->container['company_id'];
+ }
+
+ /**
+ * Sets company_id
+ *
+ * @param string|null $company_id The company or subsidiary id the transaction belongs to
+ *
+ * @return self
+ */
+ public function setCompanyId($company_id)
+ {
+ $this->container['company_id'] = $company_id;
+
+ return $this;
+ }
+
/**
* Gets reconciled
*
diff --git a/src/gen/lib/Model/PaymentAllocations.php b/src/gen/lib/Model/PaymentAllocations.php
index 38d1bf4f2..844ddd9bc 100644
--- a/src/gen/lib/Model/PaymentAllocations.php
+++ b/src/gen/lib/Model/PaymentAllocations.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PaymentCard.php b/src/gen/lib/Model/PaymentCard.php
index cd7cb4c1b..39d37a92a 100644
--- a/src/gen/lib/Model/PaymentCard.php
+++ b/src/gen/lib/Model/PaymentCard.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PaymentFrequency.php b/src/gen/lib/Model/PaymentFrequency.php
index 91563aa56..9733c8c92 100644
--- a/src/gen/lib/Model/PaymentFrequency.php
+++ b/src/gen/lib/Model/PaymentFrequency.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PaymentRequiredResponse.php b/src/gen/lib/Model/PaymentRequiredResponse.php
index ec2d76059..de0f67b21 100644
--- a/src/gen/lib/Model/PaymentRequiredResponse.php
+++ b/src/gen/lib/Model/PaymentRequiredResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PaymentUnit.php b/src/gen/lib/Model/PaymentUnit.php
index e5c3664e5..058a43850 100644
--- a/src/gen/lib/Model/PaymentUnit.php
+++ b/src/gen/lib/Model/PaymentUnit.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PaymentsFilter.php b/src/gen/lib/Model/PaymentsFilter.php
index 0a673fffe..cb622e6b3 100644
--- a/src/gen/lib/Model/PaymentsFilter.php
+++ b/src/gen/lib/Model/PaymentsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PaymentsSort.php b/src/gen/lib/Model/PaymentsSort.php
index 6a1112918..52c5f3e79 100644
--- a/src/gen/lib/Model/PaymentsSort.php
+++ b/src/gen/lib/Model/PaymentsSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Payroll.php b/src/gen/lib/Model/Payroll.php
index be9b6beb8..b47222f54 100644
--- a/src/gen/lib/Model/Payroll.php
+++ b/src/gen/lib/Model/Payroll.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PayrollTotals.php b/src/gen/lib/Model/PayrollTotals.php
index c83776ff4..f2b9c007d 100644
--- a/src/gen/lib/Model/PayrollTotals.php
+++ b/src/gen/lib/Model/PayrollTotals.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PayrollsFilter.php b/src/gen/lib/Model/PayrollsFilter.php
index 18405afe3..02223f397 100644
--- a/src/gen/lib/Model/PayrollsFilter.php
+++ b/src/gen/lib/Model/PayrollsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Person.php b/src/gen/lib/Model/Person.php
index fc34555a6..7e571b49e 100644
--- a/src/gen/lib/Model/Person.php
+++ b/src/gen/lib/Model/Person.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PhoneNumber.php b/src/gen/lib/Model/PhoneNumber.php
index 53240c334..b54ed261c 100644
--- a/src/gen/lib/Model/PhoneNumber.php
+++ b/src/gen/lib/Model/PhoneNumber.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Pipeline.php b/src/gen/lib/Model/Pipeline.php
index d71927181..6537f313b 100644
--- a/src/gen/lib/Model/Pipeline.php
+++ b/src/gen/lib/Model/Pipeline.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PipelineStages.php b/src/gen/lib/Model/PipelineStages.php
index 5d9eacda4..c4e32ba63 100644
--- a/src/gen/lib/Model/PipelineStages.php
+++ b/src/gen/lib/Model/PipelineStages.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PosBankAccount.php b/src/gen/lib/Model/PosBankAccount.php
index c683bc11a..7a291ec11 100644
--- a/src/gen/lib/Model/PosBankAccount.php
+++ b/src/gen/lib/Model/PosBankAccount.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PosBankAccountAchDetails.php b/src/gen/lib/Model/PosBankAccountAchDetails.php
index 6cca3f990..4f24f276c 100644
--- a/src/gen/lib/Model/PosBankAccountAchDetails.php
+++ b/src/gen/lib/Model/PosBankAccountAchDetails.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PosPayment.php b/src/gen/lib/Model/PosPayment.php
index 0da8b0641..db4276f21 100644
--- a/src/gen/lib/Model/PosPayment.php
+++ b/src/gen/lib/Model/PosPayment.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PosPaymentCardDetails.php b/src/gen/lib/Model/PosPaymentCardDetails.php
index 90cb81cff..508f52089 100644
--- a/src/gen/lib/Model/PosPaymentCardDetails.php
+++ b/src/gen/lib/Model/PosPaymentCardDetails.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PosPaymentExternalDetails.php b/src/gen/lib/Model/PosPaymentExternalDetails.php
index daad08d3e..33a4c6923 100644
--- a/src/gen/lib/Model/PosPaymentExternalDetails.php
+++ b/src/gen/lib/Model/PosPaymentExternalDetails.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Price.php b/src/gen/lib/Model/Price.php
index 0693b185d..5fc5507bd 100644
--- a/src/gen/lib/Model/Price.php
+++ b/src/gen/lib/Model/Price.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProbationPeriod.php b/src/gen/lib/Model/ProbationPeriod.php
index bbdc1b2a0..015aee77e 100644
--- a/src/gen/lib/Model/ProbationPeriod.php
+++ b/src/gen/lib/Model/ProbationPeriod.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProfitAndLoss.php b/src/gen/lib/Model/ProfitAndLoss.php
index 617a99083..62c05fdfc 100644
--- a/src/gen/lib/Model/ProfitAndLoss.php
+++ b/src/gen/lib/Model/ProfitAndLoss.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProfitAndLossExpenses.php b/src/gen/lib/Model/ProfitAndLossExpenses.php
index 2e758f52f..b087a2806 100644
--- a/src/gen/lib/Model/ProfitAndLossExpenses.php
+++ b/src/gen/lib/Model/ProfitAndLossExpenses.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProfitAndLossFilter.php b/src/gen/lib/Model/ProfitAndLossFilter.php
index c5d1a8011..95fd432f6 100644
--- a/src/gen/lib/Model/ProfitAndLossFilter.php
+++ b/src/gen/lib/Model/ProfitAndLossFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProfitAndLossGrossProfit.php b/src/gen/lib/Model/ProfitAndLossGrossProfit.php
index 6f8a7ca34..5b138a20a 100644
--- a/src/gen/lib/Model/ProfitAndLossGrossProfit.php
+++ b/src/gen/lib/Model/ProfitAndLossGrossProfit.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProfitAndLossIncome.php b/src/gen/lib/Model/ProfitAndLossIncome.php
index cd4900b09..5dc32a113 100644
--- a/src/gen/lib/Model/ProfitAndLossIncome.php
+++ b/src/gen/lib/Model/ProfitAndLossIncome.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProfitAndLossNetIncome.php b/src/gen/lib/Model/ProfitAndLossNetIncome.php
index aa6f315d1..fe704a556 100644
--- a/src/gen/lib/Model/ProfitAndLossNetIncome.php
+++ b/src/gen/lib/Model/ProfitAndLossNetIncome.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProfitAndLossNetOperatingIncome.php b/src/gen/lib/Model/ProfitAndLossNetOperatingIncome.php
index ff66a57ee..2aa23f69f 100644
--- a/src/gen/lib/Model/ProfitAndLossNetOperatingIncome.php
+++ b/src/gen/lib/Model/ProfitAndLossNetOperatingIncome.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProfitAndLossRecord.php b/src/gen/lib/Model/ProfitAndLossRecord.php
index b972c3448..8b12b5960 100644
--- a/src/gen/lib/Model/ProfitAndLossRecord.php
+++ b/src/gen/lib/Model/ProfitAndLossRecord.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ProfitAndLossSection.php b/src/gen/lib/Model/ProfitAndLossSection.php
index 49e9a06df..90847483a 100644
--- a/src/gen/lib/Model/ProfitAndLossSection.php
+++ b/src/gen/lib/Model/ProfitAndLossSection.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PurchaseOrder.php b/src/gen/lib/Model/PurchaseOrder.php
index 6909784e6..44b7ce8be 100644
--- a/src/gen/lib/Model/PurchaseOrder.php
+++ b/src/gen/lib/Model/PurchaseOrder.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -64,6 +64,7 @@ class PurchaseOrder implements ModelInterface, ArrayAccess, \JsonSerializable
'po_number' => 'string',
'reference' => 'string',
'supplier' => '\Apideck\Client\Model\LinkedSupplier',
+ 'company_id' => 'string',
'status' => 'string',
'issued_date' => '\DateTime',
'delivery_date' => '\DateTime',
@@ -107,6 +108,7 @@ class PurchaseOrder implements ModelInterface, ArrayAccess, \JsonSerializable
'po_number' => null,
'reference' => null,
'supplier' => null,
+ 'company_id' => null,
'status' => null,
'issued_date' => 'date',
'delivery_date' => 'date',
@@ -169,6 +171,7 @@ public static function openAPIFormats()
'po_number' => 'po_number',
'reference' => 'reference',
'supplier' => 'supplier',
+ 'company_id' => 'company_id',
'status' => 'status',
'issued_date' => 'issued_date',
'delivery_date' => 'delivery_date',
@@ -210,6 +213,7 @@ public static function openAPIFormats()
'po_number' => 'setPoNumber',
'reference' => 'setReference',
'supplier' => 'setSupplier',
+ 'company_id' => 'setCompanyId',
'status' => 'setStatus',
'issued_date' => 'setIssuedDate',
'delivery_date' => 'setDeliveryDate',
@@ -251,6 +255,7 @@ public static function openAPIFormats()
'po_number' => 'getPoNumber',
'reference' => 'getReference',
'supplier' => 'getSupplier',
+ 'company_id' => 'getCompanyId',
'status' => 'getStatus',
'issued_date' => 'getIssuedDate',
'delivery_date' => 'getDeliveryDate',
@@ -366,6 +371,7 @@ public function __construct(array $data = null)
$this->container['po_number'] = $data['po_number'] ?? null;
$this->container['reference'] = $data['reference'] ?? null;
$this->container['supplier'] = $data['supplier'] ?? null;
+ $this->container['company_id'] = $data['company_id'] ?? null;
$this->container['status'] = $data['status'] ?? null;
$this->container['issued_date'] = $data['issued_date'] ?? null;
$this->container['delivery_date'] = $data['delivery_date'] ?? null;
@@ -549,6 +555,30 @@ public function setSupplier($supplier)
return $this;
}
+ /**
+ * Gets company_id
+ *
+ * @return string|null
+ */
+ public function getCompanyId()
+ {
+ return $this->container['company_id'];
+ }
+
+ /**
+ * Sets company_id
+ *
+ * @param string|null $company_id The company or subsidiary id the transaction belongs to
+ *
+ * @return self
+ */
+ public function setCompanyId($company_id)
+ {
+ $this->container['company_id'] = $company_id;
+
+ return $this;
+ }
+
/**
* Gets status
*
diff --git a/src/gen/lib/Model/PurchaseOrdersFilter.php b/src/gen/lib/Model/PurchaseOrdersFilter.php
index 454d5f98c..32defcf62 100644
--- a/src/gen/lib/Model/PurchaseOrdersFilter.php
+++ b/src/gen/lib/Model/PurchaseOrdersFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/PurchaseOrdersSort.php b/src/gen/lib/Model/PurchaseOrdersSort.php
index 3faea7437..a4b06abf3 100644
--- a/src/gen/lib/Model/PurchaseOrdersSort.php
+++ b/src/gen/lib/Model/PurchaseOrdersSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/RequestCountAllocation.php b/src/gen/lib/Model/RequestCountAllocation.php
index 3862a650e..9daf4cc5a 100644
--- a/src/gen/lib/Model/RequestCountAllocation.php
+++ b/src/gen/lib/Model/RequestCountAllocation.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/RequestRate.php b/src/gen/lib/Model/RequestRate.php
index 63680573e..1083c4adf 100644
--- a/src/gen/lib/Model/RequestRate.php
+++ b/src/gen/lib/Model/RequestRate.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ResolveWebhookResponse.php b/src/gen/lib/Model/ResolveWebhookResponse.php
index 291e3bc5d..4fd81bef1 100644
--- a/src/gen/lib/Model/ResolveWebhookResponse.php
+++ b/src/gen/lib/Model/ResolveWebhookResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ResourceExample.php b/src/gen/lib/Model/ResourceExample.php
index 1d65f28a8..3f51ecdbc 100644
--- a/src/gen/lib/Model/ResourceExample.php
+++ b/src/gen/lib/Model/ResourceExample.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ResourceStatus.php b/src/gen/lib/Model/ResourceStatus.php
index ecd7860c9..6f25fc2d1 100644
--- a/src/gen/lib/Model/ResourceStatus.php
+++ b/src/gen/lib/Model/ResourceStatus.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Schedule.php b/src/gen/lib/Model/Schedule.php
index 70e03db98..e8986d0f8 100644
--- a/src/gen/lib/Model/Schedule.php
+++ b/src/gen/lib/Model/Schedule.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ScheduleWorkPattern.php b/src/gen/lib/Model/ScheduleWorkPattern.php
index 2b493d968..e769b9c97 100644
--- a/src/gen/lib/Model/ScheduleWorkPattern.php
+++ b/src/gen/lib/Model/ScheduleWorkPattern.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ScheduleWorkPatternOddWeeks.php b/src/gen/lib/Model/ScheduleWorkPatternOddWeeks.php
index dbcc150f7..6735d521e 100644
--- a/src/gen/lib/Model/ScheduleWorkPatternOddWeeks.php
+++ b/src/gen/lib/Model/ScheduleWorkPatternOddWeeks.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SchemaSupport.php b/src/gen/lib/Model/SchemaSupport.php
index 9a576d340..5cfb504ad 100644
--- a/src/gen/lib/Model/SchemaSupport.php
+++ b/src/gen/lib/Model/SchemaSupport.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/ServiceCharge.php b/src/gen/lib/Model/ServiceCharge.php
index edcbc61b7..fe8c90ef3 100644
--- a/src/gen/lib/Model/ServiceCharge.php
+++ b/src/gen/lib/Model/ServiceCharge.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Session.php b/src/gen/lib/Model/Session.php
index 4a52c4dfc..8cfd2de63 100644
--- a/src/gen/lib/Model/Session.php
+++ b/src/gen/lib/Model/Session.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SessionSettings.php b/src/gen/lib/Model/SessionSettings.php
index 5d4da2899..1bc2d3c32 100644
--- a/src/gen/lib/Model/SessionSettings.php
+++ b/src/gen/lib/Model/SessionSettings.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SessionTheme.php b/src/gen/lib/Model/SessionTheme.php
index 766293625..315d53608 100644
--- a/src/gen/lib/Model/SessionTheme.php
+++ b/src/gen/lib/Model/SessionTheme.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SharedLink.php b/src/gen/lib/Model/SharedLink.php
index 29ceaf4ce..e3b84cdf4 100644
--- a/src/gen/lib/Model/SharedLink.php
+++ b/src/gen/lib/Model/SharedLink.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SharedLinkTarget.php b/src/gen/lib/Model/SharedLinkTarget.php
index 4de878c88..9c01a4373 100644
--- a/src/gen/lib/Model/SharedLinkTarget.php
+++ b/src/gen/lib/Model/SharedLinkTarget.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SimpleFormFieldOption.php b/src/gen/lib/Model/SimpleFormFieldOption.php
index b845cce8e..db6effd32 100644
--- a/src/gen/lib/Model/SimpleFormFieldOption.php
+++ b/src/gen/lib/Model/SimpleFormFieldOption.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SocialLink.php b/src/gen/lib/Model/SocialLink.php
index d0b636797..f8beff2b3 100644
--- a/src/gen/lib/Model/SocialLink.php
+++ b/src/gen/lib/Model/SocialLink.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SortDirection.php b/src/gen/lib/Model/SortDirection.php
index 844e8c2c2..18e67b010 100644
--- a/src/gen/lib/Model/SortDirection.php
+++ b/src/gen/lib/Model/SortDirection.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Status.php b/src/gen/lib/Model/Status.php
index 5faefdad2..0e41091d3 100644
--- a/src/gen/lib/Model/Status.php
+++ b/src/gen/lib/Model/Status.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Subsidiary.php b/src/gen/lib/Model/Subsidiary.php
new file mode 100644
index 000000000..d4263e15a
--- /dev/null
+++ b/src/gen/lib/Model/Subsidiary.php
@@ -0,0 +1,624 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class Subsidiary implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'Subsidiary';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'id' => 'string',
+ 'parent_id' => 'string',
+ 'name' => 'string',
+ 'status' => 'string',
+ 'custom_mappings' => 'object',
+ 'row_version' => 'string',
+ 'updated_by' => 'string',
+ 'created_by' => 'string',
+ 'updated_at' => '\DateTime',
+ 'created_at' => '\DateTime'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'id' => null,
+ 'parent_id' => null,
+ 'name' => null,
+ 'status' => null,
+ 'custom_mappings' => null,
+ 'row_version' => null,
+ 'updated_by' => null,
+ 'created_by' => null,
+ 'updated_at' => 'date-time',
+ 'created_at' => 'date-time'
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'id' => 'id',
+ 'parent_id' => 'parent_id',
+ 'name' => 'name',
+ 'status' => 'status',
+ 'custom_mappings' => 'custom_mappings',
+ 'row_version' => 'row_version',
+ 'updated_by' => 'updated_by',
+ 'created_by' => 'created_by',
+ 'updated_at' => 'updated_at',
+ 'created_at' => 'created_at'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'id' => 'setId',
+ 'parent_id' => 'setParentId',
+ 'name' => 'setName',
+ 'status' => 'setStatus',
+ 'custom_mappings' => 'setCustomMappings',
+ 'row_version' => 'setRowVersion',
+ 'updated_by' => 'setUpdatedBy',
+ 'created_by' => 'setCreatedBy',
+ 'updated_at' => 'setUpdatedAt',
+ 'created_at' => 'setCreatedAt'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'id' => 'getId',
+ 'parent_id' => 'getParentId',
+ 'name' => 'getName',
+ 'status' => 'getStatus',
+ 'custom_mappings' => 'getCustomMappings',
+ 'row_version' => 'getRowVersion',
+ 'updated_by' => 'getUpdatedBy',
+ 'created_by' => 'getCreatedBy',
+ 'updated_at' => 'getUpdatedAt',
+ 'created_at' => 'getCreatedAt'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+ const STATUS_ACTIVE = 'active';
+ const STATUS_INACTIVE = 'inactive';
+
+ /**
+ * Gets allowable values of the enum
+ *
+ * @return string[]
+ */
+ public function getStatusAllowableValues()
+ {
+ return [
+ self::STATUS_ACTIVE,
+ self::STATUS_INACTIVE,
+ ];
+ }
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['id'] = $data['id'] ?? null;
+ $this->container['parent_id'] = $data['parent_id'] ?? null;
+ $this->container['name'] = $data['name'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['custom_mappings'] = $data['custom_mappings'] ?? null;
+ $this->container['row_version'] = $data['row_version'] ?? null;
+ $this->container['updated_by'] = $data['updated_by'] ?? null;
+ $this->container['created_by'] = $data['created_by'] ?? null;
+ $this->container['updated_at'] = $data['updated_at'] ?? null;
+ $this->container['created_at'] = $data['created_at'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ $allowedValues = $this->getStatusAllowableValues();
+ if (!is_null($this->container['status']) && !in_array($this->container['status'], $allowedValues, true)) {
+ $invalidProperties[] = sprintf(
+ "invalid value '%s' for 'status', must be one of '%s'",
+ $this->container['status'],
+ implode("', '", $allowedValues)
+ );
+ }
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets id
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->container['id'];
+ }
+
+ /**
+ * Sets id
+ *
+ * @param string|null $id A unique identifier for an object.
+ *
+ * @return self
+ */
+ public function setId($id)
+ {
+ $this->container['id'] = $id;
+
+ return $this;
+ }
+
+ /**
+ * Gets parent_id
+ *
+ * @return string|null
+ */
+ public function getParentId()
+ {
+ return $this->container['parent_id'];
+ }
+
+ /**
+ * Sets parent_id
+ *
+ * @param string|null $parent_id A unique identifier for an object.
+ *
+ * @return self
+ */
+ public function setParentId($parent_id)
+ {
+ $this->container['parent_id'] = $parent_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets name
+ *
+ * @return string|null
+ */
+ public function getName()
+ {
+ return $this->container['name'];
+ }
+
+ /**
+ * Sets name
+ *
+ * @param string|null $name The name of the company.
+ *
+ * @return self
+ */
+ public function setName($name)
+ {
+ $this->container['name'] = $name;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string|null
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string|null $status Based on the status some functionality is enabled or disabled.
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $allowedValues = $this->getStatusAllowableValues();
+ if (!is_null($status) && !in_array($status, $allowedValues, true)) {
+ throw new \InvalidArgumentException(
+ sprintf(
+ "Invalid value '%s' for 'status', must be one of '%s'",
+ $status,
+ implode("', '", $allowedValues)
+ )
+ );
+ }
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets custom_mappings
+ *
+ * @return object|null
+ */
+ public function getCustomMappings()
+ {
+ return $this->container['custom_mappings'];
+ }
+
+ /**
+ * Sets custom_mappings
+ *
+ * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here.
+ *
+ * @return self
+ */
+ public function setCustomMappings($custom_mappings)
+ {
+ $this->container['custom_mappings'] = $custom_mappings;
+
+ return $this;
+ }
+
+ /**
+ * Gets row_version
+ *
+ * @return string|null
+ */
+ public function getRowVersion()
+ {
+ return $this->container['row_version'];
+ }
+
+ /**
+ * Sets row_version
+ *
+ * @param string|null $row_version A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
+ *
+ * @return self
+ */
+ public function setRowVersion($row_version)
+ {
+ $this->container['row_version'] = $row_version;
+
+ return $this;
+ }
+
+ /**
+ * Gets updated_by
+ *
+ * @return string|null
+ */
+ public function getUpdatedBy()
+ {
+ return $this->container['updated_by'];
+ }
+
+ /**
+ * Sets updated_by
+ *
+ * @param string|null $updated_by The user who last updated the object.
+ *
+ * @return self
+ */
+ public function setUpdatedBy($updated_by)
+ {
+ $this->container['updated_by'] = $updated_by;
+
+ return $this;
+ }
+
+ /**
+ * Gets created_by
+ *
+ * @return string|null
+ */
+ public function getCreatedBy()
+ {
+ return $this->container['created_by'];
+ }
+
+ /**
+ * Sets created_by
+ *
+ * @param string|null $created_by The user who created the object.
+ *
+ * @return self
+ */
+ public function setCreatedBy($created_by)
+ {
+ $this->container['created_by'] = $created_by;
+
+ return $this;
+ }
+
+ /**
+ * Gets updated_at
+ *
+ * @return \DateTime|null
+ */
+ public function getUpdatedAt()
+ {
+ return $this->container['updated_at'];
+ }
+
+ /**
+ * Sets updated_at
+ *
+ * @param \DateTime|null $updated_at The date and time when the object was last updated.
+ *
+ * @return self
+ */
+ public function setUpdatedAt($updated_at)
+ {
+ $this->container['updated_at'] = $updated_at;
+
+ return $this;
+ }
+
+ /**
+ * Gets created_at
+ *
+ * @return \DateTime|null
+ */
+ public function getCreatedAt()
+ {
+ return $this->container['created_at'];
+ }
+
+ /**
+ * Sets created_at
+ *
+ * @param \DateTime|null $created_at The date and time when the object was created.
+ *
+ * @return self
+ */
+ public function setCreatedAt($created_at)
+ {
+ $this->container['created_at'] = $created_at;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/SubsidiaryReference.php b/src/gen/lib/Model/SubsidiaryReference.php
new file mode 100644
index 000000000..0e537cf2b
--- /dev/null
+++ b/src/gen/lib/Model/SubsidiaryReference.php
@@ -0,0 +1,350 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class SubsidiaryReference implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'SubsidiaryReference';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'id' => 'string',
+ 'name' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'id' => null,
+ 'name' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'id' => 'id',
+ 'name' => 'name'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'id' => 'setId',
+ 'name' => 'setName'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'id' => 'getId',
+ 'name' => 'getName'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['id'] = $data['id'] ?? null;
+ $this->container['name'] = $data['name'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets id
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->container['id'];
+ }
+
+ /**
+ * Sets id
+ *
+ * @param string|null $id A unique identifier for an object.
+ *
+ * @return self
+ */
+ public function setId($id)
+ {
+ $this->container['id'] = $id;
+
+ return $this;
+ }
+
+ /**
+ * Gets name
+ *
+ * @return string|null
+ */
+ public function getName()
+ {
+ return $this->container['name'];
+ }
+
+ /**
+ * Sets name
+ *
+ * @param string|null $name The name of the company.
+ *
+ * @return self
+ */
+ public function setName($name)
+ {
+ $this->container['name'] = $name;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/Supplier.php b/src/gen/lib/Model/Supplier.php
index 2e9cdf6db..23db37033 100644
--- a/src/gen/lib/Model/Supplier.php
+++ b/src/gen/lib/Model/Supplier.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -64,6 +64,7 @@ class Supplier implements ModelInterface, ArrayAccess, \JsonSerializable
'display_id' => 'string',
'display_name' => 'string',
'company_name' => 'string',
+ 'company_id' => 'string',
'title' => 'string',
'first_name' => 'string',
'middle_name' => 'string',
@@ -104,6 +105,7 @@ class Supplier implements ModelInterface, ArrayAccess, \JsonSerializable
'display_id' => null,
'display_name' => null,
'company_name' => null,
+ 'company_id' => null,
'title' => null,
'first_name' => null,
'middle_name' => null,
@@ -163,6 +165,7 @@ public static function openAPIFormats()
'display_id' => 'display_id',
'display_name' => 'display_name',
'company_name' => 'company_name',
+ 'company_id' => 'company_id',
'title' => 'title',
'first_name' => 'first_name',
'middle_name' => 'middle_name',
@@ -201,6 +204,7 @@ public static function openAPIFormats()
'display_id' => 'setDisplayId',
'display_name' => 'setDisplayName',
'company_name' => 'setCompanyName',
+ 'company_id' => 'setCompanyId',
'title' => 'setTitle',
'first_name' => 'setFirstName',
'middle_name' => 'setMiddleName',
@@ -239,6 +243,7 @@ public static function openAPIFormats()
'display_id' => 'getDisplayId',
'display_name' => 'getDisplayName',
'company_name' => 'getCompanyName',
+ 'company_id' => 'getCompanyId',
'title' => 'getTitle',
'first_name' => 'getFirstName',
'middle_name' => 'getMiddleName',
@@ -349,6 +354,7 @@ public function __construct(array $data = null)
$this->container['display_id'] = $data['display_id'] ?? null;
$this->container['display_name'] = $data['display_name'] ?? null;
$this->container['company_name'] = $data['company_name'] ?? null;
+ $this->container['company_id'] = $data['company_id'] ?? null;
$this->container['title'] = $data['title'] ?? null;
$this->container['first_name'] = $data['first_name'] ?? null;
$this->container['middle_name'] = $data['middle_name'] ?? null;
@@ -532,6 +538,30 @@ public function setCompanyName($company_name)
return $this;
}
+ /**
+ * Gets company_id
+ *
+ * @return string|null
+ */
+ public function getCompanyId()
+ {
+ return $this->container['company_id'];
+ }
+
+ /**
+ * Sets company_id
+ *
+ * @param string|null $company_id The company or subsidiary id the transaction belongs to
+ *
+ * @return self
+ */
+ public function setCompanyId($company_id)
+ {
+ $this->container['company_id'] = $company_id;
+
+ return $this;
+ }
+
/**
* Gets title
*
diff --git a/src/gen/lib/Model/SuppliersFilter.php b/src/gen/lib/Model/SuppliersFilter.php
index 8c0fcaaad..c8d697969 100644
--- a/src/gen/lib/Model/SuppliersFilter.php
+++ b/src/gen/lib/Model/SuppliersFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SuppliersSort.php b/src/gen/lib/Model/SuppliersSort.php
index e0f983969..addebf687 100644
--- a/src/gen/lib/Model/SuppliersSort.php
+++ b/src/gen/lib/Model/SuppliersSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/SupportedProperty.php b/src/gen/lib/Model/SupportedProperty.php
index ff632ca6b..418183c82 100644
--- a/src/gen/lib/Model/SupportedProperty.php
+++ b/src/gen/lib/Model/SupportedProperty.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Tax.php b/src/gen/lib/Model/Tax.php
index f2a29ceaf..4c1f71973 100644
--- a/src/gen/lib/Model/Tax.php
+++ b/src/gen/lib/Model/Tax.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/TaxRate.php b/src/gen/lib/Model/TaxRate.php
index 218da666e..5b172be7f 100644
--- a/src/gen/lib/Model/TaxRate.php
+++ b/src/gen/lib/Model/TaxRate.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/TaxRatesFilter.php b/src/gen/lib/Model/TaxRatesFilter.php
index 162d1b43b..f3d2f690f 100644
--- a/src/gen/lib/Model/TaxRatesFilter.php
+++ b/src/gen/lib/Model/TaxRatesFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Team.php b/src/gen/lib/Model/Team.php
index 6ba46ab82..10575f1ea 100644
--- a/src/gen/lib/Model/Team.php
+++ b/src/gen/lib/Model/Team.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Tender.php b/src/gen/lib/Model/Tender.php
index 022c93d37..1488f15e4 100644
--- a/src/gen/lib/Model/Tender.php
+++ b/src/gen/lib/Model/Tender.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Ticket.php b/src/gen/lib/Model/Ticket.php
index f548df712..48bdd534e 100644
--- a/src/gen/lib/Model/Ticket.php
+++ b/src/gen/lib/Model/Ticket.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/TicketsSort.php b/src/gen/lib/Model/TicketsSort.php
index 76ecffde8..e75f663c3 100644
--- a/src/gen/lib/Model/TicketsSort.php
+++ b/src/gen/lib/Model/TicketsSort.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/TimeOffRequest.php b/src/gen/lib/Model/TimeOffRequest.php
index 39aac3c7c..5cfcdc89d 100644
--- a/src/gen/lib/Model/TimeOffRequest.php
+++ b/src/gen/lib/Model/TimeOffRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/TimeOffRequestNotes.php b/src/gen/lib/Model/TimeOffRequestNotes.php
index c71b7336e..f87a662be 100644
--- a/src/gen/lib/Model/TimeOffRequestNotes.php
+++ b/src/gen/lib/Model/TimeOffRequestNotes.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/TimeOffRequestsFilter.php b/src/gen/lib/Model/TimeOffRequestsFilter.php
index 584a4e7e7..854d95bd9 100644
--- a/src/gen/lib/Model/TimeOffRequestsFilter.php
+++ b/src/gen/lib/Model/TimeOffRequestsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/TooManyRequestsResponse.php b/src/gen/lib/Model/TooManyRequestsResponse.php
index 698438dee..0b2ef0f9c 100644
--- a/src/gen/lib/Model/TooManyRequestsResponse.php
+++ b/src/gen/lib/Model/TooManyRequestsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/TooManyRequestsResponseDetail.php b/src/gen/lib/Model/TooManyRequestsResponseDetail.php
index 5e786933c..ad7e35a52 100644
--- a/src/gen/lib/Model/TooManyRequestsResponseDetail.php
+++ b/src/gen/lib/Model/TooManyRequestsResponseDetail.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/TrackingItem.php b/src/gen/lib/Model/TrackingItem.php
index c4cc03323..60d135445 100644
--- a/src/gen/lib/Model/TrackingItem.php
+++ b/src/gen/lib/Model/TrackingItem.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UnauthorizedResponse.php b/src/gen/lib/Model/UnauthorizedResponse.php
index d08d2cb51..ee88b6540 100644
--- a/src/gen/lib/Model/UnauthorizedResponse.php
+++ b/src/gen/lib/Model/UnauthorizedResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -63,7 +63,7 @@ class UnauthorizedResponse implements ModelInterface, ArrayAccess, \JsonSerializ
'error' => 'string',
'type_name' => 'string',
'message' => 'string',
- 'detail' => 'string',
+ 'detail' => 'AnyOfStringObject',
'ref' => 'string'
];
@@ -334,7 +334,7 @@ public function setMessage($message)
/**
* Gets detail
*
- * @return string|null
+ * @return AnyOfStringObject|null
*/
public function getDetail()
{
@@ -344,7 +344,7 @@ public function getDetail()
/**
* Sets detail
*
- * @param string|null $detail Contains parameter or domain specific information related to the error and why it occurred.
+ * @param AnyOfStringObject|null $detail Contains parameter or domain specific information related to the error and why it occurred.
*
* @return self
*/
diff --git a/src/gen/lib/Model/UnexpectedErrorResponse.php b/src/gen/lib/Model/UnexpectedErrorResponse.php
index 83786f7c2..289b7ca10 100644
--- a/src/gen/lib/Model/UnexpectedErrorResponse.php
+++ b/src/gen/lib/Model/UnexpectedErrorResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UnifiedApiId.php b/src/gen/lib/Model/UnifiedApiId.php
index b9ac708a8..03d9a8e0c 100644
--- a/src/gen/lib/Model/UnifiedApiId.php
+++ b/src/gen/lib/Model/UnifiedApiId.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UnifiedFile.php b/src/gen/lib/Model/UnifiedFile.php
index 66e6aeddd..c189d2969 100644
--- a/src/gen/lib/Model/UnifiedFile.php
+++ b/src/gen/lib/Model/UnifiedFile.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UnifiedFilePermissions.php b/src/gen/lib/Model/UnifiedFilePermissions.php
index eb5332d1d..2f87639e2 100644
--- a/src/gen/lib/Model/UnifiedFilePermissions.php
+++ b/src/gen/lib/Model/UnifiedFilePermissions.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UnifiedId.php b/src/gen/lib/Model/UnifiedId.php
index a070721e6..03e51089f 100644
--- a/src/gen/lib/Model/UnifiedId.php
+++ b/src/gen/lib/Model/UnifiedId.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UnprocessableResponse.php b/src/gen/lib/Model/UnprocessableResponse.php
index 3fc40f75c..43e6c6874 100644
--- a/src/gen/lib/Model/UnprocessableResponse.php
+++ b/src/gen/lib/Model/UnprocessableResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -63,7 +63,7 @@ class UnprocessableResponse implements ModelInterface, ArrayAccess, \JsonSeriali
'error' => 'string',
'type_name' => 'string',
'message' => 'string',
- 'detail' => 'string',
+ 'detail' => 'AnyOfStringObject',
'ref' => 'string'
];
@@ -334,7 +334,7 @@ public function setMessage($message)
/**
* Gets detail
*
- * @return string|null
+ * @return AnyOfStringObject|null
*/
public function getDetail()
{
@@ -344,7 +344,7 @@ public function getDetail()
/**
* Sets detail
*
- * @param string|null $detail Contains parameter or domain specific information related to the error and why it occurred.
+ * @param AnyOfStringObject|null $detail Contains parameter or domain specific information related to the error and why it occurred.
*
* @return self
*/
diff --git a/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php b/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php
new file mode 100644
index 000000000..b7cf69119
--- /dev/null
+++ b/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class UpdateAccountingDepartmentResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'UpdateAccountingDepartmentResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\UnifiedId'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\UnifiedId
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\UnifiedId $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/UpdateAccountingLocationResponse.php b/src/gen/lib/Model/UpdateAccountingLocationResponse.php
new file mode 100644
index 000000000..562a1d699
--- /dev/null
+++ b/src/gen/lib/Model/UpdateAccountingLocationResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class UpdateAccountingLocationResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'UpdateAccountingLocationResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\UnifiedId'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\UnifiedId
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\UnifiedId $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/UpdateActivityResponse.php b/src/gen/lib/Model/UpdateActivityResponse.php
index 89146ddb2..b296b99de 100644
--- a/src/gen/lib/Model/UpdateActivityResponse.php
+++ b/src/gen/lib/Model/UpdateActivityResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateApplicantResponse.php b/src/gen/lib/Model/UpdateApplicantResponse.php
index 80dda4673..762f3bfdf 100644
--- a/src/gen/lib/Model/UpdateApplicantResponse.php
+++ b/src/gen/lib/Model/UpdateApplicantResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateApplicationResponse.php b/src/gen/lib/Model/UpdateApplicationResponse.php
index 1647ba9f9..04ba0ad55 100644
--- a/src/gen/lib/Model/UpdateApplicationResponse.php
+++ b/src/gen/lib/Model/UpdateApplicationResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateBillResponse.php b/src/gen/lib/Model/UpdateBillResponse.php
index eefbce7d4..815ddb3dd 100644
--- a/src/gen/lib/Model/UpdateBillResponse.php
+++ b/src/gen/lib/Model/UpdateBillResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateCommentResponse.php b/src/gen/lib/Model/UpdateCommentResponse.php
index 45446acce..1fe4e36a6 100644
--- a/src/gen/lib/Model/UpdateCommentResponse.php
+++ b/src/gen/lib/Model/UpdateCommentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateCompanyResponse.php b/src/gen/lib/Model/UpdateCompanyResponse.php
index f555ab8dc..e3138e50a 100644
--- a/src/gen/lib/Model/UpdateCompanyResponse.php
+++ b/src/gen/lib/Model/UpdateCompanyResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateConnectionResponse.php b/src/gen/lib/Model/UpdateConnectionResponse.php
index 3ceec26a1..5a631ab7a 100644
--- a/src/gen/lib/Model/UpdateConnectionResponse.php
+++ b/src/gen/lib/Model/UpdateConnectionResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateConsumerRequest.php b/src/gen/lib/Model/UpdateConsumerRequest.php
index 5acd8438d..6d021aecd 100644
--- a/src/gen/lib/Model/UpdateConsumerRequest.php
+++ b/src/gen/lib/Model/UpdateConsumerRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateConsumerResponse.php b/src/gen/lib/Model/UpdateConsumerResponse.php
index 1d91a314e..da1fd25ac 100644
--- a/src/gen/lib/Model/UpdateConsumerResponse.php
+++ b/src/gen/lib/Model/UpdateConsumerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateContactResponse.php b/src/gen/lib/Model/UpdateContactResponse.php
index 82432eabb..998b4f798 100644
--- a/src/gen/lib/Model/UpdateContactResponse.php
+++ b/src/gen/lib/Model/UpdateContactResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateCreditNoteResponse.php b/src/gen/lib/Model/UpdateCreditNoteResponse.php
index 551f05892..0ed480bcd 100644
--- a/src/gen/lib/Model/UpdateCreditNoteResponse.php
+++ b/src/gen/lib/Model/UpdateCreditNoteResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateCustomMappingRequest.php b/src/gen/lib/Model/UpdateCustomMappingRequest.php
index 6e049821a..a54d6bf23 100644
--- a/src/gen/lib/Model/UpdateCustomMappingRequest.php
+++ b/src/gen/lib/Model/UpdateCustomMappingRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateCustomMappingResponse.php b/src/gen/lib/Model/UpdateCustomMappingResponse.php
index 02724f062..7b5df7c3f 100644
--- a/src/gen/lib/Model/UpdateCustomMappingResponse.php
+++ b/src/gen/lib/Model/UpdateCustomMappingResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateCustomerResponse.php b/src/gen/lib/Model/UpdateCustomerResponse.php
index 5f226de51..fc680dd22 100644
--- a/src/gen/lib/Model/UpdateCustomerResponse.php
+++ b/src/gen/lib/Model/UpdateCustomerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateDepartmentResponse.php b/src/gen/lib/Model/UpdateDepartmentResponse.php
index 9a68f7856..2587a8cc4 100644
--- a/src/gen/lib/Model/UpdateDepartmentResponse.php
+++ b/src/gen/lib/Model/UpdateDepartmentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateDriveGroupResponse.php b/src/gen/lib/Model/UpdateDriveGroupResponse.php
index f52ca1d9d..fa914fbe7 100644
--- a/src/gen/lib/Model/UpdateDriveGroupResponse.php
+++ b/src/gen/lib/Model/UpdateDriveGroupResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateDriveResponse.php b/src/gen/lib/Model/UpdateDriveResponse.php
index d098a92b8..5c524fd3d 100644
--- a/src/gen/lib/Model/UpdateDriveResponse.php
+++ b/src/gen/lib/Model/UpdateDriveResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateEcommerceCustomerResponse.php b/src/gen/lib/Model/UpdateEcommerceCustomerResponse.php
index 2f98cd4c3..06b5d5a18 100644
--- a/src/gen/lib/Model/UpdateEcommerceCustomerResponse.php
+++ b/src/gen/lib/Model/UpdateEcommerceCustomerResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateEcommerceOrderResponse.php b/src/gen/lib/Model/UpdateEcommerceOrderResponse.php
index cc6de93d7..327d63a02 100644
--- a/src/gen/lib/Model/UpdateEcommerceOrderResponse.php
+++ b/src/gen/lib/Model/UpdateEcommerceOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateEmployeeResponse.php b/src/gen/lib/Model/UpdateEmployeeResponse.php
index 7d86ea9dd..6ccd64396 100644
--- a/src/gen/lib/Model/UpdateEmployeeResponse.php
+++ b/src/gen/lib/Model/UpdateEmployeeResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateFileRequest.php b/src/gen/lib/Model/UpdateFileRequest.php
index f822cbda8..b3dd54821 100644
--- a/src/gen/lib/Model/UpdateFileRequest.php
+++ b/src/gen/lib/Model/UpdateFileRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateFileResponse.php b/src/gen/lib/Model/UpdateFileResponse.php
index 56994ccf3..36e1b20e2 100644
--- a/src/gen/lib/Model/UpdateFileResponse.php
+++ b/src/gen/lib/Model/UpdateFileResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateFolderRequest.php b/src/gen/lib/Model/UpdateFolderRequest.php
index c81510917..f941f2a13 100644
--- a/src/gen/lib/Model/UpdateFolderRequest.php
+++ b/src/gen/lib/Model/UpdateFolderRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateFolderResponse.php b/src/gen/lib/Model/UpdateFolderResponse.php
index 8c197a90a..ef9c0dfaa 100644
--- a/src/gen/lib/Model/UpdateFolderResponse.php
+++ b/src/gen/lib/Model/UpdateFolderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateHrisCompanyResponse.php b/src/gen/lib/Model/UpdateHrisCompanyResponse.php
index 50b9ebcf3..a92f581e8 100644
--- a/src/gen/lib/Model/UpdateHrisCompanyResponse.php
+++ b/src/gen/lib/Model/UpdateHrisCompanyResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateInvoiceItemsResponse.php b/src/gen/lib/Model/UpdateInvoiceItemsResponse.php
index a5067e202..3e15bee4a 100644
--- a/src/gen/lib/Model/UpdateInvoiceItemsResponse.php
+++ b/src/gen/lib/Model/UpdateInvoiceItemsResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateInvoiceResponse.php b/src/gen/lib/Model/UpdateInvoiceResponse.php
index 2e6964034..77310ef2d 100644
--- a/src/gen/lib/Model/UpdateInvoiceResponse.php
+++ b/src/gen/lib/Model/UpdateInvoiceResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateItemResponse.php b/src/gen/lib/Model/UpdateItemResponse.php
index bde25c7a5..96f0af606 100644
--- a/src/gen/lib/Model/UpdateItemResponse.php
+++ b/src/gen/lib/Model/UpdateItemResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateJobResponse.php b/src/gen/lib/Model/UpdateJobResponse.php
index ab6f0521b..29d790e8f 100644
--- a/src/gen/lib/Model/UpdateJobResponse.php
+++ b/src/gen/lib/Model/UpdateJobResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateJournalEntryResponse.php b/src/gen/lib/Model/UpdateJournalEntryResponse.php
index e939d4181..288cfd708 100644
--- a/src/gen/lib/Model/UpdateJournalEntryResponse.php
+++ b/src/gen/lib/Model/UpdateJournalEntryResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateLeadResponse.php b/src/gen/lib/Model/UpdateLeadResponse.php
index 96993632b..0fc6dfca0 100644
--- a/src/gen/lib/Model/UpdateLeadResponse.php
+++ b/src/gen/lib/Model/UpdateLeadResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateLedgerAccountResponse.php b/src/gen/lib/Model/UpdateLedgerAccountResponse.php
index f04bdf3a6..e552508ca 100644
--- a/src/gen/lib/Model/UpdateLedgerAccountResponse.php
+++ b/src/gen/lib/Model/UpdateLedgerAccountResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateLocationResponse.php b/src/gen/lib/Model/UpdateLocationResponse.php
index cce506cf6..cdd8907a1 100644
--- a/src/gen/lib/Model/UpdateLocationResponse.php
+++ b/src/gen/lib/Model/UpdateLocationResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateMerchantResponse.php b/src/gen/lib/Model/UpdateMerchantResponse.php
index 33df0ec26..a57e698ad 100644
--- a/src/gen/lib/Model/UpdateMerchantResponse.php
+++ b/src/gen/lib/Model/UpdateMerchantResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateMessageResponse.php b/src/gen/lib/Model/UpdateMessageResponse.php
index b89afb60a..cb0d04167 100644
--- a/src/gen/lib/Model/UpdateMessageResponse.php
+++ b/src/gen/lib/Model/UpdateMessageResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateModifierGroupResponse.php b/src/gen/lib/Model/UpdateModifierGroupResponse.php
index 94c5142c9..f321de1ef 100644
--- a/src/gen/lib/Model/UpdateModifierGroupResponse.php
+++ b/src/gen/lib/Model/UpdateModifierGroupResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateModifierResponse.php b/src/gen/lib/Model/UpdateModifierResponse.php
index ea017e6d3..d18cbb3d3 100644
--- a/src/gen/lib/Model/UpdateModifierResponse.php
+++ b/src/gen/lib/Model/UpdateModifierResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateNoteResponse.php b/src/gen/lib/Model/UpdateNoteResponse.php
index a0475e59c..dac7f6eaa 100644
--- a/src/gen/lib/Model/UpdateNoteResponse.php
+++ b/src/gen/lib/Model/UpdateNoteResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateOpportunityResponse.php b/src/gen/lib/Model/UpdateOpportunityResponse.php
index d7e5d5045..3744d2961 100644
--- a/src/gen/lib/Model/UpdateOpportunityResponse.php
+++ b/src/gen/lib/Model/UpdateOpportunityResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateOrderResponse.php b/src/gen/lib/Model/UpdateOrderResponse.php
index 3798c5872..fc0c0a77e 100644
--- a/src/gen/lib/Model/UpdateOrderResponse.php
+++ b/src/gen/lib/Model/UpdateOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateOrderTypeResponse.php b/src/gen/lib/Model/UpdateOrderTypeResponse.php
index e06f24e22..f50ac9cf5 100644
--- a/src/gen/lib/Model/UpdateOrderTypeResponse.php
+++ b/src/gen/lib/Model/UpdateOrderTypeResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdatePaymentResponse.php b/src/gen/lib/Model/UpdatePaymentResponse.php
index 0eebd63ba..517bc4303 100644
--- a/src/gen/lib/Model/UpdatePaymentResponse.php
+++ b/src/gen/lib/Model/UpdatePaymentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdatePipelineResponse.php b/src/gen/lib/Model/UpdatePipelineResponse.php
index 0b9614b6e..66d28c48b 100644
--- a/src/gen/lib/Model/UpdatePipelineResponse.php
+++ b/src/gen/lib/Model/UpdatePipelineResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdatePosPaymentResponse.php b/src/gen/lib/Model/UpdatePosPaymentResponse.php
index 8f47eefa6..7b591939f 100644
--- a/src/gen/lib/Model/UpdatePosPaymentResponse.php
+++ b/src/gen/lib/Model/UpdatePosPaymentResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateProductResponse.php b/src/gen/lib/Model/UpdateProductResponse.php
index 062ea015d..923f663d9 100644
--- a/src/gen/lib/Model/UpdateProductResponse.php
+++ b/src/gen/lib/Model/UpdateProductResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdatePurchaseOrderResponse.php b/src/gen/lib/Model/UpdatePurchaseOrderResponse.php
index e19adcc26..bf67366a5 100644
--- a/src/gen/lib/Model/UpdatePurchaseOrderResponse.php
+++ b/src/gen/lib/Model/UpdatePurchaseOrderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateSharedLinkResponse.php b/src/gen/lib/Model/UpdateSharedLinkResponse.php
index 1dc6b58bf..be827b720 100644
--- a/src/gen/lib/Model/UpdateSharedLinkResponse.php
+++ b/src/gen/lib/Model/UpdateSharedLinkResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateSubsidiaryResponse.php b/src/gen/lib/Model/UpdateSubsidiaryResponse.php
new file mode 100644
index 000000000..eadb2fa89
--- /dev/null
+++ b/src/gen/lib/Model/UpdateSubsidiaryResponse.php
@@ -0,0 +1,488 @@
+
+ * @template TKey int|null
+ * @template TValue mixed|null
+ */
+class UpdateSubsidiaryResponse implements ModelInterface, ArrayAccess, \JsonSerializable
+{
+ public const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ *
+ * @var string
+ */
+ protected static $openAPIModelName = 'UpdateSubsidiaryResponse';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $openAPITypes = [
+ 'status_code' => 'int',
+ 'status' => 'string',
+ 'service' => 'string',
+ 'resource' => 'string',
+ 'operation' => 'string',
+ 'data' => '\Apideck\Client\Model\UnifiedId'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ * @phpstan-var array
+ * @psalm-var array
+ */
+ protected static $openAPIFormats = [
+ 'status_code' => null,
+ 'status' => null,
+ 'service' => null,
+ 'resource' => null,
+ 'operation' => null,
+ 'data' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPITypes()
+ {
+ return self::$openAPITypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function openAPIFormats()
+ {
+ return self::$openAPIFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'status_code' => 'status_code',
+ 'status' => 'status',
+ 'service' => 'service',
+ 'resource' => 'resource',
+ 'operation' => 'operation',
+ 'data' => 'data'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'status_code' => 'setStatusCode',
+ 'status' => 'setStatus',
+ 'service' => 'setService',
+ 'resource' => 'setResource',
+ 'operation' => 'setOperation',
+ 'data' => 'setData'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'status_code' => 'getStatusCode',
+ 'status' => 'getStatus',
+ 'service' => 'getService',
+ 'resource' => 'getResource',
+ 'operation' => 'getOperation',
+ 'data' => 'getData'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$openAPIModelName;
+ }
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['status_code'] = $data['status_code'] ?? null;
+ $this->container['status'] = $data['status'] ?? null;
+ $this->container['service'] = $data['service'] ?? null;
+ $this->container['resource'] = $data['resource'] ?? null;
+ $this->container['operation'] = $data['operation'] ?? null;
+ $this->container['data'] = $data['data'] ?? null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ if ($this->container['status_code'] === null) {
+ $invalidProperties[] = "'status_code' can't be null";
+ }
+ if ($this->container['status'] === null) {
+ $invalidProperties[] = "'status' can't be null";
+ }
+ if ($this->container['service'] === null) {
+ $invalidProperties[] = "'service' can't be null";
+ }
+ if ($this->container['resource'] === null) {
+ $invalidProperties[] = "'resource' can't be null";
+ }
+ if ($this->container['operation'] === null) {
+ $invalidProperties[] = "'operation' can't be null";
+ }
+ if ($this->container['data'] === null) {
+ $invalidProperties[] = "'data' can't be null";
+ }
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets status_code
+ *
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->container['status_code'];
+ }
+
+ /**
+ * Sets status_code
+ *
+ * @param int $status_code HTTP Response Status Code
+ *
+ * @return self
+ */
+ public function setStatusCode($status_code)
+ {
+ $this->container['status_code'] = $status_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status HTTP Response Status
+ *
+ * @return self
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets service
+ *
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->container['service'];
+ }
+
+ /**
+ * Sets service
+ *
+ * @param string $service Apideck ID of service provider
+ *
+ * @return self
+ */
+ public function setService($service)
+ {
+ $this->container['service'] = $service;
+
+ return $this;
+ }
+
+ /**
+ * Gets resource
+ *
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->container['resource'];
+ }
+
+ /**
+ * Sets resource
+ *
+ * @param string $resource Unified API resource name
+ *
+ * @return self
+ */
+ public function setResource($resource)
+ {
+ $this->container['resource'] = $resource;
+
+ return $this;
+ }
+
+ /**
+ * Gets operation
+ *
+ * @return string
+ */
+ public function getOperation()
+ {
+ return $this->container['operation'];
+ }
+
+ /**
+ * Sets operation
+ *
+ * @param string $operation Operation performed
+ *
+ * @return self
+ */
+ public function setOperation($operation)
+ {
+ $this->container['operation'] = $operation;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ *
+ * @return \Apideck\Client\Model\UnifiedId
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ *
+ * @param \Apideck\Client\Model\UnifiedId $data data
+ *
+ * @return self
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed|null
+ */
+ public function offsetGet($offset)
+ {
+ return $this->container[$offset] ?? null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param int|null $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Serializes the object to a value that can be serialized natively by json_encode().
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return mixed Returns data which can be serialized by json_encode(), which is a value
+ * of any type other than a resource.
+ */
+ public function jsonSerialize()
+ {
+ return ObjectSerializer::sanitizeForSerialization($this);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ /**
+ * Gets a header-safe presentation of the object
+ *
+ * @return string
+ */
+ public function toHeaderValue()
+ {
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
+
diff --git a/src/gen/lib/Model/UpdateSupplierResponse.php b/src/gen/lib/Model/UpdateSupplierResponse.php
index 14cf86c39..1468e14d5 100644
--- a/src/gen/lib/Model/UpdateSupplierResponse.php
+++ b/src/gen/lib/Model/UpdateSupplierResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateTaxRateResponse.php b/src/gen/lib/Model/UpdateTaxRateResponse.php
index 3c8ea8a85..3d1c66e00 100644
--- a/src/gen/lib/Model/UpdateTaxRateResponse.php
+++ b/src/gen/lib/Model/UpdateTaxRateResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateTenderResponse.php b/src/gen/lib/Model/UpdateTenderResponse.php
index 7aa840b01..eccd2d14a 100644
--- a/src/gen/lib/Model/UpdateTenderResponse.php
+++ b/src/gen/lib/Model/UpdateTenderResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateTicketResponse.php b/src/gen/lib/Model/UpdateTicketResponse.php
index ebebf43d7..893987cfb 100644
--- a/src/gen/lib/Model/UpdateTicketResponse.php
+++ b/src/gen/lib/Model/UpdateTicketResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateTimeOffRequestResponse.php b/src/gen/lib/Model/UpdateTimeOffRequestResponse.php
index 860ca928c..9b0d606f1 100644
--- a/src/gen/lib/Model/UpdateTimeOffRequestResponse.php
+++ b/src/gen/lib/Model/UpdateTimeOffRequestResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateUploadSessionResponse.php b/src/gen/lib/Model/UpdateUploadSessionResponse.php
index 2b07ada4f..2228a2a18 100644
--- a/src/gen/lib/Model/UpdateUploadSessionResponse.php
+++ b/src/gen/lib/Model/UpdateUploadSessionResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateUserResponse.php b/src/gen/lib/Model/UpdateUserResponse.php
index f40f3949f..6b5b43628 100644
--- a/src/gen/lib/Model/UpdateUserResponse.php
+++ b/src/gen/lib/Model/UpdateUserResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateWebhookRequest.php b/src/gen/lib/Model/UpdateWebhookRequest.php
index 31cba57c1..17614f98b 100644
--- a/src/gen/lib/Model/UpdateWebhookRequest.php
+++ b/src/gen/lib/Model/UpdateWebhookRequest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UpdateWebhookResponse.php b/src/gen/lib/Model/UpdateWebhookResponse.php
index 11a05ba83..71e1a6791 100644
--- a/src/gen/lib/Model/UpdateWebhookResponse.php
+++ b/src/gen/lib/Model/UpdateWebhookResponse.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/UploadSession.php b/src/gen/lib/Model/UploadSession.php
index 1f38a55f0..c87343d6c 100644
--- a/src/gen/lib/Model/UploadSession.php
+++ b/src/gen/lib/Model/UploadSession.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/User.php b/src/gen/lib/Model/User.php
index 6966d0da6..b7e507dd1 100644
--- a/src/gen/lib/Model/User.php
+++ b/src/gen/lib/Model/User.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/VaultEventType.php b/src/gen/lib/Model/VaultEventType.php
index 00cb0bf45..1741bce5e 100644
--- a/src/gen/lib/Model/VaultEventType.php
+++ b/src/gen/lib/Model/VaultEventType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/VirtualWebhooks.php b/src/gen/lib/Model/VirtualWebhooks.php
index 3f231d5a3..63ec21230 100644
--- a/src/gen/lib/Model/VirtualWebhooks.php
+++ b/src/gen/lib/Model/VirtualWebhooks.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WalletDetails.php b/src/gen/lib/Model/WalletDetails.php
index f46578758..997c10d45 100644
--- a/src/gen/lib/Model/WalletDetails.php
+++ b/src/gen/lib/Model/WalletDetails.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Webhook.php b/src/gen/lib/Model/Webhook.php
index e39569aee..43a9143c1 100644
--- a/src/gen/lib/Model/Webhook.php
+++ b/src/gen/lib/Model/Webhook.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WebhookEvent.php b/src/gen/lib/Model/WebhookEvent.php
index 399b0a63a..029c3705e 100644
--- a/src/gen/lib/Model/WebhookEvent.php
+++ b/src/gen/lib/Model/WebhookEvent.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WebhookEventLog.php b/src/gen/lib/Model/WebhookEventLog.php
index 7d8108da9..b3aabdda1 100644
--- a/src/gen/lib/Model/WebhookEventLog.php
+++ b/src/gen/lib/Model/WebhookEventLog.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WebhookEventLogAttempts.php b/src/gen/lib/Model/WebhookEventLogAttempts.php
index ec99a787a..9496ffbce 100644
--- a/src/gen/lib/Model/WebhookEventLogAttempts.php
+++ b/src/gen/lib/Model/WebhookEventLogAttempts.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WebhookEventLogService.php b/src/gen/lib/Model/WebhookEventLogService.php
index 34d175dfb..024352751 100644
--- a/src/gen/lib/Model/WebhookEventLogService.php
+++ b/src/gen/lib/Model/WebhookEventLogService.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WebhookEventLogsFilter.php b/src/gen/lib/Model/WebhookEventLogsFilter.php
index c5493ef63..68feec227 100644
--- a/src/gen/lib/Model/WebhookEventLogsFilter.php
+++ b/src/gen/lib/Model/WebhookEventLogsFilter.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WebhookEventLogsFilterService.php b/src/gen/lib/Model/WebhookEventLogsFilterService.php
index 9df2beda2..f132e2f59 100644
--- a/src/gen/lib/Model/WebhookEventLogsFilterService.php
+++ b/src/gen/lib/Model/WebhookEventLogsFilterService.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WebhookEventType.php b/src/gen/lib/Model/WebhookEventType.php
index 82f06b234..7915f0aa5 100644
--- a/src/gen/lib/Model/WebhookEventType.php
+++ b/src/gen/lib/Model/WebhookEventType.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WebhookSubscription.php b/src/gen/lib/Model/WebhookSubscription.php
index 1437f141e..dd5300ae2 100644
--- a/src/gen/lib/Model/WebhookSubscription.php
+++ b/src/gen/lib/Model/WebhookSubscription.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/WebhookSupport.php b/src/gen/lib/Model/WebhookSupport.php
index 8d16dda10..03634443d 100644
--- a/src/gen/lib/Model/WebhookSupport.php
+++ b/src/gen/lib/Model/WebhookSupport.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/Model/Website.php b/src/gen/lib/Model/Website.php
index 5e2699eca..3fcc4e2a3 100644
--- a/src/gen/lib/Model/Website.php
+++ b/src/gen/lib/Model/Website.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/lib/ObjectSerializer.php b/src/gen/lib/ObjectSerializer.php
index fc4877b5f..749fa41e3 100644
--- a/src/gen/lib/ObjectSerializer.php
+++ b/src/gen/lib/ObjectSerializer.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/AccountingApiTest.php b/src/gen/test/Api/AccountingApiTest.php
index 07ba567d8..379a7cf3f 100644
--- a/src/gen/test/Api/AccountingApiTest.php
+++ b/src/gen/test/Api/AccountingApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -275,6 +275,66 @@ public function testCustomersUpdate()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test case for departmentsAdd
+ *
+ * Create Department.
+ *
+ */
+ public function testDepartmentsAdd()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for departmentsAll
+ *
+ * List Departments.
+ *
+ */
+ public function testDepartmentsAll()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for departmentsDelete
+ *
+ * Delete Department.
+ *
+ */
+ public function testDepartmentsDelete()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for departmentsOne
+ *
+ * Get Department.
+ *
+ */
+ public function testDepartmentsOne()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for departmentsUpdate
+ *
+ * Update Department.
+ *
+ */
+ public function testDepartmentsUpdate()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test case for invoiceItemsAdd
*
@@ -515,6 +575,66 @@ public function testLedgerAccountsUpdate()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test case for locationsAdd
+ *
+ * Create Location.
+ *
+ */
+ public function testLocationsAdd()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for locationsAll
+ *
+ * List Locations.
+ *
+ */
+ public function testLocationsAll()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for locationsDelete
+ *
+ * Delete Location.
+ *
+ */
+ public function testLocationsDelete()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for locationsOne
+ *
+ * Get Location.
+ *
+ */
+ public function testLocationsOne()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for locationsUpdate
+ *
+ * Update Location.
+ *
+ */
+ public function testLocationsUpdate()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test case for paymentsAdd
*
@@ -647,6 +767,66 @@ public function testPurchaseOrdersUpdate()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test case for subsidiariesAdd
+ *
+ * Create Subsidiary.
+ *
+ */
+ public function testSubsidiariesAdd()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for subsidiariesAll
+ *
+ * List Subsidiaries.
+ *
+ */
+ public function testSubsidiariesAll()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for subsidiariesDelete
+ *
+ * Delete Subsidiary.
+ *
+ */
+ public function testSubsidiariesDelete()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for subsidiariesOne
+ *
+ * Get Subsidiary.
+ *
+ */
+ public function testSubsidiariesOne()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for subsidiariesUpdate
+ *
+ * Update Subsidiary.
+ *
+ */
+ public function testSubsidiariesUpdate()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test case for suppliersAdd
*
diff --git a/src/gen/test/Api/AtsApiTest.php b/src/gen/test/Api/AtsApiTest.php
index b957743b6..9d0acc0d1 100644
--- a/src/gen/test/Api/AtsApiTest.php
+++ b/src/gen/test/Api/AtsApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/ConnectorApiTest.php b/src/gen/test/Api/ConnectorApiTest.php
index dc154bbc7..93d400a61 100644
--- a/src/gen/test/Api/ConnectorApiTest.php
+++ b/src/gen/test/Api/ConnectorApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/CrmApiTest.php b/src/gen/test/Api/CrmApiTest.php
index f4eb9e577..384416e3b 100644
--- a/src/gen/test/Api/CrmApiTest.php
+++ b/src/gen/test/Api/CrmApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/EcommerceApiTest.php b/src/gen/test/Api/EcommerceApiTest.php
index 1eb7a8fab..cd0dd4eec 100644
--- a/src/gen/test/Api/EcommerceApiTest.php
+++ b/src/gen/test/Api/EcommerceApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/FileStorageApiTest.php b/src/gen/test/Api/FileStorageApiTest.php
index c96d8082c..6319db508 100644
--- a/src/gen/test/Api/FileStorageApiTest.php
+++ b/src/gen/test/Api/FileStorageApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/HrisApiTest.php b/src/gen/test/Api/HrisApiTest.php
index efb37eb86..efb093045 100644
--- a/src/gen/test/Api/HrisApiTest.php
+++ b/src/gen/test/Api/HrisApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/IssueTrackingApiTest.php b/src/gen/test/Api/IssueTrackingApiTest.php
index 7a441b4c4..8315c47e7 100644
--- a/src/gen/test/Api/IssueTrackingApiTest.php
+++ b/src/gen/test/Api/IssueTrackingApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/LeadApiTest.php b/src/gen/test/Api/LeadApiTest.php
index ce9b11bd2..1841e9049 100644
--- a/src/gen/test/Api/LeadApiTest.php
+++ b/src/gen/test/Api/LeadApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/PosApiTest.php b/src/gen/test/Api/PosApiTest.php
index eee4492be..84037a686 100644
--- a/src/gen/test/Api/PosApiTest.php
+++ b/src/gen/test/Api/PosApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/SmsApiTest.php b/src/gen/test/Api/SmsApiTest.php
index 13150b91d..97071786b 100644
--- a/src/gen/test/Api/SmsApiTest.php
+++ b/src/gen/test/Api/SmsApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/VaultApiTest.php b/src/gen/test/Api/VaultApiTest.php
index c61a0a855..60d9b1594 100644
--- a/src/gen/test/Api/VaultApiTest.php
+++ b/src/gen/test/Api/VaultApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Api/WebhookApiTest.php b/src/gen/test/Api/WebhookApiTest.php
index 20bbbe136..e2a49bb60 100644
--- a/src/gen/test/Api/WebhookApiTest.php
+++ b/src/gen/test/Api/WebhookApiTest.php
@@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/AccountingDepartmentTest.php b/src/gen/test/Model/AccountingDepartmentTest.php
new file mode 100644
index 000000000..a17d1e034
--- /dev/null
+++ b/src/gen/test/Model/AccountingDepartmentTest.php
@@ -0,0 +1,180 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "id"
+ */
+ public function testPropertyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "parent_id"
+ */
+ public function testPropertyParentId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "name"
+ */
+ public function testPropertyName()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "subsidiaries"
+ */
+ public function testPropertySubsidiaries()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "custom_mappings"
+ */
+ public function testPropertyCustomMappings()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "row_version"
+ */
+ public function testPropertyRowVersion()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "updated_by"
+ */
+ public function testPropertyUpdatedBy()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "created_by"
+ */
+ public function testPropertyCreatedBy()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "updated_at"
+ */
+ public function testPropertyUpdatedAt()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "created_at"
+ */
+ public function testPropertyCreatedAt()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/AccountingDepartmentsFilterTest.php b/src/gen/test/Model/AccountingDepartmentsFilterTest.php
new file mode 100644
index 000000000..4c5e55311
--- /dev/null
+++ b/src/gen/test/Model/AccountingDepartmentsFilterTest.php
@@ -0,0 +1,90 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "subsidiary"
+ */
+ public function testPropertySubsidiary()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/AccountingEventTypeTest.php b/src/gen/test/Model/AccountingEventTypeTest.php
index 935a3e014..df910ba66 100644
--- a/src/gen/test/Model/AccountingEventTypeTest.php
+++ b/src/gen/test/Model/AccountingEventTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/AccountingLocationTest.php b/src/gen/test/Model/AccountingLocationTest.php
new file mode 100644
index 000000000..aa0cce6c9
--- /dev/null
+++ b/src/gen/test/Model/AccountingLocationTest.php
@@ -0,0 +1,198 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "id"
+ */
+ public function testPropertyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "parent_id"
+ */
+ public function testPropertyParentId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "company_name"
+ */
+ public function testPropertyCompanyName()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "display_name"
+ */
+ public function testPropertyDisplayName()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "addresses"
+ */
+ public function testPropertyAddresses()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "subsidiaries"
+ */
+ public function testPropertySubsidiaries()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "custom_mappings"
+ */
+ public function testPropertyCustomMappings()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "row_version"
+ */
+ public function testPropertyRowVersion()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "updated_by"
+ */
+ public function testPropertyUpdatedBy()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "created_by"
+ */
+ public function testPropertyCreatedBy()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "updated_at"
+ */
+ public function testPropertyUpdatedAt()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "created_at"
+ */
+ public function testPropertyCreatedAt()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/AccountingLocationsFilterTest.php b/src/gen/test/Model/AccountingLocationsFilterTest.php
new file mode 100644
index 000000000..d69f2c0d4
--- /dev/null
+++ b/src/gen/test/Model/AccountingLocationsFilterTest.php
@@ -0,0 +1,90 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "subsidiary"
+ */
+ public function testPropertySubsidiary()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/ActivitiesFilterTest.php b/src/gen/test/Model/ActivitiesFilterTest.php
index fcb63504d..d75306425 100644
--- a/src/gen/test/Model/ActivitiesFilterTest.php
+++ b/src/gen/test/Model/ActivitiesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ActivitiesSortTest.php b/src/gen/test/Model/ActivitiesSortTest.php
index 305512e23..2ab2debbc 100644
--- a/src/gen/test/Model/ActivitiesSortTest.php
+++ b/src/gen/test/Model/ActivitiesSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ActivityAttendeeTest.php b/src/gen/test/Model/ActivityAttendeeTest.php
index 8d4e6fbae..380fe205b 100644
--- a/src/gen/test/Model/ActivityAttendeeTest.php
+++ b/src/gen/test/Model/ActivityAttendeeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ActivityTest.php b/src/gen/test/Model/ActivityTest.php
index 564b19d58..ee89eea40 100644
--- a/src/gen/test/Model/ActivityTest.php
+++ b/src/gen/test/Model/ActivityTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/AddressTest.php b/src/gen/test/Model/AddressTest.php
index 96725426a..5c723120b 100644
--- a/src/gen/test/Model/AddressTest.php
+++ b/src/gen/test/Model/AddressTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApiResourceCoverageCoverageTest.php b/src/gen/test/Model/ApiResourceCoverageCoverageTest.php
index 812344647..2323a7c65 100644
--- a/src/gen/test/Model/ApiResourceCoverageCoverageTest.php
+++ b/src/gen/test/Model/ApiResourceCoverageCoverageTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApiResourceCoverageTest.php b/src/gen/test/Model/ApiResourceCoverageTest.php
index ca41d60ce..d9251109a 100644
--- a/src/gen/test/Model/ApiResourceCoverageTest.php
+++ b/src/gen/test/Model/ApiResourceCoverageTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApiResourceLinkedResourcesTest.php b/src/gen/test/Model/ApiResourceLinkedResourcesTest.php
index 648af49a8..50bf7715c 100644
--- a/src/gen/test/Model/ApiResourceLinkedResourcesTest.php
+++ b/src/gen/test/Model/ApiResourceLinkedResourcesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApiResourceTest.php b/src/gen/test/Model/ApiResourceTest.php
index 5933d06c6..14a160478 100644
--- a/src/gen/test/Model/ApiResourceTest.php
+++ b/src/gen/test/Model/ApiResourceTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApiResourcesTest.php b/src/gen/test/Model/ApiResourcesTest.php
index 513a6c6dc..0595a0a1d 100644
--- a/src/gen/test/Model/ApiResourcesTest.php
+++ b/src/gen/test/Model/ApiResourcesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApiStatusTest.php b/src/gen/test/Model/ApiStatusTest.php
index 95eba4bb0..70faf8abc 100644
--- a/src/gen/test/Model/ApiStatusTest.php
+++ b/src/gen/test/Model/ApiStatusTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApiTest.php b/src/gen/test/Model/ApiTest.php
index ca6f3db89..fec132f23 100644
--- a/src/gen/test/Model/ApiTest.php
+++ b/src/gen/test/Model/ApiTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApisFilterTest.php b/src/gen/test/Model/ApisFilterTest.php
index 5e27b95a2..129ae52fb 100644
--- a/src/gen/test/Model/ApisFilterTest.php
+++ b/src/gen/test/Model/ApisFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApplicantSocialLinksTest.php b/src/gen/test/Model/ApplicantSocialLinksTest.php
index 28ca3e979..f61dc34dd 100644
--- a/src/gen/test/Model/ApplicantSocialLinksTest.php
+++ b/src/gen/test/Model/ApplicantSocialLinksTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApplicantTest.php b/src/gen/test/Model/ApplicantTest.php
index f0a348dd2..a36071851 100644
--- a/src/gen/test/Model/ApplicantTest.php
+++ b/src/gen/test/Model/ApplicantTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApplicantWebsitesTest.php b/src/gen/test/Model/ApplicantWebsitesTest.php
index bdf6e225e..c99dba386 100644
--- a/src/gen/test/Model/ApplicantWebsitesTest.php
+++ b/src/gen/test/Model/ApplicantWebsitesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApplicantsFilterTest.php b/src/gen/test/Model/ApplicantsFilterTest.php
index 357e8d8a3..0bb9a12ea 100644
--- a/src/gen/test/Model/ApplicantsFilterTest.php
+++ b/src/gen/test/Model/ApplicantsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApplicationStageTest.php b/src/gen/test/Model/ApplicationStageTest.php
index ad0dc7331..0b3ce3d8d 100644
--- a/src/gen/test/Model/ApplicationStageTest.php
+++ b/src/gen/test/Model/ApplicationStageTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ApplicationTest.php b/src/gen/test/Model/ApplicationTest.php
index ae54f754b..29004c094 100644
--- a/src/gen/test/Model/ApplicationTest.php
+++ b/src/gen/test/Model/ApplicationTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/AssigneeTest.php b/src/gen/test/Model/AssigneeTest.php
index d999db72c..5dbf2412a 100644
--- a/src/gen/test/Model/AssigneeTest.php
+++ b/src/gen/test/Model/AssigneeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/AtsActivityTest.php b/src/gen/test/Model/AtsActivityTest.php
index 94f04b068..7e9e6fc75 100644
--- a/src/gen/test/Model/AtsActivityTest.php
+++ b/src/gen/test/Model/AtsActivityTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/AtsEventTypeTest.php b/src/gen/test/Model/AtsEventTypeTest.php
index 2b06de946..eea5f2573 100644
--- a/src/gen/test/Model/AtsEventTypeTest.php
+++ b/src/gen/test/Model/AtsEventTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/AuthTypeTest.php b/src/gen/test/Model/AuthTypeTest.php
index b63f114d4..8ec30db96 100644
--- a/src/gen/test/Model/AuthTypeTest.php
+++ b/src/gen/test/Model/AuthTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BadRequestResponseTest.php b/src/gen/test/Model/BadRequestResponseTest.php
index e973c0513..2138dd307 100644
--- a/src/gen/test/Model/BadRequestResponseTest.php
+++ b/src/gen/test/Model/BadRequestResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetAssetsCurrentAssetsAccountsTest.php b/src/gen/test/Model/BalanceSheetAssetsCurrentAssetsAccountsTest.php
index 675ff20a0..b441cbc8a 100644
--- a/src/gen/test/Model/BalanceSheetAssetsCurrentAssetsAccountsTest.php
+++ b/src/gen/test/Model/BalanceSheetAssetsCurrentAssetsAccountsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetAssetsCurrentAssetsTest.php b/src/gen/test/Model/BalanceSheetAssetsCurrentAssetsTest.php
index 46337696c..f97727c13 100644
--- a/src/gen/test/Model/BalanceSheetAssetsCurrentAssetsTest.php
+++ b/src/gen/test/Model/BalanceSheetAssetsCurrentAssetsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetAssetsFixedAssetsAccountsTest.php b/src/gen/test/Model/BalanceSheetAssetsFixedAssetsAccountsTest.php
index d5e21152c..a57835b61 100644
--- a/src/gen/test/Model/BalanceSheetAssetsFixedAssetsAccountsTest.php
+++ b/src/gen/test/Model/BalanceSheetAssetsFixedAssetsAccountsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetAssetsFixedAssetsTest.php b/src/gen/test/Model/BalanceSheetAssetsFixedAssetsTest.php
index 040a7b62d..07b6e925a 100644
--- a/src/gen/test/Model/BalanceSheetAssetsFixedAssetsTest.php
+++ b/src/gen/test/Model/BalanceSheetAssetsFixedAssetsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetAssetsTest.php b/src/gen/test/Model/BalanceSheetAssetsTest.php
index 549f5a25a..2c5a9a245 100644
--- a/src/gen/test/Model/BalanceSheetAssetsTest.php
+++ b/src/gen/test/Model/BalanceSheetAssetsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetEquityItemsTest.php b/src/gen/test/Model/BalanceSheetEquityItemsTest.php
index e3b6a3cdf..83d56afa2 100644
--- a/src/gen/test/Model/BalanceSheetEquityItemsTest.php
+++ b/src/gen/test/Model/BalanceSheetEquityItemsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetEquityTest.php b/src/gen/test/Model/BalanceSheetEquityTest.php
index ac6f24d9e..de68d863e 100644
--- a/src/gen/test/Model/BalanceSheetEquityTest.php
+++ b/src/gen/test/Model/BalanceSheetEquityTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetFilterTest.php b/src/gen/test/Model/BalanceSheetFilterTest.php
index 636aa5fba..691d53823 100644
--- a/src/gen/test/Model/BalanceSheetFilterTest.php
+++ b/src/gen/test/Model/BalanceSheetFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetLiabilitiesAccountsTest.php b/src/gen/test/Model/BalanceSheetLiabilitiesAccountsTest.php
index c41f5c073..9d83765d6 100644
--- a/src/gen/test/Model/BalanceSheetLiabilitiesAccountsTest.php
+++ b/src/gen/test/Model/BalanceSheetLiabilitiesAccountsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetLiabilitiesTest.php b/src/gen/test/Model/BalanceSheetLiabilitiesTest.php
index 1a3154e2a..8372bcfed 100644
--- a/src/gen/test/Model/BalanceSheetLiabilitiesTest.php
+++ b/src/gen/test/Model/BalanceSheetLiabilitiesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BalanceSheetTest.php b/src/gen/test/Model/BalanceSheetTest.php
index 60e09721d..11125f326 100644
--- a/src/gen/test/Model/BalanceSheetTest.php
+++ b/src/gen/test/Model/BalanceSheetTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BankAccountTest.php b/src/gen/test/Model/BankAccountTest.php
index 7bd07274d..d58a5b183 100644
--- a/src/gen/test/Model/BankAccountTest.php
+++ b/src/gen/test/Model/BankAccountTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BenefitTest.php b/src/gen/test/Model/BenefitTest.php
index aabb55c53..09a84e198 100644
--- a/src/gen/test/Model/BenefitTest.php
+++ b/src/gen/test/Model/BenefitTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BillLineItemTest.php b/src/gen/test/Model/BillLineItemTest.php
index 494e985e8..5c0e84c01 100644
--- a/src/gen/test/Model/BillLineItemTest.php
+++ b/src/gen/test/Model/BillLineItemTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BillTest.php b/src/gen/test/Model/BillTest.php
index 290a86f6f..dc0559b88 100644
--- a/src/gen/test/Model/BillTest.php
+++ b/src/gen/test/Model/BillTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -115,6 +115,15 @@ public function testPropertySupplier()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test attribute "company_id"
+ */
+ public function testPropertyCompanyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test attribute "currency"
*/
diff --git a/src/gen/test/Model/BillsFilterTest.php b/src/gen/test/Model/BillsFilterTest.php
index ab62c2ca3..bbde8b6fc 100644
--- a/src/gen/test/Model/BillsFilterTest.php
+++ b/src/gen/test/Model/BillsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BillsSortTest.php b/src/gen/test/Model/BillsSortTest.php
index 01ee40748..18ab1cf92 100644
--- a/src/gen/test/Model/BillsSortTest.php
+++ b/src/gen/test/Model/BillsSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/BranchTest.php b/src/gen/test/Model/BranchTest.php
index b420ae7f8..6134e9472 100644
--- a/src/gen/test/Model/BranchTest.php
+++ b/src/gen/test/Model/BranchTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CashDetailsTest.php b/src/gen/test/Model/CashDetailsTest.php
index 936510166..2d698cf05 100644
--- a/src/gen/test/Model/CashDetailsTest.php
+++ b/src/gen/test/Model/CashDetailsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CollectionTagTest.php b/src/gen/test/Model/CollectionTagTest.php
index b26fc6482..cc98d6da0 100644
--- a/src/gen/test/Model/CollectionTagTest.php
+++ b/src/gen/test/Model/CollectionTagTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CollectionTest.php b/src/gen/test/Model/CollectionTest.php
index 8b84b85dc..cc63f3c0e 100644
--- a/src/gen/test/Model/CollectionTest.php
+++ b/src/gen/test/Model/CollectionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CollectionTicketCommentTest.php b/src/gen/test/Model/CollectionTicketCommentTest.php
index 549ec2c12..6b88b633e 100644
--- a/src/gen/test/Model/CollectionTicketCommentTest.php
+++ b/src/gen/test/Model/CollectionTicketCommentTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CollectionUserTest.php b/src/gen/test/Model/CollectionUserTest.php
index 6c2e9766a..6640b097e 100644
--- a/src/gen/test/Model/CollectionUserTest.php
+++ b/src/gen/test/Model/CollectionUserTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CollectionsSortTest.php b/src/gen/test/Model/CollectionsSortTest.php
index a952ad2b1..d75c5e813 100644
--- a/src/gen/test/Model/CollectionsSortTest.php
+++ b/src/gen/test/Model/CollectionsSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CommentsSortTest.php b/src/gen/test/Model/CommentsSortTest.php
index a2007d654..24263a073 100644
--- a/src/gen/test/Model/CommentsSortTest.php
+++ b/src/gen/test/Model/CommentsSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CompaniesFilterTest.php b/src/gen/test/Model/CompaniesFilterTest.php
index 35bfb77df..14a4ce09b 100644
--- a/src/gen/test/Model/CompaniesFilterTest.php
+++ b/src/gen/test/Model/CompaniesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CompaniesSortTest.php b/src/gen/test/Model/CompaniesSortTest.php
index cf58c5ef6..4f51d007f 100644
--- a/src/gen/test/Model/CompaniesSortTest.php
+++ b/src/gen/test/Model/CompaniesSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CompanyInfoTest.php b/src/gen/test/Model/CompanyInfoTest.php
index befb8ec44..8db093dc3 100644
--- a/src/gen/test/Model/CompanyInfoTest.php
+++ b/src/gen/test/Model/CompanyInfoTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CompanyRowTypeTest.php b/src/gen/test/Model/CompanyRowTypeTest.php
index f56dd62f8..1661f694a 100644
--- a/src/gen/test/Model/CompanyRowTypeTest.php
+++ b/src/gen/test/Model/CompanyRowTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CompanyTest.php b/src/gen/test/Model/CompanyTest.php
index 7ad7befb7..91bbf24af 100644
--- a/src/gen/test/Model/CompanyTest.php
+++ b/src/gen/test/Model/CompanyTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CompensationTest.php b/src/gen/test/Model/CompensationTest.php
index 6cad4355a..c4720f0e8 100644
--- a/src/gen/test/Model/CompensationTest.php
+++ b/src/gen/test/Model/CompensationTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectionConfigurationTest.php b/src/gen/test/Model/ConnectionConfigurationTest.php
index 915c56a4e..921f4f7f2 100644
--- a/src/gen/test/Model/ConnectionConfigurationTest.php
+++ b/src/gen/test/Model/ConnectionConfigurationTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectionDefaultsTest.php b/src/gen/test/Model/ConnectionDefaultsTest.php
index 2a81be016..49d0520cb 100644
--- a/src/gen/test/Model/ConnectionDefaultsTest.php
+++ b/src/gen/test/Model/ConnectionDefaultsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectionImportDataCredentialsTest.php b/src/gen/test/Model/ConnectionImportDataCredentialsTest.php
index ded42d5c6..03619b9e0 100644
--- a/src/gen/test/Model/ConnectionImportDataCredentialsTest.php
+++ b/src/gen/test/Model/ConnectionImportDataCredentialsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectionImportDataTest.php b/src/gen/test/Model/ConnectionImportDataTest.php
index a8b08aace..bc95b670f 100644
--- a/src/gen/test/Model/ConnectionImportDataTest.php
+++ b/src/gen/test/Model/ConnectionImportDataTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectionMetadataTest.php b/src/gen/test/Model/ConnectionMetadataTest.php
index 3bd4bf727..2388d09ba 100644
--- a/src/gen/test/Model/ConnectionMetadataTest.php
+++ b/src/gen/test/Model/ConnectionMetadataTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectionStateTest.php b/src/gen/test/Model/ConnectionStateTest.php
index 49811ca87..f62738b97 100644
--- a/src/gen/test/Model/ConnectionStateTest.php
+++ b/src/gen/test/Model/ConnectionStateTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectionTest.php b/src/gen/test/Model/ConnectionTest.php
index 7f0f6d07e..e5bb54c82 100644
--- a/src/gen/test/Model/ConnectionTest.php
+++ b/src/gen/test/Model/ConnectionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectionWebhookTest.php b/src/gen/test/Model/ConnectionWebhookTest.php
index f2ddd420d..4067aacb9 100644
--- a/src/gen/test/Model/ConnectionWebhookTest.php
+++ b/src/gen/test/Model/ConnectionWebhookTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorDocTest.php b/src/gen/test/Model/ConnectorDocTest.php
index b0e63eb4b..eaa73017d 100644
--- a/src/gen/test/Model/ConnectorDocTest.php
+++ b/src/gen/test/Model/ConnectorDocTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorEventTest.php b/src/gen/test/Model/ConnectorEventTest.php
index 927ba3da1..bbb3a1300 100644
--- a/src/gen/test/Model/ConnectorEventTest.php
+++ b/src/gen/test/Model/ConnectorEventTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorOauthScopes1Test.php b/src/gen/test/Model/ConnectorOauthScopes1Test.php
index d2737e9af..7a3e225b6 100644
--- a/src/gen/test/Model/ConnectorOauthScopes1Test.php
+++ b/src/gen/test/Model/ConnectorOauthScopes1Test.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorOauthScopesTest.php b/src/gen/test/Model/ConnectorOauthScopesTest.php
index b6e6b3f54..87ab07d6e 100644
--- a/src/gen/test/Model/ConnectorOauthScopesTest.php
+++ b/src/gen/test/Model/ConnectorOauthScopesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorResourceTest.php b/src/gen/test/Model/ConnectorResourceTest.php
index d58749d3f..0cf0f4359 100644
--- a/src/gen/test/Model/ConnectorResourceTest.php
+++ b/src/gen/test/Model/ConnectorResourceTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorSettingTest.php b/src/gen/test/Model/ConnectorSettingTest.php
index 335323a7c..31073ea4a 100644
--- a/src/gen/test/Model/ConnectorSettingTest.php
+++ b/src/gen/test/Model/ConnectorSettingTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorStatusTest.php b/src/gen/test/Model/ConnectorStatusTest.php
index 05fb9a81c..31a797b87 100644
--- a/src/gen/test/Model/ConnectorStatusTest.php
+++ b/src/gen/test/Model/ConnectorStatusTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorTest.php b/src/gen/test/Model/ConnectorTest.php
index b0f508620..009ae4351 100644
--- a/src/gen/test/Model/ConnectorTest.php
+++ b/src/gen/test/Model/ConnectorTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorTlsSupportTest.php b/src/gen/test/Model/ConnectorTlsSupportTest.php
index 2b196ec29..3d97cf4fd 100644
--- a/src/gen/test/Model/ConnectorTlsSupportTest.php
+++ b/src/gen/test/Model/ConnectorTlsSupportTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorUnifiedApisTest.php b/src/gen/test/Model/ConnectorUnifiedApisTest.php
index a676738fa..0c767c291 100644
--- a/src/gen/test/Model/ConnectorUnifiedApisTest.php
+++ b/src/gen/test/Model/ConnectorUnifiedApisTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConnectorsFilterTest.php b/src/gen/test/Model/ConnectorsFilterTest.php
index d21626e94..630f43f37 100644
--- a/src/gen/test/Model/ConnectorsFilterTest.php
+++ b/src/gen/test/Model/ConnectorsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConsumerConnectionTest.php b/src/gen/test/Model/ConsumerConnectionTest.php
index 2b336c4a7..50a46c0ea 100644
--- a/src/gen/test/Model/ConsumerConnectionTest.php
+++ b/src/gen/test/Model/ConsumerConnectionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConsumerMetadataTest.php b/src/gen/test/Model/ConsumerMetadataTest.php
index 45a6e39a0..466be30b4 100644
--- a/src/gen/test/Model/ConsumerMetadataTest.php
+++ b/src/gen/test/Model/ConsumerMetadataTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseDataTest.php b/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseDataTest.php
index d28915371..b3e8a1e99 100644
--- a/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseDataTest.php
+++ b/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseDataTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseTest.php b/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseTest.php
index 0ee3c4ff5..01783dba5 100644
--- a/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseTest.php
+++ b/src/gen/test/Model/ConsumerRequestCountsInDateRangeResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ConsumerTest.php b/src/gen/test/Model/ConsumerTest.php
index 9b523e57a..b9f293bfb 100644
--- a/src/gen/test/Model/ConsumerTest.php
+++ b/src/gen/test/Model/ConsumerTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ContactTest.php b/src/gen/test/Model/ContactTest.php
index b866e01ec..b4c8d7027 100644
--- a/src/gen/test/Model/ContactTest.php
+++ b/src/gen/test/Model/ContactTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ContactsFilterTest.php b/src/gen/test/Model/ContactsFilterTest.php
index a051b2bbd..6981eae53 100644
--- a/src/gen/test/Model/ContactsFilterTest.php
+++ b/src/gen/test/Model/ContactsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ContactsSortTest.php b/src/gen/test/Model/ContactsSortTest.php
index 5425c6339..c8070b2f5 100644
--- a/src/gen/test/Model/ContactsSortTest.php
+++ b/src/gen/test/Model/ContactsSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CopyFolderRequestTest.php b/src/gen/test/Model/CopyFolderRequestTest.php
index 17f525b94..a2aa27eeb 100644
--- a/src/gen/test/Model/CopyFolderRequestTest.php
+++ b/src/gen/test/Model/CopyFolderRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateAccountingDepartmentResponseTest.php b/src/gen/test/Model/CreateAccountingDepartmentResponseTest.php
new file mode 100644
index 000000000..fdc31f40c
--- /dev/null
+++ b/src/gen/test/Model/CreateAccountingDepartmentResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/CreateAccountingLocationResponseTest.php b/src/gen/test/Model/CreateAccountingLocationResponseTest.php
new file mode 100644
index 000000000..44bedc541
--- /dev/null
+++ b/src/gen/test/Model/CreateAccountingLocationResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/CreateActivityResponseTest.php b/src/gen/test/Model/CreateActivityResponseTest.php
index 93fb5a3c6..73b4d9c0c 100644
--- a/src/gen/test/Model/CreateActivityResponseTest.php
+++ b/src/gen/test/Model/CreateActivityResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateApplicantResponseTest.php b/src/gen/test/Model/CreateApplicantResponseTest.php
index d2b8526ed..810c96d8e 100644
--- a/src/gen/test/Model/CreateApplicantResponseTest.php
+++ b/src/gen/test/Model/CreateApplicantResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateApplicationResponseTest.php b/src/gen/test/Model/CreateApplicationResponseTest.php
index d58f94454..e639f8fd6 100644
--- a/src/gen/test/Model/CreateApplicationResponseTest.php
+++ b/src/gen/test/Model/CreateApplicationResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateBillResponseTest.php b/src/gen/test/Model/CreateBillResponseTest.php
index 236d61545..734d6df2b 100644
--- a/src/gen/test/Model/CreateBillResponseTest.php
+++ b/src/gen/test/Model/CreateBillResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateCommentResponseTest.php b/src/gen/test/Model/CreateCommentResponseTest.php
index 887bf085c..b844889f6 100644
--- a/src/gen/test/Model/CreateCommentResponseTest.php
+++ b/src/gen/test/Model/CreateCommentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateCompanyResponseTest.php b/src/gen/test/Model/CreateCompanyResponseTest.php
index 43179b61e..5b41686da 100644
--- a/src/gen/test/Model/CreateCompanyResponseTest.php
+++ b/src/gen/test/Model/CreateCompanyResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateConnectionResponseTest.php b/src/gen/test/Model/CreateConnectionResponseTest.php
index dd434f301..dca54eb8b 100644
--- a/src/gen/test/Model/CreateConnectionResponseTest.php
+++ b/src/gen/test/Model/CreateConnectionResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateConsumerResponseTest.php b/src/gen/test/Model/CreateConsumerResponseTest.php
index 7ec918936..d8002df78 100644
--- a/src/gen/test/Model/CreateConsumerResponseTest.php
+++ b/src/gen/test/Model/CreateConsumerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateContactResponseTest.php b/src/gen/test/Model/CreateContactResponseTest.php
index aba065f6c..772483c26 100644
--- a/src/gen/test/Model/CreateContactResponseTest.php
+++ b/src/gen/test/Model/CreateContactResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateCreditNoteResponseTest.php b/src/gen/test/Model/CreateCreditNoteResponseTest.php
index 3ad2415c7..0b2042bfe 100644
--- a/src/gen/test/Model/CreateCreditNoteResponseTest.php
+++ b/src/gen/test/Model/CreateCreditNoteResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateCustomMappingRequestTest.php b/src/gen/test/Model/CreateCustomMappingRequestTest.php
index 470859eaa..244d7eb25 100644
--- a/src/gen/test/Model/CreateCustomMappingRequestTest.php
+++ b/src/gen/test/Model/CreateCustomMappingRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateCustomMappingResponseTest.php b/src/gen/test/Model/CreateCustomMappingResponseTest.php
index bde696018..025dfa5f7 100644
--- a/src/gen/test/Model/CreateCustomMappingResponseTest.php
+++ b/src/gen/test/Model/CreateCustomMappingResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateCustomerResponseTest.php b/src/gen/test/Model/CreateCustomerResponseTest.php
index 68c5daff1..fdf03680f 100644
--- a/src/gen/test/Model/CreateCustomerResponseTest.php
+++ b/src/gen/test/Model/CreateCustomerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateDepartmentResponseTest.php b/src/gen/test/Model/CreateDepartmentResponseTest.php
index f61f779a8..cb45d4cff 100644
--- a/src/gen/test/Model/CreateDepartmentResponseTest.php
+++ b/src/gen/test/Model/CreateDepartmentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateDriveGroupResponseTest.php b/src/gen/test/Model/CreateDriveGroupResponseTest.php
index 586a7e8e1..e61bb79e1 100644
--- a/src/gen/test/Model/CreateDriveGroupResponseTest.php
+++ b/src/gen/test/Model/CreateDriveGroupResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateDriveResponseTest.php b/src/gen/test/Model/CreateDriveResponseTest.php
index 6fb12a39b..499290b1b 100644
--- a/src/gen/test/Model/CreateDriveResponseTest.php
+++ b/src/gen/test/Model/CreateDriveResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateEcommerceCustomerResponseTest.php b/src/gen/test/Model/CreateEcommerceCustomerResponseTest.php
index 1f97e587d..2c07bdfeb 100644
--- a/src/gen/test/Model/CreateEcommerceCustomerResponseTest.php
+++ b/src/gen/test/Model/CreateEcommerceCustomerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateEcommerceOrderResponseTest.php b/src/gen/test/Model/CreateEcommerceOrderResponseTest.php
index 87cac6482..64d72165f 100644
--- a/src/gen/test/Model/CreateEcommerceOrderResponseTest.php
+++ b/src/gen/test/Model/CreateEcommerceOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateEmployeeResponseTest.php b/src/gen/test/Model/CreateEmployeeResponseTest.php
index 85a661266..5619a2d9b 100644
--- a/src/gen/test/Model/CreateEmployeeResponseTest.php
+++ b/src/gen/test/Model/CreateEmployeeResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateFileRequestTest.php b/src/gen/test/Model/CreateFileRequestTest.php
index 3d82d5732..d3d0be3b6 100644
--- a/src/gen/test/Model/CreateFileRequestTest.php
+++ b/src/gen/test/Model/CreateFileRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateFileResponseTest.php b/src/gen/test/Model/CreateFileResponseTest.php
index cfa297ddf..ffa80ca9f 100644
--- a/src/gen/test/Model/CreateFileResponseTest.php
+++ b/src/gen/test/Model/CreateFileResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateFolderRequestTest.php b/src/gen/test/Model/CreateFolderRequestTest.php
index 528e6520f..4d5bcbcc5 100644
--- a/src/gen/test/Model/CreateFolderRequestTest.php
+++ b/src/gen/test/Model/CreateFolderRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateFolderResponseTest.php b/src/gen/test/Model/CreateFolderResponseTest.php
index cc3d06daa..d42d4f36f 100644
--- a/src/gen/test/Model/CreateFolderResponseTest.php
+++ b/src/gen/test/Model/CreateFolderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateHrisCompanyResponseTest.php b/src/gen/test/Model/CreateHrisCompanyResponseTest.php
index cfc82e545..027720d8f 100644
--- a/src/gen/test/Model/CreateHrisCompanyResponseTest.php
+++ b/src/gen/test/Model/CreateHrisCompanyResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateInvoiceItemResponseTest.php b/src/gen/test/Model/CreateInvoiceItemResponseTest.php
index ed8dfba17..38e2b537b 100644
--- a/src/gen/test/Model/CreateInvoiceItemResponseTest.php
+++ b/src/gen/test/Model/CreateInvoiceItemResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateInvoiceResponseTest.php b/src/gen/test/Model/CreateInvoiceResponseTest.php
index e382a41b3..20227f2b8 100644
--- a/src/gen/test/Model/CreateInvoiceResponseTest.php
+++ b/src/gen/test/Model/CreateInvoiceResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateItemResponseTest.php b/src/gen/test/Model/CreateItemResponseTest.php
index 833edd7b8..e291b383a 100644
--- a/src/gen/test/Model/CreateItemResponseTest.php
+++ b/src/gen/test/Model/CreateItemResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateJobResponseTest.php b/src/gen/test/Model/CreateJobResponseTest.php
index ce0dcfc2c..84630828c 100644
--- a/src/gen/test/Model/CreateJobResponseTest.php
+++ b/src/gen/test/Model/CreateJobResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateJournalEntryResponseTest.php b/src/gen/test/Model/CreateJournalEntryResponseTest.php
index 8fef420f8..9e53546a0 100644
--- a/src/gen/test/Model/CreateJournalEntryResponseTest.php
+++ b/src/gen/test/Model/CreateJournalEntryResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateLeadResponseTest.php b/src/gen/test/Model/CreateLeadResponseTest.php
index 9badad7ec..c57ba3304 100644
--- a/src/gen/test/Model/CreateLeadResponseTest.php
+++ b/src/gen/test/Model/CreateLeadResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateLedgerAccountResponseTest.php b/src/gen/test/Model/CreateLedgerAccountResponseTest.php
index b0462c411..d6bc39519 100644
--- a/src/gen/test/Model/CreateLedgerAccountResponseTest.php
+++ b/src/gen/test/Model/CreateLedgerAccountResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateLocationResponseTest.php b/src/gen/test/Model/CreateLocationResponseTest.php
index cec1c7b9f..5731391de 100644
--- a/src/gen/test/Model/CreateLocationResponseTest.php
+++ b/src/gen/test/Model/CreateLocationResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateMerchantResponseTest.php b/src/gen/test/Model/CreateMerchantResponseTest.php
index 09991a065..d332206e9 100644
--- a/src/gen/test/Model/CreateMerchantResponseTest.php
+++ b/src/gen/test/Model/CreateMerchantResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateMessageResponseTest.php b/src/gen/test/Model/CreateMessageResponseTest.php
index 05754dd88..6bde2d929 100644
--- a/src/gen/test/Model/CreateMessageResponseTest.php
+++ b/src/gen/test/Model/CreateMessageResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateModifierGroupResponseTest.php b/src/gen/test/Model/CreateModifierGroupResponseTest.php
index c07fbb2d4..1d5b13076 100644
--- a/src/gen/test/Model/CreateModifierGroupResponseTest.php
+++ b/src/gen/test/Model/CreateModifierGroupResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateModifierResponseTest.php b/src/gen/test/Model/CreateModifierResponseTest.php
index 0e5087714..763a98e1c 100644
--- a/src/gen/test/Model/CreateModifierResponseTest.php
+++ b/src/gen/test/Model/CreateModifierResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateNoteResponseTest.php b/src/gen/test/Model/CreateNoteResponseTest.php
index c4e346643..014b30ef1 100644
--- a/src/gen/test/Model/CreateNoteResponseTest.php
+++ b/src/gen/test/Model/CreateNoteResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateOpportunityResponseTest.php b/src/gen/test/Model/CreateOpportunityResponseTest.php
index f597ff821..2b05e95c7 100644
--- a/src/gen/test/Model/CreateOpportunityResponseTest.php
+++ b/src/gen/test/Model/CreateOpportunityResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateOrderResponseTest.php b/src/gen/test/Model/CreateOrderResponseTest.php
index 176c8be66..a392004bc 100644
--- a/src/gen/test/Model/CreateOrderResponseTest.php
+++ b/src/gen/test/Model/CreateOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateOrderTypeResponseTest.php b/src/gen/test/Model/CreateOrderTypeResponseTest.php
index f16b1dfa9..30d34c03c 100644
--- a/src/gen/test/Model/CreateOrderTypeResponseTest.php
+++ b/src/gen/test/Model/CreateOrderTypeResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreatePaymentResponseTest.php b/src/gen/test/Model/CreatePaymentResponseTest.php
index 48106385a..647f5ff8e 100644
--- a/src/gen/test/Model/CreatePaymentResponseTest.php
+++ b/src/gen/test/Model/CreatePaymentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreatePipelineResponseTest.php b/src/gen/test/Model/CreatePipelineResponseTest.php
index 5efd24319..0b4b0460d 100644
--- a/src/gen/test/Model/CreatePipelineResponseTest.php
+++ b/src/gen/test/Model/CreatePipelineResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreatePosPaymentResponseTest.php b/src/gen/test/Model/CreatePosPaymentResponseTest.php
index d2933027e..e8b70defd 100644
--- a/src/gen/test/Model/CreatePosPaymentResponseTest.php
+++ b/src/gen/test/Model/CreatePosPaymentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateProductResponseTest.php b/src/gen/test/Model/CreateProductResponseTest.php
index 5b0915969..75ed65f28 100644
--- a/src/gen/test/Model/CreateProductResponseTest.php
+++ b/src/gen/test/Model/CreateProductResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreatePurchaseOrderResponseTest.php b/src/gen/test/Model/CreatePurchaseOrderResponseTest.php
index 735229112..bca7f3ad5 100644
--- a/src/gen/test/Model/CreatePurchaseOrderResponseTest.php
+++ b/src/gen/test/Model/CreatePurchaseOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateSessionResponseDataTest.php b/src/gen/test/Model/CreateSessionResponseDataTest.php
index 1794718be..75b1159c3 100644
--- a/src/gen/test/Model/CreateSessionResponseDataTest.php
+++ b/src/gen/test/Model/CreateSessionResponseDataTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateSessionResponseTest.php b/src/gen/test/Model/CreateSessionResponseTest.php
index 57ff3948c..6633e8762 100644
--- a/src/gen/test/Model/CreateSessionResponseTest.php
+++ b/src/gen/test/Model/CreateSessionResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateSharedLinkResponseTest.php b/src/gen/test/Model/CreateSharedLinkResponseTest.php
index 5288936b5..4c1310c13 100644
--- a/src/gen/test/Model/CreateSharedLinkResponseTest.php
+++ b/src/gen/test/Model/CreateSharedLinkResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateSubsidiaryResponseTest.php b/src/gen/test/Model/CreateSubsidiaryResponseTest.php
new file mode 100644
index 000000000..201bdc187
--- /dev/null
+++ b/src/gen/test/Model/CreateSubsidiaryResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/CreateSupplierResponseTest.php b/src/gen/test/Model/CreateSupplierResponseTest.php
index 7e26175bb..b7bdece0c 100644
--- a/src/gen/test/Model/CreateSupplierResponseTest.php
+++ b/src/gen/test/Model/CreateSupplierResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateTaxRateResponseTest.php b/src/gen/test/Model/CreateTaxRateResponseTest.php
index a0b1172d0..31af9b37a 100644
--- a/src/gen/test/Model/CreateTaxRateResponseTest.php
+++ b/src/gen/test/Model/CreateTaxRateResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateTenderResponseTest.php b/src/gen/test/Model/CreateTenderResponseTest.php
index c55662d1d..903866b94 100644
--- a/src/gen/test/Model/CreateTenderResponseTest.php
+++ b/src/gen/test/Model/CreateTenderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateTicketResponseTest.php b/src/gen/test/Model/CreateTicketResponseTest.php
index 46ea300ba..990e15376 100644
--- a/src/gen/test/Model/CreateTicketResponseTest.php
+++ b/src/gen/test/Model/CreateTicketResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateTimeOffRequestResponseTest.php b/src/gen/test/Model/CreateTimeOffRequestResponseTest.php
index f386daf7d..85eb381c4 100644
--- a/src/gen/test/Model/CreateTimeOffRequestResponseTest.php
+++ b/src/gen/test/Model/CreateTimeOffRequestResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateUploadSessionRequestTest.php b/src/gen/test/Model/CreateUploadSessionRequestTest.php
index 14be11070..8589f9b94 100644
--- a/src/gen/test/Model/CreateUploadSessionRequestTest.php
+++ b/src/gen/test/Model/CreateUploadSessionRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateUploadSessionResponseTest.php b/src/gen/test/Model/CreateUploadSessionResponseTest.php
index 6b5d732a2..58079fbb6 100644
--- a/src/gen/test/Model/CreateUploadSessionResponseTest.php
+++ b/src/gen/test/Model/CreateUploadSessionResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateUserResponseTest.php b/src/gen/test/Model/CreateUserResponseTest.php
index 084b6d72c..56e8e6c21 100644
--- a/src/gen/test/Model/CreateUserResponseTest.php
+++ b/src/gen/test/Model/CreateUserResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateWebhookRequestTest.php b/src/gen/test/Model/CreateWebhookRequestTest.php
index 2bbda0117..544168fa4 100644
--- a/src/gen/test/Model/CreateWebhookRequestTest.php
+++ b/src/gen/test/Model/CreateWebhookRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreateWebhookResponseTest.php b/src/gen/test/Model/CreateWebhookResponseTest.php
index 405d79856..03b9aa6aa 100644
--- a/src/gen/test/Model/CreateWebhookResponseTest.php
+++ b/src/gen/test/Model/CreateWebhookResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreditNoteTest.php b/src/gen/test/Model/CreditNoteTest.php
index a48839d8f..263fb2c8a 100644
--- a/src/gen/test/Model/CreditNoteTest.php
+++ b/src/gen/test/Model/CreditNoteTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -115,6 +115,15 @@ public function testPropertyCustomer()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test attribute "company_id"
+ */
+ public function testPropertyCompanyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test attribute "currency"
*/
diff --git a/src/gen/test/Model/CreditNotesFilterTest.php b/src/gen/test/Model/CreditNotesFilterTest.php
index 9fa1fb924..0a8a94755 100644
--- a/src/gen/test/Model/CreditNotesFilterTest.php
+++ b/src/gen/test/Model/CreditNotesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CreditNotesSortTest.php b/src/gen/test/Model/CreditNotesSortTest.php
index d9769004e..6a709a1b8 100644
--- a/src/gen/test/Model/CreditNotesSortTest.php
+++ b/src/gen/test/Model/CreditNotesSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CrmEventTypeTest.php b/src/gen/test/Model/CrmEventTypeTest.php
index 85cbf55ec..346f53815 100644
--- a/src/gen/test/Model/CrmEventTypeTest.php
+++ b/src/gen/test/Model/CrmEventTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CurrencyTest.php b/src/gen/test/Model/CurrencyTest.php
index e95e9dc7b..93747a7db 100644
--- a/src/gen/test/Model/CurrencyTest.php
+++ b/src/gen/test/Model/CurrencyTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CustomFieldFinderTest.php b/src/gen/test/Model/CustomFieldFinderTest.php
index 28e9282d0..0d422d1a5 100644
--- a/src/gen/test/Model/CustomFieldFinderTest.php
+++ b/src/gen/test/Model/CustomFieldFinderTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CustomFieldTest.php b/src/gen/test/Model/CustomFieldTest.php
index 30d4d1714..682a2f7de 100644
--- a/src/gen/test/Model/CustomFieldTest.php
+++ b/src/gen/test/Model/CustomFieldTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CustomMappingTest.php b/src/gen/test/Model/CustomMappingTest.php
index 3ca6255f7..338d69949 100644
--- a/src/gen/test/Model/CustomMappingTest.php
+++ b/src/gen/test/Model/CustomMappingTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CustomerTest.php b/src/gen/test/Model/CustomerTest.php
index d69c66e37..14d81b5c6 100644
--- a/src/gen/test/Model/CustomerTest.php
+++ b/src/gen/test/Model/CustomerTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -124,6 +124,15 @@ public function testPropertyCompanyName()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test attribute "company_id"
+ */
+ public function testPropertyCompanyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test attribute "title"
*/
diff --git a/src/gen/test/Model/CustomersFilterTest.php b/src/gen/test/Model/CustomersFilterTest.php
index d5e0bd7b5..10662abaf 100644
--- a/src/gen/test/Model/CustomersFilterTest.php
+++ b/src/gen/test/Model/CustomersFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/CustomersSortTest.php b/src/gen/test/Model/CustomersSortTest.php
index e4bf41405..8cacf4169 100644
--- a/src/gen/test/Model/CustomersSortTest.php
+++ b/src/gen/test/Model/CustomersSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeductionTest.php b/src/gen/test/Model/DeductionTest.php
index d418ccacc..0dcb1a1a4 100644
--- a/src/gen/test/Model/DeductionTest.php
+++ b/src/gen/test/Model/DeductionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteAccountingDepartmentResponseTest.php b/src/gen/test/Model/DeleteAccountingDepartmentResponseTest.php
new file mode 100644
index 000000000..4ab9442cc
--- /dev/null
+++ b/src/gen/test/Model/DeleteAccountingDepartmentResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/DeleteAccountingLocationResponseTest.php b/src/gen/test/Model/DeleteAccountingLocationResponseTest.php
new file mode 100644
index 000000000..5812cd305
--- /dev/null
+++ b/src/gen/test/Model/DeleteAccountingLocationResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/DeleteActivityResponseTest.php b/src/gen/test/Model/DeleteActivityResponseTest.php
index 036a43cf7..e23f3ec93 100644
--- a/src/gen/test/Model/DeleteActivityResponseTest.php
+++ b/src/gen/test/Model/DeleteActivityResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteApplicantResponseTest.php b/src/gen/test/Model/DeleteApplicantResponseTest.php
index b647efa54..d789590cd 100644
--- a/src/gen/test/Model/DeleteApplicantResponseTest.php
+++ b/src/gen/test/Model/DeleteApplicantResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteApplicationResponseTest.php b/src/gen/test/Model/DeleteApplicationResponseTest.php
index 51d570437..e0efb1b57 100644
--- a/src/gen/test/Model/DeleteApplicationResponseTest.php
+++ b/src/gen/test/Model/DeleteApplicationResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteBillResponseTest.php b/src/gen/test/Model/DeleteBillResponseTest.php
index 2c9068827..4556eb15d 100644
--- a/src/gen/test/Model/DeleteBillResponseTest.php
+++ b/src/gen/test/Model/DeleteBillResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteCommentResponseTest.php b/src/gen/test/Model/DeleteCommentResponseTest.php
index 3152a0c5b..e43d41177 100644
--- a/src/gen/test/Model/DeleteCommentResponseTest.php
+++ b/src/gen/test/Model/DeleteCommentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteCompanyResponseTest.php b/src/gen/test/Model/DeleteCompanyResponseTest.php
index a86791f56..b2746b21b 100644
--- a/src/gen/test/Model/DeleteCompanyResponseTest.php
+++ b/src/gen/test/Model/DeleteCompanyResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteConsumerResponseTest.php b/src/gen/test/Model/DeleteConsumerResponseTest.php
index 8ebf59ecb..7f0ec33d9 100644
--- a/src/gen/test/Model/DeleteConsumerResponseTest.php
+++ b/src/gen/test/Model/DeleteConsumerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteContactResponseTest.php b/src/gen/test/Model/DeleteContactResponseTest.php
index 568604ef7..50ccbc79e 100644
--- a/src/gen/test/Model/DeleteContactResponseTest.php
+++ b/src/gen/test/Model/DeleteContactResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteCreditNoteResponseTest.php b/src/gen/test/Model/DeleteCreditNoteResponseTest.php
index 3aecef7c2..0cb0c1a97 100644
--- a/src/gen/test/Model/DeleteCreditNoteResponseTest.php
+++ b/src/gen/test/Model/DeleteCreditNoteResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteCustomerResponseTest.php b/src/gen/test/Model/DeleteCustomerResponseTest.php
index 296708a0d..e15f1d058 100644
--- a/src/gen/test/Model/DeleteCustomerResponseTest.php
+++ b/src/gen/test/Model/DeleteCustomerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteDepartmentResponseTest.php b/src/gen/test/Model/DeleteDepartmentResponseTest.php
index e89928407..d59b6e8de 100644
--- a/src/gen/test/Model/DeleteDepartmentResponseTest.php
+++ b/src/gen/test/Model/DeleteDepartmentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteDriveGroupResponseTest.php b/src/gen/test/Model/DeleteDriveGroupResponseTest.php
index 6ddc43bbe..e3dab6936 100644
--- a/src/gen/test/Model/DeleteDriveGroupResponseTest.php
+++ b/src/gen/test/Model/DeleteDriveGroupResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteDriveResponseTest.php b/src/gen/test/Model/DeleteDriveResponseTest.php
index da17d920f..a621315c6 100644
--- a/src/gen/test/Model/DeleteDriveResponseTest.php
+++ b/src/gen/test/Model/DeleteDriveResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteEcommerceCustomerResponseTest.php b/src/gen/test/Model/DeleteEcommerceCustomerResponseTest.php
index 7913c99f8..01bf7d9e4 100644
--- a/src/gen/test/Model/DeleteEcommerceCustomerResponseTest.php
+++ b/src/gen/test/Model/DeleteEcommerceCustomerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteEcommerceOrderResponseTest.php b/src/gen/test/Model/DeleteEcommerceOrderResponseTest.php
index 3b8de4ea6..90819d065 100644
--- a/src/gen/test/Model/DeleteEcommerceOrderResponseTest.php
+++ b/src/gen/test/Model/DeleteEcommerceOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteEmployeeResponseTest.php b/src/gen/test/Model/DeleteEmployeeResponseTest.php
index 34d123844..924d0d60f 100644
--- a/src/gen/test/Model/DeleteEmployeeResponseTest.php
+++ b/src/gen/test/Model/DeleteEmployeeResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteFileResponseTest.php b/src/gen/test/Model/DeleteFileResponseTest.php
index cbe4229ce..df1eba7e2 100644
--- a/src/gen/test/Model/DeleteFileResponseTest.php
+++ b/src/gen/test/Model/DeleteFileResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteFolderResponseTest.php b/src/gen/test/Model/DeleteFolderResponseTest.php
index 823b6bf04..e6e49d36a 100644
--- a/src/gen/test/Model/DeleteFolderResponseTest.php
+++ b/src/gen/test/Model/DeleteFolderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteHrisCompanyResponseTest.php b/src/gen/test/Model/DeleteHrisCompanyResponseTest.php
index 8c74dee46..c5b090e0f 100644
--- a/src/gen/test/Model/DeleteHrisCompanyResponseTest.php
+++ b/src/gen/test/Model/DeleteHrisCompanyResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteInvoiceResponseTest.php b/src/gen/test/Model/DeleteInvoiceResponseTest.php
index 7df1f661f..4c7e60283 100644
--- a/src/gen/test/Model/DeleteInvoiceResponseTest.php
+++ b/src/gen/test/Model/DeleteInvoiceResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteItemResponseTest.php b/src/gen/test/Model/DeleteItemResponseTest.php
index 64c4e5f75..9d56f9eab 100644
--- a/src/gen/test/Model/DeleteItemResponseTest.php
+++ b/src/gen/test/Model/DeleteItemResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteJobResponseTest.php b/src/gen/test/Model/DeleteJobResponseTest.php
index a6b1db18a..047df369e 100644
--- a/src/gen/test/Model/DeleteJobResponseTest.php
+++ b/src/gen/test/Model/DeleteJobResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteJournalEntryResponseTest.php b/src/gen/test/Model/DeleteJournalEntryResponseTest.php
index e79fc6e07..6b99cb9eb 100644
--- a/src/gen/test/Model/DeleteJournalEntryResponseTest.php
+++ b/src/gen/test/Model/DeleteJournalEntryResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteLeadResponseTest.php b/src/gen/test/Model/DeleteLeadResponseTest.php
index c6eb6262d..c6bc6309b 100644
--- a/src/gen/test/Model/DeleteLeadResponseTest.php
+++ b/src/gen/test/Model/DeleteLeadResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteLedgerAccountResponseTest.php b/src/gen/test/Model/DeleteLedgerAccountResponseTest.php
index bb3da64ea..82248e5db 100644
--- a/src/gen/test/Model/DeleteLedgerAccountResponseTest.php
+++ b/src/gen/test/Model/DeleteLedgerAccountResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteLocationResponseTest.php b/src/gen/test/Model/DeleteLocationResponseTest.php
index ba38f23e8..348815562 100644
--- a/src/gen/test/Model/DeleteLocationResponseTest.php
+++ b/src/gen/test/Model/DeleteLocationResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteMerchantResponseTest.php b/src/gen/test/Model/DeleteMerchantResponseTest.php
index 5934b7c5f..a329f24c8 100644
--- a/src/gen/test/Model/DeleteMerchantResponseTest.php
+++ b/src/gen/test/Model/DeleteMerchantResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteMessageResponseTest.php b/src/gen/test/Model/DeleteMessageResponseTest.php
index fae1e8b95..aea8e1333 100644
--- a/src/gen/test/Model/DeleteMessageResponseTest.php
+++ b/src/gen/test/Model/DeleteMessageResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteModifierGroupResponseTest.php b/src/gen/test/Model/DeleteModifierGroupResponseTest.php
index 3a4221d22..b73331cf3 100644
--- a/src/gen/test/Model/DeleteModifierGroupResponseTest.php
+++ b/src/gen/test/Model/DeleteModifierGroupResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteModifierResponseTest.php b/src/gen/test/Model/DeleteModifierResponseTest.php
index 505c627ff..d582cdf53 100644
--- a/src/gen/test/Model/DeleteModifierResponseTest.php
+++ b/src/gen/test/Model/DeleteModifierResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteNoteResponseTest.php b/src/gen/test/Model/DeleteNoteResponseTest.php
index af4694a0c..cb556b4f3 100644
--- a/src/gen/test/Model/DeleteNoteResponseTest.php
+++ b/src/gen/test/Model/DeleteNoteResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteOpportunityResponseTest.php b/src/gen/test/Model/DeleteOpportunityResponseTest.php
index 76545489d..b50caa06f 100644
--- a/src/gen/test/Model/DeleteOpportunityResponseTest.php
+++ b/src/gen/test/Model/DeleteOpportunityResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteOrderResponseTest.php b/src/gen/test/Model/DeleteOrderResponseTest.php
index d09c06830..48f96406b 100644
--- a/src/gen/test/Model/DeleteOrderResponseTest.php
+++ b/src/gen/test/Model/DeleteOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteOrderTypeResponseTest.php b/src/gen/test/Model/DeleteOrderTypeResponseTest.php
index c62691dbd..388cdc7bf 100644
--- a/src/gen/test/Model/DeleteOrderTypeResponseTest.php
+++ b/src/gen/test/Model/DeleteOrderTypeResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeletePaymentResponseTest.php b/src/gen/test/Model/DeletePaymentResponseTest.php
index bb76139cd..39c43924a 100644
--- a/src/gen/test/Model/DeletePaymentResponseTest.php
+++ b/src/gen/test/Model/DeletePaymentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeletePipelineResponseTest.php b/src/gen/test/Model/DeletePipelineResponseTest.php
index 5a74b751a..85292f723 100644
--- a/src/gen/test/Model/DeletePipelineResponseTest.php
+++ b/src/gen/test/Model/DeletePipelineResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeletePosPaymentResponseTest.php b/src/gen/test/Model/DeletePosPaymentResponseTest.php
index f78f4a997..f160447c6 100644
--- a/src/gen/test/Model/DeletePosPaymentResponseTest.php
+++ b/src/gen/test/Model/DeletePosPaymentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteProductResponseTest.php b/src/gen/test/Model/DeleteProductResponseTest.php
index b5fce71bc..08f093c01 100644
--- a/src/gen/test/Model/DeleteProductResponseTest.php
+++ b/src/gen/test/Model/DeleteProductResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeletePurchaseOrderResponseTest.php b/src/gen/test/Model/DeletePurchaseOrderResponseTest.php
index a14a3a561..f039b43bb 100644
--- a/src/gen/test/Model/DeletePurchaseOrderResponseTest.php
+++ b/src/gen/test/Model/DeletePurchaseOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteSharedLinkResponseTest.php b/src/gen/test/Model/DeleteSharedLinkResponseTest.php
index 367e1e74b..1b66ca333 100644
--- a/src/gen/test/Model/DeleteSharedLinkResponseTest.php
+++ b/src/gen/test/Model/DeleteSharedLinkResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteSubsidiaryResponseTest.php b/src/gen/test/Model/DeleteSubsidiaryResponseTest.php
new file mode 100644
index 000000000..ef9f49fed
--- /dev/null
+++ b/src/gen/test/Model/DeleteSubsidiaryResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/DeleteSupplierResponseTest.php b/src/gen/test/Model/DeleteSupplierResponseTest.php
index 658a0501e..ce3c30273 100644
--- a/src/gen/test/Model/DeleteSupplierResponseTest.php
+++ b/src/gen/test/Model/DeleteSupplierResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteTaxRateResponseTest.php b/src/gen/test/Model/DeleteTaxRateResponseTest.php
index e17880227..112bdb817 100644
--- a/src/gen/test/Model/DeleteTaxRateResponseTest.php
+++ b/src/gen/test/Model/DeleteTaxRateResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteTenderResponseTest.php b/src/gen/test/Model/DeleteTenderResponseTest.php
index 2cb95ed09..60e87be53 100644
--- a/src/gen/test/Model/DeleteTenderResponseTest.php
+++ b/src/gen/test/Model/DeleteTenderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteTicketResponseTest.php b/src/gen/test/Model/DeleteTicketResponseTest.php
index 6bba07dc1..c47fac3f5 100644
--- a/src/gen/test/Model/DeleteTicketResponseTest.php
+++ b/src/gen/test/Model/DeleteTicketResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteTimeOffRequestResponseTest.php b/src/gen/test/Model/DeleteTimeOffRequestResponseTest.php
index 1a43cafeb..995540afc 100644
--- a/src/gen/test/Model/DeleteTimeOffRequestResponseTest.php
+++ b/src/gen/test/Model/DeleteTimeOffRequestResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteUploadSessionResponseTest.php b/src/gen/test/Model/DeleteUploadSessionResponseTest.php
index 0df71393d..175e5b820 100644
--- a/src/gen/test/Model/DeleteUploadSessionResponseTest.php
+++ b/src/gen/test/Model/DeleteUploadSessionResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteUserResponseTest.php b/src/gen/test/Model/DeleteUserResponseTest.php
index 19a774e6f..ad61fd863 100644
--- a/src/gen/test/Model/DeleteUserResponseTest.php
+++ b/src/gen/test/Model/DeleteUserResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DeleteWebhookResponseTest.php b/src/gen/test/Model/DeleteWebhookResponseTest.php
index 56718917a..5946f68a7 100644
--- a/src/gen/test/Model/DeleteWebhookResponseTest.php
+++ b/src/gen/test/Model/DeleteWebhookResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DepartmentTest.php b/src/gen/test/Model/DepartmentTest.php
index dbb1a36df..6a256ebbc 100644
--- a/src/gen/test/Model/DepartmentTest.php
+++ b/src/gen/test/Model/DepartmentTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DriveGroupTest.php b/src/gen/test/Model/DriveGroupTest.php
index 75c61a8d7..27d10ca7d 100644
--- a/src/gen/test/Model/DriveGroupTest.php
+++ b/src/gen/test/Model/DriveGroupTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DriveGroupsFilterTest.php b/src/gen/test/Model/DriveGroupsFilterTest.php
index 4ff4fe082..b30ee0182 100644
--- a/src/gen/test/Model/DriveGroupsFilterTest.php
+++ b/src/gen/test/Model/DriveGroupsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DriveTest.php b/src/gen/test/Model/DriveTest.php
index 51babe963..15365fbca 100644
--- a/src/gen/test/Model/DriveTest.php
+++ b/src/gen/test/Model/DriveTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/DrivesFilterTest.php b/src/gen/test/Model/DrivesFilterTest.php
index f2b6d2449..4405fd680 100644
--- a/src/gen/test/Model/DrivesFilterTest.php
+++ b/src/gen/test/Model/DrivesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceAddressTest.php b/src/gen/test/Model/EcommerceAddressTest.php
index ca11c092f..e3c00b296 100644
--- a/src/gen/test/Model/EcommerceAddressTest.php
+++ b/src/gen/test/Model/EcommerceAddressTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceCustomerAddressesTest.php b/src/gen/test/Model/EcommerceCustomerAddressesTest.php
index a9d3353bd..f7419e6c5 100644
--- a/src/gen/test/Model/EcommerceCustomerAddressesTest.php
+++ b/src/gen/test/Model/EcommerceCustomerAddressesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceCustomerTest.php b/src/gen/test/Model/EcommerceCustomerTest.php
index 6cd47bc0f..2e26a8267 100644
--- a/src/gen/test/Model/EcommerceCustomerTest.php
+++ b/src/gen/test/Model/EcommerceCustomerTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceCustomersFilterTest.php b/src/gen/test/Model/EcommerceCustomersFilterTest.php
index 9e543f22e..5ffdb1e90 100644
--- a/src/gen/test/Model/EcommerceCustomersFilterTest.php
+++ b/src/gen/test/Model/EcommerceCustomersFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceDiscountTest.php b/src/gen/test/Model/EcommerceDiscountTest.php
index f27e1f97f..10c25c230 100644
--- a/src/gen/test/Model/EcommerceDiscountTest.php
+++ b/src/gen/test/Model/EcommerceDiscountTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceOrderLineItemTest.php b/src/gen/test/Model/EcommerceOrderLineItemTest.php
index 3157585d5..b0a05a513 100644
--- a/src/gen/test/Model/EcommerceOrderLineItemTest.php
+++ b/src/gen/test/Model/EcommerceOrderLineItemTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceOrderStatusTest.php b/src/gen/test/Model/EcommerceOrderStatusTest.php
index 657a16a28..b696ea9d3 100644
--- a/src/gen/test/Model/EcommerceOrderStatusTest.php
+++ b/src/gen/test/Model/EcommerceOrderStatusTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceOrderTest.php b/src/gen/test/Model/EcommerceOrderTest.php
index 12633e213..f6d273364 100644
--- a/src/gen/test/Model/EcommerceOrderTest.php
+++ b/src/gen/test/Model/EcommerceOrderTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceOrdersFilterTest.php b/src/gen/test/Model/EcommerceOrdersFilterTest.php
index b1df2484e..6676c3475 100644
--- a/src/gen/test/Model/EcommerceOrdersFilterTest.php
+++ b/src/gen/test/Model/EcommerceOrdersFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceProductCategoriesTest.php b/src/gen/test/Model/EcommerceProductCategoriesTest.php
index 6751ee836..10b1733b6 100644
--- a/src/gen/test/Model/EcommerceProductCategoriesTest.php
+++ b/src/gen/test/Model/EcommerceProductCategoriesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceProductImages1Test.php b/src/gen/test/Model/EcommerceProductImages1Test.php
index 7d6e02bc3..44b6a6484 100644
--- a/src/gen/test/Model/EcommerceProductImages1Test.php
+++ b/src/gen/test/Model/EcommerceProductImages1Test.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceProductImagesTest.php b/src/gen/test/Model/EcommerceProductImagesTest.php
index 141b4413f..249cf5e81 100644
--- a/src/gen/test/Model/EcommerceProductImagesTest.php
+++ b/src/gen/test/Model/EcommerceProductImagesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceProductOptions1Test.php b/src/gen/test/Model/EcommerceProductOptions1Test.php
index 834f678fd..4ffa361ac 100644
--- a/src/gen/test/Model/EcommerceProductOptions1Test.php
+++ b/src/gen/test/Model/EcommerceProductOptions1Test.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceProductOptionsTest.php b/src/gen/test/Model/EcommerceProductOptionsTest.php
index bf98b0fda..394d7755d 100644
--- a/src/gen/test/Model/EcommerceProductOptionsTest.php
+++ b/src/gen/test/Model/EcommerceProductOptionsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceProductTest.php b/src/gen/test/Model/EcommerceProductTest.php
index ca9c52df4..72a9799bd 100644
--- a/src/gen/test/Model/EcommerceProductTest.php
+++ b/src/gen/test/Model/EcommerceProductTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceProductVariantsTest.php b/src/gen/test/Model/EcommerceProductVariantsTest.php
index 4f02aabe4..39561ba24 100644
--- a/src/gen/test/Model/EcommerceProductVariantsTest.php
+++ b/src/gen/test/Model/EcommerceProductVariantsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EcommerceStoreTest.php b/src/gen/test/Model/EcommerceStoreTest.php
index 213d0cf57..5908a48e7 100644
--- a/src/gen/test/Model/EcommerceStoreTest.php
+++ b/src/gen/test/Model/EcommerceStoreTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmailTest.php b/src/gen/test/Model/EmailTest.php
index be2684d3e..c18355990 100644
--- a/src/gen/test/Model/EmailTest.php
+++ b/src/gen/test/Model/EmailTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeeCompensationTest.php b/src/gen/test/Model/EmployeeCompensationTest.php
index 06de1ae41..3adfb4dcb 100644
--- a/src/gen/test/Model/EmployeeCompensationTest.php
+++ b/src/gen/test/Model/EmployeeCompensationTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeeEmploymentRoleTest.php b/src/gen/test/Model/EmployeeEmploymentRoleTest.php
index e36d36622..06425db06 100644
--- a/src/gen/test/Model/EmployeeEmploymentRoleTest.php
+++ b/src/gen/test/Model/EmployeeEmploymentRoleTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeeJobTest.php b/src/gen/test/Model/EmployeeJobTest.php
index c7377a45e..f476c9751 100644
--- a/src/gen/test/Model/EmployeeJobTest.php
+++ b/src/gen/test/Model/EmployeeJobTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeeListTest.php b/src/gen/test/Model/EmployeeListTest.php
index 573536742..65b2d47d0 100644
--- a/src/gen/test/Model/EmployeeListTest.php
+++ b/src/gen/test/Model/EmployeeListTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeeManagerTest.php b/src/gen/test/Model/EmployeeManagerTest.php
index 934f2d4a9..d163fa77c 100644
--- a/src/gen/test/Model/EmployeeManagerTest.php
+++ b/src/gen/test/Model/EmployeeManagerTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeePayrollTest.php b/src/gen/test/Model/EmployeePayrollTest.php
index 95e39938d..9b55bb946 100644
--- a/src/gen/test/Model/EmployeePayrollTest.php
+++ b/src/gen/test/Model/EmployeePayrollTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeeSchedulesTest.php b/src/gen/test/Model/EmployeeSchedulesTest.php
index 45ca2181b..7d952f0a5 100644
--- a/src/gen/test/Model/EmployeeSchedulesTest.php
+++ b/src/gen/test/Model/EmployeeSchedulesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeeTest.php b/src/gen/test/Model/EmployeeTest.php
index 3154e216d..497c8399c 100644
--- a/src/gen/test/Model/EmployeeTest.php
+++ b/src/gen/test/Model/EmployeeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeesFilterTest.php b/src/gen/test/Model/EmployeesFilterTest.php
index 39c3dde81..df3cbc077 100644
--- a/src/gen/test/Model/EmployeesFilterTest.php
+++ b/src/gen/test/Model/EmployeesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmployeesSortTest.php b/src/gen/test/Model/EmployeesSortTest.php
index a8d586fa0..f441f6079 100644
--- a/src/gen/test/Model/EmployeesSortTest.php
+++ b/src/gen/test/Model/EmployeesSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/EmploymentStatusTest.php b/src/gen/test/Model/EmploymentStatusTest.php
index 992cc2599..e7d83e18d 100644
--- a/src/gen/test/Model/EmploymentStatusTest.php
+++ b/src/gen/test/Model/EmploymentStatusTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ErrorTest.php b/src/gen/test/Model/ErrorTest.php
index 363f78fdc..453fc7528 100644
--- a/src/gen/test/Model/ErrorTest.php
+++ b/src/gen/test/Model/ErrorTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ExecuteWebhookResponseTest.php b/src/gen/test/Model/ExecuteWebhookResponseTest.php
index 3f6906575..9ce46b9ed 100644
--- a/src/gen/test/Model/ExecuteWebhookResponseTest.php
+++ b/src/gen/test/Model/ExecuteWebhookResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/FileStorageEventTypeTest.php b/src/gen/test/Model/FileStorageEventTypeTest.php
index 226f2de0c..9f01ba1b2 100644
--- a/src/gen/test/Model/FileStorageEventTypeTest.php
+++ b/src/gen/test/Model/FileStorageEventTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/FileTypeTest.php b/src/gen/test/Model/FileTypeTest.php
index 7285ee049..a80380c54 100644
--- a/src/gen/test/Model/FileTypeTest.php
+++ b/src/gen/test/Model/FileTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/FilesFilterTest.php b/src/gen/test/Model/FilesFilterTest.php
index 8e3b7daf4..27f47c9db 100644
--- a/src/gen/test/Model/FilesFilterTest.php
+++ b/src/gen/test/Model/FilesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/FilesSearchTest.php b/src/gen/test/Model/FilesSearchTest.php
index 3a288c40c..94cdd5f3d 100644
--- a/src/gen/test/Model/FilesSearchTest.php
+++ b/src/gen/test/Model/FilesSearchTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/FilesSortTest.php b/src/gen/test/Model/FilesSortTest.php
index dc6f84fd8..495b6fedb 100644
--- a/src/gen/test/Model/FilesSortTest.php
+++ b/src/gen/test/Model/FilesSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/FolderTest.php b/src/gen/test/Model/FolderTest.php
index 253f2497c..b2c96603d 100644
--- a/src/gen/test/Model/FolderTest.php
+++ b/src/gen/test/Model/FolderTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/FormFieldOptionGroupTest.php b/src/gen/test/Model/FormFieldOptionGroupTest.php
index 5830d7478..2dcfc374a 100644
--- a/src/gen/test/Model/FormFieldOptionGroupTest.php
+++ b/src/gen/test/Model/FormFieldOptionGroupTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/FormFieldOptionTest.php b/src/gen/test/Model/FormFieldOptionTest.php
index 7105cf901..ec4df8650 100644
--- a/src/gen/test/Model/FormFieldOptionTest.php
+++ b/src/gen/test/Model/FormFieldOptionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/FormFieldTest.php b/src/gen/test/Model/FormFieldTest.php
index 71c4d7aa0..cc9d00c79 100644
--- a/src/gen/test/Model/FormFieldTest.php
+++ b/src/gen/test/Model/FormFieldTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GenderTest.php b/src/gen/test/Model/GenderTest.php
index 10d916278..6c0e69a1f 100644
--- a/src/gen/test/Model/GenderTest.php
+++ b/src/gen/test/Model/GenderTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetAccountingDepartmentResponseTest.php b/src/gen/test/Model/GetAccountingDepartmentResponseTest.php
new file mode 100644
index 000000000..e996e38b1
--- /dev/null
+++ b/src/gen/test/Model/GetAccountingDepartmentResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php b/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php
new file mode 100644
index 000000000..c90743d9b
--- /dev/null
+++ b/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php
@@ -0,0 +1,153 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "meta"
+ */
+ public function testPropertyMeta()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "links"
+ */
+ public function testPropertyLinks()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/GetAccountingLocationResponseTest.php b/src/gen/test/Model/GetAccountingLocationResponseTest.php
new file mode 100644
index 000000000..5451cce83
--- /dev/null
+++ b/src/gen/test/Model/GetAccountingLocationResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/GetAccountingLocationsResponseTest.php b/src/gen/test/Model/GetAccountingLocationsResponseTest.php
new file mode 100644
index 000000000..a1d6f9dcd
--- /dev/null
+++ b/src/gen/test/Model/GetAccountingLocationsResponseTest.php
@@ -0,0 +1,153 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "meta"
+ */
+ public function testPropertyMeta()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "links"
+ */
+ public function testPropertyLinks()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/GetActivitiesResponseTest.php b/src/gen/test/Model/GetActivitiesResponseTest.php
index 9e7601903..18968b4e8 100644
--- a/src/gen/test/Model/GetActivitiesResponseTest.php
+++ b/src/gen/test/Model/GetActivitiesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetActivityResponseTest.php b/src/gen/test/Model/GetActivityResponseTest.php
index 8a968f43c..8bdf89ab8 100644
--- a/src/gen/test/Model/GetActivityResponseTest.php
+++ b/src/gen/test/Model/GetActivityResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetApiResourceCoverageResponseTest.php b/src/gen/test/Model/GetApiResourceCoverageResponseTest.php
index b5f31ce4c..aa7cce61a 100644
--- a/src/gen/test/Model/GetApiResourceCoverageResponseTest.php
+++ b/src/gen/test/Model/GetApiResourceCoverageResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetApiResourceResponseTest.php b/src/gen/test/Model/GetApiResourceResponseTest.php
index 53f5aa416..9d0a9cb18 100644
--- a/src/gen/test/Model/GetApiResourceResponseTest.php
+++ b/src/gen/test/Model/GetApiResourceResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetApiResponseTest.php b/src/gen/test/Model/GetApiResponseTest.php
index ecb7c196e..4ec12ad8f 100644
--- a/src/gen/test/Model/GetApiResponseTest.php
+++ b/src/gen/test/Model/GetApiResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetApisResponseTest.php b/src/gen/test/Model/GetApisResponseTest.php
index d3fc39403..f4321e415 100644
--- a/src/gen/test/Model/GetApisResponseTest.php
+++ b/src/gen/test/Model/GetApisResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetApplicantResponseTest.php b/src/gen/test/Model/GetApplicantResponseTest.php
index ab933e826..7dbbf52fc 100644
--- a/src/gen/test/Model/GetApplicantResponseTest.php
+++ b/src/gen/test/Model/GetApplicantResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetApplicantsResponseTest.php b/src/gen/test/Model/GetApplicantsResponseTest.php
index f557b3db3..8b1f48165 100644
--- a/src/gen/test/Model/GetApplicantsResponseTest.php
+++ b/src/gen/test/Model/GetApplicantsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetApplicationResponseTest.php b/src/gen/test/Model/GetApplicationResponseTest.php
index 243c710f6..a9a3284de 100644
--- a/src/gen/test/Model/GetApplicationResponseTest.php
+++ b/src/gen/test/Model/GetApplicationResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetApplicationsResponseTest.php b/src/gen/test/Model/GetApplicationsResponseTest.php
index f308ce9b8..c760aa5a9 100644
--- a/src/gen/test/Model/GetApplicationsResponseTest.php
+++ b/src/gen/test/Model/GetApplicationsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetBalanceSheetResponseTest.php b/src/gen/test/Model/GetBalanceSheetResponseTest.php
index f3bbf1bc2..972f67eac 100644
--- a/src/gen/test/Model/GetBalanceSheetResponseTest.php
+++ b/src/gen/test/Model/GetBalanceSheetResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetBillResponseTest.php b/src/gen/test/Model/GetBillResponseTest.php
index f9baa3c1f..880fdd55b 100644
--- a/src/gen/test/Model/GetBillResponseTest.php
+++ b/src/gen/test/Model/GetBillResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetBillsResponseTest.php b/src/gen/test/Model/GetBillsResponseTest.php
index c1558bb07..ce5eacc20 100644
--- a/src/gen/test/Model/GetBillsResponseTest.php
+++ b/src/gen/test/Model/GetBillsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCollectionResponseTest.php b/src/gen/test/Model/GetCollectionResponseTest.php
index a7c6025c0..4f64222c6 100644
--- a/src/gen/test/Model/GetCollectionResponseTest.php
+++ b/src/gen/test/Model/GetCollectionResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCollectionTagsResponseTest.php b/src/gen/test/Model/GetCollectionTagsResponseTest.php
index 5ad28fcf8..9b2839bed 100644
--- a/src/gen/test/Model/GetCollectionTagsResponseTest.php
+++ b/src/gen/test/Model/GetCollectionTagsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCollectionUserResponseTest.php b/src/gen/test/Model/GetCollectionUserResponseTest.php
index 388deabe2..03fc85fee 100644
--- a/src/gen/test/Model/GetCollectionUserResponseTest.php
+++ b/src/gen/test/Model/GetCollectionUserResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCollectionUsersResponseTest.php b/src/gen/test/Model/GetCollectionUsersResponseTest.php
index 16aa1c558..72789861f 100644
--- a/src/gen/test/Model/GetCollectionUsersResponseTest.php
+++ b/src/gen/test/Model/GetCollectionUsersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCollectionsResponseTest.php b/src/gen/test/Model/GetCollectionsResponseTest.php
index f1979d6e3..aa1365441 100644
--- a/src/gen/test/Model/GetCollectionsResponseTest.php
+++ b/src/gen/test/Model/GetCollectionsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCommentResponseTest.php b/src/gen/test/Model/GetCommentResponseTest.php
index 0c8493110..f5a66a3e5 100644
--- a/src/gen/test/Model/GetCommentResponseTest.php
+++ b/src/gen/test/Model/GetCommentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCommentsResponseTest.php b/src/gen/test/Model/GetCommentsResponseTest.php
index 15de88eae..74e1d1036 100644
--- a/src/gen/test/Model/GetCommentsResponseTest.php
+++ b/src/gen/test/Model/GetCommentsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCompaniesResponseTest.php b/src/gen/test/Model/GetCompaniesResponseTest.php
index 3b059583a..31815ff49 100644
--- a/src/gen/test/Model/GetCompaniesResponseTest.php
+++ b/src/gen/test/Model/GetCompaniesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCompanyInfoResponseTest.php b/src/gen/test/Model/GetCompanyInfoResponseTest.php
index c9e34d4ea..d57598e56 100644
--- a/src/gen/test/Model/GetCompanyInfoResponseTest.php
+++ b/src/gen/test/Model/GetCompanyInfoResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCompanyResponseTest.php b/src/gen/test/Model/GetCompanyResponseTest.php
index ec232e64a..21a35735d 100644
--- a/src/gen/test/Model/GetCompanyResponseTest.php
+++ b/src/gen/test/Model/GetCompanyResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConnectionResponseTest.php b/src/gen/test/Model/GetConnectionResponseTest.php
index 32e95714e..d012a979f 100644
--- a/src/gen/test/Model/GetConnectionResponseTest.php
+++ b/src/gen/test/Model/GetConnectionResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConnectionsResponseTest.php b/src/gen/test/Model/GetConnectionsResponseTest.php
index 55e2ce497..708e7a84c 100644
--- a/src/gen/test/Model/GetConnectionsResponseTest.php
+++ b/src/gen/test/Model/GetConnectionsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConnectorResourceExampleResponseDataTest.php b/src/gen/test/Model/GetConnectorResourceExampleResponseDataTest.php
index c054aea4c..a7e4e1e0e 100644
--- a/src/gen/test/Model/GetConnectorResourceExampleResponseDataTest.php
+++ b/src/gen/test/Model/GetConnectorResourceExampleResponseDataTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConnectorResourceExampleResponseTest.php b/src/gen/test/Model/GetConnectorResourceExampleResponseTest.php
index 38ba27c61..85f0c5faa 100644
--- a/src/gen/test/Model/GetConnectorResourceExampleResponseTest.php
+++ b/src/gen/test/Model/GetConnectorResourceExampleResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConnectorResourceResponseTest.php b/src/gen/test/Model/GetConnectorResourceResponseTest.php
index cefd92fb8..ac27e8759 100644
--- a/src/gen/test/Model/GetConnectorResourceResponseTest.php
+++ b/src/gen/test/Model/GetConnectorResourceResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConnectorResourceSchemaResponseTest.php b/src/gen/test/Model/GetConnectorResourceSchemaResponseTest.php
index 3f0cfaaf6..a489107ed 100644
--- a/src/gen/test/Model/GetConnectorResourceSchemaResponseTest.php
+++ b/src/gen/test/Model/GetConnectorResourceSchemaResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConnectorResponseTest.php b/src/gen/test/Model/GetConnectorResponseTest.php
index dc8fcd3b8..74fae7880 100644
--- a/src/gen/test/Model/GetConnectorResponseTest.php
+++ b/src/gen/test/Model/GetConnectorResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConnectorsResponseTest.php b/src/gen/test/Model/GetConnectorsResponseTest.php
index 57153c7c4..20fa67d55 100644
--- a/src/gen/test/Model/GetConnectorsResponseTest.php
+++ b/src/gen/test/Model/GetConnectorsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConsumerResponseTest.php b/src/gen/test/Model/GetConsumerResponseTest.php
index 18fc57df9..62a85723e 100644
--- a/src/gen/test/Model/GetConsumerResponseTest.php
+++ b/src/gen/test/Model/GetConsumerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConsumersResponseDataTest.php b/src/gen/test/Model/GetConsumersResponseDataTest.php
index ba570731f..d5df5bda4 100644
--- a/src/gen/test/Model/GetConsumersResponseDataTest.php
+++ b/src/gen/test/Model/GetConsumersResponseDataTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetConsumersResponseTest.php b/src/gen/test/Model/GetConsumersResponseTest.php
index 265e303f3..c0c18b28f 100644
--- a/src/gen/test/Model/GetConsumersResponseTest.php
+++ b/src/gen/test/Model/GetConsumersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetContactResponseTest.php b/src/gen/test/Model/GetContactResponseTest.php
index 100c7f1b8..e3531be20 100644
--- a/src/gen/test/Model/GetContactResponseTest.php
+++ b/src/gen/test/Model/GetContactResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetContactsResponseTest.php b/src/gen/test/Model/GetContactsResponseTest.php
index b7eeb537b..44035fc28 100644
--- a/src/gen/test/Model/GetContactsResponseTest.php
+++ b/src/gen/test/Model/GetContactsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCreditNoteResponseTest.php b/src/gen/test/Model/GetCreditNoteResponseTest.php
index a7269bab5..584fbf919 100644
--- a/src/gen/test/Model/GetCreditNoteResponseTest.php
+++ b/src/gen/test/Model/GetCreditNoteResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCreditNotesResponseTest.php b/src/gen/test/Model/GetCreditNotesResponseTest.php
index 194051f22..1f761c82a 100644
--- a/src/gen/test/Model/GetCreditNotesResponseTest.php
+++ b/src/gen/test/Model/GetCreditNotesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCustomFieldsResponseTest.php b/src/gen/test/Model/GetCustomFieldsResponseTest.php
index bbd30202e..3e7ffb871 100644
--- a/src/gen/test/Model/GetCustomFieldsResponseTest.php
+++ b/src/gen/test/Model/GetCustomFieldsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCustomMappingResponseTest.php b/src/gen/test/Model/GetCustomMappingResponseTest.php
index 4e0cebd0e..97ac536e4 100644
--- a/src/gen/test/Model/GetCustomMappingResponseTest.php
+++ b/src/gen/test/Model/GetCustomMappingResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCustomerResponseTest.php b/src/gen/test/Model/GetCustomerResponseTest.php
index 35afe8df0..47d631d73 100644
--- a/src/gen/test/Model/GetCustomerResponseTest.php
+++ b/src/gen/test/Model/GetCustomerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetCustomersResponseTest.php b/src/gen/test/Model/GetCustomersResponseTest.php
index b92d210b8..35ba58472 100644
--- a/src/gen/test/Model/GetCustomersResponseTest.php
+++ b/src/gen/test/Model/GetCustomersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetDepartmentResponseTest.php b/src/gen/test/Model/GetDepartmentResponseTest.php
index 687e78b3b..477db3983 100644
--- a/src/gen/test/Model/GetDepartmentResponseTest.php
+++ b/src/gen/test/Model/GetDepartmentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetDepartmentsResponseTest.php b/src/gen/test/Model/GetDepartmentsResponseTest.php
index 6e065b596..4cc396624 100644
--- a/src/gen/test/Model/GetDepartmentsResponseTest.php
+++ b/src/gen/test/Model/GetDepartmentsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetDriveGroupResponseTest.php b/src/gen/test/Model/GetDriveGroupResponseTest.php
index 16fef0c17..dfc1bcfa1 100644
--- a/src/gen/test/Model/GetDriveGroupResponseTest.php
+++ b/src/gen/test/Model/GetDriveGroupResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetDriveGroupsResponseTest.php b/src/gen/test/Model/GetDriveGroupsResponseTest.php
index bf450a18d..aec25e6e9 100644
--- a/src/gen/test/Model/GetDriveGroupsResponseTest.php
+++ b/src/gen/test/Model/GetDriveGroupsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetDriveResponseTest.php b/src/gen/test/Model/GetDriveResponseTest.php
index c589e8c0a..9104a4c6d 100644
--- a/src/gen/test/Model/GetDriveResponseTest.php
+++ b/src/gen/test/Model/GetDriveResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetDrivesResponseTest.php b/src/gen/test/Model/GetDrivesResponseTest.php
index 9e77b8409..36bd7b821 100644
--- a/src/gen/test/Model/GetDrivesResponseTest.php
+++ b/src/gen/test/Model/GetDrivesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetEcommerceCustomerResponseTest.php b/src/gen/test/Model/GetEcommerceCustomerResponseTest.php
index 516fdaf74..15d9a6d4a 100644
--- a/src/gen/test/Model/GetEcommerceCustomerResponseTest.php
+++ b/src/gen/test/Model/GetEcommerceCustomerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetEcommerceCustomersResponseTest.php b/src/gen/test/Model/GetEcommerceCustomersResponseTest.php
index 55ece3cbe..e0455b9ab 100644
--- a/src/gen/test/Model/GetEcommerceCustomersResponseTest.php
+++ b/src/gen/test/Model/GetEcommerceCustomersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetEcommerceOrderResponseTest.php b/src/gen/test/Model/GetEcommerceOrderResponseTest.php
index dd977c75a..add2691be 100644
--- a/src/gen/test/Model/GetEcommerceOrderResponseTest.php
+++ b/src/gen/test/Model/GetEcommerceOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetEcommerceOrdersResponseTest.php b/src/gen/test/Model/GetEcommerceOrdersResponseTest.php
index 7bc38b1d0..95707c5fb 100644
--- a/src/gen/test/Model/GetEcommerceOrdersResponseTest.php
+++ b/src/gen/test/Model/GetEcommerceOrdersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetEmployeePayrollResponseTest.php b/src/gen/test/Model/GetEmployeePayrollResponseTest.php
index 5fdb3bf76..49dcad0f0 100644
--- a/src/gen/test/Model/GetEmployeePayrollResponseTest.php
+++ b/src/gen/test/Model/GetEmployeePayrollResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetEmployeePayrollsResponseTest.php b/src/gen/test/Model/GetEmployeePayrollsResponseTest.php
index de2f9e6c1..45c756110 100644
--- a/src/gen/test/Model/GetEmployeePayrollsResponseTest.php
+++ b/src/gen/test/Model/GetEmployeePayrollsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetEmployeeResponseTest.php b/src/gen/test/Model/GetEmployeeResponseTest.php
index d35969fec..cd8bc2b47 100644
--- a/src/gen/test/Model/GetEmployeeResponseTest.php
+++ b/src/gen/test/Model/GetEmployeeResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetEmployeeSchedulesResponseTest.php b/src/gen/test/Model/GetEmployeeSchedulesResponseTest.php
index 5ef38e4df..902e338aa 100644
--- a/src/gen/test/Model/GetEmployeeSchedulesResponseTest.php
+++ b/src/gen/test/Model/GetEmployeeSchedulesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetEmployeesResponseTest.php b/src/gen/test/Model/GetEmployeesResponseTest.php
index 9ad84ddb1..0a048c8de 100644
--- a/src/gen/test/Model/GetEmployeesResponseTest.php
+++ b/src/gen/test/Model/GetEmployeesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetFileResponseTest.php b/src/gen/test/Model/GetFileResponseTest.php
index 479fa03a0..2ebbcac68 100644
--- a/src/gen/test/Model/GetFileResponseTest.php
+++ b/src/gen/test/Model/GetFileResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetFilesResponseTest.php b/src/gen/test/Model/GetFilesResponseTest.php
index e7044fed7..50c1e0508 100644
--- a/src/gen/test/Model/GetFilesResponseTest.php
+++ b/src/gen/test/Model/GetFilesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetFolderResponseTest.php b/src/gen/test/Model/GetFolderResponseTest.php
index cf7b93a1e..93ae58ec1 100644
--- a/src/gen/test/Model/GetFolderResponseTest.php
+++ b/src/gen/test/Model/GetFolderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetFoldersResponseTest.php b/src/gen/test/Model/GetFoldersResponseTest.php
index 9fcacad4c..cddaf4a1b 100644
--- a/src/gen/test/Model/GetFoldersResponseTest.php
+++ b/src/gen/test/Model/GetFoldersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetHrisCompaniesResponseTest.php b/src/gen/test/Model/GetHrisCompaniesResponseTest.php
index 26f3937c7..6d2d762b1 100644
--- a/src/gen/test/Model/GetHrisCompaniesResponseTest.php
+++ b/src/gen/test/Model/GetHrisCompaniesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetHrisCompanyResponseTest.php b/src/gen/test/Model/GetHrisCompanyResponseTest.php
index 3561525f5..f3f807dd4 100644
--- a/src/gen/test/Model/GetHrisCompanyResponseTest.php
+++ b/src/gen/test/Model/GetHrisCompanyResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetHrisJobResponseTest.php b/src/gen/test/Model/GetHrisJobResponseTest.php
index 7f8b8ab3c..323902d46 100644
--- a/src/gen/test/Model/GetHrisJobResponseTest.php
+++ b/src/gen/test/Model/GetHrisJobResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetHrisJobsResponseTest.php b/src/gen/test/Model/GetHrisJobsResponseTest.php
index 8b6e024ec..13a0a4172 100644
--- a/src/gen/test/Model/GetHrisJobsResponseTest.php
+++ b/src/gen/test/Model/GetHrisJobsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetInvoiceItemResponseTest.php b/src/gen/test/Model/GetInvoiceItemResponseTest.php
index d9c8c35bf..c9f9aec6e 100644
--- a/src/gen/test/Model/GetInvoiceItemResponseTest.php
+++ b/src/gen/test/Model/GetInvoiceItemResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetInvoiceItemsResponseTest.php b/src/gen/test/Model/GetInvoiceItemsResponseTest.php
index fec92d68b..316d0bc3e 100644
--- a/src/gen/test/Model/GetInvoiceItemsResponseTest.php
+++ b/src/gen/test/Model/GetInvoiceItemsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetInvoiceResponseTest.php b/src/gen/test/Model/GetInvoiceResponseTest.php
index b1724a70a..553b05532 100644
--- a/src/gen/test/Model/GetInvoiceResponseTest.php
+++ b/src/gen/test/Model/GetInvoiceResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetInvoicesResponseTest.php b/src/gen/test/Model/GetInvoicesResponseTest.php
index 5cceda669..7e324b4eb 100644
--- a/src/gen/test/Model/GetInvoicesResponseTest.php
+++ b/src/gen/test/Model/GetInvoicesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetItemResponseTest.php b/src/gen/test/Model/GetItemResponseTest.php
index 68f64fd3d..156008ac8 100644
--- a/src/gen/test/Model/GetItemResponseTest.php
+++ b/src/gen/test/Model/GetItemResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetItemsResponseTest.php b/src/gen/test/Model/GetItemsResponseTest.php
index 996587ad9..c7c5025d7 100644
--- a/src/gen/test/Model/GetItemsResponseTest.php
+++ b/src/gen/test/Model/GetItemsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetJobResponseTest.php b/src/gen/test/Model/GetJobResponseTest.php
index 9af615596..5e4013033 100644
--- a/src/gen/test/Model/GetJobResponseTest.php
+++ b/src/gen/test/Model/GetJobResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetJobsResponseTest.php b/src/gen/test/Model/GetJobsResponseTest.php
index 56d1baecc..434b6cc99 100644
--- a/src/gen/test/Model/GetJobsResponseTest.php
+++ b/src/gen/test/Model/GetJobsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetJournalEntriesResponseTest.php b/src/gen/test/Model/GetJournalEntriesResponseTest.php
index d9a8d5f0e..b8967af19 100644
--- a/src/gen/test/Model/GetJournalEntriesResponseTest.php
+++ b/src/gen/test/Model/GetJournalEntriesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetJournalEntryResponseTest.php b/src/gen/test/Model/GetJournalEntryResponseTest.php
index a3295c1df..bd0d16203 100644
--- a/src/gen/test/Model/GetJournalEntryResponseTest.php
+++ b/src/gen/test/Model/GetJournalEntryResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetLeadResponseTest.php b/src/gen/test/Model/GetLeadResponseTest.php
index 4be17a6c2..82bd4c73d 100644
--- a/src/gen/test/Model/GetLeadResponseTest.php
+++ b/src/gen/test/Model/GetLeadResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetLeadsResponseTest.php b/src/gen/test/Model/GetLeadsResponseTest.php
index 00322a570..3d33fed06 100644
--- a/src/gen/test/Model/GetLeadsResponseTest.php
+++ b/src/gen/test/Model/GetLeadsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetLedgerAccountResponseTest.php b/src/gen/test/Model/GetLedgerAccountResponseTest.php
index cf334131a..3f50514ed 100644
--- a/src/gen/test/Model/GetLedgerAccountResponseTest.php
+++ b/src/gen/test/Model/GetLedgerAccountResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetLedgerAccountsResponseTest.php b/src/gen/test/Model/GetLedgerAccountsResponseTest.php
index 6afe884d4..747d2a8a2 100644
--- a/src/gen/test/Model/GetLedgerAccountsResponseTest.php
+++ b/src/gen/test/Model/GetLedgerAccountsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetLocationResponseTest.php b/src/gen/test/Model/GetLocationResponseTest.php
index f4d7b4106..216ef35cd 100644
--- a/src/gen/test/Model/GetLocationResponseTest.php
+++ b/src/gen/test/Model/GetLocationResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetLocationsResponseTest.php b/src/gen/test/Model/GetLocationsResponseTest.php
index 817a27163..01fae4ca6 100644
--- a/src/gen/test/Model/GetLocationsResponseTest.php
+++ b/src/gen/test/Model/GetLocationsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetLogsResponseTest.php b/src/gen/test/Model/GetLogsResponseTest.php
index 6b872d23c..92eaca40b 100644
--- a/src/gen/test/Model/GetLogsResponseTest.php
+++ b/src/gen/test/Model/GetLogsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetMerchantResponseTest.php b/src/gen/test/Model/GetMerchantResponseTest.php
index 0a2f0c8cd..916a5ea6e 100644
--- a/src/gen/test/Model/GetMerchantResponseTest.php
+++ b/src/gen/test/Model/GetMerchantResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetMerchantsResponseTest.php b/src/gen/test/Model/GetMerchantsResponseTest.php
index 688ffa519..45468ab9b 100644
--- a/src/gen/test/Model/GetMerchantsResponseTest.php
+++ b/src/gen/test/Model/GetMerchantsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetMessageResponseTest.php b/src/gen/test/Model/GetMessageResponseTest.php
index ea95d9726..8ccf8b9c2 100644
--- a/src/gen/test/Model/GetMessageResponseTest.php
+++ b/src/gen/test/Model/GetMessageResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetMessagesResponseTest.php b/src/gen/test/Model/GetMessagesResponseTest.php
index 715f3d99e..6b5b70a2d 100644
--- a/src/gen/test/Model/GetMessagesResponseTest.php
+++ b/src/gen/test/Model/GetMessagesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetModifierGroupResponseTest.php b/src/gen/test/Model/GetModifierGroupResponseTest.php
index eda5faab1..86558ce54 100644
--- a/src/gen/test/Model/GetModifierGroupResponseTest.php
+++ b/src/gen/test/Model/GetModifierGroupResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetModifierGroupsResponseTest.php b/src/gen/test/Model/GetModifierGroupsResponseTest.php
index bc52ce5c4..7dab8458f 100644
--- a/src/gen/test/Model/GetModifierGroupsResponseTest.php
+++ b/src/gen/test/Model/GetModifierGroupsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetModifierResponseTest.php b/src/gen/test/Model/GetModifierResponseTest.php
index b2ea35696..a914bf4ac 100644
--- a/src/gen/test/Model/GetModifierResponseTest.php
+++ b/src/gen/test/Model/GetModifierResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetModifiersResponseTest.php b/src/gen/test/Model/GetModifiersResponseTest.php
index dcf37e76e..bf0450269 100644
--- a/src/gen/test/Model/GetModifiersResponseTest.php
+++ b/src/gen/test/Model/GetModifiersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetNoteResponseTest.php b/src/gen/test/Model/GetNoteResponseTest.php
index cd8a19ae7..e06098fd6 100644
--- a/src/gen/test/Model/GetNoteResponseTest.php
+++ b/src/gen/test/Model/GetNoteResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetNotesResponseTest.php b/src/gen/test/Model/GetNotesResponseTest.php
index ea3d1f7d8..24945de67 100644
--- a/src/gen/test/Model/GetNotesResponseTest.php
+++ b/src/gen/test/Model/GetNotesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetOpportunitiesResponseTest.php b/src/gen/test/Model/GetOpportunitiesResponseTest.php
index 355d30955..ffc9c7518 100644
--- a/src/gen/test/Model/GetOpportunitiesResponseTest.php
+++ b/src/gen/test/Model/GetOpportunitiesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetOpportunityResponseTest.php b/src/gen/test/Model/GetOpportunityResponseTest.php
index 604eb158e..eeeb61354 100644
--- a/src/gen/test/Model/GetOpportunityResponseTest.php
+++ b/src/gen/test/Model/GetOpportunityResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetOrderResponseTest.php b/src/gen/test/Model/GetOrderResponseTest.php
index c5eea9b61..d85d67cc1 100644
--- a/src/gen/test/Model/GetOrderResponseTest.php
+++ b/src/gen/test/Model/GetOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetOrderTypeResponseTest.php b/src/gen/test/Model/GetOrderTypeResponseTest.php
index 23afac03d..cad3b1224 100644
--- a/src/gen/test/Model/GetOrderTypeResponseTest.php
+++ b/src/gen/test/Model/GetOrderTypeResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetOrderTypesResponseTest.php b/src/gen/test/Model/GetOrderTypesResponseTest.php
index 37d38eb7b..0fd2a3b66 100644
--- a/src/gen/test/Model/GetOrderTypesResponseTest.php
+++ b/src/gen/test/Model/GetOrderTypesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetOrdersResponseTest.php b/src/gen/test/Model/GetOrdersResponseTest.php
index d473ec3c1..6b0cbec23 100644
--- a/src/gen/test/Model/GetOrdersResponseTest.php
+++ b/src/gen/test/Model/GetOrdersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPaymentResponseTest.php b/src/gen/test/Model/GetPaymentResponseTest.php
index 46cb30ee5..febf51a41 100644
--- a/src/gen/test/Model/GetPaymentResponseTest.php
+++ b/src/gen/test/Model/GetPaymentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPaymentsResponseTest.php b/src/gen/test/Model/GetPaymentsResponseTest.php
index 6ceb711d1..da06188b4 100644
--- a/src/gen/test/Model/GetPaymentsResponseTest.php
+++ b/src/gen/test/Model/GetPaymentsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPayrollResponseTest.php b/src/gen/test/Model/GetPayrollResponseTest.php
index 54736858a..45b5c1510 100644
--- a/src/gen/test/Model/GetPayrollResponseTest.php
+++ b/src/gen/test/Model/GetPayrollResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPayrollsResponseTest.php b/src/gen/test/Model/GetPayrollsResponseTest.php
index a45effce5..44dc3a8cd 100644
--- a/src/gen/test/Model/GetPayrollsResponseTest.php
+++ b/src/gen/test/Model/GetPayrollsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPipelineResponseTest.php b/src/gen/test/Model/GetPipelineResponseTest.php
index 344b76497..f39fe9159 100644
--- a/src/gen/test/Model/GetPipelineResponseTest.php
+++ b/src/gen/test/Model/GetPipelineResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPipelinesResponseTest.php b/src/gen/test/Model/GetPipelinesResponseTest.php
index 176a28022..2ca3694ef 100644
--- a/src/gen/test/Model/GetPipelinesResponseTest.php
+++ b/src/gen/test/Model/GetPipelinesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPosPaymentResponseTest.php b/src/gen/test/Model/GetPosPaymentResponseTest.php
index d800dc4a0..6c019685c 100644
--- a/src/gen/test/Model/GetPosPaymentResponseTest.php
+++ b/src/gen/test/Model/GetPosPaymentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPosPaymentsResponseTest.php b/src/gen/test/Model/GetPosPaymentsResponseTest.php
index d4e749408..ee09480dd 100644
--- a/src/gen/test/Model/GetPosPaymentsResponseTest.php
+++ b/src/gen/test/Model/GetPosPaymentsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetProductResponseTest.php b/src/gen/test/Model/GetProductResponseTest.php
index 176b795e1..8419dc557 100644
--- a/src/gen/test/Model/GetProductResponseTest.php
+++ b/src/gen/test/Model/GetProductResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetProductsResponseTest.php b/src/gen/test/Model/GetProductsResponseTest.php
index b06ac25bb..1f13cc04f 100644
--- a/src/gen/test/Model/GetProductsResponseTest.php
+++ b/src/gen/test/Model/GetProductsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetProfitAndLossResponseTest.php b/src/gen/test/Model/GetProfitAndLossResponseTest.php
index 9456407aa..788c52df3 100644
--- a/src/gen/test/Model/GetProfitAndLossResponseTest.php
+++ b/src/gen/test/Model/GetProfitAndLossResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPurchaseOrderResponseTest.php b/src/gen/test/Model/GetPurchaseOrderResponseTest.php
index 5e4389385..820f9fb3f 100644
--- a/src/gen/test/Model/GetPurchaseOrderResponseTest.php
+++ b/src/gen/test/Model/GetPurchaseOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetPurchaseOrdersResponseTest.php b/src/gen/test/Model/GetPurchaseOrdersResponseTest.php
index 788f1641c..30d12224e 100644
--- a/src/gen/test/Model/GetPurchaseOrdersResponseTest.php
+++ b/src/gen/test/Model/GetPurchaseOrdersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetResourceExampleResponseTest.php b/src/gen/test/Model/GetResourceExampleResponseTest.php
index 26be3447c..5781e608e 100644
--- a/src/gen/test/Model/GetResourceExampleResponseTest.php
+++ b/src/gen/test/Model/GetResourceExampleResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetResourceSchemaResponseTest.php b/src/gen/test/Model/GetResourceSchemaResponseTest.php
index a7ef5b4b3..1f0030bd6 100644
--- a/src/gen/test/Model/GetResourceSchemaResponseTest.php
+++ b/src/gen/test/Model/GetResourceSchemaResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetSharedLinkResponseTest.php b/src/gen/test/Model/GetSharedLinkResponseTest.php
index 223e10b1f..1978bb6b6 100644
--- a/src/gen/test/Model/GetSharedLinkResponseTest.php
+++ b/src/gen/test/Model/GetSharedLinkResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetSharedLinksResponseTest.php b/src/gen/test/Model/GetSharedLinksResponseTest.php
index 9820679e3..5811cd3e0 100644
--- a/src/gen/test/Model/GetSharedLinksResponseTest.php
+++ b/src/gen/test/Model/GetSharedLinksResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetStoreResponseTest.php b/src/gen/test/Model/GetStoreResponseTest.php
index 5b17313f2..40a9b4757 100644
--- a/src/gen/test/Model/GetStoreResponseTest.php
+++ b/src/gen/test/Model/GetStoreResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetStoresResponseTest.php b/src/gen/test/Model/GetStoresResponseTest.php
index 86de39068..53d0d4ba4 100644
--- a/src/gen/test/Model/GetStoresResponseTest.php
+++ b/src/gen/test/Model/GetStoresResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetSubsidiariesResponseTest.php b/src/gen/test/Model/GetSubsidiariesResponseTest.php
new file mode 100644
index 000000000..d26dd2643
--- /dev/null
+++ b/src/gen/test/Model/GetSubsidiariesResponseTest.php
@@ -0,0 +1,153 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "meta"
+ */
+ public function testPropertyMeta()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "links"
+ */
+ public function testPropertyLinks()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/GetSubsidiaryResponseTest.php b/src/gen/test/Model/GetSubsidiaryResponseTest.php
new file mode 100644
index 000000000..aaf2c5595
--- /dev/null
+++ b/src/gen/test/Model/GetSubsidiaryResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/GetSupplierResponseTest.php b/src/gen/test/Model/GetSupplierResponseTest.php
index 3a0468812..62c1ad7e3 100644
--- a/src/gen/test/Model/GetSupplierResponseTest.php
+++ b/src/gen/test/Model/GetSupplierResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetSuppliersResponseTest.php b/src/gen/test/Model/GetSuppliersResponseTest.php
index 9c3ffd966..650aad91e 100644
--- a/src/gen/test/Model/GetSuppliersResponseTest.php
+++ b/src/gen/test/Model/GetSuppliersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetTaxRateResponseTest.php b/src/gen/test/Model/GetTaxRateResponseTest.php
index 7af36e213..50f4f50e1 100644
--- a/src/gen/test/Model/GetTaxRateResponseTest.php
+++ b/src/gen/test/Model/GetTaxRateResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetTaxRatesResponseTest.php b/src/gen/test/Model/GetTaxRatesResponseTest.php
index dd15d229c..4a56dc0cb 100644
--- a/src/gen/test/Model/GetTaxRatesResponseTest.php
+++ b/src/gen/test/Model/GetTaxRatesResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetTenderResponseTest.php b/src/gen/test/Model/GetTenderResponseTest.php
index 5a087a3f0..c9f7713c9 100644
--- a/src/gen/test/Model/GetTenderResponseTest.php
+++ b/src/gen/test/Model/GetTenderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetTendersResponseTest.php b/src/gen/test/Model/GetTendersResponseTest.php
index 5d2d2430d..c8d80dd11 100644
--- a/src/gen/test/Model/GetTendersResponseTest.php
+++ b/src/gen/test/Model/GetTendersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetTicketResponseTest.php b/src/gen/test/Model/GetTicketResponseTest.php
index 443b61fef..1a8498f09 100644
--- a/src/gen/test/Model/GetTicketResponseTest.php
+++ b/src/gen/test/Model/GetTicketResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetTicketsResponseTest.php b/src/gen/test/Model/GetTicketsResponseTest.php
index 7bf8bf4fc..0f019e1af 100644
--- a/src/gen/test/Model/GetTicketsResponseTest.php
+++ b/src/gen/test/Model/GetTicketsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetTimeOffRequestResponseTest.php b/src/gen/test/Model/GetTimeOffRequestResponseTest.php
index ccdb7ae1f..79aabfcc9 100644
--- a/src/gen/test/Model/GetTimeOffRequestResponseTest.php
+++ b/src/gen/test/Model/GetTimeOffRequestResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetTimeOffRequestsResponseTest.php b/src/gen/test/Model/GetTimeOffRequestsResponseTest.php
index 7afe05311..13f9eb56d 100644
--- a/src/gen/test/Model/GetTimeOffRequestsResponseTest.php
+++ b/src/gen/test/Model/GetTimeOffRequestsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetUploadSessionResponseTest.php b/src/gen/test/Model/GetUploadSessionResponseTest.php
index 395b15b6c..3878d5a53 100644
--- a/src/gen/test/Model/GetUploadSessionResponseTest.php
+++ b/src/gen/test/Model/GetUploadSessionResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetUserResponseTest.php b/src/gen/test/Model/GetUserResponseTest.php
index dbbc55522..d1310aa85 100644
--- a/src/gen/test/Model/GetUserResponseTest.php
+++ b/src/gen/test/Model/GetUserResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetUsersResponseTest.php b/src/gen/test/Model/GetUsersResponseTest.php
index 97600065f..b1cecab01 100644
--- a/src/gen/test/Model/GetUsersResponseTest.php
+++ b/src/gen/test/Model/GetUsersResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetWebhookEventLogsResponseTest.php b/src/gen/test/Model/GetWebhookEventLogsResponseTest.php
index 2a813f800..50e524a17 100644
--- a/src/gen/test/Model/GetWebhookEventLogsResponseTest.php
+++ b/src/gen/test/Model/GetWebhookEventLogsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetWebhookResponseTest.php b/src/gen/test/Model/GetWebhookResponseTest.php
index 293b283d4..bf0b60797 100644
--- a/src/gen/test/Model/GetWebhookResponseTest.php
+++ b/src/gen/test/Model/GetWebhookResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/GetWebhooksResponseTest.php b/src/gen/test/Model/GetWebhooksResponseTest.php
index 405e399ad..d0603ee0e 100644
--- a/src/gen/test/Model/GetWebhooksResponseTest.php
+++ b/src/gen/test/Model/GetWebhooksResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/HrisCompanyTest.php b/src/gen/test/Model/HrisCompanyTest.php
index acaf76d1a..3ce376dbc 100644
--- a/src/gen/test/Model/HrisCompanyTest.php
+++ b/src/gen/test/Model/HrisCompanyTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/HrisEventTypeTest.php b/src/gen/test/Model/HrisEventTypeTest.php
index 43f637a32..efded02f3 100644
--- a/src/gen/test/Model/HrisEventTypeTest.php
+++ b/src/gen/test/Model/HrisEventTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/HrisJobLocationTest.php b/src/gen/test/Model/HrisJobLocationTest.php
index 432187af7..439aa67aa 100644
--- a/src/gen/test/Model/HrisJobLocationTest.php
+++ b/src/gen/test/Model/HrisJobLocationTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/HrisJobTest.php b/src/gen/test/Model/HrisJobTest.php
index 495549dc8..1a1faa76f 100644
--- a/src/gen/test/Model/HrisJobTest.php
+++ b/src/gen/test/Model/HrisJobTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/HrisJobsTest.php b/src/gen/test/Model/HrisJobsTest.php
index 7ddce2418..3409cc5be 100644
--- a/src/gen/test/Model/HrisJobsTest.php
+++ b/src/gen/test/Model/HrisJobsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/IntegrationStateTest.php b/src/gen/test/Model/IntegrationStateTest.php
index 17363c203..fddb75937 100644
--- a/src/gen/test/Model/IntegrationStateTest.php
+++ b/src/gen/test/Model/IntegrationStateTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/InvoiceItemSalesDetailsTest.php b/src/gen/test/Model/InvoiceItemSalesDetailsTest.php
index 92a0830e3..7aaf0eb74 100644
--- a/src/gen/test/Model/InvoiceItemSalesDetailsTest.php
+++ b/src/gen/test/Model/InvoiceItemSalesDetailsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/InvoiceItemTest.php b/src/gen/test/Model/InvoiceItemTest.php
index 9b1b4dd32..af3ecc0e6 100644
--- a/src/gen/test/Model/InvoiceItemTest.php
+++ b/src/gen/test/Model/InvoiceItemTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/InvoiceItemsFilterTest.php b/src/gen/test/Model/InvoiceItemsFilterTest.php
index c59cdf9cc..f86724dab 100644
--- a/src/gen/test/Model/InvoiceItemsFilterTest.php
+++ b/src/gen/test/Model/InvoiceItemsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/InvoiceLineItemTest.php b/src/gen/test/Model/InvoiceLineItemTest.php
index c32b4069d..0c1bd1683 100644
--- a/src/gen/test/Model/InvoiceLineItemTest.php
+++ b/src/gen/test/Model/InvoiceLineItemTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/InvoiceResponseTest.php b/src/gen/test/Model/InvoiceResponseTest.php
index 407b942cc..afc044517 100644
--- a/src/gen/test/Model/InvoiceResponseTest.php
+++ b/src/gen/test/Model/InvoiceResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/InvoiceTest.php b/src/gen/test/Model/InvoiceTest.php
index c2070ba1c..6b1cc5c72 100644
--- a/src/gen/test/Model/InvoiceTest.php
+++ b/src/gen/test/Model/InvoiceTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -124,6 +124,15 @@ public function testPropertyCustomer()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test attribute "company_id"
+ */
+ public function testPropertyCompanyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test attribute "invoice_date"
*/
diff --git a/src/gen/test/Model/InvoicesFilterTest.php b/src/gen/test/Model/InvoicesFilterTest.php
index e86cac46f..dd30e0477 100644
--- a/src/gen/test/Model/InvoicesFilterTest.php
+++ b/src/gen/test/Model/InvoicesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/InvoicesSortTest.php b/src/gen/test/Model/InvoicesSortTest.php
index e25cac21a..08c39214c 100644
--- a/src/gen/test/Model/InvoicesSortTest.php
+++ b/src/gen/test/Model/InvoicesSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/IssueTrackingEventTypeTest.php b/src/gen/test/Model/IssueTrackingEventTypeTest.php
index 64752c2c2..b598b0108 100644
--- a/src/gen/test/Model/IssueTrackingEventTypeTest.php
+++ b/src/gen/test/Model/IssueTrackingEventTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/IssuesFilterTest.php b/src/gen/test/Model/IssuesFilterTest.php
index 3d8792da6..c87095fbb 100644
--- a/src/gen/test/Model/IssuesFilterTest.php
+++ b/src/gen/test/Model/IssuesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ItemTest.php b/src/gen/test/Model/ItemTest.php
index f2cd70c2b..c7a9e794c 100644
--- a/src/gen/test/Model/ItemTest.php
+++ b/src/gen/test/Model/ItemTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/JobLinksTest.php b/src/gen/test/Model/JobLinksTest.php
index 67b65ac19..68ebf3c91 100644
--- a/src/gen/test/Model/JobLinksTest.php
+++ b/src/gen/test/Model/JobLinksTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/JobSalaryTest.php b/src/gen/test/Model/JobSalaryTest.php
index 5ce059204..5d78800d4 100644
--- a/src/gen/test/Model/JobSalaryTest.php
+++ b/src/gen/test/Model/JobSalaryTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/JobStatusTest.php b/src/gen/test/Model/JobStatusTest.php
index df76eaf2c..b1fd6a9b1 100644
--- a/src/gen/test/Model/JobStatusTest.php
+++ b/src/gen/test/Model/JobStatusTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/JobTest.php b/src/gen/test/Model/JobTest.php
index 75a6fed11..2f4339f7b 100644
--- a/src/gen/test/Model/JobTest.php
+++ b/src/gen/test/Model/JobTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/JournalEntriesFilterTest.php b/src/gen/test/Model/JournalEntriesFilterTest.php
index b383a2be1..70c3ccf8a 100644
--- a/src/gen/test/Model/JournalEntriesFilterTest.php
+++ b/src/gen/test/Model/JournalEntriesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/JournalEntriesSortTest.php b/src/gen/test/Model/JournalEntriesSortTest.php
index b6bee9d01..2b84b3c17 100644
--- a/src/gen/test/Model/JournalEntriesSortTest.php
+++ b/src/gen/test/Model/JournalEntriesSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/JournalEntryLineItemTest.php b/src/gen/test/Model/JournalEntryLineItemTest.php
index e0e935870..88ebc6e46 100644
--- a/src/gen/test/Model/JournalEntryLineItemTest.php
+++ b/src/gen/test/Model/JournalEntryLineItemTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/JournalEntryTest.php b/src/gen/test/Model/JournalEntryTest.php
index 43c70782f..94146b22c 100644
--- a/src/gen/test/Model/JournalEntryTest.php
+++ b/src/gen/test/Model/JournalEntryTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LeadEventTypeTest.php b/src/gen/test/Model/LeadEventTypeTest.php
index c58717906..94335f9cd 100644
--- a/src/gen/test/Model/LeadEventTypeTest.php
+++ b/src/gen/test/Model/LeadEventTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LeadTest.php b/src/gen/test/Model/LeadTest.php
index 378047e4c..567b59f7a 100644
--- a/src/gen/test/Model/LeadTest.php
+++ b/src/gen/test/Model/LeadTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LeadsFilterTest.php b/src/gen/test/Model/LeadsFilterTest.php
index 9a19baa48..6d7aae6cb 100644
--- a/src/gen/test/Model/LeadsFilterTest.php
+++ b/src/gen/test/Model/LeadsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LeadsSortTest.php b/src/gen/test/Model/LeadsSortTest.php
index 760166ac8..a24c9830a 100644
--- a/src/gen/test/Model/LeadsSortTest.php
+++ b/src/gen/test/Model/LeadsSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LedgerAccountCategoriesTest.php b/src/gen/test/Model/LedgerAccountCategoriesTest.php
index e5600432e..ce451fe34 100644
--- a/src/gen/test/Model/LedgerAccountCategoriesTest.php
+++ b/src/gen/test/Model/LedgerAccountCategoriesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LedgerAccountParentAccountTest.php b/src/gen/test/Model/LedgerAccountParentAccountTest.php
index 831007c1b..e40d4f1e0 100644
--- a/src/gen/test/Model/LedgerAccountParentAccountTest.php
+++ b/src/gen/test/Model/LedgerAccountParentAccountTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LedgerAccountTest.php b/src/gen/test/Model/LedgerAccountTest.php
index 1d864a12e..d6bd64b58 100644
--- a/src/gen/test/Model/LedgerAccountTest.php
+++ b/src/gen/test/Model/LedgerAccountTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LedgerAccountsFilterTest.php b/src/gen/test/Model/LedgerAccountsFilterTest.php
index 25e6c7a75..32d7723e2 100644
--- a/src/gen/test/Model/LedgerAccountsFilterTest.php
+++ b/src/gen/test/Model/LedgerAccountsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LedgerAccountsSortTest.php b/src/gen/test/Model/LedgerAccountsSortTest.php
index e9e82ace6..ad99d6809 100644
--- a/src/gen/test/Model/LedgerAccountsSortTest.php
+++ b/src/gen/test/Model/LedgerAccountsSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedConnectorResourceTest.php b/src/gen/test/Model/LinkedConnectorResourceTest.php
index 1b127d3ac..7fff8e48a 100644
--- a/src/gen/test/Model/LinkedConnectorResourceTest.php
+++ b/src/gen/test/Model/LinkedConnectorResourceTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedCustomerTest.php b/src/gen/test/Model/LinkedCustomerTest.php
index fb090a223..5b65cd025 100644
--- a/src/gen/test/Model/LinkedCustomerTest.php
+++ b/src/gen/test/Model/LinkedCustomerTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedEcommerceCustomerTest.php b/src/gen/test/Model/LinkedEcommerceCustomerTest.php
index 9aa5283b8..f572f60b5 100644
--- a/src/gen/test/Model/LinkedEcommerceCustomerTest.php
+++ b/src/gen/test/Model/LinkedEcommerceCustomerTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedEcommerceOrderTest.php b/src/gen/test/Model/LinkedEcommerceOrderTest.php
index 7e6468bad..a6fda954d 100644
--- a/src/gen/test/Model/LinkedEcommerceOrderTest.php
+++ b/src/gen/test/Model/LinkedEcommerceOrderTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedFolderTest.php b/src/gen/test/Model/LinkedFolderTest.php
index b988cc2cf..0d7041c6b 100644
--- a/src/gen/test/Model/LinkedFolderTest.php
+++ b/src/gen/test/Model/LinkedFolderTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedInvoiceItemTest.php b/src/gen/test/Model/LinkedInvoiceItemTest.php
index f2eed8170..610e187d7 100644
--- a/src/gen/test/Model/LinkedInvoiceItemTest.php
+++ b/src/gen/test/Model/LinkedInvoiceItemTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedLedgerAccountTest.php b/src/gen/test/Model/LinkedLedgerAccountTest.php
index 7d0cc1ab2..45016bd05 100644
--- a/src/gen/test/Model/LinkedLedgerAccountTest.php
+++ b/src/gen/test/Model/LinkedLedgerAccountTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedParentCustomerTest.php b/src/gen/test/Model/LinkedParentCustomerTest.php
index f82833320..14f6a2e1e 100644
--- a/src/gen/test/Model/LinkedParentCustomerTest.php
+++ b/src/gen/test/Model/LinkedParentCustomerTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedSupplierTest.php b/src/gen/test/Model/LinkedSupplierTest.php
index 696164406..913b080af 100644
--- a/src/gen/test/Model/LinkedSupplierTest.php
+++ b/src/gen/test/Model/LinkedSupplierTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedTaxRateTest.php b/src/gen/test/Model/LinkedTaxRateTest.php
index d4aad0402..107d56c34 100644
--- a/src/gen/test/Model/LinkedTaxRateTest.php
+++ b/src/gen/test/Model/LinkedTaxRateTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinkedTrackingCategoryTest.php b/src/gen/test/Model/LinkedTrackingCategoryTest.php
index da6eeab85..6cef48182 100644
--- a/src/gen/test/Model/LinkedTrackingCategoryTest.php
+++ b/src/gen/test/Model/LinkedTrackingCategoryTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LinksTest.php b/src/gen/test/Model/LinksTest.php
index 31d5d3088..b2890aa3a 100644
--- a/src/gen/test/Model/LinksTest.php
+++ b/src/gen/test/Model/LinksTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LocationTest.php b/src/gen/test/Model/LocationTest.php
index cb66e538a..b2062b4b3 100644
--- a/src/gen/test/Model/LocationTest.php
+++ b/src/gen/test/Model/LocationTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LogOperationTest.php b/src/gen/test/Model/LogOperationTest.php
index e669bcbc9..678505053 100644
--- a/src/gen/test/Model/LogOperationTest.php
+++ b/src/gen/test/Model/LogOperationTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LogServiceTest.php b/src/gen/test/Model/LogServiceTest.php
index d46332b97..6e3ed9484 100644
--- a/src/gen/test/Model/LogServiceTest.php
+++ b/src/gen/test/Model/LogServiceTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LogTest.php b/src/gen/test/Model/LogTest.php
index 0d51f025c..f7def433a 100644
--- a/src/gen/test/Model/LogTest.php
+++ b/src/gen/test/Model/LogTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/LogsFilterTest.php b/src/gen/test/Model/LogsFilterTest.php
index 8198a570c..9e5e31550 100644
--- a/src/gen/test/Model/LogsFilterTest.php
+++ b/src/gen/test/Model/LogsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/MerchantTest.php b/src/gen/test/Model/MerchantTest.php
index 94b53b6da..ddccfc5a3 100644
--- a/src/gen/test/Model/MerchantTest.php
+++ b/src/gen/test/Model/MerchantTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/MessageTest.php b/src/gen/test/Model/MessageTest.php
index 558d07a0a..f34bdb502 100644
--- a/src/gen/test/Model/MessageTest.php
+++ b/src/gen/test/Model/MessageTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/MetaCursorsTest.php b/src/gen/test/Model/MetaCursorsTest.php
index cc33089c1..aa70d81bf 100644
--- a/src/gen/test/Model/MetaCursorsTest.php
+++ b/src/gen/test/Model/MetaCursorsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/MetaTest.php b/src/gen/test/Model/MetaTest.php
index c1a1596cc..b2f9f2b03 100644
--- a/src/gen/test/Model/MetaTest.php
+++ b/src/gen/test/Model/MetaTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ModifierGroupFilterTest.php b/src/gen/test/Model/ModifierGroupFilterTest.php
index 9f828418a..7917ff27b 100644
--- a/src/gen/test/Model/ModifierGroupFilterTest.php
+++ b/src/gen/test/Model/ModifierGroupFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ModifierGroupTest.php b/src/gen/test/Model/ModifierGroupTest.php
index a7e600dc9..b56b21855 100644
--- a/src/gen/test/Model/ModifierGroupTest.php
+++ b/src/gen/test/Model/ModifierGroupTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ModifierTest.php b/src/gen/test/Model/ModifierTest.php
index f73ccf241..66721bce6 100644
--- a/src/gen/test/Model/ModifierTest.php
+++ b/src/gen/test/Model/ModifierTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/NotFoundResponseTest.php b/src/gen/test/Model/NotFoundResponseTest.php
index 53dad9694..1f576c485 100644
--- a/src/gen/test/Model/NotFoundResponseTest.php
+++ b/src/gen/test/Model/NotFoundResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/NotImplementedResponseTest.php b/src/gen/test/Model/NotImplementedResponseTest.php
index f7e0667d6..7bd568f4c 100644
--- a/src/gen/test/Model/NotImplementedResponseTest.php
+++ b/src/gen/test/Model/NotImplementedResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/NoteTest.php b/src/gen/test/Model/NoteTest.php
index bd1645357..f2a582c40 100644
--- a/src/gen/test/Model/NoteTest.php
+++ b/src/gen/test/Model/NoteTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OAuthGrantTypeTest.php b/src/gen/test/Model/OAuthGrantTypeTest.php
index bc25813d4..c7d9752ce 100644
--- a/src/gen/test/Model/OAuthGrantTypeTest.php
+++ b/src/gen/test/Model/OAuthGrantTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OfferTest.php b/src/gen/test/Model/OfferTest.php
index 8498d4f11..e0165a603 100644
--- a/src/gen/test/Model/OfferTest.php
+++ b/src/gen/test/Model/OfferTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OpportunitiesFilterTest.php b/src/gen/test/Model/OpportunitiesFilterTest.php
index e878835da..d6a087e06 100644
--- a/src/gen/test/Model/OpportunitiesFilterTest.php
+++ b/src/gen/test/Model/OpportunitiesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OpportunitiesSortTest.php b/src/gen/test/Model/OpportunitiesSortTest.php
index 7e1f52547..8c4694a3c 100644
--- a/src/gen/test/Model/OpportunitiesSortTest.php
+++ b/src/gen/test/Model/OpportunitiesSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OpportunityTest.php b/src/gen/test/Model/OpportunityTest.php
index b13f80758..3dee68aac 100644
--- a/src/gen/test/Model/OpportunityTest.php
+++ b/src/gen/test/Model/OpportunityTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderCustomersTest.php b/src/gen/test/Model/OrderCustomersTest.php
index 554f27fb7..17a0f7f50 100644
--- a/src/gen/test/Model/OrderCustomersTest.php
+++ b/src/gen/test/Model/OrderCustomersTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderDiscountsTest.php b/src/gen/test/Model/OrderDiscountsTest.php
index dd23dfc62..b562d88cb 100644
--- a/src/gen/test/Model/OrderDiscountsTest.php
+++ b/src/gen/test/Model/OrderDiscountsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderFulfillmentsTest.php b/src/gen/test/Model/OrderFulfillmentsTest.php
index b9c4394a9..4e23bb580 100644
--- a/src/gen/test/Model/OrderFulfillmentsTest.php
+++ b/src/gen/test/Model/OrderFulfillmentsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderLineItemsTest.php b/src/gen/test/Model/OrderLineItemsTest.php
index 440e271c6..3112de4ed 100644
--- a/src/gen/test/Model/OrderLineItemsTest.php
+++ b/src/gen/test/Model/OrderLineItemsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderPaymentsTest.php b/src/gen/test/Model/OrderPaymentsTest.php
index f6cc842cc..d7380a8b2 100644
--- a/src/gen/test/Model/OrderPaymentsTest.php
+++ b/src/gen/test/Model/OrderPaymentsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderPickupDetailsCurbsidePickupDetailsTest.php b/src/gen/test/Model/OrderPickupDetailsCurbsidePickupDetailsTest.php
index 33b4369d9..e69626b80 100644
--- a/src/gen/test/Model/OrderPickupDetailsCurbsidePickupDetailsTest.php
+++ b/src/gen/test/Model/OrderPickupDetailsCurbsidePickupDetailsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderPickupDetailsRecipientTest.php b/src/gen/test/Model/OrderPickupDetailsRecipientTest.php
index e842c7786..0fdca4b6c 100644
--- a/src/gen/test/Model/OrderPickupDetailsRecipientTest.php
+++ b/src/gen/test/Model/OrderPickupDetailsRecipientTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderPickupDetailsTest.php b/src/gen/test/Model/OrderPickupDetailsTest.php
index aa96b6c87..1550fd96a 100644
--- a/src/gen/test/Model/OrderPickupDetailsTest.php
+++ b/src/gen/test/Model/OrderPickupDetailsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderRefundsTest.php b/src/gen/test/Model/OrderRefundsTest.php
index 76ba767b0..9706e985b 100644
--- a/src/gen/test/Model/OrderRefundsTest.php
+++ b/src/gen/test/Model/OrderRefundsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderTendersTest.php b/src/gen/test/Model/OrderTendersTest.php
index 522b2b5db..f1901ab46 100644
--- a/src/gen/test/Model/OrderTendersTest.php
+++ b/src/gen/test/Model/OrderTendersTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderTest.php b/src/gen/test/Model/OrderTest.php
index cb4d6c697..420f2ee25 100644
--- a/src/gen/test/Model/OrderTest.php
+++ b/src/gen/test/Model/OrderTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OrderTypeTest.php b/src/gen/test/Model/OrderTypeTest.php
index 0632c31b6..8ebb0b8b6 100644
--- a/src/gen/test/Model/OrderTypeTest.php
+++ b/src/gen/test/Model/OrderTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/OwnerTest.php b/src/gen/test/Model/OwnerTest.php
index c53da50c5..2cd524f48 100644
--- a/src/gen/test/Model/OwnerTest.php
+++ b/src/gen/test/Model/OwnerTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PaginationCoverageTest.php b/src/gen/test/Model/PaginationCoverageTest.php
index a37739b4c..b31e30d74 100644
--- a/src/gen/test/Model/PaginationCoverageTest.php
+++ b/src/gen/test/Model/PaginationCoverageTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PassThroughQueryTest.php b/src/gen/test/Model/PassThroughQueryTest.php
index bfb146ee4..822abdac6 100644
--- a/src/gen/test/Model/PassThroughQueryTest.php
+++ b/src/gen/test/Model/PassThroughQueryTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PaymentAllocationsTest.php b/src/gen/test/Model/PaymentAllocationsTest.php
index a67a4901b..cbc0f2893 100644
--- a/src/gen/test/Model/PaymentAllocationsTest.php
+++ b/src/gen/test/Model/PaymentAllocationsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PaymentCardTest.php b/src/gen/test/Model/PaymentCardTest.php
index d852d807c..0dd53accd 100644
--- a/src/gen/test/Model/PaymentCardTest.php
+++ b/src/gen/test/Model/PaymentCardTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PaymentFrequencyTest.php b/src/gen/test/Model/PaymentFrequencyTest.php
index 9431e6118..f63f6299c 100644
--- a/src/gen/test/Model/PaymentFrequencyTest.php
+++ b/src/gen/test/Model/PaymentFrequencyTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PaymentRequiredResponseTest.php b/src/gen/test/Model/PaymentRequiredResponseTest.php
index 2b6112ffd..4eeac1308 100644
--- a/src/gen/test/Model/PaymentRequiredResponseTest.php
+++ b/src/gen/test/Model/PaymentRequiredResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PaymentTest.php b/src/gen/test/Model/PaymentTest.php
index 2712fbca1..669439707 100644
--- a/src/gen/test/Model/PaymentTest.php
+++ b/src/gen/test/Model/PaymentTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -214,6 +214,15 @@ public function testPropertySupplier()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test attribute "company_id"
+ */
+ public function testPropertyCompanyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test attribute "reconciled"
*/
diff --git a/src/gen/test/Model/PaymentUnitTest.php b/src/gen/test/Model/PaymentUnitTest.php
index 5352449f0..196e35343 100644
--- a/src/gen/test/Model/PaymentUnitTest.php
+++ b/src/gen/test/Model/PaymentUnitTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PaymentsFilterTest.php b/src/gen/test/Model/PaymentsFilterTest.php
index 1a737ead4..e95706668 100644
--- a/src/gen/test/Model/PaymentsFilterTest.php
+++ b/src/gen/test/Model/PaymentsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PaymentsSortTest.php b/src/gen/test/Model/PaymentsSortTest.php
index db2077340..e99eb7834 100644
--- a/src/gen/test/Model/PaymentsSortTest.php
+++ b/src/gen/test/Model/PaymentsSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PayrollTest.php b/src/gen/test/Model/PayrollTest.php
index 489832667..5c1261348 100644
--- a/src/gen/test/Model/PayrollTest.php
+++ b/src/gen/test/Model/PayrollTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PayrollTotalsTest.php b/src/gen/test/Model/PayrollTotalsTest.php
index 7eae8baa5..f66f38aa0 100644
--- a/src/gen/test/Model/PayrollTotalsTest.php
+++ b/src/gen/test/Model/PayrollTotalsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PayrollsFilterTest.php b/src/gen/test/Model/PayrollsFilterTest.php
index 5c65488be..47e8535b5 100644
--- a/src/gen/test/Model/PayrollsFilterTest.php
+++ b/src/gen/test/Model/PayrollsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PersonTest.php b/src/gen/test/Model/PersonTest.php
index 53e8b900e..ac3ae736d 100644
--- a/src/gen/test/Model/PersonTest.php
+++ b/src/gen/test/Model/PersonTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PhoneNumberTest.php b/src/gen/test/Model/PhoneNumberTest.php
index 3343193a9..138a7a68d 100644
--- a/src/gen/test/Model/PhoneNumberTest.php
+++ b/src/gen/test/Model/PhoneNumberTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PipelineStagesTest.php b/src/gen/test/Model/PipelineStagesTest.php
index b3f9a8faf..84985cad4 100644
--- a/src/gen/test/Model/PipelineStagesTest.php
+++ b/src/gen/test/Model/PipelineStagesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PipelineTest.php b/src/gen/test/Model/PipelineTest.php
index a70b34174..75dbde5f8 100644
--- a/src/gen/test/Model/PipelineTest.php
+++ b/src/gen/test/Model/PipelineTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PosBankAccountAchDetailsTest.php b/src/gen/test/Model/PosBankAccountAchDetailsTest.php
index 98ef0f419..ac0148da0 100644
--- a/src/gen/test/Model/PosBankAccountAchDetailsTest.php
+++ b/src/gen/test/Model/PosBankAccountAchDetailsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PosBankAccountTest.php b/src/gen/test/Model/PosBankAccountTest.php
index 1d94e0277..2c362b37f 100644
--- a/src/gen/test/Model/PosBankAccountTest.php
+++ b/src/gen/test/Model/PosBankAccountTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PosPaymentCardDetailsTest.php b/src/gen/test/Model/PosPaymentCardDetailsTest.php
index 294e1a5da..6992bfdc8 100644
--- a/src/gen/test/Model/PosPaymentCardDetailsTest.php
+++ b/src/gen/test/Model/PosPaymentCardDetailsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PosPaymentExternalDetailsTest.php b/src/gen/test/Model/PosPaymentExternalDetailsTest.php
index 88f872e09..6b4878520 100644
--- a/src/gen/test/Model/PosPaymentExternalDetailsTest.php
+++ b/src/gen/test/Model/PosPaymentExternalDetailsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PosPaymentTest.php b/src/gen/test/Model/PosPaymentTest.php
index d3752fb23..27f67f6c7 100644
--- a/src/gen/test/Model/PosPaymentTest.php
+++ b/src/gen/test/Model/PosPaymentTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PriceTest.php b/src/gen/test/Model/PriceTest.php
index 1668f174c..350a061ee 100644
--- a/src/gen/test/Model/PriceTest.php
+++ b/src/gen/test/Model/PriceTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProbationPeriodTest.php b/src/gen/test/Model/ProbationPeriodTest.php
index 61b3960e6..f5c7ab9a2 100644
--- a/src/gen/test/Model/ProbationPeriodTest.php
+++ b/src/gen/test/Model/ProbationPeriodTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProfitAndLossExpensesTest.php b/src/gen/test/Model/ProfitAndLossExpensesTest.php
index 7377fe4a1..087694cd1 100644
--- a/src/gen/test/Model/ProfitAndLossExpensesTest.php
+++ b/src/gen/test/Model/ProfitAndLossExpensesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProfitAndLossFilterTest.php b/src/gen/test/Model/ProfitAndLossFilterTest.php
index c5ff81f4e..415b82afc 100644
--- a/src/gen/test/Model/ProfitAndLossFilterTest.php
+++ b/src/gen/test/Model/ProfitAndLossFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProfitAndLossGrossProfitTest.php b/src/gen/test/Model/ProfitAndLossGrossProfitTest.php
index 4b15f900b..915cfb378 100644
--- a/src/gen/test/Model/ProfitAndLossGrossProfitTest.php
+++ b/src/gen/test/Model/ProfitAndLossGrossProfitTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProfitAndLossIncomeTest.php b/src/gen/test/Model/ProfitAndLossIncomeTest.php
index 32981dc01..039fe0e32 100644
--- a/src/gen/test/Model/ProfitAndLossIncomeTest.php
+++ b/src/gen/test/Model/ProfitAndLossIncomeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProfitAndLossNetIncomeTest.php b/src/gen/test/Model/ProfitAndLossNetIncomeTest.php
index 87887fc19..b256f6218 100644
--- a/src/gen/test/Model/ProfitAndLossNetIncomeTest.php
+++ b/src/gen/test/Model/ProfitAndLossNetIncomeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProfitAndLossNetOperatingIncomeTest.php b/src/gen/test/Model/ProfitAndLossNetOperatingIncomeTest.php
index 8e6d34049..6a7373c40 100644
--- a/src/gen/test/Model/ProfitAndLossNetOperatingIncomeTest.php
+++ b/src/gen/test/Model/ProfitAndLossNetOperatingIncomeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProfitAndLossRecordTest.php b/src/gen/test/Model/ProfitAndLossRecordTest.php
index 0940dd177..9a0674ed8 100644
--- a/src/gen/test/Model/ProfitAndLossRecordTest.php
+++ b/src/gen/test/Model/ProfitAndLossRecordTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProfitAndLossSectionTest.php b/src/gen/test/Model/ProfitAndLossSectionTest.php
index 4c86c381e..9341a98fc 100644
--- a/src/gen/test/Model/ProfitAndLossSectionTest.php
+++ b/src/gen/test/Model/ProfitAndLossSectionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ProfitAndLossTest.php b/src/gen/test/Model/ProfitAndLossTest.php
index 848f223fb..78c3aaf69 100644
--- a/src/gen/test/Model/ProfitAndLossTest.php
+++ b/src/gen/test/Model/ProfitAndLossTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PurchaseOrderTest.php b/src/gen/test/Model/PurchaseOrderTest.php
index 55b6ee489..854ed2f93 100644
--- a/src/gen/test/Model/PurchaseOrderTest.php
+++ b/src/gen/test/Model/PurchaseOrderTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -124,6 +124,15 @@ public function testPropertySupplier()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test attribute "company_id"
+ */
+ public function testPropertyCompanyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test attribute "status"
*/
diff --git a/src/gen/test/Model/PurchaseOrdersFilterTest.php b/src/gen/test/Model/PurchaseOrdersFilterTest.php
index fcff04a72..0f1788cd5 100644
--- a/src/gen/test/Model/PurchaseOrdersFilterTest.php
+++ b/src/gen/test/Model/PurchaseOrdersFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/PurchaseOrdersSortTest.php b/src/gen/test/Model/PurchaseOrdersSortTest.php
index c7a311f13..e92cf73b9 100644
--- a/src/gen/test/Model/PurchaseOrdersSortTest.php
+++ b/src/gen/test/Model/PurchaseOrdersSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/RequestCountAllocationTest.php b/src/gen/test/Model/RequestCountAllocationTest.php
index 988211ab5..be1e7f876 100644
--- a/src/gen/test/Model/RequestCountAllocationTest.php
+++ b/src/gen/test/Model/RequestCountAllocationTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/RequestRateTest.php b/src/gen/test/Model/RequestRateTest.php
index 19fcb7bcc..f45dd7ff7 100644
--- a/src/gen/test/Model/RequestRateTest.php
+++ b/src/gen/test/Model/RequestRateTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ResolveWebhookResponseTest.php b/src/gen/test/Model/ResolveWebhookResponseTest.php
index d8981d67d..6d911b6a7 100644
--- a/src/gen/test/Model/ResolveWebhookResponseTest.php
+++ b/src/gen/test/Model/ResolveWebhookResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ResourceExampleTest.php b/src/gen/test/Model/ResourceExampleTest.php
index ff48bb19b..dc551dff4 100644
--- a/src/gen/test/Model/ResourceExampleTest.php
+++ b/src/gen/test/Model/ResourceExampleTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ResourceStatusTest.php b/src/gen/test/Model/ResourceStatusTest.php
index 82ecddf52..cc35ecc07 100644
--- a/src/gen/test/Model/ResourceStatusTest.php
+++ b/src/gen/test/Model/ResourceStatusTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ScheduleTest.php b/src/gen/test/Model/ScheduleTest.php
index 82f16ffb1..e29f468d4 100644
--- a/src/gen/test/Model/ScheduleTest.php
+++ b/src/gen/test/Model/ScheduleTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ScheduleWorkPatternOddWeeksTest.php b/src/gen/test/Model/ScheduleWorkPatternOddWeeksTest.php
index 8bd1fe803..ec8555eb3 100644
--- a/src/gen/test/Model/ScheduleWorkPatternOddWeeksTest.php
+++ b/src/gen/test/Model/ScheduleWorkPatternOddWeeksTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ScheduleWorkPatternTest.php b/src/gen/test/Model/ScheduleWorkPatternTest.php
index 150f9b767..906ccc7ca 100644
--- a/src/gen/test/Model/ScheduleWorkPatternTest.php
+++ b/src/gen/test/Model/ScheduleWorkPatternTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SchemaSupportTest.php b/src/gen/test/Model/SchemaSupportTest.php
index 3672f6fb3..1d8d1b623 100644
--- a/src/gen/test/Model/SchemaSupportTest.php
+++ b/src/gen/test/Model/SchemaSupportTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/ServiceChargeTest.php b/src/gen/test/Model/ServiceChargeTest.php
index ba6a13f1e..4966da6f5 100644
--- a/src/gen/test/Model/ServiceChargeTest.php
+++ b/src/gen/test/Model/ServiceChargeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SessionSettingsTest.php b/src/gen/test/Model/SessionSettingsTest.php
index 683d8a9ce..4a059fcef 100644
--- a/src/gen/test/Model/SessionSettingsTest.php
+++ b/src/gen/test/Model/SessionSettingsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SessionTest.php b/src/gen/test/Model/SessionTest.php
index ff8c4d8a8..888bad3fa 100644
--- a/src/gen/test/Model/SessionTest.php
+++ b/src/gen/test/Model/SessionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SessionThemeTest.php b/src/gen/test/Model/SessionThemeTest.php
index de15a18e6..56cd0c62b 100644
--- a/src/gen/test/Model/SessionThemeTest.php
+++ b/src/gen/test/Model/SessionThemeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SharedLinkTargetTest.php b/src/gen/test/Model/SharedLinkTargetTest.php
index 9b817fa1f..ae14adae1 100644
--- a/src/gen/test/Model/SharedLinkTargetTest.php
+++ b/src/gen/test/Model/SharedLinkTargetTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SharedLinkTest.php b/src/gen/test/Model/SharedLinkTest.php
index df06391f7..cc54a739f 100644
--- a/src/gen/test/Model/SharedLinkTest.php
+++ b/src/gen/test/Model/SharedLinkTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SimpleFormFieldOptionTest.php b/src/gen/test/Model/SimpleFormFieldOptionTest.php
index 437813db7..8ca522a40 100644
--- a/src/gen/test/Model/SimpleFormFieldOptionTest.php
+++ b/src/gen/test/Model/SimpleFormFieldOptionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SocialLinkTest.php b/src/gen/test/Model/SocialLinkTest.php
index 86e5ee4e6..119c541b3 100644
--- a/src/gen/test/Model/SocialLinkTest.php
+++ b/src/gen/test/Model/SocialLinkTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SortDirectionTest.php b/src/gen/test/Model/SortDirectionTest.php
index c26bdec7d..d3dd67fa7 100644
--- a/src/gen/test/Model/SortDirectionTest.php
+++ b/src/gen/test/Model/SortDirectionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/StatusTest.php b/src/gen/test/Model/StatusTest.php
index f89ed0b3f..862556437 100644
--- a/src/gen/test/Model/StatusTest.php
+++ b/src/gen/test/Model/StatusTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SubsidiaryReferenceTest.php b/src/gen/test/Model/SubsidiaryReferenceTest.php
new file mode 100644
index 000000000..1b885bbe4
--- /dev/null
+++ b/src/gen/test/Model/SubsidiaryReferenceTest.php
@@ -0,0 +1,99 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "id"
+ */
+ public function testPropertyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "name"
+ */
+ public function testPropertyName()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/SubsidiaryTest.php b/src/gen/test/Model/SubsidiaryTest.php
new file mode 100644
index 000000000..6224d6b10
--- /dev/null
+++ b/src/gen/test/Model/SubsidiaryTest.php
@@ -0,0 +1,171 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "id"
+ */
+ public function testPropertyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "parent_id"
+ */
+ public function testPropertyParentId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "name"
+ */
+ public function testPropertyName()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "custom_mappings"
+ */
+ public function testPropertyCustomMappings()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "row_version"
+ */
+ public function testPropertyRowVersion()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "updated_by"
+ */
+ public function testPropertyUpdatedBy()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "created_by"
+ */
+ public function testPropertyCreatedBy()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "updated_at"
+ */
+ public function testPropertyUpdatedAt()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "created_at"
+ */
+ public function testPropertyCreatedAt()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/SupplierTest.php b/src/gen/test/Model/SupplierTest.php
index 02ce71927..6caa4ac00 100644
--- a/src/gen/test/Model/SupplierTest.php
+++ b/src/gen/test/Model/SupplierTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
@@ -124,6 +124,15 @@ public function testPropertyCompanyName()
$this->markTestIncomplete('Not implemented');
}
+ /**
+ * Test attribute "company_id"
+ */
+ public function testPropertyCompanyId()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
/**
* Test attribute "title"
*/
diff --git a/src/gen/test/Model/SuppliersFilterTest.php b/src/gen/test/Model/SuppliersFilterTest.php
index 99f2215c1..38c714d61 100644
--- a/src/gen/test/Model/SuppliersFilterTest.php
+++ b/src/gen/test/Model/SuppliersFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SuppliersSortTest.php b/src/gen/test/Model/SuppliersSortTest.php
index 8aafa149c..b7c32988f 100644
--- a/src/gen/test/Model/SuppliersSortTest.php
+++ b/src/gen/test/Model/SuppliersSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/SupportedPropertyTest.php b/src/gen/test/Model/SupportedPropertyTest.php
index 0bf8c7204..468d6f8e5 100644
--- a/src/gen/test/Model/SupportedPropertyTest.php
+++ b/src/gen/test/Model/SupportedPropertyTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TaxRateTest.php b/src/gen/test/Model/TaxRateTest.php
index 59936cd08..5d731de7e 100644
--- a/src/gen/test/Model/TaxRateTest.php
+++ b/src/gen/test/Model/TaxRateTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TaxRatesFilterTest.php b/src/gen/test/Model/TaxRatesFilterTest.php
index 7a98a0f9c..01cc40e6f 100644
--- a/src/gen/test/Model/TaxRatesFilterTest.php
+++ b/src/gen/test/Model/TaxRatesFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TaxTest.php b/src/gen/test/Model/TaxTest.php
index ca92b6c7d..03e6da7bc 100644
--- a/src/gen/test/Model/TaxTest.php
+++ b/src/gen/test/Model/TaxTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TeamTest.php b/src/gen/test/Model/TeamTest.php
index 694e559f3..6e043b84b 100644
--- a/src/gen/test/Model/TeamTest.php
+++ b/src/gen/test/Model/TeamTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TenderTest.php b/src/gen/test/Model/TenderTest.php
index 2f19aa606..9487d635f 100644
--- a/src/gen/test/Model/TenderTest.php
+++ b/src/gen/test/Model/TenderTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TicketTest.php b/src/gen/test/Model/TicketTest.php
index 23b5a96fd..2d5492450 100644
--- a/src/gen/test/Model/TicketTest.php
+++ b/src/gen/test/Model/TicketTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TicketsSortTest.php b/src/gen/test/Model/TicketsSortTest.php
index ac672684a..8e3e032a0 100644
--- a/src/gen/test/Model/TicketsSortTest.php
+++ b/src/gen/test/Model/TicketsSortTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TimeOffRequestNotesTest.php b/src/gen/test/Model/TimeOffRequestNotesTest.php
index f09ee23cd..d9d0b83f3 100644
--- a/src/gen/test/Model/TimeOffRequestNotesTest.php
+++ b/src/gen/test/Model/TimeOffRequestNotesTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TimeOffRequestTest.php b/src/gen/test/Model/TimeOffRequestTest.php
index fc0fb2dc6..77780eee7 100644
--- a/src/gen/test/Model/TimeOffRequestTest.php
+++ b/src/gen/test/Model/TimeOffRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TimeOffRequestsFilterTest.php b/src/gen/test/Model/TimeOffRequestsFilterTest.php
index 187cad6d4..6d7467cdd 100644
--- a/src/gen/test/Model/TimeOffRequestsFilterTest.php
+++ b/src/gen/test/Model/TimeOffRequestsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TooManyRequestsResponseDetailTest.php b/src/gen/test/Model/TooManyRequestsResponseDetailTest.php
index 933b7b804..c2ae494e6 100644
--- a/src/gen/test/Model/TooManyRequestsResponseDetailTest.php
+++ b/src/gen/test/Model/TooManyRequestsResponseDetailTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TooManyRequestsResponseTest.php b/src/gen/test/Model/TooManyRequestsResponseTest.php
index 026b3131a..e510b6f93 100644
--- a/src/gen/test/Model/TooManyRequestsResponseTest.php
+++ b/src/gen/test/Model/TooManyRequestsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/TrackingItemTest.php b/src/gen/test/Model/TrackingItemTest.php
index c071ace53..a71404a6c 100644
--- a/src/gen/test/Model/TrackingItemTest.php
+++ b/src/gen/test/Model/TrackingItemTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UnauthorizedResponseTest.php b/src/gen/test/Model/UnauthorizedResponseTest.php
index 8c1601737..6fc261297 100644
--- a/src/gen/test/Model/UnauthorizedResponseTest.php
+++ b/src/gen/test/Model/UnauthorizedResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UnexpectedErrorResponseTest.php b/src/gen/test/Model/UnexpectedErrorResponseTest.php
index 4452e7474..3c4699791 100644
--- a/src/gen/test/Model/UnexpectedErrorResponseTest.php
+++ b/src/gen/test/Model/UnexpectedErrorResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UnifiedApiIdTest.php b/src/gen/test/Model/UnifiedApiIdTest.php
index 18d3473bf..ae7c6c713 100644
--- a/src/gen/test/Model/UnifiedApiIdTest.php
+++ b/src/gen/test/Model/UnifiedApiIdTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UnifiedFilePermissionsTest.php b/src/gen/test/Model/UnifiedFilePermissionsTest.php
index c23f541d1..1f7bc32a2 100644
--- a/src/gen/test/Model/UnifiedFilePermissionsTest.php
+++ b/src/gen/test/Model/UnifiedFilePermissionsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UnifiedFileTest.php b/src/gen/test/Model/UnifiedFileTest.php
index 020506518..8b8f37dfe 100644
--- a/src/gen/test/Model/UnifiedFileTest.php
+++ b/src/gen/test/Model/UnifiedFileTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UnifiedIdTest.php b/src/gen/test/Model/UnifiedIdTest.php
index 26b087159..16e8aa29a 100644
--- a/src/gen/test/Model/UnifiedIdTest.php
+++ b/src/gen/test/Model/UnifiedIdTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UnprocessableResponseTest.php b/src/gen/test/Model/UnprocessableResponseTest.php
index 3a1583052..f0f6e25c0 100644
--- a/src/gen/test/Model/UnprocessableResponseTest.php
+++ b/src/gen/test/Model/UnprocessableResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateAccountingDepartmentResponseTest.php b/src/gen/test/Model/UpdateAccountingDepartmentResponseTest.php
new file mode 100644
index 000000000..c1f82458d
--- /dev/null
+++ b/src/gen/test/Model/UpdateAccountingDepartmentResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/UpdateAccountingLocationResponseTest.php b/src/gen/test/Model/UpdateAccountingLocationResponseTest.php
new file mode 100644
index 000000000..cc6b768ec
--- /dev/null
+++ b/src/gen/test/Model/UpdateAccountingLocationResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/UpdateActivityResponseTest.php b/src/gen/test/Model/UpdateActivityResponseTest.php
index c52c9cf81..76b36f184 100644
--- a/src/gen/test/Model/UpdateActivityResponseTest.php
+++ b/src/gen/test/Model/UpdateActivityResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateApplicantResponseTest.php b/src/gen/test/Model/UpdateApplicantResponseTest.php
index ea9661080..24ae9c2cc 100644
--- a/src/gen/test/Model/UpdateApplicantResponseTest.php
+++ b/src/gen/test/Model/UpdateApplicantResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateApplicationResponseTest.php b/src/gen/test/Model/UpdateApplicationResponseTest.php
index e3ded1cf7..603f59499 100644
--- a/src/gen/test/Model/UpdateApplicationResponseTest.php
+++ b/src/gen/test/Model/UpdateApplicationResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateBillResponseTest.php b/src/gen/test/Model/UpdateBillResponseTest.php
index 4186483bf..affdf7d91 100644
--- a/src/gen/test/Model/UpdateBillResponseTest.php
+++ b/src/gen/test/Model/UpdateBillResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateCommentResponseTest.php b/src/gen/test/Model/UpdateCommentResponseTest.php
index 33c127dc8..273c4f5ff 100644
--- a/src/gen/test/Model/UpdateCommentResponseTest.php
+++ b/src/gen/test/Model/UpdateCommentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateCompanyResponseTest.php b/src/gen/test/Model/UpdateCompanyResponseTest.php
index 3ab55435b..8fd0957fe 100644
--- a/src/gen/test/Model/UpdateCompanyResponseTest.php
+++ b/src/gen/test/Model/UpdateCompanyResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateConnectionResponseTest.php b/src/gen/test/Model/UpdateConnectionResponseTest.php
index 9533fc2ff..96a09fac0 100644
--- a/src/gen/test/Model/UpdateConnectionResponseTest.php
+++ b/src/gen/test/Model/UpdateConnectionResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateConsumerRequestTest.php b/src/gen/test/Model/UpdateConsumerRequestTest.php
index fe5fc9c5d..486f46bd6 100644
--- a/src/gen/test/Model/UpdateConsumerRequestTest.php
+++ b/src/gen/test/Model/UpdateConsumerRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateConsumerResponseTest.php b/src/gen/test/Model/UpdateConsumerResponseTest.php
index 26a800e35..958b42731 100644
--- a/src/gen/test/Model/UpdateConsumerResponseTest.php
+++ b/src/gen/test/Model/UpdateConsumerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateContactResponseTest.php b/src/gen/test/Model/UpdateContactResponseTest.php
index a3a498bfa..e2a2930e9 100644
--- a/src/gen/test/Model/UpdateContactResponseTest.php
+++ b/src/gen/test/Model/UpdateContactResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateCreditNoteResponseTest.php b/src/gen/test/Model/UpdateCreditNoteResponseTest.php
index 0772abbd8..b95f20268 100644
--- a/src/gen/test/Model/UpdateCreditNoteResponseTest.php
+++ b/src/gen/test/Model/UpdateCreditNoteResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateCustomMappingRequestTest.php b/src/gen/test/Model/UpdateCustomMappingRequestTest.php
index 56bc070aa..e0f104950 100644
--- a/src/gen/test/Model/UpdateCustomMappingRequestTest.php
+++ b/src/gen/test/Model/UpdateCustomMappingRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateCustomMappingResponseTest.php b/src/gen/test/Model/UpdateCustomMappingResponseTest.php
index f7e07de9a..365afc5cc 100644
--- a/src/gen/test/Model/UpdateCustomMappingResponseTest.php
+++ b/src/gen/test/Model/UpdateCustomMappingResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateCustomerResponseTest.php b/src/gen/test/Model/UpdateCustomerResponseTest.php
index 7a382e6ee..1f4bb9bbc 100644
--- a/src/gen/test/Model/UpdateCustomerResponseTest.php
+++ b/src/gen/test/Model/UpdateCustomerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateDepartmentResponseTest.php b/src/gen/test/Model/UpdateDepartmentResponseTest.php
index fde13f41e..620bf7109 100644
--- a/src/gen/test/Model/UpdateDepartmentResponseTest.php
+++ b/src/gen/test/Model/UpdateDepartmentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateDriveGroupResponseTest.php b/src/gen/test/Model/UpdateDriveGroupResponseTest.php
index 3909d4b78..17be1417b 100644
--- a/src/gen/test/Model/UpdateDriveGroupResponseTest.php
+++ b/src/gen/test/Model/UpdateDriveGroupResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateDriveResponseTest.php b/src/gen/test/Model/UpdateDriveResponseTest.php
index 17e4e9df9..2faa11323 100644
--- a/src/gen/test/Model/UpdateDriveResponseTest.php
+++ b/src/gen/test/Model/UpdateDriveResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateEcommerceCustomerResponseTest.php b/src/gen/test/Model/UpdateEcommerceCustomerResponseTest.php
index e05cb47ff..ac21759fb 100644
--- a/src/gen/test/Model/UpdateEcommerceCustomerResponseTest.php
+++ b/src/gen/test/Model/UpdateEcommerceCustomerResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateEcommerceOrderResponseTest.php b/src/gen/test/Model/UpdateEcommerceOrderResponseTest.php
index 4ff332219..71bb9a51c 100644
--- a/src/gen/test/Model/UpdateEcommerceOrderResponseTest.php
+++ b/src/gen/test/Model/UpdateEcommerceOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateEmployeeResponseTest.php b/src/gen/test/Model/UpdateEmployeeResponseTest.php
index 44ba7e701..f0796efb1 100644
--- a/src/gen/test/Model/UpdateEmployeeResponseTest.php
+++ b/src/gen/test/Model/UpdateEmployeeResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateFileRequestTest.php b/src/gen/test/Model/UpdateFileRequestTest.php
index 937388b45..38730ca0b 100644
--- a/src/gen/test/Model/UpdateFileRequestTest.php
+++ b/src/gen/test/Model/UpdateFileRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateFileResponseTest.php b/src/gen/test/Model/UpdateFileResponseTest.php
index 2f100c548..92dfb01ee 100644
--- a/src/gen/test/Model/UpdateFileResponseTest.php
+++ b/src/gen/test/Model/UpdateFileResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateFolderRequestTest.php b/src/gen/test/Model/UpdateFolderRequestTest.php
index 1d640471c..4ea1b36d3 100644
--- a/src/gen/test/Model/UpdateFolderRequestTest.php
+++ b/src/gen/test/Model/UpdateFolderRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateFolderResponseTest.php b/src/gen/test/Model/UpdateFolderResponseTest.php
index e8571e316..3b8f77579 100644
--- a/src/gen/test/Model/UpdateFolderResponseTest.php
+++ b/src/gen/test/Model/UpdateFolderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateHrisCompanyResponseTest.php b/src/gen/test/Model/UpdateHrisCompanyResponseTest.php
index 6de6deaee..4b94304ee 100644
--- a/src/gen/test/Model/UpdateHrisCompanyResponseTest.php
+++ b/src/gen/test/Model/UpdateHrisCompanyResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateInvoiceItemsResponseTest.php b/src/gen/test/Model/UpdateInvoiceItemsResponseTest.php
index 0f68c8f50..ca6d4b398 100644
--- a/src/gen/test/Model/UpdateInvoiceItemsResponseTest.php
+++ b/src/gen/test/Model/UpdateInvoiceItemsResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateInvoiceResponseTest.php b/src/gen/test/Model/UpdateInvoiceResponseTest.php
index ce0a89c67..c87e384a2 100644
--- a/src/gen/test/Model/UpdateInvoiceResponseTest.php
+++ b/src/gen/test/Model/UpdateInvoiceResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateItemResponseTest.php b/src/gen/test/Model/UpdateItemResponseTest.php
index 96fd80ae3..5de8268e7 100644
--- a/src/gen/test/Model/UpdateItemResponseTest.php
+++ b/src/gen/test/Model/UpdateItemResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateJobResponseTest.php b/src/gen/test/Model/UpdateJobResponseTest.php
index 0c1041125..7c0fe0047 100644
--- a/src/gen/test/Model/UpdateJobResponseTest.php
+++ b/src/gen/test/Model/UpdateJobResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateJournalEntryResponseTest.php b/src/gen/test/Model/UpdateJournalEntryResponseTest.php
index 4cd86897c..214b384fc 100644
--- a/src/gen/test/Model/UpdateJournalEntryResponseTest.php
+++ b/src/gen/test/Model/UpdateJournalEntryResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateLeadResponseTest.php b/src/gen/test/Model/UpdateLeadResponseTest.php
index ca0873b8e..cc3c05125 100644
--- a/src/gen/test/Model/UpdateLeadResponseTest.php
+++ b/src/gen/test/Model/UpdateLeadResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateLedgerAccountResponseTest.php b/src/gen/test/Model/UpdateLedgerAccountResponseTest.php
index d536ef011..a8e72f7ac 100644
--- a/src/gen/test/Model/UpdateLedgerAccountResponseTest.php
+++ b/src/gen/test/Model/UpdateLedgerAccountResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateLocationResponseTest.php b/src/gen/test/Model/UpdateLocationResponseTest.php
index b059da525..c61d7b70e 100644
--- a/src/gen/test/Model/UpdateLocationResponseTest.php
+++ b/src/gen/test/Model/UpdateLocationResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateMerchantResponseTest.php b/src/gen/test/Model/UpdateMerchantResponseTest.php
index 571e646d1..73faa2916 100644
--- a/src/gen/test/Model/UpdateMerchantResponseTest.php
+++ b/src/gen/test/Model/UpdateMerchantResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateMessageResponseTest.php b/src/gen/test/Model/UpdateMessageResponseTest.php
index e97cce2dd..762dffba8 100644
--- a/src/gen/test/Model/UpdateMessageResponseTest.php
+++ b/src/gen/test/Model/UpdateMessageResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateModifierGroupResponseTest.php b/src/gen/test/Model/UpdateModifierGroupResponseTest.php
index 9a5d63e5e..dfd031f33 100644
--- a/src/gen/test/Model/UpdateModifierGroupResponseTest.php
+++ b/src/gen/test/Model/UpdateModifierGroupResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateModifierResponseTest.php b/src/gen/test/Model/UpdateModifierResponseTest.php
index 3249d0bbf..0b6f7a356 100644
--- a/src/gen/test/Model/UpdateModifierResponseTest.php
+++ b/src/gen/test/Model/UpdateModifierResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateNoteResponseTest.php b/src/gen/test/Model/UpdateNoteResponseTest.php
index 5a6b134ea..5c65d5cdb 100644
--- a/src/gen/test/Model/UpdateNoteResponseTest.php
+++ b/src/gen/test/Model/UpdateNoteResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateOpportunityResponseTest.php b/src/gen/test/Model/UpdateOpportunityResponseTest.php
index ae0985473..4a93c86bc 100644
--- a/src/gen/test/Model/UpdateOpportunityResponseTest.php
+++ b/src/gen/test/Model/UpdateOpportunityResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateOrderResponseTest.php b/src/gen/test/Model/UpdateOrderResponseTest.php
index 8a9004ab1..7e2c88c35 100644
--- a/src/gen/test/Model/UpdateOrderResponseTest.php
+++ b/src/gen/test/Model/UpdateOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateOrderTypeResponseTest.php b/src/gen/test/Model/UpdateOrderTypeResponseTest.php
index c6e531eef..77fedc2d6 100644
--- a/src/gen/test/Model/UpdateOrderTypeResponseTest.php
+++ b/src/gen/test/Model/UpdateOrderTypeResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdatePaymentResponseTest.php b/src/gen/test/Model/UpdatePaymentResponseTest.php
index d78f3dd99..fd70cabdf 100644
--- a/src/gen/test/Model/UpdatePaymentResponseTest.php
+++ b/src/gen/test/Model/UpdatePaymentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdatePipelineResponseTest.php b/src/gen/test/Model/UpdatePipelineResponseTest.php
index 5265f4f5c..66f18b901 100644
--- a/src/gen/test/Model/UpdatePipelineResponseTest.php
+++ b/src/gen/test/Model/UpdatePipelineResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdatePosPaymentResponseTest.php b/src/gen/test/Model/UpdatePosPaymentResponseTest.php
index 3c1215fa1..255c9d45d 100644
--- a/src/gen/test/Model/UpdatePosPaymentResponseTest.php
+++ b/src/gen/test/Model/UpdatePosPaymentResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateProductResponseTest.php b/src/gen/test/Model/UpdateProductResponseTest.php
index 6b9aec3d9..b4838fbec 100644
--- a/src/gen/test/Model/UpdateProductResponseTest.php
+++ b/src/gen/test/Model/UpdateProductResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdatePurchaseOrderResponseTest.php b/src/gen/test/Model/UpdatePurchaseOrderResponseTest.php
index db7a5f8b0..d9b39dae7 100644
--- a/src/gen/test/Model/UpdatePurchaseOrderResponseTest.php
+++ b/src/gen/test/Model/UpdatePurchaseOrderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateSharedLinkResponseTest.php b/src/gen/test/Model/UpdateSharedLinkResponseTest.php
index 5d7ed77f1..910e1b7d1 100644
--- a/src/gen/test/Model/UpdateSharedLinkResponseTest.php
+++ b/src/gen/test/Model/UpdateSharedLinkResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateSubsidiaryResponseTest.php b/src/gen/test/Model/UpdateSubsidiaryResponseTest.php
new file mode 100644
index 000000000..f2e305ad0
--- /dev/null
+++ b/src/gen/test/Model/UpdateSubsidiaryResponseTest.php
@@ -0,0 +1,135 @@
+markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status_code"
+ */
+ public function testPropertyStatusCode()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "status"
+ */
+ public function testPropertyStatus()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "service"
+ */
+ public function testPropertyService()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "resource"
+ */
+ public function testPropertyResource()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "operation"
+ */
+ public function testPropertyOperation()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test attribute "data"
+ */
+ public function testPropertyData()
+ {
+ // TODO: implement
+ $this->markTestIncomplete('Not implemented');
+ }
+}
diff --git a/src/gen/test/Model/UpdateSupplierResponseTest.php b/src/gen/test/Model/UpdateSupplierResponseTest.php
index fedf5bbbb..e7a067a12 100644
--- a/src/gen/test/Model/UpdateSupplierResponseTest.php
+++ b/src/gen/test/Model/UpdateSupplierResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateTaxRateResponseTest.php b/src/gen/test/Model/UpdateTaxRateResponseTest.php
index 8bbe51980..15d5b029e 100644
--- a/src/gen/test/Model/UpdateTaxRateResponseTest.php
+++ b/src/gen/test/Model/UpdateTaxRateResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateTenderResponseTest.php b/src/gen/test/Model/UpdateTenderResponseTest.php
index 204d766aa..cb4d345c7 100644
--- a/src/gen/test/Model/UpdateTenderResponseTest.php
+++ b/src/gen/test/Model/UpdateTenderResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateTicketResponseTest.php b/src/gen/test/Model/UpdateTicketResponseTest.php
index 09ffe09a8..0647ca422 100644
--- a/src/gen/test/Model/UpdateTicketResponseTest.php
+++ b/src/gen/test/Model/UpdateTicketResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateTimeOffRequestResponseTest.php b/src/gen/test/Model/UpdateTimeOffRequestResponseTest.php
index 4a5676c88..09e434742 100644
--- a/src/gen/test/Model/UpdateTimeOffRequestResponseTest.php
+++ b/src/gen/test/Model/UpdateTimeOffRequestResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateUploadSessionResponseTest.php b/src/gen/test/Model/UpdateUploadSessionResponseTest.php
index 9fb57421c..8a529b9eb 100644
--- a/src/gen/test/Model/UpdateUploadSessionResponseTest.php
+++ b/src/gen/test/Model/UpdateUploadSessionResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateUserResponseTest.php b/src/gen/test/Model/UpdateUserResponseTest.php
index cb7147991..77bc46c19 100644
--- a/src/gen/test/Model/UpdateUserResponseTest.php
+++ b/src/gen/test/Model/UpdateUserResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateWebhookRequestTest.php b/src/gen/test/Model/UpdateWebhookRequestTest.php
index c62842388..f3c19a882 100644
--- a/src/gen/test/Model/UpdateWebhookRequestTest.php
+++ b/src/gen/test/Model/UpdateWebhookRequestTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UpdateWebhookResponseTest.php b/src/gen/test/Model/UpdateWebhookResponseTest.php
index c55bb5321..bce57a411 100644
--- a/src/gen/test/Model/UpdateWebhookResponseTest.php
+++ b/src/gen/test/Model/UpdateWebhookResponseTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UploadSessionTest.php b/src/gen/test/Model/UploadSessionTest.php
index db979d8c1..a2852304c 100644
--- a/src/gen/test/Model/UploadSessionTest.php
+++ b/src/gen/test/Model/UploadSessionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/UserTest.php b/src/gen/test/Model/UserTest.php
index 76fc0d7d9..254f82e92 100644
--- a/src/gen/test/Model/UserTest.php
+++ b/src/gen/test/Model/UserTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/VaultEventTypeTest.php b/src/gen/test/Model/VaultEventTypeTest.php
index 5498c4c3e..69a3e26d8 100644
--- a/src/gen/test/Model/VaultEventTypeTest.php
+++ b/src/gen/test/Model/VaultEventTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/VirtualWebhooksTest.php b/src/gen/test/Model/VirtualWebhooksTest.php
index 9dd7e1e2b..b3395f4d5 100644
--- a/src/gen/test/Model/VirtualWebhooksTest.php
+++ b/src/gen/test/Model/VirtualWebhooksTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WalletDetailsTest.php b/src/gen/test/Model/WalletDetailsTest.php
index 2c5830bd1..a08d0927c 100644
--- a/src/gen/test/Model/WalletDetailsTest.php
+++ b/src/gen/test/Model/WalletDetailsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookEventLogAttemptsTest.php b/src/gen/test/Model/WebhookEventLogAttemptsTest.php
index 40d5ae899..6fa5f69ff 100644
--- a/src/gen/test/Model/WebhookEventLogAttemptsTest.php
+++ b/src/gen/test/Model/WebhookEventLogAttemptsTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookEventLogServiceTest.php b/src/gen/test/Model/WebhookEventLogServiceTest.php
index 017b2015e..7c6480060 100644
--- a/src/gen/test/Model/WebhookEventLogServiceTest.php
+++ b/src/gen/test/Model/WebhookEventLogServiceTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookEventLogTest.php b/src/gen/test/Model/WebhookEventLogTest.php
index 3e3ab8123..fc26bb005 100644
--- a/src/gen/test/Model/WebhookEventLogTest.php
+++ b/src/gen/test/Model/WebhookEventLogTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookEventLogsFilterServiceTest.php b/src/gen/test/Model/WebhookEventLogsFilterServiceTest.php
index 137bc584c..140a0877a 100644
--- a/src/gen/test/Model/WebhookEventLogsFilterServiceTest.php
+++ b/src/gen/test/Model/WebhookEventLogsFilterServiceTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookEventLogsFilterTest.php b/src/gen/test/Model/WebhookEventLogsFilterTest.php
index c4610322d..58fe7dfb8 100644
--- a/src/gen/test/Model/WebhookEventLogsFilterTest.php
+++ b/src/gen/test/Model/WebhookEventLogsFilterTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookEventTest.php b/src/gen/test/Model/WebhookEventTest.php
index bdf201555..6b5994764 100644
--- a/src/gen/test/Model/WebhookEventTest.php
+++ b/src/gen/test/Model/WebhookEventTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookEventTypeTest.php b/src/gen/test/Model/WebhookEventTypeTest.php
index 3300ea223..ecb29ad1f 100644
--- a/src/gen/test/Model/WebhookEventTypeTest.php
+++ b/src/gen/test/Model/WebhookEventTypeTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookSubscriptionTest.php b/src/gen/test/Model/WebhookSubscriptionTest.php
index 89a4458e1..d81aa244b 100644
--- a/src/gen/test/Model/WebhookSubscriptionTest.php
+++ b/src/gen/test/Model/WebhookSubscriptionTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookSupportTest.php b/src/gen/test/Model/WebhookSupportTest.php
index 49ec8adaf..78d6b8c47 100644
--- a/src/gen/test/Model/WebhookSupportTest.php
+++ b/src/gen/test/Model/WebhookSupportTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebhookTest.php b/src/gen/test/Model/WebhookTest.php
index 5f7e9fa49..55f43d8c1 100644
--- a/src/gen/test/Model/WebhookTest.php
+++ b/src/gen/test/Model/WebhookTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
diff --git a/src/gen/test/Model/WebsiteTest.php b/src/gen/test/Model/WebsiteTest.php
index c97ef35dc..95be697d4 100644
--- a/src/gen/test/Model/WebsiteTest.php
+++ b/src/gen/test/Model/WebsiteTest.php
@@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
- * The version of the OpenAPI document: 10.1.3
+ * The version of the OpenAPI document: 10.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/