@unified-api/typescript-sdk 2.72.0 → 2.72.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.
- package/FUNCTIONS.md +5 -22
- package/README.md +28 -47
- package/bin/mcp-server.js +60 -15
- package/bin/mcp-server.js.map +24 -24
- package/docs/sdks/account/README.md +30 -54
- package/docs/sdks/accounting/README.md +230 -414
- package/docs/sdks/activity/README.md +30 -54
- package/docs/sdks/apicall/README.md +10 -18
- package/docs/sdks/application/README.md +30 -54
- package/docs/sdks/applicationstatus/README.md +5 -9
- package/docs/sdks/ats/README.md +225 -405
- package/docs/sdks/auth/README.md +10 -18
- package/docs/sdks/branch/README.md +30 -54
- package/docs/sdks/busy/README.md +5 -9
- package/docs/sdks/calendar/README.md +105 -189
- package/docs/sdks/call/README.md +5 -9
- package/docs/sdks/candidate/README.md +30 -54
- package/docs/sdks/channel/README.md +10 -18
- package/docs/sdks/class/README.md +30 -54
- package/docs/sdks/collection/README.md +30 -54
- package/docs/sdks/comment/README.md +90 -162
- package/docs/sdks/commerce/README.md +150 -270
- package/docs/sdks/commit/README.md +30 -54
- package/docs/sdks/company/README.md +75 -135
- package/docs/sdks/connection/README.md +30 -54
- package/docs/sdks/contact/README.md +90 -162
- package/docs/sdks/course/README.md +30 -54
- package/docs/sdks/crm/README.md +180 -324
- package/docs/sdks/customer/README.md +30 -54
- package/docs/sdks/deal/README.md +30 -54
- package/docs/sdks/device/README.md +30 -54
- package/docs/sdks/document/README.md +30 -54
- package/docs/sdks/employee/README.md +30 -54
- package/docs/sdks/enrich/README.md +10 -18
- package/docs/sdks/event/README.md +60 -108
- package/docs/sdks/file/README.md +30 -54
- package/docs/sdks/genai/README.md +10 -18
- package/docs/sdks/group/README.md +60 -108
- package/docs/sdks/hris/README.md +200 -360
- package/docs/sdks/instructor/README.md +30 -54
- package/docs/sdks/integration/README.md +15 -27
- package/docs/sdks/interview/README.md +30 -54
- package/docs/sdks/inventory/README.md +30 -54
- package/docs/sdks/invoice/README.md +30 -54
- package/docs/sdks/issue/README.md +5 -9
- package/docs/sdks/item/README.md +30 -54
- package/docs/sdks/job/README.md +30 -54
- package/docs/sdks/journal/README.md +30 -54
- package/docs/sdks/kms/README.md +90 -162
- package/docs/sdks/lead/README.md +30 -54
- package/docs/sdks/link/README.md +60 -108
- package/docs/sdks/list/README.md +30 -54
- package/docs/sdks/lms/README.md +120 -216
- package/docs/sdks/location/README.md +60 -108
- package/docs/sdks/login/README.md +5 -9
- package/docs/sdks/martech/README.md +60 -108
- package/docs/sdks/member/README.md +30 -54
- package/docs/sdks/message/README.md +30 -54
- package/docs/sdks/messaging/README.md +40 -72
- package/docs/sdks/metadata/README.md +30 -54
- package/docs/sdks/model/README.md +5 -9
- package/docs/sdks/note/README.md +30 -54
- package/docs/sdks/order/README.md +30 -54
- package/docs/sdks/organization/README.md +40 -72
- package/docs/sdks/page/README.md +30 -54
- package/docs/sdks/passthrough/README.md +40 -72
- package/docs/sdks/payment/README.md +110 -198
- package/docs/sdks/payout/README.md +10 -18
- package/docs/sdks/payslip/README.md +10 -18
- package/docs/sdks/person/README.md +5 -9
- package/docs/sdks/pipeline/README.md +30 -54
- package/docs/sdks/project/README.md +30 -54
- package/docs/sdks/prompt/README.md +5 -9
- package/docs/sdks/pullrequest/README.md +30 -54
- package/docs/sdks/recording/README.md +40 -72
- package/docs/sdks/refund/README.md +10 -18
- package/docs/sdks/repo/README.md +150 -270
- package/docs/sdks/report/README.md +10 -18
- package/docs/sdks/repository/README.md +30 -54
- package/docs/sdks/review/README.md +30 -54
- package/docs/sdks/scim/README.md +60 -108
- package/docs/sdks/scorecard/README.md +30 -54
- package/docs/sdks/space/README.md +30 -54
- package/docs/sdks/storage/README.md +30 -54
- package/docs/sdks/student/README.md +30 -54
- package/docs/sdks/subscription/README.md +30 -54
- package/docs/sdks/task/README.md +90 -162
- package/docs/sdks/taxrate/README.md +30 -54
- package/docs/sdks/ticket/README.md +30 -54
- package/docs/sdks/ticketing/README.md +90 -162
- package/docs/sdks/timeoff/README.md +10 -18
- package/docs/sdks/timeshift/README.md +30 -54
- package/docs/sdks/transaction/README.md +30 -54
- package/docs/sdks/uc/README.md +95 -171
- package/docs/sdks/unified/README.md +100 -180
- package/docs/sdks/user/README.md +30 -54
- package/docs/sdks/webhook/README.md +40 -72
- package/funcs/applicationListAtsApplications.js +1 -0
- package/funcs/applicationListAtsApplications.js.map +1 -1
- package/funcs/atsListAtsApplications.js +1 -0
- package/funcs/atsListAtsApplications.js.map +1 -1
- package/funcs/atsListAtsCandidates.js +1 -0
- package/funcs/atsListAtsCandidates.js.map +1 -1
- package/funcs/atsListAtsJobs.js +1 -0
- package/funcs/atsListAtsJobs.js.map +1 -1
- package/funcs/busyListCalendarBusies.js +1 -0
- package/funcs/busyListCalendarBusies.js.map +1 -1
- package/funcs/calendarListCalendarBusies.js +1 -0
- package/funcs/calendarListCalendarBusies.js.map +1 -1
- package/funcs/candidateListAtsCandidates.js +1 -0
- package/funcs/candidateListAtsCandidates.js.map +1 -1
- package/funcs/hrisListHrisLocations.js +1 -0
- package/funcs/hrisListHrisLocations.js.map +1 -1
- package/funcs/jobListAtsJobs.js +1 -0
- package/funcs/jobListAtsJobs.js.map +1 -1
- package/funcs/locationListHrisLocations.js +1 -0
- package/funcs/locationListHrisLocations.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/package.json +1 -1
- package/sdk/models/errors/sdkerror.d.ts +14 -2
- package/sdk/models/errors/sdkerror.d.ts.map +1 -1
- package/sdk/models/errors/sdkerror.js +1 -1
- package/sdk/models/errors/sdkerror.js.map +1 -1
- package/sdk/models/operations/listatsapplications.d.ts +5 -0
- package/sdk/models/operations/listatsapplications.d.ts.map +1 -1
- package/sdk/models/operations/listatsapplications.js +4 -0
- package/sdk/models/operations/listatsapplications.js.map +1 -1
- package/sdk/models/operations/listatscandidates.d.ts +5 -0
- package/sdk/models/operations/listatscandidates.d.ts.map +1 -1
- package/sdk/models/operations/listatscandidates.js +4 -0
- package/sdk/models/operations/listatscandidates.js.map +1 -1
- package/sdk/models/operations/listatsjobs.d.ts +5 -0
- package/sdk/models/operations/listatsjobs.d.ts.map +1 -1
- package/sdk/models/operations/listatsjobs.js +4 -0
- package/sdk/models/operations/listatsjobs.js.map +1 -1
- package/sdk/models/operations/listcalendarbusies.d.ts +5 -0
- package/sdk/models/operations/listcalendarbusies.d.ts.map +1 -1
- package/sdk/models/operations/listcalendarbusies.js +4 -0
- package/sdk/models/operations/listcalendarbusies.js.map +1 -1
- package/sdk/models/operations/listhrislocations.d.ts +5 -0
- package/sdk/models/operations/listhrislocations.d.ts.map +1 -1
- package/sdk/models/operations/listhrislocations.js +4 -0
- package/sdk/models/operations/listhrislocations.js.map +1 -1
- package/sdk/models/shared/accountingaccount.d.ts +2 -0
- package/sdk/models/shared/accountingaccount.d.ts.map +1 -1
- package/sdk/models/shared/accountingaccount.js +4 -0
- package/sdk/models/shared/accountingaccount.js.map +1 -1
- package/sdk/models/shared/commercelocation.d.ts +6 -0
- package/sdk/models/shared/commercelocation.d.ts.map +1 -1
- package/sdk/models/shared/commercelocation.js +10 -0
- package/sdk/models/shared/commercelocation.js.map +1 -1
- package/sdk/models/shared/webhook.d.ts +3 -0
- package/sdk/models/shared/webhook.d.ts.map +1 -1
- package/sdk/models/shared/webhook.js +1 -0
- package/sdk/models/shared/webhook.js.map +1 -1
- package/src/funcs/applicationListAtsApplications.ts +1 -0
- package/src/funcs/atsListAtsApplications.ts +1 -0
- package/src/funcs/atsListAtsCandidates.ts +1 -0
- package/src/funcs/atsListAtsJobs.ts +1 -0
- package/src/funcs/busyListCalendarBusies.ts +1 -0
- package/src/funcs/calendarListCalendarBusies.ts +1 -0
- package/src/funcs/candidateListAtsCandidates.ts +1 -0
- package/src/funcs/hrisListHrisLocations.ts +1 -0
- package/src/funcs/jobListAtsJobs.ts +1 -0
- package/src/funcs/locationListHrisLocations.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/sdk/models/errors/sdkerror.ts +18 -3
- package/src/sdk/models/operations/listatsapplications.ts +9 -0
- package/src/sdk/models/operations/listatscandidates.ts +9 -0
- package/src/sdk/models/operations/listatsjobs.ts +9 -0
- package/src/sdk/models/operations/listcalendarbusies.ts +9 -0
- package/src/sdk/models/operations/listhrislocations.ts +9 -0
- package/src/sdk/models/shared/accountingaccount.ts +6 -0
- package/src/sdk/models/shared/commercelocation.ts +16 -0
- package/src/sdk/models/shared/webhook.ts +1 -0
|
@@ -49,7 +49,6 @@ async function run() {
|
|
|
49
49
|
connectionId: "<id>",
|
|
50
50
|
});
|
|
51
51
|
|
|
52
|
-
// Handle the result
|
|
53
52
|
console.log(result);
|
|
54
53
|
}
|
|
55
54
|
|
|
@@ -77,15 +76,12 @@ async function run() {
|
|
|
77
76
|
paymentLink: {},
|
|
78
77
|
connectionId: "<id>",
|
|
79
78
|
});
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
if (res.ok) {
|
|
80
|
+
const { value: result } = res;
|
|
81
|
+
console.log(result);
|
|
82
|
+
} else {
|
|
83
|
+
console.log("paymentCreatePaymentLink failed:", res.error);
|
|
83
84
|
}
|
|
84
|
-
|
|
85
|
-
const { value: result } = res;
|
|
86
|
-
|
|
87
|
-
// Handle the result
|
|
88
|
-
console.log(result);
|
|
89
85
|
}
|
|
90
86
|
|
|
91
87
|
run();
|
|
@@ -131,7 +127,6 @@ async function run() {
|
|
|
131
127
|
connectionId: "<id>",
|
|
132
128
|
});
|
|
133
129
|
|
|
134
|
-
// Handle the result
|
|
135
130
|
console.log(result);
|
|
136
131
|
}
|
|
137
132
|
|
|
@@ -159,15 +154,12 @@ async function run() {
|
|
|
159
154
|
paymentPayment: {},
|
|
160
155
|
connectionId: "<id>",
|
|
161
156
|
});
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
157
|
+
if (res.ok) {
|
|
158
|
+
const { value: result } = res;
|
|
159
|
+
console.log(result);
|
|
160
|
+
} else {
|
|
161
|
+
console.log("paymentCreatePaymentPayment failed:", res.error);
|
|
165
162
|
}
|
|
166
|
-
|
|
167
|
-
const { value: result } = res;
|
|
168
|
-
|
|
169
|
-
// Handle the result
|
|
170
|
-
console.log(result);
|
|
171
163
|
}
|
|
172
164
|
|
|
173
165
|
run();
|
|
@@ -213,7 +205,6 @@ async function run() {
|
|
|
213
205
|
connectionId: "<id>",
|
|
214
206
|
});
|
|
215
207
|
|
|
216
|
-
// Handle the result
|
|
217
208
|
console.log(result);
|
|
218
209
|
}
|
|
219
210
|
|
|
@@ -241,15 +232,12 @@ async function run() {
|
|
|
241
232
|
paymentSubscription: {},
|
|
242
233
|
connectionId: "<id>",
|
|
243
234
|
});
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
235
|
+
if (res.ok) {
|
|
236
|
+
const { value: result } = res;
|
|
237
|
+
console.log(result);
|
|
238
|
+
} else {
|
|
239
|
+
console.log("paymentCreatePaymentSubscription failed:", res.error);
|
|
247
240
|
}
|
|
248
|
-
|
|
249
|
-
const { value: result } = res;
|
|
250
|
-
|
|
251
|
-
// Handle the result
|
|
252
|
-
console.log(result);
|
|
253
241
|
}
|
|
254
242
|
|
|
255
243
|
run();
|
|
@@ -295,7 +283,6 @@ async function run() {
|
|
|
295
283
|
id: "<id>",
|
|
296
284
|
});
|
|
297
285
|
|
|
298
|
-
// Handle the result
|
|
299
286
|
console.log(result);
|
|
300
287
|
}
|
|
301
288
|
|
|
@@ -323,15 +310,12 @@ async function run() {
|
|
|
323
310
|
connectionId: "<id>",
|
|
324
311
|
id: "<id>",
|
|
325
312
|
});
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
313
|
+
if (res.ok) {
|
|
314
|
+
const { value: result } = res;
|
|
315
|
+
console.log(result);
|
|
316
|
+
} else {
|
|
317
|
+
console.log("paymentGetPaymentLink failed:", res.error);
|
|
329
318
|
}
|
|
330
|
-
|
|
331
|
-
const { value: result } = res;
|
|
332
|
-
|
|
333
|
-
// Handle the result
|
|
334
|
-
console.log(result);
|
|
335
319
|
}
|
|
336
320
|
|
|
337
321
|
run();
|
|
@@ -377,7 +361,6 @@ async function run() {
|
|
|
377
361
|
id: "<id>",
|
|
378
362
|
});
|
|
379
363
|
|
|
380
|
-
// Handle the result
|
|
381
364
|
console.log(result);
|
|
382
365
|
}
|
|
383
366
|
|
|
@@ -405,15 +388,12 @@ async function run() {
|
|
|
405
388
|
connectionId: "<id>",
|
|
406
389
|
id: "<id>",
|
|
407
390
|
});
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
391
|
+
if (res.ok) {
|
|
392
|
+
const { value: result } = res;
|
|
393
|
+
console.log(result);
|
|
394
|
+
} else {
|
|
395
|
+
console.log("paymentGetPaymentPayment failed:", res.error);
|
|
411
396
|
}
|
|
412
|
-
|
|
413
|
-
const { value: result } = res;
|
|
414
|
-
|
|
415
|
-
// Handle the result
|
|
416
|
-
console.log(result);
|
|
417
397
|
}
|
|
418
398
|
|
|
419
399
|
run();
|
|
@@ -459,7 +439,6 @@ async function run() {
|
|
|
459
439
|
id: "<id>",
|
|
460
440
|
});
|
|
461
441
|
|
|
462
|
-
// Handle the result
|
|
463
442
|
console.log(result);
|
|
464
443
|
}
|
|
465
444
|
|
|
@@ -487,15 +466,12 @@ async function run() {
|
|
|
487
466
|
connectionId: "<id>",
|
|
488
467
|
id: "<id>",
|
|
489
468
|
});
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
469
|
+
if (res.ok) {
|
|
470
|
+
const { value: result } = res;
|
|
471
|
+
console.log(result);
|
|
472
|
+
} else {
|
|
473
|
+
console.log("paymentGetPaymentPayout failed:", res.error);
|
|
493
474
|
}
|
|
494
|
-
|
|
495
|
-
const { value: result } = res;
|
|
496
|
-
|
|
497
|
-
// Handle the result
|
|
498
|
-
console.log(result);
|
|
499
475
|
}
|
|
500
476
|
|
|
501
477
|
run();
|
|
@@ -541,7 +517,6 @@ async function run() {
|
|
|
541
517
|
id: "<id>",
|
|
542
518
|
});
|
|
543
519
|
|
|
544
|
-
// Handle the result
|
|
545
520
|
console.log(result);
|
|
546
521
|
}
|
|
547
522
|
|
|
@@ -569,15 +544,12 @@ async function run() {
|
|
|
569
544
|
connectionId: "<id>",
|
|
570
545
|
id: "<id>",
|
|
571
546
|
});
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
547
|
+
if (res.ok) {
|
|
548
|
+
const { value: result } = res;
|
|
549
|
+
console.log(result);
|
|
550
|
+
} else {
|
|
551
|
+
console.log("paymentGetPaymentRefund failed:", res.error);
|
|
575
552
|
}
|
|
576
|
-
|
|
577
|
-
const { value: result } = res;
|
|
578
|
-
|
|
579
|
-
// Handle the result
|
|
580
|
-
console.log(result);
|
|
581
553
|
}
|
|
582
554
|
|
|
583
555
|
run();
|
|
@@ -623,7 +595,6 @@ async function run() {
|
|
|
623
595
|
id: "<id>",
|
|
624
596
|
});
|
|
625
597
|
|
|
626
|
-
// Handle the result
|
|
627
598
|
console.log(result);
|
|
628
599
|
}
|
|
629
600
|
|
|
@@ -651,15 +622,12 @@ async function run() {
|
|
|
651
622
|
connectionId: "<id>",
|
|
652
623
|
id: "<id>",
|
|
653
624
|
});
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
625
|
+
if (res.ok) {
|
|
626
|
+
const { value: result } = res;
|
|
627
|
+
console.log(result);
|
|
628
|
+
} else {
|
|
629
|
+
console.log("paymentGetPaymentSubscription failed:", res.error);
|
|
657
630
|
}
|
|
658
|
-
|
|
659
|
-
const { value: result } = res;
|
|
660
|
-
|
|
661
|
-
// Handle the result
|
|
662
|
-
console.log(result);
|
|
663
631
|
}
|
|
664
632
|
|
|
665
633
|
run();
|
|
@@ -704,7 +672,6 @@ async function run() {
|
|
|
704
672
|
connectionId: "<id>",
|
|
705
673
|
});
|
|
706
674
|
|
|
707
|
-
// Handle the result
|
|
708
675
|
console.log(result);
|
|
709
676
|
}
|
|
710
677
|
|
|
@@ -731,15 +698,12 @@ async function run() {
|
|
|
731
698
|
const res = await paymentListPaymentLinks(unifiedTo, {
|
|
732
699
|
connectionId: "<id>",
|
|
733
700
|
});
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
701
|
+
if (res.ok) {
|
|
702
|
+
const { value: result } = res;
|
|
703
|
+
console.log(result);
|
|
704
|
+
} else {
|
|
705
|
+
console.log("paymentListPaymentLinks failed:", res.error);
|
|
737
706
|
}
|
|
738
|
-
|
|
739
|
-
const { value: result } = res;
|
|
740
|
-
|
|
741
|
-
// Handle the result
|
|
742
|
-
console.log(result);
|
|
743
707
|
}
|
|
744
708
|
|
|
745
709
|
run();
|
|
@@ -784,7 +748,6 @@ async function run() {
|
|
|
784
748
|
connectionId: "<id>",
|
|
785
749
|
});
|
|
786
750
|
|
|
787
|
-
// Handle the result
|
|
788
751
|
console.log(result);
|
|
789
752
|
}
|
|
790
753
|
|
|
@@ -811,15 +774,12 @@ async function run() {
|
|
|
811
774
|
const res = await paymentListPaymentPayments(unifiedTo, {
|
|
812
775
|
connectionId: "<id>",
|
|
813
776
|
});
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
777
|
+
if (res.ok) {
|
|
778
|
+
const { value: result } = res;
|
|
779
|
+
console.log(result);
|
|
780
|
+
} else {
|
|
781
|
+
console.log("paymentListPaymentPayments failed:", res.error);
|
|
817
782
|
}
|
|
818
|
-
|
|
819
|
-
const { value: result } = res;
|
|
820
|
-
|
|
821
|
-
// Handle the result
|
|
822
|
-
console.log(result);
|
|
823
783
|
}
|
|
824
784
|
|
|
825
785
|
run();
|
|
@@ -864,7 +824,6 @@ async function run() {
|
|
|
864
824
|
connectionId: "<id>",
|
|
865
825
|
});
|
|
866
826
|
|
|
867
|
-
// Handle the result
|
|
868
827
|
console.log(result);
|
|
869
828
|
}
|
|
870
829
|
|
|
@@ -891,15 +850,12 @@ async function run() {
|
|
|
891
850
|
const res = await paymentListPaymentPayouts(unifiedTo, {
|
|
892
851
|
connectionId: "<id>",
|
|
893
852
|
});
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
853
|
+
if (res.ok) {
|
|
854
|
+
const { value: result } = res;
|
|
855
|
+
console.log(result);
|
|
856
|
+
} else {
|
|
857
|
+
console.log("paymentListPaymentPayouts failed:", res.error);
|
|
897
858
|
}
|
|
898
|
-
|
|
899
|
-
const { value: result } = res;
|
|
900
|
-
|
|
901
|
-
// Handle the result
|
|
902
|
-
console.log(result);
|
|
903
859
|
}
|
|
904
860
|
|
|
905
861
|
run();
|
|
@@ -944,7 +900,6 @@ async function run() {
|
|
|
944
900
|
connectionId: "<id>",
|
|
945
901
|
});
|
|
946
902
|
|
|
947
|
-
// Handle the result
|
|
948
903
|
console.log(result);
|
|
949
904
|
}
|
|
950
905
|
|
|
@@ -971,15 +926,12 @@ async function run() {
|
|
|
971
926
|
const res = await paymentListPaymentRefunds(unifiedTo, {
|
|
972
927
|
connectionId: "<id>",
|
|
973
928
|
});
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
929
|
+
if (res.ok) {
|
|
930
|
+
const { value: result } = res;
|
|
931
|
+
console.log(result);
|
|
932
|
+
} else {
|
|
933
|
+
console.log("paymentListPaymentRefunds failed:", res.error);
|
|
977
934
|
}
|
|
978
|
-
|
|
979
|
-
const { value: result } = res;
|
|
980
|
-
|
|
981
|
-
// Handle the result
|
|
982
|
-
console.log(result);
|
|
983
935
|
}
|
|
984
936
|
|
|
985
937
|
run();
|
|
@@ -1024,7 +976,6 @@ async function run() {
|
|
|
1024
976
|
connectionId: "<id>",
|
|
1025
977
|
});
|
|
1026
978
|
|
|
1027
|
-
// Handle the result
|
|
1028
979
|
console.log(result);
|
|
1029
980
|
}
|
|
1030
981
|
|
|
@@ -1051,15 +1002,12 @@ async function run() {
|
|
|
1051
1002
|
const res = await paymentListPaymentSubscriptions(unifiedTo, {
|
|
1052
1003
|
connectionId: "<id>",
|
|
1053
1004
|
});
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1005
|
+
if (res.ok) {
|
|
1006
|
+
const { value: result } = res;
|
|
1007
|
+
console.log(result);
|
|
1008
|
+
} else {
|
|
1009
|
+
console.log("paymentListPaymentSubscriptions failed:", res.error);
|
|
1057
1010
|
}
|
|
1058
|
-
|
|
1059
|
-
const { value: result } = res;
|
|
1060
|
-
|
|
1061
|
-
// Handle the result
|
|
1062
|
-
console.log(result);
|
|
1063
1011
|
}
|
|
1064
1012
|
|
|
1065
1013
|
run();
|
|
@@ -1106,7 +1054,6 @@ async function run() {
|
|
|
1106
1054
|
id: "<id>",
|
|
1107
1055
|
});
|
|
1108
1056
|
|
|
1109
|
-
// Handle the result
|
|
1110
1057
|
console.log(result);
|
|
1111
1058
|
}
|
|
1112
1059
|
|
|
@@ -1135,15 +1082,12 @@ async function run() {
|
|
|
1135
1082
|
connectionId: "<id>",
|
|
1136
1083
|
id: "<id>",
|
|
1137
1084
|
});
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1085
|
+
if (res.ok) {
|
|
1086
|
+
const { value: result } = res;
|
|
1087
|
+
console.log(result);
|
|
1088
|
+
} else {
|
|
1089
|
+
console.log("paymentPatchPaymentLink failed:", res.error);
|
|
1141
1090
|
}
|
|
1142
|
-
|
|
1143
|
-
const { value: result } = res;
|
|
1144
|
-
|
|
1145
|
-
// Handle the result
|
|
1146
|
-
console.log(result);
|
|
1147
1091
|
}
|
|
1148
1092
|
|
|
1149
1093
|
run();
|
|
@@ -1190,7 +1134,6 @@ async function run() {
|
|
|
1190
1134
|
id: "<id>",
|
|
1191
1135
|
});
|
|
1192
1136
|
|
|
1193
|
-
// Handle the result
|
|
1194
1137
|
console.log(result);
|
|
1195
1138
|
}
|
|
1196
1139
|
|
|
@@ -1219,15 +1162,12 @@ async function run() {
|
|
|
1219
1162
|
connectionId: "<id>",
|
|
1220
1163
|
id: "<id>",
|
|
1221
1164
|
});
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1165
|
+
if (res.ok) {
|
|
1166
|
+
const { value: result } = res;
|
|
1167
|
+
console.log(result);
|
|
1168
|
+
} else {
|
|
1169
|
+
console.log("paymentPatchPaymentPayment failed:", res.error);
|
|
1225
1170
|
}
|
|
1226
|
-
|
|
1227
|
-
const { value: result } = res;
|
|
1228
|
-
|
|
1229
|
-
// Handle the result
|
|
1230
|
-
console.log(result);
|
|
1231
1171
|
}
|
|
1232
1172
|
|
|
1233
1173
|
run();
|
|
@@ -1274,7 +1214,6 @@ async function run() {
|
|
|
1274
1214
|
id: "<id>",
|
|
1275
1215
|
});
|
|
1276
1216
|
|
|
1277
|
-
// Handle the result
|
|
1278
1217
|
console.log(result);
|
|
1279
1218
|
}
|
|
1280
1219
|
|
|
@@ -1303,15 +1242,12 @@ async function run() {
|
|
|
1303
1242
|
connectionId: "<id>",
|
|
1304
1243
|
id: "<id>",
|
|
1305
1244
|
});
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1245
|
+
if (res.ok) {
|
|
1246
|
+
const { value: result } = res;
|
|
1247
|
+
console.log(result);
|
|
1248
|
+
} else {
|
|
1249
|
+
console.log("paymentPatchPaymentSubscription failed:", res.error);
|
|
1309
1250
|
}
|
|
1310
|
-
|
|
1311
|
-
const { value: result } = res;
|
|
1312
|
-
|
|
1313
|
-
// Handle the result
|
|
1314
|
-
console.log(result);
|
|
1315
1251
|
}
|
|
1316
1252
|
|
|
1317
1253
|
run();
|
|
@@ -1357,7 +1293,6 @@ async function run() {
|
|
|
1357
1293
|
id: "<id>",
|
|
1358
1294
|
});
|
|
1359
1295
|
|
|
1360
|
-
// Handle the result
|
|
1361
1296
|
console.log(result);
|
|
1362
1297
|
}
|
|
1363
1298
|
|
|
@@ -1385,15 +1320,12 @@ async function run() {
|
|
|
1385
1320
|
connectionId: "<id>",
|
|
1386
1321
|
id: "<id>",
|
|
1387
1322
|
});
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1323
|
+
if (res.ok) {
|
|
1324
|
+
const { value: result } = res;
|
|
1325
|
+
console.log(result);
|
|
1326
|
+
} else {
|
|
1327
|
+
console.log("paymentRemovePaymentLink failed:", res.error);
|
|
1391
1328
|
}
|
|
1392
|
-
|
|
1393
|
-
const { value: result } = res;
|
|
1394
|
-
|
|
1395
|
-
// Handle the result
|
|
1396
|
-
console.log(result);
|
|
1397
1329
|
}
|
|
1398
1330
|
|
|
1399
1331
|
run();
|
|
@@ -1439,7 +1371,6 @@ async function run() {
|
|
|
1439
1371
|
id: "<id>",
|
|
1440
1372
|
});
|
|
1441
1373
|
|
|
1442
|
-
// Handle the result
|
|
1443
1374
|
console.log(result);
|
|
1444
1375
|
}
|
|
1445
1376
|
|
|
@@ -1467,15 +1398,12 @@ async function run() {
|
|
|
1467
1398
|
connectionId: "<id>",
|
|
1468
1399
|
id: "<id>",
|
|
1469
1400
|
});
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1401
|
+
if (res.ok) {
|
|
1402
|
+
const { value: result } = res;
|
|
1403
|
+
console.log(result);
|
|
1404
|
+
} else {
|
|
1405
|
+
console.log("paymentRemovePaymentPayment failed:", res.error);
|
|
1473
1406
|
}
|
|
1474
|
-
|
|
1475
|
-
const { value: result } = res;
|
|
1476
|
-
|
|
1477
|
-
// Handle the result
|
|
1478
|
-
console.log(result);
|
|
1479
1407
|
}
|
|
1480
1408
|
|
|
1481
1409
|
run();
|
|
@@ -1521,7 +1449,6 @@ async function run() {
|
|
|
1521
1449
|
id: "<id>",
|
|
1522
1450
|
});
|
|
1523
1451
|
|
|
1524
|
-
// Handle the result
|
|
1525
1452
|
console.log(result);
|
|
1526
1453
|
}
|
|
1527
1454
|
|
|
@@ -1549,15 +1476,12 @@ async function run() {
|
|
|
1549
1476
|
connectionId: "<id>",
|
|
1550
1477
|
id: "<id>",
|
|
1551
1478
|
});
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1479
|
+
if (res.ok) {
|
|
1480
|
+
const { value: result } = res;
|
|
1481
|
+
console.log(result);
|
|
1482
|
+
} else {
|
|
1483
|
+
console.log("paymentRemovePaymentSubscription failed:", res.error);
|
|
1555
1484
|
}
|
|
1556
|
-
|
|
1557
|
-
const { value: result } = res;
|
|
1558
|
-
|
|
1559
|
-
// Handle the result
|
|
1560
|
-
console.log(result);
|
|
1561
1485
|
}
|
|
1562
1486
|
|
|
1563
1487
|
run();
|
|
@@ -1604,7 +1528,6 @@ async function run() {
|
|
|
1604
1528
|
id: "<id>",
|
|
1605
1529
|
});
|
|
1606
1530
|
|
|
1607
|
-
// Handle the result
|
|
1608
1531
|
console.log(result);
|
|
1609
1532
|
}
|
|
1610
1533
|
|
|
@@ -1633,15 +1556,12 @@ async function run() {
|
|
|
1633
1556
|
connectionId: "<id>",
|
|
1634
1557
|
id: "<id>",
|
|
1635
1558
|
});
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1559
|
+
if (res.ok) {
|
|
1560
|
+
const { value: result } = res;
|
|
1561
|
+
console.log(result);
|
|
1562
|
+
} else {
|
|
1563
|
+
console.log("paymentUpdatePaymentLink failed:", res.error);
|
|
1639
1564
|
}
|
|
1640
|
-
|
|
1641
|
-
const { value: result } = res;
|
|
1642
|
-
|
|
1643
|
-
// Handle the result
|
|
1644
|
-
console.log(result);
|
|
1645
1565
|
}
|
|
1646
1566
|
|
|
1647
1567
|
run();
|
|
@@ -1688,7 +1608,6 @@ async function run() {
|
|
|
1688
1608
|
id: "<id>",
|
|
1689
1609
|
});
|
|
1690
1610
|
|
|
1691
|
-
// Handle the result
|
|
1692
1611
|
console.log(result);
|
|
1693
1612
|
}
|
|
1694
1613
|
|
|
@@ -1717,15 +1636,12 @@ async function run() {
|
|
|
1717
1636
|
connectionId: "<id>",
|
|
1718
1637
|
id: "<id>",
|
|
1719
1638
|
});
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1639
|
+
if (res.ok) {
|
|
1640
|
+
const { value: result } = res;
|
|
1641
|
+
console.log(result);
|
|
1642
|
+
} else {
|
|
1643
|
+
console.log("paymentUpdatePaymentPayment failed:", res.error);
|
|
1723
1644
|
}
|
|
1724
|
-
|
|
1725
|
-
const { value: result } = res;
|
|
1726
|
-
|
|
1727
|
-
// Handle the result
|
|
1728
|
-
console.log(result);
|
|
1729
1645
|
}
|
|
1730
1646
|
|
|
1731
1647
|
run();
|
|
@@ -1772,7 +1688,6 @@ async function run() {
|
|
|
1772
1688
|
id: "<id>",
|
|
1773
1689
|
});
|
|
1774
1690
|
|
|
1775
|
-
// Handle the result
|
|
1776
1691
|
console.log(result);
|
|
1777
1692
|
}
|
|
1778
1693
|
|
|
@@ -1801,15 +1716,12 @@ async function run() {
|
|
|
1801
1716
|
connectionId: "<id>",
|
|
1802
1717
|
id: "<id>",
|
|
1803
1718
|
});
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1719
|
+
if (res.ok) {
|
|
1720
|
+
const { value: result } = res;
|
|
1721
|
+
console.log(result);
|
|
1722
|
+
} else {
|
|
1723
|
+
console.log("paymentUpdatePaymentSubscription failed:", res.error);
|
|
1807
1724
|
}
|
|
1808
|
-
|
|
1809
|
-
const { value: result } = res;
|
|
1810
|
-
|
|
1811
|
-
// Handle the result
|
|
1812
|
-
console.log(result);
|
|
1813
1725
|
}
|
|
1814
1726
|
|
|
1815
1727
|
run();
|
|
@@ -29,7 +29,6 @@ async function run() {
|
|
|
29
29
|
id: "<id>",
|
|
30
30
|
});
|
|
31
31
|
|
|
32
|
-
// Handle the result
|
|
33
32
|
console.log(result);
|
|
34
33
|
}
|
|
35
34
|
|
|
@@ -57,15 +56,12 @@ async function run() {
|
|
|
57
56
|
connectionId: "<id>",
|
|
58
57
|
id: "<id>",
|
|
59
58
|
});
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
if (res.ok) {
|
|
60
|
+
const { value: result } = res;
|
|
61
|
+
console.log(result);
|
|
62
|
+
} else {
|
|
63
|
+
console.log("payoutGetPaymentPayout failed:", res.error);
|
|
63
64
|
}
|
|
64
|
-
|
|
65
|
-
const { value: result } = res;
|
|
66
|
-
|
|
67
|
-
// Handle the result
|
|
68
|
-
console.log(result);
|
|
69
65
|
}
|
|
70
66
|
|
|
71
67
|
run();
|
|
@@ -110,7 +106,6 @@ async function run() {
|
|
|
110
106
|
connectionId: "<id>",
|
|
111
107
|
});
|
|
112
108
|
|
|
113
|
-
// Handle the result
|
|
114
109
|
console.log(result);
|
|
115
110
|
}
|
|
116
111
|
|
|
@@ -137,15 +132,12 @@ async function run() {
|
|
|
137
132
|
const res = await payoutListPaymentPayouts(unifiedTo, {
|
|
138
133
|
connectionId: "<id>",
|
|
139
134
|
});
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
135
|
+
if (res.ok) {
|
|
136
|
+
const { value: result } = res;
|
|
137
|
+
console.log(result);
|
|
138
|
+
} else {
|
|
139
|
+
console.log("payoutListPaymentPayouts failed:", res.error);
|
|
143
140
|
}
|
|
144
|
-
|
|
145
|
-
const { value: result } = res;
|
|
146
|
-
|
|
147
|
-
// Handle the result
|
|
148
|
-
console.log(result);
|
|
149
141
|
}
|
|
150
142
|
|
|
151
143
|
run();
|