@domino-sdk/relay 1.0.0-next.9 → 1.1.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 (59) hide show
  1. package/README.md +1 -1
  2. package/dist/activity-B8k9Sa_a.d.ts +9112 -0
  3. package/dist/authoring.d.ts +1053 -259
  4. package/dist/authoring.js +478 -277
  5. package/dist/automatic-outcomes-B1xrETxm.d.ts +758 -0
  6. package/dist/avatar.d.ts +2 -2
  7. package/dist/browser-J7tUpXxy.d.ts +4154 -0
  8. package/dist/browser.d.ts +11 -2613
  9. package/dist/browser.js +8 -6
  10. package/dist/{integrations-Ba5TtqTv.d.ts → capability-error-DNMwKmlL.d.ts} +124 -76
  11. package/dist/{chunk-PHU5VDLR.js → chunk-36HTX2BM.js} +389 -169
  12. package/dist/chunk-6QJ3LADK.js +112 -0
  13. package/dist/{chunk-4LBUTHD6.js → chunk-BGGKNIRP.js} +1 -1
  14. package/dist/chunk-EYH5RDIE.js +496 -0
  15. package/dist/chunk-GQKYAQM6.js +84 -0
  16. package/dist/chunk-GUP7YRR4.js +42 -0
  17. package/dist/{chunk-X2F2RAR3.js → chunk-GZ6FJAXN.js} +380 -128
  18. package/dist/chunk-JON5SESL.js +2986 -0
  19. package/dist/chunk-MC6V6VMG.js +49 -0
  20. package/dist/chunk-NPGENI7K.js +37 -0
  21. package/dist/chunk-VFHHLN6A.js +284 -0
  22. package/dist/chunk-WJSSJ7AF.js +151 -0
  23. package/dist/{chunk-7Q4BGGT6.js → chunk-XFMSUPNS.js} +1 -1
  24. package/dist/{chunk-P6FK43GG.js → chunk-ZVIRG24J.js} +145 -42
  25. package/dist/{client-CT4-S5vc.d.ts → client-XiuFnug_.d.ts} +2161 -615
  26. package/dist/{submission-input-0OOGaq8c.d.ts → groups-Ck-OxzjD.d.ts} +916 -1139
  27. package/dist/identity-integration-GxAHdKR2.d.ts +58 -0
  28. package/dist/images-Dv-P5VBw.d.ts +234 -0
  29. package/dist/index.d.ts +13 -9
  30. package/dist/index.js +17 -6
  31. package/dist/internal.d.ts +82 -44
  32. package/dist/internal.js +43 -89
  33. package/dist/offers-Cy-e4o5x.d.ts +431 -0
  34. package/dist/{pages-D3titw5B.d.ts → outcomes-kVB-Juzs.d.ts} +2157 -1448
  35. package/dist/pages-BBYD21IE.d.ts +359 -0
  36. package/dist/participant-rewards-3duLb8YJ.d.ts +668 -0
  37. package/dist/portal-proxy.js +22 -4
  38. package/dist/{profiles-DDMFBRKe.d.ts → profiles-D2aFcOxu.d.ts} +15 -15
  39. package/dist/react/index.d.ts +3038 -1029
  40. package/dist/react/index.js +1627 -779
  41. package/dist/request-error-DWduJCGV.d.ts +62 -0
  42. package/dist/schema-DfJzH2ci.d.ts +5644 -0
  43. package/dist/schema.d.ts +15 -4168
  44. package/dist/schema.js +310 -81
  45. package/dist/server/index.d.ts +81722 -0
  46. package/dist/server/index.js +2569 -0
  47. package/dist/{streaks-CwGReWGt.d.ts → streaks-CWyq8Px5.d.ts} +2 -4
  48. package/dist/submission-input-BZkm6ohU.d.ts +290 -0
  49. package/dist/vite.d.ts +1 -1
  50. package/dist/vite.js +1 -0
  51. package/dist/{wallet-BGOfFkG9.d.ts → wallet-YssWxGg8.d.ts} +35 -38
  52. package/package.json +8 -2
  53. package/dist/chunk-QR7ZA2BJ.js +0 -257
  54. package/dist/chunk-YYD4QUBO.js +0 -2348
  55. package/dist/chunk-ZWY3R6B3.js +0 -26
  56. package/dist/collection-BGneJ6Bk.d.ts +0 -114
  57. package/dist/images-BTgk6OmC.d.ts +0 -1564
  58. package/dist/point-ledgers-iS00Z_v0.d.ts +0 -37
  59. package/dist/schema-Di3aLSiK.d.ts +0 -3532
