@wix/himalaya-cli 0.1495.0 → 0.1497.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 (74) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/attendance-classifier.d.ts +37 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/catalog-pricing-contract.d.ts +1 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/index.d.ts +2 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments-contract.d.ts +11 -3
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/apple-iap-contract.d.ts +27 -3
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/commerce-contract.d.ts +1 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/iap-verticals/attendance.d.ts +10 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/iap-verticals/index.d.ts +1 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/index.d.ts +1 -1
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/events/src/index.d.ts +33 -2
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +346 -26
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap.mjs +132 -3
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +366 -48
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +5 -0
  15. package/dist/cli.mjs +816 -667
  16. package/guides/iap-products.md +7 -1
  17. package/guides/sdk-reference.json +376 -27
  18. package/package.json +2 -2
  19. package/templates/beauty-salon/dev/index.ts +394 -0
  20. package/templates/beauty-salon/tier5-src/_shared/iap-attendance-form.ts +106 -0
  21. package/templates/beauty-salon/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  22. package/templates/beauty-salon/tier5-src/_shared/iap-attendance.ts +38 -0
  23. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +52 -7
  24. package/templates/branded-lite/dev/index.ts +1073 -284
  25. package/templates/branded-lite/tier5-src/_shared/business-chat-model.ts +35 -4
  26. package/templates/branded-lite/tier5-src/_shared/business-chat-transport.ts +12 -5
  27. package/templates/branded-lite/tier5-src/_shared/iap-attendance-form.ts +106 -0
  28. package/templates/branded-lite/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  29. package/templates/branded-lite/tier5-src/_shared/iap-attendance.ts +38 -0
  30. package/templates/branded-lite/tier5-src/business-chat/index.ts +50 -17
  31. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +52 -7
  32. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +112 -21
  33. package/templates/community-club/dev/index.ts +397 -2
  34. package/templates/community-club/tier5-src/_shared/iap-attendance-form.ts +106 -0
  35. package/templates/community-club/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  36. package/templates/community-club/tier5-src/_shared/iap-attendance.ts +38 -0
  37. package/templates/community-club/tier5-src/himi-events-detail/index.ts +112 -21
  38. package/templates/events-meetups/dev/index.ts +397 -2
  39. package/templates/events-meetups/tier5-src/_shared/iap-attendance-form.ts +106 -0
  40. package/templates/events-meetups/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  41. package/templates/events-meetups/tier5-src/_shared/iap-attendance.ts +38 -0
  42. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +112 -21
  43. package/templates/gym-fitness/dev/index.ts +828 -39
  44. package/templates/gym-fitness/tier5-src/_shared/iap-attendance-form.ts +106 -0
  45. package/templates/gym-fitness/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  46. package/templates/gym-fitness/tier5-src/_shared/iap-attendance.ts +38 -0
  47. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +52 -7
  48. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +112 -21
  49. package/templates/nonprofit-cause/dev/index.ts +397 -2
  50. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance-form.ts +106 -0
  51. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  52. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance.ts +38 -0
  53. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +112 -21
  54. package/templates/podcast-creator/dev/index.ts +397 -2
  55. package/templates/podcast-creator/tier5-src/_shared/iap-attendance-form.ts +106 -0
  56. package/templates/podcast-creator/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  57. package/templates/podcast-creator/tier5-src/_shared/iap-attendance.ts +38 -0
  58. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +112 -21
  59. package/templates/portfolio-creative/dev/index.ts +397 -2
  60. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance-form.ts +106 -0
  61. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  62. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance.ts +38 -0
  63. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +112 -21
  64. package/templates/restaurant/dev/index.ts +397 -2
  65. package/templates/restaurant/tier5-src/_shared/iap-attendance-form.ts +106 -0
  66. package/templates/restaurant/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  67. package/templates/restaurant/tier5-src/_shared/iap-attendance.ts +38 -0
  68. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +112 -21
  69. package/templates/yoga-studio/dev/index.ts +828 -39
  70. package/templates/yoga-studio/tier5-src/_shared/iap-attendance-form.ts +106 -0
  71. package/templates/yoga-studio/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  72. package/templates/yoga-studio/tier5-src/_shared/iap-attendance.ts +38 -0
  73. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +52 -7
  74. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +112 -21
@@ -89020,12 +89020,12 @@ const SCREENS = runtimeSetting({
89020
89020
  },
89021
89021
  "cornerRadius": 16,
89022
89022
  "padding": {
89023
- "leading": 12,
89024
- "trailing": 12,
89023
+ "leading": 10,
89024
+ "trailing": 10,
89025
89025
  "top": 10,
89026
89026
  "bottom": 10
89027
89027
  },
89028
- "maxWidth": 320
89028
+ "maxWidth": 360
89029
89029
  }
89030
89030
  },
89031
89031
  {
@@ -89038,7 +89038,7 @@ const SCREENS = runtimeSetting({
89038
89038
  "modifiers": {}
89039
89039
  }
89040
89040
  ],
89041
- "spacing": 8,
89041
+ "spacing": 6,
89042
89042
  "alignment": "leading"
89043
89043
  }
89044
89044
  },
@@ -89148,16 +89148,16 @@ const SCREENS = runtimeSetting({
89148
89148
  },
89149
89149
  "cornerRadius": 16,
89150
89150
  "padding": {
89151
- "leading": 12,
89152
- "trailing": 12,
89151
+ "leading": 10,
89152
+ "trailing": 10,
89153
89153
  "top": 10,
89154
89154
  "bottom": 10
89155
89155
  },
89156
- "maxWidth": 320
89156
+ "maxWidth": 360
89157
89157
  }
89158
89158
  }
89159
89159
  ],
89160
- "spacing": 8,
89160
+ "spacing": 6,
89161
89161
  "alignment": "leading"
89162
89162
  }
89163
89163
  },
