@unified-api/typescript-sdk 1.0.0 → 1.0.1

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 (193) 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/index.d.ts +5 -3
  49. package/dist/sdk/models/shared/index.js +5 -3
  50. package/dist/sdk/models/shared/paymenntlinklineitem.d.ts +20 -0
  51. package/dist/sdk/models/shared/paymenntlinklineitem.js +137 -0
  52. package/dist/sdk/models/shared/paymentlink.d.ts +15 -0
  53. package/dist/sdk/models/shared/paymentlink.js +105 -0
  54. package/dist/sdk/models/shared/{accountingpayment.d.ts → paymentpayment.d.ts} +1 -1
  55. package/dist/sdk/models/shared/{accountingpayment.js → paymentpayment.js} +18 -18
  56. package/dist/sdk/models/shared/{accountingpayout.d.ts → paymentpayout.d.ts} +3 -3
  57. package/dist/sdk/models/shared/{accountingpayout.js → paymentpayout.js} +21 -21
  58. package/dist/sdk/models/shared/{accountingrefund.d.ts → paymentrefund.d.ts} +3 -3
  59. package/dist/sdk/models/shared/{accountingrefund.js → paymentrefund.js} +23 -23
  60. package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +2 -1
  61. package/dist/sdk/models/shared/propertyconnectioncategories.js +1 -0
  62. package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +6 -4
  63. package/dist/sdk/models/shared/propertyconnectionpermissions.js +6 -4
  64. package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +2 -1
  65. package/dist/sdk/models/shared/propertyintegrationcategories.js +1 -0
  66. package/dist/sdk/models/shared/webhook.d.ts +4 -3
  67. package/dist/sdk/models/shared/webhook.js +4 -3
  68. package/dist/sdk/payment.d.ts +46 -6
  69. package/dist/sdk/payment.js +705 -53
  70. package/dist/sdk/payout.d.ts +2 -2
  71. package/dist/sdk/payout.js +11 -11
  72. package/dist/sdk/refund.d.ts +2 -2
  73. package/dist/sdk/refund.js +11 -11
  74. package/dist/sdk/sdk.d.ts +5 -3
  75. package/dist/sdk/sdk.js +7 -5
  76. package/docs/sdk/models/operations/categories.md +2 -1
  77. package/docs/sdk/models/operations/createpaymentlinkrequest.md +9 -0
  78. package/docs/sdk/models/operations/createpaymentlinkresponse.md +11 -0
  79. package/docs/sdk/models/operations/createpaymentpaymentrequest.md +9 -0
  80. package/docs/sdk/models/operations/createpaymentpaymentresponse.md +11 -0
  81. package/docs/sdk/models/operations/getpaymentlinkrequest.md +10 -0
  82. package/docs/sdk/models/operations/getpaymentlinkresponse.md +11 -0
  83. package/docs/sdk/models/operations/{getaccountingpaymentrequest.md → getpaymentpaymentrequest.md} +1 -1
  84. package/docs/sdk/models/operations/getpaymentpaymentresponse.md +11 -0
  85. package/docs/sdk/models/operations/{getaccountingpayoutrequest.md → getpaymentpayoutrequest.md} +1 -1
  86. package/docs/sdk/models/operations/getpaymentpayoutresponse.md +11 -0
  87. package/docs/sdk/models/operations/{getaccountingrefundrequest.md → getpaymentrefundrequest.md} +1 -1
  88. package/docs/sdk/models/operations/getpaymentrefundresponse.md +11 -0
  89. package/docs/sdk/models/operations/listpaymentlinksrequest.md +17 -0
  90. package/docs/sdk/models/operations/listpaymentlinksresponse.md +11 -0
  91. package/docs/sdk/models/operations/{listaccountingpaymentsrequest.md → listpaymentpaymentsrequest.md} +1 -1
  92. package/docs/sdk/models/operations/listpaymentpaymentsresponse.md +11 -0
  93. package/docs/sdk/models/operations/{listaccountingpayoutsrequest.md → listpaymentpayoutsrequest.md} +1 -1
  94. package/docs/sdk/models/operations/listpaymentpayoutsresponse.md +11 -0
  95. package/docs/sdk/models/operations/{listaccountingrefundsrequest.md → listpaymentrefundsrequest.md} +1 -1
  96. package/docs/sdk/models/operations/listpaymentrefundsresponse.md +11 -0
  97. package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +2 -1
  98. package/docs/sdk/models/operations/patchpaymentlinkrequest.md +10 -0
  99. package/docs/sdk/models/operations/patchpaymentlinkresponse.md +11 -0
  100. package/docs/sdk/models/operations/patchpaymentpaymentrequest.md +10 -0
  101. package/docs/sdk/models/operations/patchpaymentpaymentresponse.md +11 -0
  102. package/docs/sdk/models/operations/queryparamcategories.md +2 -1
  103. package/docs/sdk/models/operations/{removeaccountingpaymentrequest.md → removepaymentlinkrequest.md} +2 -2
  104. package/docs/sdk/models/operations/{removeaccountingpaymentresponse.md → removepaymentlinkresponse.md} +1 -1
  105. package/docs/sdk/models/operations/removepaymentpaymentrequest.md +9 -0
  106. package/docs/sdk/models/operations/removepaymentpaymentresponse.md +11 -0
  107. package/docs/sdk/models/operations/scopes.md +6 -4
  108. package/docs/sdk/models/operations/updatepaymentlinkrequest.md +10 -0
  109. package/docs/sdk/models/operations/updatepaymentlinkresponse.md +11 -0
  110. package/docs/sdk/models/operations/updatepaymentpaymentrequest.md +10 -0
  111. package/docs/sdk/models/operations/updatepaymentpaymentresponse.md +11 -0
  112. package/docs/sdk/models/shared/objecttype.md +4 -3
  113. package/docs/sdk/models/shared/paymenntlinklineitem.md +24 -0
  114. package/docs/sdk/models/shared/paymentlink.md +18 -0
  115. package/docs/sdk/models/shared/{accountingpayment.md → paymentpayment.md} +1 -1
  116. package/docs/sdk/models/shared/paymentpayout.md +15 -0
  117. package/docs/sdk/models/shared/{accountingpayoutstatus.md → paymentpayoutstatus.md} +1 -1
  118. package/docs/sdk/models/shared/paymentrefund.md +17 -0
  119. package/docs/sdk/models/shared/{accountingrefundstatus.md → paymentrefundstatus.md} +1 -1
  120. package/docs/sdk/models/shared/propertyconnectioncategories.md +2 -1
  121. package/docs/sdk/models/shared/propertyconnectionpermissions.md +6 -4
  122. package/docs/sdk/models/shared/propertyintegrationcategories.md +2 -1
  123. package/package.json +1 -1
  124. package/docs/sdk/models/operations/createaccountingpaymentrequest.md +0 -9
  125. package/docs/sdk/models/operations/createaccountingpaymentresponse.md +0 -11
  126. package/docs/sdk/models/operations/getaccountingpaymentresponse.md +0 -11
  127. package/docs/sdk/models/operations/getaccountingpayoutresponse.md +0 -11
  128. package/docs/sdk/models/operations/getaccountingrefundresponse.md +0 -11
  129. package/docs/sdk/models/operations/listaccountingpaymentsresponse.md +0 -11
  130. package/docs/sdk/models/operations/listaccountingpayoutsresponse.md +0 -11
  131. package/docs/sdk/models/operations/listaccountingrefundsresponse.md +0 -11
  132. package/docs/sdk/models/operations/patchaccountingpaymentrequest.md +0 -10
  133. package/docs/sdk/models/operations/patchaccountingpaymentresponse.md +0 -11
  134. package/docs/sdk/models/operations/updateaccountingpaymentrequest.md +0 -10
  135. package/docs/sdk/models/operations/updateaccountingpaymentresponse.md +0 -11
  136. package/docs/sdk/models/shared/accountingpayout.md +0 -15
  137. package/docs/sdk/models/shared/accountingrefund.md +0 -17
  138. package/docs/sdks/account/README.md +0 -312
  139. package/docs/sdks/accounting/README.md +0 -2198
  140. package/docs/sdks/activity/README.md +0 -321
  141. package/docs/sdks/apicall/README.md +0 -95
  142. package/docs/sdks/application/README.md +0 -333
  143. package/docs/sdks/applicationstatus/README.md +0 -54
  144. package/docs/sdks/ats/README.md +0 -2488
  145. package/docs/sdks/auth/README.md +0 -103
  146. package/docs/sdks/call/README.md +0 -54
  147. package/docs/sdks/candidate/README.md +0 -369
  148. package/docs/sdks/collection/README.md +0 -348
  149. package/docs/sdks/commerce/README.md +0 -1371
  150. package/docs/sdks/company/README.md +0 -517
  151. package/docs/sdks/connection/README.md +0 -359
  152. package/docs/sdks/contact/README.md +0 -1028
  153. package/docs/sdks/crm/README.md +0 -2048
  154. package/docs/sdks/customer/README.md +0 -348
  155. package/docs/sdks/deal/README.md +0 -315
  156. package/docs/sdks/document/README.md +0 -309
  157. package/docs/sdks/employee/README.md +0 -363
  158. package/docs/sdks/enrich/README.md +0 -97
  159. package/docs/sdks/event/README.md +0 -390
  160. package/docs/sdks/file/README.md +0 -330
  161. package/docs/sdks/group/README.md +0 -327
  162. package/docs/sdks/hris/README.md +0 -685
  163. package/docs/sdks/integration/README.md +0 -155
  164. package/docs/sdks/interview/README.md +0 -318
  165. package/docs/sdks/inventory/README.md +0 -309
  166. package/docs/sdks/invoice/README.md +0 -324
  167. package/docs/sdks/issue/README.md +0 -49
  168. package/docs/sdks/item/README.md +0 -417
  169. package/docs/sdks/job/README.md +0 -396
  170. package/docs/sdks/lead/README.md +0 -336
  171. package/docs/sdks/list/README.md +0 -306
  172. package/docs/sdks/location/README.md +0 -312
  173. package/docs/sdks/login/README.md +0 -52
  174. package/docs/sdks/martech/README.md +0 -643
  175. package/docs/sdks/member/README.md +0 -342
  176. package/docs/sdks/note/README.md +0 -306
  177. package/docs/sdks/organization/README.md +0 -104
  178. package/docs/sdks/passthrough/README.md +0 -249
  179. package/docs/sdks/payment/README.md +0 -306
  180. package/docs/sdks/payout/README.md +0 -104
  181. package/docs/sdks/person/README.md +0 -51
  182. package/docs/sdks/pipeline/README.md +0 -306
  183. package/docs/sdks/refund/README.md +0 -104
  184. package/docs/sdks/scorecard/README.md +0 -324
  185. package/docs/sdks/storage/README.md +0 -330
  186. package/docs/sdks/taxrate/README.md +0 -312
  187. package/docs/sdks/ticket/README.md +0 -318
  188. package/docs/sdks/ticketing/README.md +0 -962
  189. package/docs/sdks/transaction/README.md +0 -327
  190. package/docs/sdks/uc/README.md +0 -388
  191. package/docs/sdks/unified/README.md +0 -929
  192. package/docs/sdks/unifiedto/README.md +0 -9
  193. package/docs/sdks/webhook/README.md +0 -291
