@unified-api/typescript-sdk 1.0.0 → 1.0.2

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 (196) hide show
  1. package/README.md +54 -700
  2. package/dist/sdk/accounting.d.ts +0 -40
  3. package/dist/sdk/accounting.js +44 -696
  4. package/dist/sdk/link.d.ts +31 -0
  5. package/dist/sdk/link.js +503 -0
  6. package/dist/sdk/models/operations/{createaccountingpayment.d.ts → createpaymentlink.d.ts} +7 -7
  7. package/dist/sdk/models/operations/createpaymentlink.js +95 -0
  8. package/dist/sdk/models/operations/createpaymentpayment.d.ts +28 -0
  9. package/dist/sdk/models/operations/{createaccountingpayment.js → createpaymentpayment.js} +20 -20
  10. package/dist/sdk/models/operations/getpaymentlink.d.ts +35 -0
  11. package/dist/sdk/models/operations/getpaymentlink.js +99 -0
  12. package/dist/sdk/models/operations/{getaccountingpayment.d.ts → getpaymentpayment.d.ts} +6 -6
  13. package/dist/sdk/models/operations/{getaccountingpayment.js → getpaymentpayment.js} +20 -20
  14. package/dist/sdk/models/operations/{getaccountingpayout.d.ts → getpaymentpayout.d.ts} +6 -6
  15. package/dist/sdk/models/operations/{getaccountingpayout.js → getpaymentpayout.js} +20 -20
  16. package/dist/sdk/models/operations/{getaccountingrefund.d.ts → getpaymentrefund.d.ts} +6 -6
  17. package/dist/sdk/models/operations/{getaccountingrefund.js → getpaymentrefund.js} +20 -20
  18. package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +6 -4
  19. package/dist/sdk/models/operations/getunifiedintegrationauth.js +6 -4
  20. package/dist/sdk/models/operations/index.d.ts +16 -10
  21. package/dist/sdk/models/operations/index.js +16 -10
  22. package/dist/sdk/models/operations/listpaymentlinks.d.ts +51 -0
  23. package/dist/sdk/models/operations/listpaymentlinks.js +127 -0
  24. package/dist/sdk/models/operations/{listaccountingpayments.d.ts → listpaymentpayments.d.ts} +6 -6
  25. package/dist/sdk/models/operations/{listaccountingpayments.js → listpaymentpayments.js} +28 -28
  26. package/dist/sdk/models/operations/{listaccountingpayouts.d.ts → listpaymentpayouts.d.ts} +6 -6
  27. package/dist/sdk/models/operations/{listaccountingpayouts.js → listpaymentpayouts.js} +26 -26
  28. package/dist/sdk/models/operations/{listaccountingrefunds.d.ts → listpaymentrefunds.d.ts} +6 -6
  29. package/dist/sdk/models/operations/{listaccountingrefunds.js → listpaymentrefunds.js} +27 -27
  30. package/dist/sdk/models/operations/listunifiedconnections.d.ts +2 -1
  31. package/dist/sdk/models/operations/listunifiedconnections.js +1 -0
  32. package/dist/sdk/models/operations/listunifiedintegrations.d.ts +2 -1
  33. package/dist/sdk/models/operations/listunifiedintegrations.js +1 -0
  34. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +2 -1
  35. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
  36. package/dist/sdk/models/operations/patchpaymentlink.d.ts +32 -0
  37. package/dist/sdk/models/operations/patchpaymentlink.js +99 -0
  38. package/dist/sdk/models/operations/{patchaccountingpayment.d.ts → patchpaymentpayment.d.ts} +7 -7
  39. package/dist/sdk/models/operations/{patchaccountingpayment.js → patchpaymentpayment.js} +21 -21
  40. package/dist/sdk/models/operations/removepaymentlink.d.ts +30 -0
  41. package/dist/sdk/models/operations/{removeaccountingpayment.js → removepaymentlink.js} +17 -17
  42. package/dist/sdk/models/operations/{removeaccountingpayment.d.ts → removepaymentpayment.d.ts} +2 -2
  43. package/dist/sdk/models/operations/removepaymentpayment.js +71 -0
  44. package/dist/sdk/models/operations/updatepaymentlink.d.ts +32 -0
  45. package/dist/sdk/models/operations/updatepaymentlink.js +99 -0
  46. package/dist/sdk/models/operations/{updateaccountingpayment.d.ts → updatepaymentpayment.d.ts} +7 -7
  47. package/dist/sdk/models/operations/{updateaccountingpayment.js → updatepaymentpayment.js} +21 -21
  48. package/dist/sdk/models/shared/accountinginvoice.d.ts +1 -0
  49. package/dist/sdk/models/shared/accountinginvoice.js +5 -0
  50. package/dist/sdk/models/shared/index.d.ts +5 -3
  51. package/dist/sdk/models/shared/index.js +5 -3
  52. package/dist/sdk/models/shared/paymenntlinklineitem.d.ts +20 -0
  53. package/dist/sdk/models/shared/paymenntlinklineitem.js +137 -0
  54. package/dist/sdk/models/shared/paymentlink.d.ts +15 -0
  55. package/dist/sdk/models/shared/paymentlink.js +105 -0
  56. package/dist/sdk/models/shared/{accountingpayment.d.ts → paymentpayment.d.ts} +1 -1
  57. package/dist/sdk/models/shared/{accountingpayment.js → paymentpayment.js} +18 -18
  58. package/dist/sdk/models/shared/{accountingpayout.d.ts → paymentpayout.d.ts} +3 -3
  59. package/dist/sdk/models/shared/{accountingpayout.js → paymentpayout.js} +21 -21
  60. package/dist/sdk/models/shared/{accountingrefund.d.ts → paymentrefund.d.ts} +3 -3
  61. package/dist/sdk/models/shared/{accountingrefund.js → paymentrefund.js} +23 -23
  62. package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +2 -1
  63. package/dist/sdk/models/shared/propertyconnectioncategories.js +1 -0
  64. package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +6 -4
  65. package/dist/sdk/models/shared/propertyconnectionpermissions.js +6 -4
  66. package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +2 -1
  67. package/dist/sdk/models/shared/propertyintegrationcategories.js +1 -0
  68. package/dist/sdk/models/shared/webhook.d.ts +4 -3
  69. package/dist/sdk/models/shared/webhook.js +4 -3
  70. package/dist/sdk/payment.d.ts +46 -6
  71. package/dist/sdk/payment.js +705 -53
  72. package/dist/sdk/payout.d.ts +2 -2
  73. package/dist/sdk/payout.js +11 -11
  74. package/dist/sdk/refund.d.ts +2 -2
  75. package/dist/sdk/refund.js +11 -11
  76. package/dist/sdk/sdk.d.ts +5 -3
  77. package/dist/sdk/sdk.js +7 -5
  78. package/docs/sdk/models/operations/categories.md +2 -1
  79. package/docs/sdk/models/operations/createpaymentlinkrequest.md +9 -0
  80. package/docs/sdk/models/operations/createpaymentlinkresponse.md +11 -0
  81. package/docs/sdk/models/operations/createpaymentpaymentrequest.md +9 -0
  82. package/docs/sdk/models/operations/createpaymentpaymentresponse.md +11 -0
  83. package/docs/sdk/models/operations/getpaymentlinkrequest.md +10 -0
  84. package/docs/sdk/models/operations/getpaymentlinkresponse.md +11 -0
  85. package/docs/sdk/models/operations/{getaccountingpaymentrequest.md → getpaymentpaymentrequest.md} +1 -1
  86. package/docs/sdk/models/operations/getpaymentpaymentresponse.md +11 -0
  87. package/docs/sdk/models/operations/{getaccountingpayoutrequest.md → getpaymentpayoutrequest.md} +1 -1
  88. package/docs/sdk/models/operations/getpaymentpayoutresponse.md +11 -0
  89. package/docs/sdk/models/operations/{getaccountingrefundrequest.md → getpaymentrefundrequest.md} +1 -1
  90. package/docs/sdk/models/operations/getpaymentrefundresponse.md +11 -0
  91. package/docs/sdk/models/operations/listpaymentlinksrequest.md +17 -0
  92. package/docs/sdk/models/operations/listpaymentlinksresponse.md +11 -0
  93. package/docs/sdk/models/operations/{listaccountingpaymentsrequest.md → listpaymentpaymentsrequest.md} +1 -1
  94. package/docs/sdk/models/operations/listpaymentpaymentsresponse.md +11 -0
  95. package/docs/sdk/models/operations/{listaccountingpayoutsrequest.md → listpaymentpayoutsrequest.md} +1 -1
  96. package/docs/sdk/models/operations/listpaymentpayoutsresponse.md +11 -0
  97. package/docs/sdk/models/operations/{listaccountingrefundsrequest.md → listpaymentrefundsrequest.md} +1 -1
  98. package/docs/sdk/models/operations/listpaymentrefundsresponse.md +11 -0
  99. package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +2 -1
  100. package/docs/sdk/models/operations/patchpaymentlinkrequest.md +10 -0
  101. package/docs/sdk/models/operations/patchpaymentlinkresponse.md +11 -0
  102. package/docs/sdk/models/operations/patchpaymentpaymentrequest.md +10 -0
  103. package/docs/sdk/models/operations/patchpaymentpaymentresponse.md +11 -0
  104. package/docs/sdk/models/operations/queryparamcategories.md +2 -1
  105. package/docs/sdk/models/operations/{removeaccountingpaymentrequest.md → removepaymentlinkrequest.md} +2 -2
  106. package/docs/sdk/models/operations/{removeaccountingpaymentresponse.md → removepaymentlinkresponse.md} +1 -1
  107. package/docs/sdk/models/operations/removepaymentpaymentrequest.md +9 -0
  108. package/docs/sdk/models/operations/removepaymentpaymentresponse.md +11 -0
  109. package/docs/sdk/models/operations/scopes.md +6 -4
  110. package/docs/sdk/models/operations/updatepaymentlinkrequest.md +10 -0
  111. package/docs/sdk/models/operations/updatepaymentlinkresponse.md +11 -0
  112. package/docs/sdk/models/operations/updatepaymentpaymentrequest.md +10 -0
  113. package/docs/sdk/models/operations/updatepaymentpaymentresponse.md +11 -0
  114. package/docs/sdk/models/shared/accountinginvoice.md +2 -1
  115. package/docs/sdk/models/shared/objecttype.md +4 -3
  116. package/docs/sdk/models/shared/paymenntlinklineitem.md +24 -0
  117. package/docs/sdk/models/shared/paymentlink.md +18 -0
  118. package/docs/sdk/models/shared/{accountingpayment.md → paymentpayment.md} +1 -1
  119. package/docs/sdk/models/shared/paymentpayout.md +15 -0
  120. package/docs/sdk/models/shared/{accountingpayoutstatus.md → paymentpayoutstatus.md} +1 -1
  121. package/docs/sdk/models/shared/paymentrefund.md +17 -0
  122. package/docs/sdk/models/shared/{accountingrefundstatus.md → paymentrefundstatus.md} +1 -1
  123. package/docs/sdk/models/shared/propertyconnectioncategories.md +2 -1
  124. package/docs/sdk/models/shared/propertyconnectionpermissions.md +6 -4
  125. package/docs/sdk/models/shared/propertyintegrationcategories.md +2 -1
  126. package/package.json +1 -1
  127. package/docs/sdk/models/operations/createaccountingpaymentrequest.md +0 -9
  128. package/docs/sdk/models/operations/createaccountingpaymentresponse.md +0 -11
  129. package/docs/sdk/models/operations/getaccountingpaymentresponse.md +0 -11
  130. package/docs/sdk/models/operations/getaccountingpayoutresponse.md +0 -11
  131. package/docs/sdk/models/operations/getaccountingrefundresponse.md +0 -11
  132. package/docs/sdk/models/operations/listaccountingpaymentsresponse.md +0 -11
  133. package/docs/sdk/models/operations/listaccountingpayoutsresponse.md +0 -11
  134. package/docs/sdk/models/operations/listaccountingrefundsresponse.md +0 -11
  135. package/docs/sdk/models/operations/patchaccountingpaymentrequest.md +0 -10
  136. package/docs/sdk/models/operations/patchaccountingpaymentresponse.md +0 -11
  137. package/docs/sdk/models/operations/updateaccountingpaymentrequest.md +0 -10
  138. package/docs/sdk/models/operations/updateaccountingpaymentresponse.md +0 -11
  139. package/docs/sdk/models/shared/accountingpayout.md +0 -15
  140. package/docs/sdk/models/shared/accountingrefund.md +0 -17
  141. package/docs/sdks/account/README.md +0 -312
  142. package/docs/sdks/accounting/README.md +0 -2198
  143. package/docs/sdks/activity/README.md +0 -321
  144. package/docs/sdks/apicall/README.md +0 -95
  145. package/docs/sdks/application/README.md +0 -333
  146. package/docs/sdks/applicationstatus/README.md +0 -54
  147. package/docs/sdks/ats/README.md +0 -2488
  148. package/docs/sdks/auth/README.md +0 -103
  149. package/docs/sdks/call/README.md +0 -54
  150. package/docs/sdks/candidate/README.md +0 -369
  151. package/docs/sdks/collection/README.md +0 -348
  152. package/docs/sdks/commerce/README.md +0 -1371
  153. package/docs/sdks/company/README.md +0 -517
  154. package/docs/sdks/connection/README.md +0 -359
  155. package/docs/sdks/contact/README.md +0 -1028
  156. package/docs/sdks/crm/README.md +0 -2048
  157. package/docs/sdks/customer/README.md +0 -348
  158. package/docs/sdks/deal/README.md +0 -315
  159. package/docs/sdks/document/README.md +0 -309
  160. package/docs/sdks/employee/README.md +0 -363
  161. package/docs/sdks/enrich/README.md +0 -97
  162. package/docs/sdks/event/README.md +0 -390
  163. package/docs/sdks/file/README.md +0 -330
  164. package/docs/sdks/group/README.md +0 -327
  165. package/docs/sdks/hris/README.md +0 -685
  166. package/docs/sdks/integration/README.md +0 -155
  167. package/docs/sdks/interview/README.md +0 -318
  168. package/docs/sdks/inventory/README.md +0 -309
  169. package/docs/sdks/invoice/README.md +0 -324
  170. package/docs/sdks/issue/README.md +0 -49
  171. package/docs/sdks/item/README.md +0 -417
  172. package/docs/sdks/job/README.md +0 -396
  173. package/docs/sdks/lead/README.md +0 -336
  174. package/docs/sdks/list/README.md +0 -306
  175. package/docs/sdks/location/README.md +0 -312
  176. package/docs/sdks/login/README.md +0 -52
  177. package/docs/sdks/martech/README.md +0 -643
  178. package/docs/sdks/member/README.md +0 -342
  179. package/docs/sdks/note/README.md +0 -306
  180. package/docs/sdks/organization/README.md +0 -104
  181. package/docs/sdks/passthrough/README.md +0 -249
  182. package/docs/sdks/payment/README.md +0 -306
  183. package/docs/sdks/payout/README.md +0 -104
  184. package/docs/sdks/person/README.md +0 -51
  185. package/docs/sdks/pipeline/README.md +0 -306
  186. package/docs/sdks/refund/README.md +0 -104
  187. package/docs/sdks/scorecard/README.md +0 -324
  188. package/docs/sdks/storage/README.md +0 -330
  189. package/docs/sdks/taxrate/README.md +0 -312
  190. package/docs/sdks/ticket/README.md +0 -318
  191. package/docs/sdks/ticketing/README.md +0 -962
  192. package/docs/sdks/transaction/README.md +0 -327
  193. package/docs/sdks/uc/README.md +0 -388
  194. package/docs/sdks/unified/README.md +0 -929
  195. package/docs/sdks/unifiedto/README.md +0 -9
  196. package/docs/sdks/webhook/README.md +0 -291
