@wix/himalaya-cli 0.1445.0 → 0.1446.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 (23) hide show
  1. package/dist/cli.mjs +26 -27
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/fixtures/wix-canned.json +20 -0
  4. package/package.json +2 -2
  5. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  6. package/templates/branded-lite/config.ts +7 -0
  7. package/templates/branded-lite/dev/index.ts +1120 -0
  8. package/templates/branded-lite/himalaya.content.json +3 -0
  9. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  10. package/templates/branded-lite/tier5-src/_shared/business-chat-message-model.ts +177 -0
  11. package/templates/branded-lite/tier5-src/_shared/business-chat-model.ts +22 -0
  12. package/templates/branded-lite/tier5-src/_shared/business-chat-presenter.ts +427 -0
  13. package/templates/branded-lite/tier5-src/_shared/business-chat-transport.ts +102 -0
  14. package/templates/branded-lite/tier5-src/business-chat/index.ts +304 -0
  15. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  16. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  17. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  18. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  19. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  20. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  21. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  22. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  23. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -0
package/dist/cli.mjs CHANGED
@@ -8115,7 +8115,6 @@ function resolveTranslation(value, catalog3, sourceCatalog) {
8115
8115
  var BINDING_SIGILS, BINDING_SIGIL_RE, TRANSLATION_PREFIX, TRANSLATION_KEY_RE;
8116
8116
  var init_bindings = __esm({
8117
8117
  "../../core/ts/src/bindings.ts"() {
8118
- "use strict";
8119
8118
  BINDING_SIGILS = ["service", "flag", "item", "t"];
8120
8119
  BINDING_SIGIL_RE = new RegExp(
8121
8120
  `^\\$(?:${BINDING_SIGILS.filter((s2) => s2 !== "t").join("|")})\\b|^\\$t:`
@@ -161513,32 +161512,32 @@ var init_preview_assets_generated = __esm({
161513
161512
  "../../packages/serve/src/preview-assets.generated.ts"() {
161514
161513
  init_preview_assets_format();
161515
161514
  PREVIEW_ASSET_MANIFEST = [
161516
- { key: "assets/DashboardHost-CWbeef06.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2916, sha256: "9ab72647e78bee902e76c4672f3d22b18d9b7a79892e0e64ae80ffb574417911" },
161517
- { key: "assets/DevDrawer-mM0I8ALw.js", contentType: "application/javascript; charset=utf-8", offset: 2924, length: 16744, sha256: "9bbb22f0ee24b6782c4645da75788028c942122748f0149d00e9039cdd09f0b1" },
161518
- { key: "assets/IdiomCompare-SDHU6iNa.js", contentType: "application/javascript; charset=utf-8", offset: 19668, length: 1892, sha256: "2af535cb7bb80d6f90d99bbb67470e4f9754949b62e08f4767a977a3414ae43e" },
161519
- { key: "assets/LightboxViewer-YV8gCISo.js", contentType: "application/javascript; charset=utf-8", offset: 21560, length: 8132, sha256: "e3c873007b6790042640966c3fb0d19f16d2f0ca4c41276838d38e90c852391a" },
161520
- { key: "assets/PhonePreviewControl-Dl_3aZaI.js", contentType: "application/javascript; charset=utf-8", offset: 29692, length: 37729, sha256: "f8d15085d2b83522584fd3a30bc5bead6d68c885e2987e7df12035c45d1aa003" },
161521
- { key: "assets/SchemeCompare-VEnYs5jY.js", contentType: "application/javascript; charset=utf-8", offset: 67421, length: 1824, sha256: "9f51da5008d043106847efb01ab675ae9c4ed58e6745cba03b1fd0b5f173a520" },
161522
- { key: "assets/index-zKquXoS4.js", contentType: "application/javascript; charset=utf-8", offset: 69245, length: 1268324, sha256: "4d6fe8fe1939fbc4a50b528233ff482afc6f615a0df92b54847386d0557b837a" },
161523
- { key: "assets/pdf-ipblMaD0.js", contentType: "application/javascript; charset=utf-8", offset: 1337569, length: 488199, sha256: "f103cd80a3f9a971e1be6162886350314c28bd42c1cb998210147e4a5a23a947" },
161524
- { key: "assets/pdf.worker.min-BQa_JDET.js", contentType: "application/javascript; charset=utf-8", offset: 1825768, length: 73, sha256: "41bcfda4f3c8c0a81c785ea87c69afc8e7d0ed8c333324aee94c273d881bb6aa" },
161525
- { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 1825841, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
161526
- { key: "assets/pdfDocument-BLnEEkur.js", contentType: "application/javascript; charset=utf-8", offset: 3142875, length: 2868, sha256: "3913f6a2cc3e3eda95617b848a6240dfd132d2da9629fc429b144b722401e2f0" },
161527
- { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3145743, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
161528
- { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3150353, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
161529
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 3638937, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
161530
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 3729861, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
161531
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 3820845, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
161532
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 3911825, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
161533
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4002697, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
161534
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4093677, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
161535
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4202313, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
161536
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4311397, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
161537
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4420445, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
161538
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4528145, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
161539
- { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 4616253, length: 6748, sha256: "4a92459977d7cefa1a6a7e020c3a63509737f083b3f2773557c1a5771665811a" },
161540
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 4623001, length: 4947, sha256: "ac12b463d6c2a4195ff7f6fb911b79c7e14de48488493bf6480b660866f833f9" },
161541
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 4627948, length: 17786, sha256: "084107ca997628c248f1b0ba3a7494744850df39fad813546ab8bdb82a6058da" }
161515
+ { key: "assets/DashboardHost-Hbp9cYDQ.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2916, sha256: "67f18e346a0472d13699e34a121ad159ef72ff7070f022de0158ced1d8de8c9e" },
161516
+ { key: "assets/DevDrawer-BCf5pKn3.js", contentType: "application/javascript; charset=utf-8", offset: 2924, length: 16744, sha256: "4e3f8faeef44171c9991857b7a3954ad3ac35d7ba087c1714cca89b613ef575c" },
161517
+ { key: "assets/IdiomCompare-Du8fy2bA.js", contentType: "application/javascript; charset=utf-8", offset: 19668, length: 1892, sha256: "bf3251f0779f986ec17d132e2edee65187af52058ca152363672e8fa65c44c8a" },
161518
+ { key: "assets/LightboxViewer-Bio4Uaf0.js", contentType: "application/javascript; charset=utf-8", offset: 21560, length: 8132, sha256: "5c3563c1bf16c102bf176fadac3e1b3bfafd03f0791c7d5f8065182830ba6388" },
161519
+ { key: "assets/PhonePreviewControl-rUJWm5D9.js", contentType: "application/javascript; charset=utf-8", offset: 29692, length: 37729, sha256: "3ee2027d40341425a3fcf21e6b2222269e7e5be04ddd39581bfd66cd61fafa39" },
161520
+ { key: "assets/SchemeCompare-cs9HGLIH.js", contentType: "application/javascript; charset=utf-8", offset: 67421, length: 1824, sha256: "fece2c0e802fd153f570fd5ac97985ee9060bb2856f009953f1c476c07d1df85" },
161521
+ { key: "assets/index-B4otl_lr.js", contentType: "application/javascript; charset=utf-8", offset: 69245, length: 1268353, sha256: "168c393f88d0fb0df94eae9b1c14958c5ba0d707df7db7fd11de1d4c12a4db84" },
161522
+ { key: "assets/pdf-BZPM9uB7.js", contentType: "application/javascript; charset=utf-8", offset: 1337598, length: 488199, sha256: "0593e16766ca0d3ebf849836a109bb58c1c869cadd005436d9258f6e4027a7ef" },
161523
+ { key: "assets/pdf.worker.min-BQa_JDET.js", contentType: "application/javascript; charset=utf-8", offset: 1825797, length: 73, sha256: "41bcfda4f3c8c0a81c785ea87c69afc8e7d0ed8c333324aee94c273d881bb6aa" },
161524
+ { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 1825870, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
161525
+ { key: "assets/pdfDocument-6awpDNiQ.js", contentType: "application/javascript; charset=utf-8", offset: 3142904, length: 2868, sha256: "ce4700b049bccf122eac6666b8c83d6a2527cecc7ee6e358e96995554a9d3566" },
161526
+ { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3145772, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
161527
+ { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3150382, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
161528
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 3638966, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
161529
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 3729890, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
161530
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 3820874, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
161531
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 3911854, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
161532
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4002726, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
161533
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4093706, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
161534
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4202342, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
161535
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4311426, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
161536
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4420474, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
161537
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4528174, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
161538
+ { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 4616282, length: 6748, sha256: "4a92459977d7cefa1a6a7e020c3a63509737f083b3f2773557c1a5771665811a" },
161539
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 4623030, length: 4947, sha256: "9c692b83159ab0d8305f407bc0bc0dbdefa8db9e479d76ab86366b10282196c1" },
161540
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 4627977, length: 17786, sha256: "084107ca997628c248f1b0ba3a7494744850df39fad813546ab8bdb82a6058da" }
161542
161541
  ];
161543
161542
  }
161544
161543
  });
Binary file
@@ -1387,6 +1387,26 @@
1387
1387
  "total": 2
1388
1388
  }
1389
1389
  },
1390
+ "POST https://manage.wix.com/_api/wix-chat-tokens-server/v1/chat-tokens": {
1391
+ "chatToken": "fixture-chat-token"
1392
+ },
1393
+ "POST https://manage.wix.com/_api/chat-web/v1/chatrooms-for-list-view": {
1394
+ "chatrooms": {
1395
+ "items": [
1396
+ { "id": "room-1", "participantId": "member-1", "participantCount": 2, "clientReferenceType": "contactId", "businessContext": { "id": "business-1", "name": "Acme" } }
1397
+ ]
1398
+ }
1399
+ },
1400
+ "GET https://manage.wix.com/_api/chat-web/v1/chatrooms/room-1/messages": {
1401
+ "items": [
1402
+ { "id": "chat-m3", "sequence": 3, "createdAt": 1792942000000, "messageType": "template/card", "appId": "ai-chat-app", "originMethod": "site:AI_SITE_CHAT", "sender": { "userId": "staff-1", "type": "user" }, "senderDisplayData": { "name": "Acme Staff" }, "templateData": { "text": "Where shall we start?", "buttons": [{ "text": "Show me calm routines", "payload": { "appId": "ai-chat-app", "interactionId": "calm" } }] } },
1403
+ { "id": "chat-m2", "sequence": 2, "createdAt": 1792941000000, "sender": { "userId": "member-1", "type": "user" }, "data": [{ "mimeType": "text/plain", "data": { "text": "Do you have a slot on Thursday?" } }] },
1404
+ { "id": "chat-m1", "sequence": 1, "createdAt": 1792940000000, "sender": { "userId": "staff-1", "type": "user" }, "senderDisplayData": { "name": "Acme Staff" }, "data": [{ "mimeType": "text/plain", "data": { "text": "Thursday 18:00 is yours." } }] }
1405
+ ]
1406
+ },
1407
+ "GET /wix-assistant-widget/v1/messages/list": {
1408
+ "messages": []
1409
+ },
1390
1410
  "POST https://manage.wix.com/_api/vod/public/graphql": {
1391
1411
  "channels": {
1392
1412
  "entities": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1445.0",
3
+ "version": "0.1446.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -71,5 +71,5 @@
71
71
  "artifactId": "himalaya-cli"
72
72
  }
73
73
  },
74
- "falconPackageHash": "0dc822bb33dac069b597a3d29bff7e40eac910acc7bb911e1de894d9"
74
+ "falconPackageHash": "880b0e52cdd4129fa90b221507dda4d96f5c2d0bc7780fcbb6503876"
75
75
  }
@@ -72,6 +72,7 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
72
72
  himi_blog: ["blog"],
73
73
  himi_bookings: ["bookings"],
74
74
  himi_cart: ["store"],
75
+ himi_business_chat: ["inbox"],
75
76
  himi_chat_thread: ["inbox", "members"],
76
77
  himi_cms: ["cms"],
77
78
  himi_collection: ["store"],
@@ -327,6 +327,13 @@ export default defineApp({
327
327
  "parentScreenId": "himi_inbox",
328
328
  "tabId": ""
329
329
  },
330
+ {
331
+ "screenId": "himi_business_chat",
332
+ "isPublic": false,
333
+ "paramKeys": [],
334
+ "parentScreenId": "himi_inbox",
335
+ "tabId": ""
336
+ },
330
337
  {
331
338
  "screenId": "himi_forum",
332
339
  "isPublic": true,