@domino-sdk/relay 1.6.0 → 1.9.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 (35) hide show
  1. package/dist/action-9Xl0StBg.d.ts +33 -0
  2. package/dist/{activity-mPUN4v5Q.d.ts → activity-CCe1e_7a.d.ts} +115 -115
  3. package/dist/authoring.d.ts +45 -45
  4. package/dist/authoring.js +1 -1
  5. package/dist/{automatic-outcomes-DmuqzQiH.d.ts → automatic-outcomes-Dyk0VTUs.d.ts} +1 -1
  6. package/dist/browser.d.ts +7 -6
  7. package/dist/browser.js +5 -4
  8. package/dist/{chunk-C25TDFHN.js → chunk-2N464DDE.js} +1 -1
  9. package/dist/{chunk-GMPPLZKH.js → chunk-2V74CHDL.js} +191 -191
  10. package/dist/{chunk-6RBF3UDA.js → chunk-734LYHWP.js} +2 -2
  11. package/dist/chunk-ETPL6AAJ.js +98 -0
  12. package/dist/{chunk-ZOUEEK5L.js → chunk-FWSSMSIA.js} +49 -21
  13. package/dist/{chunk-BFZHJA2B.js → chunk-L3QFIRGO.js} +2 -2
  14. package/dist/{client-CQuTAjSs.d.ts → client-CbASImpi.d.ts} +42 -36
  15. package/dist/{groups-D08JtrZu.d.ts → groups-Dvmd4CYk.d.ts} +1 -1
  16. package/dist/{images-D7en0Awp.d.ts → images-Dekv3DYF.d.ts} +1 -1
  17. package/dist/index.d.ts +8 -7
  18. package/dist/index.js +7 -3
  19. package/dist/internal.d.ts +5 -119
  20. package/dist/internal.js +1 -1
  21. package/dist/{offers-BENZl5l5.d.ts → offers-BEGVSOTD.d.ts} +2 -2
  22. package/dist/{pages-CBa-_u_n.d.ts → pages-HmS6eedC.d.ts} +38 -38
  23. package/dist/react/index.d.ts +197 -10
  24. package/dist/react/index.js +253 -111
  25. package/dist/referral-reward-kinds-Flbb1D2q.d.ts +171 -0
  26. package/dist/{schema-BPdHSCAc.d.ts → schema-BCuiO7eD.d.ts} +16 -16
  27. package/dist/schema.d.ts +8 -8
  28. package/dist/schema.js +3 -3
  29. package/dist/server/index.d.ts +592 -45
  30. package/dist/server/index.js +209 -49
  31. package/dist/{sign-in-options-FPKoZMfo.d.ts → sign-in-options-z3wsfizk.d.ts} +2 -2
  32. package/dist/{submission-input-BzIWutQi.d.ts → submission-input-Bs14jIsu.d.ts} +2 -2
  33. package/package.json +1 -1
  34. package/dist/identity-integration-BPovus6e.d.ts +0 -58
  35. /package/dist/{chunk-QGLHZ2E5.js → chunk-5ECM6AWV.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { O as OpenIdentityKind, a4 as TrackerDataSchema } from './schema-BPdHSCAc.js';
2
+ import { O as OpenIdentityKind, ac as TrackerDataSchema } from './schema-BCuiO7eD.js';
3
3
 
4
4
  /**
5
5
  * The canonical name of a named IANA timezone, or null for an unknown name or a fixed offset.
@@ -85,13 +85,13 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
85
85
  key: z.ZodString;
86
86
  }, z.core.$strict>>>;
87
87
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
88
- text: "text";
89
- staff: "staff";
90
- claim: "claim";
91
88
  automatic: "automatic";
89
+ text: "text";
92
90
  url: "url";
93
- quiz: "quiz";
91
+ staff: "staff";
94
92
  photo: "photo";
93
+ quiz: "quiz";
94
+ claim: "claim";
95
95
  }>>>;
96
96
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
97
97
  code: z.ZodString;
@@ -107,9 +107,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
107
107
  namespace: z.ZodString;
108
108
  identities: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
109
109
  discord: "discord";
110
- member: "member";
111
110
  wallet: "wallet";
112
111
  x: "x";
112
+ member: "member";
113
113
  }>, z.ZodTemplateLiteral<`app:${string}`>]>>>;
114
114
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
115
  data: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<TrackerDataSchema, unknown, z.core.$ZodTypeInternals<TrackerDataSchema, unknown>>>>;
@@ -139,9 +139,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
139
139
  code: z.ZodString;
140
140
  }, z.core.$strict>]>>>;
141
141
  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
142
  reward: z.ZodObject<{
146
143
  kind: z.ZodLiteral<"tier">;
147
144
  reward: z.ZodObject<{
@@ -162,6 +159,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
162
159
  }, z.core.$strict>;
163
160
  tier: z.ZodString;
164
161
  }, z.core.$strict>;
162
+ limit: z.ZodDefault<z.ZodObject<{
163
+ perMember: z.ZodNumber;
164
+ }, z.core.$strict>>;
165
165
  price: z.ZodObject<{
166
166
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
167
167
  balance: z.ZodString;
@@ -173,9 +173,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
173
173
  }, z.core.$strict>, z.ZodTransform<{
174
174
  title: string;
175
175
  enabled: boolean;
176
- limit: {
177
- perMember: number;
178
- };
179
176
  reward: {
180
177
  kind: "tier";
181
178
  reward: {
@@ -196,6 +193,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
196
193
  };
197
194
  tier: string;
198
195
  };
196
+ limit: {
197
+ perMember: number;
198
+ };
199
199
  price: {
200
200
  kind: "points";
201
201
  balance: string;
@@ -204,9 +204,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
204
204
  stock: number;
205
205
  key: string;
206
206
  }, {
207
- limit: {
208
- perMember: number;
209
- };
210
207
  reward: {
211
208
  kind: "tier";
212
209
  reward: {
@@ -227,6 +224,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
227
224
  };
228
225
  tier: string;
229
226
  };
227
+ limit: {
228
+ perMember: number;
229
+ };
230
230
  price: {
231
231
  kind: "points";
232
232
  balance: string;
@@ -342,8 +342,8 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
342
342
  code: z.ZodString;
343
343
  }, z.core.$strict>]>>>;
344
344
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
345
- title: z.ZodString;
346
345
  balance: z.ZodString;
346
+ title: z.ZodString;
347
347
  access: z.ZodDefault<z.ZodEnum<{
348
348
  participants: "participants";
349
349
  public: "public";
@@ -452,13 +452,13 @@ declare const projectDeploymentSchema: z.ZodObject<{
452
452
  key: z.ZodString;
453
453
  }, z.core.$strict>>>;
454
454
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
455
- text: "text";
456
- staff: "staff";
457
- claim: "claim";
458
455
  automatic: "automatic";
456
+ text: "text";
459
457
  url: "url";
460
- quiz: "quiz";
458
+ staff: "staff";
461
459
  photo: "photo";
460
+ quiz: "quiz";
461
+ claim: "claim";
462
462
  }>>>;
463
463
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
464
464
  code: z.ZodString;
@@ -474,9 +474,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
474
474
  namespace: z.ZodString;
475
475
  identities: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
476
476
  discord: "discord";
477
- member: "member";
478
477
  wallet: "wallet";
479
478
  x: "x";
479
+ member: "member";
480
480
  }>, z.ZodTemplateLiteral<`app:${string}`>]>>>;
481
481
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
482
482
  data: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<TrackerDataSchema, unknown, z.core.$ZodTypeInternals<TrackerDataSchema, unknown>>>>;
@@ -506,9 +506,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
506
506
  code: z.ZodString;
507
507
  }, z.core.$strict>]>>>;
508
508
  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
509
  reward: z.ZodObject<{
513
510
  kind: z.ZodLiteral<"tier">;
514
511
  reward: z.ZodObject<{
@@ -529,6 +526,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
529
526
  }, z.core.$strict>;
530
527
  tier: z.ZodString;
531
528
  }, z.core.$strict>;
529
+ limit: z.ZodDefault<z.ZodObject<{
530
+ perMember: z.ZodNumber;
531
+ }, z.core.$strict>>;
532
532
  price: z.ZodObject<{
533
533
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
534
534
  balance: z.ZodString;
@@ -540,9 +540,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
540
540
  }, z.core.$strict>, z.ZodTransform<{
541
541
  title: string;
542
542
  enabled: boolean;
543
- limit: {
544
- perMember: number;
545
- };
546
543
  reward: {
547
544
  kind: "tier";
548
545
  reward: {
@@ -563,6 +560,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
563
560
  };
564
561
  tier: string;
565
562
  };
563
+ limit: {
564
+ perMember: number;
565
+ };
566
566
  price: {
567
567
  kind: "points";
568
568
  balance: string;
@@ -571,9 +571,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
571
571
  stock: number;
572
572
  key: string;
573
573
  }, {
574
- limit: {
575
- perMember: number;
576
- };
577
574
  reward: {
578
575
  kind: "tier";
579
576
  reward: {
@@ -594,6 +591,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
594
591
  };
595
592
  tier: string;
596
593
  };
594
+ limit: {
595
+ perMember: number;
596
+ };
597
597
  price: {
598
598
  kind: "points";
599
599
  balance: string;
@@ -709,8 +709,8 @@ declare const projectDeploymentSchema: z.ZodObject<{
709
709
  code: z.ZodString;
710
710
  }, z.core.$strict>]>>>;
711
711
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
712
- title: z.ZodString;
713
712
  balance: z.ZodString;
713
+ title: z.ZodString;
714
714
  access: z.ZodDefault<z.ZodEnum<{
715
715
  participants: "participants";
716
716
  public: "public";
@@ -1189,9 +1189,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1189
1189
  }, z.core.$strict>, z.ZodObject<{
1190
1190
  kind: z.ZodLiteral<"manual">;
1191
1191
  input: z.ZodEnum<{
1192
- none: "none";
1193
- quiz: "quiz";
1194
1192
  photo: "photo";
1193
+ quiz: "quiz";
1194
+ none: "none";
1195
1195
  }>;
1196
1196
  actor: z.ZodOptional<z.ZodEnum<{
1197
1197
  staff: "staff";
@@ -1244,8 +1244,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1244
1244
  }, z.core.$strict>]>>]>>;
1245
1245
  beneficiary: z.ZodString;
1246
1246
  enrollment: z.ZodOptional<z.ZodEnum<{
1247
- none: "none";
1248
1247
  required: "required";
1248
+ none: "none";
1249
1249
  }>>;
1250
1250
  since: z.ZodOptional<z.ZodEnum<{
1251
1251
  activation: "activation";
@@ -1253,9 +1253,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1253
1253
  enrollment: "enrollment";
1254
1254
  }>>;
1255
1255
  historical: z.ZodOptional<z.ZodEnum<{
1256
+ automatic: "automatic";
1256
1257
  staff: "staff";
1257
1258
  claim: "claim";
1258
- automatic: "automatic";
1259
1259
  }>>;
1260
1260
  content: z.ZodOptional<z.ZodLiteral<true>>;
1261
1261
  }, z.core.$strict>>;
@@ -1294,8 +1294,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1294
1294
  until: z.ZodNumber;
1295
1295
  }, z.core.$strict>>;
1296
1296
  enrollment: z.ZodDefault<z.ZodEnum<{
1297
- none: "none";
1298
1297
  required: "required";
1298
+ none: "none";
1299
1299
  }>>;
1300
1300
  }, z.core.$strict>>;
1301
1301
  availability: z.ZodOptional<z.ZodObject<{
@@ -1568,9 +1568,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1568
1568
  }, z.core.$strict>, z.ZodObject<{
1569
1569
  kind: z.ZodLiteral<"manual">;
1570
1570
  input: z.ZodEnum<{
1571
- none: "none";
1572
- quiz: "quiz";
1573
1571
  photo: "photo";
1572
+ quiz: "quiz";
1573
+ none: "none";
1574
1574
  }>;
1575
1575
  actor: z.ZodOptional<z.ZodEnum<{
1576
1576
  staff: "staff";
@@ -1623,8 +1623,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1623
1623
  }, z.core.$strict>]>>]>>;
1624
1624
  beneficiary: z.ZodString;
1625
1625
  enrollment: z.ZodOptional<z.ZodEnum<{
1626
- none: "none";
1627
1626
  required: "required";
1627
+ none: "none";
1628
1628
  }>>;
1629
1629
  since: z.ZodOptional<z.ZodEnum<{
1630
1630
  activation: "activation";
@@ -1632,9 +1632,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1632
1632
  enrollment: "enrollment";
1633
1633
  }>>;
1634
1634
  historical: z.ZodOptional<z.ZodEnum<{
1635
+ automatic: "automatic";
1635
1636
  staff: "staff";
1636
1637
  claim: "claim";
1637
- automatic: "automatic";
1638
1638
  }>>;
1639
1639
  content: z.ZodOptional<z.ZodLiteral<true>>;
1640
1640
  }, z.core.$strict>>;
@@ -1673,8 +1673,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1673
1673
  until: z.ZodNumber;
1674
1674
  }, z.core.$strict>>;
1675
1675
  enrollment: z.ZodDefault<z.ZodEnum<{
1676
- none: "none";
1677
1676
  required: "required";
1677
+ none: "none";
1678
1678
  }>>;
1679
1679
  }, z.core.$strict>>;
1680
1680
  availability: z.ZodOptional<z.ZodObject<{
@@ -1755,13 +1755,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1755
1755
  quests: z.ZodArray<z.ZodString>;
1756
1756
  }, z.core.$strict>>;
1757
1757
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1758
- text: "text";
1759
- staff: "staff";
1760
- claim: "claim";
1761
1758
  automatic: "automatic";
1759
+ text: "text";
1762
1760
  url: "url";
1763
- quiz: "quiz";
1761
+ staff: "staff";
1764
1762
  photo: "photo";
1763
+ quiz: "quiz";
1764
+ claim: "claim";
1765
1765
  }>>;
1766
1766
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
1767
1767
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2560,9 +2560,9 @@ declare const deploymentResultSchema: z.ZodObject<{
2560
2560
  }, z.core.$strict>, z.ZodObject<{
2561
2561
  kind: z.ZodLiteral<"manual">;
2562
2562
  input: z.ZodEnum<{
2563
- none: "none";
2564
- quiz: "quiz";
2565
2563
  photo: "photo";
2564
+ quiz: "quiz";
2565
+ none: "none";
2566
2566
  }>;
2567
2567
  actor: z.ZodOptional<z.ZodEnum<{
2568
2568
  staff: "staff";
@@ -2615,8 +2615,8 @@ declare const deploymentResultSchema: z.ZodObject<{
2615
2615
  }, z.core.$strict>]>>]>>;
2616
2616
  beneficiary: z.ZodString;
2617
2617
  enrollment: z.ZodOptional<z.ZodEnum<{
2618
- none: "none";
2619
2618
  required: "required";
2619
+ none: "none";
2620
2620
  }>>;
2621
2621
  since: z.ZodOptional<z.ZodEnum<{
2622
2622
  activation: "activation";
@@ -2624,9 +2624,9 @@ declare const deploymentResultSchema: z.ZodObject<{
2624
2624
  enrollment: "enrollment";
2625
2625
  }>>;
2626
2626
  historical: z.ZodOptional<z.ZodEnum<{
2627
+ automatic: "automatic";
2627
2628
  staff: "staff";
2628
2629
  claim: "claim";
2629
- automatic: "automatic";
2630
2630
  }>>;
2631
2631
  content: z.ZodOptional<z.ZodLiteral<true>>;
2632
2632
  }, z.core.$strict>>;
@@ -2665,8 +2665,8 @@ declare const deploymentResultSchema: z.ZodObject<{
2665
2665
  until: z.ZodNumber;
2666
2666
  }, z.core.$strict>>;
2667
2667
  enrollment: z.ZodDefault<z.ZodEnum<{
2668
- none: "none";
2669
2668
  required: "required";
2669
+ none: "none";
2670
2670
  }>>;
2671
2671
  }, z.core.$strict>>;
2672
2672
  availability: z.ZodOptional<z.ZodObject<{
@@ -2939,9 +2939,9 @@ declare const deploymentResultSchema: z.ZodObject<{
2939
2939
  }, z.core.$strict>, z.ZodObject<{
2940
2940
  kind: z.ZodLiteral<"manual">;
2941
2941
  input: z.ZodEnum<{
2942
- none: "none";
2943
- quiz: "quiz";
2944
2942
  photo: "photo";
2943
+ quiz: "quiz";
2944
+ none: "none";
2945
2945
  }>;
2946
2946
  actor: z.ZodOptional<z.ZodEnum<{
2947
2947
  staff: "staff";
@@ -2994,8 +2994,8 @@ declare const deploymentResultSchema: z.ZodObject<{
2994
2994
  }, z.core.$strict>]>>]>>;
2995
2995
  beneficiary: z.ZodString;
2996
2996
  enrollment: z.ZodOptional<z.ZodEnum<{
2997
- none: "none";
2998
2997
  required: "required";
2998
+ none: "none";
2999
2999
  }>>;
3000
3000
  since: z.ZodOptional<z.ZodEnum<{
3001
3001
  activation: "activation";
@@ -3003,9 +3003,9 @@ declare const deploymentResultSchema: z.ZodObject<{
3003
3003
  enrollment: "enrollment";
3004
3004
  }>>;
3005
3005
  historical: z.ZodOptional<z.ZodEnum<{
3006
+ automatic: "automatic";
3006
3007
  staff: "staff";
3007
3008
  claim: "claim";
3008
- automatic: "automatic";
3009
3009
  }>>;
3010
3010
  content: z.ZodOptional<z.ZodLiteral<true>>;
3011
3011
  }, z.core.$strict>>;
@@ -3044,8 +3044,8 @@ declare const deploymentResultSchema: z.ZodObject<{
3044
3044
  until: z.ZodNumber;
3045
3045
  }, z.core.$strict>>;
3046
3046
  enrollment: z.ZodDefault<z.ZodEnum<{
3047
- none: "none";
3048
3047
  required: "required";
3048
+ none: "none";
3049
3049
  }>>;
3050
3050
  }, z.core.$strict>>;
3051
3051
  availability: z.ZodOptional<z.ZodObject<{
@@ -3126,13 +3126,13 @@ declare const deploymentResultSchema: z.ZodObject<{
3126
3126
  quests: z.ZodArray<z.ZodString>;
3127
3127
  }, z.core.$strict>>;
3128
3128
  supportedInteractions: z.ZodArray<z.ZodEnum<{
3129
- text: "text";
3130
- staff: "staff";
3131
- claim: "claim";
3132
3129
  automatic: "automatic";
3130
+ text: "text";
3133
3131
  url: "url";
3134
- quiz: "quiz";
3132
+ staff: "staff";
3135
3133
  photo: "photo";
3134
+ quiz: "quiz";
3135
+ claim: "claim";
3136
3136
  }>>;
3137
3137
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
3138
3138
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3934,9 +3934,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3934
3934
  }, z.core.$strict>, z.ZodObject<{
3935
3935
  kind: z.ZodLiteral<"manual">;
3936
3936
  input: z.ZodEnum<{
3937
- none: "none";
3938
- quiz: "quiz";
3939
3937
  photo: "photo";
3938
+ quiz: "quiz";
3939
+ none: "none";
3940
3940
  }>;
3941
3941
  actor: z.ZodOptional<z.ZodEnum<{
3942
3942
  staff: "staff";
@@ -3989,8 +3989,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3989
3989
  }, z.core.$strict>]>>]>>;
3990
3990
  beneficiary: z.ZodString;
3991
3991
  enrollment: z.ZodOptional<z.ZodEnum<{
3992
- none: "none";
3993
3992
  required: "required";
3993
+ none: "none";
3994
3994
  }>>;
3995
3995
  since: z.ZodOptional<z.ZodEnum<{
3996
3996
  activation: "activation";
@@ -3998,9 +3998,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3998
3998
  enrollment: "enrollment";
3999
3999
  }>>;
4000
4000
  historical: z.ZodOptional<z.ZodEnum<{
4001
+ automatic: "automatic";
4001
4002
  staff: "staff";
4002
4003
  claim: "claim";
4003
- automatic: "automatic";
4004
4004
  }>>;
4005
4005
  content: z.ZodOptional<z.ZodLiteral<true>>;
4006
4006
  }, z.core.$strict>>;
@@ -4039,8 +4039,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4039
4039
  until: z.ZodNumber;
4040
4040
  }, z.core.$strict>>;
4041
4041
  enrollment: z.ZodDefault<z.ZodEnum<{
4042
- none: "none";
4043
4042
  required: "required";
4043
+ none: "none";
4044
4044
  }>>;
4045
4045
  }, z.core.$strict>>;
4046
4046
  availability: z.ZodOptional<z.ZodObject<{
@@ -4313,9 +4313,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4313
4313
  }, z.core.$strict>, z.ZodObject<{
4314
4314
  kind: z.ZodLiteral<"manual">;
4315
4315
  input: z.ZodEnum<{
4316
- none: "none";
4317
- quiz: "quiz";
4318
4316
  photo: "photo";
4317
+ quiz: "quiz";
4318
+ none: "none";
4319
4319
  }>;
4320
4320
  actor: z.ZodOptional<z.ZodEnum<{
4321
4321
  staff: "staff";
@@ -4368,8 +4368,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4368
4368
  }, z.core.$strict>]>>]>>;
4369
4369
  beneficiary: z.ZodString;
4370
4370
  enrollment: z.ZodOptional<z.ZodEnum<{
4371
- none: "none";
4372
4371
  required: "required";
4372
+ none: "none";
4373
4373
  }>>;
4374
4374
  since: z.ZodOptional<z.ZodEnum<{
4375
4375
  activation: "activation";
@@ -4377,9 +4377,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4377
4377
  enrollment: "enrollment";
4378
4378
  }>>;
4379
4379
  historical: z.ZodOptional<z.ZodEnum<{
4380
+ automatic: "automatic";
4380
4381
  staff: "staff";
4381
4382
  claim: "claim";
4382
- automatic: "automatic";
4383
4383
  }>>;
4384
4384
  content: z.ZodOptional<z.ZodLiteral<true>>;
4385
4385
  }, z.core.$strict>>;
@@ -4418,8 +4418,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4418
4418
  until: z.ZodNumber;
4419
4419
  }, z.core.$strict>>;
4420
4420
  enrollment: z.ZodDefault<z.ZodEnum<{
4421
- none: "none";
4422
4421
  required: "required";
4422
+ none: "none";
4423
4423
  }>>;
4424
4424
  }, z.core.$strict>>;
4425
4425
  availability: z.ZodOptional<z.ZodObject<{
@@ -4500,13 +4500,13 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4500
4500
  quests: z.ZodArray<z.ZodString>;
4501
4501
  }, z.core.$strict>>;
4502
4502
  supportedInteractions: z.ZodArray<z.ZodEnum<{
4503
- text: "text";
4504
- staff: "staff";
4505
- claim: "claim";
4506
4503
  automatic: "automatic";
4504
+ text: "text";
4507
4505
  url: "url";
4508
- quiz: "quiz";
4506
+ staff: "staff";
4509
4507
  photo: "photo";
4508
+ quiz: "quiz";
4509
+ claim: "claim";
4510
4510
  }>>;
4511
4511
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
4512
4512
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -5309,9 +5309,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5309
5309
  }, z.core.$strict>, z.ZodObject<{
5310
5310
  kind: z.ZodLiteral<"manual">;
5311
5311
  input: z.ZodEnum<{
5312
- none: "none";
5313
- quiz: "quiz";
5314
5312
  photo: "photo";
5313
+ quiz: "quiz";
5314
+ none: "none";
5315
5315
  }>;
5316
5316
  actor: z.ZodOptional<z.ZodEnum<{
5317
5317
  staff: "staff";
@@ -5364,8 +5364,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5364
5364
  }, z.core.$strict>]>>]>>;
5365
5365
  beneficiary: z.ZodString;
5366
5366
  enrollment: z.ZodOptional<z.ZodEnum<{
5367
- none: "none";
5368
5367
  required: "required";
5368
+ none: "none";
5369
5369
  }>>;
5370
5370
  since: z.ZodOptional<z.ZodEnum<{
5371
5371
  activation: "activation";
@@ -5373,9 +5373,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5373
5373
  enrollment: "enrollment";
5374
5374
  }>>;
5375
5375
  historical: z.ZodOptional<z.ZodEnum<{
5376
+ automatic: "automatic";
5376
5377
  staff: "staff";
5377
5378
  claim: "claim";
5378
- automatic: "automatic";
5379
5379
  }>>;
5380
5380
  content: z.ZodOptional<z.ZodLiteral<true>>;
5381
5381
  }, z.core.$strict>>;
@@ -5414,8 +5414,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5414
5414
  until: z.ZodNumber;
5415
5415
  }, z.core.$strict>>;
5416
5416
  enrollment: z.ZodDefault<z.ZodEnum<{
5417
- none: "none";
5418
5417
  required: "required";
5418
+ none: "none";
5419
5419
  }>>;
5420
5420
  }, z.core.$strict>>;
5421
5421
  availability: z.ZodOptional<z.ZodObject<{
@@ -5688,9 +5688,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5688
5688
  }, z.core.$strict>, z.ZodObject<{
5689
5689
  kind: z.ZodLiteral<"manual">;
5690
5690
  input: z.ZodEnum<{
5691
- none: "none";
5692
- quiz: "quiz";
5693
5691
  photo: "photo";
5692
+ quiz: "quiz";
5693
+ none: "none";
5694
5694
  }>;
5695
5695
  actor: z.ZodOptional<z.ZodEnum<{
5696
5696
  staff: "staff";
@@ -5743,8 +5743,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5743
5743
  }, z.core.$strict>]>>]>>;
5744
5744
  beneficiary: z.ZodString;
5745
5745
  enrollment: z.ZodOptional<z.ZodEnum<{
5746
- none: "none";
5747
5746
  required: "required";
5747
+ none: "none";
5748
5748
  }>>;
5749
5749
  since: z.ZodOptional<z.ZodEnum<{
5750
5750
  activation: "activation";
@@ -5752,9 +5752,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5752
5752
  enrollment: "enrollment";
5753
5753
  }>>;
5754
5754
  historical: z.ZodOptional<z.ZodEnum<{
5755
+ automatic: "automatic";
5755
5756
  staff: "staff";
5756
5757
  claim: "claim";
5757
- automatic: "automatic";
5758
5758
  }>>;
5759
5759
  content: z.ZodOptional<z.ZodLiteral<true>>;
5760
5760
  }, z.core.$strict>>;
@@ -5793,8 +5793,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5793
5793
  until: z.ZodNumber;
5794
5794
  }, z.core.$strict>>;
5795
5795
  enrollment: z.ZodDefault<z.ZodEnum<{
5796
- none: "none";
5797
5796
  required: "required";
5797
+ none: "none";
5798
5798
  }>>;
5799
5799
  }, z.core.$strict>>;
5800
5800
  availability: z.ZodOptional<z.ZodObject<{
@@ -5875,13 +5875,13 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5875
5875
  quests: z.ZodArray<z.ZodString>;
5876
5876
  }, z.core.$strict>>;
5877
5877
  supportedInteractions: z.ZodArray<z.ZodEnum<{
5878
- text: "text";
5879
- staff: "staff";
5880
- claim: "claim";
5881
5878
  automatic: "automatic";
5879
+ text: "text";
5882
5880
  url: "url";
5883
- quiz: "quiz";
5881
+ staff: "staff";
5884
5882
  photo: "photo";
5883
+ quiz: "quiz";
5884
+ claim: "claim";
5885
5885
  }>>;
5886
5886
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
5887
5887
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -6686,9 +6686,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6686
6686
  }, z.core.$strict>, z.ZodObject<{
6687
6687
  kind: z.ZodLiteral<"manual">;
6688
6688
  input: z.ZodEnum<{
6689
- none: "none";
6690
- quiz: "quiz";
6691
6689
  photo: "photo";
6690
+ quiz: "quiz";
6691
+ none: "none";
6692
6692
  }>;
6693
6693
  actor: z.ZodOptional<z.ZodEnum<{
6694
6694
  staff: "staff";
@@ -6741,8 +6741,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6741
6741
  }, z.core.$strict>]>>]>>;
6742
6742
  beneficiary: z.ZodString;
6743
6743
  enrollment: z.ZodOptional<z.ZodEnum<{
6744
- none: "none";
6745
6744
  required: "required";
6745
+ none: "none";
6746
6746
  }>>;
6747
6747
  since: z.ZodOptional<z.ZodEnum<{
6748
6748
  activation: "activation";
@@ -6750,9 +6750,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6750
6750
  enrollment: "enrollment";
6751
6751
  }>>;
6752
6752
  historical: z.ZodOptional<z.ZodEnum<{
6753
+ automatic: "automatic";
6753
6754
  staff: "staff";
6754
6755
  claim: "claim";
6755
- automatic: "automatic";
6756
6756
  }>>;
6757
6757
  content: z.ZodOptional<z.ZodLiteral<true>>;
6758
6758
  }, z.core.$strict>>;
@@ -6791,8 +6791,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6791
6791
  until: z.ZodNumber;
6792
6792
  }, z.core.$strict>>;
6793
6793
  enrollment: z.ZodDefault<z.ZodEnum<{
6794
- none: "none";
6795
6794
  required: "required";
6795
+ none: "none";
6796
6796
  }>>;
6797
6797
  }, z.core.$strict>>;
6798
6798
  availability: z.ZodOptional<z.ZodObject<{
@@ -7065,9 +7065,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7065
7065
  }, z.core.$strict>, z.ZodObject<{
7066
7066
  kind: z.ZodLiteral<"manual">;
7067
7067
  input: z.ZodEnum<{
7068
- none: "none";
7069
- quiz: "quiz";
7070
7068
  photo: "photo";
7069
+ quiz: "quiz";
7070
+ none: "none";
7071
7071
  }>;
7072
7072
  actor: z.ZodOptional<z.ZodEnum<{
7073
7073
  staff: "staff";
@@ -7120,8 +7120,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7120
7120
  }, z.core.$strict>]>>]>>;
7121
7121
  beneficiary: z.ZodString;
7122
7122
  enrollment: z.ZodOptional<z.ZodEnum<{
7123
- none: "none";
7124
7123
  required: "required";
7124
+ none: "none";
7125
7125
  }>>;
7126
7126
  since: z.ZodOptional<z.ZodEnum<{
7127
7127
  activation: "activation";
@@ -7129,9 +7129,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7129
7129
  enrollment: "enrollment";
7130
7130
  }>>;
7131
7131
  historical: z.ZodOptional<z.ZodEnum<{
7132
+ automatic: "automatic";
7132
7133
  staff: "staff";
7133
7134
  claim: "claim";
7134
- automatic: "automatic";
7135
7135
  }>>;
7136
7136
  content: z.ZodOptional<z.ZodLiteral<true>>;
7137
7137
  }, z.core.$strict>>;
@@ -7170,8 +7170,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7170
7170
  until: z.ZodNumber;
7171
7171
  }, z.core.$strict>>;
7172
7172
  enrollment: z.ZodDefault<z.ZodEnum<{
7173
- none: "none";
7174
7173
  required: "required";
7174
+ none: "none";
7175
7175
  }>>;
7176
7176
  }, z.core.$strict>>;
7177
7177
  availability: z.ZodOptional<z.ZodObject<{
@@ -7252,13 +7252,13 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7252
7252
  quests: z.ZodArray<z.ZodString>;
7253
7253
  }, z.core.$strict>>;
7254
7254
  supportedInteractions: z.ZodArray<z.ZodEnum<{
7255
- text: "text";
7256
- staff: "staff";
7257
- claim: "claim";
7258
7255
  automatic: "automatic";
7256
+ text: "text";
7259
7257
  url: "url";
7260
- quiz: "quiz";
7258
+ staff: "staff";
7261
7259
  photo: "photo";
7260
+ quiz: "quiz";
7261
+ claim: "claim";
7262
7262
  }>>;
7263
7263
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
7264
7264
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -8066,9 +8066,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8066
8066
  }, z.core.$strict>, z.ZodObject<{
8067
8067
  kind: z.ZodLiteral<"manual">;
8068
8068
  input: z.ZodEnum<{
8069
- none: "none";
8070
- quiz: "quiz";
8071
8069
  photo: "photo";
8070
+ quiz: "quiz";
8071
+ none: "none";
8072
8072
  }>;
8073
8073
  actor: z.ZodOptional<z.ZodEnum<{
8074
8074
  staff: "staff";
@@ -8121,8 +8121,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8121
8121
  }, z.core.$strict>]>>]>>;
8122
8122
  beneficiary: z.ZodString;
8123
8123
  enrollment: z.ZodOptional<z.ZodEnum<{
8124
- none: "none";
8125
8124
  required: "required";
8125
+ none: "none";
8126
8126
  }>>;
8127
8127
  since: z.ZodOptional<z.ZodEnum<{
8128
8128
  activation: "activation";
@@ -8130,9 +8130,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8130
8130
  enrollment: "enrollment";
8131
8131
  }>>;
8132
8132
  historical: z.ZodOptional<z.ZodEnum<{
8133
+ automatic: "automatic";
8133
8134
  staff: "staff";
8134
8135
  claim: "claim";
8135
- automatic: "automatic";
8136
8136
  }>>;
8137
8137
  content: z.ZodOptional<z.ZodLiteral<true>>;
8138
8138
  }, z.core.$strict>>;
@@ -8171,8 +8171,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8171
8171
  until: z.ZodNumber;
8172
8172
  }, z.core.$strict>>;
8173
8173
  enrollment: z.ZodDefault<z.ZodEnum<{
8174
- none: "none";
8175
8174
  required: "required";
8175
+ none: "none";
8176
8176
  }>>;
8177
8177
  }, z.core.$strict>>;
8178
8178
  availability: z.ZodOptional<z.ZodObject<{
@@ -8445,9 +8445,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8445
8445
  }, z.core.$strict>, z.ZodObject<{
8446
8446
  kind: z.ZodLiteral<"manual">;
8447
8447
  input: z.ZodEnum<{
8448
- none: "none";
8449
- quiz: "quiz";
8450
8448
  photo: "photo";
8449
+ quiz: "quiz";
8450
+ none: "none";
8451
8451
  }>;
8452
8452
  actor: z.ZodOptional<z.ZodEnum<{
8453
8453
  staff: "staff";
@@ -8500,8 +8500,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8500
8500
  }, z.core.$strict>]>>]>>;
8501
8501
  beneficiary: z.ZodString;
8502
8502
  enrollment: z.ZodOptional<z.ZodEnum<{
8503
- none: "none";
8504
8503
  required: "required";
8504
+ none: "none";
8505
8505
  }>>;
8506
8506
  since: z.ZodOptional<z.ZodEnum<{
8507
8507
  activation: "activation";
@@ -8509,9 +8509,9 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8509
8509
  enrollment: "enrollment";
8510
8510
  }>>;
8511
8511
  historical: z.ZodOptional<z.ZodEnum<{
8512
+ automatic: "automatic";
8512
8513
  staff: "staff";
8513
8514
  claim: "claim";
8514
- automatic: "automatic";
8515
8515
  }>>;
8516
8516
  content: z.ZodOptional<z.ZodLiteral<true>>;
8517
8517
  }, z.core.$strict>>;
@@ -8550,8 +8550,8 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8550
8550
  until: z.ZodNumber;
8551
8551
  }, z.core.$strict>>;
8552
8552
  enrollment: z.ZodDefault<z.ZodEnum<{
8553
- none: "none";
8554
8553
  required: "required";
8554
+ none: "none";
8555
8555
  }>>;
8556
8556
  }, z.core.$strict>>;
8557
8557
  availability: z.ZodOptional<z.ZodObject<{
@@ -8632,13 +8632,13 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8632
8632
  quests: z.ZodArray<z.ZodString>;
8633
8633
  }, z.core.$strict>>;
8634
8634
  supportedInteractions: z.ZodArray<z.ZodEnum<{
8635
- text: "text";
8636
- staff: "staff";
8637
- claim: "claim";
8638
8635
  automatic: "automatic";
8636
+ text: "text";
8639
8637
  url: "url";
8640
- quiz: "quiz";
8638
+ staff: "staff";
8641
8639
  photo: "photo";
8640
+ quiz: "quiz";
8641
+ claim: "claim";
8642
8642
  }>>;
8643
8643
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
8644
8644
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;