@domino-sdk/relay 1.30.0 → 1.31.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 (40) hide show
  1. package/dist/authoring.d.ts +40 -40
  2. package/dist/authoring.js +4 -4
  3. package/dist/browser.d.ts +3 -3
  4. package/dist/browser.js +10 -10
  5. package/dist/{chunk-DDA7G23P.js → chunk-32UPB7Q3.js} +1 -1
  6. package/dist/{chunk-LPURBE7D.js → chunk-3WJBL74Q.js} +1 -1
  7. package/dist/{chunk-PNCLJOUD.js → chunk-466IRAJP.js} +1 -1
  8. package/dist/{chunk-C3KL5SGM.js → chunk-5QZGXYH7.js} +12 -1
  9. package/dist/{chunk-AOB3N4QO.js → chunk-A7SJDWBR.js} +1 -1
  10. package/dist/{chunk-24BMKPCY.js → chunk-BEGFBWEG.js} +17 -6
  11. package/dist/{chunk-JNBNL7FE.js → chunk-BUHGXKPY.js} +1 -1
  12. package/dist/{chunk-FHOEVR3S.js → chunk-F3JLZ7MR.js} +25 -12
  13. package/dist/{chunk-W7PDXGYB.js → chunk-IJT4EKFY.js} +1 -1
  14. package/dist/{chunk-FPKBRUIC.js → chunk-KUZXNKHL.js} +1 -1
  15. package/dist/{chunk-NFLNEKZ5.js → chunk-LSJPJQW4.js} +4 -4
  16. package/dist/{chunk-MNL5NSC4.js → chunk-MHPTCD5O.js} +10 -4
  17. package/dist/{chunk-BVEWY2ZL.js → chunk-OW22TOV7.js} +1 -0
  18. package/dist/{chunk-P23AWV76.js → chunk-V36CPSZW.js} +2 -2
  19. package/dist/{chunk-CCTZIHWN.js → chunk-V7K7XXFB.js} +1 -1
  20. package/dist/{chunk-CMGGWWH3.js → chunk-WULPIU3Z.js} +2 -2
  21. package/dist/{client-Ciy0g8Hx.d.ts → client-CFFgPnIX.d.ts} +7 -2
  22. package/dist/deployments-DMVpPnGX.d.ts +22166 -0
  23. package/dist/index.d.ts +3 -3
  24. package/dist/index.js +9 -9
  25. package/dist/internal.d.ts +4 -4
  26. package/dist/internal.js +8 -8
  27. package/dist/{offers-DzdzB2ZI.d.ts → offers-D14uyLQQ.d.ts} +90 -1
  28. package/dist/{pages-DFZThUH7.d.ts → pages-C1tNuRoB.d.ts} +15 -1
  29. package/dist/portal-proxy.js +3 -3
  30. package/dist/react/index.d.ts +5 -5
  31. package/dist/react/index.js +10 -10
  32. package/dist/schema.d.ts +316 -313
  33. package/dist/schema.js +17 -7
  34. package/dist/server/index.d.ts +4 -4
  35. package/dist/server/index.js +77 -19
  36. package/dist/{telegram-browser-DJiawHY-.d.ts → telegram-browser-zPO8yYDJ.d.ts} +1 -1
  37. package/dist/testing.js +5 -5
  38. package/dist/{transport-BSGalAsT.d.ts → transport-leWfCbHS.d.ts} +76256 -35680
  39. package/package.json +1 -1
  40. package/dist/deployments-V_BQ1PdE.d.ts +0 -10020
