@domino-sdk/relay 1.14.0 → 1.15.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 (34) hide show
  1. package/dist/{request-error-D_dUPLwo.d.ts → action-DBzILFx9.d.ts} +31 -1
  2. package/dist/{attempt-captures-DZldPZJc.d.ts → attempt-captures-DHwIVoRP.d.ts} +1 -1
  3. package/dist/authoring.d.ts +45 -45
  4. package/dist/{automatic-outcomes-6lJGnSDe.d.ts → automatic-outcomes-BcEn_L46.d.ts} +1 -1
  5. package/dist/browser.d.ts +7 -8
  6. package/dist/browser.js +3 -3
  7. package/dist/{chunk-C3CB4WIQ.js → chunk-3PPEXDWR.js} +1 -1
  8. package/dist/{chunk-5TS3OAWS.js → chunk-CHD6HHWG.js} +27 -12
  9. package/dist/{chunk-VBHFJH3P.js → chunk-PJXBW754.js} +1 -1
  10. package/dist/{chunk-6DD7DVNQ.js → chunk-PUY35TH3.js} +1 -1
  11. package/dist/{client-BTd_CyX3.d.ts → client-DFSCmf3H.d.ts} +5 -6
  12. package/dist/{activity-D_R3J-gU.d.ts → deployments-Ci6GyANg.d.ts} +129 -129
  13. package/dist/{groups-4Jb3uYFO.d.ts → groups-Bi7lc54m.d.ts} +1 -1
  14. package/dist/{images-D5kpqHxv.d.ts → images-Cb8QHGjn.d.ts} +1 -1
  15. package/dist/index.d.ts +8 -9
  16. package/dist/index.js +2 -2
  17. package/dist/internal.d.ts +13 -33
  18. package/dist/internal.js +2 -2
  19. package/dist/{offers-BFI5t-e-.d.ts → offers-Catj06u7.d.ts} +2 -2
  20. package/dist/{pages-nIoMT9J3.d.ts → pages-CpYt56Km.d.ts} +1 -1
  21. package/dist/portal-proxy.js +1 -1
  22. package/dist/react/index.d.ts +9 -10
  23. package/dist/react/index.js +3 -3
  24. package/dist/{schema-K-Pg5lPz.d.ts → schema-BaVl2VBS.d.ts} +1 -1
  25. package/dist/schema.d.ts +312 -312
  26. package/dist/server/index.d.ts +12 -73085
  27. package/dist/server/index.js +2 -2
  28. package/dist/{sign-in-options-DBjMzgnu.d.ts → sign-in-options-CU1ND6-y.d.ts} +1 -1
  29. package/dist/{submission-input-CPIsJt-_.d.ts → submission-input-Bi4HipqI.d.ts} +2 -2
  30. package/dist/testing.d.ts +3 -3
  31. package/dist/transport-0ttRwUat.d.ts +73361 -0
  32. package/package.json +1 -1
  33. package/dist/action-9Xl0StBg.d.ts +0 -33
  34. package/dist/referral-reward-kinds-DnvQXL8L.d.ts +0 -268
@@ -1,5 +1,19 @@
1
1
  import { z } from 'zod';
2
- import { O as OpenIdentityKind, a0 as TrackerDataSchema } from './schema-K-Pg5lPz.js';
2
+ import { O as OpenIdentityKind, a8 as TrackerDataSchema } from './schema-BaVl2VBS.js';
3
+
4
+ /** Shared with participant activity. Types remain open to future event kinds. */
5
+ declare const activityTypes: {
6
+ readonly attemptRejected: "attempt.rejected";
7
+ readonly entitlementGranted: "entitlement.granted";
8
+ readonly rewardDeliveryUpdated: "reward.delivery.updated";
9
+ readonly completionCreated: "completion.created";
10
+ readonly pointsAwarded: "points.awarded";
11
+ readonly reviewPending: "review.pending";
12
+ readonly rewardDeliveryFailed: "reward.delivery.failed";
13
+ readonly entitlementCollected: "entitlement.collected";
14
+ readonly referralQualified: "referral.qualified";
15
+ };
16
+ declare const activityTypeSchema: z.ZodString;
3
17
 
