@wix/auto_sdk_ecom_catalog 1.0.68 → 1.0.70

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.
@@ -322,6 +322,11 @@ interface ItemData {
322
322
  * @format GUID
323
323
  */
324
324
  upsellOptionsAppId?: string | null;
325
+ /**
326
+ * Resolved bundle details.
327
+ * @internal
328
+ */
329
+ bundleInfo?: BundleInfo;
325
330
  }
326
331
  interface ProductName {
327
332
  /**
@@ -362,7 +367,11 @@ declare enum ItemTypePreset {
362
367
  PHYSICAL = "PHYSICAL",
363
368
  DIGITAL = "DIGITAL",
364
369
  GIFT_CARD = "GIFT_CARD",
365
- SERVICE = "SERVICE"
370
+ SERVICE = "SERVICE",
371
+ /** @documentationMaturity preview
372
+ * @internal
373
+ */
374
+ BUNDLE = "BUNDLE"
366
375
  }
367
376
  interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
368
377
  /** Description line plain text value. */
@@ -902,6 +911,85 @@ declare enum ChargeType {
902
911
  /** The platform fee is absorbed by the merchant. */
903
912
  ABSORBED = "ABSORBED"
904
913
  }
914
+ /** Resolved bundle details. */
915
+ interface BundleInfo {
916
+ /**
917
+ * The items included in the bundle.
918
+ * @minSize 1
919
+ * @maxSize 10
920
+ */
921
+ items?: BundledItem[];
922
+ }
923
+ /** One item included in a bundle. */
924
+ interface BundledItem {
925
+ /** Catalog and item reference of the bundled item. */
926
+ catalogReference?: CatalogReference;
927
+ /**
928
+ * Number of units of this item in a single bundle.
929
+ * @min 1
930
+ * @max 100000
931
+ */
932
+ quantity?: number;
933
+ /**
934
+ * The item's own price for 1 unit outside the bundle, with catalog discounts applied.
935
+ * @decimalValue options { gte:0, lte:1000000000000000, maxScale:3 }
936
+ */
937
+ price?: string;
938
+ /** Item name. */
939
+ productName?: ProductName;
940
+ /** Item type. */
941
+ itemType?: ItemType;
942
+ /**
943
+ * The tax group ID associated with this item.
944
+ * @format GUID
945
+ */
946
+ taxGroupId?: string | null;
947
+ /**
948
+ * Description lines for displaying the item.
949
+ * @maxSize 20
950
+ */
951
+ descriptionLines?: DescriptionLine[];
952
+ /** Item image details. */
953
+ media?: string;
954
+ /** Physical properties of the item. */
955
+ physicalProperties?: PhysicalProperties;
956
+ /**
957
+ * ID of the fulfiller for this item.
958
+ * @internal
959
+ * @format GUID
960
+ */
961
+ fulfillerId?: string | null;
962
+ /**
963
+ * Digital file details.
964
+ * @internal
965
+ */
966
+ digitalFile?: SecuredMedia;
967
+ /**
968
+ * Additional ID for the item in the catalog.
969
+ * @minLength 1
970
+ * @maxLength 36
971
+ */
972
+ rootCatalogItemId?: string | null;
973
+ /**
974
+ * Delivery profile ID for the product.
975
+ * @format GUID
976
+ */
977
+ deliveryProfileId?: string | null;
978
+ /**
979
+ * Item payment policy that requires customer consent to complete purchase.
980
+ * @minLength 1
981
+ * @maxLength 2500
982
+ */
983
+ consentRequiredPaymentPolicy?: string | null;
984
+ /** Address to use for tax calculation purposes. */
985
+ taxableAddress?: TaxableAddress;
986
+ /**
987
+ * ID of the app managing the inventory.
988
+ * @internal
989
+ * @format GUID
990
+ */
991
+ inventoryAppId?: string | null;
992
+ }
905
993
  interface QueryCatalogItemsRequest {
906
994
  /**
907
995
  * A list of itemIDs to filter by. If exists, the result will only include the items with the IDs passed.
@@ -967,6 +1055,14 @@ interface BasicItem {
967
1055
  * @readonly
968
1056
  */
969
1057
  numericId?: string | null;
1058
+ /**
1059
+ * Purchase types the item supports.
1060
+ *
1061
+ * An empty list means the item's purchase types are unknown, not that the item supports none.
1062
+ * @internal
1063
+ * @maxSize 2
1064
+ */
1065
+ purchaseTypes?: PurchaseType[];
970
1066
  }