@@ -2,8 +2,8 @@ import { x as xContentBodySchema, I as IdentityKind, n as customSourceSchema, W
2
2
  export { a9 as LedgerSetting, aa as TrackerPage, ab as TrackerReadQuery, ac as trackerDataSchema, ad as trackerTriggerContextSchema } from './schema-DquhoBae.js';
3
3
  import * as z from 'zod';
4
4
  export { z } from 'zod';
5
- import { f as badgeDeclarationSchema, B as Badge } from './offers-DzdzB2ZI.js';
6
- export { g as defineOffer } from './offers-DzdzB2ZI.js';
5
+ import { f as badgeDeclarationSchema, B as Badge } from './offers-D14uyLQQ.js';
6
+ export { g as defineOffer } from './offers-D14uyLQQ.js';
7
7
  import { E as EngagementBudget, q as leaderboardDefinitionSchema, r as AuthoringIdentity, s as pointLedgerDeclarationSchema, t as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-sgKusEzF.js';
8
8
  export { u as defineCampaign, v as defineGroup } from './groups-sgKusEzF.js';
9
9
  import { d as discordMessagesSourceSchema, D as DiscordMessageData, c as DiscordMessageTextData, e as discordReactionsSourceSchema, f as DiscordReactionData, g as TelegramReader, h as DiscordReader } from './accounts-DRPENuZe.js';
@@ -257,8 +257,8 @@ declare function defineLeaderboard(input: Omit<LeaderboardInput, "key" | "id" |
257
257
  kind: "earned";
258
258
  }> | ReturnType<typeof earned>;
259
259
  }): {
260
- balance: string;
261
260
  title: string;
261
+ balance: string;
262
262
  access: "participants" | "public";
263
263
  score: {
264
264
  kind: "balance";
@@ -445,7 +445,7 @@ declare const telegram: {
445
445
  reactions(): {
446
446
  kind: "custom";
447
447
  namespace: string;
448
- identities?: ("discord" | "wallet" | "x" | "member" | `app:${string}`)[] | undefined;
448
+ identities?: ("discord" | "member" | "wallet" | "x" | `app:${string}`)[] | undefined;
449
449
  accounts?: string[] | undefined;
450
450
  data?: TrackerDataSchema | undefined;
451
451
  content?: {
@@ -1096,15 +1096,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1096
1096
  badge?: string | undefined;
1097
1097
  };
1098
1098
  tier: string;
1099
- } | {
1100
- kind: "points";
1101
- balance: string;
1102
- amount: number;
1103
1099
  } | {
1104
1100
  kind: "integration";
1105
1101
  provider: "discord";
1106
1102
  action: "grant-role";
1107
1103
  roleId: string;
1104
+ } | {
1105
+ kind: "points";
1106
+ balance: string;
1107
+ amount: number;
1108
1108
  })[] | ((ctx: {
1109
1109
  settings: z.core.$InferObjectOutput<T, {}>;
1110
1110
  }) => Reward[]);
@@ -1179,9 +1179,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1179
1179
  kind: "resource";
1180
1180
  default: string;
1181
1181
  source: {
1182
- provider: "domino";
1183
- resource: "point-ledger";
1184
- } | {
1185
1182
  provider: "discord";
1186
1183
  resource: "channel";
1187
1184
  types: ("text" | "announcement")[];
@@ -1189,6 +1186,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1189
1186
  provider: "discord";
1190
1187
  resource: "role";
1191
1188
  assignable: boolean;
1189
+ } | {
1190
+ provider: "domino";
1191
+ resource: "point-ledger";
1192
1192
  };
1193
1193
  label: string;
1194
1194
  description?: string | undefined;
@@ -1262,15 +1262,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1262
1262
  badge?: string | undefined;
1263
1263
  };
1264
1264
  tier: string;
1265
- } | {
1266
- kind: "points";
1267
- balance: string;
1268
- amount: number;
1269
1265
  } | {
1270
1266
  kind: "integration";
1271
1267
  provider: "discord";
1272
1268
  action: "grant-role";
1273
1269
  roleId: string;
1270
+ } | {
1271
+ kind: "points";
1272
+ balance: string;
1273
+ amount: number;
1274
1274
  })[];
1275
1275
  humanReview: boolean;
