@flowio/api-internal-sdk 0.0.124 → 0.0.126
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 +142 -108
- package/dist/esm/api-internal.js +136 -102
- package/dist/types/api-internal.d.ts +163 -133
- package/package.json +2 -2
package/dist/esm/api-internal.js
CHANGED
|
@@ -479,6 +479,36 @@ var CarrierAccountsResource = /** @class */ (function (_super) {
|
|
|
479
479
|
return CarrierAccountsResource;
|
|
480
480
|
}($Resource));
|
|
481
481
|
export { CarrierAccountsResource };
|
|
482
|
+
var CarrierChargeFilesResource = /** @class */ (function (_super) {
|
|
483
|
+
__extends(CarrierChargeFilesResource, _super);
|
|
484
|
+
function CarrierChargeFilesResource() {
|
|
485
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
486
|
+
}
|
|
487
|
+
CarrierChargeFilesResource.prototype.post = function (params) {
|
|
488
|
+
return this.client.request({
|
|
489
|
+
body: params.body,
|
|
490
|
+
endpoint: '/billing/carrier/charge/files',
|
|
491
|
+
headers: params.headers,
|
|
492
|
+
method: 'POST',
|
|
493
|
+
});
|
|
494
|
+
};
|
|
495
|
+
CarrierChargeFilesResource.prototype.getById = function (params) {
|
|
496
|
+
return this.client.request({
|
|
497
|
+
endpoint: "/billing/carrier/charge/files/".concat(encodeURIComponent(params.id)),
|
|
498
|
+
headers: params.headers,
|
|
499
|
+
method: 'GET',
|
|
500
|
+
});
|
|
501
|
+
};
|
|
502
|
+
CarrierChargeFilesResource.prototype.deleteById = function (params) {
|
|
503
|
+
return this.client.request({
|
|
504
|
+
endpoint: "/billing/carrier/charge/files/".concat(encodeURIComponent(params.id)),
|
|
505
|
+
headers: params.headers,
|
|
506
|
+
method: 'DELETE',
|
|
507
|
+
});
|
|
508
|
+
};
|
|
509
|
+
return CarrierChargeFilesResource;
|
|
510
|
+
}($Resource));
|
|
511
|
+
export { CarrierChargeFilesResource };
|
|
482
512
|
var CatalogSettingsResource = /** @class */ (function (_super) {
|
|
483
513
|
__extends(CatalogSettingsResource, _super);
|
|
484
514
|
function CatalogSettingsResource() {
|
|
@@ -554,24 +584,24 @@ var ChannelAccountsResource = /** @class */ (function (_super) {
|
|
|
554
584
|
headers: params.headers,
|
|
555
585
|
method: 'GET',
|
|
556
586
|
query: {
|
|
557
|
-
currency: params.currency,
|
|
558
587
|
id: params.id,
|
|
588
|
+
key: params.key,
|
|
559
589
|
limit: params.limit,
|
|
560
590
|
offset: params.offset,
|
|
561
591
|
sort: params.sort,
|
|
562
592
|
},
|
|
563
593
|
});
|
|
564
594
|
};
|
|
565
|
-
ChannelAccountsResource.prototype.
|
|
595
|
+
ChannelAccountsResource.prototype.getByKey = function (params) {
|
|
566
596
|
return this.client.request({
|
|
567
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
597
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key)),
|
|
568
598
|
headers: params.headers,
|
|
569
599
|
method: 'GET',
|
|
570
600
|
});
|
|
571
601
|
};
|
|
572
|
-
ChannelAccountsResource.prototype.
|
|
602
|
+
ChannelAccountsResource.prototype.getContactsByKey = function (params) {
|
|
573
603
|
return this.client.request({
|
|
574
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
604
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
575
605
|
headers: params.headers,
|
|
576
606
|
method: 'GET',
|
|
577
607
|
query: {
|
|
@@ -583,38 +613,38 @@ var ChannelAccountsResource = /** @class */ (function (_super) {
|
|
|
583
613
|
},
|
|
584
614
|
});
|
|
585
615
|
};
|
|
586
|
-
ChannelAccountsResource.prototype.
|
|
616
|
+
ChannelAccountsResource.prototype.postContactsByKey = function (params) {
|
|
587
617
|
return this.client.request({
|
|
588
618
|
body: params.body,
|
|
589
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
619
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
590
620
|
headers: params.headers,
|
|
591
621
|
method: 'POST',
|
|
592
622
|
});
|
|
593
623
|
};
|
|
594
|
-
ChannelAccountsResource.prototype.
|
|
624
|
+
ChannelAccountsResource.prototype.getContactsByKeyAndId = function (params) {
|
|
595
625
|
return this.client.request({
|
|
596
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
626
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
597
627
|
headers: params.headers,
|
|
598
628
|
method: 'GET',
|
|
599
629
|
});
|
|
600
630
|
};
|
|
601
|
-
ChannelAccountsResource.prototype.
|
|
631
|
+
ChannelAccountsResource.prototype.deleteContactsByKeyAndId = function (params) {
|
|
602
632
|
return this.client.request({
|
|
603
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
633
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
604
634
|
headers: params.headers,
|
|
605
635
|
method: 'DELETE',
|
|
606
636
|
});
|
|
607
637
|
};
|
|
608
|
-
ChannelAccountsResource.prototype.
|
|
638
|
+
ChannelAccountsResource.prototype.getStatisticsByKey = function (params) {
|
|
609
639
|
return this.client.request({
|
|
610
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
640
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/statistics"),
|
|
611
641
|
headers: params.headers,
|
|
612
642
|
method: 'GET',
|
|
613
643
|
});
|
|
614
644
|
};
|
|
615
|
-
ChannelAccountsResource.prototype.
|
|
645
|
+
ChannelAccountsResource.prototype.getTransactionsByKey = function (params) {
|
|
616
646
|
return this.client.request({
|
|
617
|
-
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.
|
|
647
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/accounts/").concat(encodeURIComponent(params.key), "/transactions"),
|
|
618
648
|
headers: params.headers,
|
|
619
649
|
method: 'GET',
|
|
620
650
|
query: {
|
|
@@ -702,8 +732,8 @@ var ChannelBillingStatementsResource = /** @class */ (function (_super) {
|
|
|
702
732
|
method: 'GET',
|
|
703
733
|
query: {
|
|
704
734
|
account_id: params.account_id,
|
|
705
|
-
currency: params.currency,
|
|
706
735
|
id: params.id,
|
|
736
|
+
key: params.key,
|
|
707
737
|
limit: params.limit,
|
|
708
738
|
offset: params.offset,
|
|
709
739
|
sort: params.sort,
|
|
@@ -2414,39 +2444,31 @@ var FlowAccountsResource = /** @class */ (function (_super) {
|
|
|
2414
2444
|
headers: params.headers,
|
|
2415
2445
|
method: 'GET',
|
|
2416
2446
|
query: {
|
|
2417
|
-
currency: params.currency,
|
|
2418
2447
|
id: params.id,
|
|
2448
|
+
key: params.key,
|
|
2419
2449
|
limit: params.limit,
|
|
2420
2450
|
offset: params.offset,
|
|
2421
2451
|
sort: params.sort,
|
|
2422
2452
|
},
|
|
2423
2453
|
});
|
|
2424
2454
|
};
|
|
2425
|
-
FlowAccountsResource.prototype.
|
|
2455
|
+
FlowAccountsResource.prototype.getByKey = function (params) {
|
|
2426
2456
|
return this.client.request({
|
|
2427
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2457
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key)),
|
|
2428
2458
|
headers: params.headers,
|
|
2429
2459
|
method: 'GET',
|
|
2430
2460
|
});
|
|
2431
2461
|
};
|
|
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) {
|
|
2462
|
+
FlowAccountsResource.prototype.deleteByKey = function (params) {
|
|
2441
2463
|
return this.client.request({
|
|
2442
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2464
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key)),
|
|
2443
2465
|
headers: params.headers,
|
|
2444
2466
|
method: 'DELETE',
|
|
2445
2467
|
});
|
|
2446
2468
|
};
|
|
2447
|
-
FlowAccountsResource.prototype.
|
|
2469
|
+
FlowAccountsResource.prototype.getContactsByKey = function (params) {
|
|
2448
2470
|
return this.client.request({
|
|
2449
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2471
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
2450
2472
|
headers: params.headers,
|
|
2451
2473
|
method: 'GET',
|
|
2452
2474
|
query: {
|
|
@@ -2458,38 +2480,38 @@ var FlowAccountsResource = /** @class */ (function (_super) {
|
|
|
2458
2480
|
},
|
|
2459
2481
|
});
|
|
2460
2482
|
};
|
|
2461
|
-
FlowAccountsResource.prototype.
|
|
2483
|
+
FlowAccountsResource.prototype.postContactsByKey = function (params) {
|
|
2462
2484
|
return this.client.request({
|
|
2463
2485
|
body: params.body,
|
|
2464
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2486
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts"),
|
|
2465
2487
|
headers: params.headers,
|
|
2466
2488
|
method: 'POST',
|
|
2467
2489
|
});
|
|
2468
2490
|
};
|
|
2469
|
-
FlowAccountsResource.prototype.
|
|
2491
|
+
FlowAccountsResource.prototype.getContactsByKeyAndId = function (params) {
|
|
2470
2492
|
return this.client.request({
|
|
2471
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2493
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
2472
2494
|
headers: params.headers,
|
|
2473
2495
|
method: 'GET',
|
|
2474
2496
|
});
|
|
2475
2497
|
};
|
|
2476
|
-
FlowAccountsResource.prototype.
|
|
2498
|
+
FlowAccountsResource.prototype.deleteContactsByKeyAndId = function (params) {
|
|
2477
2499
|
return this.client.request({
|
|
2478
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2500
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/contacts/").concat(encodeURIComponent(params.id)),
|
|
2479
2501
|
headers: params.headers,
|
|
2480
2502
|
method: 'DELETE',
|
|
2481
2503
|
});
|
|
2482
2504
|
};
|
|
2483
|
-
FlowAccountsResource.prototype.
|
|
2505
|
+
FlowAccountsResource.prototype.getStatisticsByKey = function (params) {
|
|
2484
2506
|
return this.client.request({
|
|
2485
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2507
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/statistics"),
|
|
2486
2508
|
headers: params.headers,
|
|
2487
2509
|
method: 'GET',
|
|
2488
2510
|
});
|
|
2489
2511
|
};
|
|
2490
|
-
FlowAccountsResource.prototype.
|
|
2512
|
+
FlowAccountsResource.prototype.getTransactionsByKey = function (params) {
|
|
2491
2513
|
return this.client.request({
|
|
2492
|
-
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"),
|
|
2493
2515
|
headers: params.headers,
|
|
2494
2516
|
method: 'GET',
|
|
2495
2517
|
query: {
|
|
@@ -2516,18 +2538,18 @@ var FlowAccountsResource = /** @class */ (function (_super) {
|
|
|
2516
2538
|
});
|
|
2517
2539
|
};
|
|
2518
2540
|
/*Creates a manual transaction for this account*/
|
|
2519
|
-
FlowAccountsResource.prototype.
|
|
2541
|
+
FlowAccountsResource.prototype.postTransactionsAndManualByKey = function (params) {
|
|
2520
2542
|
return this.client.request({
|
|
2521
2543
|
body: params.body,
|
|
2522
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2544
|
+
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.key), "/transactions/manual"),
|
|
2523
2545
|
headers: params.headers,
|
|
2524
2546
|
method: 'POST',
|
|
2525
2547
|
});
|
|
2526
2548
|
};
|
|
2527
2549
|
/*Deletes a manual transaction for this account, if not associated with a billing statement.*/
|
|
2528
|
-
FlowAccountsResource.prototype.
|
|
2550
|
+
FlowAccountsResource.prototype.deleteTransactionsAndManualByKeyAndId = function (params) {
|
|
2529
2551
|
return this.client.request({
|
|
2530
|
-
endpoint: "/internal/billing/".concat(encodeURIComponent(params.source_type), "/").concat(encodeURIComponent(params.source_id), "/accounts/").concat(encodeURIComponent(params.
|
|
2552
|
+
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
2553
|
headers: params.headers,
|
|
2532
2554
|
method: 'DELETE',
|
|
2533
2555
|
});
|
|
@@ -3673,6 +3695,13 @@ var OnboardingStatesResource = /** @class */ (function (_super) {
|
|
|
3673
3695
|
method: 'PUT',
|
|
3674
3696
|
});
|
|
3675
3697
|
};
|
|
3698
|
+
OnboardingStatesResource.prototype.putRecalculate = function (params) {
|
|
3699
|
+
return this.client.request({
|
|
3700
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/recalculate"),
|
|
3701
|
+
headers: params.headers,
|
|
3702
|
+
method: 'PUT',
|
|
3703
|
+
});
|
|
3704
|
+
};
|
|
3676
3705
|
OnboardingStatesResource.prototype.putTransitionAndReplaceById = function (params) {
|
|
3677
3706
|
return this.client.request({
|
|
3678
3707
|
body: params.body,
|
|
@@ -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,
|
|
@@ -8693,45 +8766,6 @@ var ViesResultsResource = /** @class */ (function (_super) {
|
|
|
8693
8766
|
return ViesResultsResource;
|
|
8694
8767
|
}($Resource));
|
|
8695
8768
|
export { ViesResultsResource };
|
|
8696
|
-
var WashCarrierActualFilesResource = /** @class */ (function (_super) {
|
|
8697
|
-
__extends(WashCarrierActualFilesResource, _super);
|
|
8698
|
-
function WashCarrierActualFilesResource() {
|
|
8699
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
8700
|
-
}
|
|
8701
|
-
WashCarrierActualFilesResource.prototype.post = function (params) {
|
|
8702
|
-
return this.client.request({
|
|
8703
|
-
body: params.body,
|
|
8704
|
-
endpoint: '/internal/billing/wash/carrier/actual/files',
|
|
8705
|
-
headers: params.headers,
|
|
8706
|
-
method: 'POST',
|
|
8707
|
-
});
|
|
8708
|
-
};
|
|
8709
|
-
WashCarrierActualFilesResource.prototype.getById = function (params) {
|
|
8710
|
-
return this.client.request({
|
|
8711
|
-
endpoint: "/internal/billing/wash/carrier/actual/files/".concat(encodeURIComponent(params.id)),
|
|
8712
|
-
headers: params.headers,
|
|
8713
|
-
method: 'GET',
|
|
8714
|
-
});
|
|
8715
|
-
};
|
|
8716
|
-
return WashCarrierActualFilesResource;
|
|
8717
|
-
}($Resource));
|
|
8718
|
-
export { WashCarrierActualFilesResource };
|
|
8719
|
-
var WashExportRequestsResource = /** @class */ (function (_super) {
|
|
8720
|
-
__extends(WashExportRequestsResource, _super);
|
|
8721
|
-
function WashExportRequestsResource() {
|
|
8722
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
8723
|
-
}
|
|
8724
|
-
WashExportRequestsResource.prototype.post = function (params) {
|
|
8725
|
-
if (params === void 0) { params = {}; }
|
|
8726
|
-
return this.client.request({
|
|
8727
|
-
endpoint: '/internal/billing/wash/export/requests',
|
|
8728
|
-
headers: params.headers,
|
|
8729
|
-
method: 'POST',
|
|
8730
|
-
});
|
|
8731
|
-
};
|
|
8732
|
-
return WashExportRequestsResource;
|
|
8733
|
-
}($Resource));
|
|
8734
|
-
export { WashExportRequestsResource };
|
|
8735
8769
|
var WebhooksResource = /** @class */ (function (_super) {
|
|
8736
8770
|
__extends(WebhooksResource, _super);
|
|
8737
8771
|
function WebhooksResource() {
|
|
@@ -8763,6 +8797,7 @@ export function createClient(options) {
|
|
|
8763
8797
|
browserBundles: new BrowserBundlesResource(options),
|
|
8764
8798
|
calculatorOrganizationSettings: new CalculatorOrganizationSettingsResource(options),
|
|
8765
8799
|
carrierAccounts: new CarrierAccountsResource(options),
|
|
8800
|
+
carrierChargeFiles: new CarrierChargeFilesResource(options),
|
|
8766
8801
|
catalogSettings: new CatalogSettingsResource(options),
|
|
8767
8802
|
centerDefaults: new CenterDefaultsResource(options),
|
|
8768
8803
|
centerQueryBuilders: new CenterQueryBuildersResource(options),
|
|
@@ -8920,6 +8955,7 @@ export function createClient(options) {
|
|
|
8920
8955
|
optinPromptCopies: new OptinPromptCopiesResource(options),
|
|
8921
8956
|
orderActionabilities: new OrderActionabilitiesResource(options),
|
|
8922
8957
|
orderCancellations: new OrderCancellationsResource(options),
|
|
8958
|
+
orderCombinedShipments: new OrderCombinedShipmentsResource(options),
|
|
8923
8959
|
orderDetails: new OrderDetailsResource(options),
|
|
8924
8960
|
orderPaymentAuthorizations: new OrderPaymentAuthorizationsResource(options),
|
|
8925
8961
|
orderRevenueRegionCharts: new OrderRevenueRegionChartsResource(options),
|
|
@@ -9017,8 +9053,6 @@ export function createClient(options) {
|
|
|
9017
9053
|
v1Checkouts: new V1CheckoutsResource(options),
|
|
9018
9054
|
v2Checkouts: new V2CheckoutsResource(options),
|
|
9019
9055
|
viesResults: new ViesResultsResource(options),
|
|
9020
|
-
washCarrierActualFiles: new WashCarrierActualFilesResource(options),
|
|
9021
|
-
washExportRequests: new WashExportRequestsResource(options),
|
|
9022
9056
|
webhooks: new WebhooksResource(options),
|
|
9023
9057
|
};
|
|
9024
9058
|
}
|