@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/lms/README.md
CHANGED
|
@@ -54,7 +54,6 @@ async function run() {
|
|
|
54
54
|
connectionId: "<id>",
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
// Handle the result
|
|
58
57
|
console.log(result);
|
|
59
58
|
}
|
|
60
59
|
|
|
@@ -85,15 +84,12 @@ async function run() {
|
|
|
85
84
|
},
|
|
86
85
|
connectionId: "<id>",
|
|
87
86
|
});
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
if (res.ok) {
|
|
88
|
+
const { value: result } = res;
|
|
89
|
+
console.log(result);
|
|
90
|
+
} else {
|
|
91
|
+
console.log("lmsCreateLmsClass failed:", res.error);
|
|
91
92
|
}
|
|
92
|
-
|
|
93
|
-
const { value: result } = res;
|
|
94
|
-
|
|
95
|
-
// Handle the result
|
|
96
|
-
console.log(result);
|
|
97
93
|
}
|
|
98
94
|
|
|
99
95
|
run();
|
|
@@ -141,7 +137,6 @@ async function run() {
|
|
|
141
137
|
connectionId: "<id>",
|
|
142
138
|
});
|
|
143
139
|
|
|
144
|
-
// Handle the result
|
|
145
140
|
console.log(result);
|
|
146
141
|
}
|
|
147
142
|
|
|
@@ -171,15 +166,12 @@ async function run() {
|
|
|
171
166
|
},
|
|
172
167
|
connectionId: "<id>",
|
|
173
168
|
});
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
169
|
+
if (res.ok) {
|
|
170
|
+
const { value: result } = res;
|
|
171
|
+
console.log(result);
|
|
172
|
+
} else {
|
|
173
|
+
console.log("lmsCreateLmsCourse failed:", res.error);
|
|
177
174
|
}
|
|
178
|
-
|
|
179
|
-
const { value: result } = res;
|
|
180
|
-
|
|
181
|
-
// Handle the result
|
|
182
|
-
console.log(result);
|
|
183
175
|
}
|
|
184
176
|
|
|
185
177
|
run();
|
|
@@ -225,7 +217,6 @@ async function run() {
|
|
|
225
217
|
connectionId: "<id>",
|
|
226
218
|
});
|
|
227
219
|
|
|
228
|
-
// Handle the result
|
|
229
220
|
console.log(result);
|
|
230
221
|
}
|
|
231
222
|
|
|
@@ -253,15 +244,12 @@ async function run() {
|
|
|
253
244
|
lmsInstructor: {},
|
|
254
245
|
connectionId: "<id>",
|
|
255
246
|
});
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
247
|
+
if (res.ok) {
|
|
248
|
+
const { value: result } = res;
|
|
249
|
+
console.log(result);
|
|
250
|
+
} else {
|
|
251
|
+
console.log("lmsCreateLmsInstructor failed:", res.error);
|
|
259
252
|
}
|
|
260
|
-
|
|
261
|
-
const { value: result } = res;
|
|
262
|
-
|
|
263
|
-
// Handle the result
|
|
264
|
-
console.log(result);
|
|
265
253
|
}
|
|
266
254
|
|
|
267
255
|
run();
|
|
@@ -307,7 +295,6 @@ async function run() {
|
|
|
307
295
|
connectionId: "<id>",
|
|
308
296
|
});
|
|
309
297
|
|
|
310
|
-
// Handle the result
|
|
311
298
|
console.log(result);
|
|
312
299
|
}
|
|
313
300
|
|
|
@@ -335,15 +322,12 @@ async function run() {
|
|
|
335
322
|
lmsStudent: {},
|
|
336
323
|
connectionId: "<id>",
|
|
337
324
|
});
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
325
|
+
if (res.ok) {
|
|
326
|
+
const { value: result } = res;
|
|
327
|
+
console.log(result);
|
|
328
|
+
} else {
|
|
329
|
+
console.log("lmsCreateLmsStudent failed:", res.error);
|
|
341
330
|
}
|
|
342
|
-
|
|
343
|
-
const { value: result } = res;
|
|
344
|
-
|
|
345
|
-
// Handle the result
|
|
346
|
-
console.log(result);
|
|
347
331
|
}
|
|
348
332
|
|
|
349
333
|
run();
|
|
@@ -389,7 +373,6 @@ async function run() {
|
|
|
389
373
|
id: "<id>",
|
|
390
374
|
});
|
|
391
375
|
|
|
392
|
-
// Handle the result
|
|
393
376
|
console.log(result);
|
|
394
377
|
}
|
|
395
378
|
|
|
@@ -417,15 +400,12 @@ async function run() {
|
|
|
417
400
|
connectionId: "<id>",
|
|
418
401
|
id: "<id>",
|
|
419
402
|
});
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
403
|
+
if (res.ok) {
|
|
404
|
+
const { value: result } = res;
|
|
405
|
+
console.log(result);
|
|
406
|
+
} else {
|
|
407
|
+
console.log("lmsGetLmsClass failed:", res.error);
|
|
423
408
|
}
|
|
424
|
-
|
|
425
|
-
const { value: result } = res;
|
|
426
|
-
|
|
427
|
-
// Handle the result
|
|
428
|
-
console.log(result);
|
|
429
409
|
}
|
|
430
410
|
|
|
431
411
|
run();
|
|
@@ -471,7 +451,6 @@ async function run() {
|
|
|
471
451
|
id: "<id>",
|
|
472
452
|
});
|
|
473
453
|
|
|
474
|
-
// Handle the result
|
|
475
454
|
console.log(result);
|
|
476
455
|
}
|
|
477
456
|
|
|
@@ -499,15 +478,12 @@ async function run() {
|
|
|
499
478
|
connectionId: "<id>",
|
|
500
479
|
id: "<id>",
|
|
501
480
|
});
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
481
|
+
if (res.ok) {
|
|
482
|
+
const { value: result } = res;
|
|
483
|
+
console.log(result);
|
|
484
|
+
} else {
|
|
485
|
+
console.log("lmsGetLmsCourse failed:", res.error);
|
|
505
486
|
}
|
|
506
|
-
|
|
507
|
-
const { value: result } = res;
|
|
508
|
-
|
|
509
|
-
// Handle the result
|
|
510
|
-
console.log(result);
|
|
511
487
|
}
|
|
512
488
|
|
|
513
489
|
run();
|
|
@@ -553,7 +529,6 @@ async function run() {
|
|
|
553
529
|
id: "<id>",
|
|
554
530
|
});
|
|
555
531
|
|
|
556
|
-
// Handle the result
|
|
557
532
|
console.log(result);
|
|
558
533
|
}
|
|
559
534
|
|
|
@@ -581,15 +556,12 @@ async function run() {
|
|
|
581
556
|
connectionId: "<id>",
|
|
582
557
|
id: "<id>",
|
|
583
558
|
});
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
559
|
+
if (res.ok) {
|
|
560
|
+
const { value: result } = res;
|
|
561
|
+
console.log(result);
|
|
562
|
+
} else {
|
|
563
|
+
console.log("lmsGetLmsInstructor failed:", res.error);
|
|
587
564
|
}
|
|
588
|
-
|
|
589
|
-
const { value: result } = res;
|
|
590
|
-
|
|
591
|
-
// Handle the result
|
|
592
|
-
console.log(result);
|
|
593
565
|
}
|
|
594
566
|
|
|
595
567
|
run();
|
|
@@ -635,7 +607,6 @@ async function run() {
|
|
|
635
607
|
id: "<id>",
|
|
636
608
|
});
|
|
637
609
|
|
|
638
|
-
// Handle the result
|
|
639
610
|
console.log(result);
|
|
640
611
|
}
|
|
641
612
|
|
|
@@ -663,15 +634,12 @@ async function run() {
|
|
|
663
634
|
connectionId: "<id>",
|
|
664
635
|
id: "<id>",
|
|
665
636
|
});
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
637
|
+
if (res.ok) {
|
|
638
|
+
const { value: result } = res;
|
|
639
|
+
console.log(result);
|
|
640
|
+
} else {
|
|
641
|
+
console.log("lmsGetLmsStudent failed:", res.error);
|
|
669
642
|
}
|
|
670
|
-
|
|
671
|
-
const { value: result } = res;
|
|
672
|
-
|
|
673
|
-
// Handle the result
|
|
674
|
-
console.log(result);
|
|
675
643
|
}
|
|
676
644
|
|
|
677
645
|
run();
|
|
@@ -716,7 +684,6 @@ async function run() {
|
|
|
716
684
|
connectionId: "<id>",
|
|
717
685
|
});
|
|
718
686
|
|
|
719
|
-
// Handle the result
|
|
720
687
|
console.log(result);
|
|
721
688
|
}
|
|
722
689
|
|
|
@@ -743,15 +710,12 @@ async function run() {
|
|
|
743
710
|
const res = await lmsListLmsClasses(unifiedTo, {
|
|
744
711
|
connectionId: "<id>",
|
|
745
712
|
});
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
713
|
+
if (res.ok) {
|
|
714
|
+
const { value: result } = res;
|
|
715
|
+
console.log(result);
|
|
716
|
+
} else {
|
|
717
|
+
console.log("lmsListLmsClasses failed:", res.error);
|
|
749
718
|
}
|
|
750
|
-
|
|
751
|
-
const { value: result } = res;
|
|
752
|
-
|
|
753
|
-
// Handle the result
|
|
754
|
-
console.log(result);
|
|
755
719
|
}
|
|
756
720
|
|
|
757
721
|
run();
|
|
@@ -796,7 +760,6 @@ async function run() {
|
|
|
796
760
|
connectionId: "<id>",
|
|
797
761
|
});
|
|
798
762
|
|
|
799
|
-
// Handle the result
|
|
800
763
|
console.log(result);
|
|
801
764
|
}
|
|
802
765
|
|
|
@@ -823,15 +786,12 @@ async function run() {
|
|
|
823
786
|
const res = await lmsListLmsCourses(unifiedTo, {
|
|
824
787
|
connectionId: "<id>",
|
|
825
788
|
});
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
789
|
+
if (res.ok) {
|
|
790
|
+
const { value: result } = res;
|
|
791
|
+
console.log(result);
|
|
792
|
+
} else {
|
|
793
|
+
console.log("lmsListLmsCourses failed:", res.error);
|
|
829
794
|
}
|
|
830
|
-
|
|
831
|
-
const { value: result } = res;
|
|
832
|
-
|
|
833
|
-
// Handle the result
|
|
834
|
-
console.log(result);
|
|
835
795
|
}
|
|
836
796
|
|
|
837
797
|
run();
|
|
@@ -876,7 +836,6 @@ async function run() {
|
|
|
876
836
|
connectionId: "<id>",
|
|
877
837
|
});
|
|
878
838
|
|
|
879
|
-
// Handle the result
|
|
880
839
|
console.log(result);
|
|
881
840
|
}
|
|
882
841
|
|
|
@@ -903,15 +862,12 @@ async function run() {
|
|
|
903
862
|
const res = await lmsListLmsInstructors(unifiedTo, {
|
|
904
863
|
connectionId: "<id>",
|
|
905
864
|
});
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
865
|
+
if (res.ok) {
|
|
866
|
+
const { value: result } = res;
|
|
867
|
+
console.log(result);
|
|
868
|
+
} else {
|
|
869
|
+
console.log("lmsListLmsInstructors failed:", res.error);
|
|
909
870
|
}
|
|
910
|
-
|
|
911
|
-
const { value: result } = res;
|
|
912
|
-
|
|
913
|
-
// Handle the result
|
|
914
|
-
console.log(result);
|
|
915
871
|
}
|
|
916
872
|
|
|
917
873
|
run();
|
|
@@ -956,7 +912,6 @@ async function run() {
|
|
|
956
912
|
connectionId: "<id>",
|
|
957
913
|
});
|
|
958
914
|
|
|
959
|
-
// Handle the result
|
|
960
915
|
console.log(result);
|
|
961
916
|
}
|
|
962
917
|
|
|
@@ -983,15 +938,12 @@ async function run() {
|
|
|
983
938
|
const res = await lmsListLmsStudents(unifiedTo, {
|
|
984
939
|
connectionId: "<id>",
|
|
985
940
|
});
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
941
|
+
if (res.ok) {
|
|
942
|
+
const { value: result } = res;
|
|
943
|
+
console.log(result);
|
|
944
|
+
} else {
|
|
945
|
+
console.log("lmsListLmsStudents failed:", res.error);
|
|
989
946
|
}
|
|
990
|
-
|
|
991
|
-
const { value: result } = res;
|
|
992
|
-
|
|
993
|
-
// Handle the result
|
|
994
|
-
console.log(result);
|
|
995
947
|
}
|
|
996
948
|
|
|
997
949
|
run();
|
|
@@ -1041,7 +993,6 @@ async function run() {
|
|
|
1041
993
|
id: "<id>",
|
|
1042
994
|
});
|
|
1043
995
|
|
|
1044
|
-
// Handle the result
|
|
1045
996
|
console.log(result);
|
|
1046
997
|
}
|
|
1047
998
|
|
|
@@ -1073,15 +1024,12 @@ async function run() {
|
|
|
1073
1024
|
connectionId: "<id>",
|
|
1074
1025
|
id: "<id>",
|
|
1075
1026
|
});
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1027
|
+
if (res.ok) {
|
|
1028
|
+
const { value: result } = res;
|
|
1029
|
+
console.log(result);
|
|
1030
|
+
} else {
|
|
1031
|
+
console.log("lmsPatchLmsClass failed:", res.error);
|
|
1079
1032
|
}
|
|
1080
|
-
|
|
1081
|
-
const { value: result } = res;
|
|
1082
|
-
|
|
1083
|
-
// Handle the result
|
|
1084
|
-
console.log(result);
|
|
1085
1033
|
}
|
|
1086
1034
|
|
|
1087
1035
|
run();
|
|
@@ -1130,7 +1078,6 @@ async function run() {
|
|
|
1130
1078
|
id: "<id>",
|
|
1131
1079
|
});
|
|
1132
1080
|
|
|
1133
|
-
// Handle the result
|
|
1134
1081
|
console.log(result);
|
|
1135
1082
|
}
|
|
1136
1083
|
|
|
@@ -1161,15 +1108,12 @@ async function run() {
|
|
|
1161
1108
|
connectionId: "<id>",
|
|
1162
1109
|
id: "<id>",
|
|
1163
1110
|
});
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1111
|
+
if (res.ok) {
|
|
1112
|
+
const { value: result } = res;
|
|
1113
|
+
console.log(result);
|
|
1114
|
+
} else {
|
|
1115
|
+
console.log("lmsPatchLmsCourse failed:", res.error);
|
|
1167
1116
|
}
|
|
1168
|
-
|
|
1169
|
-
const { value: result } = res;
|
|
1170
|
-
|
|
1171
|
-
// Handle the result
|
|
1172
|
-
console.log(result);
|
|
1173
1117
|
}
|
|
1174
1118
|
|
|
1175
1119
|
run();
|
|
@@ -1216,7 +1160,6 @@ async function run() {
|
|
|
1216
1160
|
id: "<id>",
|
|
1217
1161
|
});
|
|
1218
1162
|
|
|
1219
|
-
// Handle the result
|
|
1220
1163
|
console.log(result);
|
|
1221
1164
|
}
|
|
1222
1165
|
|
|
@@ -1245,15 +1188,12 @@ async function run() {
|
|
|
1245
1188
|
connectionId: "<id>",
|
|
1246
1189
|
id: "<id>",
|
|
1247
1190
|
});
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1191
|
+
if (res.ok) {
|
|
1192
|
+
const { value: result } = res;
|
|
1193
|
+
console.log(result);
|
|
1194
|
+
} else {
|
|
1195
|
+
console.log("lmsPatchLmsInstructor failed:", res.error);
|
|
1251
1196
|
}
|
|
1252
|
-
|
|
1253
|
-
const { value: result } = res;
|
|
1254
|
-
|
|
1255
|
-
// Handle the result
|
|
1256
|
-
console.log(result);
|
|
1257
1197
|
}
|
|
1258
1198
|
|
|
1259
1199
|
run();
|
|
@@ -1300,7 +1240,6 @@ async function run() {
|
|
|
1300
1240
|
id: "<id>",
|
|
1301
1241
|
});
|
|
1302
1242
|
|
|
1303
|
-
// Handle the result
|
|
1304
1243
|
console.log(result);
|
|
1305
1244
|
}
|
|
1306
1245
|
|
|
@@ -1329,15 +1268,12 @@ async function run() {
|
|
|
1329
1268
|
connectionId: "<id>",
|
|
1330
1269
|
id: "<id>",
|
|
1331
1270
|
});
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1271
|
+
if (res.ok) {
|
|
1272
|
+
const { value: result } = res;
|
|
1273
|
+
console.log(result);
|
|
1274
|
+
} else {
|
|
1275
|
+
console.log("lmsPatchLmsStudent failed:", res.error);
|
|
1335
1276
|
}
|
|
1336
|
-
|
|
1337
|
-
const { value: result } = res;
|
|
1338
|
-
|
|
1339
|
-
// Handle the result
|
|
1340
|
-
console.log(result);
|
|
1341
1277
|
}
|
|
1342
1278
|
|
|
1343
1279
|
run();
|
|
@@ -1383,7 +1319,6 @@ async function run() {
|
|
|
1383
1319
|
id: "<id>",
|
|
1384
1320
|
});
|
|
1385
1321
|
|
|
1386
|
-
// Handle the result
|
|
1387
1322
|
console.log(result);
|
|
1388
1323
|
}
|
|
1389
1324
|
|
|
@@ -1411,15 +1346,12 @@ async function run() {
|
|
|
1411
1346
|
connectionId: "<id>",
|
|
1412
1347
|
id: "<id>",
|
|
1413
1348
|
});
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1349
|
+
if (res.ok) {
|
|
1350
|
+
const { value: result } = res;
|
|
1351
|
+
console.log(result);
|
|
1352
|
+
} else {
|
|
1353
|
+
console.log("lmsRemoveLmsClass failed:", res.error);
|
|
1417
1354
|
}
|
|
1418
|
-
|
|
1419
|
-
const { value: result } = res;
|
|
1420
|
-
|
|
1421
|
-
// Handle the result
|
|
1422
|
-
console.log(result);
|
|
1423
1355
|
}
|
|
1424
1356
|
|
|
1425
1357
|
run();
|
|
@@ -1465,7 +1397,6 @@ async function run() {
|
|
|
1465
1397
|
id: "<id>",
|
|
1466
1398
|
});
|
|
1467
1399
|
|
|
1468
|
-
// Handle the result
|
|
1469
1400
|
console.log(result);
|
|
1470
1401
|
}
|
|
1471
1402
|
|
|
@@ -1493,15 +1424,12 @@ async function run() {
|
|
|
1493
1424
|
connectionId: "<id>",
|
|
1494
1425
|
id: "<id>",
|
|
1495
1426
|
});
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1427
|
+
if (res.ok) {
|
|
1428
|
+
const { value: result } = res;
|
|
1429
|
+
console.log(result);
|
|
1430
|
+
} else {
|
|
1431
|
+
console.log("lmsRemoveLmsCourse failed:", res.error);
|
|
1499
1432
|
}
|
|
1500
|
-
|
|
1501
|
-
const { value: result } = res;
|
|
1502
|
-
|
|
1503
|
-
// Handle the result
|
|
1504
|
-
console.log(result);
|
|
1505
1433
|
}
|
|
1506
1434
|
|
|
1507
1435
|
run();
|
|
@@ -1547,7 +1475,6 @@ async function run() {
|
|
|
1547
1475
|
id: "<id>",
|
|
1548
1476
|
});
|
|
1549
1477
|
|
|
1550
|
-
// Handle the result
|
|
1551
1478
|
console.log(result);
|
|
1552
1479
|
}
|
|
1553
1480
|
|
|
@@ -1575,15 +1502,12 @@ async function run() {
|
|
|
1575
1502
|
connectionId: "<id>",
|
|
1576
1503
|
id: "<id>",
|
|
1577
1504
|
});
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1505
|
+
if (res.ok) {
|
|
1506
|
+
const { value: result } = res;
|
|
1507
|
+
console.log(result);
|
|
1508
|
+
} else {
|
|
1509
|
+
console.log("lmsRemoveLmsInstructor failed:", res.error);
|
|
1581
1510
|
}
|
|
1582
|
-
|
|
1583
|
-
const { value: result } = res;
|
|
1584
|
-
|
|
1585
|
-
// Handle the result
|
|
1586
|
-
console.log(result);
|
|
1587
1511
|
}
|
|
1588
1512
|
|
|
1589
1513
|
run();
|
|
@@ -1629,7 +1553,6 @@ async function run() {
|
|
|
1629
1553
|
id: "<id>",
|
|
1630
1554
|
});
|
|
1631
1555
|
|
|
1632
|
-
// Handle the result
|
|
1633
1556
|
console.log(result);
|
|
1634
1557
|
}
|
|
1635
1558
|
|
|
@@ -1657,15 +1580,12 @@ async function run() {
|
|
|
1657
1580
|
connectionId: "<id>",
|
|
1658
1581
|
id: "<id>",
|
|
1659
1582
|
});
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1583
|
+
if (res.ok) {
|
|
1584
|
+
const { value: result } = res;
|
|
1585
|
+
console.log(result);
|
|
1586
|
+
} else {
|
|
1587
|
+
console.log("lmsRemoveLmsStudent failed:", res.error);
|
|
1663
1588
|
}
|
|
1664
|
-
|
|
1665
|
-
const { value: result } = res;
|
|
1666
|
-
|
|
1667
|
-
// Handle the result
|
|
1668
|
-
console.log(result);
|
|
1669
1589
|
}
|
|
1670
1590
|
|
|
1671
1591
|
run();
|
|
@@ -1715,7 +1635,6 @@ async function run() {
|
|
|
1715
1635
|
id: "<id>",
|
|
1716
1636
|
});
|
|
1717
1637
|
|
|
1718
|
-
// Handle the result
|
|
1719
1638
|
console.log(result);
|
|
1720
1639
|
}
|
|
1721
1640
|
|
|
@@ -1747,15 +1666,12 @@ async function run() {
|
|
|
1747
1666
|
connectionId: "<id>",
|
|
1748
1667
|
id: "<id>",
|
|
1749
1668
|
});
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1669
|
+
if (res.ok) {
|
|
1670
|
+
const { value: result } = res;
|
|
1671
|
+
console.log(result);
|
|
1672
|
+
} else {
|
|
1673
|
+
console.log("lmsUpdateLmsClass failed:", res.error);
|
|
1753
1674
|
}
|
|
1754
|
-
|
|
1755
|
-
const { value: result } = res;
|
|
1756
|
-
|
|
1757
|
-
// Handle the result
|
|
1758
|
-
console.log(result);
|
|
1759
1675
|
}
|
|
1760
1676
|
|
|
1761
1677
|
run();
|
|
@@ -1804,7 +1720,6 @@ async function run() {
|
|
|
1804
1720
|
id: "<id>",
|
|
1805
1721
|
});
|
|
1806
1722
|
|
|
1807
|
-
// Handle the result
|
|
1808
1723
|
console.log(result);
|
|
1809
1724
|
}
|
|
1810
1725
|
|
|
@@ -1835,15 +1750,12 @@ async function run() {
|
|
|
1835
1750
|
connectionId: "<id>",
|
|
1836
1751
|
id: "<id>",
|
|
1837
1752
|
});
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1753
|
+
if (res.ok) {
|
|
1754
|
+
const { value: result } = res;
|
|
1755
|
+
console.log(result);
|
|
1756
|
+
} else {
|
|
1757
|
+
console.log("lmsUpdateLmsCourse failed:", res.error);
|
|
1841
1758
|
}
|
|
1842
|
-
|
|
1843
|
-
const { value: result } = res;
|
|
1844
|
-
|
|
1845
|
-
// Handle the result
|
|
1846
|
-
console.log(result);
|
|
1847
1759
|
}
|
|
1848
1760
|
|
|
1849
1761
|
run();
|
|
@@ -1890,7 +1802,6 @@ async function run() {
|
|
|
1890
1802
|
id: "<id>",
|
|
1891
1803
|
});
|
|
1892
1804
|
|
|
1893
|
-
// Handle the result
|
|
1894
1805
|
console.log(result);
|
|
1895
1806
|
}
|
|
1896
1807
|
|
|
@@ -1919,15 +1830,12 @@ async function run() {
|
|
|
1919
1830
|
connectionId: "<id>",
|
|
1920
1831
|
id: "<id>",
|
|
1921
1832
|
});
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1833
|
+
if (res.ok) {
|
|
1834
|
+
const { value: result } = res;
|
|
1835
|
+
console.log(result);
|
|
1836
|
+
} else {
|
|
1837
|
+
console.log("lmsUpdateLmsInstructor failed:", res.error);
|
|
1925
1838
|
}
|
|
1926
|
-
|
|
1927
|
-
const { value: result } = res;
|
|
1928
|
-
|
|
1929
|
-
// Handle the result
|
|
1930
|
-
console.log(result);
|
|
1931
1839
|
}
|
|
1932
1840
|
|
|
1933
1841
|
run();
|
|
@@ -1974,7 +1882,6 @@ async function run() {
|
|
|
1974
1882
|
id: "<id>",
|
|
1975
1883
|
});
|
|
1976
1884
|
|
|
1977
|
-
// Handle the result
|
|
1978
1885
|
console.log(result);
|
|
1979
1886
|
}
|
|
1980
1887
|
|
|
@@ -2003,15 +1910,12 @@ async function run() {
|
|
|
2003
1910
|
connectionId: "<id>",
|
|
2004
1911
|
id: "<id>",
|
|
2005
1912
|
});
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
1913
|
+
if (res.ok) {
|
|
1914
|
+
const { value: result } = res;
|
|
1915
|
+
console.log(result);
|
|
1916
|
+
} else {
|
|
1917
|
+
console.log("lmsUpdateLmsStudent failed:", res.error);
|
|
2009
1918
|
}
|
|
2010
|
-
|
|
2011
|
-
const { value: result } = res;
|
|
2012
|
-
|
|
2013
|
-
// Handle the result
|
|
2014
|
-
console.log(result);
|
|
2015
1919
|
}
|
|
2016
1920
|
|
|
2017
1921
|
run();
|