@wix/auto_sdk_stores_read-only-variants-v-3 1.0.11 → 1.0.13

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.
Files changed (36) hide show
  1. package/build/{index.d.ts → cjs/index.d.ts} +12 -4
  2. package/build/{internal → cjs}/index.js +12 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/{meta.js → cjs/meta.js} +10 -0
  5. package/build/cjs/meta.js.map +1 -0
  6. package/build/{index.d.mts → es/index.d.mts} +12 -4
  7. package/build/{index.mjs → es/index.mjs} +12 -0
  8. package/build/es/index.mjs.map +1 -0
  9. package/build/{meta.mjs → es/meta.mjs} +10 -0
  10. package/build/es/meta.mjs.map +1 -0
  11. package/build/es/package.json +3 -0
  12. package/build/internal/{index.d.ts → cjs/index.d.ts} +2 -2
  13. package/build/{index.js → internal/cjs/index.js} +12 -0
  14. package/build/internal/cjs/index.js.map +1 -0
  15. package/build/internal/{meta.d.ts → cjs/meta.d.ts} +1 -1
  16. package/build/internal/{meta.js → cjs/meta.js} +10 -0
  17. package/build/internal/cjs/meta.js.map +1 -0
  18. package/build/internal/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Co7RmbZM.d.ts → cjs/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DziyR5eD.d.ts} +12 -4
  19. package/build/internal/{index.d.mts → es/index.d.mts} +2 -2
  20. package/build/internal/{index.mjs → es/index.mjs} +12 -0
  21. package/build/internal/es/index.mjs.map +1 -0
  22. package/build/internal/{meta.d.mts → es/meta.d.mts} +1 -1
  23. package/build/internal/{meta.mjs → es/meta.mjs} +10 -0
  24. package/build/internal/es/meta.mjs.map +1 -0
  25. package/build/internal/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Co7RmbZM.d.mts → es/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DziyR5eD.d.mts} +12 -4
  26. package/package.json +10 -10
  27. package/build/index.js.map +0 -1
  28. package/build/index.mjs.map +0 -1
  29. package/build/internal/index.js.map +0 -1
  30. package/build/internal/index.mjs.map +0 -1
  31. package/build/internal/meta.js.map +0 -1
  32. package/build/internal/meta.mjs.map +0 -1
  33. package/build/meta.js.map +0 -1
  34. package/build/meta.mjs.map +0 -1
  35. /package/build/{meta.d.ts → cjs/meta.d.ts} +0 -0
  36. /package/build/{meta.d.mts → es/meta.d.mts} +0 -0
@@ -2874,6 +2874,10 @@ interface Decoration extends DecorationDataOneOf {
2874
2874
  spoilerData?: SpoilerData;
2875
2875
  /** Data for a strikethrough decoration. Defaults to `true`. */
2876
2876
  strikethroughData?: boolean | null;
2877
+ /** Data for a superscript decoration. Defaults to `true`. */
2878
+ superscriptData?: boolean | null;
2879
+ /** Data for a subscript decoration. Defaults to `true`. */
2880
+ subscriptData?: boolean | null;
2877
2881
  /** The type of decoration to apply. */
2878
2882
  type?: DecorationTypeWithLiterals;
2879
2883
  }
@@ -2899,6 +2903,10 @@ interface DecorationDataOneOf {
2899
2903
  spoilerData?: SpoilerData;
2900
2904
  /** Data for a strikethrough decoration. Defaults to `true`. */
2901
2905
  strikethroughData?: boolean | null;
2906
+ /** Data for a superscript decoration. Defaults to `true`. */
2907
+ superscriptData?: boolean | null;
2908
+ /** Data for a subscript decoration. Defaults to `true`. */
2909
+ subscriptData?: boolean | null;
2902
2910
  }
2903
2911
  declare enum DecorationType {
2904
2912
  BOLD = "BOLD",
@@ -2911,10 +2919,12 @@ declare enum DecorationType {
2911
2919
  COLOR = "COLOR",
2912
2920
  FONT_SIZE = "FONT_SIZE",
2913
2921
  EXTERNAL = "EXTERNAL",
2914
- STRIKETHROUGH = "STRIKETHROUGH"
2922
+ STRIKETHROUGH = "STRIKETHROUGH",
2923
+ SUPERSCRIPT = "SUPERSCRIPT",
2924
+ SUBSCRIPT = "SUBSCRIPT"
2915
2925
  }
2916
2926
  /** @enumType */
2917
- type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
2927
+ type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
2918
2928
  interface AnchorData {
2919
2929
  /** The target node's ID. */
2920
2930
  anchor?: string;
@@ -4091,13 +4101,11 @@ interface OptionChoiceNames {
4091
4101
  /**
4092
4102
  * Option name.
4093
4103
  * @minLength 1
4094
- * @maxLength 50
4095
4104
  */
4096
4105
  optionName?: string;
4097
4106
  /**
4098
4107
  * Choice name.
4099
4108
  * @minLength 1
4100
- * @maxLength 50
4101
4109
  */
4102
4110
  choiceName?: string;
4103
4111
  /** Render type. */
@@ -110,6 +110,16 @@ function resolveComWixStoresCatalogProductVariantsReaderApiV3ProductVariantsRead
110
110
  srcPath: "/product-variants-reader",
111
111
  destPath: ""
112
112
  }
113
+ ],
114
+ "www.wixapis.com": [
115
+ {
116
+ srcPath: "/stores/v3/products/query-variants",
117
+ destPath: "/v3/products/query-variants"
118
+ },
119
+ {
120
+ srcPath: "/stores/v3/products/search-variants",
121
+ destPath: "/v3/products/search-variants"
122
+ }
113
123
  ]
114
124
  };
115
125
  return (0, import_rest_modules.resolveUrl)(Object.assign(opts, { domainToMappings }));
@@ -616,6 +626,8 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
616
626
  DecorationType2["FONT_SIZE"] = "FONT_SIZE";
617
627
  DecorationType2["EXTERNAL"] = "EXTERNAL";
618
628
  DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
629
+ DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
630
+ DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
619
631
  return DecorationType2;
620
632
  })(DecorationType || {});
621
633
  var FontType = /* @__PURE__ */ ((FontType2) => {