@unified-api/typescript-sdk 1.0.37 → 1.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/sdk/accounting.d.ts +24 -0
  2. package/dist/sdk/accounting.js +402 -0
  3. package/dist/sdk/journal.d.ts +31 -0
  4. package/dist/sdk/journal.js +505 -0
  5. package/dist/sdk/models/operations/createaccountingjournal.d.ts +28 -0
  6. package/dist/sdk/models/operations/createaccountingjournal.js +95 -0
  7. package/dist/sdk/models/operations/getaccountingjournal.d.ts +35 -0
  8. package/dist/sdk/models/operations/getaccountingjournal.js +99 -0
  9. package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +2 -0
  10. package/dist/sdk/models/operations/getunifiedintegrationauth.js +2 -0
  11. package/dist/sdk/models/operations/index.d.ts +6 -0
  12. package/dist/sdk/models/operations/index.js +6 -0
  13. package/dist/sdk/models/operations/listaccountingjournals.d.ts +43 -0
  14. package/dist/sdk/models/operations/listaccountingjournals.js +119 -0
  15. package/dist/sdk/models/operations/listaccountingtransactions.d.ts +1 -0
  16. package/dist/sdk/models/operations/listaccountingtransactions.js +4 -0
  17. package/dist/sdk/models/operations/patchaccountingjournal.d.ts +32 -0
  18. package/dist/sdk/models/operations/patchaccountingjournal.js +99 -0
  19. package/dist/sdk/models/operations/removeaccountingjournal.d.ts +30 -0
  20. package/dist/sdk/models/operations/removeaccountingjournal.js +71 -0
  21. package/dist/sdk/models/operations/updateaccountingjournal.d.ts +32 -0
  22. package/dist/sdk/models/operations/updateaccountingjournal.js +99 -0
  23. package/dist/sdk/models/shared/accountingjournal.d.ts +17 -0
  24. package/dist/sdk/models/shared/accountingjournal.js +92 -0
  25. package/dist/sdk/models/shared/{accountingtransactionlineitem.d.ts → accountingjournallineitem.d.ts} +1 -1
  26. package/dist/sdk/models/shared/{accountingtransactionlineitem.js → accountingjournallineitem.js} +14 -14
  27. package/dist/sdk/models/shared/accountingtransaction.d.ts +12 -9
  28. package/dist/sdk/models/shared/accountingtransaction.js +53 -12
  29. package/dist/sdk/models/shared/index.d.ts +2 -1
  30. package/dist/sdk/models/shared/index.js +2 -1
  31. package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  32. package/dist/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  33. package/dist/sdk/models/shared/webhook.d.ts +1 -0
  34. package/dist/sdk/models/shared/webhook.js +1 -0
  35. package/dist/sdk/sdk.d.ts +2 -0
  36. package/dist/sdk/sdk.js +5 -3
  37. package/docs/sdk/models/operations/createaccountingjournalrequest.md +9 -0
  38. package/docs/sdk/models/operations/createaccountingjournalresponse.md +11 -0
  39. package/docs/sdk/models/operations/getaccountingjournalrequest.md +10 -0
  40. package/docs/sdk/models/operations/getaccountingjournalresponse.md +11 -0
  41. package/docs/sdk/models/operations/listaccountingjournalsrequest.md +15 -0
  42. package/docs/sdk/models/operations/listaccountingjournalsresponse.md +11 -0
  43. package/docs/sdk/models/operations/listaccountingtransactionsrequest.md +1 -0
  44. package/docs/sdk/models/operations/patchaccountingjournalrequest.md +10 -0
  45. package/docs/sdk/models/operations/patchaccountingjournalresponse.md +11 -0
  46. package/docs/sdk/models/operations/removeaccountingjournalrequest.md +9 -0
  47. package/docs/sdk/models/operations/removeaccountingjournalresponse.md +11 -0
  48. package/docs/sdk/models/operations/scopes.md +2 -0
  49. package/docs/sdk/models/operations/updateaccountingjournalrequest.md +10 -0
  50. package/docs/sdk/models/operations/updateaccountingjournalresponse.md +11 -0
  51. package/docs/sdk/models/shared/accountingjournal.md +17 -0
  52. package/docs/sdk/models/shared/{accountingtransactionlineitem.md → accountingjournallineitem.md} +1 -1
  53. package/docs/sdk/models/shared/accountingtransaction.md +19 -12
  54. package/docs/sdk/models/shared/objecttype.md +1 -0
  55. package/docs/sdk/models/shared/propertyconnectionpermissions.md +2 -0
  56. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ # CreateAccountingJournalRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | N/A |
