@wix/himalaya-cli 0.1898.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 +75771 -74157
- 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/guides/release-notes.md +10 -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": {
|
|
@@ -64029,6 +64055,139 @@ const SCREENS = runtimeSetting({
|
|
|
64029
64055
|
"modifiers": {
|
|
64030
64056
|
"hiddenPath": "$item.thinkingHidden"
|
|
64031
64057
|
}
|
|
64058
|
+
},
|
|
64059
|
+
{
|
|
64060
|
+
"id": "himi_owner_lite_maestro.card_$item.id",
|
|
64061
|
+
"body": {
|
|
64062
|
+
"package": "himalaya",
|
|
64063
|
+
"type": "VStack",
|
|
64064
|
+
"props": {
|
|
64065
|
+
"spacing": 8,
|
|
64066
|
+
"alignment": "leading",
|
|
64067
|
+
"children": [
|
|
64068
|
+
{
|
|
64069
|
+
"id": "",
|
|
64070
|
+
"body": {
|
|
64071
|
+
"package": "himalaya",
|
|
64072
|
+
"type": "Text",
|
|
64073
|
+
"props": {
|
|
64074
|
+
"text": "$item.cardTitle",
|
|
64075
|
+
"style": "bodyEmphasis",
|
|
64076
|
+
"maxLines": 4,
|
|
64077
|
+
"textDirection": "auto"
|
|
64078
|
+
}
|
|
64079
|
+
}
|
|
64080
|
+
},
|
|
64081
|
+
{
|
|
64082
|
+
"id": "",
|
|
64083
|
+
"body": {
|
|
64084
|
+
"package": "himalaya",
|
|
64085
|
+
"type": "Text",
|
|
64086
|
+
"props": {
|
|
64087
|
+
"text": "$item.cardText",
|
|
64088
|
+
"style": "footnote",
|
|
64089
|
+
"color": "textSecondary",
|
|
64090
|
+
"maxLines": 8,
|
|
64091
|
+
"collapseWhenEmpty": true,
|
|
64092
|
+
"textDirection": "auto"
|
|
64093
|
+
}
|
|
64094
|
+
}
|
|
64095
|
+
},
|
|
64096
|
+
{
|
|
64097
|
+
"id": "",
|
|
64098
|
+
"body": {
|
|
64099
|
+
"package": "himalaya",
|
|
64100
|
+
"type": "Text",
|
|
64101
|
+
"props": {
|
|
64102
|
+
"text": "$item.cardStatus",
|
|
64103
|
+
"style": "footnote",
|
|
64104
|
+
"color": "textSecondary",
|
|
64105
|
+
"maxLines": 3,
|
|
64106
|
+
"collapseWhenEmpty": true
|
|
64107
|
+
}
|
|
64108
|
+
}
|
|
64109
|
+
},
|
|
64110
|
+
{
|
|
64111
|
+
"id": "",
|
|
64112
|
+
"body": {
|
|
64113
|
+
"package": "himalaya",
|
|
64114
|
+
"type": "HStack",
|
|
64115
|
+
"props": {
|
|
64116
|
+
"spacing": 8,
|
|
64117
|
+
"children": [
|
|
64118
|
+
{
|
|
64119
|
+
"id": "himi_owner_lite_maestro.cardPrimary_$item.id",
|
|
64120
|
+
"body": {
|
|
64121
|
+
"package": "himalaya",
|
|
64122
|
+
"type": "Button",
|
|
64123
|
+
"props": {
|
|
64124
|
+
"title": "$item.primaryLabel",
|
|
64125
|
+
"style": "primary",
|
|
64126
|
+
"size": "sm",
|
|
64127
|
+
"fullWidth": false,
|
|
64128
|
+
"action": {
|
|
64129
|
+
"actionId": "tier5.himiOwnerLiteMaestro.cardPrimary",
|
|
64130
|
+
"params": {
|
|
64131
|
+
"id": "$item.id"
|
|
64132
|
+
}
|
|
64133
|
+
}
|
|
64134
|
+
}
|
|
64135
|
+
},
|
|
64136
|
+
"modifiers": {
|
|
64137
|
+
"hiddenPath": "$item.primaryHidden"
|
|
64138
|
+
}
|
|
64139
|
+
},
|
|
64140
|
+
{
|
|
64141
|
+
"id": "himi_owner_lite_maestro.cardSecondary_$item.id",
|
|
64142
|
+
"body": {
|
|
64143
|
+
"package": "himalaya",
|
|
64144
|
+
"type": "Button",
|
|
64145
|
+
"props": {
|
|
64146
|
+
"title": "$item.secondaryLabel",
|
|
64147
|
+
"style": "secondary",
|
|
64148
|
+
"size": "sm",
|
|
64149
|
+
"fullWidth": false,
|
|
64150
|
+
"action": {
|
|
64151
|
+
"actionId": "tier5.himiOwnerLiteMaestro.cardSecondary",
|
|
64152
|
+
"params": {
|
|
64153
|
+
"id": "$item.id"
|
|
64154
|
+
}
|
|
64155
|
+
}
|
|
64156
|
+
}
|
|
64157
|
+
},
|
|
64158
|
+
"modifiers": {
|
|
64159
|
+
"hiddenPath": "$item.secondaryHidden"
|
|
64160
|
+
}
|
|
64161
|
+
},
|
|
64162
|
+
{
|
|
64163
|
+
"id": "",
|
|
64164
|
+
"body": {
|
|
64165
|
+
"package": "himalaya",
|
|
64166
|
+
"type": "Spacer",
|
|
64167
|
+
"props": {}
|
|
64168
|
+
}
|
|
64169
|
+
}
|
|
64170
|
+
]
|
|
64171
|
+
}
|
|
64172
|
+
}
|
|
64173
|
+
}
|
|
64174
|
+
]
|
|
64175
|
+
}
|
|
64176
|
+
},
|
|
64177
|
+
"modifiers": {
|
|
64178
|
+
"padding": {
|
|
64179
|
+
"leading": 14,
|
|
64180
|
+
"trailing": 14,
|
|
64181
|
+
"top": 14,
|
|
64182
|
+
"bottom": 14
|
|
64183
|
+
},
|
|
64184
|
+
"background": {
|
|
64185
|
+
"token": "surfaceSecondary"
|
|
64186
|
+
},
|
|
64187
|
+
"cornerRadius": 16,
|
|
64188
|
+
"fillMaxWidth": true,
|
|
64189
|
+
"hiddenPath": "$item.cardHidden"
|
|
64190
|
+
}
|
|
64032
64191
|
}
|
|
64033
64192
|
]
|
|
64034
64193
|
}
|
|
@@ -64099,7 +64258,8 @@ const SCREENS = runtimeSetting({
|
|
|
64099
64258
|
"declaredCapabilities": [
|
|
64100
64259
|
"wix_api",
|
|
64101
64260
|
"stream",
|
|
64102
|
-
"app_info"
|
|
64261
|
+
"app_info",
|
|
64262
|
+
"open_url"
|
|
64103
64263
|
],
|
|
64104
64264
|
"minBinaryVersion": "0.1.0",
|
|
64105
64265
|
"bundleVersion": "0.0.1"
|
|
@@ -64112,6 +64272,20 @@ const SCREENS = runtimeSetting({
|
|
|
64112
64272
|
"props": {
|
|
64113
64273
|
"spacing": 8,
|
|
64114
64274
|
"children": [
|
|
64275
|
+
{
|
|
64276
|
+
"id": "himi_owner_lite_maestro.context",
|
|
64277
|
+
"body": {
|
|
64278
|
+
"package": "himalaya",
|
|
64279
|
+
"type": "Text",
|
|
64280
|
+
"props": {
|
|
64281
|
+
"text": "$service:himiOwnerLiteMaestro.contextLabel",
|
|
64282
|
+
"style": "footnote",
|
|
64283
|
+
"color": "textSecondary",
|
|
64284
|
+
"maxLines": 1,
|
|
64285
|
+
"collapseWhenEmpty": true
|
|
64286
|
+
}
|
|
64287
|
+
}
|
|
64288
|
+
},
|
|
64115
64289
|
{
|
|
64116
64290
|
"id": "",
|
|
64117
64291
|
"body": {
|
|
@@ -64120,6 +64294,27 @@ const SCREENS = runtimeSetting({
|
|
|
64120
64294
|
"props": {}
|
|
64121
64295
|
}
|
|
64122
64296
|
},
|
|
64297
|
+
{
|
|
64298
|
+
"id": "himi_owner_lite_maestro.history",
|
|
64299
|
+
"body": {
|
|
64300
|
+
"package": "himalaya",
|
|
64301
|
+
"type": "Button",
|
|
64302
|
+
"props": {
|
|
64303
|
+
"title": "History",
|
|
64304
|
+
"style": "link",
|
|
64305
|
+
"size": "sm",
|
|
64306
|
+
"fullWidth": false,
|
|
64307
|
+
"action": {
|
|
64308
|
+
"actionId": "himi.open",
|
|
64309
|
+
"params": {
|
|
64310
|
+
"screenId": "himi_owner_lite_maestro_history",
|
|
64311
|
+
"title": "Conversations",
|
|
64312
|
+
"subtitle": "Pick up where you left off."
|
|
64313
|
+
}
|
|
64314
|
+
}
|
|
64315
|
+
}
|
|
64316
|
+
}
|
|
64317
|
+
},
|
|
64123
64318
|
{
|
|
64124
64319
|
"id": "himi_owner_lite_maestro.newChat",
|
|
64125
64320
|
"body": {
|
|
@@ -64322,6 +64517,321 @@ const SCREENS = runtimeSetting({
|
|
|
64322
64517
|
"replaces": "himi_owner_lite_maestro.header"
|
|
64323
64518
|
}
|
|
64324
64519
|
},
|
|
64520
|
+
"himi_owner_lite_maestro_history": {
|
|
64521
|
+
"screenId": "himi_owner_lite_maestro_history",
|
|
64522
|
+
"renderer": "sdui_intent",
|
|
64523
|
+
"title": "",
|
|
64524
|
+
"schemaVersion": 1,
|
|
64525
|
+
"cacheControl": {
|
|
64526
|
+
"maxAge": 0,
|
|
64527
|
+
"staleWhileRevalidate": 0
|
|
64528
|
+
},
|
|
64529
|
+
"telemetryScreenName": "himi_owner_lite_maestro_history",
|
|
64530
|
+
"payload": {
|
|
64531
|
+
"id": "himi_owner_lite_maestro_history.root",
|
|
64532
|
+
"body": {
|
|
64533
|
+
"package": "himalaya",
|
|
64534
|
+
"type": "VStack",
|
|
64535
|
+
"props": {
|
|
64536
|
+
"spacing": 16,
|
|
64537
|
+
"alignment": "leading",
|
|
64538
|
+
"children": [
|
|
64539
|
+
{
|
|
64540
|
+
"id": "himi_owner_lite_maestro_history.header",
|
|
64541
|
+
"body": {
|
|
64542
|
+
"package": "himalaya",
|
|
64543
|
+
"type": "VStack",
|
|
64544
|
+
"props": {
|
|
64545
|
+
"spacing": 4,
|
|
64546
|
+
"alignment": "leading",
|
|
64547
|
+
"children": [
|
|
64548
|
+
{
|
|
64549
|
+
"id": "himi_owner_lite_maestro_history.header.title",
|
|
64550
|
+
"body": {
|
|
64551
|
+
"package": "himalaya",
|
|
64552
|
+
"type": "Text",
|
|
64553
|
+
"props": {
|
|
64554
|
+
"text": "Conversations",
|
|
64555
|
+
"style": "title1"
|
|
64556
|
+
}
|
|
64557
|
+
},
|
|
64558
|
+
"modifiers": {
|
|
64559
|
+
"headingLevel": 1
|
|
64560
|
+
}
|
|
64561
|
+
},
|
|
64562
|
+
{
|
|
64563
|
+
"id": "",
|
|
64564
|
+
"body": {
|
|
64565
|
+
"package": "himalaya",
|
|
64566
|
+
"type": "Text",
|
|
64567
|
+
"props": {
|
|
64568
|
+
"text": "Pick up where you left off.",
|
|
64569
|
+
"style": "footnote",
|
|
64570
|
+
"color": "textSecondary",
|
|
64571
|
+
"collapseWhenEmpty": true
|
|
64572
|
+
}
|
|
64573
|
+
}
|
|
64574
|
+
}
|
|
64575
|
+
]
|
|
64576
|
+
}
|
|
64577
|
+
}
|
|
64578
|
+
},
|
|
64579
|
+
{
|
|
64580
|
+
"id": "",
|
|
64581
|
+
"body": {
|
|
64582
|
+
"package": "himalaya",
|
|
64583
|
+
"type": "Text",
|
|
64584
|
+
"props": {
|
|
64585
|
+
"text": "$service:himiOwnerLiteMaestroHistory.emptyText",
|
|
64586
|
+
"style": "body",
|
|
64587
|
+
"color": "textSecondary",
|
|
64588
|
+
"maxLines": 2,
|
|
64589
|
+
"collapseWhenEmpty": true
|
|
64590
|
+
}
|
|
64591
|
+
},
|
|
64592
|
+
"modifiers": {
|
|
64593
|
+
"padding": {
|
|
64594
|
+
"leading": 0,
|
|
64595
|
+
"trailing": 0,
|
|
64596
|
+
"top": 16,
|
|
64597
|
+
"bottom": 8
|
|
64598
|
+
}
|
|
64599
|
+
}
|
|
64600
|
+
},
|
|
64601
|
+
{
|
|
64602
|
+
"id": "himi_owner_lite_maestro_history.bound",
|
|
64603
|
+
"body": {
|
|
64604
|
+
"package": "himalaya",
|
|
64605
|
+
"type": "LazyList",
|
|
64606
|
+
"props": {
|
|
64607
|
+
"itemsPath": "$service:himiOwnerLiteMaestroHistory.items",
|
|
64608
|
+
"spacing": 0,
|
|
64609
|
+
"items": [
|
|
64610
|
+
{
|
|
64611
|
+
"id": "himi_owner_lite_maestro_history.row_$item.id",
|
|
64612
|
+
"body": {
|
|
64613
|
+
"package": "himalaya",
|
|
64614
|
+
"type": "VStack",
|
|
64615
|
+
"props": {
|
|
64616
|
+
"spacing": 0,
|
|
64617
|
+
"children": [
|
|
64618
|
+
{
|
|
64619
|
+
"id": "",
|
|
64620
|
+
"body": {
|
|
64621
|
+
"package": "himalaya",
|
|
64622
|
+
"type": "Text",
|
|
64623
|
+
"props": {
|
|
64624
|
+
"text": "$item.section",
|
|
64625
|
+
"style": "footnote",
|
|
64626
|
+
"color": "textSecondary",
|
|
64627
|
+
"maxLines": 1,
|
|
64628
|
+
"collapseWhenEmpty": true
|
|
64629
|
+
}
|
|
64630
|
+
},
|
|
64631
|
+
"modifiers": {
|
|
64632
|
+
"padding": {
|
|
64633
|
+
"leading": 0,
|
|
64634
|
+
"trailing": 0,
|
|
64635
|
+
"top": 14,
|
|
64636
|
+
"bottom": 4
|
|
64637
|
+
}
|
|
64638
|
+
}
|
|
64639
|
+
},
|
|
64640
|
+
{
|
|
64641
|
+
"id": "himi_owner_lite_maestro_history.card_$item.id",
|
|
64642
|
+
"body": {
|
|
64643
|
+
"package": "himalaya",
|
|
64644
|
+
"type": "HStack",
|
|
64645
|
+
"props": {
|
|
64646
|
+
"spacing": 12,
|
|
64647
|
+
"children": [
|
|
64648
|
+
{
|
|
64649
|
+
"id": "",
|
|
64650
|
+
"body": {
|
|
64651
|
+
"package": "himalaya",
|
|
64652
|
+
"type": "Icon",
|
|
64653
|
+
"props": {
|
|
64654
|
+
"name": "edit",
|
|
64655
|
+
"size": 20,
|
|
64656
|
+
"tint": "accentPrimary"
|
|
64657
|
+
}
|
|
64658
|
+
},
|
|
64659
|
+
"modifiers": {
|
|
64660
|
+
"accessibilityRole": "decorative"
|
|
64661
|
+
}
|
|
64662
|
+
},
|
|
64663
|
+
{
|
|
64664
|
+
"id": "",
|
|
64665
|
+
"body": {
|
|
64666
|
+
"package": "himalaya",
|
|
64667
|
+
"type": "VStack",
|
|
64668
|
+
"props": {
|
|
64669
|
+
"spacing": 2,
|
|
64670
|
+
"children": [
|
|
64671
|
+
{
|
|
64672
|
+
"id": "",
|
|
64673
|
+
"body": {
|
|
64674
|
+
"package": "himalaya",
|
|
64675
|
+
"type": "Text",
|
|
64676
|
+
"props": {
|
|
64677
|
+
"text": "$item.title",
|
|
64678
|
+
"style": "bodyEmphasis",
|
|
64679
|
+
"maxLines": 2
|
|
64680
|
+
}
|
|
64681
|
+
}
|
|
64682
|
+
},
|
|
64683
|
+
{
|
|
64684
|
+
"id": "",
|
|
64685
|
+
"body": {
|
|
64686
|
+
"package": "himalaya",
|
|
64687
|
+
"type": "Text",
|
|
64688
|
+
"props": {
|
|
64689
|
+
"text": "$item.subtitle",
|
|
64690
|
+
"style": "footnote",
|
|
64691
|
+
"color": "textSecondary",
|
|
64692
|
+
"maxLines": 1,
|
|
64693
|
+
"collapseWhenEmpty": true
|
|
64694
|
+
}
|
|
64695
|
+
}
|
|
64696
|
+
}
|
|
64697
|
+
]
|
|
64698
|
+
}
|
|
64699
|
+
}
|
|
64700
|
+
},
|
|
64701
|
+
{
|
|
64702
|
+
"id": "",
|
|
64703
|
+
"body": {
|
|
64704
|
+
"package": "himalaya",
|
|
64705
|
+
"type": "Spacer",
|
|
64706
|
+
"props": {}
|
|
64707
|
+
}
|
|
64708
|
+
},
|
|
64709
|
+
{
|
|
64710
|
+
"id": "",
|
|
64711
|
+
"body": {
|
|
64712
|
+
"package": "himalaya",
|
|
64713
|
+
"type": "Icon",
|
|
64714
|
+
"props": {
|
|
64715
|
+
"name": "chevron_right",
|
|
64716
|
+
"size": 18,
|
|
64717
|
+
"tint": "textSecondary"
|
|
64718
|
+
}
|
|
64719
|
+
},
|
|
64720
|
+
"modifiers": {
|
|
64721
|
+
"accessibilityRole": "decorative"
|
|
64722
|
+
}
|
|
64723
|
+
}
|
|
64724
|
+
]
|
|
64725
|
+
}
|
|
64726
|
+
},
|
|
64727
|
+
"modifiers": {
|
|
64728
|
+
"padding": {
|
|
64729
|
+
"leading": 0,
|
|
64730
|
+
"trailing": 0,
|
|
64731
|
+
"top": 12,
|
|
64732
|
+
"bottom": 12
|
|
64733
|
+
},
|
|
64734
|
+
"onTap": {
|
|
64735
|
+
"actionId": "himi.open",
|
|
64736
|
+
"params": {
|
|
64737
|
+
"screenId": "himi_owner_lite_maestro",
|
|
64738
|
+
"conversationId": "$item.id",
|
|
64739
|
+
"n": "$item.stamp",
|
|
64740
|
+
"title": "Maestro",
|
|
64741
|
+
"subtitle": "Your business assistant, by Symphony."
|
|
64742
|
+
}
|
|
64743
|
+
}
|
|
64744
|
+
}
|
|
64745
|
+
}
|
|
64746
|
+
]
|
|
64747
|
+
}
|
|
64748
|
+
}
|
|
64749
|
+
}
|
|
64750
|
+
]
|
|
64751
|
+
}
|
|
64752
|
+
},
|
|
64753
|
+
"modifiers": {
|
|
64754
|
+
"hiddenPath": "$service:himiOwnerLiteMaestroHistory.itemsHidden"
|
|
64755
|
+
}
|
|
64756
|
+
},
|
|
64757
|
+
{
|
|
64758
|
+
"id": "",
|
|
64759
|
+
"body": {
|
|
64760
|
+
"package": "himalaya",
|
|
64761
|
+
"type": "VStack",
|
|
64762
|
+
"props": {
|
|
64763
|
+
"spacing": 10,
|
|
64764
|
+
"alignment": "leading",
|
|
64765
|
+
"children": [
|
|
64766
|
+
{
|
|
64767
|
+
"id": "himi_owner_lite_maestro_history.error",
|
|
64768
|
+
"body": {
|
|
64769
|
+
"package": "himalaya",
|
|
64770
|
+
"type": "Text",
|
|
64771
|
+
"props": {
|
|
64772
|
+
"text": "$service:himiOwnerLiteMaestroHistory.error",
|
|
64773
|
+
"style": "body",
|
|
64774
|
+
"color": "textSecondary",
|
|
64775
|
+
"maxLines": 3
|
|
64776
|
+
}
|
|
64777
|
+
}
|
|
64778
|
+
},
|
|
64779
|
+
{
|
|
64780
|
+
"id": "himi_owner_lite_maestro_history.retry",
|
|
64781
|
+
"body": {
|
|
64782
|
+
"package": "himalaya",
|
|
64783
|
+
"type": "Button",
|
|
64784
|
+
"props": {
|
|
64785
|
+
"title": "Try again",
|
|
64786
|
+
"style": "secondary",
|
|
64787
|
+
"fullWidth": false,
|
|
64788
|
+
"action": {
|
|
64789
|
+
"actionId": "tier5.himiOwnerLiteMaestroHistory.load"
|
|
64790
|
+
}
|
|
64791
|
+
}
|
|
64792
|
+
}
|
|
64793
|
+
}
|
|
64794
|
+
]
|
|
64795
|
+
}
|
|
64796
|
+
},
|
|
64797
|
+
"modifiers": {
|
|
64798
|
+
"hiddenPath": "$service:himiOwnerLiteMaestroHistory.errorHidden"
|
|
64799
|
+
}
|
|
64800
|
+
}
|
|
64801
|
+
]
|
|
64802
|
+
}
|
|
64803
|
+
},
|
|
64804
|
+
"modifiers": {
|
|
64805
|
+
"background": {
|
|
64806
|
+
"token": "surfacePrimary"
|
|
64807
|
+
},
|
|
64808
|
+
"padding": {
|
|
64809
|
+
"leading": 16,
|
|
64810
|
+
"trailing": 16,
|
|
64811
|
+
"top": 18,
|
|
64812
|
+
"bottom": 24
|
|
64813
|
+
},
|
|
64814
|
+
"onAppear": {
|
|
64815
|
+
"actionId": "tier5.himiOwnerLiteMaestroHistory.load"
|
|
64816
|
+
}
|
|
64817
|
+
}
|
|
64818
|
+
},
|
|
64819
|
+
"logicBundle": {
|
|
64820
|
+
"url": "http://localhost:8190/v1/bundles/himi-owner-lite-maestro-history",
|
|
64821
|
+
"integrity": "",
|
|
64822
|
+
"contentType": "application/javascript+ts-bundle",
|
|
64823
|
+
"declaredCapabilities": [
|
|
64824
|
+
"wix_api"
|
|
64825
|
+
],
|
|
64826
|
+
"minBinaryVersion": "0.1.0",
|
|
64827
|
+
"bundleVersion": "0.0.1"
|
|
64828
|
+
},
|
|
64829
|
+
"hostTitle": {
|
|
64830
|
+
"title": "Conversations",
|
|
64831
|
+
"subtitle": "Pick up where you left off.",
|
|
64832
|
+
"replaces": "himi_owner_lite_maestro_history.header"
|
|
64833
|
+
}
|
|
64834
|
+
},
|
|
64325
64835
|
"himi_owner_lite_sites": {
|
|
64326
64836
|
"screenId": "himi_owner_lite_sites",
|
|
64327
64837
|
"renderer": "sdui_intent",
|
|
@@ -82386,6 +82896,33 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
82386
82896
|
"collapseWhenEmpty": true
|
|
82387
82897
|
}
|
|
82388
82898
|
}
|
|
82899
|
+
},
|
|
82900
|
+
{
|
|
82901
|
+
"id": "booking_detail.ask_maestro",
|
|
82902
|
+
"body": {
|
|
82903
|
+
"package": "himalaya",
|
|
82904
|
+
"type": "Button",
|
|
82905
|
+
"props": {
|
|
82906
|
+
"title": "Ask Maestro",
|
|
82907
|
+
"style": "secondary",
|
|
82908
|
+
"fullWidth": true,
|
|
82909
|
+
"leadingIcon": "ai",
|
|
82910
|
+
"action": {
|
|
82911
|
+
"actionId": "himi.open",
|
|
82912
|
+
"params": {
|
|
82913
|
+
"screenId": "himi_owner_lite_maestro",
|
|
82914
|
+
"kind": "booking",
|
|
82915
|
+
"id": "$service:ownerBooking.id",
|
|
82916
|
+
"subject": "$service:ownerBooking.title",
|
|
82917
|
+
"title": "Maestro",
|
|
82918
|
+
"subtitle": "Your business assistant, by Symphony."
|
|
82919
|
+
}
|
|
82920
|
+
}
|
|
82921
|
+
}
|
|
82922
|
+
},
|
|
82923
|
+
"modifiers": {
|
|
82924
|
+
"hiddenPath": "$service:ownerBooking.askMaestroHidden"
|
|
82925
|
+
}
|
|
82389
82926
|
}
|
|
82390
82927
|
]
|
|
82391
82928
|
}
|
|
@@ -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" };
|