4
18
  /**
5
19
  * The canonical name of a named IANA timezone, or null for an unknown name or a fixed offset.
@@ -85,13 +99,13 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
85
99
  key: z.ZodString;
86
100
  }, z.core.$strict>>>;
87
101
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
88
- url: "url";
102
+ automatic: "automatic";
89
103
  text: "text";
104
+ url: "url";
90
105
  staff: "staff";
91
- claim: "claim";
92
- automatic: "automatic";
93
- quiz: "quiz";
94
106
  photo: "photo";
107
+ quiz: "quiz";
108
+ claim: "claim";
95
109
  }>>>;
96
110
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
97
111
  code: z.ZodString;
@@ -107,9 +121,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
107
121
  namespace: z.ZodString;
108
122
  identities: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
109
123
  discord: "discord";
110
- member: "member";
111
124
  wallet: "wallet";
112
125
  x: "x";
126
+ member: "member";
113
127
  }>, z.ZodTemplateLiteral<`app:${string}`>]>>>;
114
128
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
129
  data: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<TrackerDataSchema, unknown, z.core.$ZodTypeInternals<TrackerDataSchema, unknown>>>>;
@@ -139,9 +153,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
139
153
  code: z.ZodString;
140
154
  }, z.core.$strict>]>>>;
141
155
  offers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
142
- limit: z.ZodDefault<z.ZodObject<{
143
- perMember: z.ZodNumber;
144
- }, z.core.$strict>>;
145
156
  reward: z.ZodObject<{
146
157
  kind: z.ZodLiteral<"tier">;
147
158
  reward: z.ZodObject<{
@@ -162,6 +173,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
162
173
  }, z.core.$strict>;
163
174
  tier: z.ZodString;
164
175
  }, z.core.$strict>;
176
+ limit: z.ZodDefault<z.ZodObject<{
177
+ perMember: z.ZodNumber;
178
+ }, z.core.$strict>>;
165
179
  price: z.ZodObject<{
166
180
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
167
181
  balance: z.ZodString;
@@ -173,9 +187,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
173
187
  }, z.core.$strict>, z.ZodTransform<{
174
188
  title: string;
175
189
  enabled: boolean;
176
- limit: {
177
- perMember: number;
178
- };
179
190
  reward: {
180
191
  kind: "tier";
181
192
  reward: {
@@ -196,6 +207,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
196
207
  };
197
208
  tier: string;
198
209
  };
210
+ limit: {
211
+ perMember: number;
212
+ };
199
213
  price: {
200
214
  kind: "points";
201
215
  balance: string;
@@ -204,9 +218,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
204
218
  stock: number;
205
219
  key: string;
206
220
  }, {
207
- limit: {
208
- perMember: number;
209
- };
210
221
  reward: {
211
222
  kind: "tier";
212
223
  reward: {
@@ -227,6 +238,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
227
238
  };
228
239
  tier: string;
229
240
  };
241
+ limit: {
242
+ perMember: number;
243
+ };
230
244
  price: {
231
245
  kind: "points";
232
246
  balance: string;
@@ -342,8 +356,8 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
342
356
  code: z.ZodString;
343
357
  }, z.core.$strict>]>>>;
344
358
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
345
- title: z.ZodString;
346
359
  balance: z.ZodString;
360
+ title: z.ZodString;
347
361
  access: z.ZodDefault<z.ZodEnum<{
348
362
  participants: "participants";
349
363
  public: "public";
@@ -452,13 +466,13 @@ declare const projectDeploymentSchema: z.ZodObject<{
452
466
  key: z.ZodString;
453
467
  }, z.core.$strict>>>;
454
468
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
455
- url: "url";
469
+ automatic: "automatic";
456
470
  text: "text";
471
+ url: "url";
457
472
  staff: "staff";
458
- claim: "claim";
459
- automatic: "automatic";
460
- quiz: "quiz";
461
473
  photo: "photo";
474
+ quiz: "quiz";
475
+ claim: "claim";
462
476
  }>>>;
463
477
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
464
478
  code: z.ZodString;
@@ -474,9 +488,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
474
488
  namespace: z.ZodString;
475
489
  identities: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
476
490
  discord: "discord";
477
- member: "member";
478
491
  wallet: "wallet";
479
492
  x: "x";
493
+ member: "member";
480
494
  }>, z.ZodTemplateLiteral<`app:${string}`>]>>>;
481
495
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
482
496
  data: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<TrackerDataSchema, unknown, z.core.$ZodTypeInternals<TrackerDataSchema, unknown>>>>;
@@ -506,9 +520,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
506
520
  code: z.ZodString;
507
521
  }, z.core.$strict>]>>>;
508
522
  offers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
509
- limit: z.ZodDefault<z.ZodObject<{
510
- perMember: z.ZodNumber;
511
- }, z.core.$strict>>;
512
523
  reward: z.ZodObject<{
513
524
  kind: z.ZodLiteral<"tier">;
514
525
  reward: z.ZodObject<{
@@ -529,6 +540,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
529
540
  }, z.core.$strict>;
530
541
  tier: z.ZodString;
531
542
  }, z.core.$strict>;
543
+ limit: z.ZodDefault<z.ZodObject<{
544
+ perMember: z.ZodNumber;
545
+ }, z.core.$strict>>;
532
546
  price: z.ZodObject<{
533
547
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
534
548
  balance: z.ZodString;
@@ -540,9 +554,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
540
554
  }, z.core.$strict>, z.ZodTransform<{
541
555
  title: string;
542
556
  enabled: boolean;
543
- limit: {
544
- perMember: number;
545
- };
546
557
  reward: {
547
558
  kind: "tier";
548
559
  reward: {
@@ -563,6 +574,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
563
574
  };
564
575
  tier: string;
565
576
  };
577
+ limit: {
578
+ perMember: number;
579
+ };
566
580
  price: {
567
581
  kind: "points";
568
582
  balance: string;
@@ -571,9 +585,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
571
585
  stock: number;
572
586
  key: string;
573
587
  }, {
574
- limit: {
575
- perMember: number;
576
- };
577
588
  reward: {
578
589
  kind: "tier";
579
590
  reward: {
@@ -594,6 +605,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
594
605
  };
595
606
  tier: string;
596
607
  };
608
+ limit: {
609
+ perMember: number;
610
+ };
597
611
  price: {
598
612
  kind: "points";
599
613
  balance: string;
@@ -709,8 +723,8 @@ declare const projectDeploymentSchema: z.ZodObject<{
709
723
  code: z.ZodString;
710
724
  }, z.core.$strict>]>>>;
711
725
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
712
- title: z.ZodString;
713
726
  balance: z.ZodString;
727
+ title: z.ZodString;
714
728
  access: z.ZodDefault<z.ZodEnum<{
715
729
  participants: "participants";
716
730
  public: "public";
@@ -1189,9 +1203,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1189
1203
  }, z.core.$strict>, z.ZodObject<{
1190
1204
  kind: z.ZodLiteral<"manual">;
1191
1205
  input: z.ZodEnum<{
1192
- none: "none";
1193
- quiz: "quiz";
1194
1206
  photo: "photo";
1207
+ quiz: "quiz";
1208
+ none: "none";
1195
1209
  }>;
1196
1210
  actor: z.ZodOptional<z.ZodEnum<{
1197
1211
  staff: "staff";
@@ -1244,8 +1258,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1244
1258
  }, z.core.$strict>]>>]>>;
1245
1259
  beneficiary: z.ZodString;
1246
1260
  enrollment: z.ZodOptional<z.ZodEnum<{
1247
- none: "none";
1248
1261
  required: "required";
1262
+ none: "none";
1249
1263
  }>>;
1250
1264
  since: z.ZodOptional<z.ZodEnum<{
1251
1265
  activation: "activation";
@@ -1253,9 +1267,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1253
1267
  enrollment: "enrollment";
1254
1268
  }>>;
1255
1269
  historical: z.ZodOptional<z.ZodEnum<{
1270
+ automatic: "automatic";
1256
1271
  staff: "staff";
1257
1272
  claim: "claim";
1258
- automatic: "automatic";
1259
1273
  }>>;
1260
1274
  content: z.ZodOptional<z.ZodLiteral<true>>;
1261
1275
  }, z.core.$strict>>;
@@ -1294,8 +1308,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1294
1308
  until: z.ZodNumber;
1295
1309
  }, z.core.$strict>>;
1296
1310
  enrollment: z.ZodDefault<z.ZodEnum<{
1297
- none: "none";
1298
1311
  required: "required";
1312
+ none: "none";
1299
1313
  }>>;
1300
1314
  }, z.core.$strict>>;
1301
1315
  availability: z.ZodOptional<z.ZodObject<{
@@ -1568,9 +1582,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1568
1582
  }, z.core.$strict>, z.ZodObject<{
1569
1583
  kind: z.ZodLiteral<"manual">;
1570
1584
  input: z.ZodEnum<{
1571
- none: "none";
1572
- quiz: "quiz";
1573
1585
  photo: "photo";
1586
+ quiz: "quiz";
1587
+ none: "none";
1574
1588
  }>;
1575
1589
  actor: z.ZodOptional<z.ZodEnum<{
1576
1590
  staff: "staff";
@@ -1623,8 +1637,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1623
1637
  }, z.core.$strict>]>>]>>;
1624
1638
  beneficiary: z.ZodString;
1625
1639
  enrollment: z.ZodOptional<z.ZodEnum<{
1626
- none: "none";
1627
1640
  required: "required";
1641
+ none: "none";
1628
1642
  }>>;
1629
1643
  since: z.ZodOptional<z.ZodEnum<{
1630
1644
  activation: "activation";
@@ -1632,9 +1646,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1632
1646
  enrollment: "enrollment";
1633
1647
  }>>;
1634
1648
  historical: z.ZodOptional<z.ZodEnum<{
1649
+ automatic: "automatic";
1635
1650
  staff: "staff";
1636
1651
  claim: "claim";
1637
- automatic: "automatic";
1638
1652
  }>>;
1639
1653
  content: z.ZodOptional<z.ZodLiteral<true>>;
1640
1654
  }, z.core.$strict>>;
@@ -1673,8 +1687,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1673
1687
  until: z.ZodNumber;
1674
1688
  }, z.core.$strict>>;
1675
1689
  enrollment: z.ZodDefault<z.ZodEnum<{
1676
- none: "none";
1677
1690
  required: "required";
1691
+ none: "none";
1678
1692
  }>>;
1679
1693
  }, z.core.$strict>>;
1680
1694
  availability: z.ZodOptional<z.ZodObject<{
@@ -1755,13 +1769,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1755
1769
  quests: z.ZodArray<z.ZodString>;
1756
1770
  }, z.core.$strict>>;
1757
1771
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1758
- url: "url";
1772
+ automatic: "automatic";
1759
1773
  text: "text";
1774
+ url: "url";
1760
1775
  staff: "staff";
1761
- claim: "claim";
1762
- automatic: "automatic";
1763
- quiz: "quiz";
1764
1776
  photo: "photo";
1777
+ quiz: "quiz";
1778
+ claim: "claim";
1765
1779
  }>>;
1766
1780
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
1767
1781
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2560,9 +2574,9 @@ declare const deploymentResultSchema: z.ZodObject<{
2560
2574
  }, z.core.$strict>, z.ZodObject<{
2561
2575
  kind: z.ZodLiteral<"manual">;
2562
2576
  input: z.ZodEnum<{
2563
- none: "none";
2564
- quiz: "quiz";
2565
2577
  photo: "photo";
2578
+ quiz: "quiz";
2579
+ none: "none";
2566
2580
  }>;
2567
2581
  actor: z.ZodOptional<z.ZodEnum<{
2568
2582
  staff: "staff";
@@ -2615,8 +2629,8 @@ declare const deploymentResultSchema: z.ZodObject<{
2615
2629
  }, z.core.$strict>]>>]>>;
2616
2630
  beneficiary: z.ZodString;
2617
2631
  enrollment: z.ZodOptional<z.ZodEnum<{
2618
- none: "none";
2619
2632
  required: "required";
2633
+ none: "none";
2620
2634
  }>>;
2621
2635
  since: z.ZodOptional<z.ZodEnum<{
2622
2636
  activation: "activation";
@@ -2624,9 +2638,9 @@ declare const deploymentResultSchema: z.ZodObject<{
2624
2638
  enrollment: "enrollment";
2625
2639
  }>>;
2626
2640
  historical: z.ZodOptional<z.ZodEnum<{
2641
+ automatic: "automatic";
2627
2642
  staff: "staff";
2628
2643
  claim: "claim";
2629
- automatic: "automatic";
2630
2644
  }>>;
2631
2645
  content: z.ZodOptional<z.ZodLiteral<true>>;
2632
2646
  }, z.core.$strict>>;
@@ -2665,8 +2679,8 @@ declare const deploymentResultSchema: z.ZodObject<{
2665
2679
  until: z.ZodNumber;
2666
2680
  }, z.core.$strict>>;
2667
2681
  enrollment: z.ZodDefault<z.ZodEnum<{
2668
- none: "none";
2669
2682
  required: "required";
2683
+ none: "none";
2670
2684
  }>>;
2671
2685
  }, z.core.$strict>>;
2672
2686
  availability: z.ZodOptional<z.ZodObject<{
@@ -2939,9 +2953,9 @@ declare const deploymentResultSchema: z.ZodObject<{
2939
2953
  }, z.core.$strict>, z.ZodObject<{
2940
2954
  kind: z.ZodLiteral<"manual">;
2941
2955
  input: z.ZodEnum<{
2942
- none: "none";
2943
- quiz: "quiz";
2944
2956
  photo: "photo";
2957
+ quiz: "quiz";
2958
+ none: "none";
2945
2959
  }>;
2946
2960
  actor: z.ZodOptional<z.ZodEnum<{
2947
2961
  staff: "staff";
@@ -2994,8 +3008,8 @@ declare const deploymentResultSchema: z.ZodObject<{
2994
3008
  }, z.core.$strict>]>>]>>;
2995
3009
  beneficiary: z.ZodString;
2996
3010
  enrollment: z.ZodOptional<z.ZodEnum<{
2997
- none: "none";
2998
3011
  required: "required";
3012
+ none: "none";
2999
3013
  }>>;
3000
3014
  since: z.ZodOptional<z.ZodEnum<{
3001
3015
  activation: "activation";
@@ -3003,9 +3017,9 @@ declare const deploymentResultSchema: z.ZodObject<{
3003
3017
  enrollment: "enrollment";
3004
3018
  }>>;
3005
3019
  historical: z.ZodOptional<z.ZodEnum<{
3020
+ automatic: "automatic";
3006
3021
  staff: "staff";
3007
3022
  claim: "claim";
3008
- automatic: "automatic";
3009
3023
  }>>;
3010
3024
  content: z.ZodOptional<z.ZodLiteral<true>>;
3011
3025
  }, z.core.$strict>>;
@@ -3044,8 +3058,8 @@ declare const deploymentResultSchema: z.ZodObject<{
3044
3058
  until: z.ZodNumber;
3045
3059
  }, z.core.$strict>>;
3046
3060
  enrollment: z.ZodDefault<z.ZodEnum<{
3047
- none: "none";
3048
3061
  required: "required";
3062
+ none: "none";
3049
3063
  }>>;
3050
3064
  }, z.core.$strict>>;
3051
3065
  availability: z.ZodOptional<z.ZodObject<{
@@ -3126,13 +3140,13 @@ declare const deploymentResultSchema: z.ZodObject<{
3126
3140
  quests: z.ZodArray<z.ZodString>;
3127
3141
  }, z.core.$strict>>;
3128
3142
  supportedInteractions: z.ZodArray<z.ZodEnum<{
3129
- url: "url";
3143
+ automatic: "automatic";
3130
3144
  text: "text";
3145
+ url: "url";
3131
3146
  staff: "staff";
3132
- claim: "claim";
3133
- automatic: "automatic";
3134
- quiz: "quiz";
3135
3147
  photo: "photo";
3148
+ quiz: "quiz";
3149
+ claim: "claim";
3136
3150
  }>>;
3137
3151
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
3138
3152
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3934,9 +3948,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3934
3948
  }, z.core.$strict>, z.ZodObject<{
3935
3949
  kind: z.ZodLiteral<"manual">;
3936
3950
  input: z.ZodEnum<{
3937
- none: "none";
3938
- quiz: "quiz";
3939
3951
  photo: "photo";
3952
+ quiz: "quiz";
3953
+ none: "none";
3940
3954
  }>;
3941
3955
  actor: z.ZodOptional<z.ZodEnum<{
3942
3956
  staff: "staff";
@@ -3989,8 +4003,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3989
4003
  }, z.core.$strict>]>>]>>;
3990
4004
  beneficiary: z.ZodString;
3991
4005
  enrollment: z.ZodOptional<z.ZodEnum<{
3992
- none: "none";
3993
4006
  required: "required";
4007
+ none: "none";
3994
4008
  }>>;
3995
4009
  since: z.ZodOptional<z.ZodEnum<{
3996
4010
  activation: "activation";
@@ -3998,9 +4012,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3998
4012
  enrollment: "enrollment";
3999
4013
  }>>;
4000
4014
  historical: z.ZodOptional<z.ZodEnum<{
4015
+ automatic: "automatic";
4001
4016
  staff: "staff";
4002
4017
  claim: "claim";
4003
- automatic: "automatic";
4004
4018
  }>>;
4005
4019
  content: z.ZodOptional<z.ZodLiteral<true>>;
4006
4020
  }, z.core.$strict>>;
@@ -4039,8 +4053,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4039
4053
  until: z.ZodNumber;
4040
4054
  }, z.core.$strict>>;
4041
4055
  enrollment: z.ZodDefault<z.ZodEnum<{
4042
- none: "none";
4043
4056
  required: "required";
4057
+ none: "none";
4044
4058
  }>>;
4045
4059
  }, z.core.$strict>>;
4046
4060
  availability: z.ZodOptional<z.ZodObject<{
@@ -4313,9 +4327,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4313
4327
  }, z.core.$strict>, z.ZodObject<{
4314
4328
  kind: z.ZodLiteral<"manual">;
4315
4329
  input: z.ZodEnum<{
4316
- none: "none";
4317
- quiz: "quiz";
4318
4330
  photo: "photo";
4331
+ quiz: "quiz";
4332
+ none: "none";
4319
4333
  }>;
4320
4334
  actor: z.ZodOptional<z.ZodEnum<{
4321
4335
  staff: "staff";
@@ -4368,8 +4382,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4368
4382
  }, z.core.$strict>]>>]>>;
4369
4383
  beneficiary: z.ZodString;
4370
4384
  enrollment: z.ZodOptional<z.ZodEnum<{
4371
- none: "none";
4372
4385
  required: "required";
4386
+ none: "none";
4373
4387
  }>>;
4374
4388
  since: z.ZodOptional<z.ZodEnum<{
4375
4389
  activation: "activation";
@@ -4377,9 +4391,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4377
4391
  enrollment: "enrollment";
4378
4392
  }>>;
4379
4393
  historical: z.ZodOptional<z.ZodEnum<{
4394
+ automatic: "automatic";
4380
4395
  staff: "staff";
4381
4396
  claim: "claim";
4382
- automatic: "automatic";
4383
4397
  }>>;
4384
4398
  content: z.ZodOptional<z.ZodLiteral<true>>;
4385
4399
  }, z.core.$strict>>;
@@ -4418,8 +4432,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4418
4432
  until: z.ZodNumber;
4419
4433
  }, z.core.$strict>>;
4420
4434
  enrollment: z.ZodDefault<z.ZodEnum<{
4421
- none: "none";
4422
4435
  required: "required";
4436
+ none: "none";
4423
4437
  }>>;
4424
4438
  }, z.core.$strict>>;
4425
4439
  availability: z.ZodOptional<z.ZodObject<{
@@ -4500,13 +4514,13 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4500
4514
  quests: z.ZodArray<z.ZodString>;
4501
4515
  }, z.core.$strict>>;
4502
4516
  supportedInteractions: z.ZodArray<z.ZodEnum<{
4503
- url: "url";
4517
+ automatic: "automatic";
4504
4518
  text: "text";
4519
+ url: "url";
4505
4520
  staff: "staff";
4506
- claim: "claim";
4507
- automatic: "automatic";
4508
- quiz: "quiz";
4509
4521
  photo: "photo";
4522
+ quiz: "quiz";
4523
+ claim: "claim";
4510
4524
  }>>;
4511
4525
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
4512
4526
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -5309,9 +5323,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5309
5323
  }, z.core.$strict>, z.ZodObject<{
5310
5324
  kind: z.ZodLiteral<"manual">;
5311
5325
  input: z.ZodEnum<{
5312
- none: "none";
5313
- quiz: "quiz";
5314
5326
  photo: "photo";
5327
+ quiz: "quiz";
5328
+ none: "none";
5315
5329
  }>;
5316
5330
  actor: z.ZodOptional<z.ZodEnum<{
5317
5331
  staff: "staff";
@@ -5364,8 +5378,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5364
5378
  }, z.core.$strict>]>>]>>;
5365
5379
  beneficiary: z.ZodString;
5366
5380
  enrollment: z.ZodOptional<z.ZodEnum<{
5367
- none: "none";
5368
5381
  required: "required";
5382
+ none: "none";
5369
5383
  }>>;
5370
5384
  since: z.ZodOptional<z.ZodEnum<{
5371
5385
  activation: "activation";
@@ -5373,9 +5387,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5373
5387
  enrollment: "enrollment";
5374
5388
  }>>;
5375
5389
  historical: z.ZodOptional<z.ZodEnum<{
5390
+ automatic: "automatic";
5376
5391
  staff: "staff";
5377
5392
  claim: "claim";
5378
- automatic: "automatic";
5379
5393
  }>>;
5380
5394
  content: z.ZodOptional<z.ZodLiteral<true>>;
5381
5395
  }, z.core.$strict>>;
@@ -5414,8 +5428,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5414
5428
  until: z.ZodNumber;
5415
5429
  }, z.core.$strict>>;
5416
5430
  enrollment: z.ZodDefault<z.ZodEnum<{
5417
- none: "none";
5418
5431
  required: "required";
5432
+ none: "none";
5419
5433
  }>>;
5420
5434
  }, z.core.$strict>>;
5421
5435
  availability: z.ZodOptional<z.ZodObject<{
@@ -5688,9 +5702,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5688
5702
  }, z.core.$strict>, z.ZodObject<{
5689
5703
  kind: z.ZodLiteral<"manual">;
5690
5704
  input: z.ZodEnum<{
5691
- none: "none";
5692
- quiz: "quiz";
5693
5705
  photo: "photo";
5706
+ quiz: "quiz";
5707
+ none: "none";
5694
5708
  }>;
5695
5709
  actor: z.ZodOptional<z.ZodEnum<{
5696
5710
  staff: "staff";
@@ -5743,8 +5757,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5743
5757
  }, z.core.$strict>]>>]>>;
5744
5758
  beneficiary: z.ZodString;
5745
5759
  enrollment: z.ZodOptional<z.ZodEnum<{
5746
- none: "none";
5747
5760
  required: "required";
5761
+ none: "none";
5748
5762
  }>>;
5749
5763
  since: z.ZodOptional<z.ZodEnum<{
5750
5764
  activation: "activation";
@@ -5752,9 +5766,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5752
5766
  enrollment: "enrollment";
5753
5767
  }>>;
5754
5768
  historical: z.ZodOptional<z.ZodEnum<{
5769
+ automatic: "automatic";
5755
5770
  staff: "staff";
5756
5771
  claim: "claim";
5757
- automatic: "automatic";
5758
5772
  }>>;
5759
5773
  content: z.ZodOptional<z.ZodLiteral<true>>;
5760
5774
  }, z.core.$strict>>;
@@ -5793,8 +5807,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5793
5807
  until: z.ZodNumber;
5794
5808
  }, z.core.$strict>>;
5795
5809
  enrollment: z.ZodDefault<z.ZodEnum<{
5796
- none: "none";
5797
5810
  required: "required";
5811
+ none: "none";
5798
5812
  }>>;
5799
5813
  }, z.core.$strict>>;
5800
5814
  availability: z.ZodOptional<z.ZodObject<{
@@ -5875,13 +5889,13 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5875
5889
  quests: z.ZodArray<z.ZodString>;
5876
5890
  }, z.core.$strict>>;
5877
5891
  supportedInteractions: z.ZodArray<z.ZodEnum<{
5878
- url: "url";
5892
+ automatic: "automatic";
5879
5893
  text: "text";
5894
+ url: "url";
5880
5895
  staff: "staff";
5881
- claim: "claim";
5882
- automatic: "automatic";
5883
- quiz: "quiz";
5884
5896
  photo: "photo";
5897
+ quiz: "quiz";
5898
+ claim: "claim";
5885
5899
  }>>;
5886
5900
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
5887
5901
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -6686,9 +6700,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6686
6700
  }, z.core.$strict>, z.ZodObject<{
6687
6701
  kind: z.ZodLiteral<"manual">;
6688
6702
  input: z.ZodEnum<{
6689
- none: "none";
6690
- quiz: "quiz";
6691
6703
  photo: "photo";
6704
+ quiz: "quiz";
6705
+ none: "none";
6692
6706
  }>;
6693
6707
  actor: z.ZodOptional<z.ZodEnum<{
6694
6708
  staff: "staff";
@@ -6741,8 +6755,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6741
6755
  }, z.core.$strict>]>>]>>;
6742
6756
  beneficiary: z.ZodString;
6743
6757
  enrollment: z.ZodOptional<z.ZodEnum<{
6744
- none: "none";
6745
6758
  required: "required";
6759
+ none: "none";
6746
6760
  }>>;
6747
6761
  since: z.ZodOptional<z.ZodEnum<{
6748
6762
  activation: "activation";
@@ -6750,9 +6764,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6750
6764
  enrollment: "enrollment";
6751
6765
  }>>;
6752
6766
  historical: z.ZodOptional<z.ZodEnum<{
6767
+ automatic: "automatic";
6753
6768
  staff: "staff";
6754
6769
  claim: "claim";
6755
- automatic: "automatic";
6756
6770
  }>>;
6757
6771
  content: z.ZodOptional<z.ZodLiteral<true>>;
6758
6772
  }, z.core.$strict>>;
@@ -6791,8 +6805,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6791
6805
  until: z.ZodNumber;
6792
6806
  }, z.core.$strict>>;
6793
6807
  enrollment: z.ZodDefault<z.ZodEnum<{
6794
- none: "none";
6795
6808
  required: "required";
6809
+ none: "none";
6796
6810
  }>>;
6797
6811
  }, z.core.$strict>>;
6798
6812
  availability: z.ZodOptional<z.ZodObject<{
@@ -7065,9 +7079,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7065
7079
  }, z.core.$strict>, z.ZodObject<{
7066
7080
  kind: z.ZodLiteral<"manual">;
7067
7081
  input: z.ZodEnum<{
7068
- none: "none";
7069
- quiz: "quiz";
7070
7082
  photo: "photo";
7083
+ quiz: "quiz";
7084
+ none: "none";
7071
7085
  }>;
7072
7086
  actor: z.ZodOptional<z.ZodEnum<{
7073
7087
  staff: "staff";
@@ -7120,8 +7134,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7120
7134
  }, z.core.$strict>]>>]>>;
7121
7135
  beneficiary: z.ZodString;
7122
7136
  enrollment: z.ZodOptional<z.ZodEnum<{
7123
- none: "none";
7124
7137
  required: "required";
7138
+ none: "none";
7125
7139
  }>>;
7126
7140
  since: z.ZodOptional<z.ZodEnum<{
7127
7141
  activation: "activation";
@@ -7129,9 +7143,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7129
7143
  enrollment: "enrollment";
7130
7144
  }>>;
7131
7145
  historical: z.ZodOptional<z.ZodEnum<{
7146
+ automatic: "automatic";
7132
7147
  staff: "staff";
7133
7148
  claim: "claim";
7134
- automatic: "automatic";
7135
7149
  }>>;
7136
7150
  content: z.ZodOptional<z.ZodLiteral<true>>;
7137
7151
  }, z.core.$strict>>;
@@ -7170,8 +7184,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7170
7184
  until: z.ZodNumber;
7171
7185
  }, z.core.$strict>>;
7172
7186
  enrollment: z.ZodDefault<z.ZodEnum<{
7173
- none: "none";
7174
7187
  required: "required";
7188
+ none: "none";
7175
7189
  }>>;
7176
7190
  }, z.core.$strict>>;
7177
7191
  availability: z.ZodOptional<z.ZodObject<{
@@ -7252,13 +7266,13 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7252
7266
  quests: z.ZodArray<z.ZodString>;
7253
7267
  }, z.core.$strict>>;
7254
7268
  supportedInteractions: z.ZodArray<z.ZodEnum<{
7255
- url: "url";
7269
+ automatic: "automatic";
7256
7270
  text: "text";
7271
+ url: "url";
7257
7272
  staff: "staff";
7258
- claim: "claim";
7259
- automatic: "automatic";
7260
- quiz: "quiz";
7261
7273
  photo: "photo";
7274
+ quiz: "quiz";
7275
+ claim: "claim";
7262
7276
  }>>;
7263
7277
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
7264
7278
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -8066,9 +8080,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8066
8080
  }, z.core.$strict>, z.ZodObject<{
8067
8081
  kind: z.ZodLiteral<"manual">;
8068
8082
  input: z.ZodEnum<{
8069
- none: "none";
8070
- quiz: "quiz";
8071
8083
  photo: "photo";
8084
+ quiz: "quiz";
8085
+ none: "none";
8072
8086
  }>;
8073
8087
  actor: z.ZodOptional<z.ZodEnum<{
8074
8088
  staff: "staff";
@@ -8121,8 +8135,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8121
8135
  }, z.core.$strict>]>>]>>;
8122
8136
  beneficiary: z.ZodString;
8123
8137
  enrollment: z.ZodOptional<z.ZodEnum<{
8124
- none: "none";
8125
8138
  required: "required";
8139
+ none: "none";
8126
8140
  }>>;
8127
8141
  since: z.ZodOptional<z.ZodEnum<{
8128
8142
  activation: "activation";
@@ -8130,9 +8144,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8130
8144
  enrollment: "enrollment";
8131
8145
  }>>;
8132
8146
  historical: z.ZodOptional<z.ZodEnum<{
8147
+ automatic: "automatic";
8133
8148
  staff: "staff";
8134
8149
  claim: "claim";
8135
- automatic: "automatic";
8136
8150
  }>>;
8137
8151
  content: z.ZodOptional<z.ZodLiteral<true>>;
8138
8152
  }, z.core.$strict>>;
@@ -8171,8 +8185,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8171
8185
  until: z.ZodNumber;
8172
8186
  }, z.core.$strict>>;
8173
8187
  enrollment: z.ZodDefault<z.ZodEnum<{
8174
- none: "none";
8175
8188
  required: "required";
8189
+ none: "none";
8176
8190
  }>>;
8177
8191
  }, z.core.$strict>>;
8178
8192
  availability: z.ZodOptional<z.ZodObject<{
@@ -8445,9 +8459,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8445
8459
  }, z.core.$strict>, z.ZodObject<{
8446
8460
  kind: z.ZodLiteral<"manual">;
8447
8461
  input: z.ZodEnum<{
8448
- none: "none";
8449
- quiz: "quiz";
8450
8462
  photo: "photo";
8463
+ quiz: "quiz";
8464
+ none: "none";
8451
8465
  }>;
8452
8466
  actor: z.ZodOptional<z.ZodEnum<{
8453
8467
  staff: "staff";
@@ -8500,8 +8514,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8500
8514
  }, z.core.$strict>]>>]>>;
8501
8515
  beneficiary: z.ZodString;
8502
8516
  enrollment: z.ZodOptional<z.ZodEnum<{
8503
- none: "none";
8504
8517
  required: "required";
8518
+ none: "none";
8505
8519
  }>>;
8506
8520
  since: z.ZodOptional<z.ZodEnum<{
8507
8521
  activation: "activation";
@@ -8509,9 +8523,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8509
8523
  enrollment: "enrollment";
8510
8524
  }>>;
8511
8525
  historical: z.ZodOptional<z.ZodEnum<{
8526
+ automatic: "automatic";
8512
8527
  staff: "staff";
8513
8528
  claim: "claim";
8514
- automatic: "automatic";
8515
8529
  }>>;
8516
8530
  content: z.ZodOptional<z.ZodLiteral<true>>;
8517
8531
  }, z.core.$strict>>;
@@ -8550,8 +8564,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8550
8564
  until: z.ZodNumber;
8551
8565
  }, z.core.$strict>>;
8552
8566
  enrollment: z.ZodDefault<z.ZodEnum<{
8553
- none: "none";
8554
8567
  required: "required";
8568
+ none: "none";
8555
8569
  }>>;
8556
8570
  }, z.core.$strict>>;
8557
8571
  availability: z.ZodOptional<z.ZodObject<{
@@ -8632,13 +8646,13 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8632
8646
  quests: z.ZodArray<z.ZodString>;
8633
8647
  }, z.core.$strict>>;
8634
8648
  supportedInteractions: z.ZodArray<z.ZodEnum<{
8635
- url: "url";
8649
+ automatic: "automatic";
8636
8650
  text: "text";
8651
+ url: "url";
8637
8652
  staff: "staff";
8638
- claim: "claim";
8639
- automatic: "automatic";
8640
- quiz: "quiz";
8641
8653
  photo: "photo";
8654
+ quiz: "quiz";
8655
+ claim: "claim";
8642
8656
  }>>;
8643
8657
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
8644
8658
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -9126,18 +9140,4 @@ declare const rollbackDeploymentSchema: z.ZodObject<{
9126
9140
  type DeploymentPreview = z.infer<typeof deploymentPreviewSchema>;
9127
9141
  type DeploymentRecord = z.infer<typeof deploymentRecordSchema>;
9128
9142
 
9129
- /** Shared with participant activity. Types remain open to future event kinds. */
9130
- declare const activityTypes: {
9131
- readonly attemptRejected: "attempt.rejected";
9132
- readonly entitlementGranted: "entitlement.granted";
9133
- readonly rewardDeliveryUpdated: "reward.delivery.updated";
9134
- readonly completionCreated: "completion.created";
9135
- readonly pointsAwarded: "points.awarded";
9136
- readonly reviewPending: "review.pending";
9137
- readonly rewardDeliveryFailed: "reward.delivery.failed";
9138
- readonly entitlementCollected: "entitlement.collected";
9139
- readonly referralQualified: "referral.qualified";
9140
- };
9141
- declare const activityTypeSchema: z.ZodString;
9142
-
9143
9143
  export { type CalendarPeriod as C, type DeploymentPreview as D, type ProjectCalendar as P, type DeploymentRecord as a, type ProjectCalendarInput as b, activityTypeSchema as c, activityTypes as d, calendarPeriodSchema as e, canonicalTimeZone as f, deploymentActionSchema as g, deploymentPreviewSchema as h, deploymentRecordSchema as i, deploymentRejectionSchema as j, deploymentResultSchema as k, deploymentSourceSchema as l, projectCalendarInputSchema as m, projectCalendarSchema as n, projectCatalogArtifactSchema as o, projectCalendarDeclarationSchema as p, projectDeploymentSchema as q, promoteDeploymentSchema as r, publishDeploymentSchema as s, refuseStreakTimeZone as t, refuseWindowTimeZone as u, rejectDeploymentSchema as v, rollbackDeploymentSchema as w, submitDeploymentSchema as x, timeZoneNameSchema as y, timeZoneSchema as z };