@wix/himalaya-cli 0.2004.0 → 0.2006.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.
Files changed (485) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/provisioning-facts.d.ts +1 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
  19. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
  20. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
  21. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
  22. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
  23. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
  24. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
  25. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
  26. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
  27. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
  28. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
  29. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
  30. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
  31. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
  32. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
  33. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
  34. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
  35. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
  36. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
  37. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
  38. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
  39. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
  40. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
  41. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
  42. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
  43. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
  44. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
  45. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
  46. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
  47. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
  48. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
  49. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
  50. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
  51. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
  52. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
  53. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
  54. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
  55. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
  56. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
  57. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
  58. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
  59. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
  60. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
  61. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
  62. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
  63. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
  64. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
  65. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
  66. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
  67. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
  68. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
  69. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
  70. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
  71. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
  72. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
  73. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
  74. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
  75. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
  76. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
  77. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
  78. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
  79. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
  80. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
  81. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
  82. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
  83. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
  84. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
  85. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
  86. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
  87. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
  88. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
  89. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
  90. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
  91. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
  92. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
  93. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
  94. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
  95. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
  96. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
  97. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
  98. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
  99. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
  100. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
  101. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
  102. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
  103. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
  104. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
  105. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
  106. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
  107. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
  108. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
  109. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
  110. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
  111. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
  112. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
  113. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
  114. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
  115. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
  116. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
  117. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
  118. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
  119. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
  120. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
  121. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
  122. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
  123. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
  124. package/dist/cli.mjs +9 -10
  125. package/guides/importable-sdks.md +1 -0
  126. package/guides/sdk-reference.json +15672 -8927
  127. package/guides/wix-api-usage.md +28 -0
  128. package/package.json +2 -2
  129. package/templates/bare-fashion/tier5-src/_shared/open-web-link.ts +22 -0
  130. package/templates/bare-fashion/tier5-src/himi-branded-lite-info/index.ts +30 -19
  131. package/templates/beauty-salon/dev/index.ts +231 -139
  132. package/templates/beauty-salon/l10n/ar.json +6 -12
  133. package/templates/beauty-salon/l10n/cs.json +6 -12
  134. package/templates/beauty-salon/l10n/da.json +6 -12
  135. package/templates/beauty-salon/l10n/de.json +6 -12
  136. package/templates/beauty-salon/l10n/el.json +6 -12
  137. package/templates/beauty-salon/l10n/en.json +11 -18
  138. package/templates/beauty-salon/l10n/es.json +6 -12
  139. package/templates/beauty-salon/l10n/fi.json +6 -12
  140. package/templates/beauty-salon/l10n/fr.json +6 -12
  141. package/templates/beauty-salon/l10n/he.json +6 -10
  142. package/templates/beauty-salon/l10n/hu.json +6 -12
  143. package/templates/beauty-salon/l10n/id.json +6 -12
  144. package/templates/beauty-salon/l10n/it.json +6 -12
  145. package/templates/beauty-salon/l10n/ja.json +6 -12
  146. package/templates/beauty-salon/l10n/ko.json +6 -12
  147. package/templates/beauty-salon/l10n/lt.json +6 -12
  148. package/templates/beauty-salon/l10n/nl.json +6 -12
  149. package/templates/beauty-salon/l10n/no.json +6 -12
  150. package/templates/beauty-salon/l10n/pl.json +6 -12
  151. package/templates/beauty-salon/l10n/pt.json +6 -12
  152. package/templates/beauty-salon/l10n/ru.json +6 -12
  153. package/templates/beauty-salon/l10n/sv.json +6 -12
  154. package/templates/beauty-salon/l10n/th.json +6 -12
  155. package/templates/beauty-salon/l10n/tr.json +6 -12
  156. package/templates/beauty-salon/l10n/uk.json +6 -12
  157. package/templates/beauty-salon/l10n/vi.json +6 -12
  158. package/templates/beauty-salon/l10n/zh.json +6 -12
  159. package/templates/beauty-salon/tier5-src/_shared/open-web-link.ts +22 -0
  160. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +6 -0
  161. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +8 -0
  162. package/templates/beauty-salon/tier5-src/himi-branded-lite-info/index.ts +30 -19
  163. package/templates/branded-lite/dev/index.ts +229 -137
  164. package/templates/branded-lite/l10n/ar.json +0 -12
  165. package/templates/branded-lite/l10n/cs.json +0 -12
  166. package/templates/branded-lite/l10n/da.json +0 -12
  167. package/templates/branded-lite/l10n/de.json +0 -12
  168. package/templates/branded-lite/l10n/el.json +0 -12
  169. package/templates/branded-lite/l10n/en.json +4 -18
  170. package/templates/branded-lite/l10n/es.json +0 -12
  171. package/templates/branded-lite/l10n/fi.json +0 -12
  172. package/templates/branded-lite/l10n/fr.json +0 -12
  173. package/templates/branded-lite/l10n/he.json +0 -10
  174. package/templates/branded-lite/l10n/hu.json +0 -12
  175. package/templates/branded-lite/l10n/id.json +0 -12
  176. package/templates/branded-lite/l10n/it.json +0 -12
  177. package/templates/branded-lite/l10n/ja.json +0 -12
  178. package/templates/branded-lite/l10n/ko.json +0 -12
  179. package/templates/branded-lite/l10n/lt.json +0 -12
  180. package/templates/branded-lite/l10n/nl.json +0 -12
  181. package/templates/branded-lite/l10n/no.json +0 -12
  182. package/templates/branded-lite/l10n/pl.json +0 -12
  183. package/templates/branded-lite/l10n/pt.json +0 -12
  184. package/templates/branded-lite/l10n/ru.json +0 -12
  185. package/templates/branded-lite/l10n/sv.json +0 -12
  186. package/templates/branded-lite/l10n/th.json +0 -12
  187. package/templates/branded-lite/l10n/tr.json +0 -12
  188. package/templates/branded-lite/l10n/uk.json +0 -12
  189. package/templates/branded-lite/l10n/vi.json +0 -12
  190. package/templates/branded-lite/l10n/zh.json +0 -12
  191. package/templates/branded-lite/tier5-src/_shared/open-web-link.ts +22 -0
  192. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +6 -0
  193. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +8 -0
  194. package/templates/branded-lite/tier5-src/himi-branded-lite-info/index.ts +30 -19
  195. package/templates/community-club/dev/index.ts +229 -137
  196. package/templates/community-club/l10n/ar.json +6 -12
  197. package/templates/community-club/l10n/cs.json +6 -12
  198. package/templates/community-club/l10n/da.json +6 -12
  199. package/templates/community-club/l10n/de.json +6 -12
  200. package/templates/community-club/l10n/el.json +6 -12
  201. package/templates/community-club/l10n/en.json +11 -18
  202. package/templates/community-club/l10n/es.json +6 -12
  203. package/templates/community-club/l10n/fi.json +6 -12
  204. package/templates/community-club/l10n/fr.json +6 -12
  205. package/templates/community-club/l10n/he.json +6 -10
  206. package/templates/community-club/l10n/hu.json +6 -12
  207. package/templates/community-club/l10n/id.json +6 -12
  208. package/templates/community-club/l10n/it.json +6 -12
  209. package/templates/community-club/l10n/ja.json +6 -12
  210. package/templates/community-club/l10n/ko.json +6 -12
  211. package/templates/community-club/l10n/lt.json +6 -12
  212. package/templates/community-club/l10n/nl.json +6 -12
  213. package/templates/community-club/l10n/no.json +6 -12
  214. package/templates/community-club/l10n/pl.json +6 -12
  215. package/templates/community-club/l10n/pt.json +6 -12
  216. package/templates/community-club/l10n/ru.json +6 -12
  217. package/templates/community-club/l10n/sv.json +6 -12
  218. package/templates/community-club/l10n/th.json +6 -12
  219. package/templates/community-club/l10n/tr.json +6 -12
  220. package/templates/community-club/l10n/uk.json +6 -12
  221. package/templates/community-club/l10n/vi.json +6 -12
  222. package/templates/community-club/l10n/zh.json +6 -12
  223. package/templates/community-club/tier5-src/_shared/open-web-link.ts +22 -0
  224. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +8 -0
  225. package/templates/community-club/tier5-src/himi-branded-lite-info/index.ts +30 -19
  226. package/templates/events-meetups/dev/index.ts +229 -137
  227. package/templates/events-meetups/l10n/ar.json +6 -12
  228. package/templates/events-meetups/l10n/cs.json +6 -12
  229. package/templates/events-meetups/l10n/da.json +6 -12
  230. package/templates/events-meetups/l10n/de.json +6 -12
  231. package/templates/events-meetups/l10n/el.json +6 -12
  232. package/templates/events-meetups/l10n/en.json +11 -18
  233. package/templates/events-meetups/l10n/es.json +6 -12
  234. package/templates/events-meetups/l10n/fi.json +6 -12
  235. package/templates/events-meetups/l10n/fr.json +6 -12
  236. package/templates/events-meetups/l10n/he.json +6 -10
  237. package/templates/events-meetups/l10n/hu.json +6 -12
  238. package/templates/events-meetups/l10n/id.json +6 -12
  239. package/templates/events-meetups/l10n/it.json +6 -12
  240. package/templates/events-meetups/l10n/ja.json +6 -12
  241. package/templates/events-meetups/l10n/ko.json +6 -12
  242. package/templates/events-meetups/l10n/lt.json +6 -12
  243. package/templates/events-meetups/l10n/nl.json +6 -12
  244. package/templates/events-meetups/l10n/no.json +6 -12
  245. package/templates/events-meetups/l10n/pl.json +6 -12
  246. package/templates/events-meetups/l10n/pt.json +6 -12
  247. package/templates/events-meetups/l10n/ru.json +6 -12
  248. package/templates/events-meetups/l10n/sv.json +6 -12
  249. package/templates/events-meetups/l10n/th.json +6 -12
  250. package/templates/events-meetups/l10n/tr.json +6 -12
  251. package/templates/events-meetups/l10n/uk.json +6 -12
  252. package/templates/events-meetups/l10n/vi.json +6 -12
  253. package/templates/events-meetups/l10n/zh.json +6 -12
  254. package/templates/events-meetups/tier5-src/_shared/open-web-link.ts +22 -0
  255. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +8 -0
  256. package/templates/events-meetups/tier5-src/himi-branded-lite-info/index.ts +30 -19
  257. package/templates/fitness-gym/tier5-src/_shared/open-web-link.ts +22 -0
  258. package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +6 -0
  259. package/templates/gym-fitness/dev/index.ts +231 -139
  260. package/templates/gym-fitness/l10n/ar.json +6 -12
  261. package/templates/gym-fitness/l10n/cs.json +6 -12
  262. package/templates/gym-fitness/l10n/da.json +6 -12
  263. package/templates/gym-fitness/l10n/de.json +6 -12
  264. package/templates/gym-fitness/l10n/el.json +6 -12
  265. package/templates/gym-fitness/l10n/en.json +11 -18
  266. package/templates/gym-fitness/l10n/es.json +6 -12
  267. package/templates/gym-fitness/l10n/fi.json +6 -12
  268. package/templates/gym-fitness/l10n/fr.json +6 -12
  269. package/templates/gym-fitness/l10n/he.json +6 -10
  270. package/templates/gym-fitness/l10n/hu.json +6 -12
  271. package/templates/gym-fitness/l10n/id.json +6 -12
  272. package/templates/gym-fitness/l10n/it.json +6 -12
  273. package/templates/gym-fitness/l10n/ja.json +6 -12
  274. package/templates/gym-fitness/l10n/ko.json +6 -12
  275. package/templates/gym-fitness/l10n/lt.json +6 -12
  276. package/templates/gym-fitness/l10n/nl.json +6 -12
  277. package/templates/gym-fitness/l10n/no.json +6 -12
  278. package/templates/gym-fitness/l10n/pl.json +6 -12
  279. package/templates/gym-fitness/l10n/pt.json +6 -12
  280. package/templates/gym-fitness/l10n/ru.json +6 -12
  281. package/templates/gym-fitness/l10n/sv.json +6 -12
  282. package/templates/gym-fitness/l10n/th.json +6 -12
  283. package/templates/gym-fitness/l10n/tr.json +6 -12
  284. package/templates/gym-fitness/l10n/uk.json +6 -12
  285. package/templates/gym-fitness/l10n/vi.json +6 -12
  286. package/templates/gym-fitness/l10n/zh.json +6 -12
  287. package/templates/gym-fitness/tier5-src/_shared/open-web-link.ts +22 -0
  288. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +6 -0
  289. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +8 -0
  290. package/templates/gym-fitness/tier5-src/himi-branded-lite-info/index.ts +30 -19
  291. package/templates/medical-services/tier5-src/_shared/open-web-link.ts +22 -0
  292. package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +6 -0
  293. package/templates/nonprofit-cause/dev/index.ts +229 -137
  294. package/templates/nonprofit-cause/l10n/ar.json +6 -12
  295. package/templates/nonprofit-cause/l10n/cs.json +6 -12
  296. package/templates/nonprofit-cause/l10n/da.json +6 -12
  297. package/templates/nonprofit-cause/l10n/de.json +6 -12
  298. package/templates/nonprofit-cause/l10n/el.json +6 -12
  299. package/templates/nonprofit-cause/l10n/en.json +11 -18
  300. package/templates/nonprofit-cause/l10n/es.json +6 -12
  301. package/templates/nonprofit-cause/l10n/fi.json +6 -12
  302. package/templates/nonprofit-cause/l10n/fr.json +6 -12
  303. package/templates/nonprofit-cause/l10n/he.json +6 -10
  304. package/templates/nonprofit-cause/l10n/hu.json +6 -12
  305. package/templates/nonprofit-cause/l10n/id.json +6 -12
  306. package/templates/nonprofit-cause/l10n/it.json +6 -12
  307. package/templates/nonprofit-cause/l10n/ja.json +6 -12
  308. package/templates/nonprofit-cause/l10n/ko.json +6 -12
  309. package/templates/nonprofit-cause/l10n/lt.json +6 -12
  310. package/templates/nonprofit-cause/l10n/nl.json +6 -12
  311. package/templates/nonprofit-cause/l10n/no.json +6 -12
  312. package/templates/nonprofit-cause/l10n/pl.json +6 -12
  313. package/templates/nonprofit-cause/l10n/pt.json +6 -12
  314. package/templates/nonprofit-cause/l10n/ru.json +6 -12
  315. package/templates/nonprofit-cause/l10n/sv.json +6 -12
  316. package/templates/nonprofit-cause/l10n/th.json +6 -12
  317. package/templates/nonprofit-cause/l10n/tr.json +6 -12
  318. package/templates/nonprofit-cause/l10n/uk.json +6 -12
  319. package/templates/nonprofit-cause/l10n/vi.json +6 -12
  320. package/templates/nonprofit-cause/l10n/zh.json +6 -12
  321. package/templates/nonprofit-cause/tier5-src/_shared/open-web-link.ts +22 -0
  322. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +8 -0
  323. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-info/index.ts +30 -19
  324. package/templates/personal-fitness-trainer/tier5-src/_shared/open-web-link.ts +22 -0
  325. package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +6 -0
  326. package/templates/podcast-creator/dev/index.ts +229 -137
  327. package/templates/podcast-creator/l10n/ar.json +6 -12
  328. package/templates/podcast-creator/l10n/cs.json +6 -12
  329. package/templates/podcast-creator/l10n/da.json +6 -12
  330. package/templates/podcast-creator/l10n/de.json +6 -12
  331. package/templates/podcast-creator/l10n/el.json +6 -12
  332. package/templates/podcast-creator/l10n/en.json +11 -18
  333. package/templates/podcast-creator/l10n/es.json +6 -12
  334. package/templates/podcast-creator/l10n/fi.json +6 -12
  335. package/templates/podcast-creator/l10n/fr.json +6 -12
  336. package/templates/podcast-creator/l10n/he.json +6 -10
  337. package/templates/podcast-creator/l10n/hu.json +6 -12
  338. package/templates/podcast-creator/l10n/id.json +6 -12
  339. package/templates/podcast-creator/l10n/it.json +6 -12
  340. package/templates/podcast-creator/l10n/ja.json +6 -12
  341. package/templates/podcast-creator/l10n/ko.json +6 -12
  342. package/templates/podcast-creator/l10n/lt.json +6 -12
  343. package/templates/podcast-creator/l10n/nl.json +6 -12
  344. package/templates/podcast-creator/l10n/no.json +6 -12
  345. package/templates/podcast-creator/l10n/pl.json +6 -12
  346. package/templates/podcast-creator/l10n/pt.json +6 -12
  347. package/templates/podcast-creator/l10n/ru.json +6 -12
  348. package/templates/podcast-creator/l10n/sv.json +6 -12
  349. package/templates/podcast-creator/l10n/th.json +6 -12
  350. package/templates/podcast-creator/l10n/tr.json +6 -12
  351. package/templates/podcast-creator/l10n/uk.json +6 -12
  352. package/templates/podcast-creator/l10n/vi.json +6 -12
  353. package/templates/podcast-creator/l10n/zh.json +6 -12
  354. package/templates/podcast-creator/tier5-src/_shared/open-web-link.ts +22 -0
  355. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +8 -0
  356. package/templates/podcast-creator/tier5-src/himi-branded-lite-info/index.ts +30 -19
  357. package/templates/portfolio-creative/dev/index.ts +231 -139
  358. package/templates/portfolio-creative/l10n/ar.json +0 -12
  359. package/templates/portfolio-creative/l10n/cs.json +0 -12
  360. package/templates/portfolio-creative/l10n/da.json +0 -12
  361. package/templates/portfolio-creative/l10n/de.json +0 -12
  362. package/templates/portfolio-creative/l10n/el.json +0 -12
  363. package/templates/portfolio-creative/l10n/en.json +4 -18
  364. package/templates/portfolio-creative/l10n/es.json +0 -12
  365. package/templates/portfolio-creative/l10n/fi.json +0 -12
  366. package/templates/portfolio-creative/l10n/fr.json +0 -12
  367. package/templates/portfolio-creative/l10n/he.json +0 -10
  368. package/templates/portfolio-creative/l10n/hu.json +0 -12
  369. package/templates/portfolio-creative/l10n/id.json +0 -12
  370. package/templates/portfolio-creative/l10n/it.json +0 -12
  371. package/templates/portfolio-creative/l10n/ja.json +0 -12
  372. package/templates/portfolio-creative/l10n/ko.json +0 -12
  373. package/templates/portfolio-creative/l10n/lt.json +0 -12
  374. package/templates/portfolio-creative/l10n/nl.json +0 -12
  375. package/templates/portfolio-creative/l10n/no.json +0 -12
  376. package/templates/portfolio-creative/l10n/pl.json +0 -12
  377. package/templates/portfolio-creative/l10n/pt.json +0 -12
  378. package/templates/portfolio-creative/l10n/ru.json +0 -12
  379. package/templates/portfolio-creative/l10n/sv.json +0 -12
  380. package/templates/portfolio-creative/l10n/th.json +0 -12
  381. package/templates/portfolio-creative/l10n/tr.json +0 -12
  382. package/templates/portfolio-creative/l10n/uk.json +0 -12
  383. package/templates/portfolio-creative/l10n/vi.json +0 -12
  384. package/templates/portfolio-creative/l10n/zh.json +0 -12
  385. package/templates/portfolio-creative/tier5-src/_shared/open-web-link.ts +22 -0
  386. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +8 -0
  387. package/templates/portfolio-creative/tier5-src/himi-branded-lite-info/index.ts +30 -19
  388. package/templates/professional-services/tier5-src/_shared/open-web-link.ts +22 -0
  389. package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +6 -0
  390. package/templates/restaurant/dev/index.ts +229 -137
  391. package/templates/restaurant/l10n/ar.json +6 -12
  392. package/templates/restaurant/l10n/cs.json +6 -12
  393. package/templates/restaurant/l10n/da.json +6 -12
  394. package/templates/restaurant/l10n/de.json +6 -12
  395. package/templates/restaurant/l10n/el.json +6 -12
  396. package/templates/restaurant/l10n/en.json +11 -18
  397. package/templates/restaurant/l10n/es.json +6 -12
  398. package/templates/restaurant/l10n/fi.json +6 -12
  399. package/templates/restaurant/l10n/fr.json +6 -12
  400. package/templates/restaurant/l10n/he.json +6 -10
  401. package/templates/restaurant/l10n/hu.json +6 -12
  402. package/templates/restaurant/l10n/id.json +6 -12
  403. package/templates/restaurant/l10n/it.json +6 -12
  404. package/templates/restaurant/l10n/ja.json +6 -12
  405. package/templates/restaurant/l10n/ko.json +6 -12
  406. package/templates/restaurant/l10n/lt.json +6 -12
  407. package/templates/restaurant/l10n/nl.json +6 -12
  408. package/templates/restaurant/l10n/no.json +6 -12
  409. package/templates/restaurant/l10n/pl.json +6 -12
  410. package/templates/restaurant/l10n/pt.json +6 -12
  411. package/templates/restaurant/l10n/ru.json +6 -12
  412. package/templates/restaurant/l10n/sv.json +6 -12
  413. package/templates/restaurant/l10n/th.json +6 -12
  414. package/templates/restaurant/l10n/tr.json +6 -12
  415. package/templates/restaurant/l10n/uk.json +6 -12
  416. package/templates/restaurant/l10n/vi.json +6 -12
  417. package/templates/restaurant/l10n/zh.json +6 -12
  418. package/templates/restaurant/tier5-src/_shared/open-web-link.ts +22 -0
  419. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +8 -0
  420. package/templates/restaurant/tier5-src/himi-branded-lite-info/index.ts +30 -19
  421. package/templates/retail-store/dev/index.ts +229 -137
  422. package/templates/retail-store/l10n/ar.json +6 -12
  423. package/templates/retail-store/l10n/cs.json +6 -12
  424. package/templates/retail-store/l10n/da.json +6 -12
  425. package/templates/retail-store/l10n/de.json +6 -12
  426. package/templates/retail-store/l10n/el.json +6 -12
  427. package/templates/retail-store/l10n/en.json +11 -18
  428. package/templates/retail-store/l10n/es.json +6 -12
  429. package/templates/retail-store/l10n/fi.json +6 -12
  430. package/templates/retail-store/l10n/fr.json +6 -12
  431. package/templates/retail-store/l10n/he.json +6 -10
  432. package/templates/retail-store/l10n/hu.json +6 -12
  433. package/templates/retail-store/l10n/id.json +6 -12
  434. package/templates/retail-store/l10n/it.json +6 -12
  435. package/templates/retail-store/l10n/ja.json +6 -12
  436. package/templates/retail-store/l10n/ko.json +6 -12
  437. package/templates/retail-store/l10n/lt.json +6 -12
  438. package/templates/retail-store/l10n/nl.json +6 -12
  439. package/templates/retail-store/l10n/no.json +6 -12
  440. package/templates/retail-store/l10n/pl.json +6 -12
  441. package/templates/retail-store/l10n/pt.json +6 -12
  442. package/templates/retail-store/l10n/ru.json +6 -12
  443. package/templates/retail-store/l10n/sv.json +6 -12
  444. package/templates/retail-store/l10n/th.json +6 -12
  445. package/templates/retail-store/l10n/tr.json +6 -12
  446. package/templates/retail-store/l10n/uk.json +6 -12
  447. package/templates/retail-store/l10n/vi.json +6 -12
  448. package/templates/retail-store/l10n/zh.json +6 -12
  449. package/templates/retail-store/tier5-src/_shared/open-web-link.ts +22 -0
  450. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +8 -0
  451. package/templates/retail-store/tier5-src/himi-branded-lite-info/index.ts +30 -19
  452. package/templates/salon-spa/tier5-src/_shared/open-web-link.ts +22 -0
  453. package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +6 -0
  454. package/templates/yoga-studio/dev/index.ts +231 -139
  455. package/templates/yoga-studio/l10n/ar.json +6 -12
  456. package/templates/yoga-studio/l10n/cs.json +6 -12
  457. package/templates/yoga-studio/l10n/da.json +6 -12
  458. package/templates/yoga-studio/l10n/de.json +6 -12
  459. package/templates/yoga-studio/l10n/el.json +6 -12
  460. package/templates/yoga-studio/l10n/en.json +11 -18
  461. package/templates/yoga-studio/l10n/es.json +6 -12
  462. package/templates/yoga-studio/l10n/fi.json +6 -12
  463. package/templates/yoga-studio/l10n/fr.json +6 -12
  464. package/templates/yoga-studio/l10n/he.json +6 -10
  465. package/templates/yoga-studio/l10n/hu.json +6 -12
  466. package/templates/yoga-studio/l10n/id.json +6 -12
  467. package/templates/yoga-studio/l10n/it.json +6 -12
  468. package/templates/yoga-studio/l10n/ja.json +6 -12
  469. package/templates/yoga-studio/l10n/ko.json +6 -12
  470. package/templates/yoga-studio/l10n/lt.json +6 -12
  471. package/templates/yoga-studio/l10n/nl.json +6 -12
  472. package/templates/yoga-studio/l10n/no.json +6 -12
  473. package/templates/yoga-studio/l10n/pl.json +6 -12
  474. package/templates/yoga-studio/l10n/pt.json +6 -12
  475. package/templates/yoga-studio/l10n/ru.json +6 -12
  476. package/templates/yoga-studio/l10n/sv.json +6 -12
  477. package/templates/yoga-studio/l10n/th.json +6 -12
  478. package/templates/yoga-studio/l10n/tr.json +6 -12
  479. package/templates/yoga-studio/l10n/uk.json +6 -12
  480. package/templates/yoga-studio/l10n/vi.json +6 -12
  481. package/templates/yoga-studio/l10n/zh.json +6 -12
  482. package/templates/yoga-studio/tier5-src/_shared/open-web-link.ts +22 -0
  483. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +6 -0
  484. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +8 -0
  485. package/templates/yoga-studio/tier5-src/himi-branded-lite-info/index.ts +30 -19
