@elasticpath/js-sdk 33.7.1 → 34.0.1
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/index.cjs.js +25 -29
- package/dist/index.d.ts +36 -161
- package/dist/index.esm.js +25 -29
- package/dist/index.js +25 -29
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -530,7 +530,7 @@ if (!globalThis.fetch) {
|
|
|
530
530
|
globalThis.Response = fetch$1.Response;
|
|
531
531
|
}
|
|
532
532
|
|
|
533
|
-
var version = "
|
|
533
|
+
var version = "34.0.1";
|
|
534
534
|
|
|
535
535
|
var LocalStorageFactory = /*#__PURE__*/function () {
|
|
536
536
|
function LocalStorageFactory() {
|
|
@@ -2038,19 +2038,11 @@ var PCMEndpoint = /*#__PURE__*/function (_CRUDExtend) {
|
|
|
2038
2038
|
}
|
|
2039
2039
|
}, {
|
|
2040
2040
|
key: "ExportProducts",
|
|
2041
|
-
value: function ExportProducts(filter, useTemplateSlugs
|
|
2042
|
-
var body = columns ? {
|
|
2043
|
-
data: {
|
|
2044
|
-
type: 'product',
|
|
2045
|
-
attributes: {
|
|
2046
|
-
columns: columns
|
|
2047
|
-
}
|
|
2048
|
-
}
|
|
2049
|
-
} : undefined;
|
|
2041
|
+
value: function ExportProducts(filter, useTemplateSlugs) {
|
|
2050
2042
|
return this.request.send(buildURL("".concat(this.endpoint, "/export"), {
|
|
2051
2043
|
filter: filter,
|
|
2052
2044
|
useTemplateSlugs: useTemplateSlugs
|
|
2053
|
-
}), 'POST'
|
|
2045
|
+
}), 'POST');
|
|
2054
2046
|
}
|
|
2055
2047
|
}]);
|
|
2056
2048
|
return PCMEndpoint;
|
|
@@ -5496,17 +5488,6 @@ var Rules = /*#__PURE__*/function (_CRUDExtend4) {
|
|
|
5496
5488
|
var token = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
5497
5489
|
return this.request.send("catalogs/".concat(this.endpoint, "/").concat(catalogRuleId), "DELETE", token);
|
|
5498
5490
|
}
|
|
5499
|
-
}, {
|
|
5500
|
-
key: "Validate",
|
|
5501
|
-
value: function Validate(body) {
|
|
5502
|
-
var token = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
5503
|
-
var limit = this.limit,
|
|
5504
|
-
offset = this.offset;
|
|
5505
|
-
return this.request.send(buildURL("catalogs/".concat(this.endpoint, "/validate"), {
|
|
5506
|
-
limit: limit,
|
|
5507
|
-
offset: offset
|
|
5508
|
-
}), 'POST', body, token);
|
|
5509
|
-
}
|
|
5510
5491
|
}]);
|
|
5511
5492
|
return Rules;
|
|
5512
5493
|
}(CRUDExtend);
|
|
@@ -6091,21 +6072,36 @@ var CustomApiRolePoliciesEndpoint = /*#__PURE__*/function (_CRUDExtend) {
|
|
|
6091
6072
|
}
|
|
6092
6073
|
}, {
|
|
6093
6074
|
key: "GetCustomApiRolePolicies",
|
|
6094
|
-
value: function GetCustomApiRolePolicies(
|
|
6095
|
-
var
|
|
6075
|
+
value: function GetCustomApiRolePolicies() {
|
|
6076
|
+
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
6077
|
+
customApiId = _ref.customApiId,
|
|
6078
|
+
include = _ref.include;
|
|
6096
6079
|
var limit = this.limit,
|
|
6097
6080
|
offset = this.offset,
|
|
6098
6081
|
sort = this.sort;
|
|
6099
|
-
return this.request.send(buildURL("".concat(this.endpoint, "/custom-api-role-policies
|
|
6082
|
+
return this.request.send(buildURL("".concat(this.endpoint, "/custom-api-role-policies"), _objectSpread2(_objectSpread2({
|
|
6083
|
+
filter: {
|
|
6084
|
+
eq: {
|
|
6085
|
+
custom_api_id: customApiId
|
|
6086
|
+
}
|
|
6087
|
+
}
|
|
6088
|
+
}, include === 'role' && {
|
|
6089
|
+
include: include
|
|
6090
|
+
}), {}, {
|
|
6100
6091
|
limit: limit,
|
|
6101
6092
|
offset: offset,
|
|
6102
6093
|
sort: sort
|
|
6103
|
-
}), 'GET');
|
|
6094
|
+
})), 'GET');
|
|
6095
|
+
}
|
|
6096
|
+
}, {
|
|
6097
|
+
key: "GetStandardUserRoles",
|
|
6098
|
+
value: function GetStandardUserRoles() {
|
|
6099
|
+
return this.request.send("".concat(this.endpoint, "/standard-user-roles"), 'GET');
|
|
6104
6100
|
}
|
|
6105
6101
|
}, {
|
|
6106
|
-
key: "
|
|
6107
|
-
value: function
|
|
6108
|
-
return this.request.send("".concat(this.endpoint, "/
|
|
6102
|
+
key: "GetStandardShopperRoles",
|
|
6103
|
+
value: function GetStandardShopperRoles() {
|
|
6104
|
+
return this.request.send("".concat(this.endpoint, "/standard-shopper-roles"), 'GET');
|
|
6109
6105
|
}
|
|
6110
6106
|
}, {
|
|
6111
6107
|
key: "DeleteCustomApiRolePolicy",
|
package/dist/index.d.ts
CHANGED
|
@@ -1226,8 +1226,6 @@ interface PcmProductBase extends PcmProductRelationships {
|
|
|
1226
1226
|
components?: ProductComponents
|
|
1227
1227
|
custom_inputs?: CustomInputs
|
|
1228
1228
|
tags?: string[]
|
|
1229
|
-
admin_attributes?: { [key: string]: string }
|
|
1230
|
-
shopper_attributes?: { [key: string]: string }
|
|
1231
1229
|
}
|
|
1232
1230
|
}
|
|
1233
1231
|
|
|
@@ -1273,8 +1271,6 @@ interface ProductComponentOption {
|
|
|
1273
1271
|
id: string
|
|
1274
1272
|
quantity: number
|
|
1275
1273
|
type: string
|
|
1276
|
-
min?: number | null
|
|
1277
|
-
max?: number | null
|
|
1278
1274
|
sort_order?: number | null
|
|
1279
1275
|
default?: boolean
|
|
1280
1276
|
meta: {
|
|
@@ -1444,21 +1440,9 @@ interface PcmProductsEndpoint
|
|
|
1444
1440
|
/**
|
|
1445
1441
|
* Export products
|
|
1446
1442
|
* @param filter - products filters
|
|
1447
|
-
* @param useTemplateSlugs - use template slugs instead of template IDs
|
|
1448
|
-
* @param columns - select which columns to include in the exported CSV. Supports
|
|
1449
|
-
* individual keys (e.g. `admin_attributes.cost_of_goods`) and wildcards
|
|
1450
|
-
* (e.g. `admin_attributes.*`).
|
|
1451
1443
|
* @constructor
|
|
1452
1444
|
*/
|
|
1453
|
-
ExportProducts(
|
|
1454
|
-
filter?: PcmProductFilter,
|
|
1455
|
-
useTemplateSlugs?: boolean,
|
|
1456
|
-
columns?: PcmProductExportColumns
|
|
1457
|
-
): Promise<Resource<PcmJob>>
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
interface PcmProductExportColumns {
|
|
1461
|
-
include: string[]
|
|
1445
|
+
ExportProducts(filter?: PcmProductFilter, useTemplateSlugs?: boolean): Promise<Resource<PcmJob>>
|
|
1462
1446
|
}
|
|
1463
1447
|
|
|
1464
1448
|
/**
|
|
@@ -5383,44 +5367,6 @@ interface CatalogsProductVariation
|
|
|
5383
5367
|
options: Omit<Option, 'modifiers'>[]
|
|
5384
5368
|
}
|
|
5385
5369
|
|
|
5386
|
-
interface PriceTier {
|
|
5387
|
-
minimum_quantity: number
|
|
5388
|
-
amount: {
|
|
5389
|
-
[currency: string]: {
|
|
5390
|
-
amount: number
|
|
5391
|
-
includes_tax: boolean
|
|
5392
|
-
}
|
|
5393
|
-
}
|
|
5394
|
-
}
|
|
5395
|
-
|
|
5396
|
-
interface AvailablePrice {
|
|
5397
|
-
pricebook_id: string
|
|
5398
|
-
shopper_attributes?: { [key: string]: string }
|
|
5399
|
-
sale_id?: string
|
|
5400
|
-
sale_expires?: string
|
|
5401
|
-
price?: {
|
|
5402
|
-
[currency: string]: {
|
|
5403
|
-
amount: number
|
|
5404
|
-
includes_tax: boolean
|
|
5405
|
-
}
|
|
5406
|
-
}
|
|
5407
|
-
tiers?: { [tier: string]: PriceTier }
|
|
5408
|
-
}
|
|
5409
|
-
|
|
5410
|
-
interface AlternativePrice extends AvailablePrice {
|
|
5411
|
-
name: string
|
|
5412
|
-
display_price?: {
|
|
5413
|
-
without_tax?: FormattedPrice
|
|
5414
|
-
with_tax?: FormattedPrice
|
|
5415
|
-
}
|
|
5416
|
-
original_price?: {
|
|
5417
|
-
[currency: string]: {
|
|
5418
|
-
amount: number
|
|
5419
|
-
includes_tax: boolean
|
|
5420
|
-
}
|
|
5421
|
-
}
|
|
5422
|
-
}
|
|
5423
|
-
|
|
5424
5370
|
interface ProductResponse extends Identifiable {
|
|
5425
5371
|
type: 'product'
|
|
5426
5372
|
attributes: {
|
|
@@ -5450,9 +5396,6 @@ interface ProductResponse extends Identifiable {
|
|
|
5450
5396
|
weight: string
|
|
5451
5397
|
manufacturer_part_num?: string
|
|
5452
5398
|
extensions?: Extensions
|
|
5453
|
-
available_prices?: AvailablePrice[]
|
|
5454
|
-
alternative_prices?: { [name: string]: AlternativePrice }
|
|
5455
|
-
available_pricebook_ids?: string[]
|
|
5456
5399
|
}
|
|
5457
5400
|
meta: {
|
|
5458
5401
|
catalog_id?: string
|
|
@@ -5491,7 +5434,6 @@ interface ProductResponse extends Identifiable {
|
|
|
5491
5434
|
}
|
|
5492
5435
|
}
|
|
5493
5436
|
pricebook_id: string
|
|
5494
|
-
alternative_prices?: { [name: string]: AlternativePrice }
|
|
5495
5437
|
}
|
|
5496
5438
|
}
|
|
5497
5439
|
}
|
|
@@ -5884,14 +5826,6 @@ interface ReleaseBodyBase {
|
|
|
5884
5826
|
export_full_delta?: boolean
|
|
5885
5827
|
}
|
|
5886
5828
|
|
|
5887
|
-
type ReleaseIndexingStatus = 'succeeded' | 'failed'
|
|
5888
|
-
|
|
5889
|
-
interface ReleaseIndexingCompleteData {
|
|
5890
|
-
data: {
|
|
5891
|
-
status: ReleaseIndexingStatus
|
|
5892
|
-
}
|
|
5893
|
-
}
|
|
5894
|
-
|
|
5895
5829
|
interface CatalogsReleasesEndpoint {
|
|
5896
5830
|
endpoint: 'releases'
|
|
5897
5831
|
|
|
@@ -5954,7 +5888,6 @@ interface RuleBase {
|
|
|
5954
5888
|
customer_ids?: string[]
|
|
5955
5889
|
channels?: string[]
|
|
5956
5890
|
tags?: string[]
|
|
5957
|
-
pricebook_ids?: string[]
|
|
5958
5891
|
schedules?: {valid_from: string, valid_to: string}[]
|
|
5959
5892
|
}
|
|
5960
5893
|
}
|
|
@@ -5967,19 +5900,8 @@ interface Rule extends Identifiable, RuleBase {
|
|
|
5967
5900
|
|
|
5968
5901
|
// Do Not have any relationships yet //TODO
|
|
5969
5902
|
|
|
5970
|
-
interface RuleFilterAttributes {
|
|
5971
|
-
id?: string
|
|
5972
|
-
catalog_id?: string
|
|
5973
|
-
account_ids?: string
|
|
5974
|
-
customer_ids?: string
|
|
5975
|
-
channels?: string
|
|
5976
|
-
tags?: string
|
|
5977
|
-
pricebook_ids?: string
|
|
5978
|
-
}
|
|
5979
|
-
|
|
5980
5903
|
interface RuleFilter {
|
|
5981
|
-
|
|
5982
|
-
in?: Pick<RuleFilterAttributes, 'pricebook_ids'>
|
|
5904
|
+
// TODO
|
|
5983
5905
|
}
|
|
5984
5906
|
|
|
5985
5907
|
type RuleSort = // TODO
|
|
@@ -5992,55 +5914,10 @@ interface RuleUpdateBody extends RuleBase {
|
|
|
5992
5914
|
id: string
|
|
5993
5915
|
}
|
|
5994
5916
|
|
|
5995
|
-
type RuleValidationMatchType =
|
|
5996
|
-
| 'filter'
|
|
5997
|
-
| 'similarity'
|
|
5998
|
-
| 'conflict'
|
|
5999
|
-
| 'resolve_for_shopper'
|
|
6000
|
-
|
|
6001
|
-
interface RuleValidationCriteria {
|
|
6002
|
-
channels?: string[]
|
|
6003
|
-
tags?: string[]
|
|
6004
|
-
account_ids?: string[]
|
|
6005
|
-
account_tag_ids?: string[]
|
|
6006
|
-
customer_ids?: string[]
|
|
6007
|
-
}
|
|
6008
|
-
|
|
6009
|
-
interface CatalogRuleValidatorRequest {
|
|
6010
|
-
data: {
|
|
6011
|
-
type: 'catalog_rule_validator'
|
|
6012
|
-
match_type: RuleValidationMatchType
|
|
6013
|
-
catalog_id?: string
|
|
6014
|
-
pricebook_ids?: string[]
|
|
6015
|
-
schedules?: { valid_from: string; valid_to: string }[]
|
|
6016
|
-
attributes?: RuleValidationCriteria
|
|
6017
|
-
}
|
|
6018
|
-
}
|
|
6019
|
-
|
|
6020
|
-
interface RuleMeta {
|
|
6021
|
-
similarity_score?: number
|
|
6022
|
-
active?: boolean
|
|
6023
|
-
resolved_for_shopper?: boolean
|
|
6024
|
-
release_id?: string
|
|
6025
|
-
}
|
|
6026
|
-
|
|
6027
|
-
interface ValidatedRule extends Rule {
|
|
6028
|
-
meta?: RuleMeta
|
|
6029
|
-
}
|
|
6030
|
-
|
|
6031
|
-
type ValidateRulesResponse = ResourcePage<ValidatedRule>
|
|
6032
|
-
|
|
6033
5917
|
interface CatalogsRulesEndpoint
|
|
6034
5918
|
extends CrudQueryableResource<Rule, RuleBase, RuleUpdateBody, RuleFilter, RuleSort, RuleInclude> {
|
|
6035
5919
|
endpoint: 'rules'
|
|
6036
5920
|
id: string
|
|
6037
|
-
|
|
6038
|
-
/**
|
|
6039
|
-
* Validate Catalog Rules
|
|
6040
|
-
* @param body - validation request describing the match_type and rule criteria.
|
|
6041
|
-
* @param token - optional customer token.
|
|
6042
|
-
*/
|
|
6043
|
-
Validate(body: CatalogRuleValidatorRequest, token?: string): Promise<ValidateRulesResponse>
|
|
6044
5921
|
}
|
|
6045
5922
|
|
|
6046
5923
|
/**
|
|
@@ -9345,16 +9222,25 @@ interface MultiLocationInventoriesEndpoint {
|
|
|
9345
9222
|
GetMultipleStock(productIds: string[]): Promise<ResourceList<StockResponse>>
|
|
9346
9223
|
}
|
|
9347
9224
|
|
|
9348
|
-
interface
|
|
9225
|
+
interface StandardUserRole {
|
|
9349
9226
|
id: string
|
|
9350
|
-
type: '
|
|
9351
|
-
links: {
|
|
9352
|
-
|
|
9353
|
-
|
|
9227
|
+
type: 'standard_user_role'
|
|
9228
|
+
links: { self: string }
|
|
9229
|
+
name: string
|
|
9230
|
+
}
|
|
9231
|
+
|
|
9232
|
+
interface StandardShopperRole {
|
|
9233
|
+
id: string
|
|
9234
|
+
type: 'standard_shopper_role'
|
|
9235
|
+
links: { self: string }
|
|
9354
9236
|
name: string
|
|
9355
|
-
cm_user_assignable: boolean
|
|
9356
9237
|
}
|
|
9357
9238
|
|
|
9239
|
+
type StandardRole = StandardUserRole | StandardShopperRole
|
|
9240
|
+
type StandardRoleType = StandardRole['type']
|
|
9241
|
+
|
|
9242
|
+
type IncludedRole = Omit<StandardRole, 'links'>
|
|
9243
|
+
|
|
9358
9244
|
interface CustomApiRolePolicyBase {
|
|
9359
9245
|
data: {
|
|
9360
9246
|
type: 'custom_api_role_policy'
|
|
@@ -9374,18 +9260,8 @@ interface CustomApiRolePolicyRequestBody {
|
|
|
9374
9260
|
update: boolean
|
|
9375
9261
|
delete: boolean
|
|
9376
9262
|
relationships: {
|
|
9377
|
-
custom_api: {
|
|
9378
|
-
|
|
9379
|
-
type: 'custom_api'
|
|
9380
|
-
id: string
|
|
9381
|
-
}
|
|
9382
|
-
}
|
|
9383
|
-
role: {
|
|
9384
|
-
data: {
|
|
9385
|
-
type: 'built_in_role'
|
|
9386
|
-
id: string
|
|
9387
|
-
}
|
|
9388
|
-
}
|
|
9263
|
+
custom_api: { data: { type: 'custom_api'; id: string } }
|
|
9264
|
+
role: { data: { type: StandardRoleType; id: string } }
|
|
9389
9265
|
}
|
|
9390
9266
|
}
|
|
9391
9267
|
|
|
@@ -9393,22 +9269,10 @@ interface CustomApiRolePolicy {
|
|
|
9393
9269
|
id: string
|
|
9394
9270
|
type: 'custom_api_role_policy'
|
|
9395
9271
|
relationships: {
|
|
9396
|
-
custom_api: {
|
|
9397
|
-
|
|
9398
|
-
type: 'custom_api'
|
|
9399
|
-
id: string
|
|
9400
|
-
}
|
|
9401
|
-
}
|
|
9402
|
-
role: {
|
|
9403
|
-
data: {
|
|
9404
|
-
type: 'built_in_role'
|
|
9405
|
-
id: string
|
|
9406
|
-
}
|
|
9407
|
-
}
|
|
9408
|
-
}
|
|
9409
|
-
links: {
|
|
9410
|
-
self: string
|
|
9272
|
+
custom_api: { data: { type: 'custom_api'; id: string } }
|
|
9273
|
+
role: { data: { type: StandardRoleType; id: string } }
|
|
9411
9274
|
}
|
|
9275
|
+
links: { self: string }
|
|
9412
9276
|
meta: {
|
|
9413
9277
|
timestamps: {
|
|
9414
9278
|
created_at: string
|
|
@@ -9422,6 +9286,14 @@ interface CustomApiRolePolicy {
|
|
|
9422
9286
|
delete: boolean
|
|
9423
9287
|
}
|
|
9424
9288
|
|
|
9289
|
+
interface CustomApiRolePoliciesIncluded {
|
|
9290
|
+
role: IncludedRole[]
|
|
9291
|
+
}
|
|
9292
|
+
|
|
9293
|
+
interface CustomApiRolePoliciesResponse extends ResourceList<CustomApiRolePolicy> {
|
|
9294
|
+
included?: CustomApiRolePoliciesIncluded
|
|
9295
|
+
}
|
|
9296
|
+
|
|
9425
9297
|
interface CustomApiRolePoliciesEndpoint {
|
|
9426
9298
|
endpoint: 'permissions'
|
|
9427
9299
|
|
|
@@ -9436,9 +9308,12 @@ interface CustomApiRolePoliciesEndpoint {
|
|
|
9436
9308
|
|
|
9437
9309
|
GetCustomApiRolePolicies(args: {
|
|
9438
9310
|
customApiId: string
|
|
9439
|
-
|
|
9311
|
+
include?: 'role'
|
|
9312
|
+
}): Promise<CustomApiRolePoliciesResponse>
|
|
9313
|
+
|
|
9314
|
+
GetStandardUserRoles(): Promise<ResourceList<StandardUserRole>>
|
|
9440
9315
|
|
|
9441
|
-
|
|
9316
|
+
GetStandardShopperRoles(): Promise<ResourceList<StandardShopperRole>>
|
|
9442
9317
|
|
|
9443
9318
|
DeleteCustomApiRolePolicy(policyId: string): Promise<void>
|
|
9444
9319
|
}
|
|
@@ -9533,4 +9408,4 @@ declare namespace elasticpath {
|
|
|
9533
9408
|
}
|
|
9534
9409
|
}
|
|
9535
9410
|
|
|
9536
|
-
export { Account, AccountAddress, AccountAddressBase, AccountAddressEdit, AccountAddressFilter, AccountAddressFilterAttributes, AccountAddressesEndpoint, AccountAssociationData, AccountAssociationResponse, AccountAuthenticationSettings, AccountAuthenticationSettingsBase, AccountAuthenticationSettingsEndpoint, AccountBase, AccountEndpoint, AccountFilter, AccountManagementAuthenticationTokenBody, AccountMember, AccountMemberBase, AccountMemberFilter, AccountMembersEndpoint, AccountMembership, AccountMembershipCreateBody, AccountMembershipOnAccountMember, AccountMembershipSettings, AccountMembershipSettingsBase, AccountMembershipSettingsEndpoint, AccountMembershipsEndpoint, AccountMembershipsFilter, AccountMembershipsInclude, AccountMembershipsIncludeAccounts, AccountMembershipsIncluded, AccountMembershipsIncludedAccounts, AccountMembershipsOnAccountMember, AccountMembershipsResponse, AccountTag, AccountTagBase, AccountTagFilter, AccountTagMeta, AccountTagsEndpoint, AccountTokenBase, AccountUpdateBody, Action, ActionCondition, ActionLimitation, AddProductsItem, Address, AddressBase, AdyenPayment, AlternativePrice, AndCondition, AnonymizeOrder, AnonymizeOrderResponse, AnyValidationOptions, ApplicationKey, ApplicationKeyBase, ApplicationKeyResponse, ApplicationKeysEndpoint, Attribute, Attributes, AttributesMeta, AuthenticateResponseBody, AuthenticationRealmEndpoint, AuthenticationSettings, AuthenticationSettingsBase, AuthenticationSettingsEndpoint, AuthorizeNetPayment, AuthorizePaymentMethod, AvailablePrice, BooleanValidationOptions, BraintreePayment, Brand, BrandBase, BrandEndpoint, BrandFilter, BuildChildProductsJob, BuildRules, BuilderModifier, BuiltInRolePolicy, BulkAddOptions, BulkCustomDiscountOptions, BundleDiscountSchema, BundleGiftSchema, CapturePaymentMethod, CardConnectPayment, Cart, CartAdditionalHeaders, CartCustomDiscount, CartEndpoint, CartInclude, CartIncluded, CartItem, CartItemBase, CartItemObject, CartItemsResponse, CartSettings, CartShippingGroupBase, CartTaxItemObject, Catalog, CatalogBase, CatalogFilter, CatalogReleaseProductFilter, CatalogReleaseProductFilterAttributes, CatalogRuleValidatorRequest, CatalogUpdateBody, CatalogsEndpoint, CatalogsNodesEndpoint, CatalogsProductVariation, CatalogsProductsEndpoint, CatalogsReleasesEndpoint, CatalogsRulesEndpoint, Category, CategoryBase, CategoryEndpoint, CategoryFilter, CheckoutCustomer, CheckoutCustomerObject, Collection, CollectionBase, CollectionEndpoint, CollectionFilter, CommonValidationOptions, Condition, Conditions, Config, ConfigOptions, ConfirmPaymentBody, ConfirmPaymentBodyWithOptions, ConfirmPaymentResponse, CreateCartObject, CreateChildrenSortOrderBody, CreateCustomRelationshipBody, CreateLocationBody, CrudQueryableResource, Currency, CurrencyAmount, CurrencyBase, CurrencyEndpoint, CurrencyPercentage, CustomApi, CustomApiBase, CustomApiField, CustomApiFieldBase, CustomApiRolePoliciesEndpoint, CustomApiRolePolicy, CustomApiRolePolicyBase, CustomApiRolePolicyRequestBody, CustomApisEndpoint, CustomAuthenticatorResponseBody, CustomDiscount, CustomDiscountResponse, CustomFieldValidation, CustomInputs, CustomInputsValidationRules, CustomRelationship, CustomRelationshipBase, CustomRelationshipBaseAttributes, CustomRelationshipEntry, CustomRelationshipsEndpoint, CustomRelationshipsFilter, CustomRelationshipsListResponse, Customer, CustomerAddress, CustomerAddressBase, CustomerAddressEdit, CustomerAddressesEndpoint, CustomerBase, CustomerFilter, CustomerInclude, CustomerToken, CustomersEndpoint, CyberSourcePayment, DataEntriesEndpoint, DataEntryRecord, DeletePromotionCodesBodyItem, DeleteRulePromotionCodes, DuplicateHierarchyBody, DuplicateHierarchyJob, ElasticPath, ElasticPathStripePayment, ErasureRequestRecord, ErasureRequestsEndpoint, Exclude$1 as Exclude, Extensions, Field, FieldBase, FieldType, FieldsEndpoint, File, FileBase, FileEndpoint, FileFilter, FileHref, FixedDiscountSchema, FloatValidationOptions, Flow, FlowBase, FlowEndpoint, FlowFilter, FormattedPrice, Gateway, GatewayBase, GatewaysEndpoint, GeolocationDetails, GrantType, HierarchiesEndpoint, HierarchiesShopperCatalogEndpoint, Hierarchy, HierarchyBase, HierarchyFilter, HttpVerbs, Identifiable, IntegerValidationOptions, Integration, IntegrationBase, IntegrationEndpoint, IntegrationFilter, IntegrationJob, IntegrationLog, IntegrationLogMeta, IntegrationLogsResponse, Inventory, InventoryActionTypes, InventoryBase, InventoryEndpoint, InventoryResourceType, InventoryResponse, InvoicingResult, ItemFixedDiscountSchema, ItemPercentDiscountSchema, ItemTaxObject, ItemTaxObjectResponse, Job, JobBase, JobEndpoint, ListValidationOptions, LocalStorageFactory, Locales, Location, LocationAttributes, LocationBase, LocationCreateQuantity, LocationMeta, LocationQuantities, LocationUpdateQuantity, LocationsEndpoint, LogIntegration, ManualPayment, MatrixObject, MemoryStorageFactory, MerchantRealmMappings, MerchantRealmMappingsEndpoint, MergeCartOptions, MetricsBase, MetricsEndpoint, MetricsFilter, MetricsQuery, MetricsV2Query, Modifier, ModifierResponse, ModifierType, ModifierTypeObj, MultiLocationInventoriesEndpoint, MultiLocationInventoryFilter, MultiLocationInventoryResponse, Node, NodeBase, NodeBaseResponse, NodeFilter, NodeProduct, NodeProductResponse, NodeRelationship, NodeRelationshipBase, NodeRelationshipParent, NodeRelationshipsEndpoint, NodesEndpoint, NodesResponse, NodesShopperCatalogEndpoint, NonAssociatedProductEntry, OidcProfileEndpoint, OnboardingLinkResponse, OneTimePasswordTokenRequestBody, OneTimePasswordTokenRequestEndpoint, Option, OptionResponse, Order, OrderAddressBase, OrderBase, OrderBillingAddress, OrderCountTimeSeries, OrderDiscountTimeSeries, OrderFilter, OrderInclude, OrderIncluded, OrderItem, OrderItemBase, OrderMetricsSummary, OrderResponse, OrderShippingAddress, OrderSort, OrderSortAscend, OrderSortDescend, OrderValueTimeSeries, OrdersEndpoint, PCMVariation, PCMVariationBase, PCMVariationMetaOption, PCMVariationOption, PCMVariationOptionBase, PCMVariationsEndpoint, PartialPcmProductBase, PasswordProfile, PasswordProfileBody, PasswordProfileEndpoint, PasswordProfileListItem, PasswordProfileResponse, PayPalExpressCheckoutPayment, PaymentMethod, PaymentRequestBody, PcmCustomRelationshipEndpoint, PcmFileRelationship, PcmFileRelationshipEndpoint, PcmJob, PcmJobBase, PcmJobError, PcmJobsEndpoint, PcmMainImageRelationship, PcmMainImageRelationshipEndpoint, PcmProduct, PcmProductAttachmentBody, PcmProductAttachmentResponse, PcmProductBase, PcmProductEntry, PcmProductExportColumns, PcmProductFilter, PcmProductInclude, PcmProductRelationships, PcmProductResponse, PcmProductUpdateBody, PcmProductsEndpoint, PcmProductsResponse, PcmTemplateRelationship, PcmTemplateRelationshipEndpoint, PcmVariationsRelationshipResource, PcmVariationsRelationships, PcmVariationsRelationshipsEndpoint, PercentDiscountSchema, PersonalDataEndpoint, PersonalDataRecord, Presentation, Price, PriceBook, PriceBookBase, PriceBookFilter, PriceBookPrice, PriceBookPriceBase, PriceBookPriceModifier, PriceBookPriceModifierBase, PriceBookPriceModifierEndpoint, PriceBookPricesCreateBody, PriceBookPricesEndpoint, PriceBookPricesUpdateBody, PriceBooksEndpoint, PriceBooksUpdateBody, PriceTier, PricesFilter, Product, ProductAssociationResponse, ProductBase, ProductComponentOption, ProductComponents, ProductFileRelationshipResource, ProductFilter, ProductResponse, ProductTemplateRelationshipResource, ProductsEndpoint, Profile, ProfileBase, ProfileCreateUpdateBody, ProfileListItem, ProfileResponse, ProfileResponseBody, Promotion, PromotionAttribute, PromotionAttributeValues, PromotionBase, PromotionCode, PromotionCodesJob, PromotionFilter, PromotionJob, PromotionMeta, PromotionSettings, PromotionsEndpoint, PurchasePaymentMethod, QueryableResource, Realm, RealmBase, RealmCreateBody, RealmUpdateBody, RefundPaymentMethod, Relationship, RelationshipToMany, RelationshipToOne, ReleaseBase, ReleaseBodyBase, ReleaseIndexingCompleteData, ReleaseIndexingStatus, ReleaseResponse, RequestFactory, Requirements, Resource, ResourceIncluded, ResourceList, ResourcePage, Rule, RuleBase, RuleFilter, RuleFilterAttributes, RuleMeta, RulePromotion, RulePromotionBase, RulePromotionCode, RulePromotionCodesJob, RulePromotionFilter, RulePromotionJob, RulePromotionMeta, RulePromotionsEndpoint, RuleUpdateBody, RuleValidationCriteria, RuleValidationMatchType, Settings, SettingsEndpoint, ShippingGroupBase, ShippingGroupResponse, ShippingIncluded, ShopperCatalogEndpoint, ShopperCatalogProductsEndpoint, ShopperCatalogReleaseBase, ShopperCatalogResource, ShopperCatalogResourceList, ShopperCatalogResourcePage, SimpleResourcePageResponse, StockAttributes, StockCreate, StockLocationsMap, StockResponse, StockUpdate, StorageFactory, StringValidationOptions, StripeConnectPayment, StripeIntentsPayment, StripePayment, StripePaymentBase, StripePaymentOptionBase, Subscription, SubscriptionBase, SubscriptionCreate, SubscriptionDunningRules, SubscriptionDunningRulesBase, SubscriptionDunningRulesCreate, SubscriptionDunningRulesEndpoint, SubscriptionDunningRulesUpdate, SubscriptionFilter, SubscriptionInvoice, SubscriptionInvoiceBase, SubscriptionInvoiceFilter, SubscriptionInvoicePayment, SubscriptionInvoicePaymentBase, SubscriptionInvoicesEndpoint, SubscriptionJob, SubscriptionJobBase, SubscriptionJobCreate, SubscriptionJobsEndpoint, SubscriptionOffering, SubscriptionOfferingAttachPlanBody, SubscriptionOfferingAttachProductBody, SubscriptionOfferingAttachProrationPolicyBody, SubscriptionOfferingBase, SubscriptionOfferingBuildBody, SubscriptionOfferingBuildProduct, SubscriptionOfferingCreate, SubscriptionOfferingFilter, SubscriptionOfferingPlan, SubscriptionOfferingProduct, SubscriptionOfferingRelationships, SubscriptionOfferingUpdate, SubscriptionOfferingsEndpoint, SubscriptionPlan, SubscriptionPlanBase, SubscriptionPlanCreate, SubscriptionPlanUpdate, SubscriptionPlansEndpoint, SubscriptionProduct, SubscriptionProductBase, SubscriptionProductCreate, SubscriptionProductUpdate, SubscriptionProductsEndpoint, SubscriptionProrationPoliciesEndpoint, SubscriptionProrationPolicy, SubscriptionProrationPolicyBase, SubscriptionProrationPolicyCreate, SubscriptionProrationPolicyUpdate, SubscriptionSchedule, SubscriptionScheduleBase, SubscriptionScheduleCreate, SubscriptionScheduleUpdate, SubscriptionSchedulesEndpoint, SubscriptionSettings, SubscriptionSubscriber, SubscriptionSubscriberBase, SubscriptionSubscriberCreate, SubscriptionSubscriberUpdate, SubscriptionSubscribersEndpoint, SubscriptionUpdate, SubscriptionsEndpoint, SubscriptionsInclude, SubscriptionsIncluded, SubscriptionsStateAction, Subset, TargetCondition, Timestamps, Transaction, TransactionBase, TransactionEndpoint, TransactionsResponse, TtlSettings, UpdateCustomRelationshipBody, UpdateLocationBody, UpdateNodeBody, UpdateVariationBody, UpdateVariationOptionBody, UserAuthenticationInfo, UserAuthenticationInfoBody, UserAuthenticationInfoEndpoint, UserAuthenticationInfoFilter, UserAuthenticationInfoResponse, UserAuthenticationPasswordProfile, UserAuthenticationPasswordProfileBody, UserAuthenticationPasswordProfileEndpoint, UserAuthenticationPasswordProfileResponse, UserAuthenticationPasswordProfileUpdateBody, ValidateRulesResponse, ValidatedRule, Validation, ValidationOptionsMap, Variation, VariationBase, VariationsBuilderModifier, VariationsEndpoint, VariationsModifier, VariationsModifierResponse, VariationsModifierType, VariationsModifierTypeObj, XforAmountSchema, XforYSchema, createJob, elasticpath, gateway };
|
|
9411
|
+
export { Account, AccountAddress, AccountAddressBase, AccountAddressEdit, AccountAddressFilter, AccountAddressFilterAttributes, AccountAddressesEndpoint, AccountAssociationData, AccountAssociationResponse, AccountAuthenticationSettings, AccountAuthenticationSettingsBase, AccountAuthenticationSettingsEndpoint, AccountBase, AccountEndpoint, AccountFilter, AccountManagementAuthenticationTokenBody, AccountMember, AccountMemberBase, AccountMemberFilter, AccountMembersEndpoint, AccountMembership, AccountMembershipCreateBody, AccountMembershipOnAccountMember, AccountMembershipSettings, AccountMembershipSettingsBase, AccountMembershipSettingsEndpoint, AccountMembershipsEndpoint, AccountMembershipsFilter, AccountMembershipsInclude, AccountMembershipsIncludeAccounts, AccountMembershipsIncluded, AccountMembershipsIncludedAccounts, AccountMembershipsOnAccountMember, AccountMembershipsResponse, AccountTag, AccountTagBase, AccountTagFilter, AccountTagMeta, AccountTagsEndpoint, AccountTokenBase, AccountUpdateBody, Action, ActionCondition, ActionLimitation, AddProductsItem, Address, AddressBase, AdyenPayment, AndCondition, AnonymizeOrder, AnonymizeOrderResponse, AnyValidationOptions, ApplicationKey, ApplicationKeyBase, ApplicationKeyResponse, ApplicationKeysEndpoint, Attribute, Attributes, AttributesMeta, AuthenticateResponseBody, AuthenticationRealmEndpoint, AuthenticationSettings, AuthenticationSettingsBase, AuthenticationSettingsEndpoint, AuthorizeNetPayment, AuthorizePaymentMethod, BooleanValidationOptions, BraintreePayment, Brand, BrandBase, BrandEndpoint, BrandFilter, BuildChildProductsJob, BuildRules, BuilderModifier, BulkAddOptions, BulkCustomDiscountOptions, BundleDiscountSchema, BundleGiftSchema, CapturePaymentMethod, CardConnectPayment, Cart, CartAdditionalHeaders, CartCustomDiscount, CartEndpoint, CartInclude, CartIncluded, CartItem, CartItemBase, CartItemObject, CartItemsResponse, CartSettings, CartShippingGroupBase, CartTaxItemObject, Catalog, CatalogBase, CatalogFilter, CatalogReleaseProductFilter, CatalogReleaseProductFilterAttributes, CatalogUpdateBody, CatalogsEndpoint, CatalogsNodesEndpoint, CatalogsProductVariation, CatalogsProductsEndpoint, CatalogsReleasesEndpoint, CatalogsRulesEndpoint, Category, CategoryBase, CategoryEndpoint, CategoryFilter, CheckoutCustomer, CheckoutCustomerObject, Collection, CollectionBase, CollectionEndpoint, CollectionFilter, CommonValidationOptions, Condition, Conditions, Config, ConfigOptions, ConfirmPaymentBody, ConfirmPaymentBodyWithOptions, ConfirmPaymentResponse, CreateCartObject, CreateChildrenSortOrderBody, CreateCustomRelationshipBody, CreateLocationBody, CrudQueryableResource, Currency, CurrencyAmount, CurrencyBase, CurrencyEndpoint, CurrencyPercentage, CustomApi, CustomApiBase, CustomApiField, CustomApiFieldBase, CustomApiRolePoliciesEndpoint, CustomApiRolePoliciesIncluded, CustomApiRolePoliciesResponse, CustomApiRolePolicy, CustomApiRolePolicyBase, CustomApiRolePolicyRequestBody, CustomApisEndpoint, CustomAuthenticatorResponseBody, CustomDiscount, CustomDiscountResponse, CustomFieldValidation, CustomInputs, CustomInputsValidationRules, CustomRelationship, CustomRelationshipBase, CustomRelationshipBaseAttributes, CustomRelationshipEntry, CustomRelationshipsEndpoint, CustomRelationshipsFilter, CustomRelationshipsListResponse, Customer, CustomerAddress, CustomerAddressBase, CustomerAddressEdit, CustomerAddressesEndpoint, CustomerBase, CustomerFilter, CustomerInclude, CustomerToken, CustomersEndpoint, CyberSourcePayment, DataEntriesEndpoint, DataEntryRecord, DeletePromotionCodesBodyItem, DeleteRulePromotionCodes, DuplicateHierarchyBody, DuplicateHierarchyJob, ElasticPath, ElasticPathStripePayment, ErasureRequestRecord, ErasureRequestsEndpoint, Exclude$1 as Exclude, Extensions, Field, FieldBase, FieldType, FieldsEndpoint, File, FileBase, FileEndpoint, FileFilter, FileHref, FixedDiscountSchema, FloatValidationOptions, Flow, FlowBase, FlowEndpoint, FlowFilter, FormattedPrice, Gateway, GatewayBase, GatewaysEndpoint, GeolocationDetails, GrantType, HierarchiesEndpoint, HierarchiesShopperCatalogEndpoint, Hierarchy, HierarchyBase, HierarchyFilter, HttpVerbs, Identifiable, IncludedRole, IntegerValidationOptions, Integration, IntegrationBase, IntegrationEndpoint, IntegrationFilter, IntegrationJob, IntegrationLog, IntegrationLogMeta, IntegrationLogsResponse, Inventory, InventoryActionTypes, InventoryBase, InventoryEndpoint, InventoryResourceType, InventoryResponse, InvoicingResult, ItemFixedDiscountSchema, ItemPercentDiscountSchema, ItemTaxObject, ItemTaxObjectResponse, Job, JobBase, JobEndpoint, ListValidationOptions, LocalStorageFactory, Locales, Location, LocationAttributes, LocationBase, LocationCreateQuantity, LocationMeta, LocationQuantities, LocationUpdateQuantity, LocationsEndpoint, LogIntegration, ManualPayment, MatrixObject, MemoryStorageFactory, MerchantRealmMappings, MerchantRealmMappingsEndpoint, MergeCartOptions, MetricsBase, MetricsEndpoint, MetricsFilter, MetricsQuery, MetricsV2Query, Modifier, ModifierResponse, ModifierType, ModifierTypeObj, MultiLocationInventoriesEndpoint, MultiLocationInventoryFilter, MultiLocationInventoryResponse, Node, NodeBase, NodeBaseResponse, NodeFilter, NodeProduct, NodeProductResponse, NodeRelationship, NodeRelationshipBase, NodeRelationshipParent, NodeRelationshipsEndpoint, NodesEndpoint, NodesResponse, NodesShopperCatalogEndpoint, NonAssociatedProductEntry, OidcProfileEndpoint, OnboardingLinkResponse, OneTimePasswordTokenRequestBody, OneTimePasswordTokenRequestEndpoint, Option, OptionResponse, Order, OrderAddressBase, OrderBase, OrderBillingAddress, OrderCountTimeSeries, OrderDiscountTimeSeries, OrderFilter, OrderInclude, OrderIncluded, OrderItem, OrderItemBase, OrderMetricsSummary, OrderResponse, OrderShippingAddress, OrderSort, OrderSortAscend, OrderSortDescend, OrderValueTimeSeries, OrdersEndpoint, PCMVariation, PCMVariationBase, PCMVariationMetaOption, PCMVariationOption, PCMVariationOptionBase, PCMVariationsEndpoint, PartialPcmProductBase, PasswordProfile, PasswordProfileBody, PasswordProfileEndpoint, PasswordProfileListItem, PasswordProfileResponse, PayPalExpressCheckoutPayment, PaymentMethod, PaymentRequestBody, PcmCustomRelationshipEndpoint, PcmFileRelationship, PcmFileRelationshipEndpoint, PcmJob, PcmJobBase, PcmJobError, PcmJobsEndpoint, PcmMainImageRelationship, PcmMainImageRelationshipEndpoint, PcmProduct, PcmProductAttachmentBody, PcmProductAttachmentResponse, PcmProductBase, PcmProductEntry, PcmProductFilter, PcmProductInclude, PcmProductRelationships, PcmProductResponse, PcmProductUpdateBody, PcmProductsEndpoint, PcmProductsResponse, PcmTemplateRelationship, PcmTemplateRelationshipEndpoint, PcmVariationsRelationshipResource, PcmVariationsRelationships, PcmVariationsRelationshipsEndpoint, PercentDiscountSchema, PersonalDataEndpoint, PersonalDataRecord, Presentation, Price, PriceBook, PriceBookBase, PriceBookFilter, PriceBookPrice, PriceBookPriceBase, PriceBookPriceModifier, PriceBookPriceModifierBase, PriceBookPriceModifierEndpoint, PriceBookPricesCreateBody, PriceBookPricesEndpoint, PriceBookPricesUpdateBody, PriceBooksEndpoint, PriceBooksUpdateBody, PricesFilter, Product, ProductAssociationResponse, ProductBase, ProductComponentOption, ProductComponents, ProductFileRelationshipResource, ProductFilter, ProductResponse, ProductTemplateRelationshipResource, ProductsEndpoint, Profile, ProfileBase, ProfileCreateUpdateBody, ProfileListItem, ProfileResponse, ProfileResponseBody, Promotion, PromotionAttribute, PromotionAttributeValues, PromotionBase, PromotionCode, PromotionCodesJob, PromotionFilter, PromotionJob, PromotionMeta, PromotionSettings, PromotionsEndpoint, PurchasePaymentMethod, QueryableResource, Realm, RealmBase, RealmCreateBody, RealmUpdateBody, RefundPaymentMethod, Relationship, RelationshipToMany, RelationshipToOne, ReleaseBase, ReleaseBodyBase, ReleaseResponse, RequestFactory, Requirements, Resource, ResourceIncluded, ResourceList, ResourcePage, Rule, RuleBase, RuleFilter, RulePromotion, RulePromotionBase, RulePromotionCode, RulePromotionCodesJob, RulePromotionFilter, RulePromotionJob, RulePromotionMeta, RulePromotionsEndpoint, RuleUpdateBody, Settings, SettingsEndpoint, ShippingGroupBase, ShippingGroupResponse, ShippingIncluded, ShopperCatalogEndpoint, ShopperCatalogProductsEndpoint, ShopperCatalogReleaseBase, ShopperCatalogResource, ShopperCatalogResourceList, ShopperCatalogResourcePage, SimpleResourcePageResponse, StandardRole, StandardRoleType, StandardShopperRole, StandardUserRole, StockAttributes, StockCreate, StockLocationsMap, StockResponse, StockUpdate, StorageFactory, StringValidationOptions, StripeConnectPayment, StripeIntentsPayment, StripePayment, StripePaymentBase, StripePaymentOptionBase, Subscription, SubscriptionBase, SubscriptionCreate, SubscriptionDunningRules, SubscriptionDunningRulesBase, SubscriptionDunningRulesCreate, SubscriptionDunningRulesEndpoint, SubscriptionDunningRulesUpdate, SubscriptionFilter, SubscriptionInvoice, SubscriptionInvoiceBase, SubscriptionInvoiceFilter, SubscriptionInvoicePayment, SubscriptionInvoicePaymentBase, SubscriptionInvoicesEndpoint, SubscriptionJob, SubscriptionJobBase, SubscriptionJobCreate, SubscriptionJobsEndpoint, SubscriptionOffering, SubscriptionOfferingAttachPlanBody, SubscriptionOfferingAttachProductBody, SubscriptionOfferingAttachProrationPolicyBody, SubscriptionOfferingBase, SubscriptionOfferingBuildBody, SubscriptionOfferingBuildProduct, SubscriptionOfferingCreate, SubscriptionOfferingFilter, SubscriptionOfferingPlan, SubscriptionOfferingProduct, SubscriptionOfferingRelationships, SubscriptionOfferingUpdate, SubscriptionOfferingsEndpoint, SubscriptionPlan, SubscriptionPlanBase, SubscriptionPlanCreate, SubscriptionPlanUpdate, SubscriptionPlansEndpoint, SubscriptionProduct, SubscriptionProductBase, SubscriptionProductCreate, SubscriptionProductUpdate, SubscriptionProductsEndpoint, SubscriptionProrationPoliciesEndpoint, SubscriptionProrationPolicy, SubscriptionProrationPolicyBase, SubscriptionProrationPolicyCreate, SubscriptionProrationPolicyUpdate, SubscriptionSchedule, SubscriptionScheduleBase, SubscriptionScheduleCreate, SubscriptionScheduleUpdate, SubscriptionSchedulesEndpoint, SubscriptionSettings, SubscriptionSubscriber, SubscriptionSubscriberBase, SubscriptionSubscriberCreate, SubscriptionSubscriberUpdate, SubscriptionSubscribersEndpoint, SubscriptionUpdate, SubscriptionsEndpoint, SubscriptionsInclude, SubscriptionsIncluded, SubscriptionsStateAction, Subset, TargetCondition, Timestamps, Transaction, TransactionBase, TransactionEndpoint, TransactionsResponse, TtlSettings, UpdateCustomRelationshipBody, UpdateLocationBody, UpdateNodeBody, UpdateVariationBody, UpdateVariationOptionBody, UserAuthenticationInfo, UserAuthenticationInfoBody, UserAuthenticationInfoEndpoint, UserAuthenticationInfoFilter, UserAuthenticationInfoResponse, UserAuthenticationPasswordProfile, UserAuthenticationPasswordProfileBody, UserAuthenticationPasswordProfileEndpoint, UserAuthenticationPasswordProfileResponse, UserAuthenticationPasswordProfileUpdateBody, Validation, ValidationOptionsMap, Variation, VariationBase, VariationsBuilderModifier, VariationsEndpoint, VariationsModifier, VariationsModifierResponse, VariationsModifierType, VariationsModifierTypeObj, XforAmountSchema, XforYSchema, createJob, elasticpath, gateway };
|
package/dist/index.esm.js
CHANGED
|
@@ -519,7 +519,7 @@ if (!globalThis.fetch) {
|
|
|
519
519
|
globalThis.Response = Response;
|
|
520
520
|
}
|
|
521
521
|
|
|
522
|
-
var version = "
|
|
522
|
+
var version = "34.0.1";
|
|
523
523
|
|
|
524
524
|
var LocalStorageFactory = /*#__PURE__*/function () {
|
|
525
525
|
function LocalStorageFactory() {
|
|
@@ -2027,19 +2027,11 @@ var PCMEndpoint = /*#__PURE__*/function (_CRUDExtend) {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
}, {
|
|
2029
2029
|
key: "ExportProducts",
|
|
2030
|
-
value: function ExportProducts(filter, useTemplateSlugs
|
|
2031
|
-
var body = columns ? {
|
|
2032
|
-
data: {
|
|
2033
|
-
type: 'product',
|
|
2034
|
-
attributes: {
|
|
2035
|
-
columns: columns
|
|
2036
|
-
}
|
|
2037
|
-
}
|
|
2038
|
-
} : undefined;
|
|
2030
|
+
value: function ExportProducts(filter, useTemplateSlugs) {
|
|
2039
2031
|
return this.request.send(buildURL("".concat(this.endpoint, "/export"), {
|
|
2040
2032
|
filter: filter,
|
|
2041
2033
|
useTemplateSlugs: useTemplateSlugs
|
|
2042
|
-
}), 'POST'
|
|
2034
|
+
}), 'POST');
|
|
2043
2035
|
}
|
|
2044
2036
|
}]);
|
|
2045
2037
|
return PCMEndpoint;
|
|
@@ -5485,17 +5477,6 @@ var Rules = /*#__PURE__*/function (_CRUDExtend4) {
|
|
|
5485
5477
|
var token = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
5486
5478
|
return this.request.send("catalogs/".concat(this.endpoint, "/").concat(catalogRuleId), "DELETE", token);
|
|
5487
5479
|
}
|
|
5488
|
-
}, {
|
|
5489
|
-
key: "Validate",
|
|
5490
|
-
value: function Validate(body) {
|
|
5491
|
-
var token = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
5492
|
-
var limit = this.limit,
|
|
5493
|
-
offset = this.offset;
|
|
5494
|
-
return this.request.send(buildURL("catalogs/".concat(this.endpoint, "/validate"), {
|
|
5495
|
-
limit: limit,
|
|
5496
|
-
offset: offset
|
|
5497
|
-
}), 'POST', body, token);
|
|
5498
|
-
}
|
|
5499
5480
|
}]);
|
|
5500
5481
|
return Rules;
|
|
5501
5482
|
}(CRUDExtend);
|
|
@@ -6080,21 +6061,36 @@ var CustomApiRolePoliciesEndpoint = /*#__PURE__*/function (_CRUDExtend) {
|
|
|
6080
6061
|
}
|
|
6081
6062
|
}, {
|
|
6082
6063
|
key: "GetCustomApiRolePolicies",
|
|
6083
|
-
value: function GetCustomApiRolePolicies(
|
|
6084
|
-
var
|
|
6064
|
+
value: function GetCustomApiRolePolicies() {
|
|
6065
|
+
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
6066
|
+
customApiId = _ref.customApiId,
|
|
6067
|
+
include = _ref.include;
|
|
6085
6068
|
var limit = this.limit,
|
|
6086
6069
|
offset = this.offset,
|
|
6087
6070
|
sort = this.sort;
|
|
6088
|
-
return this.request.send(buildURL("".concat(this.endpoint, "/custom-api-role-policies
|
|
6071
|
+
return this.request.send(buildURL("".concat(this.endpoint, "/custom-api-role-policies"), _objectSpread2(_objectSpread2({
|
|
6072
|
+
filter: {
|
|
6073
|
+
eq: {
|
|
6074
|
+
custom_api_id: customApiId
|
|
6075
|
+
}
|
|
6076
|
+
}
|
|
6077
|
+
}, include === 'role' && {
|
|
6078
|
+
include: include
|
|
6079
|
+
}), {}, {
|
|
6089
6080
|
limit: limit,
|
|
6090
6081
|
offset: offset,
|
|
6091
6082
|
sort: sort
|
|
6092
|
-
}), 'GET');
|
|
6083
|
+
})), 'GET');
|
|
6084
|
+
}
|
|
6085
|
+
}, {
|
|
6086
|
+
key: "GetStandardUserRoles",
|
|
6087
|
+
value: function GetStandardUserRoles() {
|
|
6088
|
+
return this.request.send("".concat(this.endpoint, "/standard-user-roles"), 'GET');
|
|
6093
6089
|
}
|
|
6094
6090
|
}, {
|
|
6095
|
-
key: "
|
|
6096
|
-
value: function
|
|
6097
|
-
return this.request.send("".concat(this.endpoint, "/
|
|
6091
|
+
key: "GetStandardShopperRoles",
|
|
6092
|
+
value: function GetStandardShopperRoles() {
|
|
6093
|
+
return this.request.send("".concat(this.endpoint, "/standard-shopper-roles"), 'GET');
|
|
6098
6094
|
}
|
|
6099
6095
|
}, {
|
|
6100
6096
|
key: "DeleteCustomApiRolePolicy",
|
package/dist/index.js
CHANGED
|
@@ -1085,7 +1085,7 @@
|
|
|
1085
1085
|
globalThis.Response = browserPonyfill.exports.Response;
|
|
1086
1086
|
}
|
|
1087
1087
|
|
|
1088
|
-
var version = "
|
|
1088
|
+
var version = "34.0.1";
|
|
1089
1089
|
|
|
1090
1090
|
var LocalStorageFactory = /*#__PURE__*/function () {
|
|
1091
1091
|
function LocalStorageFactory() {
|
|
@@ -3195,19 +3195,11 @@
|
|
|
3195
3195
|
}
|
|
3196
3196
|
}, {
|
|
3197
3197
|
key: "ExportProducts",
|
|
3198
|
-
value: function ExportProducts(filter, useTemplateSlugs
|
|
3199
|
-
var body = columns ? {
|
|
3200
|
-
data: {
|
|
3201
|
-
type: 'product',
|
|
3202
|
-
attributes: {
|
|
3203
|
-
columns: columns
|
|
3204
|
-
}
|
|
3205
|
-
}
|
|
3206
|
-
} : undefined;
|
|
3198
|
+
value: function ExportProducts(filter, useTemplateSlugs) {
|
|
3207
3199
|
return this.request.send(buildURL("".concat(this.endpoint, "/export"), {
|
|
3208
3200
|
filter: filter,
|
|
3209
3201
|
useTemplateSlugs: useTemplateSlugs
|
|
3210
|
-
}), 'POST'
|
|
3202
|
+
}), 'POST');
|
|
3211
3203
|
}
|
|
3212
3204
|
}]);
|
|
3213
3205
|
return PCMEndpoint;
|
|
@@ -6657,17 +6649,6 @@
|
|
|
6657
6649
|
var token = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
6658
6650
|
return this.request.send("catalogs/".concat(this.endpoint, "/").concat(catalogRuleId), "DELETE", token);
|
|
6659
6651
|
}
|
|
6660
|
-
}, {
|
|
6661
|
-
key: "Validate",
|
|
6662
|
-
value: function Validate(body) {
|
|
6663
|
-
var token = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
6664
|
-
var limit = this.limit,
|
|
6665
|
-
offset = this.offset;
|
|
6666
|
-
return this.request.send(buildURL("catalogs/".concat(this.endpoint, "/validate"), {
|
|
6667
|
-
limit: limit,
|
|
6668
|
-
offset: offset
|
|
6669
|
-
}), 'POST', body, token);
|
|
6670
|
-
}
|
|
6671
6652
|
}]);
|
|
6672
6653
|
return Rules;
|
|
6673
6654
|
}(CRUDExtend);
|
|
@@ -7252,21 +7233,36 @@
|
|
|
7252
7233
|
}
|
|
7253
7234
|
}, {
|
|
7254
7235
|
key: "GetCustomApiRolePolicies",
|
|
7255
|
-
value: function GetCustomApiRolePolicies(
|
|
7256
|
-
var
|
|
7236
|
+
value: function GetCustomApiRolePolicies() {
|
|
7237
|
+
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
7238
|
+
customApiId = _ref.customApiId,
|
|
7239
|
+
include = _ref.include;
|
|
7257
7240
|
var limit = this.limit,
|
|
7258
7241
|
offset = this.offset,
|
|
7259
7242
|
sort = this.sort;
|
|
7260
|
-
return this.request.send(buildURL("".concat(this.endpoint, "/custom-api-role-policies
|
|
7243
|
+
return this.request.send(buildURL("".concat(this.endpoint, "/custom-api-role-policies"), _objectSpread2(_objectSpread2({
|
|
7244
|
+
filter: {
|
|
7245
|
+
eq: {
|
|
7246
|
+
custom_api_id: customApiId
|
|
7247
|
+
}
|
|
7248
|
+
}
|
|
7249
|
+
}, include === 'role' && {
|
|
7250
|
+
include: include
|
|
7251
|
+
}), {}, {
|
|
7261
7252
|
limit: limit,
|
|
7262
7253
|
offset: offset,
|
|
7263
7254
|
sort: sort
|
|
7264
|
-
}), 'GET');
|
|
7255
|
+
})), 'GET');
|
|
7256
|
+
}
|
|
7257
|
+
}, {
|
|
7258
|
+
key: "GetStandardUserRoles",
|
|
7259
|
+
value: function GetStandardUserRoles() {
|
|
7260
|
+
return this.request.send("".concat(this.endpoint, "/standard-user-roles"), 'GET');
|
|
7265
7261
|
}
|
|
7266
7262
|
}, {
|
|
7267
|
-
key: "
|
|
7268
|
-
value: function
|
|
7269
|
-
return this.request.send("".concat(this.endpoint, "/
|
|
7263
|
+
key: "GetStandardShopperRoles",
|
|
7264
|
+
value: function GetStandardShopperRoles() {
|
|
7265
|
+
return this.request.send("".concat(this.endpoint, "/standard-shopper-roles"), 'GET');
|
|
7270
7266
|
}
|
|
7271
7267
|
}, {
|
|
7272
7268
|
key: "DeleteCustomApiRolePolicy",
|
package/package.json
CHANGED