diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea33d971d..a263fab16 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.10.0 + tag: 3.11.0 diff --git a/package.json b/package.json index b03960f12..7010ad088 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apideck/php", - "version": "3.10.0", + "version": "3.11.0", "description": "Apideck PHP SDK", "keywords": [ "apideck", diff --git a/src/gen/.openapi-generator/FILES b/src/gen/.openapi-generator/FILES index 541127dba..5d4ff9d4d 100644 --- a/src/gen/.openapi-generator/FILES +++ b/src/gen/.openapi-generator/FILES @@ -70,6 +70,9 @@ docs/Model/BalanceSheetLiabilitiesAccount.md docs/Model/BalanceSheetReports.md docs/Model/BalanceSheetUncategorizedItemsAccount.md docs/Model/BankAccount.md +docs/Model/BankFeedAccount.md +docs/Model/BankFeedStatement.md +docs/Model/BankFeedStatementTransactions.md docs/Model/Benefit.md docs/Model/Bill.md docs/Model/BillLineItem.md @@ -127,6 +130,8 @@ docs/Model/CreateApplicantResponse.md docs/Model/CreateApplicationResponse.md docs/Model/CreateAttachmentRequest.md docs/Model/CreateAttachmentResponse.md +docs/Model/CreateBankFeedAccountResponse.md +docs/Model/CreateBankFeedStatementResponse.md docs/Model/CreateBillPaymentResponse.md docs/Model/CreateBillResponse.md docs/Model/CreateCallbackState.md @@ -140,6 +145,8 @@ docs/Model/CreateContactResponse.md docs/Model/CreateCreditNoteResponse.md docs/Model/CreateCustomMappingRequest.md docs/Model/CreateCustomMappingResponse.md +docs/Model/CreateCustomObjectResponse.md +docs/Model/CreateCustomObjectSchemaResponse.md docs/Model/CreateCustomerResponse.md docs/Model/CreateDepartmentResponse.md docs/Model/CreateDriveGroupResponse.md @@ -192,11 +199,19 @@ docs/Model/CreateWebhookResponse.md docs/Model/CreditNote.md docs/Model/CreditNotesFilter.md docs/Model/CreditNotesSort.md +docs/Model/CreditOrDebit.md docs/Model/CrmEventType.md docs/Model/Currency.md docs/Model/CustomField.md docs/Model/CustomFieldFinder.md docs/Model/CustomMapping.md +docs/Model/CustomObject.md +docs/Model/CustomObjectFields.md +docs/Model/CustomObjectSchema.md +docs/Model/CustomObjectSchemaFields.md +docs/Model/CustomObjectSchemaOptions.md +docs/Model/CustomObjectSchemasSort.md +docs/Model/CustomObjectsSort.md docs/Model/Customer.md docs/Model/CustomersFilter.md docs/Model/CustomersSort.md @@ -207,6 +222,8 @@ docs/Model/DeleteActivityResponse.md docs/Model/DeleteApplicantResponse.md docs/Model/DeleteApplicationResponse.md docs/Model/DeleteAttachmentResponse.md +docs/Model/DeleteBankFeedAccountResponse.md +docs/Model/DeleteBankFeedStatementResponse.md docs/Model/DeleteBillPaymentResponse.md docs/Model/DeleteBillResponse.md docs/Model/DeleteCommentResponse.md @@ -214,6 +231,8 @@ docs/Model/DeleteCompanyResponse.md docs/Model/DeleteConsumerResponse.md docs/Model/DeleteContactResponse.md docs/Model/DeleteCreditNoteResponse.md +docs/Model/DeleteCustomObjectResponse.md +docs/Model/DeleteCustomObjectSchemaResponse.md docs/Model/DeleteCustomerResponse.md docs/Model/DeleteDepartmentResponse.md docs/Model/DeleteDriveGroupResponse.md @@ -271,6 +290,7 @@ docs/Model/EcommerceDiscount.md docs/Model/EcommerceEventType.md docs/Model/EcommerceOrder.md docs/Model/EcommerceOrderLineItem.md +docs/Model/EcommerceOrderRefund.md docs/Model/EcommerceOrderStatus.md docs/Model/EcommerceOrdersFilter.md docs/Model/EcommerceProduct.md @@ -328,6 +348,10 @@ docs/Model/GetApplicationsResponse.md docs/Model/GetAttachmentResponse.md docs/Model/GetAttachmentsResponse.md docs/Model/GetBalanceSheetResponse.md +docs/Model/GetBankFeedAccountResponse.md +docs/Model/GetBankFeedAccountsResponse.md +docs/Model/GetBankFeedStatementResponse.md +docs/Model/GetBankFeedStatementsResponse.md docs/Model/GetBillPaymentResponse.md docs/Model/GetBillPaymentsResponse.md docs/Model/GetBillResponse.md @@ -360,6 +384,10 @@ docs/Model/GetCreditNotesResponse.md docs/Model/GetCustomFieldsResponse.md docs/Model/GetCustomMappingResponse.md docs/Model/GetCustomMappingsResponse.md +docs/Model/GetCustomObjectResponse.md +docs/Model/GetCustomObjectSchemaResponse.md +docs/Model/GetCustomObjectSchemasResponse.md +docs/Model/GetCustomObjectsResponse.md docs/Model/GetCustomerResponse.md docs/Model/GetCustomersResponse.md docs/Model/GetDepartmentResponse.md @@ -473,6 +501,7 @@ docs/Model/InvoiceItemSalesDetails.md docs/Model/InvoiceItemsFilter.md docs/Model/InvoiceItemsSort.md docs/Model/InvoiceLineItem.md +docs/Model/InvoicePaymentAllocations.md docs/Model/InvoiceResponse.md docs/Model/InvoicesFilter.md docs/Model/InvoicesSort.md @@ -633,6 +662,8 @@ docs/Model/UpdateAccountingLocationResponse.md docs/Model/UpdateActivityResponse.md docs/Model/UpdateApplicantResponse.md docs/Model/UpdateApplicationResponse.md +docs/Model/UpdateBankFeedAccountResponse.md +docs/Model/UpdateBankFeedStatementResponse.md docs/Model/UpdateBillPaymentResponse.md docs/Model/UpdateBillResponse.md docs/Model/UpdateCommentResponse.md @@ -644,6 +675,8 @@ docs/Model/UpdateContactResponse.md docs/Model/UpdateCreditNoteResponse.md docs/Model/UpdateCustomMappingRequest.md docs/Model/UpdateCustomMappingResponse.md +docs/Model/UpdateCustomObjectResponse.md +docs/Model/UpdateCustomObjectSchemaResponse.md docs/Model/UpdateCustomerResponse.md docs/Model/UpdateDepartmentResponse.md docs/Model/UpdateDriveGroupResponse.md @@ -776,6 +809,9 @@ lib/Model/BalanceSheetLiabilitiesAccount.php lib/Model/BalanceSheetReports.php lib/Model/BalanceSheetUncategorizedItemsAccount.php lib/Model/BankAccount.php +lib/Model/BankFeedAccount.php +lib/Model/BankFeedStatement.php +lib/Model/BankFeedStatementTransactions.php lib/Model/Benefit.php lib/Model/Bill.php lib/Model/BillLineItem.php @@ -833,6 +869,8 @@ lib/Model/CreateApplicantResponse.php lib/Model/CreateApplicationResponse.php lib/Model/CreateAttachmentRequest.php lib/Model/CreateAttachmentResponse.php +lib/Model/CreateBankFeedAccountResponse.php +lib/Model/CreateBankFeedStatementResponse.php lib/Model/CreateBillPaymentResponse.php lib/Model/CreateBillResponse.php lib/Model/CreateCallbackState.php @@ -846,6 +884,8 @@ lib/Model/CreateContactResponse.php lib/Model/CreateCreditNoteResponse.php lib/Model/CreateCustomMappingRequest.php lib/Model/CreateCustomMappingResponse.php +lib/Model/CreateCustomObjectResponse.php +lib/Model/CreateCustomObjectSchemaResponse.php lib/Model/CreateCustomerResponse.php lib/Model/CreateDepartmentResponse.php lib/Model/CreateDriveGroupResponse.php @@ -898,11 +938,19 @@ lib/Model/CreateWebhookResponse.php lib/Model/CreditNote.php lib/Model/CreditNotesFilter.php lib/Model/CreditNotesSort.php +lib/Model/CreditOrDebit.php lib/Model/CrmEventType.php lib/Model/Currency.php lib/Model/CustomField.php lib/Model/CustomFieldFinder.php lib/Model/CustomMapping.php +lib/Model/CustomObject.php +lib/Model/CustomObjectFields.php +lib/Model/CustomObjectSchema.php +lib/Model/CustomObjectSchemaFields.php +lib/Model/CustomObjectSchemaOptions.php +lib/Model/CustomObjectSchemasSort.php +lib/Model/CustomObjectsSort.php lib/Model/Customer.php lib/Model/CustomersFilter.php lib/Model/CustomersSort.php @@ -913,6 +961,8 @@ lib/Model/DeleteActivityResponse.php lib/Model/DeleteApplicantResponse.php lib/Model/DeleteApplicationResponse.php lib/Model/DeleteAttachmentResponse.php +lib/Model/DeleteBankFeedAccountResponse.php +lib/Model/DeleteBankFeedStatementResponse.php lib/Model/DeleteBillPaymentResponse.php lib/Model/DeleteBillResponse.php lib/Model/DeleteCommentResponse.php @@ -920,6 +970,8 @@ lib/Model/DeleteCompanyResponse.php lib/Model/DeleteConsumerResponse.php lib/Model/DeleteContactResponse.php lib/Model/DeleteCreditNoteResponse.php +lib/Model/DeleteCustomObjectResponse.php +lib/Model/DeleteCustomObjectSchemaResponse.php lib/Model/DeleteCustomerResponse.php lib/Model/DeleteDepartmentResponse.php lib/Model/DeleteDriveGroupResponse.php @@ -977,6 +1029,7 @@ lib/Model/EcommerceDiscount.php lib/Model/EcommerceEventType.php lib/Model/EcommerceOrder.php lib/Model/EcommerceOrderLineItem.php +lib/Model/EcommerceOrderRefund.php lib/Model/EcommerceOrderStatus.php lib/Model/EcommerceOrdersFilter.php lib/Model/EcommerceProduct.php @@ -1034,6 +1087,10 @@ lib/Model/GetApplicationsResponse.php lib/Model/GetAttachmentResponse.php lib/Model/GetAttachmentsResponse.php lib/Model/GetBalanceSheetResponse.php +lib/Model/GetBankFeedAccountResponse.php +lib/Model/GetBankFeedAccountsResponse.php +lib/Model/GetBankFeedStatementResponse.php +lib/Model/GetBankFeedStatementsResponse.php lib/Model/GetBillPaymentResponse.php lib/Model/GetBillPaymentsResponse.php lib/Model/GetBillResponse.php @@ -1066,6 +1123,10 @@ lib/Model/GetCreditNotesResponse.php lib/Model/GetCustomFieldsResponse.php lib/Model/GetCustomMappingResponse.php lib/Model/GetCustomMappingsResponse.php +lib/Model/GetCustomObjectResponse.php +lib/Model/GetCustomObjectSchemaResponse.php +lib/Model/GetCustomObjectSchemasResponse.php +lib/Model/GetCustomObjectsResponse.php lib/Model/GetCustomerResponse.php lib/Model/GetCustomersResponse.php lib/Model/GetDepartmentResponse.php @@ -1179,6 +1240,7 @@ lib/Model/InvoiceItemSalesDetails.php lib/Model/InvoiceItemsFilter.php lib/Model/InvoiceItemsSort.php lib/Model/InvoiceLineItem.php +lib/Model/InvoicePaymentAllocations.php lib/Model/InvoiceResponse.php lib/Model/InvoicesFilter.php lib/Model/InvoicesSort.php @@ -1340,6 +1402,8 @@ lib/Model/UpdateAccountingLocationResponse.php lib/Model/UpdateActivityResponse.php lib/Model/UpdateApplicantResponse.php lib/Model/UpdateApplicationResponse.php +lib/Model/UpdateBankFeedAccountResponse.php +lib/Model/UpdateBankFeedStatementResponse.php lib/Model/UpdateBillPaymentResponse.php lib/Model/UpdateBillResponse.php lib/Model/UpdateCommentResponse.php @@ -1351,6 +1415,8 @@ lib/Model/UpdateContactResponse.php lib/Model/UpdateCreditNoteResponse.php lib/Model/UpdateCustomMappingRequest.php lib/Model/UpdateCustomMappingResponse.php +lib/Model/UpdateCustomObjectResponse.php +lib/Model/UpdateCustomObjectSchemaResponse.php lib/Model/UpdateCustomerResponse.php lib/Model/UpdateDepartmentResponse.php lib/Model/UpdateDriveGroupResponse.php @@ -1479,6 +1545,9 @@ test/Model/BalanceSheetReportsTest.php test/Model/BalanceSheetTest.php test/Model/BalanceSheetUncategorizedItemsAccountTest.php test/Model/BankAccountTest.php +test/Model/BankFeedAccountTest.php +test/Model/BankFeedStatementTest.php +test/Model/BankFeedStatementTransactionsTest.php test/Model/BenefitTest.php test/Model/BillLineItemTest.php test/Model/BillPaymentAllocationsTest.php @@ -1536,6 +1605,8 @@ test/Model/CreateApplicantResponseTest.php test/Model/CreateApplicationResponseTest.php test/Model/CreateAttachmentRequestTest.php test/Model/CreateAttachmentResponseTest.php +test/Model/CreateBankFeedAccountResponseTest.php +test/Model/CreateBankFeedStatementResponseTest.php test/Model/CreateBillPaymentResponseTest.php test/Model/CreateBillResponseTest.php test/Model/CreateCallbackStateResponseDataTest.php @@ -1549,6 +1620,8 @@ test/Model/CreateContactResponseTest.php test/Model/CreateCreditNoteResponseTest.php test/Model/CreateCustomMappingRequestTest.php test/Model/CreateCustomMappingResponseTest.php +test/Model/CreateCustomObjectResponseTest.php +test/Model/CreateCustomObjectSchemaResponseTest.php test/Model/CreateCustomerResponseTest.php test/Model/CreateDepartmentResponseTest.php test/Model/CreateDriveGroupResponseTest.php @@ -1601,11 +1674,19 @@ test/Model/CreateWebhookResponseTest.php test/Model/CreditNoteTest.php test/Model/CreditNotesFilterTest.php test/Model/CreditNotesSortTest.php +test/Model/CreditOrDebitTest.php test/Model/CrmEventTypeTest.php test/Model/CurrencyTest.php test/Model/CustomFieldFinderTest.php test/Model/CustomFieldTest.php test/Model/CustomMappingTest.php +test/Model/CustomObjectFieldsTest.php +test/Model/CustomObjectSchemaFieldsTest.php +test/Model/CustomObjectSchemaOptionsTest.php +test/Model/CustomObjectSchemaTest.php +test/Model/CustomObjectSchemasSortTest.php +test/Model/CustomObjectTest.php +test/Model/CustomObjectsSortTest.php test/Model/CustomerTest.php test/Model/CustomersFilterTest.php test/Model/CustomersSortTest.php @@ -1616,6 +1697,8 @@ test/Model/DeleteActivityResponseTest.php test/Model/DeleteApplicantResponseTest.php test/Model/DeleteApplicationResponseTest.php test/Model/DeleteAttachmentResponseTest.php +test/Model/DeleteBankFeedAccountResponseTest.php +test/Model/DeleteBankFeedStatementResponseTest.php test/Model/DeleteBillPaymentResponseTest.php test/Model/DeleteBillResponseTest.php test/Model/DeleteCommentResponseTest.php @@ -1623,6 +1706,8 @@ test/Model/DeleteCompanyResponseTest.php test/Model/DeleteConsumerResponseTest.php test/Model/DeleteContactResponseTest.php test/Model/DeleteCreditNoteResponseTest.php +test/Model/DeleteCustomObjectResponseTest.php +test/Model/DeleteCustomObjectSchemaResponseTest.php test/Model/DeleteCustomerResponseTest.php test/Model/DeleteDepartmentResponseTest.php test/Model/DeleteDriveGroupResponseTest.php @@ -1679,6 +1764,7 @@ test/Model/EcommerceCustomersFilterTest.php test/Model/EcommerceDiscountTest.php test/Model/EcommerceEventTypeTest.php test/Model/EcommerceOrderLineItemTest.php +test/Model/EcommerceOrderRefundTest.php test/Model/EcommerceOrderStatusTest.php test/Model/EcommerceOrderTest.php test/Model/EcommerceOrdersFilterTest.php @@ -1737,6 +1823,10 @@ test/Model/GetApplicationsResponseTest.php test/Model/GetAttachmentResponseTest.php test/Model/GetAttachmentsResponseTest.php test/Model/GetBalanceSheetResponseTest.php +test/Model/GetBankFeedAccountResponseTest.php +test/Model/GetBankFeedAccountsResponseTest.php +test/Model/GetBankFeedStatementResponseTest.php +test/Model/GetBankFeedStatementsResponseTest.php test/Model/GetBillPaymentResponseTest.php test/Model/GetBillPaymentsResponseTest.php test/Model/GetBillResponseTest.php @@ -1769,6 +1859,10 @@ test/Model/GetCreditNotesResponseTest.php test/Model/GetCustomFieldsResponseTest.php test/Model/GetCustomMappingResponseTest.php test/Model/GetCustomMappingsResponseTest.php +test/Model/GetCustomObjectResponseTest.php +test/Model/GetCustomObjectSchemaResponseTest.php +test/Model/GetCustomObjectSchemasResponseTest.php +test/Model/GetCustomObjectsResponseTest.php test/Model/GetCustomerResponseTest.php test/Model/GetCustomersResponseTest.php test/Model/GetDepartmentResponseTest.php @@ -1881,6 +1975,7 @@ test/Model/InvoiceItemTest.php test/Model/InvoiceItemsFilterTest.php test/Model/InvoiceItemsSortTest.php test/Model/InvoiceLineItemTest.php +test/Model/InvoicePaymentAllocationsTest.php test/Model/InvoiceResponseTest.php test/Model/InvoiceTest.php test/Model/InvoicesFilterTest.php @@ -2042,6 +2137,8 @@ test/Model/UpdateAccountingLocationResponseTest.php test/Model/UpdateActivityResponseTest.php test/Model/UpdateApplicantResponseTest.php test/Model/UpdateApplicationResponseTest.php +test/Model/UpdateBankFeedAccountResponseTest.php +test/Model/UpdateBankFeedStatementResponseTest.php test/Model/UpdateBillPaymentResponseTest.php test/Model/UpdateBillResponseTest.php test/Model/UpdateCommentResponseTest.php @@ -2053,6 +2150,8 @@ test/Model/UpdateContactResponseTest.php test/Model/UpdateCreditNoteResponseTest.php test/Model/UpdateCustomMappingRequestTest.php test/Model/UpdateCustomMappingResponseTest.php +test/Model/UpdateCustomObjectResponseTest.php +test/Model/UpdateCustomObjectSchemaResponseTest.php test/Model/UpdateCustomerResponseTest.php test/Model/UpdateDepartmentResponseTest.php test/Model/UpdateDriveGroupResponseTest.php diff --git a/src/gen/docs/apis/AccountingApi.md b/src/gen/docs/apis/AccountingApi.md index df239a013..c99f38fd5 100644 --- a/src/gen/docs/apis/AccountingApi.md +++ b/src/gen/docs/apis/AccountingApi.md @@ -12,6 +12,16 @@ * [Download Attachment](#attachmentsDownload) * [Get Attachment](#attachmentsOne) * [Get BalanceSheet](#balanceSheetOne) +* [Create Bank Feed Account](#bankFeedAccountsAdd) +* [List Bank Feed Accounts](#bankFeedAccountsAll) +* [Delete Bank Feed Account](#bankFeedAccountsDelete) +* [Get Bank Feed Account](#bankFeedAccountsOne) +* [Update Bank Feed Account](#bankFeedAccountsUpdate) +* [Create Bank Feed Statement](#bankFeedStatementsAdd) +* [List Bank Feed Statements](#bankFeedStatementsAll) +* [Delete Bank Feed Statement](#bankFeedStatementsDelete) +* [Get Bank Feed Statement](#bankFeedStatementsOne) +* [Update Bank Feed Statement](#bankFeedStatementsUpdate) * [Create Bill Payment](#billPaymentsAdd) * [List Bill Payments](#billPaymentsAll) * [Delete Bill Payment](#billPaymentsDelete) @@ -576,6 +586,676 @@ try { ``` +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Bank Feed Account + + +Method: **bankFeedAccountsAdd** + +```php +Apideck->getAccountingApi()->bankFeedAccountsAdd($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bank_feed_account** | [\Apideck\Client\Model\BankFeedAccount](../models/\Apideck\Client\Model\BankFeedAccount.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\CreateBankFeedAccountResponse`](../models/\Apideck\Client\Model\CreateBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Bank Feed Accounts | +**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()->bankFeedAccountsAdd($bankFeedAccount); + 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 Bank Feed Accounts + + +Method: **bankFeedAccountsAll** + +```php +Apideck->getAccountingApi()->bankFeedAccountsAll($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. | + **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\GetBankFeedAccountsResponse`](../models/\Apideck\Client\Model\GetBankFeedAccountsResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**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()->bankFeedAccountsAll(); + 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 Bank Feed Account + + +Method: **bankFeedAccountsDelete** + +```php +Apideck->getAccountingApi()->bankFeedAccountsDelete($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\DeleteBankFeedAccountResponse`](../models/\Apideck\Client\Model\DeleteBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**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()->bankFeedAccountsDelete('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 Bank Feed Account + + +Method: **bankFeedAccountsOne** + +```php +Apideck->getAccountingApi()->bankFeedAccountsOne($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\GetBankFeedAccountResponse`](../models/\Apideck\Client\Model\GetBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**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()->bankFeedAccountsOne('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 Bank Feed Account + + +Method: **bankFeedAccountsUpdate** + +```php +Apideck->getAccountingApi()->bankFeedAccountsUpdate($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **bank_feed_account** | [\Apideck\Client\Model\BankFeedAccount](../models/\Apideck\Client\Model\BankFeedAccount.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\UpdateBankFeedAccountResponse`](../models/\Apideck\Client\Model\UpdateBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**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()->bankFeedAccountsUpdate('id_example', $bankFeedAccount); + 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 Bank Feed Statement + + +Method: **bankFeedStatementsAdd** + +```php +Apideck->getAccountingApi()->bankFeedStatementsAdd($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bank_feed_statement** | [\Apideck\Client\Model\BankFeedStatement](../models/\Apideck\Client\Model\BankFeedStatement.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\CreateBankFeedStatementResponse`](../models/\Apideck\Client\Model\CreateBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Bank Feed Statements | +**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()->bankFeedStatementsAdd($bankFeedStatement); + 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 Bank Feed Statements + + +Method: **bankFeedStatementsAll** + +```php +Apideck->getAccountingApi()->bankFeedStatementsAll($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. | + **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\GetBankFeedStatementsResponse`](../models/\Apideck\Client\Model\GetBankFeedStatementsResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**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()->bankFeedStatementsAll(); + 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 Bank Feed Statement + + +Method: **bankFeedStatementsDelete** + +```php +Apideck->getAccountingApi()->bankFeedStatementsDelete($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\DeleteBankFeedStatementResponse`](../models/\Apideck\Client\Model\DeleteBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**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()->bankFeedStatementsDelete('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 Bank Feed Statement + + +Method: **bankFeedStatementsOne** + +```php +Apideck->getAccountingApi()->bankFeedStatementsOne($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\GetBankFeedStatementResponse`](../models/\Apideck\Client\Model\GetBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**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()->bankFeedStatementsOne('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 Bank Feed Statement + + +Method: **bankFeedStatementsUpdate** + +```php +Apideck->getAccountingApi()->bankFeedStatementsUpdate($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **bank_feed_statement** | [\Apideck\Client\Model\BankFeedStatement](../models/\Apideck\Client\Model\BankFeedStatement.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\UpdateBankFeedStatementResponse`](../models/\Apideck\Client\Model\UpdateBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**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()->bankFeedStatementsUpdate('id_example', $bankFeedStatement); + 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) diff --git a/src/gen/docs/apis/CrmApi.md b/src/gen/docs/apis/CrmApi.md index f09a6c0a9..76e1812a7 100644 --- a/src/gen/docs/apis/CrmApi.md +++ b/src/gen/docs/apis/CrmApi.md @@ -20,6 +20,16 @@ * [Delete Contact](#contactsDelete) * [Get Contact](#contactsOne) * [Update Contact](#contactsUpdate) +* [Create Custom Object Schema](#customObjectSchemasAdd) +* [List Custom Object Schemas](#customObjectSchemasAll) +* [Delete Custom Object Schema](#customObjectSchemasDelete) +* [Get Custom Object Schema](#customObjectSchemasOne) +* [Update Custom Object Schema](#customObjectSchemasUpdate) +* [Create Custom Object](#customObjectsAdd) +* [List Custom Objects](#customObjectsAll) +* [Delete Custom Object](#customObjectsDelete) +* [Get Custom Object](#customObjectsOne) +* [Update Custom Object](#customObjectsUpdate) * [Create Lead](#leadsAdd) * [List Leads](#leadsAll) * [Delete Lead](#leadsDelete) @@ -1056,6 +1066,678 @@ try { ``` +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Custom Object Schema + + +Method: **customObjectSchemasAdd** + +```php +Apideck->getCrmApi()->customObjectSchemasAdd($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **custom_object_schema** | [\Apideck\Client\Model\CustomObjectSchema](../models/\Apideck\Client\Model\CustomObjectSchema.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\CreateCustomObjectSchemaResponse`](../models/\Apideck\Client\Model\CreateCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Custom object schema 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->getCrmApi()->customObjectSchemasAdd($customObjectSchema); + 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 Custom Object Schemas + + +Method: **customObjectSchemasAll** + +```php +Apideck->getCrmApi()->customObjectSchemasAll($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. | + **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 | + **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\GetCustomObjectSchemasResponse`](../models/\Apideck\Client\Model\GetCustomObjectSchemasResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schemas | +**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->getCrmApi()->customObjectSchemasAll(); + 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 Custom Object Schema + + +Method: **customObjectSchemasDelete** + +```php +Apideck->getCrmApi()->customObjectSchemasDelete($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\DeleteCustomObjectSchemaResponse`](../models/\Apideck\Client\Model\DeleteCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schema 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->getCrmApi()->customObjectSchemasDelete('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 Custom Object Schema + + +Method: **customObjectSchemasOne** + +```php +Apideck->getCrmApi()->customObjectSchemasOne($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\GetCustomObjectSchemaResponse`](../models/\Apideck\Client\Model\GetCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schema | +**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->getCrmApi()->customObjectSchemasOne('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 Custom Object Schema + + +Method: **customObjectSchemasUpdate** + +```php +Apideck->getCrmApi()->customObjectSchemasUpdate($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **custom_object_schema** | [\Apideck\Client\Model\CustomObjectSchema](../models/\Apideck\Client\Model\CustomObjectSchema.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\UpdateCustomObjectSchemaResponse`](../models/\Apideck\Client\Model\UpdateCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schema updated | +**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->getCrmApi()->customObjectSchemasUpdate('id_example', $customObjectSchema); + 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 Custom Object + + +Method: **customObjectsAdd** + +```php +Apideck->getCrmApi()->customObjectsAdd($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **object_id** | **string**| The id of the custom object to query | + **custom_object** | [\Apideck\Client\Model\CustomObject](../models/\Apideck\Client\Model\CustomObject.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\CreateCustomObjectResponse`](../models/\Apideck\Client\Model\CreateCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Custom object 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->getCrmApi()->customObjectsAdd('object_id_example', $customObject); + 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 Custom Objects + + +Method: **customObjectsAll** + +```php +Apideck->getCrmApi()->customObjectsAll($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **object_id** | **string**| The id of the custom object to query | + **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 | + **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\GetCustomObjectsResponse`](../models/\Apideck\Client\Model\GetCustomObjectsResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom objects | +**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->getCrmApi()->customObjectsAll('object_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) + + +# Delete Custom Object + + +Method: **customObjectsDelete** + +```php +Apideck->getCrmApi()->customObjectsDelete($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **object_id** | **string**| The id of the custom object to query | + **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\DeleteCustomObjectResponse`](../models/\Apideck\Client\Model\DeleteCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object 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->getCrmApi()->customObjectsDelete('id_example', 'object_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 Custom Object + + +Method: **customObjectsOne** + +```php +Apideck->getCrmApi()->customObjectsOne($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **object_id** | **string**| The id of the custom object to query | + **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\GetCustomObjectResponse`](../models/\Apideck\Client\Model\GetCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object | +**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->getCrmApi()->customObjectsOne('id_example', 'object_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 Custom Object + + +Method: **customObjectsUpdate** + +```php +Apideck->getCrmApi()->customObjectsUpdate($data) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **object_id** | **string**| The id of the custom object to query | + **custom_object** | [\Apideck\Client\Model\CustomObject](../models/\Apideck\Client\Model\CustomObject.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\UpdateCustomObjectResponse`](../models/\Apideck\Client\Model\UpdateCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object updated | +**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->getCrmApi()->customObjectsUpdate('id_example', 'object_id_example', $customObject); + 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) diff --git a/src/gen/docs/models/AccountingDepartment.md b/src/gen/docs/models/AccountingDepartment.md index 3535e08e9..3bb930df3 100644 --- a/src/gen/docs/models/AccountingDepartment.md +++ b/src/gen/docs/models/AccountingDepartment.md @@ -10,7 +10,8 @@ Name | Type | Description | Notes `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] +`code` | **string** | The code of the department. | [optional] +`custom_mappings` | **array<string,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] @@ -47,6 +48,7 @@ Name | Type | Description | Notes + --- [[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 index dc46860a2..485e32645 100644 --- a/src/gen/docs/models/AccountingLocation.md +++ b/src/gen/docs/models/AccountingLocation.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes `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] +`custom_mappings` | **array<string,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] diff --git a/src/gen/docs/models/Activity.md b/src/gen/docs/models/Activity.md index 31b7de38e..5afee87bc 100644 --- a/src/gen/docs/models/Activity.md +++ b/src/gen/docs/models/Activity.md @@ -51,7 +51,7 @@ Name | Type | Description | Notes `video_conference_id` | **string** | The ID of the video conference | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | Custom fields of the activity | [optional] `attendees` | [**\Apideck\Client\Model\ActivityAttendee[]**](ActivityAttendee.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the activity | [optional] `created_by` | **string** | The user who created the activity | [optional] `updated_at` | **string** | The date and time when the activity was last updated | [optional] diff --git a/src/gen/docs/models/Applicant.md b/src/gen/docs/models/Applicant.md index 1914f91c3..d4e8eac33 100644 --- a/src/gen/docs/models/Applicant.md +++ b/src/gen/docs/models/Applicant.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `cv_url` | **string** | | [optional] `record_url` | **string** | | [optional] `rejected_at` | **\DateTime** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] `deleted_by` | **string** | The user who deleted the object. | [optional] `deleted_at` | **\DateTime** | The time at which the object was deleted. | [optional] diff --git a/src/gen/docs/models/Application.md b/src/gen/docs/models/Application.md index 1323d0bd8..9d3f6fe75 100644 --- a/src/gen/docs/models/Application.md +++ b/src/gen/docs/models/Application.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `id` | **string** | A unique identifier for an object. | [optional] `status` | **string** | | [optional] `stage` | [**\Apideck\Client\Model\ApplicationStage**](ApplicationStage.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/AtsActivity.md b/src/gen/docs/models/AtsActivity.md index 4fe1b7e87..fa2a63cbb 100644 --- a/src/gen/docs/models/AtsActivity.md +++ b/src/gen/docs/models/AtsActivity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/BalanceSheetReports.md b/src/gen/docs/models/BalanceSheetReports.md index 1b140259f..d798c2a40 100644 --- a/src/gen/docs/models/BalanceSheetReports.md +++ b/src/gen/docs/models/BalanceSheetReports.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `start_date` | **string** | The start date of the report | [optional] `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] `net_assets` | **float** | The net assets of the balance sheet | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/BankFeedAccount.md b/src/gen/docs/models/BankFeedAccount.md new file mode 100644 index 000000000..75868b123 --- /dev/null +++ b/src/gen/docs/models/BankFeedAccount.md @@ -0,0 +1,71 @@ +# Apideck.BankFeedAccount + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | +`bank_account_type` | **string** | Type of the bank account. | [optional] +`source_account_id` | **string** | The source account's unique identifier. | [optional] +`target_account_id` | **string** | The target account's unique identifier in the accounting connector. | [optional] +`target_account_name` | **string** | Name associated with the target account. | [optional] +`target_account_number` | **string** | Account number of the destination bank account. | [optional] +`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] +`feed_status` | **string** | Current status of the bank feed. | [optional] +`country` | **string** | Country code according to ISO 3166-1 alpha-2. | [optional] +`custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] +`created_at` | **\DateTime** | The date and time when the object was created. | [optional] +`updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] +`updated_by` | **string** | The user who last updated the object. | [optional] +`created_by` | **string** | The user who created the object. | [optional] + + + + + + +## Enum: BankFeedAccount.bank_account_type + + +* `BANK` (value: `'bank'`) + +* `CREDIT_CARD` (value: `'credit_card'`) + + + + + +## Enum: BankFeedAccount.feed_status + + +* `PENDING` (value: `'pending'`) + +* `REJECTED` (value: `'rejected'`) + + + + +## Referenced Types: + + + + + + +* [`Currency`](Currency.md) + + +* [`CustomField`](CustomField.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/BankFeedStatement.md b/src/gen/docs/models/BankFeedStatement.md new file mode 100644 index 000000000..feb7c7ad0 --- /dev/null +++ b/src/gen/docs/models/BankFeedStatement.md @@ -0,0 +1,60 @@ +# Apideck.BankFeedStatement + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | +`bank_feed_account_id` | **string** | The ID of the bank feed account this statement belongs to. | [optional] +`status` | **string** | The current status of the bank feed statement. | [optional] +`start_date` | **\DateTime** | Start date of the bank feed statement. | [optional] +`end_date` | **\DateTime** | End date of the bank feed statement. | [optional] +`start_balance` | **float** | Balance amount at the start of the period. | [optional] +`start_balance_credit_or_debit` | [**\Apideck\Client\Model\CreditOrDebit**](CreditOrDebit.md) | | [optional] +`end_balance` | **float** | Balance amount at the end of the period. | [optional] +`end_balance_credit_or_debit` | [**\Apideck\Client\Model\CreditOrDebit**](CreditOrDebit.md) | | [optional] +`transactions` | [**\Apideck\Client\Model\BankFeedStatementTransactions[]**](BankFeedStatementTransactions.md) | List of transactions in the bank feed statement. | [optional] +`created_at` | **\DateTime** | The date and time when the object was created. | [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] +`updated_by` | **string** | The user who last updated the object. | [optional] + + + + + + +## Enum: BankFeedStatement.status + + +* `PENDING` (value: `'pending'`) + +* `REJECTED` (value: `'rejected'`) + +* `SUCCESS` (value: `'success'`) + + + + +## Referenced Types: + + + + + + +* [`CreditOrDebit`](CreditOrDebit.md) + +* [`CreditOrDebit`](CreditOrDebit.md) +* [`BankFeedStatementTransactions`](BankFeedStatementTransactions.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/BankFeedStatementTransactions.md b/src/gen/docs/models/BankFeedStatementTransactions.md new file mode 100644 index 000000000..cfe6d19dc --- /dev/null +++ b/src/gen/docs/models/BankFeedStatementTransactions.md @@ -0,0 +1,54 @@ +# Apideck.BankFeedStatementTransactions + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`posted_date` | **\DateTime** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD | +`amount` | **float** | The amount of the transaction. | +`credit_or_debit` | [**\Apideck\Client\Model\CreditOrDebit**](CreditOrDebit.md) | | +`source_transaction_id` | **string** | The ID of the source transaction. | +`description` | **string** | A description of the transaction. | [optional] +`counterparty` | **string** | The counterparty of the transaction. | [optional] +`reference` | **string** | The reference of the transaction. | [optional] +`transaction_type` | **string** | Type of transaction. | [optional] + + + + + + +## Enum: BankFeedStatementTransactions.transaction_type + + +* `CREDIT` (value: `'credit'`) + +* `DEBIT` (value: `'debit'`) + +* `DEPOSIT` (value: `'deposit'`) + +* `TRANSFER` (value: `'transfer'`) + +* `PAYMENT` (value: `'payment'`) + +* `OTHER` (value: `'other'`) + + + + +## Referenced Types: + + +* [`CreditOrDebit`](CreditOrDebit.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/Bill.md b/src/gen/docs/models/Bill.md index b156a8334..ae72b6e12 100644 --- a/src/gen/docs/models/Bill.md +++ b/src/gen/docs/models/Bill.md @@ -43,7 +43,7 @@ Name | Type | Description | Notes `created_at` | **\DateTime** | The date and time when the object was created. | [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] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] `accounting_period` | **string** | Accounting period | [optional] diff --git a/src/gen/docs/models/BillPayment.md b/src/gen/docs/models/BillPayment.md index fb49ee455..0c473e231 100644 --- a/src/gen/docs/models/BillPayment.md +++ b/src/gen/docs/models/BillPayment.md @@ -28,7 +28,7 @@ Name | Type | Description | Notes `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [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] `display_id` | **string** | Id to be displayed. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] diff --git a/src/gen/docs/models/Collection.md b/src/gen/docs/models/Collection.md index ca3942734..21c8a21f0 100644 --- a/src/gen/docs/models/Collection.md +++ b/src/gen/docs/models/Collection.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `type` | **string** | The collections's type | [optional] `name` | **string** | Name of the collection | [optional] `description` | **string** | Description of the collection | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/CollectionTag.md b/src/gen/docs/models/CollectionTag.md index 885f0270e..de20b959b 100644 --- a/src/gen/docs/models/CollectionTag.md +++ b/src/gen/docs/models/CollectionTag.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | `name` | **string** | The name of the tag. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] diff --git a/src/gen/docs/models/CollectionTicketComment.md b/src/gen/docs/models/CollectionTicketComment.md index 519a5b216..464d11b79 100644 --- a/src/gen/docs/models/CollectionTicketComment.md +++ b/src/gen/docs/models/CollectionTicketComment.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] `body` | **string** | Body of the comment | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/CollectionUser.md b/src/gen/docs/models/CollectionUser.md index de7f227a7..5e75d9e03 100644 --- a/src/gen/docs/models/CollectionUser.md +++ b/src/gen/docs/models/CollectionUser.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes `last_name` | **string** | Last name of the user | [optional] `email` | **string** | Email address of the user | [optional] `photo_url` | **string** | The URL of the photo of a person. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/Company.md b/src/gen/docs/models/Company.md index 8d0658bec..417b024a8 100644 --- a/src/gen/docs/models/Company.md +++ b/src/gen/docs/models/Company.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `deleted` | **bool** | Whether the company is deleted or not | [optional] `salutation` | **string** | A formal salutation for the person. For example, 'Mr', 'Mrs' | [optional] `birthday` | **\DateTime** | The date of birth of the person. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | Updated by user ID | [optional] `created_by` | **string** | Created by user ID | [optional] `updated_at` | **\DateTime** | Last updated date | [optional] diff --git a/src/gen/docs/models/CompanyInfo.md b/src/gen/docs/models/CompanyInfo.md index 305a8d70f..83ffbbc93 100644 --- a/src/gen/docs/models/CompanyInfo.md +++ b/src/gen/docs/models/CompanyInfo.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes `addresses` | [**\Apideck\Client\Model\Address[]**](Address.md) | | [optional] `phone_numbers` | [**\Apideck\Client\Model\PhoneNumber[]**](PhoneNumber.md) | | [optional] `emails` | [**\Apideck\Client\Model\Email[]**](Email.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,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] diff --git a/src/gen/docs/models/Contact.md b/src/gen/docs/models/Contact.md index e906d50ac..1cc011b9b 100644 --- a/src/gen/docs/models/Contact.md +++ b/src/gen/docs/models/Contact.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `first_call_at` | **\DateTime** | The first call date of the contact. | [optional] `first_email_at` | **\DateTime** | The first email date of the contact. | [optional] `last_activity_at` | **\DateTime** | The last activity date of the contact. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_at` | **\DateTime** | The last update date of the contact. | [optional] `created_at` | **\DateTime** | The creation date of the contact. | [optional] `opportunity_ids` | **string[]** | The opportunity ids of the contact. | [optional] diff --git a/src/gen/docs/models/CreateBankFeedAccountResponse.md b/src/gen/docs/models/CreateBankFeedAccountResponse.md new file mode 100644 index 000000000..4b3d30ba1 --- /dev/null +++ b/src/gen/docs/models/CreateBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateBankFeedAccountResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/CreateBankFeedStatementResponse.md b/src/gen/docs/models/CreateBankFeedStatementResponse.md new file mode 100644 index 000000000..f84eb8de1 --- /dev/null +++ b/src/gen/docs/models/CreateBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateBankFeedStatementResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/CreateCustomObjectResponse.md b/src/gen/docs/models/CreateCustomObjectResponse.md new file mode 100644 index 000000000..2c1b2978e --- /dev/null +++ b/src/gen/docs/models/CreateCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateCustomObjectResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/CreateCustomObjectSchemaResponse.md b/src/gen/docs/models/CreateCustomObjectSchemaResponse.md new file mode 100644 index 000000000..1ad46a6ec --- /dev/null +++ b/src/gen/docs/models/CreateCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateCustomObjectSchemaResponse + +### 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\CustomObjectSchema**](CustomObjectSchema.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchema`](CustomObjectSchema.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 24c1ae78c..7238a5222 100644 --- a/src/gen/docs/models/CreditNote.md +++ b/src/gen/docs/models/CreditNote.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `billing_address` | [**\Apideck\Client\Model\Address**](Address.md) | | [optional] `shipping_address` | [**\Apideck\Client\Model\Address**](Address.md) | | [optional] `tracking_categories` | [**\Apideck\Client\Model\LinkedTrackingCategory[]**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [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] diff --git a/src/gen/docs/models/CreditOrDebit.md b/src/gen/docs/models/CreditOrDebit.md new file mode 100644 index 000000000..74844f97c --- /dev/null +++ b/src/gen/docs/models/CreditOrDebit.md @@ -0,0 +1,15 @@ +# Apideck.CreditOrDebit + +## Enum + + +* `CREDIT` (value: `'credit'`) + +* `DEBIT` (value: `'debit'`) + + +--- + +[[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/CustomObject.md b/src/gen/docs/models/CustomObject.md new file mode 100644 index 000000000..49d8f968a --- /dev/null +++ b/src/gen/docs/models/CustomObject.md @@ -0,0 +1,37 @@ +# Apideck.CustomObject + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | The unique identifier of the custom object | [optional] +`owner_id` | **string** | The unique identifier of the owner of the custom object | [optional] +`name` | **string** | The name of the custom object | [optional] +`fields` | [**\Apideck\Client\Model\CustomObjectFields[]**](CustomObjectFields.md) | | [optional] +`updated_by` | **string** | The unique identifier of the user who last updated the custom object | [optional] +`created_by` | **string** | The unique identifier of the user who created the custom object | [optional] +`updated_at` | **string** | The timestamp when the custom object was last updated | [optional] +`created_at` | **string** | The timestamp when the custom object was created | [optional] +`pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] + + + + + +## Referenced Types: + + + +* [`CustomObjectFields`](CustomObjectFields.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/CustomObjectFields.md b/src/gen/docs/models/CustomObjectFields.md new file mode 100644 index 000000000..62783c995 --- /dev/null +++ b/src/gen/docs/models/CustomObjectFields.md @@ -0,0 +1,19 @@ +# Apideck.CustomObjectFields + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`name` | **string** | | [optional] +`value` | **string** | | [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/CustomObjectSchema.md b/src/gen/docs/models/CustomObjectSchema.md new file mode 100644 index 000000000..d393cbb42 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchema.md @@ -0,0 +1,41 @@ +# Apideck.CustomObjectSchema + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | The unique identifier of the custom object schema | [optional] +`name` | **string** | The name of the custom object schema | [optional] +`description` | **string** | The description of the custom object schema | [optional] +`fields` | [**\Apideck\Client\Model\CustomObjectSchemaFields[]**](CustomObjectSchemaFields.md) | The fields defined in the schema | [optional] +`visible` | **bool** | Whether the custom object schema is visible in the UI | [optional] +`active` | **bool** | Whether the custom object schema is active | [optional] +`created_by` | **string** | The ID of the user who created the custom object schema | [optional] +`updated_by` | **string** | The ID of the user who last updated the custom object schema | [optional] +`updated_at` | **string** | The timestamp when the custom object schema was last updated | [optional] +`created_at` | **string** | The timestamp when the custom object schema was created | [optional] +`pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] + + + + + +## Referenced Types: + + + +* [`CustomObjectSchemaFields`](CustomObjectSchemaFields.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/CustomObjectSchemaFields.md b/src/gen/docs/models/CustomObjectSchemaFields.md new file mode 100644 index 000000000..a81e66532 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchemaFields.md @@ -0,0 +1,64 @@ +# Apideck.CustomObjectSchemaFields + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | | [optional] +`name` | **string** | | [optional] +`description` | **string** | | [optional] +`type` | **string** | | [optional] +`required` | **bool** | | [optional] +`options` | [**\Apideck\Client\Model\CustomObjectSchemaOptions[]**](CustomObjectSchemaOptions.md) | Options for select and multiselect types | [optional] +`default_value` | **string** | Default value for the field | [optional] + + + + + + +## Enum: CustomObjectSchemaFields.type + + +* `STRING` (value: `'string'`) + +* `NUMBER` (value: `'number'`) + +* `INTEGER` (value: `'integer'`) + +* `BOOLEAN` (value: `'boolean'`) + +* `DATE` (value: `'date'`) + +* `DATETIME` (value: `'datetime'`) + +* `CURRENCY` (value: `'currency'`) + +* `EMAIL` (value: `'email'`) + +* `PHONE` (value: `'phone'`) + +* `REFERENCE` (value: `'reference'`) + +* `SELECT` (value: `'select'`) + +* `MULTISELECT` (value: `'multiselect'`) + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchemaOptions`](CustomObjectSchemaOptions.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/CustomObjectSchemaOptions.md b/src/gen/docs/models/CustomObjectSchemaOptions.md new file mode 100644 index 000000000..6d2d523b3 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchemaOptions.md @@ -0,0 +1,19 @@ +# Apideck.CustomObjectSchemaOptions + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`value` | **string** | | [optional] +`label` | **string** | | [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/CustomObjectSchemasSort.md b/src/gen/docs/models/CustomObjectSchemasSort.md new file mode 100644 index 000000000..4f39b735e --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchemasSort.md @@ -0,0 +1,36 @@ +# Apideck.CustomObjectSchemasSort + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`by` | **string** | The field on which to sort the Custom Object Schemas | [optional] +`direction` | [**\Apideck\Client\Model\SortDirection**](SortDirection.md) | | [optional] + + + + + + +## Enum: CustomObjectSchemasSort.by + + +* `CREATED_AT` (value: `'created_at'`) + +* `UPDATED_AT` (value: `'updated_at'`) + +* `NAME` (value: `'name'`) + + + + +## Referenced Types: + +* [`SortDirection`](SortDirection.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/CustomObjectsSort.md b/src/gen/docs/models/CustomObjectsSort.md new file mode 100644 index 000000000..beb77a3ed --- /dev/null +++ b/src/gen/docs/models/CustomObjectsSort.md @@ -0,0 +1,36 @@ +# Apideck.CustomObjectsSort + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`by` | **string** | The field on which to sort the Custom Objects | [optional] +`direction` | [**\Apideck\Client\Model\SortDirection**](SortDirection.md) | | [optional] + + + + + + +## Enum: CustomObjectsSort.by + + +* `CREATED_AT` (value: `'created_at'`) + +* `UPDATED_AT` (value: `'updated_at'`) + +* `NAME` (value: `'name'`) + + + + +## Referenced Types: + +* [`SortDirection`](SortDirection.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/Customer.md b/src/gen/docs/models/Customer.md index e3d5abec3..f397c5155 100644 --- a/src/gen/docs/models/Customer.md +++ b/src/gen/docs/models/Customer.md @@ -33,7 +33,7 @@ Name | Type | Description | Notes `payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `channel` | **string** | The channel through which the transaction is processed. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/DeleteBankFeedAccountResponse.md b/src/gen/docs/models/DeleteBankFeedAccountResponse.md new file mode 100644 index 000000000..2c5673eea --- /dev/null +++ b/src/gen/docs/models/DeleteBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteBankFeedAccountResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/DeleteBankFeedStatementResponse.md b/src/gen/docs/models/DeleteBankFeedStatementResponse.md new file mode 100644 index 000000000..db024321b --- /dev/null +++ b/src/gen/docs/models/DeleteBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteBankFeedStatementResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/DeleteCustomObjectResponse.md b/src/gen/docs/models/DeleteCustomObjectResponse.md new file mode 100644 index 000000000..d75e7afc1 --- /dev/null +++ b/src/gen/docs/models/DeleteCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteCustomObjectResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/DeleteCustomObjectSchemaResponse.md b/src/gen/docs/models/DeleteCustomObjectSchemaResponse.md new file mode 100644 index 000000000..082da4d31 --- /dev/null +++ b/src/gen/docs/models/DeleteCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteCustomObjectSchemaResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/Department.md b/src/gen/docs/models/Department.md index f5bab8587..71d5cfa99 100644 --- a/src/gen/docs/models/Department.md +++ b/src/gen/docs/models/Department.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `name` | **string** | Department name | [optional] `code` | **string** | | [optional] `description` | **string** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/Drive.md b/src/gen/docs/models/Drive.md index f381ed964..b29b07203 100644 --- a/src/gen/docs/models/Drive.md +++ b/src/gen/docs/models/Drive.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes `id` | **string** | A unique identifier for an object. | `name` | **string** | The name of the drive | `description` | **string** | A description of the object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/DriveGroup.md b/src/gen/docs/models/DriveGroup.md index d24d0f56d..83c078291 100644 --- a/src/gen/docs/models/DriveGroup.md +++ b/src/gen/docs/models/DriveGroup.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes `name` | **string** | The name of the drive group | `display_name` | **string** | The display name of the drive group | [optional] `description` | **string** | A description of the object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/EcommerceCustomer.md b/src/gen/docs/models/EcommerceCustomer.md index 372aaced2..5f956bff7 100644 --- a/src/gen/docs/models/EcommerceCustomer.md +++ b/src/gen/docs/models/EcommerceCustomer.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes `phone_numbers` | [**\Apideck\Client\Model\PhoneNumber[]**](PhoneNumber.md) | An array of phone numbers for the customer. | [optional] `addresses` | [**\Apideck\Client\Model\EcommerceCustomerAddresses[]**](EcommerceCustomerAddresses.md) | An array of addresses for the customer. | [optional] `orders` | [**\Apideck\Client\Model\LinkedEcommerceOrder[]**](LinkedEcommerceOrder.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/EcommerceOrder.md b/src/gen/docs/models/EcommerceOrder.md index a78928740..cdf8bb593 100644 --- a/src/gen/docs/models/EcommerceOrder.md +++ b/src/gen/docs/models/EcommerceOrder.md @@ -26,7 +26,8 @@ Name | Type | Description | Notes `tracking` | [**\Apideck\Client\Model\TrackingItem[]**](TrackingItem.md) | | [optional] `line_items` | [**\Apideck\Client\Model\EcommerceOrderLineItem[]**](EcommerceOrderLineItem.md) | | [optional] `note` | **string** | Note for the order. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`refunds` | [**\Apideck\Client\Model\EcommerceOrderRefund[]**](EcommerceOrderRefund.md) | | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] @@ -98,6 +99,7 @@ Name | Type | Description | Notes * [`TrackingItem`](TrackingItem.md) * [`EcommerceOrderLineItem`](EcommerceOrderLineItem.md) +* [`EcommerceOrderRefund`](EcommerceOrderRefund.md) diff --git a/src/gen/docs/models/EcommerceOrderLineItem.md b/src/gen/docs/models/EcommerceOrderLineItem.md index 792900094..2b3b2efeb 100644 --- a/src/gen/docs/models/EcommerceOrderLineItem.md +++ b/src/gen/docs/models/EcommerceOrderLineItem.md @@ -9,7 +9,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `name` | **string** | The name of the product or variant associated with the line item. | `quantity` | **string** | The quantity of the product or variant associated with the line item. | -`total_amount` | **string** | The total amount for the product(s) or variant associated with the line item, including taxes and discounts. | `id` | **string** | A unique identifier for an object. | [optional] `product_id` | **string** | A unique identifier for the product associated with the line item. | [optional] `variant_id` | **string** | A unique identifier for the variant of the product associated with the line item, if applicable. | [optional] @@ -23,6 +22,7 @@ Name | Type | Description | Notes `refunded_amount` | **string** | The amount of the line item that has been refunded. | [optional] `refunded_quantity` | **string** | The quantity of the line item that has been refunded. | [optional] `sub_total` | **string** | The sub total for the product(s) or variant associated with the line item, excluding taxes and discounts. | [optional] +`total_amount` | **string** | The total amount for the product(s) or variant associated with the line item, including taxes and discounts. | [optional] `discounts` | [**\Apideck\Client\Model\EcommerceDiscount[]**](EcommerceDiscount.md) | | [optional] diff --git a/src/gen/docs/models/EcommerceOrderRefund.md b/src/gen/docs/models/EcommerceOrderRefund.md new file mode 100644 index 000000000..95bd55c3f --- /dev/null +++ b/src/gen/docs/models/EcommerceOrderRefund.md @@ -0,0 +1,31 @@ +# Apideck.EcommerceOrderRefund + +### Description + +A refund for an ecommerce order. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | [optional] +`amount` | **string** | The amount of the refund. | [optional] +`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] +`reason` | **string** | The reason for the refund. | [optional] +`created_at` | **\DateTime** | The date and time when the object was created. | [optional] + + + + + +## Referenced Types: + + +* [`Currency`](Currency.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/EcommerceProduct.md b/src/gen/docs/models/EcommerceProduct.md index c4c9bd3b5..90c2d818e 100644 --- a/src/gen/docs/models/EcommerceProduct.md +++ b/src/gen/docs/models/EcommerceProduct.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes `variants` | [**\Apideck\Client\Model\EcommerceProductVariants[]**](EcommerceProductVariants.md) | | [optional] `tags` | **string[]** | An array of tags for the product, used for organization and searching. | [optional] `categories` | [**\Apideck\Client\Model\EcommerceProductCategories[]**](EcommerceProductCategories.md) | An array of categories for the product, used for organization and searching. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/EcommerceStore.md b/src/gen/docs/models/EcommerceStore.md index 76aef8aee..400183a9b 100644 --- a/src/gen/docs/models/EcommerceStore.md +++ b/src/gen/docs/models/EcommerceStore.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes `name` | **string** | The store's name | [optional] `store_url` | **string** | The store's website URL | [optional] `admin_url` | **string** | The store's admin login URL | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] `updated_at` | **\DateTime** | The date and time when the object was last updated. | [optional] diff --git a/src/gen/docs/models/Employee.md b/src/gen/docs/models/Employee.md index ce93f50c7..550bed39f 100644 --- a/src/gen/docs/models/Employee.md +++ b/src/gen/docs/models/Employee.md @@ -64,7 +64,7 @@ Name | Type | Description | Notes `food_allergies` | **string[]** | Indicate the employee's food allergies. | [optional] `probation_period` | [**\Apideck\Client\Model\ProbationPeriod**](ProbationPeriod.md) | | [optional] `tags` | **string[]** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,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] `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] diff --git a/src/gen/docs/models/EmployeesFilter.md b/src/gen/docs/models/EmployeesFilter.md index b32b80985..34f4e8f17 100644 --- a/src/gen/docs/models/EmployeesFilter.md +++ b/src/gen/docs/models/EmployeesFilter.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes `employee_number` | **string** | Employee number to filter on | [optional] `department_id` | **string** | ID of the department to filter on | [optional] `city` | **string** | City to filter on | [optional] +`country` | **string** | Country to filter on | [optional] diff --git a/src/gen/docs/models/Expense.md b/src/gen/docs/models/Expense.md index 1a16554d4..dc4f31722 100644 --- a/src/gen/docs/models/Expense.md +++ b/src/gen/docs/models/Expense.md @@ -22,10 +22,12 @@ Name | Type | Description | Notes `tax_rate` | [**\Apideck\Client\Model\LinkedTaxRate**](LinkedTaxRate.md) | | [optional] `total_amount` | **float** | The total amount of the expense line item. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] `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] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] @@ -80,6 +82,8 @@ Name | Type | Description | Notes + + --- [[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/ExpenseLineItem.md b/src/gen/docs/models/ExpenseLineItem.md index f549c79ab..e58b5aabf 100644 --- a/src/gen/docs/models/ExpenseLineItem.md +++ b/src/gen/docs/models/ExpenseLineItem.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes `tax_rate` | [**\Apideck\Client\Model\LinkedTaxRate**](LinkedTaxRate.md) | | [optional] `description` | **string** | The expense line item description | [optional] `billable` | **bool** | Boolean that indicates if the line item is billable or not. | [optional] +`line_number` | **int** | Line number of the resource | [optional] @@ -34,6 +35,7 @@ Name | Type | Description | Notes + --- [[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/Folder.md b/src/gen/docs/models/Folder.md index 50b7fbc67..7abe9ff44 100644 --- a/src/gen/docs/models/Folder.md +++ b/src/gen/docs/models/Folder.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `size` | **int** | The size of the folder in bytes | [optional] `owner` | [**\Apideck\Client\Model\Owner**](Owner.md) | | [optional] `parent_folders_complete` | **bool** | Whether the list of parent folder is complete. Some connectors only return the direct parent of a folder | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/GetBankFeedAccountResponse.md b/src/gen/docs/models/GetBankFeedAccountResponse.md new file mode 100644 index 000000000..cad7614d4 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetBankFeedAccountResponse + +### 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\BankFeedAccount**](BankFeedAccount.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedAccount`](BankFeedAccount.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/GetBankFeedAccountsResponse.md b/src/gen/docs/models/GetBankFeedAccountsResponse.md new file mode 100644 index 000000000..f11e72238 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedAccountsResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetBankFeedAccountsResponse + +### 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\BankFeedAccount[]**](BankFeedAccount.md) | | +`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional] +`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional] +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedAccount`](BankFeedAccount.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/GetBankFeedStatementResponse.md b/src/gen/docs/models/GetBankFeedStatementResponse.md new file mode 100644 index 000000000..eb9235675 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetBankFeedStatementResponse + +### 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\BankFeedStatement**](BankFeedStatement.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedStatement`](BankFeedStatement.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/GetBankFeedStatementsResponse.md b/src/gen/docs/models/GetBankFeedStatementsResponse.md new file mode 100644 index 000000000..636e70fdd --- /dev/null +++ b/src/gen/docs/models/GetBankFeedStatementsResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetBankFeedStatementsResponse + +### 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\BankFeedStatement[]**](BankFeedStatement.md) | | +`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional] +`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional] +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedStatement`](BankFeedStatement.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/GetCustomObjectResponse.md b/src/gen/docs/models/GetCustomObjectResponse.md new file mode 100644 index 000000000..ea979bb9a --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetCustomObjectResponse + +### 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\CustomObject**](CustomObject.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObject`](CustomObject.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/GetCustomObjectSchemaResponse.md b/src/gen/docs/models/GetCustomObjectSchemaResponse.md new file mode 100644 index 000000000..9d0334b8c --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetCustomObjectSchemaResponse + +### 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\CustomObjectSchema**](CustomObjectSchema.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchema`](CustomObjectSchema.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/GetCustomObjectSchemasResponse.md b/src/gen/docs/models/GetCustomObjectSchemasResponse.md new file mode 100644 index 000000000..cc4d3eef0 --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectSchemasResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetCustomObjectSchemasResponse + +### 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\CustomObjectSchema[]**](CustomObjectSchema.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] +`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional] +`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchema`](CustomObjectSchema.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/GetCustomObjectsResponse.md b/src/gen/docs/models/GetCustomObjectsResponse.md new file mode 100644 index 000000000..23ccef884 --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectsResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetCustomObjectsResponse + +### 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\CustomObject[]**](CustomObject.md) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] +`meta` | [**\Apideck\Client\Model\Meta**](Meta.md) | | [optional] +`links` | [**\Apideck\Client\Model\Links**](Links.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObject`](CustomObject.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/HrisCompany.md b/src/gen/docs/models/HrisCompany.md index 968c82fca..8e7d52fb8 100644 --- a/src/gen/docs/models/HrisCompany.md +++ b/src/gen/docs/models/HrisCompany.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes `emails` | [**\Apideck\Client\Model\Email[]**](Email.md) | | [optional] `websites` | [**\Apideck\Client\Model\Website[]**](Website.md) | | [optional] `debtor_id` | **string** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `deleted` | **bool** | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/HrisJob.md b/src/gen/docs/models/HrisJob.md index 04bebd53b..f37929288 100644 --- a/src/gen/docs/models/HrisJob.md +++ b/src/gen/docs/models/HrisJob.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `department` | **string** | Department name | [optional] `is_primary` | **bool** | Indicates whether this the employee's primary job. | [optional] `location` | [**\Apideck\Client\Model\HrisJobLocation**](HrisJobLocation.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] diff --git a/src/gen/docs/models/Invoice.md b/src/gen/docs/models/Invoice.md index 727196a68..2a0d1ec06 100644 --- a/src/gen/docs/models/Invoice.md +++ b/src/gen/docs/models/Invoice.md @@ -37,13 +37,14 @@ Name | Type | Description | Notes `shipping_address` | [**\Apideck\Client\Model\Address**](Address.md) | | [optional] `template_id` | **string** | Optional invoice template | [optional] `source_document_url` | **string** | URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero. | [optional] +`payment_allocations` | [**\Apideck\Client\Model\InvoicePaymentAllocations[]**](InvoicePaymentAllocations.md) | IDs of payments made on the invoice | [optional] `payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `channel` | **string** | The channel through which the transaction is processed. | [optional] `language` | **string** | language code according to ISO 639-1. For the United States - EN | [optional] `accounting_by_row` | **bool** | Indicates if accounting by row is used (true) or not (false). Accounting by row means that a separate ledger transaction is created for each row. | [optional] `bank_account` | [**\Apideck\Client\Model\BankAccount**](BankAccount.md) | | [optional] `ledger_account` | [**\Apideck\Client\Model\LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [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] @@ -131,6 +132,7 @@ Name | Type | Description | Notes * [`Address`](Address.md) +* [`InvoicePaymentAllocations`](InvoicePaymentAllocations.md) diff --git a/src/gen/docs/models/InvoiceItem.md b/src/gen/docs/models/InvoiceItem.md index 961576679..71ce06bc0 100644 --- a/src/gen/docs/models/InvoiceItem.md +++ b/src/gen/docs/models/InvoiceItem.md @@ -29,7 +29,7 @@ Name | Type | Description | Notes `location_id` | **string** | The ID of the location | [optional] `subsidiary_id` | **string** | The ID of the subsidiary | [optional] `tax_schedule_id` | **string** | The ID of the tax schedule | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,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] diff --git a/src/gen/docs/models/InvoiceLineItem.md b/src/gen/docs/models/InvoiceLineItem.md index a70e24484..02a7e6aa3 100644 --- a/src/gen/docs/models/InvoiceLineItem.md +++ b/src/gen/docs/models/InvoiceLineItem.md @@ -47,6 +47,8 @@ Name | Type | Description | Notes * `SUB_TOTAL` (value: `'sub_total'`) +* `SERVICE` (value: `'service'`) + * `OTHER` (value: `'other'`) diff --git a/src/gen/docs/models/InvoicePaymentAllocations.md b/src/gen/docs/models/InvoicePaymentAllocations.md new file mode 100644 index 000000000..cb2290580 --- /dev/null +++ b/src/gen/docs/models/InvoicePaymentAllocations.md @@ -0,0 +1,20 @@ +# Apideck.InvoicePaymentAllocations + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | ID of the payment | [optional] +`allocated_amount` | **float** | Amount of the payment allocated to the invoice | [optional] +`date` | **\DateTime** | Date of the payment | [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/Item.md b/src/gen/docs/models/Item.md index 6a272ec6d..71b530c91 100644 --- a/src/gen/docs/models/Item.md +++ b/src/gen/docs/models/Item.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `available` | **bool** | | [optional] `hidden` | **bool** | | [optional] `version` | **string** | The user who last updated the object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/Job.md b/src/gen/docs/models/Job.md index 1128466a7..a7a31068f 100644 --- a/src/gen/docs/models/Job.md +++ b/src/gen/docs/models/Job.md @@ -42,7 +42,7 @@ Name | Type | Description | Notes `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] `owner_id` | **string** | | [optional] `published_at` | **\DateTime** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/JournalEntry.md b/src/gen/docs/models/JournalEntry.md index 9e721d3c0..2fcc9147b 100644 --- a/src/gen/docs/models/JournalEntry.md +++ b/src/gen/docs/models/JournalEntry.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [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] +`status` | **string** | Journal entry status | [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] `journal_symbol` | **string** | Journal symbol of the entry. For example IND for indirect costs | [optional] @@ -19,7 +20,7 @@ Name | Type | Description | Notes `number` | **string** | Journal entry number. | [optional] `tracking_categories` | [**\Apideck\Client\Model\LinkedTrackingCategory[]**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] `accounting_period` | **string** | Accounting period | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] @@ -32,6 +33,27 @@ Name | Type | Description | Notes + +## Enum: JournalEntry.status + + +* `DRAFT` (value: `'draft'`) + +* `PENDING_APPROVAL` (value: `'pending_approval'`) + +* `APPROVED` (value: `'approved'`) + +* `POSTED` (value: `'posted'`) + +* `VOIDED` (value: `'voided'`) + +* `REJECTED` (value: `'rejected'`) + +* `DELETED` (value: `'deleted'`) + + + + ## Referenced Types: @@ -45,6 +67,7 @@ Name | Type | Description | Notes + * [`LinkedTrackingCategory`](LinkedTrackingCategory.md) diff --git a/src/gen/docs/models/Lead.md b/src/gen/docs/models/Lead.md index d6006ef4a..ec14fed20 100644 --- a/src/gen/docs/models/Lead.md +++ b/src/gen/docs/models/Lead.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `name` | **string** | Full name of the lead. | -`company_name` | **string** | The name of the company the lead is associated with. | `id` | **string** | Unique identifier for the contact. | [optional] +`company_name` | **string** | The name of the company the lead is associated with. | [optional] `owner_id` | **string** | The owner of the lead. | [optional] `owner_name` | **string** | The name of the owner of the lead. | [optional] `company_id` | **string** | The company the lead is associated with. | [optional] @@ -30,7 +30,7 @@ Name | Type | Description | Notes `emails` | [**\Apideck\Client\Model\Email[]**](Email.md) | | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `tags` | **string[]** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_at` | **string** | Date updated in ISO 8601 format | [optional] `created_at` | **string** | Date created in ISO 8601 format | [optional] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] diff --git a/src/gen/docs/models/LedgerAccount.md b/src/gen/docs/models/LedgerAccount.md index d3dab57b7..160e4c0f6 100644 --- a/src/gen/docs/models/LedgerAccount.md +++ b/src/gen/docs/models/LedgerAccount.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `sub_accounts` | **object[]** | The sub accounts of the account. | [optional] `last_reconciliation_date` | **\DateTime** | Reconciliation Date means the last calendar day of each Reconciliation Period. | [optional] `subsidiaries` | **object[]** | The subsidiaries the account belongs to. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [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] diff --git a/src/gen/docs/models/Location.md b/src/gen/docs/models/Location.md index 68fa17bfe..8d42bac9d 100644 --- a/src/gen/docs/models/Location.md +++ b/src/gen/docs/models/Location.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes `status` | **string** | Status of this location. | [optional] `merchant_id` | **string** | | [optional] `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/Merchant.md b/src/gen/docs/models/Merchant.md index d810ffdf3..0e929c666 100644 --- a/src/gen/docs/models/Merchant.md +++ b/src/gen/docs/models/Merchant.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `service_charges` | [**\Apideck\Client\Model\ServiceCharge[]**](ServiceCharge.md) | | [optional] `language` | **string** | language code according to ISO 639-1. For the United States - EN | [optional] `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/Message.md b/src/gen/docs/models/Message.md index 2a69f7fe7..42e9dbf5f 100644 --- a/src/gen/docs/models/Message.md +++ b/src/gen/docs/models/Message.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes `price` | [**\Apideck\Client\Model\Price**](Price.md) | | [optional] `error` | [**\Apideck\Client\Model\Error**](Error.md) | | [optional] `messaging_service_id` | **string** | The ID of the Messaging Service used with the message. In case of Plivo this links to the Powerpack ID. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/Modifier.md b/src/gen/docs/models/Modifier.md index 85c31b673..899592cc7 100644 --- a/src/gen/docs/models/Modifier.md +++ b/src/gen/docs/models/Modifier.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `price_amount` | **float** | | [optional] `currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional] `available` | **bool** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/ModifierGroup.md b/src/gen/docs/models/ModifierGroup.md index cbc5da9a8..5c3392378 100644 --- a/src/gen/docs/models/ModifierGroup.md +++ b/src/gen/docs/models/ModifierGroup.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `present_at_all_locations` | **bool** | | [optional] `modifiers` | **object[]** | | [optional] `deleted` | **bool** | Flag to indicate if the object is deleted. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,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] diff --git a/src/gen/docs/models/Note.md b/src/gen/docs/models/Note.md index 39e1614de..68dfa2e0f 100644 --- a/src/gen/docs/models/Note.md +++ b/src/gen/docs/models/Note.md @@ -12,9 +12,10 @@ Name | Type | Description | Notes `contact_id` | **string** | The contact that is related to the note. | [optional] `company_id` | **string** | The company that is related to the note. | [optional] `opportunity_id` | **string** | The opportunity that is related to the note. | [optional] +`activity_id` | **string** | The activity that is related to the note. | [optional] `lead_id` | **string** | The lead that is related to the note. | [optional] `active` | **bool** | Whether the Note is active or not. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user that last updated the note. | [optional] `created_by` | **string** | The user that created the note. | [optional] `updated_at` | **string** | The timestamp when the note was last updated | [optional] diff --git a/src/gen/docs/models/Offer.md b/src/gen/docs/models/Offer.md index 3aa358fcb..876a337ac 100644 --- a/src/gen/docs/models/Offer.md +++ b/src/gen/docs/models/Offer.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] `application_id` | **string** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/Opportunity.md b/src/gen/docs/models/Opportunity.md index 3f86edf25..100e5e6d2 100644 --- a/src/gen/docs/models/Opportunity.md +++ b/src/gen/docs/models/Opportunity.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `date_stage_changed` | **\DateTime** | The date and time when the stage of the opportunity was last changed. | [optional] `date_last_contacted` | **\DateTime** | The date and time when the opportunity was last contacted. | [optional] `date_lead_created` | **\DateTime** | The date and time when the lead associated with the opportunity was created. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The unique identifier of the user who last updated the opportunity. | [optional] `created_by` | **string** | The unique identifier of the user who created the opportunity. | [optional] `updated_at` | **\DateTime** | The date and time when the opportunity was last updated. | [optional] diff --git a/src/gen/docs/models/Order.md b/src/gen/docs/models/Order.md index 30a67745d..d7b5d8b86 100644 --- a/src/gen/docs/models/Order.md +++ b/src/gen/docs/models/Order.md @@ -42,7 +42,7 @@ Name | Type | Description | Notes `source` | **string** | Source of order. Indicates the way that the order was placed. | [optional] `voided` | **bool** | | [optional] `voided_at` | **\DateTime** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `version` | **string** | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/OtherExpenses.md b/src/gen/docs/models/OtherExpenses.md index 55db6dcbd..f167e5daf 100644 --- a/src/gen/docs/models/OtherExpenses.md +++ b/src/gen/docs/models/OtherExpenses.md @@ -7,25 +7,25 @@ The other expenses accounts ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`total` | **float** | The aggregated total of all accounts within this category. | `records` | [**AnyOfProfitAndLossSectionProfitAndLossRecord[]**](AnyOfProfitAndLossSectionProfitAndLossRecord.md) | | `id` | **string** | A unique identifier for an object. | [optional] `code` | **string** | The account code of the account | [optional] `title` | **string** | The name of the account. | [optional] `type` | [**\Apideck\Client\Model\ProfitAndLossType**](ProfitAndLossType.md) | | [optional] +`total` | **float** | The aggregated total of all accounts within this category. | [optional] ## Referenced Types: - * [`AnyOfProfitAndLossSectionProfitAndLossRecord`](AnyOfProfitAndLossSectionProfitAndLossRecord.md) * [`ProfitAndLossType`](ProfitAndLossType.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/OtherIncome.md b/src/gen/docs/models/OtherIncome.md index 3caf4c1f7..9d6b13122 100644 --- a/src/gen/docs/models/OtherIncome.md +++ b/src/gen/docs/models/OtherIncome.md @@ -7,25 +7,25 @@ The other income accounts ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`total` | **float** | The aggregated total of all accounts within this category. | `records` | [**AnyOfProfitAndLossSectionProfitAndLossRecord[]**](AnyOfProfitAndLossSectionProfitAndLossRecord.md) | | `id` | **string** | A unique identifier for an object. | [optional] `code` | **string** | The account code of the account | [optional] `title` | **string** | The name of the account. | [optional] `type` | [**\Apideck\Client\Model\ProfitAndLossType**](ProfitAndLossType.md) | | [optional] +`total` | **float** | The aggregated total of all accounts within this category. | [optional] ## Referenced Types: - * [`AnyOfProfitAndLossSectionProfitAndLossRecord`](AnyOfProfitAndLossSectionProfitAndLossRecord.md) * [`ProfitAndLossType`](ProfitAndLossType.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/Payment.md b/src/gen/docs/models/Payment.md index 865568ba2..0bd56e352 100644 --- a/src/gen/docs/models/Payment.md +++ b/src/gen/docs/models/Payment.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [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] `display_id` | **string** | Id to be displayed. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `created_at` | **\DateTime** | The date and time when the object was created. | [optional] diff --git a/src/gen/docs/models/PaymentsFilter.md b/src/gen/docs/models/PaymentsFilter.md index 4bf9047ab..23fd02ccd 100644 --- a/src/gen/docs/models/PaymentsFilter.md +++ b/src/gen/docs/models/PaymentsFilter.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `updated_since` | **\DateTime** | | [optional] +`invoice_id` | **string** | | [optional] diff --git a/src/gen/docs/models/Payroll.md b/src/gen/docs/models/Payroll.md index f79db367c..a12d6e55f 100644 --- a/src/gen/docs/models/Payroll.md +++ b/src/gen/docs/models/Payroll.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `processed_date` | **string** | The date the payroll was processed. | [optional] `totals` | [**\Apideck\Client\Model\PayrollTotals**](PayrollTotals.md) | | [optional] `compensations` | [**\Apideck\Client\Model\Compensation[]**](Compensation.md) | An array of compensations for the payroll. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] diff --git a/src/gen/docs/models/Person.md b/src/gen/docs/models/Person.md index 1154fd1b7..48b23e47a 100644 --- a/src/gen/docs/models/Person.md +++ b/src/gen/docs/models/Person.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `initials` | **string** | Initials of the person | [optional] `birthday` | **\DateTime** | Date of birth | [optional] `deceased_on` | **\DateTime** | Date of death | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] diff --git a/src/gen/docs/models/PosPayment.md b/src/gen/docs/models/PosPayment.md index 3a57c7af9..46d33c8a0 100644 --- a/src/gen/docs/models/PosPayment.md +++ b/src/gen/docs/models/PosPayment.md @@ -34,7 +34,7 @@ Name | Type | Description | Notes `wallet` | [**\Apideck\Client\Model\WalletDetails**](WalletDetails.md) | | [optional] `external_details` | [**\Apideck\Client\Model\PosPaymentExternalDetails**](PosPaymentExternalDetails.md) | | [optional] `service_charges` | [**\Apideck\Client\Model\ServiceCharge[]**](ServiceCharge.md) | Optional service charges or gratuity tip applied to the order. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/ProfitAndLoss.md b/src/gen/docs/models/ProfitAndLoss.md index 596af35ec..34fa07643 100644 --- a/src/gen/docs/models/ProfitAndLoss.md +++ b/src/gen/docs/models/ProfitAndLoss.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes `gross_profit` | [**\Apideck\Client\Model\ProfitAndLossIndicator**](ProfitAndLossIndicator.md) | | [optional] `net_operating_income` | [**\Apideck\Client\Model\ProfitAndLossIndicator**](ProfitAndLossIndicator.md) | | [optional] `net_income` | [**\Apideck\Client\Model\ProfitAndLossIndicator**](ProfitAndLossIndicator.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `customer` | **string** | The customer id | [optional] diff --git a/src/gen/docs/models/PurchaseOrder.md b/src/gen/docs/models/PurchaseOrder.md index a9607a44c..4fc708f71 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] +`subsidiary_id` | **string** | The ID of the subsidiary | [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] @@ -34,7 +35,7 @@ Name | Type | Description | Notes `channel` | **string** | The channel through which the transaction is processed. | [optional] `memo` | **string** | Message for the supplier. This text appears on the Purchase Order. | [optional] `tracking_categories` | [**\Apideck\Client\Model\LinkedTrackingCategory[]**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [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] @@ -77,6 +78,7 @@ Name | Type | Description | Notes + * [`Currency`](Currency.md) diff --git a/src/gen/docs/models/Subsidiary.md b/src/gen/docs/models/Subsidiary.md index c55d14b35..7ba0ce1bb 100644 --- a/src/gen/docs/models/Subsidiary.md +++ b/src/gen/docs/models/Subsidiary.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes `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] +`custom_mappings` | **array<string,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] diff --git a/src/gen/docs/models/Supplier.md b/src/gen/docs/models/Supplier.md index 77ef1264b..0525335b0 100644 --- a/src/gen/docs/models/Supplier.md +++ b/src/gen/docs/models/Supplier.md @@ -30,7 +30,7 @@ Name | Type | Description | Notes `status` | **string** | Supplier status | [optional] `payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `channel` | **string** | The channel through which the transaction is processed. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `custom_fields` | [**\Apideck\Client\Model\CustomField[]**](CustomField.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] diff --git a/src/gen/docs/models/TaxRate.md b/src/gen/docs/models/TaxRate.md index 5c2c9b774..e876afe0e 100644 --- a/src/gen/docs/models/TaxRate.md +++ b/src/gen/docs/models/TaxRate.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes `report_tax_type` | **string** | Report Tax type to aggregate tax collected or paid for reporting purposes | [optional] `original_tax_rate_id` | **string** | ID of the original tax rate from which the new tax rate is derived. Helps to understand the relationship between corresponding tax rate entities. | [optional] `status` | **string** | Tax rate status | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,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] diff --git a/src/gen/docs/models/Tender.md b/src/gen/docs/models/Tender.md index 6c3360bc9..58550c1f5 100644 --- a/src/gen/docs/models/Tender.md +++ b/src/gen/docs/models/Tender.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `editable` | **bool** | | [optional] `opens_cash_drawer` | **bool** | If this tender opens the cash drawer | [optional] `allows_tipping` | **bool** | Allow tipping on payment from tender | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/Ticket.md b/src/gen/docs/models/Ticket.md index 1e9fcb9ec..2a69b8d99 100644 --- a/src/gen/docs/models/Ticket.md +++ b/src/gen/docs/models/Ticket.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes `due_date` | **\DateTime** | Due date of the ticket | [optional] `completed_at` | **\DateTime** | When the ticket was completed | [optional] `tags` | [**\Apideck\Client\Model\CollectionTag[]**](CollectionTag.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] diff --git a/src/gen/docs/models/TimeOffRequest.md b/src/gen/docs/models/TimeOffRequest.md index b15d6d7d7..1e49aeb4d 100644 --- a/src/gen/docs/models/TimeOffRequest.md +++ b/src/gen/docs/models/TimeOffRequest.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes `amount` | **float** | The amount of time off requested. | [optional] `day_part` | **string** | The day part of the time off request. | [optional] `notes` | [**\Apideck\Client\Model\TimeOffRequestNotes**](TimeOffRequestNotes.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/TrackingCategory.md b/src/gen/docs/models/TrackingCategory.md index bca775d28..fb662a8a5 100644 --- a/src/gen/docs/models/TrackingCategory.md +++ b/src/gen/docs/models/TrackingCategory.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `name` | **string** | The name of the tracking category. | [optional] `code` | **string** | The code of the tracking category. | [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] +`custom_mappings` | **array<string,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] diff --git a/src/gen/docs/models/UnifiedFile.md b/src/gen/docs/models/UnifiedFile.md index ad581b612..899904721 100644 --- a/src/gen/docs/models/UnifiedFile.md +++ b/src/gen/docs/models/UnifiedFile.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes `permissions` | [**\Apideck\Client\Model\UnifiedFilePermissions**](UnifiedFilePermissions.md) | | [optional] `exportable` | **bool** | Whether the current file is exportable to other file formats. This property is relevant for proprietary file formats such as Google Docs or Dropbox Paper. | [optional] `export_formats` | **string[]** | The available file formats when exporting this file. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [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] diff --git a/src/gen/docs/models/UpdateBankFeedAccountResponse.md b/src/gen/docs/models/UpdateBankFeedAccountResponse.md new file mode 100644 index 000000000..e89c1641d --- /dev/null +++ b/src/gen/docs/models/UpdateBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateBankFeedAccountResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/UpdateBankFeedStatementResponse.md b/src/gen/docs/models/UpdateBankFeedStatementResponse.md new file mode 100644 index 000000000..1b6b39a7c --- /dev/null +++ b/src/gen/docs/models/UpdateBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateBankFeedStatementResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/UpdateCustomObjectResponse.md b/src/gen/docs/models/UpdateCustomObjectResponse.md new file mode 100644 index 000000000..6d32f6ad2 --- /dev/null +++ b/src/gen/docs/models/UpdateCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateCustomObjectResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/UpdateCustomObjectSchemaResponse.md b/src/gen/docs/models/UpdateCustomObjectSchemaResponse.md new file mode 100644 index 000000000..01b8aabbb --- /dev/null +++ b/src/gen/docs/models/UpdateCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateCustomObjectSchemaResponse + +### 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) | | +`_raw` | **array<string,object>** | Raw response from the integration when raw=true query param is provided | [optional] + + + + + +## 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/User.md b/src/gen/docs/models/User.md index 4b7468229..0f4c4da87 100644 --- a/src/gen/docs/models/User.md +++ b/src/gen/docs/models/User.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes `password` | **string** | The password of the user | [optional] `addresses` | [**\Apideck\Client\Model\Address[]**](Address.md) | | [optional] `phone_numbers` | [**\Apideck\Client\Model\PhoneNumber[]**](PhoneNumber.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | **array<string,object>** | When custom mappings are configured on the resource, the result is included here. | [optional] `updated_at` | **string** | The date and time when the user was last updated. | [optional] `created_at` | **string** | The date and time when the user was created. | [optional] `pass_through` | **object[]** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] diff --git a/src/gen/lib/Api/AccountingApi.php b/src/gen/lib/Api/AccountingApi.php index 744577361..528b84b4c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -4129,6 +4129,5262 @@ public function balanceSheetOneRequest($x_apideck_consumer_id = null, $x_apideck ); } + /** + * Operation bankFeedAccountsAdd + * + * Create Bank Feed Account + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account bank_feed_account (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\CreateBankFeedAccountResponse|\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 bankFeedAccountsAdd($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + list($response) = $this->bankFeedAccountsAddWithHttpInfo($bank_feed_account, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + return $response; + } + + /** + * Operation bankFeedAccountsAddWithHttpInfo + * + * Create Bank Feed Account + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (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\CreateBankFeedAccountResponse|\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 bankFeedAccountsAddWithHttpInfo($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $request = $this->bankFeedAccountsAddRequest($bank_feed_account, $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\CreateBankFeedAccountResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateBankFeedAccountResponse', []), + $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\CreateBankFeedAccountResponse'; + 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\CreateBankFeedAccountResponse', + $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 bankFeedAccountsAddAsync + * + * Create Bank Feed Account + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (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 bankFeedAccountsAddAsync($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + return $this->bankFeedAccountsAddAsyncWithHttpInfo($bank_feed_account, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsAddAsyncWithHttpInfo + * + * Create Bank Feed Account + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (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 bankFeedAccountsAddAsyncWithHttpInfo($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $returnType = '\Apideck\Client\Model\CreateBankFeedAccountResponse'; + $request = $this->bankFeedAccountsAddRequest($bank_feed_account, $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 'bankFeedAccountsAdd' + * + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (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 bankFeedAccountsAddRequest($bank_feed_account, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + // verify the required parameter 'bank_feed_account' is set + if ($bank_feed_account === null || (is_array($bank_feed_account) && count($bank_feed_account) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $bank_feed_account when calling bankFeedAccountsAdd' + ); + } + + $resourcePath = '/accounting/bank-feed-accounts'; + $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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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($bank_feed_account)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($bank_feed_account)); + } else { + $httpBody = $bank_feed_account; + } + } 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 bankFeedAccountsAll + * + * List Bank Feed 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) + * @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\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\GetBankFeedAccountsResponse|\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 bankFeedAccountsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + list($response) = $this->bankFeedAccountsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + return $response; + } + + /** + * Operation bankFeedAccountsAllWithHttpInfo + * + * List Bank Feed 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) + * @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\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\GetBankFeedAccountsResponse|\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 bankFeedAccountsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $request = $this->bankFeedAccountsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $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\GetBankFeedAccountsResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetBankFeedAccountsResponse', []), + $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\GetBankFeedAccountsResponse'; + 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\GetBankFeedAccountsResponse', + $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 bankFeedAccountsAllAsync + * + * List Bank Feed 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) + * @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\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 bankFeedAccountsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + return $this->bankFeedAccountsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsAllAsyncWithHttpInfo + * + * List Bank Feed 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) + * @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\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 bankFeedAccountsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetBankFeedAccountsResponse'; + $request = $this->bankFeedAccountsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $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 'bankFeedAccountsAll' + * + * @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\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 bankFeedAccountsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + if ($limit !== null && $limit > 200) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.bankFeedAccountsAll, must be smaller than or equal to 200.'); + } + if ($limit !== null && $limit < 1) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.bankFeedAccountsAll, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/accounting/bank-feed-accounts'; + $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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 && 'pass_through' === 'cursor') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter' || 'cursor' === 'pass_through')) { + 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 && 'pass_through' === 'limit') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter' || 'limit' === 'pass_through')) { + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit; + } + } + // 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' === 'pass_through') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter' || 'pass_through' === 'pass_through')) { + 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 && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + 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 bankFeedAccountsDelete + * + * Delete Bank Feed 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) + * @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\DeleteBankFeedAccountResponse|\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 bankFeedAccountsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->bankFeedAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation bankFeedAccountsDeleteWithHttpInfo + * + * Delete Bank Feed 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) + * @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\DeleteBankFeedAccountResponse|\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 bankFeedAccountsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->bankFeedAccountsDeleteRequest($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\DeleteBankFeedAccountResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteBankFeedAccountResponse', []), + $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\DeleteBankFeedAccountResponse'; + 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\DeleteBankFeedAccountResponse', + $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 bankFeedAccountsDeleteAsync + * + * Delete Bank Feed 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) + * @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 bankFeedAccountsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->bankFeedAccountsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsDeleteAsyncWithHttpInfo + * + * Delete Bank Feed 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) + * @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 bankFeedAccountsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\DeleteBankFeedAccountResponse'; + $request = $this->bankFeedAccountsDeleteRequest($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 'bankFeedAccountsDelete' + * + * @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 bankFeedAccountsDeleteRequest($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 bankFeedAccountsDelete' + ); + } + + $resourcePath = '/accounting/bank-feed-accounts/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 bankFeedAccountsOne + * + * Get Bank Feed 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) + * @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\GetBankFeedAccountResponse|\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 bankFeedAccountsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + list($response) = $this->bankFeedAccountsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields); + return $response; + } + + /** + * Operation bankFeedAccountsOneWithHttpInfo + * + * Get Bank Feed 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) + * @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\GetBankFeedAccountResponse|\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 bankFeedAccountsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + $request = $this->bankFeedAccountsOneRequest($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\GetBankFeedAccountResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetBankFeedAccountResponse', []), + $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\GetBankFeedAccountResponse'; + 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\GetBankFeedAccountResponse', + $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 bankFeedAccountsOneAsync + * + * Get Bank Feed 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) + * @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 bankFeedAccountsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + return $this->bankFeedAccountsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsOneAsyncWithHttpInfo + * + * Get Bank Feed 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) + * @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 bankFeedAccountsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetBankFeedAccountResponse'; + $request = $this->bankFeedAccountsOneRequest($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 'bankFeedAccountsOne' + * + * @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 bankFeedAccountsOneRequest($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 bankFeedAccountsOne' + ); + } + + $resourcePath = '/accounting/bank-feed-accounts/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + 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 bankFeedAccountsUpdate + * + * Update Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account bank_feed_account (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\UpdateBankFeedAccountResponse|\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 bankFeedAccountsUpdate($id, $bank_feed_account, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->bankFeedAccountsUpdateWithHttpInfo($id, $bank_feed_account, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation bankFeedAccountsUpdateWithHttpInfo + * + * Update Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (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\UpdateBankFeedAccountResponse|\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 bankFeedAccountsUpdateWithHttpInfo($id, $bank_feed_account, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->bankFeedAccountsUpdateRequest($id, $bank_feed_account, $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\UpdateBankFeedAccountResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateBankFeedAccountResponse', []), + $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\UpdateBankFeedAccountResponse'; + 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\UpdateBankFeedAccountResponse', + $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 bankFeedAccountsUpdateAsync + * + * Update Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (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 bankFeedAccountsUpdateAsync($id, $bank_feed_account, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->bankFeedAccountsUpdateAsyncWithHttpInfo($id, $bank_feed_account, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedAccountsUpdateAsyncWithHttpInfo + * + * Update Bank Feed Account + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (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 bankFeedAccountsUpdateAsyncWithHttpInfo($id, $bank_feed_account, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\UpdateBankFeedAccountResponse'; + $request = $this->bankFeedAccountsUpdateRequest($id, $bank_feed_account, $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 'bankFeedAccountsUpdate' + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedAccount $bank_feed_account (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 bankFeedAccountsUpdateRequest($id, $bank_feed_account, $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 bankFeedAccountsUpdate' + ); + } + // verify the required parameter 'bank_feed_account' is set + if ($bank_feed_account === null || (is_array($bank_feed_account) && count($bank_feed_account) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $bank_feed_account when calling bankFeedAccountsUpdate' + ); + } + + $resourcePath = '/accounting/bank-feed-accounts/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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($bank_feed_account)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($bank_feed_account)); + } else { + $httpBody = $bank_feed_account; + } + } 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 bankFeedStatementsAdd + * + * Create Bank Feed Statement + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement bank_feed_statement (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\CreateBankFeedStatementResponse|\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 bankFeedStatementsAdd($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + list($response) = $this->bankFeedStatementsAddWithHttpInfo($bank_feed_statement, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + return $response; + } + + /** + * Operation bankFeedStatementsAddWithHttpInfo + * + * Create Bank Feed Statement + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (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\CreateBankFeedStatementResponse|\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 bankFeedStatementsAddWithHttpInfo($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $request = $this->bankFeedStatementsAddRequest($bank_feed_statement, $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\CreateBankFeedStatementResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateBankFeedStatementResponse', []), + $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\CreateBankFeedStatementResponse'; + 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\CreateBankFeedStatementResponse', + $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 bankFeedStatementsAddAsync + * + * Create Bank Feed Statement + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (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 bankFeedStatementsAddAsync($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + return $this->bankFeedStatementsAddAsyncWithHttpInfo($bank_feed_statement, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsAddAsyncWithHttpInfo + * + * Create Bank Feed Statement + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (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 bankFeedStatementsAddAsyncWithHttpInfo($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $returnType = '\Apideck\Client\Model\CreateBankFeedStatementResponse'; + $request = $this->bankFeedStatementsAddRequest($bank_feed_statement, $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 'bankFeedStatementsAdd' + * + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (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 bankFeedStatementsAddRequest($bank_feed_statement, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + // verify the required parameter 'bank_feed_statement' is set + if ($bank_feed_statement === null || (is_array($bank_feed_statement) && count($bank_feed_statement) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $bank_feed_statement when calling bankFeedStatementsAdd' + ); + } + + $resourcePath = '/accounting/bank-feed-statements'; + $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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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($bank_feed_statement)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($bank_feed_statement)); + } else { + $httpBody = $bank_feed_statement; + } + } 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 bankFeedStatementsAll + * + * List Bank Feed Statements + * + * @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\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\GetBankFeedStatementsResponse|\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 bankFeedStatementsAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + list($response) = $this->bankFeedStatementsAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + return $response; + } + + /** + * Operation bankFeedStatementsAllWithHttpInfo + * + * List Bank Feed Statements + * + * @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\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\GetBankFeedStatementsResponse|\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 bankFeedStatementsAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $request = $this->bankFeedStatementsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $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\GetBankFeedStatementsResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetBankFeedStatementsResponse', []), + $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\GetBankFeedStatementsResponse'; + 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\GetBankFeedStatementsResponse', + $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 bankFeedStatementsAllAsync + * + * List Bank Feed Statements + * + * @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\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 bankFeedStatementsAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + return $this->bankFeedStatementsAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsAllAsyncWithHttpInfo + * + * List Bank Feed Statements + * + * @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\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 bankFeedStatementsAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetBankFeedStatementsResponse'; + $request = $this->bankFeedStatementsAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $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 'bankFeedStatementsAll' + * + * @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\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 bankFeedStatementsAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + if ($limit !== null && $limit > 200) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.bankFeedStatementsAll, must be smaller than or equal to 200.'); + } + if ($limit !== null && $limit < 1) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling AccountingApi.bankFeedStatementsAll, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/accounting/bank-feed-statements'; + $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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 && 'pass_through' === 'cursor') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter' || 'cursor' === 'pass_through')) { + 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 && 'pass_through' === 'limit') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter' || 'limit' === 'pass_through')) { + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit; + } + } + // 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' === 'pass_through') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter' || 'pass_through' === 'pass_through')) { + 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 && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + 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 bankFeedStatementsDelete + * + * Delete Bank Feed Statement + * + * @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\DeleteBankFeedStatementResponse|\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 bankFeedStatementsDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->bankFeedStatementsDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation bankFeedStatementsDeleteWithHttpInfo + * + * Delete Bank Feed Statement + * + * @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\DeleteBankFeedStatementResponse|\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 bankFeedStatementsDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->bankFeedStatementsDeleteRequest($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\DeleteBankFeedStatementResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteBankFeedStatementResponse', []), + $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\DeleteBankFeedStatementResponse'; + 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\DeleteBankFeedStatementResponse', + $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 bankFeedStatementsDeleteAsync + * + * Delete Bank Feed Statement + * + * @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 bankFeedStatementsDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->bankFeedStatementsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsDeleteAsyncWithHttpInfo + * + * Delete Bank Feed Statement + * + * @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 bankFeedStatementsDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\DeleteBankFeedStatementResponse'; + $request = $this->bankFeedStatementsDeleteRequest($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 'bankFeedStatementsDelete' + * + * @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 bankFeedStatementsDeleteRequest($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 bankFeedStatementsDelete' + ); + } + + $resourcePath = '/accounting/bank-feed-statements/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 bankFeedStatementsOne + * + * Get Bank Feed Statement + * + * @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\GetBankFeedStatementResponse|\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 bankFeedStatementsOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + list($response) = $this->bankFeedStatementsOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields); + return $response; + } + + /** + * Operation bankFeedStatementsOneWithHttpInfo + * + * Get Bank Feed Statement + * + * @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\GetBankFeedStatementResponse|\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 bankFeedStatementsOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + $request = $this->bankFeedStatementsOneRequest($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\GetBankFeedStatementResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetBankFeedStatementResponse', []), + $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\GetBankFeedStatementResponse'; + 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\GetBankFeedStatementResponse', + $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 bankFeedStatementsOneAsync + * + * Get Bank Feed Statement + * + * @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 bankFeedStatementsOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + return $this->bankFeedStatementsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsOneAsyncWithHttpInfo + * + * Get Bank Feed Statement + * + * @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 bankFeedStatementsOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetBankFeedStatementResponse'; + $request = $this->bankFeedStatementsOneRequest($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 'bankFeedStatementsOne' + * + * @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 bankFeedStatementsOneRequest($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 bankFeedStatementsOne' + ); + } + + $resourcePath = '/accounting/bank-feed-statements/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + 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 bankFeedStatementsUpdate + * + * Update Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement bank_feed_statement (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\UpdateBankFeedStatementResponse|\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 bankFeedStatementsUpdate($id, $bank_feed_statement, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->bankFeedStatementsUpdateWithHttpInfo($id, $bank_feed_statement, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation bankFeedStatementsUpdateWithHttpInfo + * + * Update Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (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\UpdateBankFeedStatementResponse|\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 bankFeedStatementsUpdateWithHttpInfo($id, $bank_feed_statement, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->bankFeedStatementsUpdateRequest($id, $bank_feed_statement, $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\UpdateBankFeedStatementResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateBankFeedStatementResponse', []), + $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\UpdateBankFeedStatementResponse'; + 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\UpdateBankFeedStatementResponse', + $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 bankFeedStatementsUpdateAsync + * + * Update Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (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 bankFeedStatementsUpdateAsync($id, $bank_feed_statement, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->bankFeedStatementsUpdateAsyncWithHttpInfo($id, $bank_feed_statement, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation bankFeedStatementsUpdateAsyncWithHttpInfo + * + * Update Bank Feed Statement + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (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 bankFeedStatementsUpdateAsyncWithHttpInfo($id, $bank_feed_statement, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\UpdateBankFeedStatementResponse'; + $request = $this->bankFeedStatementsUpdateRequest($id, $bank_feed_statement, $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 'bankFeedStatementsUpdate' + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\BankFeedStatement $bank_feed_statement (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 bankFeedStatementsUpdateRequest($id, $bank_feed_statement, $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 bankFeedStatementsUpdate' + ); + } + // verify the required parameter 'bank_feed_statement' is set + if ($bank_feed_statement === null || (is_array($bank_feed_statement) && count($bank_feed_statement) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $bank_feed_statement when calling bankFeedStatementsUpdate' + ); + } + + $resourcePath = '/accounting/bank-feed-statements/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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($bank_feed_statement)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($bank_feed_statement)); + } else { + $httpBody = $bank_feed_statement; + } + } 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 billPaymentsAdd * diff --git a/src/gen/lib/Api/AtsApi.php b/src/gen/lib/Api/AtsApi.php index f5f39ccca..1a2ac08cb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f42b6a755..b508e4a22 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 956c57cc8..09f408084 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -8357,6 +8357,5204 @@ public function contactsUpdateRequest($id, $contact, $x_apideck_consumer_id = nu ); } + /** + * Operation customObjectSchemasAdd + * + * Create custom object schema + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema custom_object_schema (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\CreateCustomObjectSchemaResponse|\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 customObjectSchemasAdd($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + list($response) = $this->customObjectSchemasAddWithHttpInfo($custom_object_schema, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + return $response; + } + + /** + * Operation customObjectSchemasAddWithHttpInfo + * + * Create custom object schema + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (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\CreateCustomObjectSchemaResponse|\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 customObjectSchemasAddWithHttpInfo($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $request = $this->customObjectSchemasAddRequest($custom_object_schema, $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\CreateCustomObjectSchemaResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateCustomObjectSchemaResponse', []), + $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\CreateCustomObjectSchemaResponse'; + 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\CreateCustomObjectSchemaResponse', + $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 customObjectSchemasAddAsync + * + * Create custom object schema + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (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 customObjectSchemasAddAsync($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + return $this->customObjectSchemasAddAsyncWithHttpInfo($custom_object_schema, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasAddAsyncWithHttpInfo + * + * Create custom object schema + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (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 customObjectSchemasAddAsyncWithHttpInfo($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $returnType = '\Apideck\Client\Model\CreateCustomObjectSchemaResponse'; + $request = $this->customObjectSchemasAddRequest($custom_object_schema, $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 'customObjectSchemasAdd' + * + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (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 customObjectSchemasAddRequest($custom_object_schema, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + // verify the required parameter 'custom_object_schema' is set + if ($custom_object_schema === null || (is_array($custom_object_schema) && count($custom_object_schema) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $custom_object_schema when calling customObjectSchemasAdd' + ); + } + + $resourcePath = '/crm/custom-object-schemas'; + $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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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($custom_object_schema)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($custom_object_schema)); + } else { + $httpBody = $custom_object_schema; + } + } 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 customObjectSchemasAll + * + * List custom object schemas + * + * @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\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) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Apideck\Client\Model\GetCustomObjectSchemasResponse|\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 customObjectSchemasAll($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + list($response) = $this->customObjectSchemasAllWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through); + return $response; + } + + /** + * Operation customObjectSchemasAllWithHttpInfo + * + * List custom object schemas + * + * @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\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) + * + * @throws \Apideck\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Apideck\Client\Model\GetCustomObjectSchemasResponse|\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 customObjectSchemasAllWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + $request = $this->customObjectSchemasAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through); + + 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\GetCustomObjectSchemasResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetCustomObjectSchemasResponse', []), + $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\GetCustomObjectSchemasResponse'; + 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\GetCustomObjectSchemasResponse', + $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 customObjectSchemasAllAsync + * + * List custom object schemas + * + * @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\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) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasAllAsync($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + return $this->customObjectSchemasAllAsyncWithHttpInfo($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasAllAsyncWithHttpInfo + * + * List custom object schemas + * + * @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\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) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function customObjectSchemasAllAsyncWithHttpInfo($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + $returnType = '\Apideck\Client\Model\GetCustomObjectSchemasResponse'; + $request = $this->customObjectSchemasAllRequest($raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through); + + 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 'customObjectSchemasAll' + * + * @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\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) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function customObjectSchemasAllRequest($raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null) + { + if ($limit !== null && $limit > 200) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling CrmApi.customObjectSchemasAll, must be smaller than or equal to 200.'); + } + if ($limit !== null && $limit < 1) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling CrmApi.customObjectSchemasAll, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/crm/custom-object-schemas'; + $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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 && 'pass_through' === 'cursor') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter' || 'cursor' === 'pass_through')) { + 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 && 'pass_through' === 'limit') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter' || 'limit' === 'pass_through')) { + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit; + } + } + // 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' === 'pass_through') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter' || 'pass_through' === 'pass_through')) { + if('form' === 'deepObject' && is_array($pass_through)) { + foreach($pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['pass_through'] = $pass_through; + } + } + + // 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 customObjectSchemasDelete + * + * Delete custom object schema + * + * @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\DeleteCustomObjectSchemaResponse|\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 customObjectSchemasDelete($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectSchemasDeleteWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectSchemasDeleteWithHttpInfo + * + * Delete custom object schema + * + * @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\DeleteCustomObjectSchemaResponse|\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 customObjectSchemasDeleteWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectSchemasDeleteRequest($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\DeleteCustomObjectSchemaResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteCustomObjectSchemaResponse', []), + $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\DeleteCustomObjectSchemaResponse'; + 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\DeleteCustomObjectSchemaResponse', + $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 customObjectSchemasDeleteAsync + * + * Delete custom object schema + * + * @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 customObjectSchemasDeleteAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectSchemasDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasDeleteAsyncWithHttpInfo + * + * Delete custom object schema + * + * @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 customObjectSchemasDeleteAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\DeleteCustomObjectSchemaResponse'; + $request = $this->customObjectSchemasDeleteRequest($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 'customObjectSchemasDelete' + * + * @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 customObjectSchemasDeleteRequest($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 customObjectSchemasDelete' + ); + } + + $resourcePath = '/crm/custom-object-schemas/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 customObjectSchemasOne + * + * Get custom object schema + * + * @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\GetCustomObjectSchemaResponse|\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 customObjectSchemasOne($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectSchemasOneWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectSchemasOneWithHttpInfo + * + * Get custom object schema + * + * @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\GetCustomObjectSchemaResponse|\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 customObjectSchemasOneWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectSchemasOneRequest($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\GetCustomObjectSchemaResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetCustomObjectSchemaResponse', []), + $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\GetCustomObjectSchemaResponse'; + 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\GetCustomObjectSchemaResponse', + $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 customObjectSchemasOneAsync + * + * Get custom object schema + * + * @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 customObjectSchemasOneAsync($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectSchemasOneAsyncWithHttpInfo($id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasOneAsyncWithHttpInfo + * + * Get custom object schema + * + * @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 customObjectSchemasOneAsyncWithHttpInfo($id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\GetCustomObjectSchemaResponse'; + $request = $this->customObjectSchemasOneRequest($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 'customObjectSchemasOne' + * + * @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 customObjectSchemasOneRequest($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 customObjectSchemasOne' + ); + } + + $resourcePath = '/crm/custom-object-schemas/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 customObjectSchemasUpdate + * + * Update custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema custom_object_schema (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\UpdateCustomObjectSchemaResponse|\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 customObjectSchemasUpdate($id, $custom_object_schema, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectSchemasUpdateWithHttpInfo($id, $custom_object_schema, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectSchemasUpdateWithHttpInfo + * + * Update custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (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\UpdateCustomObjectSchemaResponse|\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 customObjectSchemasUpdateWithHttpInfo($id, $custom_object_schema, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectSchemasUpdateRequest($id, $custom_object_schema, $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\UpdateCustomObjectSchemaResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateCustomObjectSchemaResponse', []), + $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\UpdateCustomObjectSchemaResponse'; + 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\UpdateCustomObjectSchemaResponse', + $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 customObjectSchemasUpdateAsync + * + * Update custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (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 customObjectSchemasUpdateAsync($id, $custom_object_schema, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectSchemasUpdateAsyncWithHttpInfo($id, $custom_object_schema, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectSchemasUpdateAsyncWithHttpInfo + * + * Update custom object schema + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (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 customObjectSchemasUpdateAsyncWithHttpInfo($id, $custom_object_schema, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\UpdateCustomObjectSchemaResponse'; + $request = $this->customObjectSchemasUpdateRequest($id, $custom_object_schema, $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 'customObjectSchemasUpdate' + * + * @param string $id ID of the record you are acting upon. (required) + * @param \Apideck\Client\Model\CustomObjectSchema $custom_object_schema (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 customObjectSchemasUpdateRequest($id, $custom_object_schema, $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 customObjectSchemasUpdate' + ); + } + // verify the required parameter 'custom_object_schema' is set + if ($custom_object_schema === null || (is_array($custom_object_schema) && count($custom_object_schema) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $custom_object_schema when calling customObjectSchemasUpdate' + ); + } + + $resourcePath = '/crm/custom-object-schemas/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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($custom_object_schema)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($custom_object_schema)); + } else { + $httpBody = $custom_object_schema; + } + } 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 customObjectsAdd + * + * Create custom object + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object custom_object (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\CreateCustomObjectResponse|\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 customObjectsAdd($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + list($response) = $this->customObjectsAddWithHttpInfo($object_id, $custom_object, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id); + return $response; + } + + /** + * Operation customObjectsAddWithHttpInfo + * + * Create custom object + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (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\CreateCustomObjectResponse|\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 customObjectsAddWithHttpInfo($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $request = $this->customObjectsAddRequest($object_id, $custom_object, $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\CreateCustomObjectResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\CreateCustomObjectResponse', []), + $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\CreateCustomObjectResponse'; + 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\CreateCustomObjectResponse', + $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 customObjectsAddAsync + * + * Create custom object + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (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 customObjectsAddAsync($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + return $this->customObjectsAddAsyncWithHttpInfo($object_id, $custom_object, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsAddAsyncWithHttpInfo + * + * Create custom object + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (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 customObjectsAddAsyncWithHttpInfo($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + $returnType = '\Apideck\Client\Model\CreateCustomObjectResponse'; + $request = $this->customObjectsAddRequest($object_id, $custom_object, $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 'customObjectsAdd' + * + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (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 customObjectsAddRequest($object_id, $custom_object, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null) + { + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsAdd' + ); + } + // verify the required parameter 'custom_object' is set + if ($custom_object === null || (is_array($custom_object) && count($custom_object) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $custom_object when calling customObjectsAdd' + ); + } + + $resourcePath = '/crm/custom-objects/{object_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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_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($custom_object)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($custom_object)); + } else { + $httpBody = $custom_object; + } + } 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 customObjectsAll + * + * List custom objects + * + * @param string $object_id The id of the custom object to query (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 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\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\GetCustomObjectsResponse|\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 customObjectsAll($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + list($response) = $this->customObjectsAllWithHttpInfo($object_id, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields); + return $response; + } + + /** + * Operation customObjectsAllWithHttpInfo + * + * List custom objects + * + * @param string $object_id The id of the custom object to query (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 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\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\GetCustomObjectsResponse|\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 customObjectsAllWithHttpInfo($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $request = $this->customObjectsAllRequest($object_id, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $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\GetCustomObjectsResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetCustomObjectsResponse', []), + $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\GetCustomObjectsResponse'; + 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\GetCustomObjectsResponse', + $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 customObjectsAllAsync + * + * List custom objects + * + * @param string $object_id The id of the custom object to query (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 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\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 customObjectsAllAsync($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + return $this->customObjectsAllAsyncWithHttpInfo($object_id, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $pass_through, $fields) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsAllAsyncWithHttpInfo + * + * List custom objects + * + * @param string $object_id The id of the custom object to query (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 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\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 customObjectsAllAsyncWithHttpInfo($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + $returnType = '\Apideck\Client\Model\GetCustomObjectsResponse'; + $request = $this->customObjectsAllRequest($object_id, $raw, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $cursor, $limit, $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 'customObjectsAll' + * + * @param string $object_id The id of the custom object to query (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 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\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 customObjectsAllRequest($object_id, $raw = false, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $cursor = null, $limit = 20, $pass_through = null, $fields = null) + { + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsAll' + ); + } + if ($limit !== null && $limit > 200) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling CrmApi.customObjectsAll, must be smaller than or equal to 200.'); + } + if ($limit !== null && $limit < 1) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling CrmApi.customObjectsAll, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/crm/custom-objects/{object_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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 && 'pass_through' === 'cursor') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($cursor !== null && !('cursor' === 'raw' || 'cursor' === 'sort' || 'cursor' === 'filter' || 'cursor' === 'pass_through')) { + 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 && 'pass_through' === 'limit') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($limit !== null && !('limit' === 'raw' || 'limit' === 'sort' || 'limit' === 'filter' || 'limit' === 'pass_through')) { + if('form' === 'form' && is_array($limit)) { + foreach($limit as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['limit'] = $limit; + } + } + // 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' === 'pass_through') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($pass_through !== null && !('pass_through' === 'raw' || 'pass_through' === 'sort' || 'pass_through' === 'filter' || 'pass_through' === 'pass_through')) { + 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 && 'pass_through' === 'fields') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($fields !== null && !('fields' === 'raw' || 'fields' === 'sort' || 'fields' === 'filter' || 'fields' === 'pass_through')) { + 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 ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_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 customObjectsDelete + * + * Delete custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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\DeleteCustomObjectResponse|\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 customObjectsDelete($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectsDeleteWithHttpInfo($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectsDeleteWithHttpInfo + * + * Delete custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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\DeleteCustomObjectResponse|\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 customObjectsDeleteWithHttpInfo($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectsDeleteRequest($id, $object_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\DeleteCustomObjectResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\DeleteCustomObjectResponse', []), + $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\DeleteCustomObjectResponse'; + 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\DeleteCustomObjectResponse', + $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 customObjectsDeleteAsync + * + * Delete custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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 customObjectsDeleteAsync($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectsDeleteAsyncWithHttpInfo($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsDeleteAsyncWithHttpInfo + * + * Delete custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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 customObjectsDeleteAsyncWithHttpInfo($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\DeleteCustomObjectResponse'; + $request = $this->customObjectsDeleteRequest($id, $object_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 'customObjectsDelete' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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 customObjectsDeleteRequest($id, $object_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 customObjectsDelete' + ); + } + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsDelete' + ); + } + + $resourcePath = '/crm/custom-objects/{object_id}/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 + ); + } + // path params + if ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_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 customObjectsOne + * + * Get custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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\GetCustomObjectResponse|\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 customObjectsOne($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectsOneWithHttpInfo($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectsOneWithHttpInfo + * + * Get custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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\GetCustomObjectResponse|\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 customObjectsOneWithHttpInfo($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectsOneRequest($id, $object_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\GetCustomObjectResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\GetCustomObjectResponse', []), + $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\GetCustomObjectResponse'; + 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\GetCustomObjectResponse', + $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 customObjectsOneAsync + * + * Get custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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 customObjectsOneAsync($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectsOneAsyncWithHttpInfo($id, $object_id, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsOneAsyncWithHttpInfo + * + * Get custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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 customObjectsOneAsyncWithHttpInfo($id, $object_id, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\GetCustomObjectResponse'; + $request = $this->customObjectsOneRequest($id, $object_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 'customObjectsOne' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (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 customObjectsOneRequest($id, $object_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 customObjectsOne' + ); + } + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsOne' + ); + } + + $resourcePath = '/crm/custom-objects/{object_id}/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 + ); + } + // path params + if ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_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 customObjectsUpdate + * + * Update custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object custom_object (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\UpdateCustomObjectResponse|\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 customObjectsUpdate($id, $object_id, $custom_object, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + list($response) = $this->customObjectsUpdateWithHttpInfo($id, $object_id, $custom_object, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw); + return $response; + } + + /** + * Operation customObjectsUpdateWithHttpInfo + * + * Update custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (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\UpdateCustomObjectResponse|\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 customObjectsUpdateWithHttpInfo($id, $object_id, $custom_object, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $request = $this->customObjectsUpdateRequest($id, $object_id, $custom_object, $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\UpdateCustomObjectResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, '\Apideck\Client\Model\UpdateCustomObjectResponse', []), + $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\UpdateCustomObjectResponse'; + 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\UpdateCustomObjectResponse', + $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 customObjectsUpdateAsync + * + * Update custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (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 customObjectsUpdateAsync($id, $object_id, $custom_object, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + return $this->customObjectsUpdateAsyncWithHttpInfo($id, $object_id, $custom_object, $x_apideck_consumer_id, $x_apideck_app_id, $x_apideck_service_id, $raw) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation customObjectsUpdateAsyncWithHttpInfo + * + * Update custom object + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (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 customObjectsUpdateAsyncWithHttpInfo($id, $object_id, $custom_object, $x_apideck_consumer_id = null, $x_apideck_app_id = null, $x_apideck_service_id = null, $raw = false) + { + $returnType = '\Apideck\Client\Model\UpdateCustomObjectResponse'; + $request = $this->customObjectsUpdateRequest($id, $object_id, $custom_object, $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 'customObjectsUpdate' + * + * @param string $id ID of the record you are acting upon. (required) + * @param string $object_id The id of the custom object to query (required) + * @param \Apideck\Client\Model\CustomObject $custom_object (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 customObjectsUpdateRequest($id, $object_id, $custom_object, $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 customObjectsUpdate' + ); + } + // verify the required parameter 'object_id' is set + if ($object_id === null || (is_array($object_id) && count($object_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $object_id when calling customObjectsUpdate' + ); + } + // verify the required parameter 'custom_object' is set + if ($custom_object === null || (is_array($custom_object) && count($custom_object) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $custom_object when calling customObjectsUpdate' + ); + } + + $resourcePath = '/crm/custom-objects/{object_id}/{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 && 'pass_through' === 'raw') { + // Support for pass_through options + $pass_through_data = $pass_through->jsonSerialize(); + foreach($pass_through_data as $key => $value) { + $queryParams['pass_through['.$key.']'] = $value; + } + } + if ($raw !== null && !('raw' === 'raw' || 'raw' === 'sort' || 'raw' === 'filter' || 'raw' === 'pass_through')) { + 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 + ); + } + // path params + if ($object_id !== null) { + $resourcePath = str_replace( + '{' . 'object_id' . '}', + ObjectSerializer::toPathValue($object_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($custom_object)) { + if ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($custom_object)); + } else { + $httpBody = $custom_object; + } + } 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 leadsAdd * diff --git a/src/gen/lib/Api/EcommerceApi.php b/src/gen/lib/Api/EcommerceApi.php index c2ae759c3..e0921e41f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7df6db550..a3f2dcc2e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1008a8869..b55cdc412 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 60235c49c..eeb49f682 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d9cca3dde..feb341e58 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 abd021110..bb4f1106b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 edbaead53..ccf90c545 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b8ef8657c..63a87c9b5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7c15d692c..5546d6db8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 043ad4dca..20d4f5a88 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 161d595a9..7c87eb97b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -98,7 +98,7 @@ class Configuration * * @var string */ - protected $userAgent = 'Apideck-php-sdk/3.10.0 Unify-spec/10.14.1'; + protected $userAgent = 'Apideck-php-sdk/3.11.0 Unify-spec/10.17.2'; /** * Debug switch (default set to false) @@ -448,8 +448,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.14.1' . PHP_EOL; - $report .= ' SDK Package Version: 3.10.0' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 10.17.2' . PHP_EOL; + $report .= ' SDK Package Version: 3.11.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 6098e21e9..a80164bb4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index f07064d9a..541b106aa 100644 --- a/src/gen/lib/Model/AccountingDepartment.php +++ b/src/gen/lib/Model/AccountingDepartment.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,8 @@ class AccountingDepartment implements ModelInterface, ArrayAccess, \JsonSerializ 'name' => 'string', 'status' => 'string', 'subsidiaries' => '\Apideck\Client\Model\SubsidiaryReference[]', - 'custom_mappings' => 'object', + 'code' => 'string', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -87,6 +88,7 @@ class AccountingDepartment implements ModelInterface, ArrayAccess, \JsonSerializ 'name' => null, 'status' => null, 'subsidiaries' => null, + 'code' => null, 'custom_mappings' => null, 'row_version' => null, 'updated_by' => null, @@ -128,6 +130,7 @@ public static function openAPIFormats() 'name' => 'name', 'status' => 'status', 'subsidiaries' => 'subsidiaries', + 'code' => 'code', 'custom_mappings' => 'custom_mappings', 'row_version' => 'row_version', 'updated_by' => 'updated_by', @@ -148,6 +151,7 @@ public static function openAPIFormats() 'name' => 'setName', 'status' => 'setStatus', 'subsidiaries' => 'setSubsidiaries', + 'code' => 'setCode', 'custom_mappings' => 'setCustomMappings', 'row_version' => 'setRowVersion', 'updated_by' => 'setUpdatedBy', @@ -168,6 +172,7 @@ public static function openAPIFormats() 'name' => 'getName', 'status' => 'getStatus', 'subsidiaries' => 'getSubsidiaries', + 'code' => 'getCode', 'custom_mappings' => 'getCustomMappings', 'row_version' => 'getRowVersion', 'updated_by' => 'getUpdatedBy', @@ -254,6 +259,7 @@ public function __construct(array $data = null) $this->container['name'] = $data['name'] ?? null; $this->container['status'] = $data['status'] ?? null; $this->container['subsidiaries'] = $data['subsidiaries'] ?? null; + $this->container['code'] = $data['code'] ?? 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; @@ -426,10 +432,34 @@ public function setSubsidiaries($subsidiaries) return $this; } + /** + * Gets code + * + * @return string|null + */ + public function getCode() + { + return $this->container['code']; + } + + /** + * Sets code + * + * @param string|null $code The code of the department. + * + * @return self + */ + public function setCode($code) + { + $this->container['code'] = $code; + + return $this; + } + /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -439,7 +469,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/AccountingDepartmentsFilter.php b/src/gen/lib/Model/AccountingDepartmentsFilter.php index a3a09fa50..a7bc1676c 100644 --- a/src/gen/lib/Model/AccountingDepartmentsFilter.php +++ b/src/gen/lib/Model/AccountingDepartmentsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AccountingEventType.php b/src/gen/lib/Model/AccountingEventType.php index 95aefc7aa..c7180b397 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index c3c82e4af..03c0f2f0d 100644 --- a/src/gen/lib/Model/AccountingLocation.php +++ b/src/gen/lib/Model/AccountingLocation.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -67,7 +67,7 @@ class AccountingLocation implements ModelInterface, ArrayAccess, \JsonSerializab 'status' => 'string', 'addresses' => '\Apideck\Client\Model\Address[]', 'subsidiaries' => '\Apideck\Client\Model\SubsidiaryReference[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -489,7 +489,7 @@ public function setSubsidiaries($subsidiaries) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -499,7 +499,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/AccountingLocationsFilter.php b/src/gen/lib/Model/AccountingLocationsFilter.php index 3b6d88a7a..87e714bbb 100644 --- a/src/gen/lib/Model/AccountingLocationsFilter.php +++ b/src/gen/lib/Model/AccountingLocationsFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ActivitiesFilter.php b/src/gen/lib/Model/ActivitiesFilter.php index d68fa1daf..4456610fb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4c0044fa9..d7b637aa5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bf77e5bca..d6568e111 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -106,7 +106,7 @@ class Activity implements ModelInterface, ArrayAccess, \JsonSerializable 'video_conference_id' => 'string', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'attendees' => '\Apideck\Client\Model\ActivityAttendee[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => 'string', @@ -1713,7 +1713,7 @@ public function setAttendees($attendees) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1723,7 +1723,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ActivityAttendee.php b/src/gen/lib/Model/ActivityAttendee.php index ed0dd386a..10cb08a3f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7d064ac06..613db118b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AgedCreditors.php b/src/gen/lib/Model/AgedCreditors.php index b675ca544..cc8cfa53c 100644 --- a/src/gen/lib/Model/AgedCreditors.php +++ b/src/gen/lib/Model/AgedCreditors.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AgedDebtors.php b/src/gen/lib/Model/AgedDebtors.php index a877a3871..36d235cea 100644 --- a/src/gen/lib/Model/AgedDebtors.php +++ b/src/gen/lib/Model/AgedDebtors.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AgedReportFilter.php b/src/gen/lib/Model/AgedReportFilter.php index 476eb7387..d2bac2c84 100644 --- a/src/gen/lib/Model/AgedReportFilter.php +++ b/src/gen/lib/Model/AgedReportFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Allocation.php b/src/gen/lib/Model/Allocation.php index 375b8263d..2770f5e18 100644 --- a/src/gen/lib/Model/Allocation.php +++ b/src/gen/lib/Model/Allocation.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6e0512457..d2fd81e44 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 54d3da4ae..62a48e9bd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dee364744..e1cde97f0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6acad28cb..157a9df3f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d444b77ce..1474a7328 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3ac1ec420..bb2097067 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 830072699..26f3c489d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e3fb74343..4be609e3f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 40492c3db..508371368 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -96,7 +96,7 @@ class Applicant implements ModelInterface, ArrayAccess, \JsonSerializable 'cv_url' => 'string', 'record_url' => 'string', 'rejected_at' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'deleted' => 'bool', 'deleted_by' => 'string', 'deleted_at' => '\DateTime', @@ -1337,7 +1337,7 @@ public function setRejectedAt($rejected_at) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1347,7 +1347,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ApplicantSocialLinks.php b/src/gen/lib/Model/ApplicantSocialLinks.php index 9fc36333f..774c938de 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e80bb00e9..fa5baa0d7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b0416ceb5..532a60862 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 032b9b6af..399568669 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,7 @@ class Application implements ModelInterface, ArrayAccess, \JsonSerializable 'id' => 'string', 'status' => 'string', 'stage' => '\Apideck\Client\Model\ApplicationStage', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -435,7 +435,7 @@ public function setStage($stage) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -445,7 +445,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ApplicationStage.php b/src/gen/lib/Model/ApplicationStage.php index dfb3ecb49..ecb042b78 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 985d5be9d..666a0459b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e6a4e5bbf..6b30356ab 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -61,7 +61,7 @@ class AtsActivity implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPITypes = [ 'id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -263,7 +263,7 @@ public function setId($id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -273,7 +273,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/AtsEventType.php b/src/gen/lib/Model/AtsEventType.php index b1a9e6e08..6dc3fb94f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Attachment.php b/src/gen/lib/Model/Attachment.php index 72bde2275..36d0d9335 100644 --- a/src/gen/lib/Model/Attachment.php +++ b/src/gen/lib/Model/Attachment.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AttachmentReference.php b/src/gen/lib/Model/AttachmentReference.php index ecd093e60..7705da4dc 100644 --- a/src/gen/lib/Model/AttachmentReference.php +++ b/src/gen/lib/Model/AttachmentReference.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/AttachmentReferenceType.php b/src/gen/lib/Model/AttachmentReferenceType.php index f065b2524..8b481a751 100644 --- a/src/gen/lib/Model/AttachmentReferenceType.php +++ b/src/gen/lib/Model/AttachmentReferenceType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ab8a0071f..86476b446 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 19fb7ddac..4256d4357 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceByPeriod.php b/src/gen/lib/Model/BalanceByPeriod.php index 358017007..44ea74a8a 100644 --- a/src/gen/lib/Model/BalanceByPeriod.php +++ b/src/gen/lib/Model/BalanceByPeriod.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceByTransaction.php b/src/gen/lib/Model/BalanceByTransaction.php index 1d3b87542..0cd9dc38f 100644 --- a/src/gen/lib/Model/BalanceByTransaction.php +++ b/src/gen/lib/Model/BalanceByTransaction.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6ba3e0c1d..c8f75c3c4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetAccount.php b/src/gen/lib/Model/BalanceSheetAccount.php index d7466d63b..599007dbe 100644 --- a/src/gen/lib/Model/BalanceSheetAccount.php +++ b/src/gen/lib/Model/BalanceSheetAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetAccountRecord.php b/src/gen/lib/Model/BalanceSheetAccountRecord.php index d4bf48f2a..ed766117a 100644 --- a/src/gen/lib/Model/BalanceSheetAccountRecord.php +++ b/src/gen/lib/Model/BalanceSheetAccountRecord.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetAssetsAccount.php b/src/gen/lib/Model/BalanceSheetAssetsAccount.php index c629bf6ac..c579cf8bb 100644 --- a/src/gen/lib/Model/BalanceSheetAssetsAccount.php +++ b/src/gen/lib/Model/BalanceSheetAssetsAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetEquityAccount.php b/src/gen/lib/Model/BalanceSheetEquityAccount.php index d43acf3b0..780b76a6b 100644 --- a/src/gen/lib/Model/BalanceSheetEquityAccount.php +++ b/src/gen/lib/Model/BalanceSheetEquityAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6bb72c4c1..2bfa0c192 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetLiabilitiesAccount.php b/src/gen/lib/Model/BalanceSheetLiabilitiesAccount.php index 96a56c3e8..dabf2f85c 100644 --- a/src/gen/lib/Model/BalanceSheetLiabilitiesAccount.php +++ b/src/gen/lib/Model/BalanceSheetLiabilitiesAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BalanceSheetReports.php b/src/gen/lib/Model/BalanceSheetReports.php index 7ebf4b734..24a32387b 100644 --- a/src/gen/lib/Model/BalanceSheetReports.php +++ b/src/gen/lib/Model/BalanceSheetReports.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class BalanceSheetReports implements ModelInterface, ArrayAccess, \JsonSerializa 'start_date' => 'string', 'currency' => '\Apideck\Client\Model\Currency', 'net_assets' => 'float', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -539,7 +539,7 @@ public function setNetAssets($net_assets) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -549,7 +549,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/BalanceSheetUncategorizedItemsAccount.php b/src/gen/lib/Model/BalanceSheetUncategorizedItemsAccount.php index 550a4e13a..569e923fb 100644 --- a/src/gen/lib/Model/BalanceSheetUncategorizedItemsAccount.php +++ b/src/gen/lib/Model/BalanceSheetUncategorizedItemsAccount.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5363365d3..e2837cd7a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BankFeedAccount.php b/src/gen/lib/Model/BankFeedAccount.php new file mode 100644 index 000000000..e00aea6bb --- /dev/null +++ b/src/gen/lib/Model/BankFeedAccount.php @@ -0,0 +1,827 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class BankFeedAccount implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'BankFeedAccount'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'bank_account_type' => 'string', + 'source_account_id' => 'string', + 'target_account_id' => 'string', + 'target_account_name' => 'string', + 'target_account_number' => 'string', + 'currency' => '\Apideck\Client\Model\Currency', + 'feed_status' => 'string', + 'country' => 'string', + 'custom_fields' => '\Apideck\Client\Model\CustomField[]', + 'custom_mappings' => 'array', + 'created_at' => '\DateTime', + 'updated_at' => '\DateTime', + 'updated_by' => 'string', + 'created_by' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'bank_account_type' => null, + 'source_account_id' => null, + 'target_account_id' => null, + 'target_account_name' => null, + 'target_account_number' => null, + 'currency' => null, + 'feed_status' => null, + 'country' => null, + 'custom_fields' => null, + 'custom_mappings' => null, + 'created_at' => 'date-time', + 'updated_at' => 'date-time', + 'updated_by' => null, + 'created_by' => 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', + 'bank_account_type' => 'bank_account_type', + 'source_account_id' => 'source_account_id', + 'target_account_id' => 'target_account_id', + 'target_account_name' => 'target_account_name', + 'target_account_number' => 'target_account_number', + 'currency' => 'currency', + 'feed_status' => 'feed_status', + 'country' => 'country', + 'custom_fields' => 'custom_fields', + 'custom_mappings' => 'custom_mappings', + 'created_at' => 'created_at', + 'updated_at' => 'updated_at', + 'updated_by' => 'updated_by', + 'created_by' => 'created_by' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'bank_account_type' => 'setBankAccountType', + 'source_account_id' => 'setSourceAccountId', + 'target_account_id' => 'setTargetAccountId', + 'target_account_name' => 'setTargetAccountName', + 'target_account_number' => 'setTargetAccountNumber', + 'currency' => 'setCurrency', + 'feed_status' => 'setFeedStatus', + 'country' => 'setCountry', + 'custom_fields' => 'setCustomFields', + 'custom_mappings' => 'setCustomMappings', + 'created_at' => 'setCreatedAt', + 'updated_at' => 'setUpdatedAt', + 'updated_by' => 'setUpdatedBy', + 'created_by' => 'setCreatedBy' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'bank_account_type' => 'getBankAccountType', + 'source_account_id' => 'getSourceAccountId', + 'target_account_id' => 'getTargetAccountId', + 'target_account_name' => 'getTargetAccountName', + 'target_account_number' => 'getTargetAccountNumber', + 'currency' => 'getCurrency', + 'feed_status' => 'getFeedStatus', + 'country' => 'getCountry', + 'custom_fields' => 'getCustomFields', + 'custom_mappings' => 'getCustomMappings', + 'created_at' => 'getCreatedAt', + 'updated_at' => 'getUpdatedAt', + 'updated_by' => 'getUpdatedBy', + 'created_by' => 'getCreatedBy' + ]; + + /** + * 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 BANK_ACCOUNT_TYPE_BANK = 'bank'; + const BANK_ACCOUNT_TYPE_CREDIT_CARD = 'credit_card'; + const FEED_STATUS_PENDING = 'pending'; + const FEED_STATUS_REJECTED = 'rejected'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getBankAccountTypeAllowableValues() + { + return [ + self::BANK_ACCOUNT_TYPE_BANK, + self::BANK_ACCOUNT_TYPE_CREDIT_CARD, + ]; + } + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getFeedStatusAllowableValues() + { + return [ + self::FEED_STATUS_PENDING, + self::FEED_STATUS_REJECTED, + ]; + } + + /** + * 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['bank_account_type'] = $data['bank_account_type'] ?? null; + $this->container['source_account_id'] = $data['source_account_id'] ?? null; + $this->container['target_account_id'] = $data['target_account_id'] ?? null; + $this->container['target_account_name'] = $data['target_account_name'] ?? null; + $this->container['target_account_number'] = $data['target_account_number'] ?? null; + $this->container['currency'] = $data['currency'] ?? null; + $this->container['feed_status'] = $data['feed_status'] ?? null; + $this->container['country'] = $data['country'] ?? null; + $this->container['custom_fields'] = $data['custom_fields'] ?? null; + $this->container['custom_mappings'] = $data['custom_mappings'] ?? null; + $this->container['created_at'] = $data['created_at'] ?? null; + $this->container['updated_at'] = $data['updated_at'] ?? null; + $this->container['updated_by'] = $data['updated_by'] ?? null; + $this->container['created_by'] = $data['created_by'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['id'] === null) { + $invalidProperties[] = "'id' can't be null"; + } + $allowedValues = $this->getBankAccountTypeAllowableValues(); + if (!is_null($this->container['bank_account_type']) && !in_array($this->container['bank_account_type'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'bank_account_type', must be one of '%s'", + $this->container['bank_account_type'], + implode("', '", $allowedValues) + ); + } + + $allowedValues = $this->getFeedStatusAllowableValues(); + if (!is_null($this->container['feed_status']) && !in_array($this->container['feed_status'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'feed_status', must be one of '%s'", + $this->container['feed_status'], + implode("', '", $allowedValues) + ); + } + + if (!is_null($this->container['country']) && (mb_strlen($this->container['country']) > 2)) { + $invalidProperties[] = "invalid value for 'country', the character length must be smaller than or equal to 2."; + } + + if (!is_null($this->container['country']) && (mb_strlen($this->container['country']) < 2)) { + $invalidProperties[] = "invalid value for 'country', the character length must be bigger than or equal to 2."; + } + + 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 + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string $id A unique identifier for an object. + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets bank_account_type + * + * @return string|null + */ + public function getBankAccountType() + { + return $this->container['bank_account_type']; + } + + /** + * Sets bank_account_type + * + * @param string|null $bank_account_type Type of the bank account. + * + * @return self + */ + public function setBankAccountType($bank_account_type) + { + $allowedValues = $this->getBankAccountTypeAllowableValues(); + if (!is_null($bank_account_type) && !in_array($bank_account_type, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'bank_account_type', must be one of '%s'", + $bank_account_type, + implode("', '", $allowedValues) + ) + ); + } + $this->container['bank_account_type'] = $bank_account_type; + + return $this; + } + + /** + * Gets source_account_id + * + * @return string|null + */ + public function getSourceAccountId() + { + return $this->container['source_account_id']; + } + + /** + * Sets source_account_id + * + * @param string|null $source_account_id The source account's unique identifier. + * + * @return self + */ + public function setSourceAccountId($source_account_id) + { + $this->container['source_account_id'] = $source_account_id; + + return $this; + } + + /** + * Gets target_account_id + * + * @return string|null + */ + public function getTargetAccountId() + { + return $this->container['target_account_id']; + } + + /** + * Sets target_account_id + * + * @param string|null $target_account_id The target account's unique identifier in the accounting connector. + * + * @return self + */ + public function setTargetAccountId($target_account_id) + { + $this->container['target_account_id'] = $target_account_id; + + return $this; + } + + /** + * Gets target_account_name + * + * @return string|null + */ + public function getTargetAccountName() + { + return $this->container['target_account_name']; + } + + /** + * Sets target_account_name + * + * @param string|null $target_account_name Name associated with the target account. + * + * @return self + */ + public function setTargetAccountName($target_account_name) + { + $this->container['target_account_name'] = $target_account_name; + + return $this; + } + + /** + * Gets target_account_number + * + * @return string|null + */ + public function getTargetAccountNumber() + { + return $this->container['target_account_number']; + } + + /** + * Sets target_account_number + * + * @param string|null $target_account_number Account number of the destination bank account. + * + * @return self + */ + public function setTargetAccountNumber($target_account_number) + { + $this->container['target_account_number'] = $target_account_number; + + return $this; + } + + /** + * Gets currency + * + * @return \Apideck\Client\Model\Currency|null + */ + public function getCurrency() + { + return $this->container['currency']; + } + + /** + * Sets currency + * + * @param \Apideck\Client\Model\Currency|null $currency currency + * + * @return self + */ + public function setCurrency($currency) + { + $this->container['currency'] = $currency; + + return $this; + } + + /** + * Gets feed_status + * + * @return string|null + */ + public function getFeedStatus() + { + return $this->container['feed_status']; + } + + /** + * Sets feed_status + * + * @param string|null $feed_status Current status of the bank feed. + * + * @return self + */ + public function setFeedStatus($feed_status) + { + $allowedValues = $this->getFeedStatusAllowableValues(); + if (!is_null($feed_status) && !in_array($feed_status, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'feed_status', must be one of '%s'", + $feed_status, + implode("', '", $allowedValues) + ) + ); + } + $this->container['feed_status'] = $feed_status; + + return $this; + } + + /** + * Gets country + * + * @return string|null + */ + public function getCountry() + { + return $this->container['country']; + } + + /** + * Sets country + * + * @param string|null $country Country code according to ISO 3166-1 alpha-2. + * + * @return self + */ + public function setCountry($country) + { + if (!is_null($country) && (mb_strlen($country) > 2)) { + throw new \InvalidArgumentException('invalid length for $country when calling BankFeedAccount., must be smaller than or equal to 2.'); + } + if (!is_null($country) && (mb_strlen($country) < 2)) { + throw new \InvalidArgumentException('invalid length for $country when calling BankFeedAccount., must be bigger than or equal to 2.'); + } + + $this->container['country'] = $country; + + return $this; + } + + /** + * Gets custom_fields + * + * @return \Apideck\Client\Model\CustomField[]|null + */ + public function getCustomFields() + { + return $this->container['custom_fields']; + } + + /** + * Sets custom_fields + * + * @param \Apideck\Client\Model\CustomField[]|null $custom_fields custom_fields + * + * @return self + */ + public function setCustomFields($custom_fields) + { + $this->container['custom_fields'] = $custom_fields; + + return $this; + } + + /** + * Gets custom_mappings + * + * @return array|null + */ + public function getCustomMappings() + { + return $this->container['custom_mappings']; + } + + /** + * Sets custom_mappings + * + * @param array|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 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; + } + + /** + * 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 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; + } + /** + * 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/BankFeedStatement.php b/src/gen/lib/Model/BankFeedStatement.php new file mode 100644 index 000000000..f0d857be7 --- /dev/null +++ b/src/gen/lib/Model/BankFeedStatement.php @@ -0,0 +1,750 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class BankFeedStatement implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'BankFeedStatement'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'bank_feed_account_id' => 'string', + 'status' => 'string', + 'start_date' => '\DateTime', + 'end_date' => '\DateTime', + 'start_balance' => 'float', + 'start_balance_credit_or_debit' => '\Apideck\Client\Model\CreditOrDebit', + 'end_balance' => 'float', + 'end_balance_credit_or_debit' => '\Apideck\Client\Model\CreditOrDebit', + 'transactions' => '\Apideck\Client\Model\BankFeedStatementTransactions[]', + 'created_at' => '\DateTime', + 'created_by' => 'string', + 'updated_at' => '\DateTime', + 'updated_by' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'bank_feed_account_id' => null, + 'status' => null, + 'start_date' => 'date-time', + 'end_date' => 'date-time', + 'start_balance' => null, + 'start_balance_credit_or_debit' => null, + 'end_balance' => null, + 'end_balance_credit_or_debit' => null, + 'transactions' => null, + 'created_at' => 'date-time', + 'created_by' => null, + 'updated_at' => 'date-time', + 'updated_by' => 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', + 'bank_feed_account_id' => 'bank_feed_account_id', + 'status' => 'status', + 'start_date' => 'start_date', + 'end_date' => 'end_date', + 'start_balance' => 'start_balance', + 'start_balance_credit_or_debit' => 'start_balance_credit_or_debit', + 'end_balance' => 'end_balance', + 'end_balance_credit_or_debit' => 'end_balance_credit_or_debit', + 'transactions' => 'transactions', + 'created_at' => 'created_at', + 'created_by' => 'created_by', + 'updated_at' => 'updated_at', + 'updated_by' => 'updated_by' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'bank_feed_account_id' => 'setBankFeedAccountId', + 'status' => 'setStatus', + 'start_date' => 'setStartDate', + 'end_date' => 'setEndDate', + 'start_balance' => 'setStartBalance', + 'start_balance_credit_or_debit' => 'setStartBalanceCreditOrDebit', + 'end_balance' => 'setEndBalance', + 'end_balance_credit_or_debit' => 'setEndBalanceCreditOrDebit', + 'transactions' => 'setTransactions', + 'created_at' => 'setCreatedAt', + 'created_by' => 'setCreatedBy', + 'updated_at' => 'setUpdatedAt', + 'updated_by' => 'setUpdatedBy' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'bank_feed_account_id' => 'getBankFeedAccountId', + 'status' => 'getStatus', + 'start_date' => 'getStartDate', + 'end_date' => 'getEndDate', + 'start_balance' => 'getStartBalance', + 'start_balance_credit_or_debit' => 'getStartBalanceCreditOrDebit', + 'end_balance' => 'getEndBalance', + 'end_balance_credit_or_debit' => 'getEndBalanceCreditOrDebit', + 'transactions' => 'getTransactions', + 'created_at' => 'getCreatedAt', + 'created_by' => 'getCreatedBy', + 'updated_at' => 'getUpdatedAt', + 'updated_by' => 'getUpdatedBy' + ]; + + /** + * 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_PENDING = 'pending'; + const STATUS_REJECTED = 'rejected'; + const STATUS_SUCCESS = 'success'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getStatusAllowableValues() + { + return [ + self::STATUS_PENDING, + self::STATUS_REJECTED, + self::STATUS_SUCCESS, + ]; + } + + /** + * 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['bank_feed_account_id'] = $data['bank_feed_account_id'] ?? null; + $this->container['status'] = $data['status'] ?? null; + $this->container['start_date'] = $data['start_date'] ?? null; + $this->container['end_date'] = $data['end_date'] ?? null; + $this->container['start_balance'] = $data['start_balance'] ?? null; + $this->container['start_balance_credit_or_debit'] = $data['start_balance_credit_or_debit'] ?? null; + $this->container['end_balance'] = $data['end_balance'] ?? null; + $this->container['end_balance_credit_or_debit'] = $data['end_balance_credit_or_debit'] ?? null; + $this->container['transactions'] = $data['transactions'] ?? null; + $this->container['created_at'] = $data['created_at'] ?? null; + $this->container['created_by'] = $data['created_by'] ?? null; + $this->container['updated_at'] = $data['updated_at'] ?? null; + $this->container['updated_by'] = $data['updated_by'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['id'] === null) { + $invalidProperties[] = "'id' can't be null"; + } + $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 + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string $id A unique identifier for an object. + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets bank_feed_account_id + * + * @return string|null + */ + public function getBankFeedAccountId() + { + return $this->container['bank_feed_account_id']; + } + + /** + * Sets bank_feed_account_id + * + * @param string|null $bank_feed_account_id The ID of the bank feed account this statement belongs to. + * + * @return self + */ + public function setBankFeedAccountId($bank_feed_account_id) + { + $this->container['bank_feed_account_id'] = $bank_feed_account_id; + + return $this; + } + + /** + * Gets status + * + * @return string|null + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string|null $status The current status of the bank feed statement. + * + * @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 start_date + * + * @return \DateTime|null + */ + public function getStartDate() + { + return $this->container['start_date']; + } + + /** + * Sets start_date + * + * @param \DateTime|null $start_date Start date of the bank feed statement. + * + * @return self + */ + public function setStartDate($start_date) + { + $this->container['start_date'] = $start_date; + + return $this; + } + + /** + * Gets end_date + * + * @return \DateTime|null + */ + public function getEndDate() + { + return $this->container['end_date']; + } + + /** + * Sets end_date + * + * @param \DateTime|null $end_date End date of the bank feed statement. + * + * @return self + */ + public function setEndDate($end_date) + { + $this->container['end_date'] = $end_date; + + return $this; + } + + /** + * Gets start_balance + * + * @return float|null + */ + public function getStartBalance() + { + return $this->container['start_balance']; + } + + /** + * Sets start_balance + * + * @param float|null $start_balance Balance amount at the start of the period. + * + * @return self + */ + public function setStartBalance($start_balance) + { + $this->container['start_balance'] = $start_balance; + + return $this; + } + + /** + * Gets start_balance_credit_or_debit + * + * @return \Apideck\Client\Model\CreditOrDebit|null + */ + public function getStartBalanceCreditOrDebit() + { + return $this->container['start_balance_credit_or_debit']; + } + + /** + * Sets start_balance_credit_or_debit + * + * @param \Apideck\Client\Model\CreditOrDebit|null $start_balance_credit_or_debit start_balance_credit_or_debit + * + * @return self + */ + public function setStartBalanceCreditOrDebit($start_balance_credit_or_debit) + { + $this->container['start_balance_credit_or_debit'] = $start_balance_credit_or_debit; + + return $this; + } + + /** + * Gets end_balance + * + * @return float|null + */ + public function getEndBalance() + { + return $this->container['end_balance']; + } + + /** + * Sets end_balance + * + * @param float|null $end_balance Balance amount at the end of the period. + * + * @return self + */ + public function setEndBalance($end_balance) + { + $this->container['end_balance'] = $end_balance; + + return $this; + } + + /** + * Gets end_balance_credit_or_debit + * + * @return \Apideck\Client\Model\CreditOrDebit|null + */ + public function getEndBalanceCreditOrDebit() + { + return $this->container['end_balance_credit_or_debit']; + } + + /** + * Sets end_balance_credit_or_debit + * + * @param \Apideck\Client\Model\CreditOrDebit|null $end_balance_credit_or_debit end_balance_credit_or_debit + * + * @return self + */ + public function setEndBalanceCreditOrDebit($end_balance_credit_or_debit) + { + $this->container['end_balance_credit_or_debit'] = $end_balance_credit_or_debit; + + return $this; + } + + /** + * Gets transactions + * + * @return \Apideck\Client\Model\BankFeedStatementTransactions[]|null + */ + public function getTransactions() + { + return $this->container['transactions']; + } + + /** + * Sets transactions + * + * @param \Apideck\Client\Model\BankFeedStatementTransactions[]|null $transactions List of transactions in the bank feed statement. + * + * @return self + */ + public function setTransactions($transactions) + { + $this->container['transactions'] = $transactions; + + 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; + } + + /** + * 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 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; + } + /** + * 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/BankFeedStatementTransactions.php b/src/gen/lib/Model/BankFeedStatementTransactions.php new file mode 100644 index 000000000..087ed4397 --- /dev/null +++ b/src/gen/lib/Model/BankFeedStatementTransactions.php @@ -0,0 +1,585 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class BankFeedStatementTransactions implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'BankFeedStatement_transactions'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'posted_date' => '\DateTime', + 'amount' => 'float', + 'credit_or_debit' => '\Apideck\Client\Model\CreditOrDebit', + 'source_transaction_id' => 'string', + 'description' => 'string', + 'counterparty' => 'string', + 'reference' => 'string', + 'transaction_type' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'posted_date' => 'date-time', + 'amount' => null, + 'credit_or_debit' => null, + 'source_transaction_id' => null, + 'description' => null, + 'counterparty' => null, + 'reference' => null, + 'transaction_type' => 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 = [ + 'posted_date' => 'posted_date', + 'amount' => 'amount', + 'credit_or_debit' => 'credit_or_debit', + 'source_transaction_id' => 'source_transaction_id', + 'description' => 'description', + 'counterparty' => 'counterparty', + 'reference' => 'reference', + 'transaction_type' => 'transaction_type' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'posted_date' => 'setPostedDate', + 'amount' => 'setAmount', + 'credit_or_debit' => 'setCreditOrDebit', + 'source_transaction_id' => 'setSourceTransactionId', + 'description' => 'setDescription', + 'counterparty' => 'setCounterparty', + 'reference' => 'setReference', + 'transaction_type' => 'setTransactionType' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'posted_date' => 'getPostedDate', + 'amount' => 'getAmount', + 'credit_or_debit' => 'getCreditOrDebit', + 'source_transaction_id' => 'getSourceTransactionId', + 'description' => 'getDescription', + 'counterparty' => 'getCounterparty', + 'reference' => 'getReference', + 'transaction_type' => 'getTransactionType' + ]; + + /** + * 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 TRANSACTION_TYPE_CREDIT = 'credit'; + const TRANSACTION_TYPE_DEBIT = 'debit'; + const TRANSACTION_TYPE_DEPOSIT = 'deposit'; + const TRANSACTION_TYPE_TRANSFER = 'transfer'; + const TRANSACTION_TYPE_PAYMENT = 'payment'; + const TRANSACTION_TYPE_OTHER = 'other'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getTransactionTypeAllowableValues() + { + return [ + self::TRANSACTION_TYPE_CREDIT, + self::TRANSACTION_TYPE_DEBIT, + self::TRANSACTION_TYPE_DEPOSIT, + self::TRANSACTION_TYPE_TRANSFER, + self::TRANSACTION_TYPE_PAYMENT, + self::TRANSACTION_TYPE_OTHER, + ]; + } + + /** + * 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['posted_date'] = $data['posted_date'] ?? null; + $this->container['amount'] = $data['amount'] ?? null; + $this->container['credit_or_debit'] = $data['credit_or_debit'] ?? null; + $this->container['source_transaction_id'] = $data['source_transaction_id'] ?? null; + $this->container['description'] = $data['description'] ?? null; + $this->container['counterparty'] = $data['counterparty'] ?? null; + $this->container['reference'] = $data['reference'] ?? null; + $this->container['transaction_type'] = $data['transaction_type'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['posted_date'] === null) { + $invalidProperties[] = "'posted_date' can't be null"; + } + if ($this->container['amount'] === null) { + $invalidProperties[] = "'amount' can't be null"; + } + if ($this->container['credit_or_debit'] === null) { + $invalidProperties[] = "'credit_or_debit' can't be null"; + } + if ($this->container['source_transaction_id'] === null) { + $invalidProperties[] = "'source_transaction_id' can't be null"; + } + $allowedValues = $this->getTransactionTypeAllowableValues(); + if (!is_null($this->container['transaction_type']) && !in_array($this->container['transaction_type'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'transaction_type', must be one of '%s'", + $this->container['transaction_type'], + 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 posted_date + * + * @return \DateTime + */ + public function getPostedDate() + { + return $this->container['posted_date']; + } + + /** + * Sets posted_date + * + * @param \DateTime $posted_date The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + * + * @return self + */ + public function setPostedDate($posted_date) + { + $this->container['posted_date'] = $posted_date; + + return $this; + } + + /** + * Gets amount + * + * @return float + */ + public function getAmount() + { + return $this->container['amount']; + } + + /** + * Sets amount + * + * @param float $amount The amount of the transaction. + * + * @return self + */ + public function setAmount($amount) + { + $this->container['amount'] = $amount; + + return $this; + } + + /** + * Gets credit_or_debit + * + * @return \Apideck\Client\Model\CreditOrDebit + */ + public function getCreditOrDebit() + { + return $this->container['credit_or_debit']; + } + + /** + * Sets credit_or_debit + * + * @param \Apideck\Client\Model\CreditOrDebit $credit_or_debit credit_or_debit + * + * @return self + */ + public function setCreditOrDebit($credit_or_debit) + { + $this->container['credit_or_debit'] = $credit_or_debit; + + return $this; + } + + /** + * Gets source_transaction_id + * + * @return string + */ + public function getSourceTransactionId() + { + return $this->container['source_transaction_id']; + } + + /** + * Sets source_transaction_id + * + * @param string $source_transaction_id The ID of the source transaction. + * + * @return self + */ + public function setSourceTransactionId($source_transaction_id) + { + $this->container['source_transaction_id'] = $source_transaction_id; + + return $this; + } + + /** + * Gets description + * + * @return string|null + */ + public function getDescription() + { + return $this->container['description']; + } + + /** + * Sets description + * + * @param string|null $description A description of the transaction. + * + * @return self + */ + public function setDescription($description) + { + $this->container['description'] = $description; + + return $this; + } + + /** + * Gets counterparty + * + * @return string|null + */ + public function getCounterparty() + { + return $this->container['counterparty']; + } + + /** + * Sets counterparty + * + * @param string|null $counterparty The counterparty of the transaction. + * + * @return self + */ + public function setCounterparty($counterparty) + { + $this->container['counterparty'] = $counterparty; + + return $this; + } + + /** + * Gets reference + * + * @return string|null + */ + public function getReference() + { + return $this->container['reference']; + } + + /** + * Sets reference + * + * @param string|null $reference The reference of the transaction. + * + * @return self + */ + public function setReference($reference) + { + $this->container['reference'] = $reference; + + return $this; + } + + /** + * Gets transaction_type + * + * @return string|null + */ + public function getTransactionType() + { + return $this->container['transaction_type']; + } + + /** + * Sets transaction_type + * + * @param string|null $transaction_type Type of transaction. + * + * @return self + */ + public function setTransactionType($transaction_type) + { + $allowedValues = $this->getTransactionTypeAllowableValues(); + if (!is_null($transaction_type) && !in_array($transaction_type, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'transaction_type', must be one of '%s'", + $transaction_type, + implode("', '", $allowedValues) + ) + ); + } + $this->container['transaction_type'] = $transaction_type; + + 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/Benefit.php b/src/gen/lib/Model/Benefit.php index db6e64b02..6a93a0295 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5c85df34e..33e4fa0f3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -98,7 +98,7 @@ class Bill implements ModelInterface, ArrayAccess, \JsonSerializable 'created_at' => '\DateTime', 'row_version' => 'string', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'pass_through' => 'object[]', 'accounting_period' => 'string' ]; @@ -1407,7 +1407,7 @@ public function setCustomFields($custom_fields) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1417,7 +1417,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/BillLineItem.php b/src/gen/lib/Model/BillLineItem.php index 3cfcde2ff..fada1d4ed 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BillPayment.php b/src/gen/lib/Model/BillPayment.php index e34f36d96..5504926f8 100644 --- a/src/gen/lib/Model/BillPayment.php +++ b/src/gen/lib/Model/BillPayment.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -83,7 +83,7 @@ class BillPayment implements ModelInterface, ArrayAccess, \JsonSerializable 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'display_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'created_at' => '\DateTime', @@ -976,7 +976,7 @@ public function setDisplayId($display_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -986,7 +986,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/BillPaymentAllocations.php b/src/gen/lib/Model/BillPaymentAllocations.php index 486a316db..50e89c2ff 100644 --- a/src/gen/lib/Model/BillPaymentAllocations.php +++ b/src/gen/lib/Model/BillPaymentAllocations.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/BillsFilter.php b/src/gen/lib/Model/BillsFilter.php index 4369db8de..100dd20dc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 563cb1061..b3af0e320 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 aa32c0a79..f3d3db538 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e9d21496e..98ef3f6f9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9c12d07b4..a409567df 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,7 @@ class Collection implements ModelInterface, ArrayAccess, \JsonSerializable 'type' => 'string', 'name' => 'string', 'description' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => '\DateTime', 'created_at' => '\DateTime' ]; @@ -374,7 +374,7 @@ public function setDescription($description) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -384,7 +384,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CollectionTag.php b/src/gen/lib/Model/CollectionTag.php index ce6b80075..420a16db0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -62,7 +62,7 @@ class CollectionTag implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPITypes = [ 'id' => 'string', 'name' => 'string', - 'custom_mappings' => 'object' + 'custom_mappings' => 'array' ]; /** @@ -272,7 +272,7 @@ public function setName($name) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -282,7 +282,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CollectionTicketComment.php b/src/gen/lib/Model/CollectionTicketComment.php index e21df19ae..b8d4b2b9d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -62,7 +62,7 @@ class CollectionTicketComment implements ModelInterface, ArrayAccess, \JsonSeria protected static $openAPITypes = [ 'id' => 'string', 'body' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'created_by' => 'string', 'updated_at' => '\DateTime', 'created_at' => '\DateTime', @@ -293,7 +293,7 @@ public function setBody($body) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -303,7 +303,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CollectionUser.php b/src/gen/lib/Model/CollectionUser.php index e30be8a03..9ab914540 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -66,7 +66,7 @@ class CollectionUser implements ModelInterface, ArrayAccess, \JsonSerializable 'last_name' => 'string', 'email' => 'string', 'photo_url' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => '\DateTime', 'created_at' => '\DateTime' ]; @@ -401,7 +401,7 @@ public function setPhotoUrl($photo_url) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -411,7 +411,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CollectionsSort.php b/src/gen/lib/Model/CollectionsSort.php index f1bc96a38..b4138bd61 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 089ba9c7e..9d5a90ec2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6919f3f96..9aa0084f7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a7579a37b..f07ee19cc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2147e190f..68f1e8cda 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -96,7 +96,7 @@ class Company implements ModelInterface, ArrayAccess, \JsonSerializable 'deleted' => 'bool', 'salutation' => 'string', 'birthday' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1322,7 +1322,7 @@ public function setBirthday($birthday) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1332,7 +1332,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CompanyInfo.php b/src/gen/lib/Model/CompanyInfo.php index 977d16afd..5788ba0ed 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -76,7 +76,7 @@ class CompanyInfo implements ModelInterface, ArrayAccess, \JsonSerializable 'addresses' => '\Apideck\Client\Model\Address[]', 'phone_numbers' => '\Apideck\Client\Model\PhoneNumber[]', 'emails' => '\Apideck\Client\Model\Email[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -807,7 +807,7 @@ public function setEmails($emails) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -817,7 +817,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CompanyRowType.php b/src/gen/lib/Model/CompanyRowType.php index 0cab73214..a9d11a0f1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2ead44595..87ec4edc2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f2d24fe5d..0ba409698 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9b52a986f..97e069409 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2fd675964..8488849bb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ec3043a78..206cacf75 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 810ed0ae9..dd4a880fe 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3276b04e6..383b5b224 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 989be79fb..da75f9a50 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ca75ca963..bc7b0e71b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0983e01e6..5fd41dc70 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a23de81c2..b9429a7bf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dbd70d380..0290b4e36 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 93b2b08d3..46d1104d0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8a74385ff..b7e96ffae 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6732ed3f7..7fc01dfec 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5b423cad9..dc52acd96 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 95f9f1040..6e7171a2d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6d80312fc..facecbc7d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 82dabf181..48f932ac3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 91606423b..fd1e08f56 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 61750d732..725a8002f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 29db9bff9..9a376a0e9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fddb3c43e..2de2d6205 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 755324d10..dae123702 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 58c609180..d325f15a1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 43e86f8ef..94f9a1416 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -96,7 +96,7 @@ class Contact implements ModelInterface, ArrayAccess, \JsonSerializable 'first_call_at' => '\DateTime', 'first_email_at' => '\DateTime', 'last_activity_at' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => '\DateTime', 'created_at' => '\DateTime', 'opportunity_ids' => 'string[]', @@ -1392,7 +1392,7 @@ public function setLastActivityAt($last_activity_at) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1402,7 +1402,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ContactsFilter.php b/src/gen/lib/Model/ContactsFilter.php index f04bc412b..30324332a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6fcba03a5..8fce581c7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3e8abf943..c1d73870a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CostOfGoodsSold.php b/src/gen/lib/Model/CostOfGoodsSold.php index 5f603f260..18291906c 100644 --- a/src/gen/lib/Model/CostOfGoodsSold.php +++ b/src/gen/lib/Model/CostOfGoodsSold.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index ff85283e1..46fa6a6d9 100644 --- a/src/gen/lib/Model/CreateAccountingDepartmentResponse.php +++ b/src/gen/lib/Model/CreateAccountingDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateAccountingLocationResponse.php b/src/gen/lib/Model/CreateAccountingLocationResponse.php index 60324cc55..239c136be 100644 --- a/src/gen/lib/Model/CreateAccountingLocationResponse.php +++ b/src/gen/lib/Model/CreateAccountingLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateActivityResponse.php b/src/gen/lib/Model/CreateActivityResponse.php index c8c2eb453..89f8bf0fb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a217d4136..9cfce023b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 edf43e345..57d030806 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateAttachmentRequest.php b/src/gen/lib/Model/CreateAttachmentRequest.php index cd9717081..3d3151fd6 100644 --- a/src/gen/lib/Model/CreateAttachmentRequest.php +++ b/src/gen/lib/Model/CreateAttachmentRequest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateAttachmentResponse.php b/src/gen/lib/Model/CreateAttachmentResponse.php index 007ebe09b..972b7ca51 100644 --- a/src/gen/lib/Model/CreateAttachmentResponse.php +++ b/src/gen/lib/Model/CreateAttachmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateBankFeedAccountResponse.php b/src/gen/lib/Model/CreateBankFeedAccountResponse.php new file mode 100644 index 000000000..558680ef1 --- /dev/null +++ b/src/gen/lib/Model/CreateBankFeedAccountResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CreateBankFeedAccountResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CreateBankFeedAccountResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/CreateBankFeedStatementResponse.php b/src/gen/lib/Model/CreateBankFeedStatementResponse.php new file mode 100644 index 000000000..d140a8923 --- /dev/null +++ b/src/gen/lib/Model/CreateBankFeedStatementResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CreateBankFeedStatementResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CreateBankFeedStatementResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/CreateBillPaymentResponse.php b/src/gen/lib/Model/CreateBillPaymentResponse.php index a5d0054b8..2e77e60ed 100644 --- a/src/gen/lib/Model/CreateBillPaymentResponse.php +++ b/src/gen/lib/Model/CreateBillPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4d56c0a77..ad95eb294 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCallbackState.php b/src/gen/lib/Model/CreateCallbackState.php index e943ef437..68693ee42 100644 --- a/src/gen/lib/Model/CreateCallbackState.php +++ b/src/gen/lib/Model/CreateCallbackState.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCallbackStateResponse.php b/src/gen/lib/Model/CreateCallbackStateResponse.php index f7b4102d1..722160892 100644 --- a/src/gen/lib/Model/CreateCallbackStateResponse.php +++ b/src/gen/lib/Model/CreateCallbackStateResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCallbackStateResponseData.php b/src/gen/lib/Model/CreateCallbackStateResponseData.php index 2f835604f..1da4eea9d 100644 --- a/src/gen/lib/Model/CreateCallbackStateResponseData.php +++ b/src/gen/lib/Model/CreateCallbackStateResponseData.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 caaf1ea72..c7294d6f2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3a2a32c25..c9b5ba5a4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 69f32ed78..c0f84e68f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6965a2217..335003439 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ab4905a16..85beda638 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 80f62150f..0eba78642 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3331d0c30..95a0ce523 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cb905101d..acc12e9cf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateCustomObjectResponse.php b/src/gen/lib/Model/CreateCustomObjectResponse.php new file mode 100644 index 000000000..a4525b83a --- /dev/null +++ b/src/gen/lib/Model/CreateCustomObjectResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CreateCustomObjectResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CreateCustomObjectResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/CreateCustomObjectSchemaResponse.php b/src/gen/lib/Model/CreateCustomObjectSchemaResponse.php new file mode 100644 index 000000000..84fae9bec --- /dev/null +++ b/src/gen/lib/Model/CreateCustomObjectSchemaResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CreateCustomObjectSchemaResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CreateCustomObjectSchemaResponse'; + + /** + * 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\CustomObjectSchema', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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\CustomObjectSchema + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObjectSchema $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/CreateCustomerResponse.php b/src/gen/lib/Model/CreateCustomerResponse.php index bce236cf3..848ad23b8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 23442617f..b56e7761c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0cabe3f07..11889e671 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d4961164e..6290ebcca 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 adbf7c73e..1905fcc2e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 17b8a5b67..b89162d68 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b03a67e6a..31d5fcf74 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateExpenseResponse.php b/src/gen/lib/Model/CreateExpenseResponse.php index aea45744f..1c7a39e4d 100644 --- a/src/gen/lib/Model/CreateExpenseResponse.php +++ b/src/gen/lib/Model/CreateExpenseResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 51927bfbf..0b47d258c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 01b5393bb..58ee0ae5f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cc881aa9e..0f6986e8c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e42c532a6..c738abaa2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 963095277..c1bef1c72 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a18ebce68..e008f7d8a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 349f3c1f6..f87143d99 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 10a610892..7ac839225 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a1b77de4c..0a56d5d98 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cb475fd7f..3aaa91c70 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9b82b09d7..4859839cd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9cf5efae9..71a698b05 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6ca2a7a22..2f714fac6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9ff0e493f..66821e25c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 76056c448..479fd82e0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5781d18f1..507ec6ac1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5685430ab..df9b4d5e7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4f1425cda..da9c0c93e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 123540264..9dea4ea31 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 43c310ea5..59e185ed1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1f86cf678..314b86a0e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b7f8b7c32..f52dd22da 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 82bdcf575..bbd6bba98 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ba0c36fbc..7e05df868 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d0a66bfe7..d789eae4d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0c3ea0406..b240132c9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2b25d5e9d..65441f36d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9a918bade..552f27e6d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4d5e93f9c..53cc1a1ad 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index ab680a86d..914105ddc 100644 --- a/src/gen/lib/Model/CreateSubsidiaryResponse.php +++ b/src/gen/lib/Model/CreateSubsidiaryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateSupplierResponse.php b/src/gen/lib/Model/CreateSupplierResponse.php index 2991385eb..d50522fe4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c9baf126c..04699d99c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4900eb816..035f75264 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6476a9940..0e9e970df 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 860cea6c7..d8f4d7f83 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreateTrackingCategoryResponse.php b/src/gen/lib/Model/CreateTrackingCategoryResponse.php index 3e685a4ce..b14cb394a 100644 --- a/src/gen/lib/Model/CreateTrackingCategoryResponse.php +++ b/src/gen/lib/Model/CreateTrackingCategoryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 558b1acc7..b323321b3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dfce36487..817758916 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7401051ff..617e77623 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e489622a7..d2cc49ead 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7d4f9f224..1485397e8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4accaf251..5acc4215b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -86,7 +86,7 @@ class CreditNote implements ModelInterface, ArrayAccess, \JsonSerializable 'billing_address' => '\Apideck\Client\Model\Address', 'shipping_address' => '\Apideck\Client\Model\Address', 'tracking_categories' => '\Apideck\Client\Model\LinkedTrackingCategory[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'updated_by' => 'string', @@ -1111,7 +1111,7 @@ public function setTrackingCategories($tracking_categories) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1121,7 +1121,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CreditNotesFilter.php b/src/gen/lib/Model/CreditNotesFilter.php index 35c977dd5..4264aed50 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bcbd2eea1..0625a2327 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/CreditOrDebit.php b/src/gen/lib/Model/CreditOrDebit.php new file mode 100644 index 000000000..410a4a6af --- /dev/null +++ b/src/gen/lib/Model/CreditOrDebit.php @@ -0,0 +1,64 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObject implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObject'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'owner_id' => 'string', + 'name' => 'string', + 'fields' => '\Apideck\Client\Model\CustomObjectFields[]', + 'updated_by' => 'string', + 'created_by' => 'string', + 'updated_at' => 'string', + 'created_at' => 'string', + 'pass_through' => 'object[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'owner_id' => null, + 'name' => null, + 'fields' => null, + 'updated_by' => null, + 'created_by' => null, + 'updated_at' => null, + 'created_at' => null, + 'pass_through' => 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', + 'owner_id' => 'owner_id', + 'name' => 'name', + 'fields' => 'fields', + 'updated_by' => 'updated_by', + 'created_by' => 'created_by', + 'updated_at' => 'updated_at', + 'created_at' => 'created_at', + 'pass_through' => 'pass_through' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'owner_id' => 'setOwnerId', + 'name' => 'setName', + 'fields' => 'setFields', + 'updated_by' => 'setUpdatedBy', + 'created_by' => 'setCreatedBy', + 'updated_at' => 'setUpdatedAt', + 'created_at' => 'setCreatedAt', + 'pass_through' => 'setPassThrough' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'owner_id' => 'getOwnerId', + 'name' => 'getName', + 'fields' => 'getFields', + 'updated_by' => 'getUpdatedBy', + 'created_by' => 'getCreatedBy', + 'updated_at' => 'getUpdatedAt', + 'created_at' => 'getCreatedAt', + 'pass_through' => 'getPassThrough' + ]; + + /** + * 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['owner_id'] = $data['owner_id'] ?? null; + $this->container['name'] = $data['name'] ?? null; + $this->container['fields'] = $data['fields'] ?? 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; + $this->container['pass_through'] = $data['pass_through'] ?? 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 The unique identifier of the custom object + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets owner_id + * + * @return string|null + */ + public function getOwnerId() + { + return $this->container['owner_id']; + } + + /** + * Sets owner_id + * + * @param string|null $owner_id The unique identifier of the owner of the custom object + * + * @return self + */ + public function setOwnerId($owner_id) + { + $this->container['owner_id'] = $owner_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 custom object + * + * @return self + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets fields + * + * @return \Apideck\Client\Model\CustomObjectFields[]|null + */ + public function getFields() + { + return $this->container['fields']; + } + + /** + * Sets fields + * + * @param \Apideck\Client\Model\CustomObjectFields[]|null $fields fields + * + * @return self + */ + public function setFields($fields) + { + $this->container['fields'] = $fields; + + 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 unique identifier of the user who last updated the custom 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 unique identifier of the user who created the custom object + * + * @return self + */ + public function setCreatedBy($created_by) + { + $this->container['created_by'] = $created_by; + + return $this; + } + + /** + * Gets updated_at + * + * @return string|null + */ + public function getUpdatedAt() + { + return $this->container['updated_at']; + } + + /** + * Sets updated_at + * + * @param string|null $updated_at The timestamp when the custom object was last updated + * + * @return self + */ + public function setUpdatedAt($updated_at) + { + $this->container['updated_at'] = $updated_at; + + return $this; + } + + /** + * Gets created_at + * + * @return string|null + */ + public function getCreatedAt() + { + return $this->container['created_at']; + } + + /** + * Sets created_at + * + * @param string|null $created_at The timestamp when the custom object was created + * + * @return self + */ + public function setCreatedAt($created_at) + { + $this->container['created_at'] = $created_at; + + return $this; + } + + /** + * Gets pass_through + * + * @return object[]|null + */ + public function getPassThrough() + { + return $this->container['pass_through']; + } + + /** + * Sets pass_through + * + * @param object[]|null $pass_through The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + * + * @return self + */ + public function setPassThrough($pass_through) + { + $this->container['pass_through'] = $pass_through; + + 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/CustomObjectFields.php b/src/gen/lib/Model/CustomObjectFields.php new file mode 100644 index 000000000..b66b346a0 --- /dev/null +++ b/src/gen/lib/Model/CustomObjectFields.php @@ -0,0 +1,351 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectFields implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObject_fields'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'name' => 'string', + 'value' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'name' => null, + 'value' => 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 = [ + 'name' => 'name', + 'value' => 'value' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'name' => 'setName', + 'value' => 'setValue' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'name' => 'getName', + 'value' => 'getValue' + ]; + + /** + * 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['name'] = $data['name'] ?? null; + $this->container['value'] = $data['value'] ?? 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 name + * + * @return string|null + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * + * @param string|null $name name + * + * @return self + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets value + * + * @return string|null + */ + public function getValue() + { + return $this->container['value']; + } + + /** + * Sets value + * + * @param string|null $value value + * + * @return self + */ + public function setValue($value) + { + $this->container['value'] = $value; + + 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/CustomObjectSchema.php b/src/gen/lib/Model/CustomObjectSchema.php new file mode 100644 index 000000000..018f42ed2 --- /dev/null +++ b/src/gen/lib/Model/CustomObjectSchema.php @@ -0,0 +1,621 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectSchema implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectSchema'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'name' => 'string', + 'description' => 'string', + 'fields' => '\Apideck\Client\Model\CustomObjectSchemaFields[]', + 'visible' => 'bool', + 'active' => 'bool', + 'created_by' => 'string', + 'updated_by' => 'string', + 'updated_at' => 'string', + 'created_at' => 'string', + 'pass_through' => 'object[]' + ]; + + /** + * 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, + 'description' => null, + 'fields' => null, + 'visible' => null, + 'active' => null, + 'created_by' => null, + 'updated_by' => null, + 'updated_at' => null, + 'created_at' => null, + 'pass_through' => 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', + 'description' => 'description', + 'fields' => 'fields', + 'visible' => 'visible', + 'active' => 'active', + 'created_by' => 'created_by', + 'updated_by' => 'updated_by', + 'updated_at' => 'updated_at', + 'created_at' => 'created_at', + 'pass_through' => 'pass_through' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'name' => 'setName', + 'description' => 'setDescription', + 'fields' => 'setFields', + 'visible' => 'setVisible', + 'active' => 'setActive', + 'created_by' => 'setCreatedBy', + 'updated_by' => 'setUpdatedBy', + 'updated_at' => 'setUpdatedAt', + 'created_at' => 'setCreatedAt', + 'pass_through' => 'setPassThrough' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'name' => 'getName', + 'description' => 'getDescription', + 'fields' => 'getFields', + 'visible' => 'getVisible', + 'active' => 'getActive', + 'created_by' => 'getCreatedBy', + 'updated_by' => 'getUpdatedBy', + 'updated_at' => 'getUpdatedAt', + 'created_at' => 'getCreatedAt', + 'pass_through' => 'getPassThrough' + ]; + + /** + * 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; + $this->container['description'] = $data['description'] ?? null; + $this->container['fields'] = $data['fields'] ?? null; + $this->container['visible'] = $data['visible'] ?? null; + $this->container['active'] = $data['active'] ?? null; + $this->container['created_by'] = $data['created_by'] ?? null; + $this->container['updated_by'] = $data['updated_by'] ?? null; + $this->container['updated_at'] = $data['updated_at'] ?? null; + $this->container['created_at'] = $data['created_at'] ?? null; + $this->container['pass_through'] = $data['pass_through'] ?? 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 The unique identifier of the custom object schema + * + * @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 custom object schema + * + * @return self + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets description + * + * @return string|null + */ + public function getDescription() + { + return $this->container['description']; + } + + /** + * Sets description + * + * @param string|null $description The description of the custom object schema + * + * @return self + */ + public function setDescription($description) + { + $this->container['description'] = $description; + + return $this; + } + + /** + * Gets fields + * + * @return \Apideck\Client\Model\CustomObjectSchemaFields[]|null + */ + public function getFields() + { + return $this->container['fields']; + } + + /** + * Sets fields + * + * @param \Apideck\Client\Model\CustomObjectSchemaFields[]|null $fields The fields defined in the schema + * + * @return self + */ + public function setFields($fields) + { + $this->container['fields'] = $fields; + + return $this; + } + + /** + * Gets visible + * + * @return bool|null + */ + public function getVisible() + { + return $this->container['visible']; + } + + /** + * Sets visible + * + * @param bool|null $visible Whether the custom object schema is visible in the UI + * + * @return self + */ + public function setVisible($visible) + { + $this->container['visible'] = $visible; + + return $this; + } + + /** + * Gets active + * + * @return bool|null + */ + public function getActive() + { + return $this->container['active']; + } + + /** + * Sets active + * + * @param bool|null $active Whether the custom object schema is active + * + * @return self + */ + public function setActive($active) + { + $this->container['active'] = $active; + + 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 ID of the user who created the custom object schema + * + * @return self + */ + public function setCreatedBy($created_by) + { + $this->container['created_by'] = $created_by; + + 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 ID of the user who last updated the custom object schema + * + * @return self + */ + public function setUpdatedBy($updated_by) + { + $this->container['updated_by'] = $updated_by; + + return $this; + } + + /** + * Gets updated_at + * + * @return string|null + */ + public function getUpdatedAt() + { + return $this->container['updated_at']; + } + + /** + * Sets updated_at + * + * @param string|null $updated_at The timestamp when the custom object schema was last updated + * + * @return self + */ + public function setUpdatedAt($updated_at) + { + $this->container['updated_at'] = $updated_at; + + return $this; + } + + /** + * Gets created_at + * + * @return string|null + */ + public function getCreatedAt() + { + return $this->container['created_at']; + } + + /** + * Sets created_at + * + * @param string|null $created_at The timestamp when the custom object schema was created + * + * @return self + */ + public function setCreatedAt($created_at) + { + $this->container['created_at'] = $created_at; + + return $this; + } + + /** + * Gets pass_through + * + * @return object[]|null + */ + public function getPassThrough() + { + return $this->container['pass_through']; + } + + /** + * Sets pass_through + * + * @param object[]|null $pass_through The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + * + * @return self + */ + public function setPassThrough($pass_through) + { + $this->container['pass_through'] = $pass_through; + + 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/CustomObjectSchemaFields.php b/src/gen/lib/Model/CustomObjectSchemaFields.php new file mode 100644 index 000000000..83782db6d --- /dev/null +++ b/src/gen/lib/Model/CustomObjectSchemaFields.php @@ -0,0 +1,555 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectSchemaFields implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectSchema_fields'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'name' => 'string', + 'description' => 'string', + 'type' => 'string', + 'required' => 'bool', + 'options' => '\Apideck\Client\Model\CustomObjectSchemaOptions[]', + 'default_value' => '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, + 'description' => null, + 'type' => null, + 'required' => null, + 'options' => null, + 'default_value' => 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', + 'description' => 'description', + 'type' => 'type', + 'required' => 'required', + 'options' => 'options', + 'default_value' => 'default_value' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'name' => 'setName', + 'description' => 'setDescription', + 'type' => 'setType', + 'required' => 'setRequired', + 'options' => 'setOptions', + 'default_value' => 'setDefaultValue' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'name' => 'getName', + 'description' => 'getDescription', + 'type' => 'getType', + 'required' => 'getRequired', + 'options' => 'getOptions', + 'default_value' => 'getDefaultValue' + ]; + + /** + * 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 TYPE_STRING = 'string'; + const TYPE_NUMBER = 'number'; + const TYPE_INTEGER = 'integer'; + const TYPE_BOOLEAN = 'boolean'; + const TYPE_DATE = 'date'; + const TYPE_DATETIME = 'datetime'; + const TYPE_CURRENCY = 'currency'; + const TYPE_EMAIL = 'email'; + const TYPE_PHONE = 'phone'; + const TYPE_REFERENCE = 'reference'; + const TYPE_SELECT = 'select'; + const TYPE_MULTISELECT = 'multiselect'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getTypeAllowableValues() + { + return [ + self::TYPE_STRING, + self::TYPE_NUMBER, + self::TYPE_INTEGER, + self::TYPE_BOOLEAN, + self::TYPE_DATE, + self::TYPE_DATETIME, + self::TYPE_CURRENCY, + self::TYPE_EMAIL, + self::TYPE_PHONE, + self::TYPE_REFERENCE, + self::TYPE_SELECT, + self::TYPE_MULTISELECT, + ]; + } + + /** + * 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; + $this->container['description'] = $data['description'] ?? null; + $this->container['type'] = $data['type'] ?? null; + $this->container['required'] = $data['required'] ?? null; + $this->container['options'] = $data['options'] ?? null; + $this->container['default_value'] = $data['default_value'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + $allowedValues = $this->getTypeAllowableValues(); + if (!is_null($this->container['type']) && !in_array($this->container['type'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'type', must be one of '%s'", + $this->container['type'], + 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 id + * + * @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 name + * + * @return self + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets description + * + * @return string|null + */ + public function getDescription() + { + return $this->container['description']; + } + + /** + * Sets description + * + * @param string|null $description description + * + * @return self + */ + public function setDescription($description) + { + $this->container['description'] = $description; + + return $this; + } + + /** + * Gets type + * + * @return string|null + */ + public function getType() + { + return $this->container['type']; + } + + /** + * Sets type + * + * @param string|null $type type + * + * @return self + */ + public function setType($type) + { + $allowedValues = $this->getTypeAllowableValues(); + if (!is_null($type) && !in_array($type, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'type', must be one of '%s'", + $type, + implode("', '", $allowedValues) + ) + ); + } + $this->container['type'] = $type; + + return $this; + } + + /** + * Gets required + * + * @return bool|null + */ + public function getRequired() + { + return $this->container['required']; + } + + /** + * Sets required + * + * @param bool|null $required required + * + * @return self + */ + public function setRequired($required) + { + $this->container['required'] = $required; + + return $this; + } + + /** + * Gets options + * + * @return \Apideck\Client\Model\CustomObjectSchemaOptions[]|null + */ + public function getOptions() + { + return $this->container['options']; + } + + /** + * Sets options + * + * @param \Apideck\Client\Model\CustomObjectSchemaOptions[]|null $options Options for select and multiselect types + * + * @return self + */ + public function setOptions($options) + { + $this->container['options'] = $options; + + return $this; + } + + /** + * Gets default_value + * + * @return string|null + */ + public function getDefaultValue() + { + return $this->container['default_value']; + } + + /** + * Sets default_value + * + * @param string|null $default_value Default value for the field + * + * @return self + */ + public function setDefaultValue($default_value) + { + $this->container['default_value'] = $default_value; + + 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/CustomObjectSchemaOptions.php b/src/gen/lib/Model/CustomObjectSchemaOptions.php new file mode 100644 index 000000000..771d093b6 --- /dev/null +++ b/src/gen/lib/Model/CustomObjectSchemaOptions.php @@ -0,0 +1,351 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectSchemaOptions implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectSchema_options'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'value' => 'string', + 'label' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'value' => null, + 'label' => 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 = [ + 'value' => 'value', + 'label' => 'label' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'value' => 'setValue', + 'label' => 'setLabel' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'value' => 'getValue', + 'label' => 'getLabel' + ]; + + /** + * 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['value'] = $data['value'] ?? null; + $this->container['label'] = $data['label'] ?? 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 value + * + * @return string|null + */ + public function getValue() + { + return $this->container['value']; + } + + /** + * Sets value + * + * @param string|null $value value + * + * @return self + */ + public function setValue($value) + { + $this->container['value'] = $value; + + return $this; + } + + /** + * Gets label + * + * @return string|null + */ + public function getLabel() + { + return $this->container['label']; + } + + /** + * Sets label + * + * @param string|null $label label + * + * @return self + */ + public function setLabel($label) + { + $this->container['label'] = $label; + + 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/CustomObjectSchemasSort.php b/src/gen/lib/Model/CustomObjectSchemasSort.php new file mode 100644 index 000000000..fb25be464 --- /dev/null +++ b/src/gen/lib/Model/CustomObjectSchemasSort.php @@ -0,0 +1,387 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectSchemasSort implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectSchemasSort'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'by' => 'string', + 'direction' => '\Apideck\Client\Model\SortDirection' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'by' => null, + 'direction' => 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 = [ + 'by' => 'by', + 'direction' => 'direction' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'by' => 'setBy', + 'direction' => 'setDirection' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'by' => 'getBy', + 'direction' => 'getDirection' + ]; + + /** + * 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 BY_CREATED_AT = 'created_at'; + const BY_UPDATED_AT = 'updated_at'; + const BY_NAME = 'name'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getByAllowableValues() + { + return [ + self::BY_CREATED_AT, + self::BY_UPDATED_AT, + self::BY_NAME, + ]; + } + + /** + * 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['by'] = $data['by'] ?? null; + $this->container['direction'] = $data['direction'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + $allowedValues = $this->getByAllowableValues(); + if (!is_null($this->container['by']) && !in_array($this->container['by'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'by', must be one of '%s'", + $this->container['by'], + 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 by + * + * @return string|null + */ + public function getBy() + { + return $this->container['by']; + } + + /** + * Sets by + * + * @param string|null $by The field on which to sort the Custom Object Schemas + * + * @return self + */ + public function setBy($by) + { + $allowedValues = $this->getByAllowableValues(); + if (!is_null($by) && !in_array($by, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'by', must be one of '%s'", + $by, + implode("', '", $allowedValues) + ) + ); + } + $this->container['by'] = $by; + + return $this; + } + + /** + * Gets direction + * + * @return \Apideck\Client\Model\SortDirection|null + */ + public function getDirection() + { + return $this->container['direction']; + } + + /** + * Sets direction + * + * @param \Apideck\Client\Model\SortDirection|null $direction direction + * + * @return self + */ + public function setDirection($direction) + { + $this->container['direction'] = $direction; + + 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/CustomObjectsSort.php b/src/gen/lib/Model/CustomObjectsSort.php new file mode 100644 index 000000000..7a0ae368f --- /dev/null +++ b/src/gen/lib/Model/CustomObjectsSort.php @@ -0,0 +1,387 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class CustomObjectsSort implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CustomObjectsSort'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'by' => 'string', + 'direction' => '\Apideck\Client\Model\SortDirection' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'by' => null, + 'direction' => 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 = [ + 'by' => 'by', + 'direction' => 'direction' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'by' => 'setBy', + 'direction' => 'setDirection' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'by' => 'getBy', + 'direction' => 'getDirection' + ]; + + /** + * 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 BY_CREATED_AT = 'created_at'; + const BY_UPDATED_AT = 'updated_at'; + const BY_NAME = 'name'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getByAllowableValues() + { + return [ + self::BY_CREATED_AT, + self::BY_UPDATED_AT, + self::BY_NAME, + ]; + } + + /** + * 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['by'] = $data['by'] ?? null; + $this->container['direction'] = $data['direction'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + $allowedValues = $this->getByAllowableValues(); + if (!is_null($this->container['by']) && !in_array($this->container['by'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'by', must be one of '%s'", + $this->container['by'], + 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 by + * + * @return string|null + */ + public function getBy() + { + return $this->container['by']; + } + + /** + * Sets by + * + * @param string|null $by The field on which to sort the Custom Objects + * + * @return self + */ + public function setBy($by) + { + $allowedValues = $this->getByAllowableValues(); + if (!is_null($by) && !in_array($by, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'by', must be one of '%s'", + $by, + implode("', '", $allowedValues) + ) + ); + } + $this->container['by'] = $by; + + return $this; + } + + /** + * Gets direction + * + * @return \Apideck\Client\Model\SortDirection|null + */ + public function getDirection() + { + return $this->container['direction']; + } + + /** + * Sets direction + * + * @param \Apideck\Client\Model\SortDirection|null $direction direction + * + * @return self + */ + public function setDirection($direction) + { + $this->container['direction'] = $direction; + + 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/Customer.php b/src/gen/lib/Model/Customer.php index 09b7431ed..e576709b8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -88,7 +88,7 @@ class Customer implements ModelInterface, ArrayAccess, \JsonSerializable 'payment_method' => 'string', 'channel' => 'string', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1128,7 +1128,7 @@ public function setCustomFields($custom_fields) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1138,7 +1138,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/CustomersFilter.php b/src/gen/lib/Model/CustomersFilter.php index 5ffc3c9b7..3ac4402fc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a41e5a4a4..ab3fb8ced 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0137f8da0..c249b29aa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index c3b68353c..30c7efd82 100644 --- a/src/gen/lib/Model/DeleteAccountingDepartmentResponse.php +++ b/src/gen/lib/Model/DeleteAccountingDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteAccountingLocationResponse.php b/src/gen/lib/Model/DeleteAccountingLocationResponse.php index 3110065e1..933fa9771 100644 --- a/src/gen/lib/Model/DeleteAccountingLocationResponse.php +++ b/src/gen/lib/Model/DeleteAccountingLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteActivityResponse.php b/src/gen/lib/Model/DeleteActivityResponse.php index f6c3f0339..d60f0fac8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7c14de523..2a4fa2169 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2a71db188..0de9bd1c6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteAttachmentResponse.php b/src/gen/lib/Model/DeleteAttachmentResponse.php index a3846d557..99fc4edac 100644 --- a/src/gen/lib/Model/DeleteAttachmentResponse.php +++ b/src/gen/lib/Model/DeleteAttachmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteBankFeedAccountResponse.php b/src/gen/lib/Model/DeleteBankFeedAccountResponse.php new file mode 100644 index 000000000..22b43293c --- /dev/null +++ b/src/gen/lib/Model/DeleteBankFeedAccountResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class DeleteBankFeedAccountResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'DeleteBankFeedAccountResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/DeleteBankFeedStatementResponse.php b/src/gen/lib/Model/DeleteBankFeedStatementResponse.php new file mode 100644 index 000000000..2259e17a3 --- /dev/null +++ b/src/gen/lib/Model/DeleteBankFeedStatementResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class DeleteBankFeedStatementResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'DeleteBankFeedStatementResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/DeleteBillPaymentResponse.php b/src/gen/lib/Model/DeleteBillPaymentResponse.php index 92daa2e79..bfa465913 100644 --- a/src/gen/lib/Model/DeleteBillPaymentResponse.php +++ b/src/gen/lib/Model/DeleteBillPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 00ad2481c..d1a5da006 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5d73a74f5..d2119549e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 531297e2d..b30575ea8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5deaa034b..f1d400acc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c52a744bf..9b6392954 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5dc253819..8af800430 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteCustomObjectResponse.php b/src/gen/lib/Model/DeleteCustomObjectResponse.php new file mode 100644 index 000000000..ffec6ff96 --- /dev/null +++ b/src/gen/lib/Model/DeleteCustomObjectResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class DeleteCustomObjectResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'DeleteCustomObjectResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/DeleteCustomObjectSchemaResponse.php b/src/gen/lib/Model/DeleteCustomObjectSchemaResponse.php new file mode 100644 index 000000000..ba242bed1 --- /dev/null +++ b/src/gen/lib/Model/DeleteCustomObjectSchemaResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class DeleteCustomObjectSchemaResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'DeleteCustomObjectSchemaResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/DeleteCustomerResponse.php b/src/gen/lib/Model/DeleteCustomerResponse.php index eb73c13b0..b879627ca 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e769708f7..690bd64c9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 30a5f8a1b..15c196d44 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 376dbde3e..a67e3b0b3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 884681ed0..a6227ca3d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f0d47f779..93e809398 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f185ce6c6..1067ac6ca 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteExpenseResponse.php b/src/gen/lib/Model/DeleteExpenseResponse.php index 7d0a379e9..6932f7f9f 100644 --- a/src/gen/lib/Model/DeleteExpenseResponse.php +++ b/src/gen/lib/Model/DeleteExpenseResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fd08f90bb..4ae9e7a23 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7de317f6b..556645995 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0fc9551a5..1493021d4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 03ebf2941..5be61ceb5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2ad3c7fe3..d6a85f718 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 665ae7c20..9af62ee69 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d625f8d30..21d481687 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b24b3d4e4..a72e93b12 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8d5f1fbe4..fced0bffa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 85e1ba38c..10685013d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 463b75054..4cd7315db 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a55f7e59b..b9064920c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d15933c15..a913c328a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 842bda17e..43bc0915d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a727be8bb..e16cc8c52 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7415cb495..14708fffc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 86fee6d1d..732ac4574 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e98d68a72..f2d41531d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c4ea2a3f4..8462133a8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 41a54d4ba..de9c8e5d4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 188181b4b..75446c531 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4f8c54b40..219bf8abf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 70bf14ca2..76d0d8620 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 541f059bd..faa77a036 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index a4551ef9a..df0a53a55 100644 --- a/src/gen/lib/Model/DeleteSubsidiaryResponse.php +++ b/src/gen/lib/Model/DeleteSubsidiaryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteSupplierResponse.php b/src/gen/lib/Model/DeleteSupplierResponse.php index 0ccf5ac1c..f206e9f8c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 da1246e0b..62ffdd252 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d89db0f51..19ea523ef 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 806c9fe32..8b3a08872 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5b3af0bb9..9af8f96c4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeleteTrackingCategoryResponse.php b/src/gen/lib/Model/DeleteTrackingCategoryResponse.php index 0a4ec1b25..7ed17fef7 100644 --- a/src/gen/lib/Model/DeleteTrackingCategoryResponse.php +++ b/src/gen/lib/Model/DeleteTrackingCategoryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7852c0bc2..d97fde4e5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3cfe64cda..a8bef54e9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ad2e20874..0d6c1ee3d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1028ac902..e1b42291c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,7 @@ class Department implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'code' => 'string', 'description' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -389,7 +389,7 @@ public function setDescription($description) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -399,7 +399,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/DeprecatedLinkedSupplier.php b/src/gen/lib/Model/DeprecatedLinkedSupplier.php index c9fd6ed37..f8a57c2e3 100644 --- a/src/gen/lib/Model/DeprecatedLinkedSupplier.php +++ b/src/gen/lib/Model/DeprecatedLinkedSupplier.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/DeprecatedLinkedTrackingCategory.php b/src/gen/lib/Model/DeprecatedLinkedTrackingCategory.php index a1fcb60e9..3ffe328f5 100644 --- a/src/gen/lib/Model/DeprecatedLinkedTrackingCategory.php +++ b/src/gen/lib/Model/DeprecatedLinkedTrackingCategory.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9a19046e9..7b37bd25c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -63,7 +63,7 @@ class Drive implements ModelInterface, ArrayAccess, \JsonSerializable 'id' => 'string', 'name' => 'string', 'description' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -335,7 +335,7 @@ public function setDescription($description) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -345,7 +345,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/DriveGroup.php b/src/gen/lib/Model/DriveGroup.php index cf0d25c99..a18b46c3a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -64,7 +64,7 @@ class DriveGroup implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'display_name' => 'string', 'description' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -365,7 +365,7 @@ public function setDescription($description) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -375,7 +375,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/DriveGroupsFilter.php b/src/gen/lib/Model/DriveGroupsFilter.php index 939eb4095..b96f448fb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 811b6111a..9909915c2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 45c1f6503..08d8d32a7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 523f74bc7..6e1a0719d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -71,7 +71,7 @@ class EcommerceCustomer implements ModelInterface, ArrayAccess, \JsonSerializabl 'phone_numbers' => '\Apideck\Client\Model\PhoneNumber[]', 'addresses' => '\Apideck\Client\Model\EcommerceCustomerAddresses[]', 'orders' => '\Apideck\Client\Model\LinkedEcommerceOrder[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'created_at' => '\DateTime', 'updated_at' => '\DateTime' ]; @@ -588,7 +588,7 @@ public function setOrders($orders) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -598,7 +598,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/EcommerceCustomerAddresses.php b/src/gen/lib/Model/EcommerceCustomerAddresses.php index b62d7c3ac..2592e0fb9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0bef44803..59046e0a5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 643517d2d..4b5e650d2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceEventType.php b/src/gen/lib/Model/EcommerceEventType.php index 97bf9549c..380423a28 100644 --- a/src/gen/lib/Model/EcommerceEventType.php +++ b/src/gen/lib/Model/EcommerceEventType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a5c6ba65e..d7af25529 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -81,7 +81,8 @@ class EcommerceOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'tracking' => '\Apideck\Client\Model\TrackingItem[]', 'line_items' => '\Apideck\Client\Model\EcommerceOrderLineItem[]', 'note' => 'string', - 'custom_mappings' => 'object', + 'refunds' => '\Apideck\Client\Model\EcommerceOrderRefund[]', + 'custom_mappings' => 'array', 'created_at' => '\DateTime', 'updated_at' => '\DateTime' ]; @@ -115,6 +116,7 @@ class EcommerceOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'tracking' => null, 'line_items' => null, 'note' => null, + 'refunds' => null, 'custom_mappings' => null, 'created_at' => 'date-time', 'updated_at' => 'date-time' @@ -168,6 +170,7 @@ public static function openAPIFormats() 'tracking' => 'tracking', 'line_items' => 'line_items', 'note' => 'note', + 'refunds' => 'refunds', 'custom_mappings' => 'custom_mappings', 'created_at' => 'created_at', 'updated_at' => 'updated_at' @@ -200,6 +203,7 @@ public static function openAPIFormats() 'tracking' => 'setTracking', 'line_items' => 'setLineItems', 'note' => 'setNote', + 'refunds' => 'setRefunds', 'custom_mappings' => 'setCustomMappings', 'created_at' => 'setCreatedAt', 'updated_at' => 'setUpdatedAt' @@ -232,6 +236,7 @@ public static function openAPIFormats() 'tracking' => 'getTracking', 'line_items' => 'getLineItems', 'note' => 'getNote', + 'refunds' => 'getRefunds', 'custom_mappings' => 'getCustomMappings', 'created_at' => 'getCreatedAt', 'updated_at' => 'getUpdatedAt' @@ -365,6 +370,7 @@ public function __construct(array $data = null) $this->container['tracking'] = $data['tracking'] ?? null; $this->container['line_items'] = $data['line_items'] ?? null; $this->container['note'] = $data['note'] ?? null; + $this->container['refunds'] = $data['refunds'] ?? null; $this->container['custom_mappings'] = $data['custom_mappings'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; $this->container['updated_at'] = $data['updated_at'] ?? null; @@ -939,10 +945,34 @@ public function setNote($note) return $this; } + /** + * Gets refunds + * + * @return \Apideck\Client\Model\EcommerceOrderRefund[]|null + */ + public function getRefunds() + { + return $this->container['refunds']; + } + + /** + * Sets refunds + * + * @param \Apideck\Client\Model\EcommerceOrderRefund[]|null $refunds refunds + * + * @return self + */ + public function setRefunds($refunds) + { + $this->container['refunds'] = $refunds; + + return $this; + } + /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -952,7 +982,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/EcommerceOrderLineItem.php b/src/gen/lib/Model/EcommerceOrderLineItem.php index d33067483..3db01df24 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -63,7 +63,6 @@ class EcommerceOrderLineItem implements ModelInterface, ArrayAccess, \JsonSerial protected static $openAPITypes = [ 'name' => 'string', 'quantity' => 'string', - 'total_amount' => 'string', 'id' => 'string', 'product_id' => 'string', 'variant_id' => 'string', @@ -77,6 +76,7 @@ class EcommerceOrderLineItem implements ModelInterface, ArrayAccess, \JsonSerial 'refunded_amount' => 'string', 'refunded_quantity' => 'string', 'sub_total' => 'string', + 'total_amount' => 'string', 'discounts' => '\Apideck\Client\Model\EcommerceDiscount[]' ]; @@ -90,7 +90,6 @@ class EcommerceOrderLineItem implements ModelInterface, ArrayAccess, \JsonSerial protected static $openAPIFormats = [ 'name' => null, 'quantity' => null, - 'total_amount' => null, 'id' => null, 'product_id' => null, 'variant_id' => null, @@ -104,6 +103,7 @@ class EcommerceOrderLineItem implements ModelInterface, ArrayAccess, \JsonSerial 'refunded_amount' => null, 'refunded_quantity' => null, 'sub_total' => null, + 'total_amount' => null, 'discounts' => null ]; @@ -136,7 +136,6 @@ public static function openAPIFormats() protected static $attributeMap = [ 'name' => 'name', 'quantity' => 'quantity', - 'total_amount' => 'total_amount', 'id' => 'id', 'product_id' => 'product_id', 'variant_id' => 'variant_id', @@ -150,6 +149,7 @@ public static function openAPIFormats() 'refunded_amount' => 'refunded_amount', 'refunded_quantity' => 'refunded_quantity', 'sub_total' => 'sub_total', + 'total_amount' => 'total_amount', 'discounts' => 'discounts' ]; @@ -161,7 +161,6 @@ public static function openAPIFormats() protected static $setters = [ 'name' => 'setName', 'quantity' => 'setQuantity', - 'total_amount' => 'setTotalAmount', 'id' => 'setId', 'product_id' => 'setProductId', 'variant_id' => 'setVariantId', @@ -175,6 +174,7 @@ public static function openAPIFormats() 'refunded_amount' => 'setRefundedAmount', 'refunded_quantity' => 'setRefundedQuantity', 'sub_total' => 'setSubTotal', + 'total_amount' => 'setTotalAmount', 'discounts' => 'setDiscounts' ]; @@ -186,7 +186,6 @@ public static function openAPIFormats() protected static $getters = [ 'name' => 'getName', 'quantity' => 'getQuantity', - 'total_amount' => 'getTotalAmount', 'id' => 'getId', 'product_id' => 'getProductId', 'variant_id' => 'getVariantId', @@ -200,6 +199,7 @@ public static function openAPIFormats() 'refunded_amount' => 'getRefundedAmount', 'refunded_quantity' => 'getRefundedQuantity', 'sub_total' => 'getSubTotal', + 'total_amount' => 'getTotalAmount', 'discounts' => 'getDiscounts' ]; @@ -262,7 +262,6 @@ public function __construct(array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['quantity'] = $data['quantity'] ?? null; - $this->container['total_amount'] = $data['total_amount'] ?? null; $this->container['id'] = $data['id'] ?? null; $this->container['product_id'] = $data['product_id'] ?? null; $this->container['variant_id'] = $data['variant_id'] ?? null; @@ -276,6 +275,7 @@ public function __construct(array $data = null) $this->container['refunded_amount'] = $data['refunded_amount'] ?? null; $this->container['refunded_quantity'] = $data['refunded_quantity'] ?? null; $this->container['sub_total'] = $data['sub_total'] ?? null; + $this->container['total_amount'] = $data['total_amount'] ?? null; $this->container['discounts'] = $data['discounts'] ?? null; } @@ -294,9 +294,6 @@ public function listInvalidProperties() if ($this->container['quantity'] === null) { $invalidProperties[] = "'quantity' can't be null"; } - if ($this->container['total_amount'] === null) { - $invalidProperties[] = "'total_amount' can't be null"; - } return $invalidProperties; } @@ -360,30 +357,6 @@ public function setQuantity($quantity) return $this; } - /** - * Gets total_amount - * - * @return string - */ - public function getTotalAmount() - { - return $this->container['total_amount']; - } - - /** - * Sets total_amount - * - * @param string $total_amount The total amount for the product(s) or variant associated with the line item, including taxes and discounts. - * - * @return self - */ - public function setTotalAmount($total_amount) - { - $this->container['total_amount'] = $total_amount; - - return $this; - } - /** * Gets id * @@ -696,6 +669,30 @@ public function setSubTotal($sub_total) return $this; } + /** + * Gets total_amount + * + * @return string|null + */ + public function getTotalAmount() + { + return $this->container['total_amount']; + } + + /** + * Sets total_amount + * + * @param string|null $total_amount The total amount for the product(s) or variant associated with the line item, including taxes and discounts. + * + * @return self + */ + public function setTotalAmount($total_amount) + { + $this->container['total_amount'] = $total_amount; + + return $this; + } + /** * Gets discounts * diff --git a/src/gen/lib/Model/EcommerceOrderRefund.php b/src/gen/lib/Model/EcommerceOrderRefund.php new file mode 100644 index 000000000..afea6d11d --- /dev/null +++ b/src/gen/lib/Model/EcommerceOrderRefund.php @@ -0,0 +1,442 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class EcommerceOrderRefund implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'EcommerceOrderRefund'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'amount' => 'string', + 'currency' => '\Apideck\Client\Model\Currency', + 'reason' => 'string', + '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, + 'amount' => null, + 'currency' => null, + 'reason' => null, + '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', + 'amount' => 'amount', + 'currency' => 'currency', + 'reason' => 'reason', + 'created_at' => 'created_at' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'amount' => 'setAmount', + 'currency' => 'setCurrency', + 'reason' => 'setReason', + 'created_at' => 'setCreatedAt' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'amount' => 'getAmount', + 'currency' => 'getCurrency', + 'reason' => 'getReason', + '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; + } + + + /** + * 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['amount'] = $data['amount'] ?? null; + $this->container['currency'] = $data['currency'] ?? null; + $this->container['reason'] = $data['reason'] ?? 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 = []; + + 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 amount + * + * @return string|null + */ + public function getAmount() + { + return $this->container['amount']; + } + + /** + * Sets amount + * + * @param string|null $amount The amount of the refund. + * + * @return self + */ + public function setAmount($amount) + { + $this->container['amount'] = $amount; + + return $this; + } + + /** + * Gets currency + * + * @return \Apideck\Client\Model\Currency|null + */ + public function getCurrency() + { + return $this->container['currency']; + } + + /** + * Sets currency + * + * @param \Apideck\Client\Model\Currency|null $currency currency + * + * @return self + */ + public function setCurrency($currency) + { + $this->container['currency'] = $currency; + + return $this; + } + + /** + * Gets reason + * + * @return string|null + */ + public function getReason() + { + return $this->container['reason']; + } + + /** + * Sets reason + * + * @param string|null $reason The reason for the refund. + * + * @return self + */ + public function setReason($reason) + { + $this->container['reason'] = $reason; + + 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/EcommerceOrderStatus.php b/src/gen/lib/Model/EcommerceOrderStatus.php index 6f0ce67c2..0d5d89cc7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/EcommerceOrdersFilter.php b/src/gen/lib/Model/EcommerceOrdersFilter.php index 0673f3027..20b59a2e6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e292708f2..5e54f7edb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -74,7 +74,7 @@ class EcommerceProduct implements ModelInterface, ArrayAccess, \JsonSerializable 'variants' => '\Apideck\Client\Model\EcommerceProductVariants[]', 'tags' => 'string[]', 'categories' => '\Apideck\Client\Model\EcommerceProductCategories[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'created_at' => '\DateTime', 'updated_at' => '\DateTime' ]; @@ -678,7 +678,7 @@ public function setCategories($categories) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -688,7 +688,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/EcommerceProductCategories.php b/src/gen/lib/Model/EcommerceProductCategories.php index 581f47471..a1ca8bc0b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 97f74c0a0..fac2045ff 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 602ddda8a..218cb1dda 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 979241dd3..9efdb18b8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 effd1e11c..bb199eb04 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bb4303df6..04238d656 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4c45c2559..f03540b13 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -64,7 +64,7 @@ class EcommerceStore implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'store_url' => 'string', 'admin_url' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'created_at' => '\DateTime', 'updated_at' => '\DateTime' ]; @@ -362,7 +362,7 @@ public function setAdminUrl($admin_url) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -372,7 +372,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Email.php b/src/gen/lib/Model/Email.php index 5116f1fbd..52d005eca 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5fa629d41..1ab053a59 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -119,7 +119,7 @@ class Employee implements ModelInterface, ArrayAccess, \JsonSerializable 'food_allergies' => 'string[]', 'probation_period' => '\Apideck\Client\Model\ProbationPeriod', 'tags' => 'string[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'deleted' => 'bool', 'updated_by' => 'string', @@ -2076,7 +2076,7 @@ public function setTags($tags) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -2086,7 +2086,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/EmployeeCompensation.php b/src/gen/lib/Model/EmployeeCompensation.php index d5bc57450..b87395bd3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ef01abe58..40f563c71 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8e11d6d86..2cf771f86 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7248ecd55..0b1d4303a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 57038e1ba..449ecc7d4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8e07fa333..f3ddb0592 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ecb07a006..db615a482 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 da3839659..de79b49a6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,8 @@ class EmployeesFilter implements ModelInterface, ArrayAccess, \JsonSerializable 'employment_status' => 'string', 'employee_number' => 'string', 'department_id' => 'string', - 'city' => 'string' + 'city' => 'string', + 'country' => 'string' ]; /** @@ -89,7 +90,8 @@ class EmployeesFilter implements ModelInterface, ArrayAccess, \JsonSerializable 'employment_status' => null, 'employee_number' => null, 'department_id' => null, - 'city' => null + 'city' => null, + 'country' => null ]; /** @@ -128,7 +130,8 @@ public static function openAPIFormats() 'employment_status' => 'employment_status', 'employee_number' => 'employee_number', 'department_id' => 'department_id', - 'city' => 'city' + 'city' => 'city', + 'country' => 'country' ]; /** @@ -146,7 +149,8 @@ public static function openAPIFormats() 'employment_status' => 'setEmploymentStatus', 'employee_number' => 'setEmployeeNumber', 'department_id' => 'setDepartmentId', - 'city' => 'setCity' + 'city' => 'setCity', + 'country' => 'setCountry' ]; /** @@ -164,7 +168,8 @@ public static function openAPIFormats() 'employment_status' => 'getEmploymentStatus', 'employee_number' => 'getEmployeeNumber', 'department_id' => 'getDepartmentId', - 'city' => 'getCity' + 'city' => 'getCity', + 'country' => 'getCountry' ]; /** @@ -253,6 +258,7 @@ public function __construct(array $data = null) $this->container['employee_number'] = $data['employee_number'] ?? null; $this->container['department_id'] = $data['department_id'] ?? null; $this->container['city'] = $data['city'] ?? null; + $this->container['country'] = $data['country'] ?? null; } /** @@ -537,6 +543,30 @@ public function setCity($city) return $this; } + + /** + * Gets country + * + * @return string|null + */ + public function getCountry() + { + return $this->container['country']; + } + + /** + * Sets country + * + * @param string|null $country Country to filter on + * + * @return self + */ + public function setCountry($country) + { + $this->container['country'] = $country; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/EmployeesOneFilter.php b/src/gen/lib/Model/EmployeesOneFilter.php index e3776c353..abe47a5dc 100644 --- a/src/gen/lib/Model/EmployeesOneFilter.php +++ b/src/gen/lib/Model/EmployeesOneFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 67ff488c1..f90f0e3ad 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a8ea034b0..a80bbdb50 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 659deb73b..76e35505e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bcceb920f..63cbea21f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Expense.php b/src/gen/lib/Model/Expense.php index 931aa7c99..41b157f9e 100644 --- a/src/gen/lib/Model/Expense.php +++ b/src/gen/lib/Model/Expense.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -77,10 +77,12 @@ class Expense implements ModelInterface, ArrayAccess, \JsonSerializable 'tax_rate' => '\Apideck\Client\Model\LinkedTaxRate', 'total_amount' => 'float', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => '\DateTime', 'created_at' => '\DateTime', 'row_version' => 'string', + 'updated_by' => 'string', + 'created_by' => 'string', 'pass_through' => 'object[]' ]; @@ -113,6 +115,8 @@ class Expense implements ModelInterface, ArrayAccess, \JsonSerializable 'updated_at' => 'date-time', 'created_at' => 'date-time', 'row_version' => null, + 'updated_by' => null, + 'created_by' => null, 'pass_through' => null ]; @@ -164,6 +168,8 @@ public static function openAPIFormats() 'updated_at' => 'updated_at', 'created_at' => 'created_at', 'row_version' => 'row_version', + 'updated_by' => 'updated_by', + 'created_by' => 'created_by', 'pass_through' => 'pass_through' ]; @@ -194,6 +200,8 @@ public static function openAPIFormats() 'updated_at' => 'setUpdatedAt', 'created_at' => 'setCreatedAt', 'row_version' => 'setRowVersion', + 'updated_by' => 'setUpdatedBy', + 'created_by' => 'setCreatedBy', 'pass_through' => 'setPassThrough' ]; @@ -224,6 +232,8 @@ public static function openAPIFormats() 'updated_at' => 'getUpdatedAt', 'created_at' => 'getCreatedAt', 'row_version' => 'getRowVersion', + 'updated_by' => 'getUpdatedBy', + 'created_by' => 'getCreatedBy', 'pass_through' => 'getPassThrough' ]; @@ -337,6 +347,8 @@ public function __construct(array $data = null) $this->container['updated_at'] = $data['updated_at'] ?? null; $this->container['created_at'] = $data['created_at'] ?? 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['pass_through'] = $data['pass_through'] ?? null; } @@ -831,7 +843,7 @@ public function setCustomFields($custom_fields) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -841,7 +853,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ @@ -924,6 +936,54 @@ public function setRowVersion($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 pass_through * diff --git a/src/gen/lib/Model/ExpenseLineItem.php b/src/gen/lib/Model/ExpenseLineItem.php index 872782895..4a287c05c 100644 --- a/src/gen/lib/Model/ExpenseLineItem.php +++ b/src/gen/lib/Model/ExpenseLineItem.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -70,7 +70,8 @@ class ExpenseLineItem implements ModelInterface, ArrayAccess, \JsonSerializable 'subsidiary_id' => 'string', 'tax_rate' => '\Apideck\Client\Model\LinkedTaxRate', 'description' => 'string', - 'billable' => 'bool' + 'billable' => 'bool', + 'line_number' => 'int' ]; /** @@ -91,7 +92,8 @@ class ExpenseLineItem implements ModelInterface, ArrayAccess, \JsonSerializable 'subsidiary_id' => null, 'tax_rate' => null, 'description' => null, - 'billable' => null + 'billable' => null, + 'line_number' => null ]; /** @@ -131,7 +133,8 @@ public static function openAPIFormats() 'subsidiary_id' => 'subsidiary_id', 'tax_rate' => 'tax_rate', 'description' => 'description', - 'billable' => 'billable' + 'billable' => 'billable', + 'line_number' => 'line_number' ]; /** @@ -150,7 +153,8 @@ public static function openAPIFormats() 'subsidiary_id' => 'setSubsidiaryId', 'tax_rate' => 'setTaxRate', 'description' => 'setDescription', - 'billable' => 'setBillable' + 'billable' => 'setBillable', + 'line_number' => 'setLineNumber' ]; /** @@ -169,7 +173,8 @@ public static function openAPIFormats() 'subsidiary_id' => 'getSubsidiaryId', 'tax_rate' => 'getTaxRate', 'description' => 'getDescription', - 'billable' => 'getBillable' + 'billable' => 'getBillable', + 'line_number' => 'getLineNumber' ]; /** @@ -240,6 +245,7 @@ public function __construct(array $data = null) $this->container['tax_rate'] = $data['tax_rate'] ?? null; $this->container['description'] = $data['description'] ?? null; $this->container['billable'] = $data['billable'] ?? null; + $this->container['line_number'] = $data['line_number'] ?? null; } /** @@ -532,6 +538,30 @@ public function setBillable($billable) return $this; } + + /** + * Gets line_number + * + * @return int|null + */ + public function getLineNumber() + { + return $this->container['line_number']; + } + + /** + * Sets line_number + * + * @param int|null $line_number Line number of the resource + * + * @return self + */ + public function setLineNumber($line_number) + { + $this->container['line_number'] = $line_number; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/Expenses.php b/src/gen/lib/Model/Expenses.php index 72d2dbf5e..595558e38 100644 --- a/src/gen/lib/Model/Expenses.php +++ b/src/gen/lib/Model/Expenses.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e052c7012..fb7a2fdf8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 aab870065..ca9d8bfd6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9f158d7fa..068b21976 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ac7faab07..fb7ce65f4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 de0fb4b04..4e2414284 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 61f60d134..15c265091 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -68,7 +68,7 @@ class Folder implements ModelInterface, ArrayAccess, \JsonSerializable 'size' => 'int', 'owner' => '\Apideck\Client\Model\Owner', 'parent_folders_complete' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -479,7 +479,7 @@ public function setParentFoldersComplete($parent_folders_complete) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -489,7 +489,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/FormField.php b/src/gen/lib/Model/FormField.php index c5c28fb69..fd6fc4ac1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 52c1d0f3a..0eabe5eef 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 84c5bca68..26a92391a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2ba51041d..9cb39e4bf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 0e84b25c8..7fceef105 100644 --- a/src/gen/lib/Model/GetAccountingDepartmentResponse.php +++ b/src/gen/lib/Model/GetAccountingDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAccountingDepartmentsResponse.php b/src/gen/lib/Model/GetAccountingDepartmentsResponse.php index 9cef380a1..2101be350 100644 --- a/src/gen/lib/Model/GetAccountingDepartmentsResponse.php +++ b/src/gen/lib/Model/GetAccountingDepartmentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAccountingLocationResponse.php b/src/gen/lib/Model/GetAccountingLocationResponse.php index e68a85f39..2757f4a87 100644 --- a/src/gen/lib/Model/GetAccountingLocationResponse.php +++ b/src/gen/lib/Model/GetAccountingLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAccountingLocationsResponse.php b/src/gen/lib/Model/GetAccountingLocationsResponse.php index c7aed3b44..4c97fffd5 100644 --- a/src/gen/lib/Model/GetAccountingLocationsResponse.php +++ b/src/gen/lib/Model/GetAccountingLocationsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetActivitiesResponse.php b/src/gen/lib/Model/GetActivitiesResponse.php index 49e7619d0..87ed569b5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 802f5ced2..3926b116e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAgedCreditorsResponse.php b/src/gen/lib/Model/GetAgedCreditorsResponse.php index 38efbece2..d011ba7c5 100644 --- a/src/gen/lib/Model/GetAgedCreditorsResponse.php +++ b/src/gen/lib/Model/GetAgedCreditorsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAgedDebtorsResponse.php b/src/gen/lib/Model/GetAgedDebtorsResponse.php index 5902a90de..79cd6b21c 100644 --- a/src/gen/lib/Model/GetAgedDebtorsResponse.php +++ b/src/gen/lib/Model/GetAgedDebtorsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 be0334a6c..86f0a110b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b8321a919..a392b9625 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b42eb25da..212d2313b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8311c7e0e..b8dd1db47 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 32080f512..15bd9a209 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3cd9b9464..8dcb920ba 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ca674cf3a..4cfa35f33 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 66b848d9d..1e84cc682 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAttachmentResponse.php b/src/gen/lib/Model/GetAttachmentResponse.php index 85e9c3bb2..31e0a29be 100644 --- a/src/gen/lib/Model/GetAttachmentResponse.php +++ b/src/gen/lib/Model/GetAttachmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetAttachmentsResponse.php b/src/gen/lib/Model/GetAttachmentsResponse.php index a90ea7f0f..08a348042 100644 --- a/src/gen/lib/Model/GetAttachmentsResponse.php +++ b/src/gen/lib/Model/GetAttachmentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 aa0e71b24..1d1694fa3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetBankFeedAccountResponse.php b/src/gen/lib/Model/GetBankFeedAccountResponse.php new file mode 100644 index 000000000..4c3cb2095 --- /dev/null +++ b/src/gen/lib/Model/GetBankFeedAccountResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetBankFeedAccountResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetBankFeedAccountResponse'; + + /** + * 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\BankFeedAccount', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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\BankFeedAccount + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\BankFeedAccount $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/GetBankFeedAccountsResponse.php b/src/gen/lib/Model/GetBankFeedAccountsResponse.php new file mode 100644 index 000000000..f3f6c5fa1 --- /dev/null +++ b/src/gen/lib/Model/GetBankFeedAccountsResponse.php @@ -0,0 +1,579 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetBankFeedAccountsResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetBankFeedAccountsResponse'; + + /** + * 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\BankFeedAccount[]', + 'meta' => '\Apideck\Client\Model\Meta', + 'links' => '\Apideck\Client\Model\Links', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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; + $this->container['_raw'] = $data['_raw'] ?? 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\BankFeedAccount[] + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\BankFeedAccount[] $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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/GetBankFeedStatementResponse.php b/src/gen/lib/Model/GetBankFeedStatementResponse.php new file mode 100644 index 000000000..e49d4a9e9 --- /dev/null +++ b/src/gen/lib/Model/GetBankFeedStatementResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetBankFeedStatementResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetBankFeedStatementResponse'; + + /** + * 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\BankFeedStatement', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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\BankFeedStatement + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\BankFeedStatement $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/GetBankFeedStatementsResponse.php b/src/gen/lib/Model/GetBankFeedStatementsResponse.php new file mode 100644 index 000000000..f5d616e3a --- /dev/null +++ b/src/gen/lib/Model/GetBankFeedStatementsResponse.php @@ -0,0 +1,579 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetBankFeedStatementsResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetBankFeedStatementsResponse'; + + /** + * 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\BankFeedStatement[]', + 'meta' => '\Apideck\Client\Model\Meta', + 'links' => '\Apideck\Client\Model\Links', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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; + $this->container['_raw'] = $data['_raw'] ?? 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\BankFeedStatement[] + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\BankFeedStatement[] $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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/GetBillPaymentResponse.php b/src/gen/lib/Model/GetBillPaymentResponse.php index c2f29805a..de12d1eec 100644 --- a/src/gen/lib/Model/GetBillPaymentResponse.php +++ b/src/gen/lib/Model/GetBillPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetBillPaymentsResponse.php b/src/gen/lib/Model/GetBillPaymentsResponse.php index 3556f9cb6..fb8f71c35 100644 --- a/src/gen/lib/Model/GetBillPaymentsResponse.php +++ b/src/gen/lib/Model/GetBillPaymentsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 54937ce16..ced4a6a10 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8c00edabd..42447a7d9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7473cf027..6f0023a74 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2676a6c44..d615bc621 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4a3d550ab..ac9b3d454 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ae0bd6ec2..25b2dba83 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 93dc16fd4..dec5aea0d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e596548eb..c9f7df7f7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c193537a7..7d610a2a8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e9640d33d..9de9406b9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 021ae3899..bf9d5d178 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a08fd3c79..5a62ba14d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e61b6f5f9..b7e8c08b5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 51a774f0d..ef6a95d33 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ce43aa2cf..c06782ff7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 444e7abe2..ccf21269e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ba4a56a71..d643b001e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3fe4d760d..448e64d83 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 07362ce88..857fa9807 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a30a18d84..190c0e15b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8fd8488ff..1619c369a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 591ecebac..a9b26c05b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5dc4fdb26..5e51f030c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b202b3c08..f778ce4f4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0f05e1d52..5b8067497 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 64bcb6db2..7d7fa1bd6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3d3a4f994..5e66507d1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f653d3fee..af8f80f71 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1cf5bbca8..962f418e3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCustomMappingsResponse.php b/src/gen/lib/Model/GetCustomMappingsResponse.php index fe587e694..547976ea4 100644 --- a/src/gen/lib/Model/GetCustomMappingsResponse.php +++ b/src/gen/lib/Model/GetCustomMappingsResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetCustomObjectResponse.php b/src/gen/lib/Model/GetCustomObjectResponse.php new file mode 100644 index 000000000..9154aafc5 --- /dev/null +++ b/src/gen/lib/Model/GetCustomObjectResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetCustomObjectResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetCustomObjectResponse'; + + /** + * 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\CustomObject', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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\CustomObject + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObject $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/GetCustomObjectSchemaResponse.php b/src/gen/lib/Model/GetCustomObjectSchemaResponse.php new file mode 100644 index 000000000..7c2a386ae --- /dev/null +++ b/src/gen/lib/Model/GetCustomObjectSchemaResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetCustomObjectSchemaResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetCustomObjectSchemaResponse'; + + /** + * 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\CustomObjectSchema', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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\CustomObjectSchema + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObjectSchema $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/GetCustomObjectSchemasResponse.php b/src/gen/lib/Model/GetCustomObjectSchemasResponse.php new file mode 100644 index 000000000..bcb4221a5 --- /dev/null +++ b/src/gen/lib/Model/GetCustomObjectSchemasResponse.php @@ -0,0 +1,579 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetCustomObjectSchemasResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetCustomObjectSchemasResponse'; + + /** + * 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\CustomObjectSchema[]', + '_raw' => 'array', + '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, + '_raw' => 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', + '_raw' => '_raw', + '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', + '_raw' => 'setRaw', + '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', + '_raw' => 'getRaw', + '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['_raw'] = $data['_raw'] ?? 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\CustomObjectSchema[] + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObjectSchema[] $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/GetCustomObjectsResponse.php b/src/gen/lib/Model/GetCustomObjectsResponse.php new file mode 100644 index 000000000..9fb3a4b82 --- /dev/null +++ b/src/gen/lib/Model/GetCustomObjectsResponse.php @@ -0,0 +1,579 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class GetCustomObjectsResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetCustomObjectsResponse'; + + /** + * 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\CustomObject[]', + '_raw' => 'array', + '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, + '_raw' => 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', + '_raw' => '_raw', + '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', + '_raw' => 'setRaw', + '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', + '_raw' => 'getRaw', + '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['_raw'] = $data['_raw'] ?? 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\CustomObject[] + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \Apideck\Client\Model\CustomObject[] $data data + * + * @return self + */ + public function setData($data) + { + $this->container['data'] = $data; + + return $this; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/GetCustomerResponse.php b/src/gen/lib/Model/GetCustomerResponse.php index 97eecb9ad..f23662317 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e66bef2dc..f8fd6bd29 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6f88dd2b5..d59b96511 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d11f6e6cd..e38563517 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6335cf141..042f66f20 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 45079e82a..54ff3447d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7e70d8b26..8a7600334 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fafb39041..fbebdcd35 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3e65fbd9d..199fb40a5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 af1582f36..a9f8cad58 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e96214a52..53fbc8da7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 de574dccb..bb76b3028 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b3c64367a..ad400fd2c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f792dc97e..5ad9edcc0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 348021de1..936af5cf2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dbfd26401..6d50b27e0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6c6131caa..ab3b59a60 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetExpenseResponse.php b/src/gen/lib/Model/GetExpenseResponse.php index e6ccd3b51..2969b603c 100644 --- a/src/gen/lib/Model/GetExpenseResponse.php +++ b/src/gen/lib/Model/GetExpenseResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetExpensesResponse.php b/src/gen/lib/Model/GetExpensesResponse.php index 8e87a4610..eede8b849 100644 --- a/src/gen/lib/Model/GetExpensesResponse.php +++ b/src/gen/lib/Model/GetExpensesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d67555fda..7962283ff 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 37f41536a..b66d601f8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e355c0313..9a0369b38 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bb368765e..33217a3cc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a9df284fa..1e2f42ef5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5154b8d9d..bbcd530da 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 af243d254..92855ab38 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f6927a899..aaff81150 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dd33d0b37..8e4cd5ec7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 643ec925b..3bc8fa0f3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 900360080..6219062ad 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 353e9d789..89c1b726b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 af1a6a873..8021e050a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 192f5a342..62cc864d9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 17b077155..57f250650 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f1c75800a..f14eb3aae 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a6d6a9ddd..4af139d16 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2fc1df188..4cc1ceeae 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5e86d66fe..3b68d56e1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f6c6656b8..36f27e377 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4955c2647..4f450819a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 faafaaaa7..ead1b67e5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 848ca2e09..0cf7d28d7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ada1ac941..a057ae932 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dbf445928..0a84e62e2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 40eca2aa0..7659656b3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c3ecbe4db..9201edd0b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dc2d30157..05219fe1c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d70bad50f..12fac398e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 15f43f7a1..4a00fa21d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 243d079f3..670739d86 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e56381d46..417360a1f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 703c5f6b9..315dbad3e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6fd357fb1..3c497daf5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e41d67878..3ecefb0ad 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9798c79e4..73c221363 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d103b27ef..9ed2ed6e7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3086742b1..3ce4693ae 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 47f2f9039..d675c9bb3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 56fda274e..db51632c9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 07b5c8384..6cc65aa7b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 442c30ae2..47280a1d0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 60d9b1b03..36679a86c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7b6e4a7d6..21d7fc124 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 45f4008b9..d9c19afaa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1944b2ea1..03bd385c8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5db60624c..003427977 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 265995ff8..888a0b618 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 916d0d801..11e18d15f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c29095d9e..7b13b01bc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ead9f2876..753d2c189 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ba568d009..89bd0775a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 85b0dcb8b..0e13d6414 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d65528a2f..0dc0abd1e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3b0a1f3cd..54faf185b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4a2cb24ea..3df05a4bb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5602dea2e..a50b4d5c3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 82edefc82..9e159dc04 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f291ec7ad..c7e251863 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f2fb876e3..3e891f0dc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 9a3e8a2a9..5f6e121e6 100644 --- a/src/gen/lib/Model/GetSubsidiariesResponse.php +++ b/src/gen/lib/Model/GetSubsidiariesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetSubsidiaryResponse.php b/src/gen/lib/Model/GetSubsidiaryResponse.php index 440a32a64..7a0f690f2 100644 --- a/src/gen/lib/Model/GetSubsidiaryResponse.php +++ b/src/gen/lib/Model/GetSubsidiaryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetSupplierResponse.php b/src/gen/lib/Model/GetSupplierResponse.php index 5ffa788b6..de79adc2f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 72597717e..ecd937151 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a80c2a81b..7993572d0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4a4964525..e79a40a8d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8eb460a75..0932e4fcd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 435f5b92d..d76e6585b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bba870d72..c331b19de 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 73d6922f2..66ca4c824 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 519991830..c18d6c55d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7c6e6348c..c30685e45 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTrackingCategoriesResponse.php b/src/gen/lib/Model/GetTrackingCategoriesResponse.php index 3c12abc46..f18da75df 100644 --- a/src/gen/lib/Model/GetTrackingCategoriesResponse.php +++ b/src/gen/lib/Model/GetTrackingCategoriesResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/GetTrackingCategoryResponse.php b/src/gen/lib/Model/GetTrackingCategoryResponse.php index cac736be6..218143cab 100644 --- a/src/gen/lib/Model/GetTrackingCategoryResponse.php +++ b/src/gen/lib/Model/GetTrackingCategoryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 de778ee74..cd4659111 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 901f0deb9..ea5dd94b8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 efaa6a6a6..be92c1469 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 52224b83c..883859372 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 37a48fb29..959e139e9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4a9fe80b7..c8e8787d9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 709265f2a..3d974d9e1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -72,7 +72,7 @@ class HrisCompany implements ModelInterface, ArrayAccess, \JsonSerializable 'emails' => '\Apideck\Client\Model\Email[]', 'websites' => '\Apideck\Client\Model\Website[]', 'debtor_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'deleted' => 'bool', 'updated_by' => 'string', 'created_by' => 'string', @@ -682,7 +682,7 @@ public function setDebtorId($debtor_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -692,7 +692,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/HrisEventType.php b/src/gen/lib/Model/HrisEventType.php index 15bec231d..92c480557 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f69b6bfa2..4b9a4d224 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class HrisJob implements ModelInterface, ArrayAccess, \JsonSerializable 'department' => 'string', 'is_primary' => 'bool', 'location' => '\Apideck\Client\Model\HrisJobLocation', - 'custom_mappings' => 'object' + 'custom_mappings' => 'array' ]; /** @@ -479,7 +479,7 @@ public function setLocation($location) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -489,7 +489,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/HrisJobLocation.php b/src/gen/lib/Model/HrisJobLocation.php index f8300f36d..0c6c28da1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 650146986..04a6d450d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Income.php b/src/gen/lib/Model/Income.php index 29b9159ef..bc6748f18 100644 --- a/src/gen/lib/Model/Income.php +++ b/src/gen/lib/Model/Income.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7d1e3f8b4..900287dbf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7996fc5b5..383f5429b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -92,13 +92,14 @@ class Invoice implements ModelInterface, ArrayAccess, \JsonSerializable 'shipping_address' => '\Apideck\Client\Model\Address', 'template_id' => 'string', 'source_document_url' => 'string', + 'payment_allocations' => '\Apideck\Client\Model\InvoicePaymentAllocations[]', 'payment_method' => 'string', 'channel' => 'string', 'language' => 'string', 'accounting_by_row' => 'bool', 'bank_account' => '\Apideck\Client\Model\BankAccount', 'ledger_account' => '\Apideck\Client\Model\LinkedLedgerAccount', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'updated_by' => 'string', @@ -148,6 +149,7 @@ class Invoice implements ModelInterface, ArrayAccess, \JsonSerializable 'shipping_address' => null, 'template_id' => null, 'source_document_url' => null, + 'payment_allocations' => null, 'payment_method' => null, 'channel' => null, 'language' => null, @@ -223,6 +225,7 @@ public static function openAPIFormats() 'shipping_address' => 'shipping_address', 'template_id' => 'template_id', 'source_document_url' => 'source_document_url', + 'payment_allocations' => 'payment_allocations', 'payment_method' => 'payment_method', 'channel' => 'channel', 'language' => 'language', @@ -277,6 +280,7 @@ public static function openAPIFormats() 'shipping_address' => 'setShippingAddress', 'template_id' => 'setTemplateId', 'source_document_url' => 'setSourceDocumentUrl', + 'payment_allocations' => 'setPaymentAllocations', 'payment_method' => 'setPaymentMethod', 'channel' => 'setChannel', 'language' => 'setLanguage', @@ -331,6 +335,7 @@ public static function openAPIFormats() 'shipping_address' => 'getShippingAddress', 'template_id' => 'getTemplateId', 'source_document_url' => 'getSourceDocumentUrl', + 'payment_allocations' => 'getPaymentAllocations', 'payment_method' => 'getPaymentMethod', 'channel' => 'getChannel', 'language' => 'getLanguage', @@ -486,6 +491,7 @@ public function __construct(array $data = null) $this->container['shipping_address'] = $data['shipping_address'] ?? null; $this->container['template_id'] = $data['template_id'] ?? null; $this->container['source_document_url'] = $data['source_document_url'] ?? null; + $this->container['payment_allocations'] = $data['payment_allocations'] ?? null; $this->container['payment_method'] = $data['payment_method'] ?? null; $this->container['channel'] = $data['channel'] ?? null; $this->container['language'] = $data['language'] ?? null; @@ -1334,6 +1340,30 @@ public function setSourceDocumentUrl($source_document_url) return $this; } + /** + * Gets payment_allocations + * + * @return \Apideck\Client\Model\InvoicePaymentAllocations[]|null + */ + public function getPaymentAllocations() + { + return $this->container['payment_allocations']; + } + + /** + * Sets payment_allocations + * + * @param \Apideck\Client\Model\InvoicePaymentAllocations[]|null $payment_allocations IDs of payments made on the invoice + * + * @return self + */ + public function setPaymentAllocations($payment_allocations) + { + $this->container['payment_allocations'] = $payment_allocations; + + return $this; + } + /** * Gets payment_method * @@ -1481,7 +1511,7 @@ public function setLedgerAccount($ledger_account) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1491,7 +1521,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/InvoiceItem.php b/src/gen/lib/Model/InvoiceItem.php index 9476a4aca..935243663 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -84,7 +84,7 @@ class InvoiceItem implements ModelInterface, ArrayAccess, \JsonSerializable 'location_id' => 'string', 'subsidiary_id' => 'string', 'tax_schedule_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -1007,7 +1007,7 @@ public function setTaxScheduleId($tax_schedule_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1017,7 +1017,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/InvoiceItemFilter.php b/src/gen/lib/Model/InvoiceItemFilter.php index 9d4c04ae0..fc4ea7e5b 100644 --- a/src/gen/lib/Model/InvoiceItemFilter.php +++ b/src/gen/lib/Model/InvoiceItemFilter.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8759ccd46..b5eb4de11 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9618375f6..10b382e47 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/InvoiceItemsSort.php b/src/gen/lib/Model/InvoiceItemsSort.php index 297d1fb1e..7a9050e77 100644 --- a/src/gen/lib/Model/InvoiceItemsSort.php +++ b/src/gen/lib/Model/InvoiceItemsSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4d9e5d9e8..ab39f914d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -287,6 +287,7 @@ public function getModelName() const TYPE_DISCOUNT = 'discount'; const TYPE_INFO = 'info'; const TYPE_SUB_TOTAL = 'sub_total'; + const TYPE_SERVICE = 'service'; const TYPE_OTHER = 'other'; /** @@ -301,6 +302,7 @@ public function getTypeAllowableValues() self::TYPE_DISCOUNT, self::TYPE_INFO, self::TYPE_SUB_TOTAL, + self::TYPE_SERVICE, self::TYPE_OTHER, ]; } diff --git a/src/gen/lib/Model/InvoicePaymentAllocations.php b/src/gen/lib/Model/InvoicePaymentAllocations.php new file mode 100644 index 000000000..86b3afa71 --- /dev/null +++ b/src/gen/lib/Model/InvoicePaymentAllocations.php @@ -0,0 +1,381 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class InvoicePaymentAllocations implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'Invoice_payment_allocations'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'allocated_amount' => 'float', + 'date' => '\DateTime' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'allocated_amount' => null, + 'date' => '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', + 'allocated_amount' => 'allocated_amount', + 'date' => 'date' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'allocated_amount' => 'setAllocatedAmount', + 'date' => 'setDate' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'allocated_amount' => 'getAllocatedAmount', + 'date' => 'getDate' + ]; + + /** + * 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['allocated_amount'] = $data['allocated_amount'] ?? null; + $this->container['date'] = $data['date'] ?? 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 ID of the payment + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets allocated_amount + * + * @return float|null + */ + public function getAllocatedAmount() + { + return $this->container['allocated_amount']; + } + + /** + * Sets allocated_amount + * + * @param float|null $allocated_amount Amount of the payment allocated to the invoice + * + * @return self + */ + public function setAllocatedAmount($allocated_amount) + { + $this->container['allocated_amount'] = $allocated_amount; + + return $this; + } + + /** + * Gets date + * + * @return \DateTime|null + */ + public function getDate() + { + return $this->container['date']; + } + + /** + * Sets date + * + * @param \DateTime|null $date Date of the payment + * + * @return self + */ + public function setDate($date) + { + $this->container['date'] = $date; + + 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/InvoiceResponse.php b/src/gen/lib/Model/InvoiceResponse.php index b847a7012..80e2e033f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4e4420e89..73e59a99a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bc1e78bf6..7309d684c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8f2106202..151db71cd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 69187c6c7..6ea8d93fa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d8f78c74b..c2563a998 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -86,7 +86,7 @@ class Item implements ModelInterface, ArrayAccess, \JsonSerializable 'available' => 'bool', 'hidden' => 'bool', 'version' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'deleted' => 'bool', 'updated_by' => 'string', 'created_by' => 'string', @@ -1108,7 +1108,7 @@ public function setVersion($version) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1118,7 +1118,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Job.php b/src/gen/lib/Model/Job.php index 6a29a4d13..b934f4280 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -97,7 +97,7 @@ class Job implements ModelInterface, ArrayAccess, \JsonSerializable 'deleted' => 'bool', 'owner_id' => 'string', 'published_at' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1437,7 +1437,7 @@ public function setPublishedAt($published_at) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1447,7 +1447,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/JobLinks.php b/src/gen/lib/Model/JobLinks.php index 0d47b49f9..61e43a666 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fe69f6edc..55b82f817 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f10c4560e..bf7bc99fa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e5f4712c2..d1208483c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 30c6efaee..d3b8a01ce 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ab47605a1..f929d8acb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -66,6 +66,7 @@ class JournalEntry implements ModelInterface, ArrayAccess, \JsonSerializable 'currency' => '\Apideck\Client\Model\Currency', 'company_id' => 'string', 'line_items' => '\Apideck\Client\Model\JournalEntryLineItem[]', + 'status' => 'string', 'memo' => 'string', 'posted_at' => '\DateTime', 'journal_symbol' => 'string', @@ -74,7 +75,7 @@ class JournalEntry implements ModelInterface, ArrayAccess, \JsonSerializable 'number' => 'string', 'tracking_categories' => '\Apideck\Client\Model\LinkedTrackingCategory[]', 'accounting_period' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -98,6 +99,7 @@ class JournalEntry implements ModelInterface, ArrayAccess, \JsonSerializable 'currency' => null, 'company_id' => null, 'line_items' => null, + 'status' => null, 'memo' => null, 'posted_at' => 'date-time', 'journal_symbol' => null, @@ -149,6 +151,7 @@ public static function openAPIFormats() 'currency' => 'currency', 'company_id' => 'company_id', 'line_items' => 'line_items', + 'status' => 'status', 'memo' => 'memo', 'posted_at' => 'posted_at', 'journal_symbol' => 'journal_symbol', @@ -179,6 +182,7 @@ public static function openAPIFormats() 'currency' => 'setCurrency', 'company_id' => 'setCompanyId', 'line_items' => 'setLineItems', + 'status' => 'setStatus', 'memo' => 'setMemo', 'posted_at' => 'setPostedAt', 'journal_symbol' => 'setJournalSymbol', @@ -209,6 +213,7 @@ public static function openAPIFormats() 'currency' => 'getCurrency', 'company_id' => 'getCompanyId', 'line_items' => 'getLineItems', + 'status' => 'getStatus', 'memo' => 'getMemo', 'posted_at' => 'getPostedAt', 'journal_symbol' => 'getJournalSymbol', @@ -268,6 +273,31 @@ public function getModelName() return self::$openAPIModelName; } + const STATUS_DRAFT = 'draft'; + const STATUS_PENDING_APPROVAL = 'pending_approval'; + const STATUS_APPROVED = 'approved'; + const STATUS_POSTED = 'posted'; + const STATUS_VOIDED = 'voided'; + const STATUS_REJECTED = 'rejected'; + const STATUS_DELETED = 'deleted'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getStatusAllowableValues() + { + return [ + self::STATUS_DRAFT, + self::STATUS_PENDING_APPROVAL, + self::STATUS_APPROVED, + self::STATUS_POSTED, + self::STATUS_VOIDED, + self::STATUS_REJECTED, + self::STATUS_DELETED, + ]; + } /** * Associative array for storing property values @@ -290,6 +320,7 @@ public function __construct(array $data = null) $this->container['currency'] = $data['currency'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; $this->container['line_items'] = $data['line_items'] ?? null; + $this->container['status'] = $data['status'] ?? null; $this->container['memo'] = $data['memo'] ?? null; $this->container['posted_at'] = $data['posted_at'] ?? null; $this->container['journal_symbol'] = $data['journal_symbol'] ?? null; @@ -321,6 +352,15 @@ public function listInvalidProperties() $invalidProperties[] = "invalid value for 'line_items', number of items must be greater than or equal to 2."; } + $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; } @@ -485,6 +525,40 @@ public function setLineItems($line_items) return $this; } + /** + * Gets status + * + * @return string|null + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * + * @param string|null $status Journal entry status + * + * @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 memo * @@ -680,7 +754,7 @@ public function setAccountingPeriod($accounting_period) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -690,7 +764,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/JournalEntryLineItem.php b/src/gen/lib/Model/JournalEntryLineItem.php index 92767a121..d6aba12f1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 72c05d9a3..f5777a7c6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -61,8 +61,8 @@ class Lead implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPITypes = [ 'name' => 'string', - 'company_name' => 'string', 'id' => 'string', + 'company_name' => 'string', 'owner_id' => 'string', 'owner_name' => 'string', 'company_id' => 'string', @@ -85,7 +85,7 @@ class Lead implements ModelInterface, ArrayAccess, \JsonSerializable 'emails' => '\Apideck\Client\Model\Email[]', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'tags' => 'string[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => 'string', 'created_at' => 'string', 'pass_through' => 'object[]' @@ -100,8 +100,8 @@ class Lead implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPIFormats = [ 'name' => null, - 'company_name' => null, 'id' => null, + 'company_name' => null, 'owner_id' => null, 'owner_name' => null, 'company_id' => null, @@ -158,8 +158,8 @@ public static function openAPIFormats() */ protected static $attributeMap = [ 'name' => 'name', - 'company_name' => 'company_name', 'id' => 'id', + 'company_name' => 'company_name', 'owner_id' => 'owner_id', 'owner_name' => 'owner_name', 'company_id' => 'company_id', @@ -195,8 +195,8 @@ public static function openAPIFormats() */ protected static $setters = [ 'name' => 'setName', - 'company_name' => 'setCompanyName', 'id' => 'setId', + 'company_name' => 'setCompanyName', 'owner_id' => 'setOwnerId', 'owner_name' => 'setOwnerName', 'company_id' => 'setCompanyId', @@ -232,8 +232,8 @@ public static function openAPIFormats() */ protected static $getters = [ 'name' => 'getName', - 'company_name' => 'getCompanyName', 'id' => 'getId', + 'company_name' => 'getCompanyName', 'owner_id' => 'getOwnerId', 'owner_name' => 'getOwnerName', 'company_id' => 'getCompanyId', @@ -320,8 +320,8 @@ public function getModelName() public function __construct(array $data = null) { $this->container['name'] = $data['name'] ?? null; - $this->container['company_name'] = $data['company_name'] ?? null; $this->container['id'] = $data['id'] ?? null; + $this->container['company_name'] = $data['company_name'] ?? null; $this->container['owner_id'] = $data['owner_id'] ?? null; $this->container['owner_name'] = $data['owner_name'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; @@ -362,9 +362,6 @@ public function listInvalidProperties() if ($this->container['name'] === null) { $invalidProperties[] = "'name' can't be null"; } - if ($this->container['company_name'] === null) { - $invalidProperties[] = "'company_name' can't be null"; - } if (!is_null($this->container['updated_at']) && !preg_match("/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{3}Z$/", $this->container['updated_at'])) { $invalidProperties[] = "invalid value for 'updated_at', must be conform to the pattern /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{3}Z$/."; } @@ -413,49 +410,49 @@ public function setName($name) } /** - * Gets company_name + * Gets id * - * @return string + * @return string|null */ - public function getCompanyName() + public function getId() { - return $this->container['company_name']; + return $this->container['id']; } /** - * Sets company_name + * Sets id * - * @param string $company_name The name of the company the lead is associated with. + * @param string|null $id Unique identifier for the contact. * * @return self */ - public function setCompanyName($company_name) + public function setId($id) { - $this->container['company_name'] = $company_name; + $this->container['id'] = $id; return $this; } /** - * Gets id + * Gets company_name * * @return string|null */ - public function getId() + public function getCompanyName() { - return $this->container['id']; + return $this->container['company_name']; } /** - * Sets id + * Sets company_name * - * @param string|null $id Unique identifier for the contact. + * @param string|null $company_name The name of the company the lead is associated with. * * @return self */ - public function setId($id) + public function setCompanyName($company_name) { - $this->container['id'] = $id; + $this->container['company_name'] = $company_name; return $this; } @@ -991,7 +988,7 @@ public function setTags($tags) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1001,7 +998,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/LeadEventType.php b/src/gen/lib/Model/LeadEventType.php index 89280ef3e..36a9be12f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e5c7305fe..344a86529 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c2a446b95..6d5c6bfaa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5cce3c031..2618ee4b6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -86,7 +86,7 @@ class LedgerAccount implements ModelInterface, ArrayAccess, \JsonSerializable 'sub_accounts' => 'object[]', 'last_reconciliation_date' => '\DateTime', 'subsidiaries' => 'object[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'updated_by' => 'string', @@ -1189,7 +1189,7 @@ public function setSubsidiaries($subsidiaries) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1199,7 +1199,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/LedgerAccountCategories.php b/src/gen/lib/Model/LedgerAccountCategories.php index 006956195..38087e603 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 302e7a254..534e7ffb9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1df41631e..1e0c67e28 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dd14ff602..fc7315825 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 842d0d8bd..7841cbd6e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3ba3e9305..76a47d5ce 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedEcommerceCustomer.php b/src/gen/lib/Model/LinkedEcommerceCustomer.php index 6ad8430b8..be2b9a3c4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3d10f3937..8b2b5350d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2c500cc21..d23f32ddf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 595bbe401..c8ec12b71 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a27dae90b..a90c7fded 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 48828f197..4a0d865cd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f853bc079..44b24274b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/LinkedTaxRate.php b/src/gen/lib/Model/LinkedTaxRate.php index f04c7479d..41ea99d00 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bb0f0f133..c756ceafc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 609c5d0c4..f820e89ba 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b6f1f3579..662b5c38c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -67,7 +67,7 @@ class Location implements ModelInterface, ArrayAccess, \JsonSerializable 'status' => 'string', 'merchant_id' => 'string', 'currency' => '\Apideck\Client\Model\Currency', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -485,7 +485,7 @@ public function setCurrency($currency) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -495,7 +495,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Log.php b/src/gen/lib/Model/Log.php index ccd710c9f..6336ce85e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1facf08bf..639278856 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 72ed66e77..13381824c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 402334fb8..0ed4deee8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 67bf46e91..94607549d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class Merchant implements ModelInterface, ArrayAccess, \JsonSerializable 'service_charges' => '\Apideck\Client\Model\ServiceCharge[]', 'language' => 'string', 'currency' => '\Apideck\Client\Model\Currency', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -545,7 +545,7 @@ public function setCurrency($currency) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -555,7 +555,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Message.php b/src/gen/lib/Model/Message.php index db9d3ab92..0a55be86a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -77,7 +77,7 @@ class Message implements ModelInterface, ArrayAccess, \JsonSerializable 'price' => '\Apideck\Client\Model\Price', 'error' => '\Apideck\Client\Model\Error', 'messaging_service_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -894,7 +894,7 @@ public function setMessagingServiceId($messaging_service_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -904,7 +904,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Meta.php b/src/gen/lib/Model/Meta.php index 19070df5f..dbace542c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f3cf3a285..811496d38 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4c8f24424..1f316abeb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8ba6d0a65..564ff1568 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -68,7 +68,7 @@ class Modifier implements ModelInterface, ArrayAccess, \JsonSerializable 'price_amount' => 'float', 'currency' => '\Apideck\Client\Model\Currency', 'available' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -493,7 +493,7 @@ public function setAvailable($available) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -503,7 +503,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ModifierGroup.php b/src/gen/lib/Model/ModifierGroup.php index 9ec870aef..968ed6530 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class ModifierGroup implements ModelInterface, ArrayAccess, \JsonSerializable 'present_at_all_locations' => 'bool', 'modifiers' => 'object[]', 'deleted' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -549,7 +549,7 @@ public function setDeleted($deleted) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -559,7 +559,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ModifierGroupFilter.php b/src/gen/lib/Model/ModifierGroupFilter.php index 019d1cfa0..fb0bfa343 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1e45569c5..76ee14cad 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 870ec2505..288f5fce1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 17116db3f..018bb8595 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -67,9 +67,10 @@ class Note implements ModelInterface, ArrayAccess, \JsonSerializable 'contact_id' => 'string', 'company_id' => 'string', 'opportunity_id' => 'string', + 'activity_id' => 'string', 'lead_id' => 'string', 'active' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => 'string', @@ -92,6 +93,7 @@ class Note implements ModelInterface, ArrayAccess, \JsonSerializable 'contact_id' => null, 'company_id' => null, 'opportunity_id' => null, + 'activity_id' => null, 'lead_id' => null, 'active' => null, 'custom_mappings' => null, @@ -136,6 +138,7 @@ public static function openAPIFormats() 'contact_id' => 'contact_id', 'company_id' => 'company_id', 'opportunity_id' => 'opportunity_id', + 'activity_id' => 'activity_id', 'lead_id' => 'lead_id', 'active' => 'active', 'custom_mappings' => 'custom_mappings', @@ -159,6 +162,7 @@ public static function openAPIFormats() 'contact_id' => 'setContactId', 'company_id' => 'setCompanyId', 'opportunity_id' => 'setOpportunityId', + 'activity_id' => 'setActivityId', 'lead_id' => 'setLeadId', 'active' => 'setActive', 'custom_mappings' => 'setCustomMappings', @@ -182,6 +186,7 @@ public static function openAPIFormats() 'contact_id' => 'getContactId', 'company_id' => 'getCompanyId', 'opportunity_id' => 'getOpportunityId', + 'activity_id' => 'getActivityId', 'lead_id' => 'getLeadId', 'active' => 'getActive', 'custom_mappings' => 'getCustomMappings', @@ -256,6 +261,7 @@ public function __construct(array $data = null) $this->container['contact_id'] = $data['contact_id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; $this->container['opportunity_id'] = $data['opportunity_id'] ?? null; + $this->container['activity_id'] = $data['activity_id'] ?? null; $this->container['lead_id'] = $data['lead_id'] ?? null; $this->container['active'] = $data['active'] ?? null; $this->container['custom_mappings'] = $data['custom_mappings'] ?? null; @@ -458,6 +464,30 @@ public function setOpportunityId($opportunity_id) return $this; } + /** + * Gets activity_id + * + * @return string|null + */ + public function getActivityId() + { + return $this->container['activity_id']; + } + + /** + * Sets activity_id + * + * @param string|null $activity_id The activity that is related to the note. + * + * @return self + */ + public function setActivityId($activity_id) + { + $this->container['activity_id'] = $activity_id; + + return $this; + } + /** * Gets lead_id * @@ -509,7 +539,7 @@ public function setActive($active) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -519,7 +549,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/OAuthGrantType.php b/src/gen/lib/Model/OAuthGrantType.php index 2d91627eb..9d7d2472f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4db33e3ff..ffab40b4a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -62,7 +62,7 @@ class Offer implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPITypes = [ 'id' => 'string', 'application_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -293,7 +293,7 @@ public function setApplicationId($application_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -303,7 +303,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/OpportunitiesFilter.php b/src/gen/lib/Model/OpportunitiesFilter.php index 94573384b..74f3ecc07 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e906828ba..27144d5e3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c6538947c..0dc5d9f0f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -96,7 +96,7 @@ class Opportunity implements ModelInterface, ArrayAccess, \JsonSerializable 'date_stage_changed' => '\DateTime', 'date_last_contacted' => '\DateTime', 'date_lead_created' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1331,7 +1331,7 @@ public function setDateLeadCreated($date_lead_created) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1341,7 +1341,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Order.php b/src/gen/lib/Model/Order.php index 329f32ba1..2b20479da 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -97,7 +97,7 @@ class Order implements ModelInterface, ArrayAccess, \JsonSerializable 'source' => 'string', 'voided' => 'bool', 'voided_at' => '\DateTime', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -1503,7 +1503,7 @@ public function setVoidedAt($voided_at) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1513,7 +1513,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/OrderCustomers.php b/src/gen/lib/Model/OrderCustomers.php index f17851d58..7ad997fb6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3731351da..ae59b2f14 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2608df650..10800c444 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 47ff2694f..cd3dce683 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 72ae770a5..35b862b1e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5a7714c7f..cbd676205 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 11f596d01..7a6d6ec21 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7920f4992..9ebaacdf8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 03b8a6d17..fc20b146b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ad879b346..bfd9d077f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 859e98b49..76ee5440a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OrdersSort.php b/src/gen/lib/Model/OrdersSort.php index 42f33a3f1..564ad44ac 100644 --- a/src/gen/lib/Model/OrdersSort.php +++ b/src/gen/lib/Model/OrdersSort.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OtherExpenses.php b/src/gen/lib/Model/OtherExpenses.php index 6013f2f8d..a99e2436f 100644 --- a/src/gen/lib/Model/OtherExpenses.php +++ b/src/gen/lib/Model/OtherExpenses.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -61,12 +61,12 @@ class OtherExpenses implements ModelInterface, ArrayAccess, \JsonSerializable * @var string[] */ protected static $openAPITypes = [ - 'total' => 'float', 'records' => 'AnyOfProfitAndLossSectionProfitAndLossRecord[]', 'id' => 'string', 'code' => 'string', 'title' => 'string', - 'type' => '\Apideck\Client\Model\ProfitAndLossType' + 'type' => '\Apideck\Client\Model\ProfitAndLossType', + 'total' => 'float' ]; /** @@ -77,12 +77,12 @@ class OtherExpenses implements ModelInterface, ArrayAccess, \JsonSerializable * @psalm-var array */ protected static $openAPIFormats = [ - 'total' => null, 'records' => null, 'id' => null, 'code' => null, 'title' => null, - 'type' => null + 'type' => null, + 'total' => null ]; /** @@ -112,12 +112,12 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - 'total' => 'total', 'records' => 'records', 'id' => 'id', 'code' => 'code', 'title' => 'title', - 'type' => 'type' + 'type' => 'type', + 'total' => 'total' ]; /** @@ -126,12 +126,12 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - 'total' => 'setTotal', 'records' => 'setRecords', 'id' => 'setId', 'code' => 'setCode', 'title' => 'setTitle', - 'type' => 'setType' + 'type' => 'setType', + 'total' => 'setTotal' ]; /** @@ -140,12 +140,12 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - 'total' => 'getTotal', 'records' => 'getRecords', 'id' => 'getId', 'code' => 'getCode', 'title' => 'getTitle', - 'type' => 'getType' + 'type' => 'getType', + 'total' => 'getTotal' ]; /** @@ -205,12 +205,12 @@ public function getModelName() */ public function __construct(array $data = null) { - $this->container['total'] = $data['total'] ?? null; $this->container['records'] = $data['records'] ?? null; $this->container['id'] = $data['id'] ?? null; $this->container['code'] = $data['code'] ?? null; $this->container['title'] = $data['title'] ?? null; $this->container['type'] = $data['type'] ?? null; + $this->container['total'] = $data['total'] ?? null; } /** @@ -222,9 +222,6 @@ public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['total'] === null) { - $invalidProperties[] = "'total' can't be null"; - } if ($this->container['records'] === null) { $invalidProperties[] = "'records' can't be null"; } @@ -243,30 +240,6 @@ public function valid() } - /** - * Gets total - * - * @return float - */ - public function getTotal() - { - return $this->container['total']; - } - - /** - * Sets total - * - * @param float $total The aggregated total of all accounts within this category. - * - * @return self - */ - public function setTotal($total) - { - $this->container['total'] = $total; - - return $this; - } - /** * Gets records * @@ -386,6 +359,30 @@ public function setType($type) return $this; } + + /** + * Gets total + * + * @return float|null + */ + public function getTotal() + { + return $this->container['total']; + } + + /** + * Sets total + * + * @param float|null $total The aggregated total of all accounts within this category. + * + * @return self + */ + public function setTotal($total) + { + $this->container['total'] = $total; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/OtherIncome.php b/src/gen/lib/Model/OtherIncome.php index 8c39769f7..93c879bae 100644 --- a/src/gen/lib/Model/OtherIncome.php +++ b/src/gen/lib/Model/OtherIncome.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -61,12 +61,12 @@ class OtherIncome implements ModelInterface, ArrayAccess, \JsonSerializable * @var string[] */ protected static $openAPITypes = [ - 'total' => 'float', 'records' => 'AnyOfProfitAndLossSectionProfitAndLossRecord[]', 'id' => 'string', 'code' => 'string', 'title' => 'string', - 'type' => '\Apideck\Client\Model\ProfitAndLossType' + 'type' => '\Apideck\Client\Model\ProfitAndLossType', + 'total' => 'float' ]; /** @@ -77,12 +77,12 @@ class OtherIncome implements ModelInterface, ArrayAccess, \JsonSerializable * @psalm-var array */ protected static $openAPIFormats = [ - 'total' => null, 'records' => null, 'id' => null, 'code' => null, 'title' => null, - 'type' => null + 'type' => null, + 'total' => null ]; /** @@ -112,12 +112,12 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - 'total' => 'total', 'records' => 'records', 'id' => 'id', 'code' => 'code', 'title' => 'title', - 'type' => 'type' + 'type' => 'type', + 'total' => 'total' ]; /** @@ -126,12 +126,12 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - 'total' => 'setTotal', 'records' => 'setRecords', 'id' => 'setId', 'code' => 'setCode', 'title' => 'setTitle', - 'type' => 'setType' + 'type' => 'setType', + 'total' => 'setTotal' ]; /** @@ -140,12 +140,12 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - 'total' => 'getTotal', 'records' => 'getRecords', 'id' => 'getId', 'code' => 'getCode', 'title' => 'getTitle', - 'type' => 'getType' + 'type' => 'getType', + 'total' => 'getTotal' ]; /** @@ -205,12 +205,12 @@ public function getModelName() */ public function __construct(array $data = null) { - $this->container['total'] = $data['total'] ?? null; $this->container['records'] = $data['records'] ?? null; $this->container['id'] = $data['id'] ?? null; $this->container['code'] = $data['code'] ?? null; $this->container['title'] = $data['title'] ?? null; $this->container['type'] = $data['type'] ?? null; + $this->container['total'] = $data['total'] ?? null; } /** @@ -222,9 +222,6 @@ public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['total'] === null) { - $invalidProperties[] = "'total' can't be null"; - } if ($this->container['records'] === null) { $invalidProperties[] = "'records' can't be null"; } @@ -243,30 +240,6 @@ public function valid() } - /** - * Gets total - * - * @return float - */ - public function getTotal() - { - return $this->container['total']; - } - - /** - * Sets total - * - * @param float $total The aggregated total of all accounts within this category. - * - * @return self - */ - public function setTotal($total) - { - $this->container['total'] = $total; - - return $this; - } - /** * Gets records * @@ -386,6 +359,30 @@ public function setType($type) return $this; } + + /** + * Gets total + * + * @return float|null + */ + public function getTotal() + { + return $this->container['total']; + } + + /** + * Sets total + * + * @param float|null $total The aggregated total of all accounts within this category. + * + * @return self + */ + public function setTotal($total) + { + $this->container['total'] = $total; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/OutstandingBalanceByCurrency.php b/src/gen/lib/Model/OutstandingBalanceByCurrency.php index bf5f4b1f2..880b172fc 100644 --- a/src/gen/lib/Model/OutstandingBalanceByCurrency.php +++ b/src/gen/lib/Model/OutstandingBalanceByCurrency.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OutstandingBalanceByCustomer.php b/src/gen/lib/Model/OutstandingBalanceByCustomer.php index c284218ed..64a789f3a 100644 --- a/src/gen/lib/Model/OutstandingBalanceByCustomer.php +++ b/src/gen/lib/Model/OutstandingBalanceByCustomer.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/OutstandingBalanceBySupplier.php b/src/gen/lib/Model/OutstandingBalanceBySupplier.php index 115419d34..5a732987c 100644 --- a/src/gen/lib/Model/OutstandingBalanceBySupplier.php +++ b/src/gen/lib/Model/OutstandingBalanceBySupplier.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e76815eaf..7b7afbc8f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 204a40dfc..c9f641a08 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7f3cbd0ec..af8c9ac2c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e6a51f2f1..9e97e0a79 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -86,7 +86,7 @@ class Payment implements ModelInterface, ArrayAccess, \JsonSerializable 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'display_id' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'created_at' => '\DateTime', @@ -1034,7 +1034,7 @@ public function setDisplayId($display_id) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1044,7 +1044,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PaymentCard.php b/src/gen/lib/Model/PaymentCard.php index d0ef9a74d..71ef5735d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1f016adfe..63c9dddcf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6c41e78cf..d01018336 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PaymentStatus.php b/src/gen/lib/Model/PaymentStatus.php index 03c506c66..4f9eb1d0c 100644 --- a/src/gen/lib/Model/PaymentStatus.php +++ b/src/gen/lib/Model/PaymentStatus.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/PaymentType.php b/src/gen/lib/Model/PaymentType.php index 91262c7ab..e749a51d0 100644 --- a/src/gen/lib/Model/PaymentType.php +++ b/src/gen/lib/Model/PaymentType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 de34daab0..f9243be84 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 75f181a89..ebc0a885c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -60,7 +60,8 @@ class PaymentsFilter implements ModelInterface, ArrayAccess, \JsonSerializable * @var string[] */ protected static $openAPITypes = [ - 'updated_since' => '\DateTime' + 'updated_since' => '\DateTime', + 'invoice_id' => 'string' ]; /** @@ -71,7 +72,8 @@ class PaymentsFilter implements ModelInterface, ArrayAccess, \JsonSerializable * @psalm-var array */ protected static $openAPIFormats = [ - 'updated_since' => 'date-time' + 'updated_since' => 'date-time', + 'invoice_id' => null ]; /** @@ -101,7 +103,8 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - 'updated_since' => 'updated_since' + 'updated_since' => 'updated_since', + 'invoice_id' => 'invoice_id' ]; /** @@ -110,7 +113,8 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - 'updated_since' => 'setUpdatedSince' + 'updated_since' => 'setUpdatedSince', + 'invoice_id' => 'setInvoiceId' ]; /** @@ -119,7 +123,8 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - 'updated_since' => 'getUpdatedSince' + 'updated_since' => 'getUpdatedSince', + 'invoice_id' => 'getInvoiceId' ]; /** @@ -180,6 +185,7 @@ public function getModelName() public function __construct(array $data = null) { $this->container['updated_since'] = $data['updated_since'] ?? null; + $this->container['invoice_id'] = $data['invoice_id'] ?? null; } /** @@ -229,6 +235,30 @@ public function setUpdatedSince($updated_since) return $this; } + + /** + * Gets invoice_id + * + * @return string|null + */ + public function getInvoiceId() + { + return $this->container['invoice_id']; + } + + /** + * Sets invoice_id + * + * @param string|null $invoice_id invoice_id + * + * @return self + */ + public function setInvoiceId($invoice_id) + { + $this->container['invoice_id'] = $invoice_id; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/lib/Model/PaymentsSort.php b/src/gen/lib/Model/PaymentsSort.php index f5405ca3a..229b7fa8a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0d0e6c0c9..a19b38ece 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -69,7 +69,7 @@ class Payroll implements ModelInterface, ArrayAccess, \JsonSerializable 'processed_date' => 'string', 'totals' => '\Apideck\Client\Model\PayrollTotals', 'compensations' => '\Apideck\Client\Model\Compensation[]', - 'custom_mappings' => 'object' + 'custom_mappings' => 'array' ]; /** @@ -530,7 +530,7 @@ public function setCompensations($compensations) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -540,7 +540,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PayrollTotals.php b/src/gen/lib/Model/PayrollTotals.php index 53b2db7ae..741478aeb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 96760aca7..c9430c0ed 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5bc227177..3711c79c6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -68,7 +68,7 @@ class Person implements ModelInterface, ArrayAccess, \JsonSerializable 'initials' => 'string', 'birthday' => '\DateTime', 'deceased_on' => '\DateTime', - 'custom_mappings' => 'object' + 'custom_mappings' => 'array' ]; /** @@ -449,7 +449,7 @@ public function setDeceasedOn($deceased_on) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -459,7 +459,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PhoneNumber.php b/src/gen/lib/Model/PhoneNumber.php index 0f583b620..0c7ad6cff 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 16066f21b..092c08ac8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 255631341..74820f7ae 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7aab17d16..a31e235e9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 29b6c29a2..dd841ee81 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1538acdde..519ef5849 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -89,7 +89,7 @@ class PosPayment implements ModelInterface, ArrayAccess, \JsonSerializable 'wallet' => '\Apideck\Client\Model\WalletDetails', 'external_details' => '\Apideck\Client\Model\PosPaymentExternalDetails', 'service_charges' => '\Apideck\Client\Model\ServiceCharge[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -1221,7 +1221,7 @@ public function setServiceCharges($service_charges) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1231,7 +1231,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PosPaymentCardDetails.php b/src/gen/lib/Model/PosPaymentCardDetails.php index b2a7ee1a1..d8b398245 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4134b15d5..15322ee04 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 56ada5478..4dbd76a68 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e62e3d5f9..3a95512aa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b30bb5687..bb47d2bae 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -74,7 +74,7 @@ class ProfitAndLoss implements ModelInterface, ArrayAccess, \JsonSerializable 'gross_profit' => '\Apideck\Client\Model\ProfitAndLossIndicator', 'net_operating_income' => '\Apideck\Client\Model\ProfitAndLossIndicator', 'net_income' => '\Apideck\Client\Model\ProfitAndLossIndicator', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'customer' => 'string' ]; @@ -665,7 +665,7 @@ public function setNetIncome($net_income) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -675,7 +675,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ProfitAndLossFilter.php b/src/gen/lib/Model/ProfitAndLossFilter.php index 765cb3b53..697d0a03a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ProfitAndLossIndicator.php b/src/gen/lib/Model/ProfitAndLossIndicator.php index 19c537e6e..74cd3db10 100644 --- a/src/gen/lib/Model/ProfitAndLossIndicator.php +++ b/src/gen/lib/Model/ProfitAndLossIndicator.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 62791918f..f85b03f2d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cfbd81393..254d0594d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ProfitAndLossType.php b/src/gen/lib/Model/ProfitAndLossType.php index 0eb05707f..47fab8d56 100644 --- a/src/gen/lib/Model/ProfitAndLossType.php +++ b/src/gen/lib/Model/ProfitAndLossType.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 55ab2dbe5..3eda23376 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,6 +65,7 @@ class PurchaseOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'po_number' => 'string', 'reference' => 'string', 'supplier' => '\Apideck\Client\Model\LinkedSupplier', + 'subsidiary_id' => 'string', 'company_id' => 'string', 'status' => 'string', 'issued_date' => '\DateTime', @@ -89,7 +90,7 @@ class PurchaseOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'channel' => 'string', 'memo' => 'string', 'tracking_categories' => '\Apideck\Client\Model\LinkedTrackingCategory[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'row_version' => 'string', 'updated_by' => 'string', @@ -112,6 +113,7 @@ class PurchaseOrder implements ModelInterface, ArrayAccess, \JsonSerializable 'po_number' => null, 'reference' => null, 'supplier' => null, + 'subsidiary_id' => null, 'company_id' => null, 'status' => null, 'issued_date' => 'date', @@ -178,6 +180,7 @@ public static function openAPIFormats() 'po_number' => 'po_number', 'reference' => 'reference', 'supplier' => 'supplier', + 'subsidiary_id' => 'subsidiary_id', 'company_id' => 'company_id', 'status' => 'status', 'issued_date' => 'issued_date', @@ -223,6 +226,7 @@ public static function openAPIFormats() 'po_number' => 'setPoNumber', 'reference' => 'setReference', 'supplier' => 'setSupplier', + 'subsidiary_id' => 'setSubsidiaryId', 'company_id' => 'setCompanyId', 'status' => 'setStatus', 'issued_date' => 'setIssuedDate', @@ -268,6 +272,7 @@ public static function openAPIFormats() 'po_number' => 'getPoNumber', 'reference' => 'getReference', 'supplier' => 'getSupplier', + 'subsidiary_id' => 'getSubsidiaryId', 'company_id' => 'getCompanyId', 'status' => 'getStatus', 'issued_date' => 'getIssuedDate', @@ -387,6 +392,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['subsidiary_id'] = $data['subsidiary_id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; $this->container['status'] = $data['status'] ?? null; $this->container['issued_date'] = $data['issued_date'] ?? null; @@ -574,6 +580,30 @@ public function setSupplier($supplier) return $this; } + /** + * Gets subsidiary_id + * + * @return string|null + */ + public function getSubsidiaryId() + { + return $this->container['subsidiary_id']; + } + + /** + * Sets subsidiary_id + * + * @param string|null $subsidiary_id The ID of the subsidiary + * + * @return self + */ + public function setSubsidiaryId($subsidiary_id) + { + $this->container['subsidiary_id'] = $subsidiary_id; + + return $this; + } + /** * Gets company_id * @@ -1163,7 +1193,7 @@ public function setTrackingCategories($tracking_categories) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1173,7 +1203,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/PurchaseOrdersFilter.php b/src/gen/lib/Model/PurchaseOrdersFilter.php index f42d4eafe..ddaaa9a62 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 77349d44f..533711618 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9bb9ba10c..de0069877 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ee39c029b..2fad42713 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 970302448..f2554d865 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a2ffcf825..a9ed74a27 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 20d0b6d5f..5b5d2cb6a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cfa8c7e39..d16b79204 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c97c1e56f..8f730b158 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 20a43aaec..f74327136 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e9272214c..ed459ba0f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e1c14e246..e07b7a32d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f94a19f0d..935e8f6d3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e6e4f5fb7..dff2de4f0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fcf6fe182..36ee5dfb1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fb6d61467..bda5f4ed2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8eef67023..31fa2083b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9a5f1bcf3..7937a34cf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 413d3fbf3..02abef5a2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c5ae58254..2e47b7d30 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e121bf168..43ec8e4aa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 35e9022a5..1c8f51b9f 100644 --- a/src/gen/lib/Model/Subsidiary.php +++ b/src/gen/lib/Model/Subsidiary.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -64,7 +64,7 @@ class Subsidiary implements ModelInterface, ArrayAccess, \JsonSerializable 'parent_id' => 'string', 'name' => 'string', 'status' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -399,7 +399,7 @@ public function setStatus($status) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -409,7 +409,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/SubsidiaryReference.php b/src/gen/lib/Model/SubsidiaryReference.php index 1b98468ee..d9398db41 100644 --- a/src/gen/lib/Model/SubsidiaryReference.php +++ b/src/gen/lib/Model/SubsidiaryReference.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/Supplier.php b/src/gen/lib/Model/Supplier.php index 5132da5d0..2009495c1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -85,7 +85,7 @@ class Supplier implements ModelInterface, ArrayAccess, \JsonSerializable 'status' => 'string', 'payment_method' => 'string', 'channel' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'custom_fields' => '\Apideck\Client\Model\CustomField[]', 'updated_by' => 'string', 'created_by' => 'string', @@ -1050,7 +1050,7 @@ public function setChannel($channel) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -1060,7 +1060,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/SuppliersFilter.php b/src/gen/lib/Model/SuppliersFilter.php index b146ae92d..69a0b547b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1c79d285f..1b2e44dd6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8c196b85a..8f988c941 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b793d977b..936a0439a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 112b3d4f7..529c61a43 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -73,7 +73,7 @@ class TaxRate implements ModelInterface, ArrayAccess, \JsonSerializable 'report_tax_type' => 'string', 'original_tax_rate_id' => 'string', 'status' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -692,7 +692,7 @@ public function setStatus($status) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -702,7 +702,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/TaxRatesFilter.php b/src/gen/lib/Model/TaxRatesFilter.php index e5b78c176..650ec2426 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 13685da35..a7a3c3e8c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f856c1641..b2f962e3c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -68,7 +68,7 @@ class Tender implements ModelInterface, ArrayAccess, \JsonSerializable 'editable' => 'bool', 'opens_cash_drawer' => 'bool', 'allows_tipping' => 'bool', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -479,7 +479,7 @@ public function setAllowsTipping($allows_tipping) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -489,7 +489,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/Ticket.php b/src/gen/lib/Model/Ticket.php index cc03c56e7..e9cedca25 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -75,7 +75,7 @@ class Ticket implements ModelInterface, ArrayAccess, \JsonSerializable 'due_date' => '\DateTime', 'completed_at' => '\DateTime', 'tags' => '\Apideck\Client\Model\CollectionTag[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'pass_through' => 'object[]' ]; @@ -706,7 +706,7 @@ public function setTags($tags) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -716,7 +716,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/TicketsSort.php b/src/gen/lib/Model/TicketsSort.php index a4feaba73..1480c1d22 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2c77829e9..5feccdac6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -74,7 +74,7 @@ class TimeOffRequest implements ModelInterface, ArrayAccess, \JsonSerializable 'amount' => 'float', 'day_part' => 'string', 'notes' => '\Apideck\Client\Model\TimeOffRequestNotes', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -823,7 +823,7 @@ public function setNotes($notes) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -833,7 +833,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/TimeOffRequestNotes.php b/src/gen/lib/Model/TimeOffRequestNotes.php index 450e8925b..57e2ec3c4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 96b5c584e..7285c5249 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 84dfa61e8..045834b67 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 502041c8d..93d59c0f8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/TrackingCategory.php b/src/gen/lib/Model/TrackingCategory.php index 27d9a62da..7c87498d8 100644 --- a/src/gen/lib/Model/TrackingCategory.php +++ b/src/gen/lib/Model/TrackingCategory.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -65,7 +65,7 @@ class TrackingCategory implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'code' => 'string', 'status' => 'string', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'row_version' => 'string', 'updated_by' => 'string', 'created_by' => 'string', @@ -435,7 +435,7 @@ public function setStatus($status) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -445,7 +445,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/TrackingItem.php b/src/gen/lib/Model/TrackingItem.php index 15e2c19f5..923ab41f9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4f2a5c00c..2dd788f23 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UncategorizedAccounts.php b/src/gen/lib/Model/UncategorizedAccounts.php index 0b5b7d1e7..c02125cfa 100644 --- a/src/gen/lib/Model/UncategorizedAccounts.php +++ b/src/gen/lib/Model/UncategorizedAccounts.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UnexpectedErrorResponse.php b/src/gen/lib/Model/UnexpectedErrorResponse.php index 92c6b4c26..3002a9e16 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3b1fd8309..a80a7088f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ab35cc9e3..829ac4428 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -75,7 +75,7 @@ class UnifiedFile implements ModelInterface, ArrayAccess, \JsonSerializable 'permissions' => '\Apideck\Client\Model\UnifiedFilePermissions', 'exportable' => 'bool', 'export_formats' => 'string[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_by' => 'string', 'created_by' => 'string', 'updated_at' => '\DateTime', @@ -692,7 +692,7 @@ public function setExportFormats($export_formats) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -702,7 +702,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/UnifiedFilePermissions.php b/src/gen/lib/Model/UnifiedFilePermissions.php index adc8a9b12..66aa16b8e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2ffa12c65..19f1a8d88 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a5164d57a..358d97931 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php b/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php index 8dd3010e7..f44db13a8 100644 --- a/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php +++ b/src/gen/lib/Model/UpdateAccountingDepartmentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateAccountingLocationResponse.php b/src/gen/lib/Model/UpdateAccountingLocationResponse.php index ab61bc596..ed6698202 100644 --- a/src/gen/lib/Model/UpdateAccountingLocationResponse.php +++ b/src/gen/lib/Model/UpdateAccountingLocationResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateActivityResponse.php b/src/gen/lib/Model/UpdateActivityResponse.php index 05bb62e6b..01705e38f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2334b2c6c..c9ad88934 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1eb3c0ae2..3d87ee8a6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateBankFeedAccountResponse.php b/src/gen/lib/Model/UpdateBankFeedAccountResponse.php new file mode 100644 index 000000000..28bc2a926 --- /dev/null +++ b/src/gen/lib/Model/UpdateBankFeedAccountResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class UpdateBankFeedAccountResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'UpdateBankFeedAccountResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/UpdateBankFeedStatementResponse.php b/src/gen/lib/Model/UpdateBankFeedStatementResponse.php new file mode 100644 index 000000000..171cd9d75 --- /dev/null +++ b/src/gen/lib/Model/UpdateBankFeedStatementResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class UpdateBankFeedStatementResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'UpdateBankFeedStatementResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/UpdateBillPaymentResponse.php b/src/gen/lib/Model/UpdateBillPaymentResponse.php index 0a736cd1e..a34c0ae09 100644 --- a/src/gen/lib/Model/UpdateBillPaymentResponse.php +++ b/src/gen/lib/Model/UpdateBillPaymentResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 88bee8274..167fb6e03 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c1b4783b8..a4dff8f0b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c6808c732..8dacd13d6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a4c291e2a..c1de4615e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5fc1c6be4..0c96fded2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2aeda0c9e..0e8ecca71 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 44ac5186a..2f8d8929d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3b6d3a330..470bb9e0e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 685d891a6..dbd547dba 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 34a42f565..f7bf915e0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateCustomObjectResponse.php b/src/gen/lib/Model/UpdateCustomObjectResponse.php new file mode 100644 index 000000000..a769f19c1 --- /dev/null +++ b/src/gen/lib/Model/UpdateCustomObjectResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class UpdateCustomObjectResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'UpdateCustomObjectResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/UpdateCustomObjectSchemaResponse.php b/src/gen/lib/Model/UpdateCustomObjectSchemaResponse.php new file mode 100644 index 000000000..a16d7acfa --- /dev/null +++ b/src/gen/lib/Model/UpdateCustomObjectSchemaResponse.php @@ -0,0 +1,519 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class UpdateCustomObjectSchemaResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'UpdateCustomObjectSchemaResponse'; + + /** + * 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', + '_raw' => 'array' + ]; + + /** + * 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, + '_raw' => 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', + '_raw' => '_raw' + ]; + + /** + * 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', + '_raw' => 'setRaw' + ]; + + /** + * 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', + '_raw' => 'getRaw' + ]; + + /** + * 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['_raw'] = $data['_raw'] ?? 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; + } + + /** + * Gets _raw + * + * @return array|null + */ + public function getRaw() + { + return $this->container['_raw']; + } + + /** + * Sets _raw + * + * @param array|null $_raw Raw response from the integration when raw=true query param is provided + * + * @return self + */ + public function setRaw($_raw) + { + $this->container['_raw'] = $_raw; + + 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/UpdateCustomerResponse.php b/src/gen/lib/Model/UpdateCustomerResponse.php index dfd8896f4..597935aa9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5e656e29d..a863bebaa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e59edc115..0870daa16 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 058e5319c..2c0dfc309 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bebf0107a..1a2c08c61 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fa41b3007..75136aa70 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1deebf4a8..fb5520b59 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateExpenseResponse.php b/src/gen/lib/Model/UpdateExpenseResponse.php index f2c8c6f0a..87c0b8ddb 100644 --- a/src/gen/lib/Model/UpdateExpenseResponse.php +++ b/src/gen/lib/Model/UpdateExpenseResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 abbfa1949..07636fe8e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9ba00bdf8..74ed819c0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 39805868b..a3113dda0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 28faabb69..9a80d72aa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b5571f3e6..c18db4222 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f765abbb4..d23c9d097 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 11b84905e..7d9378c05 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d1d061c6c..14b9c14ea 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c81e60ed2..2e18163a5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2149ae6f3..4652181dd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1ec08e865..b14387a5a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 aa35268a6..10de44afb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 823e25db1..66d2bdf2d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f6a3a1678..b8b0a0489 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bcb466326..1a39d17f8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5f34a4188..dd3ee02e1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8f5e0c109..e5ad2d50a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 95543dea9..416fa0796 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7bbef91ca..558f2f687 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1c7adc73c..989dd5282 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 af063783e..b6c265878 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0b7f1524d..32615b1ef 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 41db99cad..739dc2736 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 abd1b2ac9..c22c00c15 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e6f3c947f..8260dca28 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4d95fff07..290be6c23 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 22914c9b8..77fb59a80 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 6ba5d4acd..0f6870bd1 100644 --- a/src/gen/lib/Model/UpdateSubsidiaryResponse.php +++ b/src/gen/lib/Model/UpdateSubsidiaryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateSupplierResponse.php b/src/gen/lib/Model/UpdateSupplierResponse.php index 43c832c44..08fd0f126 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 23d90c569..186db61bd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 412df38cc..6e2c5ca70 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7697d13a8..00066e66d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 05742784a..4131cf0aa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/UpdateTrackingCategoryResponse.php b/src/gen/lib/Model/UpdateTrackingCategoryResponse.php index ead527398..254e42628 100644 --- a/src/gen/lib/Model/UpdateTrackingCategoryResponse.php +++ b/src/gen/lib/Model/UpdateTrackingCategoryResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 01ccba328..947b371a6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c9e11411e..fa1249f1f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cbaa1f00b..a03df0cd7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e39317007..53e4db315 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9d7463b88..cbfcb5e5f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e28b6322c..fc4a33b9e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -78,7 +78,7 @@ class User implements ModelInterface, ArrayAccess, \JsonSerializable 'password' => 'string', 'addresses' => '\Apideck\Client\Model\Address[]', 'phone_numbers' => '\Apideck\Client\Model\PhoneNumber[]', - 'custom_mappings' => 'object', + 'custom_mappings' => 'array', 'updated_at' => 'string', 'created_at' => 'string', 'pass_through' => 'object[]' @@ -772,7 +772,7 @@ public function setPhoneNumbers($phone_numbers) /** * Gets custom_mappings * - * @return object|null + * @return array|null */ public function getCustomMappings() { @@ -782,7 +782,7 @@ public function getCustomMappings() /** * Sets custom_mappings * - * @param object|null $custom_mappings When custom mappings are configured on the resource, the result is included here. + * @param array|null $custom_mappings When custom mappings are configured on the resource, the result is included here. * * @return self */ diff --git a/src/gen/lib/Model/ValidateConnectionStateResponse.php b/src/gen/lib/Model/ValidateConnectionStateResponse.php index c4fa7971c..c169787b4 100644 --- a/src/gen/lib/Model/ValidateConnectionStateResponse.php +++ b/src/gen/lib/Model/ValidateConnectionStateResponse.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/ValidateConnectionStateResponseData.php b/src/gen/lib/Model/ValidateConnectionStateResponseData.php index 22cef1ab4..6afa71517 100644 --- a/src/gen/lib/Model/ValidateConnectionStateResponseData.php +++ b/src/gen/lib/Model/ValidateConnectionStateResponseData.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d31e3360e..57e071618 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1709dd610..28a223f1f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/lib/Model/VirtualWebhooksResources.php b/src/gen/lib/Model/VirtualWebhooksResources.php index 726420319..ab1a4f4df 100644 --- a/src/gen/lib/Model/VirtualWebhooksResources.php +++ b/src/gen/lib/Model/VirtualWebhooksResources.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 34453dd0d..dc21a36e0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 00823fb47..8022edf5e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 de2001aea..797d90231 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a941d117a..7caa4941a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ff7d277fe..939605985 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e4ca1b2e8..3b1617b76 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 29d34c529..abeaab24e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dacba54c6..0a2c2e4a5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 891984514..b11e6af54 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 69cd739a0..35ffc49f7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 02d3f24e0..629a6a304 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 97ca9f9fa..6d306c66e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d408c5a01..0c4e2b070 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2d11780d5..1375d6fd5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -156,6 +156,126 @@ public function testBalanceSheetOne() $this->markTestIncomplete('Not implemented'); } + /** + * Test case for bankFeedAccountsAdd + * + * Create Bank Feed Account. + * + */ + public function testBankFeedAccountsAdd() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedAccountsAll + * + * List Bank Feed Accounts. + * + */ + public function testBankFeedAccountsAll() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedAccountsDelete + * + * Delete Bank Feed Account. + * + */ + public function testBankFeedAccountsDelete() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedAccountsOne + * + * Get Bank Feed Account. + * + */ + public function testBankFeedAccountsOne() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedAccountsUpdate + * + * Update Bank Feed Account. + * + */ + public function testBankFeedAccountsUpdate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsAdd + * + * Create Bank Feed Statement. + * + */ + public function testBankFeedStatementsAdd() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsAll + * + * List Bank Feed Statements. + * + */ + public function testBankFeedStatementsAll() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsDelete + * + * Delete Bank Feed Statement. + * + */ + public function testBankFeedStatementsDelete() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsOne + * + * Get Bank Feed Statement. + * + */ + public function testBankFeedStatementsOne() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for bankFeedStatementsUpdate + * + * Update Bank Feed Statement. + * + */ + public function testBankFeedStatementsUpdate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test case for billPaymentsAdd * diff --git a/src/gen/test/Api/AtsApiTest.php b/src/gen/test/Api/AtsApiTest.php index feabb4b7c..bacf8c772 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a33873441..3864bc6ff 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a429e7365..6c96cb663 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -252,6 +252,126 @@ public function testContactsUpdate() $this->markTestIncomplete('Not implemented'); } + /** + * Test case for customObjectSchemasAdd + * + * Create custom object schema. + * + */ + public function testCustomObjectSchemasAdd() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectSchemasAll + * + * List custom object schemas. + * + */ + public function testCustomObjectSchemasAll() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectSchemasDelete + * + * Delete custom object schema. + * + */ + public function testCustomObjectSchemasDelete() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectSchemasOne + * + * Get custom object schema. + * + */ + public function testCustomObjectSchemasOne() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectSchemasUpdate + * + * Update custom object schema. + * + */ + public function testCustomObjectSchemasUpdate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsAdd + * + * Create custom object. + * + */ + public function testCustomObjectsAdd() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsAll + * + * List custom objects. + * + */ + public function testCustomObjectsAll() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsDelete + * + * Delete custom object. + * + */ + public function testCustomObjectsDelete() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsOne + * + * Get custom object. + * + */ + public function testCustomObjectsOne() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test case for customObjectsUpdate + * + * Update custom object. + * + */ + public function testCustomObjectsUpdate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test case for leadsAdd * diff --git a/src/gen/test/Api/EcommerceApiTest.php b/src/gen/test/Api/EcommerceApiTest.php index 3c3c5b817..5011cb541 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6e891d211..c802ed6d7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1b2caa7fc..61e35b473 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b05ed5a58..ef6378686 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b005694df..d4ec6cc72 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f385a5638..d0847cd50 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d5699fd6a..2c213d9f3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2bf27ab22..f0135ce59 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d617d1da9..eedb12eee 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 8d38423be..0a28c16aa 100644 --- a/src/gen/test/Model/AccountingDepartmentTest.php +++ b/src/gen/test/Model/AccountingDepartmentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -125,6 +125,15 @@ public function testPropertySubsidiaries() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "code" + */ + public function testPropertyCode() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "custom_mappings" */ diff --git a/src/gen/test/Model/AccountingDepartmentsFilterTest.php b/src/gen/test/Model/AccountingDepartmentsFilterTest.php index 0ef37ad93..1afe9a422 100644 --- a/src/gen/test/Model/AccountingDepartmentsFilterTest.php +++ b/src/gen/test/Model/AccountingDepartmentsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AccountingEventTypeTest.php b/src/gen/test/Model/AccountingEventTypeTest.php index 0b8782781..ddf269a53 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 4e228d774..bc19d6781 100644 --- a/src/gen/test/Model/AccountingLocationTest.php +++ b/src/gen/test/Model/AccountingLocationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AccountingLocationsFilterTest.php b/src/gen/test/Model/AccountingLocationsFilterTest.php index b27e53718..1987e6bdf 100644 --- a/src/gen/test/Model/AccountingLocationsFilterTest.php +++ b/src/gen/test/Model/AccountingLocationsFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ActivitiesFilterTest.php b/src/gen/test/Model/ActivitiesFilterTest.php index 750571625..92bf9392a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9a2168aa2..82eb2cc72 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 743afffee..2b13834d8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 28e534291..067f5aee9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a68dbca93..adb1ce65d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AgedCreditorsTest.php b/src/gen/test/Model/AgedCreditorsTest.php index c28a208b2..266523b97 100644 --- a/src/gen/test/Model/AgedCreditorsTest.php +++ b/src/gen/test/Model/AgedCreditorsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AgedDebtorsTest.php b/src/gen/test/Model/AgedDebtorsTest.php index e1b1e3470..6b60d7f1f 100644 --- a/src/gen/test/Model/AgedDebtorsTest.php +++ b/src/gen/test/Model/AgedDebtorsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AgedReportFilterTest.php b/src/gen/test/Model/AgedReportFilterTest.php index 4406cab74..387dc1e21 100644 --- a/src/gen/test/Model/AgedReportFilterTest.php +++ b/src/gen/test/Model/AgedReportFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AllocationTest.php b/src/gen/test/Model/AllocationTest.php index c1d0df5ea..6114b1096 100644 --- a/src/gen/test/Model/AllocationTest.php +++ b/src/gen/test/Model/AllocationTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 de7421547..179c69c46 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ef9bb0bed..281edc122 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6c5ee7c84..cf75623b2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a2848fa50..fd828ce64 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 df973ab8b..e0746e822 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 072303244..266a2a683 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0c6cbbd8d..73cd00afa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 461f8dc58..d2149eded 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 98f04caa8..65501e967 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5d69dd6e0..384b3cd10 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 afcbf8508..89ab2c283 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 19324dd8d..91239e44a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cb25e5820..787e3f1fd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 580ad323b..602160055 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 52290e3ff..7a938a479 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 73f9442ce..ac75b13c7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8ade95c18..3a70f2272 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AttachmentReferenceTest.php b/src/gen/test/Model/AttachmentReferenceTest.php index 880581d9e..cb3361471 100644 --- a/src/gen/test/Model/AttachmentReferenceTest.php +++ b/src/gen/test/Model/AttachmentReferenceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AttachmentReferenceTypeTest.php b/src/gen/test/Model/AttachmentReferenceTypeTest.php index e123fa8f7..c7c9abe4d 100644 --- a/src/gen/test/Model/AttachmentReferenceTypeTest.php +++ b/src/gen/test/Model/AttachmentReferenceTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/AttachmentTest.php b/src/gen/test/Model/AttachmentTest.php index b27516b1c..4048fd667 100644 --- a/src/gen/test/Model/AttachmentTest.php +++ b/src/gen/test/Model/AttachmentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2107f25e2..6e6e7f939 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1140a24e0..79ca8feb0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceByPeriodTest.php b/src/gen/test/Model/BalanceByPeriodTest.php index a0e56d5a0..85e97cac6 100644 --- a/src/gen/test/Model/BalanceByPeriodTest.php +++ b/src/gen/test/Model/BalanceByPeriodTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceByTransactionTest.php b/src/gen/test/Model/BalanceByTransactionTest.php index 5a2e53945..120e9609f 100644 --- a/src/gen/test/Model/BalanceByTransactionTest.php +++ b/src/gen/test/Model/BalanceByTransactionTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetAccountRecordTest.php b/src/gen/test/Model/BalanceSheetAccountRecordTest.php index 634c022c9..c97c29811 100644 --- a/src/gen/test/Model/BalanceSheetAccountRecordTest.php +++ b/src/gen/test/Model/BalanceSheetAccountRecordTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetAccountTest.php b/src/gen/test/Model/BalanceSheetAccountTest.php index be2f1cf4b..1806e261f 100644 --- a/src/gen/test/Model/BalanceSheetAccountTest.php +++ b/src/gen/test/Model/BalanceSheetAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetAssetsAccountTest.php b/src/gen/test/Model/BalanceSheetAssetsAccountTest.php index 880f4d870..e8986d62d 100644 --- a/src/gen/test/Model/BalanceSheetAssetsAccountTest.php +++ b/src/gen/test/Model/BalanceSheetAssetsAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetEquityAccountTest.php b/src/gen/test/Model/BalanceSheetEquityAccountTest.php index 13e23543d..1cadefe20 100644 --- a/src/gen/test/Model/BalanceSheetEquityAccountTest.php +++ b/src/gen/test/Model/BalanceSheetEquityAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bc92a8fea..402515394 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetLiabilitiesAccountTest.php b/src/gen/test/Model/BalanceSheetLiabilitiesAccountTest.php index 66d169fc6..78189c7b3 100644 --- a/src/gen/test/Model/BalanceSheetLiabilitiesAccountTest.php +++ b/src/gen/test/Model/BalanceSheetLiabilitiesAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetReportsTest.php b/src/gen/test/Model/BalanceSheetReportsTest.php index 323ba4be5..078cd936a 100644 --- a/src/gen/test/Model/BalanceSheetReportsTest.php +++ b/src/gen/test/Model/BalanceSheetReportsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ec767ebe5..8b6d8825d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BalanceSheetUncategorizedItemsAccountTest.php b/src/gen/test/Model/BalanceSheetUncategorizedItemsAccountTest.php index 3f130a1da..2bba0253b 100644 --- a/src/gen/test/Model/BalanceSheetUncategorizedItemsAccountTest.php +++ b/src/gen/test/Model/BalanceSheetUncategorizedItemsAccountTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f8355ef5e..10e633619 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BankFeedAccountTest.php b/src/gen/test/Model/BankFeedAccountTest.php new file mode 100644 index 000000000..50599d5c1 --- /dev/null +++ b/src/gen/test/Model/BankFeedAccountTest.php @@ -0,0 +1,217 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "bank_account_type" + */ + public function testPropertyBankAccountType() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "source_account_id" + */ + public function testPropertySourceAccountId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "target_account_id" + */ + public function testPropertyTargetAccountId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "target_account_name" + */ + public function testPropertyTargetAccountName() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "target_account_number" + */ + public function testPropertyTargetAccountNumber() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "currency" + */ + public function testPropertyCurrency() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "feed_status" + */ + public function testPropertyFeedStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "country" + */ + public function testPropertyCountry() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "custom_fields" + */ + public function testPropertyCustomFields() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "custom_mappings" + */ + public function testPropertyCustomMappings() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_at" + */ + public function testPropertyCreatedAt() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_at" + */ + public function testPropertyUpdatedAt() + { + // 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'); + } +} diff --git a/src/gen/test/Model/BankFeedStatementTest.php b/src/gen/test/Model/BankFeedStatementTest.php new file mode 100644 index 000000000..43050f126 --- /dev/null +++ b/src/gen/test/Model/BankFeedStatementTest.php @@ -0,0 +1,208 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "bank_feed_account_id" + */ + public function testPropertyBankFeedAccountId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "start_date" + */ + public function testPropertyStartDate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "end_date" + */ + public function testPropertyEndDate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "start_balance" + */ + public function testPropertyStartBalance() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "start_balance_credit_or_debit" + */ + public function testPropertyStartBalanceCreditOrDebit() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "end_balance" + */ + public function testPropertyEndBalance() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "end_balance_credit_or_debit" + */ + public function testPropertyEndBalanceCreditOrDebit() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "transactions" + */ + public function testPropertyTransactions() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_at" + */ + public function testPropertyCreatedAt() + { + // 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 "updated_by" + */ + public function testPropertyUpdatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/BankFeedStatementTransactionsTest.php b/src/gen/test/Model/BankFeedStatementTransactionsTest.php new file mode 100644 index 000000000..f5286959c --- /dev/null +++ b/src/gen/test/Model/BankFeedStatementTransactionsTest.php @@ -0,0 +1,154 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "posted_date" + */ + public function testPropertyPostedDate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "amount" + */ + public function testPropertyAmount() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "credit_or_debit" + */ + public function testPropertyCreditOrDebit() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "source_transaction_id" + */ + public function testPropertySourceTransactionId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "description" + */ + public function testPropertyDescription() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "counterparty" + */ + public function testPropertyCounterparty() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "reference" + */ + public function testPropertyReference() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "transaction_type" + */ + public function testPropertyTransactionType() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/BenefitTest.php b/src/gen/test/Model/BenefitTest.php index d92a85ac7..f2ed77e15 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1f455028a..f6f239389 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BillPaymentAllocationsTest.php b/src/gen/test/Model/BillPaymentAllocationsTest.php index fc324e3f4..f1b2d56af 100644 --- a/src/gen/test/Model/BillPaymentAllocationsTest.php +++ b/src/gen/test/Model/BillPaymentAllocationsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BillPaymentTest.php b/src/gen/test/Model/BillPaymentTest.php index eeba2260f..1932689e6 100644 --- a/src/gen/test/Model/BillPaymentTest.php +++ b/src/gen/test/Model/BillPaymentTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d0d0a612f..8527bd78b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/BillsFilterTest.php b/src/gen/test/Model/BillsFilterTest.php index b9999853a..2e085df87 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cd71340f0..f54e9d6f5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 98273cac3..1684c6525 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c9e081de3..9a945d314 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 44351b37b..e7a0d679b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c968997a4..13fc30779 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6d6db257b..f31415caf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 57bf7d402..d583b8bf4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 99ca98678..ee7ef5206 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 469ef3b5b..21e0814f1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 007d29d38..6cc38af2a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 72eb60b7f..cb4a2ea70 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 94e248a7e..c0bcffdd0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 356d86f28..fcc24314d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 492a91ca9..0fa2f376f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 43fb039ce..65bc8bb5b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1c80346b4..8c8dd0eaa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1f0ef7ed8..0fb59bf60 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9d4915a71..4a63a7da1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8334c8ec4..163b7884f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0144b090b..4027006d8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 388c625e3..cb188f294 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ac483deb1..8fe3ccb28 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 61c0562e8..5753ae619 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 94d8402f0..cec9cb2d0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8819a8191..bec02f94c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9ab9fd565..711713de7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bf45cd2b8..d8c1bef4c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2aea4f737..3490e2c05 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 42377db79..1bece7602 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7a271a8ef..87dd66d24 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f77206fca..a57f338b0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d8fce0f34..2c6e32d0b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4da9341ad..d4ca89382 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4a92bb152..2daf14d00 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 68145b29a..02c4abbb3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 12c932051..b7d1cb646 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 97f6bff84..63639c2e2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5b9d4e1ad..5d9318e2f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 68332fe57..3de9b45ee 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 90f620645..57761cb89 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b22437077..27c14dd32 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c8d976f80..72679b8b7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 48e8383c3..de39bbb75 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CostOfGoodsSoldTest.php b/src/gen/test/Model/CostOfGoodsSoldTest.php index 990dd05e1..820251299 100644 --- a/src/gen/test/Model/CostOfGoodsSoldTest.php +++ b/src/gen/test/Model/CostOfGoodsSoldTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 6f7f4e217..6b3b3a677 100644 --- a/src/gen/test/Model/CreateAccountingDepartmentResponseTest.php +++ b/src/gen/test/Model/CreateAccountingDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateAccountingLocationResponseTest.php b/src/gen/test/Model/CreateAccountingLocationResponseTest.php index eae3c2dd3..80486b692 100644 --- a/src/gen/test/Model/CreateAccountingLocationResponseTest.php +++ b/src/gen/test/Model/CreateAccountingLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateActivityResponseTest.php b/src/gen/test/Model/CreateActivityResponseTest.php index 4e62da291..2de232fd8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 493e42cc7..b1542b946 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 974f7fe4d..36b3bae79 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateAttachmentRequestTest.php b/src/gen/test/Model/CreateAttachmentRequestTest.php index d1d3df4ac..4cda92649 100644 --- a/src/gen/test/Model/CreateAttachmentRequestTest.php +++ b/src/gen/test/Model/CreateAttachmentRequestTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateAttachmentResponseTest.php b/src/gen/test/Model/CreateAttachmentResponseTest.php index bf73fadc0..de8f380f5 100644 --- a/src/gen/test/Model/CreateAttachmentResponseTest.php +++ b/src/gen/test/Model/CreateAttachmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateBankFeedAccountResponseTest.php b/src/gen/test/Model/CreateBankFeedAccountResponseTest.php new file mode 100644 index 000000000..ab7f12287 --- /dev/null +++ b/src/gen/test/Model/CreateBankFeedAccountResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CreateBankFeedStatementResponseTest.php b/src/gen/test/Model/CreateBankFeedStatementResponseTest.php new file mode 100644 index 000000000..123bf104d --- /dev/null +++ b/src/gen/test/Model/CreateBankFeedStatementResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CreateBillPaymentResponseTest.php b/src/gen/test/Model/CreateBillPaymentResponseTest.php index b18b75bce..4e0afad6b 100644 --- a/src/gen/test/Model/CreateBillPaymentResponseTest.php +++ b/src/gen/test/Model/CreateBillPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 52c490415..c9bbe6ed5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCallbackStateResponseDataTest.php b/src/gen/test/Model/CreateCallbackStateResponseDataTest.php index 445e61e33..e5c685b39 100644 --- a/src/gen/test/Model/CreateCallbackStateResponseDataTest.php +++ b/src/gen/test/Model/CreateCallbackStateResponseDataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCallbackStateResponseTest.php b/src/gen/test/Model/CreateCallbackStateResponseTest.php index 492d4614f..26f278bd5 100644 --- a/src/gen/test/Model/CreateCallbackStateResponseTest.php +++ b/src/gen/test/Model/CreateCallbackStateResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCallbackStateTest.php b/src/gen/test/Model/CreateCallbackStateTest.php index 92b3d89ae..354082f89 100644 --- a/src/gen/test/Model/CreateCallbackStateTest.php +++ b/src/gen/test/Model/CreateCallbackStateTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e3c70886f..266595f1a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a6a261a67..00322fde0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 577aac2b4..a8b37fcf6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fd89b6ca6..1a13e39b1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 300c30428..0bb60cbbe 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dea110018..4ec9f4f9a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e27ae81ff..95aed2914 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ce76d08fb..9ccbfb798 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateCustomObjectResponseTest.php b/src/gen/test/Model/CreateCustomObjectResponseTest.php new file mode 100644 index 000000000..a062934b9 --- /dev/null +++ b/src/gen/test/Model/CreateCustomObjectResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CreateCustomObjectSchemaResponseTest.php b/src/gen/test/Model/CreateCustomObjectSchemaResponseTest.php new file mode 100644 index 000000000..56da5a31d --- /dev/null +++ b/src/gen/test/Model/CreateCustomObjectSchemaResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CreateCustomerResponseTest.php b/src/gen/test/Model/CreateCustomerResponseTest.php index 7cc672d76..10dee015e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c1f93cc07..a5d4dd4f2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6fb84c0fd..f562b2a53 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2d5db7bf5..d4ba500c3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fcb96506d..bae66cb41 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 75ebbac52..284df6069 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 01814a768..c6616e50c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateExpenseResponseTest.php b/src/gen/test/Model/CreateExpenseResponseTest.php index 899f310d1..2e6cdfe45 100644 --- a/src/gen/test/Model/CreateExpenseResponseTest.php +++ b/src/gen/test/Model/CreateExpenseResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7770efdb4..7ec1c9fbb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 16058969e..a15ac29d8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f0dcef323..e9752654b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 28617caad..b9a061181 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7f80384aa..0b6ac55d3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f26ff2b83..828e1cc90 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cd4ffea8d..79aa8f3db 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 741f3a632..2bc6e5a92 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c3efb571b..ab690b771 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7ea64f479..1e3dd762f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 641ba172d..49478f5de 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 37c0a5fb7..be838549b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3ea732e9c..c0327826d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1809926cb..42db6a01f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 382c4852f..f85942200 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b06a122b2..4e91193f8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f71fbfaa4..ac25157f2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fc836c266..dc09b0084 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8d13b20b7..81ec29b7a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ecef7acfb..7de930d91 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c7b905a20..9772d5ad3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f406765c3..acdaab456 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8b9ce5ffa..c0c9c79c7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9537a8405..c1d62559b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a8f8b24d8..b09546098 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e1b915987..2f3e172c9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bde1ab35c..55aa4ac7f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e889bb7e2..a367de33c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5d2137a1d..d4e99c689 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index e60c06a3d..767869455 100644 --- a/src/gen/test/Model/CreateSubsidiaryResponseTest.php +++ b/src/gen/test/Model/CreateSubsidiaryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateSupplierResponseTest.php b/src/gen/test/Model/CreateSupplierResponseTest.php index 64fb8c3e4..a490760f5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 547455c9a..e1cbd00d6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f1ae7a37a..f9888ed17 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 be57afb5a..1b24e65ae 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7c60d6da3..fe3673b5f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreateTrackingCategoryResponseTest.php b/src/gen/test/Model/CreateTrackingCategoryResponseTest.php index ff71aa5f8..a9c0ce354 100644 --- a/src/gen/test/Model/CreateTrackingCategoryResponseTest.php +++ b/src/gen/test/Model/CreateTrackingCategoryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0debf1a91..8276d9d0c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 18192c3b1..cc7867ffc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5dc29c281..44c4f1410 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d17290ec0..6e915d4d8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9df730cde..c63bb61d7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fbbe4c360..7493908ea 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreditNotesFilterTest.php b/src/gen/test/Model/CreditNotesFilterTest.php index 5721aed9f..17e7588cd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ac6f571ac..cbf911268 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CreditOrDebitTest.php b/src/gen/test/Model/CreditOrDebitTest.php new file mode 100644 index 000000000..e384ca715 --- /dev/null +++ b/src/gen/test/Model/CreditOrDebitTest.php @@ -0,0 +1,82 @@ +markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CrmEventTypeTest.php b/src/gen/test/Model/CrmEventTypeTest.php index 4abf41d2c..27f2aef22 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 37c21e15b..643823dc6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 48948a03f..97e6800f2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e85da5a4b..e577c8333 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 459c50381..23ec3f4f5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CustomObjectFieldsTest.php b/src/gen/test/Model/CustomObjectFieldsTest.php new file mode 100644 index 000000000..1e07e954a --- /dev/null +++ b/src/gen/test/Model/CustomObjectFieldsTest.php @@ -0,0 +1,100 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "name" + */ + public function testPropertyName() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "value" + */ + public function testPropertyValue() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectSchemaFieldsTest.php b/src/gen/test/Model/CustomObjectSchemaFieldsTest.php new file mode 100644 index 000000000..488e006fc --- /dev/null +++ b/src/gen/test/Model/CustomObjectSchemaFieldsTest.php @@ -0,0 +1,145 @@ +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'); + } + + /** + * Test attribute "description" + */ + public function testPropertyDescription() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "type" + */ + public function testPropertyType() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "required" + */ + public function testPropertyRequired() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "options" + */ + public function testPropertyOptions() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "default_value" + */ + public function testPropertyDefaultValue() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectSchemaOptionsTest.php b/src/gen/test/Model/CustomObjectSchemaOptionsTest.php new file mode 100644 index 000000000..8310358a4 --- /dev/null +++ b/src/gen/test/Model/CustomObjectSchemaOptionsTest.php @@ -0,0 +1,100 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "value" + */ + public function testPropertyValue() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "label" + */ + public function testPropertyLabel() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectSchemaTest.php b/src/gen/test/Model/CustomObjectSchemaTest.php new file mode 100644 index 000000000..a6e43740e --- /dev/null +++ b/src/gen/test/Model/CustomObjectSchemaTest.php @@ -0,0 +1,181 @@ +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'); + } + + /** + * Test attribute "description" + */ + public function testPropertyDescription() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "fields" + */ + public function testPropertyFields() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "visible" + */ + public function testPropertyVisible() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "active" + */ + public function testPropertyActive() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "created_by" + */ + public function testPropertyCreatedBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "updated_by" + */ + public function testPropertyUpdatedBy() + { + // 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'); + } + + /** + * Test attribute "pass_through" + */ + public function testPropertyPassThrough() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectSchemasSortTest.php b/src/gen/test/Model/CustomObjectSchemasSortTest.php new file mode 100644 index 000000000..dba538f55 --- /dev/null +++ b/src/gen/test/Model/CustomObjectSchemasSortTest.php @@ -0,0 +1,100 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "by" + */ + public function testPropertyBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "direction" + */ + public function testPropertyDirection() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectTest.php b/src/gen/test/Model/CustomObjectTest.php new file mode 100644 index 000000000..30ab24533 --- /dev/null +++ b/src/gen/test/Model/CustomObjectTest.php @@ -0,0 +1,163 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "owner_id" + */ + public function testPropertyOwnerId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "name" + */ + public function testPropertyName() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "fields" + */ + public function testPropertyFields() + { + // 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'); + } + + /** + * Test attribute "pass_through" + */ + public function testPropertyPassThrough() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomObjectsSortTest.php b/src/gen/test/Model/CustomObjectsSortTest.php new file mode 100644 index 000000000..6b72d9b2c --- /dev/null +++ b/src/gen/test/Model/CustomObjectsSortTest.php @@ -0,0 +1,100 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "by" + */ + public function testPropertyBy() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "direction" + */ + public function testPropertyDirection() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/CustomerTest.php b/src/gen/test/Model/CustomerTest.php index 3fb02651e..a836eba2b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/CustomersFilterTest.php b/src/gen/test/Model/CustomersFilterTest.php index 7ee656551..a0dc4f34c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 579a9180c..1aa16cd92 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 226118dd1..1a574b859 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 7e8b516d0..4f63772b9 100644 --- a/src/gen/test/Model/DeleteAccountingDepartmentResponseTest.php +++ b/src/gen/test/Model/DeleteAccountingDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteAccountingLocationResponseTest.php b/src/gen/test/Model/DeleteAccountingLocationResponseTest.php index fe59d9bd6..abca8b14f 100644 --- a/src/gen/test/Model/DeleteAccountingLocationResponseTest.php +++ b/src/gen/test/Model/DeleteAccountingLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteActivityResponseTest.php b/src/gen/test/Model/DeleteActivityResponseTest.php index 5bbf72c43..5e155a2e9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a6c853d55..bd68ac258 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ce83424db..f53e172bc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteAttachmentResponseTest.php b/src/gen/test/Model/DeleteAttachmentResponseTest.php index 17bcbfe4c..750debd98 100644 --- a/src/gen/test/Model/DeleteAttachmentResponseTest.php +++ b/src/gen/test/Model/DeleteAttachmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteBankFeedAccountResponseTest.php b/src/gen/test/Model/DeleteBankFeedAccountResponseTest.php new file mode 100644 index 000000000..d64fb6b6d --- /dev/null +++ b/src/gen/test/Model/DeleteBankFeedAccountResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/DeleteBankFeedStatementResponseTest.php b/src/gen/test/Model/DeleteBankFeedStatementResponseTest.php new file mode 100644 index 000000000..bed29bceb --- /dev/null +++ b/src/gen/test/Model/DeleteBankFeedStatementResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/DeleteBillPaymentResponseTest.php b/src/gen/test/Model/DeleteBillPaymentResponseTest.php index 1310ac960..d0ed7120c 100644 --- a/src/gen/test/Model/DeleteBillPaymentResponseTest.php +++ b/src/gen/test/Model/DeleteBillPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 eb986b16e..12e7a4c99 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 34de21d62..0541c8376 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f0a0ba4d9..15bb6b3ca 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f4c334e85..b71a388e9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dc994d2e9..c0b5debae 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1fc840a31..2f54cdd05 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteCustomObjectResponseTest.php b/src/gen/test/Model/DeleteCustomObjectResponseTest.php new file mode 100644 index 000000000..047db3bcb --- /dev/null +++ b/src/gen/test/Model/DeleteCustomObjectResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/DeleteCustomObjectSchemaResponseTest.php b/src/gen/test/Model/DeleteCustomObjectSchemaResponseTest.php new file mode 100644 index 000000000..78aca9ba2 --- /dev/null +++ b/src/gen/test/Model/DeleteCustomObjectSchemaResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/DeleteCustomerResponseTest.php b/src/gen/test/Model/DeleteCustomerResponseTest.php index 977114ee4..41f46c4f7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7401ed279..5f098a0b3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f0edf7edf..72fe54686 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 160f09ab3..ab68a433e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 670018d6c..9331219d3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1fd9430c7..308626e61 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 671bbdae8..1733a7dac 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteExpenseResponseTest.php b/src/gen/test/Model/DeleteExpenseResponseTest.php index 7e8cc0b68..da94308cb 100644 --- a/src/gen/test/Model/DeleteExpenseResponseTest.php +++ b/src/gen/test/Model/DeleteExpenseResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fec66c5d9..35f9eb22f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 85765cc45..b4a4ff080 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c2dc55621..08223aff6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 74df275af..88d73d064 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d74d6f880..63b63d515 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 45bb20daf..6e8829351 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 884250caf..411e25ed5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8d6917a4f..ae64faa21 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3586086b0..ef116e69c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 943dab742..cedee5dfd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 903aa2897..26dfa6c9c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d1fbf2257..8e70309bd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dd1896065..682384a8f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a3d371bae..646a74bfc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b518e2efb..bb02186dd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4413bf6aa..47bda1b86 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0ab8517e0..8454ef5b1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a19c919da..64e5edf97 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 79dad666c..fb8c61df9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f32c8339a..d95bb7e5a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9c1fe8121..a56a0f555 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 77c324f4c..47a6f2669 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a92ecb4a2..3e3713d6b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4a888034e..0bf947981 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 4283aaced..ad28b3a4d 100644 --- a/src/gen/test/Model/DeleteSubsidiaryResponseTest.php +++ b/src/gen/test/Model/DeleteSubsidiaryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteSupplierResponseTest.php b/src/gen/test/Model/DeleteSupplierResponseTest.php index cb98540ba..2d4b18081 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d8d9891bd..2fa75b6df 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a916aca02..91659bb9c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9ace31126..1ddaafc3d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 78f156c1f..83441df74 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeleteTrackingCategoryResponseTest.php b/src/gen/test/Model/DeleteTrackingCategoryResponseTest.php index 7f252ff65..f35e86951 100644 --- a/src/gen/test/Model/DeleteTrackingCategoryResponseTest.php +++ b/src/gen/test/Model/DeleteTrackingCategoryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 52636dad4..f8769f498 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e6e567684..9488adb45 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ef2e00eb2..7a8747257 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a997c23da..4371cddbe 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeprecatedLinkedSupplierTest.php b/src/gen/test/Model/DeprecatedLinkedSupplierTest.php index 7e3c0e5c6..29b6e80f7 100644 --- a/src/gen/test/Model/DeprecatedLinkedSupplierTest.php +++ b/src/gen/test/Model/DeprecatedLinkedSupplierTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/DeprecatedLinkedTrackingCategoryTest.php b/src/gen/test/Model/DeprecatedLinkedTrackingCategoryTest.php index c6806101a..9ff1f2236 100644 --- a/src/gen/test/Model/DeprecatedLinkedTrackingCategoryTest.php +++ b/src/gen/test/Model/DeprecatedLinkedTrackingCategoryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2360ced11..1d9e4a24d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0f467fa44..2fcfd8db4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9299c4a99..39d0620d1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5110ccc7a..8e0074269 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8550906c4..7d76253b0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 25bbc6058..5f00a7cbf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cf118655a..e08aaf616 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 18ac30a32..97a191bc9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f9d16b5f9..6e78b2942 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/EcommerceEventTypeTest.php b/src/gen/test/Model/EcommerceEventTypeTest.php index 2b6301f1f..841812b7f 100644 --- a/src/gen/test/Model/EcommerceEventTypeTest.php +++ b/src/gen/test/Model/EcommerceEventTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9d6156725..35424aaec 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -98,15 +98,6 @@ public function testPropertyQuantity() $this->markTestIncomplete('Not implemented'); } - /** - * Test attribute "total_amount" - */ - public function testPropertyTotalAmount() - { - // TODO: implement - $this->markTestIncomplete('Not implemented'); - } - /** * Test attribute "id" */ @@ -224,6 +215,15 @@ public function testPropertySubTotal() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "total_amount" + */ + public function testPropertyTotalAmount() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "discounts" */ diff --git a/src/gen/test/Model/EcommerceOrderRefundTest.php b/src/gen/test/Model/EcommerceOrderRefundTest.php new file mode 100644 index 000000000..aaca5e641 --- /dev/null +++ b/src/gen/test/Model/EcommerceOrderRefundTest.php @@ -0,0 +1,127 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "amount" + */ + public function testPropertyAmount() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "currency" + */ + public function testPropertyCurrency() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "reason" + */ + public function testPropertyReason() + { + // 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/EcommerceOrderStatusTest.php b/src/gen/test/Model/EcommerceOrderStatusTest.php index 9be91f3a5..787144d6b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3fb3d3547..09246554d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -269,6 +269,15 @@ public function testPropertyNote() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "refunds" + */ + public function testPropertyRefunds() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "custom_mappings" */ diff --git a/src/gen/test/Model/EcommerceOrdersFilterTest.php b/src/gen/test/Model/EcommerceOrdersFilterTest.php index ee0642782..25540d928 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 62c5ec145..0e66afbf9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f72062728..1b7a4615d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f919ac838..86eca272e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 914532070..1b056bd5e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e0c798e75..26fe6b35e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a145b0cc2..47805ae5a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 604677705..f4eaa27cc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a44c8e564..588b45ff3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 154a56abd..da41a3dd4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c4df872f1..495810c3e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cbff5e1e6..3f597655c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1fe1d8bed..fbdc0ff08 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 82d5e3faa..e070554f8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 aade97d00..570aa7807 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ce1b490c9..3b26cf46d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a90496bc2..a0b8dc5cf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c8bea2da6..c3ae5337a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1d957d701..50bb2c301 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -169,4 +169,13 @@ public function testPropertyCity() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "country" + */ + public function testPropertyCountry() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/EmployeesOneFilterTest.php b/src/gen/test/Model/EmployeesOneFilterTest.php index ac38c2b69..323c58c42 100644 --- a/src/gen/test/Model/EmployeesOneFilterTest.php +++ b/src/gen/test/Model/EmployeesOneFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b2e404bcb..6db5e1a93 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7ffc68d1d..d41de2849 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c3b6843f7..a7510b6a3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8b2fdb43d..c91d60291 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ExpenseLineItemTest.php b/src/gen/test/Model/ExpenseLineItemTest.php index 46fb10f1e..531306e4e 100644 --- a/src/gen/test/Model/ExpenseLineItemTest.php +++ b/src/gen/test/Model/ExpenseLineItemTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -178,4 +178,13 @@ public function testPropertyBillable() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "line_number" + */ + public function testPropertyLineNumber() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/ExpenseTest.php b/src/gen/test/Model/ExpenseTest.php index 5ac43c2f4..c45a5ff97 100644 --- a/src/gen/test/Model/ExpenseTest.php +++ b/src/gen/test/Model/ExpenseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -269,6 +269,24 @@ public function testPropertyRowVersion() $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 "pass_through" */ diff --git a/src/gen/test/Model/ExpensesTest.php b/src/gen/test/Model/ExpensesTest.php index 6324aeebf..31f619624 100644 --- a/src/gen/test/Model/ExpensesTest.php +++ b/src/gen/test/Model/ExpensesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b954e148f..24beb4b48 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 107209899..715b59999 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d4ac81794..2c86dd017 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 edb0c2cf0..f704e5a8a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c0b0c3ea8..57ff6dc03 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9c769a315..b412739a1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4e3430cd6..01238df7e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 97f4fc469..69c29b8d7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4b831045e..047e01e5d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5d8b4031a..4f56001c6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index e9a97fdfb..b65198dce 100644 --- a/src/gen/test/Model/GetAccountingDepartmentResponseTest.php +++ b/src/gen/test/Model/GetAccountingDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php b/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php index d9460376e..32908d032 100644 --- a/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php +++ b/src/gen/test/Model/GetAccountingDepartmentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAccountingLocationResponseTest.php b/src/gen/test/Model/GetAccountingLocationResponseTest.php index 93d3ca48a..7f3937788 100644 --- a/src/gen/test/Model/GetAccountingLocationResponseTest.php +++ b/src/gen/test/Model/GetAccountingLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAccountingLocationsResponseTest.php b/src/gen/test/Model/GetAccountingLocationsResponseTest.php index 9423f0644..715aa7f7e 100644 --- a/src/gen/test/Model/GetAccountingLocationsResponseTest.php +++ b/src/gen/test/Model/GetAccountingLocationsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetActivitiesResponseTest.php b/src/gen/test/Model/GetActivitiesResponseTest.php index 939ae6ffd..52be08242 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 94cd973b9..7e99d8652 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAgedCreditorsResponseTest.php b/src/gen/test/Model/GetAgedCreditorsResponseTest.php index 2fda58c73..f5c7ff62b 100644 --- a/src/gen/test/Model/GetAgedCreditorsResponseTest.php +++ b/src/gen/test/Model/GetAgedCreditorsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAgedDebtorsResponseTest.php b/src/gen/test/Model/GetAgedDebtorsResponseTest.php index b0c4e66e3..cbcbf749a 100644 --- a/src/gen/test/Model/GetAgedDebtorsResponseTest.php +++ b/src/gen/test/Model/GetAgedDebtorsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 24e725437..007201862 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1f3fd9a95..f66b9fa81 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 367f8c3df..2eb2e4a0b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cd9750bd1..280721846 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 67cd67f5a..619f2f4e9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1d439711a..1e8a69875 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d78ddaa04..b30c856f5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 03c2f1084..52b327a64 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAttachmentResponseTest.php b/src/gen/test/Model/GetAttachmentResponseTest.php index c9bc33855..c145751ba 100644 --- a/src/gen/test/Model/GetAttachmentResponseTest.php +++ b/src/gen/test/Model/GetAttachmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetAttachmentsResponseTest.php b/src/gen/test/Model/GetAttachmentsResponseTest.php index 28bbad43f..1bc8990f2 100644 --- a/src/gen/test/Model/GetAttachmentsResponseTest.php +++ b/src/gen/test/Model/GetAttachmentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2ebaaf98b..63ce00a5c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetBankFeedAccountResponseTest.php b/src/gen/test/Model/GetBankFeedAccountResponseTest.php new file mode 100644 index 000000000..20d1dc528 --- /dev/null +++ b/src/gen/test/Model/GetBankFeedAccountResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetBankFeedAccountsResponseTest.php b/src/gen/test/Model/GetBankFeedAccountsResponseTest.php new file mode 100644 index 000000000..634e68139 --- /dev/null +++ b/src/gen/test/Model/GetBankFeedAccountsResponseTest.php @@ -0,0 +1,163 @@ +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'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetBankFeedStatementResponseTest.php b/src/gen/test/Model/GetBankFeedStatementResponseTest.php new file mode 100644 index 000000000..b7f3249ef --- /dev/null +++ b/src/gen/test/Model/GetBankFeedStatementResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetBankFeedStatementsResponseTest.php b/src/gen/test/Model/GetBankFeedStatementsResponseTest.php new file mode 100644 index 000000000..a414e20da --- /dev/null +++ b/src/gen/test/Model/GetBankFeedStatementsResponseTest.php @@ -0,0 +1,163 @@ +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'); + } + + /** + * Test attribute "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetBillPaymentResponseTest.php b/src/gen/test/Model/GetBillPaymentResponseTest.php index eaf1e6430..c0023077e 100644 --- a/src/gen/test/Model/GetBillPaymentResponseTest.php +++ b/src/gen/test/Model/GetBillPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetBillPaymentsResponseTest.php b/src/gen/test/Model/GetBillPaymentsResponseTest.php index ad58a3a70..2b0976e1c 100644 --- a/src/gen/test/Model/GetBillPaymentsResponseTest.php +++ b/src/gen/test/Model/GetBillPaymentsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ce3896c75..add2f014f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1fddf772a..f67e06176 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 efe502f40..2c9824531 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ac94d4e0f..b5cce1c45 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 159127230..09b31751b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b1744ffa8..a2c77a6ef 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2ffcfc1b3..c5bcc7094 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 888a8b59f..27eec2cbe 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 43b5463d7..cb07a5af5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6e4291ecc..7d20fcf8c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 70ef3a8ea..c2b4a95a0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c3e19a79f..f806f50d5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 353081f5e..645ac86a8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bce36dede..3ffc42b8e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1d51ac792..3026dc293 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ee7d927d6..6788f0ac4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 40a479c7f..760dd3dcb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b415b1995..b2c587040 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b04465d8d..cb63d4c90 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 40f5478cf..f2a0d0b74 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 04b4d2c9f..982cbde87 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 936df921b..046634c1e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d12442ffd..540ea5517 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5016dd53b..ee68b27f1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cd14f299d..46ff59ab5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dafaaf17b..e761c5c92 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 194c1efec..676b6ea3c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 77c64a7ad..095f0900c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1a0c79727..aef866d72 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCustomMappingsResponseTest.php b/src/gen/test/Model/GetCustomMappingsResponseTest.php index 7277be1d3..78865d2c3 100644 --- a/src/gen/test/Model/GetCustomMappingsResponseTest.php +++ b/src/gen/test/Model/GetCustomMappingsResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetCustomObjectResponseTest.php b/src/gen/test/Model/GetCustomObjectResponseTest.php new file mode 100644 index 000000000..7fbd9196e --- /dev/null +++ b/src/gen/test/Model/GetCustomObjectResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetCustomObjectSchemaResponseTest.php b/src/gen/test/Model/GetCustomObjectSchemaResponseTest.php new file mode 100644 index 000000000..6bdc35763 --- /dev/null +++ b/src/gen/test/Model/GetCustomObjectSchemaResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/GetCustomObjectSchemasResponseTest.php b/src/gen/test/Model/GetCustomObjectSchemasResponseTest.php new file mode 100644 index 000000000..ed2941e48 --- /dev/null +++ b/src/gen/test/Model/GetCustomObjectSchemasResponseTest.php @@ -0,0 +1,163 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // 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/GetCustomObjectsResponseTest.php b/src/gen/test/Model/GetCustomObjectsResponseTest.php new file mode 100644 index 000000000..f6689fd10 --- /dev/null +++ b/src/gen/test/Model/GetCustomObjectsResponseTest.php @@ -0,0 +1,163 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // 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/GetCustomerResponseTest.php b/src/gen/test/Model/GetCustomerResponseTest.php index ab0480e19..934b6b1cf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 29bf0b4de..476c62117 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5ac0dfe19..8925073e3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2f8e77cd3..668586c8c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fbdf98b62..4010d969a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 abe1b149a..b5d3db798 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 928e7e8e0..a502cf134 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 eecf1ce8f..508dacc6d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 822776069..5735be7e1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6d42567d6..23af52175 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2286e8092..fd665567a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d48df6e2e..eccb1bde8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9dbbee554..04bf6b8eb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2b792c7d1..61d02732c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9c468aea7..0c6a7b169 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 75f421f44..230b12afc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 99eced63a..076b4e302 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetExpenseResponseTest.php b/src/gen/test/Model/GetExpenseResponseTest.php index d1c621496..cfafd015b 100644 --- a/src/gen/test/Model/GetExpenseResponseTest.php +++ b/src/gen/test/Model/GetExpenseResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetExpensesResponseTest.php b/src/gen/test/Model/GetExpensesResponseTest.php index 934cf170f..c493c24b9 100644 --- a/src/gen/test/Model/GetExpensesResponseTest.php +++ b/src/gen/test/Model/GetExpensesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a581c33de..07846fd84 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5b39233c9..35b4893ee 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 33dc3e67c..ae0d8fd1d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ddc7cb3b2..db29d3f27 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 529732466..240e4efa3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e4733ece2..5c23f38b4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 09bfd012a..abf2e93a6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d19ed7b00..0f2cea202 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 429c90d25..c422a8eaa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a64e953f4..63f912e7c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6f10f5b68..181352ee6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0679181d9..6f05c2cb5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 49c5b1eb5..1e9782477 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b5e92d09b..3e8d5e573 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fe51dee94..98f420055 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5fb6766cc..38b4089d1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ba357a9db..3a1af545e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cf676c313..dcfcc164b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b7ed2997a..a9f285afe 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 85517ec10..7ab52d765 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ddac56dc6..b7958d38b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8ca878186..491bb9008 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0e74e758f..b19830440 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cad5af4ff..da15ce090 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3f8ae3cd2..bdd7dca4a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 209ffdaf1..4f3b63cdd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 77ee3ac78..f20002131 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d04837435..4f0b8cf57 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c17c02dab..2ea6480cf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c7f4689c2..e07a16a51 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cb53e42c1..2ddea8b6d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 47bfa74c4..08e491807 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ec46e2434..56384729a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6ffc34cf9..5d18eb40f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 28a642127..05ac155b6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bf02ece0d..8ff1d1d36 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 df20ff1ec..36777cd0a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 617f39a6f..3506b8e66 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 95318c8b3..5df009b47 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 df3d1c13e..5a9be9766 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5b723c8e7..f2edc6875 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7c275acaa..2d864a513 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a250f8ff5..3ccd66373 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 728c19ca9..5deb3ce98 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6e00c992e..6f6f46314 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 009fd9c5f..530539b97 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dccc22480..f54da04e7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a90403bfb..495fbd642 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e13671dfe..c885bf763 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 da1e3319a..d31a3122e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d80cc6eb1..61bc5b224 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 05ca1aab9..e173093d6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3ca41ed8f..79030f1cf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d276d19f1..34a3ba591 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0df69c744..c0e8f0f8f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8e9a5566b..137d32b43 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0467af645..7bac980a5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 67c7f5ac2..e76ec5a40 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fe43accc4..1ccc758c2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d9ef356cb..bcc3e1ca5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 8c671a362..8afa4ab9a 100644 --- a/src/gen/test/Model/GetSubsidiariesResponseTest.php +++ b/src/gen/test/Model/GetSubsidiariesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetSubsidiaryResponseTest.php b/src/gen/test/Model/GetSubsidiaryResponseTest.php index 97034bca4..97fecb24f 100644 --- a/src/gen/test/Model/GetSubsidiaryResponseTest.php +++ b/src/gen/test/Model/GetSubsidiaryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetSupplierResponseTest.php b/src/gen/test/Model/GetSupplierResponseTest.php index be1e5db7f..0910e4156 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e078636a6..5eb61d95e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 966efa960..481e69a19 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4318305e4..2c2b5fdfc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d1477072f..9112fd67b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 793731ede..1d41109bc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 52288bf14..acce9e725 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b6e722ceb..e4fa89e4d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d3bb3ad0f..d1920dbf9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 92bd21c5d..7dcaa149f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTrackingCategoriesResponseTest.php b/src/gen/test/Model/GetTrackingCategoriesResponseTest.php index 154f02a2f..3b5d6c08b 100644 --- a/src/gen/test/Model/GetTrackingCategoriesResponseTest.php +++ b/src/gen/test/Model/GetTrackingCategoriesResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/GetTrackingCategoryResponseTest.php b/src/gen/test/Model/GetTrackingCategoryResponseTest.php index a122f3f18..e93dd1b7c 100644 --- a/src/gen/test/Model/GetTrackingCategoryResponseTest.php +++ b/src/gen/test/Model/GetTrackingCategoryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2ac62be9a..8667fdb8c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b237b1d62..f2be1fffd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 02d10dad7..f8079a704 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5b6761de8..6892d776f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6a2cd0119..b138ee879 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dcc197fc0..afda643c3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 385c490d3..6d000d9af 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c6bc853a3..bd3e1b7fe 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b507a85e2..d5f2edc50 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 eaf93d203..b8313a50b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1f8ab857b..eb862221d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/IncomeTest.php b/src/gen/test/Model/IncomeTest.php index 163175dcb..aadf2066e 100644 --- a/src/gen/test/Model/IncomeTest.php +++ b/src/gen/test/Model/IncomeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 94216d245..85dd3889c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoiceItemFilterTest.php b/src/gen/test/Model/InvoiceItemFilterTest.php index a57684800..93cf3b8f1 100644 --- a/src/gen/test/Model/InvoiceItemFilterTest.php +++ b/src/gen/test/Model/InvoiceItemFilterTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 09f61e7ae..968ea3f4f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0cf1c2c52..28958fab7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4c7950c08..422a93431 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoiceItemsSortTest.php b/src/gen/test/Model/InvoiceItemsSortTest.php index 9723c7e57..e077db41b 100644 --- a/src/gen/test/Model/InvoiceItemsSortTest.php +++ b/src/gen/test/Model/InvoiceItemsSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 316d7a789..9bf6bc19a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/InvoicePaymentAllocationsTest.php b/src/gen/test/Model/InvoicePaymentAllocationsTest.php new file mode 100644 index 000000000..f788140b7 --- /dev/null +++ b/src/gen/test/Model/InvoicePaymentAllocationsTest.php @@ -0,0 +1,109 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "allocated_amount" + */ + public function testPropertyAllocatedAmount() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "date" + */ + public function testPropertyDate() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/InvoiceResponseTest.php b/src/gen/test/Model/InvoiceResponseTest.php index 6ccef8662..e785c7ebf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 54f90c620..5609acc54 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -368,6 +368,15 @@ public function testPropertySourceDocumentUrl() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "payment_allocations" + */ + public function testPropertyPaymentAllocations() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "payment_method" */ diff --git a/src/gen/test/Model/InvoicesFilterTest.php b/src/gen/test/Model/InvoicesFilterTest.php index 32e11ed9e..cb36de89b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ca591d514..471d416f8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7b18cf677..180e991fd 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 253b8bce6..f5b7e561b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c67891bb5..0e63b8732 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7faff26f0..3e4804815 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 75762eaf2..4b1fe67aa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 796ceaf51..dcd160a93 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3f5dced9d..23d21e8c6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4d21666c7..823b70282 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 417d4ff6c..e214eb154 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 68c5ef1d8..488ba3f2a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 294152d46..17b9fd22c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -134,6 +134,15 @@ public function testPropertyLineItems() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "status" + */ + public function testPropertyStatus() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "memo" */ diff --git a/src/gen/test/Model/LeadEventTypeTest.php b/src/gen/test/Model/LeadEventTypeTest.php index 15a55dec1..dd31849fe 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b0ad9a8b2..557812183 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -90,18 +90,18 @@ public function testPropertyName() } /** - * Test attribute "company_name" + * Test attribute "id" */ - public function testPropertyCompanyName() + public function testPropertyId() { // TODO: implement $this->markTestIncomplete('Not implemented'); } /** - * Test attribute "id" + * Test attribute "company_name" */ - public function testPropertyId() + public function testPropertyCompanyName() { // TODO: implement $this->markTestIncomplete('Not implemented'); diff --git a/src/gen/test/Model/LeadsFilterTest.php b/src/gen/test/Model/LeadsFilterTest.php index bda6c6632..7a27e430a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fd78b7396..c00840d38 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 26838b329..c277a4dfa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 632b3f491..91959c411 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e2fbf3479..c05ca30ee 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a3db79ffc..d803c595c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 be71c2752..f1f86c8da 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9e24d8777..e1b423e17 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a9e84da69..0d6eb56cf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5b05ef505..75c76f9b8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fd6a02ca4..0e419625c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 80f296a08..cd138677f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2a4fd78e4..ebf5616ba 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 89f119a80..f77fcf00f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4b8696315..a8b668aa1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e872e098d..5f405f7f0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ea4bbe853..5638f09b4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 492018710..05c931ab9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3cfac964d..f9e2edf1e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dfdf8c686..94759ed81 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 58a297800..b6be1934c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 493bf8d07..7a89de83b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 01ac497a5..12f24866a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0bcc765f4..e58969d91 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dec2c2bf2..ccf188fb5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c5c803870..56f10cec5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 29535243c..f454c54de 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6df36aac0..a4d633cfb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f2c5794ef..51d035f42 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3f5bf70d4..b9fe129b2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9a059b5bc..406a2c01c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2e1671097..a5b3d97b2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f07546dab..631883438 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 64f858d9d..8ba133f12 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -143,6 +143,15 @@ public function testPropertyOpportunityId() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "activity_id" + */ + public function testPropertyActivityId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "lead_id" */ diff --git a/src/gen/test/Model/OAuthGrantTypeTest.php b/src/gen/test/Model/OAuthGrantTypeTest.php index cd0f02a6c..7a86ba623 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d1b30e5f2..4002e2c17 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dbec34a0f..10581530f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 292a7393a..6dfbf737d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 275c779d2..5df96e83e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a09cdd4d0..47f095c2c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 37088f31f..857f96dd9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3877f141d..16f371fc4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8a65b3cc6..747fcd6ca 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cb035503d..5409549bf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fcdf5e893..81b81035e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a4d0b2a12..6af6494e7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c6a971f57..e29b5a711 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ce5e44db6..8a6097c9b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cff59214e..e36bc9a89 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b493c21f5..12e851abe 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 377ecbbd3..a1cc3127e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OrdersSortTest.php b/src/gen/test/Model/OrdersSortTest.php index e39655b7a..3f9292e56 100644 --- a/src/gen/test/Model/OrdersSortTest.php +++ b/src/gen/test/Model/OrdersSortTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OtherExpensesTest.php b/src/gen/test/Model/OtherExpensesTest.php index 495f5dbcb..9fc3cb784 100644 --- a/src/gen/test/Model/OtherExpensesTest.php +++ b/src/gen/test/Model/OtherExpensesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -80,15 +80,6 @@ public function testOtherExpenses() $this->markTestIncomplete('Not implemented'); } - /** - * Test attribute "total" - */ - public function testPropertyTotal() - { - // TODO: implement - $this->markTestIncomplete('Not implemented'); - } - /** * Test attribute "records" */ @@ -133,4 +124,13 @@ public function testPropertyType() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "total" + */ + public function testPropertyTotal() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/OtherIncomeTest.php b/src/gen/test/Model/OtherIncomeTest.php index e8432e7ec..90894b1f3 100644 --- a/src/gen/test/Model/OtherIncomeTest.php +++ b/src/gen/test/Model/OtherIncomeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -80,15 +80,6 @@ public function testOtherIncome() $this->markTestIncomplete('Not implemented'); } - /** - * Test attribute "total" - */ - public function testPropertyTotal() - { - // TODO: implement - $this->markTestIncomplete('Not implemented'); - } - /** * Test attribute "records" */ @@ -133,4 +124,13 @@ public function testPropertyType() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "total" + */ + public function testPropertyTotal() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/OutstandingBalanceByCurrencyTest.php b/src/gen/test/Model/OutstandingBalanceByCurrencyTest.php index 7101d2853..25070136c 100644 --- a/src/gen/test/Model/OutstandingBalanceByCurrencyTest.php +++ b/src/gen/test/Model/OutstandingBalanceByCurrencyTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OutstandingBalanceByCustomerTest.php b/src/gen/test/Model/OutstandingBalanceByCustomerTest.php index 7be0842e0..894e91f4d 100644 --- a/src/gen/test/Model/OutstandingBalanceByCustomerTest.php +++ b/src/gen/test/Model/OutstandingBalanceByCustomerTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/OutstandingBalanceBySupplierTest.php b/src/gen/test/Model/OutstandingBalanceBySupplierTest.php index b265d71a0..f10c62c43 100644 --- a/src/gen/test/Model/OutstandingBalanceBySupplierTest.php +++ b/src/gen/test/Model/OutstandingBalanceBySupplierTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 61ceff14e..964a86728 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ab433fc7e..a77a4ea40 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c200d3db2..90ad71eef 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4b4462289..88ac4bbca 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b474dac4a..ae14a52d8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3fc8ae14c..8cf88dca1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentStatusTest.php b/src/gen/test/Model/PaymentStatusTest.php index f09b1416d..e220d637a 100644 --- a/src/gen/test/Model/PaymentStatusTest.php +++ b/src/gen/test/Model/PaymentStatusTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bca44ae59..fa9f8c3ec 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentTypeTest.php b/src/gen/test/Model/PaymentTypeTest.php index 8c486e3d2..09039b8d5 100644 --- a/src/gen/test/Model/PaymentTypeTest.php +++ b/src/gen/test/Model/PaymentTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/PaymentUnitTest.php b/src/gen/test/Model/PaymentUnitTest.php index dc8f73256..d8b1c7aca 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ca9e09ca2..799ea3c23 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -88,4 +88,13 @@ public function testPropertyUpdatedSince() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "invoice_id" + */ + public function testPropertyInvoiceId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/gen/test/Model/PaymentsSortTest.php b/src/gen/test/Model/PaymentsSortTest.php index bc46a7a99..13b609b30 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cfd6fe990..cf969d4c4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 26714f085..1359011b1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 98806082f..d2418dbdf 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d7830dd48..5d3b509f7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 abf10be74..ca1226291 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 37e3d88b9..1b190e3f3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 60ae089bc..a95ed0b4d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6c127be00..72011f3ef 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3335a7f14..32f5871ea 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d0ad04f33..acd6518fa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0aa835e63..c78ff3bd0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4bd3a9589..1a09a8db4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ebdc4decb..26d270513 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f845430a8..3d55eee30 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 714a4b22f..1a596c2bc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ProfitAndLossIndicatorTest.php b/src/gen/test/Model/ProfitAndLossIndicatorTest.php index 49e8d3920..d83651ef6 100644 --- a/src/gen/test/Model/ProfitAndLossIndicatorTest.php +++ b/src/gen/test/Model/ProfitAndLossIndicatorTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 037547191..9d0844001 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 75d92d34c..5e05815f1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0c33b4985..a6b040554 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ProfitAndLossTypeTest.php b/src/gen/test/Model/ProfitAndLossTypeTest.php index 3f55702fb..b2bec1908 100644 --- a/src/gen/test/Model/ProfitAndLossTypeTest.php +++ b/src/gen/test/Model/ProfitAndLossTypeTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e19b97c13..66152746c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 @@ -125,6 +125,15 @@ public function testPropertySupplier() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "subsidiary_id" + */ + public function testPropertySubsidiaryId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "company_id" */ diff --git a/src/gen/test/Model/PurchaseOrdersFilterTest.php b/src/gen/test/Model/PurchaseOrdersFilterTest.php index 73a2a512a..55aeb1375 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9e8c9acde..ccc433de0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ac4829404..eae87a41d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0fe09820a..ae444b781 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2ae82217a..c968ee4ec 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 06f1fb3e0..d2ace7161 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 31ab90657..6589f864a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1f6229f45..7c8d3ea4e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e0e4405d8..8e4bde429 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6f673cca3..d402b46ff 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1bcc78a1d..130053850 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 db2266491..f007f8e4e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b8c22616a..702cdfc5e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e336fe541..7c77ef8e0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c2bd58906..25fc6f0a2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 5a07f7ffa..492819d18 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4db604a90..fc3874ec9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 dd822c5c4..63e0ef0fc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 500b9616e..f0e8e6345 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ba3b903bb..24cfb55ae 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9042db136..5e633c052 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 133eaff02..ff652e987 100644 --- a/src/gen/test/Model/SubsidiaryReferenceTest.php +++ b/src/gen/test/Model/SubsidiaryReferenceTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SubsidiaryTest.php b/src/gen/test/Model/SubsidiaryTest.php index c6eb6938d..988d832aa 100644 --- a/src/gen/test/Model/SubsidiaryTest.php +++ b/src/gen/test/Model/SubsidiaryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SupplierTest.php b/src/gen/test/Model/SupplierTest.php index 4e4457bfe..47f2c4fde 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/SuppliersFilterTest.php b/src/gen/test/Model/SuppliersFilterTest.php index 60b9ecf0e..3c39ddc4a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6668050b8..da4d46811 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f24a01326..4cb786dec 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0bbbf8f68..dcb4a6909 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3491bc7e6..1bc2c79c3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f50e899b3..6c3dafbdc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 67406bdd7..2d4295c54 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 296db499a..36baee719 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b2b85f0ae..80fb7ad33 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cc109fe6e..7eaad6511 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b8796fe6d..bbe91b77f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d19fff073..6398c51b8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d3b9f24bf..3fe297c3f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 756272dae..620a83668 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 7af0073da..56c25cc3a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/TrackingCategoryTest.php b/src/gen/test/Model/TrackingCategoryTest.php index 527859f68..e63c8a748 100644 --- a/src/gen/test/Model/TrackingCategoryTest.php +++ b/src/gen/test/Model/TrackingCategoryTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 03773bf24..90e135bde 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c8091a317..345574d77 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UncategorizedAccountsTest.php b/src/gen/test/Model/UncategorizedAccountsTest.php index 92b89100e..d1f157542 100644 --- a/src/gen/test/Model/UncategorizedAccountsTest.php +++ b/src/gen/test/Model/UncategorizedAccountsTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3e015c974..4c0f0c92a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 fc3825f2a..c8f5ee3eb 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 302d0b0ba..c01ad46d2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 010106cbb..9096f2c45 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f73ed21ee..6fb3b2668 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d0f33d762..c6f8ed1f8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index 1e39fc627..9a1ca9fc8 100644 --- a/src/gen/test/Model/UpdateAccountingDepartmentResponseTest.php +++ b/src/gen/test/Model/UpdateAccountingDepartmentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateAccountingLocationResponseTest.php b/src/gen/test/Model/UpdateAccountingLocationResponseTest.php index 49c1356db..66f453207 100644 --- a/src/gen/test/Model/UpdateAccountingLocationResponseTest.php +++ b/src/gen/test/Model/UpdateAccountingLocationResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateActivityResponseTest.php b/src/gen/test/Model/UpdateActivityResponseTest.php index 06c168257..fe33636a9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a7d6e229e..d87e5e7f8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2278e9599..59dd18196 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateBankFeedAccountResponseTest.php b/src/gen/test/Model/UpdateBankFeedAccountResponseTest.php new file mode 100644 index 000000000..2d4ca429c --- /dev/null +++ b/src/gen/test/Model/UpdateBankFeedAccountResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/UpdateBankFeedStatementResponseTest.php b/src/gen/test/Model/UpdateBankFeedStatementResponseTest.php new file mode 100644 index 000000000..aa12672b8 --- /dev/null +++ b/src/gen/test/Model/UpdateBankFeedStatementResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/UpdateBillPaymentResponseTest.php b/src/gen/test/Model/UpdateBillPaymentResponseTest.php index e362a4e5c..51ce76abf 100644 --- a/src/gen/test/Model/UpdateBillPaymentResponseTest.php +++ b/src/gen/test/Model/UpdateBillPaymentResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9edae1207..4345e70f9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 14bea3f91..32d204742 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a84449cbb..15a1d09ce 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9bc9d5896..65a4dcab1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 530a48901..1c51569ac 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d912b3722..c3b2cc8c3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b0c625898..e000e96c4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 caf221f16..e0b6b5be9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4664ebf60..9f404c949 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 de134e346..45e22f4c5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateCustomObjectResponseTest.php b/src/gen/test/Model/UpdateCustomObjectResponseTest.php new file mode 100644 index 000000000..8dc9d4518 --- /dev/null +++ b/src/gen/test/Model/UpdateCustomObjectResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/UpdateCustomObjectSchemaResponseTest.php b/src/gen/test/Model/UpdateCustomObjectSchemaResponseTest.php new file mode 100644 index 000000000..07c8022a6 --- /dev/null +++ b/src/gen/test/Model/UpdateCustomObjectSchemaResponseTest.php @@ -0,0 +1,145 @@ +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 "_raw" + */ + public function testPropertyRaw() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/gen/test/Model/UpdateCustomerResponseTest.php b/src/gen/test/Model/UpdateCustomerResponseTest.php index 056fe6741..44aee8ee4 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3b567d012..b23fa3b8e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ee6c78bcf..46a57caed 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0f4b0a8e2..933597dba 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c78d6b74f..79a16365a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 062e88891..1688997be 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6d12f1980..3123141f1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateExpenseResponseTest.php b/src/gen/test/Model/UpdateExpenseResponseTest.php index 3b495cf10..4353afbfc 100644 --- a/src/gen/test/Model/UpdateExpenseResponseTest.php +++ b/src/gen/test/Model/UpdateExpenseResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 981ee89df..d5698340a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 046879e82..20230a03e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 e1f1c0755..c322e6849 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6178def14..970e89f37 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 65f61e8c3..01bdeba7c 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ac49a3d47..938624c93 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 8db912fff..be52180a8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 6216b6825..a236eb816 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 d7987b13d..453cb827d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 9bebfad62..d363d4e89 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4db650822..976840d60 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b0c4007f5..9b0979db0 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f9088fa19..e76c2bfc7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 15c311baf..4ecfd6405 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 96215b221..47a423244 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 23825e064..bf0a2b5b6 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b65eeca7e..73e6d506d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 bc20c9202..e1d081715 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 4d6bd2483..e9a9512b9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 ce5c1618b..628b518c7 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 22c64d8b0..51d0478e9 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 b88960a40..383bd159e 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 749ce2e60..1f7846de5 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 cd9a53a50..33a601b1a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 23fc0cdbb..c83b41a12 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 920590f29..91e555da3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 866b015a9..edbbd3ab2 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 index f2cd7b621..2c65935a2 100644 --- a/src/gen/test/Model/UpdateSubsidiaryResponseTest.php +++ b/src/gen/test/Model/UpdateSubsidiaryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateSupplierResponseTest.php b/src/gen/test/Model/UpdateSupplierResponseTest.php index 302d94c5f..b737549e8 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 0222af82c..a3917fb59 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 408cd5e13..fc3c8681f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2a8da83bd..3fe545dc1 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 afed2e96c..0f2611d37 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/UpdateTrackingCategoryResponseTest.php b/src/gen/test/Model/UpdateTrackingCategoryResponseTest.php index b598b4ea4..64764ab8c 100644 --- a/src/gen/test/Model/UpdateTrackingCategoryResponseTest.php +++ b/src/gen/test/Model/UpdateTrackingCategoryResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 c3b2aa773..df2cd5c4f 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 064ff2bd4..cf1be0f98 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2bc3ef170..ac129fffa 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f75635c98..eebbf8353 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2c6ac2384..bd320c455 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 2ed218709..caa3c2b2a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ValidateConnectionStateResponseDataTest.php b/src/gen/test/Model/ValidateConnectionStateResponseDataTest.php index ba08c5343..06126e5d4 100644 --- a/src/gen/test/Model/ValidateConnectionStateResponseDataTest.php +++ b/src/gen/test/Model/ValidateConnectionStateResponseDataTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/ValidateConnectionStateResponseTest.php b/src/gen/test/Model/ValidateConnectionStateResponseTest.php index 0e91ed89d..bebb0277e 100644 --- a/src/gen/test/Model/ValidateConnectionStateResponseTest.php +++ b/src/gen/test/Model/ValidateConnectionStateResponseTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 423494e1a..bd3411b77 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/src/gen/test/Model/VirtualWebhooksResourcesTest.php b/src/gen/test/Model/VirtualWebhooksResourcesTest.php index 08615c79c..7278de099 100644 --- a/src/gen/test/Model/VirtualWebhooksResourcesTest.php +++ b/src/gen/test/Model/VirtualWebhooksResourcesTest.php @@ -15,7 +15,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 3cc82a33a..c57558370 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 98652eac2..c9db601c3 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 57cca6838..97fa59197 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 81d5eb461..11acd281b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 48fc0016d..317fa1f81 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 463310bab..0878b2748 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 487acb7d9..1c5cc1115 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 f813a5091..a01853d1a 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1826811ca..b6ca4b260 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 1a8552ca7..7569d348b 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 a137f7cff..30f7af90d 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 30143d2a0..b7703c5ee 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * 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 449d0776a..0f39ee3cc 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.14.1 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0