1276
1276
  trigger: {
@@ -1292,7 +1292,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1292
1292
  actor?: "staff" | "member" | undefined;
1293
1293
  } | {
1294
1294
  kind: "manual";
1295
- input: "photo" | "quiz" | "none";
1295
+ input: "none" | "quiz" | "photo";
1296
1296
  actor?: "staff" | "member" | undefined;
1297
1297
  } | {
1298
1298
  kind: "automatic";
@@ -1336,9 +1336,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1336
1336
  path: string;
1337
1337
  equals: string | number | boolean;
1338
1338
  })[] | undefined;
1339
- enrollment?: "required" | "none" | undefined;
1339
+ enrollment?: "none" | "required" | undefined;
1340
1340
  since?: "activation" | "window" | "enrollment" | undefined;
1341
- historical?: "automatic" | "staff" | "claim" | undefined;
1341
+ historical?: "staff" | "claim" | "automatic" | undefined;
1342
1342
  content?: true | undefined;
1343
1343
  } | undefined;
1344
1344
  };
@@ -1361,9 +1361,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1361
1361
  title: string;
1362
1362
  })[];
1363
1363
  completion: {
1364
- kind: "streak";
1365
- days: number;
1366
- } | {
1367
1364
  kind: "progress";
1368
1365
  goal: {
1369
1366
  kind: "count";
@@ -1380,6 +1377,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1380
1377
  durationMs: number;
1381
1378
  };
1382
1379
  repeat: "repeat" | "once";
1380
+ } | {
1381
+ kind: "streak";
1382
+ days: number;
1383
1383
  } | {
1384
1384
  kind: "once";
1385
1385
  } | {
@@ -1405,7 +1405,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1405
1405
  campaign?: {
1406
1406
  key: string;
1407
1407
  title: string;
1408
- enrollment: "required" | "none";
1408
+ enrollment: "none" | "required";
1409
1409
  window?: {
1410
1410
  from: number;
1411
1411
  until: number;
@@ -1520,15 +1520,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1520
1520
  badge?: string | undefined;
1521
1521
  };
1522
1522
  tier: string;
1523
- } | {
1524
- kind: "points";
1525
- balance: string;
1526
- amount: number;
1527
1523
  } | {
1528
1524
  kind: "integration";
1529
1525
  provider: "discord";
1530
1526
  action: "grant-role";
1531
1527
  roleId: string;
1528
+ } | {
1529
+ kind: "points";
1530
+ balance: string;
1531
+ amount: number;
1532
1532
  })[] | ((ctx: {
1533
1533
  settings: z.core.$InferObjectOutput<T, {}>;
1534
1534
  }) => Reward[]);
@@ -1603,9 +1603,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1603
1603
  kind: "resource";
1604
1604
  default: string;
1605
1605
  source: {
1606
- provider: "domino";
1607
- resource: "point-ledger";
1608
- } | {
1609
1606
  provider: "discord";
1610
1607
  resource: "channel";
1611
1608
  types: ("text" | "announcement")[];
@@ -1613,6 +1610,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1613
1610
  provider: "discord";
1614
1611
  resource: "role";
1615
1612
  assignable: boolean;
1613
+ } | {
1614
+ provider: "domino";
1615
+ resource: "point-ledger";
1616
1616
  };
1617
1617
  label: string;
1618
1618
  description?: string | undefined;
@@ -1686,15 +1686,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1686
1686
  badge?: string | undefined;
1687
1687
  };
1688
1688
  tier: string;
1689
- } | {
1690
- kind: "points";
1691
- balance: string;
1692
- amount: number;
1693
1689
  } | {
1694
1690
  kind: "integration";
1695
1691
  provider: "discord";
1696
1692
  action: "grant-role";
1697
1693
  roleId: string;
1694
+ } | {
1695
+ kind: "points";
1696
+ balance: string;
1697
+ amount: number;
1698
1698
  })[];
1699
1699
  humanReview: boolean;