@@ -0,0 +1,9 @@
1
+ # RemovePaymentPaymentRequest
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 Payment |
@@ -0,0 +1,11 @@
1
+ # RemovePaymentPaymentResponse
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
+ | `res` | *string* | :heavy_minus_sign: | Successful |
@@ -14,13 +14,15 @@
14
14
  | `AccountingInvoiceWrite` | accounting_invoice_write |
15
15
  | `AccountingContactRead` | accounting_contact_read |
16
16
  | `AccountingContactWrite` | accounting_contact_write |
17
- | `AccountingPaymentRead` | accounting_payment_read |
18
- | `AccountingPaymentWrite` | accounting_payment_write |
19
17
  | `AccountingTaxrateRead` | accounting_taxrate_read |
20
18
  | `AccountingTaxrateWrite` | accounting_taxrate_write |
21
19
  | `AccountingOrganizationRead` | accounting_organization_read |
22
- | `AccountingPayoutRead` | accounting_payout_read |
23
- | `AccountingRefundRead` | accounting_refund_read |
20
+ | `PaymentPaymentRead` | payment_payment_read |
21
+ | `PaymentPaymentWrite` | payment_payment_write |
22
+ | `PaymentPayoutRead` | payment_payout_read |
23
+ | `PaymentRefundRead` | payment_refund_read |
24
+ | `PaymentLinkRead` | payment_link_read |
25
+ | `PaymentLinkWrite` | payment_link_write |
24
26
  | `CommerceItemRead` | commerce_item_read |
