@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
@@ -0,0 +1,286 @@
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
+
7
+ // ../../stdlib/wix-sdk-auto/calendar/conferencing.generated.ts
8
+ var conferencing_generated_exports = {};
9
+ __export(conferencing_generated_exports, {
10
+ connect: () => connect,
11
+ createConference: () => createConference,
12
+ deleteConference: () => deleteConference,
13
+ getConference: () => getConference,
14
+ listConnections: () => listConnections,
15
+ listProviders: () => listProviders,
16
+ markConnectionAsDisconnected: () => markConnectionAsDisconnected,
17
+ updateConference: () => updateConference
18
+ });
19
+
20
+ // ../../stdlib/wix-sdk-auto/_shared/runtime.generated.ts
21
+ function wixQueryPath(path, req) {
22
+ const parts = [];
23
+ const pair = (key, value) => {
24
+ parts.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
25
+ };
26
+ const add = (key, value) => {
27
+ if (value === void 0 || value === null) return;
28
+ if (Array.isArray(value)) {
29
+ for (const item of value) {
30
+ if (item === void 0 || item === null || typeof item === "object") continue;
31
+ pair(key, item);
32
+ }
33
+ return;
34
+ }
35
+ if (typeof value === "object") {
36
+ for (const [k, v] of Object.entries(value)) add(`${key}.${k}`, v);
37
+ return;
38
+ }
39
+ pair(key, value);
40
+ };
41
+ for (const [key, value] of Object.entries(req ?? {})) add(key, value);
42
+ return parts.length > 0 ? `${path}?${parts.join("&")}` : path;
43
+ }
44
+ function readField(req, field) {
45
+ let value = req;
46
+ for (const key of field.split(".")) {
47
+ if (value === null || typeof value !== "object") return void 0;
48
+ value = value[key];
49
+ }
50
+ return value;
51
+ }
52
+ function restFieldMasks(req) {
53
+ if (req === null || typeof req !== "object") return req;
54
+ if (Array.isArray(req)) {
55
+ let changed = false;
56
+ const items = req.map((item) => {
57
+ const next = restFieldMasks(item);
58
+ if (next !== item) changed = true;
59
+ return next;
60
+ });
61
+ return changed ? items : req;
62
+ }
63
+ let out;
64
+ for (const [key, value] of Object.entries(req)) {
65
+ let next = value;
66
+ if ((key === "fieldMask" || key === "mask") && Array.isArray(value) && value.every((v) => typeof v === "string")) next = value.join(",");
67
+ else if (value !== null && typeof value === "object") next = restFieldMasks(value);
68
+ if (next !== value) (out ?? (out = { ...req }))[key] = next;
69
+ }
70
+ return out ?? req;
71
+ }
72
+ function withoutFields(req, fields) {
73
+ if (fields.length === 0 || req === null || typeof req !== "object") return req;
74
+ const out = { ...req };
75
+ for (const field of fields) {
76
+ const dot = field.indexOf(".");
77
+ const head = dot < 0 ? field : field.slice(0, dot);
78
+ if (!(head in out)) continue;
79
+ if (dot < 0) delete out[head];
80
+ else out[head] = withoutFields(out[head], [field.slice(dot + 1)]);
81
+ }
82
+ return out;
83
+ }
84
+ function wixCall(verb, template, req, opts, route = {}) {
85
+ return send(verb, template, req, opts, route, false);
86
+ }
87
+ function send(verb, template, req, opts, route, queue) {
88
+ const api = globalThis.himalaya?.wixApi;
89
+ if (!api) return Promise.reject(new Error("@himalaya/wix-*: host did not install the wixApi bridge"));
90
+ const fields = route.pathFields ?? [];
91
+ let path;
92
+ try {
93
+ let i = 0;
94
+ path = template.replace(/\{[^}]+\}/g, () => {
95
+ const field = fields[i++];
96
+ const value = field === void 0 ? void 0 : readField(req, field);
97
+ if (value === void 0 || value === null || value === "") {
98
+ throw new Error(`${verb} ${template}: request field ${field ?? "(unmapped)"} is required`);
99
+ }
100
+ return encodeURIComponent(String(value));
101
+ });
102
+ } catch (err) {
103
+ return Promise.reject(err);
104
+ }
105
+ const site = opts?.site?.trim();
106
+ const headers = site ? { "wix-site-id": site } : void 0;
107
+ const wire = restFieldMasks(req);
108
+ const target = route.query ? wixQueryPath(path, withoutFields(wire, fields)) : path;
109
+ const body = route.query ? void 0 : wire;
110
+ const readShaped = verb === "GET" || verb === "HEAD" || verb === "POST" && /\/(query|query-cursor|search|list|count)(?:\?|$)/i.test(target.split("#")[0]);
111
+ if (readShaped && (opts?.cache || opts?.onCacheResult)) {
112
+ if (!api.read) return Promise.reject(new Error("READ_LIFECYCLE_UNSUPPORTED: update the Himalaya runtime"));
113
+ return api.read(verb, target, body, headers, { cache: opts.cache ?? "default" }).then((result) => {
114
+ opts.onCacheResult?.(result.cache);
115
+ return result.data;
116
+ });
117
+ }
118
+ if (opts?.cache === "only-if-cached") return Promise.reject(new Error("OFFLINE_CACHE_MISS"));
119
+ if (!queue) return api.call(verb, target, body, headers);
120
+ if (!api.offline) return api.call(verb, target, body, headers).then((value) => ({ status: "sent", value }));
121
+ return api.call(verb, target, body, headers, { offline: "queue" });
122
+ }
123
+
124
+ // ../../stdlib/wix-sdk-auto/calendar/conferencing.generated.ts
125
+ function connect(req = {}, opts) {
126
+ return wixCall("POST", "/calendar/v3/conferences/v1/connections/connect", req, opts);
127
+ }
128
+ function createConference(req = {}, opts) {
129
+ return wixCall("POST", "/calendar/v3/conferences/v1/conferences", req, opts);
130
+ }
131
+ function deleteConference(req, opts) {
132
+ return wixCall("DELETE", "/calendar/v3/conferences/v1/conferences/{conferenceId}", req, opts, { pathFields: ["conferenceId"], query: true });
133
+ }
134
+ function getConference(req, opts) {
135
+ return wixCall("GET", "/calendar/v3/conferences/v1/conferences/{conferenceId}", req, opts, { pathFields: ["conferenceId"], query: true });
136
+ }
137
+ function listConnections(req = {}, opts) {
138
+ return wixCall("GET", "/calendar/v3/conferences/v1/connections", req, opts, { query: true });
139
+ }
140
+ function listProviders(req = {}, opts) {
141
+ return wixCall("GET", "/calendar/v3/conferences/v1/providers", req, opts, { query: true });
142
+ }
143
+ function markConnectionAsDisconnected(req = {}, opts) {
144
+ return wixCall("POST", "/calendar/v3/conferences/v1/connections/mark-as-disconnected", req, opts);
145
+ }
146
+ function updateConference(req, opts) {
147
+ return wixCall("PATCH", "/calendar/v3/conferences/v1/conferences/{conferenceId}", req, opts, { pathFields: ["conference.id"] });
148
+ }
149
+
150
+ // ../../stdlib/wix-sdk-auto/calendar/eventViews.generated.ts
151
+ var eventViews_generated_exports = {};
152
+ __export(eventViews_generated_exports, {
153
+ getEventsView: () => getEventsView
154
+ });
155
+ function getEventsView(req = {}, opts) {
156
+ return wixCall("GET", "/calendar/v3/events/view", req, opts, { query: true });
157
+ }
158
+
159
+ // ../../stdlib/wix-sdk-auto/calendar/events.generated.ts
160
+ var events_generated_exports = {};
161
+ __export(events_generated_exports, {
162
+ bulkCancelEvent: () => bulkCancelEvent,
163
+ bulkCreateEvent: () => bulkCreateEvent,
164
+ bulkUpdateEvent: () => bulkUpdateEvent,
165
+ cancelEvent: () => cancelEvent,
166
+ createEvent: () => createEvent,
167
+ getEvent: () => getEvent,
168
+ listEvents: () => listEvents,
169
+ listEventsByContactId: () => listEventsByContactId,
170
+ listEventsByMemberId: () => listEventsByMemberId,
171
+ queryEvents: () => queryEvents,
172
+ restoreEventDefaults: () => restoreEventDefaults,
173
+ splitRecurringEvent: () => splitRecurringEvent,
174
+ updateEvent: () => updateEvent
175
+ });
176
+ function bulkCancelEvent(req = {}, opts) {
177
+ return wixCall("POST", "/calendar/v3/bulk/events/cancel", req, opts);
178
+ }
179
+ function bulkCreateEvent(req = {}, opts) {
180
+ return wixCall("POST", "/calendar/v3/bulk/events/create", req, opts);
181
+ }
182
+ function bulkUpdateEvent(req = {}, opts) {
183
+ return wixCall("POST", "/calendar/v3/bulk/events/update", req, opts);
184
+ }
185
+ function cancelEvent(req, opts) {
186
+ return wixCall("POST", "/calendar/v3/events/{eventId}/cancel", req, opts, { pathFields: ["eventId"] });
187
+ }
188
+ function createEvent(req = {}, opts) {
189
+ return wixCall("POST", "/calendar/v3/events", req, opts);
190
+ }
191
+ function getEvent(req, opts) {
192
+ return wixCall("GET", "/calendar/v3/events/{eventId}", req, opts, { pathFields: ["eventId"], query: true });
193
+ }
194
+ function listEvents(req = {}, opts) {
195
+ return wixCall("GET", "/calendar/v3/events", req, opts, { query: true });
196
+ }
197
+ function listEventsByContactId(req, opts) {
198
+ return wixCall("GET", "/calendar/v3/events/contactId/{contactId}", req, opts, { pathFields: ["contactId"], query: true });
199
+ }
200
+ function listEventsByMemberId(req, opts) {
201
+ return wixCall("GET", "/calendar/v3/events/memberId/{memberId}", req, opts, { pathFields: ["memberId"], query: true });
202
+ }
203
+ function queryEvents(req = {}, opts) {
204
+ return wixCall("POST", "/calendar/v3/events/query", req, opts);
205
+ }
206
+ function restoreEventDefaults(req, opts) {
207
+ return wixCall("POST", "/calendar/v3/events/{eventId}/restore-defaults", req, opts, { pathFields: ["eventId"] });
208
+ }
209
+ function splitRecurringEvent(req, opts) {
210
+ return wixCall("POST", "/calendar/v3/events/{recurringEventId}/split", req, opts, { pathFields: ["recurringEventId"] });
211
+ }
212
+ function updateEvent(req, opts) {
213
+ return wixCall("PATCH", "/calendar/v3/events/{eventId}", req, opts, { pathFields: ["event.id"] });
214
+ }
215
+
216
+ // ../../stdlib/wix-sdk-auto/calendar/participations.generated.ts
217
+ var participations_generated_exports = {};
218
+ __export(participations_generated_exports, {
219
+ createParticipation: () => createParticipation,
220
+ deleteParticipation: () => deleteParticipation,
221
+ getParticipation: () => getParticipation,
222
+ queryParticipations: () => queryParticipations,
223
+ updateParticipation: () => updateParticipation
224
+ });
225
+ function createParticipation(req = {}, opts) {
226
+ return wixCall("POST", "/calendar/v3/participations", req, opts);
227
+ }
228
+ function deleteParticipation(req, opts) {
229
+ return wixCall("DELETE", "/calendar/v3/participations/{participationId}", req, opts, { pathFields: ["participationId"], query: true });
230
+ }
231
+ function getParticipation(req, opts) {
232
+ return wixCall("GET", "/calendar/v3/participations/{participationId}", req, opts, { pathFields: ["participationId"], query: true });
233
+ }
234
+ function queryParticipations(req = {}, opts) {
235
+ return wixCall("POST", "/calendar/v3/participations/query", req, opts);
236
+ }
237
+ function updateParticipation(req, opts) {
238
+ return wixCall("PATCH", "/calendar/v3/participations/{participationId}", req, opts, { pathFields: ["participation.id"] });
239
+ }
240
+
241
+ // ../../stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.ts
242
+ var scheduleTimeFrames_generated_exports = {};
243
+ __export(scheduleTimeFrames_generated_exports, {
244
+ getScheduleTimeFrame: () => getScheduleTimeFrame,
245
+ listScheduleTimeFrames: () => listScheduleTimeFrames
246
+ });
247
+ function getScheduleTimeFrame(req, opts) {
248
+ return wixCall("GET", "/calendar/v3/schedules/timeframe/{id}", req, opts, { pathFields: ["id"], query: true });
249
+ }
250
+ function listScheduleTimeFrames(req = {}, opts) {
251
+ return wixCall("GET", "/calendar/v3/schedules/timeframe", req, opts, { query: true });
252
+ }
253
+
254
+ // ../../stdlib/wix-sdk-auto/calendar/schedules.generated.ts
255
+ var schedules_generated_exports = {};
256
+ __export(schedules_generated_exports, {
257
+ cancelSchedule: () => cancelSchedule,
258
+ createSchedule: () => createSchedule,
259
+ getSchedule: () => getSchedule,
260
+ querySchedules: () => querySchedules,
261
+ updateSchedule: () => updateSchedule
262
+ });
263
+ function cancelSchedule(req, opts) {
264
+ return wixCall("POST", "/calendar/v3/schedules/{scheduleId}/cancel", req, opts, { pathFields: ["scheduleId"] });
265
+ }
266
+ function createSchedule(req = {}, opts) {
267
+ return wixCall("POST", "/calendar/v3/schedules", req, opts);
268
+ }
269
+ function getSchedule(req, opts) {
270
+ return wixCall("GET", "/calendar/v3/schedules/{scheduleId}", req, opts, { pathFields: ["scheduleId"], query: true });
271
+ }
272
+ function querySchedules(req = {}, opts) {
273
+ return wixCall("POST", "/calendar/v3/schedules/query", req, opts);
274
+ }
275
+ function updateSchedule(req, opts) {
276
+ return wixCall("PATCH", "/calendar/v3/schedules/{scheduleId}", req, opts, { pathFields: ["schedule.id"] });
277
+ }
278
+ export {
279
+ conferencing_generated_exports as conferencing,
280
+ eventViews_generated_exports as eventViews,
281
+ events_generated_exports as events,
282
+ participations_generated_exports as participations,
283
+ scheduleTimeFrames_generated_exports as scheduleTimeFrames,
284
+ schedules_generated_exports as schedules
285
+ };
286
+ //# sourceMappingURL=wix-calendar.mjs.map
@@ -572,6 +572,26 @@ function readField(req, field) {
572
572
  }
573
573
  return value;
574
574
  }
575
+ function restFieldMasks(req) {
576
+ if (req === null || typeof req !== "object") return req;
577
+ if (Array.isArray(req)) {
578
+ let changed = false;
579
+ const items = req.map((item) => {
580
+ const next = restFieldMasks(item);
581
+ if (next !== item) changed = true;
582
+ return next;
583
+ });
584
+ return changed ? items : req;
585
+ }
586
+ let out;
587
+ for (const [key, value] of Object.entries(req)) {
588
+ let next = value;
589
+ if ((key === "fieldMask" || key === "mask") && Array.isArray(value) && value.every((v) => typeof v === "string")) next = value.join(",");
590
+ else if (value !== null && typeof value === "object") next = restFieldMasks(value);
591
+ if (next !== value) (out ?? (out = { ...req }))[key] = next;
592
+ }
593
+ return out ?? req;
594
+ }
575
595
  function withoutFields(req, fields) {
576
596
  if (fields.length === 0 || req === null || typeof req !== "object") return req;
577
597
  const out = { ...req };
@@ -607,8 +627,9 @@ function send(verb, template, req, opts, route, queue) {
607
627
  }
608
628
  const site = opts?.site?.trim();
609
629
  const headers = site ? { "wix-site-id": site } : void 0;
610
- const target = route.query ? wixQueryPath2(path, withoutFields(req, fields)) : path;
611
- const body = route.query ? void 0 : req;
630
+ const wire = restFieldMasks(req);
631
+ const target = route.query ? wixQueryPath2(path, withoutFields(wire, fields)) : path;
632
+ const body = route.query ? void 0 : wire;
612
633
  const readShaped = verb === "GET" || verb === "HEAD" || verb === "POST" && /\/(query|query-cursor|search|list|count)(?:\?|$)/i.test(target.split("#")[0]);
613
634
  if (readShaped && (opts?.cache || opts?.onCacheResult)) {
614
635
  if (!api.read) return Promise.reject(new Error("READ_LIFECYCLE_UNSUPPORTED: update the Himalaya runtime"));