@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
package/docs/sdks/uc/README.md
CHANGED
|
@@ -48,7 +48,6 @@ async function run() {
|
|
|
48
48
|
connectionId: "<id>",
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
// Handle the result
|
|
52
51
|
console.log(result);
|
|
53
52
|
}
|
|
54
53
|
|
|
@@ -78,15 +77,12 @@ async function run() {
|
|
|
78
77
|
},
|
|
79
78
|
connectionId: "<id>",
|
|
80
79
|
});
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
if (res.ok) {
|
|
81
|
+
const { value: result } = res;
|
|
82
|
+
console.log(result);
|
|
83
|
+
} else {
|
|
84
|
+
console.log("ucCreateUcComment failed:", res.error);
|
|
84
85
|
}
|
|
85
|
-
|
|
86
|
-
const { value: result } = res;
|
|
87
|
-
|
|
88
|
-
// Handle the result
|
|
89
|
-
console.log(result);
|
|
90
86
|
}
|
|
91
87
|
|
|
92
88
|
run();
|
|
@@ -132,7 +128,6 @@ async function run() {
|
|
|
132
128
|
connectionId: "<id>",
|
|
133
129
|
});
|
|
134
130
|
|
|
135
|
-
// Handle the result
|
|
136
131
|
console.log(result);
|
|
137
132
|
}
|
|
138
133
|
|
|
@@ -160,15 +155,12 @@ async function run() {
|
|
|
160
155
|
ucContact: {},
|
|
161
156
|
connectionId: "<id>",
|
|
162
157
|
});
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
158
|
+
if (res.ok) {
|
|
159
|
+
const { value: result } = res;
|
|
160
|
+
console.log(result);
|
|
161
|
+
} else {
|
|
162
|
+
console.log("ucCreateUcContact failed:", res.error);
|
|
166
163
|
}
|
|
167
|
-
|
|
168
|
-
const { value: result } = res;
|
|
169
|
-
|
|
170
|
-
// Handle the result
|
|
171
|
-
console.log(result);
|
|
172
164
|
}
|
|
173
165
|
|
|
174
166
|
run();
|
|
@@ -214,7 +206,6 @@ async function run() {
|
|
|
214
206
|
connectionId: "<id>",
|
|
215
207
|
});
|
|
216
208
|
|
|
217
|
-
// Handle the result
|
|
218
209
|
console.log(result);
|
|
219
210
|
}
|
|
220
211
|
|
|
@@ -242,15 +233,12 @@ async function run() {
|
|
|
242
233
|
ucRecording: {},
|
|
243
234
|
connectionId: "<id>",
|
|
244
235
|
});
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
236
|
+
if (res.ok) {
|
|
237
|
+
const { value: result } = res;
|
|
238
|
+
console.log(result);
|
|
239
|
+
} else {
|
|
240
|
+
console.log("ucCreateUcRecording failed:", res.error);
|
|
248
241
|
}
|
|
249
|
-
|
|
250
|
-
const { value: result } = res;
|
|
251
|
-
|
|
252
|
-
// Handle the result
|
|
253
|
-
console.log(result);
|
|
254
242
|
}
|
|
255
243
|
|
|
256
244
|
run();
|
|
@@ -296,7 +284,6 @@ async function run() {
|
|
|
296
284
|
id: "<id>",
|
|
297
285
|
});
|
|
298
286
|
|
|
299
|
-
// Handle the result
|
|
300
287
|
console.log(result);
|
|
301
288
|
}
|
|
302
289
|
|
|
@@ -324,15 +311,12 @@ async function run() {
|
|
|
324
311
|
connectionId: "<id>",
|
|
325
312
|
id: "<id>",
|
|
326
313
|
});
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
314
|
+
if (res.ok) {
|
|
315
|
+
const { value: result } = res;
|
|
316
|
+
console.log(result);
|
|
317
|
+
} else {
|
|
318
|
+
console.log("ucGetUcComment failed:", res.error);
|
|
330
319
|
}
|
|
331
|
-
|
|
332
|
-
const { value: result } = res;
|
|
333
|
-
|
|
334
|
-
// Handle the result
|
|
335
|
-
console.log(result);
|
|
336
320
|
}
|
|
337
321
|
|
|
338
322
|
run();
|
|
@@ -378,7 +362,6 @@ async function run() {
|
|
|
378
362
|
id: "<id>",
|
|
379
363
|
});
|
|
380
364
|
|
|
381
|
-
// Handle the result
|
|
382
365
|
console.log(result);
|
|
383
366
|
}
|
|
384
367
|
|
|
@@ -406,15 +389,12 @@ async function run() {
|
|
|
406
389
|
connectionId: "<id>",
|
|
407
390
|
id: "<id>",
|
|
408
391
|
});
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
392
|
+
if (res.ok) {
|
|
393
|
+
const { value: result } = res;
|
|
394
|
+
console.log(result);
|
|
395
|
+
} else {
|
|
396
|
+
console.log("ucGetUcContact failed:", res.error);
|
|
412
397
|
}
|
|
413
|
-
|
|
414
|
-
const { value: result } = res;
|
|
415
|
-
|
|
416
|
-
// Handle the result
|
|
417
|
-
console.log(result);
|
|
418
398
|
}
|
|
419
399
|
|
|
420
400
|
run();
|
|
@@ -460,7 +440,6 @@ async function run() {
|
|
|
460
440
|
id: "<id>",
|
|
461
441
|
});
|
|
462
442
|
|
|
463
|
-
// Handle the result
|
|
464
443
|
console.log(result);
|
|
465
444
|
}
|
|
466
445
|
|
|
@@ -488,15 +467,12 @@ async function run() {
|
|
|
488
467
|
connectionId: "<id>",
|
|
489
468
|
id: "<id>",
|
|
490
469
|
});
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
470
|
+
if (res.ok) {
|
|
471
|
+
const { value: result } = res;
|
|
472
|
+
console.log(result);
|
|
473
|
+
} else {
|
|
474
|
+
console.log("ucGetUcRecording failed:", res.error);
|
|
494
475
|
}
|
|
495
|
-
|
|
496
|
-
const { value: result } = res;
|
|
497
|
-
|
|
498
|
-
// Handle the result
|
|
499
|
-
console.log(result);
|
|
500
476
|
}
|
|
501
477
|
|
|
502
478
|
run();
|
|
@@ -541,7 +517,6 @@ async function run() {
|
|
|
541
517
|
connectionId: "<id>",
|
|
542
518
|
});
|
|
543
519
|
|
|
544
|
-
// Handle the result
|
|
545
520
|
console.log(result);
|
|
546
521
|
}
|
|
547
522
|
|
|
@@ -568,15 +543,12 @@ async function run() {
|
|
|
568
543
|
const res = await ucListUcCalls(unifiedTo, {
|
|
569
544
|
connectionId: "<id>",
|
|
570
545
|
});
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
546
|
+
if (res.ok) {
|
|
547
|
+
const { value: result } = res;
|
|
548
|
+
console.log(result);
|
|
549
|
+
} else {
|
|
550
|
+
console.log("ucListUcCalls failed:", res.error);
|
|
574
551
|
}
|
|
575
|
-
|
|
576
|
-
const { value: result } = res;
|
|
577
|
-
|
|
578
|
-
// Handle the result
|
|
579
|
-
console.log(result);
|
|
580
552
|
}
|
|
581
553
|
|
|
582
554
|
run();
|
|
@@ -621,7 +593,6 @@ async function run() {
|
|
|
621
593
|
connectionId: "<id>",
|
|
622
594
|
});
|
|
623
595
|
|
|
624
|
-
// Handle the result
|
|
625
596
|
console.log(result);
|
|
626
597
|
}
|
|
627
598
|
|
|
@@ -648,15 +619,12 @@ async function run() {
|
|
|
648
619
|
const res = await ucListUcComments(unifiedTo, {
|
|
649
620
|
connectionId: "<id>",
|
|
650
621
|
});
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
622
|
+
if (res.ok) {
|
|
623
|
+
const { value: result } = res;
|
|
624
|
+
console.log(result);
|
|
625
|
+
} else {
|
|
626
|
+
console.log("ucListUcComments failed:", res.error);
|
|
654
627
|
}
|
|
655
|
-
|
|
656
|
-
const { value: result } = res;
|
|
657
|
-
|
|
658
|
-
// Handle the result
|
|
659
|
-
console.log(result);
|
|
660
628
|
}
|
|
661
629
|
|
|
662
630
|
run();
|
|
@@ -701,7 +669,6 @@ async function run() {
|
|
|
701
669
|
connectionId: "<id>",
|
|
702
670
|
});
|
|
703
671
|
|
|
704
|
-
// Handle the result
|
|
705
672
|
console.log(result);
|
|
706
673
|
}
|
|
707
674
|
|
|
@@ -728,15 +695,12 @@ async function run() {
|
|
|
728
695
|
const res = await ucListUcContacts(unifiedTo, {
|
|
729
696
|
connectionId: "<id>",
|
|
730
697
|
});
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
698
|
+
if (res.ok) {
|
|
699
|
+
const { value: result } = res;
|
|
700
|
+
console.log(result);
|
|
701
|
+
} else {
|
|
702
|
+
console.log("ucListUcContacts failed:", res.error);
|
|
734
703
|
}
|
|
735
|
-
|
|
736
|
-
const { value: result } = res;
|
|
737
|
-
|
|
738
|
-
// Handle the result
|
|
739
|
-
console.log(result);
|
|
740
704
|
}
|
|
741
705
|
|
|
742
706
|
run();
|
|
@@ -781,7 +745,6 @@ async function run() {
|
|
|
781
745
|
connectionId: "<id>",
|
|
782
746
|
});
|
|
783
747
|
|
|
784
|
-
// Handle the result
|
|
785
748
|
console.log(result);
|
|
786
749
|
}
|
|
787
750
|
|
|
@@ -808,15 +771,12 @@ async function run() {
|
|
|
808
771
|
const res = await ucListUcRecordings(unifiedTo, {
|
|
809
772
|
connectionId: "<id>",
|
|
810
773
|
});
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
774
|
+
if (res.ok) {
|
|
775
|
+
const { value: result } = res;
|
|
776
|
+
console.log(result);
|
|
777
|
+
} else {
|
|
778
|
+
console.log("ucListUcRecordings failed:", res.error);
|
|
814
779
|
}
|
|
815
|
-
|
|
816
|
-
const { value: result } = res;
|
|
817
|
-
|
|
818
|
-
// Handle the result
|
|
819
|
-
console.log(result);
|
|
820
780
|
}
|
|
821
781
|
|
|
822
782
|
run();
|
|
@@ -865,7 +825,6 @@ async function run() {
|
|
|
865
825
|
id: "<id>",
|
|
866
826
|
});
|
|
867
827
|
|
|
868
|
-
// Handle the result
|
|
869
828
|
console.log(result);
|
|
870
829
|
}
|
|
871
830
|
|
|
@@ -896,15 +855,12 @@ async function run() {
|
|
|
896
855
|
connectionId: "<id>",
|
|
897
856
|
id: "<id>",
|
|
898
857
|
});
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
858
|
+
if (res.ok) {
|
|
859
|
+
const { value: result } = res;
|
|
860
|
+
console.log(result);
|
|
861
|
+
} else {
|
|
862
|
+
console.log("ucPatchUcComment failed:", res.error);
|
|
902
863
|
}
|
|
903
|
-
|
|
904
|
-
const { value: result } = res;
|
|
905
|
-
|
|
906
|
-
// Handle the result
|
|
907
|
-
console.log(result);
|
|
908
864
|
}
|
|
909
865
|
|
|
910
866
|
run();
|
|
@@ -951,7 +907,6 @@ async function run() {
|
|
|
951
907
|
id: "<id>",
|
|
952
908
|
});
|
|
953
909
|
|
|
954
|
-
// Handle the result
|
|
955
910
|
console.log(result);
|
|
956
911
|
}
|
|
957
912
|
|
|
@@ -980,15 +935,12 @@ async function run() {
|
|
|
980
935
|
connectionId: "<id>",
|
|
981
936
|
id: "<id>",
|
|
982
937
|
});
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
938
|
+
if (res.ok) {
|
|
939
|
+
const { value: result } = res;
|
|
940
|
+
console.log(result);
|
|
941
|
+
} else {
|
|
942
|
+
console.log("ucPatchUcContact failed:", res.error);
|
|
986
943
|
}
|
|
987
|
-
|
|
988
|
-
const { value: result } = res;
|
|
989
|
-
|
|
990
|
-
// Handle the result
|
|
991
|
-
console.log(result);
|
|
992
944
|
}
|
|
993
945
|
|
|
994
946
|
run();
|
|
@@ -1035,7 +987,6 @@ async function run() {
|
|
|
1035
987
|
id: "<id>",
|
|
1036
988
|
});
|
|
1037
989
|
|
|
1038
|
-
// Handle the result
|
|
1039
990
|
console.log(result);
|
|
1040
991
|
}
|
|
1041
992
|
|
|
@@ -1064,15 +1015,12 @@ async function run() {
|
|
|
1064
1015
|
connectionId: "<id>",
|
|
1065
1016
|
id: "<id>",
|
|
1066
1017
|
});
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1018
|
+
if (res.ok) {
|
|
1019
|
+
const { value: result } = res;
|
|
1020
|
+
console.log(result);
|
|
1021
|
+
} else {
|
|
1022
|
+
console.log("ucPatchUcRecording failed:", res.error);
|
|
1070
1023
|
}
|
|
1071
|
-
|
|
1072
|
-
const { value: result } = res;
|
|
1073
|
-
|
|
1074
|
-
// Handle the result
|
|
1075
|
-
console.log(result);
|
|
1076
1024
|
}
|
|
1077
1025
|
|
|
1078
1026
|
run();
|
|
@@ -1118,7 +1066,6 @@ async function run() {
|
|
|
1118
1066
|
id: "<id>",
|
|
1119
1067
|
});
|
|
1120
1068
|
|
|
1121
|
-
// Handle the result
|
|
1122
1069
|
console.log(result);
|
|
1123
1070
|
}
|
|
1124
1071
|
|
|
@@ -1146,15 +1093,12 @@ async function run() {
|
|
|
1146
1093
|
connectionId: "<id>",
|
|
1147
1094
|
id: "<id>",
|
|
1148
1095
|
});
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1096
|
+
if (res.ok) {
|
|
1097
|
+
const { value: result } = res;
|
|
1098
|
+
console.log(result);
|
|
1099
|
+
} else {
|
|
1100
|
+
console.log("ucRemoveUcComment failed:", res.error);
|
|
1152
1101
|
}
|
|
1153
|
-
|
|
1154
|
-
const { value: result } = res;
|
|
1155
|
-
|
|
1156
|
-
// Handle the result
|
|
1157
|
-
console.log(result);
|
|
1158
1102
|
}
|
|
1159
1103
|
|
|
1160
1104
|
run();
|
|
@@ -1200,7 +1144,6 @@ async function run() {
|
|
|
1200
1144
|
id: "<id>",
|
|
1201
1145
|
});
|
|
1202
1146
|
|
|
1203
|
-
// Handle the result
|
|
1204
1147
|
console.log(result);
|
|
1205
1148
|
}
|
|
1206
1149
|
|
|
@@ -1228,15 +1171,12 @@ async function run() {
|
|
|
1228
1171
|
connectionId: "<id>",
|
|
1229
1172
|
id: "<id>",
|
|
1230
1173
|
});
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1174
|
+
if (res.ok) {
|
|
1175
|
+
const { value: result } = res;
|
|
1176
|
+
console.log(result);
|
|
1177
|
+
} else {
|
|
1178
|
+
console.log("ucRemoveUcContact failed:", res.error);
|
|
1234
1179
|
}
|
|
1235
|
-
|
|
1236
|
-
const { value: result } = res;
|
|
1237
|
-
|
|
1238
|
-
// Handle the result
|
|
1239
|
-
console.log(result);
|
|
1240
1180
|
}
|
|
1241
1181
|
|
|
1242
1182
|
run();
|
|
@@ -1282,7 +1222,6 @@ async function run() {
|
|
|
1282
1222
|
id: "<id>",
|
|
1283
1223
|
});
|
|
1284
1224
|
|
|
1285
|
-
// Handle the result
|
|
1286
1225
|
console.log(result);
|
|
1287
1226
|
}
|
|
1288
1227
|
|
|
@@ -1310,15 +1249,12 @@ async function run() {
|
|
|
1310
1249
|
connectionId: "<id>",
|
|
1311
1250
|
id: "<id>",
|
|
1312
1251
|
});
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1252
|
+
if (res.ok) {
|
|
1253
|
+
const { value: result } = res;
|
|
1254
|
+
console.log(result);
|
|
1255
|
+
} else {
|
|
1256
|
+
console.log("ucRemoveUcRecording failed:", res.error);
|
|
1316
1257
|
}
|
|
1317
|
-
|
|
1318
|
-
const { value: result } = res;
|
|
1319
|
-
|
|
1320
|
-
// Handle the result
|
|
1321
|
-
console.log(result);
|
|
1322
1258
|
}
|
|
1323
1259
|
|
|
1324
1260
|
run();
|
|
@@ -1367,7 +1303,6 @@ async function run() {
|
|
|
1367
1303
|
id: "<id>",
|
|
1368
1304
|
});
|
|
1369
1305
|
|
|
1370
|
-
// Handle the result
|
|
1371
1306
|
console.log(result);
|
|
1372
1307
|
}
|
|
1373
1308
|
|
|
@@ -1398,15 +1333,12 @@ async function run() {
|
|
|
1398
1333
|
connectionId: "<id>",
|
|
1399
1334
|
id: "<id>",
|
|
1400
1335
|
});
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1336
|
+
if (res.ok) {
|
|
1337
|
+
const { value: result } = res;
|
|
1338
|
+
console.log(result);
|
|
1339
|
+
} else {
|
|
1340
|
+
console.log("ucUpdateUcComment failed:", res.error);
|
|
1404
1341
|
}
|
|
1405
|
-
|
|
1406
|
-
const { value: result } = res;
|
|
1407
|
-
|
|
1408
|
-
// Handle the result
|
|
1409
|
-
console.log(result);
|
|
1410
1342
|
}
|
|
1411
1343
|
|
|
1412
1344
|
run();
|
|
@@ -1453,7 +1385,6 @@ async function run() {
|
|
|
1453
1385
|
id: "<id>",
|
|
1454
1386
|
});
|
|
1455
1387
|
|
|
1456
|
-
// Handle the result
|
|
1457
1388
|
console.log(result);
|
|
1458
1389
|
}
|
|
1459
1390
|
|
|
@@ -1482,15 +1413,12 @@ async function run() {
|
|
|
1482
1413
|
connectionId: "<id>",
|
|
1483
1414
|
id: "<id>",
|
|
1484
1415
|
});
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1416
|
+
if (res.ok) {
|
|
1417
|
+
const { value: result } = res;
|
|
1418
|
+
console.log(result);
|
|
1419
|
+
} else {
|
|
1420
|
+
console.log("ucUpdateUcContact failed:", res.error);
|
|
1488
1421
|
}
|
|
1489
|
-
|
|
1490
|
-
const { value: result } = res;
|
|
1491
|
-
|
|
1492
|
-
// Handle the result
|
|
1493
|
-
console.log(result);
|
|
1494
1422
|
}
|
|
1495
1423
|
|
|
1496
1424
|
run();
|
|
@@ -1537,7 +1465,6 @@ async function run() {
|
|
|
1537
1465
|
id: "<id>",
|
|
1538
1466
|
});
|
|
1539
1467
|
|
|
1540
|
-
// Handle the result
|
|
1541
1468
|
console.log(result);
|
|
1542
1469
|
}
|
|
1543
1470
|
|
|
@@ -1566,15 +1493,12 @@ async function run() {
|
|
|
1566
1493
|
connectionId: "<id>",
|
|
1567
1494
|
id: "<id>",
|
|
1568
1495
|
});
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1496
|
+
if (res.ok) {
|
|
1497
|
+
const { value: result } = res;
|
|
1498
|
+
console.log(result);
|
|
1499
|
+
} else {
|
|
1500
|
+
console.log("ucUpdateUcRecording failed:", res.error);
|
|
1572
1501
|
}
|
|
1573
|
-
|
|
1574
|
-
const { value: result } = res;
|
|
1575
|
-
|
|
1576
|
-
// Handle the result
|
|
1577
|
-
console.log(result);
|
|
1578
1502
|
}
|
|
1579
1503
|
|
|
1580
1504
|
run();
|