@wix/bex-utils 2.15.0 → 2.17.0
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/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js +9 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js +6 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/client/proto-generated.d.ts +176 -55
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.d.ts +99 -38
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.js +1451 -536
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.d.ts +174 -54
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.d.ts +13 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js +9 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js +6 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.d.ts +13 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/package.json +2 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/advanced-seo-api.proto +7 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/external_reference.proto +15 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/dto.proto +4 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/identity2.proto +11 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/entity.proto +9 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/media.proto +4 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/query.proto +31 -24
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJob.proto +26 -26
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobService.proto +47 -32
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/locationInventory.proto +11 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/locationInventoryMessages.proto +18 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/stores_location.proto +17 -12
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/stores_location_service.proto +43 -62
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/upstream/wix/common/paging.proto +18 -9
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/provision.proto +2 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/stores_provision_service.proto +8 -12
- package/@wix/bex-bundled-mini-essentials/dist/cjs/bex-bundled-mini-essentials.js +43 -18
- package/@wix/bex-bundled-mini-essentials/dist/cjs/bex-bundled-mini-essentials.js.map +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/http-client/testkit/client.js +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/http-client/testkit/client.js.map +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/testkit/index.js +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/testkit/index.js.map +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/esm/bex-bundled-mini-essentials.js +43 -19
- package/@wix/bex-bundled-mini-essentials/dist/esm/bex-bundled-mini-essentials.js.map +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/tsconfig.tsbuildinfo +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/index.js +6 -0
- package/@wix/bi-logger-os-data/dist/cjs/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js +6 -0
- package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js +227 -15
- package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js +6 -0
- package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/v2/index.js +106 -37
- package/@wix/bi-logger-os-data/dist/cjs/v2/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/index.js +6 -0
- package/@wix/bi-logger-os-data/dist/esm/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js +6 -0
- package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/testkit/common.js +227 -15
- package/@wix/bi-logger-os-data/dist/esm/testkit/common.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js +6 -0
- package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/v2/index.js +75 -8
- package/@wix/bi-logger-os-data/dist/esm/v2/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/types/index.d.ts +4 -2
- package/@wix/bi-logger-os-data/dist/types/testkit/client-testkit.d.ts +51 -7
- package/@wix/bi-logger-os-data/dist/types/testkit/node-testkit.d.ts +51 -7
- package/@wix/bi-logger-os-data/dist/types/types.d.ts +51 -7
- package/@wix/bi-logger-os-data/dist/types/v2/index.d.ts +72 -9
- package/@wix/bi-logger-os-data/package.json +2 -2
- package/@wix/bi-logger-os-data/src/index.ts +10 -2
- package/@wix/bi-logger-os-data/src/testkit/client-testkit.ts +57 -7
- package/@wix/bi-logger-os-data/src/testkit/common.ts +265 -15
- package/@wix/bi-logger-os-data/src/testkit/node-testkit.ts +57 -7
- package/@wix/bi-logger-os-data/src/types.ts +104 -15
- package/@wix/bi-logger-os-data/src/v2/index.ts +78 -9
- package/@wix/wix-i18n-config/dist/tsconfig.tsbuildinfo +1 -1
- package/@wix/wix-i18n-config/package.json +3 -3
- package/package.json +2 -2
|
@@ -52,11 +52,13 @@ declare namespace $wrapper {
|
|
|
52
52
|
export interface IKeyword {
|
|
53
53
|
term?: (string | null);
|
|
54
54
|
isMain?: (boolean | null);
|
|
55
|
+
origin?: (string | null);
|
|
55
56
|
}
|
|
56
57
|
export class Keyword implements IKeyword {
|
|
57
58
|
constructor(data?: IKeyword);
|
|
58
59
|
term?: (string | null);
|
|
59
60
|
isMain?: (boolean | null);
|
|
61
|
+
origin?: (string | null);
|
|
60
62
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
61
63
|
}
|
|
62
64
|
}
|
|
@@ -1973,6 +1975,7 @@ declare namespace $wrapper {
|
|
|
1973
1975
|
ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
|
|
1974
1976
|
RISE = "RISE",
|
|
1975
1977
|
BRANDED_FIRST = "BRANDED_FIRST",
|
|
1978
|
+
NOWNIA = "NOWNIA",
|
|
1976
1979
|
}
|
|
1977
1980
|
export enum Flag {
|
|
1978
1981
|
UNKNOWN_FLAG = "UNKNOWN_FLAG",
|
|
@@ -2550,6 +2553,16 @@ declare namespace $wrapper {
|
|
|
2550
2553
|
TIKTOK = "TIKTOK",
|
|
2551
2554
|
FAIRE_COM = "FAIRE_COM",
|
|
2552
2555
|
}
|
|
2556
|
+
export interface IExternalReference {
|
|
2557
|
+
appId?: (string | null);
|
|
2558
|
+
resourceId?: (string | null);
|
|
2559
|
+
}
|
|
2560
|
+
export class ExternalReference implements IExternalReference {
|
|
2561
|
+
constructor(data?: IExternalReference);
|
|
2562
|
+
appId?: (string | null);
|
|
2563
|
+
resourceId?: (string | null);
|
|
2564
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2565
|
+
}
|
|
2553
2566
|
export interface ILocationAndQuantity {
|
|
2554
2567
|
id?: (string | null);
|
|
2555
2568
|
appId?: (string | null);
|
|
@@ -3333,6 +3346,8 @@ declare namespace $wrapper {
|
|
|
3333
3346
|
visitorId?: (string | null);
|
|
3334
3347
|
appScope?: ($wrapper.com.wix.core.services.identification2.IAppScope | null);
|
|
3335
3348
|
parentAccount?: ($wrapper.com.wix.core.services.identification2.IParentAccount | null);
|
|
3349
|
+
targetAccountVip?: (boolean | null);
|
|
3350
|
+
metasiteVip?: (boolean | null);
|
|
3336
3351
|
}
|
|
3337
3352
|
export class Context implements IContext {
|
|
3338
3353
|
constructor(data?: IContext);
|
|
@@ -3344,6 +3359,8 @@ declare namespace $wrapper {
|
|
|
3344
3359
|
visitorId?: (string | null);
|
|
3345
3360
|
appScope?: ($wrapper.com.wix.core.services.identification2.IAppScope | null);
|
|
3346
3361
|
parentAccount?: ($wrapper.com.wix.core.services.identification2.IParentAccount | null);
|
|
3362
|
+
targetAccountVip?: (boolean | null);
|
|
3363
|
+
metasiteVip?: (boolean | null);
|
|
3347
3364
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3348
3365
|
}
|
|
3349
3366
|
export interface IIdentificationData {
|
|
@@ -3421,6 +3438,8 @@ declare namespace $wrapper {
|
|
|
3421
3438
|
domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
|
|
3422
3439
|
taggable?: ($wrapper.wix.api.ITaggable | null);
|
|
3423
3440
|
queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
|
|
3441
|
+
eventsExposure?: ($wrapper.wix.api.Exposure | null);
|
|
3442
|
+
eventsMaturity?: ($wrapper.wix.api.Maturity | null);
|
|
3424
3443
|
}
|
|
3425
3444
|
export class Entity implements IEntity {
|
|
3426
3445
|
constructor(data?: IEntity);
|
|
@@ -3438,16 +3457,30 @@ declare namespace $wrapper {
|
|
|
3438
3457
|
domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
|
|
3439
3458
|
taggable?: ($wrapper.wix.api.ITaggable | null);
|
|
3440
3459
|
queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
|
|
3460
|
+
eventsExposure?: ($wrapper.wix.api.Exposure | null);
|
|
3461
|
+
eventsMaturity?: ($wrapper.wix.api.Maturity | null);
|
|
3441
3462
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3442
3463
|
}
|
|
3443
3464
|
export interface IExtensible {
|
|
3444
3465
|
nestedExtensionFieldPath?: (string | null);
|
|
3445
3466
|
filterable?: (boolean | null);
|
|
3467
|
+
nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null);
|
|
3446
3468
|
}
|
|
3447
3469
|
export class Extensible implements IExtensible {
|
|
3448
3470
|
constructor(data?: IExtensible);
|
|
3449
3471
|
nestedExtensionFieldPath?: (string | null);
|
|
3450
3472
|
filterable?: (boolean | null);
|
|
3473
|
+
nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null);
|
|
3474
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3475
|
+
}
|
|
3476
|
+
export interface INestedExtensionPointMapping {
|
|
3477
|
+
extensionPoint?: (string | null);
|
|
3478
|
+
path?: (string | null);
|
|
3479
|
+
}
|
|
3480
|
+
export class NestedExtensionPointMapping implements INestedExtensionPointMapping {
|
|
3481
|
+
constructor(data?: INestedExtensionPointMapping);
|
|
3482
|
+
extensionPoint?: (string | null);
|
|
3483
|
+
path?: (string | null);
|
|
3451
3484
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3452
3485
|
}
|
|
3453
3486
|
export interface IMessageAppendix {
|
|
@@ -3467,6 +3500,7 @@ declare namespace $wrapper {
|
|
|
3467
3500
|
DOCS_CONF = "DOCS_CONF",
|
|
3468
3501
|
MULTILINGUAL = "MULTILINGUAL",
|
|
3469
3502
|
SEARCH = "SEARCH",
|
|
3503
|
+
AUTO_SDK = "AUTO_SDK",
|
|
3470
3504
|
}
|
|
3471
3505
|
}
|
|
3472
3506
|
export interface IDomainEventOptions {
|
|
@@ -4612,6 +4646,8 @@ declare namespace $wrapper {
|
|
|
4612
4646
|
sizeInBytes?: (string | null);
|
|
4613
4647
|
urlExpirationDate?: (Date | null);
|
|
4614
4648
|
durationInMilliseconds?: (number | null);
|
|
4649
|
+
title?: (string | null);
|
|
4650
|
+
description?: (string | null);
|
|
4615
4651
|
}
|
|
4616
4652
|
export class VideoV2 implements IVideoV2 {
|
|
4617
4653
|
constructor(data?: IVideoV2);
|
|
@@ -4623,6 +4659,8 @@ declare namespace $wrapper {
|
|
|
4623
4659
|
sizeInBytes?: (string | null);
|
|
4624
4660
|
urlExpirationDate?: (Date | null);
|
|
4625
4661
|
durationInMilliseconds?: (number | null);
|
|
4662
|
+
title?: (string | null);
|
|
4663
|
+
description?: (string | null);
|
|
4626
4664
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4627
4665
|
}
|
|
4628
4666
|
export interface IVideoResolution {
|
|
@@ -10902,6 +10940,11 @@ declare namespace $wrapper {
|
|
|
10902
10940
|
* Returns a specific inventory for an item at a given location
|
|
10903
10941
|
*/
|
|
10904
10942
|
abstract fetchLocationInventoryItem(aspects: AspectStore, req: $wrapper.wix.inventory.api.v1.IFetchLocationInventoryItemRequest): Promise<$wrapper.wix.inventory.api.v1.IFetchLocationInventoryItemResponse>
|
|
10943
|
+
/**
|
|
10944
|
+
* Returns an inventory item for all locations.
|
|
10945
|
+
* Does not include the online-store non-location.
|
|
10946
|
+
*/
|
|
10947
|
+
abstract fetchLocationInventoryItemsForAllLocations(aspects: AspectStore, req: $wrapper.wix.inventory.api.v1.IFetchLocationInventoryItemsForAllLocationsRequest): Promise<$wrapper.wix.inventory.api.v1.IFetchLocationInventoryItemsForAllLocationsResponse>
|
|
10905
10948
|
/**
|
|
10906
10949
|
* Returns a list of location inventory items, given the provided paging, sorting and filtering.
|
|
10907
10950
|
* See [Stores Pagination](https://dev.wix.com/api/rest/wix-stores/pagination) for more information.
|
|
@@ -10952,6 +10995,22 @@ declare namespace $wrapper {
|
|
|
10952
10995
|
locationInventoryItem?: ($wrapper.wix.inventory.api.v1.ILocationInventoryItem | null);
|
|
10953
10996
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
10954
10997
|
}
|
|
10998
|
+
export interface IFetchLocationInventoryItemsForAllLocationsRequest {
|
|
10999
|
+
productIds?: (string[] | null);
|
|
11000
|
+
}
|
|
11001
|
+
export class FetchLocationInventoryItemsForAllLocationsRequest implements IFetchLocationInventoryItemsForAllLocationsRequest {
|
|
11002
|
+
constructor(data?: IFetchLocationInventoryItemsForAllLocationsRequest);
|
|
11003
|
+
productIds?: (string[] | null);
|
|
11004
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
11005
|
+
}
|
|
11006
|
+
export interface IFetchLocationInventoryItemsForAllLocationsResponse {
|
|
11007
|
+
locationInventoryItems?: ($wrapper.wix.inventory.api.v1.ILocationInventoryItem[] | null);
|
|
11008
|
+
}
|
|
11009
|
+
export class FetchLocationInventoryItemsForAllLocationsResponse implements IFetchLocationInventoryItemsForAllLocationsResponse {
|
|
11010
|
+
constructor(data?: IFetchLocationInventoryItemsForAllLocationsResponse);
|
|
11011
|
+
locationInventoryItems?: ($wrapper.wix.inventory.api.v1.ILocationInventoryItem[] | null);
|
|
11012
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
11013
|
+
}
|
|
10955
11014
|
export interface IQueryLocationInventoryRequest {
|
|
10956
11015
|
/**
|
|
10957
11016
|
* Query to match inventory records against catalog product records.
|
|
@@ -13263,13 +13322,6 @@ declare namespace $wrapper {
|
|
|
13263
13322
|
export namespace catalog {
|
|
13264
13323
|
export namespace provision {
|
|
13265
13324
|
export namespace v1 {
|
|
13266
|
-
/**
|
|
13267
|
-
* A Provision is a record that contains the version of the catalog a store was installed on.
|
|
13268
|
-
* Only one Provision entity can exist per tenant. Retrieving a provision is managed completely by
|
|
13269
|
-
* callScope, no api parameters are needed.
|
|
13270
|
-
*
|
|
13271
|
-
* Services should only use this service if they are part of the install flow.
|
|
13272
|
-
*/
|
|
13273
13325
|
export interface IProvision {
|
|
13274
13326
|
id?: (string | null);
|
|
13275
13327
|
/**
|
|
@@ -13305,7 +13357,7 @@ declare namespace $wrapper {
|
|
|
13305
13357
|
/**
|
|
13306
13358
|
* Retrieves a Provision.
|
|
13307
13359
|
*/
|
|
13308
|
-
abstract
|
|
13360
|
+
abstract provision(aspects: AspectStore, req: $wrapper.wix.stores.catalog.provision.v1.IProvisionRequest): Promise<$wrapper.wix.stores.catalog.provision.v1.IProvisionResponse>
|
|
13309
13361
|
abstract installBassAppDependency(aspects: AspectStore, req: $wrapper.wix.stores.catalog.provision.v1.IInstallBassAppDependencyRequest): Promise<$wrapper.wix.stores.catalog.provision.v1.IInstallBassAppDependencyResponse>
|
|
13310
13362
|
abstract onStoresAppsInstalled(aspects: AspectStore, req: $wrapper.com.wixpress.metasite.event.api.IMetaSiteSpecialEvent): Promise<{}>
|
|
13311
13363
|
abstract setupDefaultDeliveryProfile(aspects: AspectStore, req: $wrapper.wix.stores.catalog.provision.v1.IDefaultDeliveryProfileSetup): Promise<{}>
|
|
@@ -13324,19 +13376,19 @@ declare namespace $wrapper {
|
|
|
13324
13376
|
catalogVersion?: ($wrapper.wix.stores.catalog.provision.v1.Version | null);
|
|
13325
13377
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13326
13378
|
}
|
|
13327
|
-
export interface
|
|
13379
|
+
export interface IProvisionRequest {
|
|
13328
13380
|
originalInstanceId?: (string | null);
|
|
13329
13381
|
}
|
|
13330
|
-
export class
|
|
13331
|
-
constructor(data?:
|
|
13382
|
+
export class ProvisionRequest implements IProvisionRequest {
|
|
13383
|
+
constructor(data?: IProvisionRequest);
|
|
13332
13384
|
originalInstanceId?: (string | null);
|
|
13333
13385
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13334
13386
|
}
|
|
13335
|
-
export interface
|
|
13387
|
+
export interface IProvisionResponse {
|
|
13336
13388
|
provision?: ($wrapper.wix.stores.catalog.provision.v1.IProvision | null);
|
|
13337
13389
|
}
|
|
13338
|
-
export class
|
|
13339
|
-
constructor(data?:
|
|
13390
|
+
export class ProvisionResponse implements IProvisionResponse {
|
|
13391
|
+
constructor(data?: IProvisionResponse);
|
|
13340
13392
|
provision?: ($wrapper.wix.stores.catalog.provision.v1.IProvision | null);
|
|
13341
13393
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13342
13394
|
}
|
|
@@ -13364,14 +13416,17 @@ declare namespace $wrapper {
|
|
|
13364
13416
|
}
|
|
13365
13417
|
export namespace location {
|
|
13366
13418
|
export namespace v3 {
|
|
13419
|
+
/**
|
|
13420
|
+
* A location is a physical or virtual site where products are sold.
|
|
13421
|
+
*/
|
|
13367
13422
|
export interface IStoresLocation {
|
|
13368
13423
|
id?: (string | null);
|
|
13369
13424
|
/**
|
|
13370
|
-
* Revision number, which increments by 1 each time the
|
|
13425
|
+
* Revision number, which increments by 1 each time the Stores location is updated.
|
|
13371
13426
|
* To prevent conflicting changes,
|
|
13372
|
-
* the current revision must be passed when updating the
|
|
13427
|
+
* the current revision must be passed when updating the Stores location.
|
|
13373
13428
|
*
|
|
13374
|
-
* Ignored when creating a
|
|
13429
|
+
* Ignored when creating a Stores location.
|
|
13375
13430
|
*/
|
|
13376
13431
|
revision?: ((number | string) | null);
|
|
13377
13432
|
createdDate?: (Date | null);
|
|
@@ -13405,44 +13460,41 @@ declare namespace $wrapper {
|
|
|
13405
13460
|
*/
|
|
13406
13461
|
export abstract class StoresLocationService {
|
|
13407
13462
|
/**
|
|
13408
|
-
* Creates a
|
|
13409
|
-
*
|
|
13410
|
-
* The request body must include os_location_id of a corresponding site location:
|
|
13411
|
-
* https://bo.wix.com/wix-docs/rest/business-tools/locations/introduction
|
|
13463
|
+
* Creates a Stores location.
|
|
13412
13464
|
*/
|
|
13413
13465
|
abstract createStoresLocation(aspects: AspectStore, req: $wrapper.wix.stores.catalog.location.v3.ICreateStoresLocationRequest): Promise<$wrapper.wix.stores.catalog.location.v3.ICreateStoresLocationResponse>
|
|
13414
13466
|
/**
|
|
13415
|
-
* Retrieves a
|
|
13467
|
+
* Retrieves a Stores location.
|
|
13416
13468
|
*/
|
|
13417
13469
|
abstract getStoresLocation(aspects: AspectStore, req: $wrapper.wix.stores.catalog.location.v3.IGetStoresLocationRequest): Promise<$wrapper.wix.stores.catalog.location.v3.IGetStoresLocationResponse>
|
|
13418
13470
|
/**
|
|
13419
|
-
* Updates a
|
|
13420
|
-
*
|
|
13421
|
-
* `revision` increments by 1.
|
|
13422
|
-
* The current `revision` must be passed when updating the
|
|
13423
|
-
* This ensures you're working with the latest
|
|
13424
|
-
* and prevents unintended overwrites.
|
|
13471
|
+
* Updates a Stores location.
|
|
13472
|
+
*
|
|
13473
|
+
* Each time the Stores location is updated, `revision` increments by 1.
|
|
13474
|
+
* The current `revision` must be passed when updating the Stores location.
|
|
13475
|
+
* This ensures you're working with the latest Stores location and prevents unintended overwrites.
|
|
13425
13476
|
*/
|
|
13426
13477
|
abstract updateStoresLocation(aspects: AspectStore, req: $wrapper.wix.stores.catalog.location.v3.IUpdateStoresLocationRequest): Promise<$wrapper.wix.stores.catalog.location.v3.IUpdateStoresLocationResponse>
|
|
13427
13478
|
/**
|
|
13428
|
-
* Deletes a
|
|
13429
|
-
*
|
|
13430
|
-
*
|
|
13431
|
-
* Deleting a StoresLocation permanently removes them from the StoresLocation List.
|
|
13479
|
+
* Deletes a Stores location.
|
|
13432
13480
|
*/
|
|
13433
13481
|
abstract deleteStoresLocation(aspects: AspectStore, req: $wrapper.wix.stores.catalog.location.v3.IDeleteStoresLocationRequest): Promise<$wrapper.wix.stores.catalog.location.v3.IDeleteStoresLocationResponse>
|
|
13434
13482
|
/**
|
|
13435
|
-
* Retrieves a list of
|
|
13483
|
+
* Retrieves a list of up to 100 Stores locations, given the provided filtering, sorting, and cursor paging.
|
|
13484
|
+
* Pass supported values to the `fields` array in the request to include those fields in the response.
|
|
13436
13485
|
*
|
|
13437
|
-
* Up to 1,000 StoresLocations can be returned per request.
|
|
13438
13486
|
*
|
|
13439
|
-
*
|
|
13487
|
+
* Query Stores Locations runs with these defaults, which you can override:
|
|
13440
13488
|
*
|
|
13441
|
-
*
|
|
13442
|
-
*
|
|
13489
|
+
* - `createdDate` is sorted in `DESC` order
|
|
13490
|
+
* - `cursorPaging.limit` is `100`
|
|
13443
13491
|
*
|
|
13492
|
+
* For field support for filters and sorting,
|
|
13493
|
+
* see [Stores Locations: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/stores/catalog-v3/stores-locations-v3/supported-filters-and-sorting).
|
|
13444
13494
|
*
|
|
13445
|
-
*
|
|
13495
|
+
* To learn about working with _Query_ endpoints, see
|
|
13496
|
+
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language),
|
|
13497
|
+
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
13446
13498
|
*/
|
|
13447
13499
|
abstract queryStoresLocations(aspects: AspectStore, req: $wrapper.wix.stores.catalog.location.v3.IQueryStoresLocationsRequest): Promise<$wrapper.wix.stores.catalog.location.v3.IQueryStoresLocationsResponse>
|
|
13448
13500
|
abstract getOrCreateDefaultStoresLocation(aspects: AspectStore, req: $wrapper.wix.stores.catalog.location.v3.IGetOrCreateDefaultStoresLocationRequest): Promise<$wrapper.wix.stores.catalog.location.v3.IGetOrCreateDefaultStoresLocationResponse>
|
|
@@ -14532,14 +14584,23 @@ declare namespace $wrapper {
|
|
|
14532
14584
|
jobId?: (string | null);
|
|
14533
14585
|
paging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
14534
14586
|
hasError?: (boolean | null);
|
|
14587
|
+
statusFilter?: ($wrapper.wix.infra.asyncjobs.v1.ListAsyncJobItemsRequest.StatusFilter | null);
|
|
14535
14588
|
}
|
|
14536
14589
|
export class ListAsyncJobItemsRequest implements IListAsyncJobItemsRequest {
|
|
14537
14590
|
constructor(data?: IListAsyncJobItemsRequest);
|
|
14538
14591
|
jobId?: (string | null);
|
|
14539
14592
|
paging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
14540
14593
|
hasError?: (boolean | null);
|
|
14594
|
+
statusFilter?: ($wrapper.wix.infra.asyncjobs.v1.ListAsyncJobItemsRequest.StatusFilter | null);
|
|
14541
14595
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
14542
14596
|
}
|
|
14597
|
+
export namespace ListAsyncJobItemsRequest {
|
|
14598
|
+
export enum StatusFilter {
|
|
14599
|
+
ALL = "ALL",
|
|
14600
|
+
FAILED_ONLY = "FAILED_ONLY",
|
|
14601
|
+
SUCCESSFUL_ONLY = "SUCCESSFUL_ONLY",
|
|
14602
|
+
}
|
|
14603
|
+
}
|
|
14543
14604
|
export interface IListAsyncJobItemsResponse {
|
|
14544
14605
|
results?: ($wrapper.wix.infra.asyncjobs.v1.IAsyncJobItem[] | null);
|
|
14545
14606
|
pagingMetadata?: ($wrapper.wix.infra.asyncjobs.v1.upstream.wix.common.IPagingMetadataV2 | null);
|