971
1067
  interface NumericPropertyRange {
972
1068
  /** Minimum value. */
@@ -974,6 +1070,13 @@ interface NumericPropertyRange {
974
1070
  /** Maximum value. */
975
1071
  maxValue?: number;
976
1072
  }
1073
+ /** A purchase type a catalog's items can be bought as. */
1074
+ declare enum PurchaseType {
1075
+ /** The item can be bought as a one-time purchase. */
1076
+ ONE_TIME = "ONE_TIME",
1077
+ /** The item can be purchased as a subscription. */
1078
+ SUBSCRIPTION = "SUBSCRIPTION"
1079
+ }
977
1080
  interface PagingMetadata {
978
1081
  /** Number of items returned in the response. */
979
1082
  count?: number | null;
@@ -1060,13 +1163,6 @@ interface SpecificItemsDiscountConfig {
1060
1163
  */
1061
1164
  name?: string | null;
1062
1165
  }
1063
- /** A purchase type a catalog's items can be bought as. */
1064
- declare enum PurchaseType {
1065
- /** The item can be bought as a one-time purchase. */
1066
- ONE_TIME = "ONE_TIME",
1067
- /** The item can be purchased as a subscription. */
1068
- SUBSCRIPTION = "SUBSCRIPTION"
1069
- }
1070
1166
  /**
1071
1167
  * this message is not directly used by any service,
1072
1168
  * it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.
@@ -1203,4 +1299,4 @@ declare const provideHandlers: ServicePluginDefinition<{
1203
1299
  getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
1204
1300
  }>;
1205
1301
 
1206
- export { type QueryCatalogItemsResponse as $, FileType as A, type BuyerInfo as B, type CatalogReferenceAndQuantity as C, type DescriptionLine as D, PaymentOptionType as E, type FreeTrialPeriod as F, type GetCatalogItemsRequest as G, type ServiceProperties as H, type Item as I, type PriceDescription as J, type TaxableAddress as K, type TaxableAddressTaxableAddressDataOneOf as L, TaxableAddressType as M, type Policy as N, type AdditionalFee as O, type ProductName as P, type TaxDetails as Q, type ModifierGroup as R, type Scope as S, type Title as T, type TranslatableString as U, type ItemModifier as V, WeightUnit as W, type PlatformFee as X, ChargeType as Y, type QueryCatalogItemsRequest as Z, type Paging as _, type CatalogReference as a, type BasicItem as a0, type NumericPropertyRange as a1, type PagingMetadata as a2, type CatalogSPIConfig as a3, type AllItemsDiscountConfig as a4, type SpecificItemsDiscountConfig as a5, PurchaseType as a6, type Context as a7, IdentityType as a8, type IdentificationData as a9, type IdentificationDataIdOneOf as aa, type GetCatalogItemsEnvelope as ab, type BuyerInfoIdOneOf as b, type GetCatalogItemsResponse as c, type ItemData as d, type ItemType as e, type ItemTypeItemTypeDataOneOf as f, ItemTypePreset as g, type DescriptionLineValueOneOf as h, type DescriptionLineDescriptionLineValueOneOf as i, type DescriptionLineName as j, type PlainTextValue as k, type Color as l, DescriptionLineType as m, type PhysicalProperties as n, type Dimensions as o, provideHandlers as p, DimensionsUnit as q, type Group as r, type SubscriptionOptionInfo as s, type SubscriptionSettings as t, SubscriptionFrequency as u, type BillingSettings as v, ProductPeriodAlignment as w, type CyclePriceOverride as x, type Description as y, type SecuredMedia as z };
1302
+ export { type QueryCatalogItemsRequest as $, FileType as A, type BuyerInfo as B, type CatalogReferenceAndQuantity as C, type DescriptionLine as D, PaymentOptionType as E, type FreeTrialPeriod as F, type GetCatalogItemsRequest as G, type ServiceProperties as H, type Item as I, type PriceDescription as J, type TaxableAddress as K, type TaxableAddressTaxableAddressDataOneOf as L, TaxableAddressType as M, type Policy as N, type AdditionalFee as O, type ProductName as P, type TaxDetails as Q, type ModifierGroup as R, type Scope as S, type Title as T, type TranslatableString as U, type ItemModifier as V, WeightUnit as W, type PlatformFee as X, ChargeType as Y, type BundleInfo as Z, type BundledItem as _, type CatalogReference as a, type Paging as a0, type QueryCatalogItemsResponse as a1, type BasicItem as a2, type NumericPropertyRange as a3, PurchaseType as a4, type PagingMetadata as a5, type CatalogSPIConfig as a6, type AllItemsDiscountConfig as a7, type SpecificItemsDiscountConfig as a8, type Context as a9, IdentityType as aa, type IdentificationData as ab, type IdentificationDataIdOneOf as ac, type GetCatalogItemsEnvelope as ad, type BuyerInfoIdOneOf as b, type GetCatalogItemsResponse as c, type ItemData as d, type ItemType as e, type ItemTypeItemTypeDataOneOf as f, ItemTypePreset as g, type DescriptionLineValueOneOf as h, type DescriptionLineDescriptionLineValueOneOf as i, type DescriptionLineName as j, type PlainTextValue as k, type Color as l, DescriptionLineType as m, type PhysicalProperties as n, type Dimensions as o, provideHandlers as p, DimensionsUnit as q, type Group as r, type SubscriptionOptionInfo as s, type SubscriptionSettings as t, SubscriptionFrequency as u, type BillingSettings as v, ProductPeriodAlignment as w, type CyclePriceOverride as x, type Description as y, type SecuredMedia as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_catalog",
3
- "version": "1.0.68",
3
+ "version": "1.0.70",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -44,5 +44,5 @@
44
44
  "fqdn": "wix.interfaces.ecommerce.v1.catalog_provider"
45
45
  }
46
46
  },
47
- "falconPackageHash": "7ea13269892534d0b407c6192d1043b4c138dff7e8b65b1fd2fb58f1"
47
+ "falconPackageHash": "41cd5819fd7b1274aa897457d36c06600306d2f477c333b425e7ecb8"
48
48
  }