repzo 1.0.87 → 1.0.89
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/lib/index.d.ts +62 -0
- package/lib/index.js +125 -0
- package/lib/types/index.d.ts +1339 -13
- package/package.json +1 -1
- package/src/index.ts +162 -0
- package/src/types/index.ts +1294 -1
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -3403,4 +3403,166 @@ export default class Repzo {
|
|
|
3403
3403
|
return res;
|
|
3404
3404
|
},
|
|
3405
3405
|
};
|
|
3406
|
+
|
|
3407
|
+
ocrInvoiceJobTemplate = {
|
|
3408
|
+
_path: "/ocr-invoice-job-template",
|
|
3409
|
+
find: async (
|
|
3410
|
+
params?: Service.OcrInvoiceJobTemplate.Find.Params
|
|
3411
|
+
): Promise<Service.OcrInvoiceJobTemplate.Find.Result> => {
|
|
3412
|
+
let res: Service.OcrInvoiceJobTemplate.Find.Result = await this._fetch(
|
|
3413
|
+
this.svAPIEndpoint,
|
|
3414
|
+
this.ocrInvoiceJobTemplate._path,
|
|
3415
|
+
params
|
|
3416
|
+
);
|
|
3417
|
+
return res;
|
|
3418
|
+
},
|
|
3419
|
+
get: async (
|
|
3420
|
+
id: Service.OcrInvoiceJobTemplate.Get.ID
|
|
3421
|
+
): Promise<Service.OcrInvoiceJobTemplate.Get.Result> => {
|
|
3422
|
+
return await this._fetch(
|
|
3423
|
+
this.svAPIEndpoint,
|
|
3424
|
+
this.ocrInvoiceJobTemplate._path + `/${id}`
|
|
3425
|
+
);
|
|
3426
|
+
},
|
|
3427
|
+
create: async (
|
|
3428
|
+
body: Service.OcrInvoiceJobTemplate.Create.Body
|
|
3429
|
+
): Promise<Service.OcrInvoiceJobTemplate.Create.Result> => {
|
|
3430
|
+
let res = await this._create(
|
|
3431
|
+
this.svAPIEndpoint,
|
|
3432
|
+
this.ocrInvoiceJobTemplate._path,
|
|
3433
|
+
body
|
|
3434
|
+
);
|
|
3435
|
+
return res;
|
|
3436
|
+
},
|
|
3437
|
+
update: async (
|
|
3438
|
+
id: Service.OcrInvoiceJobTemplate.Update.ID,
|
|
3439
|
+
body: Service.OcrInvoiceJobTemplate.Update.Body
|
|
3440
|
+
): Promise<Service.OcrInvoiceJobTemplate.Update.Result> => {
|
|
3441
|
+
let res: Service.OcrInvoiceJobTemplate.Update.Result = await this._update(
|
|
3442
|
+
this.svAPIEndpoint,
|
|
3443
|
+
this.ocrInvoiceJobTemplate._path + `/${id}`,
|
|
3444
|
+
body
|
|
3445
|
+
);
|
|
3446
|
+
return res;
|
|
3447
|
+
},
|
|
3448
|
+
};
|
|
3449
|
+
|
|
3450
|
+
ocrInvoiceJobGroup = {
|
|
3451
|
+
_path: "/ocr-invoice-job-group",
|
|
3452
|
+
find: async (
|
|
3453
|
+
params?: Service.OcrInvoiceJobGroup.Find.Params
|
|
3454
|
+
): Promise<Service.OcrInvoiceJobGroup.Find.Result> => {
|
|
3455
|
+
let res: Service.OcrInvoiceJobGroup.Find.Result = await this._fetch(
|
|
3456
|
+
this.svAPIEndpoint,
|
|
3457
|
+
this.ocrInvoiceJobGroup._path,
|
|
3458
|
+
params
|
|
3459
|
+
);
|
|
3460
|
+
return res;
|
|
3461
|
+
},
|
|
3462
|
+
get: async (
|
|
3463
|
+
id: Service.OcrInvoiceJobGroup.Get.ID
|
|
3464
|
+
): Promise<Service.OcrInvoiceJobGroup.Get.Result> => {
|
|
3465
|
+
return await this._fetch(
|
|
3466
|
+
this.svAPIEndpoint,
|
|
3467
|
+
this.ocrInvoiceJobGroup._path + `/${id}`
|
|
3468
|
+
);
|
|
3469
|
+
},
|
|
3470
|
+
create: async (
|
|
3471
|
+
body: Service.OcrInvoiceJobGroup.Create.Body
|
|
3472
|
+
): Promise<Service.OcrInvoiceJobGroup.Create.Result> => {
|
|
3473
|
+
let res = await this._create(
|
|
3474
|
+
this.svAPIEndpoint,
|
|
3475
|
+
this.ocrInvoiceJobGroup._path,
|
|
3476
|
+
body
|
|
3477
|
+
);
|
|
3478
|
+
return res;
|
|
3479
|
+
},
|
|
3480
|
+
};
|
|
3481
|
+
|
|
3482
|
+
activityAiSalesOrder = {
|
|
3483
|
+
_path: "/activity-ai-sales-order",
|
|
3484
|
+
find: async (
|
|
3485
|
+
params?: Service.ActivityAiSalesOrder.Find.Params
|
|
3486
|
+
): Promise<Service.ActivityAiSalesOrder.Find.Result> => {
|
|
3487
|
+
let res: Service.ActivityAiSalesOrder.Find.Result = await this._fetch(
|
|
3488
|
+
this.svAPIEndpoint,
|
|
3489
|
+
this.activityAiSalesOrder._path,
|
|
3490
|
+
params
|
|
3491
|
+
);
|
|
3492
|
+
return res;
|
|
3493
|
+
},
|
|
3494
|
+
get: async (
|
|
3495
|
+
id: Service.ActivityAiSalesOrder.Get.ID
|
|
3496
|
+
): Promise<Service.ActivityAiSalesOrder.Get.Result> => {
|
|
3497
|
+
return await this._fetch(
|
|
3498
|
+
this.svAPIEndpoint,
|
|
3499
|
+
this.activityAiSalesOrder._path + `/${id}`
|
|
3500
|
+
);
|
|
3501
|
+
},
|
|
3502
|
+
create: async (
|
|
3503
|
+
body: Service.ActivityAiSalesOrder.Create.Body
|
|
3504
|
+
): Promise<Service.ActivityAiSalesOrder.Create.Result> => {
|
|
3505
|
+
let res = await this._create(
|
|
3506
|
+
this.svAPIEndpoint,
|
|
3507
|
+
this.activityAiSalesOrder._path,
|
|
3508
|
+
body
|
|
3509
|
+
);
|
|
3510
|
+
return res;
|
|
3511
|
+
},
|
|
3512
|
+
};
|
|
3513
|
+
|
|
3514
|
+
ocrInvoiceJob = {
|
|
3515
|
+
_path: "/ocr-invoice-job",
|
|
3516
|
+
find: async (
|
|
3517
|
+
params?: Service.OcrInvoiceJob.Find.Params
|
|
3518
|
+
): Promise<Service.OcrInvoiceJob.Find.Result> => {
|
|
3519
|
+
let res: Service.OcrInvoiceJob.Find.Result = await this._fetch(
|
|
3520
|
+
this.svAPIEndpoint,
|
|
3521
|
+
this.ocrInvoiceJob._path,
|
|
3522
|
+
params
|
|
3523
|
+
);
|
|
3524
|
+
return res;
|
|
3525
|
+
},
|
|
3526
|
+
get: async (
|
|
3527
|
+
id: Service.OcrInvoiceJob.Get.ID
|
|
3528
|
+
): Promise<Service.OcrInvoiceJob.Get.Result> => {
|
|
3529
|
+
return await this._fetch(
|
|
3530
|
+
this.svAPIEndpoint,
|
|
3531
|
+
this.ocrInvoiceJob._path + `/${id}`
|
|
3532
|
+
);
|
|
3533
|
+
},
|
|
3534
|
+
};
|
|
3535
|
+
|
|
3536
|
+
ocrInvoiceJobPage = {
|
|
3537
|
+
_path: "/ocr-invoice-job-page",
|
|
3538
|
+
find: async (
|
|
3539
|
+
params?: Service.OcrInvoiceJobPage.Find.Params
|
|
3540
|
+
): Promise<Service.OcrInvoiceJobPage.Find.Result> => {
|
|
3541
|
+
let res: Service.OcrInvoiceJobPage.Find.Result = await this._fetch(
|
|
3542
|
+
this.svAPIEndpoint,
|
|
3543
|
+
this.ocrInvoiceJobPage._path,
|
|
3544
|
+
params
|
|
3545
|
+
);
|
|
3546
|
+
return res;
|
|
3547
|
+
},
|
|
3548
|
+
get: async (
|
|
3549
|
+
id: Service.OcrInvoiceJobPage.Get.ID
|
|
3550
|
+
): Promise<Service.OcrInvoiceJobPage.Get.Result> => {
|
|
3551
|
+
return await this._fetch(
|
|
3552
|
+
this.svAPIEndpoint,
|
|
3553
|
+
this.ocrInvoiceJobPage._path + `/${id}`
|
|
3554
|
+
);
|
|
3555
|
+
},
|
|
3556
|
+
update: async (
|
|
3557
|
+
id: Service.OcrInvoiceJobPage.Update.ID,
|
|
3558
|
+
body: Service.OcrInvoiceJobPage.Update.Body
|
|
3559
|
+
): Promise<Service.OcrInvoiceJobPage.Update.Result> => {
|
|
3560
|
+
let res: Service.OcrInvoiceJobPage.Update.Result = await this._update(
|
|
3561
|
+
this.svAPIEndpoint,
|
|
3562
|
+
this.ocrInvoiceJobPage._path + `/${id}`,
|
|
3563
|
+
body
|
|
3564
|
+
);
|
|
3565
|
+
return res;
|
|
3566
|
+
},
|
|
3567
|
+
};
|
|
3406
3568
|
}
|