1700
1700
  trigger: {
@@ -1716,7 +1716,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1716
1716
  actor?: "staff" | "member" | undefined;
1717
1717
  } | {
1718
1718
  kind: "manual";
1719
- input: "photo" | "quiz" | "none";
1719
+ input: "none" | "quiz" | "photo";
1720
1720
  actor?: "staff" | "member" | undefined;
1721
1721
  } | {
1722
1722
  kind: "automatic";
@@ -1760,9 +1760,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1760
1760
  path: string;
1761
1761
  equals: string | number | boolean;
1762
1762
  })[] | undefined;
1763
- enrollment?: "required" | "none" | undefined;
1763
+ enrollment?: "none" | "required" | undefined;
1764
1764
  since?: "activation" | "window" | "enrollment" | undefined;
1765
- historical?: "automatic" | "staff" | "claim" | undefined;
1765
+ historical?: "staff" | "claim" | "automatic" | undefined;
1766
1766
  content?: true | undefined;
1767
1767
  } | undefined;
1768
1768
  };
@@ -1785,9 +1785,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1785
1785
  title: string;
1786
1786
  })[];
1787
1787
  completion: {
1788
- kind: "streak";
1789
- days: number;
1790
- } | {
1791
1788
  kind: "progress";
1792
1789
  goal: {
1793
1790
  kind: "count";
@@ -1804,6 +1801,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1804
1801
  durationMs: number;
1805
1802
  };
1806
1803
  repeat: "repeat" | "once";
1804
+ } | {
1805
+ kind: "streak";
1806
+ days: number;
1807
1807
  } | {
1808
1808
  kind: "once";
1809
1809
  } | {
@@ -1829,7 +1829,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1829
1829
  campaign?: {
1830
1830
  key: string;
1831
1831
  title: string;
1832
- enrollment: "required" | "none";
1832
+ enrollment: "none" | "required";
1833
1833
  window?: {
1834
1834
  from: number;
1835
1835
  until: number;
package/dist/authoring.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  sourceDataSchema,
11
11
  sourceRoles,
12
12
  validateQuestShape
13
- } from "./chunk-LPURBE7D.js";
13
+ } from "./chunk-3WJBL74Q.js";
14
14
  import {
15
15
  badgeDeclarationSchema,
16
16
  defineOffer,
@@ -20,11 +20,11 @@ import {
20
20
  leaderboardAuthoringSchema,
21
21
  pointLedgerDeclarationSchema,
22
22
  referralAuthoringSchema
23
- } from "./chunk-C3KL5SGM.js";
23
+ } from "./chunk-5QZGXYH7.js";
24
24
  import {
25
25
  telegramReactionDataSchema,
26
26
  telegramReactionsNamespace
27
- } from "./chunk-JNBNL7FE.js";
27
+ } from "./chunk-BUHGXKPY.js";
28
28
  import {
29
29
  authoringKey,
30
30
  badgeReward,
@@ -81,7 +81,7 @@ import {
81
81
  whereSchemaIssue,
82
82
  whereSettings,
83
83
  xSearchSourceSchema
84
- } from "./chunk-BVEWY2ZL.js";
84
+ } from "./chunk-OW22TOV7.js";
85
85
 
86
86
  // src/builders.ts
87
87
  import * as z from "zod";
package/dist/browser.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-Ciy0g8Hx.js';
2
- export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, T as TelegramSignInOption, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, t as telegramMiniAppInitData, w as walletStandardSolanaSigner } from './telegram-browser-DJiawHY-.js';
1
+ import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-CFFgPnIX.js';
2
+ export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, T as TelegramSignInOption, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, t as telegramMiniAppInitData, w as walletStandardSolanaSigner } from './telegram-browser-zPO8yYDJ.js';
3
3
  import './groups-sgKusEzF.js';
4
4
  import 'zod';
5
5
  import './schema-DquhoBae.js';
6
- import './pages-DFZThUH7.js';
6
+ import './pages-C1tNuRoB.js';
7
7
  import './submission-input-Dr0v6J9N.js';
8
8
  import './action-DBzILFx9.js';
9
9
  import './participant-activity-BPZiW7m7.js';
