@wix/auto_sdk_ecom_catalog 1.0.2 → 1.0.4
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/build/cjs/index.typings.d.ts +1 -2
- package/build/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.d.ts +2 -3
- package/build/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.js.map +1 -1
- package/build/cjs/src/service-plugins-types.d.ts +4 -4
- package/build/cjs/src/service-plugins-types.js +3 -3
- package/build/cjs/src/service-plugins-types.js.map +1 -1
- package/build/es/index.typings.d.ts +1 -2
- package/build/es/src/interfaces-ecommerce-v1-catalog-provider.public.d.ts +2 -3
- package/build/es/src/interfaces-ecommerce-v1-catalog-provider.public.js.map +1 -1
- package/build/es/src/service-plugins-types.d.ts +4 -4
- package/build/es/src/service-plugins-types.js +3 -3
- package/build/es/src/service-plugins-types.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -2
- package/build/internal/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.d.ts +2 -3
- package/build/internal/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.js.map +1 -1
- package/build/internal/cjs/src/service-plugins-types.d.ts +4 -4
- package/build/internal/cjs/src/service-plugins-types.js +3 -3
- package/build/internal/cjs/src/service-plugins-types.js.map +1 -1
- package/build/internal/es/index.typings.d.ts +1 -2
- package/build/internal/es/src/interfaces-ecommerce-v1-catalog-provider.public.d.ts +2 -3
- package/build/internal/es/src/interfaces-ecommerce-v1-catalog-provider.public.js.map +1 -1
- package/build/internal/es/src/service-plugins-types.d.ts +4 -4
- package/build/internal/es/src/service-plugins-types.js +3 -3
- package/build/internal/es/src/service-plugins-types.js.map +1 -1
- package/package.json +2 -2
|
@@ -15,7 +15,7 @@ export { GetCatalogItemsEnvelope };
|
|
|
15
15
|
* The method also receives preferences for the currency and weight unit to be used in the response.
|
|
16
16
|
*
|
|
17
17
|
* Your external catalog can store and organize item details in any way you prefer.
|
|
18
|
-
* When implementing the Catalog service plugin, learn how to
|
|
18
|
+
* When implementing the Catalog service plugin, learn how to handle item variants ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/catalog/handle-item-variants)) in a way that meets your needs.
|
|
19
19
|
*
|
|
20
20
|
* The method's response must contain a `catalogItems` array. Each item in the array must contain:
|
|
21
21
|
* + A `catalogReference` object. This must be identical to the `catalogReference` object received in the request.
|
|
@@ -25,6 +25,5 @@ export { GetCatalogItemsEnvelope };
|
|
|
25
25
|
* > + If an item doesn't exist in the catalog, the response must exclude it from the `catalogItems` array in the response.
|
|
26
26
|
* > + When none of the items requested exist in the catalog, `catalogItems` must contain an empty array.
|
|
27
27
|
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout.
|
|
28
|
-
* > + Learn more about [implementing a Wix service plugin](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions).
|
|
29
28
|
*/
|
|
30
29
|
export declare function getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
@@ -19,7 +19,7 @@ export declare const provideHandlers: ServicePluginDefinition<{
|
|
|
19
19
|
* The method also receives preferences for the currency and weight unit to be used in the response.
|
|
20
20
|
*
|
|
21
21
|
* Your external catalog can store and organize item details in any way you prefer.
|
|
22
|
-
* When implementing the Catalog service plugin, learn how to
|
|
22
|
+
* When implementing the Catalog service plugin, learn how to handle item variants ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/catalog/handle-item-variants)) in a way that meets your needs.
|
|
23
23
|
*
|
|
24
24
|
* The method's response must contain a `catalogItems` array. Each item in the array must contain:
|
|
25
25
|
* + A `catalogReference` object. This must be identical to the `catalogReference` object received in the request.
|
|
@@ -28,7 +28,6 @@ export declare const provideHandlers: ServicePluginDefinition<{
|
|
|
28
28
|
* > **Notes:**
|
|
29
29
|
* > + If an item doesn't exist in the catalog, the response must exclude it from the `catalogItems` array in the response.
|
|
30
30
|
* > + When none of the items requested exist in the catalog, `catalogItems` must contain an empty array.
|
|
31
|
-
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout.
|
|
32
|
-
* > + Learn more about [implementing a Wix service plugin](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions). */
|
|
31
|
+
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout. */
|
|
33
32
|
getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
34
33
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces-ecommerce-v1-catalog-provider.public.js","sourceRoot":"","sources":["../../../src/interfaces-ecommerce-v1-catalog-provider.public.ts"],"names":[],"mappings":";;;AAAA,8CAAyD;AAMzD,kEAAsF;AACtF,8EAAoG;AACpG,kEAAsF;AACtF,0EAAkG;AAClG,sFAAkF;AAClF,oFAGiD;AAOpC,QAAA,eAAe,GAAG,IAAA,mCAAuB,
|
|
1
|
+
{"version":3,"file":"interfaces-ecommerce-v1-catalog-provider.public.js","sourceRoot":"","sources":["../../../src/interfaces-ecommerce-v1-catalog-provider.public.ts"],"names":[],"mappings":";;;AAAA,8CAAyD;AAMzD,kEAAsF;AACtF,8EAAoG;AACpG,kEAAsF;AACtF,0EAAkG;AAClG,sFAAkF;AAClF,oFAGiD;AAOpC,QAAA,eAAe,GAAG,IAAA,mCAAuB,EA4BnD,cAAc,EAAE;IACjB;QACE,IAAI,EAAE,iBAAiB;QACvB,sBAAsB,EAAE,oBAAoB;QAC5C,eAAe,EAAE;YACf,MAAM,EAAE,CAAC,OAAY,EAAE,EAAE;gBACvB,MAAM,cAAc,GAAG,IAAA,gCAAc,EAAC,OAAO,EAAE;oBAC7C;wBACE,WAAW,EAAE,kDAAoC;wBACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;qBAC3C;oBACD;wBACE,WAAW,EAAE,oCAA4B;wBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;qBAC7C;oBACD;wBACE,WAAW,EAAE,oCAA4B;wBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,6CAA6C,EAAE,CAAC;qBACjE;oBACD;wBACE,WAAW,EAAE,gDAAoC;wBACjD,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,yEAAyE;6BAChF;4BACD,EAAE,IAAI,EAAE,mDAAmD,EAAE;yBAC9D;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,IAAA,8DAAqC,EAAC,cAAc,CAAC,CAAC;YAC/D,CAAC;YACD,QAAQ,EAAE,CAAC,OAAY,EAAE,EAAE;gBACzB,MAAM,eAAe,GAAG,OAAO,CAAC;gBAEhC,OAAO,IAAA,gEAAuC,EAAC,eAAe,CAAC,CAAC;YAClE,CAAC;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -48,16 +48,16 @@ export interface CatalogReference {
|
|
|
48
48
|
/**
|
|
49
49
|
* Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
50
50
|
*
|
|
51
|
-
* For products and variants from a Wix Stores catalog, learn more about
|
|
51
|
+
* For products and variants from a Wix Stores catalog, learn more about eCommerce integration ([SDK](https://dev.wix.com/docs/sdk/backend-modules/stores/catalog-v3/e-commerce-integration) | [REST](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration)).
|
|
52
52
|
*/
|
|
53
53
|
options?: Record<string, any> | null;
|
|
54
54
|
}
|
|
55
55
|
export declare enum WeightUnit {
|
|
56
|
-
/** Weight unit can't be classified
|
|
56
|
+
/** Weight unit can't be classified due to an error. */
|
|
57
57
|
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
58
|
-
/** Kilograms */
|
|
58
|
+
/** Kilograms. */
|
|
59
59
|
KG = "KG",
|
|
60
|
-
/** Pounds */
|
|
60
|
+
/** Pounds. */
|
|
61
61
|
LB = "LB"
|
|
62
62
|
}
|
|
63
63
|
/** Buyer Info */
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.IdentityType = exports.TaxableAddressType = exports.PaymentOptionType = exports.FileType = exports.SubscriptionFrequency = exports.DescriptionLineType = exports.ItemTypeItemType = exports.WeightUnit = void 0;
|
|
4
4
|
var WeightUnit;
|
|
5
5
|
(function (WeightUnit) {
|
|
6
|
-
/** Weight unit can't be classified
|
|
6
|
+
/** Weight unit can't be classified due to an error. */
|
|
7
7
|
WeightUnit["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
8
|
-
/** Kilograms */
|
|
8
|
+
/** Kilograms. */
|
|
9
9
|
WeightUnit["KG"] = "KG";
|
|
10
|
-
/** Pounds */
|
|
10
|
+
/** Pounds. */
|
|
11
11
|
WeightUnit["LB"] = "LB";
|
|
12
12
|
})(WeightUnit || (exports.WeightUnit = WeightUnit = {}));
|
|
13
13
|
var ItemTypeItemType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../src/service-plugins-types.ts"],"names":[],"mappings":";;;AAyDA,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,uDAAuD;IACvD,iEAAmD,CAAA;IACnD,
|
|
1
|
+
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../src/service-plugins-types.ts"],"names":[],"mappings":";;;AAyDA,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,uDAAuD;IACvD,iEAAmD,CAAA;IACnD,iBAAiB;IACjB,uBAAS,CAAA;IACT,cAAc;IACd,uBAAS,CAAA;AACX,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AA6MD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAuED,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AA0DD,0CAA0C;AAC1C,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AA4DD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,6CAAiC,CAAA;IACjC,yCAA6B,CAAA;IAC7B,+CAAmC,CAAA;IACnC,yCAA6B,CAAA;IAC7B,6CAAiC,CAAA;AACnC,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB;AAED,uDAAuD;AACvD,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,wEAAwE;IACxE,gEAA2C,CAAA;IAC3C,sIAAsI;IACtI,kEAA6C,CAAA;IAC7C,6FAA6F;IAC7F,8CAAyB,CAAA;IACzB,4IAA4I;IAC5I,sDAAiC,CAAA;IACjC,uKAAuK;IACvK,8DAAyC,CAAA;AAC3C,CAAC,EAXW,iBAAiB,iCAAjB,iBAAiB,QAW5B;AA4CD,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,yEAAmD,CAAA;IACnD,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACvB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AA+MD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB"}
|
|
@@ -15,7 +15,7 @@ export { GetCatalogItemsEnvelope };
|
|
|
15
15
|
* The method also receives preferences for the currency and weight unit to be used in the response.
|
|
16
16
|
*
|
|
17
17
|
* Your external catalog can store and organize item details in any way you prefer.
|
|
18
|
-
* When implementing the Catalog service plugin, learn how to
|
|
18
|
+
* When implementing the Catalog service plugin, learn how to handle item variants ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/catalog/handle-item-variants)) in a way that meets your needs.
|
|
19
19
|
*
|
|
20
20
|
* The method's response must contain a `catalogItems` array. Each item in the array must contain:
|
|
21
21
|
* + A `catalogReference` object. This must be identical to the `catalogReference` object received in the request.
|
|
@@ -25,6 +25,5 @@ export { GetCatalogItemsEnvelope };
|
|
|
25
25
|
* > + If an item doesn't exist in the catalog, the response must exclude it from the `catalogItems` array in the response.
|
|
26
26
|
* > + When none of the items requested exist in the catalog, `catalogItems` must contain an empty array.
|
|
27
27
|
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout.
|
|
28
|
-
* > + Learn more about [implementing a Wix service plugin](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions).
|
|
29
28
|
*/
|
|
30
29
|
export declare function getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
@@ -19,7 +19,7 @@ export declare const provideHandlers: ServicePluginDefinition<{
|
|
|
19
19
|
* The method also receives preferences for the currency and weight unit to be used in the response.
|
|
20
20
|
*
|
|
21
21
|
* Your external catalog can store and organize item details in any way you prefer.
|
|
22
|
-
* When implementing the Catalog service plugin, learn how to
|
|
22
|
+
* When implementing the Catalog service plugin, learn how to handle item variants ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/catalog/handle-item-variants)) in a way that meets your needs.
|
|
23
23
|
*
|
|
24
24
|
* The method's response must contain a `catalogItems` array. Each item in the array must contain:
|
|
25
25
|
* + A `catalogReference` object. This must be identical to the `catalogReference` object received in the request.
|
|
@@ -28,7 +28,6 @@ export declare const provideHandlers: ServicePluginDefinition<{
|
|
|
28
28
|
* > **Notes:**
|
|
29
29
|
* > + If an item doesn't exist in the catalog, the response must exclude it from the `catalogItems` array in the response.
|
|
30
30
|
* > + When none of the items requested exist in the catalog, `catalogItems` must contain an empty array.
|
|
31
|
-
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout.
|
|
32
|
-
* > + Learn more about [implementing a Wix service plugin](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions). */
|
|
31
|
+
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout. */
|
|
33
32
|
getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
34
33
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces-ecommerce-v1-catalog-provider.public.js","sourceRoot":"","sources":["../../../src/interfaces-ecommerce-v1-catalog-provider.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAMzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,8CAA8C,CAAC;AACpG,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAOjD,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,
|
|
1
|
+
{"version":3,"file":"interfaces-ecommerce-v1-catalog-provider.public.js","sourceRoot":"","sources":["../../../src/interfaces-ecommerce-v1-catalog-provider.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAMzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,8CAA8C,CAAC;AACpG,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAOjD,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CA4BnD,cAAc,EAAE;IACjB;QACE,IAAI,EAAE,iBAAiB;QACvB,sBAAsB,EAAE,oBAAoB;QAC5C,eAAe,EAAE;YACf,MAAM,EAAE,CAAC,OAAY,EAAE,EAAE;gBACvB,MAAM,cAAc,GAAG,cAAc,CAAC,OAAO,EAAE;oBAC7C;wBACE,WAAW,EAAE,oCAAoC;wBACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;qBAC3C;oBACD;wBACE,WAAW,EAAE,4BAA4B;wBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;qBAC7C;oBACD;wBACE,WAAW,EAAE,4BAA4B;wBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,6CAA6C,EAAE,CAAC;qBACjE;oBACD;wBACE,WAAW,EAAE,oCAAoC;wBACjD,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,yEAAyE;6BAChF;4BACD,EAAE,IAAI,EAAE,mDAAmD,EAAE;yBAC9D;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,qCAAqC,CAAC,cAAc,CAAC,CAAC;YAC/D,CAAC;YACD,QAAQ,EAAE,CAAC,OAAY,EAAE,EAAE;gBACzB,MAAM,eAAe,GAAG,OAAO,CAAC;gBAEhC,OAAO,uCAAuC,CAAC,eAAe,CAAC,CAAC;YAClE,CAAC;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -48,16 +48,16 @@ export interface CatalogReference {
|
|
|
48
48
|
/**
|
|
49
49
|
* Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
50
50
|
*
|
|
51
|
-
* For products and variants from a Wix Stores catalog, learn more about
|
|
51
|
+
* For products and variants from a Wix Stores catalog, learn more about eCommerce integration ([SDK](https://dev.wix.com/docs/sdk/backend-modules/stores/catalog-v3/e-commerce-integration) | [REST](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration)).
|
|
52
52
|
*/
|
|
53
53
|
options?: Record<string, any> | null;
|
|
54
54
|
}
|
|
55
55
|
export declare enum WeightUnit {
|
|
56
|
-
/** Weight unit can't be classified
|
|
56
|
+
/** Weight unit can't be classified due to an error. */
|
|
57
57
|
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
58
|
-
/** Kilograms */
|
|
58
|
+
/** Kilograms. */
|
|
59
59
|
KG = "KG",
|
|
60
|
-
/** Pounds */
|
|
60
|
+
/** Pounds. */
|
|
61
61
|
LB = "LB"
|
|
62
62
|
}
|
|
63
63
|
/** Buyer Info */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export var WeightUnit;
|
|
2
2
|
(function (WeightUnit) {
|
|
3
|
-
/** Weight unit can't be classified
|
|
3
|
+
/** Weight unit can't be classified due to an error. */
|
|
4
4
|
WeightUnit["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
5
|
-
/** Kilograms */
|
|
5
|
+
/** Kilograms. */
|
|
6
6
|
WeightUnit["KG"] = "KG";
|
|
7
|
-
/** Pounds */
|
|
7
|
+
/** Pounds. */
|
|
8
8
|
WeightUnit["LB"] = "LB";
|
|
9
9
|
})(WeightUnit || (WeightUnit = {}));
|
|
10
10
|
export var ItemTypeItemType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../src/service-plugins-types.ts"],"names":[],"mappings":"AAyDA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,uDAAuD;IACvD,iEAAmD,CAAA;IACnD,
|
|
1
|
+
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../src/service-plugins-types.ts"],"names":[],"mappings":"AAyDA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,uDAAuD;IACvD,iEAAmD,CAAA;IACnD,iBAAiB;IACjB,uBAAS,CAAA;IACT,cAAc;IACd,uBAAS,CAAA;AACX,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AA6MD,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,KAAhB,gBAAgB,QAM3B;AAuED,MAAM,CAAN,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,KAAnB,mBAAmB,QAO9B;AA0DD,0CAA0C;AAC1C,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,KAArB,qBAAqB,QAMhC;AA4DD,MAAM,CAAN,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,6CAAiC,CAAA;IACjC,yCAA6B,CAAA;IAC7B,+CAAmC,CAAA;IACnC,yCAA6B,CAAA;IAC7B,6CAAiC,CAAA;AACnC,CAAC,EAPW,QAAQ,KAAR,QAAQ,QAOnB;AAED,uDAAuD;AACvD,MAAM,CAAN,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,wEAAwE;IACxE,gEAA2C,CAAA;IAC3C,sIAAsI;IACtI,kEAA6C,CAAA;IAC7C,6FAA6F;IAC7F,8CAAyB,CAAA;IACzB,4IAA4I;IAC5I,sDAAiC,CAAA;IACjC,uKAAuK;IACvK,8DAAyC,CAAA;AAC3C,CAAC,EAXW,iBAAiB,KAAjB,iBAAiB,QAW5B;AA4CD,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,yEAAmD,CAAA;IACnD,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACvB,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AA+MD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB"}
|
|
@@ -15,7 +15,7 @@ export { GetCatalogItemsEnvelope };
|
|
|
15
15
|
* The method also receives preferences for the currency and weight unit to be used in the response.
|
|
16
16
|
*
|
|
17
17
|
* Your external catalog can store and organize item details in any way you prefer.
|
|
18
|
-
* When implementing the Catalog service plugin, learn how to
|
|
18
|
+
* When implementing the Catalog service plugin, learn how to handle item variants ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/catalog/handle-item-variants)) in a way that meets your needs.
|
|
19
19
|
*
|
|
20
20
|
* The method's response must contain a `catalogItems` array. Each item in the array must contain:
|
|
21
21
|
* + A `catalogReference` object. This must be identical to the `catalogReference` object received in the request.
|
|
@@ -25,6 +25,5 @@ export { GetCatalogItemsEnvelope };
|
|
|
25
25
|
* > + If an item doesn't exist in the catalog, the response must exclude it from the `catalogItems` array in the response.
|
|
26
26
|
* > + When none of the items requested exist in the catalog, `catalogItems` must contain an empty array.
|
|
27
27
|
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout.
|
|
28
|
-
* > + Learn more about [implementing a Wix service plugin](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions).
|
|
29
28
|
*/
|
|
30
29
|
export declare function getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
@@ -19,7 +19,7 @@ export declare const provideHandlers: ServicePluginDefinition<{
|
|
|
19
19
|
* The method also receives preferences for the currency and weight unit to be used in the response.
|
|
20
20
|
*
|
|
21
21
|
* Your external catalog can store and organize item details in any way you prefer.
|
|
22
|
-
* When implementing the Catalog service plugin, learn how to
|
|
22
|
+
* When implementing the Catalog service plugin, learn how to handle item variants ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/catalog/handle-item-variants)) in a way that meets your needs.
|
|
23
23
|
*
|
|
24
24
|
* The method's response must contain a `catalogItems` array. Each item in the array must contain:
|
|
25
25
|
* + A `catalogReference` object. This must be identical to the `catalogReference` object received in the request.
|
|
@@ -28,7 +28,6 @@ export declare const provideHandlers: ServicePluginDefinition<{
|
|
|
28
28
|
* > **Notes:**
|
|
29
29
|
* > + If an item doesn't exist in the catalog, the response must exclude it from the `catalogItems` array in the response.
|
|
30
30
|
* > + When none of the items requested exist in the catalog, `catalogItems` must contain an empty array.
|
|
31
|
-
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout.
|
|
32
|
-
* > + Learn more about [implementing a Wix service plugin](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions). */
|
|
31
|
+
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout. */
|
|
33
32
|
getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
34
33
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces-ecommerce-v1-catalog-provider.public.js","sourceRoot":"","sources":["../../../../src/interfaces-ecommerce-v1-catalog-provider.public.ts"],"names":[],"mappings":";;;AAAA,8CAAyD;AAMzD,kEAAsF;AACtF,8EAAoG;AACpG,kEAAsF;AACtF,0EAAkG;AAClG,sFAAkF;AAClF,oFAGiD;AAOpC,QAAA,eAAe,GAAG,IAAA,mCAAuB,
|
|
1
|
+
{"version":3,"file":"interfaces-ecommerce-v1-catalog-provider.public.js","sourceRoot":"","sources":["../../../../src/interfaces-ecommerce-v1-catalog-provider.public.ts"],"names":[],"mappings":";;;AAAA,8CAAyD;AAMzD,kEAAsF;AACtF,8EAAoG;AACpG,kEAAsF;AACtF,0EAAkG;AAClG,sFAAkF;AAClF,oFAGiD;AAOpC,QAAA,eAAe,GAAG,IAAA,mCAAuB,EA4BnD,cAAc,EAAE;IACjB;QACE,IAAI,EAAE,iBAAiB;QACvB,sBAAsB,EAAE,oBAAoB;QAC5C,eAAe,EAAE;YACf,MAAM,EAAE,CAAC,OAAY,EAAE,EAAE;gBACvB,MAAM,cAAc,GAAG,IAAA,gCAAc,EAAC,OAAO,EAAE;oBAC7C;wBACE,WAAW,EAAE,kDAAoC;wBACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;qBAC3C;oBACD;wBACE,WAAW,EAAE,oCAA4B;wBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;qBAC7C;oBACD;wBACE,WAAW,EAAE,oCAA4B;wBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,6CAA6C,EAAE,CAAC;qBACjE;oBACD;wBACE,WAAW,EAAE,gDAAoC;wBACjD,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,yEAAyE;6BAChF;4BACD,EAAE,IAAI,EAAE,mDAAmD,EAAE;yBAC9D;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,IAAA,8DAAqC,EAAC,cAAc,CAAC,CAAC;YAC/D,CAAC;YACD,QAAQ,EAAE,CAAC,OAAY,EAAE,EAAE;gBACzB,MAAM,eAAe,GAAG,OAAO,CAAC;gBAEhC,OAAO,IAAA,gEAAuC,EAAC,eAAe,CAAC,CAAC;YAClE,CAAC;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -48,16 +48,16 @@ export interface CatalogReference {
|
|
|
48
48
|
/**
|
|
49
49
|
* Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
50
50
|
*
|
|
51
|
-
* For products and variants from a Wix Stores catalog, learn more about
|
|
51
|
+
* For products and variants from a Wix Stores catalog, learn more about eCommerce integration ([SDK](https://dev.wix.com/docs/sdk/backend-modules/stores/catalog-v3/e-commerce-integration) | [REST](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration)).
|
|
52
52
|
*/
|
|
53
53
|
options?: Record<string, any> | null;
|
|
54
54
|
}
|
|
55
55
|
export declare enum WeightUnit {
|
|
56
|
-
/** Weight unit can't be classified
|
|
56
|
+
/** Weight unit can't be classified due to an error. */
|
|
57
57
|
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
58
|
-
/** Kilograms */
|
|
58
|
+
/** Kilograms. */
|
|
59
59
|
KG = "KG",
|
|
60
|
-
/** Pounds */
|
|
60
|
+
/** Pounds. */
|
|
61
61
|
LB = "LB"
|
|
62
62
|
}
|
|
63
63
|
/** Buyer Info */
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.IdentityType = exports.TaxableAddressType = exports.PaymentOptionType = exports.FileType = exports.SubscriptionFrequency = exports.DescriptionLineType = exports.ItemTypeItemType = exports.WeightUnit = void 0;
|
|
4
4
|
var WeightUnit;
|
|
5
5
|
(function (WeightUnit) {
|
|
6
|
-
/** Weight unit can't be classified
|
|
6
|
+
/** Weight unit can't be classified due to an error. */
|
|
7
7
|
WeightUnit["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
8
|
-
/** Kilograms */
|
|
8
|
+
/** Kilograms. */
|
|
9
9
|
WeightUnit["KG"] = "KG";
|
|
10
|
-
/** Pounds */
|
|
10
|
+
/** Pounds. */
|
|
11
11
|
WeightUnit["LB"] = "LB";
|
|
12
12
|
})(WeightUnit || (exports.WeightUnit = WeightUnit = {}));
|
|
13
13
|
var ItemTypeItemType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../../src/service-plugins-types.ts"],"names":[],"mappings":";;;AAyDA,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,uDAAuD;IACvD,iEAAmD,CAAA;IACnD,
|
|
1
|
+
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../../src/service-plugins-types.ts"],"names":[],"mappings":";;;AAyDA,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,uDAAuD;IACvD,iEAAmD,CAAA;IACnD,iBAAiB;IACjB,uBAAS,CAAA;IACT,cAAc;IACd,uBAAS,CAAA;AACX,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AA6MD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAuED,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AA0DD,0CAA0C;AAC1C,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AA4DD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,6CAAiC,CAAA;IACjC,yCAA6B,CAAA;IAC7B,+CAAmC,CAAA;IACnC,yCAA6B,CAAA;IAC7B,6CAAiC,CAAA;AACnC,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB;AAED,uDAAuD;AACvD,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,wEAAwE;IACxE,gEAA2C,CAAA;IAC3C,sIAAsI;IACtI,kEAA6C,CAAA;IAC7C,6FAA6F;IAC7F,8CAAyB,CAAA;IACzB,4IAA4I;IAC5I,sDAAiC,CAAA;IACjC,uKAAuK;IACvK,8DAAyC,CAAA;AAC3C,CAAC,EAXW,iBAAiB,iCAAjB,iBAAiB,QAW5B;AA4CD,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,yEAAmD,CAAA;IACnD,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACvB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AA+MD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB"}
|
|
@@ -15,7 +15,7 @@ export { GetCatalogItemsEnvelope };
|
|
|
15
15
|
* The method also receives preferences for the currency and weight unit to be used in the response.
|
|
16
16
|
*
|
|
17
17
|
* Your external catalog can store and organize item details in any way you prefer.
|
|
18
|
-
* When implementing the Catalog service plugin, learn how to
|
|
18
|
+
* When implementing the Catalog service plugin, learn how to handle item variants ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/catalog/handle-item-variants)) in a way that meets your needs.
|
|
19
19
|
*
|
|
20
20
|
* The method's response must contain a `catalogItems` array. Each item in the array must contain:
|
|
21
21
|
* + A `catalogReference` object. This must be identical to the `catalogReference` object received in the request.
|
|
@@ -25,6 +25,5 @@ export { GetCatalogItemsEnvelope };
|
|
|
25
25
|
* > + If an item doesn't exist in the catalog, the response must exclude it from the `catalogItems` array in the response.
|
|
26
26
|
* > + When none of the items requested exist in the catalog, `catalogItems` must contain an empty array.
|
|
27
27
|
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout.
|
|
28
|
-
* > + Learn more about [implementing a Wix service plugin](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions).
|
|
29
28
|
*/
|
|
30
29
|
export declare function getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
@@ -19,7 +19,7 @@ export declare const provideHandlers: ServicePluginDefinition<{
|
|
|
19
19
|
* The method also receives preferences for the currency and weight unit to be used in the response.
|
|
20
20
|
*
|
|
21
21
|
* Your external catalog can store and organize item details in any way you prefer.
|
|
22
|
-
* When implementing the Catalog service plugin, learn how to
|
|
22
|
+
* When implementing the Catalog service plugin, learn how to handle item variants ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/catalog/handle-item-variants)) in a way that meets your needs.
|
|
23
23
|
*
|
|
24
24
|
* The method's response must contain a `catalogItems` array. Each item in the array must contain:
|
|
25
25
|
* + A `catalogReference` object. This must be identical to the `catalogReference` object received in the request.
|
|
@@ -28,7 +28,6 @@ export declare const provideHandlers: ServicePluginDefinition<{
|
|
|
28
28
|
* > **Notes:**
|
|
29
29
|
* > + If an item doesn't exist in the catalog, the response must exclude it from the `catalogItems` array in the response.
|
|
30
30
|
* > + When none of the items requested exist in the catalog, `catalogItems` must contain an empty array.
|
|
31
|
-
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout.
|
|
32
|
-
* > + Learn more about [implementing a Wix service plugin](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions). */
|
|
31
|
+
* > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout. */
|
|
33
32
|
getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
34
33
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces-ecommerce-v1-catalog-provider.public.js","sourceRoot":"","sources":["../../../../src/interfaces-ecommerce-v1-catalog-provider.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAMzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,8CAA8C,CAAC;AACpG,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAOjD,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,
|
|
1
|
+
{"version":3,"file":"interfaces-ecommerce-v1-catalog-provider.public.js","sourceRoot":"","sources":["../../../../src/interfaces-ecommerce-v1-catalog-provider.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAMzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,8CAA8C,CAAC;AACpG,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAOjD,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CA4BnD,cAAc,EAAE;IACjB;QACE,IAAI,EAAE,iBAAiB;QACvB,sBAAsB,EAAE,oBAAoB;QAC5C,eAAe,EAAE;YACf,MAAM,EAAE,CAAC,OAAY,EAAE,EAAE;gBACvB,MAAM,cAAc,GAAG,cAAc,CAAC,OAAO,EAAE;oBAC7C;wBACE,WAAW,EAAE,oCAAoC;wBACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;qBAC3C;oBACD;wBACE,WAAW,EAAE,4BAA4B;wBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;qBAC7C;oBACD;wBACE,WAAW,EAAE,4BAA4B;wBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,6CAA6C,EAAE,CAAC;qBACjE;oBACD;wBACE,WAAW,EAAE,oCAAoC;wBACjD,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,yEAAyE;6BAChF;4BACD,EAAE,IAAI,EAAE,mDAAmD,EAAE;yBAC9D;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,qCAAqC,CAAC,cAAc,CAAC,CAAC;YAC/D,CAAC;YACD,QAAQ,EAAE,CAAC,OAAY,EAAE,EAAE;gBACzB,MAAM,eAAe,GAAG,OAAO,CAAC;gBAEhC,OAAO,uCAAuC,CAAC,eAAe,CAAC,CAAC;YAClE,CAAC;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -48,16 +48,16 @@ export interface CatalogReference {
|
|
|
48
48
|
/**
|
|
49
49
|
* Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
50
50
|
*
|
|
51
|
-
* For products and variants from a Wix Stores catalog, learn more about
|
|
51
|
+
* For products and variants from a Wix Stores catalog, learn more about eCommerce integration ([SDK](https://dev.wix.com/docs/sdk/backend-modules/stores/catalog-v3/e-commerce-integration) | [REST](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration)).
|
|
52
52
|
*/
|
|
53
53
|
options?: Record<string, any> | null;
|
|
54
54
|
}
|
|
55
55
|
export declare enum WeightUnit {
|
|
56
|
-
/** Weight unit can't be classified
|
|
56
|
+
/** Weight unit can't be classified due to an error. */
|
|
57
57
|
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
58
|
-
/** Kilograms */
|
|
58
|
+
/** Kilograms. */
|
|
59
59
|
KG = "KG",
|
|
60
|
-
/** Pounds */
|
|
60
|
+
/** Pounds. */
|
|
61
61
|
LB = "LB"
|
|
62
62
|
}
|
|
63
63
|
/** Buyer Info */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export var WeightUnit;
|
|
2
2
|
(function (WeightUnit) {
|
|
3
|
-
/** Weight unit can't be classified
|
|
3
|
+
/** Weight unit can't be classified due to an error. */
|
|
4
4
|
WeightUnit["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
5
|
-
/** Kilograms */
|
|
5
|
+
/** Kilograms. */
|
|
6
6
|
WeightUnit["KG"] = "KG";
|
|
7
|
-
/** Pounds */
|
|
7
|
+
/** Pounds. */
|
|
8
8
|
WeightUnit["LB"] = "LB";
|
|
9
9
|
})(WeightUnit || (WeightUnit = {}));
|
|
10
10
|
export var ItemTypeItemType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../../src/service-plugins-types.ts"],"names":[],"mappings":"AAyDA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,uDAAuD;IACvD,iEAAmD,CAAA;IACnD,
|
|
1
|
+
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../../src/service-plugins-types.ts"],"names":[],"mappings":"AAyDA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,uDAAuD;IACvD,iEAAmD,CAAA;IACnD,iBAAiB;IACjB,uBAAS,CAAA;IACT,cAAc;IACd,uBAAS,CAAA;AACX,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AA6MD,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,KAAhB,gBAAgB,QAM3B;AAuED,MAAM,CAAN,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,KAAnB,mBAAmB,QAO9B;AA0DD,0CAA0C;AAC1C,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,KAArB,qBAAqB,QAMhC;AA4DD,MAAM,CAAN,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,6CAAiC,CAAA;IACjC,yCAA6B,CAAA;IAC7B,+CAAmC,CAAA;IACnC,yCAA6B,CAAA;IAC7B,6CAAiC,CAAA;AACnC,CAAC,EAPW,QAAQ,KAAR,QAAQ,QAOnB;AAED,uDAAuD;AACvD,MAAM,CAAN,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,wEAAwE;IACxE,gEAA2C,CAAA;IAC3C,sIAAsI;IACtI,kEAA6C,CAAA;IAC7C,6FAA6F;IAC7F,8CAAyB,CAAA;IACzB,4IAA4I;IAC5I,sDAAiC,CAAA;IACjC,uKAAuK;IACvK,8DAAyC,CAAA;AAC3C,CAAC,EAXW,iBAAiB,KAAjB,iBAAiB,QAW5B;AA4CD,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,yEAAmD,CAAA;IACnD,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACvB,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AA+MD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_catalog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.interfaces.ecommerce.v1.catalog_provider"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "5e76cd978d472eef24529e26d8e4171a2a824804af6c4030e31c4baf"
|
|
52
52
|
}
|