9
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
@@ -0,0 +1,11 @@
1
+ # CreateAccountingJournalResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -0,0 +1,10 @@
1
+ # GetAccountingJournalRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- |
8
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
9
+ | `fields` | *string*[] | :heavy_minus_sign: | Comma-delimited fields to return |
10
+ | `id` | *string* | :heavy_check_mark: | ID of the Journal |
@@ -0,0 +1,11 @@
1
+ # GetAccountingJournalResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -0,0 +1,15 @@
1
+ # ListAccountingJournalsRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
9
+ | `fields` | *string*[] | :heavy_minus_sign: | Comma-delimited fields to return |
10
+ | `limit` | *number* | :heavy_minus_sign: | N/A |
11
+ | `offset` | *number* | :heavy_minus_sign: | N/A |
12
+ | `order` | *string* | :heavy_minus_sign: | N/A |
13
+ | `query` | *string* | :heavy_minus_sign: | Query string to search. eg. email address or name |
14
+ | `sort` | *string* | :heavy_minus_sign: | N/A |
15
+ | `updatedGte` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Return only results whose updated date is equal or greater to this value |
@@ -0,0 +1,11 @@
1
+ # ListAccountingJournalsResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
8
+ | `accountingJournals` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md)[] | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -6,6 +6,7 @@
6
6
  | Field | Type | Required | Description |
7
7
  | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8
8
  | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
9
+ | `contactId` | *string* | :heavy_minus_sign: | N/A |
9
10
  | `fields` | *string*[] | :heavy_minus_sign: | Comma-delimited fields to return |
10
11
  | `limit` | *number* | :heavy_minus_sign: | N/A |
11
12
  | `offset` | *number* | :heavy_minus_sign: | N/A |
@@ -0,0 +1,10 @@
1
+ # PatchAccountingJournalRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | N/A |
9
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
10
+ | `id` | *string* | :heavy_check_mark: | ID of the Journal |
@@ -0,0 +1,11 @@
1
+ # PatchAccountingJournalResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -0,0 +1,9 @@
1
+ # RemoveAccountingJournalRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | -------------------- | -------------------- | -------------------- | -------------------- |
8
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
9
+ | `id` | *string* | :heavy_check_mark: | ID of the Journal |
@@ -0,0 +1,11 @@
1
+ # RemoveAccountingJournalResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
8
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
9
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
10
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11
+ | `string` | *string* | :heavy_minus_sign: | Successful |
@@ -10,6 +10,8 @@
10
10
  | `AccountingAccountWrite` | accounting_account_write |
11
11
  | `AccountingTransactionRead` | accounting_transaction_read |
12
12
  | `AccountingTransactionWrite` | accounting_transaction_write |
13
+ | `AccountingJournalRead` | accounting_journal_read |
14
+ | `AccountingJournalWrite` | accounting_journal_write |
13
15
  | `AccountingInvoiceRead` | accounting_invoice_read |
14
16
  | `AccountingInvoiceWrite` | accounting_invoice_write |
15
17
  | `AccountingContactRead` | accounting_contact_read |