package/dist/browser.js CHANGED
@@ -12,16 +12,16 @@ import {
12
12
  solanaSigner,
13
13
  telegramMiniAppInitData,
14
14
  walletStandardSolanaSigner
15
- } from "./chunk-CMGGWWH3.js";
16
- import "./chunk-FHOEVR3S.js";
17
- import "./chunk-W7PDXGYB.js";
18
- import "./chunk-MNL5NSC4.js";
19
- import "./chunk-C3KL5SGM.js";
20
- import "./chunk-JNBNL7FE.js";
21
- import "./chunk-CCTZIHWN.js";
22
- import "./chunk-AOB3N4QO.js";
23
- import "./chunk-PNCLJOUD.js";
24
- import "./chunk-BVEWY2ZL.js";
15
+ } from "./chunk-WULPIU3Z.js";
16
+ import "./chunk-F3JLZ7MR.js";
17
+ import "./chunk-IJT4EKFY.js";
18
+ import "./chunk-MHPTCD5O.js";
19
+ import "./chunk-5QZGXYH7.js";
20
+ import "./chunk-BUHGXKPY.js";
21
+ import "./chunk-V7K7XXFB.js";
22
+ import "./chunk-A7SJDWBR.js";
23
+ import "./chunk-466IRAJP.js";
24
+ import "./chunk-OW22TOV7.js";
25
25
  export {
26
26
  browserSubmissionStore,
27
27
  cosmosChainList,
@@ -8,7 +8,7 @@ import {
8
8
  rewardBundleSchema,
9
9
  settingsValuesSchema,
10
10
  trackerTriggerContextSchema
11
- } from "./chunk-BVEWY2ZL.js";
11
+ } from "./chunk-OW22TOV7.js";
12
12
 
13
13
  // src/server/attempt-captures.ts
14
14
  import * as z from "zod";
@@ -5,7 +5,7 @@ import {
5
5
  isKnownTrackerSource,
6
6
  trackerDataSchema,
7
7
  xAccountRoles
8
- } from "./chunk-BVEWY2ZL.js";
8
+ } from "./chunk-OW22TOV7.js";
9
9
 
10
10
  // src/quest-shape.ts
11
11
  function validateQuestShape(description, options = {}) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  identifier
3
- } from "./chunk-BVEWY2ZL.js";
3
+ } from "./chunk-OW22TOV7.js";
4
4
 
5
5
  // src/auth.ts
6
6
  import * as z from "zod";
@@ -11,7 +11,7 @@ import {
11
11
  responseShape,
12
12
  rewardKey,
13
13
  tierRewardSchema
14
- } from "./chunk-BVEWY2ZL.js";
14
+ } from "./chunk-OW22TOV7.js";
15
15
 
16
16
  // src/badges.ts
17
17
  import * as z from "zod";
@@ -908,6 +908,15 @@ var redemptionSchema = responseShape(
908
908
  }).strict()
909
909
  ])
910
910
  );
