@almadar/std 14.25.0 → 14.27.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 (431) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +82 -82
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +110 -110
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +112 -112
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +90 -90
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -406
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +83 -83
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +122 -122
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +51 -51
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +122 -122
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +214 -214
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +329 -329
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +67 -67
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +202 -202
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +185 -185
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +122 -122
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +114 -114
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +209 -209
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1039 -1039
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2977 -2977
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2090 -2090
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +935 -935
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +760 -760
  24. package/behaviors/registry/app/atoms/std-ap-bill.orb +62 -62
  25. package/behaviors/registry/app/atoms/std-applicant.orb +497 -43
  26. package/behaviors/registry/app/atoms/std-approval-request.orb +451 -625
  27. package/behaviors/registry/app/atoms/std-campaign-goal.orb +443 -238
  28. package/behaviors/registry/app/atoms/std-change-order.orb +563 -305
  29. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +435 -98
  30. package/behaviors/registry/app/atoms/std-checkin.orb +436 -272
  31. package/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  32. package/behaviors/registry/app/atoms/std-class-roster.orb +508 -74
  33. package/behaviors/registry/app/atoms/std-class-session.orb +488 -101
  34. package/behaviors/registry/app/atoms/std-court-deadline.orb +525 -94
  35. package/behaviors/registry/app/atoms/std-customer-account.orb +576 -96
  36. package/behaviors/registry/app/atoms/std-donation-receipt.orb +497 -54
  37. package/behaviors/registry/app/atoms/std-donor.orb +440 -153
  38. package/behaviors/registry/app/atoms/std-drip-sequence.orb +453 -70
  39. package/behaviors/registry/app/atoms/std-driver.orb +477 -492
  40. package/behaviors/registry/app/atoms/std-dunning.orb +442 -515
  41. package/behaviors/registry/app/atoms/std-email-broadcast.orb +518 -65
  42. package/behaviors/registry/app/atoms/std-event.orb +467 -669
  43. package/behaviors/registry/app/atoms/std-health-score.orb +371 -436
  44. package/behaviors/registry/app/atoms/std-help-article.orb +374 -532
  45. package/behaviors/registry/app/atoms/std-help-category.orb +347 -369
  46. package/behaviors/registry/app/atoms/std-interview-slot.orb +491 -49
  47. package/behaviors/registry/app/atoms/std-invoice.orb +488 -303
  48. package/behaviors/registry/app/atoms/std-kitchen-display.orb +632 -140
  49. package/behaviors/registry/app/atoms/std-lease.orb +508 -184
  50. package/behaviors/registry/app/atoms/std-ledger-entry.orb +474 -150
  51. package/behaviors/registry/app/atoms/std-maintenance-request.orb +653 -203
  52. package/behaviors/registry/app/atoms/std-matter.orb +482 -336
  53. package/behaviors/registry/app/atoms/std-membership.orb +521 -113
  54. package/behaviors/registry/app/atoms/std-menu.orb +766 -174
  55. package/behaviors/registry/app/atoms/std-modifier-group.orb +518 -100
  56. package/behaviors/registry/app/atoms/std-nps-survey.orb +330 -338
  57. package/behaviors/registry/app/atoms/std-offer-letter.orb +493 -43
  58. package/behaviors/registry/app/atoms/std-payout-ledger.orb +376 -360
  59. package/behaviors/registry/app/atoms/std-question-bank.orb +364 -331
  60. package/behaviors/registry/app/atoms/std-receipt.orb +566 -57
  61. package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -842
  62. package/behaviors/registry/app/atoms/std-renewal-risk.orb +373 -436
  63. package/behaviors/registry/app/atoms/std-rent-charge.orb +659 -57
  64. package/behaviors/registry/app/atoms/std-reorder-rule.orb +497 -46
  65. package/behaviors/registry/app/atoms/std-response-collector.orb +456 -149
  66. package/behaviors/registry/app/atoms/std-rfi.orb +507 -466
  67. package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  68. package/behaviors/registry/app/atoms/std-segment.orb +367 -113
  69. package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  70. package/behaviors/registry/app/atoms/std-submittal.orb +538 -510
  71. package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  72. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +649 -67
  73. package/behaviors/registry/app/atoms/std-telematics-event.orb +324 -229
  74. package/behaviors/registry/app/atoms/std-template-editor.orb +527 -104
  75. package/behaviors/registry/app/atoms/std-tenant.orb +522 -63
  76. package/behaviors/registry/app/atoms/std-ticket-tier.orb +469 -457
  77. package/behaviors/registry/app/atoms/std-time-entry.orb +338 -301
  78. package/behaviors/registry/app/atoms/std-timesheet.orb +542 -298
  79. package/behaviors/registry/app/atoms/std-trial.orb +423 -337
  80. package/behaviors/registry/app/atoms/std-vehicle.orb +406 -571
  81. package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  82. package/behaviors/registry/app/atoms/std-warehouse.orb +268 -214
  83. package/behaviors/registry/app/atoms/std-work-order.orb +629 -241
  84. package/behaviors/registry/app/molecules/std-applicant-form.orb +81 -75
  85. package/behaviors/registry/app/molecules/std-application.orb +168 -253
  86. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +74 -200
  87. package/behaviors/registry/app/molecules/std-cart.orb +82 -76
  88. package/behaviors/registry/app/molecules/std-form-builder.orb +422 -161
  89. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +622 -154
  90. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +512 -113
  91. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +390 -476
  92. package/behaviors/registry/app/organisms/std-accounting.orb +120 -120
  93. package/behaviors/registry/app/organisms/std-api-gateway.orb +214 -214
  94. package/behaviors/registry/app/organisms/std-ats-recruiting.orb +143 -143
  95. package/behaviors/registry/app/organisms/std-booking-system.orb +698 -698
  96. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +282 -282
  97. package/behaviors/registry/app/organisms/std-cms.orb +315 -315
  98. package/behaviors/registry/app/organisms/std-coding-academy.orb +226 -226
  99. package/behaviors/registry/app/organisms/std-construction-pm.orb +159 -159
  100. package/behaviors/registry/app/organisms/std-crm.orb +265 -265
  101. package/behaviors/registry/app/organisms/std-customer-success.orb +106 -106
  102. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +384 -384
  103. package/behaviors/registry/app/organisms/std-document-mgmt.orb +101 -101
  104. package/behaviors/registry/app/organisms/std-ecommerce.orb +735 -735
  105. package/behaviors/registry/app/organisms/std-event-ticketing.orb +207 -207
  106. package/behaviors/registry/app/organisms/std-field-service.orb +181 -181
  107. package/behaviors/registry/app/organisms/std-finance-tracker.orb +227 -227
  108. package/behaviors/registry/app/organisms/std-fitness-studio.orb +145 -145
  109. package/behaviors/registry/app/organisms/std-fleet-mgmt.orb +149 -149
  110. package/behaviors/registry/app/organisms/std-forum.orb +150 -150
  111. package/behaviors/registry/app/organisms/std-healthcare.orb +531 -531
  112. package/behaviors/registry/app/organisms/std-helpdesk.orb +161 -161
  113. package/behaviors/registry/app/organisms/std-hr-portal.orb +455 -455
  114. package/behaviors/registry/app/organisms/std-inventory.orb +162 -162
  115. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +353 -353
  116. package/behaviors/registry/app/organisms/std-legal-case.orb +164 -164
  117. package/behaviors/registry/app/organisms/std-listings.orb +147 -147
  118. package/behaviors/registry/app/organisms/std-lms.orb +409 -409
  119. package/behaviors/registry/app/organisms/std-marketing-campaign.orb +123 -123
  120. package/behaviors/registry/app/organisms/std-marketplace.orb +251 -251
  121. package/behaviors/registry/app/organisms/std-nonprofit-donations.orb +105 -105
  122. package/behaviors/registry/app/organisms/std-notes.orb +112 -112
  123. package/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  124. package/behaviors/registry/app/organisms/std-property-mgmt.orb +178 -178
  125. package/behaviors/registry/app/organisms/std-public-help-center.orb +133 -133
  126. package/behaviors/registry/app/organisms/std-realtime-chat.orb +245 -245
  127. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +131 -131
  128. package/behaviors/registry/app/organisms/std-retail-pos.orb +129 -129
  129. package/behaviors/registry/app/organisms/std-social-feed.orb +159 -159
  130. package/behaviors/registry/app/organisms/std-subscription-billing.orb +187 -187
  131. package/behaviors/registry/app/organisms/std-survey.orb +129 -129
  132. package/behaviors/registry/app/organisms/std-time-tracking.orb +167 -167
  133. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +263 -263
  134. package/behaviors/registry/app/organisms/std-wiki.orb +139 -139
  135. package/behaviors/registry/core/atoms/std-billable-hour.orb +505 -101
  136. package/behaviors/registry/core/atoms/std-branching-logic.orb +265 -594
  137. package/behaviors/registry/core/atoms/std-browse.orb +58 -58
  138. package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  139. package/behaviors/registry/core/atoms/std-calendar.orb +50 -50
  140. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +184 -184
  141. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  142. package/behaviors/registry/core/atoms/std-display.orb +1 -1
  143. package/behaviors/registry/core/atoms/std-drawer.orb +14 -14
  144. package/behaviors/registry/core/atoms/std-esign-request.orb +29 -29
  145. package/behaviors/registry/core/atoms/std-file-store.orb +541 -159
  146. package/behaviors/registry/core/atoms/std-filter.orb +12 -12
  147. package/behaviors/registry/core/atoms/std-flag.orb +95 -95
  148. package/behaviors/registry/core/atoms/std-gallery.orb +119 -102
  149. package/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  150. package/behaviors/registry/core/atoms/std-graphs.orb +37 -37
  151. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +93 -63
  152. package/behaviors/registry/core/atoms/std-mod-queue.orb +56 -56
  153. package/behaviors/registry/core/atoms/std-modal.orb +20 -20
  154. package/behaviors/registry/core/atoms/std-page-tree.orb +341 -459
  155. package/behaviors/registry/core/atoms/std-pagination.orb +17 -17
  156. package/behaviors/registry/core/atoms/std-push.orb +38 -38
  157. package/behaviors/registry/core/atoms/std-rate-limiter.orb +168 -168
  158. package/behaviors/registry/core/atoms/std-rating-review.orb +68 -68
  159. package/behaviors/registry/core/atoms/std-related.orb +34 -34
  160. package/behaviors/registry/core/atoms/std-rich-editor.orb +298 -433
  161. package/behaviors/registry/core/atoms/std-saved-search.orb +55 -55
  162. package/behaviors/registry/core/atoms/std-search.orb +9 -9
  163. package/behaviors/registry/core/atoms/std-selection.orb +77 -77
  164. package/behaviors/registry/core/atoms/std-signature-capture.orb +89 -89
  165. package/behaviors/registry/core/atoms/std-stats.orb +104 -104
  166. package/behaviors/registry/core/atoms/std-tabs.orb +27 -27
  167. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +69 -69
  168. package/behaviors/registry/core/atoms/std-thread.orb +56 -56
  169. package/behaviors/registry/core/atoms/std-version-history.orb +462 -438
  170. package/behaviors/registry/core/atoms/std-vote.orb +39 -39
  171. package/behaviors/registry/core/molecules/std-app-layout.orb +21 -21
  172. package/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +11 -11
  173. package/behaviors/registry/core/molecules/std-dashboard.orb +52 -52
  174. package/behaviors/registry/core/molecules/std-esign-flow.orb +86 -104
  175. package/behaviors/registry/core/molecules/std-filtered-list.orb +22 -22
  176. package/behaviors/registry/core/molecules/std-form-advanced.orb +133 -133
  177. package/behaviors/registry/core/molecules/std-list.orb +71 -71
  178. package/behaviors/registry/core/molecules/std-master-detail-layout.orb +13 -13
  179. package/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  180. package/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  181. package/behaviors/registry/core/molecules/std-wizard-form.orb +227 -152
  182. package/behaviors/registry/core/organisms/std-generic-app.orb +544 -544
  183. package/behaviors/registry/game/atoms/std-collision.orb +0 -595
  184. package/behaviors/registry/game/atoms/std-combat.orb +0 -524
  185. package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  186. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +40 -40
  187. package/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  188. package/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  189. package/behaviors/registry/game/atoms/std-overworld.orb +56 -56
  190. package/behaviors/registry/game/atoms/std-physics2d.orb +78 -78
  191. package/behaviors/registry/game/atoms/std-quest.orb +122 -122
  192. package/behaviors/registry/game/atoms/std-timer.orb +266 -266
  193. package/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  194. package/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  195. package/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  196. package/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  197. package/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  198. package/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  199. package/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  200. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +32 -32
  201. package/behaviors/registry/service/atoms/std-service-calendar-ical.orb +51 -51
  202. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +69 -69
  203. package/behaviors/registry/service/atoms/std-service-email.orb +55 -55
  204. package/behaviors/registry/service/atoms/std-service-github.orb +70 -70
  205. package/behaviors/registry/service/atoms/std-service-llm.orb +70 -70
  206. package/behaviors/registry/service/atoms/std-service-maps.orb +83 -83
  207. package/behaviors/registry/service/atoms/std-service-oauth.orb +51 -51
  208. package/behaviors/registry/service/atoms/std-service-print.orb +114 -114
  209. package/behaviors/registry/service/atoms/std-service-redis.orb +61 -61
  210. package/behaviors/registry/service/atoms/std-service-storage.orb +51 -51
  211. package/behaviors/registry/service/atoms/std-service-stripe.orb +111 -111
  212. package/behaviors/registry/service/atoms/std-service-twilio.orb +48 -48
  213. package/behaviors/registry/service/atoms/std-service-youtube.orb +45 -45
  214. package/behaviors/registry/service/organisms/std-service-marketplace.orb +911 -911
  215. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +883 -883
  216. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +82 -82
  217. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +110 -110
  218. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +112 -112
  219. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +90 -90
  220. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -406
  221. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  222. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +83 -83
  223. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +122 -122
  224. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +51 -51
  225. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +122 -122
  226. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +214 -214
  227. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +329 -329
  228. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +67 -67
  229. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +202 -202
  230. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +185 -185
  231. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +122 -122
  232. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +114 -114
  233. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +209 -209
  234. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1039 -1039
  235. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2977 -2977
  236. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2090 -2090
  237. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +935 -935
  238. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +760 -760
  239. package/dist/behaviors/registry/app/atoms/std-ap-bill.orb +62 -62
  240. package/dist/behaviors/registry/app/atoms/std-applicant.orb +497 -43
  241. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +451 -625
  242. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +443 -238
  243. package/dist/behaviors/registry/app/atoms/std-change-order.orb +563 -305
  244. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +435 -98
  245. package/dist/behaviors/registry/app/atoms/std-checkin.orb +436 -272
  246. package/dist/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  247. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +508 -74
  248. package/dist/behaviors/registry/app/atoms/std-class-session.orb +488 -101
  249. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +525 -94
  250. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +576 -96
  251. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +497 -54
  252. package/dist/behaviors/registry/app/atoms/std-donor.orb +440 -153
  253. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +453 -70
  254. package/dist/behaviors/registry/app/atoms/std-driver.orb +477 -492
  255. package/dist/behaviors/registry/app/atoms/std-dunning.orb +442 -515
  256. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +518 -65
  257. package/dist/behaviors/registry/app/atoms/std-event.orb +467 -669
  258. package/dist/behaviors/registry/app/atoms/std-health-score.orb +371 -436
  259. package/dist/behaviors/registry/app/atoms/std-help-article.orb +374 -532
  260. package/dist/behaviors/registry/app/atoms/std-help-category.orb +347 -369
  261. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +491 -49
  262. package/dist/behaviors/registry/app/atoms/std-invoice.orb +488 -303
  263. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +632 -140
  264. package/dist/behaviors/registry/app/atoms/std-lease.orb +508 -184
  265. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +474 -150
  266. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +653 -203
  267. package/dist/behaviors/registry/app/atoms/std-matter.orb +482 -336
  268. package/dist/behaviors/registry/app/atoms/std-membership.orb +521 -113
  269. package/dist/behaviors/registry/app/atoms/std-menu.orb +766 -174
  270. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +518 -100
  271. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +330 -338
  272. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +493 -43
  273. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +376 -360
  274. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +364 -331
  275. package/dist/behaviors/registry/app/atoms/std-receipt.orb +566 -57
  276. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -842
  277. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +373 -436
  278. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +659 -57
  279. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +497 -46
  280. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +456 -149
  281. package/dist/behaviors/registry/app/atoms/std-rfi.orb +507 -466
  282. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  283. package/dist/behaviors/registry/app/atoms/std-segment.orb +367 -113
  284. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  285. package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -510
  286. package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  287. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +649 -67
  288. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +324 -229
  289. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +527 -104
  290. package/dist/behaviors/registry/app/atoms/std-tenant.orb +522 -63
  291. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +469 -457
  292. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +338 -301
  293. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +542 -298
  294. package/dist/behaviors/registry/app/atoms/std-trial.orb +423 -337
  295. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +406 -571
  296. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  297. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +268 -214
  298. package/dist/behaviors/registry/app/atoms/std-work-order.orb +629 -241
  299. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +81 -75
  300. package/dist/behaviors/registry/app/molecules/std-application.orb +168 -253
  301. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +74 -200
  302. package/dist/behaviors/registry/app/molecules/std-cart.orb +82 -76
  303. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +422 -161
  304. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +622 -154
  305. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +512 -113
  306. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +390 -476
  307. package/dist/behaviors/registry/app/organisms/std-accounting.orb +120 -120
  308. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +214 -214
  309. package/dist/behaviors/registry/app/organisms/std-ats-recruiting.orb +143 -143
  310. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +698 -698
  311. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +282 -282
  312. package/dist/behaviors/registry/app/organisms/std-cms.orb +315 -315
  313. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +226 -226
  314. package/dist/behaviors/registry/app/organisms/std-construction-pm.orb +159 -159
  315. package/dist/behaviors/registry/app/organisms/std-crm.orb +265 -265
  316. package/dist/behaviors/registry/app/organisms/std-customer-success.orb +106 -106
  317. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +384 -384
  318. package/dist/behaviors/registry/app/organisms/std-document-mgmt.orb +101 -101
  319. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +735 -735
  320. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +207 -207
  321. package/dist/behaviors/registry/app/organisms/std-field-service.orb +181 -181
  322. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +227 -227
  323. package/dist/behaviors/registry/app/organisms/std-fitness-studio.orb +145 -145
  324. package/dist/behaviors/registry/app/organisms/std-fleet-mgmt.orb +149 -149
  325. package/dist/behaviors/registry/app/organisms/std-forum.orb +150 -150
  326. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +531 -531
  327. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +161 -161
  328. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +455 -455
  329. package/dist/behaviors/registry/app/organisms/std-inventory.orb +162 -162
  330. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +353 -353
  331. package/dist/behaviors/registry/app/organisms/std-legal-case.orb +164 -164
  332. package/dist/behaviors/registry/app/organisms/std-listings.orb +147 -147
  333. package/dist/behaviors/registry/app/organisms/std-lms.orb +409 -409
  334. package/dist/behaviors/registry/app/organisms/std-marketing-campaign.orb +123 -123
  335. package/dist/behaviors/registry/app/organisms/std-marketplace.orb +251 -251
  336. package/dist/behaviors/registry/app/organisms/std-nonprofit-donations.orb +105 -105
  337. package/dist/behaviors/registry/app/organisms/std-notes.orb +112 -112
  338. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  339. package/dist/behaviors/registry/app/organisms/std-property-mgmt.orb +178 -178
  340. package/dist/behaviors/registry/app/organisms/std-public-help-center.orb +133 -133
  341. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +245 -245
  342. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +131 -131
  343. package/dist/behaviors/registry/app/organisms/std-retail-pos.orb +129 -129
  344. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +159 -159
  345. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +187 -187
  346. package/dist/behaviors/registry/app/organisms/std-survey.orb +129 -129
  347. package/dist/behaviors/registry/app/organisms/std-time-tracking.orb +167 -167
  348. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +263 -263
  349. package/dist/behaviors/registry/app/organisms/std-wiki.orb +139 -139
  350. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +505 -101
  351. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +265 -594
  352. package/dist/behaviors/registry/core/atoms/std-browse.orb +58 -58
  353. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  354. package/dist/behaviors/registry/core/atoms/std-calendar.orb +50 -50
  355. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +184 -184
  356. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  357. package/dist/behaviors/registry/core/atoms/std-display.orb +1 -1
  358. package/dist/behaviors/registry/core/atoms/std-drawer.orb +14 -14
  359. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +29 -29
  360. package/dist/behaviors/registry/core/atoms/std-file-store.orb +541 -159
  361. package/dist/behaviors/registry/core/atoms/std-filter.orb +12 -12
  362. package/dist/behaviors/registry/core/atoms/std-flag.orb +95 -95
  363. package/dist/behaviors/registry/core/atoms/std-gallery.orb +119 -102
  364. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  365. package/dist/behaviors/registry/core/atoms/std-graphs.orb +37 -37
  366. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +93 -63
  367. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +56 -56
  368. package/dist/behaviors/registry/core/atoms/std-modal.orb +20 -20
  369. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +341 -459
  370. package/dist/behaviors/registry/core/atoms/std-pagination.orb +17 -17
  371. package/dist/behaviors/registry/core/atoms/std-push.orb +38 -38
  372. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +168 -168
  373. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +68 -68
  374. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
  375. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +298 -433
  376. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +55 -55
  377. package/dist/behaviors/registry/core/atoms/std-search.orb +9 -9
  378. package/dist/behaviors/registry/core/atoms/std-selection.orb +77 -77
  379. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +89 -89
  380. package/dist/behaviors/registry/core/atoms/std-stats.orb +104 -104
  381. package/dist/behaviors/registry/core/atoms/std-tabs.orb +27 -27
  382. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +69 -69
  383. package/dist/behaviors/registry/core/atoms/std-thread.orb +56 -56
  384. package/dist/behaviors/registry/core/atoms/std-version-history.orb +462 -438
  385. package/dist/behaviors/registry/core/atoms/std-vote.orb +39 -39
  386. package/dist/behaviors/registry/core/molecules/std-app-layout.orb +21 -21
  387. package/dist/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +11 -11
  388. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +52 -52
  389. package/dist/behaviors/registry/core/molecules/std-esign-flow.orb +86 -104
  390. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +22 -22
  391. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +133 -133
  392. package/dist/behaviors/registry/core/molecules/std-list.orb +71 -71
  393. package/dist/behaviors/registry/core/molecules/std-master-detail-layout.orb +13 -13
  394. package/dist/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  395. package/dist/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  396. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +227 -152
  397. package/dist/behaviors/registry/core/organisms/std-generic-app.orb +544 -544
  398. package/dist/behaviors/registry/game/atoms/std-collision.orb +0 -595
  399. package/dist/behaviors/registry/game/atoms/std-combat.orb +0 -524
  400. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  401. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +40 -40
  402. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  403. package/dist/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  404. package/dist/behaviors/registry/game/atoms/std-overworld.orb +56 -56
  405. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +78 -78
  406. package/dist/behaviors/registry/game/atoms/std-quest.orb +122 -122
  407. package/dist/behaviors/registry/game/atoms/std-timer.orb +266 -266
  408. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  409. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  410. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  411. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  412. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  413. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  414. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  415. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +32 -32
  416. package/dist/behaviors/registry/service/atoms/std-service-calendar-ical.orb +51 -51
  417. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +69 -69
  418. package/dist/behaviors/registry/service/atoms/std-service-email.orb +55 -55
  419. package/dist/behaviors/registry/service/atoms/std-service-github.orb +70 -70
  420. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +70 -70
  421. package/dist/behaviors/registry/service/atoms/std-service-maps.orb +83 -83
  422. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +51 -51
  423. package/dist/behaviors/registry/service/atoms/std-service-print.orb +114 -114
  424. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +61 -61
  425. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +51 -51
  426. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +111 -111
  427. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +48 -48
  428. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +45 -45
  429. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +911 -911
  430. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +883 -883
  431. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-dunning",
3
3
  "version": "1.0.0",
4
- "description": "std-dunning — failed-payment escalation ladder for subscriptions. Owns a DunningCase entity and a single trait that loads open cases, renders them in a data-grid alongside a per-case dunning-banner, and advances severity (soft -> urgent -> final -> suspend) or marks resolved.",
4
+ "description": "std-dunning — failed-payment escalation ladder for subscriptions. Lists open dunning cases in `browsing`; opens detail in `viewing_single` with Escalate / Resolve / Suspend actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "DunningCaseOrbital",
@@ -85,7 +85,7 @@
85
85
  "linkedEntity": "DunningCase",
86
86
  "emits": [
87
87
  {
88
- "event": "ESCALATE",
88
+ "event": "OPEN_CASE",
89
89
  "payloadSchema": [
90
90
  {
91
91
  "name": "id",
@@ -146,63 +146,25 @@
146
146
  ]
147
147
  },
148
148
  {
149
- "event": "RESOLVE",
149
+ "event": "CLOSE_VIEW"
150
+ },
151
+ {
152
+ "event": "ESCALATE",
150
153
  "payloadSchema": [
151
154
  {
152
155
  "name": "id",
153
156
  "type": "string",
154
157
  "required": true
155
- },
156
- {
157
- "name": "row.id",
158
- "type": "string",
159
- "required": true
160
- },
161
- {
162
- "name": "row.subscriptionId",
163
- "type": "string",
164
- "required": true
165
- },
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ "event": "RESOLVE",
163
+ "payloadSchema": [
166
164
  {
167
- "name": "row.customerId",
165
+ "name": "id",
168
166
  "type": "string",
169
167
  "required": true
170
- },
171
- {
172
- "name": "row.severity",
173
- "type": "string"
174
- },
175
- {
176
- "name": "row.attemptNumber",
177
- "type": "number"
178
- },
179
- {
180
- "name": "row.attemptsTotal",
181
- "type": "number"
182
- },
183
- {
184
- "name": "row.failedAt",
185
- "type": "string"
186
- },
187
- {
188
- "name": "row.nextRetryAt",
189
- "type": "string"
190
- },
191
- {
192
- "name": "row.amountDue",
193
- "type": "number"
194
- },
195
- {
196
- "name": "row.currency",
197
- "type": "string"
198
- },
199
- {
200
- "name": "row.resolvedAt",
201
- "type": "string"
202
- },
203
- {
204
- "name": "row.status",
205
- "type": "string"
206
168
  }
207
169
  ]
208
170
  },
@@ -213,57 +175,6 @@
213
175
  "name": "id",
214
176
  "type": "string",
215
177
  "required": true
216
- },
217
- {
218
- "name": "row.id",
219
- "type": "string",
220
- "required": true
221
- },
222
- {
223
- "name": "row.subscriptionId",
224
- "type": "string",
225
- "required": true
226
- },
227
- {
228
- "name": "row.customerId",
229
- "type": "string",
230
- "required": true
231
- },
232
- {
233
- "name": "row.severity",
234
- "type": "string"
235
- },
236
- {
237
- "name": "row.attemptNumber",
238
- "type": "number"
239
- },
240
- {
241
- "name": "row.attemptsTotal",
242
- "type": "number"
243
- },
244
- {
245
- "name": "row.failedAt",
246
- "type": "string"
247
- },
248
- {
249
- "name": "row.nextRetryAt",
250
- "type": "string"
251
- },
252
- {
253
- "name": "row.amountDue",
254
- "type": "number"
255
- },
256
- {
257
- "name": "row.currency",
258
- "type": "string"
259
- },
260
- {
261
- "name": "row.resolvedAt",
262
- "type": "string"
263
- },
264
- {
265
- "name": "row.status",
266
- "type": "string"
267
178
  }
268
179
  ]
269
180
  },
@@ -288,131 +199,6 @@
288
199
  "type": "string"
289
200
  }
290
201
  ]
291
- },
292
- {
293
- "event": "DunningCaseUpdated",
294
- "payloadSchema": [
295
- {
296
- "name": "row.id",
297
- "type": "string",
298
- "required": true
299
- },
300
- {
301
- "name": "row.subscriptionId",
302
- "type": "string",
303
- "required": true
304
- },
305
- {
306
- "name": "row.customerId",
307
- "type": "string",
308
- "required": true
309
- },
310
- {
311
- "name": "row.severity",
312
- "type": "string"
313
- },
314
- {
315
- "name": "row.attemptNumber",
316
- "type": "number"
317
- },
318
- {
319
- "name": "row.attemptsTotal",
320
- "type": "number"
321
- },
322
- {
323
- "name": "row.failedAt",
324
- "type": "string"
325
- },
326
- {
327
- "name": "row.nextRetryAt",
328
- "type": "string"
329
- },
330
- {
331
- "name": "row.amountDue",
332
- "type": "number"
333
- },
334
- {
335
- "name": "row.currency",
336
- "type": "string"
337
- },
338
- {
339
- "name": "row.resolvedAt",
340
- "type": "string"
341
- },
342
- {
343
- "name": "row.status",
344
- "type": "string"
345
- }
346
- ]
347
- },
348
- {
349
- "event": "DunningCaseUpdateFailed",
350
- "payloadSchema": [
351
- {
352
- "name": "error",
353
- "type": "string"
354
- },
355
- {
356
- "name": "code",
357
- "type": "string"
358
- }
359
- ]
360
- },
361
- {
362
- "event": "ServiceSuspended",
363
- "payloadSchema": [
364
- {
365
- "name": "row.id",
366
- "type": "string",
367
- "required": true
368
- },
369
- {
370
- "name": "row.subscriptionId",
371
- "type": "string",
372
- "required": true
373
- },
374
- {
375
- "name": "row.customerId",
376
- "type": "string",
377
- "required": true
378
- },
379
- {
380
- "name": "row.severity",
381
- "type": "string"
382
- },
383
- {
384
- "name": "row.attemptNumber",
385
- "type": "number"
386
- },
387
- {
388
- "name": "row.attemptsTotal",
389
- "type": "number"
390
- },
391
- {
392
- "name": "row.failedAt",
393
- "type": "string"
394
- },
395
- {
396
- "name": "row.nextRetryAt",
397
- "type": "string"
398
- },
399
- {
400
- "name": "row.amountDue",
401
- "type": "number"
402
- },
403
- {
404
- "name": "row.currency",
405
- "type": "string"
406
- },
407
- {
408
- "name": "row.resolvedAt",
409
- "type": "string"
410
- },
411
- {
412
- "name": "row.status",
413
- "type": "string"
414
- }
415
- ]
416
202
  }
