Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 897a741

Browse files
authored
Merge pull request #75 from apideck-libraries/generator-update
Automated update by SDK Generator
2 parents 32beae9 + c1a3bb1 commit 897a741

1,767 files changed

Lines changed: 20206 additions & 3805 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
uses: ncipollo/release-action@v1
1919
with:
2020
commit: main
21-
tag: 3.9.0
21+
tag: 3.10.0
2222

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apideck/php",
3-
"version": "3.9.0",
3+
"version": "3.10.0",
44
"description": "Apideck PHP SDK",
55
"keywords": [
66
"apideck",

src/gen/.openapi-generator/FILES

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ docs/Model/Contact.md
119119
docs/Model/ContactsFilter.md
120120
docs/Model/ContactsSort.md
121121
docs/Model/CopyFolderRequest.md
122+
docs/Model/CostOfGoodsSold.md
122123
docs/Model/CreateAccountingDepartmentResponse.md
123124
docs/Model/CreateAccountingLocationResponse.md
124125
docs/Model/CreateActivityResponse.md
@@ -297,6 +298,7 @@ docs/Model/Error.md
297298
docs/Model/ExecuteWebhookResponse.md
298299
docs/Model/Expense.md
299300
docs/Model/ExpenseLineItem.md
301+
docs/Model/Expenses.md
300302
docs/Model/FileStorageEventType.md
301303
docs/Model/FileType.md
302304
docs/Model/FilesFilter.md
@@ -462,6 +464,7 @@ docs/Model/HrisEventType.md
462464
docs/Model/HrisJob.md
463465
docs/Model/HrisJobLocation.md
464466
docs/Model/HrisJobs.md
467+
docs/Model/Income.md
465468
docs/Model/IntegrationState.md
466469
docs/Model/Invoice.md
467470
docs/Model/InvoiceItem.md
@@ -538,6 +541,8 @@ docs/Model/OrderRefunds.md
538541
docs/Model/OrderTenders.md
539542
docs/Model/OrderType.md
540543
docs/Model/OrdersSort.md
544+
docs/Model/OtherExpenses.md
545+
docs/Model/OtherIncome.md
541546
docs/Model/OutstandingBalanceByCurrency.md
542547
docs/Model/OutstandingBalanceByCustomer.md
543548
docs/Model/OutstandingBalanceBySupplier.md
@@ -568,14 +573,11 @@ docs/Model/PosPaymentExternalDetails.md
568573
docs/Model/Price.md
569574
docs/Model/ProbationPeriod.md
570575
docs/Model/ProfitAndLoss.md
571-
docs/Model/ProfitAndLossExpenses.md
572576
docs/Model/ProfitAndLossFilter.md
573-
docs/Model/ProfitAndLossGrossProfit.md
574-
docs/Model/ProfitAndLossIncome.md
575-
docs/Model/ProfitAndLossNetIncome.md
576-
docs/Model/ProfitAndLossNetOperatingIncome.md
577+
docs/Model/ProfitAndLossIndicator.md
577578
docs/Model/ProfitAndLossRecord.md
578579
docs/Model/ProfitAndLossSection.md
580+
docs/Model/ProfitAndLossType.md
579581
docs/Model/PurchaseOrder.md
580582
docs/Model/PurchaseOrdersFilter.md
581583
docs/Model/PurchaseOrdersSort.md
@@ -619,6 +621,7 @@ docs/Model/TooManyRequestsResponseDetail.md
619621
docs/Model/TrackingCategory.md
620622
docs/Model/TrackingItem.md
621623
docs/Model/UnauthorizedResponse.md
624+
docs/Model/UncategorizedAccounts.md
622625
docs/Model/UnexpectedErrorResponse.md
623626
docs/Model/UnifiedApiId.md
624627
docs/Model/UnifiedFile.md
@@ -822,6 +825,7 @@ lib/Model/Contact.php
822825
lib/Model/ContactsFilter.php
823826
lib/Model/ContactsSort.php
824827
lib/Model/CopyFolderRequest.php
828+
lib/Model/CostOfGoodsSold.php
825829
lib/Model/CreateAccountingDepartmentResponse.php
826830
lib/Model/CreateAccountingLocationResponse.php
827831
lib/Model/CreateActivityResponse.php
@@ -1000,6 +1004,7 @@ lib/Model/Error.php
10001004
lib/Model/ExecuteWebhookResponse.php
10011005
lib/Model/Expense.php
10021006
lib/Model/ExpenseLineItem.php
1007+
lib/Model/Expenses.php
10031008
lib/Model/FileStorageEventType.php
10041009
lib/Model/FileType.php
10051010
lib/Model/FilesFilter.php
@@ -1165,6 +1170,7 @@ lib/Model/HrisEventType.php
11651170
lib/Model/HrisJob.php
11661171
lib/Model/HrisJobLocation.php
11671172
lib/Model/HrisJobs.php
1173+
lib/Model/Income.php
11681174
lib/Model/IntegrationState.php
11691175
lib/Model/Invoice.php
11701176
lib/Model/InvoiceItem.php
@@ -1242,6 +1248,8 @@ lib/Model/OrderRefunds.php
12421248
lib/Model/OrderTenders.php
12431249
lib/Model/OrderType.php
12441250
lib/Model/OrdersSort.php
1251+
lib/Model/OtherExpenses.php
1252+
lib/Model/OtherIncome.php
12451253
lib/Model/OutstandingBalanceByCurrency.php
12461254
lib/Model/OutstandingBalanceByCustomer.php
12471255
lib/Model/OutstandingBalanceBySupplier.php
@@ -1272,14 +1280,11 @@ lib/Model/PosPaymentExternalDetails.php
12721280
lib/Model/Price.php
12731281
lib/Model/ProbationPeriod.php
12741282
lib/Model/ProfitAndLoss.php
1275-
lib/Model/ProfitAndLossExpenses.php
12761283
lib/Model/ProfitAndLossFilter.php
1277-
lib/Model/ProfitAndLossGrossProfit.php
1278-
lib/Model/ProfitAndLossIncome.php
1279-
lib/Model/ProfitAndLossNetIncome.php
1280-
lib/Model/ProfitAndLossNetOperatingIncome.php
1284+
lib/Model/ProfitAndLossIndicator.php
12811285
lib/Model/ProfitAndLossRecord.php
12821286
lib/Model/ProfitAndLossSection.php
1287+
lib/Model/ProfitAndLossType.php
12831288
lib/Model/PurchaseOrder.php
12841289
lib/Model/PurchaseOrdersFilter.php
12851290
lib/Model/PurchaseOrdersSort.php
@@ -1323,6 +1328,7 @@ lib/Model/TooManyRequestsResponseDetail.php
13231328
lib/Model/TrackingCategory.php
13241329
lib/Model/TrackingItem.php
13251330
lib/Model/UnauthorizedResponse.php
1331+
lib/Model/UncategorizedAccounts.php
13261332
lib/Model/UnexpectedErrorResponse.php
13271333
lib/Model/UnifiedApiId.php
13281334
lib/Model/UnifiedFile.php
@@ -1522,6 +1528,7 @@ test/Model/ContactTest.php
15221528
test/Model/ContactsFilterTest.php
15231529
test/Model/ContactsSortTest.php
15241530
test/Model/CopyFolderRequestTest.php
1531+
test/Model/CostOfGoodsSoldTest.php
15251532
test/Model/CreateAccountingDepartmentResponseTest.php
15261533
test/Model/CreateAccountingLocationResponseTest.php
15271534
test/Model/CreateActivityResponseTest.php
@@ -1700,6 +1707,7 @@ test/Model/ErrorTest.php
17001707
test/Model/ExecuteWebhookResponseTest.php
17011708
test/Model/ExpenseLineItemTest.php
17021709
test/Model/ExpenseTest.php
1710+
test/Model/ExpensesTest.php
17031711
test/Model/FileStorageEventTypeTest.php
17041712
test/Model/FileTypeTest.php
17051713
test/Model/FilesFilterTest.php
@@ -1865,6 +1873,7 @@ test/Model/HrisEventTypeTest.php
18651873
test/Model/HrisJobLocationTest.php
18661874
test/Model/HrisJobTest.php
18671875
test/Model/HrisJobsTest.php
1876+
test/Model/IncomeTest.php
18681877
test/Model/IntegrationStateTest.php
18691878
test/Model/InvoiceItemFilterTest.php
18701879
test/Model/InvoiceItemSalesDetailsTest.php
@@ -1941,6 +1950,8 @@ test/Model/OrderTendersTest.php
19411950
test/Model/OrderTest.php
19421951
test/Model/OrderTypeTest.php
19431952
test/Model/OrdersSortTest.php
1953+
test/Model/OtherExpensesTest.php
1954+
test/Model/OtherIncomeTest.php
19441955
test/Model/OutstandingBalanceByCurrencyTest.php
19451956
test/Model/OutstandingBalanceByCustomerTest.php
19461957
test/Model/OutstandingBalanceBySupplierTest.php
@@ -1970,15 +1981,12 @@ test/Model/PosPaymentExternalDetailsTest.php
19701981
test/Model/PosPaymentTest.php
19711982
test/Model/PriceTest.php
19721983
test/Model/ProbationPeriodTest.php
1973-
test/Model/ProfitAndLossExpensesTest.php
19741984
test/Model/ProfitAndLossFilterTest.php
1975-
test/Model/ProfitAndLossGrossProfitTest.php
1976-
test/Model/ProfitAndLossIncomeTest.php
1977-
test/Model/ProfitAndLossNetIncomeTest.php
1978-
test/Model/ProfitAndLossNetOperatingIncomeTest.php
1985+
test/Model/ProfitAndLossIndicatorTest.php
19791986
test/Model/ProfitAndLossRecordTest.php
19801987
test/Model/ProfitAndLossSectionTest.php
19811988
test/Model/ProfitAndLossTest.php
1989+
test/Model/ProfitAndLossTypeTest.php
19821990
test/Model/PurchaseOrderTest.php
19831991
test/Model/PurchaseOrdersFilterTest.php
19841992
test/Model/PurchaseOrdersSortTest.php
@@ -2022,6 +2030,7 @@ test/Model/TooManyRequestsResponseTest.php
20222030
test/Model/TrackingCategoryTest.php
20232031
test/Model/TrackingItemTest.php
20242032
test/Model/UnauthorizedResponseTest.php
2033+
test/Model/UncategorizedAccountsTest.php
20252034
test/Model/UnexpectedErrorResponseTest.php
20262035
test/Model/UnifiedApiIdTest.php
20272036
test/Model/UnifiedFilePermissionsTest.php

src/gen/docs/apis/FileStorageApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,6 +1068,7 @@ Name | Type | Description | Notes
10681068
**cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. |
10691069
**filter** | [\Apideck\Client\Model\FilesFilter](../models/\Apideck\Client\Model\FilesFilter.md)| Apply filters |
10701070
**limit** | [**int**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20
1071+
**raw** | [**bool**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false
10711072

10721073

10731074

src/gen/docs/models/AccountingEventType.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@
6565

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

68+
* `ACCOUNTING_CREDIT_NOTE_CREATED` (value: `'accounting.credit_note.created'`)
69+
70+
* `ACCOUNTING_CREDIT_NOTE_UPDATED` (value: `'accounting.credit_note.updated'`)
71+
72+
* `ACCOUNTING_CREDIT_NOTE_DELETED` (value: `'accounting.credit_note.deleted'`)
73+
6874

6975
---
7076

src/gen/docs/models/Bill.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Name | Type | Description | Notes
3535
`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]
3636
`bank_account` | [**\Apideck\Client\Model\BankAccount**](BankAccount.md) | | [optional]
3737
`discount_percentage` | **float** | Discount percentage applied to this transaction. | [optional]
38+
`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]
3839
`tracking_categories` | [**\Apideck\Client\Model\LinkedTrackingCategory[]**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional]
3940
`updated_by` | **string** | The user who last updated the object. | [optional]
4041
`created_by` | **string** | The user who created the object. | [optional]
@@ -104,6 +105,7 @@ Name | Type | Description | Notes
104105

105106
* [`BankAccount`](BankAccount.md)
106107

108+
107109
* [`LinkedTrackingCategory`](LinkedTrackingCategory.md)
108110

109111

src/gen/docs/models/BillLineItem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Name | Type | Description | Notes
1818
`unit_of_measure` | **string** | Description of the unit type the item is sold as, ie: kg, hour. | [optional]
1919
`discount_percentage` | **float** | Discount percentage applied to the line item when supported downstream. | [optional]
2020
`discount_amount` | **float** | Discount amount applied to the line item when supported downstream. | [optional]
21-
`location_id` | **string** | Location id | [optional]
22-
`department_id` | **string** | Department id | [optional]
21+
`location_id` | **string** | The ID of the location | [optional]
22+
`department_id` | **string** | The ID of the department | [optional]
2323
`item` | [**\Apideck\Client\Model\LinkedInvoiceItem**](LinkedInvoiceItem.md) | | [optional]
2424
`tax_rate` | [**\Apideck\Client\Model\LinkedTaxRate**](LinkedTaxRate.md) | | [optional]
2525
`ledger_account` | [**\Apideck\Client\Model\LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional]

src/gen/docs/models/BillPayment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
`id` | **string** | A unique identifier for an object. |
9-
`total_amount` | **float** | The total amount of the transaction |
9+
`total_amount` | **float** | The total amount of the transaction or record |
1010
`transaction_date` | **\DateTime** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD |
1111
`downstream_id` | **string** | The third-party API ID of original entity | [optional]
1212
`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional]

src/gen/docs/models/ConnectionWebhook.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@ Name | Type | Description | Notes
159159

160160
* `ACCOUNTING_PURCHASE_ORDER_DELETED` (value: `'accounting.purchase_order.deleted'`)
161161

162+
* `ACCOUNTING_CREDIT_NOTE_CREATED` (value: `'accounting.credit_note.created'`)
163+
164+
* `ACCOUNTING_CREDIT_NOTE_UPDATED` (value: `'accounting.credit_note.updated'`)
165+
166+
* `ACCOUNTING_CREDIT_NOTE_DELETED` (value: `'accounting.credit_note.deleted'`)
167+
162168
* `POS_ORDER_CREATED` (value: `'pos.order.created'`)
163169

164170
* `POS_ORDER_UPDATED` (value: `'pos.order.updated'`)

src/gen/docs/models/ConsumerConnection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
1616
`consumer_id` | **string** | | [optional]
1717
`auth_type` | [**\Apideck\Client\Model\AuthType**](AuthType.md) | | [optional]
1818
`enabled` | **bool** | | [optional]
19-
`settings` | **object** | Connection settings. Values will persist to `form_fields` with corresponding id | [optional]
19+
`settings` | **array<string,object>** | Connection settings. Values will persist to `form_fields` with corresponding id | [optional]
2020
`metadata` | **array<string,object>** | Attach your own consumer specific metadata | [optional]
2121
`created_at` | **string** | | [optional]
2222
`updated_at` | **string** | | [optional]

0 commit comments

Comments
 (0)