@flowio/api-internal-sdk 0.0.153 → 0.0.155
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 +58 -514
- package/dist/esm/api-internal.js +53 -508
- package/dist/types/api-internal.d.ts +41 -357
- package/package.json +2 -2
package/dist/esm/api-internal.js
CHANGED
|
@@ -491,6 +491,13 @@ var CallRecordsResource = /** @class */ (function (_super) {
|
|
|
491
491
|
function CallRecordsResource() {
|
|
492
492
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
493
493
|
}
|
|
494
|
+
CallRecordsResource.prototype.getByCarrierIdAndReferenceId = function (params) {
|
|
495
|
+
return this.client.request({
|
|
496
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/label/call/record/").concat(encodeURIComponent(params.carrier_id), "/").concat(encodeURIComponent(params.reference_id)),
|
|
497
|
+
headers: params.headers,
|
|
498
|
+
method: 'GET',
|
|
499
|
+
});
|
|
500
|
+
};
|
|
494
501
|
CallRecordsResource.prototype.getByReferenceId = function (params) {
|
|
495
502
|
return this.client.request({
|
|
496
503
|
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/label/call/record/").concat(encodeURIComponent(params.reference_id)),
|
|
@@ -1892,10 +1899,22 @@ var DisputesResource = /** @class */ (function (_super) {
|
|
|
1892
1899
|
headers: params.headers,
|
|
1893
1900
|
method: 'GET',
|
|
1894
1901
|
query: {
|
|
1902
|
+
created_after: params.created_after,
|
|
1903
|
+
created_before: params.created_before,
|
|
1904
|
+
defense_outcomes: params.defense_outcomes,
|
|
1905
|
+
expires_after: params.expires_after,
|
|
1906
|
+
expires_before: params.expires_before,
|
|
1895
1907
|
id: params.id,
|
|
1908
|
+
issued_after: params.issued_after,
|
|
1909
|
+
issued_before: params.issued_before,
|
|
1910
|
+
key: params.key,
|
|
1896
1911
|
limit: params.limit,
|
|
1897
1912
|
offset: params.offset,
|
|
1913
|
+
payment_methods: params.payment_methods,
|
|
1914
|
+
processors: params.processors,
|
|
1915
|
+
reporting_categories: params.reporting_categories,
|
|
1898
1916
|
sort: params.sort,
|
|
1917
|
+
statuses: params.statuses,
|
|
1899
1918
|
},
|
|
1900
1919
|
});
|
|
1901
1920
|
};
|
|
@@ -1939,44 +1958,6 @@ var DutyInternalRatesResource = /** @class */ (function (_super) {
|
|
|
1939
1958
|
return DutyInternalRatesResource;
|
|
1940
1959
|
}($Resource));
|
|
1941
1960
|
export { DutyInternalRatesResource };
|
|
1942
|
-
var EldarItemsResource = /** @class */ (function (_super) {
|
|
1943
|
-
__extends(EldarItemsResource, _super);
|
|
1944
|
-
function EldarItemsResource() {
|
|
1945
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1946
|
-
}
|
|
1947
|
-
EldarItemsResource.prototype.post = function (params) {
|
|
1948
|
-
return this.client.request({
|
|
1949
|
-
body: params.body,
|
|
1950
|
-
endpoint: '/eldar/items',
|
|
1951
|
-
headers: params.headers,
|
|
1952
|
-
method: 'POST',
|
|
1953
|
-
});
|
|
1954
|
-
};
|
|
1955
|
-
EldarItemsResource.prototype.getById = function (params) {
|
|
1956
|
-
return this.client.request({
|
|
1957
|
-
endpoint: "/eldar/items/".concat(encodeURIComponent(params.id)),
|
|
1958
|
-
headers: params.headers,
|
|
1959
|
-
method: 'GET',
|
|
1960
|
-
});
|
|
1961
|
-
};
|
|
1962
|
-
EldarItemsResource.prototype.putById = function (params) {
|
|
1963
|
-
return this.client.request({
|
|
1964
|
-
body: params.body,
|
|
1965
|
-
endpoint: "/eldar/items/".concat(encodeURIComponent(params.id)),
|
|
1966
|
-
headers: params.headers,
|
|
1967
|
-
method: 'PUT',
|
|
1968
|
-
});
|
|
1969
|
-
};
|
|
1970
|
-
EldarItemsResource.prototype.deleteById = function (params) {
|
|
1971
|
-
return this.client.request({
|
|
1972
|
-
endpoint: "/eldar/items/".concat(encodeURIComponent(params.id)),
|
|
1973
|
-
headers: params.headers,
|
|
1974
|
-
method: 'DELETE',
|
|
1975
|
-
});
|
|
1976
|
-
};
|
|
1977
|
-
return EldarItemsResource;
|
|
1978
|
-
}($Resource));
|
|
1979
|
-
export { EldarItemsResource };
|
|
1980
1961
|
var ErpFlowFilesResource = /** @class */ (function (_super) {
|
|
1981
1962
|
__extends(ErpFlowFilesResource, _super);
|
|
1982
1963
|
function ErpFlowFilesResource() {
|
|
@@ -3011,44 +2992,6 @@ var GoogleShoppingSettingsResource = /** @class */ (function (_super) {
|
|
|
3011
2992
|
return GoogleShoppingSettingsResource;
|
|
3012
2993
|
}($Resource));
|
|
3013
2994
|
export { GoogleShoppingSettingsResource };
|
|
3014
|
-
var HarinathItemsResource = /** @class */ (function (_super) {
|
|
3015
|
-
__extends(HarinathItemsResource, _super);
|
|
3016
|
-
function HarinathItemsResource() {
|
|
3017
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
3018
|
-
}
|
|
3019
|
-
HarinathItemsResource.prototype.post = function (params) {
|
|
3020
|
-
return this.client.request({
|
|
3021
|
-
body: params.body,
|
|
3022
|
-
endpoint: '/harinath/items',
|
|
3023
|
-
headers: params.headers,
|
|
3024
|
-
method: 'POST',
|
|
3025
|
-
});
|
|
3026
|
-
};
|
|
3027
|
-
HarinathItemsResource.prototype.getById = function (params) {
|
|
3028
|
-
return this.client.request({
|
|
3029
|
-
endpoint: "/harinath/items/".concat(encodeURIComponent(params.id)),
|
|
3030
|
-
headers: params.headers,
|
|
3031
|
-
method: 'GET',
|
|
3032
|
-
});
|
|
3033
|
-
};
|
|
3034
|
-
HarinathItemsResource.prototype.putById = function (params) {
|
|
3035
|
-
return this.client.request({
|
|
3036
|
-
body: params.body,
|
|
3037
|
-
endpoint: "/harinath/items/".concat(encodeURIComponent(params.id)),
|
|
3038
|
-
headers: params.headers,
|
|
3039
|
-
method: 'PUT',
|
|
3040
|
-
});
|
|
3041
|
-
};
|
|
3042
|
-
HarinathItemsResource.prototype.deleteById = function (params) {
|
|
3043
|
-
return this.client.request({
|
|
3044
|
-
endpoint: "/harinath/items/".concat(encodeURIComponent(params.id)),
|
|
3045
|
-
headers: params.headers,
|
|
3046
|
-
method: 'DELETE',
|
|
3047
|
-
});
|
|
3048
|
-
};
|
|
3049
|
-
return HarinathItemsResource;
|
|
3050
|
-
}($Resource));
|
|
3051
|
-
export { HarinathItemsResource };
|
|
3052
2995
|
var HarmonizationItemClassificationsResource = /** @class */ (function (_super) {
|
|
3053
2996
|
__extends(HarmonizationItemClassificationsResource, _super);
|
|
3054
2997
|
function HarmonizationItemClassificationsResource() {
|
|
@@ -3313,44 +3256,6 @@ var InvariantsResource = /** @class */ (function (_super) {
|
|
|
3313
3256
|
return InvariantsResource;
|
|
3314
3257
|
}($Resource));
|
|
3315
3258
|
export { InvariantsResource };
|
|
3316
|
-
var InventoryOrganizationSettingsResource = /** @class */ (function (_super) {
|
|
3317
|
-
__extends(InventoryOrganizationSettingsResource, _super);
|
|
3318
|
-
function InventoryOrganizationSettingsResource() {
|
|
3319
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
3320
|
-
}
|
|
3321
|
-
InventoryOrganizationSettingsResource.prototype.get = function (params) {
|
|
3322
|
-
return this.client.request({
|
|
3323
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/inventory/settings"),
|
|
3324
|
-
headers: params.headers,
|
|
3325
|
-
method: 'GET',
|
|
3326
|
-
});
|
|
3327
|
-
};
|
|
3328
|
-
InventoryOrganizationSettingsResource.prototype.post = function (params) {
|
|
3329
|
-
return this.client.request({
|
|
3330
|
-
body: params.body,
|
|
3331
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/inventory/settings"),
|
|
3332
|
-
headers: params.headers,
|
|
3333
|
-
method: 'POST',
|
|
3334
|
-
});
|
|
3335
|
-
};
|
|
3336
|
-
InventoryOrganizationSettingsResource.prototype.put = function (params) {
|
|
3337
|
-
return this.client.request({
|
|
3338
|
-
body: params.body,
|
|
3339
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/inventory/settings"),
|
|
3340
|
-
headers: params.headers,
|
|
3341
|
-
method: 'PUT',
|
|
3342
|
-
});
|
|
3343
|
-
};
|
|
3344
|
-
InventoryOrganizationSettingsResource.prototype.delete = function (params) {
|
|
3345
|
-
return this.client.request({
|
|
3346
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/inventory/settings"),
|
|
3347
|
-
headers: params.headers,
|
|
3348
|
-
method: 'DELETE',
|
|
3349
|
-
});
|
|
3350
|
-
};
|
|
3351
|
-
return InventoryOrganizationSettingsResource;
|
|
3352
|
-
}($Resource));
|
|
3353
|
-
export { InventoryOrganizationSettingsResource };
|
|
3354
3259
|
var AdyenDisputeEventsResource = /** @class */ (function (_super) {
|
|
3355
3260
|
__extends(AdyenDisputeEventsResource, _super);
|
|
3356
3261
|
function AdyenDisputeEventsResource() {
|
|
@@ -3810,25 +3715,6 @@ var ShipmentNotificationsResource = /** @class */ (function (_super) {
|
|
|
3810
3715
|
return ShipmentNotificationsResource;
|
|
3811
3716
|
}($Resource));
|
|
3812
3717
|
export { ShipmentNotificationsResource };
|
|
3813
|
-
var ReservationsResource = /** @class */ (function (_super) {
|
|
3814
|
-
__extends(ReservationsResource, _super);
|
|
3815
|
-
function ReservationsResource() {
|
|
3816
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
3817
|
-
}
|
|
3818
|
-
ReservationsResource.prototype.post = function (params) {
|
|
3819
|
-
return this.client.request({
|
|
3820
|
-
body: params.body,
|
|
3821
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/inventory/reservation"),
|
|
3822
|
-
headers: params.headers,
|
|
3823
|
-
method: 'POST',
|
|
3824
|
-
query: {
|
|
3825
|
-
context: params.context,
|
|
3826
|
-
},
|
|
3827
|
-
});
|
|
3828
|
-
};
|
|
3829
|
-
return ReservationsResource;
|
|
3830
|
-
}($Resource));
|
|
3831
|
-
export { ReservationsResource };
|
|
3832
3718
|
var UltimateBeneficiaryOwnersResource = /** @class */ (function (_super) {
|
|
3833
3719
|
__extends(UltimateBeneficiaryOwnersResource, _super);
|
|
3834
3720
|
function UltimateBeneficiaryOwnersResource() {
|
|
@@ -4638,44 +4524,6 @@ var KeysResource = /** @class */ (function (_super) {
|
|
|
4638
4524
|
return KeysResource;
|
|
4639
4525
|
}($Resource));
|
|
4640
4526
|
export { KeysResource };
|
|
4641
|
-
var KonstantinItemsResource = /** @class */ (function (_super) {
|
|
4642
|
-
__extends(KonstantinItemsResource, _super);
|
|
4643
|
-
function KonstantinItemsResource() {
|
|
4644
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4645
|
-
}
|
|
4646
|
-
KonstantinItemsResource.prototype.post = function (params) {
|
|
4647
|
-
return this.client.request({
|
|
4648
|
-
body: params.body,
|
|
4649
|
-
endpoint: '/konstantin/items',
|
|
4650
|
-
headers: params.headers,
|
|
4651
|
-
method: 'POST',
|
|
4652
|
-
});
|
|
4653
|
-
};
|
|
4654
|
-
KonstantinItemsResource.prototype.getById = function (params) {
|
|
4655
|
-
return this.client.request({
|
|
4656
|
-
endpoint: "/konstantin/items/".concat(encodeURIComponent(params.id)),
|
|
4657
|
-
headers: params.headers,
|
|
4658
|
-
method: 'GET',
|
|
4659
|
-
});
|
|
4660
|
-
};
|
|
4661
|
-
KonstantinItemsResource.prototype.putById = function (params) {
|
|
4662
|
-
return this.client.request({
|
|
4663
|
-
body: params.body,
|
|
4664
|
-
endpoint: "/konstantin/items/".concat(encodeURIComponent(params.id)),
|
|
4665
|
-
headers: params.headers,
|
|
4666
|
-
method: 'PUT',
|
|
4667
|
-
});
|
|
4668
|
-
};
|
|
4669
|
-
KonstantinItemsResource.prototype.deleteById = function (params) {
|
|
4670
|
-
return this.client.request({
|
|
4671
|
-
endpoint: "/konstantin/items/".concat(encodeURIComponent(params.id)),
|
|
4672
|
-
headers: params.headers,
|
|
4673
|
-
method: 'DELETE',
|
|
4674
|
-
});
|
|
4675
|
-
};
|
|
4676
|
-
return KonstantinItemsResource;
|
|
4677
|
-
}($Resource));
|
|
4678
|
-
export { KonstantinItemsResource };
|
|
4679
4527
|
var LabProjectSettingsResource = /** @class */ (function (_super) {
|
|
4680
4528
|
__extends(LabProjectSettingsResource, _super);
|
|
4681
4529
|
function LabProjectSettingsResource() {
|
|
@@ -4792,6 +4640,7 @@ var LabelRequestResultsResource = /** @class */ (function (_super) {
|
|
|
4792
4640
|
id: params.id,
|
|
4793
4641
|
limit: params.limit,
|
|
4794
4642
|
offset: params.offset,
|
|
4643
|
+
order_number: params.order_number,
|
|
4795
4644
|
organization_id: params.organization_id,
|
|
4796
4645
|
organization_type: params.organization_type,
|
|
4797
4646
|
sort: params.sort,
|
|
@@ -5539,62 +5388,6 @@ var MarketsOrderSummariesResource = /** @class */ (function (_super) {
|
|
|
5539
5388
|
return MarketsOrderSummariesResource;
|
|
5540
5389
|
}($Resource));
|
|
5541
5390
|
export { MarketsOrderSummariesResource };
|
|
5542
|
-
var MatiasItemsResource = /** @class */ (function (_super) {
|
|
5543
|
-
__extends(MatiasItemsResource, _super);
|
|
5544
|
-
function MatiasItemsResource() {
|
|
5545
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5546
|
-
}
|
|
5547
|
-
/*Get all the items*/
|
|
5548
|
-
MatiasItemsResource.prototype.get = function (params) {
|
|
5549
|
-
return this.client.request({
|
|
5550
|
-
endpoint: '/matias/items',
|
|
5551
|
-
headers: params.headers,
|
|
5552
|
-
method: 'GET',
|
|
5553
|
-
query: {
|
|
5554
|
-
id: params.id,
|
|
5555
|
-
limit: params.limit,
|
|
5556
|
-
offset: params.offset,
|
|
5557
|
-
sort: params.sort,
|
|
5558
|
-
},
|
|
5559
|
-
});
|
|
5560
|
-
};
|
|
5561
|
-
/*uses to create a matias item, very nice, isn't it?*/
|
|
5562
|
-
MatiasItemsResource.prototype.post = function (params) {
|
|
5563
|
-
return this.client.request({
|
|
5564
|
-
body: params.body,
|
|
5565
|
-
endpoint: '/matias/items',
|
|
5566
|
-
headers: params.headers,
|
|
5567
|
-
method: 'POST',
|
|
5568
|
-
});
|
|
5569
|
-
};
|
|
5570
|
-
/*Get a great matias item by id*/
|
|
5571
|
-
MatiasItemsResource.prototype.getById = function (params) {
|
|
5572
|
-
return this.client.request({
|
|
5573
|
-
endpoint: "/matias/items/".concat(encodeURIComponent(params.id)),
|
|
5574
|
-
headers: params.headers,
|
|
5575
|
-
method: 'GET',
|
|
5576
|
-
});
|
|
5577
|
-
};
|
|
5578
|
-
/*uses to change data on a matias item when it looks old*/
|
|
5579
|
-
MatiasItemsResource.prototype.putById = function (params) {
|
|
5580
|
-
return this.client.request({
|
|
5581
|
-
body: params.body,
|
|
5582
|
-
endpoint: "/matias/items/".concat(encodeURIComponent(params.id)),
|
|
5583
|
-
headers: params.headers,
|
|
5584
|
-
method: 'PUT',
|
|
5585
|
-
});
|
|
5586
|
-
};
|
|
5587
|
-
/*uses to delete the specific item*/
|
|
5588
|
-
MatiasItemsResource.prototype.deleteById = function (params) {
|
|
5589
|
-
return this.client.request({
|
|
5590
|
-
endpoint: "/matias/items/".concat(encodeURIComponent(params.id)),
|
|
5591
|
-
headers: params.headers,
|
|
5592
|
-
method: 'DELETE',
|
|
5593
|
-
});
|
|
5594
|
-
};
|
|
5595
|
-
return MatiasItemsResource;
|
|
5596
|
-
}($Resource));
|
|
5597
|
-
export { MatiasItemsResource };
|
|
5598
5391
|
var MerchantApplicationSummariesResource = /** @class */ (function (_super) {
|
|
5599
5392
|
__extends(MerchantApplicationSummariesResource, _super);
|
|
5600
5393
|
function MerchantApplicationSummariesResource() {
|
|
@@ -5742,82 +5535,6 @@ var MerchantOfRecordEntitySettingsResource = /** @class */ (function (_super) {
|
|
|
5742
5535
|
return MerchantOfRecordEntitySettingsResource;
|
|
5743
5536
|
}($Resource));
|
|
5744
5537
|
export { MerchantOfRecordEntitySettingsResource };
|
|
5745
|
-
var MichaelyanItemsResource = /** @class */ (function (_super) {
|
|
5746
|
-
__extends(MichaelyanItemsResource, _super);
|
|
5747
|
-
function MichaelyanItemsResource() {
|
|
5748
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5749
|
-
}
|
|
5750
|
-
MichaelyanItemsResource.prototype.post = function (params) {
|
|
5751
|
-
return this.client.request({
|
|
5752
|
-
body: params.body,
|
|
5753
|
-
endpoint: '/michaelyan/items',
|
|
5754
|
-
headers: params.headers,
|
|
5755
|
-
method: 'POST',
|
|
5756
|
-
});
|
|
5757
|
-
};
|
|
5758
|
-
MichaelyanItemsResource.prototype.getById = function (params) {
|
|
5759
|
-
return this.client.request({
|
|
5760
|
-
endpoint: "/michaelyan/items/".concat(encodeURIComponent(params.id)),
|
|
5761
|
-
headers: params.headers,
|
|
5762
|
-
method: 'GET',
|
|
5763
|
-
});
|
|
5764
|
-
};
|
|
5765
|
-
MichaelyanItemsResource.prototype.putById = function (params) {
|
|
5766
|
-
return this.client.request({
|
|
5767
|
-
body: params.body,
|
|
5768
|
-
endpoint: "/michaelyan/items/".concat(encodeURIComponent(params.id)),
|
|
5769
|
-
headers: params.headers,
|
|
5770
|
-
method: 'PUT',
|
|
5771
|
-
});
|
|
5772
|
-
};
|
|
5773
|
-
MichaelyanItemsResource.prototype.deleteById = function (params) {
|
|
5774
|
-
return this.client.request({
|
|
5775
|
-
endpoint: "/michaelyan/items/".concat(encodeURIComponent(params.id)),
|
|
5776
|
-
headers: params.headers,
|
|
5777
|
-
method: 'DELETE',
|
|
5778
|
-
});
|
|
5779
|
-
};
|
|
5780
|
-
return MichaelyanItemsResource;
|
|
5781
|
-
}($Resource));
|
|
5782
|
-
export { MichaelyanItemsResource };
|
|
5783
|
-
var MiljenkoItemsResource = /** @class */ (function (_super) {
|
|
5784
|
-
__extends(MiljenkoItemsResource, _super);
|
|
5785
|
-
function MiljenkoItemsResource() {
|
|
5786
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5787
|
-
}
|
|
5788
|
-
MiljenkoItemsResource.prototype.post = function (params) {
|
|
5789
|
-
return this.client.request({
|
|
5790
|
-
body: params.body,
|
|
5791
|
-
endpoint: '/miljenko/items',
|
|
5792
|
-
headers: params.headers,
|
|
5793
|
-
method: 'POST',
|
|
5794
|
-
});
|
|
5795
|
-
};
|
|
5796
|
-
MiljenkoItemsResource.prototype.getById = function (params) {
|
|
5797
|
-
return this.client.request({
|
|
5798
|
-
endpoint: "/miljenko/items/".concat(encodeURIComponent(params.id)),
|
|
5799
|
-
headers: params.headers,
|
|
5800
|
-
method: 'GET',
|
|
5801
|
-
});
|
|
5802
|
-
};
|
|
5803
|
-
MiljenkoItemsResource.prototype.putById = function (params) {
|
|
5804
|
-
return this.client.request({
|
|
5805
|
-
body: params.body,
|
|
5806
|
-
endpoint: "/miljenko/items/".concat(encodeURIComponent(params.id)),
|
|
5807
|
-
headers: params.headers,
|
|
5808
|
-
method: 'PUT',
|
|
5809
|
-
});
|
|
5810
|
-
};
|
|
5811
|
-
MiljenkoItemsResource.prototype.deleteById = function (params) {
|
|
5812
|
-
return this.client.request({
|
|
5813
|
-
endpoint: "/miljenko/items/".concat(encodeURIComponent(params.id)),
|
|
5814
|
-
headers: params.headers,
|
|
5815
|
-
method: 'DELETE',
|
|
5816
|
-
});
|
|
5817
|
-
};
|
|
5818
|
-
return MiljenkoItemsResource;
|
|
5819
|
-
}($Resource));
|
|
5820
|
-
export { MiljenkoItemsResource };
|
|
5821
5538
|
var NegativeDebitMetricsResource = /** @class */ (function (_super) {
|
|
5822
5539
|
__extends(NegativeDebitMetricsResource, _super);
|
|
5823
5540
|
function NegativeDebitMetricsResource() {
|
|
@@ -8756,6 +8473,22 @@ var ShopifyOrganizationSettingsResource = /** @class */ (function (_super) {
|
|
|
8756
8473
|
return ShopifyOrganizationSettingsResource;
|
|
8757
8474
|
}($Resource));
|
|
8758
8475
|
export { ShopifyOrganizationSettingsResource };
|
|
8476
|
+
var ShopifyPartnerWebhooksResource = /** @class */ (function (_super) {
|
|
8477
|
+
__extends(ShopifyPartnerWebhooksResource, _super);
|
|
8478
|
+
function ShopifyPartnerWebhooksResource() {
|
|
8479
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8480
|
+
}
|
|
8481
|
+
ShopifyPartnerWebhooksResource.prototype.post = function (params) {
|
|
8482
|
+
return this.client.request({
|
|
8483
|
+
body: params.body,
|
|
8484
|
+
endpoint: '/shopify/partner/webhook',
|
|
8485
|
+
headers: params.headers,
|
|
8486
|
+
method: 'POST',
|
|
8487
|
+
});
|
|
8488
|
+
};
|
|
8489
|
+
return ShopifyPartnerWebhooksResource;
|
|
8490
|
+
}($Resource));
|
|
8491
|
+
export { ShopifyPartnerWebhooksResource };
|
|
8759
8492
|
var ShopifyPromotionsResource = /** @class */ (function (_super) {
|
|
8760
8493
|
__extends(ShopifyPromotionsResource, _super);
|
|
8761
8494
|
function ShopifyPromotionsResource() {
|
|
@@ -8847,48 +8580,6 @@ var ShopifyWebhookEventsResource = /** @class */ (function (_super) {
|
|
|
8847
8580
|
return ShopifyWebhookEventsResource;
|
|
8848
8581
|
}($Resource));
|
|
8849
8582
|
export { ShopifyWebhookEventsResource };
|
|
8850
|
-
var ShrutiDemoItemsResource = /** @class */ (function (_super) {
|
|
8851
|
-
__extends(ShrutiDemoItemsResource, _super);
|
|
8852
|
-
function ShrutiDemoItemsResource() {
|
|
8853
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
8854
|
-
}
|
|
8855
|
-
/*Create new shruti_demo_item*/
|
|
8856
|
-
ShrutiDemoItemsResource.prototype.post = function (params) {
|
|
8857
|
-
return this.client.request({
|
|
8858
|
-
body: params.body,
|
|
8859
|
-
endpoint: '/shruti/items',
|
|
8860
|
-
headers: params.headers,
|
|
8861
|
-
method: 'POST',
|
|
8862
|
-
});
|
|
8863
|
-
};
|
|
8864
|
-
/*Fetches shruti_demo_item by id*/
|
|
8865
|
-
ShrutiDemoItemsResource.prototype.getById = function (params) {
|
|
8866
|
-
return this.client.request({
|
|
8867
|
-
endpoint: "/shruti/items/".concat(encodeURIComponent(params.id)),
|
|
8868
|
-
headers: params.headers,
|
|
8869
|
-
method: 'GET',
|
|
8870
|
-
});
|
|
8871
|
-
};
|
|
8872
|
-
/*Updates shruti_demo_item*/
|
|
8873
|
-
ShrutiDemoItemsResource.prototype.putById = function (params) {
|
|
8874
|
-
return this.client.request({
|
|
8875
|
-
body: params.body,
|
|
8876
|
-
endpoint: "/shruti/items/".concat(encodeURIComponent(params.id)),
|
|
8877
|
-
headers: params.headers,
|
|
8878
|
-
method: 'PUT',
|
|
8879
|
-
});
|
|
8880
|
-
};
|
|
8881
|
-
/*Deletes shruti_demo_item*/
|
|
8882
|
-
ShrutiDemoItemsResource.prototype.deleteById = function (params) {
|
|
8883
|
-
return this.client.request({
|
|
8884
|
-
endpoint: "/shruti/items/".concat(encodeURIComponent(params.id)),
|
|
8885
|
-
headers: params.headers,
|
|
8886
|
-
method: 'DELETE',
|
|
8887
|
-
});
|
|
8888
|
-
};
|
|
8889
|
-
return ShrutiDemoItemsResource;
|
|
8890
|
-
}($Resource));
|
|
8891
|
-
export { ShrutiDemoItemsResource };
|
|
8892
8583
|
var SmpTaxCalculationFormsResource = /** @class */ (function (_super) {
|
|
8893
8584
|
__extends(SmpTaxCalculationFormsResource, _super);
|
|
8894
8585
|
function SmpTaxCalculationFormsResource() {
|
|
@@ -9027,118 +8718,6 @@ var StoreConnectionsResource = /** @class */ (function (_super) {
|
|
|
9027
8718
|
return StoreConnectionsResource;
|
|
9028
8719
|
}($Resource));
|
|
9029
8720
|
export { StoreConnectionsResource };
|
|
9030
|
-
var SvitlanaItemsResource = /** @class */ (function (_super) {
|
|
9031
|
-
__extends(SvitlanaItemsResource, _super);
|
|
9032
|
-
function SvitlanaItemsResource() {
|
|
9033
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
9034
|
-
}
|
|
9035
|
-
SvitlanaItemsResource.prototype.post = function (params) {
|
|
9036
|
-
return this.client.request({
|
|
9037
|
-
body: params.body,
|
|
9038
|
-
endpoint: '/svitlana/items',
|
|
9039
|
-
headers: params.headers,
|
|
9040
|
-
method: 'POST',
|
|
9041
|
-
});
|
|
9042
|
-
};
|
|
9043
|
-
SvitlanaItemsResource.prototype.getById = function (params) {
|
|
9044
|
-
return this.client.request({
|
|
9045
|
-
endpoint: "/svitlana/items/".concat(encodeURIComponent(params.id)),
|
|
9046
|
-
headers: params.headers,
|
|
9047
|
-
method: 'GET',
|
|
9048
|
-
});
|
|
9049
|
-
};
|
|
9050
|
-
SvitlanaItemsResource.prototype.postById = function (params) {
|
|
9051
|
-
return this.client.request({
|
|
9052
|
-
body: params.body,
|
|
9053
|
-
endpoint: "/svitlana/items/".concat(encodeURIComponent(params.id)),
|
|
9054
|
-
headers: params.headers,
|
|
9055
|
-
method: 'POST',
|
|
9056
|
-
});
|
|
9057
|
-
};
|
|
9058
|
-
SvitlanaItemsResource.prototype.putById = function (params) {
|
|
9059
|
-
return this.client.request({
|
|
9060
|
-
body: params.body,
|
|
9061
|
-
endpoint: "/svitlana/items/".concat(encodeURIComponent(params.id)),
|
|
9062
|
-
headers: params.headers,
|
|
9063
|
-
method: 'PUT',
|
|
9064
|
-
});
|
|
9065
|
-
};
|
|
9066
|
-
SvitlanaItemsResource.prototype.deleteById = function (params) {
|
|
9067
|
-
return this.client.request({
|
|
9068
|
-
endpoint: "/svitlana/items/".concat(encodeURIComponent(params.id)),
|
|
9069
|
-
headers: params.headers,
|
|
9070
|
-
method: 'DELETE',
|
|
9071
|
-
});
|
|
9072
|
-
};
|
|
9073
|
-
return SvitlanaItemsResource;
|
|
9074
|
-
}($Resource));
|
|
9075
|
-
export { SvitlanaItemsResource };
|
|
9076
|
-
var SvitlanaTestsResource = /** @class */ (function (_super) {
|
|
9077
|
-
__extends(SvitlanaTestsResource, _super);
|
|
9078
|
-
function SvitlanaTestsResource() {
|
|
9079
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
9080
|
-
}
|
|
9081
|
-
SvitlanaTestsResource.prototype.get = function (params) {
|
|
9082
|
-
return this.client.request({
|
|
9083
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/svitlana_test"),
|
|
9084
|
-
headers: params.headers,
|
|
9085
|
-
method: 'GET',
|
|
9086
|
-
query: {
|
|
9087
|
-
id: params.id,
|
|
9088
|
-
limit: params.limit,
|
|
9089
|
-
offset: params.offset,
|
|
9090
|
-
sort: params.sort,
|
|
9091
|
-
},
|
|
9092
|
-
});
|
|
9093
|
-
};
|
|
9094
|
-
SvitlanaTestsResource.prototype.getById = function (params) {
|
|
9095
|
-
return this.client.request({
|
|
9096
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/svitlana_test/").concat(encodeURIComponent(params.id)),
|
|
9097
|
-
headers: params.headers,
|
|
9098
|
-
method: 'GET',
|
|
9099
|
-
});
|
|
9100
|
-
};
|
|
9101
|
-
return SvitlanaTestsResource;
|
|
9102
|
-
}($Resource));
|
|
9103
|
-
export { SvitlanaTestsResource };
|
|
9104
|
-
var TamItemsResource = /** @class */ (function (_super) {
|
|
9105
|
-
__extends(TamItemsResource, _super);
|
|
9106
|
-
function TamItemsResource() {
|
|
9107
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
9108
|
-
}
|
|
9109
|
-
TamItemsResource.prototype.post = function (params) {
|
|
9110
|
-
return this.client.request({
|
|
9111
|
-
body: params.body,
|
|
9112
|
-
endpoint: '/tam/items',
|
|
9113
|
-
headers: params.headers,
|
|
9114
|
-
method: 'POST',
|
|
9115
|
-
});
|
|
9116
|
-
};
|
|
9117
|
-
TamItemsResource.prototype.getById = function (params) {
|
|
9118
|
-
return this.client.request({
|
|
9119
|
-
endpoint: "/tam/items/".concat(encodeURIComponent(params.id)),
|
|
9120
|
-
headers: params.headers,
|
|
9121
|
-
method: 'GET',
|
|
9122
|
-
});
|
|
9123
|
-
};
|
|
9124
|
-
TamItemsResource.prototype.putById = function (params) {
|
|
9125
|
-
return this.client.request({
|
|
9126
|
-
body: params.body,
|
|
9127
|
-
endpoint: "/tam/items/".concat(encodeURIComponent(params.id)),
|
|
9128
|
-
headers: params.headers,
|
|
9129
|
-
method: 'PUT',
|
|
9130
|
-
});
|
|
9131
|
-
};
|
|
9132
|
-
TamItemsResource.prototype.deleteById = function (params) {
|
|
9133
|
-
return this.client.request({
|
|
9134
|
-
endpoint: "/tam/items/".concat(encodeURIComponent(params.id)),
|
|
9135
|
-
headers: params.headers,
|
|
9136
|
-
method: 'DELETE',
|
|
9137
|
-
});
|
|
9138
|
-
};
|
|
9139
|
-
return TamItemsResource;
|
|
9140
|
-
}($Resource));
|
|
9141
|
-
export { TamItemsResource };
|
|
9142
8721
|
var TariffEligibilitiesResource = /** @class */ (function (_super) {
|
|
9143
8722
|
__extends(TariffEligibilitiesResource, _super);
|
|
9144
8723
|
function TariffEligibilitiesResource() {
|
|
@@ -9292,44 +8871,6 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
9292
8871
|
return TestsResource;
|
|
9293
8872
|
}($Resource));
|
|
9294
8873
|
export { TestsResource };
|
|
9295
|
-
var ThiagoItemsResource = /** @class */ (function (_super) {
|
|
9296
|
-
__extends(ThiagoItemsResource, _super);
|
|
9297
|
-
function ThiagoItemsResource() {
|
|
9298
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
9299
|
-
}
|
|
9300
|
-
ThiagoItemsResource.prototype.post = function (params) {
|
|
9301
|
-
return this.client.request({
|
|
9302
|
-
body: params.body,
|
|
9303
|
-
endpoint: '/thiago/items',
|
|
9304
|
-
headers: params.headers,
|
|
9305
|
-
method: 'POST',
|
|
9306
|
-
});
|
|
9307
|
-
};
|
|
9308
|
-
ThiagoItemsResource.prototype.getById = function (params) {
|
|
9309
|
-
return this.client.request({
|
|
9310
|
-
endpoint: "/thiago/items/".concat(encodeURIComponent(params.id)),
|
|
9311
|
-
headers: params.headers,
|
|
9312
|
-
method: 'GET',
|
|
9313
|
-
});
|
|
9314
|
-
};
|
|
9315
|
-
ThiagoItemsResource.prototype.putById = function (params) {
|
|
9316
|
-
return this.client.request({
|
|
9317
|
-
body: params.body,
|
|
9318
|
-
endpoint: "/thiago/items/".concat(encodeURIComponent(params.id)),
|
|
9319
|
-
headers: params.headers,
|
|
9320
|
-
method: 'PUT',
|
|
9321
|
-
});
|
|
9322
|
-
};
|
|
9323
|
-
ThiagoItemsResource.prototype.deleteById = function (params) {
|
|
9324
|
-
return this.client.request({
|
|
9325
|
-
endpoint: "/thiago/items/".concat(encodeURIComponent(params.id)),
|
|
9326
|
-
headers: params.headers,
|
|
9327
|
-
method: 'DELETE',
|
|
9328
|
-
});
|
|
9329
|
-
};
|
|
9330
|
-
return ThiagoItemsResource;
|
|
9331
|
-
}($Resource));
|
|
9332
|
-
export { ThiagoItemsResource };
|
|
9333
8874
|
var TrackingDebugLabelsResource = /** @class */ (function (_super) {
|
|
9334
8875
|
__extends(TrackingDebugLabelsResource, _super);
|
|
9335
8876
|
function TrackingDebugLabelsResource() {
|
|
@@ -9353,6 +8894,21 @@ var TrackingDebugLabelsResource = /** @class */ (function (_super) {
|
|
|
9353
8894
|
return TrackingDebugLabelsResource;
|
|
9354
8895
|
}($Resource));
|
|
9355
8896
|
export { TrackingDebugLabelsResource };
|
|
8897
|
+
var TrackingSubscriptionsResource = /** @class */ (function (_super) {
|
|
8898
|
+
__extends(TrackingSubscriptionsResource, _super);
|
|
8899
|
+
function TrackingSubscriptionsResource() {
|
|
8900
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8901
|
+
}
|
|
8902
|
+
TrackingSubscriptionsResource.prototype.getExternalReferenceSourceAndExternalReferenceKeyByExternalReferenceSourceAndExternalReferenceKey = function (params) {
|
|
8903
|
+
return this.client.request({
|
|
8904
|
+
endpoint: "/internal/tracking/subscription/external_reference_source/".concat(encodeURIComponent(params.external_reference_source), "/external_reference_key/").concat(encodeURIComponent(params.external_reference_key)),
|
|
8905
|
+
headers: params.headers,
|
|
8906
|
+
method: 'GET',
|
|
8907
|
+
});
|
|
8908
|
+
};
|
|
8909
|
+
return TrackingSubscriptionsResource;
|
|
8910
|
+
}($Resource));
|
|
8911
|
+
export { TrackingSubscriptionsResource };
|
|
9356
8912
|
var TransactionsResource = /** @class */ (function (_super) {
|
|
9357
8913
|
__extends(TransactionsResource, _super);
|
|
9358
8914
|
function TransactionsResource() {
|
|
@@ -9741,7 +9297,6 @@ export function createClient(options) {
|
|
|
9741
9297
|
discountCodes: new DiscountCodesResource(options),
|
|
9742
9298
|
disputes: new DisputesResource(options),
|
|
9743
9299
|
dutyInternalRates: new DutyInternalRatesResource(options),
|
|
9744
|
-
eldarItems: new EldarItemsResource(options),
|
|
9745
9300
|
erpFlowFiles: new ErpFlowFilesResource(options),
|
|
9746
9301
|
erpFlowVendors: new ErpFlowVendorsResource(options),
|
|
9747
9302
|
erpPriorityFiles: new ErpPriorityFilesResource(options),
|
|
@@ -9770,7 +9325,6 @@ export function createClient(options) {
|
|
|
9770
9325
|
giftCardPrograms: new GiftCardProgramsResource(options),
|
|
9771
9326
|
globalSearchResults: new GlobalSearchResultsResource(options),
|
|
9772
9327
|
googleShoppingSettings: new GoogleShoppingSettingsResource(options),
|
|
9773
|
-
harinathItems: new HarinathItemsResource(options),
|
|
9774
9328
|
harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
|
|
9775
9329
|
harmonizationThresholds: new HarmonizationThresholdsResource(options),
|
|
9776
9330
|
harmonizationUnclassifiedStatistics: new HarmonizationUnclassifiedStatisticsResource(options),
|
|
@@ -9780,7 +9334,6 @@ export function createClient(options) {
|
|
|
9780
9334
|
internalPaymentRequests: new InternalPaymentRequestsResource(options),
|
|
9781
9335
|
internalPaymentRequestVerifications: new InternalPaymentRequestVerificationsResource(options),
|
|
9782
9336
|
invariants: new InvariantsResource(options),
|
|
9783
|
-
inventoryOrganizationSettings: new InventoryOrganizationSettingsResource(options),
|
|
9784
9337
|
adyenDisputeEvents: new AdyenDisputeEventsResource(options),
|
|
9785
9338
|
notificationRequests: new NotificationRequestsResource(options),
|
|
9786
9339
|
invoiceWebhookResponses: new InvoiceWebhookResponsesResource(options),
|
|
@@ -9796,7 +9349,6 @@ export function createClient(options) {
|
|
|
9796
9349
|
webhookEvents: new WebhookEventsResource(options),
|
|
9797
9350
|
receiptNotifications: new ReceiptNotificationsResource(options),
|
|
9798
9351
|
shipmentNotifications: new ShipmentNotificationsResource(options),
|
|
9799
|
-
reservations: new ReservationsResource(options),
|
|
9800
9352
|
ultimateBeneficiaryOwners: new UltimateBeneficiaryOwnersResource(options),
|
|
9801
9353
|
orderManagementEvents: new OrderManagementEventsResource(options),
|
|
9802
9354
|
onboardingStates: new OnboardingStatesResource(options),
|
|
@@ -9827,7 +9379,6 @@ export function createClient(options) {
|
|
|
9827
9379
|
itemSalesMargins: new ItemSalesMarginsResource(options),
|
|
9828
9380
|
jeanDemoItems: new JeanDemoItemsResource(options),
|
|
9829
9381
|
keys: new KeysResource(options),
|
|
9830
|
-
konstantinItems: new KonstantinItemsResource(options),
|
|
9831
9382
|
labProjectSettings: new LabProjectSettingsResource(options),
|
|
9832
9383
|
labelCreationJobs: new LabelCreationJobsResource(options),
|
|
9833
9384
|
labelGenerationSettings: new LabelGenerationSettingsResource(options),
|
|
@@ -9857,12 +9408,9 @@ export function createClient(options) {
|
|
|
9857
9408
|
marketingGatewayLocalizedItems: new MarketingGatewayLocalizedItemsResource(options),
|
|
9858
9409
|
marketsOrders: new MarketsOrdersResource(options),
|
|
9859
9410
|
marketsOrderSummaries: new MarketsOrderSummariesResource(options),
|
|
9860
|
-
matiasItems: new MatiasItemsResource(options),
|
|
9861
9411
|
merchantApplicationSummaries: new MerchantApplicationSummariesResource(options),
|
|
9862
9412
|
merchantHubOverrides: new MerchantHubOverridesResource(options),
|
|
9863
9413
|
merchantOfRecordEntitySettings: new MerchantOfRecordEntitySettingsResource(options),
|
|
9864
|
-
michaelyanItems: new MichaelyanItemsResource(options),
|
|
9865
|
-
miljenkoItems: new MiljenkoItemsResource(options),
|
|
9866
9414
|
negativeDebitMetrics: new NegativeDebitMetricsResource(options),
|
|
9867
9415
|
onboardingAuditReports: new OnboardingAuditReportsResource(options),
|
|
9868
9416
|
onboardingAuditSnapshots: new OnboardingAuditSnapshotsResource(options),
|
|
@@ -9950,24 +9498,21 @@ export function createClient(options) {
|
|
|
9950
9498
|
shopifyOrderDetails: new ShopifyOrderDetailsResource(options),
|
|
9951
9499
|
shopifyOrderFulfillmentsSnapshots: new ShopifyOrderFulfillmentsSnapshotsResource(options),
|
|
9952
9500
|
shopifyOrganizationSettings: new ShopifyOrganizationSettingsResource(options),
|
|
9501
|
+
shopifyPartnerWebhooks: new ShopifyPartnerWebhooksResource(options),
|
|
9953
9502
|
shopifyPromotions: new ShopifyPromotionsResource(options),
|
|
9954
9503
|
shopifyStoreDetails: new ShopifyStoreDetailsResource(options),
|
|
9955
9504
|
shopifyWebhookEvents: new ShopifyWebhookEventsResource(options),
|
|
9956
|
-
shrutiDemoItems: new ShrutiDemoItemsResource(options),
|
|
9957
9505
|
smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
|
|
9958
9506
|
snoozes: new SnoozesResource(options),
|
|
9959
9507
|
spotRates: new SpotRatesResource(options),
|
|
9960
9508
|
storeConnections: new StoreConnectionsResource(options),
|
|
9961
|
-
svitlanaItems: new SvitlanaItemsResource(options),
|
|
9962
|
-
svitlanaTests: new SvitlanaTestsResource(options),
|
|
9963
|
-
tamItems: new TamItemsResource(options),
|
|
9964
9509
|
tariffEligibilities: new TariffEligibilitiesResource(options),
|
|
9965
9510
|
tasks: new TasksResource(options),
|
|
9966
9511
|
taxCalculationForms: new TaxCalculationFormsResource(options),
|
|
9967
9512
|
techOnboardingDescriptions: new TechOnboardingDescriptionsResource(options),
|
|
9968
9513
|
tests: new TestsResource(options),
|
|
9969
|
-
thiagoItems: new ThiagoItemsResource(options),
|
|
9970
9514
|
trackingDebugLabels: new TrackingDebugLabelsResource(options),
|
|
9515
|
+
trackingSubscriptions: new TrackingSubscriptionsResource(options),
|
|
9971
9516
|
transactions: new TransactionsResource(options),
|
|
9972
9517
|
transactionAdjustments: new TransactionAdjustmentsResource(options),
|
|
9973
9518
|
tribes: new TribesResource(options),
|