@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,94 +1,8 @@
1
- import { x as PublishedRelease, ag as TrackerSource, a4 as TrackerDataSchema, ai as TrackerSourceResponse, z as QuestDescription } from './schema-BPdHSCAc.js';
2
- export { cU as TrackerDataBudget, cV as schemaCheckedReader, cW as trackerDataBatchSteps, cX as trackerDataIssue, cY as trackerDataIssues, cZ as trackerDataPathTypes, c_ as trackerDataRecordSteps, c$ as whereSchemaIssue } from './schema-BPdHSCAc.js';
3
- export { I as IdentityKindClaim, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, c as identityKindClaimSchema, p as participantExchangeSchema } from './identity-integration-BPovus6e.js';
4
- import { c as ImageFields, g as ImageRequest } from './images-D7en0Awp.js';
5
- export { E as Extracted } from './images-D7en0Awp.js';
1
+ export { I as IdentityKindClaim, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, m as sourceRoles, v as validateQuestShape } from './referral-reward-kinds-Flbb1D2q.js';
2
+ export { E as Extracted } from './images-Dekv3DYF.js';
6
3
  import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
7
- import { z } from 'zod';
8
-
9
- /** Older releases did not record ownership. Preserve every value, including defaults. */
10
- declare function questConfiguration(release: PublishedRelease): {
11
- defaults: Record<string, string | number | boolean | {
12
- id: string;
13
- prompt: string;
14
- choices: {
15
- id: string;
16
- label: string;
17
- }[];
18
- correct: string;
19
- }[]>;
20
- overrides: Record<string, string | number | boolean | {
21
- id: string;
22
- prompt: string;
23
- choices: {
24
- id: string;
25
- label: string;
26
- }[];
27
- correct: string;
28
- }[]>;
29
- preserved: string[];
30
- };
31
-
32
- /** Every declared field is present with its declared type or null; nothing else is returned. */
33
- declare function parseImageExtraction(raw: ImageFields, value: unknown): {
34
- values: Record<string, string | number | boolean | null>;
35
- reason: string;
36
- };
37
- declare function parseImageResult(request: ImageRequest, value: unknown): {
38
- kind: "pass" | "fail" | "unclear";
39
- reason: string;
40
- } | {
41
- width: number;
42
- height: number;
43
- format: "jpeg" | "png" | "webp" | "gif" | "avif";
44
- bytes: number;
45
- sha256: string;
46
- phash: string;
47
- dhash: string;
48
- } | {
49
- identical: boolean;
50
- phashDistance: number;
51
- dhashDistance: number;
52
- } | {
53
- values: Record<string, string | number | boolean | null>;
54
- reason: string;
55
- } | {
56
- matches: number;
57
- closestDistance: number | null;
58
- firstSeenAt: number | null;
59
- };
60
-
61
- /**
62
- * One participant route. `path` uses the API's route syntax: every parameter is `:name{pattern}`,
63
- * one path segment matched by `pattern`.
64
- */
65
- type ParticipantRoute = {
66
- method: "GET" | "POST";
67
- path: `/v1/${string}`;
68
- /**
69
- * Sign-in routes only hosted apps reach: identity integrations' apps have their own login. They
70
- * still connect accounts through /v1/auth/start and /v1/auth/complete.
71
- */
72
- hostedOnly?: true;
73
- };
74
- declare const participantRoutes: readonly ParticipantRoute[];
75
- /**
76
- * The expression a route path matches: its literal parts exactly, each `:name{pattern}` one path
77
- * segment. A parameter whose pattern can match "/" would span segments, so it is refused, as is a
78
- * parameter without a pattern.
79
- */
80
- declare function participantRoutePattern(path: string): RegExp;
81
- /**
82
- * A route a hosted app reaches through `proxyParticipant`: exactly a listed method and path.
83
- * Another method on a listed path is not a participant route either.
84
- */
85
- declare function isParticipantRoute(path: string, method: string): boolean;
86
- /**
87
- * A path an identity integration reaches, with any method: the API answers a method its route
88
- * does not register with 405, and OPTIONS with the route's `Allow` header. Sign-in routes are
89
- * hosted-only.
90
- */
91
- declare function isIntegrationParticipantPath(path: string): boolean;
4
+ export { i as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, j as trackerDataIssue, k as trackerDataIssues, l as trackerDataPathTypes, m as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-BCuiO7eD.js';
5
+ import 'zod';
92
6
 
93
7
  /** The management client's and the CLI's default deadline per call. */
94
8
  declare const MANAGEMENT_TIMEOUT = 30000;
@@ -135,32 +49,4 @@ type Rules = {
135
49
  */
136
50
  declare function retrying<T>(life: Lifetime, rules: Rules, attempt: () => Promise<T>): Promise<T>;
137
51
 
138
- /**
139
- * How Relay reads back a cursor it issued over a numeric position. Clients treat cursors as
140
- * opaque strings (`pageCursorSchema`); only the server parses them, so the format can change.
141
- */
142
- declare const sequenceCursorSchema: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>, z.ZodNumber>;
143
-
144
- /** The account roles a source's records can name: `author` and any others the source declares. */
145
- declare function sourceRoles(source: TrackerSourceResponse): readonly string[];
146
- /**
147
- * The schema a source's record `data` matches: a custom source's declared schema, a Discord
148
- * source's fixed one, or undefined for X (provider payloads) and untyped custom trackers.
149
- */
150
- declare function sourceDataSchema(source: TrackerSource): TrackerDataSchema | undefined;
151
-
152
- /** Rules independent of published resources, permissions and another release. */
153
- type QuestShape = Pick<QuestDescription, "trigger" | "performance"> & {
154
- completion: Pick<QuestDescription["completion"], "kind">;
155
- requires: readonly unknown[];
156
- };
157
- /** The same trigger/completion matrix for authoring, publication and graph validation. */
158
- declare function validateQuestShape(description: QuestShape, options?: {
159
- template?: boolean;
160
- }): void;
161
-
162
- declare const REFERRAL_INTEGRATION_REWARD_ERROR = "Referral programs can grant points and tiered rewards; Discord roles need a quest";
163
- /** Detect the unsupported reward in loose authoring, published, or reward-list shapes. */
164
- declare function containsReferralIntegrationReward(value: unknown): boolean;
165
-
166
- export { type AttemptFailure, type Lifetime, MANAGEMENT_TIMEOUT, type ParticipantRoute, REFERRAL_INTEGRATION_REWARD_ERROR, containsReferralIntegrationReward, isIntegrationParticipantPath, isParticipantRoute, lifetime, parseImageExtraction, parseImageResult, participantRoutePattern, participantRoutes, questConfiguration, retryAfter, retrying, sequenceCursorSchema, sourceDataSchema, sourceRoles, validateQuestShape };
52
+ export { type AttemptFailure, type Lifetime, MANAGEMENT_TIMEOUT, lifetime, retryAfter, retrying };
package/dist/internal.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  participantExchangeSchema,
11
11
  questConfiguration,
12
12
  sequenceCursorSchema
13
- } from "./chunk-QGLHZ2E5.js";
13
+ } from "./chunk-5ECM6AWV.js";
14
14
  import "./chunk-JW4G3SY5.js";
