@domino-sdk/relay 1.9.0 → 1.10.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 (44) hide show
  1. package/dist/{activity-CCe1e_7a.d.ts → activity-C0O3g7VJ.d.ts} +115 -115
  2. package/dist/authoring.d.ts +49 -49
  3. package/dist/authoring.js +3 -3
  4. package/dist/{automatic-outcomes-Dyk0VTUs.d.ts → automatic-outcomes-kPIDv6X_.d.ts} +1 -1
  5. package/dist/avatar.d.ts +2 -2
  6. package/dist/browser.d.ts +8 -8
  7. package/dist/browser.js +8 -7
  8. package/dist/{capability-error-Bv996M-h.d.ts → capability-error-ty3SqD_b.d.ts} +1 -1
  9. package/dist/{chunk-KGJSKGKI.js → chunk-23JUD56J.js} +1119 -910
  10. package/dist/{chunk-FWSSMSIA.js → chunk-7BRHUUVB.js} +37 -8
  11. package/dist/{chunk-2N464DDE.js → chunk-BKLGWPPD.js} +48 -37
  12. package/dist/{chunk-6ON4RMEN.js → chunk-BUXNTVER.js} +1 -1
  13. package/dist/{chunk-L3QFIRGO.js → chunk-GEPSEVQO.js} +2 -2
  14. package/dist/{chunk-ETPL6AAJ.js → chunk-GFAFH7XR.js} +1 -1
  15. package/dist/{chunk-734LYHWP.js → chunk-GPS546KR.js} +232 -7
  16. package/dist/{chunk-5ECM6AWV.js → chunk-MMWTHVXW.js} +3 -3
  17. package/dist/chunk-N2HXMTVA.js +13 -0
  18. package/dist/{chunk-23QJ7WH4.js → chunk-QL77V77D.js} +1 -1
  19. package/dist/{chunk-2V74CHDL.js → chunk-UIR6NSYZ.js} +52 -37
  20. package/dist/{chunk-JW4G3SY5.js → chunk-WRBPLXVP.js} +60 -47
  21. package/dist/{client-CbASImpi.d.ts → client-Yq11HA_f.d.ts} +26 -11
  22. package/dist/{groups-Dvmd4CYk.d.ts → groups-BK8ts2yK.d.ts} +94 -6
  23. package/dist/{images-Dekv3DYF.d.ts → images-aw6W7vFZ.d.ts} +2 -2
  24. package/dist/index.d.ts +9 -9
  25. package/dist/index.js +7 -6
  26. package/dist/internal.d.ts +3 -3
  27. package/dist/internal.js +5 -5
  28. package/dist/{offers-BEGVSOTD.d.ts → offers-C2FANzrG.d.ts} +3 -3
  29. package/dist/{pages-HmS6eedC.d.ts → pages-D00JDZB-.d.ts} +33 -2
  30. package/dist/portal-proxy.js +8 -2
  31. package/dist/react/index.d.ts +14 -17
  32. package/dist/react/index.js +8 -7
  33. package/dist/{referral-reward-kinds-Flbb1D2q.d.ts → referral-reward-kinds-M3f0PdiR.d.ts} +2 -2
  34. package/dist/{schema-BCuiO7eD.d.ts → schema-DEM8y8Fm.d.ts} +1 -1
  35. package/dist/schema.d.ts +11239 -13
  36. package/dist/schema.js +38 -6
  37. package/dist/server/index.d.ts +43117 -22
  38. package/dist/server/index.js +303 -14
  39. package/dist/{sign-in-options-z3wsfizk.d.ts → sign-in-options-Coim0G1u.d.ts} +3 -3
  40. package/dist/{submission-input-Bs14jIsu.d.ts → submission-input-BbBJTVlT.d.ts} +3 -3
  41. package/dist/util.d-w9f9t3ua.d.ts +5 -0
  42. package/dist/{wallet-YssWxGg8.d.ts → wallet-CDyo-U4n.d.ts} +1 -1
  43. package/package.json +1 -1
  44. package/dist/{profiles-D2aFcOxu.d.ts → profiles-BHMVj0kM.d.ts} +5 -5
@@ -12,9 +12,10 @@ import {
12
12
  pointsRewardSchema,
13
13
  refuseWindowTimeZone,
14
14
  resourceHandle,
15
+ responseShape,
15
16
  rewardKey,
16
17
  tierRewardSchema
17
- } from "./chunk-KGJSKGKI.js";
18
+ } from "./chunk-23JUD56J.js";
18
19
 
19
20
  // src/errors.ts
20
21
  import { z } from "zod";
@@ -577,6 +578,9 @@ var validateSettlementWindow = (definition, context) => {
577
578
  }
578
579
  };
579
580
  var leaderboardDefinitionSchema = leaderboardDefinitionObject.superRefine(validateSettlementWindow);