@@ -0,0 +1,10 @@
1
+ # UpdateAccountingJournalRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | N/A |
9
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
10
+ | `id` | *string* | :heavy_check_mark: | ID of the Journal |
@@ -0,0 +1,11 @@
1
+ # UpdateAccountingJournalResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -0,0 +1,17 @@
1
+ # AccountingJournal
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8
+ | `createdAt` | *string* | :heavy_minus_sign: | N/A |
9
+ | `currency` | *string* | :heavy_minus_sign: | N/A |
10
+ | `description` | *string* | :heavy_minus_sign: | N/A |
11
+ | `id` | *string* | :heavy_minus_sign: | N/A |
12
+ | `lineitems` | [shared.AccountingJournalLineitem](../../../sdk/models/shared/accountingjournallineitem.md)[] | :heavy_minus_sign: | new field name |
13
+ | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
14
+ | `reference` | *string* | :heavy_minus_sign: | N/A |
15
+ | `taxAmount` | *number* | :heavy_minus_sign: | N/A |
16
+ | `taxrateId` | *string* | :heavy_minus_sign: | N/A |
17
+ | `updatedAt` | *string* | :heavy_minus_sign: | N/A |
@@ -1,4 +1,4 @@
1
- # AccountingTransactionLineitem
1
+ # AccountingJournalLineitem
2
2
 
3
3
 
4
4
  ## Fields
@@ -3,15 +3,22 @@
3
3
 
4
4
  ## Fields
5
5
 
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
8
- | `createdAt` | *string* | :heavy_minus_sign: | N/A |
9
- | `currency` | *string* | :heavy_minus_sign: | N/A |
10
- | `description` | *string* | :heavy_minus_sign: | N/A |
11
- | `id` | *string* | :heavy_minus_sign: | N/A |
12
- | `lineitems` | [shared.AccountingTransactionLineitem](../../../sdk/models/shared/accountingtransactionlineitem.md)[] | :heavy_minus_sign: | new field name |
13
- | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
14
- | `reference` | *string* | :heavy_minus_sign: | N/A |
15
- | `taxAmount` | *number* | :heavy_minus_sign: | N/A |
16
- | `taxrateId` | *string* | :heavy_minus_sign: | N/A |
17
- | `updatedAt` | *string* | :heavy_minus_sign: | N/A |
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8
+ | `accountId` | *string* | :heavy_minus_sign: | N/A |
9
+ | `contactId` | *string* | :heavy_minus_sign: | N/A |
10
+ | `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
11
+ | `currency` | *string* | :heavy_minus_sign: | N/A |
12
+ | `customerMessage` | *string* | :heavy_minus_sign: | N/A |
13
+ | `id` | *string* | :heavy_minus_sign: | N/A |
14
+ | `memo` | *string* | :heavy_minus_sign: | N/A |
15
+ | `paymentMethod` | *string* | :heavy_minus_sign: | N/A |
16
+ | `paymentTerms` | *string* | :heavy_minus_sign: | N/A |
17
+ | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
18
+ | `reference` | *string* | :heavy_minus_sign: | N/A |
19
+ | `splitAccountId` | *string* | :heavy_minus_sign: | N/A |
20
+ | `subTotalAmount` | *number* | :heavy_minus_sign: | N/A |
21
+ | `taxAmount` | *number* | :heavy_minus_sign: | N/A |
22
+ | `totalAmount` | *number* | :heavy_check_mark: | N/A |
23
+ | `type` | *string* | :heavy_minus_sign: | N/A |
24
+ | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
@@ -7,6 +7,7 @@
7
7
  | ------------------------ | ------------------------ |
8
8
  | `AccountingAccount` | accounting_account |
9
9
  | `AccountingTransaction` | accounting_transaction |
10
+ | `AccountingJournal` | accounting_journal |
10
11
  | `AccountingContact` | accounting_contact |
11
12
  | `AccountingInvoice` | accounting_invoice |
12
13
  | `AccountingTaxrate` | accounting_taxrate |
@@ -10,6 +10,8 @@
10
10
  | `AccountingAccountWrite` | accounting_account_write |
11
11
  | `AccountingTransactionRead` | accounting_transaction_read |
12
12
  | `AccountingTransactionWrite` | accounting_transaction_write |
13
+ | `AccountingJournalRead` | accounting_journal_read |
14
+ | `AccountingJournalWrite` | accounting_journal_write |
13
15
  | `AccountingInvoiceRead` | accounting_invoice_read |
14
16
  | `AccountingInvoiceWrite` | accounting_invoice_write |
15
17
  | `AccountingContactRead` | accounting_contact_read |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unified-api/typescript-sdk",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",