15
15
  import {
16
16
  sourceDataSchema,
@@ -1,5 +1,5 @@
1
- import { cN as ResourceHandle } from './schema-BPdHSCAc.js';
2
- import { b9 as AuthoringIdentity } from './groups-D08JtrZu.js';
1
+ import { cV as ResourceHandle } from './schema-BCuiO7eD.js';
2
+ import { b9 as AuthoringIdentity } from './groups-Dvmd4CYk.js';
3
3
  import { z } from 'zod';
4
4
 
5
5
  declare const offerPriceSchema: z.ZodObject<{
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { a as AttemptStatus, bq as questDescriptionSchema, h as TrackerSkipCode } from './schema-BPdHSCAc.js';
2
+ import { a as AttemptStatus, by as questDescriptionSchema, h as TrackerSkipCode } from './schema-BCuiO7eD.js';
3
3
 
4
4
  /**
5
5
  * The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
@@ -187,11 +187,11 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
187
187
  type RewardDelivery = z.infer<typeof rewardDeliverySchema>;
188
188
 
189
189
  declare const interactionSchema: z.ZodEnum<{
190
+ url: "url";
190
191
  text: "text";
191
192
  staff: "staff";
192
193
  claim: "claim";
193
194
  automatic: "automatic";
194
- url: "url";
195
195
  quiz: "quiz";
196
196
  photo: "photo";
197
197
  }>;
@@ -430,8 +430,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
430
430
  required: "required";
431
431
  }>>;
432
432
  since: z.ZodOptional<z.ZodEnum<{
433
- activation: "activation";
434
433
  window: "window";
434
+ activation: "activation";
435
435
  enrollment: "enrollment";
436
436
  }>>;
437
437
  historical: z.ZodOptional<z.ZodEnum<{
@@ -652,8 +652,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
652
652
  expectedRelease: z.ZodNullable<z.ZodString>;
653
653
  }, z.core.$strict>>;
654
654
  collections: z.ZodArray<z.ZodObject<{
655
- id: z.ZodString;
656
655
  key: z.ZodOptional<z.ZodString>;
656
+ id: z.ZodString;
657
657
  title: z.ZodString;
658
658
  quests: z.ZodArray<z.ZodString>;
659
659
  }, z.core.$strict>>;
@@ -706,8 +706,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
706
706
  expectedRelease: z.ZodNullable<z.ZodString>;
707
707
  }, z.core.$strict>>;
708
708
  collections: z.ZodArray<z.ZodObject<{
709
- id: z.ZodString;
710
709
  key: z.ZodOptional<z.ZodString>;
710
+ id: z.ZodString;
711
711
  title: z.ZodString;
712
712
  quests: z.ZodArray<z.ZodString>;
713
713
  }, z.core.$strict>>;
@@ -761,8 +761,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
761
761
  expectedRelease: z.ZodNullable<z.ZodString>;
762
762
  }, z.core.$strict>>;
763
763
  collections: z.ZodArray<z.ZodObject<{
764
- id: z.ZodString;
765
764
  key: z.ZodOptional<z.ZodString>;
765
+ id: z.ZodString;
766
766
  title: z.ZodString;
767
767
  quests: z.ZodArray<z.ZodString>;
768
768
  }, z.core.$strict>>;
@@ -1000,8 +1000,8 @@ declare const questCatalogSchema: z.ZodObject<{
1000
1000
  required: "required";
1001
1001
  }>>;
1002
1002
  since: z.ZodOptional<z.ZodEnum<{
1003
- activation: "activation";
1004
1003
  window: "window";
1004
+ activation: "activation";
1005
1005
  enrollment: "enrollment";
1006
1006
  }>>;
1007
1007
  historical: z.ZodOptional<z.ZodEnum<{
@@ -1216,8 +1216,8 @@ declare const questCatalogSchema: z.ZodObject<{
1216
1216
  expectedRelease: z.ZodNullable<z.ZodString>;
1217
1217
  }, z.core.$strict>>;
1218
1218
  collections: z.ZodArray<z.ZodObject<{
1219
- id: z.ZodString;
1220
1219
  key: z.ZodOptional<z.ZodString>;
1220
+ id: z.ZodString;
1221
1221
  title: z.ZodString;
1222
1222
  quests: z.ZodArray<z.ZodString>;
1223
1223
  }, z.core.$strict>>;
@@ -1271,8 +1271,8 @@ declare const questCatalogSchema: z.ZodObject<{
1271
1271
  expectedRelease: z.ZodNullable<z.ZodString>;
1272
1272
  }, z.core.$strict>>;
1273
1273
  collections: z.ZodArray<z.ZodObject<{
1274
- id: z.ZodString;
1275
1274
  key: z.ZodOptional<z.ZodString>;
1275
+ id: z.ZodString;
1276
1276
  title: z.ZodString;
1277
1277
  quests: z.ZodArray<z.ZodString>;
1278
1278
  }, z.core.$strict>>;
@@ -1502,8 +1502,8 @@ declare const questCatalogSchema: z.ZodObject<{
1502
1502
  required: "required";
1503
1503
  }>>;
1504
1504
  since: z.ZodOptional<z.ZodEnum<{
1505
- activation: "activation";
1506
1505
  window: "window";
1506
+ activation: "activation";
1507
1507
  enrollment: "enrollment";
1508
1508
  }>>;
1509
1509
  historical: z.ZodOptional<z.ZodEnum<{
@@ -1654,11 +1654,11 @@ declare const questCatalogSchema: z.ZodObject<{
1654
1654
  }, z.core.$strict>>;
1655
1655
  }, z.core.$strict>>>;
1656
1656
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1657
+ url: "url";
1657
1658
  text: "text";
1658
1659
  staff: "staff";
1659
1660
  claim: "claim";
1660
1661
  automatic: "automatic";
1661
- url: "url";
1662
1662
  quiz: "quiz";
1663
1663
  photo: "photo";
1664
1664
  }>>;
@@ -1676,11 +1676,11 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1676
1676
  key: z.ZodString;
1677
1677
  }, z.core.$strict>>>;
1678
1678
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1679
+ url: "url";
1679
1680
  text: "text";
1680
1681
  staff: "staff";
1681
1682
  claim: "claim";
1682
1683
  automatic: "automatic";
1683
- url: "url";
1684
1684
  quiz: "quiz";
1685
1685
  photo: "photo";
1686
1686
  }>>>;
@@ -1915,8 +1915,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1915
1915
  required: "required";
1916
1916
  }>>;
1917
1917
  since: z.ZodOptional<z.ZodEnum<{
1918
- activation: "activation";
1919
1918
  window: "window";
1919
+ activation: "activation";
1920
1920
  enrollment: "enrollment";
1921
1921
  }>>;
1922
1922
  historical: z.ZodOptional<z.ZodEnum<{
@@ -2042,11 +2042,11 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2042
2042
  title: z.ZodString;
2043
2043
  }, z.core.$strict>>;
2044
2044
  supportedInteractions: z.ZodArray<z.ZodEnum<{
2045
+ url: "url";
2045
2046
  text: "text";
2046
2047
  staff: "staff";
2047
2048
  claim: "claim";
2048
2049
  automatic: "automatic";
2049
- url: "url";
2050
2050
  quiz: "quiz";
2051
2051
  photo: "photo";
2052
2052
  }>>;
@@ -2100,8 +2100,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
2100
2100
  expectedRelease: z.ZodNullable<z.ZodString>;
2101
2101
  }, z.core.$strict>>;
2102
2102
  collections: z.ZodArray<z.ZodObject<{
2103
- id: z.ZodString;
2104
2103
  key: z.ZodOptional<z.ZodString>;
2104
+ id: z.ZodString;
2105
2105
  title: z.ZodString;
2106
2106
  quests: z.ZodArray<z.ZodString>;
2107
2107
  }, z.core.$strict>>;
@@ -2252,8 +2252,8 @@ declare const questViewSchema: z.ZodObject<{
2252
2252
  required: "required";
2253
2253
  }>>;
2254
2254
  since: z.ZodOptional<z.ZodEnum<{
2255
- activation: "activation";
2256
2255
  window: "window";
2256
+ activation: "activation";
2257
2257
  enrollment: "enrollment";
2258
2258
  }>>;
2259
2259
  historical: z.ZodOptional<z.ZodEnum<{
@@ -2267,9 +2267,9 @@ declare const questViewSchema: z.ZodObject<{
2267
2267
  availability: z.ZodUnion<(z.ZodObject<{
2268
2268
  kind: z.ZodLiteral<"available">;
2269
2269
  input: z.ZodEnum<{
2270
+ url: "url";
2270
2271
  text: "text";
2271
2272
  none: "none";
2272
- url: "url";
2273
2273
  quiz: "quiz";
2274
2274
  photo: "photo";
2275
2275
  }>;
@@ -2307,12 +2307,12 @@ declare const questViewSchema: z.ZodObject<{
2307
2307
  }, z.core.$strip> | z.ZodObject<{
2308
2308
  kind: z.ZodLiteral<"blocked">;
2309
2309
  reason: z.ZodEnum<{
2310
- paused: "paused";
2311
2310
  "outside-window": "outside-window";
2311
+ "enrollment-required": "enrollment-required";
2312
2312
  "budget-exhausted": "budget-exhausted";
2313
+ paused: "paused";
2313
2314
  "connection-required": "connection-required";
2314
2315
  "wallet-required": "wallet-required";
2315
- "enrollment-required": "enrollment-required";
2316
2316
  }>;
2317
2317
  window: z.ZodOptional<z.ZodEnum<{
2318
2318
  quest: "quest";
@@ -2572,11 +2572,11 @@ declare const questViewSchema: z.ZodObject<{
2572
2572
  }, z.core.$strip>>;
2573
2573
  release: z.ZodString;
2574
2574
  interaction: z.ZodEnum<{
2575
+ url: "url";
2575
2576
  text: "text";
2576
2577
  staff: "staff";
2577
2578
  claim: "claim";
2578
2579
  automatic: "automatic";
2579
- url: "url";
2580
2580
  quiz: "quiz";
2581
2581
  photo: "photo";
2582
2582
  }>;
@@ -2727,8 +2727,8 @@ declare const collectionViewSchema: z.ZodObject<{
2727
2727
  required: "required";
2728
2728
  }>>;
2729
2729
  since: z.ZodOptional<z.ZodEnum<{
2730
- activation: "activation";
2731
2730
  window: "window";
2731
+ activation: "activation";
2732
2732
  enrollment: "enrollment";
2733
2733
  }>>;
2734
2734
  historical: z.ZodOptional<z.ZodEnum<{
@@ -2742,9 +2742,9 @@ declare const collectionViewSchema: z.ZodObject<{
2742
2742
  availability: z.ZodUnion<(z.ZodObject<{
2743
2743
  kind: z.ZodLiteral<"available">;
2744
2744
  input: z.ZodEnum<{
2745
+ url: "url";
2745
2746
  text: "text";
2746
2747
  none: "none";
2747
- url: "url";
2748
2748
  quiz: "quiz";
2749
2749
  photo: "photo";
2750
2750
  }>;
@@ -2782,12 +2782,12 @@ declare const collectionViewSchema: z.ZodObject<{
2782
2782
  }, z.core.$strip> | z.ZodObject<{
2783
2783
  kind: z.ZodLiteral<"blocked">;
2784
2784
  reason: z.ZodEnum<{
2785
- paused: "paused";
2786
2785
  "outside-window": "outside-window";
2786
+ "enrollment-required": "enrollment-required";
2787
2787
  "budget-exhausted": "budget-exhausted";
2788
+ paused: "paused";
2788
2789
  "connection-required": "connection-required";
2789
2790
  "wallet-required": "wallet-required";
2790
- "enrollment-required": "enrollment-required";
2791
2791
  }>;
2792
2792
  window: z.ZodOptional<z.ZodEnum<{
2793
2793
  quest: "quest";
@@ -3047,11 +3047,11 @@ declare const collectionViewSchema: z.ZodObject<{
3047
3047
  }, z.core.$strip>>;
3048
3048
  release: z.ZodString;
3049
3049
  interaction: z.ZodEnum<{
3050
+ url: "url";
3050
3051
  text: "text";
3051
3052
  staff: "staff";
3052
3053
  claim: "claim";
3053
3054
  automatic: "automatic";
3054
- url: "url";
3055
3055
  quiz: "quiz";
3056
3056
  photo: "photo";
3057
3057
  }>;
@@ -3379,8 +3379,8 @@ declare const questExperienceSchema: z.ZodObject<{
3379
3379
  required: "required";
3380
3380
  }>>;
3381
3381
  since: z.ZodOptional<z.ZodEnum<{
3382
- activation: "activation";
3383
3382
  window: "window";
3383
+ activation: "activation";
3384
3384
  enrollment: "enrollment";
3385
3385
  }>>;
3386
3386
  historical: z.ZodOptional<z.ZodEnum<{
@@ -3394,9 +3394,9 @@ declare const questExperienceSchema: z.ZodObject<{
3394
3394
  availability: z.ZodUnion<(z.ZodObject<{
3395
3395
  kind: z.ZodLiteral<"available">;
3396
3396
  input: z.ZodEnum<{
3397
+ url: "url";
3397
3398
  text: "text";
3398
3399
  none: "none";
3399
- url: "url";
3400
3400
  quiz: "quiz";
3401
3401
  photo: "photo";
3402
3402
  }>;
@@ -3434,12 +3434,12 @@ declare const questExperienceSchema: z.ZodObject<{
3434
3434
  }, z.core.$strip> | z.ZodObject<{
3435
3435
  kind: z.ZodLiteral<"blocked">;
3436
3436
  reason: z.ZodEnum<{
3437
- paused: "paused";
3438
3437
  "outside-window": "outside-window";
3438
+ "enrollment-required": "enrollment-required";
3439
3439
  "budget-exhausted": "budget-exhausted";
3440
+ paused: "paused";
3440
3441
  "connection-required": "connection-required";
3441
3442
  "wallet-required": "wallet-required";
3442
- "enrollment-required": "enrollment-required";
3443
3443
  }>;
3444
3444
  window: z.ZodOptional<z.ZodEnum<{
3445
3445
  quest: "quest";
@@ -3699,11 +3699,11 @@ declare const questExperienceSchema: z.ZodObject<{
3699
3699
  }, z.core.$strip>>;
3700
3700
  release: z.ZodString;
3701
3701
  interaction: z.ZodEnum<{
3702
+ url: "url";
3702
3703
  text: "text";
3703
3704
  staff: "staff";
3704
3705
  claim: "claim";
3705
3706
  automatic: "automatic";
3706
- url: "url";
3707
3707
  quiz: "quiz";
3708
3708
  photo: "photo";
3709
3709
  }>;
@@ -3854,8 +3854,8 @@ declare const questExperienceSchema: z.ZodObject<{
3854
3854
  required: "required";
3855
3855
  }>>;
3856
3856
  since: z.ZodOptional<z.ZodEnum<{
3857
- activation: "activation";
3858
3857
  window: "window";
3858
+ activation: "activation";
3859
3859
  enrollment: "enrollment";
3860
3860
  }>>;
3861
3861
  historical: z.ZodOptional<z.ZodEnum<{
@@ -3869,9 +3869,9 @@ declare const questExperienceSchema: z.ZodObject<{
3869
3869
  availability: z.ZodUnion<(z.ZodObject<{
3870
3870
  kind: z.ZodLiteral<"available">;
3871
3871
  input: z.ZodEnum<{
3872
+ url: "url";
3872
3873
  text: "text";
3873
3874
  none: "none";
3874
- url: "url";
3875
3875
  quiz: "quiz";
3876
3876
  photo: "photo";
3877
3877
  }>;
@@ -3909,12 +3909,12 @@ declare const questExperienceSchema: z.ZodObject<{
3909
3909
  }, z.core.$strip> | z.ZodObject<{
3910
3910
  kind: z.ZodLiteral<"blocked">;
3911
3911
  reason: z.ZodEnum<{
3912
- paused: "paused";
3913
3912
  "outside-window": "outside-window";
3913
+ "enrollment-required": "enrollment-required";
3914
3914
  "budget-exhausted": "budget-exhausted";
3915
+ paused: "paused";
3915
3916
  "connection-required": "connection-required";
3916
3917
  "wallet-required": "wallet-required";
3917
- "enrollment-required": "enrollment-required";
3918
3918
  }>;
3919
3919
  window: z.ZodOptional<z.ZodEnum<{
3920
3920
  quest: "quest";
@@ -4174,11 +4174,11 @@ declare const questExperienceSchema: z.ZodObject<{
4174
4174
  }, z.core.$strip>>;
4175
4175
  release: z.ZodString;
4176
4176
  interaction: z.ZodEnum<{
4177
+ url: "url";
4177
4178
  text: "text";
4178
4179
  staff: "staff";
4179
4180
  claim: "claim";
4180
4181
  automatic: "automatic";
4181
- url: "url";
4182
4182
  quiz: "quiz";
4183
4183
  photo: "photo";
4184
4184
  }>;
@@ -4267,8 +4267,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
4267
4267
  expectedRelease: z.ZodNullable<z.ZodString>;
4268
4268
  }, z.core.$strict>>;
4269
4269
  collections: z.ZodArray<z.ZodObject<{
4270
- id: z.ZodString;
4271
4270
  key: z.ZodOptional<z.ZodString>;
4271
+ id: z.ZodString;
4272
4272
  title: z.ZodString;
4273
4273
  quests: z.ZodArray<z.ZodString>;
4274
4274
  }, z.core.$strict>>;
@@ -4322,8 +4322,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
4322
4322
  expectedRelease: z.ZodNullable<z.ZodString>;
4323
4323
  }, z.core.$strict>>;
4324
4324
  collections: z.ZodArray<z.ZodObject<{
4325
- id: z.ZodString;
4326
4325
  key: z.ZodOptional<z.ZodString>;
4326
+ id: z.ZodString;
4327
4327
  title: z.ZodString;
4328
4328
  quests: z.ZodArray<z.ZodString>;
4329
4329
  }, z.core.$strict>>;
@@ -4553,8 +4553,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
4553
4553
  required: "required";
4554
4554
  }>>;
4555
4555
  since: z.ZodOptional<z.ZodEnum<{
4556
- activation: "activation";
4557
4556
  window: "window";
4557
+ activation: "activation";
4558
4558
  enrollment: "enrollment";
4559
4559
  }>>;
4560
4560
  historical: z.ZodOptional<z.ZodEnum<{