@flowio/api-internal-sdk 0.0.122 → 0.0.124
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 +381 -40
- package/dist/esm/api-internal.js +376 -35
- package/dist/types/api-internal.d.ts +244 -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;
|
|
@@ -6947,6 +7221,7 @@ var RestrictionOrganizationDecisionSummariesResource = /** @class */ (function (
|
|
|
6947
7221
|
earliest_pending_date_after: params.earliest_pending_date_after,
|
|
6948
7222
|
earliest_pending_date_before: params.earliest_pending_date_before,
|
|
6949
7223
|
environment: params.environment,
|
|
7224
|
+
filter_orgs_with_pending_verifications: params.filter_orgs_with_pending_verifications,
|
|
6950
7225
|
limit: params.limit,
|
|
6951
7226
|
offset: params.offset,
|
|
6952
7227
|
organization_id: params.organization_id,
|
|
@@ -7090,6 +7365,22 @@ var RoutingEntitiesResource = /** @class */ (function (_super) {
|
|
|
7090
7365
|
return RoutingEntitiesResource;
|
|
7091
7366
|
}($Resource));
|
|
7092
7367
|
export { RoutingEntitiesResource };
|
|
7368
|
+
var SandboxSetupsResource = /** @class */ (function (_super) {
|
|
7369
|
+
__extends(SandboxSetupsResource, _super);
|
|
7370
|
+
function SandboxSetupsResource() {
|
|
7371
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
7372
|
+
}
|
|
7373
|
+
SandboxSetupsResource.prototype.put = function (params) {
|
|
7374
|
+
return this.client.request({
|
|
7375
|
+
body: params.body,
|
|
7376
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/merchant/config/sandbox/setup"),
|
|
7377
|
+
headers: params.headers,
|
|
7378
|
+
method: 'PUT',
|
|
7379
|
+
});
|
|
7380
|
+
};
|
|
7381
|
+
return SandboxSetupsResource;
|
|
7382
|
+
}($Resource));
|
|
7383
|
+
export { SandboxSetupsResource };
|
|
7093
7384
|
var ScreensResource = /** @class */ (function (_super) {
|
|
7094
7385
|
__extends(ScreensResource, _super);
|
|
7095
7386
|
function ScreensResource() {
|
|
@@ -7716,6 +8007,22 @@ var ShopifyPromotionsResource = /** @class */ (function (_super) {
|
|
|
7716
8007
|
return ShopifyPromotionsResource;
|
|
7717
8008
|
}($Resource));
|
|
7718
8009
|
export { ShopifyPromotionsResource };
|
|
8010
|
+
var ShopifyStorePasswordsResource = /** @class */ (function (_super) {
|
|
8011
|
+
__extends(ShopifyStorePasswordsResource, _super);
|
|
8012
|
+
function ShopifyStorePasswordsResource() {
|
|
8013
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8014
|
+
}
|
|
8015
|
+
/*Returns the temporary password for the Shopify store*/
|
|
8016
|
+
ShopifyStorePasswordsResource.prototype.get = function (params) {
|
|
8017
|
+
return this.client.request({
|
|
8018
|
+
endpoint: "/jailhouse/restriction/".concat(encodeURIComponent(params.organization), "/shopify_shop_password"),
|
|
8019
|
+
headers: params.headers,
|
|
8020
|
+
method: 'GET',
|
|
8021
|
+
});
|
|
8022
|
+
};
|
|
8023
|
+
return ShopifyStorePasswordsResource;
|
|
8024
|
+
}($Resource));
|
|
8025
|
+
export { ShopifyStorePasswordsResource };
|
|
7719
8026
|
var ShopifyWebhookEventsResource = /** @class */ (function (_super) {
|
|
7720
8027
|
__extends(ShopifyWebhookEventsResource, _super);
|
|
7721
8028
|
function ShopifyWebhookEventsResource() {
|
|
@@ -7952,7 +8259,7 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
7952
8259
|
}
|
|
7953
8260
|
TestsResource.prototype.get = function (params) {
|
|
7954
8261
|
return this.client.request({
|
|
7955
|
-
endpoint:
|
|
8262
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test"),
|
|
7956
8263
|
headers: params.headers,
|
|
7957
8264
|
method: 'GET',
|
|
7958
8265
|
query: {
|
|
@@ -7966,14 +8273,14 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
7966
8273
|
TestsResource.prototype.post = function (params) {
|
|
7967
8274
|
return this.client.request({
|
|
7968
8275
|
body: params.body,
|
|
7969
|
-
endpoint:
|
|
8276
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test"),
|
|
7970
8277
|
headers: params.headers,
|
|
7971
8278
|
method: 'POST',
|
|
7972
8279
|
});
|
|
7973
8280
|
};
|
|
7974
8281
|
TestsResource.prototype.getById = function (params) {
|
|
7975
8282
|
return this.client.request({
|
|
7976
|
-
endpoint: "/test/".concat(encodeURIComponent(params.id)),
|
|
8283
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test/").concat(encodeURIComponent(params.id)),
|
|
7977
8284
|
headers: params.headers,
|
|
7978
8285
|
method: 'GET',
|
|
7979
8286
|
});
|
|
@@ -7981,14 +8288,14 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
7981
8288
|
TestsResource.prototype.putById = function (params) {
|
|
7982
8289
|
return this.client.request({
|
|
7983
8290
|
body: params.body,
|
|
7984
|
-
endpoint: "/test/".concat(encodeURIComponent(params.id)),
|
|
8291
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test/").concat(encodeURIComponent(params.id)),
|
|
7985
8292
|
headers: params.headers,
|
|
7986
8293
|
method: 'PUT',
|
|
7987
8294
|
});
|
|
7988
8295
|
};
|
|
7989
8296
|
TestsResource.prototype.deleteById = function (params) {
|
|
7990
8297
|
return this.client.request({
|
|
7991
|
-
endpoint: "/test/".concat(encodeURIComponent(params.id)),
|
|
8298
|
+
endpoint: "/".concat(encodeURIComponent(params.organization), "/test/").concat(encodeURIComponent(params.id)),
|
|
7992
8299
|
headers: params.headers,
|
|
7993
8300
|
method: 'DELETE',
|
|
7994
8301
|
});
|
|
@@ -8386,6 +8693,29 @@ var ViesResultsResource = /** @class */ (function (_super) {
|
|
|
8386
8693
|
return ViesResultsResource;
|
|
8387
8694
|
}($Resource));
|
|
8388
8695
|
export { ViesResultsResource };
|
|
8696
|
+
var WashCarrierActualFilesResource = /** @class */ (function (_super) {
|
|
8697
|
+
__extends(WashCarrierActualFilesResource, _super);
|
|
8698
|
+
function WashCarrierActualFilesResource() {
|
|
8699
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8700
|
+
}
|
|
8701
|
+
WashCarrierActualFilesResource.prototype.post = function (params) {
|
|
8702
|
+
return this.client.request({
|
|
8703
|
+
body: params.body,
|
|
8704
|
+
endpoint: '/internal/billing/wash/carrier/actual/files',
|
|
8705
|
+
headers: params.headers,
|
|
8706
|
+
method: 'POST',
|
|
8707
|
+
});
|
|
8708
|
+
};
|
|
8709
|
+
WashCarrierActualFilesResource.prototype.getById = function (params) {
|
|
8710
|
+
return this.client.request({
|
|
8711
|
+
endpoint: "/internal/billing/wash/carrier/actual/files/".concat(encodeURIComponent(params.id)),
|
|
8712
|
+
headers: params.headers,
|
|
8713
|
+
method: 'GET',
|
|
8714
|
+
});
|
|
8715
|
+
};
|
|
8716
|
+
return WashCarrierActualFilesResource;
|
|
8717
|
+
}($Resource));
|
|
8718
|
+
export { WashCarrierActualFilesResource };
|
|
8389
8719
|
var WashExportRequestsResource = /** @class */ (function (_super) {
|
|
8390
8720
|
__extends(WashExportRequestsResource, _super);
|
|
8391
8721
|
function WashExportRequestsResource() {
|
|
@@ -8477,6 +8807,7 @@ export function createClient(options) {
|
|
|
8477
8807
|
erpFlowFiles: new ErpFlowFilesResource(options),
|
|
8478
8808
|
erpFlowVendors: new ErpFlowVendorsResource(options),
|
|
8479
8809
|
erpPriorityFiles: new ErpPriorityFilesResource(options),
|
|
8810
|
+
erpPriorityVendors: new ErpPriorityVendorsResource(options),
|
|
8480
8811
|
erpVendorStatuses: new ErpVendorStatusesResource(options),
|
|
8481
8812
|
experiments: new ExperimentsResource(options),
|
|
8482
8813
|
experimentFormDefaults: new ExperimentFormDefaultsResource(options),
|
|
@@ -8504,6 +8835,7 @@ export function createClient(options) {
|
|
|
8504
8835
|
globalSearchResults: new GlobalSearchResultsResource(options),
|
|
8505
8836
|
googleShoppingSettings: new GoogleShoppingSettingsResource(options),
|
|
8506
8837
|
harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
|
|
8838
|
+
harmonizationThresholds: new HarmonizationThresholdsResource(options),
|
|
8507
8839
|
harmonizationUnclassifiedStatistics: new HarmonizationUnclassifiedStatisticsResource(options),
|
|
8508
8840
|
hs6: new Hs6Resource(options),
|
|
8509
8841
|
internalDebugTransactions: new InternalDebugTransactionsResource(options),
|
|
@@ -8512,6 +8844,7 @@ export function createClient(options) {
|
|
|
8512
8844
|
inventoryOrganizationSettings: new InventoryOrganizationSettingsResource(options),
|
|
8513
8845
|
notificationRequests: new NotificationRequestsResource(options),
|
|
8514
8846
|
invoiceWebhookResponses: new InvoiceWebhookResponsesResource(options),
|
|
8847
|
+
items: new ItemsResource(options),
|
|
8515
8848
|
channels: new ChannelsResource(options),
|
|
8516
8849
|
channelCurrencies: new ChannelCurrenciesResource(options),
|
|
8517
8850
|
checkoutReferences: new CheckoutReferencesResource(options),
|
|
@@ -8537,12 +8870,14 @@ export function createClient(options) {
|
|
|
8537
8870
|
contexts: new ContextsResource(options),
|
|
8538
8871
|
organizationSessions: new OrganizationSessionsResource(options),
|
|
8539
8872
|
shopifyOrders: new ShopifyOrdersResource(options),
|
|
8873
|
+
knowYourBusinesses: new KnowYourBusinessesResource(options),
|
|
8540
8874
|
shopifyCarts: new ShopifyCartsResource(options),
|
|
8541
8875
|
shopifyCartConversions: new ShopifyCartConversionsResource(options),
|
|
8542
8876
|
shopifyLocalizedVariants: new ShopifyLocalizedVariantsResource(options),
|
|
8543
8877
|
stripeEvents: new StripeEventsResource(options),
|
|
8544
8878
|
svbNotifications: new SvbNotificationsResource(options),
|
|
8545
8879
|
channelTokens: new ChannelTokensResource(options),
|
|
8880
|
+
trackings: new TrackingsResource(options),
|
|
8546
8881
|
itemClassifications: new ItemClassificationsResource(options),
|
|
8547
8882
|
itemClassificationSummaries: new ItemClassificationSummariesResource(options),
|
|
8548
8883
|
itemHarmonizations: new ItemHarmonizationsResource(options),
|
|
@@ -8560,7 +8895,6 @@ export function createClient(options) {
|
|
|
8560
8895
|
localizations: new LocalizationsResource(options),
|
|
8561
8896
|
localizedContents: new LocalizedContentsResource(options),
|
|
8562
8897
|
localizedItemsExportSettings: new LocalizedItemsExportSettingsResource(options),
|
|
8563
|
-
logisticsCenterChecks: new LogisticsCenterChecksResource(options),
|
|
8564
8898
|
loyaltyPrograms: new LoyaltyProgramsResource(options),
|
|
8565
8899
|
manualReviewRules: new ManualReviewRulesResource(options),
|
|
8566
8900
|
marketingGatewayChannels: new MarketingGatewayChannelsResource(options),
|
|
@@ -8593,6 +8927,7 @@ export function createClient(options) {
|
|
|
8593
8927
|
organizationAccounts: new OrganizationAccountsResource(options),
|
|
8594
8928
|
organizationBillingStatements: new OrganizationBillingStatementsResource(options),
|
|
8595
8929
|
organizationCurrencySettings: new OrganizationCurrencySettingsResource(options),
|
|
8930
|
+
organizationDeactivations: new OrganizationDeactivationsResource(options),
|
|
8596
8931
|
organizationDebugTransactions: new OrganizationDebugTransactionsResource(options),
|
|
8597
8932
|
organizationMembershipCopies: new OrganizationMembershipCopiesResource(options),
|
|
8598
8933
|
organizationOnboardingStateAuditResults: new OrganizationOnboardingStateAuditResultsResource(options),
|
|
@@ -8601,6 +8936,7 @@ export function createClient(options) {
|
|
|
8601
8936
|
organizationRestrictionStatuses: new OrganizationRestrictionStatusesResource(options),
|
|
8602
8937
|
organizationRestrictionStatusNotes: new OrganizationRestrictionStatusNotesResource(options),
|
|
8603
8938
|
organizationSettings: new OrganizationSettingsResource(options),
|
|
8939
|
+
organizationsAuditCheckReports: new OrganizationsAuditCheckReportsResource(options),
|
|
8604
8940
|
partners: new PartnersResource(options),
|
|
8605
8941
|
partnerAuthorizations: new PartnerAuthorizationsResource(options),
|
|
8606
8942
|
partnerMemberships: new PartnerMembershipsResource(options),
|
|
@@ -8616,6 +8952,7 @@ export function createClient(options) {
|
|
|
8616
8952
|
processorMerchants: new ProcessorMerchantsResource(options),
|
|
8617
8953
|
productClassifications: new ProductClassificationsResource(options),
|
|
8618
8954
|
productReviewHistories: new ProductReviewHistoriesResource(options),
|
|
8955
|
+
queuedRecords: new QueuedRecordsResource(options),
|
|
8619
8956
|
rateAndRuleLookups: new RateAndRuleLookupsResource(options),
|
|
8620
8957
|
rateLevels: new RateLevelsResource(options),
|
|
8621
8958
|
rateLevelOrganizations: new RateLevelOrganizationsResource(options),
|
|
@@ -8624,6 +8961,7 @@ export function createClient(options) {
|
|
|
8624
8961
|
ratecardStandardConfigurations: new RatecardStandardConfigurationsResource(options),
|
|
8625
8962
|
ratesNamesSummaries: new RatesNamesSummariesResource(options),
|
|
8626
8963
|
reboundConfigurations: new ReboundConfigurationsResource(options),
|
|
8964
|
+
reports: new ReportsResource(options),
|
|
8627
8965
|
reportRuleDecisions: new ReportRuleDecisionsResource(options),
|
|
8628
8966
|
reportSummary: new ReportSummaryResource(options),
|
|
8629
8967
|
restrictionCategories: new RestrictionCategoriesResource(options),
|
|
@@ -8634,6 +8972,7 @@ export function createClient(options) {
|
|
|
8634
8972
|
restrictionProducts: new RestrictionProductsResource(options),
|
|
8635
8973
|
restrictionRules: new RestrictionRulesResource(options),
|
|
8636
8974
|
routingEntities: new RoutingEntitiesResource(options),
|
|
8975
|
+
sandboxSetups: new SandboxSetupsResource(options),
|
|
8637
8976
|
screens: new ScreensResource(options),
|
|
8638
8977
|
searchProviderExports: new SearchProviderExportsResource(options),
|
|
8639
8978
|
sessionCountries: new SessionCountriesResource(options),
|
|
@@ -8655,6 +8994,7 @@ export function createClient(options) {
|
|
|
8655
8994
|
shopifyOrderFulfillmentsSnapshots: new ShopifyOrderFulfillmentsSnapshotsResource(options),
|
|
8656
8995
|
shopifyOrganizationSettings: new ShopifyOrganizationSettingsResource(options),
|
|
8657
8996
|
shopifyPromotions: new ShopifyPromotionsResource(options),
|
|
8997
|
+
shopifyStorePasswords: new ShopifyStorePasswordsResource(options),
|
|
8658
8998
|
shopifyWebhookEvents: new ShopifyWebhookEventsResource(options),
|
|
8659
8999
|
smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
|
|
8660
9000
|
snoozes: new SnoozesResource(options),
|
|
@@ -8677,6 +9017,7 @@ export function createClient(options) {
|
|
|
8677
9017
|
v1Checkouts: new V1CheckoutsResource(options),
|
|
8678
9018
|
v2Checkouts: new V2CheckoutsResource(options),
|
|
8679
9019
|
viesResults: new ViesResultsResource(options),
|
|
9020
|
+
washCarrierActualFiles: new WashCarrierActualFilesResource(options),
|
|
8680
9021
|
washExportRequests: new WashExportRequestsResource(options),
|
|
8681
9022
|
webhooks: new WebhooksResource(options),
|
|
8682
9023
|
};
|