@@ -1,312 +0,0 @@
1
- # Taxrate
2
- (*taxrate*)
3
-
4
- ### Available Operations
5
-
6
- * [createAccountingTaxrate](#createaccountingtaxrate) - Create a taxrate
7
- * [getAccountingTaxrate](#getaccountingtaxrate) - Retrieve a taxrate
8
- * [listAccountingTaxrates](#listaccountingtaxrates) - List all taxrates
9
- * [patchAccountingTaxrate](#patchaccountingtaxrate) - Update a taxrate
10
- * [removeAccountingTaxrate](#removeaccountingtaxrate) - Remove a taxrate
11
- * [updateAccountingTaxrate](#updateaccountingtaxrate) - Update a taxrate
12
-
13
- ## createAccountingTaxrate
14
-
15
- Create a taxrate
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.taxrate.createAccountingTaxrate({
30
- accountingTaxrate: {
31
- name: "<value>",
32
- rate: 1719.1,
33
- raw: {
34
- "key": "<value>",
35
- },
36
- },
37
- connectionId: "<value>",
38
- });
39
-
40
- if (res.statusCode == 200) {
41
- // handle response
42
- }
43
- }
44
-
45
- run();
46
- ```
47
-
48
- ### Parameters
49
-
50
- | Parameter | Type | Required | Description |
51
- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
52
- | `request` | [operations.CreateAccountingTaxrateRequest](../../sdk/models/operations/createaccountingtaxraterequest.md) | :heavy_check_mark: | The request object to use for the request. |
53
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
54
-
55
-
56
- ### Response
57
-
58
- **Promise<[operations.CreateAccountingTaxrateResponse](../../sdk/models/operations/createaccountingtaxrateresponse.md)>**
59
- ### Errors
60
-
61
- | Error Object | Status Code | Content Type |
62
- | --------------- | --------------- | --------------- |
63
- | errors.SDKError | 4xx-5xx | */* |
64
-
65
- ## getAccountingTaxrate
66
-
67
- Retrieve a taxrate
68
-
69
- ### Example Usage
70
-
71
- ```typescript
72
- import { UnifiedTo } from "@unified-api/typescript-sdk";
73
-
74
- async function run() {
75
- const sdk = new UnifiedTo({
76
- security: {
77
- jwt: "<YOUR_API_KEY_HERE>",
78
- },
79
- });
80
-
81
- const res = await sdk.taxrate.getAccountingTaxrate({
82
- connectionId: "<value>",
83
- fields: [
84
- "<value>",
85
- ],
86
- id: "<id>",
87
- });
88
-
89
- if (res.statusCode == 200) {
90
- // handle response
91
- }
92
- }
93
-
94
- run();
95
- ```
96
-
97
- ### Parameters
98
-
99
- | Parameter | Type | Required | Description |
100
- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
101
- | `request` | [operations.GetAccountingTaxrateRequest](../../sdk/models/operations/getaccountingtaxraterequest.md) | :heavy_check_mark: | The request object to use for the request. |
102
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
103
-
104
-
105
- ### Response
106
-
107
- **Promise<[operations.GetAccountingTaxrateResponse](../../sdk/models/operations/getaccountingtaxrateresponse.md)>**
108
- ### Errors
109
-
110
- | Error Object | Status Code | Content Type |
111
- | --------------- | --------------- | --------------- |
112
- | errors.SDKError | 4xx-5xx | */* |
113
-
114
- ## listAccountingTaxrates
115
-
116
- List all taxrates
117
-
118
- ### Example Usage
119
-
120
- ```typescript
121
- import { UnifiedTo } from "@unified-api/typescript-sdk";
122
-
123
- async function run() {
124
- const sdk = new UnifiedTo({
125
- security: {
126
- jwt: "<YOUR_API_KEY_HERE>",
127
- },
128
- });
129
-
130
- const res = await sdk.taxrate.listAccountingTaxrates({
131
- connectionId: "<value>",
132
- fields: [
133
- "<value>",
134
- ],
135
- });
136
-
137
- if (res.statusCode == 200) {
138
- // handle response
139
- }
140
- }
141
-
142
- run();
143
- ```
144
-
145
- ### Parameters
146
-
147
- | Parameter | Type | Required | Description |
148
- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
149
- | `request` | [operations.ListAccountingTaxratesRequest](../../sdk/models/operations/listaccountingtaxratesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
150
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
151
-
152
-
153
- ### Response
154
-
155
- **Promise<[operations.ListAccountingTaxratesResponse](../../sdk/models/operations/listaccountingtaxratesresponse.md)>**
156
- ### Errors
157
-
158
- | Error Object | Status Code | Content Type |
159
- | --------------- | --------------- | --------------- |
160
- | errors.SDKError | 4xx-5xx | */* |
161
-
162
- ## patchAccountingTaxrate
163
-
164
- Update a taxrate
165
-
166
- ### Example Usage
167
-
168
- ```typescript
169
- import { UnifiedTo } from "@unified-api/typescript-sdk";
170
-
171
- async function run() {
172
- const sdk = new UnifiedTo({
173
- security: {
174
- jwt: "<YOUR_API_KEY_HERE>",
175
- },
176
- });
177
-
178
- const res = await sdk.taxrate.patchAccountingTaxrate({
179
- accountingTaxrate: {
180
- name: "<value>",
181
- rate: 5991.47,
182
- raw: {
183
- "key": "<value>",
184
- },
185
- },
186
- connectionId: "<value>",
187
- id: "<id>",
188
- });
189
-
190
- if (res.statusCode == 200) {
191
- // handle response
192
- }
193
- }
194
-
195
- run();
196
- ```
197
-
198
- ### Parameters
199
-
200
- | Parameter | Type | Required | Description |
201
- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
202
- | `request` | [operations.PatchAccountingTaxrateRequest](../../sdk/models/operations/patchaccountingtaxraterequest.md) | :heavy_check_mark: | The request object to use for the request. |
203
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
204
-
205
-
206
- ### Response
207
-
208
- **Promise<[operations.PatchAccountingTaxrateResponse](../../sdk/models/operations/patchaccountingtaxrateresponse.md)>**
209
- ### Errors
210
-
211
- | Error Object | Status Code | Content Type |
212
- | --------------- | --------------- | --------------- |
213
- | errors.SDKError | 4xx-5xx | */* |
214
-
215
- ## removeAccountingTaxrate
216
-
217
- Remove a taxrate
218
-
219
- ### Example Usage
220
-
221
- ```typescript
222
- import { UnifiedTo } from "@unified-api/typescript-sdk";
223
-
224
- async function run() {
225
- const sdk = new UnifiedTo({
226
- security: {
227
- jwt: "<YOUR_API_KEY_HERE>",
228
- },
229
- });
230
-
231
- const res = await sdk.taxrate.removeAccountingTaxrate({
232
- connectionId: "<value>",
233
- id: "<id>",
234
- });
235
-
236
- if (res.statusCode == 200) {
237
- // handle response
238
- }
239
- }
240
-
241
- run();
242
- ```
243
-
244
- ### Parameters
245
-
246
- | Parameter | Type | Required | Description |
247
- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
248
- | `request` | [operations.RemoveAccountingTaxrateRequest](../../sdk/models/operations/removeaccountingtaxraterequest.md) | :heavy_check_mark: | The request object to use for the request. |
249
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
250
-
251
-
252
- ### Response
253
-
254
- **Promise<[operations.RemoveAccountingTaxrateResponse](../../sdk/models/operations/removeaccountingtaxrateresponse.md)>**
255
- ### Errors
256
-
257
- | Error Object | Status Code | Content Type |
258
- | --------------- | --------------- | --------------- |
259
- | errors.SDKError | 4xx-5xx | */* |
260
-
261
- ## updateAccountingTaxrate
262
-
263
- Update a taxrate
264
-
265
- ### Example Usage
266
-
267
- ```typescript
268
- import { UnifiedTo } from "@unified-api/typescript-sdk";
269
-
270
- async function run() {
271
- const sdk = new UnifiedTo({
272
- security: {
273
- jwt: "<YOUR_API_KEY_HERE>",
274
- },
275
- });
276
-
277
- const res = await sdk.taxrate.updateAccountingTaxrate({
278
- accountingTaxrate: {
279
- name: "<value>",
280
- rate: 3382.78,
281
- raw: {
282
- "key": "<value>",
283
- },
284
- },
285
- connectionId: "<value>",
286
- id: "<id>",
287
- });
288
-
289
- if (res.statusCode == 200) {
290
- // handle response
291
- }
292
- }
293
-
294
- run();
295
- ```
296
-
297
- ### Parameters
298
-
299
- | Parameter | Type | Required | Description |
300
- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
301
- | `request` | [operations.UpdateAccountingTaxrateRequest](../../sdk/models/operations/updateaccountingtaxraterequest.md) | :heavy_check_mark: | The request object to use for the request. |
302
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
303
-
304
-
305
- ### Response
306
-
307
- **Promise<[operations.UpdateAccountingTaxrateResponse](../../sdk/models/operations/updateaccountingtaxrateresponse.md)>**
308
- ### Errors
309
-
310
- | Error Object | Status Code | Content Type |
311
- | --------------- | --------------- | --------------- |
312
- | errors.SDKError | 4xx-5xx | */* |
@@ -1,318 +0,0 @@
1
- # Ticket
2
- (*ticket*)
3
-
4
- ### Available Operations
5
-
6
- * [createTicketingTicket](#createticketingticket) - Create a ticket
7
- * [getTicketingTicket](#getticketingticket) - Retrieve a ticket
8
- * [listTicketingTickets](#listticketingtickets) - List all tickets
9
- * [patchTicketingTicket](#patchticketingticket) - Update a ticket
10
- * [removeTicketingTicket](#removeticketingticket) - Remove a ticket
11
- * [updateTicketingTicket](#updateticketingticket) - Update a ticket
12
-
13
- ## createTicketingTicket
14
-
15
- Create a ticket
16
-
17
- ### Example Usage
18
-
19
- ```typescript
20
- import { UnifiedTo } from "@unified-api/typescript-sdk";
21
- import { TicketingTicketStatus } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
22
-
23
- async function run() {
24
- const sdk = new UnifiedTo({
25
- security: {
26
- jwt: "<YOUR_API_KEY_HERE>",
27
- },
28
- });
29
-
30
- const res = await sdk.ticket.createTicketingTicket({
31
- ticketingTicket: {
32
- raw: {
33
- "key": "<value>",
34
- },
35
- tags: [
36
- "<value>",
37
- ],
38
- },
39
- connectionId: "<value>",
40
- });
41
-
42
- if (res.statusCode == 200) {
43
- // handle response
44
- }
45
- }
46
-
47
- run();
48
- ```
49
-
50
- ### Parameters
51
-
52
- | Parameter | Type | Required | Description |
53
- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
54
- | `request` | [operations.CreateTicketingTicketRequest](../../sdk/models/operations/createticketingticketrequest.md) | :heavy_check_mark: | The request object to use for the request. |
55
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
56
-
57
-
58
- ### Response
59
-
60
- **Promise<[operations.CreateTicketingTicketResponse](../../sdk/models/operations/createticketingticketresponse.md)>**
61
- ### Errors
62
-
63
- | Error Object | Status Code | Content Type |
64
- | --------------- | --------------- | --------------- |
65
- | errors.SDKError | 4xx-5xx | */* |
66
-
67
- ## getTicketingTicket
68
-
69
- Retrieve a ticket
70
-
71
- ### Example Usage
72
-
73
- ```typescript
74
- import { UnifiedTo } from "@unified-api/typescript-sdk";
75
-
76
- async function run() {
77
- const sdk = new UnifiedTo({
78
- security: {
79
- jwt: "<YOUR_API_KEY_HERE>",
80
- },
81
- });
82
-
83
- const res = await sdk.ticket.getTicketingTicket({
84
- connectionId: "<value>",
85
- fields: [
86
- "<value>",
87
- ],
88
- id: "<id>",
89
- });
90
-
91
- if (res.statusCode == 200) {
92
- // handle response
93
- }
94
- }
95
-
96
- run();
97
- ```
98
-
99
- ### Parameters
100
-
101
- | Parameter | Type | Required | Description |
102
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
103
- | `request` | [operations.GetTicketingTicketRequest](../../sdk/models/operations/getticketingticketrequest.md) | :heavy_check_mark: | The request object to use for the request. |
104
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
105
-
106
-
107
- ### Response
108
-
109
- **Promise<[operations.GetTicketingTicketResponse](../../sdk/models/operations/getticketingticketresponse.md)>**
110
- ### Errors
111
-
112
- | Error Object | Status Code | Content Type |
113
- | --------------- | --------------- | --------------- |
114
- | errors.SDKError | 4xx-5xx | */* |
115
-
116
- ## listTicketingTickets
117
-
118
- List all tickets
119
-
120
- ### Example Usage
121
-
122
- ```typescript
123
- import { UnifiedTo } from "@unified-api/typescript-sdk";
124
-
125
- async function run() {
126
- const sdk = new UnifiedTo({
127
- security: {
128
- jwt: "<YOUR_API_KEY_HERE>",
129
- },
130
- });
131
-
132
- const res = await sdk.ticket.listTicketingTickets({
133
- connectionId: "<value>",
134
- fields: [
135
- "<value>",
136
- ],
137
- });
138
-
139
- if (res.statusCode == 200) {
140
- // handle response
141
- }
142
- }
143
-
144
- run();
145
- ```
146
-
147
- ### Parameters
148
-
149
- | Parameter | Type | Required | Description |
150
- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
151
- | `request` | [operations.ListTicketingTicketsRequest](../../sdk/models/operations/listticketingticketsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
152
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
153
-
154
-
155
- ### Response
156
-
157
- **Promise<[operations.ListTicketingTicketsResponse](../../sdk/models/operations/listticketingticketsresponse.md)>**
158
- ### Errors
159
-
160
- | Error Object | Status Code | Content Type |
161
- | --------------- | --------------- | --------------- |
162
- | errors.SDKError | 4xx-5xx | */* |
163
-
164
- ## patchTicketingTicket
165
-
166
- Update a ticket
167
-
168
- ### Example Usage
169
-
170
- ```typescript
171
- import { UnifiedTo } from "@unified-api/typescript-sdk";
172
- import { TicketingTicketStatus } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
173
-
174
- async function run() {
175
- const sdk = new UnifiedTo({
176
- security: {
177
- jwt: "<YOUR_API_KEY_HERE>",
178
- },
179
- });
180
-
181
- const res = await sdk.ticket.patchTicketingTicket({
182
- ticketingTicket: {
183
- raw: {
184
- "key": "<value>",
185
- },
186
- tags: [
187
- "<value>",
188
- ],
189
- },
190
- connectionId: "<value>",
191
- id: "<id>",
192
- });
193
-
194
- if (res.statusCode == 200) {
195
- // handle response
196
- }
197
- }
198
-
199
- run();
200
- ```
201
-
202
- ### Parameters
203
-
204
- | Parameter | Type | Required | Description |
205
- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
206
- | `request` | [operations.PatchTicketingTicketRequest](../../sdk/models/operations/patchticketingticketrequest.md) | :heavy_check_mark: | The request object to use for the request. |
207
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
208
-
209
-
210
- ### Response
211
-
212
- **Promise<[operations.PatchTicketingTicketResponse](../../sdk/models/operations/patchticketingticketresponse.md)>**
213
- ### Errors
214
-
215
- | Error Object | Status Code | Content Type |
216
- | --------------- | --------------- | --------------- |
217
- | errors.SDKError | 4xx-5xx | */* |
218
-
219
- ## removeTicketingTicket
220
-
221
- Remove a ticket
222
-
223
- ### Example Usage
224
-
225
- ```typescript
226
- import { UnifiedTo } from "@unified-api/typescript-sdk";
227
-
228
- async function run() {
229
- const sdk = new UnifiedTo({
230
- security: {
231
- jwt: "<YOUR_API_KEY_HERE>",
232
- },
233
- });
234
-
235
- const res = await sdk.ticket.removeTicketingTicket({
236
- connectionId: "<value>",
237
- id: "<id>",
238
- });
239
-
240
- if (res.statusCode == 200) {
241
- // handle response
242
- }
243
- }
244
-
245
- run();
246
- ```
247
-
248
- ### Parameters
249
-
250
- | Parameter | Type | Required | Description |
251
- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
252
- | `request` | [operations.RemoveTicketingTicketRequest](../../sdk/models/operations/removeticketingticketrequest.md) | :heavy_check_mark: | The request object to use for the request. |
253
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
254
-
255
-
256
- ### Response
257
-
258
- **Promise<[operations.RemoveTicketingTicketResponse](../../sdk/models/operations/removeticketingticketresponse.md)>**
259
- ### Errors
260
-
261
- | Error Object | Status Code | Content Type |
262
- | --------------- | --------------- | --------------- |
263
- | errors.SDKError | 4xx-5xx | */* |
264
-
265
- ## updateTicketingTicket
266
-
267
- Update a ticket
268
-
269
- ### Example Usage
270
-
271
- ```typescript
272
- import { UnifiedTo } from "@unified-api/typescript-sdk";
273
- import { TicketingTicketStatus } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
274
-
275
- async function run() {
276
- const sdk = new UnifiedTo({
277
- security: {
278
- jwt: "<YOUR_API_KEY_HERE>",
279
- },
280
- });
281
-
282
- const res = await sdk.ticket.updateTicketingTicket({
283
- ticketingTicket: {
284
- raw: {
285
- "key": "<value>",
286
- },
287
- tags: [
288
- "<value>",
289
- ],
290
- },
291
- connectionId: "<value>",
292
- id: "<id>",
293
- });
294
-
295
- if (res.statusCode == 200) {
296
- // handle response
297
- }
298
- }
299
-
300
- run();
301
- ```
302
-
303
- ### Parameters
304
-
305
- | Parameter | Type | Required | Description |
306
- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
307
- | `request` | [operations.UpdateTicketingTicketRequest](../../sdk/models/operations/updateticketingticketrequest.md) | :heavy_check_mark: | The request object to use for the request. |
308
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
309
-
310
-
311
- ### Response
312
-
313
- **Promise<[operations.UpdateTicketingTicketResponse](../../sdk/models/operations/updateticketingticketresponse.md)>**
314
- ### Errors
315
-
316
- | Error Object | Status Code | Content Type |
317
- | --------------- | --------------- | --------------- |
318
- | errors.SDKError | 4xx-5xx | */* |