@@ -0,0 +1,758 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const collectionCodeSchema: z.ZodString;
4
+ declare const collectionPassSchema: z.ZodObject<{
5
+ code: z.ZodString;
6
+ expiresAt: z.ZodNumber;
7
+ entitlement: z.ZodString;
8
+ }, z.core.$strip>;
9
+ type CollectionPass = z.infer<typeof collectionPassSchema>;
10
+ declare const collectionResolveSchema: z.ZodObject<{
11
+ code: z.ZodString;
12
+ }, z.core.$strict>;
13
+ declare const collectionBeginSchema: z.ZodObject<{
14
+ code: z.ZodString;
15
+ actionId: z.ZodString;
16
+ revision: z.ZodNumber;
17
+ selection: z.ZodOptional<z.ZodObject<{
18
+ item: z.ZodString;
19
+ revision: z.ZodNumber;
20
+ }, z.core.$strict>>;
21
+ }, z.core.$strict>;
22
+ declare const collectionPreviewSchema: z.ZodObject<{
23
+ entitlement: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
24
+ status: z.ZodLiteral<"available">;
25
+ id: z.ZodString;
26
+ member: z.ZodString;
27
+ reward: z.ZodObject<{
28
+ id: z.ZodString;
29
+ title: z.ZodString;
30
+ tiers: z.ZodArray<z.ZodObject<{
31
+ id: z.ZodString;
32
+ title: z.ZodString;
33
+ }, z.core.$loose>>;
34
+ inventory: z.ZodObject<{
35
+ kind: z.ZodString;
36
+ }, z.core.$loose>;
37
+ fulfillment: z.ZodObject<{
38
+ kind: z.ZodString;
39
+ }, z.core.$loose>;
40
+ }, z.core.$loose>;
41
+ earnedTier: z.ZodString;
42
+ tier: z.ZodString;
43
+ revision: z.ZodNumber;
44
+ }, z.core.$loose>, z.ZodObject<{
45
+ status: z.ZodLiteral<"handing-over">;
46
+ handover: z.ZodString;
47
+ startedAt: z.ZodNumber;
48
+ allocation: z.ZodOptional<z.ZodObject<{
49
+ item: z.ZodString;
50
+ label: z.ZodString;
51
+ }, z.core.$loose>>;
52
+ id: z.ZodString;
53
+ member: z.ZodString;
54
+ reward: z.ZodObject<{
55
+ id: z.ZodString;
56
+ title: z.ZodString;
57
+ tiers: z.ZodArray<z.ZodObject<{
58
+ id: z.ZodString;
59
+ title: z.ZodString;
60
+ }, z.core.$loose>>;
61
+ inventory: z.ZodObject<{
62
+ kind: z.ZodString;
63
+ }, z.core.$loose>;
64
+ fulfillment: z.ZodObject<{
65
+ kind: z.ZodString;
66
+ }, z.core.$loose>;
67
+ }, z.core.$loose>;
68
+ earnedTier: z.ZodString;
69
+ tier: z.ZodString;
70
+ revision: z.ZodNumber;
71
+ }, z.core.$loose>, z.ZodObject<{
72
+ status: z.ZodLiteral<"collected">;
73
+ handover: z.ZodString;
74
+ startedAt: z.ZodNumber;
75
+ allocation: z.ZodOptional<z.ZodObject<{
76
+ item: z.ZodString;
77
+ label: z.ZodString;
78
+ }, z.core.$loose>>;
79
+ collectedAt: z.ZodNumber;
80
+ recovery: z.ZodOptional<z.ZodObject<{
81
+ completion: z.ZodString;
82
+ reason: z.ZodString;
83
+ flaggedAt: z.ZodNumber;
84
+ remainingTier: z.ZodNullable<z.ZodString>;
85
+ }, z.core.$strip>>;
86
+ id: z.ZodString;
87
+ member: z.ZodString;
88
+ reward: z.ZodObject<{
89
+ id: z.ZodString;
90
+ title: z.ZodString;
91
+ tiers: z.ZodArray<z.ZodObject<{
92
+ id: z.ZodString;
93
+ title: z.ZodString;
94
+ }, z.core.$loose>>;
95
+ inventory: z.ZodObject<{
96
+ kind: z.ZodString;
97
+ }, z.core.$loose>;
98
+ fulfillment: z.ZodObject<{
99
+ kind: z.ZodString;
100
+ }, z.core.$loose>;
101
+ }, z.core.$loose>;
102
+ earnedTier: z.ZodString;
103
+ tier: z.ZodString;
104
+ revision: z.ZodNumber;
105
+ }, z.core.$loose>, z.ZodObject<{
106
+ status: z.ZodLiteral<"void">;
107
+ voidedAt: z.ZodNumber;
108
+ id: z.ZodString;
109
+ member: z.ZodString;
110
+ reward: z.ZodObject<{
111
+ id: z.ZodString;
112
+ title: z.ZodString;
113
+ tiers: z.ZodArray<z.ZodObject<{
114
+ id: z.ZodString;
115
+ title: z.ZodString;
116
+ }, z.core.$loose>>;
117
+ inventory: z.ZodObject<{
118
+ kind: z.ZodString;
119
+ }, z.core.$loose>;
120
+ fulfillment: z.ZodObject<{
121
+ kind: z.ZodString;
122
+ }, z.core.$loose>;
123
+ }, z.core.$loose>;
124
+ earnedTier: z.ZodString;
125
+ tier: z.ZodString;
126
+ revision: z.ZodNumber;
127
+ }, z.core.$loose>], "status">, z.ZodPipe<z.ZodObject<{
128
+ status: z.ZodString;
129
+ id: z.ZodString;
130
+ member: z.ZodString;
131
+ reward: z.ZodObject<{
132
+ id: z.ZodString;
133
+ title: z.ZodString;
134
+ tiers: z.ZodArray<z.ZodObject<{
135
+ id: z.ZodString;
136
+ title: z.ZodString;
137
+ }, z.core.$loose>>;
138
+ inventory: z.ZodObject<{
139
+ kind: z.ZodString;
140
+ }, z.core.$loose>;
141
+ fulfillment: z.ZodObject<{
142
+ kind: z.ZodString;
143
+ }, z.core.$loose>;
144
+ }, z.core.$loose>;
145
+ earnedTier: z.ZodString;
146
+ tier: z.ZodString;
147
+ revision: z.ZodNumber;
148
+ }, z.core.$loose>, z.ZodTransform<{
149
+ status: "unsupported";
150
+ reportedStatus: string;
151
+ id: string;
152
+ member: string;
153
+ reward: {
154
+ [x: string]: unknown;
155
+ id: string;
156
+ title: string;
157
+ tiers: {
158
+ [x: string]: unknown;
159
+ id: string;
160
+ title: string;
161
+ }[];
162
+ inventory: {
163
+ [x: string]: unknown;
164
+ kind: string;
165
+ };
166
+ fulfillment: {
167
+ [x: string]: unknown;
168
+ kind: string;
169
+ };
170
+ };
171
+ earnedTier: string;
172
+ tier: string;
173
+ revision: number;
174
+ }, {
175
+ [x: string]: unknown;
176
+ status: string;
177
+ id: string;
178
+ member: string;
179
+ reward: {
180
+ [x: string]: unknown;
181
+ id: string;
182
+ title: string;
183
+ tiers: {
184
+ [x: string]: unknown;
185
+ id: string;
186
+ title: string;
187
+ }[];
188
+ inventory: {
189
+ [x: string]: unknown;
190
+ kind: string;
191
+ };
192
+ fulfillment: {
193
+ [x: string]: unknown;
194
+ kind: string;
195
+ };
196
+ };
197
+ earnedTier: string;
198
+ tier: string;
199
+ revision: number;
200
+ }>>]>;
201
+ inventory: z.ZodDiscriminatedUnion<[z.ZodObject<{
202
+ kind: z.ZodLiteral<"untracked">;
203
+ }, z.core.$strict>, z.ZodObject<{
204
+ kind: z.ZodLiteral<"at-pickup">;
205
+ revision: z.ZodNumber;
206
+ variants: z.ZodArray<z.ZodObject<{
207
+ item: z.ZodString;
208
+ label: z.ZodString;
209
+ available: z.ZodNumber;
210
+ }, z.core.$strict>>;
211
+ }, z.core.$strict>], "kind">;
212
+ expiresAt: z.ZodNumber;
213
+ }, z.core.$strip>;
214
+
215
+ declare const counterGoalSchema: z.ZodObject<{
216
+ kind: z.ZodLiteral<"count">;
217
+ count: z.ZodNumber;
218
+ }, z.core.$strict>;
219
+ declare const counterWindowSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
220
+ kind: z.ZodLiteral<"lifetime">;
221
+ }, z.core.$strict>, z.ZodObject<{
222
+ kind: z.ZodLiteral<"calendar">;
223
+ period: z.ZodEnum<{
224
+ day: "day";
225
+ week: "week";
226
+ month: "month";
227
+ }>;
228
+ latenessMs: z.ZodDefault<z.ZodNumber>;
229
+ }, z.core.$strict>, z.ZodObject<{
230
+ kind: z.ZodLiteral<"rolling">;
231
+ durationMs: z.ZodNumber;
232
+ }, z.core.$strict>], "kind">;
233
+ declare const counterPolicySchema: z.ZodObject<{
234
+ kind: z.ZodLiteral<"progress">;
235
+ goal: z.ZodObject<{
236
+ kind: z.ZodLiteral<"count">;
237
+ count: z.ZodNumber;
238
+ }, z.core.$strict>;
239
+ window: z.ZodDiscriminatedUnion<[z.ZodObject<{
240
+ kind: z.ZodLiteral<"lifetime">;
241
+ }, z.core.$strict>, z.ZodObject<{
242
+ kind: z.ZodLiteral<"calendar">;
243
+ period: z.ZodEnum<{
244
+ day: "day";
245
+ week: "week";
246
+ month: "month";
247
+ }>;
248
+ latenessMs: z.ZodDefault<z.ZodNumber>;
249
+ }, z.core.$strict>, z.ZodObject<{
250
+ kind: z.ZodLiteral<"rolling">;
251
+ durationMs: z.ZodNumber;
252
+ }, z.core.$strict>], "kind">;
253
+ repeat: z.ZodDefault<z.ZodEnum<{
254
+ repeat: "repeat";
255
+ once: "once";
256
+ }>>;
257
+ }, z.core.$strict>;
258
+ type CounterPolicy = z.infer<typeof counterPolicySchema>;
259
+ declare const counterAchievementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
260
+ id: z.ZodString;
261
+ ordinal: z.ZodNumber;
262
+ achievedAt: z.ZodNumber;
263
+ window: z.ZodString;
264
+ status: z.ZodLiteral<"revoked">;
265
+ completion: z.ZodString;
266
+ revokedAt: z.ZodNumber;
267
+ }, z.core.$strip>, z.ZodObject<{
268
+ id: z.ZodString;
269
+ ordinal: z.ZodNumber;
270
+ achievedAt: z.ZodNumber;
271
+ window: z.ZodString;
272
+ status: z.ZodLiteral<"awarded">;
273
+ completion: z.ZodString;
274
+ }, z.core.$strip>, z.ZodObject<{
275
+ id: z.ZodString;
276
+ ordinal: z.ZodNumber;
277
+ achievedAt: z.ZodNumber;
278
+ window: z.ZodString;
279
+ status: z.ZodLiteral<"budget-exhausted">;
280
+ budget: z.ZodString;
281
+ }, z.core.$strip>], "status">;
282
+ type CounterAchievement = z.infer<typeof counterAchievementSchema>;
283
+ declare const counterProgressSchema: z.ZodObject<{
284
+ goal: z.ZodNumber;
285
+ current: z.ZodNumber;
286
+ window: z.ZodObject<{
287
+ key: z.ZodString;
288
+ start: z.ZodNullable<z.ZodNumber>;
289
+ end: z.ZodNullable<z.ZodNumber>;
290
+ }, z.core.$strip>;
291
+ repeat: z.ZodEnum<{
292
+ repeat: "repeat";
293
+ once: "once";
294
+ }>;
295
+ settled: z.ZodNumber;
296
+ latest: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
297
+ id: z.ZodString;
298
+ ordinal: z.ZodNumber;
299
+ achievedAt: z.ZodNumber;
300
+ window: z.ZodString;
301
+ status: z.ZodLiteral<"revoked">;
302
+ completion: z.ZodString;
303
+ revokedAt: z.ZodNumber;
304
+ }, z.core.$strip>, z.ZodObject<{
305
+ id: z.ZodString;
306
+ ordinal: z.ZodNumber;
307
+ achievedAt: z.ZodNumber;
308
+ window: z.ZodString;
309
+ status: z.ZodLiteral<"awarded">;
310
+ completion: z.ZodString;
311
+ }, z.core.$strip>, z.ZodObject<{
312
+ id: z.ZodString;
313
+ ordinal: z.ZodNumber;
314
+ achievedAt: z.ZodNumber;
315
+ window: z.ZodString;
316
+ status: z.ZodLiteral<"budget-exhausted">;
317
+ budget: z.ZodString;
318
+ }, z.core.$strip>], "status">>;
319
+ }, z.core.$strip>;
320
+ type CounterProgress = z.infer<typeof counterProgressSchema>;
321
+ declare const counterContributionSchema: z.ZodObject<{
322
+ id: z.ZodString;
323
+ distinct: z.ZodString;
324
+ attempt: z.ZodString;
325
+ occurredAt: z.ZodNumber;
326
+ recordedAt: z.ZodNumber;
327
+ window: z.ZodString;
328
+ status: z.ZodEnum<{
329
+ excluded: "excluded";
330
+ counted: "counted";
331
+ late: "late";
332
+ future: "future";
333
+ }>;
334
+ achievement: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
335
+ id: z.ZodString;
336
+ ordinal: z.ZodNumber;
337
+ achievedAt: z.ZodNumber;
338
+ window: z.ZodString;
339
+ status: z.ZodLiteral<"revoked">;
340
+ completion: z.ZodString;
341
+ revokedAt: z.ZodNumber;
342
+ }, z.core.$strip>, z.ZodObject<{
343
+ id: z.ZodString;
344
+ ordinal: z.ZodNumber;
345
+ achievedAt: z.ZodNumber;
346
+ window: z.ZodString;
347
+ status: z.ZodLiteral<"awarded">;
348
+ completion: z.ZodString;
349
+ }, z.core.$strip>, z.ZodObject<{
350
+ id: z.ZodString;
351
+ ordinal: z.ZodNumber;
352
+ achievedAt: z.ZodNumber;
353
+ window: z.ZodString;
354
+ status: z.ZodLiteral<"budget-exhausted">;
355
+ budget: z.ZodString;
356
+ }, z.core.$strip>], "status">>;
357
+ reason: z.ZodNullable<z.ZodString>;
358
+ }, z.core.$strip>;
359
+ declare const counterHistorySchema: z.ZodObject<{
360
+ items: z.ZodArray<z.ZodObject<{
361
+ id: z.ZodString;
362
+ distinct: z.ZodString;
363
+ attempt: z.ZodString;
364
+ occurredAt: z.ZodNumber;
365
+ recordedAt: z.ZodNumber;
366
+ window: z.ZodString;
367
+ status: z.ZodEnum<{
368
+ excluded: "excluded";
369
+ counted: "counted";
370
+ late: "late";
371
+ future: "future";
372
+ }>;
373
+ achievement: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
374
+ id: z.ZodString;
375
+ ordinal: z.ZodNumber;
376
+ achievedAt: z.ZodNumber;
377
+ window: z.ZodString;
378
+ status: z.ZodLiteral<"revoked">;
379
+ completion: z.ZodString;
380
+ revokedAt: z.ZodNumber;
381
+ }, z.core.$strip>, z.ZodObject<{
382
+ id: z.ZodString;
383
+ ordinal: z.ZodNumber;
384
+ achievedAt: z.ZodNumber;
385
+ window: z.ZodString;
386
+ status: z.ZodLiteral<"awarded">;
387
+ completion: z.ZodString;
388
+ }, z.core.$strip>, z.ZodObject<{
389
+ id: z.ZodString;
390
+ ordinal: z.ZodNumber;
391
+ achievedAt: z.ZodNumber;
392
+ window: z.ZodString;
393
+ status: z.ZodLiteral<"budget-exhausted">;
394
+ budget: z.ZodString;
395
+ }, z.core.$strip>], "status">>;
396
+ reason: z.ZodNullable<z.ZodString>;
397
+ }, z.core.$strip>>;
398
+ nextCursor: z.ZodNullable<z.ZodString>;
399
+ }, z.core.$strip>;
400
+ declare const counterModerationSchema: z.ZodObject<{
401
+ actionId: z.ZodUUID;
402
+ excluded: z.ZodBoolean;
403
+ reason: z.ZodString;
404
+ }, z.core.$strict>;
405
+ declare const counterHistoryQuerySchema: z.ZodObject<{
406
+ cursor: z.ZodOptional<z.ZodString>;
407
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
408
+ }, z.core.$strict>;
409
+ declare const counterModerationResultSchema: z.ZodObject<{
410
+ excluded: z.ZodBoolean;
411
+ }, z.core.$strip>;
412
+
413
+ /** Durable transitions that can change prerequisite-only automatic eligibility. */
414
+ declare const automaticEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
415
+ kind: z.ZodLiteral<"completion">;
416
+ attempt: z.ZodString;
417
+ generation: z.ZodNumber;
418
+ }, z.core.$strip>, z.ZodObject<{
419
+ kind: z.ZodLiteral<"points">;
420
+ entry: z.ZodString;
421
+ }, z.core.$strip>, z.ZodObject<{
422
+ kind: z.ZodLiteral<"group">;
423
+ action: z.ZodString;
424
+ }, z.core.$strip>, z.ZodObject<{
425
+ kind: z.ZodLiteral<"campaign">;
426
+ action: z.ZodString;
427
+ }, z.core.$strip>, z.ZodObject<{
428
+ kind: z.ZodLiteral<"publication">;
429
+ revision: z.ZodString;
430
+ }, z.core.$strip>, z.ZodObject<{
431
+ kind: z.ZodLiteral<"revocation">;
432
+ action: z.ZodString;
433
+ }, z.core.$strip>], "kind">;
434
+ type AutomaticEvent = z.infer<typeof automaticEventSchema>;
435
+ declare const automaticOutcomeSchema: z.ZodObject<{
436
+ id: z.ZodString;
437
+ quest: z.ZodString;
438
+ member: z.ZodString;
439
+ release: z.ZodString;
440
+ event: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
441
+ kind: z.ZodLiteral<"completion">;
442
+ attempt: z.ZodString;
443
+ generation: z.ZodNumber;
444
+ }, z.core.$strip>, z.ZodObject<{
445
+ kind: z.ZodLiteral<"points">;
446
+ entry: z.ZodString;
447
+ }, z.core.$strip>, z.ZodObject<{
448
+ kind: z.ZodLiteral<"group">;
449
+ action: z.ZodString;
450
+ }, z.core.$strip>, z.ZodObject<{
451
+ kind: z.ZodLiteral<"campaign">;
452
+ action: z.ZodString;
453
+ }, z.core.$strip>, z.ZodObject<{
454
+ kind: z.ZodLiteral<"publication">;
455
+ revision: z.ZodString;
456
+ }, z.core.$strip>, z.ZodObject<{
457
+ kind: z.ZodLiteral<"revocation">;
458
+ action: z.ZodString;
459
+ }, z.core.$strip>], "kind">, z.ZodObject<{
460
+ kind: z.ZodString;
461
+ }, z.core.$catchall<z.ZodJSONSchema>>]>;
462
+ state: z.ZodEnum<{
463
+ admitted: "admitted";
464
+ skipped: "skipped";
465
+ }>;
466
+ code: z.ZodNullable<z.ZodString>;
467
+ reason: z.ZodNullable<z.ZodString>;
468
+ attempt: z.ZodNullable<z.ZodString>;
469
+ revision: z.ZodNumber;
470
+ createdAt: z.ZodNumber;
471
+ updatedAt: z.ZodNumber;
472
+ }, z.core.$strip>;
473
+ type AutomaticOutcome = z.infer<typeof automaticOutcomeSchema>;
474
+ declare const automaticOutcomeQuerySchema: z.ZodObject<{
475
+ quest: z.ZodOptional<z.ZodString>;
476
+ member: z.ZodOptional<z.ZodString>;
477
+ state: z.ZodOptional<z.ZodEnum<{
478
+ admitted: "admitted";
479
+ skipped: "skipped";
480
+ }>>;
481
+ code: z.ZodOptional<z.ZodString>;
482
+ cursor: z.ZodOptional<z.ZodString>;
483
+ }, z.core.$strict>;
484
+ declare const automaticOutcomePageSchema: z.ZodObject<{
485
+ items: z.ZodArray<z.ZodObject<{
486
+ id: z.ZodString;
487
+ quest: z.ZodString;
488
+ member: z.ZodString;
489
+ release: z.ZodString;
490
+ event: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
491
+ kind: z.ZodLiteral<"completion">;
492
+ attempt: z.ZodString;
493
+ generation: z.ZodNumber;
494
+ }, z.core.$strip>, z.ZodObject<{
495
+ kind: z.ZodLiteral<"points">;
496
+ entry: z.ZodString;
497
+ }, z.core.$strip>, z.ZodObject<{
498
+ kind: z.ZodLiteral<"group">;
499
+ action: z.ZodString;
500
+ }, z.core.$strip>, z.ZodObject<{
501
+ kind: z.ZodLiteral<"campaign">;
502
+ action: z.ZodString;
503
+ }, z.core.$strip>, z.ZodObject<{
504
+ kind: z.ZodLiteral<"publication">;
505
+ revision: z.ZodString;
506
+ }, z.core.$strip>, z.ZodObject<{
507
+ kind: z.ZodLiteral<"revocation">;
508
+ action: z.ZodString;
509
+ }, z.core.$strip>], "kind">, z.ZodObject<{
510
+ kind: z.ZodString;
511
+ }, z.core.$catchall<z.ZodJSONSchema>>]>;
512
+ state: z.ZodEnum<{
513
+ admitted: "admitted";
514
+ skipped: "skipped";
515
+ }>;
516
+ code: z.ZodNullable<z.ZodString>;
517
+ reason: z.ZodNullable<z.ZodString>;
518
+ attempt: z.ZodNullable<z.ZodString>;
519
+ revision: z.ZodNumber;
520
+ createdAt: z.ZodNumber;
521
+ updatedAt: z.ZodNumber;
522
+ }, z.core.$strip>>;
523
+ nextCursor: z.ZodNullable<z.ZodString>;
524
+ }, z.core.$strip>;
525
+ declare const automaticCatchUpInputSchema: z.ZodObject<{
526
+ quest: z.ZodString;
527
+ outcomes: z.ZodArray<z.ZodString>;
528
+ }, z.core.$strict>;
529
+ declare const automaticCatchUpPreviewSchema: z.ZodObject<{
530
+ quest: z.ZodString;
531
+ release: z.ZodString;
532
+ token: z.ZodString;
533
+ items: z.ZodArray<z.ZodObject<{
534
+ outcome: z.ZodObject<{
535
+ id: z.ZodString;
536
+ quest: z.ZodString;
537
+ member: z.ZodString;
538
+ release: z.ZodString;
539
+ event: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
540
+ kind: z.ZodLiteral<"completion">;
541
+ attempt: z.ZodString;
542
+ generation: z.ZodNumber;
543
+ }, z.core.$strip>, z.ZodObject<{
544
+ kind: z.ZodLiteral<"points">;
545
+ entry: z.ZodString;
546
+ }, z.core.$strip>, z.ZodObject<{
547
+ kind: z.ZodLiteral<"group">;
548
+ action: z.ZodString;
549
+ }, z.core.$strip>, z.ZodObject<{
550
+ kind: z.ZodLiteral<"campaign">;
551
+ action: z.ZodString;
552
+ }, z.core.$strip>, z.ZodObject<{
553
+ kind: z.ZodLiteral<"publication">;
554
+ revision: z.ZodString;
555
+ }, z.core.$strip>, z.ZodObject<{
556
+ kind: z.ZodLiteral<"revocation">;
557
+ action: z.ZodString;
558
+ }, z.core.$strip>], "kind">, z.ZodObject<{
559
+ kind: z.ZodString;
560
+ }, z.core.$catchall<z.ZodJSONSchema>>]>;
561
+ state: z.ZodEnum<{
562
+ admitted: "admitted";
563
+ skipped: "skipped";
564
+ }>;
565
+ code: z.ZodNullable<z.ZodString>;
566
+ reason: z.ZodNullable<z.ZodString>;
567
+ attempt: z.ZodNullable<z.ZodString>;
568
+ revision: z.ZodNumber;
569
+ createdAt: z.ZodNumber;
570
+ updatedAt: z.ZodNumber;
571
+ }, z.core.$strip>;
572
+ code: z.ZodNullable<z.ZodString>;
573
+ reason: z.ZodNullable<z.ZodString>;
574
+ attempt: z.ZodNullable<z.ZodString>;
575
+ wouldAdmit: z.ZodBoolean;
576
+ budgets: z.ZodArray<z.ZodObject<{
577
+ id: z.ZodString;
578
+ scope: z.ZodEnum<{
579
+ member: "member";
580
+ project: "project";
581
+ }>;
582
+ period: z.ZodEnum<{
583
+ lifetime: "lifetime";
584
+ day: "day";
585
+ week: "week";
586
+ month: "month";
587
+ }>;
588
+ remaining: z.ZodNumber;
589
+ resetsAt: z.ZodNullable<z.ZodNumber>;
590
+ }, z.core.$strip>>;
591
+ }, z.core.$strip>>;
592
+ rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
593
+ kind: z.ZodDefault<z.ZodLiteral<"points">>;
594
+ balance: z.ZodString;
595
+ amount: z.ZodNumber;
596
+ }, z.core.$strict>, z.ZodObject<{
597
+ kind: z.ZodLiteral<"tier">;
598
+ reward: z.ZodObject<{
599
+ id: z.ZodString;
600
+ title: z.ZodString;
601
+ tiers: z.ZodArray<z.ZodObject<{
602
+ id: z.ZodString;
603
+ title: z.ZodString;
604
+ }, z.core.$strict>>;
605
+ inventory: z.ZodObject<{
606
+ kind: z.ZodLiteral<"untracked">;
607
+ }, z.core.$strict>;
608
+ fulfillment: z.ZodDiscriminatedUnion<[z.ZodObject<{
609
+ kind: z.ZodLiteral<"staff-handover">;
610
+ }, z.core.$strict>, z.ZodObject<{
611
+ kind: z.ZodLiteral<"automatic">;
612
+ }, z.core.$strict>], "kind">;
613
+ }, z.core.$strict>;
614
+ tier: z.ZodString;
615
+ }, z.core.$strict>, z.ZodObject<{
616
+ kind: z.ZodLiteral<"integration">;
617
+ provider: z.ZodLiteral<"discord">;
618
+ action: z.ZodLiteral<"grant-role">;
619
+ roleId: z.ZodString;
620
+ }, z.core.$strict>]>>;
621
+ costs: z.ZodArray<z.ZodObject<{
622
+ budget: z.ZodString;
623
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"dynamic">]>;
624
+ }, z.core.$strip>>;
625
+ }, z.core.$strip>;
626
+ type AutomaticCatchUpPreview = z.infer<typeof automaticCatchUpPreviewSchema>;
627
+ declare const automaticCatchUpConfirmSchema: z.ZodObject<{
628
+ quest: z.ZodString;
629
+ outcomes: z.ZodArray<z.ZodString>;
630
+ actionId: z.ZodString;
631
+ token: z.ZodString;
632
+ reason: z.ZodString;
633
+ }, z.core.$strict>;
634
+ declare const automaticCatchUpResultSchema: z.ZodObject<{
635
+ items: z.ZodArray<z.ZodObject<{
636
+ id: z.ZodString;
637
+ quest: z.ZodString;
638
+ member: z.ZodString;
639
+ release: z.ZodString;
640
+ event: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
641
+ kind: z.ZodLiteral<"completion">;
642
+ attempt: z.ZodString;
643
+ generation: z.ZodNumber;
644
+ }, z.core.$strip>, z.ZodObject<{
645
+ kind: z.ZodLiteral<"points">;
646
+ entry: z.ZodString;
647
+ }, z.core.$strip>, z.ZodObject<{
648
+ kind: z.ZodLiteral<"group">;
649
+ action: z.ZodString;
650
+ }, z.core.$strip>, z.ZodObject<{
651
+ kind: z.ZodLiteral<"campaign">;
652
+ action: z.ZodString;
653
+ }, z.core.$strip>, z.ZodObject<{
654
+ kind: z.ZodLiteral<"publication">;
655
+ revision: z.ZodString;
656
+ }, z.core.$strip>, z.ZodObject<{
657
+ kind: z.ZodLiteral<"revocation">;
658
+ action: z.ZodString;
659
+ }, z.core.$strip>], "kind">, z.ZodObject<{
660
+ kind: z.ZodString;
661
+ }, z.core.$catchall<z.ZodJSONSchema>>]>;
662
+ state: z.ZodEnum<{
663
+ admitted: "admitted";
664
+ skipped: "skipped";
665
+ }>;
666
+ code: z.ZodNullable<z.ZodString>;
667
+ reason: z.ZodNullable<z.ZodString>;
668
+ attempt: z.ZodNullable<z.ZodString>;
669
+ revision: z.ZodNumber;
670
+ createdAt: z.ZodNumber;
671
+ updatedAt: z.ZodNumber;
672
+ }, z.core.$strip>>;
673
+ }, z.core.$strip>;
674
+ /** Pending or failed point-change scheduling. Provider diagnostics are operator-only. */
675
+ declare const automaticSchedulingQuerySchema: z.ZodObject<{
676
+ member: z.ZodOptional<z.ZodString>;
677
+ cursor: z.ZodOptional<z.ZodString>;
678
+ }, z.core.$strict>;
679
+ declare const automaticSchedulingSchema: z.ZodObject<{
680
+ id: z.ZodString;
681
+ member: z.ZodString;
682
+ event: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
683
+ kind: z.ZodLiteral<"completion">;
684
+ attempt: z.ZodString;
685
+ generation: z.ZodNumber;
686
+ }, z.core.$strip>, z.ZodObject<{
687
+ kind: z.ZodLiteral<"points">;
688
+ entry: z.ZodString;
689
+ }, z.core.$strip>, z.ZodObject<{
690
+ kind: z.ZodLiteral<"group">;
691
+ action: z.ZodString;
692
+ }, z.core.$strip>, z.ZodObject<{
693
+ kind: z.ZodLiteral<"campaign">;
694
+ action: z.ZodString;
695
+ }, z.core.$strip>, z.ZodObject<{
696
+ kind: z.ZodLiteral<"publication">;
697
+ revision: z.ZodString;
698
+ }, z.core.$strip>, z.ZodObject<{
699
+ kind: z.ZodLiteral<"revocation">;
700
+ action: z.ZodString;
701
+ }, z.core.$strip>], "kind">, z.ZodObject<{
702
+ kind: z.ZodString;
703
+ }, z.core.$catchall<z.ZodJSONSchema>>]>;
704
+ state: z.ZodEnum<{
705
+ pending: "pending";
706
+ failed: "failed";
707
+ retrying: "retrying";
708
+ }>;
709
+ attempts: z.ZodNumber;
710
+ error: z.ZodNullable<z.ZodString>;
711
+ createdAt: z.ZodNumber;
712
+ nextAttemptAt: z.ZodNumber;
713
+ }, z.core.$strip>;
714
+ declare const automaticSchedulingPageSchema: z.ZodObject<{
715
+ items: z.ZodArray<z.ZodObject<{
716
+ id: z.ZodString;
717
+ member: z.ZodString;
718
+ event: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
719
+ kind: z.ZodLiteral<"completion">;
720
+ attempt: z.ZodString;
721
+ generation: z.ZodNumber;
722
+ }, z.core.$strip>, z.ZodObject<{
723
+ kind: z.ZodLiteral<"points">;
724
+ entry: z.ZodString;
725
+ }, z.core.$strip>, z.ZodObject<{
726
+ kind: z.ZodLiteral<"group">;
727
+ action: z.ZodString;
728
+ }, z.core.$strip>, z.ZodObject<{
729
+ kind: z.ZodLiteral<"campaign">;
730
+ action: z.ZodString;
731
+ }, z.core.$strip>, z.ZodObject<{
732
+ kind: z.ZodLiteral<"publication">;
733
+ revision: z.ZodString;
734
+ }, z.core.$strip>, z.ZodObject<{
735
+ kind: z.ZodLiteral<"revocation">;
736
+ action: z.ZodString;
737
+ }, z.core.$strip>], "kind">, z.ZodObject<{
738
+ kind: z.ZodString;
739
+ }, z.core.$catchall<z.ZodJSONSchema>>]>;
740
+ state: z.ZodEnum<{
741
+ pending: "pending";
742
+ failed: "failed";
743
+ retrying: "retrying";
744
+ }>;
745
+ attempts: z.ZodNumber;
746
+ error: z.ZodNullable<z.ZodString>;
747
+ createdAt: z.ZodNumber;
748
+ nextAttemptAt: z.ZodNumber;
749
+ }, z.core.$strip>>;
750
+ nextCursor: z.ZodNullable<z.ZodString>;
751
+ }, z.core.$strip>;
752
+ declare const automaticSchedulingRetrySchema: z.ZodObject<{
753
+ actionId: z.ZodString;
754
+ id: z.ZodString;
755
+ reason: z.ZodString;
756
+ }, z.core.$strict>;
757
+
758
+ export { type AutomaticCatchUpPreview as A, counterHistorySchema as B, type CollectionPass as C, counterModerationResultSchema as D, counterModerationSchema as E, counterPolicySchema as F, counterProgressSchema as G, counterWindowSchema as H, type AutomaticEvent as a, type AutomaticOutcome as b, type CounterAchievement as c, type CounterPolicy as d, type CounterProgress as e, automaticCatchUpConfirmSchema as f, automaticCatchUpInputSchema as g, automaticCatchUpPreviewSchema as h, automaticCatchUpResultSchema as i, automaticEventSchema as j, automaticOutcomePageSchema as k, automaticOutcomeQuerySchema as l, automaticOutcomeSchema as m, automaticSchedulingPageSchema as n, automaticSchedulingQuerySchema as o, automaticSchedulingRetrySchema as p, automaticSchedulingSchema as q, collectionBeginSchema as r, collectionCodeSchema as s, collectionPassSchema as t, collectionPreviewSchema as u, collectionResolveSchema as v, counterAchievementSchema as w, counterContributionSchema as x, counterGoalSchema as y, counterHistoryQuerySchema as z };