@@ -1,3 +1,9 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
1
7
  // ../../stdlib/wix-sdk/stores-v1/src/catalog.ts
2
8
  var CATALOG_VERSION_KEY = "wix.stores.catalog-version.v1";
3
9
  var catalogStates = /* @__PURE__ */ new Map();
@@ -568,24 +574,24 @@ function resolveLocale(options) {
568
574
  return given;
569
575
  }
570
576
  function formatMoney(amount, currency, options) {
571
- const num = typeof amount === "number" ? amount : Number(amount);
572
- if (currency && Number.isFinite(num)) {
577
+ const num2 = typeof amount === "number" ? amount : Number(amount);
578
+ if (currency && Number.isFinite(num2)) {
573
579
  if (hasIntl()) {
574
580
  try {
575
- return new Intl.NumberFormat(resolveLocale(options), { style: "currency", currency, maximumFractionDigits: MAX_PRICE_DIGITS }).format(num);
581
+ return new Intl.NumberFormat(resolveLocale(options), { style: "currency", currency, maximumFractionDigits: MAX_PRICE_DIGITS }).format(num2);
576
582
  } catch {
577
583
  }
578
584
  } else {
579
585
  const code = currency.toUpperCase();
580
- if (/^[A-Z]{3}$/.test(code)) return fallbackMoney(num, code);
586
+ if (/^[A-Z]{3}$/.test(code)) return fallbackMoney(num2, code);
581
587
  }
582
588
  }
583
589
  const symbol = currency ? CURRENCY_SYMBOL[currency] ?? "" : "";
584
590
  return symbol ? `${symbol}${amount}` : `${amount}`;
585
591
  }
586
- function fallbackMoney(num, code) {
587
- const sign = num < 0 ? "-" : "";
588
- const abs = Math.abs(num);
592
+ function fallbackMoney(num2, code) {
593
+ const sign = num2 < 0 ? "-" : "";
594
+ const abs = Math.abs(num2);
589
595
  let body = roundHalfExpand(abs, MAX_PRICE_DIGITS).toFixed(MAX_PRICE_DIGITS);
590
596
  if (body.indexOf("e") >= 0 || body.indexOf("E") >= 0) {
591
597
  body = String(abs);
@@ -727,12 +733,17 @@ function resolveVariantId(product, selection) {
727
733
  }
728
734
  return "";
729
735
  }
730
- function cartOptionsPayload(product, options, selection) {
736
+ function cartOptionsPayload(product, options, selection, customText) {
731
737
  const p = product ?? {};
738
+ const text = Object.fromEntries(Object.entries(customText ?? {}).map(([k, v]) => [k, String(v ?? "").trim()]).filter(([, v]) => v));
739
+ const withText = (payload) => Object.keys(text).length ? { ...payload, customTextFields: text } : payload;
732
740
  if (isV3(p)) {
733
741
  const variantId = resolveVariantId(product, selection);
734
- if (variantId) return { variantId };
735
- if (options.length === 0) return void 0;
742
+ if (variantId) return withText({ variantId });
743
+ if (options.length === 0 && Object.keys(text).length === 0) return void 0;
744
+ if (options.length === 0) {
745
+ throw new Error("cartOptionsPayload: custom text needs the product's variant \u2014 read the product with its variantsInfo.");
746
+ }
736
747
  throw new Error(
737
748
  "cartOptionsPayload: no Catalog V3 variant matches the chosen options \u2014 check every option group has a choice (isSelectionComplete) and that the product was read with its variantsInfo."
738
749
  );
@@ -742,7 +753,105 @@ function cartOptionsPayload(product, options, selection) {
742
753
  const choice = selection[o.id];
743
754
  if (choice) picked[o.name] = choice;
744
755
  }
745
- return Object.keys(picked).length ? { options: picked } : void 0;
756
+ return withText(Object.keys(picked).length ? { options: picked } : void 0);
757
+ }
758
+
759
+ // ../../stdlib/wix-sdk/stores-v1/src/product-details.ts
760
+ var str2 = (v) => typeof v === "string" ? v : typeof v === "number" ? String(v) : "";
761
+ var num = (v) => typeof v === "number" && Number.isFinite(v) ? v : void 0;
762
+ var obj = (v) => v && typeof v === "object" ? v : {};
763
+ var arr = (v) => Array.isArray(v) ? v : [];
764
+ function productBrand(product) {
765
+ const b = product?.brand;
766
+ return typeof b === "string" ? b : str2(obj(b).name);
767
+ }
768
+ function productPricePerUnit(product, variantId) {
769
+ const p = obj(product);
770
+ if (variantId) {
771
+ const v = arr(obj(p.variantsInfo).variants).map(obj).find((x) => str2(x.id) === variantId);
772
+ const own = str2(obj(obj(obj(v).physicalProperties).pricePerUnit).description);
773
+ if (own) return own;
774
+ }
775
+ const range = obj(obj(p.physicalProperties).pricePerUnitRange);
776
+ const v3 = str2(obj(range.minValue).description);
777
+ if (v3) return v3;
778
+ for (const price of [p.price, p.priceData]) {
779
+ const v1 = str2(obj(obj(price).formatted).pricePerUnit);
780
+ if (v1) return v1;
781
+ }
782
+ return "";
783
+ }
784
+ function productCustomTextFields(product) {
785
+ const p = obj(product);
786
+ const out = [];
787
+ for (const raw of arr(p.modifiers)) {
788
+ const m = obj(raw);
789
+ if (str2(m.modifierRenderType) !== "FREE_TEXT") continue;
790
+ const s = obj(m.freeTextSettings);
791
+ const key = str2(s.key) || str2(s.title) || str2(m.name);
792
+ if (!key) continue;
793
+ const maxLength = num(s.maxCharCount);
794
+ const minLength = num(s.minCharCount);
795
+ out.push({
796
+ key,
797
+ title: str2(s.title) || str2(m.name) || key,
798
+ required: m.mandatory === true,
799
+ ...minLength ? { minLength } : {},
800
+ ...maxLength ? { maxLength } : {}
801
+ });
802
+ }
803
+ for (const raw of arr(p.customTextFields)) {
804
+ const f = obj(raw);
805
+ const title = str2(f.title);
806
+ if (!title) continue;
807
+ const maxLength = num(f.maxLength);
808
+ out.push({ key: title, title, required: f.mandatory === true, ...maxLength ? { maxLength } : {} });
809
+ }
810
+ return out;
811
+ }
812
+ function customTextProblems(fields, text = {}) {
813
+ const out = {};
814
+ for (const f of fields) {
815
+ const v = (text[f.key] ?? "").trim();
816
+ if (!v) {
817
+ if (f.required) out[f.key] = `${f.title} is required`;
818
+ continue;
819
+ }
820
+ if (f.maxLength && v.length > f.maxLength) out[f.key] = `${f.title} is at most ${f.maxLength} characters`;
821
+ else if (f.minLength && v.length < f.minLength) out[f.key] = `${f.title} is at least ${f.minLength} characters`;
822
+ }
823
+ return out;
824
+ }
825
+ function videoFiles(item) {
826
+ const video = obj(item.video);
827
+ return [...arr(video.resolutions), ...arr(video.files)].map(obj).map((f) => ({ url: str2(f.url), width: num(f.width), height: num(f.height), format: str2(f.format) })).filter((f) => f.url && (!f.format || f.format === "mp4"));
828
+ }
829
+ function productMedia(product, size = WIX_LIST_IMAGE, maxVideoHeight = 720) {
830
+ const media = obj(obj(product).media);
831
+ const items = [...arr(media.items), ...arr(obj(media.itemsInfo).items)];
832
+ const out = [];
833
+ const seen = /* @__PURE__ */ new Set();
834
+ for (const raw of items) {
835
+ const item = typeof raw === "string" ? { url: raw } : obj(raw);
836
+ const files = videoFiles(item);
837
+ if (files.length || str2(item.mediaType).toLowerCase() === "video") {
838
+ const fit = files.filter((f) => !f.height || f.height <= maxVideoHeight).sort((a, b) => (b.height ?? 0) - (a.height ?? 0));
839
+ const best = fit[0] ?? [...files].sort((a, b) => (a.height ?? 0) - (b.height ?? 0))[0];
840
+ if (!best || seen.has(best.url)) continue;
841
+ seen.add(best.url);
842
+ const poster = str2(obj(arr(obj(item.video).posters)[0]).url) || str2(obj(item.thumbnail).url);
843
+ out.push({ type: "video", url: best.url, posterUrl: poster ? wixMediaUrl(poster, size) : "", width: best.width, height: best.height });
844
+ continue;
845
+ }
846
+ const image = item.image;
847
+ const raw0 = typeof image === "string" ? image : str2(obj(image).url) || str2(item.url);
848
+ const url = wixMediaUrl(raw0, size);
849
+ if (url && !seen.has(url)) {
850
+ seen.add(url);
851
+ out.push({ type: "image", url });
852
+ }
853
+ }
854
+ return out;
746
855
  }
747
856
 
748
857
  // ../../stdlib/wix-sdk/stores-v1/src/extensions.ts
@@ -869,12 +978,905 @@ function addProductMedia(productId, opts) {
869
978
  opts
870
979
  );
871
980
  }
981
+
982
+ // ../../stdlib/wix-sdk-auto/stores/brandsV3.generated.ts
983
+ var brandsV3_generated_exports = {};
984
+ __export(brandsV3_generated_exports, {
985
+ bulkCreateBrands: () => bulkCreateBrands,
986
+ bulkDeleteBrands: () => bulkDeleteBrands,
987
+ bulkGetOrCreateBrands: () => bulkGetOrCreateBrands,
988
+ bulkUpdateBrands: () => bulkUpdateBrands,
989
+ countBrands: () => countBrands,
990
+ createBrand: () => createBrand,
991
+ deleteBrand: () => deleteBrand,
992
+ getBrand: () => getBrand,
993
+ getOrCreateBrand: () => getOrCreateBrand,
994
+ queryBrands: () => queryBrands,
995
+ updateBrand: () => updateBrand
996
+ });
997
+
998
+ // ../../stdlib/wix-sdk-auto/_shared/runtime.generated.ts
999
+ function wixQueryPath(path, req) {
1000
+ const parts = [];
1001
+ const pair = (key, value) => {
1002
+ parts.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
1003
+ };
1004
+ const add = (key, value) => {
1005
+ if (value === void 0 || value === null) return;
1006
+ if (Array.isArray(value)) {
1007
+ for (const item of value) {
1008
+ if (item === void 0 || item === null || typeof item === "object") continue;
1009
+ pair(key, item);
1010
+ }
1011
+ return;
1012
+ }
1013
+ if (typeof value === "object") {
1014
+ for (const [k, v] of Object.entries(value)) add(`${key}.${k}`, v);
1015
+ return;
1016
+ }
1017
+ pair(key, value);
1018
+ };
1019
+ for (const [key, value] of Object.entries(req ?? {})) add(key, value);
1020
+ return parts.length > 0 ? `${path}?${parts.join("&")}` : path;
1021
+ }
1022
+ function readField(req, field) {
1023
+ let value = req;
1024
+ for (const key of field.split(".")) {
1025
+ if (value === null || typeof value !== "object") return void 0;
1026
+ value = value[key];
1027
+ }
1028
+ return value;
1029
+ }
1030
+ function restFieldMasks(req) {
1031
+ if (req === null || typeof req !== "object") return req;
1032
+ if (Array.isArray(req)) {
1033
+ let changed = false;
1034
+ const items = req.map((item) => {
1035
+ const next = restFieldMasks(item);
1036
+ if (next !== item) changed = true;
1037
+ return next;
1038
+ });
1039
+ return changed ? items : req;
1040
+ }
1041
+ let out;
1042
+ for (const [key, value] of Object.entries(req)) {
1043
+ let next = value;
1044
+ if ((key === "fieldMask" || key === "mask") && Array.isArray(value) && value.every((v) => typeof v === "string")) next = value.join(",");
1045
+ else if (value !== null && typeof value === "object") next = restFieldMasks(value);
1046
+ if (next !== value) (out ?? (out = { ...req }))[key] = next;
1047
+ }
1048
+ return out ?? req;
1049
+ }
1050
+ function withoutFields(req, fields) {
1051
+ if (fields.length === 0 || req === null || typeof req !== "object") return req;
1052
+ const out = { ...req };
1053
+ for (const field of fields) {
1054
+ const dot = field.indexOf(".");
1055
+ const head = dot < 0 ? field : field.slice(0, dot);
1056
+ if (!(head in out)) continue;
1057
+ if (dot < 0) delete out[head];
1058
+ else out[head] = withoutFields(out[head], [field.slice(dot + 1)]);
1059
+ }
1060
+ return out;
1061
+ }
1062
+ function wixCall2(verb, template, req, opts, route = {}) {
1063
+ return send(verb, template, req, opts, route, false);
1064
+ }
1065
+ function send(verb, template, req, opts, route, queue) {
1066
+ const api = globalThis.himalaya?.wixApi;
1067
+ if (!api) return Promise.reject(new Error("@himalaya/wix-*: host did not install the wixApi bridge"));
1068
+ const fields = route.pathFields ?? [];
1069
+ let path;
1070
+ try {
1071
+ let i = 0;
1072
+ path = template.replace(/\{[^}]+\}/g, () => {
1073
+ const field = fields[i++];
1074
+ const value = field === void 0 ? void 0 : readField(req, field);
1075
+ if (value === void 0 || value === null || value === "") {
1076
+ throw new Error(`${verb} ${template}: request field ${field ?? "(unmapped)"} is required`);
1077
+ }
1078
+ return encodeURIComponent(String(value));
1079
+ });
1080
+ } catch (err) {
1081
+ return Promise.reject(err);
1082
+ }
1083
+ const site = opts?.site?.trim();
1084
+ const headers = site ? { "wix-site-id": site } : void 0;
1085
+ const wire = restFieldMasks(req);
1086
+ const target = route.query ? wixQueryPath(path, withoutFields(wire, fields)) : path;
1087
+ const body = route.query ? void 0 : wire;
1088
+ const readShaped = verb === "GET" || verb === "HEAD" || verb === "POST" && /\/(query|query-cursor|search|list|count)(?:\?|$)/i.test(target.split("#")[0]);
1089
+ if (readShaped && (opts?.cache || opts?.onCacheResult)) {
1090
+ if (!api.read) return Promise.reject(new Error("READ_LIFECYCLE_UNSUPPORTED: update the Himalaya runtime"));
1091
+ return api.read(verb, target, body, headers, { cache: opts.cache ?? "default" }).then((result) => {
1092
+ opts.onCacheResult?.(result.cache);
1093
+ return result.data;
1094
+ });
1095
+ }
1096
+ if (opts?.cache === "only-if-cached") return Promise.reject(new Error("OFFLINE_CACHE_MISS"));
1097
+ if (!queue) return api.call(verb, target, body, headers);
1098
+ if (!api.offline) return api.call(verb, target, body, headers).then((value) => ({ status: "sent", value }));
1099
+ return api.call(verb, target, body, headers, { offline: "queue" });
1100
+ }
1101
+
1102
+ // ../../stdlib/wix-sdk-auto/stores/brandsV3.generated.ts
1103
+ function bulkCreateBrands(req = {}, opts) {
1104
+ return wixCall2("POST", "/stores/v3/bulk/brands/create", req, opts);
1105
+ }
1106
+ function bulkDeleteBrands(req = {}, opts) {
1107
+ return wixCall2("POST", "/stores/v3/bulk/brands/delete", req, opts);
1108
+ }
1109
+ function bulkGetOrCreateBrands(req = {}, opts) {
1110
+ return wixCall2("POST", "/stores/v3/bulk/brands/get-or-create", req, opts);
1111
+ }
1112
+ function bulkUpdateBrands(req = {}, opts) {
1113
+ return wixCall2("POST", "/stores/v3/bulk/brands/update", req, opts);
1114
+ }
1115
+ function countBrands(req = {}, opts) {
1116
+ return wixCall2("POST", "/stores/v3/brands/count", req, opts);
1117
+ }
1118
+ function createBrand(req = {}, opts) {
1119
+ return wixCall2("POST", "/stores/v3/brands", req, opts);
1120
+ }
1121
+ function deleteBrand(req, opts) {
1122
+ return wixCall2("DELETE", "/stores/v3/brands/{brandId}", req, opts, { pathFields: ["brandId"], query: true });
1123
+ }
1124
+ function getBrand(req, opts) {
1125
+ return wixCall2("GET", "/stores/v3/brands/{brandId}", req, opts, { pathFields: ["brandId"], query: true });
1126
+ }
1127
+ function getOrCreateBrand(req = {}, opts) {
1128
+ return wixCall2("POST", "/stores/v3/brands/get-or-create", req, opts);
1129
+ }
1130
+ function queryBrands(req = {}, opts) {
1131
+ return wixCall2("POST", "/stores/v3/brands/query", req, opts);
1132
+ }
1133
+ function updateBrand(req, opts) {
1134
+ return wixCall2("PATCH", "/stores/v3/brands/{brandId}", req, opts, { pathFields: ["brand.id"] });
1135
+ }
1136
+
1137
+ // ../../stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.ts
1138
+ var catalogImportsV3_generated_exports = {};
1139
+ __export(catalogImportsV3_generated_exports, {
1140
+ addProductsToImport: () => addProductsToImport,
1141
+ createCatalogImport: () => createCatalogImport,
1142
+ submitCatalogImport: () => submitCatalogImport
1143
+ });
1144
+ function addProductsToImport(req, opts) {
1145
+ return wixCall2("POST", "/stores/v3/catalog-imports/{catalogImportId}/add-products", req, opts, { pathFields: ["catalogImportId"] });
1146
+ }
1147
+ function createCatalogImport(req = {}, opts) {
1148
+ return wixCall2("POST", "/stores/v3/catalog-imports", req, opts);
1149
+ }
1150
+ function submitCatalogImport(req, opts) {
1151
+ return wixCall2("POST", "/stores/v3/catalog-imports/{catalogImportId}/submit", req, opts, { pathFields: ["catalogImportId"] });
1152
+ }
1153
+
1154
+ // ../../stdlib/wix-sdk-auto/stores/catalogVersioning.generated.ts
1155
+ var catalogVersioning_generated_exports = {};
1156
+ __export(catalogVersioning_generated_exports, {
1157
+ getCatalogVersion: () => getCatalogVersion
1158
+ });
1159
+ function getCatalogVersion(req = {}, opts) {
1160
+ return wixCall2("GET", "/stores/v3/provision/version", req, opts, { query: true });
1161
+ }
1162
+
1163
+ // ../../stdlib/wix-sdk-auto/stores/collections.generated.ts
1164
+ var collections_generated_exports = {};
1165
+ __export(collections_generated_exports, {
1166
+ queryCollections: () => queryCollections
1167
+ });
1168
+ function queryCollections(req = {}, opts) {
1169
+ return wixCall2("POST", "/stores-reader/v2/collections/query", req, opts);
1170
+ }
1171
+
1172
+ // ../../stdlib/wix-sdk-auto/stores/customizationsV3.generated.ts
1173
+ var customizationsV3_generated_exports = {};
1174
+ __export(customizationsV3_generated_exports, {
1175
+ addCustomizationChoices: () => addCustomizationChoices,
1176
+ bulkAddCustomizationChoices: () => bulkAddCustomizationChoices,
1177
+ bulkCreateCustomizations: () => bulkCreateCustomizations,
1178
+ bulkUpdateCustomizations: () => bulkUpdateCustomizations,
1179
+ countCustomizations: () => countCustomizations,
1180
+ createCustomization: () => createCustomization,
1181
+ deleteCustomization: () => deleteCustomization,
1182
+ getCustomization: () => getCustomization,
1183
+ queryCustomizations: () => queryCustomizations,
1184
+ removeCustomizationChoices: () => removeCustomizationChoices,
1185
+ reorderCustomizationChoices: () => reorderCustomizationChoices,
1186
+ setCustomizationChoices: () => setCustomizationChoices,
1187
+ updateCustomization: () => updateCustomization,
1188
+ updateCustomizationChoices: () => updateCustomizationChoices
1189
+ });
1190
+ function addCustomizationChoices(req, opts) {
1191
+ return wixCall2("POST", "/stores/v3/customizations/{customizationId}/add-choices", req, opts, { pathFields: ["customizationId"] });
1192
+ }
1193
+ function bulkAddCustomizationChoices(req = {}, opts) {
1194
+ return wixCall2("POST", "/stores/v3/bulk/customizations/add-choices", req, opts);
1195
+ }
1196
+ function bulkCreateCustomizations(req = {}, opts) {
1197
+ return wixCall2("POST", "/stores/v3/bulk/customizations/create", req, opts);
1198
+ }
1199
+ function bulkUpdateCustomizations(req = {}, opts) {
1200
+ return wixCall2("POST", "/stores/v3/bulk/customizations/update", req, opts);
1201
+ }
1202
+ function countCustomizations(req = {}, opts) {
1203
+ return wixCall2("POST", "/stores/v3/customizations/count", req, opts);
1204
+ }
1205
+ function createCustomization(req = {}, opts) {
1206
+ return wixCall2("POST", "/stores/v3/customizations", req, opts);
1207
+ }
1208
+ function deleteCustomization(req, opts) {
1209
+ return wixCall2("DELETE", "/stores/v3/customizations/{customizationId}", req, opts, { pathFields: ["customizationId"], query: true });
1210
+ }
1211
+ function getCustomization(req, opts) {
1212
+ return wixCall2("GET", "/stores/v3/customizations/{customizationId}", req, opts, { pathFields: ["customizationId"], query: true });
1213
+ }
1214
+ function queryCustomizations(req = {}, opts) {
1215
+ return wixCall2("POST", "/stores/v3/customizations/query", req, opts);
1216
+ }
1217
+ function removeCustomizationChoices(req, opts) {
1218
+ return wixCall2("POST", "/stores/v3/customizations/{customizationId}/remove-choices", req, opts, { pathFields: ["customizationId"] });
1219
+ }
1220
+ function reorderCustomizationChoices(req, opts) {
1221
+ return wixCall2("POST", "/stores/v3/customizations/{customizationId}/reorder-choices", req, opts, { pathFields: ["customizationId"] });
1222
+ }
1223
+ function setCustomizationChoices(req, opts) {
1224
+ return wixCall2("POST", "/stores/v3/customizations/{customizationId}/set-choices", req, opts, { pathFields: ["customizationId"] });
1225
+ }
1226
+ function updateCustomization(req, opts) {
1227
+ return wixCall2("PATCH", "/stores/v3/customizations/{customizationId}", req, opts, { pathFields: ["customization.id"] });
1228
+ }
1229
+ function updateCustomizationChoices(req, opts) {
1230
+ return wixCall2("POST", "/stores/v3/customizations/{customizationId}/update-choices", req, opts, { pathFields: ["customizationId"] });
1231
+ }
1232
+
1233
+ // ../../stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.ts
1234
+ var infoSectionsV3_generated_exports = {};
1235
+ __export(infoSectionsV3_generated_exports, {
1236
+ bulkCreateInfoSections: () => bulkCreateInfoSections,
1237
+ bulkDeleteInfoSections: () => bulkDeleteInfoSections,
1238
+ bulkGetOrCreateInfoSections: () => bulkGetOrCreateInfoSections,
1239
+ bulkUpdateInfoSections: () => bulkUpdateInfoSections,
1240
+ countInfoSections: () => countInfoSections,
1241
+ createInfoSection: () => createInfoSection,
1242
+ deleteInfoSection: () => deleteInfoSection,
1243
+ getInfoSection: () => getInfoSection,
1244
+ getOrCreateInfoSection: () => getOrCreateInfoSection,
1245
+ queryInfoSections: () => queryInfoSections,
1246
+ updateInfoSection: () => updateInfoSection
1247
+ });
1248
+ function bulkCreateInfoSections(req = {}, opts) {
1249
+ return wixCall2("POST", "/stores/v3/bulk/info-sections/create", req, opts);
1250
+ }
1251
+ function bulkDeleteInfoSections(req = {}, opts) {
1252
+ return wixCall2("POST", "/stores/v3/bulk/info-sections/delete", req, opts);
1253
+ }
1254
+ function bulkGetOrCreateInfoSections(req = {}, opts) {
1255
+ return wixCall2("POST", "/stores/v3/bulk/info-sections/get-or-create", req, opts);
1256
+ }
1257
+ function bulkUpdateInfoSections(req = {}, opts) {
1258
+ return wixCall2("POST", "/stores/v3/bulk/info-sections/update", req, opts);
1259
+ }
1260
+ function countInfoSections(req = {}, opts) {
1261
+ return wixCall2("POST", "/stores/v3/info-sections/count", req, opts);
1262
+ }
1263
+ function createInfoSection(req = {}, opts) {
1264
+ return wixCall2("POST", "/stores/v3/info-sections", req, opts);
1265
+ }
1266
+ function deleteInfoSection(req, opts) {
1267
+ return wixCall2("DELETE", "/stores/v3/info-sections/{infoSectionId}", req, opts, { pathFields: ["infoSectionId"], query: true });
1268
+ }
1269
+ function getInfoSection(req, opts) {
1270
+ return wixCall2("GET", "/stores/v3/info-sections/{infoSectionId}", req, opts, { pathFields: ["infoSectionId"], query: true });
1271
+ }
1272
+ function getOrCreateInfoSection(req = {}, opts) {
1273
+ return wixCall2("POST", "/stores/v3/info-sections/get-or-create", req, opts);
1274
+ }
1275
+ function queryInfoSections(req = {}, opts) {
1276
+ return wixCall2("POST", "/stores/v3/info-sections/query", req, opts);
1277
+ }
1278
+ function updateInfoSection(req, opts) {
1279
+ return wixCall2("PATCH", "/stores/v3/info-sections/{infoSectionId}", req, opts, { pathFields: ["infoSection.id"] });
1280
+ }
1281
+
1282
+ // ../../stdlib/wix-sdk-auto/stores/inventory.generated.ts
1283
+ var inventory_generated_exports = {};
1284
+ __export(inventory_generated_exports, {
1285
+ decrementInventory: () => decrementInventory,
1286
+ getInventoryVariants: () => getInventoryVariants,
1287
+ incrementInventory: () => incrementInventory,
1288
+ queryInventory: () => queryInventory2,
1289
+ updateInventoryVariants: () => updateInventoryVariants
1290
+ });
1291
+ function decrementInventory(req = {}, opts) {
1292
+ return wixCall2("POST", "/stores/v2/inventoryItems/decrement", req, opts);
1293
+ }
1294
+ function getInventoryVariants(req, opts) {
1295
+ return wixCall2("POST", "/stores-reader/v2/inventoryItems/{inventoryId}/getVariants", req, opts, { pathFields: ["inventoryId"] });
1296
+ }
1297
+ function incrementInventory(req = {}, opts) {
1298
+ return wixCall2("POST", "/stores/v2/inventoryItems/increment", req, opts);
1299
+ }
1300
+ function queryInventory2(req = {}, opts) {
1301
+ return wixCall2("POST", "/stores-reader/v2/inventoryItems/query", req, opts);
1302
+ }
1303
+ function updateInventoryVariants(req, opts) {
1304
+ return wixCall2("PATCH", "/stores/v2/inventoryItems/product/{inventoryItemProductId}", req, opts, { pathFields: ["inventoryItem.productId"] });
1305
+ }
1306
+
1307
+ // ../../stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.ts
1308
+ var inventoryItemsV3_generated_exports = {};
1309
+ __export(inventoryItemsV3_generated_exports, {
1310
+ bulkAdjustInventoryItemsByFilter: () => bulkAdjustInventoryItemsByFilter,
1311
+ bulkCreateInventoryItems: () => bulkCreateInventoryItems,
1312
+ bulkCreateInventoryItemsByVariantFilter: () => bulkCreateInventoryItemsByVariantFilter,
1313
+ bulkDecrementInventoryItems: () => bulkDecrementInventoryItems,
1314
+ bulkDecrementInventoryItemsByVariantAndLocation: () => bulkDecrementInventoryItemsByVariantAndLocation,
1315
+ bulkDeleteInventoryItems: () => bulkDeleteInventoryItems,
1316
+ bulkDeleteInventoryItemsByFilter: () => bulkDeleteInventoryItemsByFilter,
1317
+ bulkIncrementInventoryItems: () => bulkIncrementInventoryItems,
1318
+ bulkIncrementInventoryItemsByVariantAndLocation: () => bulkIncrementInventoryItemsByVariantAndLocation,
1319
+ bulkSetOrAdjustInventoryItemsByFilter: () => bulkSetOrAdjustInventoryItemsByFilter,
1320
+ bulkUpdateInventoryItems: () => bulkUpdateInventoryItems,
1321
+ bulkUpdateInventoryItemsByFilter: () => bulkUpdateInventoryItemsByFilter,
1322
+ bulkUpsertInventoryItems: () => bulkUpsertInventoryItems,
1323
+ countInventoryItems: () => countInventoryItems,
1324
+ createInventoryItem: () => createInventoryItem,
1325
+ deleteInventoryItem: () => deleteInventoryItem,
1326
+ getInventoryItem: () => getInventoryItem,
1327
+ queryInventoryItems: () => queryInventoryItems,
1328
+ searchInventoryItems: () => searchInventoryItems,
1329
+ updateInventoryItem: () => updateInventoryItem
1330
+ });
1331
+ function bulkAdjustInventoryItemsByFilter(req = {}, opts) {
1332
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/adjust-by-filter", req, opts);
1333
+ }
1334
+ function bulkCreateInventoryItems(req = {}, opts) {
1335
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/create", req, opts);
1336
+ }
1337
+ function bulkCreateInventoryItemsByVariantFilter(req = {}, opts) {
1338
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/create-by-variant-filter", req, opts);
1339
+ }
1340
+ function bulkDecrementInventoryItems(req = {}, opts) {
1341
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/decrement", req, opts);
1342
+ }
1343
+ function bulkDecrementInventoryItemsByVariantAndLocation(req = {}, opts) {
1344
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/decrement-by-variant-and-location", req, opts);
1345
+ }
1346
+ function bulkDeleteInventoryItems(req = {}, opts) {
1347
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/delete", req, opts);
1348
+ }
1349
+ function bulkDeleteInventoryItemsByFilter(req = {}, opts) {
1350
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/delete-by-filter", req, opts);
1351
+ }
1352
+ function bulkIncrementInventoryItems(req = {}, opts) {
1353
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/increment", req, opts);
1354
+ }
1355
+ function bulkIncrementInventoryItemsByVariantAndLocation(req = {}, opts) {
1356
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/increment-by-variant-and-location", req, opts);
1357
+ }
1358
+ function bulkSetOrAdjustInventoryItemsByFilter(req = {}, opts) {
1359
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/set-or-adjust-by-filter", req, opts);
1360
+ }
1361
+ function bulkUpdateInventoryItems(req = {}, opts) {
1362
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/update", req, opts);
1363
+ }
1364
+ function bulkUpdateInventoryItemsByFilter(req = {}, opts) {
1365
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/update-by-filter", req, opts);
1366
+ }
1367
+ function bulkUpsertInventoryItems(req = {}, opts) {
1368
+ return wixCall2("POST", "/stores/v3/bulk/inventory-items/upsert", req, opts);
1369
+ }
1370
+ function countInventoryItems(req = {}, opts) {
1371
+ return wixCall2("POST", "/stores/v3/inventory-items/count", req, opts);
1372
+ }
1373
+ function createInventoryItem(req = {}, opts) {
1374
+ return wixCall2("POST", "/stores/v3/inventory-items", req, opts);
1375
+ }
1376
+ function deleteInventoryItem(req, opts) {
1377
+ return wixCall2("DELETE", "/stores/v3/inventory-items/{inventoryItemId}", req, opts, { pathFields: ["inventoryItemId"], query: true });
1378
+ }
1379
+ function getInventoryItem(req, opts) {
1380
+ return wixCall2("GET", "/stores/v3/inventory-items/{inventoryItemId}", req, opts, { pathFields: ["inventoryItemId"], query: true });
1381
+ }
1382
+ function queryInventoryItems(req = {}, opts) {
1383
+ return wixCall2("POST", "/stores/v3/inventory-items/query", req, opts);
1384
+ }
1385
+ function searchInventoryItems(req = {}, opts) {
1386
+ return wixCall2("POST", "/stores/v3/inventory-items/search", req, opts);
1387
+ }
1388
+ function updateInventoryItem(req, opts) {
1389
+ return wixCall2("PATCH", "/stores/v3/inventory-items/{inventoryItemId}", req, opts, { pathFields: ["inventoryItem.id"] });
1390
+ }
1391
+
1392
+ // ../../stdlib/wix-sdk-auto/stores/productGroupsV3.generated.ts
1393
+ var productGroupsV3_generated_exports = {};
1394
+ __export(productGroupsV3_generated_exports, {
1395
+ assignProductsToProductGroup: () => assignProductsToProductGroup,
1396
+ bulkCreateProductGroups: () => bulkCreateProductGroups,
1397
+ bulkDeleteProductGroups: () => bulkDeleteProductGroups,
1398
+ bulkUpdateProductGroupTags: () => bulkUpdateProductGroupTags,
1399
+ bulkUpdateProductGroupTagsByFilter: () => bulkUpdateProductGroupTagsByFilter,
1400
+ bulkUpdateProductGroups: () => bulkUpdateProductGroups,
1401
+ createProductGroup: () => createProductGroup,
1402
+ deleteProductGroup: () => deleteProductGroup,
1403
+ getProductGroup: () => getProductGroup,
1404
+ queryProductGroups: () => queryProductGroups,
1405
+ searchProductGroups: () => searchProductGroups,
1406
+ unassignProductsFromProductGroup: () => unassignProductsFromProductGroup,
1407
+ updateProductGroup: () => updateProductGroup
1408
+ });
1409
+ function assignProductsToProductGroup(req = {}, opts) {
1410
+ return wixCall2("POST", "/stores/v3/product-groups/assign-products", req, opts);
1411
+ }
1412
+ function bulkCreateProductGroups(req = {}, opts) {
1413
+ return wixCall2("POST", "/stores/v3/bulk/product-groups/create", req, opts);
1414
+ }
1415
+ function bulkDeleteProductGroups(req = {}, opts) {
1416
+ return wixCall2("POST", "/stores/v3/bulk/product-groups/delete", req, opts);
1417
+ }
1418
+ function bulkUpdateProductGroupTags(req = {}, opts) {
1419
+ return wixCall2("POST", "/stores/v3/bulk/product-groups/update-tags", req, opts);
1420
+ }
1421
+ function bulkUpdateProductGroupTagsByFilter(req = {}, opts) {
1422
+ return wixCall2("POST", "/stores/v3/bulk/product-groups/update-tags-by-filter", req, opts);
1423
+ }
1424
+ function bulkUpdateProductGroups(req = {}, opts) {
1425
+ return wixCall2("POST", "/stores/v3/bulk/product-groups/update", req, opts);
1426
+ }
1427
+ function createProductGroup(req = {}, opts) {
1428
+ return wixCall2("POST", "/stores/v3/product-groups", req, opts);
1429
+ }
1430
+ function deleteProductGroup(req, opts) {
1431
+ return wixCall2("DELETE", "/stores/v3/product-groups/{productGroupId}", req, opts, { pathFields: ["productGroupId"], query: true });
1432
+ }
1433
+ function getProductGroup(req, opts) {
1434
+ return wixCall2("GET", "/stores/v3/product-groups/{productGroupId}", req, opts, { pathFields: ["productGroupId"], query: true });
1435
+ }
1436
+ function queryProductGroups(req = {}, opts) {
1437
+ return wixCall2("POST", "/stores/v3/product-groups/query", req, opts);
1438
+ }
1439
+ function searchProductGroups(req = {}, opts) {
1440
+ return wixCall2("POST", "/stores/v3/product-groups/search", req, opts);
1441
+ }
1442
+ function unassignProductsFromProductGroup(req = {}, opts) {
1443
+ return wixCall2("POST", "/stores/v3/product-groups/unassign-products", req, opts);
1444
+ }
1445
+ function updateProductGroup(req, opts) {
1446
+ return wixCall2("PATCH", "/stores/v3/product-groups/{productGroupId}", req, opts, { pathFields: ["productGroup.id"] });
1447
+ }
1448
+
1449
+ // ../../stdlib/wix-sdk-auto/stores/products.generated.ts
1450
+ var products_generated_exports = {};
1451
+ __export(products_generated_exports, {
1452
+ addProductMedia: () => addProductMedia2,
1453
+ addProductMediaToChoices: () => addProductMediaToChoices,
1454
+ addProductsToCollection: () => addProductsToCollection,
1455
+ bulkAdjustProductProperty: () => bulkAdjustProductProperty,
1456
+ bulkUpdateProductsProperty: () => bulkUpdateProductsProperty,
1457
+ createCollection: () => createCollection,
1458
+ createProduct: () => createProduct2,
1459
+ deleteCollection: () => deleteCollection,
1460
+ deleteProduct: () => deleteProduct2,
1461
+ deleteProductOptions: () => deleteProductOptions,
1462
+ getCollectionBySlug: () => getCollectionBySlug,
1463
+ getProduct: () => getProduct2,
1464
+ getProductOptionsAvailability: () => getProductOptionsAvailability,
1465
+ getStoreVariant: () => getStoreVariant,
1466
+ queryProductVariants: () => queryProductVariants,
1467
+ queryProducts: () => queryProducts2,
1468
+ queryStoreVariants: () => queryStoreVariants,
1469
+ removeBrand: () => removeBrand,
1470
+ removeProductMedia: () => removeProductMedia,
1471
+ removeProductMediaFromChoices: () => removeProductMediaFromChoices,
1472
+ removeProductsFromCollection: () => removeProductsFromCollection,
1473
+ removeRibbon: () => removeRibbon,
1474
+ resetAllProductVariantData: () => resetAllProductVariantData,
1475
+ updateCollection: () => updateCollection,
1476
+ updateProduct: () => updateProduct2,
1477
+ updateProductVariants: () => updateProductVariants
1478
+ });
1479
+ function addProductMedia2(req, opts) {
1480
+ return wixCall2("POST", "/stores/v1/products/{id}/media", req, opts, { pathFields: ["id"] });
1481
+ }
1482
+ function addProductMediaToChoices(req, opts) {
1483
+ return wixCall2("PATCH", "/stores/v1/products/{id}/choices/media", req, opts, { pathFields: ["id"] });
1484
+ }
1485
+ function addProductsToCollection(req, opts) {
1486
+ return wixCall2("POST", "/stores/v1/collections/{id}/productIds", req, opts, { pathFields: ["id"] });
1487
+ }
1488
+ function bulkAdjustProductProperty(req = {}, opts) {
1489
+ return wixCall2("POST", "/stores/v1/bulk/products/adjust-properties", req, opts);
1490
+ }
1491
+ function bulkUpdateProductsProperty(req = {}, opts) {
1492
+ return wixCall2("POST", "/stores/v1/bulk/products/update", req, opts);
1493
+ }
1494
+ function createCollection(req = {}, opts) {
1495
+ return wixCall2("POST", "/stores/v1/collections", req, opts);
1496
+ }
1497
+ function createProduct2(req = {}, opts) {
1498
+ return wixCall2("POST", "/stores/v1/products", req, opts);
1499
+ }
1500
+ function deleteCollection(req, opts) {
1501
+ return wixCall2("DELETE", "/stores/v1/collections/{id}", req, opts, { pathFields: ["id"], query: true });
1502
+ }
1503
+ function deleteProduct2(req, opts) {
1504
+ return wixCall2("DELETE", "/stores/v1/products/{id}", req, opts, { pathFields: ["id"], query: true });
1505
+ }
1506
+ function deleteProductOptions(req, opts) {
1507
+ return wixCall2("DELETE", "/stores/v1/products/{id}/options", req, opts, { pathFields: ["id"], query: true });
1508
+ }
1509
+ function getCollectionBySlug(req, opts) {
1510
+ return wixCall2("GET", "/stores-reader/v1/collections/slug/{slug}", req, opts, { pathFields: ["slug"], query: true });
1511
+ }
1512
+ function getProduct2(req, opts) {
1513
+ return wixCall2("GET", "/stores-reader/v1/products/{id}", req, opts, { pathFields: ["id"], query: true });
1514
+ }
1515
+ function getProductOptionsAvailability(req, opts) {
1516
+ return wixCall2("POST", "/stores-reader/v1/products/{id}/productOptionsAvailability", req, opts, { pathFields: ["id"] });
1517
+ }
1518
+ function getStoreVariant(req, opts) {
1519
+ return wixCall2("GET", "/stores-reader/v1/variants/{id}", req, opts, { pathFields: ["id"], query: true });
1520
+ }
1521
+ function queryProductVariants(req, opts) {
1522
+ return wixCall2("POST", "/stores-reader/v1/products/{id}/variants/query", req, opts, { pathFields: ["id"] });
1523
+ }
1524
+ function queryProducts2(req = {}, opts) {
1525
+ return wixCall2("GET", "/stores-reader/v1/products/query-platformized", req, opts, { query: true });
1526
+ }
1527
+ function queryStoreVariants(req = {}, opts) {
1528
+ return wixCall2("POST", "/stores-reader/v1/variants/query", req, opts);
1529
+ }
1530
+ function removeBrand(req, opts) {
1531
+ return wixCall2("POST", "/stores/v1/products/{id}/remove-brand", req, opts, { pathFields: ["id"] });
1532
+ }
1533
+ function removeProductMedia(req, opts) {
1534
+ return wixCall2("POST", "/stores/v1/products/{id}/media/delete", req, opts, { pathFields: ["id"] });
1535
+ }
1536
+ function removeProductMediaFromChoices(req, opts) {
1537
+ return wixCall2("POST", "/stores/v1/products/{id}/choices/media/delete", req, opts, { pathFields: ["id"] });
1538
+ }
1539
+ function removeProductsFromCollection(req, opts) {
1540
+ return wixCall2("POST", "/stores/v1/collections/{id}/productIds/delete", req, opts, { pathFields: ["id"] });
1541
+ }
1542
+ function removeRibbon(req, opts) {
1543
+ return wixCall2("POST", "/stores/v1/products/{id}/remove-ribbon", req, opts, { pathFields: ["id"] });
1544
+ }
1545
+ function resetAllProductVariantData(req, opts) {
1546
+ return wixCall2("POST", "/stores/v1/products/{id}/variants/resetToDefault", req, opts, { pathFields: ["id"] });
1547
+ }
1548
+ function updateCollection(req, opts) {
1549
+ return wixCall2("PATCH", "/stores/v1/collections/{collectionId}", req, opts, { pathFields: ["collection.id"] });
1550
+ }
1551
+ function updateProduct2(req, opts) {
1552
+ return wixCall2("PATCH", "/stores/v1/products/{productId}", req, opts, { pathFields: ["product.id"] });
1553
+ }
1554
+ function updateProductVariants(req, opts) {
1555
+ return wixCall2("PATCH", "/stores/v1/products/{id}/variants", req, opts, { pathFields: ["id"] });
1556
+ }
1557
+
1558
+ // ../../stdlib/wix-sdk-auto/stores/productsV3.generated.ts
1559
+ var productsV3_generated_exports = {};
1560
+ __export(productsV3_generated_exports, {
1561
+ bulkAddInfoSectionsToProducts: () => bulkAddInfoSectionsToProducts,
1562
+ bulkAddInfoSectionsToProductsByFilter: () => bulkAddInfoSectionsToProductsByFilter,
1563
+ bulkAddProductsToCategoriesByFilter: () => bulkAddProductsToCategoriesByFilter,
1564
+ bulkAdjustProductVariantsByFilter: () => bulkAdjustProductVariantsByFilter,
1565
+ bulkCreateProducts: () => bulkCreateProducts,
1566
+ bulkCreateProductsWithInventory: () => bulkCreateProductsWithInventory,
1567
+ bulkDeleteProducts: () => bulkDeleteProducts,
1568
+ bulkDeleteProductsByFilter: () => bulkDeleteProductsByFilter,
1569
+ bulkRemoveInfoSectionsFromProducts: () => bulkRemoveInfoSectionsFromProducts,
1570
+ bulkRemoveInfoSectionsFromProductsByFilter: () => bulkRemoveInfoSectionsFromProductsByFilter,
1571
+ bulkRemoveProductsFromCategoriesByFilter: () => bulkRemoveProductsFromCategoriesByFilter,
1572
+ bulkUpdateProductTags: () => bulkUpdateProductTags,
1573
+ bulkUpdateProductTagsByFilter: () => bulkUpdateProductTagsByFilter,
1574
+ bulkUpdateProductVariantsByFilter: () => bulkUpdateProductVariantsByFilter,
1575
+ bulkUpdateProducts: () => bulkUpdateProducts,
1576
+ bulkUpdateProductsByFilter: () => bulkUpdateProductsByFilter,
1577
+ bulkUpdateProductsWithInventory: () => bulkUpdateProductsWithInventory,
1578
+ countProducts: () => countProducts,
1579
+ createProduct: () => createProduct3,
1580
+ createProductWithInventory: () => createProductWithInventory,
1581
+ deleteProduct: () => deleteProduct3,
1582
+ getAllProductsCategory: () => getAllProductsCategory,
1583
+ getProduct: () => getProduct3,
1584
+ getProductBySlug: () => getProductBySlug,
1585
+ queryProducts: () => queryProducts3,
1586
+ searchProducts: () => searchProducts,
1587
+ updateProduct: () => updateProduct3,
1588
+ updateProductWithInventory: () => updateProductWithInventory
1589
+ });
1590
+ function bulkAddInfoSectionsToProducts(req = {}, opts) {
1591
+ return wixCall2("POST", "/stores/v3/bulk/products/add-info-sections", req, opts);
1592
+ }
1593
+ function bulkAddInfoSectionsToProductsByFilter(req = {}, opts) {
1594
+ return wixCall2("POST", "/stores/v3/bulk/products/add-info-sections-by-filter", req, opts);
1595
+ }
1596
+ function bulkAddProductsToCategoriesByFilter(req = {}, opts) {
1597
+ return wixCall2("POST", "/stores/v3/bulk/products/add-to-categories-by-filter", req, opts);
1598
+ }
1599
+ function bulkAdjustProductVariantsByFilter(req = {}, opts) {
1600
+ return wixCall2("POST", "/stores/v3/bulk/products/adjust-variants-by-filter", req, opts);
1601
+ }
1602
+ function bulkCreateProducts(req = {}, opts) {
1603
+ return wixCall2("POST", "/stores/v3/bulk/products/create", req, opts);
1604
+ }
1605
+ function bulkCreateProductsWithInventory(req = {}, opts) {
1606
+ return wixCall2("POST", "/stores/v3/bulk/products-with-inventory/create", req, opts);
1607
+ }
1608
+ function bulkDeleteProducts(req = {}, opts) {
1609
+ return wixCall2("POST", "/stores/v3/bulk/products/delete", req, opts);
1610
+ }
1611
+ function bulkDeleteProductsByFilter(req = {}, opts) {
1612
+ return wixCall2("POST", "/stores/v3/bulk/products/delete-by-filter", req, opts);
1613
+ }
1614
+ function bulkRemoveInfoSectionsFromProducts(req = {}, opts) {
1615
+ return wixCall2("POST", "/stores/v3/bulk/products/remove-info-sections", req, opts);
1616
+ }
1617
+ function bulkRemoveInfoSectionsFromProductsByFilter(req = {}, opts) {
1618
+ return wixCall2("POST", "/stores/v3/bulk/products/remove-info-sections-by-filter", req, opts);
1619
+ }
1620
+ function bulkRemoveProductsFromCategoriesByFilter(req = {}, opts) {
1621
+ return wixCall2("POST", "/stores/v3/bulk/products/remove-from-categories-by-filter", req, opts);
1622
+ }
1623
+ function bulkUpdateProductTags(req = {}, opts) {
1624
+ return wixCall2("POST", "/stores/v3/bulk/products/update-tags", req, opts);
1625
+ }
1626
+ function bulkUpdateProductTagsByFilter(req = {}, opts) {
1627
+ return wixCall2("POST", "/stores/v3/bulk/products/update-tags-by-filter", req, opts);
1628
+ }
1629
+ function bulkUpdateProductVariantsByFilter(req = {}, opts) {
1630
+ return wixCall2("POST", "/stores/v3/bulk/products/update-variants-by-filter", req, opts);
1631
+ }
1632
+ function bulkUpdateProducts(req = {}, opts) {
1633
+ return wixCall2("POST", "/stores/v3/bulk/products/update", req, opts);
1634
+ }
1635
+ function bulkUpdateProductsByFilter(req = {}, opts) {
1636
+ return wixCall2("POST", "/stores/v3/bulk/products/update-by-filter", req, opts);
1637
+ }
1638
+ function bulkUpdateProductsWithInventory(req = {}, opts) {
1639
+ return wixCall2("POST", "/stores/v3/bulk/products-with-inventory/update", req, opts);
1640
+ }
1641
+ function countProducts(req = {}, opts) {
1642
+ return wixCall2("POST", "/stores/v3/products/count", req, opts);
1643
+ }
1644
+ function createProduct3(req = {}, opts) {
1645
+ return wixCall2("POST", "/stores/v3/products", req, opts);
1646
+ }
1647
+ function createProductWithInventory(req = {}, opts) {
1648
+ return wixCall2("POST", "/stores/v3/products-with-inventory", req, opts);
1649
+ }
1650
+ function deleteProduct3(req, opts) {
1651
+ return wixCall2("DELETE", "/stores/v3/products/{productId}", req, opts, { pathFields: ["productId"], query: true });
1652
+ }
1653
+ function getAllProductsCategory(req = {}, opts) {
1654
+ return wixCall2("GET", "/stores/v3/all-products-category", req, opts, { query: true });
1655
+ }
1656
+ function getProduct3(req, opts) {
1657
+ return wixCall2("GET", "/stores/v3/products/{productId}", req, opts, { pathFields: ["productId"], query: true });
1658
+ }
1659
+ function getProductBySlug(req, opts) {
1660
+ return wixCall2("GET", "/stores/v3/products/slug/{slug}", req, opts, { pathFields: ["slug"], query: true });
1661
+ }
1662
+ function queryProducts3(req = {}, opts) {
1663
+ return wixCall2("POST", "/stores/v3/products/query", req, opts);
1664
+ }
1665
+ function searchProducts(req = {}, opts) {
1666
+ return wixCall2("POST", "/stores/v3/products/search", req, opts);
1667
+ }
1668
+ function updateProduct3(req, opts) {
1669
+ return wixCall2("PATCH", "/stores/v3/products/{productId}", req, opts, { pathFields: ["product.id"] });
1670
+ }
1671
+ function updateProductWithInventory(req, opts) {
1672
+ return wixCall2("PATCH", "/stores/v3/products-with-inventory/{productId}", req, opts, { pathFields: ["product.id"] });
1673
+ }
1674
+
1675
+ // ../../stdlib/wix-sdk-auto/stores/promotionsV3.generated.ts
1676
+ var promotionsV3_generated_exports = {};
1677
+ __export(promotionsV3_generated_exports, {
1678
+ bulkCreatePromotions: () => bulkCreatePromotions,
1679
+ bulkDeletePromotions: () => bulkDeletePromotions,
1680
+ bulkUpdatePromotionTags: () => bulkUpdatePromotionTags,
1681
+ bulkUpdatePromotionTagsByFilter: () => bulkUpdatePromotionTagsByFilter,
1682
+ bulkUpdatePromotions: () => bulkUpdatePromotions,
1683
+ createPromotion: () => createPromotion,
1684
+ deletePromotion: () => deletePromotion,
1685
+ getPromotion: () => getPromotion,
1686
+ queryPromotions: () => queryPromotions,
1687
+ resolvePromotions: () => resolvePromotions,
1688
+ searchPromotions: () => searchPromotions,
1689
+ updatePromotion: () => updatePromotion
1690
+ });
1691
+ function bulkCreatePromotions(req = {}, opts) {
1692
+ return wixCall2("POST", "/stores/v3/bulk/promotions/create", req, opts);
1693
+ }
1694
+ function bulkDeletePromotions(req = {}, opts) {
1695
+ return wixCall2("POST", "/stores/v3/bulk/promotions/delete", req, opts);
1696
+ }
1697
+ function bulkUpdatePromotionTags(req = {}, opts) {
1698
+ return wixCall2("POST", "/stores/v3/bulk/promotions/update-tags", req, opts);
1699
+ }
1700
+ function bulkUpdatePromotionTagsByFilter(req = {}, opts) {
1701
+ return wixCall2("POST", "/stores/v3/bulk/promotions/update-tags-by-filter", req, opts);
1702
+ }
1703
+ function bulkUpdatePromotions(req = {}, opts) {
1704
+ return wixCall2("POST", "/stores/v3/bulk/promotions/update", req, opts);
1705
+ }
1706
+ function createPromotion(req = {}, opts) {
1707
+ return wixCall2("POST", "/stores/v3/promotions", req, opts);
1708
+ }
1709
+ function deletePromotion(req, opts) {
1710
+ return wixCall2("DELETE", "/stores/v3/promotions/{promotionId}", req, opts, { pathFields: ["promotionId"], query: true });
1711
+ }
1712
+ function getPromotion(req, opts) {
1713
+ return wixCall2("GET", "/stores/v3/promotions/{promotionId}", req, opts, { pathFields: ["promotionId"], query: true });
1714
+ }
1715
+ function queryPromotions(req = {}, opts) {
1716
+ return wixCall2("POST", "/stores/v3/promotions/query", req, opts);
1717
+ }
1718
+ function resolvePromotions(req = {}, opts) {
1719
+ return wixCall2("GET", "/stores/v3/promotions/resolve", req, opts, { query: true });
1720
+ }
1721
+ function searchPromotions(req = {}, opts) {
1722
+ return wixCall2("POST", "/stores/v3/promotions/search", req, opts);
1723
+ }
1724
+ function updatePromotion(req, opts) {
1725
+ return wixCall2("PATCH", "/stores/v3/promotions/{promotionId}", req, opts, { pathFields: ["promotion.id"] });
1726
+ }
1727
+
1728
+ // ../../stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.ts
1729
+ var readOnlyVariantsV3_generated_exports = {};
1730
+ __export(readOnlyVariantsV3_generated_exports, {
1731
+ queryVariants: () => queryVariants,
1732
+ searchVariants: () => searchVariants
1733
+ });
1734
+ function queryVariants(req = {}, opts) {
1735
+ return wixCall2("POST", "/stores/v3/products/query-variants", req, opts);
1736
+ }
1737
+ function searchVariants(req = {}, opts) {
1738
+ return wixCall2("POST", "/stores/v3/products/search-variants", req, opts);
1739
+ }
1740
+
1741
+ // ../../stdlib/wix-sdk-auto/stores/ribbonsV3.generated.ts
1742
+ var ribbonsV3_generated_exports = {};
1743
+ __export(ribbonsV3_generated_exports, {
1744
+ bulkCreateRibbons: () => bulkCreateRibbons,
1745
+ bulkDeleteRibbons: () => bulkDeleteRibbons,
1746
+ bulkGetOrCreateRibbons: () => bulkGetOrCreateRibbons,
1747
+ bulkUpdateRibbons: () => bulkUpdateRibbons,
1748
+ countRibbons: () => countRibbons,
1749
+ createRibbon: () => createRibbon,
1750
+ deleteRibbon: () => deleteRibbon,
1751
+ getOrCreateRibbon: () => getOrCreateRibbon,
1752
+ getRibbon: () => getRibbon,
1753
+ queryRibbons: () => queryRibbons,
1754
+ updateRibbon: () => updateRibbon
1755
+ });
1756
+ function bulkCreateRibbons(req = {}, opts) {
1757
+ return wixCall2("POST", "/stores/v3/bulk/ribbons/create", req, opts);
1758
+ }
1759
+ function bulkDeleteRibbons(req = {}, opts) {
1760
+ return wixCall2("POST", "/stores/v3/bulk/ribbons/delete", req, opts);
1761
+ }
1762
+ function bulkGetOrCreateRibbons(req = {}, opts) {
1763
+ return wixCall2("POST", "/stores/v3/bulk/ribbons/get-or-create", req, opts);
1764
+ }
1765
+ function bulkUpdateRibbons(req = {}, opts) {
1766
+ return wixCall2("POST", "/stores/v3/bulk/ribbons/update", req, opts);
1767
+ }
1768
+ function countRibbons(req = {}, opts) {
1769
+ return wixCall2("POST", "/stores/v3/ribbons/count", req, opts);
1770
+ }
1771
+ function createRibbon(req = {}, opts) {
1772
+ return wixCall2("POST", "/stores/v3/ribbons", req, opts);
1773
+ }
1774
+ function deleteRibbon(req, opts) {
1775
+ return wixCall2("DELETE", "/stores/v3/ribbons/{ribbonId}", req, opts, { pathFields: ["ribbonId"], query: true });
1776
+ }
1777
+ function getOrCreateRibbon(req = {}, opts) {
1778
+ return wixCall2("POST", "/stores/v3/ribbons/get-or-create", req, opts);
1779
+ }
1780
+ function getRibbon(req, opts) {
1781
+ return wixCall2("GET", "/stores/v3/ribbons/{ribbonId}", req, opts, { pathFields: ["ribbonId"], query: true });
1782
+ }
1783
+ function queryRibbons(req = {}, opts) {
1784
+ return wixCall2("POST", "/stores/v3/ribbons/query", req, opts);
1785
+ }
1786
+ function updateRibbon(req, opts) {
1787
+ return wixCall2("PATCH", "/stores/v3/ribbons/{ribbonId}", req, opts, { pathFields: ["ribbon.id"] });
1788
+ }
1789
+
1790
+ // ../../stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.ts
1791
+ var storesLocationsV3_generated_exports = {};
1792
+ __export(storesLocationsV3_generated_exports, {
1793
+ getDefaultStoresLocation: () => getDefaultStoresLocation,
1794
+ getStoresLocation: () => getStoresLocation,
1795
+ queryStoresLocations: () => queryStoresLocations
1796
+ });
1797
+ function getDefaultStoresLocation(req = {}, opts) {
1798
+ return wixCall2("GET", "/stores/v3/locations/default", req, opts, { query: true });
1799
+ }
1800
+ function getStoresLocation(req, opts) {
1801
+ return wixCall2("GET", "/stores/v3/locations/{storesLocationId}", req, opts, { pathFields: ["storesLocationId"], query: true });
1802
+ }
1803
+ function queryStoresLocations(req = {}, opts) {
1804
+ return wixCall2("POST", "/stores/v3/locations/query", req, opts);
1805
+ }
1806
+
1807
+ // ../../stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.ts
1808
+ var subscriptionOptions_generated_exports = {};
1809
+ __export(subscriptionOptions_generated_exports, {
1810
+ allowOneTimePurchases: () => allowOneTimePurchases,
1811
+ assignSubscriptionOptionsToProduct: () => assignSubscriptionOptionsToProduct,
1812
+ bulkCreateSubscriptionOptions: () => bulkCreateSubscriptionOptions,
1813
+ bulkDeleteSubscriptionOptions: () => bulkDeleteSubscriptionOptions,
1814
+ bulkUpdateSubscriptionOptions: () => bulkUpdateSubscriptionOptions,
1815
+ createSubscriptionOption: () => createSubscriptionOption,
1816
+ deleteSubscriptionOption: () => deleteSubscriptionOption,
1817
+ getOneTimePurchasesStatus: () => getOneTimePurchasesStatus,
1818
+ getProductIdsForSubscriptionOption: () => getProductIdsForSubscriptionOption,
1819
+ getSubscriptionOption: () => getSubscriptionOption,
1820
+ getSubscriptionOptionsForProduct: () => getSubscriptionOptionsForProduct,
1821
+ updateSubscriptionOption: () => updateSubscriptionOption
1822
+ });
1823
+ function allowOneTimePurchases(req, opts) {
1824
+ return wixCall2("PATCH", "/stores/v1/subscription-options/product/{productId}/allowOneTimePurchase", req, opts, { pathFields: ["productId"] });
1825
+ }
1826
+ function assignSubscriptionOptionsToProduct(req, opts) {
1827
+ return wixCall2("POST", "/stores/v1/subscription-options/product/{productId}/assign", req, opts, { pathFields: ["productId"] });
1828
+ }
1829
+ function bulkCreateSubscriptionOptions(req = {}, opts) {
1830
+ return wixCall2("POST", "/stores/v1/subscription-options/createBulk", req, opts);
1831
+ }
1832
+ function bulkDeleteSubscriptionOptions(req = {}, opts) {
1833
+ return wixCall2("POST", "/stores/v1/subscription-options/deleteBulk", req, opts);
1834
+ }
1835
+ function bulkUpdateSubscriptionOptions(req = {}, opts) {
1836
+ return wixCall2("PATCH", "/stores/v1/subscription-options", req, opts);
1837
+ }
1838
+ function createSubscriptionOption(req = {}, opts) {
1839
+ return wixCall2("POST", "/stores/v1/subscription-options", req, opts);
1840
+ }
1841
+ function deleteSubscriptionOption(req, opts) {
1842
+ return wixCall2("DELETE", "/stores/v1/subscription-options/{id}", req, opts, { pathFields: ["id"], query: true });
1843
+ }
1844
+ function getOneTimePurchasesStatus(req, opts) {
1845
+ return wixCall2("GET", "/stores/v1/subscription-options/product/{productId}/oneTimePurchasesStatus", req, opts, { pathFields: ["productId"], query: true });
1846
+ }
1847
+ function getProductIdsForSubscriptionOption(req, opts) {
1848
+ return wixCall2("GET", "/stores/v1/subscription-options/{id}/productIds", req, opts, { pathFields: ["id"], query: true });
1849
+ }
1850
+ function getSubscriptionOption(req, opts) {
1851
+ return wixCall2("GET", "/stores/v1/subscription-options/{id}", req, opts, { pathFields: ["id"], query: true });
1852
+ }
1853
+ function getSubscriptionOptionsForProduct(req, opts) {
1854
+ return wixCall2("GET", "/stores/v1/subscription-options/byProduct/{productId}", req, opts, { pathFields: ["productId"], query: true });
1855
+ }
1856
+ function updateSubscriptionOption(req, opts) {
1857
+ return wixCall2("PATCH", "/stores/v1/subscription-options/{subscriptionOptionId}", req, opts, { pathFields: ["subscriptionOption.id"] });
1858
+ }
1859
+
1860
+ // ../../stdlib/wix-sdk-auto/stores/wishlist.generated.ts
1861
+ var wishlist_generated_exports = {};
1862
+ __export(wishlist_generated_exports, {
1863
+ getWishlistById: () => getWishlistById
1864
+ });
1865
+ function getWishlistById(req = {}, opts) {
1866
+ return wixCall2("POST", "/stores/v1/wishlists/get", req, opts);
1867
+ }
872
1868
  export {
873
1869
  WIX_DETAIL_IMAGE,
874
1870
  WIX_LIST_IMAGE,
875
1871
  addProductMedia,
1872
+ brandsV3_generated_exports as brandsV3,
876
1873
  cartOptionsPayload,
1874
+ catalogImportsV3_generated_exports as catalogImportsV3,
1875
+ catalogVersioning_generated_exports as catalogVersioning,
1876
+ collections_generated_exports as collections,
877
1877
  createProduct,
1878
+ customTextProblems,
1879
+ customizationsV3_generated_exports as customizationsV3,
878
1880
  defaultChoice,
879
1881
  defaultSelection,
880
1882
  deleteProduct,
@@ -882,23 +1884,39 @@ export {
882
1884
  formatMoney,
883
1885
  getProduct,
884
1886
  getStoreProduct,
1887
+ infoSectionsV3_generated_exports as infoSectionsV3,
1888
+ inventory_generated_exports as inventory,
1889
+ inventoryItemsV3_generated_exports as inventoryItemsV3,
885
1890
  isSelectionComplete,
886
1891
  isUnsizedWixMedia,
887
1892
  mediaSlotUrl,
888
1893
  normalizeFormattedPrice,
889
1894
  plainText,
1895
+ productBrand,
1896
+ productCustomTextFields,
890
1897
  productGallery,
1898
+ productGroupsV3_generated_exports as productGroupsV3,
891
1899
  productImage,
1900
+ productMedia,
892
1901
  productOptions,
893
1902
  productPrice,
1903
+ productPricePerUnit,
1904
+ products_generated_exports as products,
1905
+ productsV3_generated_exports as productsV3,
1906
+ promotionsV3_generated_exports as promotionsV3,
894
1907
  queryInventory,
895
1908
  queryProducts,
896
1909
  queryStoreProducts,
1910
+ readOnlyVariantsV3_generated_exports as readOnlyVariantsV3,
897
1911
  resolveVariantId,
1912
+ ribbonsV3_generated_exports as ribbonsV3,
898
1913
  searchStoreProducts,
899
1914
  selectionSummary,
1915
+ storesLocationsV3_generated_exports as storesLocationsV3,
1916
+ subscriptionOptions_generated_exports as subscriptionOptions,
900
1917
  updateInventory,
901
1918
  updateProduct,
1919
+ wishlist_generated_exports as wishlist,
902
1920
  wixCall,
903
1921
  wixMediaUrl
904
1922
  };