@wix/himalaya-cli 0.1899.0 → 0.1900.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/app-info/src/index.d.ts +1 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{3c8ce407707a87e172345007371329f9c47e65e182a1e2ff617b7f75e6bb95ab.bin → e8580dd7946999b652493628a07600d2e5a0c7864cc0a8a807b8a20903f0698d.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +75756 -74141
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/ads.md +91 -0
- package/guides/himi-json-output.md +37 -2
- package/guides/index.json +6 -0
- package/package.json +2 -2
- package/templates/beauty-salon-owner/config.ts +32 -1
- package/templates/beauty-salon-owner/dev/index.ts +565 -1
- package/templates/beauty-salon-owner/himalaya.content.json +3 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/beauty-salon-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/community-club-owner/config.ts +32 -1
- package/templates/community-club-owner/dev/index.ts +538 -1
- package/templates/community-club-owner/himalaya.content.json +3 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/events-meetups-owner/config.ts +32 -1
- package/templates/events-meetups-owner/dev/index.ts +511 -1
- package/templates/events-meetups-owner/himalaya.content.json +3 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/gym-fitness-owner/config.ts +32 -1
- package/templates/gym-fitness-owner/dev/index.ts +565 -1
- package/templates/gym-fitness-owner/himalaya.content.json +3 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/gym-fitness-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/nonprofit-cause-owner/config.ts +32 -1
- package/templates/nonprofit-cause-owner/dev/index.ts +538 -1
- package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/nonprofit-cause-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/owner-lite/config.ts +32 -1
- package/templates/owner-lite/dev/index.ts +565 -1
- package/templates/owner-lite/himalaya.content.json +3 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/owner-lite/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/podcast-creator-owner/config.ts +32 -1
- package/templates/podcast-creator-owner/dev/index.ts +538 -1
- package/templates/podcast-creator-owner/himalaya.content.json +3 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/portfolio-creative-owner/config.ts +32 -1
- package/templates/portfolio-creative-owner/dev/index.ts +565 -1
- package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/portfolio-creative-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/restaurant-owner/config.ts +32 -1
- package/templates/restaurant-owner/dev/index.ts +565 -1
- package/templates/restaurant-owner/himalaya.content.json +3 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/restaurant-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/retail-store-owner/config.ts +32 -1
- package/templates/retail-store-owner/dev/index.ts +538 -1
- package/templates/retail-store-owner/himalaya.content.json +3 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/yoga-studio-owner/config.ts +32 -1
- package/templates/yoga-studio-owner/dev/index.ts +538 -1
- package/templates/yoga-studio-owner/himalaya.content.json +3 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/yoga-studio-owner/tier5-src/wix-owner-booking/index.ts +9 -3
|
@@ -13093,6 +13093,32 @@ const SCREENS = runtimeSetting({
|
|
|
13093
13093
|
"hiddenPath": "$service:himiOwnerRecord.hideContent"
|
|
13094
13094
|
}
|
|
13095
13095
|
},
|
|
13096
|
+
{
|
|
13097
|
+
"id": "himi_owner_lite_record_contacts.ask_maestro",
|
|
13098
|
+
"body": {
|
|
13099
|
+
"package": "himalaya",
|
|
13100
|
+
"type": "Button",
|
|
13101
|
+
"props": {
|
|
13102
|
+
"title": "Ask Maestro",
|
|
13103
|
+
"style": "secondary",
|
|
13104
|
+
"fullWidth": true,
|
|
13105
|
+
"leadingIcon": "ai",
|
|
13106
|
+
"action": {
|
|
13107
|
+
"actionId": "himi.open",
|
|
13108
|
+
"params": {
|
|
13109
|
+
"screenId": "himi_owner_lite_maestro",
|
|
13110
|
+
"kind": "contact",
|
|
13111
|
+
"id": "$service:himiOwnerRecord.id",
|
|
13112
|
+
"title": "Maestro",
|
|
13113
|
+
"subtitle": "Your business assistant, by Symphony."
|
|
13114
|
+
}
|
|
13115
|
+
}
|
|
13116
|
+
}
|
|
13117
|
+
},
|
|
13118
|
+
"modifiers": {
|
|
13119
|
+
"hiddenPath": "$service:himiOwnerRecord.askMaestroHidden"
|
|
13120
|
+
}
|
|
13121
|
+
},
|
|
13096
13122
|
{
|
|
13097
13123
|
"id": "",
|
|
13098
13124
|
"body": {
|
|
@@ -64409,6 +64435,139 @@ const SCREENS = runtimeSetting({
|
|
|
64409
64435
|
"modifiers": {
|
|
64410
64436
|
"hiddenPath": "$item.thinkingHidden"
|
|
64411
64437
|
}
|
|
64438
|
+
},
|
|
64439
|
+
{
|
|
64440
|
+
"id": "himi_owner_lite_maestro.card_$item.id",
|
|
64441
|
+
"body": {
|
|
64442
|
+
"package": "himalaya",
|
|
64443
|
+
"type": "VStack",
|
|
64444
|
+
"props": {
|
|
64445
|
+
"spacing": 8,
|
|
64446
|
+
"alignment": "leading",
|
|
64447
|
+
"children": [
|
|
64448
|
+
{
|
|
64449
|
+
"id": "",
|
|
64450
|
+
"body": {
|
|
64451
|
+
"package": "himalaya",
|
|
64452
|
+
"type": "Text",
|
|
64453
|
+
"props": {
|
|
64454
|
+
"text": "$item.cardTitle",
|
|
64455
|
+
"style": "bodyEmphasis",
|
|
64456
|
+
"maxLines": 4,
|
|
64457
|
+
"textDirection": "auto"
|
|
64458
|
+
}
|
|
64459
|
+
}
|
|
64460
|
+
},
|
|
64461
|
+
{
|
|
64462
|
+
"id": "",
|
|
64463
|
+
"body": {
|
|
64464
|
+
"package": "himalaya",
|
|
64465
|
+
"type": "Text",
|
|
64466
|
+
"props": {
|
|
64467
|
+
"text": "$item.cardText",
|
|
64468
|
+
"style": "footnote",
|
|
64469
|
+
"color": "textSecondary",
|
|
64470
|
+
"maxLines": 8,
|
|
64471
|
+
"collapseWhenEmpty": true,
|
|
64472
|
+
"textDirection": "auto"
|
|
64473
|
+
}
|
|
64474
|
+
}
|
|
64475
|
+
},
|
|
64476
|
+
{
|
|
64477
|
+
"id": "",
|
|
64478
|
+
"body": {
|
|
64479
|
+
"package": "himalaya",
|
|
64480
|
+
"type": "Text",
|
|
64481
|
+
"props": {
|
|
64482
|
+
"text": "$item.cardStatus",
|
|
64483
|
+
"style": "footnote",
|
|
64484
|
+
"color": "textSecondary",
|
|
64485
|
+
"maxLines": 3,
|
|
64486
|
+
"collapseWhenEmpty": true
|
|
64487
|
+
}
|
|
64488
|
+
}
|
|
64489
|
+
},
|
|
64490
|
+
{
|
|
64491
|
+
"id": "",
|
|
64492
|
+
"body": {
|
|
64493
|
+
"package": "himalaya",
|
|
64494
|
+
"type": "HStack",
|
|
64495
|
+
"props": {
|
|
64496
|
+
"spacing": 8,
|
|
64497
|
+
"children": [
|
|
64498
|
+
{
|
|
64499
|
+
"id": "himi_owner_lite_maestro.cardPrimary_$item.id",
|
|
64500
|
+
"body": {
|
|
64501
|
+
"package": "himalaya",
|
|
64502
|
+
"type": "Button",
|
|
64503
|
+
"props": {
|
|
64504
|
+
"title": "$item.primaryLabel",
|
|
64505
|
+
"style": "primary",
|
|
64506
|
+
"size": "sm",
|
|
64507
|
+
"fullWidth": false,
|
|
64508
|
+
"action": {
|
|
64509
|
+
"actionId": "tier5.himiOwnerLiteMaestro.cardPrimary",
|
|
64510
|
+
"params": {
|
|
64511
|
+
"id": "$item.id"
|
|
64512
|
+
}
|
|
64513
|
+
}
|
|
64514
|
+
}
|
|
64515
|
+
},
|
|
64516
|
+
"modifiers": {
|
|
64517
|
+
"hiddenPath": "$item.primaryHidden"
|
|
64518
|
+
}
|
|
64519
|
+
},
|
|
64520
|
+
{
|
|
64521
|
+
"id": "himi_owner_lite_maestro.cardSecondary_$item.id",
|
|
64522
|
+
"body": {
|
|
64523
|
+
"package": "himalaya",
|
|
64524
|
+
"type": "Button",
|
|
64525
|
+
"props": {
|
|
64526
|
+
"title": "$item.secondaryLabel",
|
|
64527
|
+
"style": "secondary",
|
|
64528
|
+
"size": "sm",
|
|
64529
|
+
"fullWidth": false,
|
|
64530
|
+
"action": {
|
|
64531
|
+
"actionId": "tier5.himiOwnerLiteMaestro.cardSecondary",
|
|
64532
|
+
"params": {
|
|
64533
|
+
"id": "$item.id"
|
|
64534
|
+
}
|
|
64535
|
+
}
|
|
64536
|
+
}
|
|
64537
|
+
},
|
|
64538
|
+
"modifiers": {
|
|
64539
|
+
"hiddenPath": "$item.secondaryHidden"
|
|
64540
|
+
}
|
|
64541
|
+
},
|
|
64542
|
+
{
|
|
64543
|
+
"id": "",
|
|
64544
|
+
"body": {
|
|
64545
|
+
"package": "himalaya",
|
|
64546
|
+
"type": "Spacer",
|
|
64547
|
+
"props": {}
|
|
64548
|
+
}
|
|
64549
|
+
}
|
|
64550
|
+
]
|
|
64551
|
+
}
|
|
64552
|
+
}
|
|
64553
|
+
}
|
|
64554
|
+
]
|
|
64555
|
+
}
|
|
64556
|
+
},
|
|
64557
|
+
"modifiers": {
|
|
64558
|
+
"padding": {
|
|
64559
|
+
"leading": 14,
|
|
64560
|
+
"trailing": 14,
|
|
64561
|
+
"top": 14,
|
|
64562
|
+
"bottom": 14
|
|
64563
|
+
},
|
|
64564
|
+
"background": {
|
|
64565
|
+
"token": "surfaceSecondary"
|
|
64566
|
+
},
|
|
64567
|
+
"cornerRadius": 16,
|
|
64568
|
+
"fillMaxWidth": true,
|
|
64569
|
+
"hiddenPath": "$item.cardHidden"
|
|
64570
|
+
}
|
|
64412
64571
|
}
|
|
64413
64572
|
]
|
|
64414
64573
|
}
|
|
@@ -64479,7 +64638,8 @@ const SCREENS = runtimeSetting({
|
|
|
64479
64638
|
"declaredCapabilities": [
|
|
64480
64639
|
"wix_api",
|
|
64481
64640
|
"stream",
|
|
64482
|
-
"app_info"
|
|
64641
|
+
"app_info",
|
|
64642
|
+
"open_url"
|
|
64483
64643
|
],
|
|
64484
64644
|
"minBinaryVersion": "0.1.0",
|
|
64485
64645
|
"bundleVersion": "0.0.1"
|
|
@@ -64492,6 +64652,20 @@ const SCREENS = runtimeSetting({
|
|
|
64492
64652
|
"props": {
|
|
64493
64653
|
"spacing": 8,
|
|
64494
64654
|
"children": [
|
|
64655
|
+
{
|
|
64656
|
+
"id": "himi_owner_lite_maestro.context",
|
|
64657
|
+
"body": {
|
|
64658
|
+
"package": "himalaya",
|
|
64659
|
+
"type": "Text",
|
|
64660
|
+
"props": {
|
|
64661
|
+
"text": "$service:himiOwnerLiteMaestro.contextLabel",
|
|
64662
|
+
"style": "footnote",
|
|
64663
|
+
"color": "textSecondary",
|
|
64664
|
+
"maxLines": 1,
|
|
64665
|
+
"collapseWhenEmpty": true
|
|
64666
|
+
}
|
|
64667
|
+
}
|
|
64668
|
+
},
|
|
64495
64669
|
{
|
|
64496
64670
|
"id": "",
|
|
64497
64671
|
"body": {
|
|
@@ -64500,6 +64674,27 @@ const SCREENS = runtimeSetting({
|
|
|
64500
64674
|
"props": {}
|
|
64501
64675
|
}
|
|
64502
64676
|
},
|
|
64677
|
+
{
|
|
64678
|
+
"id": "himi_owner_lite_maestro.history",
|
|
64679
|
+
"body": {
|
|
64680
|
+
"package": "himalaya",
|
|
64681
|
+
"type": "Button",
|
|
64682
|
+
"props": {
|
|
64683
|
+
"title": "History",
|
|
64684
|
+
"style": "link",
|
|
64685
|
+
"size": "sm",
|
|
64686
|
+
"fullWidth": false,
|
|
64687
|
+
"action": {
|
|
64688
|
+
"actionId": "himi.open",
|
|
64689
|
+
"params": {
|
|
64690
|
+
"screenId": "himi_owner_lite_maestro_history",
|
|
64691
|
+
"title": "Conversations",
|
|
64692
|
+
"subtitle": "Pick up where you left off."
|
|
64693
|
+
}
|
|
64694
|
+
}
|
|
64695
|
+
}
|
|
64696
|
+
}
|
|
64697
|
+
},
|
|
64503
64698
|
{
|
|
64504
64699
|
"id": "himi_owner_lite_maestro.newChat",
|
|
64505
64700
|
"body": {
|
|
@@ -64702,6 +64897,321 @@ const SCREENS = runtimeSetting({
|
|
|
64702
64897
|
"replaces": "himi_owner_lite_maestro.header"
|
|
64703
64898
|
}
|
|
64704
64899
|
},
|
|
64900
|
+
"himi_owner_lite_maestro_history": {
|
|
64901
|
+
"screenId": "himi_owner_lite_maestro_history",
|
|
64902
|
+
"renderer": "sdui_intent",
|
|
64903
|
+
"title": "",
|
|
64904
|
+
"schemaVersion": 1,
|
|
64905
|
+
"cacheControl": {
|
|
64906
|
+
"maxAge": 0,
|
|
64907
|
+
"staleWhileRevalidate": 0
|
|
64908
|
+
},
|
|
64909
|
+
"telemetryScreenName": "himi_owner_lite_maestro_history",
|
|
64910
|
+
"payload": {
|
|
64911
|
+
"id": "himi_owner_lite_maestro_history.root",
|
|
64912
|
+
"body": {
|
|
64913
|
+
"package": "himalaya",
|
|
64914
|
+
"type": "VStack",
|
|
64915
|
+
"props": {
|
|
64916
|
+
"spacing": 16,
|
|
64917
|
+
"alignment": "leading",
|
|
64918
|
+
"children": [
|
|
64919
|
+
{
|
|
64920
|
+
"id": "himi_owner_lite_maestro_history.header",
|
|
64921
|
+
"body": {
|
|
64922
|
+
"package": "himalaya",
|
|
64923
|
+
"type": "VStack",
|
|
64924
|
+
"props": {
|
|
64925
|
+
"spacing": 4,
|
|
64926
|
+
"alignment": "leading",
|
|
64927
|
+
"children": [
|
|
64928
|
+
{
|
|
64929
|
+
"id": "himi_owner_lite_maestro_history.header.title",
|
|
64930
|
+
"body": {
|
|
64931
|
+
"package": "himalaya",
|
|
64932
|
+
"type": "Text",
|
|
64933
|
+
"props": {
|
|
64934
|
+
"text": "Conversations",
|
|
64935
|
+
"style": "title1"
|
|
64936
|
+
}
|
|
64937
|
+
},
|
|
64938
|
+
"modifiers": {
|
|
64939
|
+
"headingLevel": 1
|
|
64940
|
+
}
|
|
64941
|
+
},
|
|
64942
|
+
{
|
|
64943
|
+
"id": "",
|
|
64944
|
+
"body": {
|
|
64945
|
+
"package": "himalaya",
|
|
64946
|
+
"type": "Text",
|
|
64947
|
+
"props": {
|
|
64948
|
+
"text": "Pick up where you left off.",
|
|
64949
|
+
"style": "footnote",
|
|
64950
|
+
"color": "textSecondary",
|
|
64951
|
+
"collapseWhenEmpty": true
|
|
64952
|
+
}
|
|
64953
|
+
}
|
|
64954
|
+
}
|
|
64955
|
+
]
|
|
64956
|
+
}
|
|
64957
|
+
}
|
|
64958
|
+
},
|
|
64959
|
+
{
|
|
64960
|
+
"id": "",
|
|
64961
|
+
"body": {
|
|
64962
|
+
"package": "himalaya",
|
|
64963
|
+
"type": "Text",
|
|
64964
|
+
"props": {
|
|
64965
|
+
"text": "$service:himiOwnerLiteMaestroHistory.emptyText",
|
|
64966
|
+
"style": "body",
|
|
64967
|
+
"color": "textSecondary",
|
|
64968
|
+
"maxLines": 2,
|
|
64969
|
+
"collapseWhenEmpty": true
|
|
64970
|
+
}
|
|
64971
|
+
},
|
|
64972
|
+
"modifiers": {
|
|
64973
|
+
"padding": {
|
|
64974
|
+
"leading": 0,
|
|
64975
|
+
"trailing": 0,
|
|
64976
|
+
"top": 16,
|
|
64977
|
+
"bottom": 8
|
|
64978
|
+
}
|
|
64979
|
+
}
|
|
64980
|
+
},
|
|
64981
|
+
{
|
|
64982
|
+
"id": "himi_owner_lite_maestro_history.bound",
|
|
64983
|
+
"body": {
|
|
64984
|
+
"package": "himalaya",
|
|
64985
|
+
"type": "LazyList",
|
|
64986
|
+
"props": {
|
|
64987
|
+
"itemsPath": "$service:himiOwnerLiteMaestroHistory.items",
|
|
64988
|
+
"spacing": 0,
|
|
64989
|
+
"items": [
|
|
64990
|
+
{
|
|
64991
|
+
"id": "himi_owner_lite_maestro_history.row_$item.id",
|
|
64992
|
+
"body": {
|
|
64993
|
+
"package": "himalaya",
|
|
64994
|
+
"type": "VStack",
|
|
64995
|
+
"props": {
|
|
64996
|
+
"spacing": 0,
|
|
64997
|
+
"children": [
|
|
64998
|
+
{
|
|
64999
|
+
"id": "",
|
|
65000
|
+
"body": {
|
|
65001
|
+
"package": "himalaya",
|
|
65002
|
+
"type": "Text",
|
|
65003
|
+
"props": {
|
|
65004
|
+
"text": "$item.section",
|
|
65005
|
+
"style": "footnote",
|
|
65006
|
+
"color": "textSecondary",
|
|
65007
|
+
"maxLines": 1,
|
|
65008
|
+
"collapseWhenEmpty": true
|
|
65009
|
+
}
|
|
65010
|
+
},
|
|
65011
|
+
"modifiers": {
|
|
65012
|
+
"padding": {
|
|
65013
|
+
"leading": 0,
|
|
65014
|
+
"trailing": 0,
|
|
65015
|
+
"top": 14,
|
|
65016
|
+
"bottom": 4
|
|
65017
|
+
}
|
|
65018
|
+
}
|
|
65019
|
+
},
|
|
65020
|
+
{
|
|
65021
|
+
"id": "himi_owner_lite_maestro_history.card_$item.id",
|
|
65022
|
+
"body": {
|
|
65023
|
+
"package": "himalaya",
|
|
65024
|
+
"type": "HStack",
|
|
65025
|
+
"props": {
|
|
65026
|
+
"spacing": 12,
|
|
65027
|
+
"children": [
|
|
65028
|
+
{
|
|
65029
|
+
"id": "",
|
|
65030
|
+
"body": {
|
|
65031
|
+
"package": "himalaya",
|
|
65032
|
+
"type": "Icon",
|
|
65033
|
+
"props": {
|
|
65034
|
+
"name": "edit",
|
|
65035
|
+
"size": 20,
|
|
65036
|
+
"tint": "accentPrimary"
|
|
65037
|
+
}
|
|
65038
|
+
},
|
|
65039
|
+
"modifiers": {
|
|
65040
|
+
"accessibilityRole": "decorative"
|
|
65041
|
+
}
|
|
65042
|
+
},
|
|
65043
|
+
{
|
|
65044
|
+
"id": "",
|
|
65045
|
+
"body": {
|
|
65046
|
+
"package": "himalaya",
|
|
65047
|
+
"type": "VStack",
|
|
65048
|
+
"props": {
|
|
65049
|
+
"spacing": 2,
|
|
65050
|
+
"children": [
|
|
65051
|
+
{
|
|
65052
|
+
"id": "",
|
|
65053
|
+
"body": {
|
|
65054
|
+
"package": "himalaya",
|
|
65055
|
+
"type": "Text",
|
|
65056
|
+
"props": {
|
|
65057
|
+
"text": "$item.title",
|
|
65058
|
+
"style": "bodyEmphasis",
|
|
65059
|
+
"maxLines": 2
|
|
65060
|
+
}
|
|
65061
|
+
}
|
|
65062
|
+
},
|
|
65063
|
+
{
|
|
65064
|
+
"id": "",
|
|
65065
|
+
"body": {
|
|
65066
|
+
"package": "himalaya",
|
|
65067
|
+
"type": "Text",
|
|
65068
|
+
"props": {
|
|
65069
|
+
"text": "$item.subtitle",
|
|
65070
|
+
"style": "footnote",
|
|
65071
|
+
"color": "textSecondary",
|
|
65072
|
+
"maxLines": 1,
|
|
65073
|
+
"collapseWhenEmpty": true
|
|
65074
|
+
}
|
|
65075
|
+
}
|
|
65076
|
+
}
|
|
65077
|
+
]
|
|
65078
|
+
}
|
|
65079
|
+
}
|
|
65080
|
+
},
|
|
65081
|
+
{
|
|
65082
|
+
"id": "",
|
|
65083
|
+
"body": {
|
|
65084
|
+
"package": "himalaya",
|
|
65085
|
+
"type": "Spacer",
|
|
65086
|
+
"props": {}
|
|
65087
|
+
}
|
|
65088
|
+
},
|
|
65089
|
+
{
|
|
65090
|
+
"id": "",
|
|
65091
|
+
"body": {
|
|
65092
|
+
"package": "himalaya",
|
|
65093
|
+
"type": "Icon",
|
|
65094
|
+
"props": {
|
|
65095
|
+
"name": "chevron_right",
|
|
65096
|
+
"size": 18,
|
|
65097
|
+
"tint": "textSecondary"
|
|
65098
|
+
}
|
|
65099
|
+
},
|
|
65100
|
+
"modifiers": {
|
|
65101
|
+
"accessibilityRole": "decorative"
|
|
65102
|
+
}
|
|
65103
|
+
}
|
|
65104
|
+
]
|
|
65105
|
+
}
|
|
65106
|
+
},
|
|
65107
|
+
"modifiers": {
|
|
65108
|
+
"padding": {
|
|
65109
|
+
"leading": 0,
|
|
65110
|
+
"trailing": 0,
|
|
65111
|
+
"top": 12,
|
|
65112
|
+
"bottom": 12
|
|
65113
|
+
},
|
|
65114
|
+
"onTap": {
|
|
65115
|
+
"actionId": "himi.open",
|
|
65116
|
+
"params": {
|
|
65117
|
+
"screenId": "himi_owner_lite_maestro",
|
|
65118
|
+
"conversationId": "$item.id",
|
|
65119
|
+
"n": "$item.stamp",
|
|
65120
|
+
"title": "Maestro",
|
|
65121
|
+
"subtitle": "Your business assistant, by Symphony."
|
|
65122
|
+
}
|
|
65123
|
+
}
|
|
65124
|
+
}
|
|
65125
|
+
}
|
|
65126
|
+
]
|
|
65127
|
+
}
|
|
65128
|
+
}
|
|
65129
|
+
}
|
|
65130
|
+
]
|
|
65131
|
+
}
|
|
65132
|
+
},
|
|
65133
|
+
"modifiers": {
|
|
65134
|
+
"hiddenPath": "$service:himiOwnerLiteMaestroHistory.itemsHidden"
|
|
65135
|
+
}
|
|
65136
|
+
},
|
|
65137
|
+
{
|
|
65138
|
+
"id": "",
|
|
65139
|
+
"body": {
|
|
65140
|
+
"package": "himalaya",
|
|
65141
|
+
"type": "VStack",
|
|
65142
|
+
"props": {
|
|
65143
|
+
"spacing": 10,
|
|
65144
|
+
"alignment": "leading",
|
|
65145
|
+
"children": [
|
|
65146
|
+
{
|
|
65147
|
+
"id": "himi_owner_lite_maestro_history.error",
|
|
65148
|
+
"body": {
|
|
65149
|
+
"package": "himalaya",
|
|
65150
|
+
"type": "Text",
|
|
65151
|
+
"props": {
|
|
65152
|
+
"text": "$service:himiOwnerLiteMaestroHistory.error",
|
|
65153
|
+
"style": "body",
|
|
65154
|
+
"color": "textSecondary",
|
|
65155
|
+
"maxLines": 3
|
|
65156
|
+
}
|
|
65157
|
+
}
|
|
65158
|
+
},
|
|
65159
|
+
{
|
|
65160
|
+
"id": "himi_owner_lite_maestro_history.retry",
|
|
65161
|
+
"body": {
|
|
65162
|
+
"package": "himalaya",
|
|
65163
|
+
"type": "Button",
|
|
65164
|
+
"props": {
|
|
65165
|
+
"title": "Try again",
|
|
65166
|
+
"style": "secondary",
|
|
65167
|
+
"fullWidth": false,
|
|
65168
|
+
"action": {
|
|
65169
|
+
"actionId": "tier5.himiOwnerLiteMaestroHistory.load"
|
|
65170
|
+
}
|
|
65171
|
+
}
|
|
65172
|
+
}
|
|
65173
|
+
}
|
|
65174
|
+
]
|
|
65175
|
+
}
|
|
65176
|
+
},
|
|
65177
|
+
"modifiers": {
|
|
65178
|
+
"hiddenPath": "$service:himiOwnerLiteMaestroHistory.errorHidden"
|
|
65179
|
+
}
|
|
65180
|
+
}
|
|
65181
|
+
]
|
|
65182
|
+
}
|
|
65183
|
+
},
|
|
65184
|
+
"modifiers": {
|
|
65185
|
+
"background": {
|
|
65186
|
+
"token": "surfacePrimary"
|
|
65187
|
+
},
|
|
65188
|
+
"padding": {
|
|
65189
|
+
"leading": 16,
|
|
65190
|
+
"trailing": 16,
|
|
65191
|
+
"top": 18,
|
|
65192
|
+
"bottom": 24
|
|
65193
|
+
},
|
|
65194
|
+
"onAppear": {
|
|
65195
|
+
"actionId": "tier5.himiOwnerLiteMaestroHistory.load"
|
|
65196
|
+
}
|
|
65197
|
+
}
|
|
65198
|
+
},
|
|
65199
|
+
"logicBundle": {
|
|
65200
|
+
"url": "http://localhost:8190/v1/bundles/himi-owner-lite-maestro-history",
|
|
65201
|
+
"integrity": "",
|
|
65202
|
+
"contentType": "application/javascript+ts-bundle",
|
|
65203
|
+
"declaredCapabilities": [
|
|
65204
|
+
"wix_api"
|
|
65205
|
+
],
|
|
65206
|
+
"minBinaryVersion": "0.1.0",
|
|
65207
|
+
"bundleVersion": "0.0.1"
|
|
65208
|
+
},
|
|
65209
|
+
"hostTitle": {
|
|
65210
|
+
"title": "Conversations",
|
|
65211
|
+
"subtitle": "Pick up where you left off.",
|
|
65212
|
+
"replaces": "himi_owner_lite_maestro_history.header"
|
|
65213
|
+
}
|
|
65214
|
+
},
|
|
64705
65215
|
"himi_owner_lite_sites": {
|
|
64706
65216
|
"screenId": "himi_owner_lite_sites",
|
|
64707
65217
|
"renderer": "sdui_intent",
|
|
@@ -87896,6 +88406,33 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
87896
88406
|
"collapseWhenEmpty": true
|
|
87897
88407
|
}
|
|
87898
88408
|
}
|
|
88409
|
+
},
|
|
88410
|
+
{
|
|
88411
|
+
"id": "order_ask_maestro",
|
|
88412
|
+
"body": {
|
|
88413
|
+
"package": "himalaya",
|
|
88414
|
+
"type": "Button",
|
|
88415
|
+
"props": {
|
|
88416
|
+
"title": "Ask Maestro",
|
|
88417
|
+
"style": "secondary",
|
|
88418
|
+
"fullWidth": true,
|
|
88419
|
+
"leadingIcon": "ai",
|
|
88420
|
+
"action": {
|
|
88421
|
+
"actionId": "himi.open",
|
|
88422
|
+
"params": {
|
|
88423
|
+
"screenId": "himi_owner_lite_maestro",
|
|
88424
|
+
"kind": "order",
|
|
88425
|
+
"id": "$service:himiOwnerLiteOrder.id",
|
|
88426
|
+
"subject": "$service:himiOwnerLiteOrder.title",
|
|
88427
|
+
"title": "Maestro",
|
|
88428
|
+
"subtitle": "Your business assistant, by Symphony."
|
|
88429
|
+
}
|
|
88430
|
+
}
|
|
88431
|
+
}
|
|
88432
|
+
},
|
|
88433
|
+
"modifiers": {
|
|
88434
|
+
"hiddenPath": "$service:himiOwnerLiteOrder.askMaestroHidden"
|
|
88435
|
+
}
|
|
87899
88436
|
}
|
|
87900
88437
|
]
|
|
87901
88438
|
}
|
|
@@ -92830,6 +93367,33 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
92830
93367
|
"collapseWhenEmpty": true
|
|
92831
93368
|
}
|
|
92832
93369
|
}
|
|
93370
|
+
},
|
|
93371
|
+
{
|
|
93372
|
+
"id": "booking_detail.ask_maestro",
|
|
93373
|
+
"body": {
|
|
93374
|
+
"package": "himalaya",
|
|
93375
|
+
"type": "Button",
|
|
93376
|
+
"props": {
|
|
93377
|
+
"title": "Ask Maestro",
|
|
93378
|
+
"style": "secondary",
|
|
93379
|
+
"fullWidth": true,
|
|
93380
|
+
"leadingIcon": "ai",
|
|
93381
|
+
"action": {
|
|
93382
|
+
"actionId": "himi.open",
|
|
93383
|
+
"params": {
|
|
93384
|
+
"screenId": "himi_owner_lite_maestro",
|
|
93385
|
+
"kind": "booking",
|
|
93386
|
+
"id": "$service:ownerBooking.id",
|
|
93387
|
+
"subject": "$service:ownerBooking.title",
|
|
93388
|
+
"title": "Maestro",
|
|
93389
|
+
"subtitle": "Your business assistant, by Symphony."
|
|
93390
|
+
}
|
|
93391
|
+
}
|
|
93392
|
+
}
|
|
93393
|
+
},
|
|
93394
|
+
"modifiers": {
|
|
93395
|
+
"hiddenPath": "$service:ownerBooking.askMaestroHidden"
|
|
93396
|
+
}
|
|
92833
93397
|
}
|
|
92834
93398
|
]
|
|
92835
93399
|
}
|
|
@@ -34,6 +34,20 @@ export async function isSpaceWebsite(api: MaestroWixApi, account: string, site:
|
|
|
34
34
|
return (res?.workspaces ?? []).some((w) => w?.website?.metaSiteId === site);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
/** Why a host cannot run a Maestro turn, or "" when it can.
|
|
38
|
+
*
|
|
39
|
+
* `old_host`: built before it could read a stream of JSON lines, so a turn delivers nothing.
|
|
40
|
+
* `deployed_web`: the web app as deployed. A turn there is relayed by the server that hosts the
|
|
41
|
+
* app, and that server refuses the stream route on Wix's public hosts, so a turn cannot be
|
|
42
|
+
* opened. The web app on a dev host has no such gate. */
|
|
43
|
+
export type HostCannotRunMaestro = "" | "old_host" | "deployed_web";
|
|
44
|
+
|
|
45
|
+
export function hostCannotRunMaestro(info: { platform?: string; environment?: string; ndjsonStreamAvailable?: boolean }): HostCannotRunMaestro {
|
|
46
|
+
if (info.ndjsonStreamAvailable !== true) return "old_host";
|
|
47
|
+
if (info.platform === "web" && info.environment !== "dev") return "deployed_web";
|
|
48
|
+
return "";
|
|
49
|
+
}
|
|
50
|
+
|
|
37
51
|
export type MaestroAvailability =
|
|
38
52
|
| { available: true; account: string }
|
|
39
53
|
| { available: false; why: "no_site" | "no_account" | "not_connected" };
|