@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
@@ -1,104 +0,0 @@
1
- # Organization
2
- (*organization*)
3
-
4
- ### Available Operations
5
-
6
- * [getAccountingOrganization](#getaccountingorganization) - Retrieve an organization
7
- * [listAccountingOrganizations](#listaccountingorganizations) - List all organizations
8
-
9
- ## getAccountingOrganization
10
-
11
- Retrieve an organization
12
-
13
- ### Example Usage
14
-
15
- ```typescript
16
- import { UnifiedTo } from "@unified-api/typescript-sdk";
17
-
18
- async function run() {
19
- const sdk = new UnifiedTo({
20
- security: {
21
- jwt: "<YOUR_API_KEY_HERE>",
22
- },
23
- });
24
-
25
- const res = await sdk.organization.getAccountingOrganization({
26
- connectionId: "<value>",
27
- fields: [
28
- "<value>",
29
- ],
30
- id: "<id>",
31
- });
32
-
33
- if (res.statusCode == 200) {
34
- // handle response
35
- }
36
- }
37
-
38
- run();
39
- ```
40
-
41
- ### Parameters
42
-
43
- | Parameter | Type | Required | Description |
44
- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
45
- | `request` | [operations.GetAccountingOrganizationRequest](../../sdk/models/operations/getaccountingorganizationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
46
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
47
-
48
-
49
- ### Response
50
-
51
- **Promise<[operations.GetAccountingOrganizationResponse](../../sdk/models/operations/getaccountingorganizationresponse.md)>**
52
- ### Errors
53
-
54
- | Error Object | Status Code | Content Type |
55
- | --------------- | --------------- | --------------- |
56
- | errors.SDKError | 4xx-5xx | */* |
57
-
58
- ## listAccountingOrganizations
59
-
60
- List all organizations
61
-
62
- ### Example Usage
63
-
64
- ```typescript
65
- import { UnifiedTo } from "@unified-api/typescript-sdk";
66
-
67
- async function run() {
68
- const sdk = new UnifiedTo({
69
- security: {
70
- jwt: "<YOUR_API_KEY_HERE>",
71
- },
72
- });
73
-
74
- const res = await sdk.organization.listAccountingOrganizations({
75
- connectionId: "<value>",
76
- fields: [
77
- "<value>",
78
- ],
79
- });
80
-
81
- if (res.statusCode == 200) {
82
- // handle response
83
- }
84
- }
85
-
86
- run();
87
- ```
88
-
89
- ### Parameters
90
-
91
- | Parameter | Type | Required | Description |
92
- | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
93
- | `request` | [operations.ListAccountingOrganizationsRequest](../../sdk/models/operations/listaccountingorganizationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
94
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
95
-
96
-
97
- ### Response
98
-
99
- **Promise<[operations.ListAccountingOrganizationsResponse](../../sdk/models/operations/listaccountingorganizationsresponse.md)>**
100
- ### Errors
101
-
102
- | Error Object | Status Code | Content Type |
103
- | --------------- | --------------- | --------------- |
104
- | errors.SDKError | 4xx-5xx | */* |
@@ -1,249 +0,0 @@
1
- # Passthrough
2
- (*passthrough*)
3
-
4
- ### Available Operations
5
-
6
- * [createPassthrough](#createpassthrough) - Passthrough POST
7
- * [listPassthroughs](#listpassthroughs) - Passthrough GET
8
- * [patchPassthrough](#patchpassthrough) - Passthrough PUT
9
- * [removePassthrough](#removepassthrough) - Passthrough DELETE
10
- * [updatePassthrough](#updatepassthrough) - Passthrough PUT
11
-
12
- ## createPassthrough
13
-
14
- Passthrough POST
15
-
16
- ### Example Usage
17
-
18
- ```typescript
19
- import { UnifiedTo } from "@unified-api/typescript-sdk";
20
-
21
- async function run() {
22
- const sdk = new UnifiedTo({
23
- security: {
24
- jwt: "<YOUR_API_KEY_HERE>",
25
- },
26
- });
27
-
28
- const res = await sdk.passthrough.createPassthrough({
29
- requestBody: {
30
- "key": "<value>",
31
- },
32
- connectionId: "<value>",
33
- path: "/etc/periodic",
34
- });
35
-
36
- if (res.statusCode == 200) {
37
- // handle response
38
- }
39
- }
40
-
41
- run();
42
- ```
43
-
44
- ### Parameters
45
-
46
- | Parameter | Type | Required | Description |
47
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
48
- | `request` | [operations.CreatePassthroughRequest](../../sdk/models/operations/createpassthroughrequest.md) | :heavy_check_mark: | The request object to use for the request. |
49
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
50
-
51
-
52
- ### Response
53
-
54
- **Promise<[operations.CreatePassthroughResponse](../../sdk/models/operations/createpassthroughresponse.md)>**
55
- ### Errors
56
-
57
- | Error Object | Status Code | Content Type |
58
- | --------------- | --------------- | --------------- |
59
- | errors.SDKError | 4xx-5xx | */* |
60
-
61
- ## listPassthroughs
62
-
63
- Passthrough GET
64
-
65
- ### Example Usage
66
-
67
- ```typescript
68
- import { UnifiedTo } from "@unified-api/typescript-sdk";
69
-
70
- async function run() {
71
- const sdk = new UnifiedTo({
72
- security: {
73
- jwt: "<YOUR_API_KEY_HERE>",
74
- },
75
- });
76
-
77
- const res = await sdk.passthrough.listPassthroughs({
78
- connectionId: "<value>",
79
- path: "/selinux",
80
- });
81
-
82
- if (res.statusCode == 200) {
83
- // handle response
84
- }
85
- }
86
-
87
- run();
88
- ```
89
-
90
- ### Parameters
91
-
92
- | Parameter | Type | Required | Description |
93
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
94
- | `request` | [operations.ListPassthroughsRequest](../../sdk/models/operations/listpassthroughsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
95
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
96
-
97
-
98
- ### Response
99
-
100
- **Promise<[operations.ListPassthroughsResponse](../../sdk/models/operations/listpassthroughsresponse.md)>**
101
- ### Errors
102
-
103
- | Error Object | Status Code | Content Type |
104
- | --------------- | --------------- | --------------- |
105
- | errors.SDKError | 4xx-5xx | */* |
106
-
107
- ## patchPassthrough
108
-
109
- Passthrough PUT
110
-
111
- ### Example Usage
112
-
113
- ```typescript
114
- import { UnifiedTo } from "@unified-api/typescript-sdk";
115
-
116
- async function run() {
117
- const sdk = new UnifiedTo({
118
- security: {
119
- jwt: "<YOUR_API_KEY_HERE>",
120
- },
121
- });
122
-
123
- const res = await sdk.passthrough.patchPassthrough({
124
- requestBody: {
125
- "key": "<value>",
126
- },
127
- connectionId: "<value>",
128
- path: "/mnt",
129
- });
130
-
131
- if (res.statusCode == 200) {
132
- // handle response
133
- }
134
- }
135
-
136
- run();
137
- ```
138
-
139
- ### Parameters
140
-
141
- | Parameter | Type | Required | Description |
142
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
143
- | `request` | [operations.PatchPassthroughRequest](../../sdk/models/operations/patchpassthroughrequest.md) | :heavy_check_mark: | The request object to use for the request. |
144
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
145
-
146
-
147
- ### Response
148
-
149
- **Promise<[operations.PatchPassthroughResponse](../../sdk/models/operations/patchpassthroughresponse.md)>**
150
- ### Errors
151
-
152
- | Error Object | Status Code | Content Type |
153
- | --------------- | --------------- | --------------- |
154
- | errors.SDKError | 4xx-5xx | */* |
155
-
156
- ## removePassthrough
157
-
158
- Passthrough DELETE
159
-
160
- ### Example Usage
161
-
162
- ```typescript
163
- import { UnifiedTo } from "@unified-api/typescript-sdk";
164
-
165
- async function run() {
166
- const sdk = new UnifiedTo({
167
- security: {
168
- jwt: "<YOUR_API_KEY_HERE>",
169
- },
170
- });
171
-
172
- const res = await sdk.passthrough.removePassthrough({
173
- connectionId: "<value>",
174
- path: "/Applications",
175
- });
176
-
177
- if (res.statusCode == 200) {
178
- // handle response
179
- }
180
- }
181
-
182
- run();
183
- ```
184
-
185
- ### Parameters
186
-
187
- | Parameter | Type | Required | Description |
188
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
189
- | `request` | [operations.RemovePassthroughRequest](../../sdk/models/operations/removepassthroughrequest.md) | :heavy_check_mark: | The request object to use for the request. |
190
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
191
-
192
-
193
- ### Response
194
-
195
- **Promise<[operations.RemovePassthroughResponse](../../sdk/models/operations/removepassthroughresponse.md)>**
196
- ### Errors
197
-
198
- | Error Object | Status Code | Content Type |
199
- | --------------- | --------------- | --------------- |
200
- | errors.SDKError | 4xx-5xx | */* |
201
-
202
- ## updatePassthrough
203
-
204
- Passthrough PUT
205
-
206
- ### Example Usage
207
-
208
- ```typescript
209
- import { UnifiedTo } from "@unified-api/typescript-sdk";
210
-
211
- async function run() {
212
- const sdk = new UnifiedTo({
213
- security: {
214
- jwt: "<YOUR_API_KEY_HERE>",
215
- },
216
- });
217
-
218
- const res = await sdk.passthrough.updatePassthrough({
219
- requestBody: {
220
- "key": "<value>",
221
- },
222
- connectionId: "<value>",
223
- path: "/dev",
224
- });
225
-
226
- if (res.statusCode == 200) {
227
- // handle response
228
- }
229
- }
230
-
231
- run();
232
- ```
233
-
234
- ### Parameters
235
-
236
- | Parameter | Type | Required | Description |
237
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
238
- | `request` | [operations.UpdatePassthroughRequest](../../sdk/models/operations/updatepassthroughrequest.md) | :heavy_check_mark: | The request object to use for the request. |
239
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
240
-
241
-
242
- ### Response
243
-
244
- **Promise<[operations.UpdatePassthroughResponse](../../sdk/models/operations/updatepassthroughresponse.md)>**
245
- ### Errors
246
-
247
- | Error Object | Status Code | Content Type |
248
- | --------------- | --------------- | --------------- |
249
- | errors.SDKError | 4xx-5xx | */* |
@@ -1,306 +0,0 @@
1
- # Payment
2
- (*payment*)
3
-
4
- ### Available Operations
5
-
6
- * [createAccountingPayment](#createaccountingpayment) - Create a payment
7
- * [getAccountingPayment](#getaccountingpayment) - Retrieve a payment
8
- * [listAccountingPayments](#listaccountingpayments) - List all payments
9
- * [patchAccountingPayment](#patchaccountingpayment) - Update a payment
10
- * [removeAccountingPayment](#removeaccountingpayment) - Remove a payment
11
- * [updateAccountingPayment](#updateaccountingpayment) - Update a payment
12
-
13
- ## createAccountingPayment
14
-
15
- Create a payment
16
-
17
- ### Example Usage
18
-
19
- ```typescript
20
- import { UnifiedTo } from "@unified-api/typescript-sdk";
21
-
22
- async function run() {
23
- const sdk = new UnifiedTo({
24
- security: {
25
- jwt: "<YOUR_API_KEY_HERE>",
26
- },
27
- });
28
-
29
- const res = await sdk.payment.createAccountingPayment({
30
- accountingPayment: {
31
- raw: {
32
- "key": "<value>",
33
- },
34
- },
35
- connectionId: "<value>",
36
- });
37
-
38
- if (res.statusCode == 200) {
39
- // handle response
40
- }
41
- }
42
-
43
- run();
44
- ```
45
-
46
- ### Parameters
47
-
48
- | Parameter | Type | Required | Description |
49
- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
50
- | `request` | [operations.CreateAccountingPaymentRequest](../../sdk/models/operations/createaccountingpaymentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
51
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
52
-
53
-
54
- ### Response
55
-
56
- **Promise<[operations.CreateAccountingPaymentResponse](../../sdk/models/operations/createaccountingpaymentresponse.md)>**
57
- ### Errors
58
-
59
- | Error Object | Status Code | Content Type |
60
- | --------------- | --------------- | --------------- |
61
- | errors.SDKError | 4xx-5xx | */* |
62
-
63
- ## getAccountingPayment
64
-
65
- Retrieve a payment
66
-
67
- ### Example Usage
68
-
69
- ```typescript
70
- import { UnifiedTo } from "@unified-api/typescript-sdk";
71
-
72
- async function run() {
73
- const sdk = new UnifiedTo({
74
- security: {
75
- jwt: "<YOUR_API_KEY_HERE>",
76
- },
77
- });
78
-
79
- const res = await sdk.payment.getAccountingPayment({
80
- connectionId: "<value>",
81
- fields: [
82
- "<value>",
83
- ],
84
- id: "<id>",
85
- });
86
-
87
- if (res.statusCode == 200) {
88
- // handle response
89
- }
90
- }
91
-
92
- run();
93
- ```
94
-
95
- ### Parameters
96
-
97
- | Parameter | Type | Required | Description |
98
- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
99
- | `request` | [operations.GetAccountingPaymentRequest](../../sdk/models/operations/getaccountingpaymentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
100
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
101
-
102
-
103
- ### Response
104
-
105
- **Promise<[operations.GetAccountingPaymentResponse](../../sdk/models/operations/getaccountingpaymentresponse.md)>**
106
- ### Errors
107
-
108
- | Error Object | Status Code | Content Type |
109
- | --------------- | --------------- | --------------- |
110
- | errors.SDKError | 4xx-5xx | */* |
111
-
112
- ## listAccountingPayments
113
-
114
- List all payments
115
-
116
- ### Example Usage
117
-
118
- ```typescript
119
- import { UnifiedTo } from "@unified-api/typescript-sdk";
120
-
121
- async function run() {
122
- const sdk = new UnifiedTo({
123
- security: {
124
- jwt: "<YOUR_API_KEY_HERE>",
125
- },
126
- });
127
-
128
- const res = await sdk.payment.listAccountingPayments({
129
- connectionId: "<value>",
130
- fields: [
131
- "<value>",
132
- ],
133
- });
134
-
135
- if (res.statusCode == 200) {
136
- // handle response
137
- }
138
- }
139
-
140
- run();
141
- ```
142
-
143
- ### Parameters
144
-
145
- | Parameter | Type | Required | Description |
146
- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
147
- | `request` | [operations.ListAccountingPaymentsRequest](../../sdk/models/operations/listaccountingpaymentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
148
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
149
-
150
-
151
- ### Response
152
-
153
- **Promise<[operations.ListAccountingPaymentsResponse](../../sdk/models/operations/listaccountingpaymentsresponse.md)>**
154
- ### Errors
155
-
156
- | Error Object | Status Code | Content Type |
157
- | --------------- | --------------- | --------------- |
158
- | errors.SDKError | 4xx-5xx | */* |
159
-
160
- ## patchAccountingPayment
161
-
162
- Update a payment
163
-
164
- ### Example Usage
165
-
166
- ```typescript
167
- import { UnifiedTo } from "@unified-api/typescript-sdk";
168
-
169
- async function run() {
170
- const sdk = new UnifiedTo({
171
- security: {
172
- jwt: "<YOUR_API_KEY_HERE>",
173
- },
174
- });
175
-
176
- const res = await sdk.payment.patchAccountingPayment({
177
- accountingPayment: {
178
- raw: {
179
- "key": "<value>",
180
- },
181
- },
182
- connectionId: "<value>",
183
- id: "<id>",
184
- });
185
-
186
- if (res.statusCode == 200) {
187
- // handle response
188
- }
189
- }
190
-
191
- run();
192
- ```
193
-
194
- ### Parameters
195
-
196
- | Parameter | Type | Required | Description |
197
- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
198
- | `request` | [operations.PatchAccountingPaymentRequest](../../sdk/models/operations/patchaccountingpaymentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
199
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
200
-
201
-
202
- ### Response
203
-
204
- **Promise<[operations.PatchAccountingPaymentResponse](../../sdk/models/operations/patchaccountingpaymentresponse.md)>**
205
- ### Errors
206
-
207
- | Error Object | Status Code | Content Type |
208
- | --------------- | --------------- | --------------- |
209
- | errors.SDKError | 4xx-5xx | */* |
210
-
211
- ## removeAccountingPayment
212
-
213
- Remove a payment
214
-
215
- ### Example Usage
216
-
217
- ```typescript
218
- import { UnifiedTo } from "@unified-api/typescript-sdk";
219
-
220
- async function run() {
221
- const sdk = new UnifiedTo({
222
- security: {
223
- jwt: "<YOUR_API_KEY_HERE>",
224
- },
225
- });
226
-
227
- const res = await sdk.payment.removeAccountingPayment({
228
- connectionId: "<value>",
229
- id: "<id>",
230
- });
231
-
232
- if (res.statusCode == 200) {
233
- // handle response
234
- }
235
- }
236
-
237
- run();
238
- ```
239
-
240
- ### Parameters
241
-
242
- | Parameter | Type | Required | Description |
243
- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
244
- | `request` | [operations.RemoveAccountingPaymentRequest](../../sdk/models/operations/removeaccountingpaymentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
245
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
246
-
247
-
248
- ### Response
249
-
250
- **Promise<[operations.RemoveAccountingPaymentResponse](../../sdk/models/operations/removeaccountingpaymentresponse.md)>**
251
- ### Errors
252
-
253
- | Error Object | Status Code | Content Type |
254
- | --------------- | --------------- | --------------- |
255
- | errors.SDKError | 4xx-5xx | */* |
256
-
257
- ## updateAccountingPayment
258
-
259
- Update a payment
260
-
261
- ### Example Usage
262
-
263
- ```typescript
264
- import { UnifiedTo } from "@unified-api/typescript-sdk";
265
-
266
- async function run() {
267
- const sdk = new UnifiedTo({
268
- security: {
269
- jwt: "<YOUR_API_KEY_HERE>",
270
- },
271
- });
272
-
273
- const res = await sdk.payment.updateAccountingPayment({
274
- accountingPayment: {
275
- raw: {
276
- "key": "<value>",
277
- },
278
- },
279
- connectionId: "<value>",
280
- id: "<id>",
281
- });
282
-
283
- if (res.statusCode == 200) {
284
- // handle response
285
- }
286
- }
287
-
288
- run();
289
- ```
290
-
291
- ### Parameters
292
-
293
- | Parameter | Type | Required | Description |
294
- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
295
- | `request` | [operations.UpdateAccountingPaymentRequest](../../sdk/models/operations/updateaccountingpaymentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
296
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
297
-
298
-
299
- ### Response
300
-
301
- **Promise<[operations.UpdateAccountingPaymentResponse](../../sdk/models/operations/updateaccountingpaymentresponse.md)>**
302
- ### Errors
303
-
304
- | Error Object | Status Code | Content Type |
305
- | --------------- | --------------- | --------------- |
306
- | errors.SDKError | 4xx-5xx | */* |