@domino-sdk/relay 0.31.1 → 1.0.0-next.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.
package/dist/browser.d.ts CHANGED
@@ -754,7 +754,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
754
754
  };
755
755
  enrollment: "none" | "required";
756
756
  posts: "after-enrollment" | "since-start";
757
- historical: "staff" | "automatic" | "claim";
757
+ historical: "automatic" | "claim" | "staff";
758
758
  } | undefined;
759
759
  tracker?: {
760
760
  tracker: string;
@@ -901,7 +901,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
901
901
  } | undefined;
902
902
  } | null;
903
903
  release: string;
904
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
904
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
905
905
  lifecycle: "paused" | "active" | "archived";
906
906
  rewards: ({
907
907
  kind: "points";
@@ -1050,7 +1050,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1050
1050
  };
1051
1051
  enrollment: "none" | "required";
1052
1052
  posts: "after-enrollment" | "since-start";
1053
- historical: "staff" | "automatic" | "claim";
1053
+ historical: "automatic" | "claim" | "staff";
1054
1054
  } | undefined;
1055
1055
  tracker?: {
1056
1056
  tracker: string;
@@ -1197,7 +1197,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1197
1197
  } | undefined;
1198
1198
  } | null;
1199
1199
  release: string;
1200
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
1200
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
1201
1201
  lifecycle: "paused" | "active" | "archived";
1202
1202
  rewards: ({
1203
1203
  kind: "points";
@@ -1294,7 +1294,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1294
1294
  };
1295
1295
  enrollment: "none" | "required";
1296
1296
  posts: "after-enrollment" | "since-start";
1297
- historical: "staff" | "automatic" | "claim";
1297
+ historical: "automatic" | "claim" | "staff";
1298
1298
  } | undefined;
1299
1299
  tracker?: {
1300
1300
  tracker: string;
@@ -1441,7 +1441,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1441
1441
  } | undefined;
1442
1442
  } | null;
1443
1443
  release: string;
1444
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
1444
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
1445
1445
  lifecycle: "paused" | "active" | "archived";
1446
1446
  rewards: ({
1447
1447
  kind: "points";
@@ -1541,7 +1541,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1541
1541
  };
1542
1542
  enrollment: "none" | "required";
1543
1543
  posts: "after-enrollment" | "since-start";
1544
- historical: "staff" | "automatic" | "claim";
1544
+ historical: "automatic" | "claim" | "staff";
1545
1545
  } | undefined;
1546
1546
  tracker?: {
1547
1547
  tracker: string;
@@ -1688,7 +1688,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1688
1688
  } | undefined;
1689
1689
  } | null;
1690
1690
  release: string;
1691
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
1691
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
1692
1692
  lifecycle: "paused" | "active" | "archived";
1693
1693
  rewards: ({
1694
1694
  kind: "points";
@@ -2078,7 +2078,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2078
2078
  };
2079
2079
  enrollment: "none" | "required";
2080
2080
  posts: "after-enrollment" | "since-start";
2081
- historical: "staff" | "automatic" | "claim";
2081
+ historical: "automatic" | "claim" | "staff";
2082
2082
  } | undefined;