417
203
  ],
418
204
  "stateMachine": {
@@ -425,7 +211,7 @@
425
211
  "name": "browsing"
426
212
  },
427
213
  {
428
- "name": "escalating"
214
+ "name": "viewing_single"
429
215
  },
430
216
  {
431
217
  "name": "error"
@@ -461,8 +247,8 @@
461
247
  ]
462
248
  },
463
249
  {
464
- "key": "ESCALATE",
465
- "name": "Escalate",
250
+ "key": "OPEN_CASE",
251
+ "name": "Open Case",
466
252
  "payloadSchema": [
467
253
  {
468
254
  "name": "id",
@@ -476,66 +262,39 @@
476
262
  ]
477
263
  },
478
264
  {
479
- "key": "RESOLVE",
480
- "name": "Resolve",
265
+ "key": "SUSPEND",
266
+ "name": "Suspend",
481
267
  "payloadSchema": [
482
268
  {
483
269
  "name": "id",
484
270
  "type": "string",
485
271
  "required": true
486
- },
487
- {
488
- "name": "row",
489
- "type": "DunningCase"
490
272
  }
491
273
  ]
492
274
  },
493
275
  {
494
- "key": "SUSPEND",
495
- "name": "Suspend",
276
+ "key": "CLOSE_VIEW",
277
+ "name": "Close View"
278
+ },
279
+ {
280
+ "key": "ESCALATE",
281
+ "name": "Escalate",
496
282
  "payloadSchema": [
497
283
  {
498
284
  "name": "id",
499
285
  "type": "string",
500
286
  "required": true
501
- },
502
- {
503
- "name": "row",
504
- "type": "DunningCase"
505
287
  }
506
288
  ]
507
289
  },
508
290
  {
509
- "key": "DunningCaseUpdated",
510
- "name": "DunningCase updated",
291
+ "key": "RESOLVE",
292
+ "name": "Resolve",
511
293
  "payloadSchema": [
512
294
  {
513
- "name": "row",
514
- "type": "DunningCase"
515
- }
516
- ]
517
- },
518
- {
519
- "key": "ServiceSuspended",
520
- "name": "Service suspended",
521
- "payloadSchema": [
522
- {
523
- "name": "row",
524
- "type": "DunningCase"
525
- }
526
- ]
527
- },
528
- {
529
- "key": "DunningCaseUpdateFailed",
530
- "name": "DunningCase update failed",
531
- "payloadSchema": [
532
- {
533
- "name": "error",
534
- "type": "string"
535
- },
536
- {
537
- "name": "code",
538
- "type": "string"
295
+ "name": "id",
296
+ "type": "string",
297
+ "required": true
539
298
  }
540
299
  ]
541
300
  }
@@ -551,8 +310,8 @@
551
310
  "DunningCase",
552
311
  {
553
312
  "emit": {
554
- "failure": "DunningCaseLoadFailed",
555
- "success": "DunningCaseLoaded"
313
+ "success": "DunningCaseLoaded",
314
+ "failure": "DunningCaseLoadFailed"
556
315
  }
557
316
  }
558
317
  ],