911
+ var redemptionQuerySchema = z7.strictObject({
912
+ member: identifier.optional(),
913
+ cursor: pageCursorSchema.optional(),
914
+ limit: z7.coerce.number().int().min(1).max(100).optional()
915
+ });
916
+ var redemptionPageSchema = z7.object({
917
+ items: z7.array(redemptionSchema),
918
+ nextCursor: pageCursorSchema.nullable()
919
+ });
911
920
  var offerControlSchema = z7.object({
912
921
  actionId: identifier,
913
922
  revision: z7.number().int().positive(),
@@ -1036,6 +1045,8 @@ export {
1036
1045
  offerSchema,
1037
1046
  redeemOfferSchema,
1038
1047
  redemptionSchema,
1048
+ redemptionQuerySchema,
1049
+ redemptionPageSchema,
1039
1050
  offerControlSchema,
1040
1051
  redemptionCancellationSchema,
1041
1052
  defineOffer
@@ -1,6 +1,6 @@
1
1
  // package.json
2
2
  var name = "@domino-sdk/relay";
3
- var version = "1.30.0";
3
+ var version = "1.31.0";
4
4
 
5
5
  // src/client-identity.ts
6
6
  function clientIdentity() {
@@ -6,7 +6,7 @@ import {
6
6
  imageSightingsSchema,
7
7
  imageUploadsSchema,
8
8
  publishedImageSchema
9
- } from "./chunk-FPKBRUIC.js";
9
+ } from "./chunk-KUZXNKHL.js";
10
10
  import {
11
11
  catalogDeploymentSchema,
12
12
  collectionPassSchema,
@@ -24,7 +24,7 @@ import {
24
24
  questTypeVersionSchema,
25
25
  questViewSchema,
26
26
  rewardDeliveriesSchema
27
- } from "./chunk-MNL5NSC4.js";
27
+ } from "./chunk-MHPTCD5O.js";
28
28
  import {
29
29
  badgeArtifactSchema,
30
30
  badgeSchema,
@@ -57,15 +57,15 @@ import {
57
57
  referralDefinitionSchema,
58
58
  referralHistorySchema,
59
59
  referralSummarySchema
60
- } from "./chunk-C3KL5SGM.js";
60
+ } from "./chunk-5QZGXYH7.js";
61
61
  import {
62
62
  telegramAccountConnectionSchema
63
- } from "./chunk-JNBNL7FE.js";
63
+ } from "./chunk-BUHGXKPY.js";
64
64
  import {
65
65
  exchangeResultSchema,
66
66
  memberSummarySchema,
67
67
  participantSessionSchema
68
- } from "./chunk-PNCLJOUD.js";
68
+ } from "./chunk-466IRAJP.js";
69
69
  import {
70
70
  accountConnectionSchema,
71
71
  attemptSchema,
@@ -96,7 +96,7 @@ import {
96
96
  walletBalanceSchema,
97
97
  walletMessageChallengeSchema,
98
98
  walletSignInNetworksSchema
99
- } from "./chunk-BVEWY2ZL.js";
99
+ } from "./chunk-OW22TOV7.js";
100
100
 
101
101
  // src/deployments.ts
102
102
  import * as z from "zod";
@@ -199,6 +199,15 @@ var deploymentRecordSchema = z.discriminatedUnion("status", [
199
199
  publishedBy: z.string().nullable()
200
200
  })
201
201
  ]);
202
+ var deploymentHistoryQuerySchema = z.strictObject({
203
+ cursor: pageCursorSchema.optional(),
204
+ limit: z.coerce.number().int().min(1).max(100).optional()
205
+ });
206
+ var deploymentHistoryPageSchema = z.object({
207
+ items: z.array(deploymentRecordSchema),
208
+ published: z.array(deploymentRecordSchema).max(2),
209
+ nextCursor: pageCursorSchema.nullable()
210
+ });
202
211
  var submitDeploymentSchema = z.object({ id: identifier }).strict();
