@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/repo/README.md
CHANGED
|
@@ -60,7 +60,6 @@ async function run() {
|
|
|
60
60
|
connectionId: "<id>",
|
|
61
61
|
});
|
|
62
62
|
|
|
63
|
-
// Handle the result
|
|
64
63
|
console.log(result);
|
|
65
64
|
}
|
|
66
65
|
|
|
@@ -91,15 +90,12 @@ async function run() {
|
|
|
91
90
|
},
|
|
92
91
|
connectionId: "<id>",
|
|
93
92
|
});
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
if (res.ok) {
|
|
94
|
+
const { value: result } = res;
|
|
95
|
+
console.log(result);
|
|
96
|
+
} else {
|
|
97
|
+
console.log("repoCreateRepoBranch failed:", res.error);
|
|
97
98
|
}
|
|
98
|
-
|
|
99
|
-
const { value: result } = res;
|
|
100
|
-
|
|
101
|
-
// Handle the result
|
|
102
|
-
console.log(result);
|
|
103
99
|
}
|
|
104
100
|
|
|
105
101
|
run();
|
|
@@ -148,7 +144,6 @@ async function run() {
|
|
|
148
144
|
connectionId: "<id>",
|
|
149
145
|
});
|
|
150
146
|
|
|
151
|
-
// Handle the result
|
|
152
147
|
console.log(result);
|
|
153
148
|
}
|
|
154
149
|
|
|
@@ -179,15 +174,12 @@ async function run() {
|
|
|
179
174
|
},
|
|
180
175
|
connectionId: "<id>",
|
|
181
176
|
});
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
177
|
+
if (res.ok) {
|
|
178
|
+
const { value: result } = res;
|
|
179
|
+
console.log(result);
|
|
180
|
+
} else {
|
|
181
|
+
console.log("repoCreateRepoCommit failed:", res.error);
|
|
185
182
|
}
|
|
186
|
-
|
|
187
|
-
const { value: result } = res;
|
|
188
|
-
|
|
189
|
-
// Handle the result
|
|
190
|
-
console.log(result);
|
|
191
183
|
}
|
|
192
184
|
|
|
193
185
|
run();
|
|
@@ -233,7 +225,6 @@ async function run() {
|
|
|
233
225
|
connectionId: "<id>",
|
|
234
226
|
});
|
|
235
227
|
|
|
236
|
-
// Handle the result
|
|
237
228
|
console.log(result);
|
|
238
229
|
}
|
|
239
230
|
|
|
@@ -261,15 +252,12 @@ async function run() {
|
|
|
261
252
|
repoOrganization: {},
|
|
262
253
|
connectionId: "<id>",
|
|
263
254
|
});
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
255
|
+
if (res.ok) {
|
|
256
|
+
const { value: result } = res;
|
|
257
|
+
console.log(result);
|
|
258
|
+
} else {
|
|
259
|
+
console.log("repoCreateRepoOrganization failed:", res.error);
|
|
267
260
|
}
|
|
268
|
-
|
|
269
|
-
const { value: result } = res;
|
|
270
|
-
|
|
271
|
-
// Handle the result
|
|
272
|
-
console.log(result);
|
|
273
261
|
}
|
|
274
262
|
|
|
275
263
|
run();
|
|
@@ -315,7 +303,6 @@ async function run() {
|
|
|
315
303
|
connectionId: "<id>",
|
|
316
304
|
});
|
|
317
305
|
|
|
318
|
-
// Handle the result
|
|
319
306
|
console.log(result);
|
|
320
307
|
}
|
|
321
308
|
|
|
@@ -343,15 +330,12 @@ async function run() {
|
|
|
343
330
|
repoPullrequest: {},
|
|
344
331
|
connectionId: "<id>",
|
|
345
332
|
});
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
333
|
+
if (res.ok) {
|
|
334
|
+
const { value: result } = res;
|
|
335
|
+
console.log(result);
|
|
336
|
+
} else {
|
|
337
|
+
console.log("repoCreateRepoPullrequest failed:", res.error);
|
|
349
338
|
}
|
|
350
|
-
|
|
351
|
-
const { value: result } = res;
|
|
352
|
-
|
|
353
|
-
// Handle the result
|
|
354
|
-
console.log(result);
|
|
355
339
|
}
|
|
356
340
|
|
|
357
341
|
run();
|
|
@@ -399,7 +383,6 @@ async function run() {
|
|
|
399
383
|
connectionId: "<id>",
|
|
400
384
|
});
|
|
401
385
|
|
|
402
|
-
// Handle the result
|
|
403
386
|
console.log(result);
|
|
404
387
|
}
|
|
405
388
|
|
|
@@ -429,15 +412,12 @@ async function run() {
|
|
|
429
412
|
},
|
|
430
413
|
connectionId: "<id>",
|
|
431
414
|
});
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
415
|
+
if (res.ok) {
|
|
416
|
+
const { value: result } = res;
|
|
417
|
+
console.log(result);
|
|
418
|
+
} else {
|
|
419
|
+
console.log("repoCreateRepoRepository failed:", res.error);
|
|
435
420
|
}
|
|
436
|
-
|
|
437
|
-
const { value: result } = res;
|
|
438
|
-
|
|
439
|
-
// Handle the result
|
|
440
|
-
console.log(result);
|
|
441
421
|
}
|
|
442
422
|
|
|
443
423
|
run();
|
|
@@ -483,7 +463,6 @@ async function run() {
|
|
|
483
463
|
id: "<id>",
|
|
484
464
|
});
|
|
485
465
|
|
|
486
|
-
// Handle the result
|
|
487
466
|
console.log(result);
|
|
488
467
|
}
|
|
489
468
|
|
|
@@ -511,15 +490,12 @@ async function run() {
|
|
|
511
490
|
connectionId: "<id>",
|
|
512
491
|
id: "<id>",
|
|
513
492
|
});
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
493
|
+
if (res.ok) {
|
|
494
|
+
const { value: result } = res;
|
|
495
|
+
console.log(result);
|
|
496
|
+
} else {
|
|
497
|
+
console.log("repoGetRepoBranch failed:", res.error);
|
|
517
498
|
}
|
|
518
|
-
|
|
519
|
-
const { value: result } = res;
|
|
520
|
-
|
|
521
|
-
// Handle the result
|
|
522
|
-
console.log(result);
|
|
523
499
|
}
|
|
524
500
|
|
|
525
501
|
run();
|
|
@@ -565,7 +541,6 @@ async function run() {
|
|
|
565
541
|
id: "<id>",
|
|
566
542
|
});
|
|
567
543
|
|
|
568
|
-
// Handle the result
|
|
569
544
|
console.log(result);
|
|
570
545
|
}
|
|
571
546
|
|
|
@@ -593,15 +568,12 @@ async function run() {
|
|
|
593
568
|
connectionId: "<id>",
|
|
594
569
|
id: "<id>",
|
|
595
570
|
});
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
571
|
+
if (res.ok) {
|
|
572
|
+
const { value: result } = res;
|
|
573
|
+
console.log(result);
|
|
574
|
+
} else {
|
|
575
|
+
console.log("repoGetRepoCommit failed:", res.error);
|
|
599
576
|
}
|
|
600
|
-
|
|
601
|
-
const { value: result } = res;
|
|
602
|
-
|
|
603
|
-
// Handle the result
|
|
604
|
-
console.log(result);
|
|
605
577
|
}
|
|
606
578
|
|
|
607
579
|
run();
|
|
@@ -647,7 +619,6 @@ async function run() {
|
|
|
647
619
|
id: "<id>",
|
|
648
620
|
});
|
|
649
621
|
|
|
650
|
-
// Handle the result
|
|
651
622
|
console.log(result);
|
|
652
623
|
}
|
|
653
624
|
|
|
@@ -675,15 +646,12 @@ async function run() {
|
|
|
675
646
|
connectionId: "<id>",
|
|
676
647
|
id: "<id>",
|
|
677
648
|
});
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
649
|
+
if (res.ok) {
|
|
650
|
+
const { value: result } = res;
|
|
651
|
+
console.log(result);
|
|
652
|
+
} else {
|
|
653
|
+
console.log("repoGetRepoOrganization failed:", res.error);
|
|
681
654
|
}
|
|
682
|
-
|
|
683
|
-
const { value: result } = res;
|
|
684
|
-
|
|
685
|
-
// Handle the result
|
|
686
|
-
console.log(result);
|
|
687
655
|
}
|
|
688
656
|
|
|
689
657
|
run();
|
|
@@ -729,7 +697,6 @@ async function run() {
|
|
|
729
697
|
id: "<id>",
|
|
730
698
|
});
|
|
731
699
|
|
|
732
|
-
// Handle the result
|
|
733
700
|
console.log(result);
|
|
734
701
|
}
|
|
735
702
|
|
|
@@ -757,15 +724,12 @@ async function run() {
|
|
|
757
724
|
connectionId: "<id>",
|
|
758
725
|
id: "<id>",
|
|
759
726
|
});
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
727
|
+
if (res.ok) {
|
|
728
|
+
const { value: result } = res;
|
|
729
|
+
console.log(result);
|
|
730
|
+
} else {
|
|
731
|
+
console.log("repoGetRepoPullrequest failed:", res.error);
|
|
763
732
|
}
|
|
764
|
-
|
|
765
|
-
const { value: result } = res;
|
|
766
|
-
|
|
767
|
-
// Handle the result
|
|
768
|
-
console.log(result);
|
|
769
733
|
}
|
|
770
734
|
|
|
771
735
|
run();
|
|
@@ -811,7 +775,6 @@ async function run() {
|
|
|
811
775
|
id: "<id>",
|
|
812
776
|
});
|
|
813
777
|
|
|
814
|
-
// Handle the result
|
|
815
778
|
console.log(result);
|
|
816
779
|
}
|
|
817
780
|
|
|
@@ -839,15 +802,12 @@ async function run() {
|
|
|
839
802
|
connectionId: "<id>",
|
|
840
803
|
id: "<id>",
|
|
841
804
|
});
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
805
|
+
if (res.ok) {
|
|
806
|
+
const { value: result } = res;
|
|
807
|
+
console.log(result);
|
|
808
|
+
} else {
|
|
809
|
+
console.log("repoGetRepoRepository failed:", res.error);
|
|
845
810
|
}
|
|
846
|
-
|
|
847
|
-
const { value: result } = res;
|
|
848
|
-
|
|
849
|
-
// Handle the result
|
|
850
|
-
console.log(result);
|
|
851
811
|
}
|
|
852
812
|
|
|
853
813
|
run();
|
|
@@ -892,7 +852,6 @@ async function run() {
|
|
|
892
852
|
connectionId: "<id>",
|
|
893
853
|
});
|
|
894
854
|
|
|
895
|
-
// Handle the result
|
|
896
855
|
console.log(result);
|
|
897
856
|
}
|
|
898
857
|
|
|
@@ -919,15 +878,12 @@ async function run() {
|
|
|
919
878
|
const res = await repoListRepoBranches(unifiedTo, {
|
|
920
879
|
connectionId: "<id>",
|
|
921
880
|
});
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
881
|
+
if (res.ok) {
|
|
882
|
+
const { value: result } = res;
|
|
883
|
+
console.log(result);
|
|
884
|
+
} else {
|
|
885
|
+
console.log("repoListRepoBranches failed:", res.error);
|
|
925
886
|
}
|
|
926
|
-
|
|
927
|
-
const { value: result } = res;
|
|
928
|
-
|
|
929
|
-
// Handle the result
|
|
930
|
-
console.log(result);
|
|
931
887
|
}
|
|
932
888
|
|
|
933
889
|
run();
|
|
@@ -972,7 +928,6 @@ async function run() {
|
|
|
972
928
|
connectionId: "<id>",
|
|
973
929
|
});
|
|
974
930
|
|
|
975
|
-
// Handle the result
|
|
976
931
|
console.log(result);
|
|
977
932
|
}
|
|
978
933
|
|
|
@@ -999,15 +954,12 @@ async function run() {
|
|
|
999
954
|
const res = await repoListRepoCommits(unifiedTo, {
|
|
1000
955
|
connectionId: "<id>",
|
|
1001
956
|
});
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
957
|
+
if (res.ok) {
|
|
958
|
+
const { value: result } = res;
|
|
959
|
+
console.log(result);
|
|
960
|
+
} else {
|
|
961
|
+
console.log("repoListRepoCommits failed:", res.error);
|
|
1005
962
|
}
|
|
1006
|
-
|
|
1007
|
-
const { value: result } = res;
|
|
1008
|
-
|
|
1009
|
-
// Handle the result
|
|
1010
|
-
console.log(result);
|
|
1011
963
|
}
|
|
1012
964
|
|
|
1013
965
|
run();
|
|
@@ -1052,7 +1004,6 @@ async function run() {
|
|
|
1052
1004
|
connectionId: "<id>",
|
|
1053
1005
|
});
|
|
1054
1006
|
|
|
1055
|
-
// Handle the result
|
|
1056
1007
|
console.log(result);
|
|
1057
1008
|
}
|
|
1058
1009
|
|
|
@@ -1079,15 +1030,12 @@ async function run() {
|
|
|
1079
1030
|
const res = await repoListRepoOrganizations(unifiedTo, {
|
|
1080
1031
|
connectionId: "<id>",
|
|
1081
1032
|
});
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1033
|
+
if (res.ok) {
|
|
1034
|
+
const { value: result } = res;
|
|
1035
|
+
console.log(result);
|
|
1036
|
+
} else {
|
|
1037
|
+
console.log("repoListRepoOrganizations failed:", res.error);
|
|
1085
1038
|
}
|
|
1086
|
-
|
|
1087
|
-
const { value: result } = res;
|
|
1088
|
-
|
|
1089
|
-
// Handle the result
|
|
1090
|
-
console.log(result);
|
|
1091
1039
|
}
|
|
1092
1040
|
|
|
1093
1041
|
run();
|
|
@@ -1132,7 +1080,6 @@ async function run() {
|
|
|
1132
1080
|
connectionId: "<id>",
|
|
1133
1081
|
});
|
|
1134
1082
|
|
|
1135
|
-
// Handle the result
|
|
1136
1083
|
console.log(result);
|
|
1137
1084
|
}
|
|
1138
1085
|
|
|
@@ -1159,15 +1106,12 @@ async function run() {
|
|
|
1159
1106
|
const res = await repoListRepoPullrequests(unifiedTo, {
|
|
1160
1107
|
connectionId: "<id>",
|
|
1161
1108
|
});
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1109
|
+
if (res.ok) {
|
|
1110
|
+
const { value: result } = res;
|
|
1111
|
+
console.log(result);
|
|
1112
|
+
} else {
|
|
1113
|
+
console.log("repoListRepoPullrequests failed:", res.error);
|
|
1165
1114
|
}
|
|
1166
|
-
|
|
1167
|
-
const { value: result } = res;
|
|
1168
|
-
|
|
1169
|
-
// Handle the result
|
|
1170
|
-
console.log(result);
|
|
1171
1115
|
}
|
|
1172
1116
|
|
|
1173
1117
|
run();
|
|
@@ -1212,7 +1156,6 @@ async function run() {
|
|
|
1212
1156
|
connectionId: "<id>",
|
|
1213
1157
|
});
|
|
1214
1158
|
|
|
1215
|
-
// Handle the result
|
|
1216
1159
|
console.log(result);
|
|
1217
1160
|
}
|
|
1218
1161
|
|
|
@@ -1239,15 +1182,12 @@ async function run() {
|
|
|
1239
1182
|
const res = await repoListRepoRepositories(unifiedTo, {
|
|
1240
1183
|
connectionId: "<id>",
|
|
1241
1184
|
});
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1185
|
+
if (res.ok) {
|
|
1186
|
+
const { value: result } = res;
|
|
1187
|
+
console.log(result);
|
|
1188
|
+
} else {
|
|
1189
|
+
console.log("repoListRepoRepositories failed:", res.error);
|
|
1245
1190
|
}
|
|
1246
|
-
|
|
1247
|
-
const { value: result } = res;
|
|
1248
|
-
|
|
1249
|
-
// Handle the result
|
|
1250
|
-
console.log(result);
|
|
1251
1191
|
}
|
|
1252
1192
|
|
|
1253
1193
|
run();
|
|
@@ -1297,7 +1237,6 @@ async function run() {
|
|
|
1297
1237
|
id: "<id>",
|
|
1298
1238
|
});
|
|
1299
1239
|
|
|
1300
|
-
// Handle the result
|
|
1301
1240
|
console.log(result);
|
|
1302
1241
|
}
|
|
1303
1242
|
|
|
@@ -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("repoPatchRepoBranch 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();
|
|
@@ -1387,7 +1323,6 @@ async function run() {
|
|
|
1387
1323
|
id: "<id>",
|
|
1388
1324
|
});
|
|
1389
1325
|
|
|
1390
|
-
// Handle the result
|
|
1391
1326
|
console.log(result);
|
|
1392
1327
|
}
|
|
1393
1328
|
|
|
@@ -1419,15 +1354,12 @@ async function run() {
|
|
|
1419
1354
|
connectionId: "<id>",
|
|
1420
1355
|
id: "<id>",
|
|
1421
1356
|
});
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1357
|
+
if (res.ok) {
|
|
1358
|
+
const { value: result } = res;
|
|
1359
|
+
console.log(result);
|
|
1360
|
+
} else {
|
|
1361
|
+
console.log("repoPatchRepoCommit failed:", res.error);
|
|
1425
1362
|
}
|
|
1426
|
-
|
|
1427
|
-
const { value: result } = res;
|
|
1428
|
-
|
|
1429
|
-
// Handle the result
|
|
1430
|
-
console.log(result);
|
|
1431
1363
|
}
|
|
1432
1364
|
|
|
1433
1365
|
run();
|
|
@@ -1474,7 +1406,6 @@ async function run() {
|
|
|
1474
1406
|
id: "<id>",
|
|
1475
1407
|
});
|
|
1476
1408
|
|
|
1477
|
-
// Handle the result
|
|
1478
1409
|
console.log(result);
|
|
1479
1410
|
}
|
|
1480
1411
|
|
|
@@ -1503,15 +1434,12 @@ async function run() {
|
|
|
1503
1434
|
connectionId: "<id>",
|
|
1504
1435
|
id: "<id>",
|
|
1505
1436
|
});
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1437
|
+
if (res.ok) {
|
|
1438
|
+
const { value: result } = res;
|
|
1439
|
+
console.log(result);
|
|
1440
|
+
} else {
|
|
1441
|
+
console.log("repoPatchRepoOrganization failed:", res.error);
|
|
1509
1442
|
}
|
|
1510
|
-
|
|
1511
|
-
const { value: result } = res;
|
|
1512
|
-
|
|
1513
|
-
// Handle the result
|
|
1514
|
-
console.log(result);
|
|
1515
1443
|
}
|
|
1516
1444
|
|
|
1517
1445
|
run();
|
|
@@ -1558,7 +1486,6 @@ async function run() {
|
|
|
1558
1486
|
id: "<id>",
|
|
1559
1487
|
});
|
|
1560
1488
|
|
|
1561
|
-
// Handle the result
|
|
1562
1489
|
console.log(result);
|
|
1563
1490
|
}
|
|
1564
1491
|
|
|
@@ -1587,15 +1514,12 @@ async function run() {
|
|
|
1587
1514
|
connectionId: "<id>",
|
|
1588
1515
|
id: "<id>",
|
|
1589
1516
|
});
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1517
|
+
if (res.ok) {
|
|
1518
|
+
const { value: result } = res;
|
|
1519
|
+
console.log(result);
|
|
1520
|
+
} else {
|
|
1521
|
+
console.log("repoPatchRepoPullrequest failed:", res.error);
|
|
1593
1522
|
}
|
|
1594
|
-
|
|
1595
|
-
const { value: result } = res;
|
|
1596
|
-
|
|
1597
|
-
// Handle the result
|
|
1598
|
-
console.log(result);
|
|
1599
1523
|
}
|
|
1600
1524
|
|
|
1601
1525
|
run();
|
|
@@ -1644,7 +1568,6 @@ async function run() {
|
|
|
1644
1568
|
id: "<id>",
|
|
1645
1569
|
});
|
|
1646
1570
|
|
|
1647
|
-
// Handle the result
|
|
1648
1571
|
console.log(result);
|
|
1649
1572
|
}
|
|
1650
1573
|
|
|
@@ -1675,15 +1598,12 @@ async function run() {
|
|
|
1675
1598
|
connectionId: "<id>",
|
|
1676
1599
|
id: "<id>",
|
|
1677
1600
|
});
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1601
|
+
if (res.ok) {
|
|
1602
|
+
const { value: result } = res;
|
|
1603
|
+
console.log(result);
|
|
1604
|
+
} else {
|
|
1605
|
+
console.log("repoPatchRepoRepository failed:", res.error);
|
|
1681
1606
|
}
|
|
1682
|
-
|
|
1683
|
-
const { value: result } = res;
|
|
1684
|
-
|
|
1685
|
-
// Handle the result
|
|
1686
|
-
console.log(result);
|
|
1687
1607
|
}
|
|
1688
1608
|
|
|
1689
1609
|
run();
|
|
@@ -1729,7 +1649,6 @@ async function run() {
|
|
|
1729
1649
|
id: "<id>",
|
|
1730
1650
|
});
|
|
1731
1651
|
|
|
1732
|
-
// Handle the result
|
|
1733
1652
|
console.log(result);
|
|
1734
1653
|
}
|
|
1735
1654
|
|
|
@@ -1757,15 +1676,12 @@ async function run() {
|
|
|
1757
1676
|
connectionId: "<id>",
|
|
1758
1677
|
id: "<id>",
|
|
1759
1678
|
});
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1679
|
+
if (res.ok) {
|
|
1680
|
+
const { value: result } = res;
|
|
1681
|
+
console.log(result);
|
|
1682
|
+
} else {
|
|
1683
|
+
console.log("repoRemoveRepoBranch failed:", res.error);
|
|
1763
1684
|
}
|
|
1764
|
-
|
|
1765
|
-
const { value: result } = res;
|
|
1766
|
-
|
|
1767
|
-
// Handle the result
|
|
1768
|
-
console.log(result);
|
|
1769
1685
|
}
|
|
1770
1686
|
|
|
1771
1687
|
run();
|
|
@@ -1811,7 +1727,6 @@ async function run() {
|
|
|
1811
1727
|
id: "<id>",
|
|
1812
1728
|
});
|
|
1813
1729
|
|
|
1814
|
-
// Handle the result
|
|
1815
1730
|
console.log(result);
|
|
1816
1731
|
}
|
|
1817
1732
|
|
|
@@ -1839,15 +1754,12 @@ async function run() {
|
|
|
1839
1754
|
connectionId: "<id>",
|
|
1840
1755
|
id: "<id>",
|
|
1841
1756
|
});
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1757
|
+
if (res.ok) {
|
|
1758
|
+
const { value: result } = res;
|
|
1759
|
+
console.log(result);
|
|
1760
|
+
} else {
|
|
1761
|
+
console.log("repoRemoveRepoCommit failed:", res.error);
|
|
1845
1762
|
}
|
|
1846
|
-
|
|
1847
|
-
const { value: result } = res;
|
|
1848
|
-
|
|
1849
|
-
// Handle the result
|
|
1850
|
-
console.log(result);
|
|
1851
1763
|
}
|
|
1852
1764
|
|
|
1853
1765
|
run();
|
|
@@ -1893,7 +1805,6 @@ async function run() {
|
|
|
1893
1805
|
id: "<id>",
|
|
1894
1806
|
});
|
|
1895
1807
|
|
|
1896
|
-
// Handle the result
|
|
1897
1808
|
console.log(result);
|
|
1898
1809
|
}
|
|
1899
1810
|
|
|
@@ -1921,15 +1832,12 @@ async function run() {
|
|
|
1921
1832
|
connectionId: "<id>",
|
|
1922
1833
|
id: "<id>",
|
|
1923
1834
|
});
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1835
|
+
if (res.ok) {
|
|
1836
|
+
const { value: result } = res;
|
|
1837
|
+
console.log(result);
|
|
1838
|
+
} else {
|
|
1839
|
+
console.log("repoRemoveRepoOrganization failed:", res.error);
|
|
1927
1840
|
}
|
|
1928
|
-
|
|
1929
|
-
const { value: result } = res;
|
|
1930
|
-
|
|
1931
|
-
// Handle the result
|
|
1932
|
-
console.log(result);
|
|
1933
1841
|
}
|
|
1934
1842
|
|
|
1935
1843
|
run();
|
|
@@ -1975,7 +1883,6 @@ async function run() {
|
|
|
1975
1883
|
id: "<id>",
|
|
1976
1884
|
});
|
|
1977
1885
|
|
|
1978
|
-
// Handle the result
|
|
1979
1886
|
console.log(result);
|
|
1980
1887
|
}
|
|
1981
1888
|
|
|
@@ -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("repoRemoveRepoPullrequest 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();
|
|
@@ -2057,7 +1961,6 @@ async function run() {
|
|
|
2057
1961
|
id: "<id>",
|
|
2058
1962
|
});
|
|
2059
1963
|
|
|
2060
|
-
// Handle the result
|
|
2061
1964
|
console.log(result);
|
|
2062
1965
|
}
|
|
2063
1966
|
|
|
@@ -2085,15 +1988,12 @@ async function run() {
|
|
|
2085
1988
|
connectionId: "<id>",
|
|
2086
1989
|
id: "<id>",
|
|
2087
1990
|
});
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
1991
|
+
if (res.ok) {
|
|
1992
|
+
const { value: result } = res;
|
|
1993
|
+
console.log(result);
|
|
1994
|
+
} else {
|
|
1995
|
+
console.log("repoRemoveRepoRepository failed:", res.error);
|
|
2091
1996
|
}
|
|
2092
|
-
|
|
2093
|
-
const { value: result } = res;
|
|
2094
|
-
|
|
2095
|
-
// Handle the result
|
|
2096
|
-
console.log(result);
|
|
2097
1997
|
}
|
|
2098
1998
|
|
|
2099
1999
|
run();
|
|
@@ -2143,7 +2043,6 @@ async function run() {
|
|
|
2143
2043
|
id: "<id>",
|
|
2144
2044
|
});
|
|
2145
2045
|
|
|
2146
|
-
// Handle the result
|
|
2147
2046
|
console.log(result);
|
|
2148
2047
|
}
|
|
2149
2048
|
|
|
@@ -2175,15 +2074,12 @@ async function run() {
|
|
|
2175
2074
|
connectionId: "<id>",
|
|
2176
2075
|
id: "<id>",
|
|
2177
2076
|
});
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2077
|
+
if (res.ok) {
|
|
2078
|
+
const { value: result } = res;
|
|
2079
|
+
console.log(result);
|
|
2080
|
+
} else {
|
|
2081
|
+
console.log("repoUpdateRepoBranch failed:", res.error);
|
|
2181
2082
|
}
|
|
2182
|
-
|
|
2183
|
-
const { value: result } = res;
|
|
2184
|
-
|
|
2185
|
-
// Handle the result
|
|
2186
|
-
console.log(result);
|
|
2187
2083
|
}
|
|
2188
2084
|
|
|
2189
2085
|
run();
|
|
@@ -2233,7 +2129,6 @@ async function run() {
|
|
|
2233
2129
|
id: "<id>",
|
|
2234
2130
|
});
|
|
2235
2131
|
|
|
2236
|
-
// Handle the result
|
|
2237
2132
|
console.log(result);
|
|
2238
2133
|
}
|
|
2239
2134
|
|
|
@@ -2265,15 +2160,12 @@ async function run() {
|
|
|
2265
2160
|
connectionId: "<id>",
|
|
2266
2161
|
id: "<id>",
|
|
2267
2162
|
});
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2163
|
+
if (res.ok) {
|
|
2164
|
+
const { value: result } = res;
|
|
2165
|
+
console.log(result);
|
|
2166
|
+
} else {
|
|
2167
|
+
console.log("repoUpdateRepoCommit failed:", res.error);
|
|
2271
2168
|
}
|
|
2272
|
-
|
|
2273
|
-
const { value: result } = res;
|
|
2274
|
-
|
|
2275
|
-
// Handle the result
|
|
2276
|
-
console.log(result);
|
|
2277
2169
|
}
|
|
2278
2170
|
|
|
2279
2171
|
run();
|
|
@@ -2320,7 +2212,6 @@ async function run() {
|
|
|
2320
2212
|
id: "<id>",
|
|
2321
2213
|
});
|
|
2322
2214
|
|
|
2323
|
-
// Handle the result
|
|
2324
2215
|
console.log(result);
|
|
2325
2216
|
}
|
|
2326
2217
|
|
|
@@ -2349,15 +2240,12 @@ async function run() {
|
|
|
2349
2240
|
connectionId: "<id>",
|
|
2350
2241
|
id: "<id>",
|
|
2351
2242
|
});
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2243
|
+
if (res.ok) {
|
|
2244
|
+
const { value: result } = res;
|
|
2245
|
+
console.log(result);
|
|
2246
|
+
} else {
|
|
2247
|
+
console.log("repoUpdateRepoOrganization failed:", res.error);
|
|
2355
2248
|
}
|
|
2356
|
-
|
|
2357
|
-
const { value: result } = res;
|
|
2358
|
-
|
|
2359
|
-
// Handle the result
|
|
2360
|
-
console.log(result);
|
|
2361
2249
|
}
|
|
2362
2250
|
|
|
2363
2251
|
run();
|
|
@@ -2404,7 +2292,6 @@ async function run() {
|
|
|
2404
2292
|
id: "<id>",
|
|
2405
2293
|
});
|
|
2406
2294
|
|
|
2407
|
-
// Handle the result
|
|
2408
2295
|
console.log(result);
|
|
2409
2296
|
}
|
|
2410
2297
|
|
|
@@ -2433,15 +2320,12 @@ async function run() {
|
|
|
2433
2320
|
connectionId: "<id>",
|
|
2434
2321
|
id: "<id>",
|
|
2435
2322
|
});
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2323
|
+
if (res.ok) {
|
|
2324
|
+
const { value: result } = res;
|
|
2325
|
+
console.log(result);
|
|
2326
|
+
} else {
|
|
2327
|
+
console.log("repoUpdateRepoPullrequest failed:", res.error);
|
|
2439
2328
|
}
|
|
2440
|
-
|
|
2441
|
-
const { value: result } = res;
|
|
2442
|
-
|
|
2443
|
-
// Handle the result
|
|
2444
|
-
console.log(result);
|
|
2445
2329
|
}
|
|
2446
2330
|
|
|
2447
2331
|
run();
|
|
@@ -2490,7 +2374,6 @@ async function run() {
|
|
|
2490
2374
|
id: "<id>",
|
|
2491
2375
|
});
|
|
2492
2376
|
|
|
2493
|
-
// Handle the result
|
|
2494
2377
|
console.log(result);
|
|
2495
2378
|
}
|
|
2496
2379
|
|
|
@@ -2521,15 +2404,12 @@ async function run() {
|
|
|
2521
2404
|
connectionId: "<id>",
|
|
2522
2405
|
id: "<id>",
|
|
2523
2406
|
});
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2407
|
+
if (res.ok) {
|
|
2408
|
+
const { value: result } = res;
|
|
2409
|
+
console.log(result);
|
|
2410
|
+
} else {
|
|
2411
|
+
console.log("repoUpdateRepoRepository failed:", res.error);
|
|
2527
2412
|
}
|
|
2528
|
-
|
|
2529
|
-
const { value: result } = res;
|
|
2530
|
-
|
|
2531
|
-
// Handle the result
|
|
2532
|
-
console.log(result);
|
|
2533
2413
|
}
|
|
2534
2414
|
|
|
2535
2415
|
run();
|