@flowio/api-internal-sdk 0.0.123 → 0.0.125
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/dist/cjs/api-internal.js +141 -106
- package/dist/esm/api-internal.js +137 -102
- package/dist/types/api-internal.d.ts +164 -133
- package/package.json +2 -2
package/dist/esm/api-internal.js
CHANGED
|
@@ -554,24 +554,24 @@ var ChannelAccountsResource = /** @class */ (function (_super) {
|
|
|
554
554
|
headers: params.headers,
|
|
555
555
|
method: 'GET',
|
|
556
556
|
query: {
|
|
557
|
-
currency: params.currency,
|
|
558
557
|
id: params.id,
|
|
558
|
+
key: params.key,
|
|
559
559
|
limit: params.limit,
|
|
560
560
|
offset: params.offset,
|
|
561
561
|
sort: params.sort,
|
|
562
562
|
},
|
|
563
563
|
});
|
|
564
564
|
};
|
|
565
|
-
ChannelAccountsResource.prototype.
|
|
565
|
+
ChannelAccountsResource.prototype.getByKey = function (params) {
|
|
566
566
|
return this.client.request({
|
|
567
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
567
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key)),
|
|
568
568
|
headers: params.headers,
|
|
569
569
|
method: 'GET',
|
|
570
570
|
});
|
|
571
571
|
};
|
|
572
|
-
ChannelAccountsResource.prototype.
|
|
572
|
+
ChannelAccountsResource.prototype.getContactsByKey = function (params) {
|
|
573
573
|
return this.client.request({
|
|
574
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
574
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
575
575
|
headers: params.headers,
|
|
576
576
|
method: 'GET',
|
|
577
577
|
query: {
|
|
@@ -583,38 +583,38 @@ var ChannelAccountsResource = /** @class */ (function (_super) {
|
|
|
583
583
|
},
|
|
584
584
|
});
|
|
585
585
|
};
|
|
586
|
-
ChannelAccountsResource.prototype.
|
|
586
|
+
ChannelAccountsResource.prototype.postContactsByKey = function (params) {
|
|
587
587
|
return this.client.request({
|
|
588
588
|
body: params.body,
|
|
589
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
589
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
590
590
|
headers: params.headers,
|
|
591
591
|
method: 'POST',
|
|
592
592
|
});
|
|
593
593
|
};
|
|
594
|
-
ChannelAccountsResource.prototype.
|
|
594
|
+
ChannelAccountsResource.prototype.getContactsByKeyAndId = function (params) {
|
|
595
595
|
return this.client.request({
|
|
596
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
596
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
597
597
|
headers: params.headers,
|
|
598
598
|
method: 'GET',
|
|
599
599
|
});
|
|
600
600
|
};
|
|
601
|
-
ChannelAccountsResource.prototype.
|
|
601
|
+
ChannelAccountsResource.prototype.deleteContactsByKeyAndId = function (params) {
|
|
602
602
|
return this.client.request({
|
|
603
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
603
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
604
604
|
headers: params.headers,
|
|
605
605
|
method: 'DELETE',
|
|
606
606
|
});
|
|
607
607
|
};
|
|
608
|
-
ChannelAccountsResource.prototype.
|
|
608
|
+
ChannelAccountsResource.prototype.getStatisticsByKey = function (params) {
|
|
609
609
|
return this.client.request({
|
|
610
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
610
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/statistics"),
|
|
611
611
|
headers: params.headers,
|
|
612
612
|
method: 'GET',
|
|
613
613
|
});
|
|
614
614
|
};
|
|
615
|
-
ChannelAccountsResource.prototype.
|
|
615
|
+
ChannelAccountsResource.prototype.getTransactionsByKey = function (params) {
|
|
616
616
|
return this.client.request({
|
|
617
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
617
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/transactions"),
|
|
618
618
|
headers: params.headers,
|
|
619
619
|
method: 'GET',
|
|
620
620
|
query: {
|
|
@@ -702,8 +702,8 @@ var ChannelBillingStatementsResource = /** @class */ (function (_super) {
|
|
|
702
702
|
method: 'GET',
|
|
703
703
|
query: {
|
|
704
704
|
account_id: params.account_id,
|
|
705
|
-
currency: params.currency,
|
|
706
705
|
id: params.id,
|
|
706
|
+
key: params.key,
|
|
707
707
|
limit: params.limit,
|
|
708
708
|
offset: params.offset,
|
|
709
709
|
sort: params.sort,
|
|
@@ -2414,39 +2414,31 @@ var FlowAccountsResource = /** @class */ (function (_super) {
|
|
|
2414
2414
|
headers: params.headers,
|
|
2415
2415
|
method: 'GET',
|
|
2416
2416
|
query: {
|
|
2417
|
-
currency: params.currency,
|
|
2418
2417
|
id: params.id,
|
|
2418
|
+
key: params.key,
|
|
2419
2419
|
limit: params.limit,
|
|
2420
2420
|
offset: params.offset,
|
|
2421
2421
|
sort: params.sort,
|
|
2422
2422
|
},
|
|
2423
2423
|
});
|
|
2424
2424
|
};
|
|
2425
|
-
FlowAccountsResource.prototype.
|
|
2425
|
+
FlowAccountsResource.prototype.getByKey = function (params) {
|
|
2426
2426
|
return this.client.request({
|
|
2427
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2427
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key)),
|
|
2428
2428
|
headers: params.headers,
|
|
2429
2429
|
method: 'GET',
|
|
2430
2430
|
});
|
|
2431
2431
|
};
|
|
2432
|
-
FlowAccountsResource.prototype.
|
|
2433
|
-
return this.client.request({
|
|
2434
|
-
body: params.body,
|
|
2435
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.currency)),
|
|
2436
|
-
headers: params.headers,
|
|
2437
|
-
method: 'PUT',
|
|
2438
|
-
});
|
|
2439
|
-
};
|
|
2440
|
-
FlowAccountsResource.prototype.deleteByCurrency = function (params) {
|
|
2432
|
+
FlowAccountsResource.prototype.deleteByKey = function (params) {
|
|
2441
2433
|
return this.client.request({
|
|
2442
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2434
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key)),
|
|
2443
2435
|
headers: params.headers,
|
|
2444
2436
|
method: 'DELETE',
|
|
2445
2437
|
});
|
|
2446
2438
|
};
|
|
2447
|
-
FlowAccountsResource.prototype.
|
|
2439
|
+
FlowAccountsResource.prototype.getContactsByKey = function (params) {
|
|
2448
2440
|
return this.client.request({
|
|
2449
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2441
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
2450
2442
|
headers: params.headers,
|
|
2451
2443
|
method: 'GET',
|
|
2452
2444
|
query: {
|
|
@@ -2458,38 +2450,38 @@ var FlowAccountsResource = /** @class */ (function (_super) {
|
|
|
2458
2450
|
},
|
|
2459
2451
|
});
|
|
2460
2452
|
};
|
|
2461
|
-
FlowAccountsResource.prototype.
|
|
2453
|
+
FlowAccountsResource.prototype.postContactsByKey = function (params) {
|
|
2462
2454
|
return this.client.request({
|
|
2463
2455
|
body: params.body,
|
|
2464
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2456
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
2465
2457
|
headers: params.headers,
|
|
2466
2458
|
method: 'POST',
|
|
2467
2459
|
});
|
|
2468
2460
|
};
|
|
2469
|
-
FlowAccountsResource.prototype.
|
|
2461
|
+
FlowAccountsResource.prototype.getContactsByKeyAndId = function (params) {
|
|
2470
2462
|
return this.client.request({
|
|
2471
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2463
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
2472
2464
|
headers: params.headers,
|
|
2473
2465
|
method: 'GET',
|
|
2474
2466
|
});
|
|
2475
2467
|
};
|
|
2476
|
-
FlowAccountsResource.prototype.
|
|
2468
|
+
FlowAccountsResource.prototype.deleteContactsByKeyAndId = function (params) {
|
|
2477
2469
|
return this.client.request({
|
|
2478
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2470
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
2479
2471
|
headers: params.headers,
|
|
2480
2472
|
method: 'DELETE',
|
|
2481
2473
|
});
|
|
2482
2474
|
};
|
|
2483
|
-
FlowAccountsResource.prototype.
|
|
2475
|
+
FlowAccountsResource.prototype.getStatisticsByKey = function (params) {
|
|
2484
2476
|
return this.client.request({
|
|
2485
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2477
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/statistics"),
|
|
2486
2478
|
headers: params.headers,
|
|
2487
2479
|
method: 'GET',
|
|
2488
2480
|
});
|
|
2489
2481
|
};
|
|
2490
|
-
FlowAccountsResource.prototype.
|
|
2482
|
+
FlowAccountsResource.prototype.getTransactionsByKey = function (params) {
|
|
2491
2483
|
return this.client.request({
|
|
2492
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2484
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/transactions"),
|
|
2493
2485
|
headers: params.headers,
|
|
2494
2486
|
method: 'GET',
|
|
2495
2487
|
query: {
|
|
@@ -2516,18 +2508,18 @@ var FlowAccountsResource = /** @class */ (function (_super) {
|
|
|
2516
2508
|
});
|
|
2517
2509
|
};
|
|
2518
2510
|
/*Creates a manual transaction for this account*/
|
|
2519
|
-
FlowAccountsResource.prototype.
|
|
2511
|
+
FlowAccountsResource.prototype.postTransactionsAndManualByKey = function (params) {
|
|
2520
2512
|
return this.client.request({
|
|
2521
2513
|
body: params.body,
|
|
2522
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2514
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/transactions/manual"),
|
|
2523
2515
|
headers: params.headers,
|
|
2524
2516
|
method: 'POST',
|
|
2525
2517
|
});
|
|
2526
2518
|
};
|
|
2527
2519
|
/*Deletes a manual transaction for this account, if not associated with a billing statement.*/
|
|
2528
|
-
FlowAccountsResource.prototype.
|
|
2520
|
+
FlowAccountsResource.prototype.deleteTransactionsAndManualByKeyAndId = function (params) {
|
|
2529
2521
|
return this.client.request({
|
|
2530
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2522
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/transactions/manual/").concat(encodeURIComponent(params.id)),
|
|
2531
2523
|
headers: params.headers,
|
|
2532
2524
|
method: 'DELETE',
|
|
2533
2525
|
});
|
|
@@ -3673,6 +3665,13 @@ var OnboardingStatesResource = /** @class */ (function (_super) {
|
|
|
3673
3665
|
method: 'PUT',
|
|
3674
3666
|
});
|
|
3675
3667
|
};
|
|
3668
|
+
OnboardingStatesResource.prototype.putRecalculate = function (params) {
|
|
3669
|
+
return this.client.request({
|
|
3670
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/recalculate"),
|
|
3671
|
+
headers: params.headers,
|
|
3672
|
+
method: 'PUT',
|
|
3673
|
+
});
|
|
3674
|
+
};
|
|
3676
3675
|
OnboardingStatesResource.prototype.putTransitionAndReplaceById = function (params) {
|
|
3677
3676
|
return this.client.request({
|
|
3678
3677
|
body: params.body,
|
|
@@ -4510,6 +4509,36 @@ var LabelGenerationSettingsResource = /** @class */ (function (_super) {
|
|
|
4510
4509
|
return LabelGenerationSettingsResource;
|
|
4511
4510
|
}($Resource));
|
|
4512
4511
|
export { LabelGenerationSettingsResource };
|
|
4512
|
+
var LabelInvoiceResponseFilesResource = /** @class */ (function (_super) {
|
|
4513
|
+
__extends(LabelInvoiceResponseFilesResource, _super);
|
|
4514
|
+
function LabelInvoiceResponseFilesResource() {
|
|
4515
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4516
|
+
}
|
|
4517
|
+
LabelInvoiceResponseFilesResource.prototype.post = function (params) {
|
|
4518
|
+
return this.client.request({
|
|
4519
|
+
body: params.body,
|
|
4520
|
+
endpoint: '/billing/label/invoice/response/files',
|
|
4521
|
+
headers: params.headers,
|
|
4522
|
+
method: 'POST',
|
|
4523
|
+
});
|
|
4524
|
+
};
|
|
4525
|
+
LabelInvoiceResponseFilesResource.prototype.getById = function (params) {
|
|
4526
|
+
return this.client.request({
|
|
4527
|
+
endpoint: "/billing/label/invoice/response/files/".concat(encodeURIComponent(params.id)),
|
|
4528
|
+
headers: params.headers,
|
|
4529
|
+
method: 'GET',
|
|
4530
|
+
});
|
|
4531
|
+
};
|
|
4532
|
+
LabelInvoiceResponseFilesResource.prototype.deleteById = function (params) {
|
|
4533
|
+
return this.client.request({
|
|
4534
|
+
endpoint: "/billing/label/invoice/response/files/".concat(encodeURIComponent(params.id)),
|
|
4535
|
+
headers: params.headers,
|
|
4536
|
+
method: 'DELETE',
|
|
4537
|
+
});
|
|
4538
|
+
};
|
|
4539
|
+
return LabelInvoiceResponseFilesResource;
|
|
4540
|
+
}($Resource));
|
|
4541
|
+
export { LabelInvoiceResponseFilesResource };
|
|
4513
4542
|
var LabelTaxonomyResource = /** @class */ (function (_super) {
|
|
4514
4543
|
__extends(LabelTaxonomyResource, _super);
|
|
4515
4544
|
function LabelTaxonomyResource() {
|
|
@@ -5540,6 +5569,50 @@ var OrderCancellationsResource = /** @class */ (function (_super) {
|
|
|
5540
5569
|
return OrderCancellationsResource;
|
|
5541
5570
|
}($Resource));
|
|
5542
5571
|
export { OrderCancellationsResource };
|
|
5572
|
+
var OrderCombinedShipmentsResource = /** @class */ (function (_super) {
|
|
5573
|
+
__extends(OrderCombinedShipmentsResource, _super);
|
|
5574
|
+
function OrderCombinedShipmentsResource() {
|
|
5575
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
5576
|
+
}
|
|
5577
|
+
OrderCombinedShipmentsResource.prototype.get = function (params) {
|
|
5578
|
+
return this.client.request({
|
|
5579
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/order/combined/shipments"),
|
|
5580
|
+
headers: params.headers,
|
|
5581
|
+
method: 'GET',
|
|
5582
|
+
query: {
|
|
5583
|
+
id: params.id,
|
|
5584
|
+
limit: params.limit,
|
|
5585
|
+
offset: params.offset,
|
|
5586
|
+
order_number: params.order_number,
|
|
5587
|
+
sort: params.sort,
|
|
5588
|
+
},
|
|
5589
|
+
});
|
|
5590
|
+
};
|
|
5591
|
+
OrderCombinedShipmentsResource.prototype.post = function (params) {
|
|
5592
|
+
return this.client.request({
|
|
5593
|
+
body: params.body,
|
|
5594
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/order/combined/shipments"),
|
|
5595
|
+
headers: params.headers,
|
|
5596
|
+
method: 'POST',
|
|
5597
|
+
});
|
|
5598
|
+
};
|
|
5599
|
+
OrderCombinedShipmentsResource.prototype.getById = function (params) {
|
|
5600
|
+
return this.client.request({
|
|
5601
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/order/combined/shipments/").concat(encodeURIComponent(params.id)),
|
|
5602
|
+
headers: params.headers,
|
|
5603
|
+
method: 'GET',
|
|
5604
|
+
});
|
|
5605
|
+
};
|
|
5606
|
+
OrderCombinedShipmentsResource.prototype.deleteById = function (params) {
|
|
5607
|
+
return this.client.request({
|
|
5608
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/order/combined/shipments/").concat(encodeURIComponent(params.id)),
|
|
5609
|
+
headers: params.headers,
|
|
5610
|
+
method: 'DELETE',
|
|
5611
|
+
});
|
|
5612
|
+
};
|
|
5613
|
+
return OrderCombinedShipmentsResource;
|
|
5614
|
+
}($Resource));
|
|
5615
|
+
export { OrderCombinedShipmentsResource };
|
|
5543
5616
|
var OrderDetailsResource = /** @class */ (function (_super) {
|
|
5544
5617
|
__extends(OrderDetailsResource, _super);
|
|
5545
5618
|
function OrderDetailsResource() {
|
|
@@ -5695,24 +5768,24 @@ var OrganizationAccountsResource = /** @class */ (function (_super) {
|
|
|
5695
5768
|
headers: params.headers,
|
|
5696
5769
|
method: 'GET',
|
|
5697
5770
|
query: {
|
|
5698
|
-
currency: params.currency,
|
|
5699
5771
|
id: params.id,
|
|
5772
|
+
key: params.key,
|
|
5700
5773
|
limit: params.limit,
|
|
5701
5774
|
offset: params.offset,
|
|
5702
5775
|
sort: params.sort,
|
|
5703
5776
|
},
|
|
5704
5777
|
});
|
|
5705
5778
|
};
|
|
5706
|
-
OrganizationAccountsResource.prototype.
|
|
5779
|
+
OrganizationAccountsResource.prototype.getByKey = function (params) {
|
|
5707
5780
|
return this.client.request({
|
|
5708
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.
|
|
5781
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.key)),
|
|
5709
5782
|
headers: params.headers,
|
|
5710
5783
|
method: 'GET',
|
|
5711
5784
|
});
|
|
5712
5785
|
};
|
|
5713
|
-
OrganizationAccountsResource.prototype.
|
|
5786
|
+
OrganizationAccountsResource.prototype.getContactsByKey = function (params) {
|
|
5714
5787
|
return this.client.request({
|
|
5715
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.
|
|
5788
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
5716
5789
|
headers: params.headers,
|
|
5717
5790
|
method: 'GET',
|
|
5718
5791
|
query: {
|
|
@@ -5724,38 +5797,38 @@ var OrganizationAccountsResource = /** @class */ (function (_super) {
|
|
|
5724
5797
|
},
|
|
5725
5798
|
});
|
|
5726
5799
|
};
|
|
5727
|
-
OrganizationAccountsResource.prototype.
|
|
5800
|
+
OrganizationAccountsResource.prototype.postContactsByKey = function (params) {
|
|
5728
5801
|
return this.client.request({
|
|
5729
5802
|
body: params.body,
|
|
5730
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.
|
|
5803
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
5731
5804
|
headers: params.headers,
|
|
5732
5805
|
method: 'POST',
|
|
5733
5806
|
});
|
|
5734
5807
|
};
|
|
5735
|
-
OrganizationAccountsResource.prototype.
|
|
5808
|
+
OrganizationAccountsResource.prototype.getContactsByKeyAndId = function (params) {
|
|
5736
5809
|
return this.client.request({
|
|
5737
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.
|
|
5810
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
5738
5811
|
headers: params.headers,
|
|
5739
5812
|
method: 'GET',
|
|
5740
5813
|
});
|
|
5741
5814
|
};
|
|
5742
|
-
OrganizationAccountsResource.prototype.
|
|
5815
|
+
OrganizationAccountsResource.prototype.deleteContactsByKeyAndId = function (params) {
|
|
5743
5816
|
return this.client.request({
|
|
5744
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.
|
|
5817
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
5745
5818
|
headers: params.headers,
|
|
5746
5819
|
method: 'DELETE',
|
|
5747
5820
|
});
|
|
5748
5821
|
};
|
|
5749
|
-
OrganizationAccountsResource.prototype.
|
|
5822
|
+
OrganizationAccountsResource.prototype.getStatisticsByKey = function (params) {
|
|
5750
5823
|
return this.client.request({
|
|
5751
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.
|
|
5824
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.key), "/statistics"),
|
|
5752
5825
|
headers: params.headers,
|
|
5753
5826
|
method: 'GET',
|
|
5754
5827
|
});
|
|
5755
5828
|
};
|
|
5756
|
-
OrganizationAccountsResource.prototype.
|
|
5829
|
+
OrganizationAccountsResource.prototype.getTransactionsByKey = function (params) {
|
|
5757
5830
|
return this.client.request({
|
|
5758
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.
|
|
5831
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/accounts/").concat(encodeURIComponent(params.key), "/transactions"),
|
|
5759
5832
|
headers: params.headers,
|
|
5760
5833
|
method: 'GET',
|
|
5761
5834
|
query: {
|
|
@@ -5796,8 +5869,8 @@ var OrganizationBillingStatementsResource = /** @class */ (function (_super) {
|
|
|
5796
5869
|
method: 'GET',
|
|
5797
5870
|
query: {
|
|
5798
5871
|
account_id: params.account_id,
|
|
5799
|
-
currency: params.currency,
|
|
5800
5872
|
id: params.id,
|
|
5873
|
+
key: params.key,
|
|
5801
5874
|
limit: params.limit,
|
|
5802
5875
|
offset: params.offset,
|
|
5803
5876
|
sort: params.sort,
|
|
@@ -7221,6 +7294,7 @@ var RestrictionOrganizationDecisionSummariesResource = /** @class */ (function (
|
|
|
7221
7294
|
earliest_pending_date_after: params.earliest_pending_date_after,
|
|
7222
7295
|
earliest_pending_date_before: params.earliest_pending_date_before,
|
|
7223
7296
|
environment: params.environment,
|
|
7297
|
+
filter_orgs_with_pending_verifications: params.filter_orgs_with_pending_verifications,
|
|
7224
7298
|
limit: params.limit,
|
|
7225
7299
|
offset: params.offset,
|
|
7226
7300
|
organization_id: params.organization_id,
|
|
@@ -8692,45 +8766,6 @@ var ViesResultsResource = /** @class */ (function (_super) {
|
|
|
8692
8766
|
return ViesResultsResource;
|
|
8693
8767
|
}($Resource));
|
|
8694
8768
|
export { ViesResultsResource };
|
|
8695
|
-
var WashCarrierActualFilesResource = /** @class */ (function (_super) {
|
|
8696
|
-
__extends(WashCarrierActualFilesResource, _super);
|
|
8697
|
-
function WashCarrierActualFilesResource() {
|
|
8698
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
8699
|
-
}
|
|
8700
|
-
WashCarrierActualFilesResource.prototype.post = function (params) {
|
|
8701
|
-
return this.client.request({
|
|
8702
|
-
body: params.body,
|
|
8703
|
-
endpoint: '/internal/billing/wash/carrier/actual/files',
|
|
8704
|
-
headers: params.headers,
|
|
8705
|
-
method: 'POST',
|
|
8706
|
-
});
|
|
8707
|
-
};
|
|
8708
|
-
WashCarrierActualFilesResource.prototype.getById = function (params) {
|
|
8709
|
-
return this.client.request({
|
|
8710
|
-
endpoint: "/internal/billing/wash/carrier/actual/files/".concat(encodeURIComponent(params.id)),
|
|
8711
|
-
headers: params.headers,
|
|
8712
|
-
method: 'GET',
|
|
8713
|
-
});
|
|
8714
|
-
};
|
|
8715
|
-
return WashCarrierActualFilesResource;
|
|
8716
|
-
}($Resource));
|
|
8717
|
-
export { WashCarrierActualFilesResource };
|
|
8718
|
-
var WashExportRequestsResource = /** @class */ (function (_super) {
|
|
8719
|
-
__extends(WashExportRequestsResource, _super);
|
|
8720
|
-
function WashExportRequestsResource() {
|
|
8721
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
8722
|
-
}
|
|
8723
|
-
WashExportRequestsResource.prototype.post = function (params) {
|
|
8724
|
-
if (params === void 0) { params = {}; }
|
|
8725
|
-
return this.client.request({
|
|
8726
|
-
endpoint: '/internal/billing/wash/export/requests',
|
|
8727
|
-
headers: params.headers,
|
|
8728
|
-
method: 'POST',
|
|
8729
|
-
});
|
|
8730
|
-
};
|
|
8731
|
-
return WashExportRequestsResource;
|
|
8732
|
-
}($Resource));
|
|
8733
|
-
export { WashExportRequestsResource };
|
|
8734
8769
|
var WebhooksResource = /** @class */ (function (_super) {
|
|
8735
8770
|
__extends(WebhooksResource, _super);
|
|
8736
8771
|
function WebhooksResource() {
|
|
@@ -8887,6 +8922,7 @@ export function createClient(options) {
|
|
|
8887
8922
|
labelCreationJobs: new LabelCreationJobsResource(options),
|
|
8888
8923
|
labelGenerationAddressFailures: new LabelGenerationAddressFailuresResource(options),
|
|
8889
8924
|
labelGenerationSettings: new LabelGenerationSettingsResource(options),
|
|
8925
|
+
labelInvoiceResponseFiles: new LabelInvoiceResponseFilesResource(options),
|
|
8890
8926
|
labelTaxonomy: new LabelTaxonomyResource(options),
|
|
8891
8927
|
levyRateSummaries: new LevyRateSummariesResource(options),
|
|
8892
8928
|
liabilityRemittancePlans: new LiabilityRemittancePlansResource(options),
|
|
@@ -8919,6 +8955,7 @@ export function createClient(options) {
|
|
|
8919
8955
|
optinPromptCopies: new OptinPromptCopiesResource(options),
|
|
8920
8956
|
orderActionabilities: new OrderActionabilitiesResource(options),
|
|
8921
8957
|
orderCancellations: new OrderCancellationsResource(options),
|
|
8958
|
+
orderCombinedShipments: new OrderCombinedShipmentsResource(options),
|
|
8922
8959
|
orderDetails: new OrderDetailsResource(options),
|
|
8923
8960
|
orderPaymentAuthorizations: new OrderPaymentAuthorizationsResource(options),
|
|
8924
8961
|
orderRevenueRegionCharts: new OrderRevenueRegionChartsResource(options),
|
|
@@ -9016,8 +9053,6 @@ export function createClient(options) {
|
|
|
9016
9053
|
v1Checkouts: new V1CheckoutsResource(options),
|
|
9017
9054
|
v2Checkouts: new V2CheckoutsResource(options),
|
|
9018
9055
|
viesResults: new ViesResultsResource(options),
|
|
9019
|
-
washCarrierActualFiles: new WashCarrierActualFilesResource(options),
|
|
9020
|
-
washExportRequests: new WashExportRequestsResource(options),
|
|
9021
9056
|
webhooks: new WebhooksResource(options),
|
|
9022
9057
|
};
|
|
9023
9058
|
}
|