@@ -89174,8 +89174,8 @@ const SCREENS = runtimeSetting({
89174
89174
  "modifiers": {
89175
89175
  "fillMaxWidth": true,
89176
89176
  "padding": {
89177
- "leading": 14,
89178
- "trailing": 14,
89177
+ "leading": 8,
89178
+ "trailing": 8,
89179
89179
  "top": 4,
89180
89180
  "bottom": 4
89181
89181
  }
@@ -89462,8 +89462,8 @@ const SCREENS = runtimeSetting({
89462
89462
  "fillMaxWidth": true,
89463
89463
  "accessibilityLabel": "Type your message",
89464
89464
  "padding": {
89465
- "leading": 16,
89466
- "trailing": 12,
89465
+ "leading": 12,
89466
+ "trailing": 10,
89467
89467
  "top": 2,
89468
89468
  "bottom": 2
89469
89469
  },
@@ -89563,8 +89563,8 @@ const SCREENS = runtimeSetting({
89563
89563
  "token": "surfacePrimary"
89564
89564
  },
89565
89565
  "padding": {
89566
- "leading": 14,
89567
- "trailing": 14,
89566
+ "leading": 8,
89567
+ "trailing": 8,
89568
89568
  "top": 8,
89569
89569
  "bottom": 8
89570
89570
  }
@@ -95978,107 +95978,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
95978
95978
  }
95979
95979
  }
95980
95980
  },
95981
- {
95982
- "id": "himi_time.book.disabled",
95983
- "body": {
95984
- "package": "himalaya",
95985
- "type": "Button",
95986
- "props": {
95987
- "title": "Choose a time first",
95988
- "style": "primary",
95989
- "fullWidth": true,
95990
- "disabled": true,
95991
- "action": {
95992
- "actionId": "tier5.himiBookingTime.bookSelected"
95993
- }
95994
- }
95995
- },
95996
- "modifiers": {
95997
- "hiddenPath": "$service:himiBookingTime.hideChoosePrompt"
95998
- }
95999
- },
96000
- {
96001
- "id": "himi_time.book.loading",
96002
- "body": {
96003
- "package": "himalaya",
96004
- "type": "Button",
96005
- "props": {
96006
- "title": "Booking...",
96007
- "style": "primary",
96008
- "fullWidth": true,
96009
- "disabled": true,
96010
- "loading": true,
96011
- "action": {
96012
- "actionId": "tier5.himiBookingTime.bookSelected"
96013
- }
96014
- }
96015
- },
96016
- "modifiers": {
96017
- "hiddenPath": "$service:himiBookingTime.notBooking"
96018
- }
96019
- },
96020
- {
96021
- "id": "himi_time.book_sign_in",
96022
- "body": {
96023
- "package": "himalaya",
96024
- "type": "Button",
96025
- "props": {
96026
- "title": "Book selected time",
96027
- "style": "primary",
96028
- "fullWidth": true,
96029
- "action": {
96030
- "actionId": "himi.open",
96031
- "params": {
96032
- "screenId": "himi_sign_in",
96033
- "mode": "signin",
96034
- "intent": "book"
96035
- }
96036
- }
96037
- }
96038
- },
96039
- "modifiers": {
96040
- "cornerRadius": 8,
96041
- "pressFeedback": "scale",
96042
- "haptic": "medium",
96043
- "hiddenPath": "$service:himiBookingTime.hideSignIn"
96044
- }
96045
- },
96046
- {
96047
- "id": "himi_time.book",
96048
- "body": {
96049
- "package": "himalaya",
96050
- "type": "Button",
96051
- "props": {
96052
- "title": "Book selected time",
96053
- "style": "primary",
96054
- "fullWidth": true,
96055
- "action": {
96056
- "actionId": "tier5.himiBookingTime.bookSelected"
96057
- }
96058
- }
96059
- },
96060
- "modifiers": {
96061
- "cornerRadius": 8,
96062
- "pressFeedback": "scale",
96063
- "haptic": "medium",
96064
- "hiddenPath": "$service:himiBookingTime.cannotBook"
96065
- }
96066
- },
96067
95981
  {
96068
95982
  "id": "",
96069
- "body": {
96070
- "package": "himalaya",
96071
- "type": "Text",
96072
- "props": {
96073
- "text": "$service:himiBookingTime.message",
96074
- "style": "footnote",
96075
- "color": "textSecondary",
96076
- "collapseWhenEmpty": true
96077
- }
96078
- }
96079
- },
96080
- {
96081
- "id": "himi_time.success",
96082
95983
  "body": {
96083
95984
  "package": "himalaya",
96084
95985
  "type": "VStack",
@@ -96090,146 +95991,637 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
96090
95991
  "id": "",
96091
95992
  "body": {
96092
95993
  "package": "himalaya",
96093
- "type": "HStack",
95994
+ "type": "Text",
96094
95995
  "props": {
96095
- "spacing": 10,
96096
- "children": [
96097
- {
96098
- "id": "",
96099
- "body": {
96100
- "package": "himalaya",
96101
- "type": "Icon",
96102
- "props": {
96103
- "name": "check",
96104
- "size": 18,
96105
- "tint": "accentPrimary"
96106
- }
96107
- },
96108
- "modifiers": {
96109
- "accessibilityRole": "decorative"
96110
- }
96111
- },
96112
- {
96113
- "id": "",
96114
- "body": {
96115
- "package": "himalaya",
96116
- "type": "Text",
96117
- "props": {
96118
- "text": "$service:himiBookingTime.successMessage",
96119
- "style": "bodyEmphasis",
96120
- "collapseWhenEmpty": true
96121
- }
96122
- }
96123
- }
96124
- ]
95996
+ "text": "$service:himiBookingTime.iapPrice",
95997
+ "style": "bodyEmphasis",
95998
+ "collapseWhenEmpty": true
96125
95999
  }
96126
96000
  }
96127
96001
  },
96128
96002
  {
96129
- "id": "himi_time.success.bookings",
96003
+ "id": "himi_time.apple.form",
96130
96004
  "body": {
96131
96005
  "package": "himalaya",
96132
- "type": "Button",
96006
+ "type": "Grid",
96133
96007
  "props": {
96134
- "title": "View My Bookings",
96135
- "style": "secondary",
96136
- "fullWidth": true,
96137
- "action": {
96138
- "actionId": "himi.open",
96139
- "params": {
96140
- "screenId": "himi_bookings"
96141
- }
96142
- }
96143
- }
96144
- }
96145
- }
96146
- ]
96147
- }
96148
- },
96149
- "modifiers": {
96150
- "background": {
96151
- "token": "surfaceElevated"
96152
- },
96153
- "border": {
96154
- "width": 1,
96155
- "color": {
96156
- "token": "border"
96157
- }
96158
- },
96159
- "cornerRadius": 8,
96160
- "padding": {
96161
- "leading": 14,
96162
- "trailing": 14,
96163
- "top": 14,
96164
- "bottom": 14
96165
- },
96166
- "hiddenPath": "$service:himiBookingTime.noSuccess"
96167
- }
96168
- }
96169
- ]
96170
- }
96171
- },
96172
- "modifiers": {
96173
- "hiddenPath": "$service:himiBookingTime.isLoading"
96174
- }
96175
- }
96176
- ]
96177
- }
96178
- },
96179
- "modifiers": {
96180
- "hiddenPath": "$service:himiBookingTime.isLoading"
96181
- }
96182
- },
96183
- {
96184
- "id": "",
96185
- "body": {
96186
- "package": "himalaya",
96187
- "type": "VStack",
96188
- "props": {
96189
- "spacing": 12,
96190
- "alignment": "center",
96191
- "children": [
96192
- {
96193
- "id": "",
96194
- "body": {
96195
- "package": "himalaya",
96196
- "type": "Icon",
96197
- "props": {
96198
- "name": "calendar",
96199
- "size": 34,
96200
- "tint": "textTertiary"
96201
- }
96202
- },
96203
- "modifiers": {
96204
- "accessibilityRole": "decorative"
96205
- }
96206
- },
96207
- {
96208
- "id": "",
96209
- "body": {
96210
- "package": "himalaya",
96211
- "type": "Text",
96212
- "props": {
96213
- "text": "$service:himiBookingTime.emptyText",
96214
- "style": "bodyEmphasis",
96215
- "color": "textSecondary",
96216
- "collapseWhenEmpty": true
96217
- }
96218
- }
96219
- },
96220
- {
96221
- "id": "himi_time.empty.cta",
96222
- "body": {
96223
- "package": "himalaya",
96224
- "type": "Button",
96225
- "props": {
96226
- "title": "Back to services",
96227
- "style": "secondary",
96228
- "action": {
96229
- "actionId": "himi.open",
96230
- "params": {
96231
- "screenId": "himi_services"
96232
- }
96008
+ "columns": 1,
96009
+ "spacing": 12,
96010
+ "itemsPath": "$service:himiBookingTime.iapFields",
96011
+ "items": [
96012
+ {
96013
+ "id": "",
96014
+ "body": {
96015
+ "package": "himalaya",
96016
+ "type": "VStack",
96017
+ "props": {
96018
+ "spacing": 8,
96019
+ "alignment": "leading",
96020
+ "children": [
96021
+ {
96022
+ "id": "",
96023
+ "body": {
96024
+ "package": "himalaya",
96025
+ "type": "Text",
96026
+ "props": {
96027
+ "text": "$item.sectionLabel",
96028
+ "style": "bodyEmphasis",
96029
+ "collapseWhenEmpty": true
96030
+ }
96031
+ }
96032
+ },
96033
+ {
96034
+ "id": "",
96035
+ "body": {
96036
+ "package": "himalaya",
96037
+ "type": "Text",
96038
+ "props": {
96039
+ "text": "$item.label",
96040
+ "style": "footnote"
96041
+ }
96042
+ }
96043
+ },
96044
+ {
96045
+ "id": "himi_time.apple.input.$item.id",
96046
+ "body": {
96047
+ "package": "himalaya",
96048
+ "type": "FragmentSlot",
96049
+ "props": {
96050
+ "casePath": "$item.kind",
96051
+ "defaultCase": "text",
96052
+ "cases": [
96053
+ {
96054
+ "id": "text",
96055
+ "content": {
96056
+ "id": "himi_time.apple.field.text.$item.id",
96057
+ "body": {
96058
+ "package": "himalaya",
96059
+ "type": "TextField",
96060
+ "props": {
96061
+ "placeholder": "$item.inputLabel",
96062
+ "value": "$item.value",
96063
+ "onChange": {
96064
+ "actionId": "tier5.himiBookingTime.setIapField",
96065
+ "params": {
96066
+ "id": "$item.fieldId"
96067
+ }
96068
+ },
96069
+ "validation": {},
96070
+ "errorText": "$item.error",
96071
+ "autoCapitalization": "words"
96072
+ }
96073
+ }
96074
+ }
96075
+ },
96076
+ {
96077
+ "id": "requiredText",
96078
+ "content": {
96079
+ "id": "himi_time.apple.field.requiredText.$item.id",
96080
+ "body": {
96081
+ "package": "himalaya",
96082
+ "type": "TextField",
96083
+ "props": {
96084
+ "placeholder": "$item.inputLabel",
96085
+ "value": "$item.value",
96086
+ "onChange": {
96087
+ "actionId": "tier5.himiBookingTime.setIapField",
96088
+ "params": {
96089
+ "id": "$item.fieldId"
96090
+ }
96091
+ },
96092
+ "validation": {
96093
+ "required": true
96094
+ },
96095
+ "errorText": "$item.error",
96096
+ "autoCapitalization": "words"
96097
+ }
96098
+ }
96099
+ }
96100
+ },
96101
+ {
96102
+ "id": "email",
96103
+ "content": {
96104
+ "id": "himi_time.apple.field.email.$item.id",
96105
+ "body": {
96106
+ "package": "himalaya",
96107
+ "type": "TextField",
96108
+ "props": {
96109
+ "placeholder": "$item.inputLabel",
96110
+ "value": "$item.value",
96111
+ "onChange": {
96112
+ "actionId": "tier5.himiBookingTime.setIapField",
96113
+ "params": {
96114
+ "id": "$item.fieldId"
96115
+ }
96116
+ },
96117
+ "validation": {
96118
+ "required": true,
96119
+ "type": "email"
96120
+ },
96121
+ "errorText": "$item.error",
96122
+ "autoCapitalization": "none"
96123
+ }
96124
+ }
96125
+ }
96126
+ },
96127
+ {
96128
+ "id": "number",
96129
+ "content": {
96130
+ "id": "himi_time.apple.field.number.$item.id",
96131
+ "body": {
96132
+ "package": "himalaya",
96133
+ "type": "TextField",
96134
+ "props": {
96135
+ "placeholder": "$item.inputLabel",
96136
+ "value": "$item.value",
96137
+ "onChange": {
96138
+ "actionId": "tier5.himiBookingTime.setIapField",
96139
+ "params": {
96140
+ "id": "$item.fieldId"
96141
+ }
96142
+ },
96143
+ "validation": {
96144
+ "type": "number"
96145
+ },
96146
+ "errorText": "$item.error",
96147
+ "autoCapitalization": "words"
96148
+ }
96149
+ }
96150
+ }
96151
+ },
96152
+ {
96153
+ "id": "choice",
96154
+ "content": {
96155
+ "id": "",
96156
+ "body": {
96157
+ "package": "himalaya",
96158
+ "type": "VStack",
96159
+ "props": {
96160
+ "spacing": 4,
96161
+ "children": [
96162
+ {
96163
+ "id": "himi_time.apple.options.choice",
96164
+ "body": {
96165
+ "package": "himalaya",
96166
+ "type": "Grid",
96167
+ "props": {
96168
+ "columns": 1,
96169
+ "spacing": 8,
96170
+ "itemsPath": "$item.options",
96171
+ "items": [
96172
+ {
96173
+ "id": "himi_time.apple.option.choice.$item.fieldId.$item.id",
96174
+ "body": {
96175
+ "package": "himalaya",
96176
+ "type": "Button",
96177
+ "props": {
96178
+ "title": "$item.displayLabel",
96179
+ "style": "secondary",
96180
+ "fullWidth": true,
96181
+ "action": {
96182
+ "actionId": "tier5.himiBookingTime.setIapField",
96183
+ "params": {
96184
+ "id": "$item.fieldId",
96185
+ "option": "$item.id"
96186
+ }
96187
+ }
96188
+ }
96189
+ }
96190
+ }
96191
+ ]
96192
+ }
96193
+ }
96194
+ },
96195
+ {
96196
+ "id": "",
96197
+ "body": {
96198
+ "package": "himalaya",
96199
+ "type": "FieldError",
96200
+ "props": {
96201
+ "text": "$item.error"
96202
+ }
96203
+ },
96204
+ "modifiers": {
96205
+ "hiddenPath": "$item.errorHidden"
96206
+ }
96207
+ }
96208
+ ]
96209
+ }
96210
+ }
96211
+ }
96212
+ },
96213
+ {
96214
+ "id": "multiple",
96215
+ "content": {
96216
+ "id": "",
96217
+ "body": {
96218
+ "package": "himalaya",
96219
+ "type": "VStack",
96220
+ "props": {
96221
+ "spacing": 4,
96222
+ "children": [
96223
+ {
96224
+ "id": "himi_time.apple.options.multiple",
96225
+ "body": {
96226
+ "package": "himalaya",
96227
+ "type": "Grid",
96228
+ "props": {
96229
+ "columns": 1,
96230
+ "spacing": 8,
96231
+ "itemsPath": "$item.options",
96232
+ "items": [
96233
+ {
96234
+ "id": "himi_time.apple.option.multiple.$item.fieldId.$item.id",
96235
+ "body": {
96236
+ "package": "himalaya",
96237
+ "type": "Button",
96238
+ "props": {
96239
+ "title": "$item.displayLabel",
96240
+ "style": "secondary",
96241
+ "fullWidth": true,
96242
+ "action": {
96243
+ "actionId": "tier5.himiBookingTime.setIapField",
96244
+ "params": {
96245
+ "id": "$item.fieldId",
96246
+ "option": "$item.id"
96247
+ }
96248
+ }
96249
+ }
96250
+ }
96251
+ }
96252
+ ]
96253
+ }
96254
+ }
96255
+ },
96256
+ {
96257
+ "id": "",
96258
+ "body": {
96259
+ "package": "himalaya",
96260
+ "type": "FieldError",
96261
+ "props": {
96262
+ "text": "$item.error"
96263
+ }
96264
+ },
96265
+ "modifiers": {
96266
+ "hiddenPath": "$item.errorHidden"
96267
+ }
96268
+ }
96269
+ ]
96270
+ }
96271
+ }
96272
+ }
96273
+ }
96274
+ ]
96275
+ }
96276
+ }
96277
+ }
96278
+ ]
96279
+ }
96280
+ }
96281
+ }
96282
+ ]
96283
+ }
96284
+ },
96285
+ "modifiers": {
96286
+ "hiddenPath": "$service:himiBookingTime.iapFormHidden"
96287
+ }
96288
+ },
96289
+ {
96290
+ "id": "",
96291
+ "body": {
96292
+ "package": "himalaya",
96293
+ "type": "FieldError",
96294
+ "props": {
96295
+ "text": "",
96296
+ "textPath": "$service:himiBookingTime.iapFormError"
96297
+ }
96298
+ }
96299
+ },
96300
+ {
96301
+ "id": "himi_time.apple.buy",
96302
+ "body": {
96303
+ "package": "himalaya",
96304
+ "type": "Button",
96305
+ "props": {
96306
+ "title": "$service:himiBookingTime.iapBuyLabel",
96307
+ "disabledPath": "$service:himiBookingTime.iapBuyDisabled",
96308
+ "style": "primary",
96309
+ "fullWidth": true,
96310
+ "action": {
96311
+ "actionId": "tier5.himiBookingTime.buyApple"
96312
+ }
96313
+ }
96314
+ }
96315
+ },
96316
+ {
96317
+ "id": "",
96318
+ "body": {
96319
+ "package": "himalaya",
96320
+ "type": "Text",
96321
+ "props": {
96322
+ "text": "$service:himiBookingTime.iapNote",
96323
+ "style": "footnote",
96324
+ "color": "textSecondary",
96325
+ "collapseWhenEmpty": true
96326
+ }
96327
+ }
96328
+ },
96329
+ {
96330
+ "id": "himi_time.apple.signin",
96331
+ "body": {
96332
+ "package": "himalaya",
96333
+ "type": "Button",
96334
+ "props": {
96335
+ "title": "Sign in",
96336
+ "style": "secondary",
96337
+ "action": {
96338
+ "actionId": "himi.open",
96339
+ "params": {
96340
+ "screenId": "himi_account"
96341
+ }
96342
+ }
96343
+ }
96344
+ },
96345
+ "modifiers": {
96346
+ "hiddenPath": "$service:himiBookingTime.iapSignInHidden"
96347
+ }
96348
+ },
96349
+ {
96350
+ "id": "himi_time.apple.retry",
96351
+ "body": {
96352
+ "package": "himalaya",
96353
+ "type": "Button",
96354
+ "props": {
96355
+ "title": "Refresh purchase status",
96356
+ "style": "secondary",
96357
+ "action": {
96358
+ "actionId": "tier5.himiBookingTime.iapRefresh"
96359
+ }
96360
+ }
96361
+ },
96362
+ "modifiers": {
96363
+ "hiddenPath": "$service:himiBookingTime.iapRetryHidden"
96364
+ }
96365
+ }
96366
+ ]
96367
+ }
96368
+ },
96369
+ "modifiers": {
96370
+ "hiddenPath": "$service:himiBookingTime.iapBuyHidden"
96371
+ }
96372
+ },
96373
+ {
96374
+ "id": "himi_time.book.disabled",
96375
+ "body": {
96376
+ "package": "himalaya",
96377
+ "type": "Button",
96378
+ "props": {
96379
+ "title": "Choose a time first",
96380
+ "style": "primary",
96381
+ "fullWidth": true,
96382
+ "disabled": true,
96383
+ "action": {
96384
+ "actionId": "tier5.himiBookingTime.bookSelected"
96385
+ }
96386
+ }
96387
+ },
96388
+ "modifiers": {
96389
+ "hiddenPath": "$service:himiBookingTime.hideChoosePrompt"
96390
+ }
96391
+ },
96392
+ {
96393
+ "id": "himi_time.book.loading",
96394
+ "body": {
96395
+ "package": "himalaya",
96396
+ "type": "Button",
96397
+ "props": {
96398
+ "title": "Booking...",
96399
+ "style": "primary",
96400
+ "fullWidth": true,
96401
+ "disabled": true,
96402
+ "loading": true,
96403
+ "action": {
96404
+ "actionId": "tier5.himiBookingTime.bookSelected"
96405
+ }
96406
+ }
96407
+ },
96408
+ "modifiers": {
96409
+ "hiddenPath": "$service:himiBookingTime.notBooking"
96410
+ }
96411
+ },
96412
+ {
96413
+ "id": "himi_time.book_sign_in",
96414
+ "body": {
96415
+ "package": "himalaya",
96416
+ "type": "Button",
96417
+ "props": {
96418
+ "title": "Book selected time",
96419
+ "style": "primary",
96420
+ "fullWidth": true,
96421
+ "action": {
96422
+ "actionId": "himi.open",
96423
+ "params": {
96424
+ "screenId": "himi_sign_in",
96425
+ "mode": "signin",
96426
+ "intent": "book"
96427
+ }
96428
+ }
96429
+ }
96430
+ },
96431
+ "modifiers": {
96432
+ "cornerRadius": 8,
96433
+ "pressFeedback": "scale",
96434
+ "haptic": "medium",
96435
+ "hiddenPath": "$service:himiBookingTime.hideSignIn"
96436
+ }
96437
+ },
96438
+ {
96439
+ "id": "himi_time.book",
96440
+ "body": {
96441
+ "package": "himalaya",
96442
+ "type": "Button",
96443
+ "props": {
96444
+ "title": "Book selected time",
96445
+ "style": "primary",
96446
+ "fullWidth": true,
96447
+ "action": {
96448
+ "actionId": "tier5.himiBookingTime.bookSelected"
96449
+ }
96450
+ }
96451
+ },
96452
+ "modifiers": {
96453
+ "cornerRadius": 8,
96454
+ "pressFeedback": "scale",
96455
+ "haptic": "medium",
96456
+ "hiddenPath": "$service:himiBookingTime.cannotBook"
96457
+ }
96458
+ },
96459
+ {
96460
+ "id": "",
96461
+ "body": {
96462
+ "package": "himalaya",
96463
+ "type": "Text",
96464
+ "props": {
96465
+ "text": "$service:himiBookingTime.message",
96466
+ "style": "footnote",
96467
+ "color": "textSecondary",
96468
+ "collapseWhenEmpty": true
96469
+ }
96470
+ }
96471
+ },
96472
+ {
96473
+ "id": "himi_time.success",
96474
+ "body": {
96475
+ "package": "himalaya",
96476
+ "type": "VStack",
96477
+ "props": {
96478
+ "spacing": 12,
96479
+ "alignment": "leading",
96480
+ "children": [
96481
+ {
96482
+ "id": "",
96483
+ "body": {
96484
+ "package": "himalaya",
96485
+ "type": "HStack",
96486
+ "props": {
96487
+ "spacing": 10,
96488
+ "children": [
96489
+ {
96490
+ "id": "",
96491
+ "body": {
96492
+ "package": "himalaya",
96493
+ "type": "Icon",
96494
+ "props": {
96495
+ "name": "check",
96496
+ "size": 18,
96497
+ "tint": "accentPrimary"
96498
+ }
96499
+ },
96500
+ "modifiers": {
96501
+ "accessibilityRole": "decorative"
96502
+ }
96503
+ },
96504
+ {
96505
+ "id": "",
96506
+ "body": {
96507
+ "package": "himalaya",
96508
+ "type": "Text",
96509
+ "props": {
96510
+ "text": "$service:himiBookingTime.successMessage",
96511
+ "style": "bodyEmphasis",
96512
+ "collapseWhenEmpty": true
96513
+ }
96514
+ }
96515
+ }
96516
+ ]
96517
+ }
96518
+ }
96519
+ },
96520
+ {
96521
+ "id": "himi_time.success.bookings",
96522
+ "body": {
96523
+ "package": "himalaya",
96524
+ "type": "Button",
96525
+ "props": {
96526
+ "title": "View My Bookings",
96527
+ "style": "secondary",
96528
+ "fullWidth": true,
96529
+ "action": {
96530
+ "actionId": "himi.open",
96531
+ "params": {
96532
+ "screenId": "himi_bookings"
96533
+ }
96534
+ }
96535
+ }
96536
+ }
96537
+ }
96538
+ ]
96539
+ }
96540
+ },
96541
+ "modifiers": {
96542
+ "background": {
96543
+ "token": "surfaceElevated"
96544
+ },
96545
+ "border": {
96546
+ "width": 1,
96547
+ "color": {
96548
+ "token": "border"
96549
+ }
96550
+ },
96551
+ "cornerRadius": 8,
96552
+ "padding": {
96553
+ "leading": 14,
96554
+ "trailing": 14,
96555
+ "top": 14,
96556
+ "bottom": 14
96557
+ },
96558
+ "hiddenPath": "$service:himiBookingTime.noSuccess"
96559
+ }
96560
+ }
96561
+ ]
96562
+ }
96563
+ },
96564
+ "modifiers": {
96565
+ "hiddenPath": "$service:himiBookingTime.isLoading"
96566
+ }
96567
+ }
96568
+ ]
96569
+ }
96570
+ },
96571
+ "modifiers": {
96572
+ "hiddenPath": "$service:himiBookingTime.isLoading"
96573
+ }
96574
+ },
96575
+ {
96576
+ "id": "",
96577
+ "body": {
96578
+ "package": "himalaya",
96579
+ "type": "VStack",
96580
+ "props": {
96581
+ "spacing": 12,
96582
+ "alignment": "center",
96583
+ "children": [
96584
+ {
96585
+ "id": "",
96586
+ "body": {
96587
+ "package": "himalaya",
96588
+ "type": "Icon",
96589
+ "props": {
96590
+ "name": "calendar",
96591
+ "size": 34,
96592
+ "tint": "textTertiary"
96593
+ }
96594
+ },
96595
+ "modifiers": {
96596
+ "accessibilityRole": "decorative"
96597
+ }
96598
+ },
96599
+ {
96600
+ "id": "",
96601
+ "body": {
96602
+ "package": "himalaya",
96603
+ "type": "Text",
96604
+ "props": {
96605
+ "text": "$service:himiBookingTime.emptyText",
96606
+ "style": "bodyEmphasis",
96607
+ "color": "textSecondary",
96608
+ "collapseWhenEmpty": true
96609
+ }
96610
+ }
96611
+ },
96612
+ {
96613
+ "id": "himi_time.empty.cta",
96614
+ "body": {
96615
+ "package": "himalaya",
96616
+ "type": "Button",
96617
+ "props": {
96618
+ "title": "Back to services",
96619
+ "style": "secondary",
96620
+ "action": {
96621
+ "actionId": "himi.open",
96622
+ "params": {
96623
+ "screenId": "himi_services"
96624
+ }
96233
96625
  }
96234
96626
  }
96235
96627
  }
@@ -96276,6 +96668,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
96276
96668
  "declaredCapabilities": [
96277
96669
  "wix_api",
96278
96670
  "local_database",
96671
+ "app_info",
96672
+ "iap",
96279
96673
  "wix_cashier",
96280
96674
  "open_url",
96281
96675
  "wix_platform"
@@ -98191,64 +98585,456 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
98191
98585
  "id": "",
98192
98586
  "body": {
98193
98587
  "package": "himalaya",
98194
- "type": "Spacer",
98195
- "props": {}
98588
+ "type": "Spacer",
98589
+ "props": {}
98590
+ }
98591
+ },
98592
+ {
98593
+ "id": "",
98594
+ "body": {
98595
+ "package": "himalaya",
98596
+ "type": "Text",
98597
+ "props": {
98598
+ "text": "$item.unavailableNote",
98599
+ "style": "footnote",
98600
+ "color": "textTertiary",
98601
+ "collapseWhenEmpty": true
98602
+ }
98603
+ }
98604
+ }
98605
+ ]
98606
+ }
98607
+ },
98608
+ "modifiers": {
98609
+ "background": {
98610
+ "token": "surfaceElevated"
98611
+ },
98612
+ "border": {
98613
+ "width": 1,
98614
+ "color": {
98615
+ "token": "border"
98616
+ }
98617
+ },
98618
+ "cornerRadius": 8,
98619
+ "padding": {
98620
+ "leading": 12,
98621
+ "trailing": 12,
98622
+ "top": 10,
98623
+ "bottom": 10
98624
+ },
98625
+ "fillMaxWidth": true,
98626
+ "onTap": {
98627
+ "actionId": "tier5.himiEventDetail.selectTier",
98628
+ "params": {
98629
+ "id": "$item.id"
98630
+ }
98631
+ },
98632
+ "pressFeedback": "scale",
98633
+ "haptic": "light",
98634
+ "accessibilityLabel": "$item.name"
98635
+ }
98636
+ }
98637
+ ]
98638
+ }
98639
+ }
98640
+ }
98641
+ ]
98642
+ }
98643
+ },
98644
+ "modifiers": {
98645
+ "hiddenPath": "$service:himiEventDetail.hideTierPicker"
98646
+ }
98647
+ },
98648
+ {
98649
+ "id": "",
98650
+ "body": {
98651
+ "package": "himalaya",
98652
+ "type": "VStack",
98653
+ "props": {
98654
+ "spacing": 12,
98655
+ "alignment": "leading",
98656
+ "children": [
98657
+ {
98658
+ "id": "",
98659
+ "body": {
98660
+ "package": "himalaya",
98661
+ "type": "Text",
98662
+ "props": {
98663
+ "text": "$service:himiEventDetail.iapPrice",
98664
+ "style": "bodyEmphasis",
98665
+ "collapseWhenEmpty": true
98666
+ }
98667
+ }
98668
+ },
98669
+ {
98670
+ "id": "himi_event.apple.form",
98671
+ "body": {
98672
+ "package": "himalaya",
98673
+ "type": "Grid",
98674
+ "props": {
98675
+ "columns": 1,
98676
+ "spacing": 12,
98677
+ "itemsPath": "$service:himiEventDetail.iapFields",
98678
+ "items": [
98679
+ {
98680
+ "id": "",
98681
+ "body": {
98682
+ "package": "himalaya",
98683
+ "type": "VStack",
98684
+ "props": {
98685
+ "spacing": 8,
98686
+ "alignment": "leading",
98687
+ "children": [
98688
+ {
98689
+ "id": "",
98690
+ "body": {
98691
+ "package": "himalaya",
98692
+ "type": "Text",
98693
+ "props": {
98694
+ "text": "$item.sectionLabel",
98695
+ "style": "bodyEmphasis",
98696
+ "collapseWhenEmpty": true
98697
+ }
98698
+ }
98699
+ },
98700
+ {
98701
+ "id": "",
98702
+ "body": {
98703
+ "package": "himalaya",
98704
+ "type": "Text",
98705
+ "props": {
98706
+ "text": "$item.label",
98707
+ "style": "footnote"
98708
+ }
98196
98709
  }
98197
98710
  },
98198
98711
  {
98199
- "id": "",
98712
+ "id": "himi_event.apple.input.$item.id",
98200
98713
  "body": {
98201
98714
  "package": "himalaya",
98202
- "type": "Text",
98715
+ "type": "FragmentSlot",
98203
98716
  "props": {
98204
- "text": "$item.unavailableNote",
98205
- "style": "footnote",
98206
- "color": "textTertiary",
98207
- "collapseWhenEmpty": true
98717
+ "casePath": "$item.kind",
98718
+ "defaultCase": "text",
98719
+ "cases": [
98720
+ {
98721
+ "id": "text",
98722
+ "content": {
98723
+ "id": "himi_event.apple.field.text.$item.id",
98724
+ "body": {
98725
+ "package": "himalaya",
98726
+ "type": "TextField",
98727
+ "props": {
98728
+ "placeholder": "$item.inputLabel",
98729
+ "value": "$item.value",
98730
+ "onChange": {
98731
+ "actionId": "tier5.himiEventDetail.setIapField",
98732
+ "params": {
98733
+ "id": "$item.fieldId"
98734
+ }
98735
+ },
98736
+ "validation": {},
98737
+ "errorText": "$item.error",
98738
+ "autoCapitalization": "words"
98739
+ }
98740
+ }
98741
+ }
98742
+ },
98743
+ {
98744
+ "id": "requiredText",
98745
+ "content": {
98746
+ "id": "himi_event.apple.field.requiredText.$item.id",
98747
+ "body": {
98748
+ "package": "himalaya",
98749
+ "type": "TextField",
98750
+ "props": {
98751
+ "placeholder": "$item.inputLabel",
98752
+ "value": "$item.value",
98753
+ "onChange": {
98754
+ "actionId": "tier5.himiEventDetail.setIapField",
98755
+ "params": {
98756
+ "id": "$item.fieldId"
98757
+ }
98758
+ },
98759
+ "validation": {
98760
+ "required": true
98761
+ },
98762
+ "errorText": "$item.error",
98763
+ "autoCapitalization": "words"
98764
+ }
98765
+ }
98766
+ }
98767
+ },
98768
+ {
98769
+ "id": "email",
98770
+ "content": {
98771
+ "id": "himi_event.apple.field.email.$item.id",
98772
+ "body": {
98773
+ "package": "himalaya",
98774
+ "type": "TextField",
98775
+ "props": {
98776
+ "placeholder": "$item.inputLabel",
98777
+ "value": "$item.value",
98778
+ "onChange": {
98779
+ "actionId": "tier5.himiEventDetail.setIapField",
98780
+ "params": {
98781
+ "id": "$item.fieldId"
98782
+ }
98783
+ },
98784
+ "validation": {
98785
+ "required": true,
98786
+ "type": "email"
98787
+ },
98788
+ "errorText": "$item.error",
98789
+ "autoCapitalization": "none"
98790
+ }
98791
+ }
98792
+ }
98793
+ },
98794
+ {
98795
+ "id": "number",
98796
+ "content": {
98797
+ "id": "himi_event.apple.field.number.$item.id",
98798
+ "body": {
98799
+ "package": "himalaya",
98800
+ "type": "TextField",
98801
+ "props": {
98802
+ "placeholder": "$item.inputLabel",
98803
+ "value": "$item.value",
98804
+ "onChange": {
98805
+ "actionId": "tier5.himiEventDetail.setIapField",
98806
+ "params": {
98807
+ "id": "$item.fieldId"
98808
+ }
98809
+ },
98810
+ "validation": {
98811
+ "type": "number"
98812
+ },
98813
+ "errorText": "$item.error",
98814
+ "autoCapitalization": "words"
98815
+ }
98816
+ }
98817
+ }
98818
+ },
98819
+ {
98820
+ "id": "choice",
98821
+ "content": {
98822
+ "id": "",
98823
+ "body": {
98824
+ "package": "himalaya",
98825
+ "type": "VStack",
98826
+ "props": {
98827
+ "spacing": 4,
98828
+ "children": [
98829
+ {
98830
+ "id": "himi_event.apple.options.choice",
98831
+ "body": {
98832
+ "package": "himalaya",
98833
+ "type": "Grid",
98834
+ "props": {
98835
+ "columns": 1,
98836
+ "spacing": 8,
98837
+ "itemsPath": "$item.options",
98838
+ "items": [
98839
+ {
98840
+ "id": "himi_event.apple.option.choice.$item.fieldId.$item.id",
98841
+ "body": {
98842
+ "package": "himalaya",
98843
+ "type": "Button",
98844
+ "props": {
98845
+ "title": "$item.displayLabel",
98846
+ "style": "secondary",
98847
+ "fullWidth": true,
98848
+ "action": {
98849
+ "actionId": "tier5.himiEventDetail.setIapField",
98850
+ "params": {
98851
+ "id": "$item.fieldId",
98852
+ "option": "$item.id"
98853
+ }
98854
+ }
98855
+ }
98856
+ }
98857
+ }
98858
+ ]
98859
+ }
98860
+ }
98861
+ },
98862
+ {
98863
+ "id": "",
98864
+ "body": {
98865
+ "package": "himalaya",
98866
+ "type": "FieldError",
98867
+ "props": {
98868
+ "text": "$item.error"
98869
+ }
98870
+ },
98871
+ "modifiers": {
98872
+ "hiddenPath": "$item.errorHidden"
98873
+ }
98874
+ }
98875
+ ]
98876
+ }
98877
+ }
98878
+ }
98879
+ },
98880
+ {
98881
+ "id": "multiple",
98882
+ "content": {
98883
+ "id": "",
98884
+ "body": {
98885
+ "package": "himalaya",
98886
+ "type": "VStack",
98887
+ "props": {
98888
+ "spacing": 4,
98889
+ "children": [
98890
+ {
98891
+ "id": "himi_event.apple.options.multiple",
98892
+ "body": {
98893
+ "package": "himalaya",
98894
+ "type": "Grid",
98895
+ "props": {
98896
+ "columns": 1,
98897
+ "spacing": 8,
98898
+ "itemsPath": "$item.options",
98899
+ "items": [
98900
+ {
98901
+ "id": "himi_event.apple.option.multiple.$item.fieldId.$item.id",
98902
+ "body": {
98903
+ "package": "himalaya",
98904
+ "type": "Button",
98905
+ "props": {
98906
+ "title": "$item.displayLabel",
98907
+ "style": "secondary",
98908
+ "fullWidth": true,
98909
+ "action": {
98910
+ "actionId": "tier5.himiEventDetail.setIapField",
98911
+ "params": {
98912
+ "id": "$item.fieldId",
98913
+ "option": "$item.id"
98914
+ }
98915
+ }
98916
+ }
98917
+ }
98918
+ }
98919
+ ]
98920
+ }
98921
+ }
98922
+ },
98923
+ {
98924
+ "id": "",
98925
+ "body": {
98926
+ "package": "himalaya",
98927
+ "type": "FieldError",
98928
+ "props": {
98929
+ "text": "$item.error"
98930
+ }
98931
+ },
98932
+ "modifiers": {
98933
+ "hiddenPath": "$item.errorHidden"
98934
+ }
98935
+ }
98936
+ ]
98937
+ }
98938
+ }
98939
+ }
98940
+ }
98941
+ ]
98208
98942
  }
98209
98943
  }
98210
98944
  }
98211
98945
  ]
98212
98946
  }
98213
- },
98214
- "modifiers": {
98215
- "background": {
98216
- "token": "surfaceElevated"
98217
- },
98218
- "border": {
98219
- "width": 1,
98220
- "color": {
98221
- "token": "border"
98222
- }
98223
- },
98224
- "cornerRadius": 8,
98225
- "padding": {
98226
- "leading": 12,
98227
- "trailing": 12,
98228
- "top": 10,
98229
- "bottom": 10
98230
- },
98231
- "fillMaxWidth": true,
98232
- "onTap": {
98233
- "actionId": "tier5.himiEventDetail.selectTier",
98234
- "params": {
98235
- "id": "$item.id"
98236
- }
98237
- },
98238
- "pressFeedback": "scale",
98239
- "haptic": "light",
98240
- "accessibilityLabel": "$item.name"
98241
98947
  }
98242
98948
  }
98243
98949
  ]
98244
98950
  }
98951
+ },
98952
+ "modifiers": {
98953
+ "hiddenPath": "$service:himiEventDetail.iapFormHidden"
98954
+ }
98955
+ },
98956
+ {
98957
+ "id": "",
98958
+ "body": {
98959
+ "package": "himalaya",
98960
+ "type": "FieldError",
98961
+ "props": {
98962
+ "text": "",
98963
+ "textPath": "$service:himiEventDetail.iapFormError"
98964
+ }
98965
+ }
98966
+ },
98967
+ {
98968
+ "id": "himi_event.apple.buy",
98969
+ "body": {
98970
+ "package": "himalaya",
98971
+ "type": "Button",
98972
+ "props": {
98973
+ "title": "$service:himiEventDetail.iapBuyLabel",
98974
+ "disabledPath": "$service:himiEventDetail.iapBuyDisabled",
98975
+ "style": "primary",
98976
+ "fullWidth": true,
98977
+ "action": {
98978
+ "actionId": "tier5.himiEventDetail.buyApple"
98979
+ }
98980
+ }
98981
+ }
98982
+ },
98983
+ {
98984
+ "id": "",
98985
+ "body": {
98986
+ "package": "himalaya",
98987
+ "type": "Text",
98988
+ "props": {
98989
+ "text": "$service:himiEventDetail.iapNote",
98990
+ "style": "footnote",
98991
+ "color": "textSecondary",
98992
+ "collapseWhenEmpty": true
98993
+ }
98994
+ }
98995
+ },
98996
+ {
98997
+ "id": "himi_event.apple.signin",
98998
+ "body": {
98999
+ "package": "himalaya",
99000
+ "type": "Button",
99001
+ "props": {
99002
+ "title": "Sign in to purchase",
99003
+ "style": "secondary",
99004
+ "action": {
99005
+ "actionId": "himi.open",
99006
+ "params": {
99007
+ "screenId": "himi_account"
99008
+ }
99009
+ }
99010
+ }
99011
+ },
99012
+ "modifiers": {
99013
+ "hiddenPath": "$service:himiEventDetail.iapSignInHidden"
99014
+ }
99015
+ },
99016
+ {
99017
+ "id": "himi_event.apple.retry",
99018
+ "body": {
99019
+ "package": "himalaya",
99020
+ "type": "Button",
99021
+ "props": {
99022
+ "title": "Refresh purchase status",
99023
+ "style": "secondary",
99024
+ "action": {
99025
+ "actionId": "tier5.himiEventDetail.iapRefresh"
99026
+ }
99027
+ }
99028
+ },
99029
+ "modifiers": {
99030
+ "hiddenPath": "$service:himiEventDetail.iapRetryHidden"
98245
99031
  }
98246
99032
  }
98247
99033
  ]
98248
99034
  }
98249
99035
  },
98250
99036
  "modifiers": {
98251
- "hiddenPath": "$service:himiEventDetail.hideTierPicker"
99037
+ "hiddenPath": "$service:himiEventDetail.iapBuyHidden"
98252
99038
  }
98253
99039
  },
98254
99040
  {
@@ -98260,6 +99046,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
98260
99046
  "title": "Get tickets",
98261
99047
  "style": "primary",
98262
99048
  "fullWidth": true,
99049
+ "disabledPath": "$service:himiEventDetail.ticketPurchaseBlocked",
98263
99050
  "action": {
98264
99051
  "actionId": "tier5.himiEventDetail.openRegistration"
98265
99052
  }
@@ -98269,7 +99056,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
98269
99056
  "cornerRadius": 8,
98270
99057
  "pressFeedback": "scale",
98271
99058
  "haptic": "medium",
98272
- "hiddenPath": "$service:himiEventDetail.hideTickets"
99059
+ "hiddenPath": "$service:himiEventDetail.regularTicketsHidden"
98273
99060
  }
98274
99061
  },
98275
99062
  {
@@ -98429,7 +99216,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
98429
99216
  "share",
98430
99217
  "wix_cashier",
98431
99218
  "local_database",
98432
- "wix_platform"
99219
+ "wix_platform",
99220
+ "app_info",
99221
+ "iap"
98433
99222
  ],
98434
99223
  "minBinaryVersion": "0.1.0",
98435
99224
  "bundleVersion": "0.0.1"