@@ -560,22 +319,22 @@
560
319
  "render-ui",
561
320
  "main",
562
321
  {
563
- "align": "center",
564
- "className": "py-12",
565
322
  "children": [
566
323
  {
567
324
  "type": "spinner"
568
325
  },
569
326
  {
570
- "variant": "caption",
571
327
  "color": "muted",
328
+ "content": "Loading dunning cases…",
572
329
  "type": "typography",
573
- "content": "Loading dunning cases…"
330
+ "variant": "caption"
574
331
  }
575
332
  ],
576
333
  "type": "stack",
577
334
  "direction": "vertical",
578
- "gap": "md"
335
+ "align": "center",
336
+ "gap": "md",
337
+ "className": "py-12"
579
338
  }
580
339
  ]
581
340
  ]
@@ -589,13 +348,10 @@
589
348
  "render-ui",
590
349
  "main",
591
350
  {
592
- "type": "stack",
593
- "gap": "md",
594
351
  "direction": "vertical",
352
+ "type": "stack",
595
353
  "children": [
596
354
  {
597
- "type": "stack",
598
- "gap": "sm",
599
355
  "direction": "horizontal",
600
356
  "children": [
601
357
  {
@@ -603,210 +359,102 @@
603
359
  "name": "alert-triangle"
604
360
  },
605
361
  {
606
- "type": "typography",
362
+ "content": "@config.title",
607
363
  "variant": "h3",
608
- "content": "@config.title"
364
+ "type": "typography"
609
365
  }
610
- ]
611
- },
612
- {
613
- "type": "divider"
614
- },
615
- {
616
- "imagePosition": "right",
617
- "description": "Track recovery against open cases and route the right escalation to each customer.",
618
- "type": "split-section",
619
- "bullets": [
620
- "Severity ladders from soft to final",
621
- "Auto-suspend at the last attempt",
622
- "Resolve when payment recovers"
623
366
  ],
624
- "title": "Collections health",
625
- "background": "alt"
367
+ "gap": "sm",
368
+ "type": "stack",
369
+ "align": "center"
626
370
  },
627
371
  {
628
- "type": "stats-grid",
629
- "columns": 4.0,
630
- "stats": [
372
+ "type": "simple-grid",
373
+ "cols": 4.0,
374
+ "children": [
631
375
  {
632
- "value": 42.0,
376
+ "type": "stat-display",
377
+ "value": "@payload.data.length",
378
+ "icon": "alert-triangle",
633
379
  "label": "Open cases"
634
380
  },
635
381
  {
636
382
  "label": "Recovered",
637
- "value": 18.0
383
+ "type": "stat-display",
384
+ "value": "18",
385
+ "icon": "check-circle"
638
386
  },
639
387
  {
640
- "value": 3.0,
641
- "label": "Suspended"
388
+ "label": "Suspended",
389
+ "value": "3",
390
+ "icon": "ban",
391
+ "type": "stat-display"
642
392
  },
643
393
  {
394
+ "type": "stat-display",
395
+ "icon": "trending-up",
644
396
  "value": "62%",
645
397
  "label": "Recovery rate"
646
398
  }
647
399
  ]
648
400
  },
649
401
  {
650
- "entity": "DunningCase",
651
- "columns": 4.0,
652
- "type": "stats-organism"
653
- },
654
- {
655
- "type": "showcase-organism",
656
- "subtitle": "High-value cases with elevated severity.",
657
- "entity": "DunningCase",
658
- "heading": "Watchlist accounts"
402
+ "type": "divider"
659
403
  },
660
404
  {
661
- "children": [
405
+ "itemActions": [
662
406
  {
663
- "accentColor": "danger",
664
- "title": "Acme Corp",
665
- "image": {
666
- "alt": "Acme",
667
- "src": "https://picsum.photos/seed/dun-acme/600/400"
668
- },
669
- "badge": "Final",
670
- "description": "Final notice. Suspension in 2 days.",
671
- "type": "showcase-card"
407
+ "variant": "primary",
408
+ "label": "Open",
409
+ "event": "OPEN_CASE",
410
+ "icon": "arrow-right"
672
411
  },
673
412
  {
674
- "image": {
675
- "alt": "Globex",
676
- "src": "https://picsum.photos/seed/dun-globex/600/400"
677
- },
678
- "description": "Urgent — second retry failed.",
679
- "type": "showcase-card",
680
- "title": "Globex Ltd",
681
- "badge": "Urgent",
682
- "accentColor": "warning"
683
- }
684
- ],
685
- "gap": "md",
686
- "type": "stack",
687
- "direction": "horizontal"
688
- },
689
- {
690
- "type": "swipeable-row",
691
- "children": {
692
- "children": [
693
- {
694
- "type": "icon",
695
- "name": "alert-triangle"
696
- },
697
- {
698
- "type": "typography",
699
- "variant": "body",
700
- "content": "Swipe a case row for quick actions"
701
- }
702
- ],
703
- "align": "center",
704
- "type": "stack",
705
- "direction": "horizontal",
706
- "gap": "md"
707
- },
708
- "rightActions": [
709
- {
710
- "color": "danger",
711
413
  "label": "Suspend",
712
- "event": "SUSPEND"
713
- }
714
- ],
715
- "leftActions": [
716
- {
717
- "color": "primary",
718
- "label": "Resolve",
719
- "event": "RESOLVE"
414
+ "event": "SUSPEND",
415
+ "variant": "danger",
416
+ "icon": "ban"
720
417
  }
721
418
  ],
722
- "threshold": 80.0
723
- },
724
- {
725
419
  "type": "data-grid",
726
- "cols": 1.0,
727
420
  "gap": "sm",
728
421
  "fields": [
729
422
  {
730
- "label": "Subscription",
731
423
  "variant": "caption",
732
- "name": "subscriptionId"
424
+ "name": "subscriptionId",
425
+ "label": "Subscription"
733
426
  },
734
427
  {
735
- "label": "Customer",
428
+ "variant": "caption",
736
429
  "name": "customerId",
737
- "variant": "caption"
430
+ "label": "Customer"
738
431
  },
739
432
  {
740
433
  "variant": "badge",
741
- "name": "severity",
742
- "label": "Severity"
434
+ "label": "Severity",
435
+ "name": "severity"
743
436
  },
744
437
  {
745
438
  "name": "attemptNumber",
746
- "variant": "caption",
747
- "label": "Attempt"
439
+ "label": "Attempt",
440
+ "variant": "caption"
748
441
  },
749
442
  {
750
- "label": "Amount Due",
443
+ "name": "amountDue",
751
444
  "variant": "caption",
752
- "name": "amountDue"
445
+ "label": "Amount Due"
753
446
  },
754
447
  {
755
- "name": "status",
756
448
  "label": "Status",
757
- "variant": "badge"
449
+ "variant": "badge",
450
+ "name": "status"
758
451
  }
759
452
  ],
760
453
  "entity": "@payload.data",
761
- "itemActions": [
762
- {
763
- "variant": "primary",
764
- "event": "ESCALATE",
765
- "label": "Escalate",
766
- "icon": "arrow-up"
767
- },
768
- {
769
- "icon": "check",
770
- "variant": "secondary",
771
- "label": "Resolve",
772
- "event": "RESOLVE"
773
- },
774
- {
775
- "variant": "danger",
776
- "event": "SUSPEND",
777
- "label": "Suspend",
778
- "icon": "ban"
779
- }
780
- ]
781
- },
782
- {
783
- "position": "right",
784
- "isOpen": false,
785
- "width": "md",
786
- "children": [
787
- {
788
- "gap": "sm",
789
- "direction": "vertical",
790
- "type": "stack",
791
- "children": [
792
- {
793
- "content": "Selected case",
794
- "type": "typography",
795
- "variant": "caption",
796
- "color": "muted"
797
- },
798
- {
799
- "type": "typography",
800
- "variant": "body",
801
- "content": "Use the grid actions to escalate, resolve, or suspend."
802
- }
803
- ]
804
- }
805
- ],
806
- "title": "Case detail",
807
- "type": "drawer"
454
+ "cols": 1.0
808
455
  }
809
- ]
456
+ ],
457
+ "gap": "md"
810
458
  }
811
459
  ]
812
460
  ]
@@ -829,42 +477,33 @@
829
477
  },
830
478
  {
831
479
  "from": "browsing",
832
- "to": "escalating",
833
- "event": "ESCALATE",
480
+ "to": "viewing_single",
481
+ "event": "OPEN_CASE",
834
482
  "effects": [
835
483
  [
836
484
  "set",
837
485
  "@entity.id",
838
- "@payload.id"
486
+ "@payload.row.id"
487
+ ],
488
+ [
489
+ "set",
490
+ "@entity.subscriptionId",
491
+ "@payload.row.subscriptionId"
492
+ ],
493
+ [
494
+ "set",
495
+ "@entity.customerId",
496
+ "@payload.row.customerId"
839
497
  ],
840
498
  [
841
499
  "set",
842
500
  "@entity.severity",
843
- [
844
- "cond",
845
- [
846
- "=",
847
- "@payload.row.severity",
848
- "soft"
849
- ],
850
- "urgent",
851
- [
852
- "=",
853
- "@payload.row.severity",
854
- "urgent"
855
- ],
856
- "final",
857
- "final"
858
- ]
501
+ "@payload.row.severity"
859
502
  ],
860
503
  [
861
504
  "set",
862
505
  "@entity.attemptNumber",
863
- [
864
- "+",
865
- "@payload.row.attemptNumber",
866
- 1.0
867
- ]
506
+ "@payload.row.attemptNumber"
868
507
  ],
869
508
  [
870
509
  "set",
@@ -892,34 +531,215 @@
892
531
  "@payload.row.currency"
893
532
  ],
894
533
  [
895
- "render-ui",
896
- "main",
897
- {
898
- "variant": "warning",
899
- "title": "Payment failed",
900
- "message": "Attempt @entity.attemptNumber of @entity.attemptsTotal — amount @entity.amountDue @entity.currency. Next retry @entity.nextRetryAt.",
901
- "type": "alert",
902
- "dismissible": false
903
- }
534
+ "set",
535
+ "@entity.resolvedAt",
536
+ "@payload.row.resolvedAt"
904
537
  ],
905
538
  [
906
- "persist",
907
- "update",
908
- "DunningCase",
909
- "@entity",
539
+ "set",
540
+ "@entity.status",
541
+ "@payload.row.status"
542
+ ],
543
+ [
544
+ "render-ui",
545
+ "main",
910
546
  {
911
- "emit": {
912
- "success": "DunningCaseUpdated",
913
- "failure": "DunningCaseUpdateFailed"
914
- }
547
+ "children": [
548
+ {
549
+ "type": "stack",
550
+ "align": "center",
551
+ "children": [
552
+ {
553
+ "type": "button",
554
+ "label": "Back",
555
+ "action": "CLOSE_VIEW",
556
+ "variant": "ghost"
557
+ },
558
+ {
559
+ "type": "icon",
560
+ "name": "alert-triangle"
561
+ },
562
+ {
563
+ "content": "@entity.subscriptionId",
564
+ "variant": "h3",
565
+ "type": "typography"
566
+ },
567
+ {
568
+ "label": "@entity.severity",
569
+ "type": "badge",
570
+ "variant": "primary"
571
+ },
572
+ {
573
+ "label": "@entity.status",
574
+ "type": "badge",
575
+ "variant": "default"
576
+ }
577
+ ],
578
+ "direction": "horizontal",
579
+ "gap": "sm"
580
+ },
581
+ {
582
+ "type": "divider"
583
+ },
584
+ {
585
+ "type": "stack",
586
+ "direction": "vertical",
587
+ "children": [
588
+ {
589
+ "gap": "md",
590
+ "direction": "horizontal",
591
+ "children": [
592
+ {
593
+ "content": "Customer",
594
+ "variant": "caption",
595
+ "type": "typography",
596
+ "color": "muted"
597
+ },
598
+ {
599
+ "content": "@entity.customerId",
600
+ "variant": "body",
601
+ "type": "typography"
602
+ }
603
+ ],
604
+ "type": "stack"
605
+ },
606
+ {
607
+ "children": [
608
+ {
609
+ "variant": "caption",
610
+ "color": "muted",
611
+ "type": "typography",
612
+ "content": "Currency"
613
+ },
614
+ {
615
+ "type": "typography",
616
+ "variant": "body",
617
+ "content": "@entity.currency"
618
+ }
619
+ ],
620
+ "type": "stack",
621
+ "direction": "horizontal",
622
+ "gap": "md"
623
+ },
624
+ {
625
+ "children": [
626
+ {
627
+ "variant": "caption",
628
+ "color": "muted",
629
+ "type": "typography",
630
+ "content": "Failed at"
631
+ },
632
+ {
633
+ "type": "typography",
634
+ "content": "@entity.failedAt",
635
+ "variant": "body"
636
+ }
637
+ ],
638
+ "direction": "horizontal",
639
+ "gap": "md",
640
+ "type": "stack"
641
+ },
642
+ {
643
+ "children": [
644
+ {
645
+ "variant": "caption",
646
+ "content": "Next retry",
647
+ "type": "typography",
648
+ "color": "muted"
649
+ },
650
+ {
651
+ "variant": "body",
652
+ "content": "@entity.nextRetryAt",
653
+ "type": "typography"
654
+ }
655
+ ],
656
+ "direction": "horizontal",
657
+ "type": "stack",
658
+ "gap": "md"
659
+ }
660
+ ],
661
+ "gap": "sm"
662
+ },
663
+ {
664
+ "type": "divider"
665
+ },
666
+ {
667
+ "cols": 4.0,
668
+ "type": "simple-grid",
669
+ "children": [
670
+ {
671
+ "value": "@entity.amountDue",
672
+ "label": "Amount due",
673
+ "icon": "dollar-sign",
674
+ "type": "stat-display"
675
+ },
676
+ {
677
+ "type": "stat-display",
678
+ "label": "Attempt",
679
+ "icon": "repeat",
680
+ "value": "@entity.attemptNumber"
681
+ },
682
+ {
683
+ "type": "stat-display",
684
+ "label": "Total attempts",
685
+ "icon": "list",
686
+ "value": "@entity.attemptsTotal"
687
+ },
688
+ {
689
+ "label": "Resolved at",
690
+ "type": "stat-display",
691
+ "value": "@entity.resolvedAt",
692
+ "icon": "check-circle"
693
+ }
694
+ ]
695
+ },
696
+ {
697
+ "gap": "sm",
698
+ "direction": "horizontal",
699
+ "align": "center",
700
+ "type": "stack",
701
+ "children": [
702
+ {
703
+ "action": "ESCALATE",
704
+ "variant": "primary",
705
+ "label": "Escalate",
706
+ "type": "button",
707
+ "actionPayload": {
708
+ "id": "@entity.id"
709
+ }
710
+ },
711
+ {
712
+ "type": "button",
713
+ "label": "Resolve",
714
+ "action": "RESOLVE",
715
+ "actionPayload": {
716
+ "id": "@entity.id"
717
+ },
718
+ "variant": "secondary"
719
+ },
720
+ {
721
+ "label": "Suspend",
722
+ "variant": "danger",
723
+ "action": "SUSPEND",
724
+ "actionPayload": {
725
+ "id": "@entity.id"
726
+ },
727
+ "type": "button"
728
+ }
729
+ ]
730
+ }
731
+ ],
732
+ "gap": "md",
733
+ "direction": "vertical",
734
+ "type": "stack"
915
735
  }
916
736
  ]
917
737
  ]
918
738
  },
919
739
  {
920
740
  "from": "browsing",
921
- "to": "escalating",
922
- "event": "RESOLVE",
741
+ "to": "loading",
742
+ "event": "SUSPEND",
923
743
  "effects": [
924
744
  [
925
745
  "set",
@@ -927,28 +747,82 @@
927
747
  "@payload.id"
928
748
  ],
929
749
  [
930
- "set",
931
- "@entity.status",
932
- "resolved"
750
+ "fetch",
751
+ "DunningCase",
752
+ {
753
+ "emit": {
754
+ "failure": "DunningCaseLoadFailed",
755
+ "success": "DunningCaseLoaded"
756
+ }
757
+ }
933
758
  ],
934
759
  [
935
- "persist",
936
- "update",
760
+ "render-ui",
761
+ "main",
762
+ {
763
+ "align": "center",
764
+ "direction": "vertical",
765
+ "className": "py-12",
766
+ "children": [
767
+ {
768
+ "type": "spinner"
769
+ },
770
+ {
771
+ "variant": "caption",
772
+ "type": "typography",
773
+ "color": "muted",
774
+ "content": "Suspending service…"
775
+ }
776
+ ],
777
+ "type": "stack",
778
+ "gap": "md"
779
+ }
780
+ ]
781
+ ]
782
+ },
783
+ {
784
+ "from": "viewing_single",
785
+ "to": "loading",
786
+ "event": "CLOSE_VIEW",
787
+ "effects": [
788
+ [
789
+ "fetch",
937
790
  "DunningCase",
938
- "@entity",
939
791
  {
940
792
  "emit": {
941
- "failure": "DunningCaseUpdateFailed",
942
- "success": "DunningCaseUpdated"
793
+ "failure": "DunningCaseLoadFailed",
794
+ "success": "DunningCaseLoaded"
943
795
  }
944
796
  }
797
+ ],
798
+ [
799
+ "render-ui",
800
+ "main",
801
+ {
802
+ "align": "center",
803
+ "direction": "vertical",
804
+ "type": "stack",
805
+ "children": [
806
+ {
807
+ "type": "spinner"
808
+ },
809
+ {
810
+ "content": "Loading dunning cases…",
811
+ "color": "muted",
812
+ "variant": "caption",
813
+ "type": "typography"
814
+ }
815
+ ],
816
+ "className": "py-12",
817
+ "gap": "md"
818
+ }
945
819
  ]
946
820
  ]
947
821
  },