2083
2083
  tracker?: {
2084
2084
  tracker: string;
@@ -2426,7 +2426,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2426
2426
  code: string;
2427
2427
  definition: {
2428
2428
  quest: string;
2429
- runtimeVersion: 2 | 1;
2429
+ runtimeVersion: 1 | 2;
2430
2430
  title: string;
2431
2431
  presentation: {
2432
2432
  quiz?: {
@@ -2567,7 +2567,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2567
2567
  };
2568
2568
  enrollment: "none" | "required";
2569
2569
  posts: "after-enrollment" | "since-start";
2570
- historical: "staff" | "automatic" | "claim";
2570
+ historical: "automatic" | "claim" | "staff";
2571
2571
  } | undefined;
2572
2572
  tracker?: {
2573
2573
  tracker: string;
@@ -2631,7 +2631,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2631
2631
  visibility: "visible" | "hidden";
2632
2632
  budgets: {
2633
2633
  id: string;
2634
- scope: "project" | "member";
2634
+ scope: "member" | "project";
2635
2635
  period: "day" | "lifetime" | "week";
2636
2636
  limit: number;
2637
2637
  cost: number | {
@@ -2651,7 +2651,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2651
2651
  code: string;
2652
2652
  definition: {
2653
2653
  quest: string;
2654
- runtimeVersion: 2 | 1;
2654
+ runtimeVersion: 1 | 2;
2655
2655
  title: string;
2656
2656
  presentation: {
2657
2657
  quiz?: {
@@ -2792,7 +2792,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2792
2792
  };
2793
2793
  enrollment: "none" | "required";
2794
2794
  posts: "after-enrollment" | "since-start";
2795
- historical: "staff" | "automatic" | "claim";
2795
+ historical: "automatic" | "claim" | "staff";
2796
2796
  } | undefined;
2797
2797
  tracker?: {
2798
2798
  tracker: string;
@@ -2856,7 +2856,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2856
2856
  visibility: "visible" | "hidden";
2857
2857
  budgets: {
2858
2858
  id: string;
2859
- scope: "project" | "member";
2859
+ scope: "member" | "project";
2860
2860
  period: "day" | "lifetime" | "week";
2861
2861
  limit: number;
2862
2862
  cost: number | {
@@ -2875,7 +2875,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2875
2875
  snapshot: () => Promise<{
2876
2876
  releases: {
2877
2877
  quest: string;
2878
- runtimeVersion: 2 | 1;
2878
+ runtimeVersion: 1 | 2;
2879
2879
  title: string;
2880
2880
  presentation: {
2881
2881
  quiz?: {
@@ -3016,7 +3016,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3016
3016
  };
3017
3017
  enrollment: "none" | "required";
3018
3018
  posts: "after-enrollment" | "since-start";
3019
- historical: "staff" | "automatic" | "claim";
3019
+ historical: "automatic" | "claim" | "staff";
3020
3020
  } | undefined;
3021
3021
  tracker?: {
3022
3022
  tracker: string;
@@ -3080,7 +3080,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3080
3080
  visibility: "visible" | "hidden";
3081
3081
  budgets: {
3082
3082
  id: string;
3083
- scope: "project" | "member";
3083
+ scope: "member" | "project";
3084
3084
  period: "day" | "lifetime" | "week";
3085
3085
  limit: number;
3086
3086
  cost: number | {
@@ -3280,7 +3280,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3280
3280
  }>;
3281
3281
  publish: (release: ReleaseInput) => Promise<{
3282
3282
  quest: string;
3283
- runtimeVersion: 2 | 1;
3283
+ runtimeVersion: 1 | 2;
3284
3284
  title: string;
3285
3285
  presentation: {
3286
3286
  quiz?: {
@@ -3421,7 +3421,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3421
3421
  };
3422
3422
  enrollment: "none" | "required";
3423
3423
  posts: "after-enrollment" | "since-start";
3424
- historical: "staff" | "automatic" | "claim";
3424
+ historical: "automatic" | "claim" | "staff";
3425
3425
  } | undefined;
3426
3426
  tracker?: {
3427
3427
  tracker: string;
@@ -3485,7 +3485,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3485
3485
  visibility: "visible" | "hidden";
3486
3486
  budgets: {
3487
3487
  id: string;
3488
- scope: "project" | "member";
3488
+ scope: "member" | "project";
3489
3489
  period: "day" | "lifetime" | "week";
3490
3490
  limit: number;
3491
3491
  cost: number | {
@@ -3533,7 +3533,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3533
3533
  }>;
3534
3534
  publishBatch: (releases: ReleaseInput[]) => Promise<{
3535
3535
  quest: string;
3536
- runtimeVersion: 2 | 1;
3536
+ runtimeVersion: 1 | 2;
3537
3537
  title: string;
3538
3538
  presentation: {
3539
3539
  quiz?: {
@@ -3674,7 +3674,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3674
3674
  };
3675
3675
  enrollment: "none" | "required";
3676
3676
  posts: "after-enrollment" | "since-start";
3677
- historical: "staff" | "automatic" | "claim";
3677
+ historical: "automatic" | "claim" | "staff";
3678
3678
  } | undefined;
3679
3679
  tracker?: {
3680
3680
  tracker: string;
@@ -3738,7 +3738,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3738
3738
  visibility: "visible" | "hidden";
3739
3739
  budgets: {
3740
3740
  id: string;
3741
- scope: "project" | "member";
3741
+ scope: "member" | "project";
3742
3742
  period: "day" | "lifetime" | "week";
3743
3743
  limit: number;
3744
3744
  cost: number | {
@@ -3824,7 +3824,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3824
3824
  };
3825
3825
  enrollment: "none" | "required";
3826
3826
  posts: "after-enrollment" | "since-start";
3827
- historical: "staff" | "automatic" | "claim";
3827
+ historical: "automatic" | "claim" | "staff";
3828
3828
  } | undefined;
3829
3829
  tracker?: {
3830
3830
  tracker: string;
package/dist/index.d.ts CHANGED
@@ -209,11 +209,11 @@ type ProgressObserver = {
209
209
  };
210
210
 
211
211
  declare const interactionSchema: z.ZodEnum<{
212
- staff: "staff";
213
212
  text: "text";
214
213
  url: "url";
215
214
  automatic: "automatic";
216
215
  claim: "claim";
216
+ staff: "staff";
217
217
  quiz: "quiz";
218
218
  photo: "photo";
219
219
  }>;
@@ -413,9 +413,9 @@ declare const questTypeVersionSchema: z.ZodObject<{
413
413
  "since-start": "since-start";
414
414
  }>>;
415
415
  historical: z.ZodDefault<z.ZodEnum<{
416
- staff: "staff";
417
416
  automatic: "automatic";
418
417
  claim: "claim";
418
+ staff: "staff";
419
419
  }>>;
420
420
  }, z.core.$strict>>;
421
421
  tracker: z.ZodOptional<z.ZodObject<{
@@ -484,8 +484,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
484
484
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
485
485
  id: z.ZodString;
486
486
  scope: z.ZodEnum<{
487
- project: "project";
488
487
  member: "member";
488
+ project: "project";
489
489
  }>;
490
490
  period: z.ZodEnum<{
491
491
  day: "day";
@@ -848,9 +848,9 @@ declare const questCatalogSchema: z.ZodObject<{
848
848
  "since-start": "since-start";
849
849
  }>>;
850
850
  historical: z.ZodDefault<z.ZodEnum<{
851
- staff: "staff";
852
851
  automatic: "automatic";
853
852
  claim: "claim";
853
+ staff: "staff";
854
854
  }>>;
855
855
  }, z.core.$strict>>;
856
856
  tracker: z.ZodOptional<z.ZodObject<{
@@ -919,8 +919,8 @@ declare const questCatalogSchema: z.ZodObject<{
919
919
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
920
920
  id: z.ZodString;
921
921
  scope: z.ZodEnum<{
922
- project: "project";
923
922
  member: "member";
923
+ project: "project";
924
924
  }>;
925
925
  period: z.ZodEnum<{
926
926
  day: "day";
@@ -1227,9 +1227,9 @@ declare const questCatalogSchema: z.ZodObject<{
1227
1227
  "since-start": "since-start";
1228
1228
  }>>;
1229
1229
  historical: z.ZodDefault<z.ZodEnum<{
1230
- staff: "staff";
1231
1230
  automatic: "automatic";
1232
1231
  claim: "claim";
1232
+ staff: "staff";
1233
1233
  }>>;
1234
1234
  }, z.core.$strict>>;
1235
1235
  tracker: z.ZodOptional<z.ZodObject<{
@@ -1298,8 +1298,8 @@ declare const questCatalogSchema: z.ZodObject<{
1298
1298
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1299
1299
  id: z.ZodString;
1300
1300
  scope: z.ZodEnum<{
1301
- project: "project";
1302
1301
  member: "member";
1302
+ project: "project";
1303
1303
  }>;
1304
1304
  period: z.ZodEnum<{
1305
1305
  day: "day";
@@ -1396,7 +1396,7 @@ declare const questCatalogSchema: z.ZodObject<{
1396
1396
  createdAt: z.ZodNumber;
1397
1397
  }, z.core.$strip>, z.ZodTransform<{
1398
1398
  quest: string;
1399
- runtimeVersion: 2 | 1;
1399
+ runtimeVersion: 1 | 2;
1400
1400
  title: string;
1401
1401
  presentation: {
1402
1402
  quiz?: {
@@ -1537,7 +1537,7 @@ declare const questCatalogSchema: z.ZodObject<{
1537
1537
  };
1538
1538
  enrollment: "none" | "required";
1539
1539
  posts: "after-enrollment" | "since-start";
1540
- historical: "staff" | "automatic" | "claim";
1540
+ historical: "automatic" | "claim" | "staff";
1541
1541
  } | undefined;
1542
1542
  tracker?: {
1543
1543
  tracker: string;
@@ -1601,7 +1601,7 @@ declare const questCatalogSchema: z.ZodObject<{
1601
1601
  visibility: "visible" | "hidden";
1602
1602
  budgets: {
1603
1603
  id: string;
1604
- scope: "project" | "member";
1604
+ scope: "member" | "project";
1605
1605
  period: "day" | "lifetime" | "week";
1606
1606
  limit: number;
1607
1607
  cost: number | {
@@ -1684,11 +1684,11 @@ declare const questCatalogSchema: z.ZodObject<{
1684
1684
  createdAt: number;
1685
1685
  }>>]>>>;
1686
1686
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1687
- staff: "staff";
1688
1687
  text: "text";
1689
1688
  url: "url";
1690
1689
  automatic: "automatic";
1691
1690
  claim: "claim";
1691
+ staff: "staff";
1692
1692
  quiz: "quiz";
1693
1693
  photo: "photo";
1694
1694
  }>>;
@@ -1717,11 +1717,11 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1717
1717
  id?: string | undefined;
1718
1718
  }>>>>;
1719
1719
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1720
- staff: "staff";
1721
1720
  text: "text";
1722
1721
  url: "url";
1723
1722
  automatic: "automatic";
1724
1723
  claim: "claim";
1724
+ staff: "staff";
1725
1725
  quiz: "quiz";
1726
1726
  photo: "photo";
1727
1727
  }>>>;
@@ -1922,9 +1922,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1922
1922
  "since-start": "since-start";
1923
1923
  }>>;
1924
1924
  historical: z.ZodDefault<z.ZodEnum<{
1925
- staff: "staff";
1926
1925
  automatic: "automatic";
1927
1926
  claim: "claim";
1927
+ staff: "staff";
1928
1928
  }>>;
1929
1929
  }, z.core.$strict>>;
1930
1930
  tracker: z.ZodOptional<z.ZodObject<{
@@ -1993,8 +1993,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1993
1993
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1994
1994
  id: z.ZodString;
1995
1995
  scope: z.ZodEnum<{
1996
- project: "project";
1997
1996
  member: "member";
1997
+ project: "project";
1998
1998
  }>;
1999
1999
  period: z.ZodEnum<{
2000
2000
  day: "day";
@@ -2022,11 +2022,11 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2022
2022
  title: z.ZodString;
2023
2023
  }, z.core.$strict>>;
2024
2024
  supportedInteractions: z.ZodArray<z.ZodEnum<{
2025
- staff: "staff";
2026
2025
  text: "text";
2027
2026
  url: "url";
2028
2027
  automatic: "automatic";
2029
2028
  claim: "claim";
2029
+ staff: "staff";
2030
2030
  quiz: "quiz";
2031
2031
  photo: "photo";
2032
2032
  }>>;
@@ -2181,9 +2181,9 @@ declare const questViewSchema: z.ZodObject<{
2181
2181
  "since-start": "since-start";
2182
2182
  }>>;
2183
2183
  historical: z.ZodDefault<z.ZodEnum<{
2184
- staff: "staff";
2185
2184
  automatic: "automatic";
2186
2185
  claim: "claim";
2186
+ staff: "staff";
2187
2187
  }>>;
2188
2188
  }, z.core.$strict>>;
2189
2189
  tracker: z.ZodOptional<z.ZodObject<{
@@ -2365,11 +2365,11 @@ declare const questViewSchema: z.ZodObject<{
2365
2365
  }, z.core.$strip>>;
2366
2366
  release: z.ZodString;
2367
2367
  interaction: z.ZodEnum<{
2368
- staff: "staff";
2369
2368
  text: "text";
2370
2369
  url: "url";
2371
2370
  automatic: "automatic";
2372
2371
  claim: "claim";
2372
+ staff: "staff";
2373
2373
  quiz: "quiz";
2374
2374
  photo: "photo";
2375
2375
  }>;
@@ -2490,9 +2490,9 @@ declare const collectionViewSchema: z.ZodObject<{
2490
2490
  "since-start": "since-start";
2491
2491
  }>>;
2492
2492
  historical: z.ZodDefault<z.ZodEnum<{
2493
- staff: "staff";
2494
2493
  automatic: "automatic";
2495
2494
  claim: "claim";
2495
+ staff: "staff";
2496
2496
  }>>;
2497
2497
  }, z.core.$strict>>;
2498
2498
  tracker: z.ZodOptional<z.ZodObject<{
@@ -2674,11 +2674,11 @@ declare const collectionViewSchema: z.ZodObject<{
2674
2674
  }, z.core.$strip>>;
2675
2675
  release: z.ZodString;
2676
2676
  interaction: z.ZodEnum<{
2677
- staff: "staff";
2678
2677
  text: "text";
2679
2678
  url: "url";
2680
2679
  automatic: "automatic";
2681
2680
  claim: "claim";
2681
+ staff: "staff";
2682
2682
  quiz: "quiz";
2683
2683
  photo: "photo";
2684
2684
  }>;
@@ -2798,9 +2798,9 @@ declare const questExperienceSchema: z.ZodObject<{
2798
2798
  "since-start": "since-start";
2799
2799
  }>>;
2800
2800
  historical: z.ZodDefault<z.ZodEnum<{
2801
- staff: "staff";
2802
2801
  automatic: "automatic";
2803
2802
  claim: "claim";
2803
+ staff: "staff";
2804
2804
  }>>;
2805
2805
  }, z.core.$strict>>;
2806
2806
  tracker: z.ZodOptional<z.ZodObject<{
@@ -2982,11 +2982,11 @@ declare const questExperienceSchema: z.ZodObject<{
2982
2982
  }, z.core.$strip>>;
2983
2983
  release: z.ZodString;
2984
2984
  interaction: z.ZodEnum<{
2985
- staff: "staff";
2986
2985
  text: "text";
2987
2986
  url: "url";
2988
2987
  automatic: "automatic";
2989
2988
  claim: "claim";
2989
+ staff: "staff";
2990
2990
  quiz: "quiz";
2991
2991
  photo: "photo";
2992
2992
  }>;
@@ -3107,9 +3107,9 @@ declare const questExperienceSchema: z.ZodObject<{
3107
3107
  "since-start": "since-start";
3108
3108
  }>>;
3109
3109
  historical: z.ZodDefault<z.ZodEnum<{
3110
- staff: "staff";
3111
3110
  automatic: "automatic";
3112
3111
  claim: "claim";
3112
+ staff: "staff";
3113
3113
  }>>;
3114
3114
  }, z.core.$strict>>;
3115
3115
  tracker: z.ZodOptional<z.ZodObject<{
@@ -3291,11 +3291,11 @@ declare const questExperienceSchema: z.ZodObject<{
3291
3291
  }, z.core.$strip>>;
3292
3292
  release: z.ZodString;
3293
3293
  interaction: z.ZodEnum<{
3294
- staff: "staff";
3295
3294
  text: "text";
3296
3295
  url: "url";
3297
3296
  automatic: "automatic";
3298
3297
  claim: "claim";
3298
+ staff: "staff";
3299
3299
  quiz: "quiz";
3300
3300
  photo: "photo";
3301
3301
  }>;
@@ -3594,9 +3594,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3594
3594
  "since-start": "since-start";
3595
3595
  }>>;
3596
3596
  historical: z.ZodDefault<z.ZodEnum<{
3597
- staff: "staff";
3598
3597
  automatic: "automatic";
3599
3598
  claim: "claim";
3599
+ staff: "staff";
3600
3600
  }>>;
3601
3601
  }, z.core.$strict>>;
3602
3602
  tracker: z.ZodOptional<z.ZodObject<{
@@ -3665,8 +3665,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3665
3665
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
3666
3666
  id: z.ZodString;
3667
3667
  scope: z.ZodEnum<{
3668
- project: "project";
3669
3668
  member: "member";
3669
+ project: "project";
3670
3670
  }>;
3671
3671
  period: z.ZodEnum<{
3672
3672
  day: "day";
@@ -3763,7 +3763,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3763
3763
  createdAt: z.ZodNumber;
3764
3764
  }, z.core.$strip>, z.ZodTransform<{
3765
3765
  quest: string;
3766
- runtimeVersion: 2 | 1;
3766
+ runtimeVersion: 1 | 2;
3767
3767
  title: string;
3768
3768
  presentation: {
3769
3769
  quiz?: {
@@ -3904,7 +3904,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3904
3904
  };
3905
3905
  enrollment: "none" | "required";
3906
3906
  posts: "after-enrollment" | "since-start";
3907
- historical: "staff" | "automatic" | "claim";
3907
+ historical: "automatic" | "claim" | "staff";
3908
3908
  } | undefined;
3909
3909
  tracker?: {
3910
3910
  tracker: string;
@@ -3968,7 +3968,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3968
3968
  visibility: "visible" | "hidden";
3969
3969
  budgets: {
3970
3970
  id: string;
3971
- scope: "project" | "member";
3971
+ scope: "member" | "project";
3972
3972
  period: "day" | "lifetime" | "week";
3973
3973
  limit: number;
3974
3974
  cost: number | {
@@ -4654,11 +4654,11 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4654
4654
  id?: string | undefined;
4655
4655
  }>>>>;
4656
4656
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4657
- staff: "staff";
4658
4657
  text: "text";
4659
4658
  url: "url";
4660
4659
  automatic: "automatic";
4661
4660
  claim: "claim";
4661
+ staff: "staff";
4662
4662
  quiz: "quiz";
4663
4663
  photo: "photo";
4664
4664
  }>>>;
@@ -5163,11 +5163,11 @@ declare const projectDeploymentSchema: z.ZodObject<{
5163
5163
  id?: string | undefined;
5164
5164
  }>>>>;
5165
5165
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5166
- staff: "staff";
5167
5166
  text: "text";
5168
5167
  url: "url";
5169
5168
  automatic: "automatic";
5170
5169
  claim: "claim";
5170
+ staff: "staff";
5171
5171
  quiz: "quiz";
5172
5172
  photo: "photo";
5173
5173
  }>>>;
@@ -6013,9 +6013,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6013
6013
  "since-start": "since-start";
6014
6014
  }>>;
6015
6015
  historical: z.ZodDefault<z.ZodEnum<{
6016
- staff: "staff";
6017
6016
  automatic: "automatic";
6018
6017
  claim: "claim";
6018
+ staff: "staff";
6019
6019
  }>>;
6020
6020
  }, z.core.$strict>>;
6021
6021
  tracker: z.ZodOptional<z.ZodObject<{
@@ -6084,8 +6084,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6084
6084
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
6085
6085
  id: z.ZodString;
6086
6086
  scope: z.ZodEnum<{
6087
- project: "project";
6088
6087
  member: "member";
6088
+ project: "project";
6089
6089
  }>;
6090
6090
  period: z.ZodEnum<{
6091
6091
  day: "day";
@@ -6182,7 +6182,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6182
6182
  createdAt: z.ZodNumber;
6183
6183
  }, z.core.$strip>, z.ZodTransform<{
6184
6184
  quest: string;
6185
- runtimeVersion: 2 | 1;
6185
+ runtimeVersion: 1 | 2;
6186
6186
  title: string;
6187
6187
  presentation: {
6188
6188
  quiz?: {
@@ -6323,7 +6323,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6323
6323
  };
6324
6324
  enrollment: "none" | "required";
6325
6325
  posts: "after-enrollment" | "since-start";
6326
- historical: "staff" | "automatic" | "claim";
6326
+ historical: "automatic" | "claim" | "staff";
6327
6327
  } | undefined;
6328
6328
  tracker?: {
6329
6329
  tracker: string;
@@ -6387,7 +6387,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6387
6387
  visibility: "visible" | "hidden";
6388
6388
  budgets: {
6389
6389
  id: string;
6390
- scope: "project" | "member";
6390
+ scope: "member" | "project";
6391
6391
  period: "day" | "lifetime" | "week";
6392
6392
  limit: number;
6393
6393
  cost: number | {
@@ -6663,9 +6663,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6663
6663
  "since-start": "since-start";
6664
6664
  }>>;
6665
6665
  historical: z.ZodDefault<z.ZodEnum<{
6666
- staff: "staff";
6667
6666
  automatic: "automatic";
6668
6667
  claim: "claim";
6668
+ staff: "staff";
6669
6669
  }>>;
6670
6670
  }, z.core.$strict>>;
6671
6671
  tracker: z.ZodOptional<z.ZodObject<{
@@ -6734,8 +6734,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6734
6734
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
6735
6735
  id: z.ZodString;
6736
6736
  scope: z.ZodEnum<{
6737
- project: "project";
6738
6737
  member: "member";
6738
+ project: "project";
6739
6739
  }>;
6740
6740
  period: z.ZodEnum<{
6741
6741
  day: "day";
@@ -6764,11 +6764,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6764
6764
  quests: z.ZodArray<z.ZodString>;
6765
6765
  }, z.core.$strict>>;
6766
6766
  supportedInteractions: z.ZodArray<z.ZodEnum<{
6767
- staff: "staff";
6768
6767
  text: "text";
6769
6768
  url: "url";
6770
6769
  automatic: "automatic";
6771
6770
  claim: "claim";
6771
+ staff: "staff";
6772
6772
  quiz: "quiz";
6773
6773
  photo: "photo";
6774
6774
  }>>;
@@ -7503,9 +7503,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7503
7503
  "since-start": "since-start";
7504
7504
  }>>;
7505
7505
  historical: z.ZodDefault<z.ZodEnum<{
7506
- staff: "staff";
7507
7506
  automatic: "automatic";
7508
7507
  claim: "claim";
7508
+ staff: "staff";
7509
7509
  }>>;
7510
7510
  }, z.core.$strict>>;
7511
7511
  tracker: z.ZodOptional<z.ZodObject<{
@@ -7574,8 +7574,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7574
7574
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
7575
7575
  id: z.ZodString;
7576
7576
  scope: z.ZodEnum<{
7577
- project: "project";
7578
7577
  member: "member";
7578
+ project: "project";
7579
7579
  }>;
7580
7580
  period: z.ZodEnum<{
7581
7581
  day: "day";
@@ -7672,7 +7672,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7672
7672
  createdAt: z.ZodNumber;
7673
7673
  }, z.core.$strip>, z.ZodTransform<{
7674
7674
  quest: string;
7675
- runtimeVersion: 2 | 1;
7675
+ runtimeVersion: 1 | 2;
7676
7676
  title: string;
7677
7677
  presentation: {
7678
7678
  quiz?: {
@@ -7813,7 +7813,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7813
7813
  };
7814
7814
  enrollment: "none" | "required";
7815
7815
  posts: "after-enrollment" | "since-start";
7816
- historical: "staff" | "automatic" | "claim";
7816
+ historical: "automatic" | "claim" | "staff";
7817
7817
  } | undefined;
7818
7818
  tracker?: {
7819
7819
  tracker: string;
@@ -7877,7 +7877,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7877
7877
  visibility: "visible" | "hidden";
7878
7878
  budgets: {
7879
7879
  id: string;
7880
- scope: "project" | "member";
7880
+ scope: "member" | "project";
7881
7881
  period: "day" | "lifetime" | "week";
7882
7882
  limit: number;
7883
7883
  cost: number | {
@@ -8153,9 +8153,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8153
8153
  "since-start": "since-start";
8154
8154
  }>>;
8155
8155
  historical: z.ZodDefault<z.ZodEnum<{
8156
- staff: "staff";
8157
8156
  automatic: "automatic";
8158
8157
  claim: "claim";
8158
+ staff: "staff";
8159
8159
  }>>;
8160
8160
  }, z.core.$strict>>;
8161
8161
  tracker: z.ZodOptional<z.ZodObject<{
@@ -8224,8 +8224,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8224
8224
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
8225
8225
  id: z.ZodString;
8226
8226
  scope: z.ZodEnum<{
8227
- project: "project";
8228
8227
  member: "member";
8228
+ project: "project";
8229
8229
  }>;
8230
8230
  period: z.ZodEnum<{
8231
8231
  day: "day";
@@ -8254,11 +8254,11 @@ declare const deploymentResultSchema: z.ZodObject<{
8254
8254
  quests: z.ZodArray<z.ZodString>;
8255
8255
  }, z.core.$strict>>;
8256
8256
  supportedInteractions: z.ZodArray<z.ZodEnum<{
8257
- staff: "staff";
8258
8257
  text: "text";
8259
8258
  url: "url";
8260
8259
  automatic: "automatic";
8261
8260
  claim: "claim";
8261
+ staff: "staff";
8262
8262
  quiz: "quiz";
8263
8263
  photo: "photo";
8264
8264
  }>>;
@@ -9277,7 +9277,7 @@ declare function createRelayClient(options: {
9277
9277
  };
9278
9278
  enrollment: "none" | "required";
9279
9279
  posts: "after-enrollment" | "since-start";
9280
- historical: "staff" | "automatic" | "claim";
9280
+ historical: "automatic" | "claim" | "staff";
9281
9281
  } | undefined;
9282
9282
  tracker?: {
9283
9283
  tracker: string;
@@ -9424,7 +9424,7 @@ declare function createRelayClient(options: {
9424
9424
  } | undefined;
9425
9425
  } | null;
9426
9426
  release: string;
9427
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9427
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
9428
9428
  lifecycle: "paused" | "active" | "archived";
9429
9429
  rewards: ({
9430
9430
  kind: "points";
@@ -9573,7 +9573,7 @@ declare function createRelayClient(options: {
9573
9573
  };
9574
9574
  enrollment: "none" | "required";
9575
9575
  posts: "after-enrollment" | "since-start";
9576
- historical: "staff" | "automatic" | "claim";
9576
+ historical: "automatic" | "claim" | "staff";
9577
9577
  } | undefined;
9578
9578
  tracker?: {
9579
9579
  tracker: string;
@@ -9720,7 +9720,7 @@ declare function createRelayClient(options: {
9720
9720
  } | undefined;
9721
9721
  } | null;
9722
9722
  release: string;
9723
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9723
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
9724
9724
  lifecycle: "paused" | "active" | "archived";
9725
9725
  rewards: ({
9726
9726
  kind: "points";
@@ -9817,7 +9817,7 @@ declare function createRelayClient(options: {
9817
9817
  };
9818
9818
  enrollment: "none" | "required";
9819
9819
  posts: "after-enrollment" | "since-start";
9820
- historical: "staff" | "automatic" | "claim";
9820
+ historical: "automatic" | "claim" | "staff";
9821
9821
  } | undefined;
9822
9822
  tracker?: {
9823
9823
  tracker: string;
@@ -9964,7 +9964,7 @@ declare function createRelayClient(options: {
9964
9964
  } | undefined;
9965
9965
  } | null;
9966
9966
  release: string;
9967
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9967
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
9968
9968
  lifecycle: "paused" | "active" | "archived";
9969
9969
  rewards: ({
9970
9970
  kind: "points";
@@ -10064,7 +10064,7 @@ declare function createRelayClient(options: {
10064
10064
  };
10065
10065
  enrollment: "none" | "required";
10066
10066
  posts: "after-enrollment" | "since-start";
10067
- historical: "staff" | "automatic" | "claim";
10067
+ historical: "automatic" | "claim" | "staff";
10068
10068
  } | undefined;
10069
10069
  tracker?: {
10070
10070
  tracker: string;
@@ -10211,7 +10211,7 @@ declare function createRelayClient(options: {
10211
10211
  } | undefined;
10212
10212
  } | null;
10213
10213
  release: string;
10214
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
10214
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
10215
10215
  lifecycle: "paused" | "active" | "archived";
10216
10216
  rewards: ({
10217
10217
  kind: "points";
@@ -10618,7 +10618,7 @@ declare function createRelayClient(options: {
10618
10618
  };
10619
10619
  enrollment: "none" | "required";
10620
10620
  posts: "after-enrollment" | "since-start";
10621
- historical: "staff" | "automatic" | "claim";
10621
+ historical: "automatic" | "claim" | "staff";
10622
10622
  } | undefined;
10623
10623
  tracker?: {
10624
10624
  tracker: string;
@@ -10968,7 +10968,7 @@ declare function createRelayClient(options: {
10968
10968
  code: string;
10969
10969
  definition: {
10970
10970
  quest: string;
10971
- runtimeVersion: 2 | 1;
10971
+ runtimeVersion: 1 | 2;
10972
10972
  title: string;
10973
10973
  presentation: {
10974
10974
  quiz?: {
@@ -11109,7 +11109,7 @@ declare function createRelayClient(options: {
11109
11109
  };
11110
11110
  enrollment: "none" | "required";
11111
11111
  posts: "after-enrollment" | "since-start";
11112
- historical: "staff" | "automatic" | "claim";
11112
+ historical: "automatic" | "claim" | "staff";
11113
11113
  } | undefined;
11114
11114
  tracker?: {
11115
11115
  tracker: string;
@@ -11173,7 +11173,7 @@ declare function createRelayClient(options: {
11173
11173
  visibility: "visible" | "hidden";
11174
11174
  budgets: {
11175
11175
  id: string;
11176
- scope: "project" | "member";
11176
+ scope: "member" | "project";
11177
11177
  period: "day" | "lifetime" | "week";
11178
11178
  limit: number;
11179
11179
  cost: number | {
@@ -11194,7 +11194,7 @@ declare function createRelayClient(options: {
11194
11194
  code: string;
11195
11195
  definition: {
11196
11196
  quest: string;
11197
- runtimeVersion: 2 | 1;
11197
+ runtimeVersion: 1 | 2;
11198
11198
  title: string;
11199
11199
  presentation: {
11200
11200
  quiz?: {
@@ -11335,7 +11335,7 @@ declare function createRelayClient(options: {
11335
11335
  };
11336
11336
  enrollment: "none" | "required";
11337
11337
  posts: "after-enrollment" | "since-start";
11338
- historical: "staff" | "automatic" | "claim";
11338
+ historical: "automatic" | "claim" | "staff";
11339
11339
  } | undefined;
11340
11340
  tracker?: {
11341
11341
  tracker: string;
@@ -11399,7 +11399,7 @@ declare function createRelayClient(options: {
11399
11399
  visibility: "visible" | "hidden";
11400
11400
  budgets: {
11401
11401
  id: string;
11402
- scope: "project" | "member";
11402
+ scope: "member" | "project";
11403
11403
  period: "day" | "lifetime" | "week";
11404
11404
  limit: number;
11405
11405
  cost: number | {
@@ -11419,7 +11419,7 @@ declare function createRelayClient(options: {
11419
11419
  snapshot: () => Promise<{
11420
11420
  releases: {
11421
11421
  quest: string;
11422
- runtimeVersion: 2 | 1;
11422
+ runtimeVersion: 1 | 2;
11423
11423
  title: string;
11424
11424
  presentation: {
11425
11425
  quiz?: {
@@ -11560,7 +11560,7 @@ declare function createRelayClient(options: {
11560
11560
  };
11561
11561
  enrollment: "none" | "required";
11562
11562
  posts: "after-enrollment" | "since-start";
11563
- historical: "staff" | "automatic" | "claim";
11563
+ historical: "automatic" | "claim" | "staff";
11564
11564
  } | undefined;
11565
11565
  tracker?: {
11566
11566
  tracker: string;
@@ -11624,7 +11624,7 @@ declare function createRelayClient(options: {
11624
11624
  visibility: "visible" | "hidden";
11625
11625
  budgets: {
11626
11626
  id: string;
11627
- scope: "project" | "member";
11627
+ scope: "member" | "project";
11628
11628
  period: "day" | "lifetime" | "week";
11629
11629
  limit: number;
11630
11630
  cost: number | {
@@ -11825,7 +11825,7 @@ declare function createRelayClient(options: {
11825
11825
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
11826
11826
  publish: (release: ReleaseInput) => Promise<{
11827
11827
  quest: string;
11828
- runtimeVersion: 2 | 1;
11828
+ runtimeVersion: 1 | 2;
11829
11829
  title: string;
11830
11830
  presentation: {
11831
11831
  quiz?: {
@@ -11966,7 +11966,7 @@ declare function createRelayClient(options: {
11966
11966
  };
11967
11967
  enrollment: "none" | "required";
11968
11968
  posts: "after-enrollment" | "since-start";
11969
- historical: "staff" | "automatic" | "claim";
11969
+ historical: "automatic" | "claim" | "staff";
11970
11970
  } | undefined;
11971
11971
  tracker?: {
11972
11972
  tracker: string;
@@ -12030,7 +12030,7 @@ declare function createRelayClient(options: {
12030
12030
  visibility: "visible" | "hidden";
12031
12031
  budgets: {
12032
12032
  id: string;
12033
- scope: "project" | "member";
12033
+ scope: "member" | "project";
12034
12034
  period: "day" | "lifetime" | "week";
12035
12035
  limit: number;
12036
12036
  cost: number | {
@@ -12079,7 +12079,7 @@ declare function createRelayClient(options: {
12079
12079
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
12080
12080
  publishBatch: (releases: ReleaseInput[]) => Promise<{
12081
12081
  quest: string;
12082
- runtimeVersion: 2 | 1;
12082
+ runtimeVersion: 1 | 2;
12083
12083
  title: string;
12084
12084
  presentation: {
12085
12085
  quiz?: {
@@ -12220,7 +12220,7 @@ declare function createRelayClient(options: {
12220
12220
  };
12221
12221
  enrollment: "none" | "required";
12222
12222
  posts: "after-enrollment" | "since-start";
12223
- historical: "staff" | "automatic" | "claim";
12223
+ historical: "automatic" | "claim" | "staff";
12224
12224
  } | undefined;
12225
12225
  tracker?: {
12226
12226
  tracker: string;
@@ -12284,7 +12284,7 @@ declare function createRelayClient(options: {
12284
12284
  visibility: "visible" | "hidden";
12285
12285
  budgets: {
12286
12286
  id: string;
12287
- scope: "project" | "member";
12287
+ scope: "member" | "project";
12288
12288
  period: "day" | "lifetime" | "week";
12289
12289
  limit: number;
12290
12290
  cost: number | {
@@ -12370,7 +12370,7 @@ declare function createRelayClient(options: {
12370
12370
  };
12371
12371
  enrollment: "none" | "required";
12372
12372
  posts: "after-enrollment" | "since-start";
12373
- historical: "staff" | "automatic" | "claim";
12373
+ historical: "automatic" | "claim" | "staff";
12374
12374
  } | undefined;
12375
12375
  tracker?: {
12376
12376
  tracker: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domino-sdk/relay",
3
- "version": "0.31.1",
3
+ "version": "1.0.0-next.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {