@cosmicdrift/kumiko-samples 0.410.0 → 0.412.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 (122) hide show
  1. package/package.json +1 -1
  2. package/packages/bundled-features/package.json +31 -1
  3. package/packages/bundled-features/src/agent-tools/agent-doc-lint.ts +64 -3
  4. package/packages/bundled-features/src/agent-tools/agent-manifest.ts +13 -130
  5. package/packages/bundled-features/src/agent-tools/api-docs/anchors.ts +60 -0
  6. package/packages/bundled-features/src/agent-tools/api-docs/check.ts +25 -0
  7. package/packages/bundled-features/src/agent-tools/api-docs/collect-events.ts +140 -0
  8. package/packages/bundled-features/src/agent-tools/api-docs/collect.ts +175 -0
  9. package/packages/bundled-features/src/agent-tools/api-docs/curl.ts +28 -0
  10. package/packages/bundled-features/src/agent-tools/api-docs/error-table.ts +45 -0
  11. package/packages/bundled-features/src/agent-tools/api-docs/examples.ts +43 -0
  12. package/packages/bundled-features/src/agent-tools/api-docs/generate.ts +179 -0
  13. package/packages/bundled-features/src/agent-tools/api-docs/index-json.ts +29 -0
  14. package/packages/bundled-features/src/agent-tools/api-docs/index.ts +21 -0
  15. package/packages/bundled-features/src/agent-tools/api-docs/list-parameters.ts +38 -0
  16. package/packages/bundled-features/src/agent-tools/api-docs/markdown.ts +70 -0
  17. package/packages/bundled-features/src/agent-tools/api-docs/menu-path.ts +82 -0
  18. package/packages/bundled-features/src/agent-tools/api-docs/model.ts +83 -0
  19. package/packages/bundled-features/src/agent-tools/api-docs/problems.ts +58 -0
  20. package/packages/bundled-features/src/agent-tools/api-docs/render-events.ts +76 -0
  21. package/packages/bundled-features/src/agent-tools/api-docs/render-openapi.ts +216 -0
  22. package/packages/bundled-features/src/agent-tools/api-docs/render-overview.ts +86 -0
  23. package/packages/bundled-features/src/agent-tools/api-docs/render-reference.ts +79 -0
  24. package/packages/bundled-features/src/agent-tools/api-docs/render-tokens.ts +136 -0
  25. package/packages/bundled-features/src/agent-tools/api-docs/schema-fields.ts +167 -0
  26. package/packages/bundled-features/src/agent-tools/api-docs/section-ids.ts +28 -0
  27. package/packages/bundled-features/src/agent-tools/api-docs/system-only.ts +11 -0
  28. package/packages/bundled-features/src/agent-tools/api-docs/texts/de.ts +166 -0
  29. package/packages/bundled-features/src/agent-tools/api-docs/texts/en.ts +159 -0
  30. package/packages/bundled-features/src/agent-tools/api-docs/texts/es.ts +162 -0
  31. package/packages/bundled-features/src/agent-tools/api-docs/texts/fr.ts +169 -0
  32. package/packages/bundled-features/src/agent-tools/api-docs/texts/index.ts +67 -0
  33. package/packages/bundled-features/src/agent-tools/api-docs/texts/it.ts +165 -0
  34. package/packages/bundled-features/src/agent-tools/api-docs/texts/types.ts +130 -0
  35. package/packages/bundled-features/src/agent-tools/api-docs/ui-writes.ts +81 -0
  36. package/packages/bundled-features/src/agent-tools/changes.json +24 -0
  37. package/packages/bundled-features/src/agent-tools/handler-schema.ts +45 -0
  38. package/packages/bundled-features/src/agent-tools/index.ts +24 -0
  39. package/packages/bundled-features/src/agent-tools/labels.ts +181 -0
  40. package/packages/bundled-features/src/auth-email-password/changes.json +24 -0
  41. package/packages/bundled-features/src/auth-email-password/seeding.ts +84 -6
  42. package/packages/bundled-features/src/auth-email-password/web/i18n.ts +1 -0
  43. package/packages/bundled-features/src/auth-email-password/web/signup-screen.tsx +48 -3
  44. package/packages/bundled-features/src/auth-email-password/web/static-account.ts +190 -0
  45. package/packages/bundled-features/src/auth-email-password/web/static-client.ts +226 -0
  46. package/packages/bundled-features/src/foundation-shared/demo-admin-env.ts +11 -0
  47. package/packages/bundled-features/src/foundation-shared/index.ts +5 -1
  48. package/packages/bundled-features/src/inbound-mail-foundation/changes.json +6 -0
  49. package/packages/bundled-features/src/inbound-mail-foundation/entities.ts +99 -71
  50. package/packages/bundled-features/src/inbound-mail-foundation/feature.ts +2 -2
  51. package/packages/bundled-features/src/inbound-provider-imap/changes.json +6 -0
  52. package/packages/bundled-features/src/inbound-provider-imap/imap-client.ts +3 -1
  53. package/packages/bundled-features/src/personal-access-tokens/changes.json +6 -0
  54. package/packages/bundled-features/src/personal-access-tokens/feature.ts +5 -2
  55. package/packages/bundled-features/src/personal-access-tokens/handlers/create.write.ts +7 -2
  56. package/packages/bundled-features/src/personal-access-tokens/i18n.ts +6 -1
  57. package/packages/bundled-features/src/personal-access-tokens/index.ts +37 -2
  58. package/packages/bundled-features/src/personal-access-tokens/scope-events-check.ts +28 -0
  59. package/packages/bundled-features/src/personal-access-tokens/screens.ts +9 -1
  60. package/packages/bundled-features/src/personal-access-tokens/web/constants.ts +1 -0
  61. package/packages/bundled-features/src/personal-access-tokens/web/scopes.ts +14 -0
  62. package/packages/bundled-features/src/presence/changes.json +8 -0
  63. package/packages/bundled-features/src/presence/feature.ts +25 -0
  64. package/packages/bundled-features/src/presence/handlers/heartbeat.write.ts +52 -0
  65. package/packages/bundled-features/src/presence/handlers/leave.write.ts +41 -0
  66. package/packages/bundled-features/src/presence/handlers/list.query.ts +39 -0
  67. package/packages/bundled-features/src/presence/index.ts +7 -0
  68. package/packages/bundled-features/src/presence/options.ts +30 -0
  69. package/packages/bundled-features/src/presence/payloads.ts +26 -0
  70. package/packages/bundled-features/src/presence/room.ts +65 -0
  71. package/packages/bundled-features/src/presence/store.ts +185 -0
  72. package/packages/bundled-features/src/sessions/feature.ts +6 -2
  73. package/packages/bundled-features/src/sessions/handlers/last-activity-probe.route.ts +19 -0
  74. package/packages/bundled-features/src/tenant-inactivity/changes.json +12 -0
  75. package/packages/bundled-features/src/tenant-inactivity/check-inactive-tenants.ts +14 -6
  76. package/packages/bundled-features/src/tenant-inactivity/constants.ts +4 -1
  77. package/packages/bundled-features/src/tenant-inactivity/handlers/inactivity-state.query.ts +2 -1
  78. package/packages/bundled-features/src/tenant-inactivity/handlers/keep-account.write.ts +2 -1
  79. package/packages/bundled-features/src/tenant-inactivity/options.ts +1 -0
  80. package/packages/bundled-features/src/tenant-inactivity/remote-activity.ts +6 -1
  81. package/packages/bundled-features/src/tenant-inactivity/static-keep-account.ts +37 -0
  82. package/packages/bundled-features/src/tenant-lifecycle/constants.ts +2 -0
  83. package/packages/bundled-features/src/tenant-lifecycle/handlers/cancel-destruction.write.ts +6 -2
  84. package/packages/bundled-features/src/tenant-lifecycle/handlers/request-destruction.write.ts +2 -1
  85. package/packages/bundled-features/src/tenant-lifecycle/index.ts +1 -0
  86. package/packages/bundled-features/src/waitlist/changes.json +6 -0
  87. package/packages/bundled-features/src/waitlist/static-submit.ts +56 -0
  88. package/samples/apps/styleguide/src/features/widgets/i18n.ts +143 -0
  89. package/samples/apps/styleguide/src/features/widgets/web/VariantsDemo.tsx +276 -0
  90. package/samples/apps/styleguide/src/features/widgets/web/Widgets.tsx +3 -0
  91. package/samples/apps/styleguide/src/features/workboard/feature.ts +1 -0
  92. package/samples/apps/use-all-bundled/feature-manifest.json +23 -1
  93. package/samples/apps/use-all-bundled/src/run-config.ts +3 -0
  94. package/samples/recipes/api-docs/README.md +52 -0
  95. package/samples/recipes/api-docs/api-docs/de/events.md +62 -0
  96. package/samples/recipes/api-docs/api-docs/de/overview.md +100 -0
  97. package/samples/recipes/api-docs/api-docs/de/reference/tickets.md +305 -0
  98. package/samples/recipes/api-docs/api-docs/de/tokens.md +66 -0
  99. package/samples/recipes/api-docs/api-docs/en/events.md +62 -0
  100. package/samples/recipes/api-docs/api-docs/en/overview.md +100 -0
  101. package/samples/recipes/api-docs/api-docs/en/reference/tickets.md +305 -0
  102. package/samples/recipes/api-docs/api-docs/en/tokens.md +66 -0
  103. package/samples/recipes/api-docs/api-docs/index.json +371 -0
  104. package/samples/recipes/api-docs/api-docs/openapi.json +982 -0
  105. package/samples/recipes/api-docs/api-examples/ticket-close.json +21 -0
  106. package/samples/recipes/api-docs/api-examples/ticket-create.json +42 -0
  107. package/samples/recipes/api-docs/api-examples/ticket-detail.json +28 -0
  108. package/samples/recipes/api-docs/api-examples/ticket-list.json +31 -0
  109. package/samples/recipes/api-docs/api-examples/ticket-update.json +54 -0
  110. package/samples/recipes/api-docs/api-examples/webhooks/ticket-closed.json +8 -0
  111. package/samples/recipes/api-docs/api-examples/webhooks/ticket-created.json +10 -0
  112. package/samples/recipes/api-docs/kumiko.config.ts +33 -0
  113. package/samples/recipes/api-docs/package.json +14 -0
  114. package/samples/recipes/api-docs/src/feature.ts +218 -0
  115. package/samples/recipes/api-docs/tsconfig.json +22 -0
  116. package/samples/recipes/realtime-sse/README.md +1 -0
  117. package/samples/recipes/realtime-sse/package.json +1 -0
  118. package/samples/recipes/realtime-sse/src/feature.ts +9 -0
  119. package/samples/recipes/record-detail-layout/README.md +1 -0
  120. package/samples/recipes/record-detail-layout/src/feature.ts +10 -0
  121. package/samples/recipes/wizard-form/README.md +9 -0
  122. package/samples/recipes/wizard-form/src/feature.ts +13 -2
