@wix/metro 1.0.91 → 1.0.93
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/metro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.93",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/metro_products": "1.0.
|
|
24
|
+
"@wix/metro_products": "1.0.18"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"glob": "^10.4.1",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"fqdn": ""
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
49
|
+
"falconPackageHash": "9cf3fe87e27d1eabb48c2fbc60229389771168a581e4673dac2d1bce"
|
|
50
50
|
}
|
|
@@ -476,7 +476,7 @@ type MaybeContext<T extends Descriptors> = globalThis.ContextualClient extends {
|
|
|
476
476
|
host: Host;
|
|
477
477
|
} ? BuildDescriptors<T, globalThis.ContextualClient['host']> : T;
|
|
478
478
|
|
|
479
|
-
interface
|
|
479
|
+
interface FocalPoint {
|
|
480
480
|
/** X-coordinate of the focal point. */
|
|
481
481
|
x?: number;
|
|
482
482
|
/** Y-coordinate of the focal point. */
|
|
@@ -619,6 +619,12 @@ interface GetProductRequest {
|
|
|
619
619
|
interface GetProductResponse {
|
|
620
620
|
product?: Product;
|
|
621
621
|
}
|
|
622
|
+
interface CountProductsRequest {
|
|
623
|
+
filter?: Record<string, any> | null;
|
|
624
|
+
}
|
|
625
|
+
interface CountProductsResponse {
|
|
626
|
+
count?: number;
|
|
627
|
+
}
|
|
622
628
|
interface GetProductsStartWithRequest {
|
|
623
629
|
title: string;
|
|
624
630
|
addressLine2?: string | null;
|
|
@@ -829,6 +835,9 @@ interface UpdateProductResponseNonNullableFields {
|
|
|
829
835
|
interface GetProductResponseNonNullableFields {
|
|
830
836
|
product?: ProductNonNullableFields;
|
|
831
837
|
}
|
|
838
|
+
interface CountProductsResponseNonNullableFields {
|
|
839
|
+
count: number;
|
|
840
|
+
}
|
|
832
841
|
interface GetProductsStartWithResponseNonNullableFields {
|
|
833
842
|
products: ProductNonNullableFields[];
|
|
834
843
|
}
|
|
@@ -899,6 +908,9 @@ interface CreateProductOptions {
|
|
|
899
908
|
interface UpdateProductOptions {
|
|
900
909
|
product?: Product;
|
|
901
910
|
}
|
|
911
|
+
interface CountProductsOptions {
|
|
912
|
+
filter?: Record<string, any> | null;
|
|
913
|
+
}
|
|
902
914
|
interface GetProductsStartWithOptions {
|
|
903
915
|
addressLine2?: string | null;
|
|
904
916
|
}
|
|
@@ -1002,6 +1014,11 @@ interface GetProductSignature {
|
|
|
1002
1014
|
*/
|
|
1003
1015
|
(productId: string): Promise<Product & ProductNonNullableFields>;
|
|
1004
1016
|
}
|
|
1017
|
+
declare function countProducts$1(httpClient: HttpClient): CountProductsSignature;
|
|
1018
|
+
interface CountProductsSignature {
|
|
1019
|
+
/** */
|
|
1020
|
+
(options?: CountProductsOptions | undefined): Promise<CountProductsResponse & CountProductsResponseNonNullableFields>;
|
|
1021
|
+
}
|
|
1005
1022
|
declare function getProductsStartWith$1(httpClient: HttpClient): GetProductsStartWithSignature;
|
|
1006
1023
|
interface GetProductsStartWithSignature {
|
|
1007
1024
|
/** */
|
|
@@ -1038,6 +1055,7 @@ declare const createProduct: MaybeContext<BuildRESTFunction<typeof createProduct
|
|
|
1038
1055
|
declare const deleteProduct: MaybeContext<BuildRESTFunction<typeof deleteProduct$1> & typeof deleteProduct$1>;
|
|
1039
1056
|
declare const updateProduct: MaybeContext<BuildRESTFunction<typeof updateProduct$1> & typeof updateProduct$1>;
|
|
1040
1057
|
declare const getProduct: MaybeContext<BuildRESTFunction<typeof getProduct$1> & typeof getProduct$1>;
|
|
1058
|
+
declare const countProducts: MaybeContext<BuildRESTFunction<typeof countProducts$1> & typeof countProducts$1>;
|
|
1041
1059
|
declare const getProductsStartWith: MaybeContext<BuildRESTFunction<typeof getProductsStartWith$1> & typeof getProductsStartWith$1>;
|
|
1042
1060
|
declare const queryProducts: MaybeContext<BuildRESTFunction<typeof queryProducts$1> & typeof queryProducts$1>;
|
|
1043
1061
|
declare const bulkCreateProducts: MaybeContext<BuildRESTFunction<typeof bulkCreateProducts$1> & typeof bulkCreateProducts$1>;
|
|
@@ -1063,6 +1081,10 @@ type context_BulkUpdateProductsRequest = BulkUpdateProductsRequest;
|
|
|
1063
1081
|
type context_BulkUpdateProductsResponse = BulkUpdateProductsResponse;
|
|
1064
1082
|
type context_BulkUpdateProductsResponseBulkProductResult = BulkUpdateProductsResponseBulkProductResult;
|
|
1065
1083
|
type context_BulkUpdateProductsResponseNonNullableFields = BulkUpdateProductsResponseNonNullableFields;
|
|
1084
|
+
type context_CountProductsOptions = CountProductsOptions;
|
|
1085
|
+
type context_CountProductsRequest = CountProductsRequest;
|
|
1086
|
+
type context_CountProductsResponse = CountProductsResponse;
|
|
1087
|
+
type context_CountProductsResponseNonNullableFields = CountProductsResponseNonNullableFields;
|
|
1066
1088
|
type context_CreateProductOptions = CreateProductOptions;
|
|
1067
1089
|
type context_CreateProductRequest = CreateProductRequest;
|
|
1068
1090
|
type context_CreateProductResponse = CreateProductResponse;
|
|
@@ -1071,6 +1093,7 @@ type context_CursorPaging = CursorPaging;
|
|
|
1071
1093
|
type context_Cursors = Cursors;
|
|
1072
1094
|
type context_DeleteProductRequest = DeleteProductRequest;
|
|
1073
1095
|
type context_DeleteProductResponse = DeleteProductResponse;
|
|
1096
|
+
type context_FocalPoint = FocalPoint;
|
|
1074
1097
|
type context_GetProductRequest = GetProductRequest;
|
|
1075
1098
|
type context_GetProductResponse = GetProductResponse;
|
|
1076
1099
|
type context_GetProductResponseNonNullableFields = GetProductResponseNonNullableFields;
|
|
@@ -1086,7 +1109,6 @@ type context_MyAddress = MyAddress;
|
|
|
1086
1109
|
type context_PageLink = PageLink;
|
|
1087
1110
|
type context_Paging = Paging;
|
|
1088
1111
|
type context_PagingMetadataV2 = PagingMetadataV2;
|
|
1089
|
-
type context_Point = Point;
|
|
1090
1112
|
type context_Product = Product;
|
|
1091
1113
|
type context_ProductNonNullableFields = ProductNonNullableFields;
|
|
1092
1114
|
type context_ProductsQueryBuilder = ProductsQueryBuilder;
|
|
@@ -1116,6 +1138,7 @@ type context_VideoResolution = VideoResolution;
|
|
|
1116
1138
|
declare const context_bulkCreateProducts: typeof bulkCreateProducts;
|
|
1117
1139
|
declare const context_bulkDeleteProducts: typeof bulkDeleteProducts;
|
|
1118
1140
|
declare const context_bulkUpdateProducts: typeof bulkUpdateProducts;
|
|
1141
|
+
declare const context_countProducts: typeof countProducts;
|
|
1119
1142
|
declare const context_createProduct: typeof createProduct;
|
|
1120
1143
|
declare const context_deleteProduct: typeof deleteProduct;
|
|
1121
1144
|
declare const context_getProduct: typeof getProduct;
|
|
@@ -1123,7 +1146,7 @@ declare const context_getProductsStartWith: typeof getProductsStartWith;
|
|
|
1123
1146
|
declare const context_queryProducts: typeof queryProducts;
|
|
1124
1147
|
declare const context_updateProduct: typeof updateProduct;
|
|
1125
1148
|
declare namespace context {
|
|
1126
|
-
export { type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressStreetOneOf as AddressStreetOneOf, type context_ApplicationError as ApplicationError, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkCreateProductsOptions as BulkCreateProductsOptions, type context_BulkCreateProductsRequest as BulkCreateProductsRequest, type context_BulkCreateProductsResponse as BulkCreateProductsResponse, type context_BulkCreateProductsResponseNonNullableFields as BulkCreateProductsResponseNonNullableFields, type context_BulkDeleteProductsRequest as BulkDeleteProductsRequest, type context_BulkDeleteProductsResponse as BulkDeleteProductsResponse, type context_BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResult, type context_BulkDeleteProductsResponseNonNullableFields as BulkDeleteProductsResponseNonNullableFields, type context_BulkProductResult as BulkProductResult, type context_BulkUpdateProductsOptions as BulkUpdateProductsOptions, type context_BulkUpdateProductsRequest as BulkUpdateProductsRequest, type context_BulkUpdateProductsResponse as BulkUpdateProductsResponse, type context_BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResult, type context_BulkUpdateProductsResponseNonNullableFields as BulkUpdateProductsResponseNonNullableFields, type context_CreateProductOptions as CreateProductOptions, type context_CreateProductRequest as CreateProductRequest, type context_CreateProductResponse as CreateProductResponse, type context_CreateProductResponseNonNullableFields as CreateProductResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_Cursors as Cursors, type context_DeleteProductRequest as DeleteProductRequest, type context_DeleteProductResponse as DeleteProductResponse, type context_GetProductRequest as GetProductRequest, type context_GetProductResponse as GetProductResponse, type context_GetProductResponseNonNullableFields as GetProductResponseNonNullableFields, type context_GetProductsStartWithOptions as GetProductsStartWithOptions, type context_GetProductsStartWithRequest as GetProductsStartWithRequest, type context_GetProductsStartWithResponse as GetProductsStartWithResponse, type context_GetProductsStartWithResponseNonNullableFields as GetProductsStartWithResponseNonNullableFields, type context_ItemMetadata as ItemMetadata, context_LinkRel as LinkRel, type context_MaskedProduct as MaskedProduct, type context_MyAddress as MyAddress, type context_PageLink as PageLink, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type
|
|
1149
|
+
export { type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressStreetOneOf as AddressStreetOneOf, type context_ApplicationError as ApplicationError, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkCreateProductsOptions as BulkCreateProductsOptions, type context_BulkCreateProductsRequest as BulkCreateProductsRequest, type context_BulkCreateProductsResponse as BulkCreateProductsResponse, type context_BulkCreateProductsResponseNonNullableFields as BulkCreateProductsResponseNonNullableFields, type context_BulkDeleteProductsRequest as BulkDeleteProductsRequest, type context_BulkDeleteProductsResponse as BulkDeleteProductsResponse, type context_BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResult, type context_BulkDeleteProductsResponseNonNullableFields as BulkDeleteProductsResponseNonNullableFields, type context_BulkProductResult as BulkProductResult, type context_BulkUpdateProductsOptions as BulkUpdateProductsOptions, type context_BulkUpdateProductsRequest as BulkUpdateProductsRequest, type context_BulkUpdateProductsResponse as BulkUpdateProductsResponse, type context_BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResult, type context_BulkUpdateProductsResponseNonNullableFields as BulkUpdateProductsResponseNonNullableFields, type context_CountProductsOptions as CountProductsOptions, type context_CountProductsRequest as CountProductsRequest, type context_CountProductsResponse as CountProductsResponse, type context_CountProductsResponseNonNullableFields as CountProductsResponseNonNullableFields, type context_CreateProductOptions as CreateProductOptions, type context_CreateProductRequest as CreateProductRequest, type context_CreateProductResponse as CreateProductResponse, type context_CreateProductResponseNonNullableFields as CreateProductResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_Cursors as Cursors, type context_DeleteProductRequest as DeleteProductRequest, type context_DeleteProductResponse as DeleteProductResponse, type context_FocalPoint as FocalPoint, type context_GetProductRequest as GetProductRequest, type context_GetProductResponse as GetProductResponse, type context_GetProductResponseNonNullableFields as GetProductResponseNonNullableFields, type context_GetProductsStartWithOptions as GetProductsStartWithOptions, type context_GetProductsStartWithRequest as GetProductsStartWithRequest, type context_GetProductsStartWithResponse as GetProductsStartWithResponse, type context_GetProductsStartWithResponseNonNullableFields as GetProductsStartWithResponseNonNullableFields, type context_ItemMetadata as ItemMetadata, context_LinkRel as LinkRel, type context_MaskedProduct as MaskedProduct, type context_MyAddress as MyAddress, type context_PageLink as PageLink, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_Product as Product, type context_ProductNonNullableFields as ProductNonNullableFields, type context_ProductsQueryBuilder as ProductsQueryBuilder, type context_ProductsQueryResult as ProductsQueryResult, type context_QueryProductsOptions as QueryProductsOptions, type context_QueryProductsRequest as QueryProductsRequest, type context_QueryProductsResponse as QueryProductsResponse, type context_QueryProductsResponseNonNullableFields as QueryProductsResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context_ResetProductsDbRequest as ResetProductsDbRequest, type context_ResetProductsDbResponse as ResetProductsDbResponse, context_SortOrder as SortOrder, type context_Sorting as Sorting, type context_StandardDetails as StandardDetails, type context_StreetAddress as StreetAddress, type context_Subdivision as Subdivision, context_SubdivisionType as SubdivisionType, type context_UpdateProductOptions as UpdateProductOptions, type context_UpdateProductRequest as UpdateProductRequest, type context_UpdateProductResponse as UpdateProductResponse, type context_UpdateProductResponseNonNullableFields as UpdateProductResponseNonNullableFields, type context_Variant as Variant, type context_VideoResolution as VideoResolution, context_bulkCreateProducts as bulkCreateProducts, context_bulkDeleteProducts as bulkDeleteProducts, context_bulkUpdateProducts as bulkUpdateProducts, context_countProducts as countProducts, context_createProduct as createProduct, context_deleteProduct as deleteProduct, context_getProduct as getProduct, context_getProductsStartWith as getProductsStartWith, context_queryProducts as queryProducts, context_updateProduct as updateProduct };
|
|
1127
1150
|
}
|
|
1128
1151
|
|
|
1129
1152
|
export { context as products };
|
|
@@ -476,7 +476,7 @@ type MaybeContext<T extends Descriptors> = globalThis.ContextualClient extends {
|
|
|
476
476
|
host: Host;
|
|
477
477
|
} ? BuildDescriptors<T, globalThis.ContextualClient['host']> : T;
|
|
478
478
|
|
|
479
|
-
interface
|
|
479
|
+
interface FocalPoint {
|
|
480
480
|
/** X-coordinate of the focal point. */
|
|
481
481
|
x?: number;
|
|
482
482
|
/** Y-coordinate of the focal point. */
|
|
@@ -619,6 +619,12 @@ interface GetProductRequest {
|
|
|
619
619
|
interface GetProductResponse {
|
|
620
620
|
product?: Product;
|
|
621
621
|
}
|
|
622
|
+
interface CountProductsRequest {
|
|
623
|
+
filter?: Record<string, any> | null;
|
|
624
|
+
}
|
|
625
|
+
interface CountProductsResponse {
|
|
626
|
+
count?: number;
|
|
627
|
+
}
|
|
622
628
|
interface GetProductsStartWithRequest {
|
|
623
629
|
title: string;
|
|
624
630
|
addressLine2?: string | null;
|
|
@@ -829,6 +835,9 @@ interface UpdateProductResponseNonNullableFields {
|
|
|
829
835
|
interface GetProductResponseNonNullableFields {
|
|
830
836
|
product?: ProductNonNullableFields;
|
|
831
837
|
}
|
|
838
|
+
interface CountProductsResponseNonNullableFields {
|
|
839
|
+
count: number;
|
|
840
|
+
}
|
|
832
841
|
interface GetProductsStartWithResponseNonNullableFields {
|
|
833
842
|
products: ProductNonNullableFields[];
|
|
834
843
|
}
|
|
@@ -899,6 +908,9 @@ interface CreateProductOptions {
|
|
|
899
908
|
interface UpdateProductOptions {
|
|
900
909
|
product?: Product;
|
|
901
910
|
}
|
|
911
|
+
interface CountProductsOptions {
|
|
912
|
+
filter?: Record<string, any> | null;
|
|
913
|
+
}
|
|
902
914
|
interface GetProductsStartWithOptions {
|
|
903
915
|
addressLine2?: string | null;
|
|
904
916
|
}
|
|
@@ -1002,6 +1014,11 @@ interface GetProductSignature {
|
|
|
1002
1014
|
*/
|
|
1003
1015
|
(productId: string): Promise<Product & ProductNonNullableFields>;
|
|
1004
1016
|
}
|
|
1017
|
+
declare function countProducts$1(httpClient: HttpClient): CountProductsSignature;
|
|
1018
|
+
interface CountProductsSignature {
|
|
1019
|
+
/** */
|
|
1020
|
+
(options?: CountProductsOptions | undefined): Promise<CountProductsResponse & CountProductsResponseNonNullableFields>;
|
|
1021
|
+
}
|
|
1005
1022
|
declare function getProductsStartWith$1(httpClient: HttpClient): GetProductsStartWithSignature;
|
|
1006
1023
|
interface GetProductsStartWithSignature {
|
|
1007
1024
|
/** */
|
|
@@ -1038,6 +1055,7 @@ declare const createProduct: MaybeContext<BuildRESTFunction<typeof createProduct
|
|
|
1038
1055
|
declare const deleteProduct: MaybeContext<BuildRESTFunction<typeof deleteProduct$1> & typeof deleteProduct$1>;
|
|
1039
1056
|
declare const updateProduct: MaybeContext<BuildRESTFunction<typeof updateProduct$1> & typeof updateProduct$1>;
|
|
1040
1057
|
declare const getProduct: MaybeContext<BuildRESTFunction<typeof getProduct$1> & typeof getProduct$1>;
|
|
1058
|
+
declare const countProducts: MaybeContext<BuildRESTFunction<typeof countProducts$1> & typeof countProducts$1>;
|
|
1041
1059
|
declare const getProductsStartWith: MaybeContext<BuildRESTFunction<typeof getProductsStartWith$1> & typeof getProductsStartWith$1>;
|
|
1042
1060
|
declare const queryProducts: MaybeContext<BuildRESTFunction<typeof queryProducts$1> & typeof queryProducts$1>;
|
|
1043
1061
|
declare const bulkCreateProducts: MaybeContext<BuildRESTFunction<typeof bulkCreateProducts$1> & typeof bulkCreateProducts$1>;
|
|
@@ -1063,6 +1081,10 @@ type index_d_BulkUpdateProductsRequest = BulkUpdateProductsRequest;
|
|
|
1063
1081
|
type index_d_BulkUpdateProductsResponse = BulkUpdateProductsResponse;
|
|
1064
1082
|
type index_d_BulkUpdateProductsResponseBulkProductResult = BulkUpdateProductsResponseBulkProductResult;
|
|
1065
1083
|
type index_d_BulkUpdateProductsResponseNonNullableFields = BulkUpdateProductsResponseNonNullableFields;
|
|
1084
|
+
type index_d_CountProductsOptions = CountProductsOptions;
|
|
1085
|
+
type index_d_CountProductsRequest = CountProductsRequest;
|
|
1086
|
+
type index_d_CountProductsResponse = CountProductsResponse;
|
|
1087
|
+
type index_d_CountProductsResponseNonNullableFields = CountProductsResponseNonNullableFields;
|
|
1066
1088
|
type index_d_CreateProductOptions = CreateProductOptions;
|
|
1067
1089
|
type index_d_CreateProductRequest = CreateProductRequest;
|
|
1068
1090
|
type index_d_CreateProductResponse = CreateProductResponse;
|
|
@@ -1071,6 +1093,7 @@ type index_d_CursorPaging = CursorPaging;
|
|
|
1071
1093
|
type index_d_Cursors = Cursors;
|
|
1072
1094
|
type index_d_DeleteProductRequest = DeleteProductRequest;
|
|
1073
1095
|
type index_d_DeleteProductResponse = DeleteProductResponse;
|
|
1096
|
+
type index_d_FocalPoint = FocalPoint;
|
|
1074
1097
|
type index_d_GetProductRequest = GetProductRequest;
|
|
1075
1098
|
type index_d_GetProductResponse = GetProductResponse;
|
|
1076
1099
|
type index_d_GetProductResponseNonNullableFields = GetProductResponseNonNullableFields;
|
|
@@ -1086,7 +1109,6 @@ type index_d_MyAddress = MyAddress;
|
|
|
1086
1109
|
type index_d_PageLink = PageLink;
|
|
1087
1110
|
type index_d_Paging = Paging;
|
|
1088
1111
|
type index_d_PagingMetadataV2 = PagingMetadataV2;
|
|
1089
|
-
type index_d_Point = Point;
|
|
1090
1112
|
type index_d_Product = Product;
|
|
1091
1113
|
type index_d_ProductNonNullableFields = ProductNonNullableFields;
|
|
1092
1114
|
type index_d_ProductsQueryBuilder = ProductsQueryBuilder;
|
|
@@ -1116,6 +1138,7 @@ type index_d_VideoResolution = VideoResolution;
|
|
|
1116
1138
|
declare const index_d_bulkCreateProducts: typeof bulkCreateProducts;
|
|
1117
1139
|
declare const index_d_bulkDeleteProducts: typeof bulkDeleteProducts;
|
|
1118
1140
|
declare const index_d_bulkUpdateProducts: typeof bulkUpdateProducts;
|
|
1141
|
+
declare const index_d_countProducts: typeof countProducts;
|
|
1119
1142
|
declare const index_d_createProduct: typeof createProduct;
|
|
1120
1143
|
declare const index_d_deleteProduct: typeof deleteProduct;
|
|
1121
1144
|
declare const index_d_getProduct: typeof getProduct;
|
|
@@ -1123,7 +1146,7 @@ declare const index_d_getProductsStartWith: typeof getProductsStartWith;
|
|
|
1123
1146
|
declare const index_d_queryProducts: typeof queryProducts;
|
|
1124
1147
|
declare const index_d_updateProduct: typeof updateProduct;
|
|
1125
1148
|
declare namespace index_d {
|
|
1126
|
-
export { type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_ApplicationError as ApplicationError, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkCreateProductsOptions as BulkCreateProductsOptions, type index_d_BulkCreateProductsRequest as BulkCreateProductsRequest, type index_d_BulkCreateProductsResponse as BulkCreateProductsResponse, type index_d_BulkCreateProductsResponseNonNullableFields as BulkCreateProductsResponseNonNullableFields, type index_d_BulkDeleteProductsRequest as BulkDeleteProductsRequest, type index_d_BulkDeleteProductsResponse as BulkDeleteProductsResponse, type index_d_BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResult, type index_d_BulkDeleteProductsResponseNonNullableFields as BulkDeleteProductsResponseNonNullableFields, type index_d_BulkProductResult as BulkProductResult, type index_d_BulkUpdateProductsOptions as BulkUpdateProductsOptions, type index_d_BulkUpdateProductsRequest as BulkUpdateProductsRequest, type index_d_BulkUpdateProductsResponse as BulkUpdateProductsResponse, type index_d_BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResult, type index_d_BulkUpdateProductsResponseNonNullableFields as BulkUpdateProductsResponseNonNullableFields, type index_d_CreateProductOptions as CreateProductOptions, type index_d_CreateProductRequest as CreateProductRequest, type index_d_CreateProductResponse as CreateProductResponse, type index_d_CreateProductResponseNonNullableFields as CreateProductResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DeleteProductRequest as DeleteProductRequest, type index_d_DeleteProductResponse as DeleteProductResponse, type index_d_GetProductRequest as GetProductRequest, type index_d_GetProductResponse as GetProductResponse, type index_d_GetProductResponseNonNullableFields as GetProductResponseNonNullableFields, type index_d_GetProductsStartWithOptions as GetProductsStartWithOptions, type index_d_GetProductsStartWithRequest as GetProductsStartWithRequest, type index_d_GetProductsStartWithResponse as GetProductsStartWithResponse, type index_d_GetProductsStartWithResponseNonNullableFields as GetProductsStartWithResponseNonNullableFields, type index_d_ItemMetadata as ItemMetadata, index_d_LinkRel as LinkRel, type index_d_MaskedProduct as MaskedProduct, type index_d_MyAddress as MyAddress, type index_d_PageLink as PageLink, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type
|
|
1149
|
+
export { type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_ApplicationError as ApplicationError, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkCreateProductsOptions as BulkCreateProductsOptions, type index_d_BulkCreateProductsRequest as BulkCreateProductsRequest, type index_d_BulkCreateProductsResponse as BulkCreateProductsResponse, type index_d_BulkCreateProductsResponseNonNullableFields as BulkCreateProductsResponseNonNullableFields, type index_d_BulkDeleteProductsRequest as BulkDeleteProductsRequest, type index_d_BulkDeleteProductsResponse as BulkDeleteProductsResponse, type index_d_BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResult, type index_d_BulkDeleteProductsResponseNonNullableFields as BulkDeleteProductsResponseNonNullableFields, type index_d_BulkProductResult as BulkProductResult, type index_d_BulkUpdateProductsOptions as BulkUpdateProductsOptions, type index_d_BulkUpdateProductsRequest as BulkUpdateProductsRequest, type index_d_BulkUpdateProductsResponse as BulkUpdateProductsResponse, type index_d_BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResult, type index_d_BulkUpdateProductsResponseNonNullableFields as BulkUpdateProductsResponseNonNullableFields, type index_d_CountProductsOptions as CountProductsOptions, type index_d_CountProductsRequest as CountProductsRequest, type index_d_CountProductsResponse as CountProductsResponse, type index_d_CountProductsResponseNonNullableFields as CountProductsResponseNonNullableFields, type index_d_CreateProductOptions as CreateProductOptions, type index_d_CreateProductRequest as CreateProductRequest, type index_d_CreateProductResponse as CreateProductResponse, type index_d_CreateProductResponseNonNullableFields as CreateProductResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DeleteProductRequest as DeleteProductRequest, type index_d_DeleteProductResponse as DeleteProductResponse, type index_d_FocalPoint as FocalPoint, type index_d_GetProductRequest as GetProductRequest, type index_d_GetProductResponse as GetProductResponse, type index_d_GetProductResponseNonNullableFields as GetProductResponseNonNullableFields, type index_d_GetProductsStartWithOptions as GetProductsStartWithOptions, type index_d_GetProductsStartWithRequest as GetProductsStartWithRequest, type index_d_GetProductsStartWithResponse as GetProductsStartWithResponse, type index_d_GetProductsStartWithResponseNonNullableFields as GetProductsStartWithResponseNonNullableFields, type index_d_ItemMetadata as ItemMetadata, index_d_LinkRel as LinkRel, type index_d_MaskedProduct as MaskedProduct, type index_d_MyAddress as MyAddress, type index_d_PageLink as PageLink, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_Product as Product, type index_d_ProductNonNullableFields as ProductNonNullableFields, type index_d_ProductsQueryBuilder as ProductsQueryBuilder, type index_d_ProductsQueryResult as ProductsQueryResult, type index_d_QueryProductsOptions as QueryProductsOptions, type index_d_QueryProductsRequest as QueryProductsRequest, type index_d_QueryProductsResponse as QueryProductsResponse, type index_d_QueryProductsResponseNonNullableFields as QueryProductsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_ResetProductsDbRequest as ResetProductsDbRequest, type index_d_ResetProductsDbResponse as ResetProductsDbResponse, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, type index_d_StandardDetails as StandardDetails, type index_d_StreetAddress as StreetAddress, type index_d_Subdivision as Subdivision, index_d_SubdivisionType as SubdivisionType, type index_d_UpdateProductOptions as UpdateProductOptions, type index_d_UpdateProductRequest as UpdateProductRequest, type index_d_UpdateProductResponse as UpdateProductResponse, type index_d_UpdateProductResponseNonNullableFields as UpdateProductResponseNonNullableFields, type index_d_Variant as Variant, type index_d_VideoResolution as VideoResolution, index_d_bulkCreateProducts as bulkCreateProducts, index_d_bulkDeleteProducts as bulkDeleteProducts, index_d_bulkUpdateProducts as bulkUpdateProducts, index_d_countProducts as countProducts, index_d_createProduct as createProduct, index_d_deleteProduct as deleteProduct, index_d_getProduct as getProduct, index_d_getProductsStartWith as getProductsStartWith, index_d_queryProducts as queryProducts, index_d_updateProduct as updateProduct };
|
|
1127
1150
|
}
|
|
1128
1151
|
|
|
1129
1152
|
export { index_d as products };
|
|
@@ -192,6 +192,12 @@ interface GetProductRequest$1 {
|
|
|
192
192
|
interface GetProductResponse$1 {
|
|
193
193
|
product?: Product$1;
|
|
194
194
|
}
|
|
195
|
+
interface CountProductsRequest$1 {
|
|
196
|
+
filter?: Record<string, any> | null;
|
|
197
|
+
}
|
|
198
|
+
interface CountProductsResponse$1 {
|
|
199
|
+
count?: number;
|
|
200
|
+
}
|
|
195
201
|
interface GetProductsStartWithRequest$1 {
|
|
196
202
|
title: string;
|
|
197
203
|
addressLine2?: string | null;
|
|
@@ -355,7 +361,7 @@ interface BulkDeleteProductsResponse$1 {
|
|
|
355
361
|
interface BulkDeleteProductsResponseBulkProductResult$1 {
|
|
356
362
|
itemMetadata?: ItemMetadata$1;
|
|
357
363
|
}
|
|
358
|
-
interface
|
|
364
|
+
interface FocalPointNonNullableFields {
|
|
359
365
|
x: number;
|
|
360
366
|
y: number;
|
|
361
367
|
}
|
|
@@ -364,7 +370,7 @@ interface ImageNonNullableFields {
|
|
|
364
370
|
url: string;
|
|
365
371
|
height: number;
|
|
366
372
|
width: number;
|
|
367
|
-
focalPoint?:
|
|
373
|
+
focalPoint?: FocalPointNonNullableFields;
|
|
368
374
|
}
|
|
369
375
|
interface StreetAddressNonNullableFields$1 {
|
|
370
376
|
number: string;
|
|
@@ -436,6 +442,9 @@ interface UpdateProductResponseNonNullableFields$1 {
|
|
|
436
442
|
interface GetProductResponseNonNullableFields$1 {
|
|
437
443
|
product?: ProductNonNullableFields$1;
|
|
438
444
|
}
|
|
445
|
+
interface CountProductsResponseNonNullableFields$1 {
|
|
446
|
+
count: number;
|
|
447
|
+
}
|
|
439
448
|
interface GetProductsStartWithResponseNonNullableFields$1 {
|
|
440
449
|
products: ProductNonNullableFields$1[];
|
|
441
450
|
}
|
|
@@ -571,6 +580,12 @@ interface GetProductRequest {
|
|
|
571
580
|
interface GetProductResponse {
|
|
572
581
|
product?: Product;
|
|
573
582
|
}
|
|
583
|
+
interface CountProductsRequest {
|
|
584
|
+
filter?: Record<string, any> | null;
|
|
585
|
+
}
|
|
586
|
+
interface CountProductsResponse {
|
|
587
|
+
count?: number;
|
|
588
|
+
}
|
|
574
589
|
interface GetProductsStartWithRequest {
|
|
575
590
|
title: string;
|
|
576
591
|
addressLine2?: string | null;
|
|
@@ -777,6 +792,9 @@ interface UpdateProductResponseNonNullableFields {
|
|
|
777
792
|
interface GetProductResponseNonNullableFields {
|
|
778
793
|
product?: ProductNonNullableFields;
|
|
779
794
|
}
|
|
795
|
+
interface CountProductsResponseNonNullableFields {
|
|
796
|
+
count: number;
|
|
797
|
+
}
|
|
780
798
|
interface GetProductsStartWithResponseNonNullableFields {
|
|
781
799
|
products: ProductNonNullableFields[];
|
|
782
800
|
}
|
|
@@ -862,6 +880,7 @@ declare function updateProduct(): __PublicMethodMetaInfo<'PUT', {
|
|
|
862
880
|
declare function getProduct(): __PublicMethodMetaInfo<'GET', {
|
|
863
881
|
productId: string;
|
|
864
882
|
}, GetProductRequest, GetProductRequest$1, GetProductResponse & GetProductResponseNonNullableFields, GetProductResponse$1 & GetProductResponseNonNullableFields$1>;
|
|
883
|
+
declare function countProducts(): __PublicMethodMetaInfo<'POST', {}, CountProductsRequest, CountProductsRequest$1, CountProductsResponse & CountProductsResponseNonNullableFields, CountProductsResponse$1 & CountProductsResponseNonNullableFields$1>;
|
|
865
884
|
declare function getProductsStartWith(): __PublicMethodMetaInfo<'GET', {
|
|
866
885
|
title: string;
|
|
867
886
|
}, GetProductsStartWithRequest, GetProductsStartWithRequest$1, GetProductsStartWithResponse & GetProductsStartWithResponseNonNullableFields, GetProductsStartWithResponse$1 & GetProductsStartWithResponseNonNullableFields$1>;
|
|
@@ -874,6 +893,7 @@ type meta___PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unkno
|
|
|
874
893
|
declare const meta_bulkCreateProducts: typeof bulkCreateProducts;
|
|
875
894
|
declare const meta_bulkDeleteProducts: typeof bulkDeleteProducts;
|
|
876
895
|
declare const meta_bulkUpdateProducts: typeof bulkUpdateProducts;
|
|
896
|
+
declare const meta_countProducts: typeof countProducts;
|
|
877
897
|
declare const meta_createProduct: typeof createProduct;
|
|
878
898
|
declare const meta_deleteProduct: typeof deleteProduct;
|
|
879
899
|
declare const meta_getProduct: typeof getProduct;
|
|
@@ -881,7 +901,7 @@ declare const meta_getProductsStartWith: typeof getProductsStartWith;
|
|
|
881
901
|
declare const meta_queryProducts: typeof queryProducts;
|
|
882
902
|
declare const meta_updateProduct: typeof updateProduct;
|
|
883
903
|
declare namespace meta {
|
|
884
|
-
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_bulkCreateProducts as bulkCreateProducts, meta_bulkDeleteProducts as bulkDeleteProducts, meta_bulkUpdateProducts as bulkUpdateProducts, meta_createProduct as createProduct, meta_deleteProduct as deleteProduct, meta_getProduct as getProduct, meta_getProductsStartWith as getProductsStartWith, meta_queryProducts as queryProducts, meta_updateProduct as updateProduct };
|
|
904
|
+
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_bulkCreateProducts as bulkCreateProducts, meta_bulkDeleteProducts as bulkDeleteProducts, meta_bulkUpdateProducts as bulkUpdateProducts, meta_countProducts as countProducts, meta_createProduct as createProduct, meta_deleteProduct as deleteProduct, meta_getProduct as getProduct, meta_getProductsStartWith as getProductsStartWith, meta_queryProducts as queryProducts, meta_updateProduct as updateProduct };
|
|
885
905
|
}
|
|
886
906
|
|
|
887
907
|
export { meta as products };
|