203
212
  var rejectDeploymentSchema = z.object({
204
213
  id: identifier,
@@ -648,6 +657,8 @@ export {
648
657
  deploymentResultSchema,
649
658
  deploymentSourceSchema,
650
659
  deploymentRecordSchema,
660
+ deploymentHistoryQuerySchema,
661
+ deploymentHistoryPageSchema,
651
662
  submitDeploymentSchema,
652
663
  rejectDeploymentSchema,
653
664
  deploymentRejectionSchema,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  accountConnectionSchema
3
- } from "./chunk-BVEWY2ZL.js";
3
+ } from "./chunk-OW22TOV7.js";
4
4
 
5
5
  // src/telegram.ts
6
6
  import * as z from "zod";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createRelayAction,
3
3
  withActionId
4
- } from "./chunk-W7PDXGYB.js";
4
+ } from "./chunk-IJT4EKFY.js";
5
5
  import {
6
6
  collectionPassSchema,
7
7
  participantActivityQuerySchema,
@@ -15,8 +15,9 @@ import {
15
15
  questOutcomePageSchema,
16
16
  questOutcomeQuerySchema,
17
17
  questOutcomeSchema,
18
- rewardDeliveriesSchema
19
- } from "./chunk-MNL5NSC4.js";
18
+ rewardDeliveriesSchema,
19
+ rewardDeliveryQuerySchema
20
+ } from "./chunk-MHPTCD5O.js";
20
21
  import {
21
22
  AVATAR_UPLOAD_LIMIT,
22
23
  avatarUploadTypes,
@@ -45,29 +46,29 @@ import {
45
46
  referralDefinitionSchema,
46
47
  referralHistorySchema,
47
48
  referralSummarySchema
48
- } from "./chunk-C3KL5SGM.js";
49
+ } from "./chunk-5QZGXYH7.js";
49
50
  import {
50
51
  telegramAccountConnectionSchema,
51
52
  telegramMiniAppSignInSchema,
52
53
  telegramSignInMethodsSchema
53
- } from "./chunk-JNBNL7FE.js";
54
+ } from "./chunk-BUHGXKPY.js";
54
55
  import {
55
56
  PARTICIPANT_TIMEOUT,
56
57
  lifetime,
57
58
  retryAfter,
58
59
  retrying,
59
60
  validTimeout
60
- } from "./chunk-CCTZIHWN.js";
61
+ } from "./chunk-V7K7XXFB.js";
61
62
  import {
62
63
  clientIdentity
63
- } from "./chunk-AOB3N4QO.js";
64
+ } from "./chunk-A7SJDWBR.js";
64
65
  import {
65
66
  exchangeResultSchema,
66
67
  exchangeSchema,
67
68
  memberSummarySchema,
68
69
  participantSessionSchema,
69
70
  sessionMember
70
- } from "./chunk-PNCLJOUD.js";
71
+ } from "./chunk-466IRAJP.js";
71
72
  import {
72
73
  RelayError,
73
74
  RelayErrorCode,
@@ -106,7 +107,7 @@ import {
106
107
  walletSignInNetworksSchema,
107
108
  walletSignatureSchema,
108
109
  walletUnlinkInputSchema
109
- } from "./chunk-BVEWY2ZL.js";
110
+ } from "./chunk-OW22TOV7.js";
110
111
 
111
112
  // src/legacy-submissions.ts
112
113
  import * as z from "zod";
