@unified-api/typescript-sdk 2.9.14 → 2.9.16
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.
- package/README.md +24 -0
- package/docs/sdks/comment/README.md +501 -0
- package/docs/sdks/payment/README.md +494 -0
- package/docs/sdks/subscription/README.md +501 -0
- package/docs/sdks/task/README.md +494 -0
- package/funcs/commentCreateTaskComment.d.ts +13 -0
- package/funcs/commentCreateTaskComment.d.ts.map +1 -0
- package/funcs/commentCreateTaskComment.js +103 -0
- package/funcs/commentCreateTaskComment.js.map +1 -0
- package/funcs/commentGetTaskComment.d.ts +13 -0
- package/funcs/commentGetTaskComment.d.ts.map +1 -0
- package/funcs/commentGetTaskComment.js +106 -0
- package/funcs/commentGetTaskComment.js.map +1 -0
- package/funcs/commentListTaskComments.d.ts +13 -0
- package/funcs/commentListTaskComments.d.ts.map +1 -0
- package/funcs/commentListTaskComments.js +110 -0
- package/funcs/commentListTaskComments.js.map +1 -0
- package/funcs/commentPatchTaskComment.d.ts +13 -0
- package/funcs/commentPatchTaskComment.d.ts.map +1 -0
- package/funcs/commentPatchTaskComment.js +107 -0
- package/funcs/commentPatchTaskComment.js.map +1 -0
- package/funcs/commentRemoveTaskComment.d.ts +12 -0
- package/funcs/commentRemoveTaskComment.d.ts.map +1 -0
- package/funcs/commentRemoveTaskComment.js +104 -0
- package/funcs/commentRemoveTaskComment.js.map +1 -0
- package/funcs/commentUpdateTaskComment.d.ts +13 -0
- package/funcs/commentUpdateTaskComment.d.ts.map +1 -0
- package/funcs/commentUpdateTaskComment.js +107 -0
- package/funcs/commentUpdateTaskComment.js.map +1 -0
- package/funcs/paymentCreatePaymentSubscription.d.ts +13 -0
- package/funcs/paymentCreatePaymentSubscription.d.ts.map +1 -0
- package/funcs/paymentCreatePaymentSubscription.js +105 -0
- package/funcs/paymentCreatePaymentSubscription.js.map +1 -0
- package/funcs/paymentGetPaymentSubscription.d.ts +13 -0
- package/funcs/paymentGetPaymentSubscription.d.ts.map +1 -0
- package/funcs/paymentGetPaymentSubscription.js +106 -0
- package/funcs/paymentGetPaymentSubscription.js.map +1 -0
- package/funcs/paymentListPaymentSubscriptions.d.ts +13 -0
- package/funcs/paymentListPaymentSubscriptions.d.ts.map +1 -0
- package/funcs/paymentListPaymentSubscriptions.js +110 -0
- package/funcs/paymentListPaymentSubscriptions.js.map +1 -0
- package/funcs/paymentPatchPaymentSubscription.d.ts +13 -0
- package/funcs/paymentPatchPaymentSubscription.d.ts.map +1 -0
- package/funcs/paymentPatchPaymentSubscription.js +109 -0
- package/funcs/paymentPatchPaymentSubscription.js.map +1 -0
- package/funcs/paymentRemovePaymentSubscription.d.ts +12 -0
- package/funcs/paymentRemovePaymentSubscription.d.ts.map +1 -0
- package/funcs/paymentRemovePaymentSubscription.js +104 -0
- package/funcs/paymentRemovePaymentSubscription.js.map +1 -0
- package/funcs/paymentUpdatePaymentSubscription.d.ts +13 -0
- package/funcs/paymentUpdatePaymentSubscription.d.ts.map +1 -0
- package/funcs/paymentUpdatePaymentSubscription.js +109 -0
- package/funcs/paymentUpdatePaymentSubscription.js.map +1 -0
- package/funcs/subscriptionCreatePaymentSubscription.d.ts +13 -0
- package/funcs/subscriptionCreatePaymentSubscription.d.ts.map +1 -0
- package/funcs/subscriptionCreatePaymentSubscription.js +105 -0
- package/funcs/subscriptionCreatePaymentSubscription.js.map +1 -0
- package/funcs/subscriptionGetPaymentSubscription.d.ts +13 -0
- package/funcs/subscriptionGetPaymentSubscription.d.ts.map +1 -0
- package/funcs/subscriptionGetPaymentSubscription.js +106 -0
- package/funcs/subscriptionGetPaymentSubscription.js.map +1 -0
- package/funcs/subscriptionListPaymentSubscriptions.d.ts +13 -0
- package/funcs/subscriptionListPaymentSubscriptions.d.ts.map +1 -0
- package/funcs/subscriptionListPaymentSubscriptions.js +110 -0
- package/funcs/subscriptionListPaymentSubscriptions.js.map +1 -0
- package/funcs/subscriptionPatchPaymentSubscription.d.ts +13 -0
- package/funcs/subscriptionPatchPaymentSubscription.d.ts.map +1 -0
- package/funcs/subscriptionPatchPaymentSubscription.js +109 -0
- package/funcs/subscriptionPatchPaymentSubscription.js.map +1 -0
- package/funcs/subscriptionRemovePaymentSubscription.d.ts +12 -0
- package/funcs/subscriptionRemovePaymentSubscription.d.ts.map +1 -0
- package/funcs/subscriptionRemovePaymentSubscription.js +104 -0
- package/funcs/subscriptionRemovePaymentSubscription.js.map +1 -0
- package/funcs/subscriptionUpdatePaymentSubscription.d.ts +13 -0
- package/funcs/subscriptionUpdatePaymentSubscription.d.ts.map +1 -0
- package/funcs/subscriptionUpdatePaymentSubscription.js +109 -0
- package/funcs/subscriptionUpdatePaymentSubscription.js.map +1 -0
- package/funcs/taskCreateTaskComment.d.ts +13 -0
- package/funcs/taskCreateTaskComment.d.ts.map +1 -0
- package/funcs/taskCreateTaskComment.js +103 -0
- package/funcs/taskCreateTaskComment.js.map +1 -0
- package/funcs/taskGetTaskComment.d.ts +13 -0
- package/funcs/taskGetTaskComment.d.ts.map +1 -0
- package/funcs/taskGetTaskComment.js +106 -0
- package/funcs/taskGetTaskComment.js.map +1 -0
- package/funcs/taskListTaskComments.d.ts +13 -0
- package/funcs/taskListTaskComments.d.ts.map +1 -0
- package/funcs/taskListTaskComments.js +110 -0
- package/funcs/taskListTaskComments.js.map +1 -0
- package/funcs/taskPatchTaskComment.d.ts +13 -0
- package/funcs/taskPatchTaskComment.d.ts.map +1 -0
- package/funcs/taskPatchTaskComment.js +107 -0
- package/funcs/taskPatchTaskComment.js.map +1 -0
- package/funcs/taskRemoveTaskComment.d.ts +12 -0
- package/funcs/taskRemoveTaskComment.d.ts.map +1 -0
- package/funcs/taskRemoveTaskComment.js +104 -0
- package/funcs/taskRemoveTaskComment.js.map +1 -0
- package/funcs/taskUpdateTaskComment.d.ts +13 -0
- package/funcs/taskUpdateTaskComment.d.ts.map +1 -0
- package/funcs/taskUpdateTaskComment.js +107 -0
- package/funcs/taskUpdateTaskComment.js.map +1 -0
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/package.json +1 -1
- package/sdk/comment.d.ts +30 -0
- package/sdk/comment.d.ts.map +1 -0
- package/sdk/comment.js +54 -0
- package/sdk/comment.js.map +1 -0
- package/sdk/models/operations/createpaymentsubscription.d.ts +40 -0
- package/sdk/models/operations/createpaymentsubscription.d.ts.map +1 -0
- package/sdk/models/operations/createpaymentsubscription.js +75 -0
- package/sdk/models/operations/createpaymentsubscription.js.map +1 -0
- package/sdk/models/operations/createtaskcomment.d.ts +40 -0
- package/sdk/models/operations/createtaskcomment.d.ts.map +1 -0
- package/sdk/models/operations/createtaskcomment.js +75 -0
- package/sdk/models/operations/createtaskcomment.js.map +1 -0
- package/sdk/models/operations/getpaymentsubscription.d.ts +42 -0
- package/sdk/models/operations/getpaymentsubscription.d.ts.map +1 -0
- package/sdk/models/operations/getpaymentsubscription.js +72 -0
- package/sdk/models/operations/getpaymentsubscription.js.map +1 -0
- package/sdk/models/operations/gettaskcomment.d.ts +42 -0
- package/sdk/models/operations/gettaskcomment.d.ts.map +1 -0
- package/sdk/models/operations/gettaskcomment.js +72 -0
- package/sdk/models/operations/gettaskcomment.js.map +1 -0
- package/sdk/models/operations/getunifiedintegrationauth.d.ts +12 -0
- package/sdk/models/operations/getunifiedintegrationauth.d.ts.map +1 -1
- package/sdk/models/operations/getunifiedintegrationauth.js +4 -0
- package/sdk/models/operations/getunifiedintegrationauth.js.map +1 -1
- package/sdk/models/operations/index.d.ts +12 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +12 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listpaymentsubscriptions.d.ts +57 -0
- package/sdk/models/operations/listpaymentsubscriptions.d.ts.map +1 -0
- package/sdk/models/operations/listpaymentsubscriptions.js +89 -0
- package/sdk/models/operations/listpaymentsubscriptions.js.map +1 -0
- package/sdk/models/operations/listtaskcomments.d.ts +57 -0
- package/sdk/models/operations/listtaskcomments.d.ts.map +1 -0
- package/sdk/models/operations/listtaskcomments.js +89 -0
- package/sdk/models/operations/listtaskcomments.js.map +1 -0
- package/sdk/models/operations/patchpaymentsubscription.d.ts +45 -0
- package/sdk/models/operations/patchpaymentsubscription.d.ts.map +1 -0
- package/sdk/models/operations/patchpaymentsubscription.js +77 -0
- package/sdk/models/operations/patchpaymentsubscription.js.map +1 -0
- package/sdk/models/operations/patchtaskcomment.d.ts +45 -0
- package/sdk/models/operations/patchtaskcomment.d.ts.map +1 -0
- package/sdk/models/operations/patchtaskcomment.js +77 -0
- package/sdk/models/operations/patchtaskcomment.js.map +1 -0
- package/sdk/models/operations/removepaymentsubscription.d.ts +66 -0
- package/sdk/models/operations/removepaymentsubscription.d.ts.map +1 -0
- package/sdk/models/operations/removepaymentsubscription.js +105 -0
- package/sdk/models/operations/removepaymentsubscription.js.map +1 -0
- package/sdk/models/operations/removetaskcomment.d.ts +66 -0
- package/sdk/models/operations/removetaskcomment.d.ts.map +1 -0
- package/sdk/models/operations/removetaskcomment.js +105 -0
- package/sdk/models/operations/removetaskcomment.js.map +1 -0
- package/sdk/models/operations/updatepaymentsubscription.d.ts +45 -0
- package/sdk/models/operations/updatepaymentsubscription.d.ts.map +1 -0
- package/sdk/models/operations/updatepaymentsubscription.js +77 -0
- package/sdk/models/operations/updatepaymentsubscription.js.map +1 -0
- package/sdk/models/operations/updatetaskcomment.d.ts +45 -0
- package/sdk/models/operations/updatetaskcomment.d.ts.map +1 -0
- package/sdk/models/operations/updatetaskcomment.js +77 -0
- package/sdk/models/operations/updatetaskcomment.js.map +1 -0
- package/sdk/models/shared/accountingjournal.d.ts +2 -2
- package/sdk/models/shared/accountingjournal.d.ts.map +1 -1
- package/sdk/models/shared/accountingjournal.js +6 -4
- package/sdk/models/shared/accountingjournal.js.map +1 -1
- package/sdk/models/shared/index.d.ts +3 -1
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +3 -1
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/{paymentlinklineitem.d.ts → paymentlineitem.d.ts} +14 -14
- package/sdk/models/shared/paymentlineitem.d.ts.map +1 -0
- package/sdk/models/shared/{paymentlinklineitem.js → paymentlineitem.js} +17 -17
- package/sdk/models/shared/paymentlineitem.js.map +1 -0
- package/sdk/models/shared/paymentlink.d.ts +3 -3
- package/sdk/models/shared/paymentlink.d.ts.map +1 -1
- package/sdk/models/shared/paymentlink.js +3 -3
- package/sdk/models/shared/paymentlink.js.map +1 -1
- package/sdk/models/shared/paymentrefund.d.ts +2 -2
- package/sdk/models/shared/paymentrefund.d.ts.map +1 -1
- package/sdk/models/shared/paymentrefund.js +6 -4
- package/sdk/models/shared/paymentrefund.js.map +1 -1
- package/sdk/models/shared/paymentsubscription.d.ts +135 -0
- package/sdk/models/shared/paymentsubscription.d.ts.map +1 -0
- package/sdk/models/shared/paymentsubscription.js +176 -0
- package/sdk/models/shared/paymentsubscription.js.map +1 -0
- package/sdk/models/shared/propertyconnectionpermissions.d.ts +12 -0
- package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.js +4 -0
- package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/sdk/models/shared/propertycrmeventemail.d.ts +2 -2
- package/sdk/models/shared/repoorganization.d.ts +4 -4
- package/sdk/models/shared/repoorganization.d.ts.map +1 -1
- package/sdk/models/shared/repoorganization.js +8 -6
- package/sdk/models/shared/repoorganization.js.map +1 -1
- package/sdk/models/shared/taskcomment.d.ts +47 -0
- package/sdk/models/shared/taskcomment.d.ts.map +1 -0
- package/sdk/models/shared/taskcomment.js +92 -0
- package/sdk/models/shared/taskcomment.js.map +1 -0
- package/sdk/models/shared/tasktask.d.ts +5 -0
- package/sdk/models/shared/tasktask.d.ts.map +1 -1
- package/sdk/models/shared/tasktask.js +4 -0
- package/sdk/models/shared/tasktask.js.map +1 -1
- package/sdk/models/shared/ticketingnote.d.ts +1 -1
- package/sdk/models/shared/ticketingnote.d.ts.map +1 -1
- package/sdk/models/shared/ticketingnote.js +3 -2
- package/sdk/models/shared/ticketingnote.js.map +1 -1
- package/sdk/models/shared/webhook.d.ts +6 -0
- package/sdk/models/shared/webhook.d.ts.map +1 -1
- package/sdk/models/shared/webhook.js +2 -0
- package/sdk/models/shared/webhook.js.map +1 -1
- package/sdk/payment.d.ts +24 -0
- package/sdk/payment.d.ts.map +1 -1
- package/sdk/payment.js +42 -0
- package/sdk/payment.js.map +1 -1
- package/sdk/sdk.d.ts +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/subscription.d.ts +30 -0
- package/sdk/subscription.d.ts.map +1 -0
- package/sdk/subscription.js +54 -0
- package/sdk/subscription.js.map +1 -0
- package/sdk/task.d.ts +24 -0
- package/sdk/task.d.ts.map +1 -1
- package/sdk/task.js +42 -0
- package/sdk/task.js.map +1 -1
- package/src/funcs/commentCreateTaskComment.ts +133 -0
- package/src/funcs/commentGetTaskComment.ts +136 -0
- package/src/funcs/commentListTaskComments.ts +140 -0
- package/src/funcs/commentPatchTaskComment.ts +137 -0
- package/src/funcs/commentRemoveTaskComment.ts +139 -0
- package/src/funcs/commentUpdateTaskComment.ts +137 -0
- package/src/funcs/paymentCreatePaymentSubscription.ts +136 -0
- package/src/funcs/paymentGetPaymentSubscription.ts +139 -0
- package/src/funcs/paymentListPaymentSubscriptions.ts +141 -0
- package/src/funcs/paymentPatchPaymentSubscription.ts +142 -0
- package/src/funcs/paymentRemovePaymentSubscription.ts +145 -0
- package/src/funcs/paymentUpdatePaymentSubscription.ts +142 -0
- package/src/funcs/subscriptionCreatePaymentSubscription.ts +136 -0
- package/src/funcs/subscriptionGetPaymentSubscription.ts +139 -0
- package/src/funcs/subscriptionListPaymentSubscriptions.ts +141 -0
- package/src/funcs/subscriptionPatchPaymentSubscription.ts +142 -0
- package/src/funcs/subscriptionRemovePaymentSubscription.ts +145 -0
- package/src/funcs/subscriptionUpdatePaymentSubscription.ts +142 -0
- package/src/funcs/taskCreateTaskComment.ts +133 -0
- package/src/funcs/taskGetTaskComment.ts +136 -0
- package/src/funcs/taskListTaskComments.ts +140 -0
- package/src/funcs/taskPatchTaskComment.ts +137 -0
- package/src/funcs/taskRemoveTaskComment.ts +139 -0
- package/src/funcs/taskUpdateTaskComment.ts +137 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/comment.ts +100 -0
- package/src/sdk/models/operations/createpaymentsubscription.ts +94 -0
- package/src/sdk/models/operations/createtaskcomment.ts +92 -0
- package/src/sdk/models/operations/getpaymentsubscription.ts +94 -0
- package/src/sdk/models/operations/gettaskcomment.ts +92 -0
- package/src/sdk/models/operations/getunifiedintegrationauth.ts +4 -0
- package/src/sdk/models/operations/index.ts +12 -0
- package/src/sdk/models/operations/listpaymentsubscriptions.ts +126 -0
- package/src/sdk/models/operations/listtaskcomments.ts +124 -0
- package/src/sdk/models/operations/patchpaymentsubscription.ts +101 -0
- package/src/sdk/models/operations/patchtaskcomment.ts +99 -0
- package/src/sdk/models/operations/removepaymentsubscription.ts +156 -0
- package/src/sdk/models/operations/removetaskcomment.ts +151 -0
- package/src/sdk/models/operations/updatepaymentsubscription.ts +101 -0
- package/src/sdk/models/operations/updatetaskcomment.ts +99 -0
- package/src/sdk/models/shared/accountingjournal.ts +8 -6
- package/src/sdk/models/shared/index.ts +3 -1
- package/src/sdk/models/shared/{paymentlinklineitem.ts → paymentlineitem.ts} +21 -23
- package/src/sdk/models/shared/paymentlink.ts +9 -9
- package/src/sdk/models/shared/paymentrefund.ts +8 -6
- package/src/sdk/models/shared/paymentsubscription.ts +247 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +4 -0
- package/src/sdk/models/shared/propertycrmeventemail.ts +2 -2
- package/src/sdk/models/shared/repoorganization.ts +12 -10
- package/src/sdk/models/shared/taskcomment.ts +109 -0
- package/src/sdk/models/shared/tasktask.ts +9 -0
- package/src/sdk/models/shared/ticketingnote.ts +4 -3
- package/src/sdk/models/shared/webhook.ts +2 -0
- package/src/sdk/payment.ts +90 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/subscription.ts +100 -0
- package/src/sdk/task.ts +90 -0
- package/sdk/models/shared/paymentlinklineitem.d.ts.map +0 -1
- package/sdk/models/shared/paymentlinklineitem.js.map +0 -1
|
@@ -45,6 +45,7 @@ export * from "./createpassthroughjson.js";
|
|
|
45
45
|
export * from "./createpassthroughraw.js";
|
|
46
46
|
export * from "./createpaymentlink.js";
|
|
47
47
|
export * from "./createpaymentpayment.js";
|
|
48
|
+
export * from "./createpaymentsubscription.js";
|
|
48
49
|
export * from "./createrepobranch.js";
|
|
49
50
|
export * from "./createrepocommit.js";
|
|
50
51
|
export * from "./createrepoorganization.js";
|
|
@@ -53,6 +54,7 @@ export * from "./createreporepository.js";
|
|
|
53
54
|
export * from "./createscimgroups.js";
|
|
54
55
|
export * from "./createscimusers.js";
|
|
55
56
|
export * from "./createstoragefile.js";
|
|
57
|
+
export * from "./createtaskcomment.js";
|
|
56
58
|
export * from "./createtaskproject.js";
|
|
57
59
|
export * from "./createtasktask.js";
|
|
58
60
|
export * from "./createticketingcustomer.js";
|
|
@@ -107,6 +109,7 @@ export * from "./getpaymentlink.js";
|
|
|
107
109
|
export * from "./getpaymentpayment.js";
|
|
108
110
|
export * from "./getpaymentpayout.js";
|
|
109
111
|
export * from "./getpaymentrefund.js";
|
|
112
|
+
export * from "./getpaymentsubscription.js";
|
|
110
113
|
export * from "./getrepobranch.js";
|
|
111
114
|
export * from "./getrepocommit.js";
|
|
112
115
|
export * from "./getrepoorganization.js";
|
|
@@ -115,6 +118,7 @@ export * from "./getreporepository.js";
|
|
|
115
118
|
export * from "./getscimgroups.js";
|
|
116
119
|
export * from "./getscimusers.js";
|
|
117
120
|
export * from "./getstoragefile.js";
|
|
121
|
+
export * from "./gettaskcomment.js";
|
|
118
122
|
export * from "./gettaskproject.js";
|
|
119
123
|
export * from "./gettasktask.js";
|
|
120
124
|
export * from "./getticketingcustomer.js";
|
|
@@ -178,6 +182,7 @@ export * from "./listpaymentlinks.js";
|
|
|
178
182
|
export * from "./listpaymentpayments.js";
|
|
179
183
|
export * from "./listpaymentpayouts.js";
|
|
180
184
|
export * from "./listpaymentrefunds.js";
|
|
185
|
+
export * from "./listpaymentsubscriptions.js";
|
|
181
186
|
export * from "./listrepobranches.js";
|
|
182
187
|
export * from "./listrepocommits.js";
|
|
183
188
|
export * from "./listrepoorganizations.js";
|
|
@@ -186,6 +191,7 @@ export * from "./listreporepositories.js";
|
|
|
186
191
|
export * from "./listscimgroups.js";
|
|
187
192
|
export * from "./listscimusers.js";
|
|
188
193
|
export * from "./liststoragefiles.js";
|
|
194
|
+
export * from "./listtaskcomments.js";
|
|
189
195
|
export * from "./listtaskprojects.js";
|
|
190
196
|
export * from "./listtasktasks.js";
|
|
191
197
|
export * from "./listticketingcustomers.js";
|
|
@@ -241,6 +247,7 @@ export * from "./patchpassthroughjson.js";
|
|
|
241
247
|
export * from "./patchpassthroughraw.js";
|
|
242
248
|
export * from "./patchpaymentlink.js";
|
|
243
249
|
export * from "./patchpaymentpayment.js";
|
|
250
|
+
export * from "./patchpaymentsubscription.js";
|
|
244
251
|
export * from "./patchrepobranch.js";
|
|
245
252
|
export * from "./patchrepocommit.js";
|
|
246
253
|
export * from "./patchrepoorganization.js";
|
|
@@ -249,6 +256,7 @@ export * from "./patchreporepository.js";
|
|
|
249
256
|
export * from "./patchscimgroups.js";
|
|
250
257
|
export * from "./patchscimusers.js";
|
|
251
258
|
export * from "./patchstoragefile.js";
|
|
259
|
+
export * from "./patchtaskcomment.js";
|
|
252
260
|
export * from "./patchtaskproject.js";
|
|
253
261
|
export * from "./patchtasktask.js";
|
|
254
262
|
export * from "./patchticketingcustomer.js";
|
|
@@ -299,6 +307,7 @@ export * from "./removemetadatametadata.js";
|
|
|
299
307
|
export * from "./removepassthrough.js";
|
|
300
308
|
export * from "./removepaymentlink.js";
|
|
301
309
|
export * from "./removepaymentpayment.js";
|
|
310
|
+
export * from "./removepaymentsubscription.js";
|
|
302
311
|
export * from "./removerepobranch.js";
|
|
303
312
|
export * from "./removerepocommit.js";
|
|
304
313
|
export * from "./removerepoorganization.js";
|
|
@@ -307,6 +316,7 @@ export * from "./removereporepository.js";
|
|
|
307
316
|
export * from "./removescimgroups.js";
|
|
308
317
|
export * from "./removescimusers.js";
|
|
309
318
|
export * from "./removestoragefile.js";
|
|
319
|
+
export * from "./removetaskcomment.js";
|
|
310
320
|
export * from "./removetaskproject.js";
|
|
311
321
|
export * from "./removetasktask.js";
|
|
312
322
|
export * from "./removeticketingcustomer.js";
|
|
@@ -357,6 +367,7 @@ export * from "./updatepassthroughjson.js";
|
|
|
357
367
|
export * from "./updatepassthroughraw.js";
|
|
358
368
|
export * from "./updatepaymentlink.js";
|
|
359
369
|
export * from "./updatepaymentpayment.js";
|
|
370
|
+
export * from "./updatepaymentsubscription.js";
|
|
360
371
|
export * from "./updaterepobranch.js";
|
|
361
372
|
export * from "./updaterepocommit.js";
|
|
362
373
|
export * from "./updaterepoorganization.js";
|
|
@@ -365,6 +376,7 @@ export * from "./updatereporepository.js";
|
|
|
365
376
|
export * from "./updatescimgroups.js";
|
|
366
377
|
export * from "./updatescimusers.js";
|
|
367
378
|
export * from "./updatestoragefile.js";
|
|
379
|
+
export * from "./updatetaskcomment.js";
|
|
368
380
|
export * from "./updatetaskproject.js";
|
|
369
381
|
export * from "./updatetasktask.js";
|
|
370
382
|
export * from "./updateticketingcustomer.js";
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type ListPaymentSubscriptionsRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
contactId?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Comma-delimited fields to return
|
|
19
|
+
*/
|
|
20
|
+
fields?: Array<string> | undefined;
|
|
21
|
+
limit?: number | undefined;
|
|
22
|
+
offset?: number | undefined;
|
|
23
|
+
order?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Query string to search. eg. email address or name
|
|
26
|
+
*/
|
|
27
|
+
query?: string | undefined;
|
|
28
|
+
sort?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Return only results whose updated date is equal or greater to this value
|
|
31
|
+
*/
|
|
32
|
+
updatedGte?: Date | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ListPaymentSubscriptionsRequest$inboundSchema: z.ZodType<
|
|
37
|
+
ListPaymentSubscriptionsRequest,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({
|
|
41
|
+
connection_id: z.string(),
|
|
42
|
+
contact_id: z.string().optional(),
|
|
43
|
+
fields: z.array(z.string()).optional(),
|
|
44
|
+
limit: z.number().optional(),
|
|
45
|
+
offset: z.number().optional(),
|
|
46
|
+
order: z.string().optional(),
|
|
47
|
+
query: z.string().optional(),
|
|
48
|
+
sort: z.string().optional(),
|
|
49
|
+
updated_gte: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
50
|
+
.optional(),
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
"connection_id": "connectionId",
|
|
54
|
+
"contact_id": "contactId",
|
|
55
|
+
"updated_gte": "updatedGte",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export type ListPaymentSubscriptionsRequest$Outbound = {
|
|
61
|
+
connection_id: string;
|
|
62
|
+
contact_id?: string | undefined;
|
|
63
|
+
fields?: Array<string> | undefined;
|
|
64
|
+
limit?: number | undefined;
|
|
65
|
+
offset?: number | undefined;
|
|
66
|
+
order?: string | undefined;
|
|
67
|
+
query?: string | undefined;
|
|
68
|
+
sort?: string | undefined;
|
|
69
|
+
updated_gte?: string | undefined;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const ListPaymentSubscriptionsRequest$outboundSchema: z.ZodType<
|
|
74
|
+
ListPaymentSubscriptionsRequest$Outbound,
|
|
75
|
+
z.ZodTypeDef,
|
|
76
|
+
ListPaymentSubscriptionsRequest
|
|
77
|
+
> = z.object({
|
|
78
|
+
connectionId: z.string(),
|
|
79
|
+
contactId: z.string().optional(),
|
|
80
|
+
fields: z.array(z.string()).optional(),
|
|
81
|
+
limit: z.number().optional(),
|
|
82
|
+
offset: z.number().optional(),
|
|
83
|
+
order: z.string().optional(),
|
|
84
|
+
query: z.string().optional(),
|
|
85
|
+
sort: z.string().optional(),
|
|
86
|
+
updatedGte: z.date().transform(v => v.toISOString()).optional(),
|
|
87
|
+
}).transform((v) => {
|
|
88
|
+
return remap$(v, {
|
|
89
|
+
connectionId: "connection_id",
|
|
90
|
+
contactId: "contact_id",
|
|
91
|
+
updatedGte: "updated_gte",
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
|
+
*/
|
|
99
|
+
export namespace ListPaymentSubscriptionsRequest$ {
|
|
100
|
+
/** @deprecated use `ListPaymentSubscriptionsRequest$inboundSchema` instead. */
|
|
101
|
+
export const inboundSchema = ListPaymentSubscriptionsRequest$inboundSchema;
|
|
102
|
+
/** @deprecated use `ListPaymentSubscriptionsRequest$outboundSchema` instead. */
|
|
103
|
+
export const outboundSchema = ListPaymentSubscriptionsRequest$outboundSchema;
|
|
104
|
+
/** @deprecated use `ListPaymentSubscriptionsRequest$Outbound` instead. */
|
|
105
|
+
export type Outbound = ListPaymentSubscriptionsRequest$Outbound;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function listPaymentSubscriptionsRequestToJSON(
|
|
109
|
+
listPaymentSubscriptionsRequest: ListPaymentSubscriptionsRequest,
|
|
110
|
+
): string {
|
|
111
|
+
return JSON.stringify(
|
|
112
|
+
ListPaymentSubscriptionsRequest$outboundSchema.parse(
|
|
113
|
+
listPaymentSubscriptionsRequest,
|
|
114
|
+
),
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export function listPaymentSubscriptionsRequestFromJSON(
|
|
119
|
+
jsonString: string,
|
|
120
|
+
): SafeParseResult<ListPaymentSubscriptionsRequest, SDKValidationError> {
|
|
121
|
+
return safeParse(
|
|
122
|
+
jsonString,
|
|
123
|
+
(x) => ListPaymentSubscriptionsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
124
|
+
`Failed to parse 'ListPaymentSubscriptionsRequest' from JSON`,
|
|
125
|
+
);
|
|
126
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type ListTaskCommentsRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* Comma-delimited fields to return
|
|
18
|
+
*/
|
|
19
|
+
fields?: Array<string> | undefined;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
offset?: number | undefined;
|
|
22
|
+
order?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Query string to search. eg. email address or name
|
|
25
|
+
*/
|
|
26
|
+
query?: string | undefined;
|
|
27
|
+
sort?: string | undefined;
|
|
28
|
+
taskId?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Return only results whose updated date is equal or greater to this value
|
|
31
|
+
*/
|
|
32
|
+
updatedGte?: Date | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ListTaskCommentsRequest$inboundSchema: z.ZodType<
|
|
37
|
+
ListTaskCommentsRequest,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({
|
|
41
|
+
connection_id: z.string(),
|
|
42
|
+
fields: z.array(z.string()).optional(),
|
|
43
|
+
limit: z.number().optional(),
|
|
44
|
+
offset: z.number().optional(),
|
|
45
|
+
order: z.string().optional(),
|
|
46
|
+
query: z.string().optional(),
|
|
47
|
+
sort: z.string().optional(),
|
|
48
|
+
task_id: z.string().optional(),
|
|
49
|
+
updated_gte: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
50
|
+
.optional(),
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
"connection_id": "connectionId",
|
|
54
|
+
"task_id": "taskId",
|
|
55
|
+
"updated_gte": "updatedGte",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export type ListTaskCommentsRequest$Outbound = {
|
|
61
|
+
connection_id: string;
|
|
62
|
+
fields?: Array<string> | undefined;
|
|
63
|
+
limit?: number | undefined;
|
|
64
|
+
offset?: number | undefined;
|
|
65
|
+
order?: string | undefined;
|
|
66
|
+
query?: string | undefined;
|
|
67
|
+
sort?: string | undefined;
|
|
68
|
+
task_id?: string | undefined;
|
|
69
|
+
updated_gte?: string | undefined;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const ListTaskCommentsRequest$outboundSchema: z.ZodType<
|
|
74
|
+
ListTaskCommentsRequest$Outbound,
|
|
75
|
+
z.ZodTypeDef,
|
|
76
|
+
ListTaskCommentsRequest
|
|
77
|
+
> = z.object({
|
|
78
|
+
connectionId: z.string(),
|
|
79
|
+
fields: z.array(z.string()).optional(),
|
|
80
|
+
limit: z.number().optional(),
|
|
81
|
+
offset: z.number().optional(),
|
|
82
|
+
order: z.string().optional(),
|
|
83
|
+
query: z.string().optional(),
|
|
84
|
+
sort: z.string().optional(),
|
|
85
|
+
taskId: z.string().optional(),
|
|
86
|
+
updatedGte: z.date().transform(v => v.toISOString()).optional(),
|
|
87
|
+
}).transform((v) => {
|
|
88
|
+
return remap$(v, {
|
|
89
|
+
connectionId: "connection_id",
|
|
90
|
+
taskId: "task_id",
|
|
91
|
+
updatedGte: "updated_gte",
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
|
+
*/
|
|
99
|
+
export namespace ListTaskCommentsRequest$ {
|
|
100
|
+
/** @deprecated use `ListTaskCommentsRequest$inboundSchema` instead. */
|
|
101
|
+
export const inboundSchema = ListTaskCommentsRequest$inboundSchema;
|
|
102
|
+
/** @deprecated use `ListTaskCommentsRequest$outboundSchema` instead. */
|
|
103
|
+
export const outboundSchema = ListTaskCommentsRequest$outboundSchema;
|
|
104
|
+
/** @deprecated use `ListTaskCommentsRequest$Outbound` instead. */
|
|
105
|
+
export type Outbound = ListTaskCommentsRequest$Outbound;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function listTaskCommentsRequestToJSON(
|
|
109
|
+
listTaskCommentsRequest: ListTaskCommentsRequest,
|
|
110
|
+
): string {
|
|
111
|
+
return JSON.stringify(
|
|
112
|
+
ListTaskCommentsRequest$outboundSchema.parse(listTaskCommentsRequest),
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function listTaskCommentsRequestFromJSON(
|
|
117
|
+
jsonString: string,
|
|
118
|
+
): SafeParseResult<ListTaskCommentsRequest, SDKValidationError> {
|
|
119
|
+
return safeParse(
|
|
120
|
+
jsonString,
|
|
121
|
+
(x) => ListTaskCommentsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
122
|
+
`Failed to parse 'ListTaskCommentsRequest' from JSON`,
|
|
123
|
+
);
|
|
124
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import * as shared from "../shared/index.js";
|
|
11
|
+
|
|
12
|
+
export type PatchPaymentSubscriptionRequest = {
|
|
13
|
+
paymentSubscription?: shared.PaymentSubscription | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the connection
|
|
16
|
+
*/
|
|
17
|
+
connectionId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Comma-delimited fields to return
|
|
20
|
+
*/
|
|
21
|
+
fields?: Array<string> | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the Subscription
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PatchPaymentSubscriptionRequest$inboundSchema: z.ZodType<
|
|
30
|
+
PatchPaymentSubscriptionRequest,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
PaymentSubscription: shared.PaymentSubscription$inboundSchema.optional(),
|
|
35
|
+
connection_id: z.string(),
|
|
36
|
+
fields: z.array(z.string()).optional(),
|
|
37
|
+
id: z.string(),
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return remap$(v, {
|
|
40
|
+
"PaymentSubscription": "paymentSubscription",
|
|
41
|
+
"connection_id": "connectionId",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type PatchPaymentSubscriptionRequest$Outbound = {
|
|
47
|
+
PaymentSubscription?: shared.PaymentSubscription$Outbound | undefined;
|
|
48
|
+
connection_id: string;
|
|
49
|
+
fields?: Array<string> | undefined;
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const PatchPaymentSubscriptionRequest$outboundSchema: z.ZodType<
|
|
55
|
+
PatchPaymentSubscriptionRequest$Outbound,
|
|
56
|
+
z.ZodTypeDef,
|
|
57
|
+
PatchPaymentSubscriptionRequest
|
|
58
|
+
> = z.object({
|
|
59
|
+
paymentSubscription: shared.PaymentSubscription$outboundSchema.optional(),
|
|
60
|
+
connectionId: z.string(),
|
|
61
|
+
fields: z.array(z.string()).optional(),
|
|
62
|
+
id: z.string(),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
paymentSubscription: "PaymentSubscription",
|
|
66
|
+
connectionId: "connection_id",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export namespace PatchPaymentSubscriptionRequest$ {
|
|
75
|
+
/** @deprecated use `PatchPaymentSubscriptionRequest$inboundSchema` instead. */
|
|
76
|
+
export const inboundSchema = PatchPaymentSubscriptionRequest$inboundSchema;
|
|
77
|
+
/** @deprecated use `PatchPaymentSubscriptionRequest$outboundSchema` instead. */
|
|
78
|
+
export const outboundSchema = PatchPaymentSubscriptionRequest$outboundSchema;
|
|
79
|
+
/** @deprecated use `PatchPaymentSubscriptionRequest$Outbound` instead. */
|
|
80
|
+
export type Outbound = PatchPaymentSubscriptionRequest$Outbound;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function patchPaymentSubscriptionRequestToJSON(
|
|
84
|
+
patchPaymentSubscriptionRequest: PatchPaymentSubscriptionRequest,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
PatchPaymentSubscriptionRequest$outboundSchema.parse(
|
|
88
|
+
patchPaymentSubscriptionRequest,
|
|
89
|
+
),
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function patchPaymentSubscriptionRequestFromJSON(
|
|
94
|
+
jsonString: string,
|
|
95
|
+
): SafeParseResult<PatchPaymentSubscriptionRequest, SDKValidationError> {
|
|
96
|
+
return safeParse(
|
|
97
|
+
jsonString,
|
|
98
|
+
(x) => PatchPaymentSubscriptionRequest$inboundSchema.parse(JSON.parse(x)),
|
|
99
|
+
`Failed to parse 'PatchPaymentSubscriptionRequest' from JSON`,
|
|
100
|
+
);
|
|
101
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import * as shared from "../shared/index.js";
|
|
11
|
+
|
|
12
|
+
export type PatchTaskCommentRequest = {
|
|
13
|
+
taskComment?: shared.TaskComment | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the connection
|
|
16
|
+
*/
|
|
17
|
+
connectionId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Comma-delimited fields to return
|
|
20
|
+
*/
|
|
21
|
+
fields?: Array<string> | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the Comment
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PatchTaskCommentRequest$inboundSchema: z.ZodType<
|
|
30
|
+
PatchTaskCommentRequest,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
TaskComment: shared.TaskComment$inboundSchema.optional(),
|
|
35
|
+
connection_id: z.string(),
|
|
36
|
+
fields: z.array(z.string()).optional(),
|
|
37
|
+
id: z.string(),
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return remap$(v, {
|
|
40
|
+
"TaskComment": "taskComment",
|
|
41
|
+
"connection_id": "connectionId",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type PatchTaskCommentRequest$Outbound = {
|
|
47
|
+
TaskComment?: shared.TaskComment$Outbound | undefined;
|
|
48
|
+
connection_id: string;
|
|
49
|
+
fields?: Array<string> | undefined;
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const PatchTaskCommentRequest$outboundSchema: z.ZodType<
|
|
55
|
+
PatchTaskCommentRequest$Outbound,
|
|
56
|
+
z.ZodTypeDef,
|
|
57
|
+
PatchTaskCommentRequest
|
|
58
|
+
> = z.object({
|
|
59
|
+
taskComment: shared.TaskComment$outboundSchema.optional(),
|
|
60
|
+
connectionId: z.string(),
|
|
61
|
+
fields: z.array(z.string()).optional(),
|
|
62
|
+
id: z.string(),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
taskComment: "TaskComment",
|
|
66
|
+
connectionId: "connection_id",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export namespace PatchTaskCommentRequest$ {
|
|
75
|
+
/** @deprecated use `PatchTaskCommentRequest$inboundSchema` instead. */
|
|
76
|
+
export const inboundSchema = PatchTaskCommentRequest$inboundSchema;
|
|
77
|
+
/** @deprecated use `PatchTaskCommentRequest$outboundSchema` instead. */
|
|
78
|
+
export const outboundSchema = PatchTaskCommentRequest$outboundSchema;
|
|
79
|
+
/** @deprecated use `PatchTaskCommentRequest$Outbound` instead. */
|
|
80
|
+
export type Outbound = PatchTaskCommentRequest$Outbound;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function patchTaskCommentRequestToJSON(
|
|
84
|
+
patchTaskCommentRequest: PatchTaskCommentRequest,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
PatchTaskCommentRequest$outboundSchema.parse(patchTaskCommentRequest),
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function patchTaskCommentRequestFromJSON(
|
|
92
|
+
jsonString: string,
|
|
93
|
+
): SafeParseResult<PatchTaskCommentRequest, SDKValidationError> {
|
|
94
|
+
return safeParse(
|
|
95
|
+
jsonString,
|
|
96
|
+
(x) => PatchTaskCommentRequest$inboundSchema.parse(JSON.parse(x)),
|
|
97
|
+
`Failed to parse 'PatchTaskCommentRequest' from JSON`,
|
|
98
|
+
);
|
|
99
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RemovePaymentSubscriptionRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the Subscription
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type RemovePaymentSubscriptionResponse = {
|
|
23
|
+
headers: { [k: string]: Array<string> };
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const RemovePaymentSubscriptionRequest$inboundSchema: z.ZodType<
|
|
28
|
+
RemovePaymentSubscriptionRequest,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
unknown
|
|
31
|
+
> = z.object({
|
|
32
|
+
connection_id: z.string(),
|
|
33
|
+
id: z.string(),
|
|
34
|
+
}).transform((v) => {
|
|
35
|
+
return remap$(v, {
|
|
36
|
+
"connection_id": "connectionId",
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type RemovePaymentSubscriptionRequest$Outbound = {
|
|
42
|
+
connection_id: string;
|
|
43
|
+
id: string;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const RemovePaymentSubscriptionRequest$outboundSchema: z.ZodType<
|
|
48
|
+
RemovePaymentSubscriptionRequest$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
RemovePaymentSubscriptionRequest
|
|
51
|
+
> = z.object({
|
|
52
|
+
connectionId: z.string(),
|
|
53
|
+
id: z.string(),
|
|
54
|
+
}).transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
connectionId: "connection_id",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export namespace RemovePaymentSubscriptionRequest$ {
|
|
65
|
+
/** @deprecated use `RemovePaymentSubscriptionRequest$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema = RemovePaymentSubscriptionRequest$inboundSchema;
|
|
67
|
+
/** @deprecated use `RemovePaymentSubscriptionRequest$outboundSchema` instead. */
|
|
68
|
+
export const outboundSchema = RemovePaymentSubscriptionRequest$outboundSchema;
|
|
69
|
+
/** @deprecated use `RemovePaymentSubscriptionRequest$Outbound` instead. */
|
|
70
|
+
export type Outbound = RemovePaymentSubscriptionRequest$Outbound;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function removePaymentSubscriptionRequestToJSON(
|
|
74
|
+
removePaymentSubscriptionRequest: RemovePaymentSubscriptionRequest,
|
|
75
|
+
): string {
|
|
76
|
+
return JSON.stringify(
|
|
77
|
+
RemovePaymentSubscriptionRequest$outboundSchema.parse(
|
|
78
|
+
removePaymentSubscriptionRequest,
|
|
79
|
+
),
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function removePaymentSubscriptionRequestFromJSON(
|
|
84
|
+
jsonString: string,
|
|
85
|
+
): SafeParseResult<RemovePaymentSubscriptionRequest, SDKValidationError> {
|
|
86
|
+
return safeParse(
|
|
87
|
+
jsonString,
|
|
88
|
+
(x) => RemovePaymentSubscriptionRequest$inboundSchema.parse(JSON.parse(x)),
|
|
89
|
+
`Failed to parse 'RemovePaymentSubscriptionRequest' from JSON`,
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/** @internal */
|
|
94
|
+
export const RemovePaymentSubscriptionResponse$inboundSchema: z.ZodType<
|
|
95
|
+
RemovePaymentSubscriptionResponse,
|
|
96
|
+
z.ZodTypeDef,
|
|
97
|
+
unknown
|
|
98
|
+
> = z.object({
|
|
99
|
+
Headers: z.record(z.array(z.string())),
|
|
100
|
+
}).transform((v) => {
|
|
101
|
+
return remap$(v, {
|
|
102
|
+
"Headers": "headers",
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
/** @internal */
|
|
107
|
+
export type RemovePaymentSubscriptionResponse$Outbound = {
|
|
108
|
+
Headers: { [k: string]: Array<string> };
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/** @internal */
|
|
112
|
+
export const RemovePaymentSubscriptionResponse$outboundSchema: z.ZodType<
|
|
113
|
+
RemovePaymentSubscriptionResponse$Outbound,
|
|
114
|
+
z.ZodTypeDef,
|
|
115
|
+
RemovePaymentSubscriptionResponse
|
|
116
|
+
> = z.object({
|
|
117
|
+
headers: z.record(z.array(z.string())),
|
|
118
|
+
}).transform((v) => {
|
|
119
|
+
return remap$(v, {
|
|
120
|
+
headers: "Headers",
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
+
*/
|
|
128
|
+
export namespace RemovePaymentSubscriptionResponse$ {
|
|
129
|
+
/** @deprecated use `RemovePaymentSubscriptionResponse$inboundSchema` instead. */
|
|
130
|
+
export const inboundSchema = RemovePaymentSubscriptionResponse$inboundSchema;
|
|
131
|
+
/** @deprecated use `RemovePaymentSubscriptionResponse$outboundSchema` instead. */
|
|
132
|
+
export const outboundSchema =
|
|
133
|
+
RemovePaymentSubscriptionResponse$outboundSchema;
|
|
134
|
+
/** @deprecated use `RemovePaymentSubscriptionResponse$Outbound` instead. */
|
|
135
|
+
export type Outbound = RemovePaymentSubscriptionResponse$Outbound;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function removePaymentSubscriptionResponseToJSON(
|
|
139
|
+
removePaymentSubscriptionResponse: RemovePaymentSubscriptionResponse,
|
|
140
|
+
): string {
|
|
141
|
+
return JSON.stringify(
|
|
142
|
+
RemovePaymentSubscriptionResponse$outboundSchema.parse(
|
|
143
|
+
removePaymentSubscriptionResponse,
|
|
144
|
+
),
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export function removePaymentSubscriptionResponseFromJSON(
|
|
149
|
+
jsonString: string,
|
|
150
|
+
): SafeParseResult<RemovePaymentSubscriptionResponse, SDKValidationError> {
|
|
151
|
+
return safeParse(
|
|
152
|
+
jsonString,
|
|
153
|
+
(x) => RemovePaymentSubscriptionResponse$inboundSchema.parse(JSON.parse(x)),
|
|
154
|
+
`Failed to parse 'RemovePaymentSubscriptionResponse' from JSON`,
|
|
155
|
+
);
|
|
156
|
+
}
|