@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,643 +0,0 @@
1
- # Martech
2
- (*martech*)
3
-
4
- ### Available Operations
5
-
6
- * [createMartechList](#createmartechlist) - Create a list
7
- * [createMartechMember](#createmartechmember) - Create a member
8
- * [getMartechList](#getmartechlist) - Retrieve a list
9
- * [getMartechMember](#getmartechmember) - Retrieve a member
10
- * [listMartechLists](#listmartechlists) - List all lists
11
- * [listMartechMembers](#listmartechmembers) - List all members
12
- * [patchMartechList](#patchmartechlist) - Update a list
13
- * [patchMartechMember](#patchmartechmember) - Update a member
14
- * [removeMartechList](#removemartechlist) - Remove a list
15
- * [removeMartechMember](#removemartechmember) - Remove member
16
- * [updateMartechList](#updatemartechlist) - Update a list
17
- * [updateMartechMember](#updatemartechmember) - Update a member
18
-
19
- ## createMartechList
20
-
21
- Create a list
22
-
23
- ### Example Usage
24
-
25
- ```typescript
26
- import { UnifiedTo } from "@unified-api/typescript-sdk";
27
-
28
- async function run() {
29
- const sdk = new UnifiedTo({
30
- security: {
31
- jwt: "<YOUR_API_KEY_HERE>",
32
- },
33
- });
34
-
35
- const res = await sdk.martech.createMartechList({
36
- marketingList: {
37
- raw: {
38
- "key": "<value>",
39
- },
40
- },
41
- connectionId: "<value>",
42
- });
43
-
44
- if (res.statusCode == 200) {
45
- // handle response
46
- }
47
- }
48
-
49
- run();
50
- ```
51
-
52
- ### Parameters
53
-
54
- | Parameter | Type | Required | Description |
55
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
56
- | `request` | [operations.CreateMartechListRequest](../../sdk/models/operations/createmartechlistrequest.md) | :heavy_check_mark: | The request object to use for the request. |
57
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
58
-
59
-
60
- ### Response
61
-
62
- **Promise<[operations.CreateMartechListResponse](../../sdk/models/operations/createmartechlistresponse.md)>**
63
- ### Errors
64
-
65
- | Error Object | Status Code | Content Type |
66
- | --------------- | --------------- | --------------- |
67
- | errors.SDKError | 4xx-5xx | */* |
68
-
69
- ## createMartechMember
70
-
71
- Create a member
72
-
73
- ### Example Usage
74
-
75
- ```typescript
76
- import { UnifiedTo } from "@unified-api/typescript-sdk";
77
- import { MarketingEmailType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
78
-
79
- async function run() {
80
- const sdk = new UnifiedTo({
81
- security: {
82
- jwt: "<YOUR_API_KEY_HERE>",
83
- },
84
- });
85
-
86
- const res = await sdk.martech.createMartechMember({
87
- marketingMember: {
88
- emails: [
89
- {
90
- email: "Eldridge.Marvin@gmail.com",
91
- },
92
- ],
93
- listIds: [
94
- "<value>",
95
- ],
96
- raw: {
97
- "key": "<value>",
98
- },
99
- tags: [
100
- "<value>",
101
- ],
102
- },
103
- connectionId: "<value>",
104
- });
105
-
106
- if (res.statusCode == 200) {
107
- // handle response
108
- }
109
- }
110
-
111
- run();
112
- ```
113
-
114
- ### Parameters
115
-
116
- | Parameter | Type | Required | Description |
117
- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
118
- | `request` | [operations.CreateMartechMemberRequest](../../sdk/models/operations/createmartechmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. |
119
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
120
-
121
-
122
- ### Response
123
-
124
- **Promise<[operations.CreateMartechMemberResponse](../../sdk/models/operations/createmartechmemberresponse.md)>**
125
- ### Errors
126
-
127
- | Error Object | Status Code | Content Type |
128
- | --------------- | --------------- | --------------- |
129
- | errors.SDKError | 4xx-5xx | */* |
130
-
131
- ## getMartechList
132
-
133
- Retrieve a list
134
-
135
- ### Example Usage
136
-
137
- ```typescript
138
- import { UnifiedTo } from "@unified-api/typescript-sdk";
139
-
140
- async function run() {
141
- const sdk = new UnifiedTo({
142
- security: {
143
- jwt: "<YOUR_API_KEY_HERE>",
144
- },
145
- });
146
-
147
- const res = await sdk.martech.getMartechList({
148
- connectionId: "<value>",
149
- fields: [
150
- "<value>",
151
- ],
152
- id: "<id>",
153
- });
154
-
155
- if (res.statusCode == 200) {
156
- // handle response
157
- }
158
- }
159
-
160
- run();
161
- ```
162
-
163
- ### Parameters
164
-
165
- | Parameter | Type | Required | Description |
166
- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
167
- | `request` | [operations.GetMartechListRequest](../../sdk/models/operations/getmartechlistrequest.md) | :heavy_check_mark: | The request object to use for the request. |
168
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
169
-
170
-
171
- ### Response
172
-
173
- **Promise<[operations.GetMartechListResponse](../../sdk/models/operations/getmartechlistresponse.md)>**
174
- ### Errors
175
-
176
- | Error Object | Status Code | Content Type |
177
- | --------------- | --------------- | --------------- |
178
- | errors.SDKError | 4xx-5xx | */* |
179
-
180
- ## getMartechMember
181
-
182
- Retrieve a member
183
-
184
- ### Example Usage
185
-
186
- ```typescript
187
- import { UnifiedTo } from "@unified-api/typescript-sdk";
188
-
189
- async function run() {
190
- const sdk = new UnifiedTo({
191
- security: {
192
- jwt: "<YOUR_API_KEY_HERE>",
193
- },
194
- });
195
-
196
- const res = await sdk.martech.getMartechMember({
197
- connectionId: "<value>",
198
- fields: [
199
- "<value>",
200
- ],
201
- id: "<id>",
202
- });
203
-
204
- if (res.statusCode == 200) {
205
- // handle response
206
- }
207
- }
208
-
209
- run();
210
- ```
211
-
212
- ### Parameters
213
-
214
- | Parameter | Type | Required | Description |
215
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
216
- | `request` | [operations.GetMartechMemberRequest](../../sdk/models/operations/getmartechmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. |
217
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
218
-
219
-
220
- ### Response
221
-
222
- **Promise<[operations.GetMartechMemberResponse](../../sdk/models/operations/getmartechmemberresponse.md)>**
223
- ### Errors
224
-
225
- | Error Object | Status Code | Content Type |
226
- | --------------- | --------------- | --------------- |
227
- | errors.SDKError | 4xx-5xx | */* |
228
-
229
- ## listMartechLists
230
-
231
- List all lists
232
-
233
- ### Example Usage
234
-
235
- ```typescript
236
- import { UnifiedTo } from "@unified-api/typescript-sdk";
237
-
238
- async function run() {
239
- const sdk = new UnifiedTo({
240
- security: {
241
- jwt: "<YOUR_API_KEY_HERE>",
242
- },
243
- });
244
-
245
- const res = await sdk.martech.listMartechLists({
246
- connectionId: "<value>",
247
- fields: [
248
- "<value>",
249
- ],
250
- });
251
-
252
- if (res.statusCode == 200) {
253
- // handle response
254
- }
255
- }
256
-
257
- run();
258
- ```
259
-
260
- ### Parameters
261
-
262
- | Parameter | Type | Required | Description |
263
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
264
- | `request` | [operations.ListMartechListsRequest](../../sdk/models/operations/listmartechlistsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
265
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
266
-
267
-
268
- ### Response
269
-
270
- **Promise<[operations.ListMartechListsResponse](../../sdk/models/operations/listmartechlistsresponse.md)>**
271
- ### Errors
272
-
273
- | Error Object | Status Code | Content Type |
274
- | --------------- | --------------- | --------------- |
275
- | errors.SDKError | 4xx-5xx | */* |
276
-
277
- ## listMartechMembers
278
-
279
- List all members
280
-
281
- ### Example Usage
282
-
283
- ```typescript
284
- import { UnifiedTo } from "@unified-api/typescript-sdk";
285
-
286
- async function run() {
287
- const sdk = new UnifiedTo({
288
- security: {
289
- jwt: "<YOUR_API_KEY_HERE>",
290
- },
291
- });
292
-
293
- const res = await sdk.martech.listMartechMembers({
294
- connectionId: "<value>",
295
- fields: [
296
- "<value>",
297
- ],
298
- });
299
-
300
- if (res.statusCode == 200) {
301
- // handle response
302
- }
303
- }
304
-
305
- run();
306
- ```
307
-
308
- ### Parameters
309
-
310
- | Parameter | Type | Required | Description |
311
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
312
- | `request` | [operations.ListMartechMembersRequest](../../sdk/models/operations/listmartechmembersrequest.md) | :heavy_check_mark: | The request object to use for the request. |
313
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
314
-
315
-
316
- ### Response
317
-
318
- **Promise<[operations.ListMartechMembersResponse](../../sdk/models/operations/listmartechmembersresponse.md)>**
319
- ### Errors
320
-
321
- | Error Object | Status Code | Content Type |
322
- | --------------- | --------------- | --------------- |
323
- | errors.SDKError | 4xx-5xx | */* |
324
-
325
- ## patchMartechList
326
-
327
- Update a list
328
-
329
- ### Example Usage
330
-
331
- ```typescript
332
- import { UnifiedTo } from "@unified-api/typescript-sdk";
333
-
334
- async function run() {
335
- const sdk = new UnifiedTo({
336
- security: {
337
- jwt: "<YOUR_API_KEY_HERE>",
338
- },
339
- });
340
-
341
- const res = await sdk.martech.patchMartechList({
342
- marketingList: {
343
- raw: {
344
- "key": "<value>",
345
- },
346
- },
347
- connectionId: "<value>",
348
- id: "<id>",
349
- });
350
-
351
- if (res.statusCode == 200) {
352
- // handle response
353
- }
354
- }
355
-
356
- run();
357
- ```
358
-
359
- ### Parameters
360
-
361
- | Parameter | Type | Required | Description |
362
- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
363
- | `request` | [operations.PatchMartechListRequest](../../sdk/models/operations/patchmartechlistrequest.md) | :heavy_check_mark: | The request object to use for the request. |
364
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
365
-
366
-
367
- ### Response
368
-
369
- **Promise<[operations.PatchMartechListResponse](../../sdk/models/operations/patchmartechlistresponse.md)>**
370
- ### Errors
371
-
372
- | Error Object | Status Code | Content Type |
373
- | --------------- | --------------- | --------------- |
374
- | errors.SDKError | 4xx-5xx | */* |
375
-
376
- ## patchMartechMember
377
-
378
- Update a member
379
-
380
- ### Example Usage
381
-
382
- ```typescript
383
- import { UnifiedTo } from "@unified-api/typescript-sdk";
384
- import { MarketingEmailType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
385
-
386
- async function run() {
387
- const sdk = new UnifiedTo({
388
- security: {
389
- jwt: "<YOUR_API_KEY_HERE>",
390
- },
391
- });
392
-
393
- const res = await sdk.martech.patchMartechMember({
394
- marketingMember: {
395
- emails: [
396
- {
397
- email: "Shana_Boyle@yahoo.com",
398
- },
399
- ],
400
- listIds: [
401
- "<value>",
402
- ],
403
- raw: {
404
- "key": "<value>",
405
- },
406
- tags: [
407
- "<value>",
408
- ],
409
- },
410
- connectionId: "<value>",
411
- id: "<id>",
412
- });
413
-
414
- if (res.statusCode == 200) {
415
- // handle response
416
- }
417
- }
418
-
419
- run();
420
- ```
421
-
422
- ### Parameters
423
-
424
- | Parameter | Type | Required | Description |
425
- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
426
- | `request` | [operations.PatchMartechMemberRequest](../../sdk/models/operations/patchmartechmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. |
427
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
428
-
429
-
430
- ### Response
431
-
432
- **Promise<[operations.PatchMartechMemberResponse](../../sdk/models/operations/patchmartechmemberresponse.md)>**
433
- ### Errors
434
-
435
- | Error Object | Status Code | Content Type |
436
- | --------------- | --------------- | --------------- |
437
- | errors.SDKError | 4xx-5xx | */* |
438
-
439
- ## removeMartechList
440
-
441
- Remove a list
442
-
443
- ### Example Usage
444
-
445
- ```typescript
446
- import { UnifiedTo } from "@unified-api/typescript-sdk";
447
-
448
- async function run() {
449
- const sdk = new UnifiedTo({
450
- security: {
451
- jwt: "<YOUR_API_KEY_HERE>",
452
- },
453
- });
454
-
455
- const res = await sdk.martech.removeMartechList({
456
- connectionId: "<value>",
457
- id: "<id>",
458
- });
459
-
460
- if (res.statusCode == 200) {
461
- // handle response
462
- }
463
- }
464
-
465
- run();
466
- ```
467
-
468
- ### Parameters
469
-
470
- | Parameter | Type | Required | Description |
471
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
472
- | `request` | [operations.RemoveMartechListRequest](../../sdk/models/operations/removemartechlistrequest.md) | :heavy_check_mark: | The request object to use for the request. |
473
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
474
-
475
-
476
- ### Response
477
-
478
- **Promise<[operations.RemoveMartechListResponse](../../sdk/models/operations/removemartechlistresponse.md)>**
479
- ### Errors
480
-
481
- | Error Object | Status Code | Content Type |
482
- | --------------- | --------------- | --------------- |
483
- | errors.SDKError | 4xx-5xx | */* |
484
-
485
- ## removeMartechMember
486
-
487
- Remove member
488
-
489
- ### Example Usage
490
-
491
- ```typescript
492
- import { UnifiedTo } from "@unified-api/typescript-sdk";
493
-
494
- async function run() {
495
- const sdk = new UnifiedTo({
496
- security: {
497
- jwt: "<YOUR_API_KEY_HERE>",
498
- },
499
- });
500
-
501
- const res = await sdk.martech.removeMartechMember({
502
- connectionId: "<value>",
503
- id: "<id>",
504
- });
505
-
506
- if (res.statusCode == 200) {
507
- // handle response
508
- }
509
- }
510
-
511
- run();
512
- ```
513
-
514
- ### Parameters
515
-
516
- | Parameter | Type | Required | Description |
517
- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
518
- | `request` | [operations.RemoveMartechMemberRequest](../../sdk/models/operations/removemartechmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. |
519
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
520
-
521
-
522
- ### Response
523
-
524
- **Promise<[operations.RemoveMartechMemberResponse](../../sdk/models/operations/removemartechmemberresponse.md)>**
525
- ### Errors
526
-
527
- | Error Object | Status Code | Content Type |
528
- | --------------- | --------------- | --------------- |
529
- | errors.SDKError | 4xx-5xx | */* |
530
-
531
- ## updateMartechList
532
-
533
- Update a list
534
-
535
- ### Example Usage
536
-
537
- ```typescript
538
- import { UnifiedTo } from "@unified-api/typescript-sdk";
539
-
540
- async function run() {
541
- const sdk = new UnifiedTo({
542
- security: {
543
- jwt: "<YOUR_API_KEY_HERE>",
544
- },
545
- });
546
-
547
- const res = await sdk.martech.updateMartechList({
548
- marketingList: {
549
- raw: {
550
- "key": "<value>",
551
- },
552
- },
553
- connectionId: "<value>",
554
- id: "<id>",
555
- });
556
-
557
- if (res.statusCode == 200) {
558
- // handle response
559
- }
560
- }
561
-
562
- run();
563
- ```
564
-
565
- ### Parameters
566
-
567
- | Parameter | Type | Required | Description |
568
- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
569
- | `request` | [operations.UpdateMartechListRequest](../../sdk/models/operations/updatemartechlistrequest.md) | :heavy_check_mark: | The request object to use for the request. |
570
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
571
-
572
-
573
- ### Response
574
-
575
- **Promise<[operations.UpdateMartechListResponse](../../sdk/models/operations/updatemartechlistresponse.md)>**
576
- ### Errors
577
-
578
- | Error Object | Status Code | Content Type |
579
- | --------------- | --------------- | --------------- |
580
- | errors.SDKError | 4xx-5xx | */* |
581
-
582
- ## updateMartechMember
583
-
584
- Update a member
585
-
586
- ### Example Usage
587
-
588
- ```typescript
589
- import { UnifiedTo } from "@unified-api/typescript-sdk";
590
- import { MarketingEmailType } from "@unified-api/typescript-sdk/dist/sdk/models/shared";
591
-
592
- async function run() {
593
- const sdk = new UnifiedTo({
594
- security: {
595
- jwt: "<YOUR_API_KEY_HERE>",
596
- },
597
- });
598
-
599
- const res = await sdk.martech.updateMartechMember({
600
- marketingMember: {
601
- emails: [
602
- {
603
- email: "Antonette.Kerluke@hotmail.com",
604
- },
605
- ],
606
- listIds: [
607
- "<value>",
608
- ],
609
- raw: {
610
- "key": "<value>",
611
- },
612
- tags: [
613
- "<value>",
614
- ],
615
- },
616
- connectionId: "<value>",
617
- id: "<id>",
618
- });
619
-
620
- if (res.statusCode == 200) {
621
- // handle response
622
- }
623
- }
624
-
625
- run();
626
- ```
627
-
628
- ### Parameters
629
-
630
- | Parameter | Type | Required | Description |
631
- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
632
- | `request` | [operations.UpdateMartechMemberRequest](../../sdk/models/operations/updatemartechmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. |
633
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
634
-
635
-
636
- ### Response
637
-
638
- **Promise<[operations.UpdateMartechMemberResponse](../../sdk/models/operations/updatemartechmemberresponse.md)>**
639
- ### Errors
640
-
641
- | Error Object | Status Code | Content Type |
642
- | --------------- | --------------- | --------------- |
643
- | errors.SDKError | 4xx-5xx | */* |