25
27
  | `CommerceItemWrite` | commerce_item_write |
26
28
  | `CommerceCollectionRead` | commerce_collection_read |
@@ -0,0 +1,10 @@
1
+ # UpdatePaymentLinkRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
8
+ | `paymentLink` | [shared.PaymentLink](../../../sdk/models/shared/paymentlink.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 Link |
@@ -0,0 +1,11 @@
1
+ # UpdatePaymentLinkResponse
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
+ | `paymentLink` | [shared.PaymentLink](../../../sdk/models/shared/paymentlink.md) | :heavy_minus_sign: | Successful |
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
+ # UpdatePaymentPaymentRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
8
+ | `paymentPayment` | [shared.PaymentPayment](../../../sdk/models/shared/paymentpayment.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 Payment |
@@ -0,0 +1,11 @@
1
+ # UpdatePaymentPaymentResponse
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
+ | `paymentPayment` | [shared.PaymentPayment](../../../sdk/models/shared/paymentpayment.md) | :heavy_minus_sign: | Successful |
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 |
@@ -25,4 +25,5 @@
25
25
  | `status` | [shared.AccountingInvoiceStatus](../../../sdk/models/shared/accountinginvoicestatus.md) | :heavy_minus_sign: | N/A |
26
26
  | `taxAmount` | *number* | :heavy_minus_sign: | N/A |
27
27
  | `totalAmount` | *number* | :heavy_minus_sign: | N/A |
28
- | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
28
+ | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
29
+ | `url` | *string* | :heavy_minus_sign: | N/A |
@@ -9,11 +9,12 @@
9
9
  | `AccountingTransaction` | accounting_transaction |
10
10
  | `AccountingContact` | accounting_contact |
11
11
  | `AccountingInvoice` | accounting_invoice |
12
- | `AccountingPayment` | accounting_payment |
13
12
  | `AccountingTaxrate` | accounting_taxrate |
14
13
  | `AccountingOrganization` | accounting_organization |
15
- | `AccountingPayout` | accounting_payout |
16
- | `AccountingRefund` | accounting_refund |
14
+ | `PaymentPayment` | payment_payment |
15
+ | `PaymentLink` | payment_link |
16
+ | `PaymentPayout` | payment_payout |
17
+ | `PaymentRefund` | payment_refund |
17
18
  | `CommerceItem` | commerce_item |
18
19
  | `CommerceCollection` | commerce_collection |
19
20
  | `CommerceInventory` | commerce_inventory |
@@ -0,0 +1,24 @@
1
+ # PaymenntLinkLineitem
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8
+ | `accountId` | *string* | :heavy_minus_sign: | N/A |
9
+ | `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
10
+ | `discountAmount` | *number* | :heavy_minus_sign: | N/A |
11
+ | `id` | *string* | :heavy_minus_sign: | N/A |
12
+ | `itemDescription` | *string* | :heavy_minus_sign: | N/A |
13
+ | `itemId` | *string* | :heavy_minus_sign: | N/A |
14
+ | `itemName` | *string* | :heavy_minus_sign: | N/A |
15
+ | `itemSku` | *string* | :heavy_minus_sign: | N/A |
16
+ | `notes` | *string* | :heavy_minus_sign: | N/A |
17
+ | `refundAmount` | *number* | :heavy_minus_sign: | N/A |
18
+ | `refundedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
19
+ | `taxAmount` | *number* | :heavy_minus_sign: | N/A |
20
+ | `taxrateId` | *string* | :heavy_minus_sign: | N/A |
21
+ | `totalAmount` | *number* | :heavy_check_mark: | N/A |
22
+ | `unitAmount` | *number* | :heavy_minus_sign: | N/A |
23
+ | `unitQuantity` | *number* | :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 |
@@ -0,0 +1,18 @@
1
+ # PaymentLink
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8
+ | `amount` | *number* | :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
+ | `id` | *string* | :heavy_minus_sign: | N/A |
13
+ | `isActive` | *boolean* | :heavy_check_mark: | N/A |
14
+ | `lineitems` | [shared.PaymenntLinkLineitem](../../../sdk/models/shared/paymenntlinklineitem.md)[] | :heavy_check_mark: | N/A |
15
+ | `paymentId` | *string* | :heavy_minus_sign: | N/A |
16
+ | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
17
+ | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
18
+ | `url` | *string* | :heavy_check_mark: | N/A |
@@ -1,4 +1,4 @@
1
- # AccountingPayment
1
+ # PaymentPayment
2
2
 
3
3
 
4
4
  ## Fields
@@ -0,0 +1,15 @@
1
+ # PaymentPayout
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
+ | `id` | *string* | :heavy_minus_sign: | N/A |
11
+ | `notes` | *string* | :heavy_minus_sign: | N/A |
12
+ | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
13
+ | `status` | [shared.PaymentPayoutStatus](../../../sdk/models/shared/paymentpayoutstatus.md) | :heavy_minus_sign: | N/A |
14
+ | `totalAmount` | *number* | :heavy_check_mark: | N/A |
15
+ | `updatedAt` | *string* | :heavy_minus_sign: | N/A |
@@ -1,4 +1,4 @@
1
- # AccountingPayoutStatus
1
+ # PaymentPayoutStatus
2
2
 
3
3
 
4
4
  ## Values
@@ -0,0 +1,17 @@
1
+ # PaymentRefund
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
+ | `id` | *string* | :heavy_minus_sign: | N/A |
11
+ | `notes` | *string* | :heavy_minus_sign: | N/A |
12
+ | `paymentId` | *string* | :heavy_check_mark: | N/A |
13
+ | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
14
+ | `reference` | *string* | :heavy_minus_sign: | N/A |
15
+ | `status` | [shared.PaymentRefundStatus](../../../sdk/models/shared/paymentrefundstatus.md) | :heavy_minus_sign: | N/A |
16
+ | `totalAmount` | *number* | :heavy_check_mark: | N/A |
17
+ | `updatedAt` | *string* | :heavy_minus_sign: | N/A |
@@ -1,4 +1,4 @@
1
- # AccountingRefundStatus
1
+ # PaymentRefundStatus
2
2
 
3
3
 
4
4
  ## Values
@@ -16,4 +16,5 @@
16
16
  | `Uc` | uc |
17
17
  | `Accounting` | accounting |
18
18
  | `Storage` | storage |
19
- | `Commerce` | commerce |
19
+ | `Commerce` | commerce |
20
+ | `Payment` | payment |
@@ -14,13 +14,15 @@
14
14
  | `AccountingInvoiceWrite` | accounting_invoice_write |
15
15
  | `AccountingContactRead` | accounting_contact_read |
16
16
  | `AccountingContactWrite` | accounting_contact_write |
17
- | `AccountingPaymentRead` | accounting_payment_read |
18
- | `AccountingPaymentWrite` | accounting_payment_write |
19
17
  | `AccountingTaxrateRead` | accounting_taxrate_read |
20
18
  | `AccountingTaxrateWrite` | accounting_taxrate_write |
21
19
  | `AccountingOrganizationRead` | accounting_organization_read |
22
- | `AccountingPayoutRead` | accounting_payout_read |
23
- | `AccountingRefundRead` | accounting_refund_read |
20
+ | `PaymentPaymentRead` | payment_payment_read |
21
+ | `PaymentPaymentWrite` | payment_payment_write |
22
+ | `PaymentPayoutRead` | payment_payout_read |
23
+ | `PaymentRefundRead` | payment_refund_read |
24
+ | `PaymentLinkRead` | payment_link_read |
25
+ | `PaymentLinkWrite` | payment_link_write |
24
26
  | `CommerceItemRead` | commerce_item_read |
25
27
  | `CommerceItemWrite` | commerce_item_write |
26
28
  | `CommerceCollectionRead` | commerce_collection_read |
@@ -16,4 +16,5 @@
16
16
  | `Uc` | uc |
17
17
  | `Accounting` | accounting |
18
18
  | `Storage` | storage |
19
- | `Commerce` | commerce |
19
+ | `Commerce` | commerce |
20
+ | `Payment` | payment |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unified-api/typescript-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",
@@ -1,9 +0,0 @@
1
- # CreateAccountingPaymentRequest
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingPayment` | [shared.AccountingPayment](../../../sdk/models/shared/accountingpayment.md) | :heavy_minus_sign: | N/A |
9
- | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
@@ -1,11 +0,0 @@
1
- # CreateAccountingPaymentResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingPayment` | [shared.AccountingPayment](../../../sdk/models/shared/accountingpayment.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 |
@@ -1,11 +0,0 @@
1
- # GetAccountingPaymentResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingPayment` | [shared.AccountingPayment](../../../sdk/models/shared/accountingpayment.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 |
@@ -1,11 +0,0 @@
1
- # GetAccountingPayoutResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
8
- | `accountingPayout` | [shared.AccountingPayout](../../../sdk/models/shared/accountingpayout.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 |
@@ -1,11 +0,0 @@
1
- # GetAccountingRefundResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
8
- | `accountingRefund` | [shared.AccountingRefund](../../../sdk/models/shared/accountingrefund.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 |
@@ -1,11 +0,0 @@
1
- # ListAccountingPaymentsResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
8
- | `accountingPayments` | [shared.AccountingPayment](../../../sdk/models/shared/accountingpayment.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 |
@@ -1,11 +0,0 @@
1
- # ListAccountingPayoutsResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingPayouts` | [shared.AccountingPayout](../../../sdk/models/shared/accountingpayout.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 |
@@ -1,11 +0,0 @@
1
- # ListAccountingRefundsResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingRefunds` | [shared.AccountingRefund](../../../sdk/models/shared/accountingrefund.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 |
@@ -1,10 +0,0 @@
1
- # PatchAccountingPaymentRequest
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingPayment` | [shared.AccountingPayment](../../../sdk/models/shared/accountingpayment.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 Payment |
@@ -1,11 +0,0 @@
1
- # PatchAccountingPaymentResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingPayment` | [shared.AccountingPayment](../../../sdk/models/shared/accountingpayment.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 |
@@ -1,10 +0,0 @@
1
- # UpdateAccountingPaymentRequest
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingPayment` | [shared.AccountingPayment](../../../sdk/models/shared/accountingpayment.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 Payment |
@@ -1,11 +0,0 @@
1
- # UpdateAccountingPaymentResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingPayment` | [shared.AccountingPayment](../../../sdk/models/shared/accountingpayment.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 |
@@ -1,15 +0,0 @@
1
- # AccountingPayout
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
- | `id` | *string* | :heavy_minus_sign: | N/A |
11
- | `notes` | *string* | :heavy_minus_sign: | N/A |
12
- | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
13
- | `status` | [shared.AccountingPayoutStatus](../../../sdk/models/shared/accountingpayoutstatus.md) | :heavy_minus_sign: | N/A |
14
- | `totalAmount` | *number* | :heavy_check_mark: | N/A |
15
- | `updatedAt` | *string* | :heavy_minus_sign: | N/A |
@@ -1,17 +0,0 @@
1
- # AccountingRefund
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
- | `id` | *string* | :heavy_minus_sign: | N/A |
11
- | `notes` | *string* | :heavy_minus_sign: | N/A |
12
- | `paymentId` | *string* | :heavy_check_mark: | N/A |
13
- | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
14
- | `reference` | *string* | :heavy_minus_sign: | N/A |
15
- | `status` | [shared.AccountingRefundStatus](../../../sdk/models/shared/accountingrefundstatus.md) | :heavy_minus_sign: | N/A |
16
- | `totalAmount` | *number* | :heavy_check_mark: | N/A |
17
- | `updatedAt` | *string* | :heavy_minus_sign: | N/A |