@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/ecom/src/extensions.ts
2
8
  function getOrder(orderId, options) {
3
9
  return wixCall("GET", `/ecom/v1/orders/${orderId}`, void 0, options);
@@ -291,22 +297,1655 @@ function searchOrders(req = {}, opts) {
291
297
  opts
292
298
  );
293
299
  }
300
+
301
+ // ../../stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.ts
302
+ var abandonedCheckouts_generated_exports = {};
303
+ __export(abandonedCheckouts_generated_exports, {
304
+ bulkDeleteAbandonedCheckouts: () => bulkDeleteAbandonedCheckouts,
305
+ deleteAbandonedCheckout: () => deleteAbandonedCheckout,
306
+ getAbandonedCheckout: () => getAbandonedCheckout,
307
+ getAbandonedCheckoutAnalytics: () => getAbandonedCheckoutAnalytics,
308
+ queryAbandonedCheckouts: () => queryAbandonedCheckouts,
309
+ redirectToCheckout: () => redirectToCheckout,
310
+ searchAbandonedCheckouts: () => searchAbandonedCheckouts
311
+ });
312
+
313
+ // ../../stdlib/wix-sdk-auto/_shared/runtime.generated.ts
314
+ function wixQueryPath(path, req) {
315
+ const parts = [];
316
+ const pair = (key, value) => {
317
+ parts.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
318
+ };
319
+ const add = (key, value) => {
320
+ if (value === void 0 || value === null) return;
321
+ if (Array.isArray(value)) {
322
+ for (const item of value) {
323
+ if (item === void 0 || item === null || typeof item === "object") continue;
324
+ pair(key, item);
325
+ }
326
+ return;
327
+ }
328
+ if (typeof value === "object") {
329
+ for (const [k, v] of Object.entries(value)) add(`${key}.${k}`, v);
330
+ return;
331
+ }
332
+ pair(key, value);
333
+ };
334
+ for (const [key, value] of Object.entries(req ?? {})) add(key, value);
335
+ return parts.length > 0 ? `${path}?${parts.join("&")}` : path;
336
+ }
337
+ function readField(req, field) {
338
+ let value = req;
339
+ for (const key of field.split(".")) {
340
+ if (value === null || typeof value !== "object") return void 0;
341
+ value = value[key];
342
+ }
343
+ return value;
344
+ }
345
+ function restFieldMasks(req) {
346
+ if (req === null || typeof req !== "object") return req;
347
+ if (Array.isArray(req)) {
348
+ let changed = false;
349
+ const items = req.map((item) => {
350
+ const next = restFieldMasks(item);
351
+ if (next !== item) changed = true;
352
+ return next;
353
+ });
354
+ return changed ? items : req;
355
+ }
356
+ let out;
357
+ for (const [key, value] of Object.entries(req)) {
358
+ let next = value;
359
+ if ((key === "fieldMask" || key === "mask") && Array.isArray(value) && value.every((v) => typeof v === "string")) next = value.join(",");
360
+ else if (value !== null && typeof value === "object") next = restFieldMasks(value);
361
+ if (next !== value) (out ?? (out = { ...req }))[key] = next;
362
+ }
363
+ return out ?? req;
364
+ }
365
+ function withoutFields(req, fields) {
366
+ if (fields.length === 0 || req === null || typeof req !== "object") return req;
367
+ const out = { ...req };
368
+ for (const field of fields) {
369
+ const dot = field.indexOf(".");
370
+ const head = dot < 0 ? field : field.slice(0, dot);
371
+ if (!(head in out)) continue;
372
+ if (dot < 0) delete out[head];
373
+ else out[head] = withoutFields(out[head], [field.slice(dot + 1)]);
374
+ }
375
+ return out;
376
+ }
377
+ function wixCall2(verb, template, req, opts, route = {}) {
378
+ return send(verb, template, req, opts, route, false);
379
+ }
380
+ function wixQueueCall(verb, template, req, opts, route = {}) {
381
+ return send(verb, template, req, opts, route, opts?.offline === "queue");
382
+ }
383
+ function send(verb, template, req, opts, route, queue) {
384
+ const api = globalThis.himalaya?.wixApi;
385
+ if (!api) return Promise.reject(new Error("@himalaya/wix-*: host did not install the wixApi bridge"));
386
+ const fields = route.pathFields ?? [];
387
+ let path;
388
+ try {
389
+ let i = 0;
390
+ path = template.replace(/\{[^}]+\}/g, () => {
391
+ const field = fields[i++];
392
+ const value = field === void 0 ? void 0 : readField(req, field);
393
+ if (value === void 0 || value === null || value === "") {
394
+ throw new Error(`${verb} ${template}: request field ${field ?? "(unmapped)"} is required`);
395
+ }
396
+ return encodeURIComponent(String(value));
397
+ });
398
+ } catch (err) {
399
+ return Promise.reject(err);
400
+ }
401
+ const site = opts?.site?.trim();
402
+ const headers = site ? { "wix-site-id": site } : void 0;
403
+ const wire = restFieldMasks(req);
404
+ const target = route.query ? wixQueryPath(path, withoutFields(wire, fields)) : path;
405
+ const body = route.query ? void 0 : wire;
406
+ const readShaped = verb === "GET" || verb === "HEAD" || verb === "POST" && /\/(query|query-cursor|search|list|count)(?:\?|$)/i.test(target.split("#")[0]);
407
+ if (readShaped && (opts?.cache || opts?.onCacheResult)) {
408
+ if (!api.read) return Promise.reject(new Error("READ_LIFECYCLE_UNSUPPORTED: update the Himalaya runtime"));
409
+ return api.read(verb, target, body, headers, { cache: opts.cache ?? "default" }).then((result) => {
410
+ opts.onCacheResult?.(result.cache);
411
+ return result.data;
412
+ });
413
+ }
414
+ if (opts?.cache === "only-if-cached") return Promise.reject(new Error("OFFLINE_CACHE_MISS"));
415
+ if (!queue) return api.call(verb, target, body, headers);
416
+ if (!api.offline) return api.call(verb, target, body, headers).then((value) => ({ status: "sent", value }));
417
+ return api.call(verb, target, body, headers, { offline: "queue" });
418
+ }
419
+
420
+ // ../../stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.ts
421
+ function bulkDeleteAbandonedCheckouts(req = {}, opts) {
422
+ return wixCall2("POST", "/ecom/v1/bulk/abandoned-checkout/delete", req, opts);
423
+ }
424
+ function deleteAbandonedCheckout(req, opts) {
425
+ return wixCall2("DELETE", "/ecom/v1/abandoned-checkout/{abandonedCheckoutId}", req, opts, { pathFields: ["abandonedCheckoutId"], query: true });
426
+ }
427
+ function getAbandonedCheckout(req, opts) {
428
+ return wixCall2("GET", "/ecom/v1/abandoned-checkout/{abandonedCheckoutId}", req, opts, { pathFields: ["abandonedCheckoutId"], query: true });
429
+ }
430
+ function getAbandonedCheckoutAnalytics(req = {}, opts) {
431
+ return wixCall2("POST", "/ecom/v1/abandoned-checkout/get-analytics", req, opts);
432
+ }
433
+ function queryAbandonedCheckouts(req = {}, opts) {
434
+ return wixCall2("POST", "/ecom/v1/abandoned-checkout/query", req, opts);
435
+ }
436
+ function redirectToCheckout(req, opts) {
437
+ return wixCall2("GET", "/ecom/v1/abandoned-checkout/{abandonedCheckoutId}/redirect-to-checkout", req, opts, { pathFields: ["abandonedCheckoutId"], query: true });
438
+ }
439
+ function searchAbandonedCheckouts(req = {}, opts) {
440
+ return wixCall2("POST", "/ecom/v1/abandoned-checkout/search", req, opts);
441
+ }
442
+
443
+ // ../../stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.ts
444
+ var backInStockNotifications_generated_exports = {};
445
+ __export(backInStockNotifications_generated_exports, {
446
+ createBackInStockNotificationRequest: () => createBackInStockNotificationRequest,
447
+ deleteBackInStockNotificationRequest: () => deleteBackInStockNotificationRequest,
448
+ getBackInStockNotificationRequest: () => getBackInStockNotificationRequest,
449
+ getBackInStockNotificationRequestsCountByCatalogReferences: () => getBackInStockNotificationRequestsCountByCatalogReferences,
450
+ markAsNotificationSent: () => markAsNotificationSent,
451
+ queryBackInStockNotificationRequests: () => queryBackInStockNotificationRequests,
452
+ reportItemsBackInStock: () => reportItemsBackInStock
453
+ });
454
+ function createBackInStockNotificationRequest(req = {}, opts) {
455
+ return wixCall2("POST", "/back-in-stock-service/v1/back-in-stock-notification-requests", req, opts);
456
+ }
457
+ function deleteBackInStockNotificationRequest(req, opts) {
458
+ return wixCall2("DELETE", "/back-in-stock-service/v1/back-in-stock-notification-requests/{id}", req, opts, { pathFields: ["id"], query: true });
459
+ }
460
+ function getBackInStockNotificationRequest(req, opts) {
461
+ return wixCall2("GET", "/back-in-stock-service/v1/back-in-stock-notification-requests/{id}", req, opts, { pathFields: ["id"], query: true });
462
+ }
463
+ function getBackInStockNotificationRequestsCountByCatalogReferences(req = {}, opts) {
464
+ return wixCall2("GET", "/back-in-stock-service/v1/back-in-stock-notification-requests/count-by-catalog-reference", req, opts, { query: true });
465
+ }
466
+ function markAsNotificationSent(req, opts) {
467
+ return wixCall2("PUT", "/back-in-stock-service/v1/back-in-stock-notification-requests/{id}/mark-as-notification-sent", req, opts, { pathFields: ["id"] });
468
+ }
469
+ function queryBackInStockNotificationRequests(req = {}, opts) {
470
+ return wixCall2("GET", "/back-in-stock-service/v1/back-in-stock-notification-requests", req, opts, { query: true });
471
+ }
472
+ function reportItemsBackInStock(req = {}, opts) {
473
+ return wixCall2("POST", "/back-in-stock-service/v1/back-in-stock-notification-requests/report-items-back-in-stock", req, opts);
474
+ }
475
+
476
+ // ../../stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.ts
477
+ var backInStockSettings_generated_exports = {};
478
+ __export(backInStockSettings_generated_exports, {
479
+ getSettings: () => getSettings,
480
+ startCollectingRequests: () => startCollectingRequests,
481
+ stopCollectingRequests: () => stopCollectingRequests
482
+ });
483
+ function getSettings(req = {}, opts) {
484
+ return wixCall2("PUT", "/back-in-stock-service/v1/back-in-stock-notification-requests/settings", req, opts);
485
+ }
486
+ function startCollectingRequests(req = {}, opts) {
487
+ return wixCall2("POST", "/back-in-stock-service/v1/back-in-stock-notification-requests/settings/start-collecting", req, opts);
488
+ }
489
+ function stopCollectingRequests(req = {}, opts) {
490
+ return wixCall2("POST", "/back-in-stock-service/v1/back-in-stock-notification-requests/settings/stop-collecting", req, opts);
491
+ }
492
+
493
+ // ../../stdlib/wix-sdk-auto/ecom/cart.generated.ts
494
+ var cart_generated_exports = {};
495
+ __export(cart_generated_exports, {
496
+ addToCart: () => addToCart,
497
+ createCart: () => createCart,
498
+ createCheckout: () => createCheckout2,
499
+ deleteCart: () => deleteCart,
500
+ estimateTotals: () => estimateTotals,
501
+ getCart: () => getCart,
502
+ getCartByCheckoutId: () => getCartByCheckoutId,
503
+ removeBusinessLocation: () => removeBusinessLocation,
504
+ removeCoupon: () => removeCoupon,
505
+ removeLineItems: () => removeLineItems,
506
+ updateCart: () => updateCart,
507
+ updateLineItemsQuantity: () => updateLineItemsQuantity2
508
+ });
509
+ function addToCart(req, opts) {
510
+ return wixCall2("POST", "/ecom/v1/carts/{id}/add-to-cart", req, opts, { pathFields: ["id"] });
511
+ }
512
+ function createCart(req = {}, opts) {
513
+ return wixCall2("POST", "/ecom/v1/carts", req, opts);
514
+ }
515
+ function createCheckout2(req, opts) {
516
+ return wixCall2("POST", "/ecom/v1/carts/{id}/create-checkout", req, opts, { pathFields: ["id"] });
517
+ }
518
+ function deleteCart(req, opts) {
519
+ return wixCall2("DELETE", "/ecom/v1/carts/{id}", req, opts, { pathFields: ["id"], query: true });
520
+ }
521
+ function estimateTotals(req, opts) {
522
+ return wixCall2("POST", "/ecom/v1/carts/{id}/estimate-totals", req, opts, { pathFields: ["id"] });
523
+ }
524
+ function getCart(req, opts) {
525
+ return wixCall2("GET", "/ecom/v1/carts/{id}", req, opts, { pathFields: ["id"], query: true });
526
+ }
527
+ function getCartByCheckoutId(req, opts) {
528
+ return wixCall2("GET", "/ecom/v1/carts/by-checkout-id/{id}", req, opts, { pathFields: ["id"], query: true });
529
+ }
530
+ function removeBusinessLocation(req, opts) {
531
+ return wixCall2("POST", "/ecom/v1/carts/{id}/remove-business-location", req, opts, { pathFields: ["id"] });
532
+ }
533
+ function removeCoupon(req, opts) {
534
+ return wixCall2("POST", "/ecom/v1/carts/{id}/remove-coupon", req, opts, { pathFields: ["id"] });
535
+ }
536
+ function removeLineItems(req, opts) {
537
+ return wixCall2("POST", "/ecom/v1/carts/{id}/remove-line-items", req, opts, { pathFields: ["id"] });
538
+ }
539
+ function updateCart(req, opts) {
540
+ return wixCall2("PATCH", "/ecom/v1/carts/{cartInfoId}", req, opts, { pathFields: ["cartInfo.id"] });
541
+ }
542
+ function updateLineItemsQuantity2(req, opts) {
543
+ return wixCall2("POST", "/ecom/v1/carts/{id}/update-line-items-quantity", req, opts, { pathFields: ["id"] });
544
+ }
545
+
546
+ // ../../stdlib/wix-sdk-auto/ecom/cartV2.generated.ts
547
+ var cartV2_generated_exports = {};
548
+ __export(cartV2_generated_exports, {
549
+ addCoupon: () => addCoupon,
550
+ addGiftCard: () => addGiftCard,
551
+ addLineItems: () => addLineItems,
552
+ calculateCart: () => calculateCart,
553
+ createCart: () => createCart2,
554
+ deleteCart: () => deleteCart2,
555
+ estimateCart: () => estimateCart,
556
+ getCart: () => getCart2,
557
+ getCheckoutUrl: () => getCheckoutUrl,
558
+ getUpsellOptions: () => getUpsellOptions,
559
+ handleAsyncCheckoutCompletion: () => handleAsyncCheckoutCompletion,
560
+ markCartAsCompleted: () => markCartAsCompleted,
561
+ placeOrder: () => placeOrder,
562
+ refreshCart: () => refreshCart,
563
+ removeCoupon: () => removeCoupon2,
564
+ removeDeliveryMethod: () => removeDeliveryMethod,
565
+ removeGiftCard: () => removeGiftCard,
566
+ removeLineItems: () => removeLineItems2,
567
+ setDeliveryMethod: () => setDeliveryMethod,
568
+ updateCart: () => updateCart2,
569
+ updateFormSubmissions: () => updateFormSubmissions,
570
+ updateLineItems: () => updateLineItems
571
+ });
572
+ function addCoupon(req, opts) {
573
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/add-coupon", req, opts, { pathFields: ["cartId"] });
574
+ }
575
+ function addGiftCard(req, opts) {
576
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/add-gift-card", req, opts, { pathFields: ["cartId"] });
577
+ }
578
+ function addLineItems(req, opts) {
579
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/add-line-items", req, opts, { pathFields: ["cartId"] });
580
+ }
581
+ function calculateCart(req, opts) {
582
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/calculate", req, opts, { pathFields: ["cartId"] });
583
+ }
584
+ function createCart2(req = {}, opts) {
585
+ return wixCall2("POST", "/ecom/v2/carts", req, opts);
586
+ }
587
+ function deleteCart2(req, opts) {
588
+ return wixCall2("DELETE", "/ecom/v2/carts/{cartId}", req, opts, { pathFields: ["cartId"], query: true });
589
+ }
590
+ function estimateCart(req, opts) {
591
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/estimate", req, opts, { pathFields: ["cartId"] });
592
+ }
593
+ function getCart2(req, opts) {
594
+ return wixCall2("GET", "/ecom/v2/carts/{cartId}", req, opts, { pathFields: ["cartId"], query: true });
595
+ }
596
+ function getCheckoutUrl(req, opts) {
597
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/get-checkout-url", req, opts, { pathFields: ["cartId"] });
598
+ }
599
+ function getUpsellOptions(req, opts) {
600
+ return wixCall2("GET", "/ecom/v2/carts/{cartId}/upsell-options", req, opts, { pathFields: ["cartId"], query: true });
601
+ }
602
+ function handleAsyncCheckoutCompletion(req = {}, opts) {
603
+ return wixCall2("GET", "/ecom/v2/carts/handle-async-checkout-completion", req, opts, { query: true });
604
+ }
605
+ function markCartAsCompleted(req, opts) {
606
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/mark-cart-as-completed", req, opts, { pathFields: ["cartId"] });
607
+ }
608
+ function placeOrder(req, opts) {
609
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/place-order", req, opts, { pathFields: ["cartId"] });
610
+ }
611
+ function refreshCart(req, opts) {
612
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/refresh", req, opts, { pathFields: ["cartId"] });
613
+ }
614
+ function removeCoupon2(req, opts) {
615
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/remove-coupon", req, opts, { pathFields: ["cartId"] });
616
+ }
617
+ function removeDeliveryMethod(req, opts) {
618
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/remove-delivery-method", req, opts, { pathFields: ["cartId"] });
619
+ }
620
+ function removeGiftCard(req, opts) {
621
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/remove-gift-card", req, opts, { pathFields: ["cartId"] });
622
+ }
623
+ function removeLineItems2(req, opts) {
624
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/remove-line-items", req, opts, { pathFields: ["cartId"] });
625
+ }
626
+ function setDeliveryMethod(req, opts) {
627
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/set-delivery-method", req, opts, { pathFields: ["cartId"] });
628
+ }
629
+ function updateCart2(req, opts) {
630
+ return wixCall2("PATCH", "/ecom/v2/carts/{cartId}", req, opts, { pathFields: ["cart.id"] });
631
+ }
632
+ function updateFormSubmissions(req, opts) {
633
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/update-forms-submission", req, opts, { pathFields: ["cartId"] });
634
+ }
635
+ function updateLineItems(req, opts) {
636
+ return wixCall2("POST", "/ecom/v2/carts/{cartId}/update-line-items", req, opts, { pathFields: ["cartId"] });
637
+ }
638
+
639
+ // ../../stdlib/wix-sdk-auto/ecom/checkout.generated.ts
640
+ var checkout_generated_exports = {};
641
+ __export(checkout_generated_exports, {
642
+ addToCheckout: () => addToCheckout,
643
+ createCheckout: () => createCheckout3,
644
+ createOrder: () => createOrder2,
645
+ createOrderAndCharge: () => createOrderAndCharge,
646
+ getCheckout: () => getCheckout,
647
+ getCheckoutByCartId: () => getCheckoutByCartId,
648
+ getCheckoutUrl: () => getCheckoutUrl2,
649
+ getWixCheckoutUrl: () => getWixCheckoutUrl,
650
+ markCheckoutAsCompleted: () => markCheckoutAsCompleted,
651
+ markCheckoutAsCompletedAndRedirectToUrl: () => markCheckoutAsCompletedAndRedirectToUrl,
652
+ removeCoupon: () => removeCoupon3,
653
+ removeGiftCard: () => removeGiftCard2,
654
+ removeLineItems: () => removeLineItems3,
655
+ removeOverrideCheckoutUrl: () => removeOverrideCheckoutUrl,
656
+ updateCheckout: () => updateCheckout,
657
+ updateLineItemsQuantity: () => updateLineItemsQuantity3
658
+ });
659
+ function addToCheckout(req, opts) {
660
+ return wixCall2("POST", "/ecom/v1/checkouts/{id}/add-to-checkout", req, opts, { pathFields: ["id"] });
661
+ }
662
+ function createCheckout3(req = {}, opts) {
663
+ return wixCall2("POST", "/ecom/v1/checkouts", req, opts);
664
+ }
665
+ function createOrder2(req, opts) {
666
+ return wixCall2("POST", "/ecom/v1/checkouts/{id}/create-order", req, opts, { pathFields: ["id"] });
667
+ }
668
+ function createOrderAndCharge(req, opts) {
669
+ return wixCall2("POST", "/ecom/v1/checkouts/{id}/create-order-and-charge", req, opts, { pathFields: ["id"] });
670
+ }
671
+ function getCheckout(req, opts) {
672
+ return wixCall2("GET", "/ecom/v1/checkouts/{id}", req, opts, { pathFields: ["id"], query: true });
673
+ }
674
+ function getCheckoutByCartId(req, opts) {
675
+ return wixCall2("GET", "/ecom/v1/checkouts/by-cart-id/{id}", req, opts, { pathFields: ["id"], query: true });
676
+ }
677
+ function getCheckoutUrl2(req, opts) {
678
+ return wixCall2("GET", "/ecom/v1/checkouts/{id}/checkout-url", req, opts, { pathFields: ["id"], query: true });
679
+ }
680
+ function getWixCheckoutUrl(req, opts) {
681
+ return wixCall2("GET", "/ecom/v1/checkouts/{id}/wix-checkout-url", req, opts, { pathFields: ["id"], query: true });
682
+ }
683
+ function markCheckoutAsCompleted(req, opts) {
684
+ return wixCall2("POST", "/ecom/v1/checkouts/{id}/mark-as-completed", req, opts, { pathFields: ["id"] });
685
+ }
686
+ function markCheckoutAsCompletedAndRedirectToUrl(req = {}, opts) {
687
+ return wixCall2("GET", "/ecom/v1/checkouts/mark-checkout-as-completed-and-redirect-to-url", req, opts, { query: true });
688
+ }
689
+ function removeCoupon3(req, opts) {
690
+ return wixCall2("POST", "/ecom/v1/checkouts/{id}/remove-coupon", req, opts, { pathFields: ["id"] });
691
+ }
692
+ function removeGiftCard2(req, opts) {
693
+ return wixCall2("POST", "/ecom/v1/checkouts/{id}/remove-gift-card", req, opts, { pathFields: ["id"] });
694
+ }
695
+ function removeLineItems3(req, opts) {
696
+ return wixCall2("POST", "/ecom/v1/checkouts/{id}/remove-line-items", req, opts, { pathFields: ["id"] });
697
+ }
698
+ function removeOverrideCheckoutUrl(req, opts) {
699
+ return wixCall2("POST", "/ecom/v1/checkouts/{id}/remove-override-checkout-url", req, opts, { pathFields: ["id"] });
700
+ }
701
+ function updateCheckout(req, opts) {
702
+ return wixCall2("PATCH", "/ecom/v1/checkouts/{checkoutId}", req, opts, { pathFields: ["checkout.id"] });
703
+ }
704
+ function updateLineItemsQuantity3(req, opts) {
705
+ return wixCall2("POST", "/ecom/v1/checkouts/{id}/update-line-items-quantity", req, opts, { pathFields: ["id"] });
706
+ }
707
+
708
+ // ../../stdlib/wix-sdk-auto/ecom/checkoutContent.generated.ts
709
+ var checkoutContent_generated_exports = {};
710
+ __export(checkoutContent_generated_exports, {
711
+ getCheckoutContent: () => getCheckoutContent
712
+ });
713
+ function getCheckoutContent(req, opts) {
714
+ return wixCall2("GET", "/ecom/v1/checkout-content/{appId}/{componentId}", req, opts, { pathFields: ["appId", "componentId"], query: true });
715
+ }
716
+
717
+ // ../../stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.ts
718
+ var checkoutSettings_generated_exports = {};
719
+ __export(checkoutSettings_generated_exports, {
720
+ getCheckoutSettings: () => getCheckoutSettings,
721
+ updateCheckoutSettings: () => updateCheckoutSettings
722
+ });
723
+ function getCheckoutSettings(req = {}, opts) {
724
+ return wixCall2("GET", "/ecom/v1/checkout-settings", req, opts, { query: true });
725
+ }
726
+ function updateCheckoutSettings(req = {}, opts) {
727
+ return wixCall2("PATCH", "/ecom/v1/checkout-settings", req, opts);
728
+ }
729
+
730
+ // ../../stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.ts
731
+ var checkoutTemplates_generated_exports = {};
732
+ __export(checkoutTemplates_generated_exports, {
733
+ createAndRedirectToCheckout: () => createAndRedirectToCheckout,
734
+ createCheckoutFromTemplate: () => createCheckoutFromTemplate,
735
+ createCheckoutTemplate: () => createCheckoutTemplate,
736
+ deleteCheckoutTemplate: () => deleteCheckoutTemplate,
737
+ getCheckoutTemplate: () => getCheckoutTemplate,
738
+ queryCheckoutTemplates: () => queryCheckoutTemplates,
739
+ updateCheckoutTemplate: () => updateCheckoutTemplate
740
+ });
741
+ function createAndRedirectToCheckout(req, opts) {
742
+ return wixCall2("GET", "/ecom/v1/checkout-templates/{checkoutTemplateId}/create-and-redirect-to-checkout", req, opts, { pathFields: ["checkoutTemplateId"], query: true });
743
+ }
744
+ function createCheckoutFromTemplate(req, opts) {
745
+ return wixCall2("POST", "/ecom/v1/checkout-templates/{checkoutTemplateId}/create-checkout-from-template", req, opts, { pathFields: ["checkoutTemplateId"] });
746
+ }
747
+ function createCheckoutTemplate(req = {}, opts) {
748
+ return wixCall2("POST", "/ecom/v1/checkout-templates", req, opts);
749
+ }
750
+ function deleteCheckoutTemplate(req, opts) {
751
+ return wixCall2("DELETE", "/ecom/v1/checkout-templates/{checkoutTemplateId}", req, opts, { pathFields: ["checkoutTemplateId"], query: true });
752
+ }
753
+ function getCheckoutTemplate(req, opts) {
754
+ return wixCall2("GET", "/ecom/v1/checkout-templates/{checkoutTemplateId}", req, opts, { pathFields: ["checkoutTemplateId"], query: true });
755
+ }
756
+ function queryCheckoutTemplates(req = {}, opts) {
757
+ return wixCall2("POST", "/ecom/v1/checkout-templates/query", req, opts);
758
+ }
759
+ function updateCheckoutTemplate(req, opts) {
760
+ return wixCall2("PATCH", "/ecom/v1/checkout-templates/{checkoutTemplateId}", req, opts, { pathFields: ["checkoutTemplate.id"] });
761
+ }
762
+
763
+ // ../../stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.ts
764
+ var contactTaxDetails_generated_exports = {};
765
+ __export(contactTaxDetails_generated_exports, {
766
+ bulkDeleteContactTaxDetails: () => bulkDeleteContactTaxDetails,
767
+ bulkUpdateContactTaxDetailsTags: () => bulkUpdateContactTaxDetailsTags,
768
+ bulkUpdateContactTaxDetailsTagsByFilter: () => bulkUpdateContactTaxDetailsTagsByFilter,
769
+ bulkUpsertContactTaxDetails: () => bulkUpsertContactTaxDetails,
770
+ countContactTaxDetails: () => countContactTaxDetails,
771
+ deleteContactTaxDetails: () => deleteContactTaxDetails,
772
+ getContactTaxDetails: () => getContactTaxDetails,
773
+ queryContactTaxDetails: () => queryContactTaxDetails,
774
+ upsertContactTaxDetails: () => upsertContactTaxDetails
775
+ });
776
+ function bulkDeleteContactTaxDetails(req = {}, opts) {
777
+ return wixCall2("POST", "/billing/v1/bulk/contact-tax-details/delete", req, opts);
778
+ }
779
+ function bulkUpdateContactTaxDetailsTags(req = {}, opts) {
780
+ return wixCall2("POST", "/billing/v1/bulk/contact-tax-details/update-tags", req, opts);
781
+ }
782
+ function bulkUpdateContactTaxDetailsTagsByFilter(req = {}, opts) {
783
+ return wixCall2("POST", "/billing/v1/bulk/contact-tax-details/update-tags-by-filter", req, opts);
784
+ }
785
+ function bulkUpsertContactTaxDetails(req = {}, opts) {
786
+ return wixCall2("POST", "/billing/v1/bulk/contact-tax-details/upsert", req, opts);
787
+ }
788
+ function countContactTaxDetails(req = {}, opts) {
789
+ return wixCall2("POST", "/billing/v1/contact-tax-details/count", req, opts);
790
+ }
791
+ function deleteContactTaxDetails(req, opts) {
792
+ return wixCall2("DELETE", "/billing/v1/contact-tax-details/{contactTaxDetailsId}", req, opts, { pathFields: ["contactTaxDetailsId"], query: true });
793
+ }
794
+ function getContactTaxDetails(req, opts) {
795
+ return wixCall2("GET", "/billing/v1/contact-tax-details/{id}", req, opts, { pathFields: ["id"], query: true });
796
+ }
797
+ function queryContactTaxDetails(req = {}, opts) {
798
+ return wixCall2("POST", "/billing/v1/contact-tax-details/query", req, opts);
799
+ }
800
+ function upsertContactTaxDetails(req = {}, opts) {
801
+ return wixCall2("POST", "/billing/v1/contact-tax-details", req, opts);
802
+ }
803
+
804
+ // ../../stdlib/wix-sdk-auto/ecom/currencies.generated.ts
805
+ var currencies_generated_exports = {};
806
+ __export(currencies_generated_exports, {
807
+ convertCurrency: () => convertCurrency,
808
+ getConversionRate: () => getConversionRate,
809
+ listCurrencies: () => listCurrencies
810
+ });
811
+ function convertCurrency(req, opts) {
812
+ return wixCall2("POST", "/currency_converter/v1/currencies/amounts/{from}/convert/{to}", req, opts, { pathFields: ["from", "to"] });
813
+ }
814
+ function getConversionRate(req, opts) {
815
+ return wixCall2("GET", "/currency_converter/v1/currencies/rate/{from}/convert/{to}", req, opts, { pathFields: ["from", "to"], query: true });
816
+ }
817
+ function listCurrencies(req = {}, opts) {
818
+ return wixCall2("GET", "/currency_converter/v1/currencies", req, opts, { query: true });
819
+ }
820
+
821
+ // ../../stdlib/wix-sdk-auto/ecom/currentCart.generated.ts
822
+ var currentCart_generated_exports = {};
823
+ __export(currentCart_generated_exports, {
824
+ addToCurrentCart: () => addToCurrentCart2,
825
+ createCheckoutFromCurrentCart: () => createCheckoutFromCurrentCart2,
826
+ deleteCurrentCart: () => deleteCurrentCart,
827
+ estimateCurrentCartTotals: () => estimateCurrentCartTotals,
828
+ getCurrentCart: () => getCurrentCart2,
829
+ removeCouponFromCurrentCart: () => removeCouponFromCurrentCart2,
830
+ removeLineItemsFromCurrentCart: () => removeLineItemsFromCurrentCart2,
831
+ updateCurrentCart: () => updateCurrentCart,
832
+ updateCurrentCartLineItemQuantity: () => updateCurrentCartLineItemQuantity
833
+ });
834
+ function addToCurrentCart2(req = {}, opts) {
835
+ return wixQueueCall("POST", "/ecom/v1/carts/current/add-to-cart", req, opts);
836
+ }
837
+ function createCheckoutFromCurrentCart2(req = {}, opts) {
838
+ return wixCall2("POST", "/ecom/v1/carts/current/create-checkout", req, opts);
839
+ }
840
+ function deleteCurrentCart(req = {}, opts) {
841
+ return wixCall2("DELETE", "/ecom/v1/carts/current", req, opts, { query: true });
842
+ }
843
+ function estimateCurrentCartTotals(req = {}, opts) {
844
+ return wixCall2("POST", "/ecom/v1/carts/current/estimate-totals", req, opts);
845
+ }
846
+ function getCurrentCart2(req = {}, opts) {
847
+ return wixCall2("GET", "/ecom/v1/carts/current", req, opts, { query: true });
848
+ }
849
+ function removeCouponFromCurrentCart2(req = {}, opts) {
850
+ return wixCall2("POST", "/ecom/v1/carts/current/remove-coupon", req, opts);
851
+ }
852
+ function removeLineItemsFromCurrentCart2(req = {}, opts) {
853
+ return wixCall2("POST", "/ecom/v1/carts/current/remove-line-items", req, opts);
854
+ }
855
+ function updateCurrentCart(req = {}, opts) {
856
+ return wixCall2("PATCH", "/ecom/v1/carts/current", req, opts);
857
+ }
858
+ function updateCurrentCartLineItemQuantity(req = {}, opts) {
859
+ return wixCall2("POST", "/ecom/v1/carts/current/update-line-items-quantity", req, opts);
860
+ }
861
+
862
+ // ../../stdlib/wix-sdk-auto/ecom/currentCartV2.generated.ts
863
+ var currentCartV2_generated_exports = {};
864
+ __export(currentCartV2_generated_exports, {
865
+ addCouponToCurrentCart: () => addCouponToCurrentCart2,
866
+ addGiftCardToCurrentCart: () => addGiftCardToCurrentCart,
867
+ addLineItemsToCurrentCart: () => addLineItemsToCurrentCart,
868
+ calculateCurrentCart: () => calculateCurrentCart2,
869
+ createCurrentCart: () => createCurrentCart,
870
+ deleteCurrentCart: () => deleteCurrentCart2,
871
+ estimateCurrentCart: () => estimateCurrentCart,
872
+ getCurrentCart: () => getCurrentCart3,
873
+ getUpsellOptionsForCurrentCart: () => getUpsellOptionsForCurrentCart,
874
+ refreshCurrentCart: () => refreshCurrentCart,
875
+ removeCouponFromCurrentCart: () => removeCouponFromCurrentCart3,
876
+ removeDeliveryMethodFromCurrentCart: () => removeDeliveryMethodFromCurrentCart,
877
+ removeGiftCardFromCurrentCart: () => removeGiftCardFromCurrentCart,
878
+ removeLineItemsFromCurrentCart: () => removeLineItemsFromCurrentCart3,
879
+ setDeliveryMethodForCurrentCart: () => setDeliveryMethodForCurrentCart,
880
+ updateCurrentCart: () => updateCurrentCart2,
881
+ updateFormSubmissionsInCurrentCart: () => updateFormSubmissionsInCurrentCart,
882
+ updateLineItemsInCurrentCart: () => updateLineItemsInCurrentCart
883
+ });
884
+ function addCouponToCurrentCart2(req = {}, opts) {
885
+ return wixCall2("POST", "/ecom/v2/carts/current/add-coupon", req, opts);
886
+ }
887
+ function addGiftCardToCurrentCart(req = {}, opts) {
888
+ return wixCall2("POST", "/ecom/v2/carts/current/add-gift-card", req, opts);
889
+ }
890
+ function addLineItemsToCurrentCart(req = {}, opts) {
891
+ return wixCall2("POST", "/ecom/v2/carts/current/add-line-items", req, opts);
892
+ }
893
+ function calculateCurrentCart2(req = {}, opts) {
894
+ return wixCall2("POST", "/ecom/v2/carts/current/calculate", req, opts);
895
+ }
896
+ function createCurrentCart(req = {}, opts) {
897
+ return wixCall2("POST", "/ecom/v2/carts/current", req, opts);
898
+ }
899
+ function deleteCurrentCart2(req = {}, opts) {
900
+ return wixCall2("DELETE", "/ecom/v2/carts/current", req, opts, { query: true });
901
+ }
902
+ function estimateCurrentCart(req = {}, opts) {
903
+ return wixCall2("POST", "/ecom/v2/carts/current/estimate", req, opts);
904
+ }
905
+ function getCurrentCart3(req = {}, opts) {
906
+ return wixCall2("GET", "/ecom/v2/carts/current", req, opts, { query: true });
907
+ }
908
+ function getUpsellOptionsForCurrentCart(req = {}, opts) {
909
+ return wixCall2("GET", "/ecom/v2/carts/current/upsell-options", req, opts, { query: true });
910
+ }
911
+ function refreshCurrentCart(req = {}, opts) {
912
+ return wixCall2("POST", "/ecom/v2/carts/current/refresh", req, opts);
913
+ }
914
+ function removeCouponFromCurrentCart3(req = {}, opts) {
915
+ return wixCall2("POST", "/ecom/v2/carts/current/remove-coupon", req, opts);
916
+ }
917
+ function removeDeliveryMethodFromCurrentCart(req = {}, opts) {
918
+ return wixCall2("POST", "/ecom/v2/carts/current/remove-delivery-method", req, opts);
919
+ }
920
+ function removeGiftCardFromCurrentCart(req = {}, opts) {
921
+ return wixCall2("POST", "/ecom/v2/carts/current/remove-gift-card", req, opts);
922
+ }
923
+ function removeLineItemsFromCurrentCart3(req = {}, opts) {
924
+ return wixCall2("POST", "/ecom/v2/carts/current/remove-line-items", req, opts);
925
+ }
926
+ function setDeliveryMethodForCurrentCart(req = {}, opts) {
927
+ return wixCall2("POST", "/ecom/v2/carts/current/set-delivery-method", req, opts);
928
+ }
929
+ function updateCurrentCart2(req = {}, opts) {
930
+ return wixCall2("PATCH", "/ecom/v2/carts/current", req, opts);
931
+ }
932
+ function updateFormSubmissionsInCurrentCart(req = {}, opts) {
933
+ return wixCall2("POST", "/ecom/v2/carts/current/update-forms-submission", req, opts);
934
+ }
935
+ function updateLineItemsInCurrentCart(req = {}, opts) {
936
+ return wixCall2("POST", "/ecom/v2/carts/current/update-line-items", req, opts);
937
+ }
938
+
939
+ // ../../stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.ts
940
+ var deliveryProfile_generated_exports = {};
941
+ __export(deliveryProfile_generated_exports, {
942
+ addDeliveryCarrier: () => addDeliveryCarrier,
943
+ addDeliveryRegion: () => addDeliveryRegion,
944
+ createDeliveryProfile: () => createDeliveryProfile,
945
+ deleteDeliveryProfile: () => deleteDeliveryProfile,
946
+ getDeliveryDestinationProperties: () => getDeliveryDestinationProperties,
947
+ getDeliveryProfile: () => getDeliveryProfile,
948
+ getDeliveryProfileByDeliveryRegionId: () => getDeliveryProfileByDeliveryRegionId,
949
+ listDeliveryCarriers: () => listDeliveryCarriers,
950
+ listInstalledDeliveryCarriers: () => listInstalledDeliveryCarriers,
951
+ queryDeliveryProfiles: () => queryDeliveryProfiles,
952
+ removeDeliveryCarrier: () => removeDeliveryCarrier,
953
+ removeDeliveryRegion: () => removeDeliveryRegion,
954
+ setDeliveryCarrierActiveStatus: () => setDeliveryCarrierActiveStatus,
955
+ updateCarrierSettings: () => updateCarrierSettings,
956
+ updateDeliveryCarrier: () => updateDeliveryCarrier,
957
+ updateDeliveryProfile: () => updateDeliveryProfile,
958
+ updateDeliveryRegion: () => updateDeliveryRegion,
959
+ updateExtendedFields: () => updateExtendedFields
960
+ });
961
+ function addDeliveryCarrier(req = {}, opts) {
962
+ return wixCall2("POST", "/ecom/v1/delivery-profiles/add-delivery-carrier", req, opts);
963
+ }
964
+ function addDeliveryRegion(req, opts) {
965
+ return wixCall2("POST", "/ecom/v1/delivery-profiles/{deliveryProfileId}/delivery-region", req, opts, { pathFields: ["deliveryProfileId"] });
966
+ }
967
+ function createDeliveryProfile(req = {}, opts) {
968
+ return wixCall2("POST", "/ecom/v1/delivery-profiles", req, opts);
969
+ }
970
+ function deleteDeliveryProfile(req, opts) {
971
+ return wixCall2("DELETE", "/ecom/v1/delivery-profiles/{deliveryProfileId}", req, opts, { pathFields: ["deliveryProfileId"], query: true });
972
+ }
973
+ function getDeliveryDestinationProperties(req = {}, opts) {
974
+ return wixCall2("GET", "/ecom/v1/delivery-profiles/delivery-destination-properties", req, opts, { query: true });
975
+ }
976
+ function getDeliveryProfile(req, opts) {
977
+ return wixCall2("GET", "/ecom/v1/delivery-profiles/{deliveryProfileId}", req, opts, { pathFields: ["deliveryProfileId"], query: true });
978
+ }
979
+ function getDeliveryProfileByDeliveryRegionId(req, opts) {
980
+ return wixCall2("GET", "/ecom/v1/delivery-profiles/delivery-regions/{deliveryRegionId}", req, opts, { pathFields: ["deliveryRegionId"], query: true });
981
+ }
982
+ function listDeliveryCarriers(req, opts) {
983
+ return wixCall2("POST", "/ecom/v1/delivery-profiles/{deliveryProfileId}/delivery-carriers", req, opts, { pathFields: ["deliveryProfileId"] });
984
+ }
985
+ function listInstalledDeliveryCarriers(req = {}, opts) {
986
+ return wixCall2("GET", "/ecom/v1/delivery-profiles/installed-carriers", req, opts, { query: true });
987
+ }
988
+ function queryDeliveryProfiles(req = {}, opts) {
989
+ return wixCall2("POST", "/ecom/v1/delivery-profiles/query", req, opts);
990
+ }
991
+ function removeDeliveryCarrier(req = {}, opts) {
992
+ return wixCall2("POST", "/ecom/v1/delivery-profiles/remove-delivery-carrier", req, opts);
993
+ }
994
+ function removeDeliveryRegion(req, opts) {
995
+ return wixCall2("DELETE", "/ecom/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}", req, opts, { pathFields: ["deliveryProfileId", "deliveryRegionId"], query: true });
996
+ }
997
+ function setDeliveryCarrierActiveStatus(req = {}, opts) {
998
+ return wixCall2("POST", "/ecom/v1/delivery-profiles/delivery-carriers/set-active-status", req, opts);
999
+ }
1000
+ function updateCarrierSettings(req = {}, opts) {
1001
+ return wixCall2("POST", "/ecom/v1/delivery-profiles/update-carrier-settings", req, opts);
1002
+ }
1003
+ function updateDeliveryCarrier(req = {}, opts) {
1004
+ return wixCall2("PATCH", "/ecom/v1/delivery-profiles/update-delivery-carrier", req, opts);
1005
+ }
1006
+ function updateDeliveryProfile(req, opts) {
1007
+ return wixCall2("PATCH", "/ecom/v1/delivery-profiles/{deliveryProfileId}", req, opts, { pathFields: ["deliveryProfile.id"] });
1008
+ }
1009
+ function updateDeliveryRegion(req, opts) {
1010
+ return wixCall2("PATCH", "/ecom/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}", req, opts, { pathFields: ["deliveryProfileId", "deliveryRegion.id"] });
1011
+ }
1012
+ function updateExtendedFields(req, opts) {
1013
+ return wixCall2("POST", "/ecom/v1/delivery-profiles/{id}/update-extended-fields", req, opts, { pathFields: ["id"] });
1014
+ }
1015
+
1016
+ // ../../stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.ts
1017
+ var deliverySolutions_generated_exports = {};
1018
+ __export(deliverySolutions_generated_exports, {
1019
+ getDeliverySolutions: () => getDeliverySolutions
1020
+ });
1021
+ function getDeliverySolutions(req = {}, opts) {
1022
+ return wixCall2("POST", "/_api/delivery-rates/v1/get-delivery-solutions", req, opts);
1023
+ }
1024
+
1025
+ // ../../stdlib/wix-sdk-auto/ecom/discountRules.generated.ts
1026
+ var discountRules_generated_exports = {};
1027
+ __export(discountRules_generated_exports, {
1028
+ createDiscountRule: () => createDiscountRule,
1029
+ deleteDiscountRule: () => deleteDiscountRule,
1030
+ getDiscountRule: () => getDiscountRule,
1031
+ queryDiscountRules: () => queryDiscountRules,
1032
+ updateDiscountRule: () => updateDiscountRule
1033
+ });
1034
+ function createDiscountRule(req = {}, opts) {
1035
+ return wixCall2("POST", "/ecom/v1/discount-rules", req, opts);
1036
+ }
1037
+ function deleteDiscountRule(req, opts) {
1038
+ return wixCall2("DELETE", "/ecom/v1/discount-rules/{discountRuleId}", req, opts, { pathFields: ["discountRuleId"], query: true });
1039
+ }
1040
+ function getDiscountRule(req, opts) {
1041
+ return wixCall2("GET", "/ecom/v1/discount-rules/{discountRuleId}", req, opts, { pathFields: ["discountRuleId"], query: true });
1042
+ }
1043
+ function queryDiscountRules(req = {}, opts) {
1044
+ return wixCall2("POST", "/ecom/v1/discount-rules/query", req, opts);
1045
+ }
1046
+ function updateDiscountRule(req, opts) {
1047
+ return wixCall2("PATCH", "/ecom/v1/discount-rules/{discountRuleId}", req, opts, { pathFields: ["discountRule.id"] });
1048
+ }
1049
+
1050
+ // ../../stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.ts
1051
+ var discountsCustomTrigger_generated_exports = {};
1052
+ __export(discountsCustomTrigger_generated_exports, {
1053
+ listTriggers: () => listTriggers
1054
+ });
1055
+ function listTriggers(req = {}, opts) {
1056
+ return wixCall2("POST", "/ecom/v1/discount-custom-triggers/list", req, opts);
1057
+ }
1058
+
1059
+ // ../../stdlib/wix-sdk-auto/ecom/draftOrders.generated.ts
1060
+ var draftOrders_generated_exports = {};
1061
+ __export(draftOrders_generated_exports, {
1062
+ addLineItemsToDraftOrder: () => addLineItemsToDraftOrder,
1063
+ commitDraftOrder: () => commitDraftOrder,
1064
+ createCustomAdditionalFees: () => createCustomAdditionalFees,
1065
+ createCustomDiscounts: () => createCustomDiscounts,
1066
+ createDraftOrder: () => createDraftOrder,
1067
+ createEmptyDraftOrder: () => createEmptyDraftOrder,
1068
+ createOrderFromDraft: () => createOrderFromDraft,
1069
+ deleteCustomAdditionalFees: () => deleteCustomAdditionalFees,
1070
+ deleteCustomDiscounts: () => deleteCustomDiscounts,
1071
+ deleteDraftOrder: () => deleteDraftOrder,
1072
+ getDraftOrder: () => getDraftOrder,
1073
+ getOrderDraftabilityStatus: () => getOrderDraftabilityStatus,
1074
+ queryDraftOrders: () => queryDraftOrders,
1075
+ setAdditionalFees: () => setAdditionalFees,
1076
+ setBillingInfo: () => setBillingInfo,
1077
+ setBusinessLocation: () => setBusinessLocation,
1078
+ setBuyerInfo: () => setBuyerInfo,
1079
+ setDeposit: () => setDeposit,
1080
+ setDiscounts: () => setDiscounts,
1081
+ setRecipientInfo: () => setRecipientInfo,
1082
+ setShippingInfo: () => setShippingInfo,
1083
+ setTaxExemption: () => setTaxExemption,
1084
+ updateExtendedFields: () => updateExtendedFields2,
1085
+ updateLineItems: () => updateLineItems2
1086
+ });
1087
+ function addLineItemsToDraftOrder(req, opts) {
1088
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/add-line-items", req, opts, { pathFields: ["draftOrderId"] });
1089
+ }
1090
+ function commitDraftOrder(req, opts) {
1091
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/commit", req, opts, { pathFields: ["draftOrderId"] });
1092
+ }
1093
+ function createCustomAdditionalFees(req, opts) {
1094
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/create-additional-fees", req, opts, { pathFields: ["draftOrderId"] });
1095
+ }
1096
+ function createCustomDiscounts(req, opts) {
1097
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/create-custom-discounts", req, opts, { pathFields: ["draftOrderId"] });
1098
+ }
1099
+ function createDraftOrder(req = {}, opts) {
1100
+ return wixCall2("POST", "/ecom/v1/draft-orders", req, opts);
1101
+ }
1102
+ function createEmptyDraftOrder(req = {}, opts) {
1103
+ return wixCall2("POST", "/ecom/v1/draft-orders/create-empty-draft-order", req, opts);
1104
+ }
1105
+ function createOrderFromDraft(req, opts) {
1106
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/create-order", req, opts, { pathFields: ["draftOrderId"] });
1107
+ }
1108
+ function deleteCustomAdditionalFees(req, opts) {
1109
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/delete-custom-additional-fees", req, opts, { pathFields: ["draftOrderId"] });
1110
+ }
1111
+ function deleteCustomDiscounts(req, opts) {
1112
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/delete-custom-discounts", req, opts, { pathFields: ["draftOrderId"] });
1113
+ }
1114
+ function deleteDraftOrder(req, opts) {
1115
+ return wixCall2("DELETE", "/ecom/v1/draft-orders/{draftOrderId}", req, opts, { pathFields: ["draftOrderId"], query: true });
1116
+ }
1117
+ function getDraftOrder(req, opts) {
1118
+ return wixCall2("GET", "/ecom/v1/draft-orders/{draftOrderId}", req, opts, { pathFields: ["draftOrderId"], query: true });
1119
+ }
1120
+ function getOrderDraftabilityStatus(req, opts) {
1121
+ return wixCall2("GET", "/ecom/v1/draft-orders/{orderId}/draftability", req, opts, { pathFields: ["orderId"], query: true });
1122
+ }
1123
+ function queryDraftOrders(req = {}, opts) {
1124
+ return wixCall2("POST", "/ecom/v1/draft-orders/query", req, opts);
1125
+ }
1126
+ function setAdditionalFees(req, opts) {
1127
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/set-additional-fees", req, opts, { pathFields: ["draftOrderId"] });
1128
+ }
1129
+ function setBillingInfo(req = {}, opts) {
1130
+ return wixCall2("PUT", "/ecom/v1/draft-orders/set-billing-info", req, opts);
1131
+ }
1132
+ function setBusinessLocation(req = {}, opts) {
1133
+ return wixCall2("PUT", "/ecom/v1/draft-orders/set-business-location", req, opts);
1134
+ }
1135
+ function setBuyerInfo(req = {}, opts) {
1136
+ return wixCall2("PUT", "/ecom/v1/draft-orders/set-buyer-info", req, opts);
1137
+ }
1138
+ function setDeposit(req, opts) {
1139
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/set-deposit", req, opts, { pathFields: ["draftOrderId"] });
1140
+ }
1141
+ function setDiscounts(req, opts) {
1142
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/set-discounts", req, opts, { pathFields: ["draftOrderId"] });
1143
+ }
1144
+ function setRecipientInfo(req = {}, opts) {
1145
+ return wixCall2("PUT", "/ecom/v1/draft-orders/set-recipient-info", req, opts);
1146
+ }
1147
+ function setShippingInfo(req = {}, opts) {
1148
+ return wixCall2("PUT", "/ecom/v1/draft-orders/set-shipping-info", req, opts);
1149
+ }
1150
+ function setTaxExemption(req = {}, opts) {
1151
+ return wixCall2("PUT", "/ecom/v1/draft-orders/set-tax-exemption", req, opts);
1152
+ }
1153
+ function updateExtendedFields2(req, opts) {
1154
+ return wixCall2("POST", "/ecom/v1/draft-orders/{id}/update-extended-fields", req, opts, { pathFields: ["id"] });
1155
+ }
1156
+ function updateLineItems2(req, opts) {
1157
+ return wixCall2("POST", "/ecom/v1/draft-orders/{draftOrderId}/line-items", req, opts, { pathFields: ["draftOrderId"] });
1158
+ }
1159
+
1160
+ // ../../stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.ts
1161
+ var draftSubscriptionContracts_generated_exports = {};
1162
+ __export(draftSubscriptionContracts_generated_exports, {
1163
+ commitDraftSubscriptionContract: () => commitDraftSubscriptionContract,
1164
+ createDraftSubscriptionContract: () => createDraftSubscriptionContract,
1165
+ deleteDraftSubscriptionContract: () => deleteDraftSubscriptionContract,
1166
+ getDraftSubscriptionContract: () => getDraftSubscriptionContract,
1167
+ getSubscriptionContractDraftability: () => getSubscriptionContractDraftability,
1168
+ setRecipientInfo: () => setRecipientInfo2,
1169
+ setShippingInfo: () => setShippingInfo2
1170
+ });
1171
+ function commitDraftSubscriptionContract(req, opts) {
1172
+ return wixCall2("POST", "/ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}/commit", req, opts, { pathFields: ["draftSubscriptionContractId"] });
1173
+ }
1174
+ function createDraftSubscriptionContract(req = {}, opts) {
1175
+ return wixCall2("POST", "/ecom/v1/draft-subscription-contracts", req, opts);
1176
+ }
1177
+ function deleteDraftSubscriptionContract(req, opts) {
1178
+ return wixCall2("DELETE", "/ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}", req, opts, { pathFields: ["draftSubscriptionContractId"], query: true });
1179
+ }
1180
+ function getDraftSubscriptionContract(req, opts) {
1181
+ return wixCall2("GET", "/ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}", req, opts, { pathFields: ["draftSubscriptionContractId"], query: true });
1182
+ }
1183
+ function getSubscriptionContractDraftability(req = {}, opts) {
1184
+ return wixCall2("GET", "/ecom/v1/draft-subscription-contracts/draftability", req, opts, { query: true });
1185
+ }
1186
+ function setRecipientInfo2(req, opts) {
1187
+ return wixCall2("PUT", "/ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}/recipient-info", req, opts, { pathFields: ["draftSubscriptionContractId"] });
1188
+ }
1189
+ function setShippingInfo2(req, opts) {
1190
+ return wixCall2("PUT", "/ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}/shipping-info", req, opts, { pathFields: ["draftSubscriptionContractId"] });
1191
+ }
1192
+
1193
+ // ../../stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.ts
1194
+ var ecommerceSettings_generated_exports = {};
1195
+ __export(ecommerceSettings_generated_exports, {
1196
+ getEcommerceSettings: () => getEcommerceSettings
1197
+ });
1198
+ function getEcommerceSettings(req = {}, opts) {
1199
+ return wixCall2("GET", "/_api/ecommerce-settings/v1/ecommerce-settings", req, opts, { query: true });
1200
+ }
1201
+
1202
+ // ../../stdlib/wix-sdk-auto/ecom/giftVouchers.generated.ts
1203
+ var giftVouchers_generated_exports = {};
1204
+ __export(giftVouchers_generated_exports, {
1205
+ getGiftCard: () => getGiftCard,
1206
+ redeemGiftCard: () => redeemGiftCard,
1207
+ voidTransaction: () => voidTransaction
1208
+ });
1209
+ function getGiftCard(req, opts) {
1210
+ return wixCall2("POST", "/ecom/v1/gift-cards/{code}", req, opts, { pathFields: ["code"] });
1211
+ }
1212
+ function redeemGiftCard(req = {}, opts) {
1213
+ return wixCall2("POST", "/ecom/v1/gift-cards/redeem", req, opts);
1214
+ }
1215
+ function voidTransaction(req = {}, opts) {
1216
+ return wixCall2("POST", "/ecom/v1/gift-cards/void", req, opts);
1217
+ }
1218
+
1219
+ // ../../stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.ts
1220
+ var localDeliveryOptions_generated_exports = {};
1221
+ __export(localDeliveryOptions_generated_exports, {
1222
+ listLocalDeliveryOptions: () => listLocalDeliveryOptions
1223
+ });
1224
+ function listLocalDeliveryOptions(req = {}, opts) {
1225
+ return wixCall2("GET", "/stores/v1/localDeliveryOptions", req, opts, { query: true });
1226
+ }
1227
+
1228
+ // ../../stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.ts
1229
+ var manualTaxMappings_generated_exports = {};
1230
+ __export(manualTaxMappings_generated_exports, {
1231
+ bulkAssignExemptOverrides: () => bulkAssignExemptOverrides,
1232
+ bulkCreateManualTaxMappings: () => bulkCreateManualTaxMappings,
1233
+ bulkUnassignExemptOverrides: () => bulkUnassignExemptOverrides,
1234
+ createManualTaxMapping: () => createManualTaxMapping,
1235
+ deleteManualTaxMapping: () => deleteManualTaxMapping,
1236
+ getManualTaxMapping: () => getManualTaxMapping,
1237
+ listManualTaxMappings: () => listManualTaxMappings,
1238
+ queryManualTaxMappings: () => queryManualTaxMappings,
1239
+ updateExtendedFields: () => updateExtendedFields3,
1240
+ updateManualTaxMapping: () => updateManualTaxMapping
1241
+ });
1242
+ function bulkAssignExemptOverrides(req = {}, opts) {
1243
+ return wixCall2("POST", "/billing/v1/manual-tax-mappings/bulk-assign-exempt-overrides", req, opts);
1244
+ }
1245
+ function bulkCreateManualTaxMappings(req = {}, opts) {
1246
+ return wixCall2("POST", "/billing/v1/bulk/manual-tax-mappings/create", req, opts);
1247
+ }
1248
+ function bulkUnassignExemptOverrides(req = {}, opts) {
1249
+ return wixCall2("POST", "/billing/v1/manual-tax-mappings/bulk-unassign-exempt-overrides", req, opts);
1250
+ }
1251
+ function createManualTaxMapping(req = {}, opts) {
1252
+ return wixCall2("POST", "/billing/v1/manual-tax-mappings", req, opts);
1253
+ }
1254
+ function deleteManualTaxMapping(req, opts) {
1255
+ return wixCall2("DELETE", "/billing/v1/manual-tax-mappings/{manualTaxMappingId}", req, opts, { pathFields: ["manualTaxMappingId"], query: true });
1256
+ }
1257
+ function getManualTaxMapping(req, opts) {
1258
+ return wixCall2("GET", "/billing/v1/manual-tax-mappings/{manualTaxMappingId}", req, opts, { pathFields: ["manualTaxMappingId"], query: true });
1259
+ }
1260
+ function listManualTaxMappings(req = {}, opts) {
1261
+ return wixCall2("GET", "/billing/v1/manual-tax-mappings", req, opts, { query: true });
1262
+ }
1263
+ function queryManualTaxMappings(req = {}, opts) {
1264
+ return wixCall2("POST", "/billing/v1/manual-tax-mappings/query", req, opts);
1265
+ }
1266
+ function updateExtendedFields3(req, opts) {
1267
+ return wixCall2("POST", "/billing/v1/manual-tax-mappings/{id}/update-extended-fields", req, opts, { pathFields: ["id"] });
1268
+ }
1269
+ function updateManualTaxMapping(req, opts) {
1270
+ return wixCall2("PATCH", "/billing/v1/manual-tax-mappings/{manualTaxMappingId}", req, opts, { pathFields: ["manualTaxMapping.id"] });
1271
+ }
1272
+
1273
+ // ../../stdlib/wix-sdk-auto/ecom/orderBilling.generated.ts
1274
+ var orderBilling_generated_exports = {};
1275
+ __export(orderBilling_generated_exports, {
1276
+ authorizeChargeWithSavedPaymentMethod: () => authorizeChargeWithSavedPaymentMethod,
1277
+ calculateRefund: () => calculateRefund,
1278
+ captureAuthorizedPayments: () => captureAuthorizedPayments,
1279
+ chargeMemberships: () => chargeMemberships,
1280
+ chargeOrder: () => chargeOrder,
1281
+ generateReceipts: () => generateReceipts,
1282
+ getOrderRefundability: () => getOrderRefundability,
1283
+ redeemGiftCard: () => redeemGiftCard2,
1284
+ refundPayments: () => refundPayments2,
1285
+ voidAuthorizedPayments: () => voidAuthorizedPayments,
1286
+ voidMemberships: () => voidMemberships
1287
+ });
1288
+ function authorizeChargeWithSavedPaymentMethod(req = {}, opts) {
1289
+ return wixCall2("POST", "/ecom/v1/order-billing/authorize-charge-with-saved-payment-method", req, opts);
1290
+ }
1291
+ function calculateRefund(req = {}, opts) {
1292
+ return wixCall2("POST", "/ecom/v1/order-billing/calculate-refund", req, opts);
1293
+ }
1294
+ function captureAuthorizedPayments(req = {}, opts) {
1295
+ return wixCall2("POST", "/ecom/v1/order-billing/capture-authorized-payments", req, opts);
1296
+ }
1297
+ function chargeMemberships(req = {}, opts) {
1298
+ return wixCall2("POST", "/ecom/v1/order-billing/charge-memberships", req, opts);
1299
+ }
1300
+ function chargeOrder(req = {}, opts) {
1301
+ return wixCall2("POST", "/ecom/v1/order-billing/charge-order", req, opts);
1302
+ }
1303
+ function generateReceipts(req = {}, opts) {
1304
+ return wixCall2("POST", "/ecom/v1/order-billing/generate-receipts", req, opts);
1305
+ }
1306
+ function getOrderRefundability(req = {}, opts) {
1307
+ return wixCall2("POST", "/ecom/v1/order-billing/get-order-refundability", req, opts);
1308
+ }
1309
+ function redeemGiftCard2(req = {}, opts) {
1310
+ return wixCall2("POST", "/ecom/v1/order-billing/redeem-gift-card", req, opts);
1311
+ }
1312
+ function refundPayments2(req = {}, opts) {
1313
+ return wixCall2("POST", "/ecom/v1/order-billing/refund-payments", req, opts);
1314
+ }
1315
+ function voidAuthorizedPayments(req = {}, opts) {
1316
+ return wixCall2("POST", "/ecom/v1/order-billing/void-authorized-payments", req, opts);
1317
+ }
1318
+ function voidMemberships(req = {}, opts) {
1319
+ return wixCall2("POST", "/ecom/v1/order-billing/void-memberships", req, opts);
1320
+ }
1321
+
1322
+ // ../../stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.ts
1323
+ var orderFulfillments_generated_exports = {};
1324
+ __export(orderFulfillments_generated_exports, {
1325
+ bulkCreateFulfillments: () => bulkCreateFulfillments,
1326
+ createFulfillment: () => createFulfillment,
1327
+ deleteFulfillment: () => deleteFulfillment,
1328
+ listFulfillmentsForMultipleOrders: () => listFulfillmentsForMultipleOrders,
1329
+ listFulfillmentsForSingleOrder: () => listFulfillmentsForSingleOrder,
1330
+ updateFulfillment: () => updateFulfillment
1331
+ });
1332
+ function bulkCreateFulfillments(req = {}, opts) {
1333
+ return wixCall2("POST", "/ecom/v1/fulfillments/orders/bulk/create-fulfillments", req, opts);
1334
+ }
1335
+ function createFulfillment(req, opts) {
1336
+ return wixCall2("POST", "/ecom/v1/fulfillments/orders/{orderId}/create-fulfillment", req, opts, { pathFields: ["orderId"] });
1337
+ }
1338
+ function deleteFulfillment(req, opts) {
1339
+ return wixCall2("DELETE", "/ecom/v1/fulfillments/{fulfillmentId}/orders/{orderId}", req, opts, { pathFields: ["fulfillmentId", "orderId"], query: true });
1340
+ }
1341
+ function listFulfillmentsForMultipleOrders(req = {}, opts) {
1342
+ return wixCall2("POST", "/ecom/v1/fulfillments/list-by-ids", req, opts);
1343
+ }
1344
+ function listFulfillmentsForSingleOrder(req, opts) {
1345
+ return wixCall2("GET", "/ecom/v1/fulfillments/orders/{orderId}", req, opts, { pathFields: ["orderId"], query: true });
1346
+ }
1347
+ function updateFulfillment(req, opts) {
1348
+ return wixCall2("PATCH", "/ecom/v1/fulfillments/{fulfillmentId}/orders/{orderId}", req, opts, { pathFields: ["fulfillment.id", "orderId"] });
1349
+ }
1350
+
1351
+ // ../../stdlib/wix-sdk-auto/ecom/orderInvoices.generated.ts
1352
+ var orderInvoices_generated_exports = {};
1353
+ __export(orderInvoices_generated_exports, {
1354
+ addInvoiceToOrder: () => addInvoiceToOrder,
1355
+ bulkGenerateInvoices: () => bulkGenerateInvoices,
1356
+ generateInvoice: () => generateInvoice,
1357
+ listInvoicesForMultipleOrders: () => listInvoicesForMultipleOrders
1358
+ });
1359
+ function addInvoiceToOrder(req, opts) {
1360
+ return wixCall2("POST", "/ecom/v1/invoices/orders/{orderId}/add-invoice", req, opts, { pathFields: ["orderId"] });
1361
+ }
1362
+ function bulkGenerateInvoices(req = {}, opts) {
1363
+ return wixCall2("POST", "/ecom/v1/bulk/invoices/generate", req, opts);
1364
+ }
1365
+ function generateInvoice(req, opts) {
1366
+ return wixCall2("POST", "/ecom/v1/invoices/orders/{orderId}", req, opts, { pathFields: ["orderId"] });
1367
+ }
1368
+ function listInvoicesForMultipleOrders(req = {}, opts) {
1369
+ return wixCall2("POST", "/ecom/v1/invoices/list-by-ids", req, opts);
1370
+ }
1371
+
1372
+ // ../../stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.ts
1373
+ var orderPaymentRequests_generated_exports = {};
1374
+ __export(orderPaymentRequests_generated_exports, {
1375
+ chargeOrderPaymentRequest: () => chargeOrderPaymentRequest,
1376
+ createOrderPaymentRequest: () => createOrderPaymentRequest,
1377
+ deleteOrderPaymentRequest: () => deleteOrderPaymentRequest,
1378
+ getOrderPaymentRequest: () => getOrderPaymentRequest,
1379
+ getOrderPaymentRequestUrl: () => getOrderPaymentRequestUrl,
1380
+ queryOrderPaymentRequests: () => queryOrderPaymentRequests,
1381
+ updateExtendedFields: () => updateExtendedFields4,
1382
+ updateOrderPaymentRequest: () => updateOrderPaymentRequest,
1383
+ voidOrderPaymentRequest: () => voidOrderPaymentRequest
1384
+ });
1385
+ function chargeOrderPaymentRequest(req = {}, opts) {
1386
+ return wixCall2("POST", "/ecom/v1/order-payment-requests/charge", req, opts);
1387
+ }
1388
+ function createOrderPaymentRequest(req = {}, opts) {
1389
+ return wixCall2("POST", "/ecom/v1/order-payment-requests", req, opts);
1390
+ }
1391
+ function deleteOrderPaymentRequest(req, opts) {
1392
+ return wixCall2("DELETE", "/ecom/v1/order-payment-requests/{orderPaymentRequestId}", req, opts, { pathFields: ["orderPaymentRequestId"], query: true });
1393
+ }
1394
+ function getOrderPaymentRequest(req, opts) {
1395
+ return wixCall2("GET", "/ecom/v1/order-payment-requests/{orderPaymentRequestId}", req, opts, { pathFields: ["orderPaymentRequestId"], query: true });
1396
+ }
1397
+ function getOrderPaymentRequestUrl(req = {}, opts) {
1398
+ return wixCall2("POST", "/ecom/v1/order-payment-requests/url", req, opts);
1399
+ }
1400
+ function queryOrderPaymentRequests(req = {}, opts) {
1401
+ return wixCall2("POST", "/ecom/v1/order-payment-requests/query", req, opts);
1402
+ }
1403
+ function updateExtendedFields4(req, opts) {
1404
+ return wixCall2("POST", "/ecom/v1/order-payment-requests/{id}/update-extended-fields", req, opts, { pathFields: ["id"] });
1405
+ }
1406
+ function updateOrderPaymentRequest(req, opts) {
1407
+ return wixCall2("PATCH", "/ecom/v1/order-payment-requests/{orderPaymentRequestId}", req, opts, { pathFields: ["orderPaymentRequest.id"] });
1408
+ }
1409
+ function voidOrderPaymentRequest(req = {}, opts) {
1410
+ return wixCall2("POST", "/ecom/v1/order-payment-requests/void", req, opts);
1411
+ }
1412
+
1413
+ // ../../stdlib/wix-sdk-auto/ecom/orderTransactions.generated.ts
1414
+ var orderTransactions_generated_exports = {};
1415
+ __export(orderTransactions_generated_exports, {
1416
+ addPayments: () => addPayments,
1417
+ bulkUpdatePaymentStatuses: () => bulkUpdatePaymentStatuses,
1418
+ listTransactionsForMultipleOrders: () => listTransactionsForMultipleOrders,
1419
+ listTransactionsForSingleOrder: () => listTransactionsForSingleOrder,
1420
+ updatePaymentStatus: () => updatePaymentStatus,
1421
+ updatePayments: () => updatePayments,
1422
+ updateRefundTransaction: () => updateRefundTransaction
1423
+ });
1424
+ function addPayments(req, opts) {
1425
+ return wixCall2("POST", "/ecom/v1/payments/orders/{orderId}/add-payment", req, opts, { pathFields: ["orderId"] });
1426
+ }
1427
+ function bulkUpdatePaymentStatuses(req = {}, opts) {
1428
+ return wixCall2("POST", "/ecom/v1/bulk/payments/update-payment-transaction-status", req, opts);
1429
+ }
1430
+ function listTransactionsForMultipleOrders(req = {}, opts) {
1431
+ return wixCall2("POST", "/ecom/v1/payments/list-by-ids", req, opts);
1432
+ }
1433
+ function listTransactionsForSingleOrder(req, opts) {
1434
+ return wixCall2("GET", "/ecom/v1/payments/orders/{orderId}", req, opts, { pathFields: ["orderId"], query: true });
1435
+ }
1436
+ function updatePaymentStatus(req, opts) {
1437
+ return wixCall2("POST", "/ecom/v1/payments/{paymentId}/orders/{orderId}/update-payment-transaction-status", req, opts, { pathFields: ["paymentId", "orderId"] });
1438
+ }
1439
+ function updatePayments(req, opts) {
1440
+ return wixCall2("POST", "/ecom/v1/payments/orders/{orderId}/update-payments", req, opts, { pathFields: ["orderId"] });
1441
+ }
1442
+ function updateRefundTransaction(req, opts) {
1443
+ return wixCall2("POST", "/ecom/v1/payments/orders/{orderId}/update-refund-transaction", req, opts, { pathFields: ["orderId"] });
1444
+ }
1445
+
1446
+ // ../../stdlib/wix-sdk-auto/ecom/orders.generated.ts
1447
+ var orders_generated_exports = {};
1448
+ __export(orders_generated_exports, {
1449
+ addActivities: () => addActivities,
1450
+ addActivity: () => addActivity,
1451
+ aggregateOrders: () => aggregateOrders,
1452
+ bulkDeleteImportedOrders: () => bulkDeleteImportedOrders,
1453
+ bulkUpdateOrderTags: () => bulkUpdateOrderTags,
1454
+ bulkUpdateOrders: () => bulkUpdateOrders,
1455
+ cancelOrder: () => cancelOrder2,
1456
+ captureAuthorizedPayments: () => captureAuthorizedPayments2,
1457
+ chargeMemberships: () => chargeMemberships2,
1458
+ createOrder: () => createOrder3,
1459
+ deleteActivity: () => deleteActivity,
1460
+ getOrder: () => getOrder2,
1461
+ getPaymentCollectabilityStatus: () => getPaymentCollectabilityStatus,
1462
+ getRefundabilityStatus: () => getRefundabilityStatus,
1463
+ importOrder: () => importOrder,
1464
+ paymentCollectionCreatePaymentGatewayOrder: () => paymentCollectionCreatePaymentGatewayOrder,
1465
+ paymentCollectionMarkOrderAsPaid: () => paymentCollectionMarkOrderAsPaid,
1466
+ preparePaymentCollection: () => preparePaymentCollection,
1467
+ recordManuallyCollectedPayment: () => recordManuallyCollectedPayment,
1468
+ searchOrders: () => searchOrders2,
1469
+ setOrderNumberCounter: () => setOrderNumberCounter,
1470
+ triggerRefund: () => triggerRefund,
1471
+ updateActivity: () => updateActivity,
1472
+ updateOrder: () => updateOrder,
1473
+ updateOrderLineItem: () => updateOrderLineItem,
1474
+ updateOrderStatus: () => updateOrderStatus,
1475
+ voidAuthorizedPayments: () => voidAuthorizedPayments2
1476
+ });
1477
+ function addActivities(req, opts) {
1478
+ return wixCall2("POST", "/ecom/v1/orders/{orderId}/activities/add", req, opts, { pathFields: ["orderId"] });
1479
+ }
1480
+ function addActivity(req, opts) {
1481
+ return wixCall2("POST", "/ecom/v1/orders/{id}/activities", req, opts, { pathFields: ["id"] });
1482
+ }
1483
+ function aggregateOrders(req = {}, opts) {
1484
+ return wixCall2("POST", "/ecom/v1/orders/aggregate", req, opts);
1485
+ }
1486
+ function bulkDeleteImportedOrders(req = {}, opts) {
1487
+ return wixCall2("POST", "/ecom/v1/orders/import/bulk-delete-imported-orders", req, opts);
1488
+ }
1489
+ function bulkUpdateOrderTags(req = {}, opts) {
1490
+ return wixCall2("POST", "/ecom/v1/bulk/orders/update-tags", req, opts);
1491
+ }
1492
+ function bulkUpdateOrders(req = {}, opts) {
1493
+ return wixCall2("POST", "/ecom/v1/bulk/orders/update", req, opts);
1494
+ }
1495
+ function cancelOrder2(req, opts) {
1496
+ return wixCall2("POST", "/ecom/v1/orders/{id}/cancel", req, opts, { pathFields: ["id"] });
1497
+ }
1498
+ function captureAuthorizedPayments2(req, opts) {
1499
+ return wixCall2("POST", "/ecom/v1/payments-collector/orders/{ecomOrderId}/capture-authorized-payments", req, opts, { pathFields: ["ecomOrderId"] });
1500
+ }
1501
+ function chargeMemberships2(req, opts) {
1502
+ return wixCall2("POST", "/ecom/v1/payments-collector/orders/{ecomOrderId}/charge-membership", req, opts, { pathFields: ["ecomOrderId"] });
1503
+ }
1504
+ function createOrder3(req = {}, opts) {
1505
+ return wixCall2("POST", "/ecom/v1/orders", req, opts);
1506
+ }
1507
+ function deleteActivity(req, opts) {
1508
+ return wixCall2("DELETE", "/ecom/v1/orders/{id}/activities/{activityId}", req, opts, { pathFields: ["id", "activityId"], query: true });
1509
+ }
1510
+ function getOrder2(req, opts) {
1511
+ return wixCall2("GET", "/ecom/v1/orders/{id}", req, opts, { pathFields: ["id"], query: true });
1512
+ }
1513
+ function getPaymentCollectabilityStatus(req, opts) {
1514
+ return wixCall2("GET", "/ecom/v1/payments-collector/orders/{ecomOrderId}/payment-collectability-status", req, opts, { pathFields: ["ecomOrderId"], query: true });
1515
+ }
1516
+ function getRefundabilityStatus(req, opts) {
1517
+ return wixCall2("GET", "/ecom/v1/payments-collector/orders/{ecomOrderId}/refundability", req, opts, { pathFields: ["ecomOrderId"], query: true });
1518
+ }
1519
+ function importOrder(req = {}, opts) {
1520
+ return wixCall2("POST", "/ecom/v1/orders/import", req, opts);
1521
+ }
1522
+ function paymentCollectionCreatePaymentGatewayOrder(req, opts) {
1523
+ return wixCall2("POST", "/ecom/v1/payments-collector/orders/{ecomOrderId}/create-payment-gateway-order", req, opts, { pathFields: ["ecomOrderId"] });
1524
+ }
1525
+ function paymentCollectionMarkOrderAsPaid(req, opts) {
1526
+ return wixCall2("POST", "/ecom/v1/payments-collector/orders/{ecomOrderId}/mark-as-paid", req, opts, { pathFields: ["ecomOrderId"] });
1527
+ }
1528
+ function preparePaymentCollection(req, opts) {
1529
+ return wixCall2("POST", "/ecom/v1/payments-collector/orders/{ecomOrderId}/prepare-payment-collection", req, opts, { pathFields: ["ecomOrderId"] });
1530
+ }
1531
+ function recordManuallyCollectedPayment(req, opts) {
1532
+ return wixCall2("POST", "/ecom/v1/payments-collector/orders/{orderId}/manual-payment", req, opts, { pathFields: ["orderId"] });
1533
+ }
1534
+ function searchOrders2(req = {}, opts) {
1535
+ return wixCall2("POST", "/ecom/v1/orders/search", req, opts);
1536
+ }
1537
+ function setOrderNumberCounter(req = {}, opts) {
1538
+ return wixCall2("POST", "/ecom/v1/orders/import/set-order-number-counter", req, opts);
1539
+ }
1540
+ function triggerRefund(req, opts) {
1541
+ return wixCall2("POST", "/ecom/v1/payments-collector/orders/{ecomOrderId}/trigger-refund", req, opts, { pathFields: ["ecomOrderId"] });
1542
+ }
1543
+ function updateActivity(req, opts) {
1544
+ return wixCall2("PATCH", "/ecom/v1/orders/{id}/activities/{activityId}", req, opts, { pathFields: ["id", "activityId"] });
1545
+ }
1546
+ function updateOrder(req, opts) {
1547
+ return wixCall2("PATCH", "/ecom/v1/orders/{orderId}", req, opts, { pathFields: ["order.id"] });
1548
+ }
1549
+ function updateOrderLineItem(req, opts) {
1550
+ return wixCall2("PATCH", "/ecom/v1/orders/{id}/line-item/{lineItemId}", req, opts, { pathFields: ["id", "lineItem.id"] });
1551
+ }
1552
+ function updateOrderStatus(req, opts) {
1553
+ return wixCall2("POST", "/ecom/v1/orders/{orderId}/update-status", req, opts, { pathFields: ["orderId"] });
1554
+ }
1555
+ function voidAuthorizedPayments2(req, opts) {
1556
+ return wixCall2("POST", "/ecom/v1/payments-collector/orders/{ecomOrderId}/void-authorized-payments", req, opts, { pathFields: ["ecomOrderId"] });
1557
+ }
1558
+
1559
+ // ../../stdlib/wix-sdk-auto/ecom/ordersSettings.generated.ts
1560
+ var ordersSettings_generated_exports = {};
1561
+ __export(ordersSettings_generated_exports, {
1562
+ getOrdersSettings: () => getOrdersSettings,
1563
+ updateOrdersSettings: () => updateOrdersSettings
1564
+ });
1565
+ function getOrdersSettings(req = {}, opts) {
1566
+ return wixCall2("GET", "/ecom/v1/orders-settings", req, opts, { query: true });
1567
+ }
1568
+ function updateOrdersSettings(req = {}, opts) {
1569
+ return wixCall2("PATCH", "/ecom/v1/orders-settings", req, opts);
1570
+ }
1571
+
1572
+ // ../../stdlib/wix-sdk-auto/ecom/recommendations.generated.ts
1573
+ var recommendations_generated_exports = {};
1574
+ __export(recommendations_generated_exports, {
1575
+ getRecommendation: () => getRecommendation,
1576
+ listAvailableAlgorithms: () => listAvailableAlgorithms
1577
+ });
1578
+ function getRecommendation(req = {}, opts) {
1579
+ return wixCall2("POST", "/ecom/v1/recommendations/get", req, opts);
1580
+ }
1581
+ function listAvailableAlgorithms(req = {}, opts) {
1582
+ return wixCall2("GET", "/ecom/v1/recommendations/algorithms", req, opts, { query: true });
1583
+ }
1584
+
1585
+ // ../../stdlib/wix-sdk-auto/ecom/shippingOptions.generated.ts
1586
+ var shippingOptions_generated_exports = {};
1587
+ __export(shippingOptions_generated_exports, {
1588
+ addDeliveryRegion: () => addDeliveryRegion2,
1589
+ createShippingOption: () => createShippingOption,
1590
+ deleteShippingOption: () => deleteShippingOption,
1591
+ getShippingOption: () => getShippingOption,
1592
+ queryShippingOptions: () => queryShippingOptions,
1593
+ removeDeliveryRegion: () => removeDeliveryRegion2,
1594
+ updateExtendedFields: () => updateExtendedFields5,
1595
+ updateShippingOption: () => updateShippingOption
1596
+ });
1597
+ function addDeliveryRegion2(req, opts) {
1598
+ return wixCall2("POST", "/ecom/v1/shipping-options/{shippingOptionId}/add-delivery-region", req, opts, { pathFields: ["shippingOptionId"] });
1599
+ }
1600
+ function createShippingOption(req = {}, opts) {
1601
+ return wixCall2("POST", "/ecom/v1/shipping-options", req, opts);
1602
+ }
1603
+ function deleteShippingOption(req, opts) {
1604
+ return wixCall2("DELETE", "/ecom/v1/shipping-options/{shippingOptionId}", req, opts, { pathFields: ["shippingOptionId"], query: true });
1605
+ }
1606
+ function getShippingOption(req, opts) {
1607
+ return wixCall2("GET", "/ecom/v1/shipping-options/{shippingOptionId}", req, opts, { pathFields: ["shippingOptionId"], query: true });
1608
+ }
1609
+ function queryShippingOptions(req = {}, opts) {
1610
+ return wixCall2("POST", "/ecom/v1/shipping-options/query", req, opts);
1611
+ }
1612
+ function removeDeliveryRegion2(req, opts) {
1613
+ return wixCall2("POST", "/ecom/v1/shipping-options/{shippingOptionId}/remove-delivery-region", req, opts, { pathFields: ["shippingOptionId"] });
1614
+ }
1615
+ function updateExtendedFields5(req, opts) {
1616
+ return wixCall2("POST", "/ecom/v1/shipping-options/{id}/update-extended-fields", req, opts, { pathFields: ["id"] });
1617
+ }
1618
+ function updateShippingOption(req, opts) {
1619
+ return wixCall2("PATCH", "/ecom/v1/shipping-options/{shippingOptionId}", req, opts, { pathFields: ["shippingOption.id"] });
1620
+ }
1621
+
1622
+ // ../../stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.ts
1623
+ var shippoConfigurations_generated_exports = {};
1624
+ __export(shippoConfigurations_generated_exports, {
1625
+ addDeliveryRegion: () => addDeliveryRegion3,
1626
+ createShippoConfiguration: () => createShippoConfiguration,
1627
+ deleteShippoConfiguration: () => deleteShippoConfiguration,
1628
+ getShippoConfiguration: () => getShippoConfiguration,
1629
+ queryShippoConfigurations: () => queryShippoConfigurations,
1630
+ removeDeliveryRegion: () => removeDeliveryRegion3,
1631
+ updateExtendedFields: () => updateExtendedFields6,
1632
+ updateShippoConfiguration: () => updateShippoConfiguration
1633
+ });
1634
+ function addDeliveryRegion3(req, opts) {
1635
+ return wixCall2("POST", "/ecom/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions", req, opts, { pathFields: ["shippoConfigurationId"] });
1636
+ }
1637
+ function createShippoConfiguration(req = {}, opts) {
1638
+ return wixCall2("POST", "/ecom/v1/shippo-configurations", req, opts);
1639
+ }
1640
+ function deleteShippoConfiguration(req, opts) {
1641
+ return wixCall2("DELETE", "/ecom/v1/shippo-configurations/{shippoConfigurationId}", req, opts, { pathFields: ["shippoConfigurationId"], query: true });
1642
+ }
1643
+ function getShippoConfiguration(req, opts) {
1644
+ return wixCall2("GET", "/ecom/v1/shippo-configurations/{shippoConfigurationId}", req, opts, { pathFields: ["shippoConfigurationId"], query: true });
1645
+ }
1646
+ function queryShippoConfigurations(req = {}, opts) {
1647
+ return wixCall2("POST", "/ecom/v1/shippo-configurations/query", req, opts);
1648
+ }
1649
+ function removeDeliveryRegion3(req, opts) {
1650
+ return wixCall2("DELETE", "/ecom/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions/{deliveryRegionId}", req, opts, { pathFields: ["shippoConfigurationId", "deliveryRegionId"], query: true });
1651
+ }
1652
+ function updateExtendedFields6(req, opts) {
1653
+ return wixCall2("POST", "/ecom/v1/shippo-configurations/{id}/update-extended-fields", req, opts, { pathFields: ["id"] });
1654
+ }
1655
+ function updateShippoConfiguration(req, opts) {
1656
+ return wixCall2("PATCH", "/ecom/v1/shippo-configurations/{shippoConfigurationId}", req, opts, { pathFields: ["shippoConfiguration.id"] });
1657
+ }
1658
+
1659
+ // ../../stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.ts
1660
+ var subscriptionContracts_generated_exports = {};
1661
+ __export(subscriptionContracts_generated_exports, {
1662
+ getSubscriptionContract: () => getSubscriptionContract,
1663
+ querySubscriptionContracts: () => querySubscriptionContracts
1664
+ });
1665
+ function getSubscriptionContract(req, opts) {
1666
+ return wixCall2("GET", "/ecom/subscription-contracts/v1/subscription-contracts/{subscriptionContractId}", req, opts, { pathFields: ["subscriptionContractId"], query: true });
1667
+ }
1668
+ function querySubscriptionContracts(req = {}, opts) {
1669
+ return wixCall2("POST", "/ecom/subscription-contracts/v1/subscription-contracts/query", req, opts);
1670
+ }
1671
+
1672
+ // ../../stdlib/wix-sdk-auto/ecom/taxCalculation.generated.ts
1673
+ var taxCalculation_generated_exports = {};
1674
+ __export(taxCalculation_generated_exports, {
1675
+ calculateTax: () => calculateTax,
1676
+ listTaxCalculators: () => listTaxCalculators
1677
+ });
1678
+ function calculateTax(req = {}, opts) {
1679
+ return wixCall2("POST", "/billing/v1/calculate-tax", req, opts);
1680
+ }
1681
+ function listTaxCalculators(req = {}, opts) {
1682
+ return wixCall2("GET", "/billing/v1/list-tax-calculators", req, opts, { query: true });
1683
+ }
1684
+
1685
+ // ../../stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.ts
1686
+ var taxExemptGroups_generated_exports = {};
1687
+ __export(taxExemptGroups_generated_exports, {
1688
+ bulkCreateTaxExemptGroups: () => bulkCreateTaxExemptGroups,
1689
+ bulkDeleteTaxExemptGroups: () => bulkDeleteTaxExemptGroups,
1690
+ bulkUpdateTaxExemptGroupTags: () => bulkUpdateTaxExemptGroupTags,
1691
+ bulkUpdateTaxExemptGroupTagsByFilter: () => bulkUpdateTaxExemptGroupTagsByFilter,
1692
+ bulkUpdateTaxExemptGroups: () => bulkUpdateTaxExemptGroups,
1693
+ createTaxExemptGroup: () => createTaxExemptGroup,
1694
+ deleteTaxExemptGroup: () => deleteTaxExemptGroup,
1695
+ getTaxExemptGroup: () => getTaxExemptGroup,
1696
+ listDefaultTaxExemptGroups: () => listDefaultTaxExemptGroups,
1697
+ queryTaxExemptGroups: () => queryTaxExemptGroups,
1698
+ updateTaxExemptGroup: () => updateTaxExemptGroup
1699
+ });
1700
+ function bulkCreateTaxExemptGroups(req = {}, opts) {
1701
+ return wixCall2("POST", "/billing/v1/bulk/tax-exempt-groups/create", req, opts);
1702
+ }
1703
+ function bulkDeleteTaxExemptGroups(req = {}, opts) {
1704
+ return wixCall2("POST", "/billing/v1/bulk/tax-exempt-groups/delete", req, opts);
1705
+ }
1706
+ function bulkUpdateTaxExemptGroupTags(req = {}, opts) {
1707
+ return wixCall2("POST", "/billing/v1/bulk/tax-exempt-groups/update-tags", req, opts);
1708
+ }
1709
+ function bulkUpdateTaxExemptGroupTagsByFilter(req = {}, opts) {
1710
+ return wixCall2("POST", "/billing/v1/bulk/tax-exempt-groups/update-tags-by-filter", req, opts);
1711
+ }
1712
+ function bulkUpdateTaxExemptGroups(req = {}, opts) {
1713
+ return wixCall2("POST", "/billing/v1/bulk/tax-exempt-groups/update", req, opts);
1714
+ }
1715
+ function createTaxExemptGroup(req = {}, opts) {
1716
+ return wixCall2("POST", "/billing/v1/tax-exempt-groups", req, opts);
1717
+ }
1718
+ function deleteTaxExemptGroup(req, opts) {
1719
+ return wixCall2("DELETE", "/billing/v1/tax-exempt-groups/{taxExemptGroupId}", req, opts, { pathFields: ["taxExemptGroupId"], query: true });
1720
+ }
1721
+ function getTaxExemptGroup(req, opts) {
1722
+ return wixCall2("GET", "/billing/v1/tax-exempt-groups/{taxExemptGroupId}", req, opts, { pathFields: ["taxExemptGroupId"], query: true });
1723
+ }
1724
+ function listDefaultTaxExemptGroups(req = {}, opts) {
1725
+ return wixCall2("GET", "/billing/v1/tax-exempt-groups/default-tax-exempt-groups", req, opts, { query: true });
1726
+ }
1727
+ function queryTaxExemptGroups(req = {}, opts) {
1728
+ return wixCall2("POST", "/billing/v1/tax-exempt-groups/query", req, opts);
1729
+ }
1730
+ function updateTaxExemptGroup(req, opts) {
1731
+ return wixCall2("PATCH", "/billing/v1/tax-exempt-groups/{taxExemptGroupId}", req, opts, { pathFields: ["taxExemptGroup.id"] });
1732
+ }
1733
+
1734
+ // ../../stdlib/wix-sdk-auto/ecom/taxGroups.generated.ts
1735
+ var taxGroups_generated_exports = {};
1736
+ __export(taxGroups_generated_exports, {
1737
+ createTaxGroup: () => createTaxGroup,
1738
+ deleteTaxGroup: () => deleteTaxGroup,
1739
+ getTaxGroup: () => getTaxGroup,
1740
+ listDefaultTaxGroups: () => listDefaultTaxGroups,
1741
+ listDefaultTaxGroupsByAppIds: () => listDefaultTaxGroupsByAppIds,
1742
+ queryTaxGroups: () => queryTaxGroups,
1743
+ updateTaxGroup: () => updateTaxGroup
1744
+ });
1745
+ function createTaxGroup(req = {}, opts) {
1746
+ return wixCall2("POST", "/billing/v1/tax-groups", req, opts);
1747
+ }
1748
+ function deleteTaxGroup(req, opts) {
1749
+ return wixCall2("DELETE", "/billing/v1/tax-groups/{taxGroupId}", req, opts, { pathFields: ["taxGroupId"], query: true });
1750
+ }
1751
+ function getTaxGroup(req, opts) {
1752
+ return wixCall2("GET", "/billing/v1/tax-groups/{taxGroupId}", req, opts, { pathFields: ["taxGroupId"], query: true });
1753
+ }
1754
+ function listDefaultTaxGroups(req = {}, opts) {
1755
+ return wixCall2("GET", "/billing/v1/tax-groups/default-tax-groups", req, opts, { query: true });
1756
+ }
1757
+ function listDefaultTaxGroupsByAppIds(req = {}, opts) {
1758
+ return wixCall2("POST", "/billing/v1/tax-groups/list-default-tax-groups-by-app-ids", req, opts);
1759
+ }
1760
+ function queryTaxGroups(req = {}, opts) {
1761
+ return wixCall2("POST", "/billing/v1/tax-groups/query", req, opts);
1762
+ }
1763
+ function updateTaxGroup(req, opts) {
1764
+ return wixCall2("PATCH", "/billing/v1/tax-groups/{taxGroupId}", req, opts, { pathFields: ["taxGroup.id"] });
1765
+ }
1766
+
1767
+ // ../../stdlib/wix-sdk-auto/ecom/taxRegions.generated.ts
1768
+ var taxRegions_generated_exports = {};
1769
+ __export(taxRegions_generated_exports, {
1770
+ bulkCreateTaxRegion: () => bulkCreateTaxRegion,
1771
+ createTaxRegion: () => createTaxRegion,
1772
+ deleteTaxRegion: () => deleteTaxRegion,
1773
+ getTaxRegion: () => getTaxRegion,
1774
+ queryTaxRegions: () => queryTaxRegions,
1775
+ updateTaxRegion: () => updateTaxRegion
1776
+ });
1777
+ function bulkCreateTaxRegion(req = {}, opts) {
1778
+ return wixCall2("POST", "/billing/v1/bulk/tax-regions/create", req, opts);
1779
+ }
1780
+ function createTaxRegion(req = {}, opts) {
1781
+ return wixCall2("POST", "/billing/v1/tax-regions", req, opts);
1782
+ }
1783
+ function deleteTaxRegion(req, opts) {
1784
+ return wixCall2("DELETE", "/billing/v1/tax-regions/{taxRegionId}", req, opts, { pathFields: ["taxRegionId"], query: true });
1785
+ }
1786
+ function getTaxRegion(req, opts) {
1787
+ return wixCall2("GET", "/billing/v1/tax-regions/{taxRegionId}", req, opts, { pathFields: ["taxRegionId"], query: true });
1788
+ }
1789
+ function queryTaxRegions(req = {}, opts) {
1790
+ return wixCall2("POST", "/billing/v1/tax-regions/query", req, opts);
1791
+ }
1792
+ function updateTaxRegion(req, opts) {
1793
+ return wixCall2("PATCH", "/billing/v1/tax-regions/{taxRegionId}", req, opts, { pathFields: ["taxRegion.id"] });
1794
+ }
1795
+
1796
+ // ../../stdlib/wix-sdk-auto/ecom/taxSettings.generated.ts
1797
+ var taxSettings_generated_exports = {};
1798
+ __export(taxSettings_generated_exports, {
1799
+ getTaxSettings: () => getTaxSettings,
1800
+ upsertTaxSettings: () => upsertTaxSettings
1801
+ });
1802
+ function getTaxSettings(req = {}, opts) {
1803
+ return wixCall2("GET", "/billing/v1/tax-settings", req, opts, { query: true });
1804
+ }
1805
+ function upsertTaxSettings(req = {}, opts) {
1806
+ return wixCall2("POST", "/billing/v1/tax-settings", req, opts);
1807
+ }
1808
+
1809
+ // ../../stdlib/wix-sdk-auto/ecom/tipSettings.generated.ts
1810
+ var tipSettings_generated_exports = {};
1811
+ __export(tipSettings_generated_exports, {
1812
+ createDefaultTipSettings: () => createDefaultTipSettings,
1813
+ createTipSettings: () => createTipSettings,
1814
+ deleteTipSettings: () => deleteTipSettings,
1815
+ queryTipSettings: () => queryTipSettings,
1816
+ updateTipSettings: () => updateTipSettings
1817
+ });
1818
+ function createDefaultTipSettings(req = {}, opts) {
1819
+ return wixCall2("POST", "/tip-settings/v1/tip-settings/create-default", req, opts);
1820
+ }
1821
+ function createTipSettings(req = {}, opts) {
1822
+ return wixCall2("POST", "/tip-settings/v1/tip-settings", req, opts);
1823
+ }
1824
+ function deleteTipSettings(req, opts) {
1825
+ return wixCall2("DELETE", "/tip-settings/v1/tip-settings/{tipSettingsId}", req, opts, { pathFields: ["tipSettingsId"], query: true });
1826
+ }
1827
+ function queryTipSettings(req = {}, opts) {
1828
+ return wixCall2("POST", "/tip-settings/v1/tip-settings/query", req, opts);
1829
+ }
1830
+ function updateTipSettings(req = {}, opts) {
1831
+ return wixCall2("PATCH", "/tip-settings/v1/tip-settings", req, opts);
1832
+ }
1833
+
1834
+ // ../../stdlib/wix-sdk-auto/ecom/tippableStaff.generated.ts
1835
+ var tippableStaff_generated_exports = {};
1836
+ __export(tippableStaff_generated_exports, {
1837
+ listTippableStaff: () => listTippableStaff
1838
+ });
1839
+ function listTippableStaff(req = {}, opts) {
1840
+ return wixCall2("GET", "/tips-staff/v1/eligible-staff", req, opts, { query: true });
1841
+ }
1842
+
1843
+ // ../../stdlib/wix-sdk-auto/ecom/tips.generated.ts
1844
+ var tips_generated_exports = {};
1845
+ __export(tips_generated_exports, {
1846
+ addTipDistributionsToOrder: () => addTipDistributionsToOrder,
1847
+ getTipByDraftOrderId: () => getTipByDraftOrderId,
1848
+ getTipByOrderId: () => getTipByOrderId,
1849
+ getTipChoice: () => getTipChoice,
1850
+ previewTip: () => previewTip,
1851
+ queryTipDistributions: () => queryTipDistributions,
1852
+ removeTipFromOrder: () => removeTipFromOrder,
1853
+ setTipOnOrder: () => setTipOnOrder,
1854
+ sumTipDistributionAmounts: () => sumTipDistributionAmounts,
1855
+ updateTipChoice: () => updateTipChoice
1856
+ });
1857
+ function addTipDistributionsToOrder(req = {}, opts) {
1858
+ return wixCall2("POST", "/tips/v1/tips/tip-distributions/add", req, opts);
1859
+ }
1860
+ function getTipByDraftOrderId(req, opts) {
1861
+ return wixCall2("GET", "/tips/v1/tips/draft-order/{draftOrderId}", req, opts, { pathFields: ["draftOrderId"], query: true });
1862
+ }
1863
+ function getTipByOrderId(req, opts) {
1864
+ return wixCall2("GET", "/tips/v1/tips/order/{orderId}", req, opts, { pathFields: ["orderId"], query: true });
1865
+ }
1866
+ function getTipChoice(req, opts) {
1867
+ return wixCall2("GET", "/tips/v1/tips/choice/{purchaseFlowId}", req, opts, { pathFields: ["purchaseFlowId"], query: true });
1868
+ }
1869
+ function previewTip(req = {}, opts) {
1870
+ return wixCall2("POST", "/tips/v1/tips/preview", req, opts);
1871
+ }
1872
+ function queryTipDistributions(req = {}, opts) {
1873
+ return wixCall2("POST", "/tips/v1/tips/tip-distributions/query", req, opts);
1874
+ }
1875
+ function removeTipFromOrder(req = {}, opts) {
1876
+ return wixCall2("POST", "/tips/v1/tips/remove", req, opts);
1877
+ }
1878
+ function setTipOnOrder(req = {}, opts) {
1879
+ return wixCall2("POST", "/tips/v1/tips/set", req, opts);
1880
+ }
1881
+ function sumTipDistributionAmounts(req = {}, opts) {
1882
+ return wixCall2("POST", "/tips/v1/tips/tip-distributions/sum-amounts", req, opts);
1883
+ }
1884
+ function updateTipChoice(req = {}, opts) {
1885
+ return wixCall2("PATCH", "/tips/v1/tips/choice", req, opts);
1886
+ }
1887
+
1888
+ // ../../stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.ts
1889
+ var totalsCalculator_generated_exports = {};
1890
+ __export(totalsCalculator_generated_exports, {
1891
+ calculateTotals: () => calculateTotals
1892
+ });
1893
+ function calculateTotals(req = {}, opts) {
1894
+ return wixCall2("POST", "/ecom/v1/calculate-totals", req, opts);
1895
+ }
1896
+
1897
+ // ../../stdlib/wix-sdk-auto/ecom/wishlists.generated.ts
1898
+ var wishlists_generated_exports = {};
1899
+ __export(wishlists_generated_exports, {
1900
+ addItem: () => addItem,
1901
+ getDefaultWishlist: () => getDefaultWishlist2,
1902
+ removeItem: () => removeItem
1903
+ });
1904
+ function addItem(req = {}, opts) {
1905
+ return wixCall2("POST", "/ecom/v1/wishlists/add-item", req, opts);
1906
+ }
1907
+ function getDefaultWishlist2(req = {}, opts) {
1908
+ return wixCall2("GET", "/ecom/v1/wishlists/get-default", req, opts, { query: true });
1909
+ }
1910
+ function removeItem(req = {}, opts) {
1911
+ return wixCall2("POST", "/ecom/v1/wishlists/remove-item", req, opts);
1912
+ }
294
1913
  export {
1914
+ abandonedCheckouts_generated_exports as abandonedCheckouts,
295
1915
  addCouponToCurrentCart,
296
1916
  addLineItemsToCurrentCartV2,
297
1917
  addToCurrentCart,
298
1918
  addWishlistItem,
299
1919
  archiveOrder,
1920
+ backInStockNotifications_generated_exports as backInStockNotifications,
1921
+ backInStockSettings_generated_exports as backInStockSettings,
300
1922
  calculateCurrentCart,
301
1923
  cancelOrder,
1924
+ cart_generated_exports as cart,
1925
+ cartV2_generated_exports as cartV2,
1926
+ checkout_generated_exports as checkout,
1927
+ checkoutContent_generated_exports as checkoutContent,
1928
+ checkoutSettings_generated_exports as checkoutSettings,
1929
+ checkoutTemplates_generated_exports as checkoutTemplates,
1930
+ contactTaxDetails_generated_exports as contactTaxDetails,
302
1931
  createCheckout,
303
1932
  createCheckoutFromCurrentCart,
304
1933
  createMemberAddress,
305
1934
  createOrder,
306
1935
  createOrderFulfillment,
1936
+ currencies_generated_exports as currencies,
1937
+ currentCart_generated_exports as currentCart,
1938
+ currentCartV2_generated_exports as currentCartV2,
307
1939
  deleteMemberAddress,
308
1940
  deleteSavedPaymentMethod,
1941
+ deliveryProfile_generated_exports as deliveryProfile,
1942
+ deliverySolutions_generated_exports as deliverySolutions,
1943
+ discountRules_generated_exports as discountRules,
1944
+ discountsCustomTrigger_generated_exports as discountsCustomTrigger,
1945
+ draftOrders_generated_exports as draftOrders,
1946
+ draftSubscriptionContracts_generated_exports as draftSubscriptionContracts,
309
1947
  ecomApplicationErrorCode,
1948
+ ecommerceSettings_generated_exports as ecommerceSettings,
310
1949
  estimateCurrentCartV2,
311
1950
  getCurrentCart,
312
1951
  getCurrentCartV2,
@@ -314,14 +1953,25 @@ export {
314
1953
  getDefaultWishlist,
315
1954
  getMemberAddress,
316
1955
  getOrder,
1956
+ giftVouchers_generated_exports as giftVouchers,
317
1957
  isEmptyCurrentCartError,
318
1958
  isOrdersForbiddenError,
319
1959
  listMemberAddresses,
320
1960
  listMySavedPaymentMethods,
321
1961
  listOrderTransactions,
1962
+ localDeliveryOptions_generated_exports as localDeliveryOptions,
1963
+ manualTaxMappings_generated_exports as manualTaxMappings,
322
1964
  markOrderAsPaid,
323
1965
  markSavedPaymentMethodPrimary,
324
1966
  memberAddressFieldMask,
1967
+ orderBilling_generated_exports as orderBilling,
1968
+ orderFulfillments_generated_exports as orderFulfillments,
1969
+ orderInvoices_generated_exports as orderInvoices,
1970
+ orderPaymentRequests_generated_exports as orderPaymentRequests,
1971
+ orderTransactions_generated_exports as orderTransactions,
1972
+ orders_generated_exports as orders,
1973
+ ordersSettings_generated_exports as ordersSettings,
1974
+ recommendations_generated_exports as recommendations,
325
1975
  refundPayments,
326
1976
  removeCouponFromCurrentCart,
327
1977
  removeLineItemsFromCurrentCart,
@@ -330,10 +1980,23 @@ export {
330
1980
  searchOrders,
331
1981
  setDefaultMemberAddress,
332
1982
  setDeliveryMethodForCurrentCartV2,
1983
+ shippingOptions_generated_exports as shippingOptions,
1984
+ shippoConfigurations_generated_exports as shippoConfigurations,
1985
+ subscriptionContracts_generated_exports as subscriptionContracts,
1986
+ taxCalculation_generated_exports as taxCalculation,
1987
+ taxExemptGroups_generated_exports as taxExemptGroups,
1988
+ taxGroups_generated_exports as taxGroups,
1989
+ taxRegions_generated_exports as taxRegions,
1990
+ taxSettings_generated_exports as taxSettings,
1991
+ tipSettings_generated_exports as tipSettings,
1992
+ tippableStaff_generated_exports as tippableStaff,
1993
+ tips_generated_exports as tips,
1994
+ totalsCalculator_generated_exports as totalsCalculator,
333
1995
  updateCurrentCartV2DeliveryAddress,
334
1996
  updateLineItemsInCurrentCartV2,
335
1997
  updateLineItemsQuantity,
336
1998
  updateMemberAddress,
1999
+ wishlists_generated_exports as wishlists,
337
2000
  wixCall
338
2001
  };
339
2002
  //# sourceMappingURL=wix-ecom.mjs.map