@flowio/api-internal-sdk 0.0.122 → 0.0.123
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 +380 -40
- package/dist/esm/api-internal.js +375 -35
- package/dist/types/api-internal.d.ts +243 -19
- package/package.json +2 -2
package/dist/esm/api-internal.js
CHANGED
|
@@ -469,6 +469,13 @@ var CarrierAccountsResource = /** @class */ (function (_super) {
|
|
|
469
469
|
method: 'DELETE',
|
|
470
470
|
});
|
|
471
471
|
};
|
|
472
|
+
CarrierAccountsResource.prototype.getValidateById = function (params) {
|
|
473
|
+
return this.client.request({
|
|
474
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/carrier/accountsvalidate/").concat(encodeURIComponent(params.id)),
|
|
475
|
+
headers: params.headers,
|
|
476
|
+
method: 'GET',
|
|
477
|
+
});
|
|
478
|
+
};
|
|
472
479
|
return CarrierAccountsResource;
|
|
473
480
|
}($Resource));
|
|
474
481
|
export { CarrierAccountsResource };
|
|
@@ -1194,6 +1201,15 @@ var CiphersResource = /** @class */ (function (_super) {
|
|
|
1194
1201
|
method: 'POST',
|
|
1195
1202
|
});
|
|
1196
1203
|
};
|
|
1204
|
+
/*Encrypts values in batch and returns a sequence of reference to them.*/
|
|
1205
|
+
CiphersResource.prototype.postBatch = function (params) {
|
|
1206
|
+
return this.client.request({
|
|
1207
|
+
body: params.body,
|
|
1208
|
+
endpoint: '/internal/cipher/batch',
|
|
1209
|
+
headers: params.headers,
|
|
1210
|
+
method: 'POST',
|
|
1211
|
+
});
|
|
1212
|
+
};
|
|
1197
1213
|
/*Get the plaintext value of a cipher.*/
|
|
1198
1214
|
CiphersResource.prototype.postGet = function (params) {
|
|
1199
1215
|
return this.client.request({
|
|
@@ -1203,6 +1219,15 @@ var CiphersResource = /** @class */ (function (_super) {
|
|
|
1203
1219
|
method: 'POST',
|
|
1204
1220
|
});
|
|
1205
1221
|
};
|
|
1222
|
+
/*Gets the plaintext values of ciphers in batch.*/
|
|
1223
|
+
CiphersResource.prototype.postGetAndBatch = function (params) {
|
|
1224
|
+
return this.client.request({
|
|
1225
|
+
body: params.body,
|
|
1226
|
+
endpoint: '/internal/cipher/get/batch',
|
|
1227
|
+
headers: params.headers,
|
|
1228
|
+
method: 'POST',
|
|
1229
|
+
});
|
|
1230
|
+
};
|
|
1206
1231
|
return CiphersResource;
|
|
1207
1232
|
}($Resource));
|
|
1208
1233
|
export { CiphersResource };
|
|
@@ -1772,12 +1797,14 @@ var ErpFlowVendorsResource = /** @class */ (function (_super) {
|
|
|
1772
1797
|
headers: params.headers,
|
|
1773
1798
|
method: 'GET',
|
|
1774
1799
|
query: {
|
|
1800
|
+
company_id: params.company_id,
|
|
1775
1801
|
different: params.different,
|
|
1776
1802
|
entity_id: params.entity_id,
|
|
1777
1803
|
id: params.id,
|
|
1778
1804
|
limit: params.limit,
|
|
1779
1805
|
offset: params.offset,
|
|
1780
1806
|
sort: params.sort,
|
|
1807
|
+
status: params.status,
|
|
1781
1808
|
},
|
|
1782
1809
|
});
|
|
1783
1810
|
};
|
|
@@ -1835,6 +1862,42 @@ var ErpPriorityFilesResource = /** @class */ (function (_super) {
|
|
|
1835
1862
|
return ErpPriorityFilesResource;
|
|
1836
1863
|
}($Resource));
|
|
1837
1864
|
export { ErpPriorityFilesResource };
|
|
1865
|
+
var ErpPriorityVendorsResource = /** @class */ (function (_super) {
|
|
1866
|
+
__extends(ErpPriorityVendorsResource, _super);
|
|
1867
|
+
function ErpPriorityVendorsResource() {
|
|
1868
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1869
|
+
}
|
|
1870
|
+
ErpPriorityVendorsResource.prototype.get = function (params) {
|
|
1871
|
+
return this.client.request({
|
|
1872
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/billing/erp/priority/vendors"),
|
|
1873
|
+
headers: params.headers,
|
|
1874
|
+
method: 'GET',
|
|
1875
|
+
query: {
|
|
1876
|
+
id: params.id,
|
|
1877
|
+
limit: params.limit,
|
|
1878
|
+
offset: params.offset,
|
|
1879
|
+
sort: params.sort,
|
|
1880
|
+
},
|
|
1881
|
+
});
|
|
1882
|
+
};
|
|
1883
|
+
ErpPriorityVendorsResource.prototype.getById = function (params) {
|
|
1884
|
+
return this.client.request({
|
|
1885
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/billing/erp/priority/vendors/").concat(encodeURIComponent(params.id)),
|
|
1886
|
+
headers: params.headers,
|
|
1887
|
+
method: 'GET',
|
|
1888
|
+
});
|
|
1889
|
+
};
|
|
1890
|
+
ErpPriorityVendorsResource.prototype.putById = function (params) {
|
|
1891
|
+
return this.client.request({
|
|
1892
|
+
body: params.body,
|
|
1893
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/billing/erp/priority/vendors/").concat(encodeURIComponent(params.id)),
|
|
1894
|
+
headers: params.headers,
|
|
1895
|
+
method: 'PUT',
|
|
1896
|
+
});
|
|
1897
|
+
};
|
|
1898
|
+
return ErpPriorityVendorsResource;
|
|
1899
|
+
}($Resource));
|
|
1900
|
+
export { ErpPriorityVendorsResource };
|
|
1838
1901
|
var ErpVendorStatusesResource = /** @class */ (function (_super) {
|
|
1839
1902
|
__extends(ErpVendorStatusesResource, _super);
|
|
1840
1903
|
function ErpVendorStatusesResource() {
|
|
@@ -2867,6 +2930,63 @@ var HarmonizationItemClassificationsResource = /** @class */ (function (_super)
|
|
|
2867
2930
|
return HarmonizationItemClassificationsResource;
|
|
2868
2931
|
}($Resource));
|
|
2869
2932
|
export { HarmonizationItemClassificationsResource };
|
|
2933
|
+
var HarmonizationThresholdsResource = /** @class */ (function (_super) {
|
|
2934
|
+
__extends(HarmonizationThresholdsResource, _super);
|
|
2935
|
+
function HarmonizationThresholdsResource() {
|
|
2936
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2937
|
+
}
|
|
2938
|
+
/*Returns list of thresholds*/
|
|
2939
|
+
HarmonizationThresholdsResource.prototype.getThresholds = function (params) {
|
|
2940
|
+
return this.client.request({
|
|
2941
|
+
endpoint: '/classification/internal/thresholds',
|
|
2942
|
+
headers: params.headers,
|
|
2943
|
+
method: 'GET',
|
|
2944
|
+
query: {
|
|
2945
|
+
id: params.id,
|
|
2946
|
+
limit: params.limit,
|
|
2947
|
+
offset: params.offset,
|
|
2948
|
+
sort: params.sort,
|
|
2949
|
+
},
|
|
2950
|
+
});
|
|
2951
|
+
};
|
|
2952
|
+
/*Add new threshold*/
|
|
2953
|
+
HarmonizationThresholdsResource.prototype.postThresholds = function (params) {
|
|
2954
|
+
return this.client.request({
|
|
2955
|
+
body: params.body,
|
|
2956
|
+
endpoint: '/classification/internal/thresholds',
|
|
2957
|
+
headers: params.headers,
|
|
2958
|
+
method: 'POST',
|
|
2959
|
+
});
|
|
2960
|
+
};
|
|
2961
|
+
/*Returns thresholds*/
|
|
2962
|
+
HarmonizationThresholdsResource.prototype.getThresholdsAndDefault = function (params) {
|
|
2963
|
+
if (params === void 0) { params = {}; }
|
|
2964
|
+
return this.client.request({
|
|
2965
|
+
endpoint: '/classification/internal/thresholds/default',
|
|
2966
|
+
headers: params.headers,
|
|
2967
|
+
method: 'GET',
|
|
2968
|
+
});
|
|
2969
|
+
};
|
|
2970
|
+
/*Update new threshold*/
|
|
2971
|
+
HarmonizationThresholdsResource.prototype.putThresholdsById = function (params) {
|
|
2972
|
+
return this.client.request({
|
|
2973
|
+
body: params.body,
|
|
2974
|
+
endpoint: "/classification/internal/thresholds/".concat(encodeURIComponent(params.id)),
|
|
2975
|
+
headers: params.headers,
|
|
2976
|
+
method: 'PUT',
|
|
2977
|
+
});
|
|
2978
|
+
};
|
|
2979
|
+
/*Delete threshold*/
|
|
2980
|
+
HarmonizationThresholdsResource.prototype.deleteThresholdsById = function (params) {
|
|
2981
|
+
return this.client.request({
|
|
2982
|
+
endpoint: "/classification/internal/thresholds/".concat(encodeURIComponent(params.id)),
|
|
2983
|
+
headers: params.headers,
|
|
2984
|
+
method: 'DELETE',
|
|
2985
|
+
});
|
|
2986
|
+
};
|
|
2987
|
+
return HarmonizationThresholdsResource;
|
|
2988
|
+
}($Resource));
|
|
2989
|
+
export { HarmonizationThresholdsResource };
|
|
2870
2990
|
var HarmonizationUnclassifiedStatisticsResource = /** @class */ (function (_super) {
|
|
2871
2991
|
__extends(HarmonizationUnclassifiedStatisticsResource, _super);
|
|
2872
2992
|
function HarmonizationUnclassifiedStatisticsResource() {
|
|
@@ -3086,6 +3206,23 @@ var InvoiceWebhookResponsesResource = /** @class */ (function (_super) {
|
|
|
3086
3206
|
return InvoiceWebhookResponsesResource;
|
|
3087
3207
|
}($Resource));
|
|
3088
3208
|
export { InvoiceWebhookResponsesResource };
|
|
3209
|
+
var ItemsResource = /** @class */ (function (_super) {
|
|
3210
|
+
__extends(ItemsResource, _super);
|
|
3211
|
+
function ItemsResource() {
|
|
3212
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3213
|
+
}
|
|
3214
|
+
/*Update all the items, creating if they does not exist.*/
|
|
3215
|
+
ItemsResource.prototype.putBulk = function (params) {
|
|
3216
|
+
return this.client.request({
|
|
3217
|
+
body: params.body,
|
|
3218
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/catalog/items/bulk"),
|
|
3219
|
+
headers: params.headers,
|
|
3220
|
+
method: 'PUT',
|
|
3221
|
+
});
|
|
3222
|
+
};
|
|
3223
|
+
return ItemsResource;
|
|
3224
|
+
}($Resource));
|
|
3225
|
+
export { ItemsResource };
|
|
3089
3226
|
var ChannelsResource = /** @class */ (function (_super) {
|
|
3090
3227
|
__extends(ChannelsResource, _super);
|
|
3091
3228
|
function ChannelsResource() {
|
|
@@ -3850,6 +3987,28 @@ var ShopifyOrdersResource = /** @class */ (function (_super) {
|
|
|
3850
3987
|
return ShopifyOrdersResource;
|
|
3851
3988
|
}($Resource));
|
|
3852
3989
|
export { ShopifyOrdersResource };
|
|
3990
|
+
var KnowYourBusinessesResource = /** @class */ (function (_super) {
|
|
3991
|
+
__extends(KnowYourBusinessesResource, _super);
|
|
3992
|
+
function KnowYourBusinessesResource() {
|
|
3993
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3994
|
+
}
|
|
3995
|
+
KnowYourBusinessesResource.prototype.get = function (params) {
|
|
3996
|
+
return this.client.request({
|
|
3997
|
+
endpoint: "/channel/".concat(encodeURIComponent(params.channel_id), "/merchant/config/know/your/business"),
|
|
3998
|
+
headers: params.headers,
|
|
3999
|
+
method: 'GET',
|
|
4000
|
+
query: {
|
|
4001
|
+
id: params.id,
|
|
4002
|
+
limit: params.limit,
|
|
4003
|
+
offset: params.offset,
|
|
4004
|
+
organization_id: params.organization_id,
|
|
4005
|
+
sort: params.sort,
|
|
4006
|
+
},
|
|
4007
|
+
});
|
|
4008
|
+
};
|
|
4009
|
+
return KnowYourBusinessesResource;
|
|
4010
|
+
}($Resource));
|
|
4011
|
+
export { KnowYourBusinessesResource };
|
|
3853
4012
|
var ShopifyCartsResource = /** @class */ (function (_super) {
|
|
3854
4013
|
__extends(ShopifyCartsResource, _super);
|
|
3855
4014
|
function ShopifyCartsResource() {
|
|
@@ -3986,6 +4145,22 @@ var ChannelTokensResource = /** @class */ (function (_super) {
|
|
|
3986
4145
|
return ChannelTokensResource;
|
|
3987
4146
|
}($Resource));
|
|
3988
4147
|
export { ChannelTokensResource };
|
|
4148
|
+
var TrackingsResource = /** @class */ (function (_super) {
|
|
4149
|
+
__extends(TrackingsResource, _super);
|
|
4150
|
+
function TrackingsResource() {
|
|
4151
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4152
|
+
}
|
|
4153
|
+
TrackingsResource.prototype.post = function (params) {
|
|
4154
|
+
return this.client.request({
|
|
4155
|
+
body: params.body,
|
|
4156
|
+
endpoint: '/internal/tracking/resync/request',
|
|
4157
|
+
headers: params.headers,
|
|
4158
|
+
method: 'POST',
|
|
4159
|
+
});
|
|
4160
|
+
};
|
|
4161
|
+
return TrackingsResource;
|
|
4162
|
+
}($Resource));
|
|
4163
|
+
export { TrackingsResource };
|
|
3989
4164
|
var ItemClassificationsResource = /** @class */ (function (_super) {
|
|
3990
4165
|
__extends(ItemClassificationsResource, _super);
|
|
3991
4166
|
function ItemClassificationsResource() {
|
|
@@ -4522,25 +4697,6 @@ var LocalizedItemsExportSettingsResource = /** @class */ (function (_super) {
|
|
|
4522
4697
|
return LocalizedItemsExportSettingsResource;
|
|
4523
4698
|
}($Resource));
|
|
4524
4699
|
export { LocalizedItemsExportSettingsResource };
|
|
4525
|
-
var LogisticsCenterChecksResource = /** @class */ (function (_super) {
|
|
4526
|
-
__extends(LogisticsCenterChecksResource, _super);
|
|
4527
|
-
function LogisticsCenterChecksResource() {
|
|
4528
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4529
|
-
}
|
|
4530
|
-
/*Checks for valid center logistics information by center id*/
|
|
4531
|
-
LogisticsCenterChecksResource.prototype.get = function (params) {
|
|
4532
|
-
return this.client.request({
|
|
4533
|
-
endpoint: "/internal/".concat(encodeURIComponent(params.organization_id), "/logistics/center/checks"),
|
|
4534
|
-
headers: params.headers,
|
|
4535
|
-
method: 'GET',
|
|
4536
|
-
query: {
|
|
4537
|
-
center_id: params.center_id,
|
|
4538
|
-
},
|
|
4539
|
-
});
|
|
4540
|
-
};
|
|
4541
|
-
return LogisticsCenterChecksResource;
|
|
4542
|
-
}($Resource));
|
|
4543
|
-
export { LogisticsCenterChecksResource };
|
|
4544
4700
|
var LoyaltyProgramsResource = /** @class */ (function (_super) {
|
|
4545
4701
|
__extends(LoyaltyProgramsResource, _super);
|
|
4546
4702
|
function LoyaltyProgramsResource() {
|
|
@@ -5151,8 +5307,10 @@ var OnboardingOrganizationsResource = /** @class */ (function (_super) {
|
|
|
5151
5307
|
activated_at_to: params.activated_at_to,
|
|
5152
5308
|
application_received_from: params.application_received_from,
|
|
5153
5309
|
application_received_to: params.application_received_to,
|
|
5310
|
+
audit_categories_warned_or_failed: params.audit_categories_warned_or_failed,
|
|
5154
5311
|
compliance_full_review_required: params.compliance_full_review_required,
|
|
5155
5312
|
id: params.id,
|
|
5313
|
+
last_audit_result: params.last_audit_result,
|
|
5156
5314
|
legal_name_contains: params.legal_name_contains,
|
|
5157
5315
|
limit: params.limit,
|
|
5158
5316
|
offset: params.offset,
|
|
@@ -5165,6 +5323,19 @@ var OnboardingOrganizationsResource = /** @class */ (function (_super) {
|
|
|
5165
5323
|
},
|
|
5166
5324
|
});
|
|
5167
5325
|
};
|
|
5326
|
+
/*Search merchants against organizationId, Shop Name or Legal Name*/
|
|
5327
|
+
OnboardingOrganizationsResource.prototype.getSearch = function (params) {
|
|
5328
|
+
return this.client.request({
|
|
5329
|
+
endpoint: "/internal/channel/".concat(encodeURIComponent(params.channel_id), "/onboarding/organizations/search"),
|
|
5330
|
+
headers: params.headers,
|
|
5331
|
+
method: 'GET',
|
|
5332
|
+
query: {
|
|
5333
|
+
limit: params.limit,
|
|
5334
|
+
offset: params.offset,
|
|
5335
|
+
q: params.q,
|
|
5336
|
+
},
|
|
5337
|
+
});
|
|
5338
|
+
};
|
|
5168
5339
|
return OnboardingOrganizationsResource;
|
|
5169
5340
|
}($Resource));
|
|
5170
5341
|
export { OnboardingOrganizationsResource };
|
|
@@ -5716,6 +5887,36 @@ var OrganizationCurrencySettingsResource = /** @class */ (function (_super) {
|
|
|
5716
5887
|
return OrganizationCurrencySettingsResource;
|
|
5717
5888
|
}($Resource));
|
|
5718
5889
|
export { OrganizationCurrencySettingsResource };
|
|
5890
|
+
var OrganizationDeactivationsResource = /** @class */ (function (_super) {
|
|
5891
|
+
__extends(OrganizationDeactivationsResource, _super);
|
|
5892
|
+
function OrganizationDeactivationsResource() {
|
|
5893
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
5894
|
+
}
|
|
5895
|
+
OrganizationDeactivationsResource.prototype.get = function (params) {
|
|
5896
|
+
return this.client.request({
|
|
5897
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/deactivation"),
|
|
5898
|
+
headers: params.headers,
|
|
5899
|
+
method: 'GET',
|
|
5900
|
+
});
|
|
5901
|
+
};
|
|
5902
|
+
OrganizationDeactivationsResource.prototype.put = function (params) {
|
|
5903
|
+
return this.client.request({
|
|
5904
|
+
body: params.body,
|
|
5905
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/deactivation"),
|
|
5906
|
+
headers: params.headers,
|
|
5907
|
+
method: 'PUT',
|
|
5908
|
+
});
|
|
5909
|
+
};
|
|
5910
|
+
OrganizationDeactivationsResource.prototype.delete = function (params) {
|
|
5911
|
+
return this.client.request({
|
|
5912
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/deactivation"),
|
|
5913
|
+
headers: params.headers,
|
|
5914
|
+
method: 'DELETE',
|
|
5915
|
+
});
|
|
5916
|
+
};
|
|
5917
|
+
return OrganizationDeactivationsResource;
|
|
5918
|
+
}($Resource));
|
|
5919
|
+
export { OrganizationDeactivationsResource };
|
|
5719
5920
|
var OrganizationDebugTransactionsResource = /** @class */ (function (_super) {
|
|
5720
5921
|
__extends(OrganizationDebugTransactionsResource, _super);
|
|
5721
5922
|
function OrganizationDebugTransactionsResource() {
|
|
@@ -5836,6 +6037,14 @@ var OrganizationRestrictionStatusesResource = /** @class */ (function (_super) {
|
|
|
5836
6037
|
method: 'GET',
|
|
5837
6038
|
});
|
|
5838
6039
|
};
|
|
6040
|
+
/*reset screening progress for an org back to un-screened status, as if new*/
|
|
6041
|
+
OrganizationRestrictionStatusesResource.prototype.postReset = function (params) {
|
|
6042
|
+
return this.client.request({
|
|
6043
|
+
endpoint: "/internal/restriction/".concat(encodeURIComponent(params.organization), "/status/reset"),
|
|
6044
|
+
headers: params.headers,
|
|
6045
|
+
method: 'POST',
|
|
6046
|
+
});
|
|
6047
|
+
};
|
|
5839
6048
|
return OrganizationRestrictionStatusesResource;
|
|
5840
6049
|
}($Resource));
|
|
5841
6050
|
export { OrganizationRestrictionStatusesResource };
|
|
@@ -5896,6 +6105,28 @@ var OrganizationSettingsResource = /** @class */ (function (_super) {
|
|
|
5896
6105
|
return OrganizationSettingsResource;
|
|
5897
6106
|
}($Resource));
|
|
5898
6107
|
export { OrganizationSettingsResource };
|
|
6108
|
+
var OrganizationsAuditCheckReportsResource = /** @class */ (function (_super) {
|
|
6109
|
+
__extends(OrganizationsAuditCheckReportsResource, _super);
|
|
6110
|
+
function OrganizationsAuditCheckReportsResource() {
|
|
6111
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
6112
|
+
}
|
|
6113
|
+
OrganizationsAuditCheckReportsResource.prototype.get = function (params) {
|
|
6114
|
+
return this.client.request({
|
|
6115
|
+
endpoint: '/internal/organizations/audit/check/report',
|
|
6116
|
+
headers: params.headers,
|
|
6117
|
+
method: 'GET',
|
|
6118
|
+
query: {
|
|
6119
|
+
channel_id: params.channel_id,
|
|
6120
|
+
limit: params.limit,
|
|
6121
|
+
offset: params.offset,
|
|
6122
|
+
onboarding_state: params.onboarding_state,
|
|
6123
|
+
organization_status: params.organization_status,
|
|
6124
|
+
},
|
|
6125
|
+
});
|
|
6126
|
+
};
|
|
6127
|
+
return OrganizationsAuditCheckReportsResource;
|
|
6128
|
+
}($Resource));
|
|
6129
|
+
export { OrganizationsAuditCheckReportsResource };
|
|
5899
6130
|
var PartnersResource = /** @class */ (function (_super) {
|
|
5900
6131
|
__extends(PartnersResource, _super);
|
|
5901
6132
|
function PartnersResource() {
|
|
@@ -6467,6 +6698,28 @@ var ProductReviewHistoriesResource = /** @class */ (function (_super) {
|
|
|
6467
6698
|
return ProductReviewHistoriesResource;
|
|
6468
6699
|
}($Resource));
|
|
6469
6700
|
export { ProductReviewHistoriesResource };
|
|
6701
|
+
var QueuedRecordsResource = /** @class */ (function (_super) {
|
|
6702
|
+
__extends(QueuedRecordsResource, _super);
|
|
6703
|
+
function QueuedRecordsResource() {
|
|
6704
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
6705
|
+
}
|
|
6706
|
+
QueuedRecordsResource.prototype.get = function (params) {
|
|
6707
|
+
return this.client.request({
|
|
6708
|
+
endpoint: '/internal/billing/debug/queued/records',
|
|
6709
|
+
headers: params.headers,
|
|
6710
|
+
method: 'GET',
|
|
6711
|
+
query: {
|
|
6712
|
+
include_errors_only: params.include_errors_only,
|
|
6713
|
+
limit: params.limit,
|
|
6714
|
+
offset: params.offset,
|
|
6715
|
+
sort: params.sort,
|
|
6716
|
+
type: params.type,
|
|
6717
|
+
},
|
|
6718
|
+
});
|
|
6719
|
+
};
|
|
6720
|
+
return QueuedRecordsResource;
|
|
6721
|
+
}($Resource));
|
|
6722
|
+
export { QueuedRecordsResource };
|
|
6470
6723
|
var RateAndRuleLookupsResource = /** @class */ (function (_super) {
|
|
6471
6724
|
__extends(RateAndRuleLookupsResource, _super);
|
|
6472
6725
|
function RateAndRuleLookupsResource() {
|
|
@@ -6725,6 +6978,29 @@ var ReboundConfigurationsResource = /** @class */ (function (_super) {
|
|
|
6725
6978
|
return ReboundConfigurationsResource;
|
|
6726
6979
|
}($Resource));
|
|
6727
6980
|
export { ReboundConfigurationsResource };
|
|
6981
|
+
var ReportsResource = /** @class */ (function (_super) {
|
|
6982
|
+
__extends(ReportsResource, _super);
|
|
6983
|
+
function ReportsResource() {
|
|
6984
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
6985
|
+
}
|
|
6986
|
+
ReportsResource.prototype.post = function (params) {
|
|
6987
|
+
return this.client.request({
|
|
6988
|
+
body: params.body,
|
|
6989
|
+
endpoint: '/internal/report',
|
|
6990
|
+
headers: params.headers,
|
|
6991
|
+
method: 'POST',
|
|
6992
|
+
});
|
|
6993
|
+
};
|
|
6994
|
+
ReportsResource.prototype.getByKey = function (params) {
|
|
6995
|
+
return this.client.request({
|
|
6996
|
+
endpoint: "/internal/report/".concat(encodeURIComponent(params.key)),
|
|
6997
|
+
headers: params.headers,
|
|
6998
|
+
method: 'GET',
|
|
6999
|
+
});
|
|
7000
|
+
};
|
|
7001
|
+
return ReportsResource;
|
|
7002
|
+
}($Resource));
|
|
7003
|
+
export { ReportsResource };
|
|
6728
7004
|
var ReportRuleDecisionsResource = /** @class */ (function (_super) {
|
|
6729
7005
|
__extends(ReportRuleDecisionsResource, _super);
|
|
6730
7006
|
function ReportRuleDecisionsResource() {
|
|
@@ -6737,23 +7013,21 @@ var ReportRuleDecisionsResource = /** @class */ (function (_super) {
|
|
|
6737
7013
|
endpoint: '/internal/restriction/decisions/auto-restrict',
|
|
6738
7014
|
headers: params.headers,
|
|
6739
7015
|
method: 'POST',
|
|
7016
|
+
query: {
|
|
7017
|
+
screening_status: params.screening_status,
|
|
7018
|
+
},
|
|
6740
7019
|
});
|
|
6741
7020
|
};
|
|
6742
|
-
/*Manually re-insert report rule decisions for
|
|
7021
|
+
/*Manually re-insert report rule decisions for a list of given organizations. PLEASE NOTE: all data will be cleared before data re-computed from rule_decisions table*/
|
|
6743
7022
|
ReportRuleDecisionsResource.prototype.postReportAndSync = function (params) {
|
|
6744
|
-
if (params === void 0) { params = {}; }
|
|
6745
7023
|
return this.client.request({
|
|
7024
|
+
body: params.body,
|
|
6746
7025
|
endpoint: '/internal/restriction/decisions/report/sync',
|
|
6747
7026
|
headers: params.headers,
|
|
6748
7027
|
method: 'POST',
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
ReportRuleDecisionsResource.prototype.postReportAndSyncByOrganizationId = function (params) {
|
|
6753
|
-
return this.client.request({
|
|
6754
|
-
endpoint: "/internal/restriction/decisions/report/sync/".concat(encodeURIComponent(params.organization_id)),
|
|
6755
|
-
headers: params.headers,
|
|
6756
|
-
method: 'POST',
|
|
7028
|
+
query: {
|
|
7029
|
+
screening_status: params.screening_status,
|
|
7030
|
+
},
|
|
6757
7031
|
});
|
|
6758
7032
|
};
|
|
6759
7033
|
return ReportRuleDecisionsResource;
|
|
@@ -7090,6 +7364,22 @@ var RoutingEntitiesResource = /** @class */ (function (_super) {
|
|
|
7090
7364
|
return RoutingEntitiesResource;
|
|
7091
7365
|
}($Resource));
|
|
7092
7366
|
export { RoutingEntitiesResource };
|
|
7367
|
+
var SandboxSetupsResource = /** @class */ (function (_super) {
|
|
7368
|
+
__extends(SandboxSetupsResource, _super);
|
|
7369
|
+
function SandboxSetupsResource() {
|
|
7370
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
7371
|
+
}
|
|
7372
|
+
SandboxSetupsResource.prototype.put = function (params) {
|
|
7373
|
+
return this.client.request({
|
|
7374
|
+
body: params.body,
|
|
7375
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/merchant/config/sandbox/setup"),
|
|
7376
|
+
headers: params.headers,
|
|
7377
|
+
method: 'PUT',
|
|
7378
|
+
});
|
|
7379
|
+
};
|
|
7380
|
+
return SandboxSetupsResource;
|
|
7381
|
+
}($Resource));
|
|
7382
|
+
export { SandboxSetupsResource };
|
|
7093
7383
|
var ScreensResource = /** @class */ (function (_super) {
|
|
7094
7384
|
__extends(ScreensResource, _super);
|
|
7095
7385
|
function ScreensResource() {
|
|
@@ -7716,6 +8006,22 @@ var ShopifyPromotionsResource = /** @class */ (function (_super) {
|
|
|
7716
8006
|
return ShopifyPromotionsResource;
|
|
7717
8007
|
}($Resource));
|
|
7718
8008
|
export { ShopifyPromotionsResource };
|
|
8009
|
+
var ShopifyStorePasswordsResource = /** @class */ (function (_super) {
|
|
8010
|
+
__extends(ShopifyStorePasswordsResource, _super);
|
|
8011
|
+
function ShopifyStorePasswordsResource() {
|
|
8012
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8013
|
+
}
|
|
8014
|
+
/*Returns the temporary password for the Shopify store*/
|
|
8015
|
+
ShopifyStorePasswordsResource.prototype.get = function (params) {
|
|
8016
|
+
return this.client.request({
|
|
8017
|
+
endpoint: "/jailhouse/restriction/".concat(encodeURIComponent(params.organization), "/shopify_shop_password"),
|
|
8018
|
+
headers: params.headers,
|
|
8019
|
+
method: 'GET',
|
|
8020
|
+
});
|
|
8021
|
+
};
|
|
8022
|
+
return ShopifyStorePasswordsResource;
|
|
8023
|
+
}($Resource));
|
|
8024
|
+
export { ShopifyStorePasswordsResource };
|
|
7719
8025
|
var ShopifyWebhookEventsResource = /** @class */ (function (_super) {
|
|
7720
8026
|
__extends(ShopifyWebhookEventsResource, _super);
|
|
7721
8027
|
function ShopifyWebhookEventsResource() {
|
|
@@ -7952,7 +8258,7 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
7952
8258
|
}
|
|
7953
8259
|
TestsResource.prototype.get = function (params) {
|
|
7954
8260
|
return this.client.request({
|
|
7955
|
-
endpoint:
|
|
8261
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test"),
|
|
7956
8262
|
headers: params.headers,
|
|
7957
8263
|
method: 'GET',
|
|
7958
8264
|
query: {
|
|
@@ -7966,14 +8272,14 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
7966
8272
|
TestsResource.prototype.post = function (params) {
|
|
7967
8273
|
return this.client.request({
|
|
7968
8274
|
body: params.body,
|
|
7969
|
-
endpoint:
|
|
8275
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test"),
|
|
7970
8276
|
headers: params.headers,
|
|
7971
8277
|
method: 'POST',
|
|
7972
8278
|
});
|
|
7973
8279
|
};
|
|
7974
8280
|
TestsResource.prototype.getById = function (params) {
|
|
7975
8281
|
return this.client.request({
|
|
7976
|
-
endpoint: "/test/".concat(encodeURIComponent(params.id)),
|
|
8282
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test/").concat(encodeURIComponent(params.id)),
|
|
7977
8283
|
headers: params.headers,
|
|
7978
8284
|
method: 'GET',
|
|
7979
8285
|
});
|
|
@@ -7981,14 +8287,14 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
7981
8287
|
TestsResource.prototype.putById = function (params) {
|
|
7982
8288
|
return this.client.request({
|
|
7983
8289
|
body: params.body,
|
|
7984
|
-
endpoint: "/test/".concat(encodeURIComponent(params.id)),
|
|
8290
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test/").concat(encodeURIComponent(params.id)),
|
|
7985
8291
|
headers: params.headers,
|
|
7986
8292
|
method: 'PUT',
|
|
7987
8293
|
});
|
|
7988
8294
|
};
|
|
7989
8295
|
TestsResource.prototype.deleteById = function (params) {
|
|
7990
8296
|
return this.client.request({
|
|
7991
|
-
endpoint: "/test/".concat(encodeURIComponent(params.id)),
|
|
8297
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test/").concat(encodeURIComponent(params.id)),
|
|
7992
8298
|
headers: params.headers,
|
|
7993
8299
|
method: 'DELETE',
|
|
7994
8300
|
});
|
|
@@ -8386,6 +8692,29 @@ var ViesResultsResource = /** @class */ (function (_super) {
|
|
|
8386
8692
|
return ViesResultsResource;
|
|
8387
8693
|
}($Resource));
|
|
8388
8694
|
export { ViesResultsResource };
|
|
8695
|
+
var WashCarrierActualFilesResource = /** @class */ (function (_super) {
|
|
8696
|
+
__extends(WashCarrierActualFilesResource, _super);
|
|
8697
|
+
function WashCarrierActualFilesResource() {
|
|
8698
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8699
|
+
}
|
|
8700
|
+
WashCarrierActualFilesResource.prototype.post = function (params) {
|
|
8701
|
+
return this.client.request({
|
|
8702
|
+
body: params.body,
|
|
8703
|
+
endpoint: '/internal/billing/wash/carrier/actual/files',
|
|
8704
|
+
headers: params.headers,
|
|
8705
|
+
method: 'POST',
|
|
8706
|
+
});
|
|
8707
|
+
};
|
|
8708
|
+
WashCarrierActualFilesResource.prototype.getById = function (params) {
|
|
8709
|
+
return this.client.request({
|
|
8710
|
+
endpoint: "/internal/billing/wash/carrier/actual/files/".concat(encodeURIComponent(params.id)),
|
|
8711
|
+
headers: params.headers,
|
|
8712
|
+
method: 'GET',
|
|
8713
|
+
});
|
|
8714
|
+
};
|
|
8715
|
+
return WashCarrierActualFilesResource;
|
|
8716
|
+
}($Resource));
|
|
8717
|
+
export { WashCarrierActualFilesResource };
|
|
8389
8718
|
var WashExportRequestsResource = /** @class */ (function (_super) {
|
|
8390
8719
|
__extends(WashExportRequestsResource, _super);
|
|
8391
8720
|
function WashExportRequestsResource() {
|
|
@@ -8477,6 +8806,7 @@ export function createClient(options) {
|
|
|
8477
8806
|
erpFlowFiles: new ErpFlowFilesResource(options),
|
|
8478
8807
|
erpFlowVendors: new ErpFlowVendorsResource(options),
|
|
8479
8808
|
erpPriorityFiles: new ErpPriorityFilesResource(options),
|
|
8809
|
+
erpPriorityVendors: new ErpPriorityVendorsResource(options),
|
|
8480
8810
|
erpVendorStatuses: new ErpVendorStatusesResource(options),
|
|
8481
8811
|
experiments: new ExperimentsResource(options),
|
|
8482
8812
|
experimentFormDefaults: new ExperimentFormDefaultsResource(options),
|
|
@@ -8504,6 +8834,7 @@ export function createClient(options) {
|
|
|
8504
8834
|
globalSearchResults: new GlobalSearchResultsResource(options),
|
|
8505
8835
|
googleShoppingSettings: new GoogleShoppingSettingsResource(options),
|
|
8506
8836
|
harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
|
|
8837
|
+
harmonizationThresholds: new HarmonizationThresholdsResource(options),
|
|
8507
8838
|
harmonizationUnclassifiedStatistics: new HarmonizationUnclassifiedStatisticsResource(options),
|
|
8508
8839
|
hs6: new Hs6Resource(options),
|
|
8509
8840
|
internalDebugTransactions: new InternalDebugTransactionsResource(options),
|
|
@@ -8512,6 +8843,7 @@ export function createClient(options) {
|
|
|
8512
8843
|
inventoryOrganizationSettings: new InventoryOrganizationSettingsResource(options),
|
|
8513
8844
|
notificationRequests: new NotificationRequestsResource(options),
|
|
8514
8845
|
invoiceWebhookResponses: new InvoiceWebhookResponsesResource(options),
|
|
8846
|
+
items: new ItemsResource(options),
|
|
8515
8847
|
channels: new ChannelsResource(options),
|
|
8516
8848
|
channelCurrencies: new ChannelCurrenciesResource(options),
|
|
8517
8849
|
checkoutReferences: new CheckoutReferencesResource(options),
|
|
@@ -8537,12 +8869,14 @@ export function createClient(options) {
|
|
|
8537
8869
|
contexts: new ContextsResource(options),
|
|
8538
8870
|
organizationSessions: new OrganizationSessionsResource(options),
|
|
8539
8871
|
shopifyOrders: new ShopifyOrdersResource(options),
|
|
8872
|
+
knowYourBusinesses: new KnowYourBusinessesResource(options),
|
|
8540
8873
|
shopifyCarts: new ShopifyCartsResource(options),
|
|
8541
8874
|
shopifyCartConversions: new ShopifyCartConversionsResource(options),
|
|
8542
8875
|
shopifyLocalizedVariants: new ShopifyLocalizedVariantsResource(options),
|
|
8543
8876
|
stripeEvents: new StripeEventsResource(options),
|
|
8544
8877
|
svbNotifications: new SvbNotificationsResource(options),
|
|
8545
8878
|
channelTokens: new ChannelTokensResource(options),
|
|
8879
|
+
trackings: new TrackingsResource(options),
|
|
8546
8880
|
itemClassifications: new ItemClassificationsResource(options),
|
|
8547
8881
|
itemClassificationSummaries: new ItemClassificationSummariesResource(options),
|
|
8548
8882
|
itemHarmonizations: new ItemHarmonizationsResource(options),
|
|
@@ -8560,7 +8894,6 @@ export function createClient(options) {
|
|
|
8560
8894
|
localizations: new LocalizationsResource(options),
|
|
8561
8895
|
localizedContents: new LocalizedContentsResource(options),
|
|
8562
8896
|
localizedItemsExportSettings: new LocalizedItemsExportSettingsResource(options),
|
|
8563
|
-
logisticsCenterChecks: new LogisticsCenterChecksResource(options),
|
|
8564
8897
|
loyaltyPrograms: new LoyaltyProgramsResource(options),
|
|
8565
8898
|
manualReviewRules: new ManualReviewRulesResource(options),
|
|
8566
8899
|
marketingGatewayChannels: new MarketingGatewayChannelsResource(options),
|
|
@@ -8593,6 +8926,7 @@ export function createClient(options) {
|
|
|
8593
8926
|
organizationAccounts: new OrganizationAccountsResource(options),
|
|
8594
8927
|
organizationBillingStatements: new OrganizationBillingStatementsResource(options),
|
|
8595
8928
|
organizationCurrencySettings: new OrganizationCurrencySettingsResource(options),
|
|
8929
|
+
organizationDeactivations: new OrganizationDeactivationsResource(options),
|
|
8596
8930
|
organizationDebugTransactions: new OrganizationDebugTransactionsResource(options),
|
|
8597
8931
|
organizationMembershipCopies: new OrganizationMembershipCopiesResource(options),
|
|
8598
8932
|
organizationOnboardingStateAuditResults: new OrganizationOnboardingStateAuditResultsResource(options),
|
|
@@ -8601,6 +8935,7 @@ export function createClient(options) {
|
|
|
8601
8935
|
organizationRestrictionStatuses: new OrganizationRestrictionStatusesResource(options),
|
|
8602
8936
|
organizationRestrictionStatusNotes: new OrganizationRestrictionStatusNotesResource(options),
|
|
8603
8937
|
organizationSettings: new OrganizationSettingsResource(options),
|
|
8938
|
+
organizationsAuditCheckReports: new OrganizationsAuditCheckReportsResource(options),
|
|
8604
8939
|
partners: new PartnersResource(options),
|
|
8605
8940
|
partnerAuthorizations: new PartnerAuthorizationsResource(options),
|
|
8606
8941
|
partnerMemberships: new PartnerMembershipsResource(options),
|
|
@@ -8616,6 +8951,7 @@ export function createClient(options) {
|
|
|
8616
8951
|
processorMerchants: new ProcessorMerchantsResource(options),
|
|
8617
8952
|
productClassifications: new ProductClassificationsResource(options),
|
|
8618
8953
|
productReviewHistories: new ProductReviewHistoriesResource(options),
|
|
8954
|
+
queuedRecords: new QueuedRecordsResource(options),
|
|
8619
8955
|
rateAndRuleLookups: new RateAndRuleLookupsResource(options),
|
|
8620
8956
|
rateLevels: new RateLevelsResource(options),
|
|
8621
8957
|
rateLevelOrganizations: new RateLevelOrganizationsResource(options),
|
|
@@ -8624,6 +8960,7 @@ export function createClient(options) {
|
|
|
8624
8960
|
ratecardStandardConfigurations: new RatecardStandardConfigurationsResource(options),
|
|
8625
8961
|
ratesNamesSummaries: new RatesNamesSummariesResource(options),
|
|
8626
8962
|
reboundConfigurations: new ReboundConfigurationsResource(options),
|
|
8963
|
+
reports: new ReportsResource(options),
|
|
8627
8964
|
reportRuleDecisions: new ReportRuleDecisionsResource(options),
|
|
8628
8965
|
reportSummary: new ReportSummaryResource(options),
|
|
8629
8966
|
restrictionCategories: new RestrictionCategoriesResource(options),
|
|
@@ -8634,6 +8971,7 @@ export function createClient(options) {
|
|
|
8634
8971
|
restrictionProducts: new RestrictionProductsResource(options),
|
|
8635
8972
|
restrictionRules: new RestrictionRulesResource(options),
|
|
8636
8973
|
routingEntities: new RoutingEntitiesResource(options),
|
|
8974
|
+
sandboxSetups: new SandboxSetupsResource(options),
|
|
8637
8975
|
screens: new ScreensResource(options),
|
|
8638
8976
|
searchProviderExports: new SearchProviderExportsResource(options),
|
|
8639
8977
|
sessionCountries: new SessionCountriesResource(options),
|
|
@@ -8655,6 +8993,7 @@ export function createClient(options) {
|
|
|
8655
8993
|
shopifyOrderFulfillmentsSnapshots: new ShopifyOrderFulfillmentsSnapshotsResource(options),
|
|
8656
8994
|
shopifyOrganizationSettings: new ShopifyOrganizationSettingsResource(options),
|
|
8657
8995
|
shopifyPromotions: new ShopifyPromotionsResource(options),
|
|
8996
|
+
shopifyStorePasswords: new ShopifyStorePasswordsResource(options),
|
|
8658
8997
|
shopifyWebhookEvents: new ShopifyWebhookEventsResource(options),
|
|
8659
8998
|
smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
|
|
8660
8999
|
snoozes: new SnoozesResource(options),
|
|
@@ -8677,6 +9016,7 @@ export function createClient(options) {
|
|
|
8677
9016
|
v1Checkouts: new V1CheckoutsResource(options),
|
|
8678
9017
|
v2Checkouts: new V2CheckoutsResource(options),
|
|
8679
9018
|
viesResults: new ViesResultsResource(options),
|
|
9019
|
+
washCarrierActualFiles: new WashCarrierActualFilesResource(options),
|
|
8680
9020
|
washExportRequests: new WashExportRequestsResource(options),
|
|
8681
9021
|
webhooks: new WebhooksResource(options),
|
|
8682
9022
|
};
|