@flowio/api-internal-sdk 0.0.154 → 0.0.156
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 +45 -615
- package/dist/esm/api-internal.js +39 -608
- package/dist/types/api-internal.d.ts +25 -403
- package/package.json +2 -2
package/dist/esm/api-internal.js
CHANGED
|
@@ -429,9 +429,6 @@ var BrowserBundlesResource = /** @class */ (function (_super) {
|
|
|
429
429
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/bundles/browser"),
|
|
430
430
|
headers: params.headers,
|
|
431
431
|
method: 'GET',
|
|
432
|
-
query: {
|
|
433
|
-
context: params.context,
|
|
434
|
-
},
|
|
435
432
|
});
|
|
436
433
|
};
|
|
437
434
|
BrowserBundlesResource.prototype.post = function (params) {
|
|
@@ -440,9 +437,6 @@ var BrowserBundlesResource = /** @class */ (function (_super) {
|
|
|
440
437
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/bundles/browser"),
|
|
441
438
|
headers: params.headers,
|
|
442
439
|
method: 'POST',
|
|
443
|
-
query: {
|
|
444
|
-
context: params.context,
|
|
445
|
-
},
|
|
446
440
|
});
|
|
447
441
|
};
|
|
448
442
|
return BrowserBundlesResource;
|
|
@@ -860,6 +854,25 @@ var ChannelBillingStatementsResource = /** @class */ (function (_super) {
|
|
|
860
854
|
return ChannelBillingStatementsResource;
|
|
861
855
|
}($Resource));
|
|
862
856
|
export { ChannelBillingStatementsResource };
|
|
857
|
+
var ChannelCurrencyPairsInternalResource = /** @class */ (function (_super) {
|
|
858
|
+
__extends(ChannelCurrencyPairsInternalResource, _super);
|
|
859
|
+
function ChannelCurrencyPairsInternalResource() {
|
|
860
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
861
|
+
}
|
|
862
|
+
ChannelCurrencyPairsInternalResource.prototype.get = function (params) {
|
|
863
|
+
return this.client.request({
|
|
864
|
+
endpoint: "/internal/channel/".concat(encodeURIComponent(params.channel_id), "/currency/pair"),
|
|
865
|
+
headers: params.headers,
|
|
866
|
+
method: 'GET',
|
|
867
|
+
query: {
|
|
868
|
+
base: params.base,
|
|
869
|
+
target: params.target,
|
|
870
|
+
},
|
|
871
|
+
});
|
|
872
|
+
};
|
|
873
|
+
return ChannelCurrencyPairsInternalResource;
|
|
874
|
+
}($Resource));
|
|
875
|
+
export { ChannelCurrencyPairsInternalResource };
|
|
863
876
|
var ChannelCurrencySettingsResource = /** @class */ (function (_super) {
|
|
864
877
|
__extends(ChannelCurrencySettingsResource, _super);
|
|
865
878
|
function ChannelCurrencySettingsResource() {
|
|
@@ -1826,9 +1839,6 @@ var DeliveredDutyOptionsResource = /** @class */ (function (_super) {
|
|
|
1826
1839
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.key), "/preference/display/shipping/duty/options/v2"),
|
|
1827
1840
|
headers: params.headers,
|
|
1828
1841
|
method: 'GET',
|
|
1829
|
-
query: {
|
|
1830
|
-
context: params.context,
|
|
1831
|
-
},
|
|
1832
1842
|
});
|
|
1833
1843
|
};
|
|
1834
1844
|
return DeliveredDutyOptionsResource;
|
|
@@ -1869,9 +1879,6 @@ var DiscountCodesResource = /** @class */ (function (_super) {
|
|
|
1869
1879
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/discount/codes"),
|
|
1870
1880
|
headers: params.headers,
|
|
1871
1881
|
method: 'PUT',
|
|
1872
|
-
query: {
|
|
1873
|
-
context: params.context,
|
|
1874
|
-
},
|
|
1875
1882
|
});
|
|
1876
1883
|
};
|
|
1877
1884
|
/*Removes the discount code from the order*/
|
|
@@ -1880,9 +1887,6 @@ var DiscountCodesResource = /** @class */ (function (_super) {
|
|
|
1880
1887
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/discount/codes/").concat(encodeURIComponent(params.code)),
|
|
1881
1888
|
headers: params.headers,
|
|
1882
1889
|
method: 'DELETE',
|
|
1883
|
-
query: {
|
|
1884
|
-
context: params.context,
|
|
1885
|
-
},
|
|
1886
1890
|
});
|
|
1887
1891
|
};
|
|
1888
1892
|
return DiscountCodesResource;
|
|
@@ -1907,9 +1911,12 @@ var DisputesResource = /** @class */ (function (_super) {
|
|
|
1907
1911
|
id: params.id,
|
|
1908
1912
|
issued_after: params.issued_after,
|
|
1909
1913
|
issued_before: params.issued_before,
|
|
1914
|
+
key: params.key,
|
|
1910
1915
|
limit: params.limit,
|
|
1911
1916
|
offset: params.offset,
|
|
1917
|
+
payment_methods: params.payment_methods,
|
|
1912
1918
|
processors: params.processors,
|
|
1919
|
+
reporting_categories: params.reporting_categories,
|
|
1913
1920
|
sort: params.sort,
|
|
1914
1921
|
statuses: params.statuses,
|
|
1915
1922
|
},
|
|
@@ -1955,44 +1962,6 @@ var DutyInternalRatesResource = /** @class */ (function (_super) {
|
|
|
1955
1962
|
return DutyInternalRatesResource;
|
|
1956
1963
|
}($Resource));
|
|
1957
1964
|
export { DutyInternalRatesResource };
|
|
1958
|
-
var EldarItemsResource = /** @class */ (function (_super) {
|
|
1959
|
-
__extends(EldarItemsResource, _super);
|
|
1960
|
-
function EldarItemsResource() {
|
|
1961
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1962
|
-
}
|
|
1963
|
-
EldarItemsResource.prototype.post = function (params) {
|
|
1964
|
-
return this.client.request({
|
|
1965
|
-
body: params.body,
|
|
1966
|
-
endpoint: '/eldar/items',
|
|
1967
|
-
headers: params.headers,
|
|
1968
|
-
method: 'POST',
|
|
1969
|
-
});
|
|
1970
|
-
};
|
|
1971
|
-
EldarItemsResource.prototype.getById = function (params) {
|
|
1972
|
-
return this.client.request({
|
|
1973
|
-
endpoint: "/eldar/items/".concat(encodeURIComponent(params.id)),
|
|
1974
|
-
headers: params.headers,
|
|
1975
|
-
method: 'GET',
|
|
1976
|
-
});
|
|
1977
|
-
};
|
|
1978
|
-
EldarItemsResource.prototype.putById = function (params) {
|
|
1979
|
-
return this.client.request({
|
|
1980
|
-
body: params.body,
|
|
1981
|
-
endpoint: "/eldar/items/".concat(encodeURIComponent(params.id)),
|
|
1982
|
-
headers: params.headers,
|
|
1983
|
-
method: 'PUT',
|
|
1984
|
-
});
|
|
1985
|
-
};
|
|
1986
|
-
EldarItemsResource.prototype.deleteById = function (params) {
|
|
1987
|
-
return this.client.request({
|
|
1988
|
-
endpoint: "/eldar/items/".concat(encodeURIComponent(params.id)),
|
|
1989
|
-
headers: params.headers,
|
|
1990
|
-
method: 'DELETE',
|
|
1991
|
-
});
|
|
1992
|
-
};
|
|
1993
|
-
return EldarItemsResource;
|
|
1994
|
-
}($Resource));
|
|
1995
|
-
export { EldarItemsResource };
|
|
1996
1965
|
var ErpFlowFilesResource = /** @class */ (function (_super) {
|
|
1997
1966
|
__extends(ErpFlowFilesResource, _super);
|
|
1998
1967
|
function ErpFlowFilesResource() {
|
|
@@ -2968,9 +2937,6 @@ var GiftCardProgramsResource = /** @class */ (function (_super) {
|
|
|
2968
2937
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards"),
|
|
2969
2938
|
headers: params.headers,
|
|
2970
2939
|
method: 'POST',
|
|
2971
|
-
query: {
|
|
2972
|
-
context: params.context,
|
|
2973
|
-
},
|
|
2974
2940
|
});
|
|
2975
2941
|
};
|
|
2976
2942
|
GiftCardProgramsResource.prototype.deleteById = function (params) {
|
|
@@ -2978,9 +2944,6 @@ var GiftCardProgramsResource = /** @class */ (function (_super) {
|
|
|
2978
2944
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards/").concat(encodeURIComponent(params.id)),
|
|
2979
2945
|
headers: params.headers,
|
|
2980
2946
|
method: 'DELETE',
|
|
2981
|
-
query: {
|
|
2982
|
-
context: params.context,
|
|
2983
|
-
},
|
|
2984
2947
|
});
|
|
2985
2948
|
};
|
|
2986
2949
|
return GiftCardProgramsResource;
|
|
@@ -3027,44 +2990,6 @@ var GoogleShoppingSettingsResource = /** @class */ (function (_super) {
|
|
|
3027
2990
|
return GoogleShoppingSettingsResource;
|
|
3028
2991
|
}($Resource));
|
|
3029
2992
|
export { GoogleShoppingSettingsResource };
|
|
3030
|
-
var HarinathItemsResource = /** @class */ (function (_super) {
|
|
3031
|
-
__extends(HarinathItemsResource, _super);
|
|
3032
|
-
function HarinathItemsResource() {
|
|
3033
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
3034
|
-
}
|
|
3035
|
-
HarinathItemsResource.prototype.post = function (params) {
|
|
3036
|
-
return this.client.request({
|
|
3037
|
-
body: params.body,
|
|
3038
|
-
endpoint: '/harinath/items',
|
|
3039
|
-
headers: params.headers,
|
|
3040
|
-
method: 'POST',
|
|
3041
|
-
});
|
|
3042
|
-
};
|
|
3043
|
-
HarinathItemsResource.prototype.getById = function (params) {
|
|
3044
|
-
return this.client.request({
|
|
3045
|
-
endpoint: "/harinath/items/".concat(encodeURIComponent(params.id)),
|
|
3046
|
-
headers: params.headers,
|
|
3047
|
-
method: 'GET',
|
|
3048
|
-
});
|
|
3049
|
-
};
|
|
3050
|
-
HarinathItemsResource.prototype.putById = function (params) {
|
|
3051
|
-
return this.client.request({
|
|
3052
|
-
body: params.body,
|
|
3053
|
-
endpoint: "/harinath/items/".concat(encodeURIComponent(params.id)),
|
|
3054
|
-
headers: params.headers,
|
|
3055
|
-
method: 'PUT',
|
|
3056
|
-
});
|
|
3057
|
-
};
|
|
3058
|
-
HarinathItemsResource.prototype.deleteById = function (params) {
|
|
3059
|
-
return this.client.request({
|
|
3060
|
-
endpoint: "/harinath/items/".concat(encodeURIComponent(params.id)),
|
|
3061
|
-
headers: params.headers,
|
|
3062
|
-
method: 'DELETE',
|
|
3063
|
-
});
|
|
3064
|
-
};
|
|
3065
|
-
return HarinathItemsResource;
|
|
3066
|
-
}($Resource));
|
|
3067
|
-
export { HarinathItemsResource };
|
|
3068
2993
|
var HarmonizationItemClassificationsResource = /** @class */ (function (_super) {
|
|
3069
2994
|
__extends(HarmonizationItemClassificationsResource, _super);
|
|
3070
2995
|
function HarmonizationItemClassificationsResource() {
|
|
@@ -3574,7 +3499,6 @@ var ExperiencesResource = /** @class */ (function (_super) {
|
|
|
3574
3499
|
headers: params.headers,
|
|
3575
3500
|
method: 'POST',
|
|
3576
3501
|
query: {
|
|
3577
|
-
context: params.context,
|
|
3578
3502
|
country: params.country,
|
|
3579
3503
|
currency: params.currency,
|
|
3580
3504
|
experience: params.experience,
|
|
@@ -3597,7 +3521,6 @@ var ExperiencesResource = /** @class */ (function (_super) {
|
|
|
3597
3521
|
headers: params.headers,
|
|
3598
3522
|
method: 'POST',
|
|
3599
3523
|
query: {
|
|
3600
|
-
context: params.context,
|
|
3601
3524
|
country: params.country,
|
|
3602
3525
|
currency: params.currency,
|
|
3603
3526
|
experience: params.experience,
|
|
@@ -3619,7 +3542,6 @@ var ExperiencesResource = /** @class */ (function (_super) {
|
|
|
3619
3542
|
headers: params.headers,
|
|
3620
3543
|
method: 'GET',
|
|
3621
3544
|
query: {
|
|
3622
|
-
context: params.context,
|
|
3623
3545
|
country: params.country,
|
|
3624
3546
|
currency: params.currency,
|
|
3625
3547
|
q: params.q,
|
|
@@ -3640,7 +3562,6 @@ var OrdersResource = /** @class */ (function (_super) {
|
|
|
3640
3562
|
headers: params.headers,
|
|
3641
3563
|
method: 'GET',
|
|
3642
3564
|
query: {
|
|
3643
|
-
context: params.context,
|
|
3644
3565
|
expand: params.expand,
|
|
3645
3566
|
},
|
|
3646
3567
|
});
|
|
@@ -3651,9 +3572,6 @@ var OrdersResource = /** @class */ (function (_super) {
|
|
|
3651
3572
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift/card/redemptions"),
|
|
3652
3573
|
headers: params.headers,
|
|
3653
3574
|
method: 'POST',
|
|
3654
|
-
query: {
|
|
3655
|
-
context: params.context,
|
|
3656
|
-
},
|
|
3657
3575
|
});
|
|
3658
3576
|
};
|
|
3659
3577
|
/*Adds a gift card to the order*/
|
|
@@ -3663,9 +3581,6 @@ var OrdersResource = /** @class */ (function (_super) {
|
|
|
3663
3581
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift/cards"),
|
|
3664
3582
|
headers: params.headers,
|
|
3665
3583
|
method: 'POST',
|
|
3666
|
-
query: {
|
|
3667
|
-
context: params.context,
|
|
3668
|
-
},
|
|
3669
3584
|
});
|
|
3670
3585
|
};
|
|
3671
3586
|
/*Removes a gift card from the order*/
|
|
@@ -3674,9 +3589,6 @@ var OrdersResource = /** @class */ (function (_super) {
|
|
|
3674
3589
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift/cards/").concat(encodeURIComponent(params.id)),
|
|
3675
3590
|
headers: params.headers,
|
|
3676
3591
|
method: 'DELETE',
|
|
3677
|
-
query: {
|
|
3678
|
-
context: params.context,
|
|
3679
|
-
},
|
|
3680
3592
|
});
|
|
3681
3593
|
};
|
|
3682
3594
|
/*Authorizes any credit payments associated with this order. Call prior to authorizing any credit payments to ensure the correct order balance is used. Any credit payments that fail will be removed.*/
|
|
@@ -3685,9 +3597,6 @@ var OrdersResource = /** @class */ (function (_super) {
|
|
|
3685
3597
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards/authorize"),
|
|
3686
3598
|
headers: params.headers,
|
|
3687
3599
|
method: 'POST',
|
|
3688
|
-
query: {
|
|
3689
|
-
context: params.context,
|
|
3690
|
-
},
|
|
3691
3600
|
});
|
|
3692
3601
|
};
|
|
3693
3602
|
/*Updates the email address associated with this order. Fixes typos automatically (e.g. gmail.con => gmail.com) or if not possible assigns a proxy email address to the order*/
|
|
@@ -3697,9 +3606,6 @@ var OrdersResource = /** @class */ (function (_super) {
|
|
|
3697
3606
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/modifications/email"),
|
|
3698
3607
|
headers: params.headers,
|
|
3699
3608
|
method: 'PUT',
|
|
3700
|
-
query: {
|
|
3701
|
-
context: params.context,
|
|
3702
|
-
},
|
|
3703
3609
|
});
|
|
3704
3610
|
};
|
|
3705
3611
|
/*Checks to see where an order can be submitted. Will not actually mark the order as submitted. Already submitted orders are given a free pass. This operation may perform some mutation if mutation is the only way to perform the check idempotently (e.g. checks to see if gift cards can be charged may actually charge the card).*/
|
|
@@ -3708,9 +3614,6 @@ var OrdersResource = /** @class */ (function (_super) {
|
|
|
3708
3614
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/submissions/check"),
|
|
3709
3615
|
headers: params.headers,
|
|
3710
3616
|
method: 'PUT',
|
|
3711
|
-
query: {
|
|
3712
|
-
context: params.context,
|
|
3713
|
-
},
|
|
3714
3617
|
});
|
|
3715
3618
|
};
|
|
3716
3619
|
return OrdersResource;
|
|
@@ -4050,36 +3953,6 @@ var CountriesResource = /** @class */ (function (_super) {
|
|
|
4050
3953
|
return CountriesResource;
|
|
4051
3954
|
}($Resource));
|
|
4052
3955
|
export { CountriesResource };
|
|
4053
|
-
var ContextsResource = /** @class */ (function (_super) {
|
|
4054
|
-
__extends(ContextsResource, _super);
|
|
4055
|
-
function ContextsResource() {
|
|
4056
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4057
|
-
}
|
|
4058
|
-
ContextsResource.prototype.post = function (params) {
|
|
4059
|
-
return this.client.request({
|
|
4060
|
-
body: params.body,
|
|
4061
|
-
endpoint: '/contexts',
|
|
4062
|
-
headers: params.headers,
|
|
4063
|
-
method: 'POST',
|
|
4064
|
-
});
|
|
4065
|
-
};
|
|
4066
|
-
ContextsResource.prototype.getById = function (params) {
|
|
4067
|
-
return this.client.request({
|
|
4068
|
-
endpoint: "/contexts/".concat(encodeURIComponent(params.id)),
|
|
4069
|
-
headers: params.headers,
|
|
4070
|
-
method: 'GET',
|
|
4071
|
-
});
|
|
4072
|
-
};
|
|
4073
|
-
ContextsResource.prototype.deleteById = function (params) {
|
|
4074
|
-
return this.client.request({
|
|
4075
|
-
endpoint: "/contexts/".concat(encodeURIComponent(params.id)),
|
|
4076
|
-
headers: params.headers,
|
|
4077
|
-
method: 'DELETE',
|
|
4078
|
-
});
|
|
4079
|
-
};
|
|
4080
|
-
return ContextsResource;
|
|
4081
|
-
}($Resource));
|
|
4082
|
-
export { ContextsResource };
|
|
4083
3956
|
var OrganizationSessionsResource = /** @class */ (function (_super) {
|
|
4084
3957
|
__extends(OrganizationSessionsResource, _super);
|
|
4085
3958
|
function OrganizationSessionsResource() {
|
|
@@ -4091,9 +3964,6 @@ var OrganizationSessionsResource = /** @class */ (function (_super) {
|
|
|
4091
3964
|
endpoint: "/sfcc/sessions/organizations/".concat(encodeURIComponent(params.organization)),
|
|
4092
3965
|
headers: params.headers,
|
|
4093
3966
|
method: 'POST',
|
|
4094
|
-
query: {
|
|
4095
|
-
context: params.context,
|
|
4096
|
-
},
|
|
4097
3967
|
});
|
|
4098
3968
|
};
|
|
4099
3969
|
OrganizationSessionsResource.prototype.getBySession = function (params) {
|
|
@@ -4109,9 +3979,6 @@ var OrganizationSessionsResource = /** @class */ (function (_super) {
|
|
|
4109
3979
|
endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session)),
|
|
4110
3980
|
headers: params.headers,
|
|
4111
3981
|
method: 'PUT',
|
|
4112
|
-
query: {
|
|
4113
|
-
context: params.context,
|
|
4114
|
-
},
|
|
4115
3982
|
});
|
|
4116
3983
|
};
|
|
4117
3984
|
OrganizationSessionsResource.prototype.deleteBySession = function (params) {
|
|
@@ -4127,9 +3994,6 @@ var OrganizationSessionsResource = /** @class */ (function (_super) {
|
|
|
4127
3994
|
endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session), "/organizations/").concat(encodeURIComponent(params.organization)),
|
|
4128
3995
|
headers: params.headers,
|
|
4129
3996
|
method: 'PUT',
|
|
4130
|
-
query: {
|
|
4131
|
-
context: params.context,
|
|
4132
|
-
},
|
|
4133
3997
|
});
|
|
4134
3998
|
};
|
|
4135
3999
|
/*Resets the session based on the provided geo parameters.*/
|
|
@@ -4139,9 +4003,6 @@ var OrganizationSessionsResource = /** @class */ (function (_super) {
|
|
|
4139
4003
|
endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session), "/reset"),
|
|
4140
4004
|
headers: params.headers,
|
|
4141
4005
|
method: 'PUT',
|
|
4142
|
-
query: {
|
|
4143
|
-
context: params.context,
|
|
4144
|
-
},
|
|
4145
4006
|
});
|
|
4146
4007
|
};
|
|
4147
4008
|
return OrganizationSessionsResource;
|
|
@@ -4197,7 +4058,6 @@ var ShopifyCartsResource = /** @class */ (function (_super) {
|
|
|
4197
4058
|
headers: params.headers,
|
|
4198
4059
|
method: 'PUT',
|
|
4199
4060
|
query: {
|
|
4200
|
-
context: params.context,
|
|
4201
4061
|
expand: params.expand,
|
|
4202
4062
|
},
|
|
4203
4063
|
});
|
|
@@ -4209,7 +4069,6 @@ var ShopifyCartsResource = /** @class */ (function (_super) {
|
|
|
4209
4069
|
headers: params.headers,
|
|
4210
4070
|
method: 'DELETE',
|
|
4211
4071
|
query: {
|
|
4212
|
-
context: params.context,
|
|
4213
4072
|
expand: params.expand,
|
|
4214
4073
|
},
|
|
4215
4074
|
});
|
|
@@ -4221,9 +4080,6 @@ var ShopifyCartsResource = /** @class */ (function (_super) {
|
|
|
4221
4080
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/carts/flow/order"),
|
|
4222
4081
|
headers: params.headers,
|
|
4223
4082
|
method: 'POST',
|
|
4224
|
-
query: {
|
|
4225
|
-
context: params.context,
|
|
4226
|
-
},
|
|
4227
4083
|
});
|
|
4228
4084
|
};
|
|
4229
4085
|
return ShopifyCartsResource;
|
|
@@ -4241,9 +4097,6 @@ var ShopifyCartConversionsResource = /** @class */ (function (_super) {
|
|
|
4241
4097
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/shopify/cart/checkouts"),
|
|
4242
4098
|
headers: params.headers,
|
|
4243
4099
|
method: 'POST',
|
|
4244
|
-
query: {
|
|
4245
|
-
context: params.context,
|
|
4246
|
-
},
|
|
4247
4100
|
});
|
|
4248
4101
|
};
|
|
4249
4102
|
return ShopifyCartConversionsResource;
|
|
@@ -4260,7 +4113,6 @@ var ShopifyLocalizedVariantsResource = /** @class */ (function (_super) {
|
|
|
4260
4113
|
headers: params.headers,
|
|
4261
4114
|
method: 'GET',
|
|
4262
4115
|
query: {
|
|
4263
|
-
context: params.context,
|
|
4264
4116
|
country: params.country,
|
|
4265
4117
|
currency: params.currency,
|
|
4266
4118
|
handle: params.handle,
|
|
@@ -4597,44 +4449,6 @@ var KeysResource = /** @class */ (function (_super) {
|
|
|
4597
4449
|
return KeysResource;
|
|
4598
4450
|
}($Resource));
|
|
4599
4451
|
export { KeysResource };
|
|
4600
|
-
var KonstantinItemsResource = /** @class */ (function (_super) {
|
|
4601
|
-
__extends(KonstantinItemsResource, _super);
|
|
4602
|
-
function KonstantinItemsResource() {
|
|
4603
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4604
|
-
}
|
|
4605
|
-
KonstantinItemsResource.prototype.post = function (params) {
|
|
4606
|
-
return this.client.request({
|
|
4607
|
-
body: params.body,
|
|
4608
|
-
endpoint: '/konstantin/items',
|
|
4609
|
-
headers: params.headers,
|
|
4610
|
-
method: 'POST',
|
|
4611
|
-
});
|
|
4612
|
-
};
|
|
4613
|
-
KonstantinItemsResource.prototype.getById = function (params) {
|
|
4614
|
-
return this.client.request({
|
|
4615
|
-
endpoint: "/konstantin/items/".concat(encodeURIComponent(params.id)),
|
|
4616
|
-
headers: params.headers,
|
|
4617
|
-
method: 'GET',
|
|
4618
|
-
});
|
|
4619
|
-
};
|
|
4620
|
-
KonstantinItemsResource.prototype.putById = function (params) {
|
|
4621
|
-
return this.client.request({
|
|
4622
|
-
body: params.body,
|
|
4623
|
-
endpoint: "/konstantin/items/".concat(encodeURIComponent(params.id)),
|
|
4624
|
-
headers: params.headers,
|
|
4625
|
-
method: 'PUT',
|
|
4626
|
-
});
|
|
4627
|
-
};
|
|
4628
|
-
KonstantinItemsResource.prototype.deleteById = function (params) {
|
|
4629
|
-
return this.client.request({
|
|
4630
|
-
endpoint: "/konstantin/items/".concat(encodeURIComponent(params.id)),
|
|
4631
|
-
headers: params.headers,
|
|
4632
|
-
method: 'DELETE',
|
|
4633
|
-
});
|
|
4634
|
-
};
|
|
4635
|
-
return KonstantinItemsResource;
|
|
4636
|
-
}($Resource));
|
|
4637
|
-
export { KonstantinItemsResource };
|
|
4638
4452
|
var LabProjectSettingsResource = /** @class */ (function (_super) {
|
|
4639
4453
|
__extends(LabProjectSettingsResource, _super);
|
|
4640
4454
|
function LabProjectSettingsResource() {
|
|
@@ -5055,9 +4869,6 @@ var LoyaltyProgramsResource = /** @class */ (function (_super) {
|
|
|
5055
4869
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/loyalty/").concat(encodeURIComponent(params.number)),
|
|
5056
4870
|
headers: params.headers,
|
|
5057
4871
|
method: 'POST',
|
|
5058
|
-
query: {
|
|
5059
|
-
context: params.context,
|
|
5060
|
-
},
|
|
5061
4872
|
});
|
|
5062
4873
|
};
|
|
5063
4874
|
LoyaltyProgramsResource.prototype.deleteById = function (params) {
|
|
@@ -5065,9 +4876,6 @@ var LoyaltyProgramsResource = /** @class */ (function (_super) {
|
|
|
5065
4876
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/loyalty/").concat(encodeURIComponent(params.number), "/").concat(encodeURIComponent(params.id)),
|
|
5066
4877
|
headers: params.headers,
|
|
5067
4878
|
method: 'DELETE',
|
|
5068
|
-
query: {
|
|
5069
|
-
context: params.context,
|
|
5070
|
-
},
|
|
5071
4879
|
});
|
|
5072
4880
|
};
|
|
5073
4881
|
return LoyaltyProgramsResource;
|
|
@@ -5499,62 +5307,6 @@ var MarketsOrderSummariesResource = /** @class */ (function (_super) {
|
|
|
5499
5307
|
return MarketsOrderSummariesResource;
|
|
5500
5308
|
}($Resource));
|
|
5501
5309
|
export { MarketsOrderSummariesResource };
|
|
5502
|
-
var MatiasItemsResource = /** @class */ (function (_super) {
|
|
5503
|
-
__extends(MatiasItemsResource, _super);
|
|
5504
|
-
function MatiasItemsResource() {
|
|
5505
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5506
|
-
}
|
|
5507
|
-
/*Get all the items*/
|
|
5508
|
-
MatiasItemsResource.prototype.get = function (params) {
|
|
5509
|
-
return this.client.request({
|
|
5510
|
-
endpoint: '/matias/items',
|
|
5511
|
-
headers: params.headers,
|
|
5512
|
-
method: 'GET',
|
|
5513
|
-
query: {
|
|
5514
|
-
id: params.id,
|
|
5515
|
-
limit: params.limit,
|
|
5516
|
-
offset: params.offset,
|
|
5517
|
-
sort: params.sort,
|
|
5518
|
-
},
|
|
5519
|
-
});
|
|
5520
|
-
};
|
|
5521
|
-
/*uses to create a matias item, very nice, isn't it?*/
|
|
5522
|
-
MatiasItemsResource.prototype.post = function (params) {
|
|
5523
|
-
return this.client.request({
|
|
5524
|
-
body: params.body,
|
|
5525
|
-
endpoint: '/matias/items',
|
|
5526
|
-
headers: params.headers,
|
|
5527
|
-
method: 'POST',
|
|
5528
|
-
});
|
|
5529
|
-
};
|
|
5530
|
-
/*Get a great matias item by id*/
|
|
5531
|
-
MatiasItemsResource.prototype.getById = function (params) {
|
|
5532
|
-
return this.client.request({
|
|
5533
|
-
endpoint: "/matias/items/".concat(encodeURIComponent(params.id)),
|
|
5534
|
-
headers: params.headers,
|
|
5535
|
-
method: 'GET',
|
|
5536
|
-
});
|
|
5537
|
-
};
|
|
5538
|
-
/*uses to change data on a matias item when it looks old*/
|
|
5539
|
-
MatiasItemsResource.prototype.putById = function (params) {
|
|
5540
|
-
return this.client.request({
|
|
5541
|
-
body: params.body,
|
|
5542
|
-
endpoint: "/matias/items/".concat(encodeURIComponent(params.id)),
|
|
5543
|
-
headers: params.headers,
|
|
5544
|
-
method: 'PUT',
|
|
5545
|
-
});
|
|
5546
|
-
};
|
|
5547
|
-
/*uses to delete the specific item*/
|
|
5548
|
-
MatiasItemsResource.prototype.deleteById = function (params) {
|
|
5549
|
-
return this.client.request({
|
|
5550
|
-
endpoint: "/matias/items/".concat(encodeURIComponent(params.id)),
|
|
5551
|
-
headers: params.headers,
|
|
5552
|
-
method: 'DELETE',
|
|
5553
|
-
});
|
|
5554
|
-
};
|
|
5555
|
-
return MatiasItemsResource;
|
|
5556
|
-
}($Resource));
|
|
5557
|
-
export { MatiasItemsResource };
|
|
5558
5310
|
var MerchantApplicationSummariesResource = /** @class */ (function (_super) {
|
|
5559
5311
|
__extends(MerchantApplicationSummariesResource, _super);
|
|
5560
5312
|
function MerchantApplicationSummariesResource() {
|
|
@@ -5702,82 +5454,6 @@ var MerchantOfRecordEntitySettingsResource = /** @class */ (function (_super) {
|
|
|
5702
5454
|
return MerchantOfRecordEntitySettingsResource;
|
|
5703
5455
|
}($Resource));
|
|
5704
5456
|
export { MerchantOfRecordEntitySettingsResource };
|
|
5705
|
-
var MichaelyanItemsResource = /** @class */ (function (_super) {
|
|
5706
|
-
__extends(MichaelyanItemsResource, _super);
|
|
5707
|
-
function MichaelyanItemsResource() {
|
|
5708
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5709
|
-
}
|
|
5710
|
-
MichaelyanItemsResource.prototype.post = function (params) {
|
|
5711
|
-
return this.client.request({
|
|
5712
|
-
body: params.body,
|
|
5713
|
-
endpoint: '/michaelyan/items',
|
|
5714
|
-
headers: params.headers,
|
|
5715
|
-
method: 'POST',
|
|
5716
|
-
});
|
|
5717
|
-
};
|
|
5718
|
-
MichaelyanItemsResource.prototype.getById = function (params) {
|
|
5719
|
-
return this.client.request({
|
|
5720
|
-
endpoint: "/michaelyan/items/".concat(encodeURIComponent(params.id)),
|
|
5721
|
-
headers: params.headers,
|
|
5722
|
-
method: 'GET',
|
|
5723
|
-
});
|
|
5724
|
-
};
|
|
5725
|
-
MichaelyanItemsResource.prototype.putById = function (params) {
|
|
5726
|
-
return this.client.request({
|
|
5727
|
-
body: params.body,
|
|
5728
|
-
endpoint: "/michaelyan/items/".concat(encodeURIComponent(params.id)),
|
|
5729
|
-
headers: params.headers,
|
|
5730
|
-
method: 'PUT',
|
|
5731
|
-
});
|
|
5732
|
-
};
|
|
5733
|
-
MichaelyanItemsResource.prototype.deleteById = function (params) {
|
|
5734
|
-
return this.client.request({
|
|
5735
|
-
endpoint: "/michaelyan/items/".concat(encodeURIComponent(params.id)),
|
|
5736
|
-
headers: params.headers,
|
|
5737
|
-
method: 'DELETE',
|
|
5738
|
-
});
|
|
5739
|
-
};
|
|
5740
|
-
return MichaelyanItemsResource;
|
|
5741
|
-
}($Resource));
|
|
5742
|
-
export { MichaelyanItemsResource };
|
|
5743
|
-
var MiljenkoItemsResource = /** @class */ (function (_super) {
|
|
5744
|
-
__extends(MiljenkoItemsResource, _super);
|
|
5745
|
-
function MiljenkoItemsResource() {
|
|
5746
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5747
|
-
}
|
|
5748
|
-
MiljenkoItemsResource.prototype.post = function (params) {
|
|
5749
|
-
return this.client.request({
|
|
5750
|
-
body: params.body,
|
|
5751
|
-
endpoint: '/miljenko/items',
|
|
5752
|
-
headers: params.headers,
|
|
5753
|
-
method: 'POST',
|
|
5754
|
-
});
|
|
5755
|
-
};
|
|
5756
|
-
MiljenkoItemsResource.prototype.getById = function (params) {
|
|
5757
|
-
return this.client.request({
|
|
5758
|
-
endpoint: "/miljenko/items/".concat(encodeURIComponent(params.id)),
|
|
5759
|
-
headers: params.headers,
|
|
5760
|
-
method: 'GET',
|
|
5761
|
-
});
|
|
5762
|
-
};
|
|
5763
|
-
MiljenkoItemsResource.prototype.putById = function (params) {
|
|
5764
|
-
return this.client.request({
|
|
5765
|
-
body: params.body,
|
|
5766
|
-
endpoint: "/miljenko/items/".concat(encodeURIComponent(params.id)),
|
|
5767
|
-
headers: params.headers,
|
|
5768
|
-
method: 'PUT',
|
|
5769
|
-
});
|
|
5770
|
-
};
|
|
5771
|
-
MiljenkoItemsResource.prototype.deleteById = function (params) {
|
|
5772
|
-
return this.client.request({
|
|
5773
|
-
endpoint: "/miljenko/items/".concat(encodeURIComponent(params.id)),
|
|
5774
|
-
headers: params.headers,
|
|
5775
|
-
method: 'DELETE',
|
|
5776
|
-
});
|
|
5777
|
-
};
|
|
5778
|
-
return MiljenkoItemsResource;
|
|
5779
|
-
}($Resource));
|
|
5780
|
-
export { MiljenkoItemsResource };
|
|
5781
5457
|
var NegativeDebitMetricsResource = /** @class */ (function (_super) {
|
|
5782
5458
|
__extends(NegativeDebitMetricsResource, _super);
|
|
5783
5459
|
function NegativeDebitMetricsResource() {
|
|
@@ -8073,44 +7749,6 @@ var SandboxSetupsResource = /** @class */ (function (_super) {
|
|
|
8073
7749
|
return SandboxSetupsResource;
|
|
8074
7750
|
}($Resource));
|
|
8075
7751
|
export { SandboxSetupsResource };
|
|
8076
|
-
var SanjayItemsResource = /** @class */ (function (_super) {
|
|
8077
|
-
__extends(SanjayItemsResource, _super);
|
|
8078
|
-
function SanjayItemsResource() {
|
|
8079
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
8080
|
-
}
|
|
8081
|
-
SanjayItemsResource.prototype.post = function (params) {
|
|
8082
|
-
return this.client.request({
|
|
8083
|
-
body: params.body,
|
|
8084
|
-
endpoint: '/sanjay/items',
|
|
8085
|
-
headers: params.headers,
|
|
8086
|
-
method: 'POST',
|
|
8087
|
-
});
|
|
8088
|
-
};
|
|
8089
|
-
SanjayItemsResource.prototype.getById = function (params) {
|
|
8090
|
-
return this.client.request({
|
|
8091
|
-
endpoint: "/sanjay/items/".concat(encodeURIComponent(params.id)),
|
|
8092
|
-
headers: params.headers,
|
|
8093
|
-
method: 'GET',
|
|
8094
|
-
});
|
|
8095
|
-
};
|
|
8096
|
-
SanjayItemsResource.prototype.putById = function (params) {
|
|
8097
|
-
return this.client.request({
|
|
8098
|
-
body: params.body,
|
|
8099
|
-
endpoint: "/sanjay/items/".concat(encodeURIComponent(params.id)),
|
|
8100
|
-
headers: params.headers,
|
|
8101
|
-
method: 'PUT',
|
|
8102
|
-
});
|
|
8103
|
-
};
|
|
8104
|
-
SanjayItemsResource.prototype.deleteById = function (params) {
|
|
8105
|
-
return this.client.request({
|
|
8106
|
-
endpoint: "/sanjay/items/".concat(encodeURIComponent(params.id)),
|
|
8107
|
-
headers: params.headers,
|
|
8108
|
-
method: 'DELETE',
|
|
8109
|
-
});
|
|
8110
|
-
};
|
|
8111
|
-
return SanjayItemsResource;
|
|
8112
|
-
}($Resource));
|
|
8113
|
-
export { SanjayItemsResource };
|
|
8114
7752
|
var ScreensResource = /** @class */ (function (_super) {
|
|
8115
7753
|
__extends(ScreensResource, _super);
|
|
8116
7754
|
function ScreensResource() {
|
|
@@ -8577,9 +8215,6 @@ var ShopifyOrderDetailsResource = /** @class */ (function (_super) {
|
|
|
8577
8215
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/checks/inventory"),
|
|
8578
8216
|
headers: params.headers,
|
|
8579
8217
|
method: 'POST',
|
|
8580
|
-
query: {
|
|
8581
|
-
context: params.context,
|
|
8582
|
-
},
|
|
8583
8218
|
});
|
|
8584
8219
|
};
|
|
8585
8220
|
/*Endpoint to inject a submitted order directly to shopify, bypassing event processing*/
|
|
@@ -8589,9 +8224,6 @@ var ShopifyOrderDetailsResource = /** @class */ (function (_super) {
|
|
|
8589
8224
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/ensure"),
|
|
8590
8225
|
headers: params.headers,
|
|
8591
8226
|
method: 'POST',
|
|
8592
|
-
query: {
|
|
8593
|
-
context: params.context,
|
|
8594
|
-
},
|
|
8595
8227
|
});
|
|
8596
8228
|
};
|
|
8597
8229
|
/*Check inventory for order items, ensuring expected quantities are in stock.*/
|
|
@@ -8600,9 +8232,6 @@ var ShopifyOrderDetailsResource = /** @class */ (function (_super) {
|
|
|
8600
8232
|
endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/checks/inventory"),
|
|
8601
8233
|
headers: params.headers,
|
|
8602
8234
|
method: 'GET',
|
|
8603
|
-
query: {
|
|
8604
|
-
context: params.context,
|
|
8605
|
-
},
|
|
8606
8235
|
});
|
|
8607
8236
|
};
|
|
8608
8237
|
/*Based on the code, determine if a gift card or promotion is applied to the order. Attempt will be made to first validate and apply code as a gift card. If not applicable, attempt to validate and apply the code as a promotion. This endpoint achieves the same behavior as calling '/payments/gift-card' followed by /promotion.*/
|
|
@@ -8613,7 +8242,6 @@ var ShopifyOrderDetailsResource = /** @class */ (function (_super) {
|
|
|
8613
8242
|
headers: params.headers,
|
|
8614
8243
|
method: 'POST',
|
|
8615
8244
|
query: {
|
|
8616
|
-
context: params.context,
|
|
8617
8245
|
expand: params.expand,
|
|
8618
8246
|
},
|
|
8619
8247
|
});
|
|
@@ -8645,7 +8273,6 @@ var ShopifyOrderDetailsResource = /** @class */ (function (_super) {
|
|
|
8645
8273
|
headers: params.headers,
|
|
8646
8274
|
method: 'PUT',
|
|
8647
8275
|
query: {
|
|
8648
|
-
context: params.context,
|
|
8649
8276
|
expand: params.expand,
|
|
8650
8277
|
},
|
|
8651
8278
|
});
|
|
@@ -8657,7 +8284,6 @@ var ShopifyOrderDetailsResource = /** @class */ (function (_super) {
|
|
|
8657
8284
|
headers: params.headers,
|
|
8658
8285
|
method: 'DELETE',
|
|
8659
8286
|
query: {
|
|
8660
|
-
context: params.context,
|
|
8661
8287
|
expand: params.expand,
|
|
8662
8288
|
},
|
|
8663
8289
|
});
|
|
@@ -8669,7 +8295,6 @@ var ShopifyOrderDetailsResource = /** @class */ (function (_super) {
|
|
|
8669
8295
|
headers: params.headers,
|
|
8670
8296
|
method: 'DELETE',
|
|
8671
8297
|
query: {
|
|
8672
|
-
context: params.context,
|
|
8673
8298
|
expand: params.expand,
|
|
8674
8299
|
},
|
|
8675
8300
|
});
|
|
@@ -8842,9 +8467,6 @@ var ShopifyWebhookEventsResource = /** @class */ (function (_super) {
|
|
|
8842
8467
|
endpoint: "/shopify/webhook/events/shops/".concat(encodeURIComponent(params.shopify_shop_id), "/").concat(encodeURIComponent(params.topic), "/").concat(encodeURIComponent(params.action)),
|
|
8843
8468
|
headers: params.headers,
|
|
8844
8469
|
method: 'POST',
|
|
8845
|
-
query: {
|
|
8846
|
-
context: params.context,
|
|
8847
|
-
},
|
|
8848
8470
|
});
|
|
8849
8471
|
};
|
|
8850
8472
|
ShopifyWebhookEventsResource.prototype.postByTopicAndAction = function (params) {
|
|
@@ -8853,56 +8475,11 @@ var ShopifyWebhookEventsResource = /** @class */ (function (_super) {
|
|
|
8853
8475
|
endpoint: "/shopify/webhook/events/".concat(encodeURIComponent(params.topic), "/").concat(encodeURIComponent(params.action)),
|
|
8854
8476
|
headers: params.headers,
|
|
8855
8477
|
method: 'POST',
|
|
8856
|
-
query: {
|
|
8857
|
-
context: params.context,
|
|
8858
|
-
},
|
|
8859
8478
|
});
|
|
8860
8479
|
};
|
|
8861
8480
|
return ShopifyWebhookEventsResource;
|
|
8862
8481
|
}($Resource));
|
|
8863
8482
|
export { ShopifyWebhookEventsResource };
|
|
8864
|
-
var ShrutiDemoItemsResource = /** @class */ (function (_super) {
|
|
8865
|
-
__extends(ShrutiDemoItemsResource, _super);
|
|
8866
|
-
function ShrutiDemoItemsResource() {
|
|
8867
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
8868
|
-
}
|
|
8869
|
-
/*Create new shruti_demo_item*/
|
|
8870
|
-
ShrutiDemoItemsResource.prototype.post = function (params) {
|
|
8871
|
-
return this.client.request({
|
|
8872
|
-
body: params.body,
|
|
8873
|
-
endpoint: '/shruti/items',
|
|
8874
|
-
headers: params.headers,
|
|
8875
|
-
method: 'POST',
|
|
8876
|
-
});
|
|
8877
|
-
};
|
|
8878
|
-
/*Fetches shruti_demo_item by id*/
|
|
8879
|
-
ShrutiDemoItemsResource.prototype.getById = function (params) {
|
|
8880
|
-
return this.client.request({
|
|
8881
|
-
endpoint: "/shruti/items/".concat(encodeURIComponent(params.id)),
|
|
8882
|
-
headers: params.headers,
|
|
8883
|
-
method: 'GET',
|
|
8884
|
-
});
|
|
8885
|
-
};
|
|
8886
|
-
/*Updates shruti_demo_item*/
|
|
8887
|
-
ShrutiDemoItemsResource.prototype.putById = function (params) {
|
|
8888
|
-
return this.client.request({
|
|
8889
|
-
body: params.body,
|
|
8890
|
-
endpoint: "/shruti/items/".concat(encodeURIComponent(params.id)),
|
|
8891
|
-
headers: params.headers,
|
|
8892
|
-
method: 'PUT',
|
|
8893
|
-
});
|
|
8894
|
-
};
|
|
8895
|
-
/*Deletes shruti_demo_item*/
|
|
8896
|
-
ShrutiDemoItemsResource.prototype.deleteById = function (params) {
|
|
8897
|
-
return this.client.request({
|
|
8898
|
-
endpoint: "/shruti/items/".concat(encodeURIComponent(params.id)),
|
|
8899
|
-
headers: params.headers,
|
|
8900
|
-
method: 'DELETE',
|
|
8901
|
-
});
|
|
8902
|
-
};
|
|
8903
|
-
return ShrutiDemoItemsResource;
|
|
8904
|
-
}($Resource));
|
|
8905
|
-
export { ShrutiDemoItemsResource };
|
|
8906
8483
|
var SmpTaxCalculationFormsResource = /** @class */ (function (_super) {
|
|
8907
8484
|
__extends(SmpTaxCalculationFormsResource, _super);
|
|
8908
8485
|
function SmpTaxCalculationFormsResource() {
|
|
@@ -9041,118 +8618,6 @@ var StoreConnectionsResource = /** @class */ (function (_super) {
|
|
|
9041
8618
|
return StoreConnectionsResource;
|
|
9042
8619
|
}($Resource));
|
|
9043
8620
|
export { StoreConnectionsResource };
|
|
9044
|
-
var SvitlanaItemsResource = /** @class */ (function (_super) {
|
|
9045
|
-
__extends(SvitlanaItemsResource, _super);
|
|
9046
|
-
function SvitlanaItemsResource() {
|
|
9047
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
9048
|
-
}
|
|
9049
|
-
SvitlanaItemsResource.prototype.post = function (params) {
|
|
9050
|
-
return this.client.request({
|
|
9051
|
-
body: params.body,
|
|
9052
|
-
endpoint: '/svitlana/items',
|
|
9053
|
-
headers: params.headers,
|
|
9054
|
-
method: 'POST',
|
|
9055
|
-
});
|
|
9056
|
-
};
|
|
9057
|
-
SvitlanaItemsResource.prototype.getById = function (params) {
|
|
9058
|
-
return this.client.request({
|
|
9059
|
-
endpoint: "/svitlana/items/".concat(encodeURIComponent(params.id)),
|
|
9060
|
-
headers: params.headers,
|
|
9061
|
-
method: 'GET',
|
|
9062
|
-
});
|
|
9063
|
-
};
|
|
9064
|
-
SvitlanaItemsResource.prototype.postById = function (params) {
|
|
9065
|
-
return this.client.request({
|
|
9066
|
-
body: params.body,
|
|
9067
|
-
endpoint: "/svitlana/items/".concat(encodeURIComponent(params.id)),
|
|
9068
|
-
headers: params.headers,
|
|
9069
|
-
method: 'POST',
|
|
9070
|
-
});
|
|
9071
|
-
};
|
|
9072
|
-
SvitlanaItemsResource.prototype.putById = function (params) {
|
|
9073
|
-
return this.client.request({
|
|
9074
|
-
body: params.body,
|
|
9075
|
-
endpoint: "/svitlana/items/".concat(encodeURIComponent(params.id)),
|
|
9076
|
-
headers: params.headers,
|
|
9077
|
-
method: 'PUT',
|
|
9078
|
-
});
|
|
9079
|
-
};
|
|
9080
|
-
SvitlanaItemsResource.prototype.deleteById = function (params) {
|
|
9081
|
-
return this.client.request({
|
|
9082
|
-
endpoint: "/svitlana/items/".concat(encodeURIComponent(params.id)),
|
|
9083
|
-
headers: params.headers,
|
|
9084
|
-
method: 'DELETE',
|
|
9085
|
-
});
|
|
9086
|
-
};
|
|
9087
|
-
return SvitlanaItemsResource;
|
|
9088
|
-
}($Resource));
|
|
9089
|
-
export { SvitlanaItemsResource };
|
|
9090
|
-
var SvitlanaTestsResource = /** @class */ (function (_super) {
|
|
9091
|
-
__extends(SvitlanaTestsResource, _super);
|
|
9092
|
-
function SvitlanaTestsResource() {
|
|
9093
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
9094
|
-
}
|
|
9095
|
-
SvitlanaTestsResource.prototype.get = function (params) {
|
|
9096
|
-
return this.client.request({
|
|
9097
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/svitlana_test"),
|
|
9098
|
-
headers: params.headers,
|
|
9099
|
-
method: 'GET',
|
|
9100
|
-
query: {
|
|
9101
|
-
id: params.id,
|
|
9102
|
-
limit: params.limit,
|
|
9103
|
-
offset: params.offset,
|
|
9104
|
-
sort: params.sort,
|
|
9105
|
-
},
|
|
9106
|
-
});
|
|
9107
|
-
};
|
|
9108
|
-
SvitlanaTestsResource.prototype.getById = function (params) {
|
|
9109
|
-
return this.client.request({
|
|
9110
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/svitlana_test/").concat(encodeURIComponent(params.id)),
|
|
9111
|
-
headers: params.headers,
|
|
9112
|
-
method: 'GET',
|
|
9113
|
-
});
|
|
9114
|
-
};
|
|
9115
|
-
return SvitlanaTestsResource;
|
|
9116
|
-
}($Resource));
|
|
9117
|
-
export { SvitlanaTestsResource };
|
|
9118
|
-
var TamItemsResource = /** @class */ (function (_super) {
|
|
9119
|
-
__extends(TamItemsResource, _super);
|
|
9120
|
-
function TamItemsResource() {
|
|
9121
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
9122
|
-
}
|
|
9123
|
-
TamItemsResource.prototype.post = function (params) {
|
|
9124
|
-
return this.client.request({
|
|
9125
|
-
body: params.body,
|
|
9126
|
-
endpoint: '/tam/items',
|
|
9127
|
-
headers: params.headers,
|
|
9128
|
-
method: 'POST',
|
|
9129
|
-
});
|
|
9130
|
-
};
|
|
9131
|
-
TamItemsResource.prototype.getById = function (params) {
|
|
9132
|
-
return this.client.request({
|
|
9133
|
-
endpoint: "/tam/items/".concat(encodeURIComponent(params.id)),
|
|
9134
|
-
headers: params.headers,
|
|
9135
|
-
method: 'GET',
|
|
9136
|
-
});
|
|
9137
|
-
};
|
|
9138
|
-
TamItemsResource.prototype.putById = function (params) {
|
|
9139
|
-
return this.client.request({
|
|
9140
|
-
body: params.body,
|
|
9141
|
-
endpoint: "/tam/items/".concat(encodeURIComponent(params.id)),
|
|
9142
|
-
headers: params.headers,
|
|
9143
|
-
method: 'PUT',
|
|
9144
|
-
});
|
|
9145
|
-
};
|
|
9146
|
-
TamItemsResource.prototype.deleteById = function (params) {
|
|
9147
|
-
return this.client.request({
|
|
9148
|
-
endpoint: "/tam/items/".concat(encodeURIComponent(params.id)),
|
|
9149
|
-
headers: params.headers,
|
|
9150
|
-
method: 'DELETE',
|
|
9151
|
-
});
|
|
9152
|
-
};
|
|
9153
|
-
return TamItemsResource;
|
|
9154
|
-
}($Resource));
|
|
9155
|
-
export { TamItemsResource };
|
|
9156
8621
|
var TariffEligibilitiesResource = /** @class */ (function (_super) {
|
|
9157
8622
|
__extends(TariffEligibilitiesResource, _super);
|
|
9158
8623
|
function TariffEligibilitiesResource() {
|
|
@@ -9306,44 +8771,6 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
9306
8771
|
return TestsResource;
|
|
9307
8772
|
}($Resource));
|
|
9308
8773
|
export { TestsResource };
|
|
9309
|
-
var ThiagoItemsResource = /** @class */ (function (_super) {
|
|
9310
|
-
__extends(ThiagoItemsResource, _super);
|
|
9311
|
-
function ThiagoItemsResource() {
|
|
9312
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
9313
|
-
}
|
|
9314
|
-
ThiagoItemsResource.prototype.post = function (params) {
|
|
9315
|
-
return this.client.request({
|
|
9316
|
-
body: params.body,
|
|
9317
|
-
endpoint: '/thiago/items',
|
|
9318
|
-
headers: params.headers,
|
|
9319
|
-
method: 'POST',
|
|
9320
|
-
});
|
|
9321
|
-
};
|
|
9322
|
-
ThiagoItemsResource.prototype.getById = function (params) {
|
|
9323
|
-
return this.client.request({
|
|
9324
|
-
endpoint: "/thiago/items/".concat(encodeURIComponent(params.id)),
|
|
9325
|
-
headers: params.headers,
|
|
9326
|
-
method: 'GET',
|
|
9327
|
-
});
|
|
9328
|
-
};
|
|
9329
|
-
ThiagoItemsResource.prototype.putById = function (params) {
|
|
9330
|
-
return this.client.request({
|
|
9331
|
-
body: params.body,
|
|
9332
|
-
endpoint: "/thiago/items/".concat(encodeURIComponent(params.id)),
|
|
9333
|
-
headers: params.headers,
|
|
9334
|
-
method: 'PUT',
|
|
9335
|
-
});
|
|
9336
|
-
};
|
|
9337
|
-
ThiagoItemsResource.prototype.deleteById = function (params) {
|
|
9338
|
-
return this.client.request({
|
|
9339
|
-
endpoint: "/thiago/items/".concat(encodeURIComponent(params.id)),
|
|
9340
|
-
headers: params.headers,
|
|
9341
|
-
method: 'DELETE',
|
|
9342
|
-
});
|
|
9343
|
-
};
|
|
9344
|
-
return ThiagoItemsResource;
|
|
9345
|
-
}($Resource));
|
|
9346
|
-
export { ThiagoItemsResource };
|
|
9347
8774
|
var TrackingDebugLabelsResource = /** @class */ (function (_super) {
|
|
9348
8775
|
__extends(TrackingDebugLabelsResource, _super);
|
|
9349
8776
|
function TrackingDebugLabelsResource() {
|
|
@@ -9367,6 +8794,21 @@ var TrackingDebugLabelsResource = /** @class */ (function (_super) {
|
|
|
9367
8794
|
return TrackingDebugLabelsResource;
|
|
9368
8795
|
}($Resource));
|
|
9369
8796
|
export { TrackingDebugLabelsResource };
|
|
8797
|
+
var TrackingSubscriptionsResource = /** @class */ (function (_super) {
|
|
8798
|
+
__extends(TrackingSubscriptionsResource, _super);
|
|
8799
|
+
function TrackingSubscriptionsResource() {
|
|
8800
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8801
|
+
}
|
|
8802
|
+
TrackingSubscriptionsResource.prototype.getExternalReferenceSourceAndExternalReferenceKeyByExternalReferenceSourceAndExternalReferenceKey = function (params) {
|
|
8803
|
+
return this.client.request({
|
|
8804
|
+
endpoint: "/internal/tracking/subscription/external_reference_source/".concat(encodeURIComponent(params.external_reference_source), "/external_reference_key/").concat(encodeURIComponent(params.external_reference_key)),
|
|
8805
|
+
headers: params.headers,
|
|
8806
|
+
method: 'GET',
|
|
8807
|
+
});
|
|
8808
|
+
};
|
|
8809
|
+
return TrackingSubscriptionsResource;
|
|
8810
|
+
}($Resource));
|
|
8811
|
+
export { TrackingSubscriptionsResource };
|
|
9370
8812
|
var TransactionsResource = /** @class */ (function (_super) {
|
|
9371
8813
|
__extends(TransactionsResource, _super);
|
|
9372
8814
|
function TransactionsResource() {
|
|
@@ -9716,6 +9158,7 @@ export function createClient(options) {
|
|
|
9716
9158
|
channelAccounts: new ChannelAccountsResource(options),
|
|
9717
9159
|
channelBilledTransactionPairs: new ChannelBilledTransactionPairsResource(options),
|
|
9718
9160
|
channelBillingStatements: new ChannelBillingStatementsResource(options),
|
|
9161
|
+
channelCurrencyPairsInternal: new ChannelCurrencyPairsInternalResource(options),
|
|
9719
9162
|
channelCurrencySettings: new ChannelCurrencySettingsResource(options),
|
|
9720
9163
|
channelDebugTransactions: new ChannelDebugTransactionsResource(options),
|
|
9721
9164
|
channelFulfillments: new ChannelFulfillmentsResource(options),
|
|
@@ -9755,7 +9198,6 @@ export function createClient(options) {
|
|
|
9755
9198
|
discountCodes: new DiscountCodesResource(options),
|
|
9756
9199
|
disputes: new DisputesResource(options),
|
|
9757
9200
|
dutyInternalRates: new DutyInternalRatesResource(options),
|
|
9758
|
-
eldarItems: new EldarItemsResource(options),
|
|
9759
9201
|
erpFlowFiles: new ErpFlowFilesResource(options),
|
|
9760
9202
|
erpFlowVendors: new ErpFlowVendorsResource(options),
|
|
9761
9203
|
erpPriorityFiles: new ErpPriorityFilesResource(options),
|
|
@@ -9784,7 +9226,6 @@ export function createClient(options) {
|
|
|
9784
9226
|
giftCardPrograms: new GiftCardProgramsResource(options),
|
|
9785
9227
|
globalSearchResults: new GlobalSearchResultsResource(options),
|
|
9786
9228
|
googleShoppingSettings: new GoogleShoppingSettingsResource(options),
|
|
9787
|
-
harinathItems: new HarinathItemsResource(options),
|
|
9788
9229
|
harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
|
|
9789
9230
|
harmonizationThresholds: new HarmonizationThresholdsResource(options),
|
|
9790
9231
|
harmonizationUnclassifiedStatistics: new HarmonizationUnclassifiedStatisticsResource(options),
|
|
@@ -9820,7 +9261,6 @@ export function createClient(options) {
|
|
|
9820
9261
|
ratecards: new RatecardsResource(options),
|
|
9821
9262
|
serviceFees: new ServiceFeesResource(options),
|
|
9822
9263
|
countries: new CountriesResource(options),
|
|
9823
|
-
contexts: new ContextsResource(options),
|
|
9824
9264
|
organizationSessions: new OrganizationSessionsResource(options),
|
|
9825
9265
|
shopifyOrders: new ShopifyOrdersResource(options),
|
|
9826
9266
|
knowYourBusinesses: new KnowYourBusinessesResource(options),
|
|
@@ -9839,7 +9279,6 @@ export function createClient(options) {
|
|
|
9839
9279
|
itemSalesMargins: new ItemSalesMarginsResource(options),
|
|
9840
9280
|
jeanDemoItems: new JeanDemoItemsResource(options),
|
|
9841
9281
|
keys: new KeysResource(options),
|
|
9842
|
-
konstantinItems: new KonstantinItemsResource(options),
|
|
9843
9282
|
labProjectSettings: new LabProjectSettingsResource(options),
|
|
9844
9283
|
labelCreationJobs: new LabelCreationJobsResource(options),
|
|
9845
9284
|
labelGenerationSettings: new LabelGenerationSettingsResource(options),
|
|
@@ -9869,12 +9308,9 @@ export function createClient(options) {
|
|
|
9869
9308
|
marketingGatewayLocalizedItems: new MarketingGatewayLocalizedItemsResource(options),
|
|
9870
9309
|
marketsOrders: new MarketsOrdersResource(options),
|
|
9871
9310
|
marketsOrderSummaries: new MarketsOrderSummariesResource(options),
|
|
9872
|
-
matiasItems: new MatiasItemsResource(options),
|
|
9873
9311
|
merchantApplicationSummaries: new MerchantApplicationSummariesResource(options),
|
|
9874
9312
|
merchantHubOverrides: new MerchantHubOverridesResource(options),
|
|
9875
9313
|
merchantOfRecordEntitySettings: new MerchantOfRecordEntitySettingsResource(options),
|
|
9876
|
-
michaelyanItems: new MichaelyanItemsResource(options),
|
|
9877
|
-
miljenkoItems: new MiljenkoItemsResource(options),
|
|
9878
9314
|
negativeDebitMetrics: new NegativeDebitMetricsResource(options),
|
|
9879
9315
|
onboardingAuditReports: new OnboardingAuditReportsResource(options),
|
|
9880
9316
|
onboardingAuditSnapshots: new OnboardingAuditSnapshotsResource(options),
|
|
@@ -9940,7 +9376,6 @@ export function createClient(options) {
|
|
|
9940
9376
|
restrictionRuleOverrides: new RestrictionRuleOverridesResource(options),
|
|
9941
9377
|
routingEntities: new RoutingEntitiesResource(options),
|
|
9942
9378
|
sandboxSetups: new SandboxSetupsResource(options),
|
|
9943
|
-
sanjayItems: new SanjayItemsResource(options),
|
|
9944
9379
|
screens: new ScreensResource(options),
|
|
9945
9380
|
searchProviderExports: new SearchProviderExportsResource(options),
|
|
9946
9381
|
sessionCountries: new SessionCountriesResource(options),
|
|
@@ -9967,21 +9402,17 @@ export function createClient(options) {
|
|
|
9967
9402
|
shopifyPromotions: new ShopifyPromotionsResource(options),
|
|
9968
9403
|
shopifyStoreDetails: new ShopifyStoreDetailsResource(options),
|
|
9969
9404
|
shopifyWebhookEvents: new ShopifyWebhookEventsResource(options),
|
|
9970
|
-
shrutiDemoItems: new ShrutiDemoItemsResource(options),
|
|
9971
9405
|
smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
|
|
9972
9406
|
snoozes: new SnoozesResource(options),
|
|
9973
9407
|
spotRates: new SpotRatesResource(options),
|
|
9974
9408
|
storeConnections: new StoreConnectionsResource(options),
|
|
9975
|
-
svitlanaItems: new SvitlanaItemsResource(options),
|
|
9976
|
-
svitlanaTests: new SvitlanaTestsResource(options),
|
|
9977
|
-
tamItems: new TamItemsResource(options),
|
|
9978
9409
|
tariffEligibilities: new TariffEligibilitiesResource(options),
|
|
9979
9410
|
tasks: new TasksResource(options),
|
|
9980
9411
|
taxCalculationForms: new TaxCalculationFormsResource(options),
|
|
9981
9412
|
techOnboardingDescriptions: new TechOnboardingDescriptionsResource(options),
|
|
9982
9413
|
tests: new TestsResource(options),
|
|
9983
|
-
thiagoItems: new ThiagoItemsResource(options),
|
|
9984
9414
|
trackingDebugLabels: new TrackingDebugLabelsResource(options),
|
|
9415
|
+
trackingSubscriptions: new TrackingSubscriptionsResource(options),
|
|
9985
9416
|
transactions: new TransactionsResource(options),
|
|
9986
9417
|
transactionAdjustments: new TransactionAdjustmentsResource(options),
|
|
9987
9418
|
tribes: new TribesResource(options),
|