@@ -2217,9 +2218,21 @@ function relayClient(options) {
2217
2218
  progress: (requestOptions) => request("/v1/me/progress", memberProgressSchema, {
2218
2219
  options: requestOptions
2219
2220
  }),
2220
- rewardDeliveries: (requestOptions) => request("/v1/reward-deliveries", rewardDeliveriesSchema, {
2221
- options: requestOptions
2222
- }),
2221
+ /**
2222
+ * The member's reward deliveries, newest first, one page at a time. Pass a page's
2223
+ * `nextCursor` back as `cursor` for older ones; `limit` is 1 to 500, 500 by default.
2224
+ */
2225
+ rewardDeliveries: (requestOptions = {}) => {
2226
+ const { cursor, limit, ...options2 } = requestOptions;
2227
+ return request(
2228
+ withQuery(
2229
+ "/v1/reward-deliveries",
2230
+ parseInput(rewardDeliveryQuerySchema, { cursor, limit })
2231
+ ),
2232
+ rewardDeliveriesSchema,
2233
+ { options: options2 }
2234
+ );
2235
+ },
2223
2236
  /**
2224
2237
  * `{ items }`: the member's balance in each of the project's point ledgers, in the project's
2225
2238
  * ledger order, zero in a ledger they have no entries in.
@@ -2,7 +2,7 @@ import {
2
2
  RelayErrorCode,
3
3
  clientError,
4
4
  isRequestError
5
- } from "./chunk-BVEWY2ZL.js";
5
+ } from "./chunk-OW22TOV7.js";
6
6
 
7
7
  // src/action.ts
8
8
  function withActionId(value) {
@@ -2,7 +2,7 @@ import {
2
2
  identifier,
3
3
  responseShape,
4
4
  xTweetSchema
5
- } from "./chunk-BVEWY2ZL.js";
5
+ } from "./chunk-OW22TOV7.js";
6
6
 
7
7
  // src/x.ts
8
8
  import * as z from "zod";
@@ -4,20 +4,20 @@ import {
4
4
  retryAfter,
5
5
  retrying,
6
6
  validTimeout
7
- } from "./chunk-CCTZIHWN.js";
7
+ } from "./chunk-V7K7XXFB.js";
8
8
  import {
9
9
  clientIdentity
10
- } from "./chunk-AOB3N4QO.js";
10
+ } from "./chunk-A7SJDWBR.js";
11
11
  import {
12
12
  authScopeSchema
13
- } from "./chunk-PNCLJOUD.js";
13
+ } from "./chunk-466IRAJP.js";
14
14
  import {
15
15
  RequestError,
16
16
  appIdentityKindSchema,
17
17
  isRequestError,
18
18
  knownResponse,
19
19
  openIdentityKindSchema
20
- } from "./chunk-BVEWY2ZL.js";
20
+ } from "./chunk-OW22TOV7.js";
21
21
 
22
22
  // src/configuration.ts
23
23
  function questConfiguration(release) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  badgeSchema,
3
3
  pointLedgerReferenceSchema
4
- } from "./chunk-C3KL5SGM.js";
4
+ } from "./chunk-5QZGXYH7.js";
5
5
  import {
6
6
  authoringIdentityShape,
7
7
  entitlementSchema,
@@ -20,7 +20,7 @@ import {
20
20
  storedQuestDescriptionSchema,
21
21
  storedReviewModeSchema,
22
22
  tieredRewardReferenceSchema
23
- } from "./chunk-BVEWY2ZL.js";
23
+ } from "./chunk-OW22TOV7.js";
24
24
 
25
25
  // src/participant-activity.ts
26
26
  import * as z from "zod";
@@ -477,7 +477,12 @@ var rewardDeliverySchema = z6.union([
477
477
  futureRewardDeliverySchema
478
478
  ]);
479
479
  var rewardDeliveriesSchema = z6.object({
480
- deliveries: z6.array(rewardDeliverySchema)
480
+ deliveries: z6.array(rewardDeliverySchema),
481
+ nextCursor: pageCursorSchema.nullable().default(null)
482
+ });
483
+ var rewardDeliveryQuerySchema = z6.strictObject({
484
+ cursor: pageCursorSchema.optional(),
485
+ limit: z6.coerce.number().int().min(1).max(500).optional()
481
486
  });
482
487
 
483
488
  export {
@@ -526,5 +531,6 @@ export {
526
531
  roleReconciliationSchema,
527
532
  knownRewardDeliverySchema,
528
533
  rewardDeliverySchema,
529
- rewardDeliveriesSchema
534
+ rewardDeliveriesSchema,
535
+ rewardDeliveryQuerySchema
530
536
  };
@@ -630,6 +630,7 @@ var unsupported = {
630
630
  $defs: "inline the schema instead of registering or reusing it by ID",
631
631
  definitions: "inline the schema instead of registering or reusing it by ID",
632
632
  if: "use a union instead",
633
+ // oxlint-disable-next-line unicorn/no-thenable -- A JSON Schema keyword, never awaited.
633
634
  then: "use a union instead",
634
635
  else: "use a union instead",
635
636
  contains: "check array contents in your evaluator",
@@ -4,10 +4,10 @@ import {
4
4
  imageFieldsSchema,
5
5
  imageInspectionSchema,
6
6
  imageSightingsSchema
7
- } from "./chunk-FPKBRUIC.js";
7
+ } from "./chunk-KUZXNKHL.js";
8
8
  import {
9
9
  photoResultSchema
10
- } from "./chunk-BVEWY2ZL.js";
10
+ } from "./chunk-OW22TOV7.js";
11
11
 
12
12
  // src/image-results.ts
13
13
  import * as z from "zod";