@@ -0,0 +1,371 @@
1
+ {
2
+ "source": {
3
+ "framework": "0.0.0-recipe",
4
+ "app": {
5
+ "name": "@cosmicdrift/kumiko-sample-api-docs",
6
+ "version": "0.0.0"
7
+ }
8
+ },
9
+ "locales": [
10
+ "en",
11
+ "de"
12
+ ],
13
+ "pages": [
14
+ {
15
+ "path": "de/overview.md",
16
+ "locale": "de",
17
+ "kind": "overview",
18
+ "order": 1,
19
+ "title": "HTTP-API",
20
+ "description": "Endpunkte, Request-Body, Antworten, Fehlercodes, Listen und Batches der HTTP-API.",
21
+ "anchors": [
22
+ {
23
+ "id": "endpoints",
24
+ "heading": "Endpunkte",
25
+ "level": 2
26
+ },
27
+ {
28
+ "id": "authentication",
29
+ "heading": "Authentifizierung",
30
+ "level": 2
31
+ },
32
+ {
33
+ "id": "request-body",
34
+ "heading": "Request-Body",
35
+ "level": 2
36
+ },
37
+ {
38
+ "id": "responses",
39
+ "heading": "Antworten",
40
+ "level": 2
41
+ },
42
+ {
43
+ "id": "error-codes",
44
+ "heading": "Fehlercodes",
45
+ "level": 2
46
+ },
47
+ {
48
+ "id": "versions",
49
+ "heading": "Versionen und Konflikte",
50
+ "level": 2
51
+ },
52
+ {
53
+ "id": "lists",
54
+ "heading": "Listen",
55
+ "level": 2
56
+ },
57
+ {
58
+ "id": "batches",
59
+ "heading": "Batches",
60
+ "level": 2
61
+ },
62
+ {
63
+ "id": "retries",
64
+ "heading": "Sicher wiederholen",
65
+ "level": 2
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "path": "de/tokens.md",
71
+ "locale": "de",
72
+ "kind": "tokens",
73
+ "order": 2,
74
+ "title": "API-Tokens",
75
+ "description": "Lege einen API-Token für Helpdesk an, wähle seine Scopes und sende ihn mit deinen Anfragen.",
76
+ "anchors": [
77
+ {
78
+ "id": "create-token",
79
+ "heading": "Token anlegen",
80
+ "level": 2
81
+ },
82
+ {
83
+ "id": "use-token",
84
+ "heading": "Token verwenden",
85
+ "level": 2
86
+ },
87
+ {
88
+ "id": "scopes",
89
+ "heading": "Scopes",
90
+ "level": 2
91
+ },
92
+ {
93
+ "id": "rate-limit",
94
+ "heading": "Ratenbegrenzung",
95
+ "level": 2
96
+ },
97
+ {
98
+ "id": "errors",
99
+ "heading": "Fehler",
100
+ "level": 2
101
+ },
102
+ {
103
+ "id": "revoke-token",
104
+ "heading": "Token widerrufen",
105
+ "level": 2
106
+ },
107
+ {
108
+ "id": "security",
109
+ "heading": "Sicherheit",
110
+ "level": 2
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "path": "de/reference/tickets.md",
116
+ "locale": "de",
117
+ "kind": "reference",
118
+ "order": 10,
119
+ "title": "Tickets",
120
+ "description": "API-Referenz für Tickets: jeder Handler mit seinen Feldern und einem Beispiel.",
121
+ "scope": "tickets",
122
+ "anchors": [
123
+ {
124
+ "id": "ticket-detail",
125
+ "heading": "ticket: detail",
126
+ "level": 3,
127
+ "qn": "helpdesk:query:ticket:detail"
128
+ },
129
+ {
130
+ "id": "ticket-list",
131
+ "heading": "ticket: list",
132
+ "level": 3,
133
+ "qn": "helpdesk:query:ticket:list"
134
+ },
135
+ {
136
+ "id": "ticket-close",
137
+ "heading": "ticket: close",
138
+ "level": 3,
139
+ "qn": "helpdesk:write:ticket:close"
140
+ },
141
+ {
142
+ "id": "ticket-create",
143
+ "heading": "ticket: create",
144
+ "level": 3,
145
+ "qn": "helpdesk:write:ticket:create"
146
+ },
147
+ {
148
+ "id": "ticket-update",
149
+ "heading": "ticket: update",
150
+ "level": 3,
151
+ "qn": "helpdesk:write:ticket:update"
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "path": "de/events.md",
157
+ "locale": "de",
158
+ "kind": "events",
159
+ "order": 11,
160
+ "title": "Webhook-Ereignisse",
161
+ "description": "Webhook-Ereignisse: wann sie ausgelöst werden, welchen Scope sie brauchen und was ihre Nutzlast enthält.",
162
+ "anchors": [
163
+ {
164
+ "id": "delivery",
165
+ "heading": "Zustellung",
166
+ "level": 2
167
+ },
168
+ {
169
+ "id": "versions",
170
+ "heading": "Versionen",
171
+ "level": 2
172
+ },
173
+ {
174
+ "id": "events",
175
+ "heading": "Ereignisse",
176
+ "level": 2
177
+ },
178
+ {
179
+ "id": "ticketclosed",
180
+ "heading": "ticket.closed",
181
+ "level": 3,
182
+ "qn": "helpdesk:ticket-closed"
183
+ },
184
+ {
185
+ "id": "ticketcreated",
186
+ "heading": "ticket.created",
187
+ "level": 3,
188
+ "qn": "ticket.created"
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "path": "en/overview.md",
194
+ "locale": "en",
195
+ "kind": "overview",
196
+ "order": 1,
197
+ "title": "HTTP API",
198
+ "description": "Endpoints, request body, responses, error codes, lists and batches of the HTTP API.",
199
+ "anchors": [
200
+ {
201
+ "id": "endpoints",
202
+ "heading": "Endpoints",
203
+ "level": 2
204
+ },
205
+ {
206
+ "id": "authentication",
207
+ "heading": "Authentication",
208
+ "level": 2
209
+ },
210
+ {
211
+ "id": "request-body",
212
+ "heading": "Request body",
213
+ "level": 2
214
+ },
215
+ {
216
+ "id": "responses",
217
+ "heading": "Responses",
218
+ "level": 2
219
+ },
220
+ {
221
+ "id": "error-codes",
222
+ "heading": "Error codes",
223
+ "level": 2
224
+ },
225
+ {
226
+ "id": "versions",
227
+ "heading": "Versions and conflicts",
228
+ "level": 2
229
+ },
230
+ {
231
+ "id": "lists",
232
+ "heading": "Lists",
233
+ "level": 2
234
+ },
235
+ {
236
+ "id": "batches",
237
+ "heading": "Batches",
238
+ "level": 2
239
+ },
240
+ {
241
+ "id": "retries",
242
+ "heading": "Safe retries",
243
+ "level": 2
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "path": "en/tokens.md",
249
+ "locale": "en",
250
+ "kind": "tokens",
251
+ "order": 2,
252
+ "title": "API tokens",
253
+ "description": "Create an API token for Helpdesk, choose its scopes and send it with your requests.",
254
+ "anchors": [
255
+ {
256
+ "id": "create-token",
257
+ "heading": "Create a token",
258
+ "level": 2
259
+ },
260
+ {
261
+ "id": "use-token",
262
+ "heading": "Use the token",
263
+ "level": 2
264
+ },
265
+ {
266
+ "id": "scopes",
267
+ "heading": "Scopes",
268
+ "level": 2
269
+ },
270
+ {
271
+ "id": "rate-limit",
272
+ "heading": "Rate limit",
273
+ "level": 2
274
+ },
275
+ {
276
+ "id": "errors",
277
+ "heading": "Errors",
278
+ "level": 2
279
+ },
280
+ {
281
+ "id": "revoke-token",
282
+ "heading": "Revoke a token",
283
+ "level": 2
284
+ },
285
+ {
286
+ "id": "security",
287
+ "heading": "Security",
288
+ "level": 2
289
+ }
290
+ ]
291
+ },
292
+ {
293
+ "path": "en/reference/tickets.md",
294
+ "locale": "en",
295
+ "kind": "reference",
296
+ "order": 10,
297
+ "title": "Tickets",
298
+ "description": "API reference for Tickets: every handler with its fields and an example.",
299
+ "scope": "tickets",
300
+ "anchors": [
301
+ {
302
+ "id": "ticket-detail",
303
+ "heading": "ticket: detail",
304
+ "level": 3,
305
+ "qn": "helpdesk:query:ticket:detail"
306
+ },
307
+ {
308
+ "id": "ticket-list",
309
+ "heading": "ticket: list",
310
+ "level": 3,
311
+ "qn": "helpdesk:query:ticket:list"
312
+ },
313
+ {
314
+ "id": "ticket-close",
315
+ "heading": "ticket: close",
316
+ "level": 3,
317
+ "qn": "helpdesk:write:ticket:close"
318
+ },
319
+ {
320
+ "id": "ticket-create",
321
+ "heading": "ticket: create",
322
+ "level": 3,
323
+ "qn": "helpdesk:write:ticket:create"
324
+ },
325
+ {
326
+ "id": "ticket-update",
327
+ "heading": "ticket: update",
328
+ "level": 3,
329
+ "qn": "helpdesk:write:ticket:update"
330
+ }
331
+ ]
332
+ },
333
+ {
334
+ "path": "en/events.md",
335
+ "locale": "en",
336
+ "kind": "events",
337
+ "order": 11,
338
+ "title": "Webhook events",
339
+ "description": "Webhook events: when they fire, which scope they need and what their payload contains.",
340
+ "anchors": [
341
+ {
342
+ "id": "delivery",
343
+ "heading": "Delivery",
344
+ "level": 2
345
+ },
346
+ {
347
+ "id": "versions",
348
+ "heading": "Versions",
349
+ "level": 2
350
+ },
351
+ {
352
+ "id": "events",
353
+ "heading": "Events",
354
+ "level": 2
355
+ },
356
+ {
357
+ "id": "ticketclosed",
358
+ "heading": "ticket.closed",
359
+ "level": 3,
360
+ "qn": "helpdesk:ticket-closed"
361
+ },
362
+ {
363
+ "id": "ticketcreated",
364
+ "heading": "ticket.created",
365
+ "level": 3,
366
+ "qn": "ticket.created"
367
+ }
368
+ ]
369
+ }
370
+ ]
371
+ }