581
+ var leaderboardDefinitionResponseSchema = responseShape(
582
+ leaderboardDefinitionSchema
583
+ );
580
584
  var leaderboardAuthoringSchema = leaderboardDefinitionObject.omit({ id: true }).extend({
581
585
  ...authoringIdentityShape,
582
586
  score: z5.preprocess(refuseWindowTimeZone, scoreSchema),
@@ -589,7 +593,7 @@ var leaderboardArtifactSchema = z5.union([
589
593
  var publishedLeaderboardSchema = z5.object({
590
594
  archivedAt: z5.number().int().nonnegative().nullable().optional(),
591
595
  version: identifier,
592
- definition: leaderboardDefinitionSchema,
596
+ definition: leaderboardDefinitionResponseSchema,
593
597
  publishedAt: timestamp,
594
598
  actor: z5.string().nullable()
595
599
  });
@@ -943,18 +947,22 @@ var offerArtifactSchema = z7.union([
943
947
  offerAuthoringSchema,
944
948
  z7.object({ code: z7.string().min(1).max(2e6) }).strict()
945
949
  ]);
946
- var offerAvailabilitySchema = z7.discriminatedUnion("kind", [
947
- z7.object({ kind: z7.literal("available"), remaining: quantity }).strict(),
948
- z7.object({ kind: z7.literal("out-of-stock") }).strict(),
949
- z7.object({ kind: z7.literal("limit-reached") }).strict(),
950
- z7.object({ kind: z7.literal("paused") }).strict()
951
- ]);
952
- var offerSchema = offerDefinitionSchema.extend({
953
- revision: z7.number().int().positive(),
954
- available: quantity,
955
- redeemed: quantity,
956
- availability: offerAvailabilitySchema
957
- });
950
+ var offerAvailabilitySchema = responseShape(
951
+ z7.discriminatedUnion("kind", [
952
+ z7.object({ kind: z7.literal("available"), remaining: quantity }).strict(),
953
+ z7.object({ kind: z7.literal("out-of-stock") }).strict(),
954
+ z7.object({ kind: z7.literal("limit-reached") }).strict(),
955
+ z7.object({ kind: z7.literal("paused") }).strict()
956
+ ])
957
+ );
958
+ var offerSchema = responseShape(
959
+ offerDefinitionSchema.extend({
960
+ revision: z7.number().int().positive(),
961
+ available: quantity,
962
+ redeemed: quantity,
963
+ availability: offerAvailabilitySchema
964
+ })
965
+ );
958
966
  var redeemOfferSchema = z7.object({ actionId: identifier }).strict();
959
967
  var redemptionBase = {
960
968
  id: identifier,
@@ -972,15 +980,17 @@ var redemptionBase = {
972
980
  revision: z7.number().int().positive(),
973
981
  redeemedAt: z7.number().int().safe().nonnegative()
974
982
  };
975
- var redemptionSchema = z7.discriminatedUnion("status", [
976
- z7.object({ ...redemptionBase, status: z7.literal("fulfilled") }).strict(),
977
- z7.object({
978
- ...redemptionBase,
979
- status: z7.literal("canceled"),
980
- canceledAt: z7.number().int().safe().nonnegative(),
981
- reason: z7.string().min(1).max(500)
982
- }).strict()
983
- ]);
983
+ var redemptionSchema = responseShape(
984
+ z7.discriminatedUnion("status", [
985
+ z7.object({ ...redemptionBase, status: z7.literal("fulfilled") }).strict(),
986
+ z7.object({
987
+ ...redemptionBase,
988
+ status: z7.literal("canceled"),
989
+ canceledAt: z7.number().int().safe().nonnegative(),
990
+ reason: z7.string().min(1).max(500)
991
+ }).strict()
992
+ ])
993
+ );
984
994
  var offerControlSchema = z7.object({
985
995
  actionId: identifier,
986
996
  revision: z7.number().int().positive(),
@@ -1130,20 +1140,24 @@ var evmChainIdSchema = z8.custom(
1130
1140
  'Use an EVM chain ID such as "eip155:8453"'
1131
1141
  );
1132
1142
  var units = z8.string().regex(/^(0|[1-9][0-9]*)$/);
1133
- var walletBalanceSchema = z8.object({
1134
- /** Canonical CAIP-2 ID for Solana, EVM or a supported Cosmos SDK chain. */
1135
- chain: z8.string(),
1136
- /** The canonical mint, EIP-55 contract or Cosmos bank denom; null for a native coin. */
1137
- token: z8.string().nullable(),
1138
- /** Null when token metadata does not report decimals. */
1139
- decimals: z8.number().int().min(0).max(255).nullable(),
1140
- /** The sum over `wallets`. */
1141
- total: units,
1142
- wallets: z8.array(z8.object({ address: z8.string(), amount: units }).strict()),
1143
- /** Solana: lowest slot. EVM: approximate latest block. Cosmos: the fixed queried block. */
1144
- at: z8.object({ kind: z8.enum(["slot", "block"]), number: units }).strict(),
1145
- observedAt: z8.number().int().nonnegative()
1146
- }).strict();
1143
+ var walletBalanceSchema = responseShape(
1144
+ z8.object({
1145
+ /** Canonical CAIP-2 ID for Solana, EVM or a supported Cosmos SDK chain. */
1146
+ chain: z8.string(),
1147
+ /** The canonical mint, EIP-55 contract or Cosmos bank denom; null for a native coin. */
1148
+ token: z8.string().nullable(),
1149
+ /** Null when token metadata does not report decimals. */
1150
+ decimals: z8.number().int().min(0).max(255).nullable(),
1151
+ /** The sum over `wallets`. */
1152
+ total: units,
1153
+ wallets: z8.array(
1154
+ z8.object({ address: z8.string(), amount: units }).strict()
1155
+ ),
1156
+ /** Solana: lowest slot. EVM: approximate latest block. Cosmos: the fixed queried block. */
1157
+ at: z8.object({ kind: z8.enum(["slot", "block"]), number: units }).strict(),
1158
+ observedAt: z8.number().int().nonnegative()
1159
+ }).strict()
1160
+ );
1147
1161
 
1148
1162
  export {
1149
1163
  RelayErrorCode,
@@ -1208,6 +1222,7 @@ export {
1208
1222
  leaderboardPrizeSchema,
1209
1223
  leaderboardSettlementPolicySchema,
1210
1224
  leaderboardDefinitionSchema,
1225
+ leaderboardDefinitionResponseSchema,
1211
1226
  leaderboardAuthoringSchema,
1212
1227
  leaderboardArtifactSchema,
1213
1228
  publishedLeaderboardSchema,
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  identifier,
3
+ responseShape,
3
4
  xTweetSchema
4
- } from "./chunk-KGJSKGKI.js";
5
+ } from "./chunk-23JUD56J.js";
5
6
 
6
7
  // src/x.ts
7
8
  import { z } from "zod";
@@ -85,33 +86,41 @@ var imageRequestSchema = z2.discriminatedUnion("operation", [
85
86
  })
86
87
  ]);
87
88
  var hash = z2.string().regex(/^[0-9a-f]{16}$/);
88
- var imageInspectionSchema = z2.strictObject({
89
- width: z2.number().int().positive(),
90
- height: z2.number().int().positive(),
91
- format: z2.enum(["jpeg", "png", "webp", "gif", "avif"]),
92
- bytes: z2.number().int().positive(),
93
- sha256: z2.string().regex(/^[0-9a-f]{64}$/),
94
- phash: hash,
95
- dhash: hash
96
- });
89
+ var imageInspectionSchema = responseShape(
90
+ z2.strictObject({
91
+ width: z2.number().int().positive(),
92
+ height: z2.number().int().positive(),
93
+ format: z2.enum(["jpeg", "png", "webp", "gif", "avif"]),
94
+ bytes: z2.number().int().positive(),
95
+ sha256: z2.string().regex(/^[0-9a-f]{64}$/),
96
+ phash: hash,
97
+ dhash: hash
98
+ })
99
+ );
97
100
  var distance = z2.number().int().min(0).max(64);
98
- var imageComparisonSchema = z2.strictObject({
99
- identical: z2.boolean(),
100
- phashDistance: distance,
101
- dhashDistance: distance
102
- });
103
- var imageExtractionSchema = z2.strictObject({
104
- values: z2.record(
105
- z2.string(),
106
- z2.union([z2.string().max(2e3), z2.number(), z2.boolean(), z2.null()])
107
- ),
108
- reason: z2.string().min(1).max(2e3)
109
- });
110
- var imageSightingsSchema = z2.strictObject({
111
- matches: z2.number().int().nonnegative(),
112
- closestDistance: distance.nullable(),
113
- firstSeenAt: z2.number().int().nonnegative().nullable()
114
- });
101
+ var imageComparisonSchema = responseShape(
102
+ z2.strictObject({
103
+ identical: z2.boolean(),
104
+ phashDistance: distance,
105
+ dhashDistance: distance
106
+ })
107
+ );
108
+ var imageExtractionSchema = responseShape(
109
+ z2.strictObject({
110
+ values: z2.record(
111
+ z2.string(),
112
+ z2.union([z2.string().max(2e3), z2.number(), z2.boolean(), z2.null()])
113
+ ),
114
+ reason: z2.string().min(1).max(2e3)
115
+ })
116
+ );
117
+ var imageSightingsSchema = responseShape(
118
+ z2.strictObject({
119
+ matches: z2.number().int().nonnegative(),
120
+ closestDistance: distance.nullable(),
121
+ firstSeenAt: z2.number().int().nonnegative().nullable()
122
+ })
123
+ );
115
124
  var sha256 = z2.string().regex(/^[0-9a-f]{64}$/);
116
125
  var imageSize = z2.number().int().positive().max(5 * 1024 * 1024);
117
126
  var imageAssetArtifactSchema = z2.strictObject({
@@ -129,26 +138,30 @@ var imageUploadRequestSchema = z2.strictObject({
129
138
  })
130
139
  ).min(1).max(10)
131
140
  });
132
- var imageUploadsSchema = z2.strictObject({
133
- images: z2.array(
134
- z2.strictObject({
135
- sha256,
136
- upload: z2.strictObject({
137
- url: z2.string().url(),
138
- headers: z2.record(z2.string(), z2.string()),
139
- expiresAt: z2.number().int().positive()
140
- }).nullable()
141
- })
142
- )
143
- });
144
- var publishedImageSchema = z2.strictObject({
145
- key: identifier,
146
- sha256,
147
- type: z2.enum(["image/jpeg", "image/png", "image/webp"]),
148
- size: imageSize,
149
- width: z2.number().int().positive(),
150
- height: z2.number().int().positive()
151
- });
141
+ var imageUploadsSchema = responseShape(
142
+ z2.strictObject({
143
+ images: z2.array(
144
+ z2.strictObject({
145
+ sha256,
146
+ upload: z2.strictObject({
147
+ url: z2.string().url(),
148
+ headers: z2.record(z2.string(), z2.string()),
149
+ expiresAt: z2.number().int().positive()
150
+ }).nullable()
151
+ })
152
+ )
153
+ })
154
+ );
155
+ var publishedImageSchema = responseShape(
156
+ z2.strictObject({
157
+ key: identifier,
158
+ sha256,
159
+ type: z2.enum(["image/jpeg", "image/png", "image/webp"]),
160
+ size: imageSize,
161
+ width: z2.number().int().positive(),
162
+ height: z2.number().int().positive()
163
+ })
164
+ );
152
165
 
153
166
  export {
154
167
  xIdSchema,
@@ -1,13 +1,13 @@
1
- import { aW as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a2 as engagementPageQuerySchema } from './groups-Dvmd4CYk.js';
2
- import { j as QuestView, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, V as questExperienceSchema, o as RewardDeliveryAction, B as contentQualificationQuerySchema } from './pages-HmS6eedC.js';
3
- import { M as MissingPrerequisite, V as ValueEvidence, a as AuthProvider } from './submission-input-Bs14jIsu.js';
1
+ import { aZ as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a6 as engagementPageQuerySchema } from './groups-BK8ts2yK.js';
2
+ import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, Y as questExperienceSchema, l as RewardDeliveryAction, E as contentQualificationQuerySchema } from './pages-D00JDZB-.js';
3
+ import { M as MissingPrerequisite, V as ValueEvidence, a as AuthProvider } from './submission-input-BbBJTVlT.js';
4
4
  import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-D_dUPLwo.js';
5
- import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, bW as submitSchema, aW as contentPerformanceQuerySchema } from './schema-BCuiO7eD.js';
5
+ import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, c6 as submitSchema, b8 as contentPerformanceQuerySchema } from './schema-DEM8y8Fm.js';
6
6
  import { b as ParticipantSession, d as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-DkL3nY5a.js';
7
7
  import { z } from 'zod';
8
8
  import { c as createRelayAction, O as OptionalActionId } from './action-9Xl0StBg.js';
9
- import { F as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-D2aFcOxu.js';
10
- import { y as walletAddressInputSchema, I as walletSignatureSchema, L as LinkedWallet, f as WalletSigner } from './wallet-YssWxGg8.js';
9
+ import { F as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-BHMVj0kM.js';
10
+ import { y as walletAddressInputSchema, I as walletSignatureSchema, L as LinkedWallet, f as WalletSigner } from './wallet-CDyo-U4n.js';
11
11
 
12
12
  /** What happened, as in every Domino client error (see `RequestError`). */
13
13
  type RelayErrorKind = RequestErrorKind;
@@ -267,10 +267,25 @@ type RelayClientOptions = {
267
267
  */
268
268
  timeout?: number;
269
269
  };
270
+ /** @compat input */
271
+ type RelayResponseOptions = RelayRequestOptions & {
272
+ method?: "GET" | "POST";
273
+ input?: unknown;
274
+ /** Persist this identity before sending a write. */
275
+ operationId?: string;
276
+ /** Use only when the route records a receipt for the supplied operation identity. */
277
+ replaySafe?: boolean;
278
+ };
270
279
  declare function createRelayClient(options: RelayClientOptions): RelayClient;
271
280
  declare function relayClient(options: RelayClientOptions): {
272
281
  /** Owns one action key across uncertain writes. Reuse the helper until a definite answer. */
273
282
  action: typeof createRelayAction;
283
+ /** A JSON call using an explicit tolerant response schema from `@domino-sdk/relay/schema`. */
284
+ response: <T>(path: string, schema: ResponseSchema<T>, call?: RelayResponseOptions) => Promise<{
285
+ status: number;
286
+ operationId: string | undefined;
287
+ result: Awaited<T>;
288
+ }>;
274
289
  offers: {
275
290
  /** Offers available to this participant, including stock and per-member availability. */
276
291
  list: (requestOptions?: RelayRequestOptions) => Promise<{
@@ -1063,7 +1078,7 @@ declare function relayClient(options: RelayClientOptions): {
1063
1078
  period: "day" | "week" | "month";
1064
1079
  };
1065
1080
  };
1066
- access: "participants" | "public";
1081
+ access: "public" | "participants";
1067
1082
  key?: string | undefined;
1068
1083
  group?: string | undefined;
1069
1084
  settle?: {
@@ -1227,7 +1242,7 @@ declare function relayClient(options: RelayClientOptions): {
1227
1242
  avatarProvider: "discord" | "google" | "x" | null;
1228
1243
  hidden: boolean;
1229
1244
  locked: boolean;
1230
- visibility: "private" | "participants" | "public";
1245
+ visibility: "public" | "private" | "participants";
1231
1246
  options: {
1232
1247
  provider: "discord" | "google" | "x";
1233
1248
  name: string | null;
@@ -1261,7 +1276,7 @@ declare function relayClient(options: RelayClientOptions): {
1261
1276
  avatarProvider: "discord" | "google" | "x" | null;
1262
1277
  hidden: boolean;
1263
1278
  locked: boolean;
1264
- visibility: "private" | "participants" | "public";
1279
+ visibility: "public" | "private" | "participants";
1265
1280
  options: {
1266
1281
  provider: "discord" | "google" | "x";
1267
1282
  name: string | null;
@@ -1297,7 +1312,7 @@ declare function relayClient(options: RelayClientOptions): {
1297
1312
  avatarProvider: "discord" | "google" | "x" | null;
1298
1313
  hidden: boolean;
1299
1314
  locked: boolean;
1300
- visibility: "private" | "participants" | "public";
1315
+ visibility: "public" | "private" | "participants";
1301
1316
  options: {
1302
1317
  provider: "discord" | "google" | "x";
1303
1318
  name: string | null;
@@ -4323,4 +4338,4 @@ declare function relayClient(options: RelayClientOptions): {
4323
4338
  interface RelayClient extends ReturnType<typeof relayClient> {
4324
4339
  }
4325
4340
 
4326
- export { type ClaimSubmission as C, type KnownRelayErrorCode as K, type PhotoSubmission as P, type QuestActionResult as Q, type RelayClient as R, type SubmissionDraft as S, type ValueSubmission as V, type ProgressObservation as a, type ProgressObserver as b, type QuestController as c, QuestUpdatedError as d, type QuizSubmission as e, type RelayClientOptions as f, RelayError as g, RelayErrorCode as h, type RelayErrorDetails as i, type RelayErrorKind as j, type RelayRequestOptions as k, type SubmissionStatus as l, type SubmissionStore as m, createRelayClient as n, isRelayError as o };
4341
+ export { type ClaimSubmission as C, type KnownRelayErrorCode as K, type PhotoSubmission as P, type QuestActionResult as Q, type RelayClient as R, type SubmissionDraft as S, type ValueSubmission as V, type ProgressObservation as a, type ProgressObserver as b, type QuestController as c, QuestUpdatedError as d, type QuizSubmission as e, type RelayClientOptions as f, RelayError as g, RelayErrorCode as h, type RelayErrorDetails as i, type RelayErrorKind as j, type RelayRequestOptions as k, type RelayResponseOptions as l, type SubmissionStatus as m, type SubmissionStore as n, createRelayClient as o, isRelayError as p };
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { cV as ResourceHandle, cY as GroupHandle } from './schema-BCuiO7eD.js';
2
+ import { n as ResourceHandle, G as GroupHandle } from './schema-DEM8y8Fm.js';
3
3
 
4
4
  declare const pointLedgerPropertiesSchema: z.ZodObject<{
5
5
  name: z.ZodString;
@@ -755,8 +755,96 @@ declare const leaderboardDefinitionSchema: z.ZodObject<{
755
755
  }, z.core.$strip>], "kind">>;
756
756
  }, z.core.$strict>], "kind">>;
757
757
  access: z.ZodDefault<z.ZodEnum<{
758
+ public: "public";
758
759
  participants: "participants";
760
+ }>>;
761
+ group: z.ZodOptional<z.ZodString>;
762
+ settle: z.ZodOptional<z.ZodObject<{
763
+ at: z.ZodLiteral<"window-end">;
764
+ ties: z.ZodEnum<{
765
+ shared: "shared";
766
+ earliest: "earliest";
767
+ }>;
768
+ prizes: z.ZodArray<z.ZodObject<{
769
+ ranks: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
770
+ rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
771
+ kind: z.ZodDefault<z.ZodLiteral<"points">>;
772
+ balance: z.ZodString;
773
+ amount: z.ZodNumber;
774
+ }, z.core.$strict>, z.ZodObject<{
775
+ kind: z.ZodLiteral<"tier">;
776
+ reward: z.ZodObject<{
777
+ id: z.ZodString;
778
+ title: z.ZodString;
779
+ tiers: z.ZodArray<z.ZodObject<{
780
+ id: z.ZodString;
781
+ title: z.ZodString;
782
+ }, z.core.$strict>>;
783
+ inventory: z.ZodObject<{
784
+ kind: z.ZodLiteral<"untracked">;
785
+ }, z.core.$strict>;
786
+ fulfillment: z.ZodDiscriminatedUnion<[z.ZodObject<{
787
+ kind: z.ZodLiteral<"staff-handover">;
788
+ }, z.core.$strict>, z.ZodObject<{
789
+ kind: z.ZodLiteral<"automatic">;
790
+ }, z.core.$strict>], "kind">;
791
+ }, z.core.$strict>;
792
+ tier: z.ZodString;
793
+ }, z.core.$strict>]>>;
794
+ }, z.core.$strict>>;
795
+ }, z.core.$strict>>;
796
+ }, z.core.$strict>;
797
+ /** Known leaderboard data is read separately from its strict authoring definition. */
798
+ declare const leaderboardDefinitionResponseSchema: z.ZodObject<{
799
+ id: z.ZodString;
800
+ key: z.ZodOptional<z.ZodString>;
801
+ title: z.ZodString;
802
+ balance: z.ZodString;
803
+ score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
804
+ kind: z.ZodLiteral<"balance">;
805
+ }, z.core.$strict>, z.ZodObject<{
806
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
807
+ kind: z.ZodLiteral<"all-time">;
808
+ }, z.core.$strict>, z.ZodObject<{
809
+ kind: z.ZodLiteral<"fixed">;
810
+ start: z.ZodNumber;
811
+ end: z.ZodNumber;
812
+ }, z.core.$strict>, z.ZodObject<{
813
+ kind: z.ZodLiteral<"rolling">;
814
+ days: z.ZodNumber;
815
+ }, z.core.$strict>, z.ZodObject<{
816
+ kind: z.ZodLiteral<"calendar">;
817
+ period: z.ZodEnum<{
818
+ day: "day";
819
+ week: "week";
820
+ month: "month";
821
+ }>;
822
+ }, z.core.$strip>], "kind">>;
823
+ quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
824
+ kind: z.ZodLiteral<"earned">;
825
+ }, z.core.$strict>, z.ZodObject<{
826
+ kind: z.ZodLiteral<"net">;
827
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
828
+ kind: z.ZodLiteral<"all-time">;
829
+ }, z.core.$strict>, z.ZodObject<{
830
+ kind: z.ZodLiteral<"fixed">;
831
+ start: z.ZodNumber;
832
+ end: z.ZodNumber;
833
+ }, z.core.$strict>, z.ZodObject<{
834
+ kind: z.ZodLiteral<"rolling">;
835
+ days: z.ZodNumber;
836
+ }, z.core.$strict>, z.ZodObject<{
837
+ kind: z.ZodLiteral<"calendar">;
838
+ period: z.ZodEnum<{
839
+ day: "day";
840
+ week: "week";
841
+ month: "month";
842
+ }>;
843
+ }, z.core.$strip>], "kind">>;
844
+ }, z.core.$strict>], "kind">>;
845
+ access: z.ZodDefault<z.ZodEnum<{
759
846
  public: "public";
847
+ participants: "participants";
760
848
  }>>;
761
849
  group: z.ZodOptional<z.ZodString>;
762
850
  settle: z.ZodOptional<z.ZodObject<{
@@ -799,8 +887,8 @@ declare const leaderboardAuthoringSchema: z.ZodObject<{
799
887
  title: z.ZodString;
800
888
  balance: z.ZodString;
801
889
  access: z.ZodDefault<z.ZodEnum<{
802
- participants: "participants";
803
890
  public: "public";
891
+ participants: "participants";
804
892
  }>>;
805
893
  settle: z.ZodOptional<z.ZodObject<{
806
894
  at: z.ZodLiteral<"window-end">;
@@ -885,8 +973,8 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
885
973
  title: z.ZodString;
886
974
  balance: z.ZodString;
887
975
  access: z.ZodDefault<z.ZodEnum<{
888
- participants: "participants";
889
976
  public: "public";
977
+ participants: "participants";
890
978
  }>>;
891
979
  settle: z.ZodOptional<z.ZodObject<{
892
980
  at: z.ZodLiteral<"window-end">;
@@ -1020,8 +1108,8 @@ declare const publishedLeaderboardSchema: z.ZodObject<{
1020
1108
  }, z.core.$strip>], "kind">>;
1021
1109
  }, z.core.$strict>], "kind">>;
1022
1110
  access: z.ZodDefault<z.ZodEnum<{
1023
- participants: "participants";
1024
1111
  public: "public";
1112
+ participants: "participants";
1025
1113
  }>>;
1026
1114
  group: z.ZodOptional<z.ZodString>;
1027
1115
  settle: z.ZodOptional<z.ZodObject<{
@@ -1264,8 +1352,8 @@ declare const leaderboardPreviewSchema: z.ZodObject<{
1264
1352
  }, z.core.$strip>], "kind">>;
1265
1353
  }, z.core.$strict>], "kind">>;
1266
1354
  access: z.ZodDefault<z.ZodEnum<{
1267
- participants: "participants";
1268
1355
  public: "public";
1356
+ participants: "participants";
1269
1357
  }>>;
1270
1358
  group: z.ZodOptional<z.ZodString>;
1271
1359
  settle: z.ZodOptional<z.ZodObject<{
@@ -2618,4 +2706,4 @@ declare const groupMemberPageSchema: z.ZodObject<{
2618
2706
  /** @compat output */
2619
2707
  type GroupMemberPage = z.infer<typeof groupMemberPageSchema>;
2620
2708
 
2621
- export { engagementChangeSchema as $, type AvailabilityWindow as A, type ManagedPointLedger as B, type CampaignDefinition as C, type PointLedger as D, type EngagementBudget as E, addGroupMemberSchema as F, type GroupMember as G, availabilityWindowSchema as H, campaignDefinitionSchema as I, campaignEnrollmentInputSchema as J, type KnownPointEntryKind as K, type LeaderboardDefinition as L, type MemberCampaignEnrollmentInput as M, campaignEnrollmentSchema as N, campaignViewSchema as O, type PointBalance as P, campaignWithdrawalInputSchema as Q, type ReferralDefinition as R, createGroupSchema as S, createPointLedgerSchema as T, defineCampaign as U, defineGroup as V, engagementArtifactSchema as W, engagementBoundaryPageSchema as X, engagementBudgetSchema as Y, engagementChangePreviewInputSchema as Z, engagementChangePreviewSchema as _, type CampaignEnrollment as a, referralDefinitionSchema as a$, engagementDefinitionSchema as a0, engagementDeploymentEntrySchema as a1, engagementPageQuerySchema as a2, engagementPageSchema as a3, engagementPublishSchema as a4, engagementRuleSchema as a5, engagementRuleVersionPageSchema as a6, engagementScoreInputSchema as a7, engagementScoreSchema as a8, engagementSettlementSchema as a9, managedPointHistoryPageSchema as aA, managedPointLedgerSchema as aB, memberCampaignEnrollmentInputSchema as aC, memberCampaignWithdrawalInputSchema as aD, pointBalanceSchema as aE, pointBalancesSchema as aF, pointEntrySchema as aG, pointHistoryPageSchema as aH, pointHistoryQuerySchema as aI, pointLedgerArtifactSchema as aJ, pointLedgerDeclarationSchema as aK, pointLedgerPropertiesSchema as aL, pointLedgerReferenceSchema as aM, pointLedgerSchema as aN, pointsAccountSchema as aO, pointsEntrySchema as aP, pointsMutationSchema as aQ, pointsResultSchema as aR, projectGroupKey as aS, projectGroupSchema as aT, publishedLeaderboardSchema as aU, publishedReferralSchema as aV, referralAcceptSchema as aW, referralAccountSchema as aX, referralArtifactSchema as aY, referralAuthoringSchema as aZ, referralControlSchema as a_, engagementVersionPageSchema as aa, engagementVersionQuerySchema as ab, groupMemberPageSchema as ac, groupMemberSchema as ad, groupPageQuerySchema as ae, groupPageSchema as af, leaderboardArtifactSchema as ag, leaderboardAuthoringSchema as ah, leaderboardDefinitionSchema as ai, leaderboardExclusionSchema as aj, leaderboardGroupSchema as ak, leaderboardPageSchema as al, leaderboardPlacementSchema as am, leaderboardPreviewSchema as an, leaderboardPrizeRewardSchema as ao, leaderboardPrizeSchema as ap, leaderboardQuerySchema as aq, leaderboardRowSchema as ar, leaderboardSettlementApprovalSchema as as, leaderboardSettlementPolicySchema as at, leaderboardSettlementRowSchema as au, leaderboardSettlementSchema as av, leaderboardSettlementStatusSchema as aw, leaderboardSettlementSummarySchema as ax, leaderboardWindowSchema as ay, managedGroupSchema as az, type CampaignEnrollmentInput as b, referralHistorySchema as b0, referralManagementSchema as b1, referralQualificationSchema as b2, referralRelationshipSchema as b3, referralRewardResolutionSchema as b4, referralSummarySchema as b5, referralSuspensionSchema as b6, removeGroupMemberSchema as b7, updateGroupSchema as b8, type AuthoringIdentity as b9, type CampaignView as c, type CampaignWithdrawalInput as d, type LeaderboardPage as e, type LeaderboardPlacement as f, type LeaderboardQuery as g, type MemberCampaignWithdrawalInput as h, type PointBalances as i, type PointEntry as j, PointEntryKind as k, type PointHistoryPage as l, type PointHistoryQuery as m, type PointLedgerReference as n, type ProjectGroup as o, type ProjectGroupReference as p, type EngagementDefinition as q, type EngagementRuleVersionPage as r, type GroupMemberPage as s, type GroupPage as t, type GroupPageQuery as u, type LeaderboardSettlement as v, type LeaderboardSettlementPolicy as w, type LeaderboardSettlementSummary as x, type ManagedGroup as y, type ManagedPointHistoryPage as z };
2709
+ export { engagementBoundaryPageSchema as $, type AvailabilityWindow as A, type GroupPageQuery as B, type CampaignDefinition as C, type LeaderboardSettlement as D, type EngagementBudget as E, type LeaderboardSettlementPolicy as F, type GroupMember as G, type LeaderboardSettlementSummary as H, type ManagedGroup as I, type ManagedPointHistoryPage as J, type KnownPointEntryKind as K, type LeaderboardDefinition as L, type MemberCampaignEnrollmentInput as M, type ManagedPointLedger as N, type PointLedger as O, type PointBalance as P, addGroupMemberSchema as Q, type ReferralDefinition as R, availabilityWindowSchema as S, campaignDefinitionSchema as T, campaignEnrollmentInputSchema as U, campaignEnrollmentSchema as V, campaignViewSchema as W, campaignWithdrawalInputSchema as X, createGroupSchema as Y, createPointLedgerSchema as Z, engagementArtifactSchema as _, type CampaignEnrollment as a, referralArtifactSchema as a$, engagementBudgetSchema as a0, engagementChangePreviewInputSchema as a1, engagementChangePreviewSchema as a2, engagementChangeSchema as a3, engagementDefinitionSchema as a4, engagementDeploymentEntrySchema as a5, engagementPageQuerySchema as a6, engagementPageSchema as a7, engagementPublishSchema as a8, engagementRuleSchema as a9, leaderboardSettlementStatusSchema as aA, leaderboardSettlementSummarySchema as aB, leaderboardWindowSchema as aC, managedGroupSchema as aD, managedPointHistoryPageSchema as aE, managedPointLedgerSchema as aF, memberCampaignEnrollmentInputSchema as aG, memberCampaignWithdrawalInputSchema as aH, pointBalanceSchema as aI, pointBalancesSchema as aJ, pointEntrySchema as aK, pointHistoryPageSchema as aL, pointHistoryQuerySchema as aM, pointLedgerArtifactSchema as aN, pointLedgerPropertiesSchema as aO, pointLedgerReferenceSchema as aP, pointLedgerSchema as aQ, pointsAccountSchema as aR, pointsEntrySchema as aS, pointsMutationSchema as aT, pointsResultSchema as aU, projectGroupKey as aV, projectGroupSchema as aW, publishedLeaderboardSchema as aX, publishedReferralSchema as aY, referralAcceptSchema as aZ, referralAccountSchema as a_, engagementRuleVersionPageSchema as aa, engagementScoreInputSchema as ab, engagementScoreSchema as ac, engagementSettlementSchema as ad, engagementVersionPageSchema as ae, engagementVersionQuerySchema as af, groupMemberPageSchema as ag, groupMemberSchema as ah, groupPageQuerySchema as ai, groupPageSchema as aj, leaderboardArtifactSchema as ak, leaderboardAuthoringSchema as al, leaderboardDefinitionResponseSchema as am, leaderboardExclusionSchema as an, leaderboardGroupSchema as ao, leaderboardPageSchema as ap, leaderboardPlacementSchema as aq, leaderboardPreviewSchema as ar, leaderboardPrizeRewardSchema as as, leaderboardPrizeSchema as at, leaderboardQuerySchema as au, leaderboardRowSchema as av, leaderboardSettlementApprovalSchema as aw, leaderboardSettlementPolicySchema as ax, leaderboardSettlementRowSchema as ay, leaderboardSettlementSchema as az, type CampaignEnrollmentInput as b, referralControlSchema as b0, referralDefinitionSchema as b1, referralHistorySchema as b2, referralManagementSchema as b3, referralQualificationSchema as b4, referralRelationshipSchema as b5, referralRewardResolutionSchema as b6, referralSummarySchema as b7, referralSuspensionSchema as b8, removeGroupMemberSchema as b9, updateGroupSchema as ba, type CampaignView as c, type CampaignWithdrawalInput as d, type LeaderboardPage as e, type LeaderboardPlacement as f, type LeaderboardQuery as g, type MemberCampaignWithdrawalInput as h, type PointBalances as i, type PointEntry as j, PointEntryKind as k, type PointHistoryPage as l, type PointHistoryQuery as m, type PointLedgerReference as n, type ProjectGroup as o, type ProjectGroupReference as p, type AuthoringIdentity as q, leaderboardDefinitionSchema as r, pointLedgerDeclarationSchema as s, referralAuthoringSchema as t, defineCampaign as u, defineGroup as v, type EngagementDefinition as w, type EngagementRuleVersionPage as x, type GroupMemberPage as y, type GroupPage as z };
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { P as PhotoResult } from './schema-BCuiO7eD.js';
2
+ import { P as PhotoResult } from './schema-DEM8y8Fm.js';
3
3
 
4
4
  /**
5
5
  * Quest code names an image; the platform fetches, decodes and pins it. No bytes or URLs cross the
@@ -231,4 +231,4 @@ interface ImageReader {
231
231
  }): Promise<ImageSightings>;
232
232
  }
233
233
 
234
- export { type Extracted as E, type ImageAssetArtifact as I, type PublishedImage as P, type ImageComparison as a, type ImageExtraction as b, type ImageFields as c, type ImageInspection as d, type ImageReader as e, type ImageReference as f, type ImageRequest as g, type ImageSightings as h, imageAssetArtifactSchema as i, imageComparisonSchema as j, imageExtractionSchema as k, imageFieldSchema as l, imageFieldsSchema as m, imageInspectionSchema as n, imageReferenceSchema as o, imageRequestSchema as p, imageSightingsSchema as q, imageUploadRequestSchema as r, imageUploadsSchema as s, publishedImageSchema as t };
234
+ export { type Extracted as E, type ImageReader as I, type PublishedImage as P, type ImageAssetArtifact as a, type ImageComparison as b, type ImageExtraction as c, type ImageFields as d, type ImageInspection as e, type ImageReference as f, type ImageRequest as g, type ImageSightings as h, imageAssetArtifactSchema as i, imageComparisonSchema as j, imageExtractionSchema as k, imageFieldSchema as l, imageFieldsSchema as m, imageInspectionSchema as n, imageReferenceSchema as o, imageRequestSchema as p, imageSightingsSchema as q, imageUploadRequestSchema as r, imageUploadsSchema as s, publishedImageSchema as t };
package/dist/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
1
  export { R as RelayAction, c as createRelayAction } from './action-9Xl0StBg.js';
2
- export { C as ClaimSubmission, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, S as SubmissionDraft, l as SubmissionStatus, m as SubmissionStore, V as ValueSubmission, n as createRelayClient, o as isRelayError } from './client-CbASImpi.js';
2
+ export { C as ClaimSubmission, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionDraft, m as SubmissionStatus, n as SubmissionStore, V as ValueSubmission, o as createRelayClient, p as isRelayError } from './client-Yq11HA_f.js';
3
3
  export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-D_dUPLwo.js';
4
- export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-BCuiO7eD.js';
4
+ export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-DEM8y8Fm.js';
5
5
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
6
- export { A as AccountConnection, a as AuthProvider, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence } from './submission-input-Bs14jIsu.js';
6
+ export { A as AccountConnection, a as AuthProvider, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence } from './submission-input-BbBJTVlT.js';
7
7
  export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-DkL3nY5a.js';
8
- export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView } from './pages-HmS6eedC.js';
9
- export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-Dvmd4CYk.js';
10
- export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-Dyk0VTUs.js';
11
- export { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-BEGVSOTD.js';
12
- export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileReferral, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility } from './profiles-D2aFcOxu.js';
8
+ export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse } from './pages-D00JDZB-.js';
9
+ export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-BK8ts2yK.js';
10
+ export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-kPIDv6X_.js';
11
+ export { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-C2FANzrG.js';
12
+ export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileReferral, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility } from './profiles-BHMVj0kM.js';
13
13
  export { Q as QuizContent, S as StreakProgress } from './streaks-CWyq8Px5.js';
14
- export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput } from './wallet-YssWxGg8.js';
14
+ export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput } from './wallet-CDyo-U4n.js';
15
15
  export { P as ParticipantDelivery } from './participant-rewards-3duLb8YJ.js';
16
16
  import 'zod';
package/dist/index.js CHANGED
@@ -5,30 +5,31 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-FWSSMSIA.js";
8
+ } from "./chunk-7BRHUUVB.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-ETPL6AAJ.js";
11
+ } from "./chunk-GFAFH7XR.js";
12
12
  import {
13
13
  QuestOutcomeState
14
- } from "./chunk-2N464DDE.js";
14
+ } from "./chunk-BKLGWPPD.js";
15
15
  import {
16
16
  PointEntryKind,
17
17
  RelayError,
18
18
  RelayErrorCode,
19
19
  isRelayError
20
- } from "./chunk-2V74CHDL.js";
20
+ } from "./chunk-UIR6NSYZ.js";
21
21
  import "./chunk-6QJ3LADK.js";
22
22
  import {
23
23
  RequestError,
24
24
  isRequestError
25
25
  } from "./chunk-NPGENI7K.js";
26
+ import "./chunk-N2HXMTVA.js";
26
27
  import {
27
28
  sessionMember
28
- } from "./chunk-6ON4RMEN.js";
29
+ } from "./chunk-BUXNTVER.js";
29
30
  import {
30
31
  AttemptStatus
31
- } from "./chunk-KGJSKGKI.js";
32
+ } from "./chunk-23JUD56J.js";
32
33
  export {
33
34
  AttemptStatus,
34
35
  PointEntryKind,
@@ -1,7 +1,7 @@
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';
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-M3f0PdiR.js';
2
+ export { E as Extracted } from './images-aw6W7vFZ.js';
3
3
  import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
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';
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-DEM8y8Fm.js';
5
5
  import 'zod';
6
6
 
7
7
  /** The management client's and the CLI's default deadline per call. */