@wix/himalaya-cli 0.1899.0 → 0.1901.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 (324) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +4 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/app-info/src/index.d.ts +1 -1
  3. package/dist/browser-plane/assets.json +5 -5
  4. package/dist/browser-plane/preview-deferred/{3c8ce407707a87e172345007371329f9c47e65e182a1e2ff617b7f75e6bb95ab.bin → e8580dd7946999b652493628a07600d2e5a0c7864cc0a8a807b8a20903f0698d.bin} +1 -1
  5. package/dist/browser-plane/sw.js +9 -9
  6. package/dist/cli.mjs +75775 -74157
  7. package/dist/preview-assets.generated.bin +0 -0
  8. package/guides/ads.md +92 -0
  9. package/guides/himi-json-output.md +37 -2
  10. package/guides/index.json +6 -0
  11. package/package.json +2 -2
  12. package/templates/beauty-salon/dev/index.ts +2 -1
  13. package/templates/beauty-salon/l10n/ar.json +5 -0
  14. package/templates/beauty-salon/l10n/cs.json +5 -0
  15. package/templates/beauty-salon/l10n/da.json +5 -0
  16. package/templates/beauty-salon/l10n/de.json +5 -0
  17. package/templates/beauty-salon/l10n/el.json +5 -0
  18. package/templates/beauty-salon/l10n/es.json +5 -0
  19. package/templates/beauty-salon/l10n/fi.json +5 -0
  20. package/templates/beauty-salon/l10n/fr.json +5 -0
  21. package/templates/beauty-salon/l10n/he.json +4 -0
  22. package/templates/beauty-salon/l10n/hu.json +5 -0
  23. package/templates/beauty-salon/l10n/id.json +5 -0
  24. package/templates/beauty-salon/l10n/it.json +5 -0
  25. package/templates/beauty-salon/l10n/ja.json +5 -0
  26. package/templates/beauty-salon/l10n/ko.json +5 -0
  27. package/templates/beauty-salon/l10n/lt.json +5 -0
  28. package/templates/beauty-salon/l10n/nl.json +5 -0
  29. package/templates/beauty-salon/l10n/no.json +5 -0
  30. package/templates/beauty-salon/l10n/pl.json +5 -0
  31. package/templates/beauty-salon/l10n/pt.json +5 -0
  32. package/templates/beauty-salon/l10n/ru.json +5 -0
  33. package/templates/beauty-salon/l10n/sv.json +5 -0
  34. package/templates/beauty-salon/l10n/th.json +5 -0
  35. package/templates/beauty-salon/l10n/tr.json +5 -0
  36. package/templates/beauty-salon/l10n/uk.json +5 -0
  37. package/templates/beauty-salon/l10n/vi.json +5 -0
  38. package/templates/beauty-salon/l10n/zh.json +5 -0
  39. package/templates/beauty-salon/tier5-src/_shared/pricing-plan-display.ts +39 -0
  40. package/templates/beauty-salon/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  41. package/templates/beauty-salon/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  42. package/templates/beauty-salon-owner/config.ts +32 -1
  43. package/templates/beauty-salon-owner/dev/index.ts +565 -1
  44. package/templates/beauty-salon-owner/himalaya.content.json +3 -0
  45. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  46. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  47. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  48. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  49. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  50. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  51. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  52. package/templates/beauty-salon-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  53. package/templates/branded-lite/dev/index.ts +2 -1
  54. package/templates/branded-lite/l10n/ar.json +5 -0
  55. package/templates/branded-lite/l10n/cs.json +5 -0
  56. package/templates/branded-lite/l10n/da.json +5 -0
  57. package/templates/branded-lite/l10n/de.json +5 -0
  58. package/templates/branded-lite/l10n/el.json +5 -0
  59. package/templates/branded-lite/l10n/es.json +5 -0
  60. package/templates/branded-lite/l10n/fi.json +5 -0
  61. package/templates/branded-lite/l10n/fr.json +5 -0
  62. package/templates/branded-lite/l10n/he.json +4 -0
  63. package/templates/branded-lite/l10n/hu.json +5 -0
  64. package/templates/branded-lite/l10n/id.json +5 -0
  65. package/templates/branded-lite/l10n/it.json +5 -0
  66. package/templates/branded-lite/l10n/ja.json +5 -0
  67. package/templates/branded-lite/l10n/ko.json +5 -0
  68. package/templates/branded-lite/l10n/lt.json +5 -0
  69. package/templates/branded-lite/l10n/nl.json +5 -0
  70. package/templates/branded-lite/l10n/no.json +5 -0
  71. package/templates/branded-lite/l10n/pl.json +5 -0
  72. package/templates/branded-lite/l10n/pt.json +5 -0
  73. package/templates/branded-lite/l10n/ru.json +5 -0
  74. package/templates/branded-lite/l10n/sv.json +5 -0
  75. package/templates/branded-lite/l10n/th.json +5 -0
  76. package/templates/branded-lite/l10n/tr.json +5 -0
  77. package/templates/branded-lite/l10n/uk.json +5 -0
  78. package/templates/branded-lite/l10n/vi.json +5 -0
  79. package/templates/branded-lite/l10n/zh.json +5 -0
  80. package/templates/branded-lite/recipes/events-inline.json +2 -2
  81. package/templates/branded-lite/recipes/subscriptions-list.json +2 -1
  82. package/templates/branded-lite/tier5-src/_shared/my-subscriptions-section.ts +6 -8
  83. package/templates/branded-lite/tier5-src/_shared/pricing-plan-display.ts +39 -0
  84. package/templates/branded-lite/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  85. package/templates/branded-lite/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  86. package/templates/brandy/dev/member-screens.ts +4 -2
  87. package/templates/brandy/tier5-src/_shared/pricing-plan-display.ts +39 -0
  88. package/templates/brandy/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  89. package/templates/brandy/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  90. package/templates/community-club-owner/config.ts +32 -1
  91. package/templates/community-club-owner/dev/index.ts +538 -1
  92. package/templates/community-club-owner/himalaya.content.json +3 -0
  93. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  94. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  95. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  96. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  97. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  98. package/templates/community-club-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  99. package/templates/community-club-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  100. package/templates/events-meetups-owner/config.ts +32 -1
  101. package/templates/events-meetups-owner/dev/index.ts +511 -1
  102. package/templates/events-meetups-owner/himalaya.content.json +3 -0
  103. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  104. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  105. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  106. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  107. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  108. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  109. package/templates/fitness-gym/dev/index.ts +2 -1
  110. package/templates/fitness-gym/tier5-src/_shared/pricing-plan-display.ts +39 -0
  111. package/templates/fitness-gym/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  112. package/templates/fitness-gym/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  113. package/templates/gym-fitness/dev/index.ts +2 -1
  114. package/templates/gym-fitness/l10n/ar.json +5 -0
  115. package/templates/gym-fitness/l10n/cs.json +5 -0
  116. package/templates/gym-fitness/l10n/da.json +5 -0
  117. package/templates/gym-fitness/l10n/de.json +5 -0
  118. package/templates/gym-fitness/l10n/el.json +5 -0
  119. package/templates/gym-fitness/l10n/es.json +5 -0
  120. package/templates/gym-fitness/l10n/fi.json +5 -0
  121. package/templates/gym-fitness/l10n/fr.json +5 -0
  122. package/templates/gym-fitness/l10n/he.json +4 -0
  123. package/templates/gym-fitness/l10n/hu.json +5 -0
  124. package/templates/gym-fitness/l10n/id.json +5 -0
  125. package/templates/gym-fitness/l10n/it.json +5 -0
  126. package/templates/gym-fitness/l10n/ja.json +5 -0
  127. package/templates/gym-fitness/l10n/ko.json +5 -0
  128. package/templates/gym-fitness/l10n/lt.json +5 -0
  129. package/templates/gym-fitness/l10n/nl.json +5 -0
  130. package/templates/gym-fitness/l10n/no.json +5 -0
  131. package/templates/gym-fitness/l10n/pl.json +5 -0
  132. package/templates/gym-fitness/l10n/pt.json +5 -0
  133. package/templates/gym-fitness/l10n/ru.json +5 -0
  134. package/templates/gym-fitness/l10n/sv.json +5 -0
  135. package/templates/gym-fitness/l10n/th.json +5 -0
  136. package/templates/gym-fitness/l10n/tr.json +5 -0
  137. package/templates/gym-fitness/l10n/uk.json +5 -0
  138. package/templates/gym-fitness/l10n/vi.json +5 -0
  139. package/templates/gym-fitness/l10n/zh.json +5 -0
  140. package/templates/gym-fitness/tier5-src/_shared/pricing-plan-display.ts +39 -0
  141. package/templates/gym-fitness/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  142. package/templates/gym-fitness/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  143. package/templates/gym-fitness-owner/config.ts +32 -1
  144. package/templates/gym-fitness-owner/dev/index.ts +565 -1
  145. package/templates/gym-fitness-owner/himalaya.content.json +3 -0
  146. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  147. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  148. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  149. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  150. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  151. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  152. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  153. package/templates/gym-fitness-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  154. package/templates/nonprofit-cause/dev/index.ts +2 -1
  155. package/templates/nonprofit-cause/l10n/ar.json +5 -0
  156. package/templates/nonprofit-cause/l10n/cs.json +5 -0
  157. package/templates/nonprofit-cause/l10n/da.json +5 -0
  158. package/templates/nonprofit-cause/l10n/de.json +5 -0
  159. package/templates/nonprofit-cause/l10n/el.json +5 -0
  160. package/templates/nonprofit-cause/l10n/es.json +5 -0
  161. package/templates/nonprofit-cause/l10n/fi.json +5 -0
  162. package/templates/nonprofit-cause/l10n/fr.json +5 -0
  163. package/templates/nonprofit-cause/l10n/he.json +4 -0
  164. package/templates/nonprofit-cause/l10n/hu.json +5 -0
  165. package/templates/nonprofit-cause/l10n/id.json +5 -0
  166. package/templates/nonprofit-cause/l10n/it.json +5 -0
  167. package/templates/nonprofit-cause/l10n/ja.json +5 -0
  168. package/templates/nonprofit-cause/l10n/ko.json +5 -0
  169. package/templates/nonprofit-cause/l10n/lt.json +5 -0
  170. package/templates/nonprofit-cause/l10n/nl.json +5 -0
  171. package/templates/nonprofit-cause/l10n/no.json +5 -0
  172. package/templates/nonprofit-cause/l10n/pl.json +5 -0
  173. package/templates/nonprofit-cause/l10n/pt.json +5 -0
  174. package/templates/nonprofit-cause/l10n/ru.json +5 -0
  175. package/templates/nonprofit-cause/l10n/sv.json +5 -0
  176. package/templates/nonprofit-cause/l10n/th.json +5 -0
  177. package/templates/nonprofit-cause/l10n/tr.json +5 -0
  178. package/templates/nonprofit-cause/l10n/uk.json +5 -0
  179. package/templates/nonprofit-cause/l10n/vi.json +5 -0
  180. package/templates/nonprofit-cause/l10n/zh.json +5 -0
  181. package/templates/nonprofit-cause/tier5-src/_shared/pricing-plan-display.ts +39 -0
  182. package/templates/nonprofit-cause/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  183. package/templates/nonprofit-cause/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  184. package/templates/nonprofit-cause-owner/config.ts +32 -1
  185. package/templates/nonprofit-cause-owner/dev/index.ts +538 -1
  186. package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
  187. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  188. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  189. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  190. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  191. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  192. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  193. package/templates/nonprofit-cause-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  194. package/templates/owner-lite/config.ts +32 -1
  195. package/templates/owner-lite/dev/index.ts +565 -1
  196. package/templates/owner-lite/himalaya.content.json +3 -0
  197. package/templates/owner-lite/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  198. package/templates/owner-lite/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  199. package/templates/owner-lite/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  200. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  201. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  202. package/templates/owner-lite/tier5-src/himi-owner-lite-order/index.ts +5 -0
  203. package/templates/owner-lite/tier5-src/himi-owner-lite-record/index.ts +9 -3
  204. package/templates/owner-lite/tier5-src/wix-owner-booking/index.ts +9 -3
  205. package/templates/personal-fitness-trainer/dev/index.ts +2 -1
  206. package/templates/personal-fitness-trainer/tier5-src/_shared/pricing-plan-display.ts +39 -0
  207. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  208. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  209. package/templates/podcast-creator/dev/index.ts +2 -1
  210. package/templates/podcast-creator/l10n/ar.json +5 -0
  211. package/templates/podcast-creator/l10n/cs.json +5 -0
  212. package/templates/podcast-creator/l10n/da.json +5 -0
  213. package/templates/podcast-creator/l10n/de.json +5 -0
  214. package/templates/podcast-creator/l10n/el.json +5 -0
  215. package/templates/podcast-creator/l10n/es.json +5 -0
  216. package/templates/podcast-creator/l10n/fi.json +5 -0
  217. package/templates/podcast-creator/l10n/fr.json +5 -0
  218. package/templates/podcast-creator/l10n/he.json +4 -0
  219. package/templates/podcast-creator/l10n/hu.json +5 -0
  220. package/templates/podcast-creator/l10n/id.json +5 -0
  221. package/templates/podcast-creator/l10n/it.json +5 -0
  222. package/templates/podcast-creator/l10n/ja.json +5 -0
  223. package/templates/podcast-creator/l10n/ko.json +5 -0
  224. package/templates/podcast-creator/l10n/lt.json +5 -0
  225. package/templates/podcast-creator/l10n/nl.json +5 -0
  226. package/templates/podcast-creator/l10n/no.json +5 -0
  227. package/templates/podcast-creator/l10n/pl.json +5 -0
  228. package/templates/podcast-creator/l10n/pt.json +5 -0
  229. package/templates/podcast-creator/l10n/ru.json +5 -0
  230. package/templates/podcast-creator/l10n/sv.json +5 -0
  231. package/templates/podcast-creator/l10n/th.json +5 -0
  232. package/templates/podcast-creator/l10n/tr.json +5 -0
  233. package/templates/podcast-creator/l10n/uk.json +5 -0
  234. package/templates/podcast-creator/l10n/vi.json +5 -0
  235. package/templates/podcast-creator/l10n/zh.json +5 -0
  236. package/templates/podcast-creator/tier5-src/_shared/pricing-plan-display.ts +39 -0
  237. package/templates/podcast-creator/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  238. package/templates/podcast-creator/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  239. package/templates/podcast-creator-owner/config.ts +32 -1
  240. package/templates/podcast-creator-owner/dev/index.ts +538 -1
  241. package/templates/podcast-creator-owner/himalaya.content.json +3 -0
  242. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  243. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  244. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  245. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  246. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  247. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  248. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  249. package/templates/portfolio-creative-owner/config.ts +32 -1
  250. package/templates/portfolio-creative-owner/dev/index.ts +565 -1
  251. package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
  252. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  253. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  254. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  255. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  256. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  257. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  258. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  259. package/templates/portfolio-creative-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  260. package/templates/professional-services/dev/index.ts +2 -1
  261. package/templates/professional-services/tier5-src/_shared/pricing-plan-display.ts +39 -0
  262. package/templates/professional-services/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  263. package/templates/professional-services/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  264. package/templates/restaurant-owner/config.ts +32 -1
  265. package/templates/restaurant-owner/dev/index.ts +565 -1
  266. package/templates/restaurant-owner/himalaya.content.json +3 -0
  267. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  268. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  269. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  270. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  271. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  272. package/templates/restaurant-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  273. package/templates/restaurant-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  274. package/templates/restaurant-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  275. package/templates/retail-store-owner/config.ts +32 -1
  276. package/templates/retail-store-owner/dev/index.ts +538 -1
  277. package/templates/retail-store-owner/himalaya.content.json +3 -0
  278. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  279. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  280. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  281. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  282. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  283. package/templates/retail-store-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  284. package/templates/retail-store-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  285. package/templates/yoga-studio/dev/index.ts +2 -1
  286. package/templates/yoga-studio/l10n/ar.json +5 -0
  287. package/templates/yoga-studio/l10n/cs.json +5 -0
  288. package/templates/yoga-studio/l10n/da.json +5 -0
  289. package/templates/yoga-studio/l10n/de.json +5 -0
  290. package/templates/yoga-studio/l10n/el.json +5 -0
  291. package/templates/yoga-studio/l10n/es.json +5 -0
  292. package/templates/yoga-studio/l10n/fi.json +5 -0
  293. package/templates/yoga-studio/l10n/fr.json +5 -0
  294. package/templates/yoga-studio/l10n/he.json +4 -0
  295. package/templates/yoga-studio/l10n/hu.json +5 -0
  296. package/templates/yoga-studio/l10n/id.json +5 -0
  297. package/templates/yoga-studio/l10n/it.json +5 -0
  298. package/templates/yoga-studio/l10n/ja.json +5 -0
  299. package/templates/yoga-studio/l10n/ko.json +5 -0
  300. package/templates/yoga-studio/l10n/lt.json +5 -0
  301. package/templates/yoga-studio/l10n/nl.json +5 -0
  302. package/templates/yoga-studio/l10n/no.json +5 -0
  303. package/templates/yoga-studio/l10n/pl.json +5 -0
  304. package/templates/yoga-studio/l10n/pt.json +5 -0
  305. package/templates/yoga-studio/l10n/ru.json +5 -0
  306. package/templates/yoga-studio/l10n/sv.json +5 -0
  307. package/templates/yoga-studio/l10n/th.json +5 -0
  308. package/templates/yoga-studio/l10n/tr.json +5 -0
  309. package/templates/yoga-studio/l10n/uk.json +5 -0
  310. package/templates/yoga-studio/l10n/vi.json +5 -0
  311. package/templates/yoga-studio/l10n/zh.json +5 -0
  312. package/templates/yoga-studio/tier5-src/_shared/pricing-plan-display.ts +39 -0
  313. package/templates/yoga-studio/tier5-src/wix-spaces-my-subscriptions/index.ts +5 -5
  314. package/templates/yoga-studio/tier5-src/wix-spaces-subscription-detail/index.ts +3 -2
  315. package/templates/yoga-studio-owner/config.ts +32 -1
  316. package/templates/yoga-studio-owner/dev/index.ts +538 -1
  317. package/templates/yoga-studio-owner/himalaya.content.json +3 -0
  318. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  319. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  320. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  321. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  322. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  323. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  324. package/templates/yoga-studio-owner/tier5-src/wix-owner-booking/index.ts +9 -3
@@ -3266,6 +3266,11 @@
3266
3266
  "translation": "Діє до",
3267
3267
  "origin": "machine"
3268
3268
  },
3269
+ "h_40895070d6bf": {
3270
+ "source": "Valid until canceled",
3271
+ "translation": "Діє до скасування",
3272
+ "origin": "machine"
3273
+ },
3269
3274
  "h_513a2ae3716f": {
3270
3275
  "source": "Subscriptions could not be loaded.",
3271
3276
  "translation": "Не вдалося завантажити підписки.",
@@ -3266,6 +3266,11 @@
3266
3266
  "translation": "Có hiệu lực đến",
3267
3267
  "origin": "machine"
3268
3268
  },
3269
+ "h_40895070d6bf": {
3270
+ "source": "Valid until canceled",
3271
+ "translation": "Có hiệu lực đến khi hủy",
3272
+ "origin": "machine"
3273
+ },
3269
3274
  "h_513a2ae3716f": {
3270
3275
  "source": "Subscriptions could not be loaded.",
3271
3276
  "translation": "Không thể tải các gói đăng ký.",
@@ -3266,6 +3266,11 @@
3266
3266
  "translation": "有效期限至",
3267
3267
  "origin": "machine"
3268
3268
  },
3269
+ "h_40895070d6bf": {
3270
+ "source": "Valid until canceled",
3271
+ "translation": "有效期至取消为止",
3272
+ "origin": "machine"
3273
+ },
3269
3274
  "h_513a2ae3716f": {
3270
3275
  "source": "Subscriptions could not be loaded.",
3271
3276
  "translation": "無法載入訂閱。",
@@ -20,6 +20,45 @@ export function orderDate(value?: string): string {
20
20
  return value && Number.isFinite(Date.parse(value)) ? formatDateMedium(new Date(value)) : "";
21
21
  }
22
22
 
23
+ /**
24
+ * The order is valid until it is canceled: an ACTIVE single-payment order whose purchased pricing says
25
+ * "unlimited" (`singlePaymentUnlimited`) and that has no end, no scheduled end and no billing cycle.
26
+ * Only the order's own pricing decides it; today's plan is never consulted, because it can have changed.
27
+ */
28
+ export function orderOpenEnded(order: WixPlanOrder): boolean {
29
+ if (order.status !== "ACTIVE" || order.endDate || order.earliestEndDate || order.autoRenewCanceled || order.cancellation?.effectiveAt === "NEXT_PAYMENT_DATE") return false;
30
+ const pricing = order.pricing ?? {};
31
+ const details = order.priceDetails ?? {};
32
+ if (pricing.subscription || details.subscription || pricing.singlePaymentForDuration || details.singlePaymentForDuration) return false;
33
+ return pricing.singlePaymentUnlimited === true || details.singlePaymentUnlimited === true;
34
+ }
35
+
36
+ /** One order's validity line on a subscription card: the label, the date after it, and whether the line shows. */
37
+ export interface OrderValidity {
38
+ /** "Valid until" / "Current period ends" / "End date" / "Expired on", or the whole line "Valid until canceled". */
39
+ label: string;
40
+ /** The formatted date; empty for an open-ended order, whose label says it all. */
41
+ date: string;
42
+ /** True when the order says nothing reliable about its validity: the card hides the line. */
43
+ hidden: boolean;
44
+ openEnded: boolean;
45
+ }
46
+
47
+ export function orderValidity(order: WixPlanOrder): OrderValidity {
48
+ // A subscription with no end date but a running billing cycle is "valid" until the cycle ends.
49
+ const periodEnd = !order.earliestEndDate && !order.endDate && order.status === "ACTIVE" && (order.pricing?.subscription ?? order.priceDetails?.subscription)
50
+ ? orderDate(order.currentCycle?.endedDate) : "";
51
+ const date = orderDate(order.earliestEndDate ?? order.endDate) || periodEnd;
52
+ if (!date && orderOpenEnded(order)) {
53
+ return { label: copyParam("mySubscriptions.validUntilCanceled", "Valid until canceled"), date: "", hidden: false, openEnded: true };
54
+ }
55
+ const label = periodEnd ? copyParam("subscriptionDetail.periodEnd", "Current period ends")
56
+ : order.status === "CANCELED" ? copyParam("subscriptionDetail.endDate", "End date")
57
+ : order.status === "ENDED" ? copyParam("mySubscriptions.expiredOn", "Expired on")
58
+ : copyParam("mySubscriptions.validUntil", "Valid until");
59
+ return { label, date, hidden: !date, openEnded: false };
60
+ }
61
+
23
62
  /** The purchased order owns its price; today's plan is never a price fallback. */
24
63
  export function orderPrice(order: WixPlanOrder): string {
25
64
  const cycle = order.currentCycle?.index ?? 1;
@@ -2,12 +2,12 @@ import { defineService } from "@himalaya/state";
2
2
  import { listMyPlanOrders, type WixPlanOrder } from "@himalaya/wix-pricing-plans";
3
3
  import { hostSessionFromGlobal } from "@himalaya/iap";
4
4
  import { memberAccess, assertMemberAccess, memberAccessDenied, memberChanged } from "../_shared/member-access.js";
5
- import { orderDate, orderPrice, orderStatus } from "../_shared/pricing-plan-display.js";
5
+ import { orderPrice, orderStatus, orderValidity } from "../_shared/pricing-plan-display.js";
6
6
  import { descriptionBody } from "../_shared/rich-body.js";
7
7
  import { copyParam, stashCopy } from "../_shared/himi-copy.js";
8
8
  import { isHttp401 } from "../_shared/member-read.js";
9
9
 
10
- interface Row { id: string; name: string; subtitle: string; description: string; price: string; endDate: string; noEndDate: boolean; expired: boolean; dateLabel: string }
10
+ interface Row { id: string; name: string; subtitle: string; description: string; price: string; endDate: string; noEndDate: boolean; openEnded: boolean; expired: boolean; dateLabel: string }
11
11
  interface S {
12
12
  status: string; orders: Row[]; rows: Row[]; allOrders: Row[]; selectedTab: string; nextCursor: string;
13
13
  emptyText: string; hideAccountCta: boolean; noOrders: boolean;
@@ -32,10 +32,10 @@ function project(state: S): S {
32
32
  emptyText: orders.length ? "" : state.selectedTab === "expired" ? copyParam("mySubscriptions.expiredEmpty", "No expired subscriptions") : copyParam("mySubscriptions.activeEmpty", "No active subscriptions") };
33
33
  }
34
34
  function norm(order: WixPlanOrder): Row {
35
- const periodEnd = !order.earliestEndDate && !order.endDate && order.status === "ACTIVE" && (order.pricing?.subscription ?? order.priceDetails?.subscription) ? orderDate(order.currentCycle?.endedDate) : "";
36
- const endDate = orderDate(order.earliestEndDate ?? order.endDate) || periodEnd;
35
+ const validity = orderValidity(order);
37
36
  return { id: order.id, name: order.planName || copyParam("plans.planFallbackName", "Plan"), subtitle: orderStatus(order),
38
- description: descriptionBody(order.planDescription).bodyText, price: orderPrice(order), endDate, noEndDate: !endDate, dateLabel: periodEnd ? copyParam("subscriptionDetail.periodEnd", "Current period ends") : order.status === "CANCELED" ? copyParam("subscriptionDetail.endDate", "End date") : order.status === "ENDED" ? copyParam("mySubscriptions.expiredOn", "Expired on") : copyParam("mySubscriptions.validUntil", "Valid until"),
37
+ description: descriptionBody(order.planDescription).bodyText, price: orderPrice(order),
38
+ endDate: validity.date, noEndDate: validity.hidden, openEnded: validity.openEnded, dateLabel: validity.label,
39
39
  expired: ["ENDED", "CANCELED"].includes(order.status ?? "") };
40
40
  }
41
41
  async function readPage(state: S, reset: boolean): Promise<S | undefined> {
@@ -2,7 +2,7 @@ import { defineService } from "@himalaya/state";
2
2
  import { getMyPlanOrder, requestCancellation, type WixPlanOrder } from "@himalaya/wix-pricing-plans";
3
3
  import { hostSessionFromGlobal } from "@himalaya/iap";
4
4
  import { memberAccess, assertMemberAccess, memberAccessDenied, memberChanged, type MemberAccess } from "../_shared/member-access.js";
5
- import { orderDate, orderPrice, orderStatus, orderFacts } from "../_shared/pricing-plan-display.js";
5
+ import { orderDate, orderPrice, orderStatus, orderFacts, orderOpenEnded } from "../_shared/pricing-plan-display.js";
6
6
  import { presence, presenceAfterError, detailInputId, type PresenceFlags } from "../_shared/detail-presence.js";
7
7
  import { copyParam, copyTemplate, stashCopy } from "../_shared/himi-copy.js";
8
8
 
@@ -34,7 +34,8 @@ function project(o: WixPlanOrder, message = ""): S {
34
34
  const scheduled = Boolean((o.pricing?.subscription ?? o.priceDetails?.subscription) && o.currentCycle?.endedDate && Date.parse(o.currentCycle.endedDate) > Date.now());
35
35
  const renews = o.status === "ACTIVE" && scheduled ? orderDate(o.currentCycle?.endedDate) : "";
36
36
  return { ...initial(), ...presence("found"), status: "ready", notActive: o.status !== "ACTIVE", isActive: o.status === "ACTIVE", name: o.planName || copyParam("subscriptionDetail.fallbackName", "Subscription"), subtitle: orderStatus(o), price: orderPrice(o),
37
- validity: (o.earliestEndDate || o.autoRenewCanceled || o.cancellation?.effectiveAt === "NEXT_PAYMENT_DATE") && end ? copyTemplate("subscriptionDetail.scheduledEndMessage", "Your subscription ends on {date}.", { date: end }) : renews ? copyTemplate("placeSummary.planRenews", "Renews {date}", { date: renews }) : "",
37
+ validity: (o.earliestEndDate || o.autoRenewCanceled || o.cancellation?.effectiveAt === "NEXT_PAYMENT_DATE") && end ? copyTemplate("subscriptionDetail.scheduledEndMessage", "Your subscription ends on {date}.", { date: end }) : renews ? copyTemplate("placeSummary.planRenews", "Renews {date}", { date: renews })
38
+ : orderOpenEnded(o) ? copyParam("mySubscriptions.validUntilCanceled", "Valid until canceled") : "",
38
39
  facts: orderFacts(o), hideCancel: !canCancel(o) || cancellationsSent.has(cancellationKey(o.id)), noScheduledOption: !scheduled,
39
40
  effectiveAt: scheduled ? "NEXT_PAYMENT_DATE" : "IMMEDIATELY", actionMessage: message };
40
41
  }
@@ -49,6 +49,24 @@ export default defineApp({
49
49
  },
50
50
  navigation: {
51
51
  "navKind": "responsive",
52
+ "streamPolicy": {
53
+ "version": 1,
54
+ "endpoints": [
55
+ {
56
+ "origin": "https://symphony.wix.com",
57
+ "pathPrefix": "/_api/symphony-harness/v1/send-message-streamed-http",
58
+ "methods": [
59
+ "POST"
60
+ ],
61
+ "headerNames": [
62
+ "wix-site-id",
63
+ "Accept",
64
+ "X-Time-Budget",
65
+ "Content-Type"
66
+ ]
67
+ }
68
+ ]
69
+ },
52
70
  "surfaces": {
53
71
  "watch": {
54
72
  "destinations": [
@@ -152,10 +170,23 @@ export default defineApp({
152
170
  {
153
171
  "screenId": "himi_owner_lite_maestro",
154
172
  "isPublic": false,
155
- "paramKeys": [],
173
+ "paramKeys": [
174
+ "conversationId",
175
+ "n",
176
+ "kind",
177
+ "id",
178
+ "subject"
179
+ ],
156
180
  "parentScreenId": "",
157
181
  "tabId": "maestro"
158
182
  },
183
+ {
184
+ "screenId": "himi_owner_lite_maestro_history",
185
+ "isPublic": false,
186
+ "paramKeys": [],
187
+ "parentScreenId": "himi_owner_lite_maestro",
188
+ "tabId": "maestro"
189
+ },
159
190
  {
160
191
  "screenId": "himi_owner_lite_brief",
161
192
  "isPublic": false,