@wix/bex-utils 1.37.0 → 1.38.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.d.ts +4 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js +64 -6
- 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 +12 -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 +713 -74
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.d.ts +359 -38
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.js +12499 -2105
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.d.ts +711 -73
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.d.ts +56 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js +10 -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.d.ts +4 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js +60 -5
- 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 +12 -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 +56 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js +9 -0
- 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 +3 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/catalog_reference.proto +16 -10
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/description_line.proto +23 -6
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_data.proto +70 -44
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_media.proto +14 -5
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_type.proto +3 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/payment_option.proto +10 -7
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/physical_properties.proto +4 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/platform_catalog_spi.proto +109 -33
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/price_description.proto +6 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/product_name.proto +11 -6
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/secured_media.proto +5 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/service_properties.proto +5 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/subscription_option_info.proto +14 -4
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/inventory/api/v1/inventoryEvents.proto +5 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/address_with_contact.proto +0 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/locations.proto +16 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/annotations.proto +4 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/entity.proto +6 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/errors.proto +6 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalog.proto +49 -13
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/media.proto +2 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/product.proto +5 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v2/collectionRead.proto +1 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/media.proto +9 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/pageurl.proto +4 -4
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/paging.proto +21 -12
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/query.proto +323 -88
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/sorting.proto +13 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/tags.proto +2 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/wixlink.proto +50 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupons-adapter.proto +50 -50
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/mediaitem.proto +3 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservice/v1/export.proto +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJob.proto +2 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobService.proto +36 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/inventoryItem.proto +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/locationInventory.proto +27 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/locationInventoryItem.proto +75 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/locationInventoryMessages.proto +33 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/accounts.proto +8 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/orders.proto +10 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payment-methods.proto +7 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payments.proto +7 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/charge.proto +3 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-description.proto +6 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment-method.proto +3 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/payment-event.proto +2 -1
- package/package.json +3 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/paypal-recurring-orders.proto +0 -38
|
@@ -337,48 +337,52 @@ declare namespace $requests {
|
|
|
337
337
|
translated?: string;
|
|
338
338
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
339
339
|
}
|
|
340
|
-
export interface ICatalogProvider {
|
|
341
|
-
}
|
|
342
|
-
export class CatalogProvider implements ICatalogProvider {
|
|
343
|
-
constructor(data?: ICatalogProvider);
|
|
344
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
345
|
-
}
|
|
346
340
|
export interface ICatalogSPIConfig {
|
|
347
341
|
deploymentUri: string;
|
|
348
|
-
allItemsDiscount?: $requests.com.wix.ecommerce.catalog_spi.api.v1.
|
|
349
|
-
specificItemsDiscount?: $requests.com.wix.ecommerce.catalog_spi.api.v1.
|
|
350
|
-
nameTranslationKey: string;
|
|
342
|
+
allItemsDiscount?: $requests.com.wix.ecommerce.catalog_spi.api.v1.IAllItemsDiscountConfig;
|
|
343
|
+
specificItemsDiscount?: $requests.com.wix.ecommerce.catalog_spi.api.v1.ISpecificItemsDiscountConfig;
|
|
351
344
|
}
|
|
352
345
|
export class CatalogSPIConfig implements ICatalogSPIConfig {
|
|
353
346
|
constructor(data?: ICatalogSPIConfig);
|
|
354
347
|
deploymentUri: string;
|
|
355
|
-
allItemsDiscount?: $requests.com.wix.ecommerce.catalog_spi.api.v1.
|
|
356
|
-
specificItemsDiscount?: $requests.com.wix.ecommerce.catalog_spi.api.v1.
|
|
357
|
-
nameTranslationKey: string;
|
|
348
|
+
allItemsDiscount?: $requests.com.wix.ecommerce.catalog_spi.api.v1.IAllItemsDiscountConfig;
|
|
349
|
+
specificItemsDiscount?: $requests.com.wix.ecommerce.catalog_spi.api.v1.ISpecificItemsDiscountConfig;
|
|
358
350
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
359
351
|
}
|
|
360
|
-
export interface
|
|
352
|
+
export interface IAllItemsDiscountConfig {
|
|
361
353
|
enabled: boolean;
|
|
362
354
|
translationKey: string;
|
|
355
|
+
name?: string;
|
|
363
356
|
}
|
|
364
|
-
export class
|
|
365
|
-
constructor(data?:
|
|
357
|
+
export class AllItemsDiscountConfig implements IAllItemsDiscountConfig {
|
|
358
|
+
constructor(data?: IAllItemsDiscountConfig);
|
|
366
359
|
enabled: boolean;
|
|
367
360
|
translationKey: string;
|
|
361
|
+
name?: string;
|
|
362
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
363
|
+
}
|
|
364
|
+
export interface ISpecificItemsDiscountConfig {
|
|
365
|
+
enabled: boolean;
|
|
366
|
+
translationKey: string;
|
|
367
|
+
name?: string;
|
|
368
|
+
}
|
|
369
|
+
export class SpecificItemsDiscountConfig implements ISpecificItemsDiscountConfig {
|
|
370
|
+
constructor(data?: ISpecificItemsDiscountConfig);
|
|
371
|
+
enabled: boolean;
|
|
372
|
+
translationKey: string;
|
|
373
|
+
name?: string;
|
|
368
374
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
369
375
|
}
|
|
370
376
|
export interface IGetCatalogItemsRequest {
|
|
371
377
|
catalogReferences: $requests.com.wix.ecommerce.catalog_spi.api.v1.ICatalogReferenceAndQuantity[];
|
|
372
378
|
weightUnit: $requests.com.wix.ecommerce.platform_common.api.WeightUnit;
|
|
373
379
|
currency: string;
|
|
374
|
-
instanceId?: string;
|
|
375
380
|
}
|
|
376
381
|
export class GetCatalogItemsRequest implements IGetCatalogItemsRequest {
|
|
377
382
|
constructor(data?: IGetCatalogItemsRequest);
|
|
378
383
|
catalogReferences: $requests.com.wix.ecommerce.catalog_spi.api.v1.ICatalogReferenceAndQuantity[];
|
|
379
384
|
weightUnit: $requests.com.wix.ecommerce.platform_common.api.WeightUnit;
|
|
380
385
|
currency: string;
|
|
381
|
-
instanceId?: string;
|
|
382
386
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
383
387
|
}
|
|
384
388
|
export interface IGetCatalogItemsResponse {
|
|
@@ -541,6 +545,18 @@ declare namespace $requests {
|
|
|
541
545
|
CLASS_PASS = "CLASS_PASS",
|
|
542
546
|
GLOBAL_E = "GLOBAL_E",
|
|
543
547
|
}
|
|
548
|
+
export interface ILocationAndQuantity {
|
|
549
|
+
id: string;
|
|
550
|
+
appId?: string;
|
|
551
|
+
quantity: number;
|
|
552
|
+
}
|
|
553
|
+
export class LocationAndQuantity implements ILocationAndQuantity {
|
|
554
|
+
constructor(data?: ILocationAndQuantity);
|
|
555
|
+
id: string;
|
|
556
|
+
appId?: string;
|
|
557
|
+
quantity: number;
|
|
558
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
559
|
+
}
|
|
544
560
|
export interface IPickupAddress {
|
|
545
561
|
country?: string;
|
|
546
562
|
subdivision?: string;
|
|
@@ -887,6 +903,7 @@ declare namespace $requests {
|
|
|
887
903
|
trackInventory: boolean;
|
|
888
904
|
preorderInfo?: $requests.wix.inventory.api.v1.IPreorderInfo;
|
|
889
905
|
fieldMask?: string[];
|
|
906
|
+
updatedDate?: Date;
|
|
890
907
|
}
|
|
891
908
|
export class InventoryItemChanged implements IInventoryItemChanged {
|
|
892
909
|
constructor(data?: IInventoryItemChanged);
|
|
@@ -896,6 +913,7 @@ declare namespace $requests {
|
|
|
896
913
|
trackInventory: boolean;
|
|
897
914
|
preorderInfo?: $requests.wix.inventory.api.v1.IPreorderInfo;
|
|
898
915
|
fieldMask?: string[];
|
|
916
|
+
updatedDate?: Date;
|
|
899
917
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
900
918
|
}
|
|
901
919
|
export interface IInventoryVariantsChanged {
|
|
@@ -904,6 +922,7 @@ declare namespace $requests {
|
|
|
904
922
|
productId: string;
|
|
905
923
|
variants: $requests.com.wix.ecommerce.inventory.api.v1.IChangedInventoryVariant[];
|
|
906
924
|
reason: $requests.wix.inventory.api.v1.ReasonTypeWrapper.ReasonType;
|
|
925
|
+
updatedDate?: Date;
|
|
907
926
|
}
|
|
908
927
|
export class InventoryVariantsChanged implements IInventoryVariantsChanged {
|
|
909
928
|
constructor(data?: IInventoryVariantsChanged);
|
|
@@ -912,6 +931,7 @@ declare namespace $requests {
|
|
|
912
931
|
productId: string;
|
|
913
932
|
variants: $requests.com.wix.ecommerce.inventory.api.v1.IChangedInventoryVariant[];
|
|
914
933
|
reason: $requests.wix.inventory.api.v1.ReasonTypeWrapper.ReasonType;
|
|
934
|
+
updatedDate?: Date;
|
|
915
935
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
916
936
|
}
|
|
917
937
|
export interface IChangedInventoryVariant {
|
|
@@ -988,10 +1008,12 @@ declare namespace $requests {
|
|
|
988
1008
|
}
|
|
989
1009
|
export interface IExtensible {
|
|
990
1010
|
nestedExtensionFieldPath: string;
|
|
1011
|
+
filterable: boolean;
|
|
991
1012
|
}
|
|
992
1013
|
export class Extensible implements IExtensible {
|
|
993
1014
|
constructor(data?: IExtensible);
|
|
994
1015
|
nestedExtensionFieldPath: string;
|
|
1016
|
+
filterable: boolean;
|
|
995
1017
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
996
1018
|
}
|
|
997
1019
|
export interface IMessageAppendix {
|
|
@@ -1010,14 +1032,19 @@ declare namespace $requests {
|
|
|
1010
1032
|
AUTO_VELO = "AUTO_VELO",
|
|
1011
1033
|
DOCS_CONF = "DOCS_CONF",
|
|
1012
1034
|
MULTILINGUAL = "MULTILINGUAL",
|
|
1035
|
+
SEARCH = "SEARCH",
|
|
1013
1036
|
}
|
|
1014
1037
|
}
|
|
1015
1038
|
export interface IDomainEventOptions {
|
|
1016
1039
|
eventSequenceNumber: boolean;
|
|
1040
|
+
deletedIncludeEntity: boolean;
|
|
1041
|
+
updatedIncludeModifiedFields: boolean;
|
|
1017
1042
|
}
|
|
1018
1043
|
export class DomainEventOptions implements IDomainEventOptions {
|
|
1019
1044
|
constructor(data?: IDomainEventOptions);
|
|
1020
1045
|
eventSequenceNumber: boolean;
|
|
1046
|
+
deletedIncludeEntity: boolean;
|
|
1047
|
+
updatedIncludeModifiedFields: boolean;
|
|
1021
1048
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1022
1049
|
}
|
|
1023
1050
|
export interface IReferenceEntityField {
|
|
@@ -1352,11 +1379,13 @@ declare namespace $requests {
|
|
|
1352
1379
|
export interface IWql {
|
|
1353
1380
|
operatorFieldSupport: $requests.wix.api.Wql.IOperatorFieldSupport[];
|
|
1354
1381
|
pattern: $requests.wix.api.Wql.IOperatorFieldSupport[];
|
|
1382
|
+
validateQuery: boolean;
|
|
1355
1383
|
}
|
|
1356
1384
|
export class Wql implements IWql {
|
|
1357
1385
|
constructor(data?: IWql);
|
|
1358
1386
|
operatorFieldSupport: $requests.wix.api.Wql.IOperatorFieldSupport[];
|
|
1359
1387
|
pattern: $requests.wix.api.Wql.IOperatorFieldSupport[];
|
|
1388
|
+
validateQuery: boolean;
|
|
1360
1389
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1361
1390
|
}
|
|
1362
1391
|
export namespace Wql {
|
|
@@ -1378,6 +1407,7 @@ declare namespace $requests {
|
|
|
1378
1407
|
HAS_SOME = "HAS_SOME",
|
|
1379
1408
|
EMPTY = "EMPTY",
|
|
1380
1409
|
MATCH_ALL = "MATCH_ALL",
|
|
1410
|
+
MATCH_ITEMS = "MATCH_ITEMS",
|
|
1381
1411
|
}
|
|
1382
1412
|
export enum Sort {
|
|
1383
1413
|
NONE = "NONE",
|
|
@@ -1759,12 +1789,14 @@ declare namespace $requests {
|
|
|
1759
1789
|
export interface IDetails {
|
|
1760
1790
|
applicationError?: $requests.wix.api.IApplicationError;
|
|
1761
1791
|
validationError?: $requests.wix.api.IValidationError;
|
|
1792
|
+
systemError?: $requests.wix.api.ISystemError;
|
|
1762
1793
|
tracing?: { [k: string]: string };
|
|
1763
1794
|
}
|
|
1764
1795
|
export class Details implements IDetails {
|
|
1765
1796
|
constructor(data?: IDetails);
|
|
1766
1797
|
applicationError?: $requests.wix.api.IApplicationError;
|
|
1767
1798
|
validationError?: $requests.wix.api.IValidationError;
|
|
1799
|
+
systemError?: $requests.wix.api.ISystemError;
|
|
1768
1800
|
tracing?: { [k: string]: string };
|
|
1769
1801
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1770
1802
|
}
|
|
@@ -1780,6 +1812,14 @@ declare namespace $requests {
|
|
|
1780
1812
|
data?: { [key: string]: any };
|
|
1781
1813
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1782
1814
|
}
|
|
1815
|
+
export interface ISystemError {
|
|
1816
|
+
errorCode?: string;
|
|
1817
|
+
}
|
|
1818
|
+
export class SystemError implements ISystemError {
|
|
1819
|
+
constructor(data?: ISystemError);
|
|
1820
|
+
errorCode?: string;
|
|
1821
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1822
|
+
}
|
|
1783
1823
|
/**
|
|
1784
1824
|
* example result:
|
|
1785
1825
|
* {
|
|
@@ -2080,6 +2120,7 @@ declare namespace $requests {
|
|
|
2080
2120
|
posters: $requests.wix.common.IImage[];
|
|
2081
2121
|
sizeInBytes?: string;
|
|
2082
2122
|
urlExpirationDate?: Date;
|
|
2123
|
+
durationInMilliseconds?: number;
|
|
2083
2124
|
}
|
|
2084
2125
|
export class VideoV2 implements IVideoV2 {
|
|
2085
2126
|
constructor(data?: IVideoV2);
|
|
@@ -2090,6 +2131,7 @@ declare namespace $requests {
|
|
|
2090
2131
|
posters: $requests.wix.common.IImage[];
|
|
2091
2132
|
sizeInBytes?: string;
|
|
2092
2133
|
urlExpirationDate?: Date;
|
|
2134
|
+
durationInMilliseconds?: number;
|
|
2093
2135
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2094
2136
|
}
|
|
2095
2137
|
export interface IVideoResolution {
|
|
@@ -2103,6 +2145,7 @@ declare namespace $requests {
|
|
|
2103
2145
|
quality?: string;
|
|
2104
2146
|
filename?: string;
|
|
2105
2147
|
durationInSeconds?: number;
|
|
2148
|
+
durationInMilliseconds?: number;
|
|
2106
2149
|
private?: boolean;
|
|
2107
2150
|
assetKey?: string;
|
|
2108
2151
|
}
|
|
@@ -2118,6 +2161,7 @@ declare namespace $requests {
|
|
|
2118
2161
|
quality?: string;
|
|
2119
2162
|
filename?: string;
|
|
2120
2163
|
durationInSeconds?: number;
|
|
2164
|
+
durationInMilliseconds?: number;
|
|
2121
2165
|
private?: boolean;
|
|
2122
2166
|
assetKey?: string;
|
|
2123
2167
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
@@ -2215,11 +2259,13 @@ declare namespace $requests {
|
|
|
2215
2259
|
export interface ISorting {
|
|
2216
2260
|
fieldName: string;
|
|
2217
2261
|
order: $requests.wix.common.SortOrder;
|
|
2262
|
+
selectItemsBy: { [key: string]: any }[];
|
|
2218
2263
|
}
|
|
2219
2264
|
export class Sorting implements ISorting {
|
|
2220
2265
|
constructor(data?: ISorting);
|
|
2221
2266
|
fieldName: string;
|
|
2222
2267
|
order: $requests.wix.common.SortOrder;
|
|
2268
|
+
selectItemsBy: { [key: string]: any }[];
|
|
2223
2269
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2224
2270
|
}
|
|
2225
2271
|
export enum SortOrder {
|
|
@@ -2281,6 +2327,7 @@ declare namespace $requests {
|
|
|
2281
2327
|
search?: $requests.wix.common.ISearchDetails;
|
|
2282
2328
|
paging?: $requests.wix.common.IPaging;
|
|
2283
2329
|
cursorPaging?: $requests.wix.common.ICursorPaging;
|
|
2330
|
+
timeZone?: string;
|
|
2284
2331
|
}
|
|
2285
2332
|
export class Search implements ISearch {
|
|
2286
2333
|
constructor(data?: ISearch);
|
|
@@ -2292,6 +2339,7 @@ declare namespace $requests {
|
|
|
2292
2339
|
search?: $requests.wix.common.ISearchDetails;
|
|
2293
2340
|
paging?: $requests.wix.common.IPaging;
|
|
2294
2341
|
cursorPaging?: $requests.wix.common.ICursorPaging;
|
|
2342
|
+
timeZone?: string;
|
|
2295
2343
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2296
2344
|
}
|
|
2297
2345
|
export interface ICursorSearch {
|
|
@@ -2300,6 +2348,7 @@ declare namespace $requests {
|
|
|
2300
2348
|
aggregations: $requests.wix.common.IAggregation[];
|
|
2301
2349
|
search?: $requests.wix.common.ISearchDetails;
|
|
2302
2350
|
cursorPaging?: $requests.wix.common.ICursorPaging;
|
|
2351
|
+
timeZone?: string;
|
|
2303
2352
|
}
|
|
2304
2353
|
export class CursorSearch implements ICursorSearch {
|
|
2305
2354
|
constructor(data?: ICursorSearch);
|
|
@@ -2308,6 +2357,7 @@ declare namespace $requests {
|
|
|
2308
2357
|
aggregations: $requests.wix.common.IAggregation[];
|
|
2309
2358
|
search?: $requests.wix.common.ISearchDetails;
|
|
2310
2359
|
cursorPaging?: $requests.wix.common.ICursorPaging;
|
|
2360
|
+
timeZone?: string;
|
|
2311
2361
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2312
2362
|
}
|
|
2313
2363
|
export interface ISearchDetails {
|
|
@@ -2335,6 +2385,8 @@ declare namespace $requests {
|
|
|
2335
2385
|
VALUE = "VALUE",
|
|
2336
2386
|
RANGE = "RANGE",
|
|
2337
2387
|
SCALAR = "SCALAR",
|
|
2388
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
2389
|
+
NESTED = "NESTED",
|
|
2338
2390
|
}
|
|
2339
2391
|
export enum ScalarType {
|
|
2340
2392
|
UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
|
|
@@ -2351,6 +2403,8 @@ declare namespace $requests {
|
|
|
2351
2403
|
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2352
2404
|
range?: $requests.wix.common.Aggregation.IRangeAggregation;
|
|
2353
2405
|
scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
|
|
2406
|
+
dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
|
|
2407
|
+
nested?: $requests.wix.common.Aggregation.INestedAggregation;
|
|
2354
2408
|
groupBy?: $requests.wix.common.Aggregation.IGroupByAggregation;
|
|
2355
2409
|
}
|
|
2356
2410
|
export class Aggregation implements IAggregation {
|
|
@@ -2361,6 +2415,8 @@ declare namespace $requests {
|
|
|
2361
2415
|
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2362
2416
|
range?: $requests.wix.common.Aggregation.IRangeAggregation;
|
|
2363
2417
|
scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
|
|
2418
|
+
dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
|
|
2419
|
+
nested?: $requests.wix.common.Aggregation.INestedAggregation;
|
|
2364
2420
|
groupBy?: $requests.wix.common.Aggregation.IGroupByAggregation;
|
|
2365
2421
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2366
2422
|
}
|
|
@@ -2443,6 +2499,63 @@ declare namespace $requests {
|
|
|
2443
2499
|
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2444
2500
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2445
2501
|
}
|
|
2502
|
+
export interface INestedAggregation {
|
|
2503
|
+
nestedAggregations: $requests.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[];
|
|
2504
|
+
}
|
|
2505
|
+
export class NestedAggregation implements INestedAggregation {
|
|
2506
|
+
constructor(data?: INestedAggregation);
|
|
2507
|
+
nestedAggregations: $requests.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[];
|
|
2508
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2509
|
+
}
|
|
2510
|
+
export namespace NestedAggregation {
|
|
2511
|
+
export enum NestedAggregationType {
|
|
2512
|
+
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
2513
|
+
VALUE = "VALUE",
|
|
2514
|
+
RANGE = "RANGE",
|
|
2515
|
+
SCALAR = "SCALAR",
|
|
2516
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
2517
|
+
}
|
|
2518
|
+
export interface INestedAggregationItem {
|
|
2519
|
+
name?: string;
|
|
2520
|
+
type: $requests.wix.common.Aggregation.NestedAggregation.NestedAggregationType;
|
|
2521
|
+
fieldPath: string;
|
|
2522
|
+
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2523
|
+
range?: $requests.wix.common.Aggregation.IRangeAggregation;
|
|
2524
|
+
scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
|
|
2525
|
+
dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
|
|
2526
|
+
}
|
|
2527
|
+
export class NestedAggregationItem implements INestedAggregationItem {
|
|
2528
|
+
constructor(data?: INestedAggregationItem);
|
|
2529
|
+
name?: string;
|
|
2530
|
+
type: $requests.wix.common.Aggregation.NestedAggregation.NestedAggregationType;
|
|
2531
|
+
fieldPath: string;
|
|
2532
|
+
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2533
|
+
range?: $requests.wix.common.Aggregation.IRangeAggregation;
|
|
2534
|
+
scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
|
|
2535
|
+
dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
|
|
2536
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
export interface IDateHistogramAggregation {
|
|
2540
|
+
interval: $requests.wix.common.Aggregation.DateHistogramAggregation.Interval;
|
|
2541
|
+
}
|
|
2542
|
+
export class DateHistogramAggregation implements IDateHistogramAggregation {
|
|
2543
|
+
constructor(data?: IDateHistogramAggregation);
|
|
2544
|
+
interval: $requests.wix.common.Aggregation.DateHistogramAggregation.Interval;
|
|
2545
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2546
|
+
}
|
|
2547
|
+
export namespace DateHistogramAggregation {
|
|
2548
|
+
export enum Interval {
|
|
2549
|
+
UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
|
|
2550
|
+
YEAR = "YEAR",
|
|
2551
|
+
MONTH = "MONTH",
|
|
2552
|
+
WEEK = "WEEK",
|
|
2553
|
+
DAY = "DAY",
|
|
2554
|
+
HOUR = "HOUR",
|
|
2555
|
+
MINUTE = "MINUTE",
|
|
2556
|
+
SECOND = "SECOND",
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2446
2559
|
}
|
|
2447
2560
|
export interface IAggregationData {
|
|
2448
2561
|
results: $requests.wix.common.AggregationData.IAggregationResults[];
|
|
@@ -2461,6 +2574,8 @@ declare namespace $requests {
|
|
|
2461
2574
|
ranges?: $requests.wix.common.AggregationData.AggregationResults.IRangeResults;
|
|
2462
2575
|
scalar?: $requests.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
2463
2576
|
groupedByValue?: $requests.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
|
|
2577
|
+
dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
|
|
2578
|
+
nested?: $requests.wix.common.AggregationData.AggregationResults.INestedResults;
|
|
2464
2579
|
}
|
|
2465
2580
|
export class AggregationResults implements IAggregationResults {
|
|
2466
2581
|
constructor(data?: IAggregationResults);
|
|
@@ -2471,6 +2586,8 @@ declare namespace $requests {
|
|
|
2471
2586
|
ranges?: $requests.wix.common.AggregationData.AggregationResults.IRangeResults;
|
|
2472
2587
|
scalar?: $requests.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
2473
2588
|
groupedByValue?: $requests.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
|
|
2589
|
+
dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
|
|
2590
|
+
nested?: $requests.wix.common.AggregationData.AggregationResults.INestedResults;
|
|
2474
2591
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2475
2592
|
}
|
|
2476
2593
|
export namespace AggregationResults {
|
|
@@ -2564,6 +2681,88 @@ declare namespace $requests {
|
|
|
2564
2681
|
scalar?: $requests.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
2565
2682
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2566
2683
|
}
|
|
2684
|
+
export interface INestedResults {
|
|
2685
|
+
results: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IResults[];
|
|
2686
|
+
}
|
|
2687
|
+
export class NestedResults implements INestedResults {
|
|
2688
|
+
constructor(data?: INestedResults);
|
|
2689
|
+
results: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IResults[];
|
|
2690
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2691
|
+
}
|
|
2692
|
+
export namespace NestedResults {
|
|
2693
|
+
export interface IValueResult {
|
|
2694
|
+
value: string;
|
|
2695
|
+
count?: number;
|
|
2696
|
+
}
|
|
2697
|
+
export class ValueResult implements IValueResult {
|
|
2698
|
+
constructor(data?: IValueResult);
|
|
2699
|
+
value: string;
|
|
2700
|
+
count?: number;
|
|
2701
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2702
|
+
}
|
|
2703
|
+
export interface IRangeResult {
|
|
2704
|
+
from?: number;
|
|
2705
|
+
to?: number;
|
|
2706
|
+
count?: number;
|
|
2707
|
+
}
|
|
2708
|
+
export class RangeResult implements IRangeResult {
|
|
2709
|
+
constructor(data?: IRangeResult);
|
|
2710
|
+
from?: number;
|
|
2711
|
+
to?: number;
|
|
2712
|
+
count?: number;
|
|
2713
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2714
|
+
}
|
|
2715
|
+
export interface IScalarResult {
|
|
2716
|
+
value: number;
|
|
2717
|
+
}
|
|
2718
|
+
export class ScalarResult implements IScalarResult {
|
|
2719
|
+
constructor(data?: IScalarResult);
|
|
2720
|
+
value: number;
|
|
2721
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2722
|
+
}
|
|
2723
|
+
export interface INestedResultValue {
|
|
2724
|
+
value?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
2725
|
+
range?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
|
|
2726
|
+
scalar?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
|
|
2727
|
+
dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
2728
|
+
}
|
|
2729
|
+
export class NestedResultValue implements INestedResultValue {
|
|
2730
|
+
constructor(data?: INestedResultValue);
|
|
2731
|
+
value?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
2732
|
+
range?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
|
|
2733
|
+
scalar?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
|
|
2734
|
+
dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
2735
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2736
|
+
}
|
|
2737
|
+
export interface IResults {
|
|
2738
|
+
results?: { [k: string]: $requests.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue };
|
|
2739
|
+
}
|
|
2740
|
+
export class Results implements IResults {
|
|
2741
|
+
constructor(data?: IResults);
|
|
2742
|
+
results?: { [k: string]: $requests.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue };
|
|
2743
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
export interface IDateHistogramResults {
|
|
2747
|
+
results: $requests.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[];
|
|
2748
|
+
}
|
|
2749
|
+
export class DateHistogramResults implements IDateHistogramResults {
|
|
2750
|
+
constructor(data?: IDateHistogramResults);
|
|
2751
|
+
results: $requests.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[];
|
|
2752
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2753
|
+
}
|
|
2754
|
+
export namespace DateHistogramResults {
|
|
2755
|
+
export interface IDateHistogramResult {
|
|
2756
|
+
value: string;
|
|
2757
|
+
count: number;
|
|
2758
|
+
}
|
|
2759
|
+
export class DateHistogramResult implements IDateHistogramResult {
|
|
2760
|
+
constructor(data?: IDateHistogramResult);
|
|
2761
|
+
value: string;
|
|
2762
|
+
count: number;
|
|
2763
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2567
2766
|
}
|
|
2568
2767
|
}
|
|
2569
2768
|
export interface IAddress {
|
|
@@ -2897,6 +3096,7 @@ declare namespace $requests {
|
|
|
2897
3096
|
phone?: $requests.wix.common.IPhoneLink;
|
|
2898
3097
|
address?: $requests.wix.common.IAddressLink;
|
|
2899
3098
|
whatsApp?: $requests.wix.common.IWhatsAppLink;
|
|
3099
|
+
tpaPage?: $requests.wix.common.ITpaPageLink;
|
|
2900
3100
|
}
|
|
2901
3101
|
export class WixLink implements IWixLink {
|
|
2902
3102
|
constructor(data?: IWixLink);
|
|
@@ -2909,6 +3109,7 @@ declare namespace $requests {
|
|
|
2909
3109
|
phone?: $requests.wix.common.IPhoneLink;
|
|
2910
3110
|
address?: $requests.wix.common.IAddressLink;
|
|
2911
3111
|
whatsApp?: $requests.wix.common.IWhatsAppLink;
|
|
3112
|
+
tpaPage?: $requests.wix.common.ITpaPageLink;
|
|
2912
3113
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2913
3114
|
}
|
|
2914
3115
|
export interface IExternalLink {
|
|
@@ -2924,35 +3125,41 @@ declare namespace $requests {
|
|
|
2924
3125
|
export interface IPageLink {
|
|
2925
3126
|
pageId: string;
|
|
2926
3127
|
target?: string;
|
|
3128
|
+
rel: $requests.wix.common.LinkRel[];
|
|
2927
3129
|
}
|
|
2928
3130
|
export class PageLink implements IPageLink {
|
|
2929
3131
|
constructor(data?: IPageLink);
|
|
2930
3132
|
pageId: string;
|
|
2931
3133
|
target?: string;
|
|
3134
|
+
rel: $requests.wix.common.LinkRel[];
|
|
2932
3135
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2933
3136
|
}
|
|
2934
3137
|
export interface IAnchorLink {
|
|
2935
3138
|
anchorName: string;
|
|
2936
3139
|
anchorDataId: string;
|
|
2937
3140
|
pageId: string;
|
|
3141
|
+
rel: $requests.wix.common.LinkRel[];
|
|
2938
3142
|
}
|
|
2939
3143
|
export class AnchorLink implements IAnchorLink {
|
|
2940
3144
|
constructor(data?: IAnchorLink);
|
|
2941
3145
|
anchorName: string;
|
|
2942
3146
|
anchorDataId: string;
|
|
2943
3147
|
pageId: string;
|
|
3148
|
+
rel: $requests.wix.common.LinkRel[];
|
|
2944
3149
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2945
3150
|
}
|
|
2946
3151
|
export interface IDynamicPageLink {
|
|
2947
3152
|
routerId: string;
|
|
2948
3153
|
innerRoute: string;
|
|
2949
3154
|
anchorDataId?: string;
|
|
3155
|
+
rel: $requests.wix.common.LinkRel[];
|
|
2950
3156
|
}
|
|
2951
3157
|
export class DynamicPageLink implements IDynamicPageLink {
|
|
2952
3158
|
constructor(data?: IDynamicPageLink);
|
|
2953
3159
|
routerId: string;
|
|
2954
3160
|
innerRoute: string;
|
|
2955
3161
|
anchorDataId?: string;
|
|
3162
|
+
rel: $requests.wix.common.LinkRel[];
|
|
2956
3163
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2957
3164
|
}
|
|
2958
3165
|
export interface IDocumentLink {
|
|
@@ -3003,6 +3210,31 @@ declare namespace $requests {
|
|
|
3003
3210
|
phoneNumber: string;
|
|
3004
3211
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3005
3212
|
}
|
|
3213
|
+
export interface ITpaPageLink {
|
|
3214
|
+
itemTypeIdentifier: string;
|
|
3215
|
+
itemId: string;
|
|
3216
|
+
pageId: string;
|
|
3217
|
+
appDefinitionId: string;
|
|
3218
|
+
path: string;
|
|
3219
|
+
rel: $requests.wix.common.LinkRel[];
|
|
3220
|
+
}
|
|
3221
|
+
export class TpaPageLink implements ITpaPageLink {
|
|
3222
|
+
constructor(data?: ITpaPageLink);
|
|
3223
|
+
itemTypeIdentifier: string;
|
|
3224
|
+
itemId: string;
|
|
3225
|
+
pageId: string;
|
|
3226
|
+
appDefinitionId: string;
|
|
3227
|
+
path: string;
|
|
3228
|
+
rel: $requests.wix.common.LinkRel[];
|
|
3229
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3230
|
+
}
|
|
3231
|
+
export enum LinkRel {
|
|
3232
|
+
unknown_link_rel = "unknown_link_rel",
|
|
3233
|
+
nofollow = "nofollow",
|
|
3234
|
+
noopener = "noopener",
|
|
3235
|
+
noreferrer = "noreferrer",
|
|
3236
|
+
sponsored = "sponsored",
|
|
3237
|
+
}
|
|
3006
3238
|
}
|
|
3007
3239
|
export namespace payment {
|
|
3008
3240
|
export namespace api {
|
|
@@ -3210,6 +3442,7 @@ declare namespace $requests {
|
|
|
3210
3442
|
urls?: $requests.wix.payment.api.pay.v2.IOrderUrls;
|
|
3211
3443
|
cofIntent?: $requests.wix.payment.api.pay.v2.ICofIntent;
|
|
3212
3444
|
idempotencyKey?: string;
|
|
3445
|
+
expirationDate?: Date;
|
|
3213
3446
|
}
|
|
3214
3447
|
export class CreateOrderRequest implements ICreateOrderRequest {
|
|
3215
3448
|
constructor(data?: ICreateOrderRequest);
|
|
@@ -3218,6 +3451,7 @@ declare namespace $requests {
|
|
|
3218
3451
|
urls?: $requests.wix.payment.api.pay.v2.IOrderUrls;
|
|
3219
3452
|
cofIntent?: $requests.wix.payment.api.pay.v2.ICofIntent;
|
|
3220
3453
|
idempotencyKey?: string;
|
|
3454
|
+
expirationDate?: Date;
|
|
3221
3455
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3222
3456
|
}
|
|
3223
3457
|
export interface ICreateOrderResponse {
|
|
@@ -3233,6 +3467,7 @@ declare namespace $requests {
|
|
|
3233
3467
|
accountId: string;
|
|
3234
3468
|
description?: $requests.wix.payment.api.pay.v2.IOrderDescription;
|
|
3235
3469
|
urls?: $requests.wix.payment.api.pay.v2.IOrderUrls;
|
|
3470
|
+
expirationDate?: Date;
|
|
3236
3471
|
}
|
|
3237
3472
|
export class UpdateOrderRequest implements IUpdateOrderRequest {
|
|
3238
3473
|
constructor(data?: IUpdateOrderRequest);
|
|
@@ -3240,6 +3475,7 @@ declare namespace $requests {
|
|
|
3240
3475
|
accountId: string;
|
|
3241
3476
|
description?: $requests.wix.payment.api.pay.v2.IOrderDescription;
|
|
3242
3477
|
urls?: $requests.wix.payment.api.pay.v2.IOrderUrls;
|
|
3478
|
+
expirationDate?: Date;
|
|
3243
3479
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3244
3480
|
}
|
|
3245
3481
|
export interface IUpdateOrderResponse {
|
|
@@ -3254,12 +3490,14 @@ declare namespace $requests {
|
|
|
3254
3490
|
currency: string;
|
|
3255
3491
|
buyerInfo?: $requests.wix.payment.api.pay.v2.IOrderBuyerInfo;
|
|
3256
3492
|
merchantInitiated: boolean;
|
|
3493
|
+
expirationDate?: Date;
|
|
3257
3494
|
}
|
|
3258
3495
|
export class SetupRequest implements ISetupRequest {
|
|
3259
3496
|
constructor(data?: ISetupRequest);
|
|
3260
3497
|
currency: string;
|
|
3261
3498
|
buyerInfo?: $requests.wix.payment.api.pay.v2.IOrderBuyerInfo;
|
|
3262
3499
|
merchantInitiated: boolean;
|
|
3500
|
+
expirationDate?: Date;
|
|
3263
3501
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3264
3502
|
}
|
|
3265
3503
|
export interface ISetupResponse {
|
|
@@ -3632,6 +3870,8 @@ declare namespace $requests {
|
|
|
3632
3870
|
charges?: $requests.wix.payment.api.pay.v2.IOrderAdditionalCharges;
|
|
3633
3871
|
noShipping: boolean;
|
|
3634
3872
|
subscription?: $requests.wix.payment.api.pay.v2.ISubscription;
|
|
3873
|
+
setupFutureUsages?: boolean;
|
|
3874
|
+
suggestedPaymentAgreementId?: string;
|
|
3635
3875
|
verticalOrderId: string;
|
|
3636
3876
|
buyerInfo?: $requests.wix.payment.api.pay.v2.IOrderBuyerInfo;
|
|
3637
3877
|
externalData?: { [k: string]: string };
|
|
@@ -3656,6 +3896,8 @@ declare namespace $requests {
|
|
|
3656
3896
|
charges?: $requests.wix.payment.api.pay.v2.IOrderAdditionalCharges;
|
|
3657
3897
|
noShipping: boolean;
|
|
3658
3898
|
subscription?: $requests.wix.payment.api.pay.v2.ISubscription;
|
|
3899
|
+
setupFutureUsages?: boolean;
|
|
3900
|
+
suggestedPaymentAgreementId?: string;
|
|
3659
3901
|
verticalOrderId: string;
|
|
3660
3902
|
buyerInfo?: $requests.wix.payment.api.pay.v2.IOrderBuyerInfo;
|
|
3661
3903
|
externalData?: { [k: string]: string };
|
|
@@ -4154,6 +4396,7 @@ declare namespace $requests {
|
|
|
4154
4396
|
enforceDelayedCapture: boolean;
|
|
4155
4397
|
merchantUseSaveEnabled: boolean;
|
|
4156
4398
|
buyerContactId?: string;
|
|
4399
|
+
supportSetupFutureUsages: boolean;
|
|
4157
4400
|
}
|
|
4158
4401
|
export class ListPaymentMethodsRequest implements IListPaymentMethodsRequest {
|
|
4159
4402
|
constructor(data?: IListPaymentMethodsRequest);
|
|
@@ -4170,6 +4413,7 @@ declare namespace $requests {
|
|
|
4170
4413
|
enforceDelayedCapture: boolean;
|
|
4171
4414
|
merchantUseSaveEnabled: boolean;
|
|
4172
4415
|
buyerContactId?: string;
|
|
4416
|
+
supportSetupFutureUsages: boolean;
|
|
4173
4417
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4174
4418
|
}
|
|
4175
4419
|
export interface IListPaymentMethodsResponse {
|
|
@@ -4189,6 +4433,7 @@ declare namespace $requests {
|
|
|
4189
4433
|
locale?: string;
|
|
4190
4434
|
chargeIntent: $requests.wix.payment.api.pay.v2.Charge.ChargeIntent;
|
|
4191
4435
|
merchantUseSaveEnabled: boolean;
|
|
4436
|
+
supportSetupFutureUsages: boolean;
|
|
4192
4437
|
}
|
|
4193
4438
|
export class GetPaymentMethodRequest implements IGetPaymentMethodRequest {
|
|
4194
4439
|
constructor(data?: IGetPaymentMethodRequest);
|
|
@@ -4200,6 +4445,7 @@ declare namespace $requests {
|
|
|
4200
4445
|
locale?: string;
|
|
4201
4446
|
chargeIntent: $requests.wix.payment.api.pay.v2.Charge.ChargeIntent;
|
|
4202
4447
|
merchantUseSaveEnabled: boolean;
|
|
4448
|
+
supportSetupFutureUsages: boolean;
|
|
4203
4449
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4204
4450
|
}
|
|
4205
4451
|
export interface IGetPaymentMethodResponse {
|
|
@@ -4325,6 +4571,7 @@ declare namespace $requests {
|
|
|
4325
4571
|
savedPaymentMethodId?: string;
|
|
4326
4572
|
paymentAgreementId?: string;
|
|
4327
4573
|
primary?: boolean;
|
|
4574
|
+
payPalDetails?: $requests.wix.payment.api.pay.v2.IPayPalDetails;
|
|
4328
4575
|
savedCreditCardDetails?: $requests.wix.payment.api.pay.v2.ISavedCreditCardDetails;
|
|
4329
4576
|
savePaymentMethodDisplayOption: $requests.wix.payment.api.pay.v2.PaymentMethod.SavePaymentMethodDisplayOption;
|
|
4330
4577
|
allowMerchantUseDisplayOption: $requests.wix.payment.api.pay.v2.AllowMerchantUseDisplayOptionEnum.AllowMerchantUseDisplayOption;
|
|
@@ -4353,6 +4600,7 @@ declare namespace $requests {
|
|
|
4353
4600
|
savedPaymentMethodId?: string;
|
|
4354
4601
|
paymentAgreementId?: string;
|
|
4355
4602
|
primary?: boolean;
|
|
4603
|
+
payPalDetails?: $requests.wix.payment.api.pay.v2.IPayPalDetails;
|
|
4356
4604
|
savedCreditCardDetails?: $requests.wix.payment.api.pay.v2.ISavedCreditCardDetails;
|
|
4357
4605
|
savePaymentMethodDisplayOption: $requests.wix.payment.api.pay.v2.PaymentMethod.SavePaymentMethodDisplayOption;
|
|
4358
4606
|
allowMerchantUseDisplayOption: $requests.wix.payment.api.pay.v2.AllowMerchantUseDisplayOptionEnum.AllowMerchantUseDisplayOption;
|
|
@@ -4403,9 +4651,11 @@ declare namespace $requests {
|
|
|
4403
4651
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4404
4652
|
}
|
|
4405
4653
|
export interface IPayPalDetails {
|
|
4654
|
+
accountName?: string;
|
|
4406
4655
|
}
|
|
4407
4656
|
export class PayPalDetails implements IPayPalDetails {
|
|
4408
4657
|
constructor(data?: IPayPalDetails);
|
|
4658
|
+
accountName?: string;
|
|
4409
4659
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4410
4660
|
}
|
|
4411
4661
|
export interface ISavedPaymentMethodDetails {
|
|
@@ -4850,6 +5100,7 @@ declare namespace $requests {
|
|
|
4850
5100
|
description?: $requests.wix.payment.api.pay.v2.IOrderDescription;
|
|
4851
5101
|
urls?: $requests.wix.payment.api.pay.v2.IOrderUrls;
|
|
4852
5102
|
idempotencyKey: string;
|
|
5103
|
+
expirationDate?: Date;
|
|
4853
5104
|
}
|
|
4854
5105
|
export class ChargeRequest implements IChargeRequest {
|
|
4855
5106
|
constructor(data?: IChargeRequest);
|
|
@@ -4858,6 +5109,7 @@ declare namespace $requests {
|
|
|
4858
5109
|
description?: $requests.wix.payment.api.pay.v2.IOrderDescription;
|
|
4859
5110
|
urls?: $requests.wix.payment.api.pay.v2.IOrderUrls;
|
|
4860
5111
|
idempotencyKey: string;
|
|
5112
|
+
expirationDate?: Date;
|
|
4861
5113
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4862
5114
|
}
|
|
4863
5115
|
export interface IChargeForOrderRequest {
|
|
@@ -5082,24 +5334,6 @@ declare namespace $requests {
|
|
|
5082
5334
|
phone: string;
|
|
5083
5335
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5084
5336
|
}
|
|
5085
|
-
export interface ICreatePayPalRecurringOrderRequest {
|
|
5086
|
-
accountId: string;
|
|
5087
|
-
description?: $requests.wix.payment.api.pay.v2.IOrderDescription;
|
|
5088
|
-
urls?: $requests.wix.payment.api.pay.v2.IOrderUrls;
|
|
5089
|
-
paypalRecurringProfileId: string;
|
|
5090
|
-
createdAt?: Date;
|
|
5091
|
-
orderId?: string;
|
|
5092
|
-
}
|
|
5093
|
-
export class CreatePayPalRecurringOrderRequest implements ICreatePayPalRecurringOrderRequest {
|
|
5094
|
-
constructor(data?: ICreatePayPalRecurringOrderRequest);
|
|
5095
|
-
accountId: string;
|
|
5096
|
-
description?: $requests.wix.payment.api.pay.v2.IOrderDescription;
|
|
5097
|
-
urls?: $requests.wix.payment.api.pay.v2.IOrderUrls;
|
|
5098
|
-
paypalRecurringProfileId: string;
|
|
5099
|
-
createdAt?: Date;
|
|
5100
|
-
orderId?: string;
|
|
5101
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5102
|
-
}
|
|
5103
5337
|
export interface ICreatePosTransactionRequest {
|
|
5104
5338
|
chargeId: string;
|
|
5105
5339
|
transaction?: $requests.wix.payment.api.pay.v2.IPosTransaction;
|
|
@@ -7008,6 +7242,67 @@ declare namespace $requests {
|
|
|
7008
7242
|
offset: number;
|
|
7009
7243
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
7010
7244
|
}
|
|
7245
|
+
export interface IFetchLocationInventoryItemRequest {
|
|
7246
|
+
productId: string;
|
|
7247
|
+
locationId: string;
|
|
7248
|
+
}
|
|
7249
|
+
export class FetchLocationInventoryItemRequest implements IFetchLocationInventoryItemRequest {
|
|
7250
|
+
constructor(data?: IFetchLocationInventoryItemRequest);
|
|
7251
|
+
productId: string;
|
|
7252
|
+
locationId: string;
|
|
7253
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
7254
|
+
}
|
|
7255
|
+
export interface IFetchLocationInventoryItemResponse {
|
|
7256
|
+
locationInventoryItem?: $requests.wix.inventory.api.v1.ILocationInventoryItem;
|
|
7257
|
+
}
|
|
7258
|
+
export class FetchLocationInventoryItemResponse implements IFetchLocationInventoryItemResponse {
|
|
7259
|
+
constructor(data?: IFetchLocationInventoryItemResponse);
|
|
7260
|
+
locationInventoryItem?: $requests.wix.inventory.api.v1.ILocationInventoryItem;
|
|
7261
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
7262
|
+
}
|
|
7263
|
+
/**
|
|
7264
|
+
* An inventory item is the record of inventory for a product and its variants at a given location
|
|
7265
|
+
*/
|
|
7266
|
+
export interface ILocationInventoryItem {
|
|
7267
|
+
/**
|
|
7268
|
+
* The ID of the inventory record for a given product.
|
|
7269
|
+
* The value matches the ID of the product itself.
|
|
7270
|
+
*/
|
|
7271
|
+
id?: $requests.google.protobuf.IStringValue;
|
|
7272
|
+
productId: string;
|
|
7273
|
+
variants: $requests.wix.inventory.api.v1.ILocationInventoryVariant[];
|
|
7274
|
+
updatedDate?: $requests.google.protobuf.ITimestamp;
|
|
7275
|
+
numericId: (number | string);
|
|
7276
|
+
preorderInfo?: $requests.wix.inventory.api.v1.IPreorderInfo;
|
|
7277
|
+
}
|
|
7278
|
+
export class LocationInventoryItem implements ILocationInventoryItem {
|
|
7279
|
+
constructor(data?: ILocationInventoryItem);
|
|
7280
|
+
id?: $requests.google.protobuf.IStringValue;
|
|
7281
|
+
productId: string;
|
|
7282
|
+
variants: $requests.wix.inventory.api.v1.ILocationInventoryVariant[];
|
|
7283
|
+
updatedDate?: $requests.google.protobuf.ITimestamp;
|
|
7284
|
+
numericId: (number | string);
|
|
7285
|
+
preorderInfo?: $requests.wix.inventory.api.v1.IPreorderInfo;
|
|
7286
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
7287
|
+
}
|
|
7288
|
+
export interface ILocationInventoryVariant {
|
|
7289
|
+
variantId: string;
|
|
7290
|
+
locationId: string;
|
|
7291
|
+
inStock: boolean;
|
|
7292
|
+
quantity?: $requests.google.protobuf.IInt32Value;
|
|
7293
|
+
trackQuantity: boolean;
|
|
7294
|
+
availableForPreorder: boolean;
|
|
7295
|
+
}
|
|
7296
|
+
export class LocationInventoryVariant implements ILocationInventoryVariant {
|
|
7297
|
+
constructor(data?: ILocationInventoryVariant);
|
|
7298
|
+
variantId: string;
|
|
7299
|
+
locationId: string;
|
|
7300
|
+
inStock: boolean;
|
|
7301
|
+
quantity?: $requests.google.protobuf.IInt32Value;
|
|
7302
|
+
trackQuantity: boolean;
|
|
7303
|
+
availableForPreorder: boolean;
|
|
7304
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
7305
|
+
}
|
|
7011
7306
|
}
|
|
7012
7307
|
}
|
|
7013
7308
|
}
|
|
@@ -7404,6 +7699,22 @@ declare namespace $requests {
|
|
|
7404
7699
|
product?: $requests.wix.catalog.api.v1.IProduct;
|
|
7405
7700
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
7406
7701
|
}
|
|
7702
|
+
export interface ICreateDigitalProductRequest {
|
|
7703
|
+
product?: $requests.wix.catalog.api.v1.IProduct;
|
|
7704
|
+
}
|
|
7705
|
+
export class CreateDigitalProductRequest implements ICreateDigitalProductRequest {
|
|
7706
|
+
constructor(data?: ICreateDigitalProductRequest);
|
|
7707
|
+
product?: $requests.wix.catalog.api.v1.IProduct;
|
|
7708
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
7709
|
+
}
|
|
7710
|
+
export interface ICreateDigitalProductResponse {
|
|
7711
|
+
product?: $requests.wix.catalog.api.v1.IProduct;
|
|
7712
|
+
}
|
|
7713
|
+
export class CreateDigitalProductResponse implements ICreateDigitalProductResponse {
|
|
7714
|
+
constructor(data?: ICreateDigitalProductResponse);
|
|
7715
|
+
product?: $requests.wix.catalog.api.v1.IProduct;
|
|
7716
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
7717
|
+
}
|
|
7407
7718
|
export interface IUpdateProductRequest {
|
|
7408
7719
|
product?: $requests.wix.catalog.api.v1.IProduct;
|
|
7409
7720
|
}
|
|
@@ -7975,6 +8286,7 @@ declare namespace $requests {
|
|
|
7975
8286
|
brand?: string;
|
|
7976
8287
|
taxGroupId?: string;
|
|
7977
8288
|
exportProductId: string;
|
|
8289
|
+
digitalFile?: $requests.com.wix.ecommerce.catalog_spi.api.v1.ISecuredMedia;
|
|
7978
8290
|
}
|
|
7979
8291
|
export class Product implements IProduct {
|
|
7980
8292
|
constructor(data?: IProduct);
|
|
@@ -8014,6 +8326,7 @@ declare namespace $requests {
|
|
|
8014
8326
|
brand?: string;
|
|
8015
8327
|
taxGroupId?: string;
|
|
8016
8328
|
exportProductId: string;
|
|
8329
|
+
digitalFile?: $requests.com.wix.ecommerce.catalog_spi.api.v1.ISecuredMedia;
|
|
8017
8330
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
8018
8331
|
}
|
|
8019
8332
|
export enum ProductType {
|
|
@@ -9358,6 +9671,7 @@ declare namespace $requests {
|
|
|
9358
9671
|
memberId?: string;
|
|
9359
9672
|
wixUserId?: string;
|
|
9360
9673
|
appId?: string;
|
|
9674
|
+
serviceId?: string;
|
|
9361
9675
|
}
|
|
9362
9676
|
export class Owner implements IOwner {
|
|
9363
9677
|
constructor(data?: IOwner);
|
|
@@ -9365,6 +9679,7 @@ declare namespace $requests {
|
|
|
9365
9679
|
memberId?: string;
|
|
9366
9680
|
wixUserId?: string;
|
|
9367
9681
|
appId?: string;
|
|
9682
|
+
serviceId?: string;
|
|
9368
9683
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
9369
9684
|
}
|
|
9370
9685
|
}
|
|
@@ -9927,6 +10242,7 @@ declare namespace $requests {
|
|
|
9927
10242
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
9928
10243
|
'.wix.api.sampleData': string;
|
|
9929
10244
|
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
10245
|
+
'.wix.api.nullable': boolean;
|
|
9930
10246
|
'.wix.api.max': number;
|
|
9931
10247
|
'.wix.api.min': number;
|
|
9932
10248
|
'.wix.api.maxLength': number;
|
|
@@ -9959,6 +10275,7 @@ declare namespace $requests {
|
|
|
9959
10275
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
9960
10276
|
'.wix.api.sampleData': string;
|
|
9961
10277
|
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
10278
|
+
'.wix.api.nullable': boolean;
|
|
9962
10279
|
'.wix.api.max': number;
|
|
9963
10280
|
'.wix.api.min': number;
|
|
9964
10281
|
'.wix.api.maxLength': number;
|
|
@@ -10580,48 +10897,52 @@ declare namespace $responses {
|
|
|
10580
10897
|
translated?: string;
|
|
10581
10898
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
10582
10899
|
}
|
|
10583
|
-
export interface ICatalogProvider {
|
|
10584
|
-
}
|
|
10585
|
-
export class CatalogProvider implements ICatalogProvider {
|
|
10586
|
-
constructor(data?: ICatalogProvider);
|
|
10587
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
10588
|
-
}
|
|
10589
10900
|
export interface ICatalogSPIConfig {
|
|
10590
10901
|
deploymentUri?: string;
|
|
10591
|
-
allItemsDiscount?: $responses.com.wix.ecommerce.catalog_spi.api.v1.
|
|
10592
|
-
specificItemsDiscount?: $responses.com.wix.ecommerce.catalog_spi.api.v1.
|
|
10593
|
-
nameTranslationKey?: string;
|
|
10902
|
+
allItemsDiscount?: $responses.com.wix.ecommerce.catalog_spi.api.v1.IAllItemsDiscountConfig;
|
|
10903
|
+
specificItemsDiscount?: $responses.com.wix.ecommerce.catalog_spi.api.v1.ISpecificItemsDiscountConfig;
|
|
10594
10904
|
}
|
|
10595
10905
|
export class CatalogSPIConfig implements ICatalogSPIConfig {
|
|
10596
10906
|
constructor(data?: ICatalogSPIConfig);
|
|
10597
10907
|
deploymentUri?: string;
|
|
10598
|
-
allItemsDiscount?: $responses.com.wix.ecommerce.catalog_spi.api.v1.
|
|
10599
|
-
specificItemsDiscount?: $responses.com.wix.ecommerce.catalog_spi.api.v1.
|
|
10600
|
-
nameTranslationKey?: string;
|
|
10908
|
+
allItemsDiscount?: $responses.com.wix.ecommerce.catalog_spi.api.v1.IAllItemsDiscountConfig;
|
|
10909
|
+
specificItemsDiscount?: $responses.com.wix.ecommerce.catalog_spi.api.v1.ISpecificItemsDiscountConfig;
|
|
10601
10910
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
10602
10911
|
}
|
|
10603
|
-
export interface
|
|
10912
|
+
export interface IAllItemsDiscountConfig {
|
|
10604
10913
|
enabled?: boolean;
|
|
10605
10914
|
translationKey?: string;
|
|
10915
|
+
name?: string;
|
|
10606
10916
|
}
|
|
10607
|
-
export class
|
|
10608
|
-
constructor(data?:
|
|
10917
|
+
export class AllItemsDiscountConfig implements IAllItemsDiscountConfig {
|
|
10918
|
+
constructor(data?: IAllItemsDiscountConfig);
|
|
10609
10919
|
enabled?: boolean;
|
|
10610
10920
|
translationKey?: string;
|
|
10921
|
+
name?: string;
|
|
10922
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
10923
|
+
}
|
|
10924
|
+
export interface ISpecificItemsDiscountConfig {
|
|
10925
|
+
enabled?: boolean;
|
|
10926
|
+
translationKey?: string;
|
|
10927
|
+
name?: string;
|
|
10928
|
+
}
|
|
10929
|
+
export class SpecificItemsDiscountConfig implements ISpecificItemsDiscountConfig {
|
|
10930
|
+
constructor(data?: ISpecificItemsDiscountConfig);
|
|
10931
|
+
enabled?: boolean;
|
|
10932
|
+
translationKey?: string;
|
|
10933
|
+
name?: string;
|
|
10611
10934
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
10612
10935
|
}
|
|
10613
10936
|
export interface IGetCatalogItemsRequest {
|
|
10614
10937
|
catalogReferences?: $responses.com.wix.ecommerce.catalog_spi.api.v1.ICatalogReferenceAndQuantity[];
|
|
10615
10938
|
weightUnit?: $responses.com.wix.ecommerce.platform_common.api.WeightUnit;
|
|
10616
10939
|
currency?: string;
|
|
10617
|
-
instanceId?: string;
|
|
10618
10940
|
}
|
|
10619
10941
|
export class GetCatalogItemsRequest implements IGetCatalogItemsRequest {
|
|
10620
10942
|
constructor(data?: IGetCatalogItemsRequest);
|
|
10621
10943
|
catalogReferences?: $responses.com.wix.ecommerce.catalog_spi.api.v1.ICatalogReferenceAndQuantity[];
|
|
10622
10944
|
weightUnit?: $responses.com.wix.ecommerce.platform_common.api.WeightUnit;
|
|
10623
10945
|
currency?: string;
|
|
10624
|
-
instanceId?: string;
|
|
10625
10946
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
10626
10947
|
}
|
|
10627
10948
|
export interface IGetCatalogItemsResponse {
|
|
@@ -10784,6 +11105,18 @@ declare namespace $responses {
|
|
|
10784
11105
|
CLASS_PASS = "CLASS_PASS",
|
|
10785
11106
|
GLOBAL_E = "GLOBAL_E",
|
|
10786
11107
|
}
|
|
11108
|
+
export interface ILocationAndQuantity {
|
|
11109
|
+
id?: string;
|
|
11110
|
+
appId?: string;
|
|
11111
|
+
quantity?: number;
|
|
11112
|
+
}
|
|
11113
|
+
export class LocationAndQuantity implements ILocationAndQuantity {
|
|
11114
|
+
constructor(data?: ILocationAndQuantity);
|
|
11115
|
+
id?: string;
|
|
11116
|
+
appId?: string;
|
|
11117
|
+
quantity?: number;
|
|
11118
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
11119
|
+
}
|
|
10787
11120
|
export interface IPickupAddress {
|
|
10788
11121
|
country?: string;
|
|
10789
11122
|
subdivision?: string;
|
|
@@ -11130,6 +11463,7 @@ declare namespace $responses {
|
|
|
11130
11463
|
trackInventory?: boolean;
|
|
11131
11464
|
preorderInfo?: $responses.wix.inventory.api.v1.IPreorderInfo;
|
|
11132
11465
|
fieldMask?: string[];
|
|
11466
|
+
updatedDate?: Date;
|
|
11133
11467
|
}
|
|
11134
11468
|
export class InventoryItemChanged implements IInventoryItemChanged {
|
|
11135
11469
|
constructor(data?: IInventoryItemChanged);
|
|
@@ -11139,6 +11473,7 @@ declare namespace $responses {
|
|
|
11139
11473
|
trackInventory?: boolean;
|
|
11140
11474
|
preorderInfo?: $responses.wix.inventory.api.v1.IPreorderInfo;
|
|
11141
11475
|
fieldMask?: string[];
|
|
11476
|
+
updatedDate?: Date;
|
|
11142
11477
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
11143
11478
|
}
|
|
11144
11479
|
export interface IInventoryVariantsChanged {
|
|
@@ -11147,6 +11482,7 @@ declare namespace $responses {
|
|
|
11147
11482
|
productId?: string;
|
|
11148
11483
|
variants?: $responses.com.wix.ecommerce.inventory.api.v1.IChangedInventoryVariant[];
|
|
11149
11484
|
reason?: $responses.wix.inventory.api.v1.ReasonTypeWrapper.ReasonType;
|
|
11485
|
+
updatedDate?: Date;
|
|
11150
11486
|
}
|
|
11151
11487
|
export class InventoryVariantsChanged implements IInventoryVariantsChanged {
|
|
11152
11488
|
constructor(data?: IInventoryVariantsChanged);
|
|
@@ -11155,6 +11491,7 @@ declare namespace $responses {
|
|
|
11155
11491
|
productId?: string;
|
|
11156
11492
|
variants?: $responses.com.wix.ecommerce.inventory.api.v1.IChangedInventoryVariant[];
|
|
11157
11493
|
reason?: $responses.wix.inventory.api.v1.ReasonTypeWrapper.ReasonType;
|
|
11494
|
+
updatedDate?: Date;
|
|
11158
11495
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
11159
11496
|
}
|
|
11160
11497
|
export interface IChangedInventoryVariant {
|
|
@@ -11231,10 +11568,12 @@ declare namespace $responses {
|
|
|
11231
11568
|
}
|
|
11232
11569
|
export interface IExtensible {
|
|
11233
11570
|
nestedExtensionFieldPath?: string;
|
|
11571
|
+
filterable?: boolean;
|
|
11234
11572
|
}
|
|
11235
11573
|
export class Extensible implements IExtensible {
|
|
11236
11574
|
constructor(data?: IExtensible);
|
|
11237
11575
|
nestedExtensionFieldPath?: string;
|
|
11576
|
+
filterable?: boolean;
|
|
11238
11577
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
11239
11578
|
}
|
|
11240
11579
|
export interface IMessageAppendix {
|
|
@@ -11253,14 +11592,19 @@ declare namespace $responses {
|
|
|
11253
11592
|
AUTO_VELO = "AUTO_VELO",
|
|
11254
11593
|
DOCS_CONF = "DOCS_CONF",
|
|
11255
11594
|
MULTILINGUAL = "MULTILINGUAL",
|
|
11595
|
+
SEARCH = "SEARCH",
|
|
11256
11596
|
}
|
|
11257
11597
|
}
|
|
11258
11598
|
export interface IDomainEventOptions {
|
|
11259
11599
|
eventSequenceNumber?: boolean;
|
|
11600
|
+
deletedIncludeEntity?: boolean;
|
|
11601
|
+
updatedIncludeModifiedFields?: boolean;
|
|
11260
11602
|
}
|
|
11261
11603
|
export class DomainEventOptions implements IDomainEventOptions {
|
|
11262
11604
|
constructor(data?: IDomainEventOptions);
|
|
11263
11605
|
eventSequenceNumber?: boolean;
|
|
11606
|
+
deletedIncludeEntity?: boolean;
|
|
11607
|
+
updatedIncludeModifiedFields?: boolean;
|
|
11264
11608
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
11265
11609
|
}
|
|
11266
11610
|
export interface IReferenceEntityField {
|
|
@@ -11595,11 +11939,13 @@ declare namespace $responses {
|
|
|
11595
11939
|
export interface IWql {
|
|
11596
11940
|
operatorFieldSupport?: $responses.wix.api.Wql.IOperatorFieldSupport[];
|
|
11597
11941
|
pattern?: $responses.wix.api.Wql.IOperatorFieldSupport[];
|
|
11942
|
+
validateQuery?: boolean;
|
|
11598
11943
|
}
|
|
11599
11944
|
export class Wql implements IWql {
|
|
11600
11945
|
constructor(data?: IWql);
|
|
11601
11946
|
operatorFieldSupport?: $responses.wix.api.Wql.IOperatorFieldSupport[];
|
|
11602
11947
|
pattern?: $responses.wix.api.Wql.IOperatorFieldSupport[];
|
|
11948
|
+
validateQuery?: boolean;
|
|
11603
11949
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
11604
11950
|
}
|
|
11605
11951
|
export namespace Wql {
|
|
@@ -11621,6 +11967,7 @@ declare namespace $responses {
|
|
|
11621
11967
|
HAS_SOME = "HAS_SOME",
|
|
11622
11968
|
EMPTY = "EMPTY",
|
|
11623
11969
|
MATCH_ALL = "MATCH_ALL",
|
|
11970
|
+
MATCH_ITEMS = "MATCH_ITEMS",
|
|
11624
11971
|
}
|
|
11625
11972
|
export enum Sort {
|
|
11626
11973
|
NONE = "NONE",
|
|
@@ -12002,12 +12349,14 @@ declare namespace $responses {
|
|
|
12002
12349
|
export interface IDetails {
|
|
12003
12350
|
applicationError?: $responses.wix.api.IApplicationError;
|
|
12004
12351
|
validationError?: $responses.wix.api.IValidationError;
|
|
12352
|
+
systemError?: $responses.wix.api.ISystemError;
|
|
12005
12353
|
tracing?: { [k: string]: string };
|
|
12006
12354
|
}
|
|
12007
12355
|
export class Details implements IDetails {
|
|
12008
12356
|
constructor(data?: IDetails);
|
|
12009
12357
|
applicationError?: $responses.wix.api.IApplicationError;
|
|
12010
12358
|
validationError?: $responses.wix.api.IValidationError;
|
|
12359
|
+
systemError?: $responses.wix.api.ISystemError;
|
|
12011
12360
|
tracing?: { [k: string]: string };
|
|
12012
12361
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12013
12362
|
}
|
|
@@ -12023,6 +12372,14 @@ declare namespace $responses {
|
|
|
12023
12372
|
data?: { [key: string]: any };
|
|
12024
12373
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12025
12374
|
}
|
|
12375
|
+
export interface ISystemError {
|
|
12376
|
+
errorCode?: string;
|
|
12377
|
+
}
|
|
12378
|
+
export class SystemError implements ISystemError {
|
|
12379
|
+
constructor(data?: ISystemError);
|
|
12380
|
+
errorCode?: string;
|
|
12381
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12382
|
+
}
|
|
12026
12383
|
/**
|
|
12027
12384
|
* example result:
|
|
12028
12385
|
* {
|
|
@@ -12323,6 +12680,7 @@ declare namespace $responses {
|
|
|
12323
12680
|
posters?: $responses.wix.common.IImage[];
|
|
12324
12681
|
sizeInBytes?: string;
|
|
12325
12682
|
urlExpirationDate?: Date;
|
|
12683
|
+
durationInMilliseconds?: number;
|
|
12326
12684
|
}
|
|
12327
12685
|
export class VideoV2 implements IVideoV2 {
|
|
12328
12686
|
constructor(data?: IVideoV2);
|
|
@@ -12333,6 +12691,7 @@ declare namespace $responses {
|
|
|
12333
12691
|
posters?: $responses.wix.common.IImage[];
|
|
12334
12692
|
sizeInBytes?: string;
|
|
12335
12693
|
urlExpirationDate?: Date;
|
|
12694
|
+
durationInMilliseconds?: number;
|
|
12336
12695
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12337
12696
|
}
|
|
12338
12697
|
export interface IVideoResolution {
|
|
@@ -12346,6 +12705,7 @@ declare namespace $responses {
|
|
|
12346
12705
|
quality?: string;
|
|
12347
12706
|
filename?: string;
|
|
12348
12707
|
durationInSeconds?: number;
|
|
12708
|
+
durationInMilliseconds?: number;
|
|
12349
12709
|
private?: boolean;
|
|
12350
12710
|
assetKey?: string;
|
|
12351
12711
|
}
|
|
@@ -12361,6 +12721,7 @@ declare namespace $responses {
|
|
|
12361
12721
|
quality?: string;
|
|
12362
12722
|
filename?: string;
|
|
12363
12723
|
durationInSeconds?: number;
|
|
12724
|
+
durationInMilliseconds?: number;
|
|
12364
12725
|
private?: boolean;
|
|
12365
12726
|
assetKey?: string;
|
|
12366
12727
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
@@ -12458,11 +12819,13 @@ declare namespace $responses {
|
|
|
12458
12819
|
export interface ISorting {
|
|
12459
12820
|
fieldName?: string;
|
|
12460
12821
|
order?: $responses.wix.common.SortOrder;
|
|
12822
|
+
selectItemsBy?: { [key: string]: any }[];
|
|
12461
12823
|
}
|
|
12462
12824
|
export class Sorting implements ISorting {
|
|
12463
12825
|
constructor(data?: ISorting);
|
|
12464
12826
|
fieldName?: string;
|
|
12465
12827
|
order?: $responses.wix.common.SortOrder;
|
|
12828
|
+
selectItemsBy?: { [key: string]: any }[];
|
|
12466
12829
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12467
12830
|
}
|
|
12468
12831
|
export enum SortOrder {
|
|
@@ -12524,6 +12887,7 @@ declare namespace $responses {
|
|
|
12524
12887
|
search?: $responses.wix.common.ISearchDetails;
|
|
12525
12888
|
paging?: $responses.wix.common.IPaging;
|
|
12526
12889
|
cursorPaging?: $responses.wix.common.ICursorPaging;
|
|
12890
|
+
timeZone?: string;
|
|
12527
12891
|
}
|
|
12528
12892
|
export class Search implements ISearch {
|
|
12529
12893
|
constructor(data?: ISearch);
|
|
@@ -12535,6 +12899,7 @@ declare namespace $responses {
|
|
|
12535
12899
|
search?: $responses.wix.common.ISearchDetails;
|
|
12536
12900
|
paging?: $responses.wix.common.IPaging;
|
|
12537
12901
|
cursorPaging?: $responses.wix.common.ICursorPaging;
|
|
12902
|
+
timeZone?: string;
|
|
12538
12903
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12539
12904
|
}
|
|
12540
12905
|
export interface ICursorSearch {
|
|
@@ -12543,6 +12908,7 @@ declare namespace $responses {
|
|
|
12543
12908
|
aggregations?: $responses.wix.common.IAggregation[];
|
|
12544
12909
|
search?: $responses.wix.common.ISearchDetails;
|
|
12545
12910
|
cursorPaging?: $responses.wix.common.ICursorPaging;
|
|
12911
|
+
timeZone?: string;
|
|
12546
12912
|
}
|
|
12547
12913
|
export class CursorSearch implements ICursorSearch {
|
|
12548
12914
|
constructor(data?: ICursorSearch);
|
|
@@ -12551,6 +12917,7 @@ declare namespace $responses {
|
|
|
12551
12917
|
aggregations?: $responses.wix.common.IAggregation[];
|
|
12552
12918
|
search?: $responses.wix.common.ISearchDetails;
|
|
12553
12919
|
cursorPaging?: $responses.wix.common.ICursorPaging;
|
|
12920
|
+
timeZone?: string;
|
|
12554
12921
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12555
12922
|
}
|
|
12556
12923
|
export interface ISearchDetails {
|
|
@@ -12578,6 +12945,8 @@ declare namespace $responses {
|
|
|
12578
12945
|
VALUE = "VALUE",
|
|
12579
12946
|
RANGE = "RANGE",
|
|
12580
12947
|
SCALAR = "SCALAR",
|
|
12948
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
12949
|
+
NESTED = "NESTED",
|
|
12581
12950
|
}
|
|
12582
12951
|
export enum ScalarType {
|
|
12583
12952
|
UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
|
|
@@ -12594,6 +12963,8 @@ declare namespace $responses {
|
|
|
12594
12963
|
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
12595
12964
|
range?: $responses.wix.common.Aggregation.IRangeAggregation;
|
|
12596
12965
|
scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
|
|
12966
|
+
dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
|
|
12967
|
+
nested?: $responses.wix.common.Aggregation.INestedAggregation;
|
|
12597
12968
|
groupBy?: $responses.wix.common.Aggregation.IGroupByAggregation;
|
|
12598
12969
|
}
|
|
12599
12970
|
export class Aggregation implements IAggregation {
|
|
@@ -12604,6 +12975,8 @@ declare namespace $responses {
|
|
|
12604
12975
|
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
12605
12976
|
range?: $responses.wix.common.Aggregation.IRangeAggregation;
|
|
12606
12977
|
scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
|
|
12978
|
+
dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
|
|
12979
|
+
nested?: $responses.wix.common.Aggregation.INestedAggregation;
|
|
12607
12980
|
groupBy?: $responses.wix.common.Aggregation.IGroupByAggregation;
|
|
12608
12981
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12609
12982
|
}
|
|
@@ -12686,6 +13059,63 @@ declare namespace $responses {
|
|
|
12686
13059
|
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
12687
13060
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12688
13061
|
}
|
|
13062
|
+
export interface INestedAggregation {
|
|
13063
|
+
nestedAggregations?: $responses.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[];
|
|
13064
|
+
}
|
|
13065
|
+
export class NestedAggregation implements INestedAggregation {
|
|
13066
|
+
constructor(data?: INestedAggregation);
|
|
13067
|
+
nestedAggregations?: $responses.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[];
|
|
13068
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13069
|
+
}
|
|
13070
|
+
export namespace NestedAggregation {
|
|
13071
|
+
export enum NestedAggregationType {
|
|
13072
|
+
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
13073
|
+
VALUE = "VALUE",
|
|
13074
|
+
RANGE = "RANGE",
|
|
13075
|
+
SCALAR = "SCALAR",
|
|
13076
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
13077
|
+
}
|
|
13078
|
+
export interface INestedAggregationItem {
|
|
13079
|
+
name?: string;
|
|
13080
|
+
type?: $responses.wix.common.Aggregation.NestedAggregation.NestedAggregationType;
|
|
13081
|
+
fieldPath?: string;
|
|
13082
|
+
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
13083
|
+
range?: $responses.wix.common.Aggregation.IRangeAggregation;
|
|
13084
|
+
scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
|
|
13085
|
+
dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
|
|
13086
|
+
}
|
|
13087
|
+
export class NestedAggregationItem implements INestedAggregationItem {
|
|
13088
|
+
constructor(data?: INestedAggregationItem);
|
|
13089
|
+
name?: string;
|
|
13090
|
+
type?: $responses.wix.common.Aggregation.NestedAggregation.NestedAggregationType;
|
|
13091
|
+
fieldPath?: string;
|
|
13092
|
+
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
13093
|
+
range?: $responses.wix.common.Aggregation.IRangeAggregation;
|
|
13094
|
+
scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
|
|
13095
|
+
dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
|
|
13096
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13097
|
+
}
|
|
13098
|
+
}
|
|
13099
|
+
export interface IDateHistogramAggregation {
|
|
13100
|
+
interval?: $responses.wix.common.Aggregation.DateHistogramAggregation.Interval;
|
|
13101
|
+
}
|
|
13102
|
+
export class DateHistogramAggregation implements IDateHistogramAggregation {
|
|
13103
|
+
constructor(data?: IDateHistogramAggregation);
|
|
13104
|
+
interval?: $responses.wix.common.Aggregation.DateHistogramAggregation.Interval;
|
|
13105
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13106
|
+
}
|
|
13107
|
+
export namespace DateHistogramAggregation {
|
|
13108
|
+
export enum Interval {
|
|
13109
|
+
UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
|
|
13110
|
+
YEAR = "YEAR",
|
|
13111
|
+
MONTH = "MONTH",
|
|
13112
|
+
WEEK = "WEEK",
|
|
13113
|
+
DAY = "DAY",
|
|
13114
|
+
HOUR = "HOUR",
|
|
13115
|
+
MINUTE = "MINUTE",
|
|
13116
|
+
SECOND = "SECOND",
|
|
13117
|
+
}
|
|
13118
|
+
}
|
|
12689
13119
|
}
|
|
12690
13120
|
export interface IAggregationData {
|
|
12691
13121
|
results?: $responses.wix.common.AggregationData.IAggregationResults[];
|
|
@@ -12704,6 +13134,8 @@ declare namespace $responses {
|
|
|
12704
13134
|
ranges?: $responses.wix.common.AggregationData.AggregationResults.IRangeResults;
|
|
12705
13135
|
scalar?: $responses.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
12706
13136
|
groupedByValue?: $responses.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
|
|
13137
|
+
dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
|
|
13138
|
+
nested?: $responses.wix.common.AggregationData.AggregationResults.INestedResults;
|
|
12707
13139
|
}
|
|
12708
13140
|
export class AggregationResults implements IAggregationResults {
|
|
12709
13141
|
constructor(data?: IAggregationResults);
|
|
@@ -12714,6 +13146,8 @@ declare namespace $responses {
|
|
|
12714
13146
|
ranges?: $responses.wix.common.AggregationData.AggregationResults.IRangeResults;
|
|
12715
13147
|
scalar?: $responses.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
12716
13148
|
groupedByValue?: $responses.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
|
|
13149
|
+
dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
|
|
13150
|
+
nested?: $responses.wix.common.AggregationData.AggregationResults.INestedResults;
|
|
12717
13151
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12718
13152
|
}
|
|
12719
13153
|
export namespace AggregationResults {
|
|
@@ -12807,6 +13241,88 @@ declare namespace $responses {
|
|
|
12807
13241
|
scalar?: $responses.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
12808
13242
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
12809
13243
|
}
|
|
13244
|
+
export interface INestedResults {
|
|
13245
|
+
results?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IResults[];
|
|
13246
|
+
}
|
|
13247
|
+
export class NestedResults implements INestedResults {
|
|
13248
|
+
constructor(data?: INestedResults);
|
|
13249
|
+
results?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IResults[];
|
|
13250
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13251
|
+
}
|
|
13252
|
+
export namespace NestedResults {
|
|
13253
|
+
export interface IValueResult {
|
|
13254
|
+
value?: string;
|
|
13255
|
+
count?: number;
|
|
13256
|
+
}
|
|
13257
|
+
export class ValueResult implements IValueResult {
|
|
13258
|
+
constructor(data?: IValueResult);
|
|
13259
|
+
value?: string;
|
|
13260
|
+
count?: number;
|
|
13261
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13262
|
+
}
|
|
13263
|
+
export interface IRangeResult {
|
|
13264
|
+
from?: number;
|
|
13265
|
+
to?: number;
|
|
13266
|
+
count?: number;
|
|
13267
|
+
}
|
|
13268
|
+
export class RangeResult implements IRangeResult {
|
|
13269
|
+
constructor(data?: IRangeResult);
|
|
13270
|
+
from?: number;
|
|
13271
|
+
to?: number;
|
|
13272
|
+
count?: number;
|
|
13273
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13274
|
+
}
|
|
13275
|
+
export interface IScalarResult {
|
|
13276
|
+
value?: number;
|
|
13277
|
+
}
|
|
13278
|
+
export class ScalarResult implements IScalarResult {
|
|
13279
|
+
constructor(data?: IScalarResult);
|
|
13280
|
+
value?: number;
|
|
13281
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13282
|
+
}
|
|
13283
|
+
export interface INestedResultValue {
|
|
13284
|
+
value?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
13285
|
+
range?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
|
|
13286
|
+
scalar?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
|
|
13287
|
+
dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
13288
|
+
}
|
|
13289
|
+
export class NestedResultValue implements INestedResultValue {
|
|
13290
|
+
constructor(data?: INestedResultValue);
|
|
13291
|
+
value?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
13292
|
+
range?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
|
|
13293
|
+
scalar?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
|
|
13294
|
+
dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
13295
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13296
|
+
}
|
|
13297
|
+
export interface IResults {
|
|
13298
|
+
results?: { [k: string]: $responses.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue };
|
|
13299
|
+
}
|
|
13300
|
+
export class Results implements IResults {
|
|
13301
|
+
constructor(data?: IResults);
|
|
13302
|
+
results?: { [k: string]: $responses.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue };
|
|
13303
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13304
|
+
}
|
|
13305
|
+
}
|
|
13306
|
+
export interface IDateHistogramResults {
|
|
13307
|
+
results?: $responses.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[];
|
|
13308
|
+
}
|
|
13309
|
+
export class DateHistogramResults implements IDateHistogramResults {
|
|
13310
|
+
constructor(data?: IDateHistogramResults);
|
|
13311
|
+
results?: $responses.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[];
|
|
13312
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13313
|
+
}
|
|
13314
|
+
export namespace DateHistogramResults {
|
|
13315
|
+
export interface IDateHistogramResult {
|
|
13316
|
+
value?: string;
|
|
13317
|
+
count?: number;
|
|
13318
|
+
}
|
|
13319
|
+
export class DateHistogramResult implements IDateHistogramResult {
|
|
13320
|
+
constructor(data?: IDateHistogramResult);
|
|
13321
|
+
value?: string;
|
|
13322
|
+
count?: number;
|
|
13323
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13324
|
+
}
|
|
13325
|
+
}
|
|
12810
13326
|
}
|
|
12811
13327
|
}
|
|
12812
13328
|
export interface IAddress {
|
|
@@ -13140,6 +13656,7 @@ declare namespace $responses {
|
|
|
13140
13656
|
phone?: $responses.wix.common.IPhoneLink;
|
|
13141
13657
|
address?: $responses.wix.common.IAddressLink;
|
|
13142
13658
|
whatsApp?: $responses.wix.common.IWhatsAppLink;
|
|
13659
|
+
tpaPage?: $responses.wix.common.ITpaPageLink;
|
|
13143
13660
|
}
|
|
13144
13661
|
export class WixLink implements IWixLink {
|
|
13145
13662
|
constructor(data?: IWixLink);
|
|
@@ -13152,6 +13669,7 @@ declare namespace $responses {
|
|
|
13152
13669
|
phone?: $responses.wix.common.IPhoneLink;
|
|
13153
13670
|
address?: $responses.wix.common.IAddressLink;
|
|
13154
13671
|
whatsApp?: $responses.wix.common.IWhatsAppLink;
|
|
13672
|
+
tpaPage?: $responses.wix.common.ITpaPageLink;
|
|
13155
13673
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13156
13674
|
}
|
|
13157
13675
|
export interface IExternalLink {
|
|
@@ -13167,35 +13685,41 @@ declare namespace $responses {
|
|
|
13167
13685
|
export interface IPageLink {
|
|
13168
13686
|
pageId?: string;
|
|
13169
13687
|
target?: string;
|
|
13688
|
+
rel?: $responses.wix.common.LinkRel[];
|
|
13170
13689
|
}
|
|
13171
13690
|
export class PageLink implements IPageLink {
|
|
13172
13691
|
constructor(data?: IPageLink);
|
|
13173
13692
|
pageId?: string;
|
|
13174
13693
|
target?: string;
|
|
13694
|
+
rel?: $responses.wix.common.LinkRel[];
|
|
13175
13695
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13176
13696
|
}
|
|
13177
13697
|
export interface IAnchorLink {
|
|
13178
13698
|
anchorName?: string;
|
|
13179
13699
|
anchorDataId?: string;
|
|
13180
13700
|
pageId?: string;
|
|
13701
|
+
rel?: $responses.wix.common.LinkRel[];
|
|
13181
13702
|
}
|
|
13182
13703
|
export class AnchorLink implements IAnchorLink {
|
|
13183
13704
|
constructor(data?: IAnchorLink);
|
|
13184
13705
|
anchorName?: string;
|
|
13185
13706
|
anchorDataId?: string;
|
|
13186
13707
|
pageId?: string;
|
|
13708
|
+
rel?: $responses.wix.common.LinkRel[];
|
|
13187
13709
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13188
13710
|
}
|
|
13189
13711
|
export interface IDynamicPageLink {
|
|
13190
13712
|
routerId?: string;
|
|
13191
13713
|
innerRoute?: string;
|
|
13192
13714
|
anchorDataId?: string;
|
|
13715
|
+
rel?: $responses.wix.common.LinkRel[];
|
|
13193
13716
|
}
|
|
13194
13717
|
export class DynamicPageLink implements IDynamicPageLink {
|
|
13195
13718
|
constructor(data?: IDynamicPageLink);
|
|
13196
13719
|
routerId?: string;
|
|
13197
13720
|
innerRoute?: string;
|
|
13198
13721
|
anchorDataId?: string;
|
|
13722
|
+
rel?: $responses.wix.common.LinkRel[];
|
|
13199
13723
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13200
13724
|
}
|
|
13201
13725
|
export interface IDocumentLink {
|
|
@@ -13246,6 +13770,31 @@ declare namespace $responses {
|
|
|
13246
13770
|
phoneNumber?: string;
|
|
13247
13771
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13248
13772
|
}
|
|
13773
|
+
export interface ITpaPageLink {
|
|
13774
|
+
itemTypeIdentifier?: string;
|
|
13775
|
+
itemId?: string;
|
|
13776
|
+
pageId?: string;
|
|
13777
|
+
appDefinitionId?: string;
|
|
13778
|
+
path?: string;
|
|
13779
|
+
rel?: $responses.wix.common.LinkRel[];
|
|
13780
|
+
}
|
|
13781
|
+
export class TpaPageLink implements ITpaPageLink {
|
|
13782
|
+
constructor(data?: ITpaPageLink);
|
|
13783
|
+
itemTypeIdentifier?: string;
|
|
13784
|
+
itemId?: string;
|
|
13785
|
+
pageId?: string;
|
|
13786
|
+
appDefinitionId?: string;
|
|
13787
|
+
path?: string;
|
|
13788
|
+
rel?: $responses.wix.common.LinkRel[];
|
|
13789
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13790
|
+
}
|
|
13791
|
+
export enum LinkRel {
|
|
13792
|
+
unknown_link_rel = "unknown_link_rel",
|
|
13793
|
+
nofollow = "nofollow",
|
|
13794
|
+
noopener = "noopener",
|
|
13795
|
+
noreferrer = "noreferrer",
|
|
13796
|
+
sponsored = "sponsored",
|
|
13797
|
+
}
|
|
13249
13798
|
}
|
|
13250
13799
|
export namespace payment {
|
|
13251
13800
|
export namespace api {
|
|
@@ -13453,6 +14002,7 @@ declare namespace $responses {
|
|
|
13453
14002
|
urls?: $responses.wix.payment.api.pay.v2.IOrderUrls;
|
|
13454
14003
|
cofIntent?: $responses.wix.payment.api.pay.v2.ICofIntent;
|
|
13455
14004
|
idempotencyKey?: string;
|
|
14005
|
+
expirationDate?: Date;
|
|
13456
14006
|
}
|
|
13457
14007
|
export class CreateOrderRequest implements ICreateOrderRequest {
|
|
13458
14008
|
constructor(data?: ICreateOrderRequest);
|
|
@@ -13461,6 +14011,7 @@ declare namespace $responses {
|
|
|
13461
14011
|
urls?: $responses.wix.payment.api.pay.v2.IOrderUrls;
|
|
13462
14012
|
cofIntent?: $responses.wix.payment.api.pay.v2.ICofIntent;
|
|
13463
14013
|
idempotencyKey?: string;
|
|
14014
|
+
expirationDate?: Date;
|
|
13464
14015
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13465
14016
|
}
|
|
13466
14017
|
export interface ICreateOrderResponse {
|
|
@@ -13476,6 +14027,7 @@ declare namespace $responses {
|
|
|
13476
14027
|
accountId?: string;
|
|
13477
14028
|
description?: $responses.wix.payment.api.pay.v2.IOrderDescription;
|
|
13478
14029
|
urls?: $responses.wix.payment.api.pay.v2.IOrderUrls;
|
|
14030
|
+
expirationDate?: Date;
|
|
13479
14031
|
}
|
|
13480
14032
|
export class UpdateOrderRequest implements IUpdateOrderRequest {
|
|
13481
14033
|
constructor(data?: IUpdateOrderRequest);
|
|
@@ -13483,6 +14035,7 @@ declare namespace $responses {
|
|
|
13483
14035
|
accountId?: string;
|
|
13484
14036
|
description?: $responses.wix.payment.api.pay.v2.IOrderDescription;
|
|
13485
14037
|
urls?: $responses.wix.payment.api.pay.v2.IOrderUrls;
|
|
14038
|
+
expirationDate?: Date;
|
|
13486
14039
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13487
14040
|
}
|
|
13488
14041
|
export interface IUpdateOrderResponse {
|
|
@@ -13497,12 +14050,14 @@ declare namespace $responses {
|
|
|
13497
14050
|
currency?: string;
|
|
13498
14051
|
buyerInfo?: $responses.wix.payment.api.pay.v2.IOrderBuyerInfo;
|
|
13499
14052
|
merchantInitiated?: boolean;
|
|
14053
|
+
expirationDate?: Date;
|
|
13500
14054
|
}
|
|
13501
14055
|
export class SetupRequest implements ISetupRequest {
|
|
13502
14056
|
constructor(data?: ISetupRequest);
|
|
13503
14057
|
currency?: string;
|
|
13504
14058
|
buyerInfo?: $responses.wix.payment.api.pay.v2.IOrderBuyerInfo;
|
|
13505
14059
|
merchantInitiated?: boolean;
|
|
14060
|
+
expirationDate?: Date;
|
|
13506
14061
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
13507
14062
|
}
|
|
13508
14063
|
export interface ISetupResponse {
|
|
@@ -13875,6 +14430,8 @@ declare namespace $responses {
|
|
|
13875
14430
|
charges?: $responses.wix.payment.api.pay.v2.IOrderAdditionalCharges;
|
|
13876
14431
|
noShipping?: boolean;
|
|
13877
14432
|
subscription?: $responses.wix.payment.api.pay.v2.ISubscription;
|
|
14433
|
+
setupFutureUsages?: boolean;
|
|
14434
|
+
suggestedPaymentAgreementId?: string;
|
|
13878
14435
|
verticalOrderId?: string;
|
|
13879
14436
|
buyerInfo?: $responses.wix.payment.api.pay.v2.IOrderBuyerInfo;
|
|
13880
14437
|
externalData?: { [k: string]: string };
|
|
@@ -13899,6 +14456,8 @@ declare namespace $responses {
|
|
|
13899
14456
|
charges?: $responses.wix.payment.api.pay.v2.IOrderAdditionalCharges;
|
|
13900
14457
|
noShipping?: boolean;
|
|
13901
14458
|
subscription?: $responses.wix.payment.api.pay.v2.ISubscription;
|
|
14459
|
+
setupFutureUsages?: boolean;
|
|
14460
|
+
suggestedPaymentAgreementId?: string;
|
|
13902
14461
|
verticalOrderId?: string;
|
|
13903
14462
|
buyerInfo?: $responses.wix.payment.api.pay.v2.IOrderBuyerInfo;
|
|
13904
14463
|
externalData?: { [k: string]: string };
|
|
@@ -14397,6 +14956,7 @@ declare namespace $responses {
|
|
|
14397
14956
|
enforceDelayedCapture?: boolean;
|
|
14398
14957
|
merchantUseSaveEnabled?: boolean;
|
|
14399
14958
|
buyerContactId?: string;
|
|
14959
|
+
supportSetupFutureUsages?: boolean;
|
|
14400
14960
|
}
|
|
14401
14961
|
export class ListPaymentMethodsRequest implements IListPaymentMethodsRequest {
|
|
14402
14962
|
constructor(data?: IListPaymentMethodsRequest);
|
|
@@ -14413,6 +14973,7 @@ declare namespace $responses {
|
|
|
14413
14973
|
enforceDelayedCapture?: boolean;
|
|
14414
14974
|
merchantUseSaveEnabled?: boolean;
|
|
14415
14975
|
buyerContactId?: string;
|
|
14976
|
+
supportSetupFutureUsages?: boolean;
|
|
14416
14977
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
14417
14978
|
}
|
|
14418
14979
|
export interface IListPaymentMethodsResponse {
|
|
@@ -14432,6 +14993,7 @@ declare namespace $responses {
|
|
|
14432
14993
|
locale?: string;
|
|
14433
14994
|
chargeIntent?: $responses.wix.payment.api.pay.v2.Charge.ChargeIntent;
|
|
14434
14995
|
merchantUseSaveEnabled?: boolean;
|
|
14996
|
+
supportSetupFutureUsages?: boolean;
|
|
14435
14997
|
}
|
|
14436
14998
|
export class GetPaymentMethodRequest implements IGetPaymentMethodRequest {
|
|
14437
14999
|
constructor(data?: IGetPaymentMethodRequest);
|
|
@@ -14443,6 +15005,7 @@ declare namespace $responses {
|
|
|
14443
15005
|
locale?: string;
|
|
14444
15006
|
chargeIntent?: $responses.wix.payment.api.pay.v2.Charge.ChargeIntent;
|
|
14445
15007
|
merchantUseSaveEnabled?: boolean;
|
|
15008
|
+
supportSetupFutureUsages?: boolean;
|
|
14446
15009
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
14447
15010
|
}
|
|
14448
15011
|
export interface IGetPaymentMethodResponse {
|
|
@@ -14568,6 +15131,7 @@ declare namespace $responses {
|
|
|
14568
15131
|
savedPaymentMethodId?: string;
|
|
14569
15132
|
paymentAgreementId?: string;
|
|
14570
15133
|
primary?: boolean;
|
|
15134
|
+
payPalDetails?: $responses.wix.payment.api.pay.v2.IPayPalDetails;
|
|
14571
15135
|
savedCreditCardDetails?: $responses.wix.payment.api.pay.v2.ISavedCreditCardDetails;
|
|
14572
15136
|
savePaymentMethodDisplayOption?: $responses.wix.payment.api.pay.v2.PaymentMethod.SavePaymentMethodDisplayOption;
|
|
14573
15137
|
allowMerchantUseDisplayOption?: $responses.wix.payment.api.pay.v2.AllowMerchantUseDisplayOptionEnum.AllowMerchantUseDisplayOption;
|
|
@@ -14596,6 +15160,7 @@ declare namespace $responses {
|
|
|
14596
15160
|
savedPaymentMethodId?: string;
|
|
14597
15161
|
paymentAgreementId?: string;
|
|
14598
15162
|
primary?: boolean;
|
|
15163
|
+
payPalDetails?: $responses.wix.payment.api.pay.v2.IPayPalDetails;
|
|
14599
15164
|
savedCreditCardDetails?: $responses.wix.payment.api.pay.v2.ISavedCreditCardDetails;
|
|
14600
15165
|
savePaymentMethodDisplayOption?: $responses.wix.payment.api.pay.v2.PaymentMethod.SavePaymentMethodDisplayOption;
|
|
14601
15166
|
allowMerchantUseDisplayOption?: $responses.wix.payment.api.pay.v2.AllowMerchantUseDisplayOptionEnum.AllowMerchantUseDisplayOption;
|
|
@@ -14646,9 +15211,11 @@ declare namespace $responses {
|
|
|
14646
15211
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
14647
15212
|
}
|
|
14648
15213
|
export interface IPayPalDetails {
|
|
15214
|
+
accountName?: string;
|
|
14649
15215
|
}
|
|
14650
15216
|
export class PayPalDetails implements IPayPalDetails {
|
|
14651
15217
|
constructor(data?: IPayPalDetails);
|
|
15218
|
+
accountName?: string;
|
|
14652
15219
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
14653
15220
|
}
|
|
14654
15221
|
export interface ISavedPaymentMethodDetails {
|
|
@@ -15093,6 +15660,7 @@ declare namespace $responses {
|
|
|
15093
15660
|
description?: $responses.wix.payment.api.pay.v2.IOrderDescription;
|
|
15094
15661
|
urls?: $responses.wix.payment.api.pay.v2.IOrderUrls;
|
|
15095
15662
|
idempotencyKey?: string;
|
|
15663
|
+
expirationDate?: Date;
|
|
15096
15664
|
}
|
|
15097
15665
|
export class ChargeRequest implements IChargeRequest {
|
|
15098
15666
|
constructor(data?: IChargeRequest);
|
|
@@ -15101,6 +15669,7 @@ declare namespace $responses {
|
|
|
15101
15669
|
description?: $responses.wix.payment.api.pay.v2.IOrderDescription;
|
|
15102
15670
|
urls?: $responses.wix.payment.api.pay.v2.IOrderUrls;
|
|
15103
15671
|
idempotencyKey?: string;
|
|
15672
|
+
expirationDate?: Date;
|
|
15104
15673
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
15105
15674
|
}
|
|
15106
15675
|
export interface IChargeForOrderRequest {
|
|
@@ -15325,24 +15894,6 @@ declare namespace $responses {
|
|
|
15325
15894
|
phone?: string;
|
|
15326
15895
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
15327
15896
|
}
|
|
15328
|
-
export interface ICreatePayPalRecurringOrderRequest {
|
|
15329
|
-
accountId?: string;
|
|
15330
|
-
description?: $responses.wix.payment.api.pay.v2.IOrderDescription;
|
|
15331
|
-
urls?: $responses.wix.payment.api.pay.v2.IOrderUrls;
|
|
15332
|
-
paypalRecurringProfileId?: string;
|
|
15333
|
-
createdAt?: Date;
|
|
15334
|
-
orderId?: string;
|
|
15335
|
-
}
|
|
15336
|
-
export class CreatePayPalRecurringOrderRequest implements ICreatePayPalRecurringOrderRequest {
|
|
15337
|
-
constructor(data?: ICreatePayPalRecurringOrderRequest);
|
|
15338
|
-
accountId?: string;
|
|
15339
|
-
description?: $responses.wix.payment.api.pay.v2.IOrderDescription;
|
|
15340
|
-
urls?: $responses.wix.payment.api.pay.v2.IOrderUrls;
|
|
15341
|
-
paypalRecurringProfileId?: string;
|
|
15342
|
-
createdAt?: Date;
|
|
15343
|
-
orderId?: string;
|
|
15344
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
15345
|
-
}
|
|
15346
15897
|
export interface ICreatePosTransactionRequest {
|
|
15347
15898
|
chargeId?: string;
|
|
15348
15899
|
transaction?: $responses.wix.payment.api.pay.v2.IPosTransaction;
|
|
@@ -17251,6 +17802,67 @@ declare namespace $responses {
|
|
|
17251
17802
|
offset?: number;
|
|
17252
17803
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
17253
17804
|
}
|
|
17805
|
+
export interface IFetchLocationInventoryItemRequest {
|
|
17806
|
+
productId?: string;
|
|
17807
|
+
locationId?: string;
|
|
17808
|
+
}
|
|
17809
|
+
export class FetchLocationInventoryItemRequest implements IFetchLocationInventoryItemRequest {
|
|
17810
|
+
constructor(data?: IFetchLocationInventoryItemRequest);
|
|
17811
|
+
productId?: string;
|
|
17812
|
+
locationId?: string;
|
|
17813
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
17814
|
+
}
|
|
17815
|
+
export interface IFetchLocationInventoryItemResponse {
|
|
17816
|
+
locationInventoryItem?: $responses.wix.inventory.api.v1.ILocationInventoryItem;
|
|
17817
|
+
}
|
|
17818
|
+
export class FetchLocationInventoryItemResponse implements IFetchLocationInventoryItemResponse {
|
|
17819
|
+
constructor(data?: IFetchLocationInventoryItemResponse);
|
|
17820
|
+
locationInventoryItem?: $responses.wix.inventory.api.v1.ILocationInventoryItem;
|
|
17821
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
17822
|
+
}
|
|
17823
|
+
/**
|
|
17824
|
+
* An inventory item is the record of inventory for a product and its variants at a given location
|
|
17825
|
+
*/
|
|
17826
|
+
export interface ILocationInventoryItem {
|
|
17827
|
+
/**
|
|
17828
|
+
* The ID of the inventory record for a given product.
|
|
17829
|
+
* The value matches the ID of the product itself.
|
|
17830
|
+
*/
|
|
17831
|
+
id?: $responses.google.protobuf.IStringValue;
|
|
17832
|
+
productId?: string;
|
|
17833
|
+
variants?: $responses.wix.inventory.api.v1.ILocationInventoryVariant[];
|
|
17834
|
+
updatedDate?: $responses.google.protobuf.ITimestamp;
|
|
17835
|
+
numericId?: (number | string);
|
|
17836
|
+
preorderInfo?: $responses.wix.inventory.api.v1.IPreorderInfo;
|
|
17837
|
+
}
|
|
17838
|
+
export class LocationInventoryItem implements ILocationInventoryItem {
|
|
17839
|
+
constructor(data?: ILocationInventoryItem);
|
|
17840
|
+
id?: $responses.google.protobuf.IStringValue;
|
|
17841
|
+
productId?: string;
|
|
17842
|
+
variants?: $responses.wix.inventory.api.v1.ILocationInventoryVariant[];
|
|
17843
|
+
updatedDate?: $responses.google.protobuf.ITimestamp;
|
|
17844
|
+
numericId?: (number | string);
|
|
17845
|
+
preorderInfo?: $responses.wix.inventory.api.v1.IPreorderInfo;
|
|
17846
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
17847
|
+
}
|
|
17848
|
+
export interface ILocationInventoryVariant {
|
|
17849
|
+
variantId?: string;
|
|
17850
|
+
locationId?: string;
|
|
17851
|
+
inStock?: boolean;
|
|
17852
|
+
quantity?: $responses.google.protobuf.IInt32Value;
|
|
17853
|
+
trackQuantity?: boolean;
|
|
17854
|
+
availableForPreorder?: boolean;
|
|
17855
|
+
}
|
|
17856
|
+
export class LocationInventoryVariant implements ILocationInventoryVariant {
|
|
17857
|
+
constructor(data?: ILocationInventoryVariant);
|
|
17858
|
+
variantId?: string;
|
|
17859
|
+
locationId?: string;
|
|
17860
|
+
inStock?: boolean;
|
|
17861
|
+
quantity?: $responses.google.protobuf.IInt32Value;
|
|
17862
|
+
trackQuantity?: boolean;
|
|
17863
|
+
availableForPreorder?: boolean;
|
|
17864
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
17865
|
+
}
|
|
17254
17866
|
}
|
|
17255
17867
|
}
|
|
17256
17868
|
}
|
|
@@ -17647,6 +18259,22 @@ declare namespace $responses {
|
|
|
17647
18259
|
product?: $responses.wix.catalog.api.v1.IProduct;
|
|
17648
18260
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
17649
18261
|
}
|
|
18262
|
+
export interface ICreateDigitalProductRequest {
|
|
18263
|
+
product?: $responses.wix.catalog.api.v1.IProduct;
|
|
18264
|
+
}
|
|
18265
|
+
export class CreateDigitalProductRequest implements ICreateDigitalProductRequest {
|
|
18266
|
+
constructor(data?: ICreateDigitalProductRequest);
|
|
18267
|
+
product?: $responses.wix.catalog.api.v1.IProduct;
|
|
18268
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
18269
|
+
}
|
|
18270
|
+
export interface ICreateDigitalProductResponse {
|
|
18271
|
+
product?: $responses.wix.catalog.api.v1.IProduct;
|
|
18272
|
+
}
|
|
18273
|
+
export class CreateDigitalProductResponse implements ICreateDigitalProductResponse {
|
|
18274
|
+
constructor(data?: ICreateDigitalProductResponse);
|
|
18275
|
+
product?: $responses.wix.catalog.api.v1.IProduct;
|
|
18276
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
18277
|
+
}
|
|
17650
18278
|
export interface IUpdateProductRequest {
|
|
17651
18279
|
product?: $responses.wix.catalog.api.v1.IProduct;
|
|
17652
18280
|
}
|
|
@@ -18218,6 +18846,7 @@ declare namespace $responses {
|
|
|
18218
18846
|
brand?: string;
|
|
18219
18847
|
taxGroupId?: string;
|
|
18220
18848
|
exportProductId?: string;
|
|
18849
|
+
digitalFile?: $responses.com.wix.ecommerce.catalog_spi.api.v1.ISecuredMedia;
|
|
18221
18850
|
}
|
|
18222
18851
|
export class Product implements IProduct {
|
|
18223
18852
|
constructor(data?: IProduct);
|
|
@@ -18257,6 +18886,7 @@ declare namespace $responses {
|
|
|
18257
18886
|
brand?: string;
|
|
18258
18887
|
taxGroupId?: string;
|
|
18259
18888
|
exportProductId?: string;
|
|
18889
|
+
digitalFile?: $responses.com.wix.ecommerce.catalog_spi.api.v1.ISecuredMedia;
|
|
18260
18890
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
18261
18891
|
}
|
|
18262
18892
|
export enum ProductType {
|
|
@@ -19601,6 +20231,7 @@ declare namespace $responses {
|
|
|
19601
20231
|
memberId?: string;
|
|
19602
20232
|
wixUserId?: string;
|
|
19603
20233
|
appId?: string;
|
|
20234
|
+
serviceId?: string;
|
|
19604
20235
|
}
|
|
19605
20236
|
export class Owner implements IOwner {
|
|
19606
20237
|
constructor(data?: IOwner);
|
|
@@ -19608,6 +20239,7 @@ declare namespace $responses {
|
|
|
19608
20239
|
memberId?: string;
|
|
19609
20240
|
wixUserId?: string;
|
|
19610
20241
|
appId?: string;
|
|
20242
|
+
serviceId?: string;
|
|
19611
20243
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
19612
20244
|
}
|
|
19613
20245
|
}
|
|
@@ -20170,6 +20802,7 @@ declare namespace $responses {
|
|
|
20170
20802
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
20171
20803
|
'.wix.api.sampleData'?: string;
|
|
20172
20804
|
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
20805
|
+
'.wix.api.nullable'?: boolean;
|
|
20173
20806
|
'.wix.api.max'?: number;
|
|
20174
20807
|
'.wix.api.min'?: number;
|
|
20175
20808
|
'.wix.api.maxLength'?: number;
|
|
@@ -20202,6 +20835,7 @@ declare namespace $responses {
|
|
|
20202
20835
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
20203
20836
|
'.wix.api.sampleData'?: string;
|
|
20204
20837
|
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
20838
|
+
'.wix.api.nullable'?: boolean;
|
|
20205
20839
|
'.wix.api.max'?: number;
|
|
20206
20840
|
'.wix.api.min'?: number;
|
|
20207
20841
|
'.wix.api.maxLength'?: number;
|
|
@@ -20569,9 +21203,6 @@ declare namespace $services {
|
|
|
20569
21203
|
abstract updateCheckout(aspects: AspectStore, req: $requests.wix.payment.api.pay.v2.IUpdateCheckoutRequest): Promise<$responses.wix.payment.api.pay.v2.ICheckoutResponse>
|
|
20570
21204
|
abstract getPaymentDetails(aspects: AspectStore, req: $requests.wix.payment.api.pay.v2.IGetPaymentDetailsRequest): Promise<$responses.wix.payment.api.pay.v2.IPaymentDetailsResponse>
|
|
20571
21205
|
}
|
|
20572
|
-
export abstract class PayPalRecurringOrderService {
|
|
20573
|
-
abstract create(aspects: AspectStore, req: $requests.wix.payment.api.pay.v2.ICreatePayPalRecurringOrderRequest): Promise<$responses.wix.payment.api.pay.v2.ICreateOrderResponse>
|
|
20574
|
-
}
|
|
20575
21206
|
export abstract class PosTransactionService {
|
|
20576
21207
|
abstract create(aspects: AspectStore, req: $requests.wix.payment.api.pay.v2.ICreatePosTransactionRequest): Promise<$responses.wix.payment.api.pay.v2.ICreatePosTransactionResponse>
|
|
20577
21208
|
}
|
|
@@ -20651,6 +21282,12 @@ declare namespace $services {
|
|
|
20651
21282
|
abstract decrementInventory(aspects: AspectStore, req: $requests.wix.inventory.api.v1.IDecrementInventoryRequest): Promise<$responses.wix.inventory.api.v1.IDecrementInventoryResponse>
|
|
20652
21283
|
abstract incrementInventory(aspects: AspectStore, req: $requests.wix.inventory.api.v1.IIncrementInventoryRequest): Promise<$responses.wix.inventory.api.v1.IIncrementInventoryResponse>
|
|
20653
21284
|
}
|
|
21285
|
+
export abstract class LocationInventoryReadApi {
|
|
21286
|
+
/**
|
|
21287
|
+
* Returns a specific inventory for an item at a given location
|
|
21288
|
+
*/
|
|
21289
|
+
abstract fetchLocationInventoryItem(aspects: AspectStore, req: $requests.wix.inventory.api.v1.IFetchLocationInventoryItemRequest): Promise<$responses.wix.inventory.api.v1.IFetchLocationInventoryItemResponse>
|
|
21290
|
+
}
|
|
20654
21291
|
}
|
|
20655
21292
|
}
|
|
20656
21293
|
}
|
|
@@ -20680,6 +21317,7 @@ declare namespace $services {
|
|
|
20680
21317
|
export abstract class CatalogWriteApi {
|
|
20681
21318
|
abstract createProduct(aspects: AspectStore, req: $requests.wix.catalog.api.v1.ICreateProductRequest): Promise<$responses.wix.catalog.api.v1.ICreateProductResponse>
|
|
20682
21319
|
abstract createProductPlatformized(aspects: AspectStore, req: $requests.wix.catalog.api.v1.ICreateProductPlatformizedRequest): Promise<$responses.wix.catalog.api.v1.ICreateProductPlatformizedResponse>
|
|
21320
|
+
abstract createDigitalProduct(aspects: AspectStore, req: $requests.wix.catalog.api.v1.ICreateDigitalProductRequest): Promise<$responses.wix.catalog.api.v1.ICreateDigitalProductResponse>
|
|
20683
21321
|
abstract updateProduct(aspects: AspectStore, req: $requests.wix.catalog.api.v1.IUpdateProductRequest): Promise<$responses.wix.catalog.api.v1.IUpdateProductResponse>
|
|
20684
21322
|
abstract updateProductPlatformized(aspects: AspectStore, req: $requests.wix.catalog.api.v1.IUpdateProductPlatformizedRequest): Promise<$responses.wix.catalog.api.v1.IUpdateProductPlatformizedResponse>
|
|
20685
21323
|
abstract deleteProduct(aspects: AspectStore, req: $requests.wix.catalog.api.v1.IDeleteProductRequest): Promise<$responses.wix.catalog.api.v1.IDeleteProductResponse>
|