948
822
  {
949
- "from": "browsing",
950
- "to": "escalating",
951
- "event": "SUSPEND",
823
+ "from": "viewing_single",
824
+ "to": "loading",
825
+ "event": "ESCALATE",
952
826
  "effects": [
953
827
  [
954
828
  "set",
@@ -956,29 +830,49 @@
956
830
  "@payload.id"
957
831
  ],
958
832
  [
959
- "set",
960
- "@entity.status",
961
- "suspended"
962
- ],
963
- [
964
- "persist",
965
- "update",
833
+ "fetch",
966
834
  "DunningCase",
967
- "@entity",
968
835
  {
969
836
  "emit": {
970
- "failure": "DunningCaseUpdateFailed",
971
- "success": "ServiceSuspended"
837
+ "failure": "DunningCaseLoadFailed",
838
+ "success": "DunningCaseLoaded"
972
839
  }
973
840
  }
841
+ ],
842
+ [
843
+ "render-ui",
844
+ "main",
845
+ {
846
+ "type": "stack",
847
+ "direction": "vertical",
848
+ "align": "center",
849
+ "className": "py-12",
850
+ "children": [
851
+ {
852
+ "type": "spinner"
853
+ },
854
+ {
855
+ "type": "typography",
856
+ "variant": "caption",
857
+ "color": "muted",
858
+ "content": "Escalating case…"
859
+ }
860
+ ],
861
+ "gap": "md"
862
+ }
974
863
  ]
975
864
  ]
976
865
  },
977
866
  {
978
- "from": "escalating",
867
+ "from": "viewing_single",
979
868
  "to": "loading",
980
- "event": "DunningCaseUpdated",
869
+ "event": "RESOLVE",
981
870
  "effects": [
871
+ [
872
+ "set",
873
+ "@entity.id",
874
+ "@payload.id"
875
+ ],
982
876
  [
983
877
  "fetch",
984
878
  "DunningCase",
@@ -988,14 +882,41 @@
988
882
  "failure": "DunningCaseLoadFailed"
989
883
  }
990
884
  }
885
+ ],
886
+ [
887
+ "render-ui",
888
+ "main",
889
+ {
890
+ "children": [
891
+ {
892
+ "type": "spinner"
893
+ },
894
+ {
895
+ "variant": "caption",
896
+ "content": "Resolving case…",
897
+ "color": "muted",
898
+ "type": "typography"
899
+ }
900
+ ],
901
+ "direction": "vertical",
902
+ "gap": "md",
903
+ "align": "center",
904
+ "className": "py-12",
905
+ "type": "stack"
906
+ }
991
907
  ]
992
908
  ]
993
909
  },
994
910
  {
995
- "from": "escalating",
911
+ "from": "viewing_single",
996
912
  "to": "loading",
997
- "event": "ServiceSuspended",
913
+ "event": "SUSPEND",
998
914
  "effects": [
915
+ [
916
+ "set",
917
+ "@entity.id",
918
+ "@payload.id"
919
+ ],
999
920
  [
1000
921
  "fetch",
1001
922
  "DunningCase",
@@ -1005,21 +926,27 @@
1005
926
  "success": "DunningCaseLoaded"
1006
927
  }
1007
928
  }
1008
- ]
1009
- ]
1010
- },
1011
- {
1012
- "from": "escalating",
1013
- "to": "browsing",
1014
- "event": "DunningCaseUpdateFailed",
1015
- "effects": [
929
+ ],
1016
930
  [
1017
931
  "render-ui",
1018
932
  "main",
1019
933
  {
1020
- "message": "@payload.error",
1021
- "variant": "error",
1022
- "type": "alert"
934
+ "children": [
935
+ {
936
+ "type": "spinner"
937
+ },
938
+ {
939
+ "type": "typography",
940
+ "color": "muted",
941
+ "content": "Suspending service…",
942
+ "variant": "caption"
943
+ }
944
+ ],
945
+ "type": "stack",
946
+ "className": "py-12",
947
+ "gap": "md",
948
+ "direction": "vertical",
949
+ "align": "center"
1023
950
  }
1024
951
  ]
1025
952
  ]
@@ -1034,8 +961,8 @@
1034
961
  "DunningCase",
1035
962
  {
1036
963
  "emit": {
1037
- "success": "DunningCaseLoaded",
1038
- "failure": "DunningCaseLoadFailed"
964
+ "failure": "DunningCaseLoadFailed",
965
+ "success": "DunningCaseLoaded"
1039
966
  }
1040
967
  }
1041
968
  ],
@@ -1073,4 +1000,4 @@
1073
1000
  ]
1074
1001
  }
1075
1002
  ]
1076
- }
1003
+ }