@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
|
@@ -73,7 +73,6 @@ async function run() {
|
|
|
73
73
|
connectionId: "<id>",
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
// Handle the result
|
|
77
76
|
console.log(result);
|
|
78
77
|
}
|
|
79
78
|
|
|
@@ -101,15 +100,12 @@ async function run() {
|
|
|
101
100
|
accountingAccount: {},
|
|
102
101
|
connectionId: "<id>",
|
|
103
102
|
});
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
103
|
+
if (res.ok) {
|
|
104
|
+
const { value: result } = res;
|
|
105
|
+
console.log(result);
|
|
106
|
+
} else {
|
|
107
|
+
console.log("accountingCreateAccountingAccount failed:", res.error);
|
|
107
108
|
}
|
|
108
|
-
|
|
109
|
-
const { value: result } = res;
|
|
110
|
-
|
|
111
|
-
// Handle the result
|
|
112
|
-
console.log(result);
|
|
113
109
|
}
|
|
114
110
|
|
|
115
111
|
run();
|
|
@@ -155,7 +151,6 @@ async function run() {
|
|
|
155
151
|
connectionId: "<id>",
|
|
156
152
|
});
|
|
157
153
|
|
|
158
|
-
// Handle the result
|
|
159
154
|
console.log(result);
|
|
160
155
|
}
|
|
161
156
|
|
|
@@ -183,15 +178,12 @@ async function run() {
|
|
|
183
178
|
accountingContact: {},
|
|
184
179
|
connectionId: "<id>",
|
|
185
180
|
});
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
181
|
+
if (res.ok) {
|
|
182
|
+
const { value: result } = res;
|
|
183
|
+
console.log(result);
|
|
184
|
+
} else {
|
|
185
|
+
console.log("accountingCreateAccountingContact failed:", res.error);
|
|
189
186
|
}
|
|
190
|
-
|
|
191
|
-
const { value: result } = res;
|
|
192
|
-
|
|
193
|
-
// Handle the result
|
|
194
|
-
console.log(result);
|
|
195
187
|
}
|
|
196
188
|
|
|
197
189
|
run();
|
|
@@ -237,7 +229,6 @@ async function run() {
|
|
|
237
229
|
connectionId: "<id>",
|
|
238
230
|
});
|
|
239
231
|
|
|
240
|
-
// Handle the result
|
|
241
232
|
console.log(result);
|
|
242
233
|
}
|
|
243
234
|
|
|
@@ -265,15 +256,12 @@ async function run() {
|
|
|
265
256
|
accountingInvoice: {},
|
|
266
257
|
connectionId: "<id>",
|
|
267
258
|
});
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
259
|
+
if (res.ok) {
|
|
260
|
+
const { value: result } = res;
|
|
261
|
+
console.log(result);
|
|
262
|
+
} else {
|
|
263
|
+
console.log("accountingCreateAccountingInvoice failed:", res.error);
|
|
271
264
|
}
|
|
272
|
-
|
|
273
|
-
const { value: result } = res;
|
|
274
|
-
|
|
275
|
-
// Handle the result
|
|
276
|
-
console.log(result);
|
|
277
265
|
}
|
|
278
266
|
|
|
279
267
|
run();
|
|
@@ -319,7 +307,6 @@ async function run() {
|
|
|
319
307
|
connectionId: "<id>",
|
|
320
308
|
});
|
|
321
309
|
|
|
322
|
-
// Handle the result
|
|
323
310
|
console.log(result);
|
|
324
311
|
}
|
|
325
312
|
|
|
@@ -347,15 +334,12 @@ async function run() {
|
|
|
347
334
|
accountingJournal: {},
|
|
348
335
|
connectionId: "<id>",
|
|
349
336
|
});
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
337
|
+
if (res.ok) {
|
|
338
|
+
const { value: result } = res;
|
|
339
|
+
console.log(result);
|
|
340
|
+
} else {
|
|
341
|
+
console.log("accountingCreateAccountingJournal failed:", res.error);
|
|
353
342
|
}
|
|
354
|
-
|
|
355
|
-
const { value: result } = res;
|
|
356
|
-
|
|
357
|
-
// Handle the result
|
|
358
|
-
console.log(result);
|
|
359
343
|
}
|
|
360
344
|
|
|
361
345
|
run();
|
|
@@ -401,7 +385,6 @@ async function run() {
|
|
|
401
385
|
connectionId: "<id>",
|
|
402
386
|
});
|
|
403
387
|
|
|
404
|
-
// Handle the result
|
|
405
388
|
console.log(result);
|
|
406
389
|
}
|
|
407
390
|
|
|
@@ -429,15 +412,12 @@ async function run() {
|
|
|
429
412
|
accountingOrder: {},
|
|
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("accountingCreateAccountingOrder 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
|
connectionId: "<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
|
accountingTaxrate: {},
|
|
512
491
|
connectionId: "<id>",
|
|
513
492
|
});
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
493
|
+
if (res.ok) {
|
|
494
|
+
const { value: result } = res;
|
|
495
|
+
console.log(result);
|
|
496
|
+
} else {
|
|
497
|
+
console.log("accountingCreateAccountingTaxrate 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
|
connectionId: "<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
|
accountingTransaction: {},
|
|
594
569
|
connectionId: "<id>",
|
|
595
570
|
});
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
571
|
+
if (res.ok) {
|
|
572
|
+
const { value: result } = res;
|
|
573
|
+
console.log(result);
|
|
574
|
+
} else {
|
|
575
|
+
console.log("accountingCreateAccountingTransaction 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("accountingGetAccountingAccount 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("accountingGetAccountingContact 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("accountingGetAccountingInvoice 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();
|
|
@@ -893,7 +853,6 @@ async function run() {
|
|
|
893
853
|
id: "<id>",
|
|
894
854
|
});
|
|
895
855
|
|
|
896
|
-
// Handle the result
|
|
897
856
|
console.log(result);
|
|
898
857
|
}
|
|
899
858
|
|
|
@@ -921,15 +880,12 @@ async function run() {
|
|
|
921
880
|
connectionId: "<id>",
|
|
922
881
|
id: "<id>",
|
|
923
882
|
});
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
883
|
+
if (res.ok) {
|
|
884
|
+
const { value: result } = res;
|
|
885
|
+
console.log(result);
|
|
886
|
+
} else {
|
|
887
|
+
console.log("accountingGetAccountingJournal failed:", res.error);
|
|
927
888
|
}
|
|
928
|
-
|
|
929
|
-
const { value: result } = res;
|
|
930
|
-
|
|
931
|
-
// Handle the result
|
|
932
|
-
console.log(result);
|
|
933
889
|
}
|
|
934
890
|
|
|
935
891
|
run();
|
|
@@ -975,7 +931,6 @@ async function run() {
|
|
|
975
931
|
id: "<id>",
|
|
976
932
|
});
|
|
977
933
|
|
|
978
|
-
// Handle the result
|
|
979
934
|
console.log(result);
|
|
980
935
|
}
|
|
981
936
|
|
|
@@ -1003,15 +958,12 @@ async function run() {
|
|
|
1003
958
|
connectionId: "<id>",
|
|
1004
959
|
id: "<id>",
|
|
1005
960
|
});
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
961
|
+
if (res.ok) {
|
|
962
|
+
const { value: result } = res;
|
|
963
|
+
console.log(result);
|
|
964
|
+
} else {
|
|
965
|
+
console.log("accountingGetAccountingOrder failed:", res.error);
|
|
1009
966
|
}
|
|
1010
|
-
|
|
1011
|
-
const { value: result } = res;
|
|
1012
|
-
|
|
1013
|
-
// Handle the result
|
|
1014
|
-
console.log(result);
|
|
1015
967
|
}
|
|
1016
968
|
|
|
1017
969
|
run();
|
|
@@ -1057,7 +1009,6 @@ async function run() {
|
|
|
1057
1009
|
id: "<id>",
|
|
1058
1010
|
});
|
|
1059
1011
|
|
|
1060
|
-
// Handle the result
|
|
1061
1012
|
console.log(result);
|
|
1062
1013
|
}
|
|
1063
1014
|
|
|
@@ -1085,15 +1036,12 @@ async function run() {
|
|
|
1085
1036
|
connectionId: "<id>",
|
|
1086
1037
|
id: "<id>",
|
|
1087
1038
|
});
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1039
|
+
if (res.ok) {
|
|
1040
|
+
const { value: result } = res;
|
|
1041
|
+
console.log(result);
|
|
1042
|
+
} else {
|
|
1043
|
+
console.log("accountingGetAccountingOrganization failed:", res.error);
|
|
1091
1044
|
}
|
|
1092
|
-
|
|
1093
|
-
const { value: result } = res;
|
|
1094
|
-
|
|
1095
|
-
// Handle the result
|
|
1096
|
-
console.log(result);
|
|
1097
1045
|
}
|
|
1098
1046
|
|
|
1099
1047
|
run();
|
|
@@ -1139,7 +1087,6 @@ async function run() {
|
|
|
1139
1087
|
id: "<id>",
|
|
1140
1088
|
});
|
|
1141
1089
|
|
|
1142
|
-
// Handle the result
|
|
1143
1090
|
console.log(result);
|
|
1144
1091
|
}
|
|
1145
1092
|
|
|
@@ -1167,15 +1114,12 @@ async function run() {
|
|
|
1167
1114
|
connectionId: "<id>",
|
|
1168
1115
|
id: "<id>",
|
|
1169
1116
|
});
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1117
|
+
if (res.ok) {
|
|
1118
|
+
const { value: result } = res;
|
|
1119
|
+
console.log(result);
|
|
1120
|
+
} else {
|
|
1121
|
+
console.log("accountingGetAccountingReport failed:", res.error);
|
|
1173
1122
|
}
|
|
1174
|
-
|
|
1175
|
-
const { value: result } = res;
|
|
1176
|
-
|
|
1177
|
-
// Handle the result
|
|
1178
|
-
console.log(result);
|
|
1179
1123
|
}
|
|
1180
1124
|
|
|
1181
1125
|
run();
|
|
@@ -1221,7 +1165,6 @@ async function run() {
|
|
|
1221
1165
|
id: "<id>",
|
|
1222
1166
|
});
|
|
1223
1167
|
|
|
1224
|
-
// Handle the result
|
|
1225
1168
|
console.log(result);
|
|
1226
1169
|
}
|
|
1227
1170
|
|
|
@@ -1249,15 +1192,12 @@ async function run() {
|
|
|
1249
1192
|
connectionId: "<id>",
|
|
1250
1193
|
id: "<id>",
|
|
1251
1194
|
});
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1195
|
+
if (res.ok) {
|
|
1196
|
+
const { value: result } = res;
|
|
1197
|
+
console.log(result);
|
|
1198
|
+
} else {
|
|
1199
|
+
console.log("accountingGetAccountingTaxrate failed:", res.error);
|
|
1255
1200
|
}
|
|
1256
|
-
|
|
1257
|
-
const { value: result } = res;
|
|
1258
|
-
|
|
1259
|
-
// Handle the result
|
|
1260
|
-
console.log(result);
|
|
1261
1201
|
}
|
|
1262
1202
|
|
|
1263
1203
|
run();
|
|
@@ -1303,7 +1243,6 @@ async function run() {
|
|
|
1303
1243
|
id: "<id>",
|
|
1304
1244
|
});
|
|
1305
1245
|
|
|
1306
|
-
// Handle the result
|
|
1307
1246
|
console.log(result);
|
|
1308
1247
|
}
|
|
1309
1248
|
|
|
@@ -1331,15 +1270,12 @@ async function run() {
|
|
|
1331
1270
|
connectionId: "<id>",
|
|
1332
1271
|
id: "<id>",
|
|
1333
1272
|
});
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1273
|
+
if (res.ok) {
|
|
1274
|
+
const { value: result } = res;
|
|
1275
|
+
console.log(result);
|
|
1276
|
+
} else {
|
|
1277
|
+
console.log("accountingGetAccountingTransaction failed:", res.error);
|
|
1337
1278
|
}
|
|
1338
|
-
|
|
1339
|
-
const { value: result } = res;
|
|
1340
|
-
|
|
1341
|
-
// Handle the result
|
|
1342
|
-
console.log(result);
|
|
1343
1279
|
}
|
|
1344
1280
|
|
|
1345
1281
|
run();
|
|
@@ -1384,7 +1320,6 @@ async function run() {
|
|
|
1384
1320
|
connectionId: "<id>",
|
|
1385
1321
|
});
|
|
1386
1322
|
|
|
1387
|
-
// Handle the result
|
|
1388
1323
|
console.log(result);
|
|
1389
1324
|
}
|
|
1390
1325
|
|
|
@@ -1411,15 +1346,12 @@ async function run() {
|
|
|
1411
1346
|
const res = await accountingListAccountingAccounts(unifiedTo, {
|
|
1412
1347
|
connectionId: "<id>",
|
|
1413
1348
|
});
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1349
|
+
if (res.ok) {
|
|
1350
|
+
const { value: result } = res;
|
|
1351
|
+
console.log(result);
|
|
1352
|
+
} else {
|
|
1353
|
+
console.log("accountingListAccountingAccounts 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();
|
|
@@ -1464,7 +1396,6 @@ async function run() {
|
|
|
1464
1396
|
connectionId: "<id>",
|
|
1465
1397
|
});
|
|
1466
1398
|
|
|
1467
|
-
// Handle the result
|
|
1468
1399
|
console.log(result);
|
|
1469
1400
|
}
|
|
1470
1401
|
|
|
@@ -1491,15 +1422,12 @@ async function run() {
|
|
|
1491
1422
|
const res = await accountingListAccountingContacts(unifiedTo, {
|
|
1492
1423
|
connectionId: "<id>",
|
|
1493
1424
|
});
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1425
|
+
if (res.ok) {
|
|
1426
|
+
const { value: result } = res;
|
|
1427
|
+
console.log(result);
|
|
1428
|
+
} else {
|
|
1429
|
+
console.log("accountingListAccountingContacts failed:", res.error);
|
|
1497
1430
|
}
|
|
1498
|
-
|
|
1499
|
-
const { value: result } = res;
|
|
1500
|
-
|
|
1501
|
-
// Handle the result
|
|
1502
|
-
console.log(result);
|
|
1503
1431
|
}
|
|
1504
1432
|
|
|
1505
1433
|
run();
|
|
@@ -1544,7 +1472,6 @@ async function run() {
|
|
|
1544
1472
|
connectionId: "<id>",
|
|
1545
1473
|
});
|
|
1546
1474
|
|
|
1547
|
-
// Handle the result
|
|
1548
1475
|
console.log(result);
|
|
1549
1476
|
}
|
|
1550
1477
|
|
|
@@ -1571,15 +1498,12 @@ async function run() {
|
|
|
1571
1498
|
const res = await accountingListAccountingInvoices(unifiedTo, {
|
|
1572
1499
|
connectionId: "<id>",
|
|
1573
1500
|
});
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1501
|
+
if (res.ok) {
|
|
1502
|
+
const { value: result } = res;
|
|
1503
|
+
console.log(result);
|
|
1504
|
+
} else {
|
|
1505
|
+
console.log("accountingListAccountingInvoices failed:", res.error);
|
|
1577
1506
|
}
|
|
1578
|
-
|
|
1579
|
-
const { value: result } = res;
|
|
1580
|
-
|
|
1581
|
-
// Handle the result
|
|
1582
|
-
console.log(result);
|
|
1583
1507
|
}
|
|
1584
1508
|
|
|
1585
1509
|
run();
|
|
@@ -1624,7 +1548,6 @@ async function run() {
|
|
|
1624
1548
|
connectionId: "<id>",
|
|
1625
1549
|
});
|
|
1626
1550
|
|
|
1627
|
-
// Handle the result
|
|
1628
1551
|
console.log(result);
|
|
1629
1552
|
}
|
|
1630
1553
|
|
|
@@ -1651,15 +1574,12 @@ async function run() {
|
|
|
1651
1574
|
const res = await accountingListAccountingJournals(unifiedTo, {
|
|
1652
1575
|
connectionId: "<id>",
|
|
1653
1576
|
});
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1577
|
+
if (res.ok) {
|
|
1578
|
+
const { value: result } = res;
|
|
1579
|
+
console.log(result);
|
|
1580
|
+
} else {
|
|
1581
|
+
console.log("accountingListAccountingJournals failed:", res.error);
|
|
1657
1582
|
}
|
|
1658
|
-
|
|
1659
|
-
const { value: result } = res;
|
|
1660
|
-
|
|
1661
|
-
// Handle the result
|
|
1662
|
-
console.log(result);
|
|
1663
1583
|
}
|
|
1664
1584
|
|
|
1665
1585
|
run();
|
|
@@ -1704,7 +1624,6 @@ async function run() {
|
|
|
1704
1624
|
connectionId: "<id>",
|
|
1705
1625
|
});
|
|
1706
1626
|
|
|
1707
|
-
// Handle the result
|
|
1708
1627
|
console.log(result);
|
|
1709
1628
|
}
|
|
1710
1629
|
|
|
@@ -1731,15 +1650,12 @@ async function run() {
|
|
|
1731
1650
|
const res = await accountingListAccountingOrders(unifiedTo, {
|
|
1732
1651
|
connectionId: "<id>",
|
|
1733
1652
|
});
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1653
|
+
if (res.ok) {
|
|
1654
|
+
const { value: result } = res;
|
|
1655
|
+
console.log(result);
|
|
1656
|
+
} else {
|
|
1657
|
+
console.log("accountingListAccountingOrders failed:", res.error);
|
|
1737
1658
|
}
|
|
1738
|
-
|
|
1739
|
-
const { value: result } = res;
|
|
1740
|
-
|
|
1741
|
-
// Handle the result
|
|
1742
|
-
console.log(result);
|
|
1743
1659
|
}
|
|
1744
1660
|
|
|
1745
1661
|
run();
|
|
@@ -1784,7 +1700,6 @@ async function run() {
|
|
|
1784
1700
|
connectionId: "<id>",
|
|
1785
1701
|
});
|
|
1786
1702
|
|
|
1787
|
-
// Handle the result
|
|
1788
1703
|
console.log(result);
|
|
1789
1704
|
}
|
|
1790
1705
|
|
|
@@ -1811,15 +1726,12 @@ async function run() {
|
|
|
1811
1726
|
const res = await accountingListAccountingOrganizations(unifiedTo, {
|
|
1812
1727
|
connectionId: "<id>",
|
|
1813
1728
|
});
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1729
|
+
if (res.ok) {
|
|
1730
|
+
const { value: result } = res;
|
|
1731
|
+
console.log(result);
|
|
1732
|
+
} else {
|
|
1733
|
+
console.log("accountingListAccountingOrganizations failed:", res.error);
|
|
1817
1734
|
}
|
|
1818
|
-
|
|
1819
|
-
const { value: result } = res;
|
|
1820
|
-
|
|
1821
|
-
// Handle the result
|
|
1822
|
-
console.log(result);
|
|
1823
1735
|
}
|
|
1824
1736
|
|
|
1825
1737
|
run();
|
|
@@ -1864,7 +1776,6 @@ async function run() {
|
|
|
1864
1776
|
connectionId: "<id>",
|
|
1865
1777
|
});
|
|
1866
1778
|
|
|
1867
|
-
// Handle the result
|
|
1868
1779
|
console.log(result);
|
|
1869
1780
|
}
|
|
1870
1781
|
|
|
@@ -1891,15 +1802,12 @@ async function run() {
|
|
|
1891
1802
|
const res = await accountingListAccountingReports(unifiedTo, {
|
|
1892
1803
|
connectionId: "<id>",
|
|
1893
1804
|
});
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1805
|
+
if (res.ok) {
|
|
1806
|
+
const { value: result } = res;
|
|
1807
|
+
console.log(result);
|
|
1808
|
+
} else {
|
|
1809
|
+
console.log("accountingListAccountingReports failed:", res.error);
|
|
1897
1810
|
}
|
|
1898
|
-
|
|
1899
|
-
const { value: result } = res;
|
|
1900
|
-
|
|
1901
|
-
// Handle the result
|
|
1902
|
-
console.log(result);
|
|
1903
1811
|
}
|
|
1904
1812
|
|
|
1905
1813
|
run();
|
|
@@ -1944,7 +1852,6 @@ async function run() {
|
|
|
1944
1852
|
connectionId: "<id>",
|
|
1945
1853
|
});
|
|
1946
1854
|
|
|
1947
|
-
// Handle the result
|
|
1948
1855
|
console.log(result);
|
|
1949
1856
|
}
|
|
1950
1857
|
|
|
@@ -1971,15 +1878,12 @@ async function run() {
|
|
|
1971
1878
|
const res = await accountingListAccountingTaxrates(unifiedTo, {
|
|
1972
1879
|
connectionId: "<id>",
|
|
1973
1880
|
});
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1881
|
+
if (res.ok) {
|
|
1882
|
+
const { value: result } = res;
|
|
1883
|
+
console.log(result);
|
|
1884
|
+
} else {
|
|
1885
|
+
console.log("accountingListAccountingTaxrates failed:", res.error);
|
|
1977
1886
|
}
|
|
1978
|
-
|
|
1979
|
-
const { value: result } = res;
|
|
1980
|
-
|
|
1981
|
-
// Handle the result
|
|
1982
|
-
console.log(result);
|
|
1983
1887
|
}
|
|
1984
1888
|
|
|
1985
1889
|
run();
|
|
@@ -2024,7 +1928,6 @@ async function run() {
|
|
|
2024
1928
|
connectionId: "<id>",
|
|
2025
1929
|
});
|
|
2026
1930
|
|
|
2027
|
-
// Handle the result
|
|
2028
1931
|
console.log(result);
|
|
2029
1932
|
}
|
|
2030
1933
|
|
|
@@ -2051,15 +1954,12 @@ async function run() {
|
|
|
2051
1954
|
const res = await accountingListAccountingTransactions(unifiedTo, {
|
|
2052
1955
|
connectionId: "<id>",
|
|
2053
1956
|
});
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
1957
|
+
if (res.ok) {
|
|
1958
|
+
const { value: result } = res;
|
|
1959
|
+
console.log(result);
|
|
1960
|
+
} else {
|
|
1961
|
+
console.log("accountingListAccountingTransactions failed:", res.error);
|
|
2057
1962
|
}
|
|
2058
|
-
|
|
2059
|
-
const { value: result } = res;
|
|
2060
|
-
|
|
2061
|
-
// Handle the result
|
|
2062
|
-
console.log(result);
|
|
2063
1963
|
}
|
|
2064
1964
|
|
|
2065
1965
|
run();
|
|
@@ -2106,7 +2006,6 @@ async function run() {
|
|
|
2106
2006
|
id: "<id>",
|
|
2107
2007
|
});
|
|
2108
2008
|
|
|
2109
|
-
// Handle the result
|
|
2110
2009
|
console.log(result);
|
|
2111
2010
|
}
|
|
2112
2011
|
|
|
@@ -2135,15 +2034,12 @@ async function run() {
|
|
|
2135
2034
|
connectionId: "<id>",
|
|
2136
2035
|
id: "<id>",
|
|
2137
2036
|
});
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2037
|
+
if (res.ok) {
|
|
2038
|
+
const { value: result } = res;
|
|
2039
|
+
console.log(result);
|
|
2040
|
+
} else {
|
|
2041
|
+
console.log("accountingPatchAccountingAccount failed:", res.error);
|
|
2141
2042
|
}
|
|
2142
|
-
|
|
2143
|
-
const { value: result } = res;
|
|
2144
|
-
|
|
2145
|
-
// Handle the result
|
|
2146
|
-
console.log(result);
|
|
2147
2043
|
}
|
|
2148
2044
|
|
|
2149
2045
|
run();
|
|
@@ -2190,7 +2086,6 @@ async function run() {
|
|
|
2190
2086
|
id: "<id>",
|
|
2191
2087
|
});
|
|
2192
2088
|
|
|
2193
|
-
// Handle the result
|
|
2194
2089
|
console.log(result);
|
|
2195
2090
|
}
|
|
2196
2091
|
|
|
@@ -2219,15 +2114,12 @@ async function run() {
|
|
|
2219
2114
|
connectionId: "<id>",
|
|
2220
2115
|
id: "<id>",
|
|
2221
2116
|
});
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2117
|
+
if (res.ok) {
|
|
2118
|
+
const { value: result } = res;
|
|
2119
|
+
console.log(result);
|
|
2120
|
+
} else {
|
|
2121
|
+
console.log("accountingPatchAccountingContact failed:", res.error);
|
|
2225
2122
|
}
|
|
2226
|
-
|
|
2227
|
-
const { value: result } = res;
|
|
2228
|
-
|
|
2229
|
-
// Handle the result
|
|
2230
|
-
console.log(result);
|
|
2231
2123
|
}
|
|
2232
2124
|
|
|
2233
2125
|
run();
|
|
@@ -2274,7 +2166,6 @@ async function run() {
|
|
|
2274
2166
|
id: "<id>",
|
|
2275
2167
|
});
|
|
2276
2168
|
|
|
2277
|
-
// Handle the result
|
|
2278
2169
|
console.log(result);
|
|
2279
2170
|
}
|
|
2280
2171
|
|
|
@@ -2303,15 +2194,12 @@ async function run() {
|
|
|
2303
2194
|
connectionId: "<id>",
|
|
2304
2195
|
id: "<id>",
|
|
2305
2196
|
});
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2197
|
+
if (res.ok) {
|
|
2198
|
+
const { value: result } = res;
|
|
2199
|
+
console.log(result);
|
|
2200
|
+
} else {
|
|
2201
|
+
console.log("accountingPatchAccountingInvoice failed:", res.error);
|
|
2309
2202
|
}
|
|
2310
|
-
|
|
2311
|
-
const { value: result } = res;
|
|
2312
|
-
|
|
2313
|
-
// Handle the result
|
|
2314
|
-
console.log(result);
|
|
2315
2203
|
}
|
|
2316
2204
|
|
|
2317
2205
|
run();
|
|
@@ -2358,7 +2246,6 @@ async function run() {
|
|
|
2358
2246
|
id: "<id>",
|
|
2359
2247
|
});
|
|
2360
2248
|
|
|
2361
|
-
// Handle the result
|
|
2362
2249
|
console.log(result);
|
|
2363
2250
|
}
|
|
2364
2251
|
|
|
@@ -2387,15 +2274,12 @@ async function run() {
|
|
|
2387
2274
|
connectionId: "<id>",
|
|
2388
2275
|
id: "<id>",
|
|
2389
2276
|
});
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2277
|
+
if (res.ok) {
|
|
2278
|
+
const { value: result } = res;
|
|
2279
|
+
console.log(result);
|
|
2280
|
+
} else {
|
|
2281
|
+
console.log("accountingPatchAccountingJournal failed:", res.error);
|
|
2393
2282
|
}
|
|
2394
|
-
|
|
2395
|
-
const { value: result } = res;
|
|
2396
|
-
|
|
2397
|
-
// Handle the result
|
|
2398
|
-
console.log(result);
|
|
2399
2283
|
}
|
|
2400
2284
|
|
|
2401
2285
|
run();
|
|
@@ -2442,7 +2326,6 @@ async function run() {
|
|
|
2442
2326
|
id: "<id>",
|
|
2443
2327
|
});
|
|
2444
2328
|
|
|
2445
|
-
// Handle the result
|
|
2446
2329
|
console.log(result);
|
|
2447
2330
|
}
|
|
2448
2331
|
|
|
@@ -2471,15 +2354,12 @@ async function run() {
|
|
|
2471
2354
|
connectionId: "<id>",
|
|
2472
2355
|
id: "<id>",
|
|
2473
2356
|
});
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2357
|
+
if (res.ok) {
|
|
2358
|
+
const { value: result } = res;
|
|
2359
|
+
console.log(result);
|
|
2360
|
+
} else {
|
|
2361
|
+
console.log("accountingPatchAccountingOrder failed:", res.error);
|
|
2477
2362
|
}
|
|
2478
|
-
|
|
2479
|
-
const { value: result } = res;
|
|
2480
|
-
|
|
2481
|
-
// Handle the result
|
|
2482
|
-
console.log(result);
|
|
2483
2363
|
}
|
|
2484
2364
|
|
|
2485
2365
|
run();
|
|
@@ -2526,7 +2406,6 @@ async function run() {
|
|
|
2526
2406
|
id: "<id>",
|
|
2527
2407
|
});
|
|
2528
2408
|
|
|
2529
|
-
// Handle the result
|
|
2530
2409
|
console.log(result);
|
|
2531
2410
|
}
|
|
2532
2411
|
|
|
@@ -2555,15 +2434,12 @@ async function run() {
|
|
|
2555
2434
|
connectionId: "<id>",
|
|
2556
2435
|
id: "<id>",
|
|
2557
2436
|
});
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2437
|
+
if (res.ok) {
|
|
2438
|
+
const { value: result } = res;
|
|
2439
|
+
console.log(result);
|
|
2440
|
+
} else {
|
|
2441
|
+
console.log("accountingPatchAccountingTaxrate failed:", res.error);
|
|
2561
2442
|
}
|
|
2562
|
-
|
|
2563
|
-
const { value: result } = res;
|
|
2564
|
-
|
|
2565
|
-
// Handle the result
|
|
2566
|
-
console.log(result);
|
|
2567
2443
|
}
|
|
2568
2444
|
|
|
2569
2445
|
run();
|
|
@@ -2610,7 +2486,6 @@ async function run() {
|
|
|
2610
2486
|
id: "<id>",
|
|
2611
2487
|
});
|
|
2612
2488
|
|
|
2613
|
-
// Handle the result
|
|
2614
2489
|
console.log(result);
|
|
2615
2490
|
}
|
|
2616
2491
|
|
|
@@ -2639,15 +2514,12 @@ async function run() {
|
|
|
2639
2514
|
connectionId: "<id>",
|
|
2640
2515
|
id: "<id>",
|
|
2641
2516
|
});
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2517
|
+
if (res.ok) {
|
|
2518
|
+
const { value: result } = res;
|
|
2519
|
+
console.log(result);
|
|
2520
|
+
} else {
|
|
2521
|
+
console.log("accountingPatchAccountingTransaction failed:", res.error);
|
|
2645
2522
|
}
|
|
2646
|
-
|
|
2647
|
-
const { value: result } = res;
|
|
2648
|
-
|
|
2649
|
-
// Handle the result
|
|
2650
|
-
console.log(result);
|
|
2651
2523
|
}
|
|
2652
2524
|
|
|
2653
2525
|
run();
|
|
@@ -2693,7 +2565,6 @@ async function run() {
|
|
|
2693
2565
|
id: "<id>",
|
|
2694
2566
|
});
|
|
2695
2567
|
|
|
2696
|
-
// Handle the result
|
|
2697
2568
|
console.log(result);
|
|
2698
2569
|
}
|
|
2699
2570
|
|
|
@@ -2721,15 +2592,12 @@ async function run() {
|
|
|
2721
2592
|
connectionId: "<id>",
|
|
2722
2593
|
id: "<id>",
|
|
2723
2594
|
});
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2595
|
+
if (res.ok) {
|
|
2596
|
+
const { value: result } = res;
|
|
2597
|
+
console.log(result);
|
|
2598
|
+
} else {
|
|
2599
|
+
console.log("accountingRemoveAccountingAccount failed:", res.error);
|
|
2727
2600
|
}
|
|
2728
|
-
|
|
2729
|
-
const { value: result } = res;
|
|
2730
|
-
|
|
2731
|
-
// Handle the result
|
|
2732
|
-
console.log(result);
|
|
2733
2601
|
}
|
|
2734
2602
|
|
|
2735
2603
|
run();
|
|
@@ -2775,7 +2643,6 @@ async function run() {
|
|
|
2775
2643
|
id: "<id>",
|
|
2776
2644
|
});
|
|
2777
2645
|
|
|
2778
|
-
// Handle the result
|
|
2779
2646
|
console.log(result);
|
|
2780
2647
|
}
|
|
2781
2648
|
|
|
@@ -2803,15 +2670,12 @@ async function run() {
|
|
|
2803
2670
|
connectionId: "<id>",
|
|
2804
2671
|
id: "<id>",
|
|
2805
2672
|
});
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2673
|
+
if (res.ok) {
|
|
2674
|
+
const { value: result } = res;
|
|
2675
|
+
console.log(result);
|
|
2676
|
+
} else {
|
|
2677
|
+
console.log("accountingRemoveAccountingContact failed:", res.error);
|
|
2809
2678
|
}
|
|
2810
|
-
|
|
2811
|
-
const { value: result } = res;
|
|
2812
|
-
|
|
2813
|
-
// Handle the result
|
|
2814
|
-
console.log(result);
|
|
2815
2679
|
}
|
|
2816
2680
|
|
|
2817
2681
|
run();
|
|
@@ -2857,7 +2721,6 @@ async function run() {
|
|
|
2857
2721
|
id: "<id>",
|
|
2858
2722
|
});
|
|
2859
2723
|
|
|
2860
|
-
// Handle the result
|
|
2861
2724
|
console.log(result);
|
|
2862
2725
|
}
|
|
2863
2726
|
|
|
@@ -2885,15 +2748,12 @@ async function run() {
|
|
|
2885
2748
|
connectionId: "<id>",
|
|
2886
2749
|
id: "<id>",
|
|
2887
2750
|
});
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2751
|
+
if (res.ok) {
|
|
2752
|
+
const { value: result } = res;
|
|
2753
|
+
console.log(result);
|
|
2754
|
+
} else {
|
|
2755
|
+
console.log("accountingRemoveAccountingInvoice failed:", res.error);
|
|
2891
2756
|
}
|
|
2892
|
-
|
|
2893
|
-
const { value: result } = res;
|
|
2894
|
-
|
|
2895
|
-
// Handle the result
|
|
2896
|
-
console.log(result);
|
|
2897
2757
|
}
|
|
2898
2758
|
|
|
2899
2759
|
run();
|
|
@@ -2939,7 +2799,6 @@ async function run() {
|
|
|
2939
2799
|
id: "<id>",
|
|
2940
2800
|
});
|
|
2941
2801
|
|
|
2942
|
-
// Handle the result
|
|
2943
2802
|
console.log(result);
|
|
2944
2803
|
}
|
|
2945
2804
|
|
|
@@ -2967,15 +2826,12 @@ async function run() {
|
|
|
2967
2826
|
connectionId: "<id>",
|
|
2968
2827
|
id: "<id>",
|
|
2969
2828
|
});
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2829
|
+
if (res.ok) {
|
|
2830
|
+
const { value: result } = res;
|
|
2831
|
+
console.log(result);
|
|
2832
|
+
} else {
|
|
2833
|
+
console.log("accountingRemoveAccountingJournal failed:", res.error);
|
|
2973
2834
|
}
|
|
2974
|
-
|
|
2975
|
-
const { value: result } = res;
|
|
2976
|
-
|
|
2977
|
-
// Handle the result
|
|
2978
|
-
console.log(result);
|
|
2979
2835
|
}
|
|
2980
2836
|
|
|
2981
2837
|
run();
|
|
@@ -3021,7 +2877,6 @@ async function run() {
|
|
|
3021
2877
|
id: "<id>",
|
|
3022
2878
|
});
|
|
3023
2879
|
|
|
3024
|
-
// Handle the result
|
|
3025
2880
|
console.log(result);
|
|
3026
2881
|
}
|
|
3027
2882
|
|
|
@@ -3049,15 +2904,12 @@ async function run() {
|
|
|
3049
2904
|
connectionId: "<id>",
|
|
3050
2905
|
id: "<id>",
|
|
3051
2906
|
});
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
2907
|
+
if (res.ok) {
|
|
2908
|
+
const { value: result } = res;
|
|
2909
|
+
console.log(result);
|
|
2910
|
+
} else {
|
|
2911
|
+
console.log("accountingRemoveAccountingOrder failed:", res.error);
|
|
3055
2912
|
}
|
|
3056
|
-
|
|
3057
|
-
const { value: result } = res;
|
|
3058
|
-
|
|
3059
|
-
// Handle the result
|
|
3060
|
-
console.log(result);
|
|
3061
2913
|
}
|
|
3062
2914
|
|
|
3063
2915
|
run();
|
|
@@ -3103,7 +2955,6 @@ async function run() {
|
|
|
3103
2955
|
id: "<id>",
|
|
3104
2956
|
});
|
|
3105
2957
|
|
|
3106
|
-
// Handle the result
|
|
3107
2958
|
console.log(result);
|
|
3108
2959
|
}
|
|
3109
2960
|
|
|
@@ -3131,15 +2982,12 @@ async function run() {
|
|
|
3131
2982
|
connectionId: "<id>",
|
|
3132
2983
|
id: "<id>",
|
|
3133
2984
|
});
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
2985
|
+
if (res.ok) {
|
|
2986
|
+
const { value: result } = res;
|
|
2987
|
+
console.log(result);
|
|
2988
|
+
} else {
|
|
2989
|
+
console.log("accountingRemoveAccountingTaxrate failed:", res.error);
|
|
3137
2990
|
}
|
|
3138
|
-
|
|
3139
|
-
const { value: result } = res;
|
|
3140
|
-
|
|
3141
|
-
// Handle the result
|
|
3142
|
-
console.log(result);
|
|
3143
2991
|
}
|
|
3144
2992
|
|
|
3145
2993
|
run();
|
|
@@ -3185,7 +3033,6 @@ async function run() {
|
|
|
3185
3033
|
id: "<id>",
|
|
3186
3034
|
});
|
|
3187
3035
|
|
|
3188
|
-
// Handle the result
|
|
3189
3036
|
console.log(result);
|
|
3190
3037
|
}
|
|
3191
3038
|
|
|
@@ -3213,15 +3060,12 @@ async function run() {
|
|
|
3213
3060
|
connectionId: "<id>",
|
|
3214
3061
|
id: "<id>",
|
|
3215
3062
|
});
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3063
|
+
if (res.ok) {
|
|
3064
|
+
const { value: result } = res;
|
|
3065
|
+
console.log(result);
|
|
3066
|
+
} else {
|
|
3067
|
+
console.log("accountingRemoveAccountingTransaction failed:", res.error);
|
|
3219
3068
|
}
|
|
3220
|
-
|
|
3221
|
-
const { value: result } = res;
|
|
3222
|
-
|
|
3223
|
-
// Handle the result
|
|
3224
|
-
console.log(result);
|
|
3225
3069
|
}
|
|
3226
3070
|
|
|
3227
3071
|
run();
|
|
@@ -3268,7 +3112,6 @@ async function run() {
|
|
|
3268
3112
|
id: "<id>",
|
|
3269
3113
|
});
|
|
3270
3114
|
|
|
3271
|
-
// Handle the result
|
|
3272
3115
|
console.log(result);
|
|
3273
3116
|
}
|
|
3274
3117
|
|
|
@@ -3297,15 +3140,12 @@ async function run() {
|
|
|
3297
3140
|
connectionId: "<id>",
|
|
3298
3141
|
id: "<id>",
|
|
3299
3142
|
});
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3143
|
+
if (res.ok) {
|
|
3144
|
+
const { value: result } = res;
|
|
3145
|
+
console.log(result);
|
|
3146
|
+
} else {
|
|
3147
|
+
console.log("accountingUpdateAccountingAccount failed:", res.error);
|
|
3303
3148
|
}
|
|
3304
|
-
|
|
3305
|
-
const { value: result } = res;
|
|
3306
|
-
|
|
3307
|
-
// Handle the result
|
|
3308
|
-
console.log(result);
|
|
3309
3149
|
}
|
|
3310
3150
|
|
|
3311
3151
|
run();
|
|
@@ -3352,7 +3192,6 @@ async function run() {
|
|
|
3352
3192
|
id: "<id>",
|
|
3353
3193
|
});
|
|
3354
3194
|
|
|
3355
|
-
// Handle the result
|
|
3356
3195
|
console.log(result);
|
|
3357
3196
|
}
|
|
3358
3197
|
|
|
@@ -3381,15 +3220,12 @@ async function run() {
|
|
|
3381
3220
|
connectionId: "<id>",
|
|
3382
3221
|
id: "<id>",
|
|
3383
3222
|
});
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3223
|
+
if (res.ok) {
|
|
3224
|
+
const { value: result } = res;
|
|
3225
|
+
console.log(result);
|
|
3226
|
+
} else {
|
|
3227
|
+
console.log("accountingUpdateAccountingContact failed:", res.error);
|
|
3387
3228
|
}
|
|
3388
|
-
|
|
3389
|
-
const { value: result } = res;
|
|
3390
|
-
|
|
3391
|
-
// Handle the result
|
|
3392
|
-
console.log(result);
|
|
3393
3229
|
}
|
|
3394
3230
|
|
|
3395
3231
|
run();
|
|
@@ -3436,7 +3272,6 @@ async function run() {
|
|
|
3436
3272
|
id: "<id>",
|
|
3437
3273
|
});
|
|
3438
3274
|
|
|
3439
|
-
// Handle the result
|
|
3440
3275
|
console.log(result);
|
|
3441
3276
|
}
|
|
3442
3277
|
|
|
@@ -3465,15 +3300,12 @@ async function run() {
|
|
|
3465
3300
|
connectionId: "<id>",
|
|
3466
3301
|
id: "<id>",
|
|
3467
3302
|
});
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3303
|
+
if (res.ok) {
|
|
3304
|
+
const { value: result } = res;
|
|
3305
|
+
console.log(result);
|
|
3306
|
+
} else {
|
|
3307
|
+
console.log("accountingUpdateAccountingInvoice failed:", res.error);
|
|
3471
3308
|
}
|
|
3472
|
-
|
|
3473
|
-
const { value: result } = res;
|
|
3474
|
-
|
|
3475
|
-
// Handle the result
|
|
3476
|
-
console.log(result);
|
|
3477
3309
|
}
|
|
3478
3310
|
|
|
3479
3311
|
run();
|
|
@@ -3520,7 +3352,6 @@ async function run() {
|
|
|
3520
3352
|
id: "<id>",
|
|
3521
3353
|
});
|
|
3522
3354
|
|
|
3523
|
-
// Handle the result
|
|
3524
3355
|
console.log(result);
|
|
3525
3356
|
}
|
|
3526
3357
|
|
|
@@ -3549,15 +3380,12 @@ async function run() {
|
|
|
3549
3380
|
connectionId: "<id>",
|
|
3550
3381
|
id: "<id>",
|
|
3551
3382
|
});
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3383
|
+
if (res.ok) {
|
|
3384
|
+
const { value: result } = res;
|
|
3385
|
+
console.log(result);
|
|
3386
|
+
} else {
|
|
3387
|
+
console.log("accountingUpdateAccountingJournal failed:", res.error);
|
|
3555
3388
|
}
|
|
3556
|
-
|
|
3557
|
-
const { value: result } = res;
|
|
3558
|
-
|
|
3559
|
-
// Handle the result
|
|
3560
|
-
console.log(result);
|
|
3561
3389
|
}
|
|
3562
3390
|
|
|
3563
3391
|
run();
|
|
@@ -3604,7 +3432,6 @@ async function run() {
|
|
|
3604
3432
|
id: "<id>",
|
|
3605
3433
|
});
|
|
3606
3434
|
|
|
3607
|
-
// Handle the result
|
|
3608
3435
|
console.log(result);
|
|
3609
3436
|
}
|
|
3610
3437
|
|
|
@@ -3633,15 +3460,12 @@ async function run() {
|
|
|
3633
3460
|
connectionId: "<id>",
|
|
3634
3461
|
id: "<id>",
|
|
3635
3462
|
});
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3463
|
+
if (res.ok) {
|
|
3464
|
+
const { value: result } = res;
|
|
3465
|
+
console.log(result);
|
|
3466
|
+
} else {
|
|
3467
|
+
console.log("accountingUpdateAccountingOrder failed:", res.error);
|
|
3639
3468
|
}
|
|
3640
|
-
|
|
3641
|
-
const { value: result } = res;
|
|
3642
|
-
|
|
3643
|
-
// Handle the result
|
|
3644
|
-
console.log(result);
|
|
3645
3469
|
}
|
|
3646
3470
|
|
|
3647
3471
|
run();
|
|
@@ -3688,7 +3512,6 @@ async function run() {
|
|
|
3688
3512
|
id: "<id>",
|
|
3689
3513
|
});
|
|
3690
3514
|
|
|
3691
|
-
// Handle the result
|
|
3692
3515
|
console.log(result);
|
|
3693
3516
|
}
|
|
3694
3517
|
|
|
@@ -3717,15 +3540,12 @@ async function run() {
|
|
|
3717
3540
|
connectionId: "<id>",
|
|
3718
3541
|
id: "<id>",
|
|
3719
3542
|
});
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3543
|
+
if (res.ok) {
|
|
3544
|
+
const { value: result } = res;
|
|
3545
|
+
console.log(result);
|
|
3546
|
+
} else {
|
|
3547
|
+
console.log("accountingUpdateAccountingTaxrate failed:", res.error);
|
|
3723
3548
|
}
|
|
3724
|
-
|
|
3725
|
-
const { value: result } = res;
|
|
3726
|
-
|
|
3727
|
-
// Handle the result
|
|
3728
|
-
console.log(result);
|
|
3729
3549
|
}
|
|
3730
3550
|
|
|
3731
3551
|
run();
|
|
@@ -3772,7 +3592,6 @@ async function run() {
|
|
|
3772
3592
|
id: "<id>",
|
|
3773
3593
|
});
|
|
3774
3594
|
|
|
3775
|
-
// Handle the result
|
|
3776
3595
|
console.log(result);
|
|
3777
3596
|
}
|
|
3778
3597
|
|
|
@@ -3801,15 +3620,12 @@ async function run() {
|
|
|
3801
3620
|
connectionId: "<id>",
|
|
3802
3621
|
id: "<id>",
|
|
3803
3622
|
});
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3623
|
+
if (res.ok) {
|
|
3624
|
+
const { value: result } = res;
|
|
3625
|
+
console.log(result);
|
|
3626
|
+
} else {
|
|
3627
|
+
console.log("accountingUpdateAccountingTransaction failed:", res.error);
|
|
3807
3628
|
}
|
|
3808
|
-
|
|
3809
|
-
const { value: result } = res;
|
|
3810
|
-
|
|
3811
|
-
// Handle the result
|
|
3812
|
-
console.log(result);
|
|
3813
3629
|
}
|
|
3814
3630
|
|
|
3815
3631
|
run();
|