@domino-sdk/relay 1.74.0 → 1.76.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 (53) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/dist/authoring.d.ts +6 -6
  3. package/dist/authoring.js +4 -4
  4. package/dist/browser.d.ts +3 -3
  5. package/dist/browser.js +8 -8
  6. package/dist/{capability-error-Bn6cCqof.d.ts → capability-error-D56xxE2i.d.ts} +1 -1
  7. package/dist/{chunk-CW7FJ5PX.js → chunk-3KHVIUKK.js} +1 -1
  8. package/dist/{chunk-2LURSPDM.js → chunk-4WODSE6Y.js} +2 -2
  9. package/dist/{chunk-F66GGNKD.js → chunk-4YKOSNYI.js} +1 -1
  10. package/dist/{chunk-ELHMJODS.js → chunk-7B7MDHJ6.js} +1 -1
  11. package/dist/{chunk-6TDHRGBM.js → chunk-7QHROIML.js} +3 -0
  12. package/dist/{chunk-DNOLNMCW.js → chunk-E4ZQCG44.js} +9 -8
  13. package/dist/{chunk-SVZ3QWHT.js → chunk-FBS65R66.js} +2 -2
  14. package/dist/{chunk-KP55TMCC.js → chunk-HEQ7HLXG.js} +1 -1
  15. package/dist/{chunk-TGQNNMCY.js → chunk-IMX45NSW.js} +6 -6
  16. package/dist/{chunk-RALBAKKX.js → chunk-K3PEQXDV.js} +1 -1
  17. package/dist/{chunk-JZT2NLSG.js → chunk-LFFGW7GB.js} +449 -392
  18. package/dist/{chunk-NI6XRGEL.js → chunk-SPLXHFVX.js} +2 -2
  19. package/dist/{chunk-KGZ7SRKJ.js → chunk-TAZ5AEYF.js} +1 -1
  20. package/dist/{chunk-HCOLMJFX.js → chunk-X5REDFGV.js} +4 -3
  21. package/dist/{chunk-T4PTFCSB.js → chunk-XEXB3WZE.js} +1 -1
  22. package/dist/{chunk-724CKAC7.js → chunk-YB5BSKVU.js} +3 -3
  23. package/dist/{chunk-7I7P5UVC.js → chunk-ZXFRHGZC.js} +422 -291
  24. package/dist/{client-B2aVGf38.d.ts → client-336yROej.d.ts} +2 -2
  25. package/dist/{identity-integration-C03rUYc0.d.ts → identity-integration-B1f5oOdc.d.ts} +1169 -3
  26. package/dist/{transport-D77Rbf4D.d.ts → index-BM0DdDYy.d.ts} +614 -1274
  27. package/dist/index.d.ts +3 -3
  28. package/dist/index.js +7 -7
  29. package/dist/internal.d.ts +46 -22
  30. package/dist/internal.js +24 -17
  31. package/dist/{limits-p-Mg0oSi.d.ts → limits-DICxln-i.d.ts} +6 -0
  32. package/dist/portal-proxy.d.ts +8 -1
  33. package/dist/portal-proxy.js +125 -50
  34. package/dist/react/index.d.ts +5 -5
  35. package/dist/react/index.js +8 -8
  36. package/dist/runtime/authoring.js +1 -1
  37. package/dist/runtime/chunks/H6GH644T.js +1 -0
  38. package/dist/runtime/manifest.json +3 -3
  39. package/dist/runtime/schema.js +1 -1
  40. package/dist/schema.d.ts +4 -4
  41. package/dist/schema.js +7 -7
  42. package/dist/server/index.d.ts +4 -4
  43. package/dist/server/index.js +136 -29
  44. package/dist/{sign-in-providers-BG22ZZkl.d.ts → sign-in-providers-BMtk_NWY.d.ts} +1 -1
  45. package/dist/solana.d.ts +3 -3
  46. package/dist/solana.js +8 -8
  47. package/dist/{station-check-in-a1deSjbm.d.ts → station-check-in-vcDKQOet.d.ts} +2 -2
  48. package/dist/{submission-input-DBDLkTF8.d.ts → submission-input-D_NiBR0W.d.ts} +6 -1
  49. package/dist/telegram.d.ts +2 -2
  50. package/dist/testing.d.ts +2 -2
  51. package/dist/testing.js +15 -5
  52. package/package.json +2 -1
  53. package/dist/runtime/chunks/NYEWMPJH.js +0 -1
@@ -1,15 +1,15 @@
1
1
  import * as z from 'zod';
2
2
  import { z as z$1 } from 'zod';
3
3
  import { x as ManagementStateQuery, a3 as memberEnrollmentInputSchema, e as CreatorAccountProvider, M as MemberConsent, _ as memberConsentHistoryQuerySchema, y as MemberConsentHistory, i as PageQuery, u as RewardDeliveryAction, t as contentQualificationQuerySchema, r as RewardDeliveryQuery, s as RewardDeliveryPage, q as ResponseSchema, R as ResponseResult } from './reward-deliveries-zWfsgc6m.js';
4
- import { b6 as PublishedRelease, J as SignInProvider, b as AttemptStatus, X as AttemptCodeSource, W as KnownAttemptActionKind, az as CompletionSourceKind, Y as IntegrationModuleProvider, Z as GalleryKind, _ as RewardType, bf as QuestSubmissionStatus, dK as questSettingsInputSchema, dX as referralManagementSchema, e0 as referralSuspensionSchema, dY as referralQualificationSchema, d_ as referralRewardResolutionSchema, dU as referralControlSchema, bM as createPointLedgerSchema, dv as pointsMutationSchema, a$ as ManagedPointHistoryPage, dq as pointLedgerPropertiesSchema, ds as pointLedgerSchema, d5 as managedPointLedgerSchema, b5 as ProjectIntegration, d7 as memberCampaignEnrollmentInputSchema, d8 as memberCampaignWithdrawalInputSchema, bN as createStockItemSchema, bH as configurePickupSchema, cf as entitlementCorrectionSchema, bz as beginHandoverSchema, bI as confirmHandoverSchema, au as submitSchema, ex as SolanaTransactionSubmission, ey as StationCodeSubmission, ej as staffDecisionSchema, cq as evidenceRetentionInputSchema, cs as evidenceRetentionSettingInputSchema, aM as GroupPageQuery, B as ProjectGroupReference, bL as createGroupSchema, ev as updateGroupSchema, d3 as managedGroupSchema, aI as GroupArchiveInput, bp as addGroupMemberSchema, e2 as removeGroupMemberSchema, bl as SettlementPaymentStatus, cU as leaderboardQuerySchema, cJ as leaderboardExclusionSchema, cH as leaderboardExclusionGroupBindingSchema, cK as leaderboardGroupSchema, cW as leaderboardSettlementApprovalSchema, aw as contentPerformanceQuerySchema, c1 as engagementChangePreviewInputSchema, c3 as engagementChangeSchema, ce as engagementVersionQuerySchema, av as engagementPageQuerySchema, c7 as engagementPublishSchema, b8 as QuestDescription, ak as QuestStation } from './accounts-C9as33l1.js';
5
- import { w as MemberImportCreateInput, c as MemberImportRefusalCode, b as MemberImportState, x as MemberImportListQuery, y as MemberImportRowQuery, z as MemberImportFullRowInput, B as MemberImportRevertInput, n as identityIntegrationInputSchema, l as identityIntegrationAccountVouchingInputSchema } from './identity-integration-C03rUYc0.js';
4
+ import { b6 as PublishedRelease, J as SignInProvider, b as AttemptStatus, X as AttemptCodeSource, W as KnownAttemptActionKind, az as CompletionSourceKind, Y as IntegrationModuleProvider, Z as GalleryKind, _ as RewardType, bf as QuestSubmissionStatus, dK as questSettingsInputSchema, dX as referralManagementSchema, e0 as referralSuspensionSchema, dY as referralQualificationSchema, d_ as referralRewardResolutionSchema, dU as referralControlSchema, bM as createPointLedgerSchema, dv as pointsMutationSchema, a$ as ManagedPointHistoryPage, dq as pointLedgerPropertiesSchema, ds as pointLedgerSchema, d5 as managedPointLedgerSchema, b5 as ProjectIntegration, d7 as memberCampaignEnrollmentInputSchema, d8 as memberCampaignWithdrawalInputSchema, bN as createStockItemSchema, bH as configurePickupSchema, E as Entitlement, cf as entitlementCorrectionSchema, bz as beginHandoverSchema, bI as confirmHandoverSchema, au as submitSchema, ex as SolanaTransactionSubmission, ey as StationCodeSubmission, ej as staffDecisionSchema, cq as evidenceRetentionInputSchema, cs as evidenceRetentionSettingInputSchema, aM as GroupPageQuery, B as ProjectGroupReference, bL as createGroupSchema, ev as updateGroupSchema, d3 as managedGroupSchema, aI as GroupArchiveInput, bp as addGroupMemberSchema, e2 as removeGroupMemberSchema, bl as SettlementPaymentStatus, cU as leaderboardQuerySchema, v as PointEntryKind, cJ as leaderboardExclusionSchema, cH as leaderboardExclusionGroupBindingSchema, cK as leaderboardGroupSchema, cW as leaderboardSettlementApprovalSchema, aw as contentPerformanceQuerySchema, c1 as engagementChangePreviewInputSchema, c3 as engagementChangeSchema, ce as engagementVersionQuerySchema, av as engagementPageQuerySchema, c7 as engagementPublishSchema, b8 as QuestDescription, ak as QuestStation } from './accounts-C9as33l1.js';
5
+ import { z as KnownProjectPermission, B as AppStorageSqlClear, C as AppStorageSqlClearResult, D as AppStorageKvClear, E as AppStorageKvClearResult, F as AppStorageKind, A as AppSecretCredential, G as MemberImportCreateInput, d as MemberImportRefusalCode, c as MemberImportState, H as MemberImportListQuery, J as MemberImportRowQuery, L as MemberImportFullRowInput, N as MemberImportRevertInput, q as identityIntegrationInputSchema, o as identityIntegrationAccountVouchingInputSchema, b as ProjectRole, e as ProjectPermission } from './identity-integration-B1f5oOdc.js';
6
6
  import { S as SkipEnrollment, O as OpenIdentityKind, b as TrackerDataSchema, ai as TrackerQuery, aZ as trackerContentReadSchema, b0 as trackerControlSchema, b8 as trackerIngestSchema, af as TrackerOutcomeQuery, ao as TrackerTriggerOutcomeQuery, bb as trackerOutcomeRetrySchema, ah as TrackerPreviewInput, aH as managedTrackerCreateSchema, aP as programActivityTrackerCreateSchema, aM as nftTrackerCreateSchema, aS as stakeTrackerCreateSchema, aO as programAccountTrackerCreateSchema, bx as trackerUpdateSchema, f as TrackerSource, al as TrackerSourceResponse, bO as trackerDataIssue$1, bP as trackerDataIssues$1, bT as whereSchemaIssue$1 } from './tracker-data-Dwq9dWEm.js';
7
- import { O as OptionalActionId } from './action-BDFKqGlH.js';
8
- import { R as RequestError, b as RequestErrorKind } from './request-error-C24SY7n9.js';
9
7
  import { b as WalletChain, aE as SolanaTransactionFixtureInput, a9 as WalletTransactions, S as SolanaIdlSource, d as WalletProofKind, k as SolanaNetwork } from './wallet-CeqgtXNm.js';
10
- import { e as ImageFields, h as ImageRequest, o as XUserLookupInput, n as XUser, N as AnalyticsQuery, O as AnalyticsRead, Q as AnalyticsCatalog, R as AnalyticsMetricQuery, S as AnalyticsMetricResult } from './limits-p-Mg0oSi.js';
8
+ import { R as RequestError, b as RequestErrorKind } from './request-error-C24SY7n9.js';
9
+ import { o as XUserLookupInput, n as XUser, N as AnalyticsQuery, O as AnalyticsRead, Q as AnalyticsCatalog, R as AnalyticsMetricQuery, S as AnalyticsMetricResult, e as ImageFields, h as ImageRequest } from './limits-DICxln-i.js';
11
10
  import { o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, l as automaticOutcomeQuerySchema, g as automaticCatchUpInputSchema, f as automaticCatchUpConfirmSchema, z as counterHistoryQuerySchema, E as counterModerationSchema, r as collectionBeginSchema } from './automatic-outcomes-D0yMHSHL.js';
12
11
  import { J as profileSettingsInputSchema, G as profileModerationSchema } from './profiles-CLDKZVFx.js';
12
+ import { O as OptionalActionId } from './action-BDFKqGlH.js';
13
13
  import { y as offerControlSchema, F as redemptionCancellationSchema, j as RedemptionQuery, q as createBadgeSchema, n as badgeMutationSchema, o as badgePropertiesSchema } from './offers-CnMyMeQo.js';
14
14
  import { v as projectCalendarInputSchema, a as DeploymentHistoryQuery, y as projectDeploymentSchema, r as deploymentResultSchema, B as publishDeploymentSchema, p as deploymentRecordSchema, I as submitDeploymentSchema, q as deploymentRejectionSchema, G as rejectDeploymentSchema, k as deploymentActionSchema, z as promoteDeploymentSchema, H as rollbackDeploymentSchema } from './deployments-CGV1rIZm.js';
15
15
  import { f as allocateQuestSchema, i as catalogDeploymentSchema, z as saveQuestDraftSchema, p as publishQuestDraftSchema } from './catalog-9I6t18qP.js';
@@ -18,67 +18,6 @@ import './attempt-captures-DU4vi20Y.js';
18
18
  /** Older releases did not record ownership. Preserve every value, including defaults. */
19
19
  declare function questConfiguration(release: Pick<PublishedRelease, "configuration" | "fields" | "values">): NonNullable<PublishedRelease["configuration"]>;
20
20
 
21
- /** Every declared field is present with its declared type or null; nothing else is returned. */
22
- declare function parseImageExtraction(raw: ImageFields, value: unknown): {
23
- values: Record<string, string | number | boolean | null>;
24
- reason: string;
25
- };
26
- declare function parseImageResult(request: ImageRequest, value: unknown): {
27
- kind: "pass" | "fail" | "unclear";
28
- reason: string;
29
- } | {
30
- width: number;
31
- height: number;
32
- format: "jpeg" | "png" | "webp" | "gif" | "avif";
33
- bytes: number;
34
- sha256: string;
35
- phash: string;
36
- dhash: string;
37
- } | {
38
- identical: boolean;
39
- phashDistance: number;
40
- dhashDistance: number;
41
- } | {
42
- values: Record<string, string | number | boolean | null>;
43
- reason: string;
44
- } | {
45
- matches: number;
46
- closestDistance: number | null;
47
- firstSeenAt: number | null;
48
- };
49
-
50
- /**
51
- * One participant route. `path` uses the API's route syntax: every parameter is `:name{pattern}`,
52
- * one path segment matched by `pattern`.
53
- */
54
- type ParticipantRoute = {
55
- method: "GET" | "POST";
56
- path: `/v1/${string}`;
57
- /**
58
- * Sign-in routes only hosted apps reach: identity integrations' apps have their own login. They
59
- * still connect accounts through /v1/auth/start and /v1/auth/complete.
60
- */
61
- hostedOnly?: true;
62
- };
63
- declare const participantRoutes$1: readonly ParticipantRoute[];
64
- /**
65
- * The expression a route path matches: its literal parts exactly, each `:name{pattern}` one path
66
- * segment. A parameter whose pattern can match "/" would span segments, so it is refused, as is a
67
- * parameter without a pattern.
68
- */
69
- declare function participantRoutePattern$1(path: string): RegExp;
70
- /**
71
- * A route a hosted app reaches through `proxyParticipant`: exactly a listed method and path.
72
- * Another method on a listed path is not a participant route either.
73
- */
74
- declare function isParticipantRoute(path: string, method: string): boolean;
75
- /**
76
- * A path an identity integration reaches, with any method: the API answers a method its route
77
- * does not register with 405, and OPTIONS with the route's `Allow` header. Sign-in routes are
78
- * hosted-only.
79
- */
80
- declare function isIntegrationParticipantPath(path: string): boolean;
81
-
82
21
  /**
83
22
  * The operation target that holds a check-in station's revocation in `operations.list()`:
84
23
  * `station:<quest ID>:<station key>`, with `paused` meaning revoked. Neither part contains `:`.
@@ -1550,6 +1489,68 @@ declare const testMemberHistorySchema: z.ZodObject<{
1550
1489
  type TestMemberHistoryQuery = z.output<typeof testMemberHistoryQuerySchema>;
1551
1490
  type TestMemberHistory = z.infer<typeof testMemberHistorySchema>;
1552
1491
 
1492
+ /**
1493
+ * A project starter Console and the CLI offer. `id` names a directory under templates/ and a
1494
+ * published starter in hosting storage.
1495
+ *
1496
+ * @compat output
1497
+ */
1498
+ interface Starter {
1499
+ readonly id: string;
1500
+ readonly title: string;
1501
+ readonly summary: string;
1502
+ }
1503
+ /**
1504
+ * Project starters, in the order Console and the CLI offer them. A new starter joins this list
1505
+ * without changing its type; check an ID with `offeredStarterSchema`.
1506
+ */
1507
+ declare const starters: readonly Starter[];
1508
+ /** The ID of a starter in `starters`. */
1509
+ declare const offeredStarterSchema: z.ZodString;
1510
+ /**
1511
+ * The first six starters, as a fixed list.
1512
+ *
1513
+ * @deprecated Use `starters`, which also lists later starters. Removed in 2.0.0.
1514
+ */
1515
+ declare const starterTemplates: readonly [{
1516
+ readonly id: "campaign";
1517
+ readonly title: "Campaign tour";
1518
+ readonly summary: "A neutral quest app with a guided tour of every quest kind. The blank canvas for anything.";
1519
+ }, {
1520
+ readonly id: "classic";
1521
+ readonly title: "Classic questboard";
1522
+ readonly summary: "The familiar Domino portal: quests in a grid grouped by section, a claim page, points, and a leaderboard.";
1523
+ }, {
1524
+ readonly id: "waitlist";
1525
+ readonly title: "Waitlist";
1526
+ readonly summary: "Collect sign-ups before launch. People move up the line by inviting friends.";
1527
+ }, {
1528
+ readonly id: "referral";
1529
+ readonly title: "Referral program";
1530
+ readonly summary: "Give every member an invite link and reward them when friends join and qualify.";
1531
+ }, {
1532
+ readonly id: "discord";
1533
+ readonly title: "Discord activation";
1534
+ readonly summary: "Turn new Discord members into regulars with quests for joining, introducing themselves, and taking part, rewarded with roles.";
1535
+ }, {
1536
+ readonly id: "api";
1537
+ readonly title: "API";
1538
+ readonly summary: "A headless Worker with typed routes and interactive API docs, for plugging Domino into your own product.";
1539
+ }];
1540
+ /** @deprecated Use `Starter`. Removed in 2.0.0. */
1541
+ type StarterTemplate = (typeof starterTemplates)[number];
1542
+ /** @deprecated Use `Starter["id"]`, checked with `offeredStarterSchema`. Removed in 2.0.0. */
1543
+ type StarterId = StarterTemplate["id"];
1544
+ /** @deprecated Use `offeredStarterSchema`, which also accepts later starters. Removed in 2.0.0. */
1545
+ declare const starterIdSchema: z.ZodEnum<{
1546
+ referral: "referral";
1547
+ discord: "discord";
1548
+ campaign: "campaign";
1549
+ classic: "classic";
1550
+ waitlist: "waitlist";
1551
+ api: "api";
1552
+ }>;
1553
+
1553
1554
  type KnownPayoutSourceKind = (typeof PayoutSourceKind)[keyof typeof PayoutSourceKind];
1554
1555
  /**
1555
1556
  * What paid a point award, in `points.awarded` `data.source.kind`. `data.source.id` is the quest
@@ -2633,6 +2634,30 @@ declare const organizationBillingSchema: z$1.ZodObject<{
2633
2634
  */
2634
2635
  type OrganizationBilling = z$1.infer<typeof organizationBillingSchema>;
2635
2636
 
2637
+ /** A referral account's kind, or one a newer Relay sends. */
2638
+ type ReferralAccountKind = "bonus" | "fixed" | "milestone" | (string & {});
2639
+ /**
2640
+ * A member's referral history as management reads it: each entry also names the referral account
2641
+ * it paid or corrected, the payout's kind and the friend it pays for. The member's own read
2642
+ * (`referralHistorySchema`) leaves these out.
2643
+ */
2644
+ declare const managedReferralHistorySchema: z.ZodObject<{
2645
+ nextCursor: z.ZodNullable<z.ZodString>;
2646
+ items: z.ZodArray<z.ZodObject<{
2647
+ id: z.ZodNumber;
2648
+ program: z.ZodString;
2649
+ balance: z.ZodString;
2650
+ amount: z.ZodNumber;
2651
+ at: z.ZodNumber;
2652
+ reason: z.ZodString;
2653
+ account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2654
+ invitee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2655
+ kind: z.ZodOptional<z.ZodNullable<z.ZodType<ReferralAccountKind, unknown, z.core.$ZodTypeInternals<ReferralAccountKind, unknown>>>>;
2656
+ }, z.core.$strip>>;
2657
+ }, z.core.$strip>;
2658
+ /** @compat output */
2659
+ type ManagedReferralHistory = z.infer<typeof managedReferralHistorySchema>;
2660
+
2636
2661
  /**
2637
2662
  * What a Solana payout pays with: `"SOL"` for native lamports, or an SPL Token or Token-2022 mint.
2638
2663
  *
@@ -2862,6 +2887,27 @@ type SolanaPayoutConfirmationResult = z.infer<typeof solanaPayoutConfirmationRes
2862
2887
  */
2863
2888
  declare function squadsProposalUrl(payout: Pick<SolanaPayout, "network" | "payer" | "source">, batch: Pick<SolanaPayout["batches"][number], "proposal">): string | null;
2864
2889
 
2890
+ /**
2891
+ * Where a member stands on a board: `ranked`, or why they are not: `banned` from the project,
2892
+ * `excluded` from the board, `outside-group` of a board that ranks one group, or `unranked` with no
2893
+ * counted points.
2894
+ */
2895
+ type LeaderboardStandingStatus = "ranked" | "banned" | "excluded" | "outside-group" | "unranked" | (string & {});
2896
+ /**
2897
+ * One member's place on a board, calculated now, as a profile's placement ranks them. `rank` and
2898
+ * `score` are null unless `status` is `ranked`.
2899
+ */
2900
+ declare const leaderboardMemberStandingSchema: z.ZodObject<{
2901
+ leaderboard: z.ZodString;
2902
+ member: z.ZodString;
2903
+ status: z.ZodType<LeaderboardStandingStatus>;
2904
+ rank: z.ZodNullable<z.ZodNumber>;
2905
+ score: z.ZodNullable<z.ZodNumber>;
2906
+ total: z.ZodNumber;
2907
+ }, z.core.$strip>;
2908
+ /** @compat output */
2909
+ type LeaderboardMemberStanding = z.infer<typeof leaderboardMemberStandingSchema>;
2910
+
2865
2911
  /**
2866
2912
  * How a management call failed, as in every Domino client error (see `RequestError`):
2867
2913
  * - `http`: the server answered with an error status. `message`, `code` and `details` are its own.
@@ -2958,90 +3004,6 @@ type ManagementCallOptions = {
2958
3004
  /** The deadline a call gets when neither the client nor the call sets `timeout`. */
2959
3005
  declare const DEFAULT_MANAGEMENT_TIMEOUT = 30000;
2960
3006
 
2961
- declare const environmentSchema: z.ZodEnum<{
2962
- test: "test";
2963
- live: "live";
2964
- }>;
2965
- declare const roleSchema: z.ZodEnum<{
2966
- staff: "staff";
2967
- editor: "editor";
2968
- reviewer: "reviewer";
2969
- }>;
2970
- declare const permissionSchema: z.ZodEnum<{
2971
- review: "review";
2972
- points: "points";
2973
- inventory: "inventory";
2974
- handover: "handover";
2975
- access: "access";
2976
- read: "read";
2977
- publish: "publish";
2978
- confirm: "confirm";
2979
- ingest: "ingest";
2980
- enroll: "enroll";
2981
- }>;
2982
- type Permission = z.infer<typeof permissionSchema>;
2983
- declare const rolePermissions: Record<z.infer<typeof roleSchema>, Permission[]>;
2984
- /**
2985
- * Every project role a grant can give: `roleSchema`'s, and `viewer`, who sees the project's
2986
- * dashboards and nothing else.
2987
- *
2988
- * @experimental
2989
- */
2990
- declare const projectRoleSchema: z.ZodEnum<{
2991
- staff: "staff";
2992
- editor: "editor";
2993
- reviewer: "reviewer";
2994
- viewer: "viewer";
2995
- }>;
2996
- /**
2997
- * @compat open
2998
- * @experimental
2999
- */
3000
- type KnownProjectRole = z.infer<typeof projectRoleSchema>;
3001
- /**
3002
- * A project role as responses name it. A newer Relay may name others.
3003
- *
3004
- * @experimental
3005
- */
3006
- type ProjectRole = KnownProjectRole | (string & {});
3007
- /**
3008
- * Every project permission: `permissionSchema`'s, and `dashboards`, which reads the project's
3009
- * dashboards (aggregates, no individual member) and nothing else. `read` reads dashboards too.
3010
- * API keys hold only `permissionSchema`'s.
3011
- *
3012
- * @experimental
3013
- */
3014
- declare const projectPermissionSchema: z.ZodEnum<{
3015
- dashboards: "dashboards";
3016
- review: "review";
3017
- points: "points";
3018
- inventory: "inventory";
3019
- handover: "handover";
3020
- access: "access";
3021
- read: "read";
3022
- publish: "publish";
3023
- confirm: "confirm";
3024
- ingest: "ingest";
3025
- enroll: "enroll";
3026
- }>;
3027
- /**
3028
- * @compat open
3029
- * @experimental
3030
- */
3031
- type KnownProjectPermission = z.infer<typeof projectPermissionSchema>;
3032
- /**
3033
- * A project permission as responses name it. A newer Relay may name others.
3034
- *
3035
- * @experimental
3036
- */
3037
- type ProjectPermission = KnownProjectPermission | (string & {});
3038
- /**
3039
- * What each project role holds. `rolePermissions` keeps the roles and permissions SDK 1.x names.
3040
- *
3041
- * @experimental
3042
- */
3043
- declare const projectRolePermissions: Record<KnownProjectRole, readonly KnownProjectPermission[]>;
3044
-
3045
3007
  /** An acknowledgement, `{ ok: true }`, which a write with nothing else to answer returns. */
3046
3008
  declare const ok: z.ZodObject<{
3047
3009
  ok: z.ZodLiteral<true>;
@@ -3364,6 +3326,28 @@ type ExpectedRevision<T> = T extends {
3364
3326
  */
3365
3327
  declare function expectedRevision<S extends z.ZodType>(schema: S): z.ZodPreprocess<S, unknown>;
3366
3328
 
3329
+ /** What `managementTransport` sends with: the management client's options, plus its own. */
3330
+ type ManagementTransportOptions = ManagementClientOptions & {
3331
+ /** The `X-Domino-Client` identity; the SDK's own by default. */
3332
+ client?: string;
3333
+ /** fetch's redirect mode. With `"error"`, a redirect fails the call without being followed. */
3334
+ redirect?: RequestInit["redirect"];
3335
+ };
3336
+ /**
3337
+ * Sends management requests for one scope and credential. `exchange` is a JSON call parsed with
3338
+ * `schema`, `json` one whose body is read as it came, and `raw` answers the `Response`.
3339
+ */
3340
+ declare function managementTransport(options: ManagementTransportOptions): {
3341
+ raw: (path: string, init?: ManagementRawInit) => Promise<Response>;
3342
+ exchange: <T>(path: string, schema: z.ZodType<T>, input: unknown, method: string, call: ManagementCallOptions | undefined, replaySafe: boolean, tolerant?: boolean) => Promise<T>;
3343
+ json: ({ path, method, body, replaySafe, }: {
3344
+ path: string;
3345
+ method: string;
3346
+ body?: unknown;
3347
+ replaySafe: boolean;
3348
+ }) => Promise<unknown>;
3349
+ };
3350
+
3367
3351
  /** An input whose `actionId` the client generates when the caller leaves it out. */
3368
3352
  type CreationInput<T extends {
3369
3353
  actionId: string;
@@ -5525,1079 +5509,6 @@ declare function profiles({ callEndpoint }: ManagementHttp): {
5525
5509
  interface ProfilesApi extends ReturnType<typeof profiles> {
5526
5510
  }
5527
5511
 
5528
- /**
5529
- * A project starter Console and the CLI offer. `id` names a directory under templates/ and a
5530
- * published starter in hosting storage.
5531
- *
5532
- * @compat output
5533
- */
5534
- interface Starter {
5535
- readonly id: string;
5536
- readonly title: string;
5537
- readonly summary: string;
5538
- }
5539
- /**
5540
- * Project starters, in the order Console and the CLI offer them. A new starter joins this list
5541
- * without changing its type; check an ID with `offeredStarterSchema`.
5542
- */
5543
- declare const starters: readonly Starter[];
5544
- /** The ID of a starter in `starters`. */
5545
- declare const offeredStarterSchema: z.ZodString;
5546
- /**
5547
- * The first six starters, as a fixed list.
5548
- *
5549
- * @deprecated Use `starters`, which also lists later starters. Removed in 2.0.0.
5550
- */
5551
- declare const starterTemplates: readonly [{
5552
- readonly id: "campaign";
5553
- readonly title: "Campaign tour";
5554
- readonly summary: "A neutral quest app with a guided tour of every quest kind. The blank canvas for anything.";
5555
- }, {
5556
- readonly id: "classic";
5557
- readonly title: "Classic questboard";
5558
- readonly summary: "The familiar Domino portal: quests in a grid grouped by section, a claim page, points, and a leaderboard.";
5559
- }, {
5560
- readonly id: "waitlist";
5561
- readonly title: "Waitlist";
5562
- readonly summary: "Collect sign-ups before launch. People move up the line by inviting friends.";
5563
- }, {
5564
- readonly id: "referral";
5565
- readonly title: "Referral program";
5566
- readonly summary: "Give every member an invite link and reward them when friends join and qualify.";
5567
- }, {
5568
- readonly id: "discord";
5569
- readonly title: "Discord activation";
5570
- readonly summary: "Turn new Discord members into regulars with quests for joining, introducing themselves, and taking part, rewarded with roles.";
5571
- }, {
5572
- readonly id: "api";
5573
- readonly title: "API";
5574
- readonly summary: "A headless Worker with typed routes and interactive API docs, for plugging Domino into your own product.";
5575
- }];
5576
- /** @deprecated Use `Starter`. Removed in 2.0.0. */
5577
- type StarterTemplate = (typeof starterTemplates)[number];
5578
- /** @deprecated Use `Starter["id"]`, checked with `offeredStarterSchema`. Removed in 2.0.0. */
5579
- type StarterId = StarterTemplate["id"];
5580
- /** @deprecated Use `offeredStarterSchema`, which also accepts later starters. Removed in 2.0.0. */
5581
- declare const starterIdSchema: z.ZodEnum<{
5582
- referral: "referral";
5583
- discord: "discord";
5584
- campaign: "campaign";
5585
- classic: "classic";
5586
- waitlist: "waitlist";
5587
- api: "api";
5588
- }>;
5589
-
5590
- declare const appRoutingSchema: z.ZodDefault<z.ZodEnum<{
5591
- legacy: "legacy";
5592
- transparent: "transparent";
5593
- }>>;
5594
- /**
5595
- * Most app secrets a project environment can hold.
5596
- *
5597
- * @deprecated Use `limits.apps.secrets`, which a 1.x release can raise.
5598
- */
5599
- declare const APP_SECRET_LIMIT = 50;
5600
- /** @deprecated Use `limits.apps.kvStores`, which a 1.x release can raise. */
5601
- declare const APP_KV_LIMIT = 5;
5602
- /** @deprecated Use `limits.apps.sqlStores`, which a 1.x release can raise. */
5603
- declare const APP_SQL_LIMIT = 5;
5604
- /** @deprecated Use `limits.apps.migrations`, which a 1.x release can raise. */
5605
- declare const APP_MIGRATION_LIMIT = 100;
5606
- /** @deprecated Use `limits.apps.migrationFileBytes`, which a 1.x release can raise. */
5607
- declare const APP_MIGRATION_FILE_BYTES = 90000;
5608
- /** @deprecated Use `limits.apps.migrationTotalBytes`, which a 1.x release can raise. */
5609
- declare const APP_MIGRATION_TOTAL_BYTES = 1000000;
5610
- /**
5611
- * An app secret's name: the Worker binding it becomes. `DOMINO_` names and `ASSETS` are the
5612
- * platform's own bindings.
5613
- */
5614
- declare const appSecretNameSchema: z.ZodString;
5615
- /** A secret's value. Cloudflare accepts at most 5 KiB per secret binding. */
5616
- declare const appSecretValueSchema: z.ZodString;
5617
- /** PUT /secrets/:name. The value is write-only: no route ever answers it. */
5618
- declare const appSecretInputSchema: z.ZodObject<{
5619
- value: z.ZodString;
5620
- }, z.core.$strict>;
5621
- type AppSecretInput = z.infer<typeof appSecretInputSchema>;
5622
- /** A secret as the management API lists it: its name and when it changed, never its value. */
5623
- declare const appSecretSchema: z.ZodObject<{
5624
- name: z.ZodString;
5625
- updatedAt: z.ZodNumber;
5626
- updatedBy: z.ZodString;
5627
- }, z.core.$strip>;
5628
- type AppSecret = z.infer<typeof appSecretSchema>;
5629
- /**
5630
- * What a Worker app says about a secret it reads, in relay.json's `app.secrets`. Declarations
5631
- * carry no value; they tell operators and agents what to set.
5632
- */
5633
- declare const appSecretDeclarationSchema: z.ZodObject<{
5634
- description: z.ZodString;
5635
- required: z.ZodDefault<z.ZodBoolean>;
5636
- }, z.core.$strict>;
5637
- type AppSecretDeclaration = z.infer<typeof appSecretDeclarationSchema>;
5638
- declare const appSecretDeclarationsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
5639
- description: z.ZodString;
5640
- required: z.ZodDefault<z.ZodBoolean>;
5641
- }, z.core.$strict>>;
5642
- /**
5643
- * GET /secrets: the secrets set, and what the serving build declares. `declared` is empty until a
5644
- * build that declares secrets is active.
5645
- */
5646
- declare const appSecretListSchema: z.ZodObject<{
5647
- secrets: z.ZodArray<z.ZodObject<{
5648
- name: z.ZodString;
5649
- updatedAt: z.ZodNumber;
5650
- updatedBy: z.ZodString;
5651
- }, z.core.$strip>>;
5652
- declared: z.ZodDefault<z.ZodArray<z.ZodObject<{
5653
- description: z.ZodString;
5654
- required: z.ZodDefault<z.ZodBoolean>;
5655
- name: z.ZodString;
5656
- }, z.core.$strict>>>;
5657
- }, z.core.$strip>;
5658
- type AppSecretList = z.infer<typeof appSecretListSchema>;
5659
- /** HostingControl's answer to the builder: the values to bind to one build's Worker. */
5660
- declare const hostedAppSecretsSchema: z.ZodObject<{
5661
- secrets: z.ZodRecord<z.ZodString, z.ZodString>;
5662
- }, z.core.$strict>;
5663
- type HostedAppSecrets = z.infer<typeof hostedAppSecretsSchema>;
5664
- declare const appStorageSchema: z.ZodObject<{
5665
- kv: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
5666
- description: z.ZodString;
5667
- }, z.core.$strict>>>;
5668
- sql: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
5669
- description: z.ZodString;
5670
- migrations: z.ZodOptional<z.ZodString>;
5671
- }, z.core.$strict>>>;
5672
- }, z.core.$strict>;
5673
- type AppStorage = z.infer<typeof appStorageSchema>;
5674
- declare const appStorageKindSchema: z.ZodEnum<{
5675
- kv: "kv";
5676
- sql: "sql";
5677
- }>;
5678
- type AppStorageKind = z.infer<typeof appStorageKindSchema>;
5679
- declare const appStorageListSchema: z.ZodObject<{
5680
- stores: z.ZodArray<z.ZodObject<{
5681
- kind: z.ZodString;
5682
- name: z.ZodString;
5683
- createdAt: z.ZodNullable<z.ZodNumber>;
5684
- declared: z.ZodBoolean;
5685
- description: z.ZodOptional<z.ZodString>;
5686
- }, z.core.$strip>>;
5687
- }, z.core.$strip>;
5688
- type AppStorageList = z.infer<typeof appStorageListSchema>;
5689
- /**
5690
- * Rows per page when browsing a SQL store's table.
5691
- *
5692
- * @deprecated Use `limits.apps.storageRows`, which a 1.x release can raise.
5693
- */
5694
- declare const APP_STORAGE_ROW_LIMIT = 50;
5695
- /**
5696
- * Longest text a browsed cell or KV value shows; longer values end in `truncated`.
5697
- *
5698
- * @deprecated Use `limits.apps.storagePreviewCharacters`, which a 1.x release can raise.
5699
- */
5700
- declare const APP_STORAGE_PREVIEW_CHARACTERS = 2000;
5701
- /**
5702
- * A browsed SQL value. Text longer than the preview is cut and flagged; a BLOB shows only its
5703
- * size in bytes.
5704
- */
5705
- declare const appStorageCellSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull, z.ZodObject<{
5706
- text: z.ZodString;
5707
- truncated: z.ZodLiteral<true>;
5708
- }, z.core.$strip>, z.ZodObject<{
5709
- blob: z.ZodNumber;
5710
- }, z.core.$strip>]>;
5711
- type AppStorageCell = z.infer<typeof appStorageCellSchema>;
5712
- declare const appStorageTablesSchema: z.ZodObject<{
5713
- tables: z.ZodArray<z.ZodObject<{
5714
- name: z.ZodString;
5715
- kind: z.ZodString;
5716
- }, z.core.$strip>>;
5717
- }, z.core.$strip>;
5718
- type AppStorageTables = z.infer<typeof appStorageTablesSchema>;
5719
- declare const appStorageRowsSchema: z.ZodObject<{
5720
- table: z.ZodString;
5721
- columns: z.ZodArray<z.ZodString>;
5722
- rows: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull, z.ZodObject<{
5723
- text: z.ZodString;
5724
- truncated: z.ZodLiteral<true>;
5725
- }, z.core.$strip>, z.ZodObject<{
5726
- blob: z.ZodNumber;
5727
- }, z.core.$strip>]>>>;
5728
- offset: z.ZodNumber;
5729
- total: z.ZodNumber;
5730
- nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5731
- }, z.core.$strip>;
5732
- /** @compat output */
5733
- type AppStorageRows = z.infer<typeof appStorageRowsSchema>;
5734
- declare const appStorageKeysSchema: z.ZodObject<{
5735
- keys: z.ZodArray<z.ZodObject<{
5736
- name: z.ZodString;
5737
- expiration: z.ZodNullable<z.ZodNumber>;
5738
- }, z.core.$strip>>;
5739
- nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5740
- cursor: z.ZodNullable<z.ZodString>;
5741
- }, z.core.$strip>;
5742
- /** @compat output */
5743
- type AppStorageKeys = z.infer<typeof appStorageKeysSchema>;
5744
- declare const appStorageValueSchema: z.ZodObject<{
5745
- key: z.ZodString;
5746
- size: z.ZodNumber;
5747
- text: z.ZodNullable<z.ZodString>;
5748
- truncated: z.ZodBoolean;
5749
- }, z.core.$strip>;
5750
- type AppStorageValue = z.infer<typeof appStorageValueSchema>;
5751
- /**
5752
- * Characters a full SQL value read returns per page.
5753
- *
5754
- * @deprecated Use `limits.apps.storageCellCharacters`, which a 1.x release can raise.
5755
- */
5756
- declare const APP_STORAGE_CELL_CHARACTERS = 100000;
5757
- /**
5758
- * One SQL value in full, a page of characters at a time. Characters are Unicode code points, as
5759
- * SQLite counts them.
5760
- */
5761
- declare const appStorageCellPageSchema: z.ZodObject<{
5762
- table: z.ZodString;
5763
- column: z.ZodString;
5764
- row: z.ZodNumber;
5765
- type: z.ZodEnum<{
5766
- null: "null";
5767
- text: "text";
5768
- integer: "integer";
5769
- blob: "blob";
5770
- real: "real";
5771
- }>;
5772
- length: z.ZodNullable<z.ZodNumber>;
5773
- offset: z.ZodNumber;
5774
- text: z.ZodNullable<z.ZodString>;
5775
- nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5776
- }, z.core.$strip>;
5777
- type AppStorageCellPage = z.infer<typeof appStorageCellPageSchema>;
5778
- /**
5779
- * Which SQL tables a test clear empties: the named `tables`, or with `allTables` every table except
5780
- * `keepTables`. `d1_migrations`, SQLite's and D1's own tables are never cleared, and the schema stays.
5781
- * `dryRun` only counts the rows.
5782
- */
5783
- declare const appStorageSqlClearSchema: z.ZodUnion<readonly [z.ZodObject<{
5784
- dryRun: z.ZodOptional<z.ZodBoolean>;
5785
- tables: z.ZodArray<z.ZodString>;
5786
- }, z.core.$strict>, z.ZodObject<{
5787
- dryRun: z.ZodOptional<z.ZodBoolean>;
5788
- allTables: z.ZodLiteral<true>;
5789
- keepTables: z.ZodOptional<z.ZodArray<z.ZodString>>;
5790
- }, z.core.$strict>]>;
5791
- /** `storage.clear("sql", …)`'s input: the tables a test clear empties. */
5792
- type AppStorageSqlClear = z.infer<typeof appStorageSqlClearSchema>;
5793
- /** Which KV keys a test clear deletes: those under `prefix`, or with `all` every key. */
5794
- declare const appStorageKvClearSchema: z.ZodUnion<readonly [z.ZodObject<{
5795
- dryRun: z.ZodOptional<z.ZodBoolean>;
5796
- prefix: z.ZodString;
5797
- }, z.core.$strict>, z.ZodObject<{
5798
- dryRun: z.ZodOptional<z.ZodBoolean>;
5799
- all: z.ZodLiteral<true>;
5800
- }, z.core.$strict>]>;
5801
- /** `storage.clear("kv", …)`'s input: the keys a test clear deletes. */
5802
- type AppStorageKvClear = z.infer<typeof appStorageKvClearSchema>;
5803
- /** What a SQL test clear emptied, or a dry run counted. */
5804
- declare const appStorageSqlClearResultSchema: z.ZodObject<{
5805
- environment: z.ZodString;
5806
- kind: z.ZodLiteral<"sql">;
5807
- store: z.ZodString;
5808
- dryRun: z.ZodBoolean;
5809
- tables: z.ZodArray<z.ZodObject<{
5810
- name: z.ZodString;
5811
- rows: z.ZodNumber;
5812
- }, z.core.$strip>>;
5813
- }, z.core.$strip>;
5814
- /**
5815
- * What a SQL test clear emptied, or a dry run counted.
5816
- *
5817
- * @compat output
5818
- */
5819
- type AppStorageSqlClearResult = z.infer<typeof appStorageSqlClearResultSchema>;
5820
- /** What one KV test clear call deleted, or a dry run counted, and whether keys remain. */
5821
- declare const appStorageKvClearResultSchema: z.ZodObject<{
5822
- environment: z.ZodString;
5823
- kind: z.ZodLiteral<"kv">;
5824
- store: z.ZodString;
5825
- dryRun: z.ZodBoolean;
5826
- prefix: z.ZodString;
5827
- keys: z.ZodNumber;
5828
- complete: z.ZodBoolean;
5829
- }, z.core.$strip>;
5830
- /**
5831
- * What one KV test clear call deleted, or a dry run counted, and whether keys remain.
5832
- *
5833
- * @compat output
5834
- */
5835
- type AppStorageKvClearResult = z.infer<typeof appStorageKvClearResultSchema>;
5836
- declare const appMigrationNameSchema: z.ZodString;
5837
- /** Wrangler compares the leading number first, then the filename (workers-sdk d1/migrations/helpers.ts). */
5838
- declare function compareAppMigrations(a: string, b: string): number;
5839
- declare const hostedAppSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5840
- routing: z.ZodDefault<z.ZodEnum<{
5841
- legacy: "legacy";
5842
- transparent: "transparent";
5843
- }>>;
5844
- devScript: z.ZodString;
5845
- checkScript: z.ZodString;
5846
- buildScript: z.ZodString;
5847
- kind: z.ZodLiteral<"static">;
5848
- directory: z.ZodString;
5849
- }, z.core.$strict>, z.ZodObject<{
5850
- runWorkerFirst: z.ZodDefault<z.ZodBoolean>;
5851
- main: z.ZodString;
5852
- compatibilityDate: z.ZodString;
5853
- compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
5854
- vars: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
5855
- secrets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
5856
- description: z.ZodString;
5857
- required: z.ZodDefault<z.ZodBoolean>;
5858
- }, z.core.$strict>>>;
5859
- storage: z.ZodOptional<z.ZodObject<{
5860
- kv: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
5861
- description: z.ZodString;
5862
- }, z.core.$strict>>>;
5863
- sql: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
5864
- description: z.ZodString;
5865
- migrations: z.ZodOptional<z.ZodString>;
5866
- }, z.core.$strict>>>;
5867
- }, z.core.$strict>>;
5868
- schedules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5869
- every: z.ZodString;
5870
- name: z.ZodString;
5871
- path: z.ZodString;
5872
- description: z.ZodString;
5873
- }, z.core.$strict>, z.ZodObject<{
5874
- cron: z.ZodString;
5875
- name: z.ZodString;
5876
- path: z.ZodString;
5877
- description: z.ZodString;
5878
- }, z.core.$strict>]>>>;
5879
- routing: z.ZodDefault<z.ZodEnum<{
5880
- legacy: "legacy";
5881
- transparent: "transparent";
5882
- }>>;
5883
- devScript: z.ZodString;
5884
- checkScript: z.ZodString;
5885
- buildScript: z.ZodString;
5886
- kind: z.ZodLiteral<"worker">;
5887
- directory: z.ZodString;
5888
- assetsDirectory: z.ZodOptional<z.ZodString>;
5889
- }, z.core.$strict>], "kind">;
5890
- declare const repositorySchema: z.ZodObject<{
5891
- id: z.ZodString;
5892
- organization: z.ZodString;
5893
- project: z.ZodString;
5894
- remote: z.ZodString;
5895
- defaultBranch: z.ZodString;
5896
- status: z.ZodEnum<{
5897
- ready: "ready";
5898
- provisioning: "provisioning";
5899
- }>;
5900
- }, z.core.$strip>;
5901
- declare const repositoryCreateSchema: z.ZodObject<{
5902
- starter: z.ZodOptional<z.ZodString>;
5903
- }, z.core.$strict>;
5904
- /** @deprecated Use `repositoryCreateSchema`, which also accepts later starters. Removed in 2.0.0. */
5905
- declare const createRepositorySchema: z.ZodObject<{
5906
- starter: z.ZodOptional<z.ZodEnum<{
5907
- referral: "referral";
5908
- discord: "discord";
5909
- campaign: "campaign";
5910
- classic: "classic";
5911
- waitlist: "waitlist";
5912
- api: "api";
5913
- }>>;
5914
- }, z.core.$strict>;
5915
- declare const deviceStartSchema: z.ZodObject<{
5916
- challenge: z.ZodString;
5917
- }, z.core.$strict>;
5918
- declare const deviceRedeemSchema: z.ZodObject<{
5919
- id: z.ZodString;
5920
- verifier: z.ZodString;
5921
- }, z.core.$strict>;
5922
- declare const deviceApproveSchema: z.ZodObject<{
5923
- id: z.ZodString;
5924
- code: z.ZodString;
5925
- }, z.core.$strict>;
5926
- declare const commitSchema: z.ZodString;
5927
- declare const stageRequestSchema: z.ZodObject<{
5928
- commit: z.ZodString;
5929
- requestId: z.ZodString;
5930
- }, z.core.$strict>;
5931
- declare const buildIdentitySchema: z.ZodObject<{
5932
- routing: z.ZodDefault<z.ZodEnum<{
5933
- legacy: "legacy";
5934
- transparent: "transparent";
5935
- }>>;
5936
- slug: z.ZodOptional<z.ZodString>;
5937
- runtime: z.ZodDefault<z.ZodEnum<{
5938
- simulation: "simulation";
5939
- "hosted-test": "hosted-test";
5940
- }>>;
5941
- id: z.ZodString;
5942
- repository: z.ZodString;
5943
- organization: z.ZodString;
5944
- project: z.ZodString;
5945
- commit: z.ZodString;
5946
- createdAt: z.ZodNumber;
5947
- actor: z.ZodString;
5948
- commitMessage: z.ZodOptional<z.ZodString>;
5949
- }, z.core.$strip>;
5950
- type BuildIdentity = z.infer<typeof buildIdentitySchema>;
5951
- declare const buildPhaseSchema: z.ZodEnum<{
5952
- check: "check";
5953
- source: "source";
5954
- failed: "failed";
5955
- ready: "ready";
5956
- queued: "queued";
5957
- build: "build";
5958
- install: "install";
5959
- deploy: "deploy";
5960
- }>;
5961
- declare const buildStatusSchema: z.ZodObject<{
5962
- phase: z.ZodEnum<{
5963
- check: "check";
5964
- source: "source";
5965
- failed: "failed";
5966
- ready: "ready";
5967
- queued: "queued";
5968
- build: "build";
5969
- install: "install";
5970
- deploy: "deploy";
5971
- }>;
5972
- failedPhase: z.ZodOptional<z.ZodEnum<{
5973
- check: "check";
5974
- source: "source";
5975
- failed: "failed";
5976
- ready: "ready";
5977
- queued: "queued";
5978
- build: "build";
5979
- install: "install";
5980
- deploy: "deploy";
5981
- }>>;
5982
- updatedAt: z.ZodNumber;
5983
- message: z.ZodString;
5984
- }, z.core.$strip>;
5985
- type BuildStatus = z.infer<typeof buildStatusSchema>;
5986
- declare const hostedBuildSchema: z.ZodObject<{
5987
- routing: z.ZodDefault<z.ZodEnum<{
5988
- legacy: "legacy";
5989
- transparent: "transparent";
5990
- }>>;
5991
- slug: z.ZodOptional<z.ZodString>;
5992
- runtime: z.ZodDefault<z.ZodEnum<{
5993
- simulation: "simulation";
5994
- "hosted-test": "hosted-test";
5995
- }>>;
5996
- id: z.ZodString;
5997
- repository: z.ZodString;
5998
- organization: z.ZodString;
5999
- project: z.ZodString;
6000
- commit: z.ZodString;
6001
- createdAt: z.ZodNumber;
6002
- actor: z.ZodString;
6003
- commitMessage: z.ZodOptional<z.ZodString>;
6004
- finished: z.ZodBoolean;
6005
- current: z.ZodBoolean;
6006
- stagingUrl: z.ZodString;
6007
- deployment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6008
- phase: z.ZodEnum<{
6009
- check: "check";
6010
- source: "source";
6011
- failed: "failed";
6012
- ready: "ready";
6013
- queued: "queued";
6014
- build: "build";
6015
- install: "install";
6016
- deploy: "deploy";
6017
- }>;
6018
- failedPhase: z.ZodOptional<z.ZodEnum<{
6019
- check: "check";
6020
- source: "source";
6021
- failed: "failed";
6022
- ready: "ready";
6023
- queued: "queued";
6024
- build: "build";
6025
- install: "install";
6026
- deploy: "deploy";
6027
- }>>;
6028
- updatedAt: z.ZodNumber;
6029
- message: z.ZodString;
6030
- }, z.core.$strip>;
6031
- type HostedBuild = z.infer<typeof hostedBuildSchema>;
6032
- /**
6033
- * The project's live app (docs/public/concepts/hosting.md): its address and whether it serves.
6034
- * `none` before a promotion first carries a build; `deploying` while an approved build is being
6035
- * deployed or its address is being published; `failed` when that deployment failed, while the
6036
- * previous build, if any, keeps serving. `url` is null for a project without a hosted app, and
6037
- * where Domino does not host apps on its own domain.
6038
- */
6039
- declare const liveAppSchema: z.ZodObject<{
6040
- url: z.ZodNullable<z.ZodString>;
6041
- state: z.ZodEnum<{
6042
- none: "none";
6043
- failed: "failed";
6044
- live: "live";
6045
- deploying: "deploying";
6046
- }>;
6047
- build: z.ZodNullable<z.ZodString>;
6048
- requested: z.ZodNullable<z.ZodString>;
6049
- failure: z.ZodNullable<z.ZodString>;
6050
- }, z.core.$strip>;
6051
- type LiveApp = z.infer<typeof liveAppSchema>;
6052
- /**
6053
- * A custom domain on the project's live app (docs/public/concepts/hosting.md, "Custom domains"):
6054
- * `awaiting-dns` until Domino finds the TXT record, `provisioning` while Cloudflare validates the
6055
- * domain and issues its certificate, `active` once it serves, `attention` when the customer or
6056
- * Domino must act (`issue` says what), `suspended` when Domino staff stopped it.
6057
- */
6058
- declare const customDomainStateSchema: z.ZodEnum<{
6059
- attention: "attention";
6060
- active: "active";
6061
- suspended: "suspended";
6062
- provisioning: "provisioning";
6063
- "awaiting-dns": "awaiting-dns";
6064
- }>;
6065
- type CustomDomainState = z.infer<typeof customDomainStateSchema>;
6066
- /** A DNS record the domain needs, and what public DNS answered for it when Domino last looked. */
6067
- declare const customDomainRecordSchema: z.ZodObject<{
6068
- type: z.ZodEnum<{
6069
- CNAME: "CNAME";
6070
- TXT: "TXT";
6071
- }>;
6072
- name: z.ZodString;
6073
- value: z.ZodString;
6074
- found: z.ZodNullable<z.ZodArray<z.ZodString>>;
6075
- matches: z.ZodBoolean;
6076
- }, z.core.$strip>;
6077
- type CustomDomainRecord = z.infer<typeof customDomainRecordSchema>;
6078
- declare const customDomainSchema: z.ZodObject<{
6079
- id: z.ZodString;
6080
- hostname: z.ZodString;
6081
- url: z.ZodString;
6082
- state: z.ZodEnum<{
6083
- attention: "attention";
6084
- active: "active";
6085
- suspended: "suspended";
6086
- provisioning: "provisioning";
6087
- "awaiting-dns": "awaiting-dns";
6088
- }>;
6089
- issue: z.ZodNullable<z.ZodObject<{
6090
- code: z.ZodString;
6091
- message: z.ZodString;
6092
- }, z.core.$strip>>;
6093
- records: z.ZodArray<z.ZodObject<{
6094
- type: z.ZodEnum<{
6095
- CNAME: "CNAME";
6096
- TXT: "TXT";
6097
- }>;
6098
- name: z.ZodString;
6099
- value: z.ZodString;
6100
- found: z.ZodNullable<z.ZodArray<z.ZodString>>;
6101
- matches: z.ZodBoolean;
6102
- }, z.core.$strip>>;
6103
- cloudflare: z.ZodNullable<z.ZodObject<{
6104
- hostnameStatus: z.ZodString;
6105
- certificateStatus: z.ZodNullable<z.ZodString>;
6106
- validationErrors: z.ZodArray<z.ZodString>;
6107
- verificationErrors: z.ZodArray<z.ZodString>;
6108
- certificateExpiresAt: z.ZodNullable<z.ZodString>;
6109
- certificateExpiresAtMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6110
- }, z.core.$strip>>;
6111
- checkedAt: z.ZodNullable<z.ZodString>;
6112
- checkedAtMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6113
- nextCheckAt: z.ZodNullable<z.ZodString>;
6114
- nextCheckAtMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6115
- createdAt: z.ZodString;
6116
- createdAtMs: z.ZodOptional<z.ZodNumber>;
6117
- }, z.core.$strip>;
6118
- type CustomDomain = z.infer<typeof customDomainSchema>;
6119
- declare const customDomainListSchema: z.ZodObject<{
6120
- domains: z.ZodArray<z.ZodObject<{
6121
- id: z.ZodString;
6122
- hostname: z.ZodString;
6123
- url: z.ZodString;
6124
- state: z.ZodEnum<{
6125
- attention: "attention";
6126
- active: "active";
6127
- suspended: "suspended";
6128
- provisioning: "provisioning";
6129
- "awaiting-dns": "awaiting-dns";
6130
- }>;
6131
- issue: z.ZodNullable<z.ZodObject<{
6132
- code: z.ZodString;
6133
- message: z.ZodString;
6134
- }, z.core.$strip>>;
6135
- records: z.ZodArray<z.ZodObject<{
6136
- type: z.ZodEnum<{
6137
- CNAME: "CNAME";
6138
- TXT: "TXT";
6139
- }>;
6140
- name: z.ZodString;
6141
- value: z.ZodString;
6142
- found: z.ZodNullable<z.ZodArray<z.ZodString>>;
6143
- matches: z.ZodBoolean;
6144
- }, z.core.$strip>>;
6145
- cloudflare: z.ZodNullable<z.ZodObject<{
6146
- hostnameStatus: z.ZodString;
6147
- certificateStatus: z.ZodNullable<z.ZodString>;
6148
- validationErrors: z.ZodArray<z.ZodString>;
6149
- verificationErrors: z.ZodArray<z.ZodString>;
6150
- certificateExpiresAt: z.ZodNullable<z.ZodString>;
6151
- certificateExpiresAtMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6152
- }, z.core.$strip>>;
6153
- checkedAt: z.ZodNullable<z.ZodString>;
6154
- checkedAtMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6155
- nextCheckAt: z.ZodNullable<z.ZodString>;
6156
- nextCheckAtMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6157
- createdAt: z.ZodString;
6158
- createdAtMs: z.ZodOptional<z.ZodNumber>;
6159
- }, z.core.$strip>>;
6160
- }, z.core.$strip>;
6161
- declare const customDomainInputSchema: z.ZodObject<{
6162
- hostname: z.ZodString;
6163
- }, z.core.$strict>;
6164
- declare const stagingAccessModeSchema: z.ZodEnum<{
6165
- console: "console";
6166
- password: "password";
6167
- }>;
6168
- /**
6169
- * A path prefix on the staging host that a server holding a staging server key may call without a
6170
- * staging session (docs/cloud-staging.md, "Server access"). It starts with `/`, is already in the
6171
- * form a URL normalizes to (no `.` or `..` segments, `//` or `\`), has no query or fragment, and
6172
- * covers none of the gateway's own paths: `/` alone and any prefix of, or path under, `/__domino`,
6173
- * `/relay` or `/.well-known` are refused. Matching is by prefix, so `/api` also covers `/apiary`;
6174
- * end a prefix with `/` to cover one folder.
6175
- *
6176
- * @experimental A minor release can change staging server access.
6177
- */
6178
- declare const stagingServerPathSchema: z.ZodString;
6179
- /**
6180
- * A project's staging server access: path prefixes a server may call with a staging server key
6181
- * (`X-Domino-Staging-Key`). No paths means off.
6182
- *
6183
- * @experimental A minor release can change staging server access.
6184
- */
6185
- declare const stagingServerAccessSchema: z.ZodObject<{
6186
- paths: z.ZodArray<z.ZodString>;
6187
- }, z.core.$strip>;
6188
- /** Who may open a project's staging host. See docs/cloud-staging.md, "Staging access". */
6189
- declare const stagingAccessSchema: z.ZodObject<{
6190
- mode: z.ZodEnum<{
6191
- console: "console";
6192
- password: "password";
6193
- }>;
6194
- server: z.ZodOptional<z.ZodObject<{
6195
- paths: z.ZodArray<z.ZodString>;
6196
- }, z.core.$strip>>;
6197
- }, z.core.$strip>;
6198
- type StagingAccess = z.infer<typeof stagingAccessSchema>;
6199
- /** A staging sign-in mode change, as SDK 1.0 sends it. `stagingAccessChangeSchema` also takes `server`. */
6200
- declare const stagingAccessInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6201
- mode: z.ZodLiteral<"console">;
6202
- }, z.core.$strict>, z.ZodObject<{
6203
- mode: z.ZodLiteral<"password">;
6204
- password: z.ZodString;
6205
- }, z.core.$strict>], "mode">;
6206
- type StagingAccessInput = z.infer<typeof stagingAccessInputSchema>;
6207
- /**
6208
- * A staging access change, as `PUT /management/v1/staging/access` takes it. `mode` (with
6209
- * `password` for a password) replaces how browsers sign in; `server` replaces the server paths,
6210
- * and leaving it out keeps them. A body of only `server` changes the server paths and leaves the
6211
- * sign-in mode and its sessions alone.
6212
- *
6213
- * @experimental A minor release can change staging server access.
6214
- */
6215
- declare const stagingAccessChangeSchema: z.ZodUnion<readonly [z.ZodObject<{
6216
- mode: z.ZodLiteral<"console">;
6217
- server: z.ZodOptional<z.ZodObject<{
6218
- paths: z.ZodArray<z.ZodString>;
6219
- }, z.core.$strict>>;
6220
- }, z.core.$strict>, z.ZodObject<{
6221
- mode: z.ZodLiteral<"password">;
6222
- password: z.ZodString;
6223
- server: z.ZodOptional<z.ZodObject<{
6224
- paths: z.ZodArray<z.ZodString>;
6225
- }, z.core.$strict>>;
6226
- }, z.core.$strict>, z.ZodObject<{
6227
- server: z.ZodObject<{
6228
- paths: z.ZodArray<z.ZodString>;
6229
- }, z.core.$strict>;
6230
- }, z.core.$strict>]>;
6231
- /** @experimental A minor release can change staging server access. */
6232
- type StagingAccessChange = z.infer<typeof stagingAccessChangeSchema>;
6233
- /**
6234
- * A staging server key as lists show it: never the key itself, only its last four characters.
6235
- *
6236
- * @experimental A minor release can change staging server keys.
6237
- */
6238
- declare const stagingServerKeySchema: z.ZodObject<{
6239
- id: z.ZodString;
6240
- name: z.ZodString;
6241
- lastFour: z.ZodString;
6242
- createdAt: z.ZodNumber;
6243
- lastUsedAt: z.ZodNullable<z.ZodNumber>;
6244
- }, z.core.$strip>;
6245
- /** @experimental A minor release can change staging server keys. */
6246
- type StagingServerKey = z.infer<typeof stagingServerKeySchema>;
6247
- /**
6248
- * A project's staging server keys, oldest first. There are at most a few, so the page is whole.
6249
- *
6250
- * @experimental A minor release can change staging server keys.
6251
- */
6252
- declare const stagingServerKeyListSchema: z.ZodObject<{
6253
- items: z.ZodArray<z.ZodObject<{
6254
- id: z.ZodString;
6255
- name: z.ZodString;
6256
- lastFour: z.ZodString;
6257
- createdAt: z.ZodNumber;
6258
- lastUsedAt: z.ZodNullable<z.ZodNumber>;
6259
- }, z.core.$strip>>;
6260
- nextCursor: z.ZodNull;
6261
- }, z.core.$strip>;
6262
- /** @experimental A minor release can change staging server keys. */
6263
- type StagingServerKeyList = z.infer<typeof stagingServerKeyListSchema>;
6264
- /** @experimental A minor release can change staging server keys. */
6265
- declare const stagingServerKeyInputSchema: z.ZodObject<{
6266
- name: z.ZodString;
6267
- }, z.core.$strict>;
6268
- /** @experimental A minor release can change staging server keys. */
6269
- type StagingServerKeyInput = z.input<typeof stagingServerKeyInputSchema>;
6270
- /**
6271
- * A new staging server key, with `key` (`dsg_…`): shown in this answer only, and stored hashed.
6272
- *
6273
- * @experimental A minor release can change staging server keys.
6274
- */
6275
- declare const stagingServerKeyCreatedSchema: z.ZodObject<{
6276
- id: z.ZodString;
6277
- name: z.ZodString;
6278
- lastFour: z.ZodString;
6279
- createdAt: z.ZodNumber;
6280
- lastUsedAt: z.ZodNullable<z.ZodNumber>;
6281
- key: z.ZodString;
6282
- }, z.core.$strip>;
6283
- /** @experimental A minor release can change staging server keys. */
6284
- type StagingServerKeyCreated = z.infer<typeof stagingServerKeyCreatedSchema>;
6285
- /**
6286
- * A staging path to open after the Console link signs the browser in, which the staging gateway
6287
- * also redirects to. Browsers drop tab and newline from a URL, so `/<tab>/host` would leave the
6288
- * host: control characters are refused, and the path must resolve on the host it came from.
6289
- */
6290
- declare const stagingPathSchema: z.ZodString;
6291
- declare const stagingLinkSchema: z.ZodObject<{
6292
- url: z.ZodString;
6293
- expiresAt: z.ZodNumber;
6294
- }, z.core.$strip>;
6295
- type StagingLink = z.infer<typeof stagingLinkSchema>;
6296
- declare const buildSnapshotSchema: z.ZodObject<{
6297
- builds: z.ZodArray<z.ZodObject<{
6298
- routing: z.ZodDefault<z.ZodEnum<{
6299
- legacy: "legacy";
6300
- transparent: "transparent";
6301
- }>>;
6302
- slug: z.ZodOptional<z.ZodString>;
6303
- runtime: z.ZodDefault<z.ZodEnum<{
6304
- simulation: "simulation";
6305
- "hosted-test": "hosted-test";
6306
- }>>;
6307
- id: z.ZodString;
6308
- repository: z.ZodString;
6309
- organization: z.ZodString;
6310
- project: z.ZodString;
6311
- commit: z.ZodString;
6312
- createdAt: z.ZodNumber;
6313
- actor: z.ZodString;
6314
- commitMessage: z.ZodOptional<z.ZodString>;
6315
- finished: z.ZodBoolean;
6316
- current: z.ZodBoolean;
6317
- stagingUrl: z.ZodString;
6318
- deployment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6319
- phase: z.ZodEnum<{
6320
- check: "check";
6321
- source: "source";
6322
- failed: "failed";
6323
- ready: "ready";
6324
- queued: "queued";
6325
- build: "build";
6326
- install: "install";
6327
- deploy: "deploy";
6328
- }>;
6329
- failedPhase: z.ZodOptional<z.ZodEnum<{
6330
- check: "check";
6331
- source: "source";
6332
- failed: "failed";
6333
- ready: "ready";
6334
- queued: "queued";
6335
- build: "build";
6336
- install: "install";
6337
- deploy: "deploy";
6338
- }>>;
6339
- updatedAt: z.ZodNumber;
6340
- message: z.ZodString;
6341
- }, z.core.$strip>>;
6342
- current: z.ZodNullable<z.ZodObject<{
6343
- routing: z.ZodDefault<z.ZodEnum<{
6344
- legacy: "legacy";
6345
- transparent: "transparent";
6346
- }>>;
6347
- slug: z.ZodOptional<z.ZodString>;
6348
- runtime: z.ZodDefault<z.ZodEnum<{
6349
- simulation: "simulation";
6350
- "hosted-test": "hosted-test";
6351
- }>>;
6352
- id: z.ZodString;
6353
- repository: z.ZodString;
6354
- organization: z.ZodString;
6355
- project: z.ZodString;
6356
- commit: z.ZodString;
6357
- createdAt: z.ZodNumber;
6358
- actor: z.ZodString;
6359
- commitMessage: z.ZodOptional<z.ZodString>;
6360
- finished: z.ZodBoolean;
6361
- current: z.ZodBoolean;
6362
- stagingUrl: z.ZodString;
6363
- deployment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6364
- phase: z.ZodEnum<{
6365
- check: "check";
6366
- source: "source";
6367
- failed: "failed";
6368
- ready: "ready";
6369
- queued: "queued";
6370
- build: "build";
6371
- install: "install";
6372
- deploy: "deploy";
6373
- }>;
6374
- failedPhase: z.ZodOptional<z.ZodEnum<{
6375
- check: "check";
6376
- source: "source";
6377
- failed: "failed";
6378
- ready: "ready";
6379
- queued: "queued";
6380
- build: "build";
6381
- install: "install";
6382
- deploy: "deploy";
6383
- }>>;
6384
- updatedAt: z.ZodNumber;
6385
- message: z.ZodString;
6386
- }, z.core.$strip>>;
6387
- selected: z.ZodNullable<z.ZodObject<{
6388
- routing: z.ZodDefault<z.ZodEnum<{
6389
- legacy: "legacy";
6390
- transparent: "transparent";
6391
- }>>;
6392
- slug: z.ZodOptional<z.ZodString>;
6393
- runtime: z.ZodDefault<z.ZodEnum<{
6394
- simulation: "simulation";
6395
- "hosted-test": "hosted-test";
6396
- }>>;
6397
- id: z.ZodString;
6398
- repository: z.ZodString;
6399
- organization: z.ZodString;
6400
- project: z.ZodString;
6401
- commit: z.ZodString;
6402
- createdAt: z.ZodNumber;
6403
- actor: z.ZodString;
6404
- commitMessage: z.ZodOptional<z.ZodString>;
6405
- finished: z.ZodBoolean;
6406
- current: z.ZodBoolean;
6407
- stagingUrl: z.ZodString;
6408
- deployment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6409
- phase: z.ZodEnum<{
6410
- check: "check";
6411
- source: "source";
6412
- failed: "failed";
6413
- ready: "ready";
6414
- queued: "queued";
6415
- build: "build";
6416
- install: "install";
6417
- deploy: "deploy";
6418
- }>;
6419
- failedPhase: z.ZodOptional<z.ZodEnum<{
6420
- check: "check";
6421
- source: "source";
6422
- failed: "failed";
6423
- ready: "ready";
6424
- queued: "queued";
6425
- build: "build";
6426
- install: "install";
6427
- deploy: "deploy";
6428
- }>>;
6429
- updatedAt: z.ZodNumber;
6430
- message: z.ZodString;
6431
- }, z.core.$strip>>;
6432
- logs: z.ZodString;
6433
- }, z.core.$strip>;
6434
- type BuildSnapshot = z.infer<typeof buildSnapshotSchema>;
6435
- declare const assetPathSchema: z.ZodString;
6436
- /**
6437
- * Caps on a build's staged quest and catalog code. The backend decompresses and parses it in one
6438
- * piece, so it stays within the 64 MiB the backend already parses from one /internal/management
6439
- * request; HostingControl holds the compressed object and its base64 form in Worker memory.
6440
- *
6441
- * @deprecated Use `limits.stagedDeployment`, which a 1.x release can raise.
6442
- */
6443
- declare const stagedDeploymentLimits: {
6444
- /** Bytes of JSON, uncompressed. */
6445
- readonly size: 64000000;
6446
- /** Bytes of the Brotli-compressed object. */
6447
- readonly compressedSize: 10000000;
6448
- };
6449
- /**
6450
- * A build's quest releases and catalog, staged beside artifacts.json (format 2) instead of inside
6451
- * it: one Brotli-compressed JSON object, `{ releases, ...catalog }`, the deployment activation
6452
- * publishes. The builder stores it at `stagedDeploymentKey`; `sha256` is the compressed object's.
6453
- */
6454
- declare const stagedDeploymentSchema: z.ZodObject<{
6455
- encoding: z.ZodLiteral<"br">;
6456
- sha256: z.ZodString;
6457
- compressedSize: z.ZodNumber;
6458
- size: z.ZodNumber;
6459
- }, z.core.$strict>;
6460
- type StagedDeployment = z.infer<typeof stagedDeploymentSchema>;
6461
- /** A staged deployment on its way to activation: the reference and the object, base64. */
6462
- declare const stagedDeploymentContentSchema: z.ZodObject<{
6463
- encoding: z.ZodLiteral<"br">;
6464
- sha256: z.ZodString;
6465
- compressedSize: z.ZodNumber;
6466
- size: z.ZodNumber;
6467
- content: z.ZodString;
6468
- }, z.core.$strict>;
6469
- type StagedDeploymentContent = z.infer<typeof stagedDeploymentContentSchema>;
6470
- /** Where the builder stores build `build`'s staged deployment in the artifacts bucket. */
6471
- declare const stagedDeploymentKey: (build: string, sha256: string) => string;
6472
- declare const buildArtifactsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6473
- quests: z.ZodPipe<z.ZodOptional<z.ZodUnknown>, z.ZodTransform<unknown, unknown>>;
6474
- catalog: z.ZodPipe<z.ZodOptional<z.ZodUnknown>, z.ZodTransform<unknown, unknown>>;
6475
- routing: z.ZodDefault<z.ZodEnum<{
6476
- legacy: "legacy";
6477
- transparent: "transparent";
6478
- }>>;
6479
- worker: z.ZodOptional<z.ZodObject<{
6480
- migrations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6481
- name: z.ZodString;
6482
- sql: z.ZodString;
6483
- }, z.core.$strict>>>>;
6484
- modules: z.ZodArray<z.ZodObject<{
6485
- path: z.ZodString;
6486
- type: z.ZodEnum<{
6487
- "application/javascript+module": "application/javascript+module";
6488
- "application/wasm": "application/wasm";
6489
- "text/plain": "text/plain";
6490
- "application/octet-stream": "application/octet-stream";
6491
- }>;
6492
- content: z.ZodString;
6493
- }, z.core.$strict>>;
6494
- runWorkerFirst: z.ZodDefault<z.ZodBoolean>;
6495
- main: z.ZodString;
6496
- compatibilityDate: z.ZodString;
6497
- compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
6498
- vars: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
6499
- secrets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
6500
- description: z.ZodString;
6501
- required: z.ZodDefault<z.ZodBoolean>;
6502
- }, z.core.$strict>>>;
6503
- storage: z.ZodOptional<z.ZodObject<{
6504
- kv: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
6505
- description: z.ZodString;
6506
- }, z.core.$strict>>>;
6507
- sql: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
6508
- description: z.ZodString;
6509
- migrations: z.ZodOptional<z.ZodString>;
6510
- }, z.core.$strict>>>;
6511
- }, z.core.$strict>>;
6512
- schedules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6513
- every: z.ZodString;
6514
- name: z.ZodString;
6515
- path: z.ZodString;
6516
- description: z.ZodString;
6517
- }, z.core.$strict>, z.ZodObject<{
6518
- cron: z.ZodString;
6519
- name: z.ZodString;
6520
- path: z.ZodString;
6521
- description: z.ZodString;
6522
- }, z.core.$strict>]>>>;
6523
- }, z.core.$strict>>;
6524
- assets: z.ZodArray<z.ZodObject<{
6525
- path: z.ZodString;
6526
- content: z.ZodString;
6527
- size: z.ZodNumber;
6528
- }, z.core.$strict>>;
6529
- format: z.ZodLiteral<1>;
6530
- }, z.core.$strict>, z.ZodObject<{
6531
- deployment: z.ZodObject<{
6532
- encoding: z.ZodLiteral<"br">;
6533
- sha256: z.ZodString;
6534
- compressedSize: z.ZodNumber;
6535
- size: z.ZodNumber;
6536
- }, z.core.$strict>;
6537
- images: z.ZodArray<z.ZodObject<{
6538
- key: z.ZodString;
6539
- sha256: z.ZodString;
6540
- size: z.ZodNumber;
6541
- path: z.ZodOptional<z.ZodString>;
6542
- }, z.core.$strict>>;
6543
- routing: z.ZodDefault<z.ZodEnum<{
6544
- legacy: "legacy";
6545
- transparent: "transparent";
6546
- }>>;
6547
- worker: z.ZodOptional<z.ZodObject<{
6548
- migrations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6549
- name: z.ZodString;
6550
- sql: z.ZodString;
6551
- }, z.core.$strict>>>>;
6552
- modules: z.ZodArray<z.ZodObject<{
6553
- path: z.ZodString;
6554
- type: z.ZodEnum<{
6555
- "application/javascript+module": "application/javascript+module";
6556
- "application/wasm": "application/wasm";
6557
- "text/plain": "text/plain";
6558
- "application/octet-stream": "application/octet-stream";
6559
- }>;
6560
- content: z.ZodString;
6561
- }, z.core.$strict>>;
6562
- runWorkerFirst: z.ZodDefault<z.ZodBoolean>;
6563
- main: z.ZodString;
6564
- compatibilityDate: z.ZodString;
6565
- compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
6566
- vars: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
6567
- secrets: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
6568
- description: z.ZodString;
6569
- required: z.ZodDefault<z.ZodBoolean>;
6570
- }, z.core.$strict>>>;
6571
- storage: z.ZodOptional<z.ZodObject<{
6572
- kv: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
6573
- description: z.ZodString;
6574
- }, z.core.$strict>>>;
6575
- sql: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
6576
- description: z.ZodString;
6577
- migrations: z.ZodOptional<z.ZodString>;
6578
- }, z.core.$strict>>>;
6579
- }, z.core.$strict>>;
6580
- schedules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6581
- every: z.ZodString;
6582
- name: z.ZodString;
6583
- path: z.ZodString;
6584
- description: z.ZodString;
6585
- }, z.core.$strict>, z.ZodObject<{
6586
- cron: z.ZodString;
6587
- name: z.ZodString;
6588
- path: z.ZodString;
6589
- description: z.ZodString;
6590
- }, z.core.$strict>]>>>;
6591
- }, z.core.$strict>>;
6592
- assets: z.ZodArray<z.ZodObject<{
6593
- path: z.ZodString;
6594
- content: z.ZodString;
6595
- size: z.ZodNumber;
6596
- }, z.core.$strict>>;
6597
- format: z.ZodLiteral<2>;
6598
- }, z.core.$strict>], "format">;
6599
- type BuildArtifacts = z.infer<typeof buildArtifactsSchema>;
6600
-
6601
5512
  declare function storage({ callEndpoint, raw }: ManagementHttp): {
6602
5513
  list: (call?: ManagementCallOptions) => Promise<{
6603
5514
  stores: {
@@ -6623,6 +5534,12 @@ declare function storage({ callEndpoint, raw }: ManagementHttp): {
6623
5534
  cursor?: string;
6624
5535
  /** @deprecated Use `cursor`. Removed in 2.0.0. */
6625
5536
  offset?: number;
5537
+ /**
5538
+ * A row's `rowKeys` entry: reads the page that holds that row now, wherever rows written
5539
+ * since moved it, instead of the page at `cursor`. Counting its place reads the table up
5540
+ * to it. A key no row has is 404.
5541
+ */
5542
+ key?: string;
6626
5543
  }, call?: ManagementCallOptions) => Promise<{
6627
5544
  table: string;
6628
5545
  columns: string[];
@@ -6635,15 +5552,20 @@ declare function storage({ callEndpoint, raw }: ManagementHttp): {
6635
5552
  offset: number;
6636
5553
  total: number;
6637
5554
  nextCursor: string | null;
5555
+ keyColumns?: string[] | null | undefined;
5556
+ rowKeys?: (string | null)[] | null | undefined;
6638
5557
  }>;
6639
5558
  /**
6640
5559
  * One SQL value in full, 100,000 characters at a time, where a rows page shows a preview. `row`
6641
5560
  * is the row's position in storage order: its page's `offset` plus its index on that page.
6642
- * Pass a page's `nextCursor` back as `cursor` for the next characters.
5561
+ * Pass the row's `rowKeys` entry as `key` to find the row by its key instead, wherever rows
5562
+ * written since moved it; `row` is then only echoed. Pass a page's `nextCursor` back as
5563
+ * `cursor` for the next characters, and join pages only while their `revision` matches.
6643
5564
  */
6644
5565
  cell: (name: string, table: string, options: {
6645
5566
  row: number;
6646
5567
  column: string;
5568
+ key?: string;
6647
5569
  cursor?: string;
6648
5570
  }, call?: ManagementCallOptions) => Promise<{
6649
5571
  table: string;
@@ -6654,6 +5576,7 @@ declare function storage({ callEndpoint, raw }: ManagementHttp): {
6654
5576
  offset: number;
6655
5577
  text: string | null;
6656
5578
  nextCursor: string | null;
5579
+ revision?: string | null | undefined;
6657
5580
  }>;
6658
5581
  /** One page of a KV store's keys. Pass a page's `nextCursor` back as `cursor` for the next. */
6659
5582
  keys: (name: string, options?: {
@@ -6674,6 +5597,22 @@ declare function storage({ callEndpoint, raw }: ManagementHttp): {
6674
5597
  text: string | null;
6675
5598
  truncated: boolean;
6676
5599
  }>;
5600
+ /**
5601
+ * A KV value in full, binary or text, `limits.apps.storageValueBytes` (4 MiB) at a time as
5602
+ * base64. Pass a page's `nextCursor` back as `cursor` for the next bytes, and join pages only
5603
+ * while their `revision` matches; decode text with a streaming `TextDecoder`, since a page can
5604
+ * end inside a character.
5605
+ */
5606
+ valueBytes: (name: string, key: string, options?: {
5607
+ cursor?: string;
5608
+ }, call?: ManagementCallOptions) => Promise<{
5609
+ key: string;
5610
+ size: number;
5611
+ offset: number;
5612
+ base64: string;
5613
+ revision: string;
5614
+ nextCursor: string | null;
5615
+ }>;
6677
5616
  clear: {
6678
5617
  (kind: "sql", name: string, input: AppStorageSqlClear, call?: ManagementCallOptions): Promise<AppStorageSqlClearResult>;
6679
5618
  (kind: "kv", name: string, input: AppStorageKvClear, call?: ManagementCallOptions): Promise<AppStorageKvClearResult>;
@@ -6817,6 +5756,32 @@ declare const appScheduleRunSchema: z.ZodObject<{
6817
5756
  }, z.core.$strip>>>;
6818
5757
  }, z.core.$strip>;
6819
5758
  type AppScheduleRun = z.infer<typeof appScheduleRunSchema>;
5759
+ /** A run's status, as `status` filters runs by. */
5760
+ type AppScheduleRunStatus = AppScheduleRun["status"];
5761
+ /**
5762
+ * Which of a schedule's runs to read. `status` keeps runs in one or more statuses, such as
5763
+ * `["failed", "uncertain"]`, and accepts them comma-separated as a query string carries them.
5764
+ * `limit` is 1 to 100, 20 by default.
5765
+ */
5766
+ declare const appScheduleRunsQuerySchema: z.ZodObject<{
5767
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
5768
+ uncertain: "uncertain";
5769
+ failed: "failed";
5770
+ queued: "queued";
5771
+ succeeded: "succeeded";
5772
+ running: "running";
5773
+ }>>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>, z.ZodArray<z.ZodEnum<{
5774
+ uncertain: "uncertain";
5775
+ failed: "failed";
5776
+ queued: "queued";
5777
+ succeeded: "succeeded";
5778
+ running: "running";
5779
+ }>>>]>>;
5780
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5781
+ cursor: z.ZodOptional<z.ZodString>;
5782
+ }, z.core.$strict>;
5783
+ /** What `management.schedules.runs(name, query)` takes: `status`, `limit` and `cursor`. */
5784
+ type AppScheduleRunsQuery = z.input<typeof appScheduleRunsQuerySchema>;
6820
5785
  declare const appScheduleRunsSchema: z.ZodObject<{
6821
5786
  runs: z.ZodArray<z.ZodObject<{
6822
5787
  id: z.ZodString;
@@ -6853,6 +5818,7 @@ declare const appScheduleRunsSchema: z.ZodObject<{
6853
5818
  }, z.core.$strip>>>;
6854
5819
  }, z.core.$strip>>>;
6855
5820
  }, z.core.$strip>>;
5821
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6856
5822
  }, z.core.$strip>;
6857
5823
  type AppScheduleRuns = z.infer<typeof appScheduleRunsSchema>;
6858
5824
  declare const appScheduleListSchema: z.ZodObject<{
@@ -6965,30 +5931,10 @@ declare function schedules({ callEndpoint }: ManagementHttp): {
6965
5931
  } | null;
6966
5932
  }[];
6967
5933
  }>;
6968
- /** One schedule's latest twenty runs, newest first, each with the app's result. */
6969
- runs: (name: string, call?: ManagementCallOptions) => Promise<{
6970
- runs: {
6971
- id: string;
6972
- build: string;
6973
- startedAt: number;
6974
- scheduledAt: number;
6975
- manual: boolean;
6976
- status: "uncertain" | "failed" | "queued" | "succeeded" | "running";
6977
- duration: number | null;
6978
- error: string | null;
6979
- result?: {
6980
- outcome: "partial" | "failed" | "succeeded";
6981
- summary?: string | undefined;
6982
- metrics?: Record<string, number> | undefined;
6983
- diagnostics?: {
6984
- level: "error" | "info" | "warning";
6985
- message: string;
6986
- subject?: string | undefined;
6987
- code?: string | undefined;
6988
- }[] | undefined;
6989
- } | null | undefined;
6990
- }[];
6991
- }>;
5934
+ runs: {
5935
+ (name: string, call?: ManagementCallOptions): Promise<AppScheduleRuns>;
5936
+ (name: string, query: AppScheduleRunsQuery, call?: ManagementCallOptions): Promise<AppScheduleRuns>;
5937
+ };
6992
5938
  run: (name: string, call?: ManagementCallOptions) => Promise<{
6993
5939
  state: "paused" | "active" | "archived";
6994
5940
  schedules: {
@@ -7085,6 +6031,7 @@ declare function secrets({ callEndpoint, raw }: ManagementHttp): {
7085
6031
  name: string;
7086
6032
  updatedAt: number;
7087
6033
  updatedBy: string;
6034
+ credential?: AppSecretCredential | undefined;
7088
6035
  }[];
7089
6036
  declared: {
7090
6037
  description: string;
@@ -7096,6 +6043,7 @@ declare function secrets({ callEndpoint, raw }: ManagementHttp): {
7096
6043
  name: string;
7097
6044
  updatedAt: number;
7098
6045
  updatedBy: string;
6046
+ credential?: AppSecretCredential | undefined;
7099
6047
  }>;
7100
6048
  delete: (name: string, call?: ManagementCallOptions) => Promise<void>;
7101
6049
  };
@@ -14333,12 +13281,16 @@ interface OperationsApi extends ReturnType<typeof operations> {
14333
13281
  /**
14334
13282
  * Which attempts to list. `q` matches part of the member ID, quest ID or attempt ID, ignoring
14335
13283
  * letter case; `quest` keeps one quest's attempts, by its ID; `status` keeps one status, such as
14336
- * `needs-review`. `limit` is 1 to 100, 25 by default.
13284
+ * `needs-review`; `from` and `to` keep attempts created at or after `from` and before `to`, in
13285
+ * epoch milliseconds, as an analytics range or bucket bounds them. `limit` is 1 to 100, 25 by
13286
+ * default.
14337
13287
  */
14338
13288
  declare const managedAttemptQuerySchema: z.ZodObject<{
14339
13289
  q: z.ZodOptional<z.ZodString>;
14340
13290
  quest: z.ZodOptional<z.ZodString>;
14341
13291
  status: z.ZodOptional<z.ZodString>;
13292
+ from: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
13293
+ to: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14342
13294
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14343
13295
  cursor: z.ZodOptional<z.ZodString>;
14344
13296
  }, z.core.$strict>;
@@ -18825,6 +17777,7 @@ declare function referrals(http: ManagementHttp): {
18825
17777
  history: (member: string, query?: {
18826
17778
  cursor?: string;
18827
17779
  }, call?: ManagementCallOptions) => Promise<{
17780
+ nextCursor: string | null;
18828
17781
  items: {
18829
17782
  id: number;
18830
17783
  program: string;
@@ -18832,8 +17785,10 @@ declare function referrals(http: ManagementHttp): {
18832
17785
  amount: number;
18833
17786
  at: number;
18834
17787
  reason: string;
17788
+ account?: string | null | undefined;
17789
+ invitee?: string | null | undefined;
17790
+ kind?: ReferralAccountKind | null | undefined;
18835
17791
  }[];
18836
- nextCursor: string | null;
18837
17792
  }>;
18838
17793
  list: (call?: ManagementCallOptions) => Promise<{
18839
17794
  version: string;
@@ -21083,6 +20038,7 @@ declare function identityIntegrations({ callEndpoint }: ManagementHttp): {
21083
20038
  name: string;
21084
20039
  updatedAt: number;
21085
20040
  updatedBy: string;
20041
+ credential?: AppSecretCredential | undefined;
21086
20042
  };
21087
20043
  }>;
21088
20044
  /**
@@ -21161,6 +20117,7 @@ declare function identityIntegrations({ callEndpoint }: ManagementHttp): {
21161
20117
  name: string;
21162
20118
  updatedAt: number;
21163
20119
  updatedBy: string;
20120
+ credential?: AppSecretCredential | undefined;
21164
20121
  };
21165
20122
  }>;
21166
20123
  /**
@@ -22001,6 +20958,63 @@ declare const managedEntitlementQuerySchema: z.ZodObject<{
22001
20958
  cursor: z.ZodOptional<z.ZodString>;
22002
20959
  }, z.core.$strict>;
22003
20960
  type ManagedEntitlementQuery = z.input<typeof managedEntitlementQuerySchema>;
20961
+ /** A source kind this SDK version knows. */
20962
+ type KnownEntitlementSourceKind = (typeof EntitlementSourceKind)[keyof typeof EntitlementSourceKind];
20963
+ /** What earned an entitlement. */
20964
+ declare const EntitlementSourceKind: {
20965
+ /** A quest completion: `id` is the quest. */
20966
+ readonly Quest: "quest";
20967
+ /** A leaderboard settlement's prize: `id` is the board. */
20968
+ readonly Leaderboard: "leaderboard";
20969
+ /** A referral program's reward: `id` is the program, `invitee` the friend. */
20970
+ readonly Referral: "referral";
20971
+ /** An offer redemption: `id` is the offer. */
20972
+ readonly Offer: "offer";
20973
+ };
20974
+ /** A known kind, or one a newer Relay sends. */
20975
+ type EntitlementSourceKind = KnownEntitlementSourceKind | (string & {});
20976
+ /**
20977
+ * What earned an entitlement: its `kind` and the quest, board, referral program or offer `id`, with
20978
+ * the completion and the first attempt that reached it, the referred friend (`invitee`), or the
20979
+ * redemption, where there is one.
20980
+ */
20981
+ declare const entitlementSourceSchema: z.ZodObject<{
20982
+ kind: z.ZodType<EntitlementSourceKind>;
20983
+ id: z.ZodString;
20984
+ completion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20985
+ attempt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20986
+ invitee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20987
+ redemption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20988
+ }, z.core.$loose>;
20989
+ /** @compat output */
20990
+ type EntitlementSource = z.infer<typeof entitlementSourceSchema>;
20991
+ /**
20992
+ * When a member earned an entitlement (`earnedAt`, epoch milliseconds) and what earned it
20993
+ * (`source`). Each is null when Relay did not record or cannot tell it, and absent from Relay
20994
+ * versions before them.
20995
+ */
20996
+ declare const entitlementProvenanceSchema: z.ZodObject<{
20997
+ earnedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20998
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20999
+ kind: z.ZodType<EntitlementSourceKind>;
21000
+ id: z.ZodString;
21001
+ completion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21002
+ attempt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21003
+ invitee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21004
+ redemption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21005
+ }, z.core.$loose>>>;
21006
+ }, z.core.$strip>;
21007
+ /** @compat output */
21008
+ type EntitlementProvenance = z.infer<typeof entitlementProvenanceSchema>;
21009
+ /**
21010
+ * An entitlement as management reads answer it (`entitlements.list` items and `entitlements.get`),
21011
+ * with when it was earned and what earned it. Those reads parse each entitlement with
21012
+ * `entitlementSchema`, which keeps the two fields untyped; read them typed with
21013
+ * `entitlementProvenanceSchema.parse(entitlement)`. The page and record schemas keep their released
21014
+ * types: an intersection of every entitlement status with these fields makes the API compatibility
21015
+ * check run out of memory.
21016
+ */
21017
+ type ManagedEntitlementItem = Entitlement & EntitlementProvenance;
22004
21018
  /** One page of entitlements, newest first, how many match, and the members they name. */
22005
21019
  declare const managedEntitlementPageSchema: z.ZodObject<{
22006
21020
  items: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -56102,6 +55116,45 @@ declare function leaderboards(http: ManagementHttp): {
56102
55116
  }[];
56103
55117
  nextCursor: string | null;
56104
55118
  }>;
55119
+ /**
55120
+ * One member's rank and score on `board` now, as a profile's placement ranks them, or why they
55121
+ * are unranked (`status`): banned, excluded, outside the board's group, or no counted points.
55122
+ * A member who never joined the project is 404 `not-joined`.
55123
+ */
55124
+ memberStanding: (board: string, member: string, call?: ManagementCallOptions) => Promise<{
55125
+ leaderboard: string;
55126
+ member: string;
55127
+ status: LeaderboardStandingStatus;
55128
+ rank: number | null;
55129
+ score: number | null;
55130
+ total: number;
55131
+ }>;
55132
+ /**
55133
+ * The point entries behind one member's score on `board`, most recently recorded first: the
55134
+ * board's ledger filtered by its window, quests and calculation, as `me.leaderboardHistory`
55135
+ * pages a member's own, so every page together sums to the score `memberStanding` reports.
55136
+ * An excluded member, or one outside the board's group, has none; a member who never joined
55137
+ * the project is 404 `not-joined`. Pass `nextCursor` back as `cursor` for the next page.
55138
+ */
55139
+ memberEntries: (board: string, member: string, options?: {
55140
+ cursor?: string;
55141
+ }, call?: ManagementCallOptions) => Promise<{
55142
+ leaderboard: string;
55143
+ period: {
55144
+ start: number | null;
55145
+ end: number | null;
55146
+ };
55147
+ items: {
55148
+ id: string;
55149
+ amount: number;
55150
+ kind: PointEntryKind;
55151
+ at: number;
55152
+ quest: string | null;
55153
+ reverses: string | null;
55154
+ imported?: boolean | undefined;
55155
+ }[];
55156
+ nextCursor: string | null;
55157
+ }>;
56105
55158
  history: (board: string, call?: ManagementCallOptions) => Promise<{
56106
55159
  version: string;
56107
55160
  definition: {
@@ -57285,6 +56338,38 @@ interface EngagementApi extends ReturnType<typeof engagement> {
57285
56338
  */
57286
56339
  declare const sequenceCursorSchema$1: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>, z.ZodNumber>;
57287
56340
 
56341
+ /**
56342
+ * One participant route. `path` uses the API's route syntax: every parameter is `:name{pattern}`,
56343
+ * one path segment matched by `pattern`.
56344
+ */
56345
+ type ParticipantRoute = {
56346
+ method: "GET" | "POST";
56347
+ path: `/v1/${string}`;
56348
+ /**
56349
+ * Sign-in routes only hosted apps reach: identity integrations' apps have their own login. They
56350
+ * still connect accounts through /v1/auth/start and /v1/auth/complete.
56351
+ */
56352
+ hostedOnly?: true;
56353
+ };
56354
+ declare const participantRoutes$1: readonly ParticipantRoute[];
56355
+ /**
56356
+ * The expression a route path matches: its literal parts exactly, each `:name{pattern}` one path
56357
+ * segment. A parameter whose pattern can match "/" would span segments, so it is refused, as is a
56358
+ * parameter without a pattern.
56359
+ */
56360
+ declare function participantRoutePattern$1(path: string): RegExp;
56361
+ /**
56362
+ * A route a hosted app reaches through `proxyParticipant`: exactly a listed method and path.
56363
+ * Another method on a listed path is not a participant route either.
56364
+ */
56365
+ declare function isParticipantRoute(path: string, method: string): boolean;
56366
+ /**
56367
+ * A path an identity integration reaches, with any method: the API answers a method its route
56368
+ * does not register with 405, and OPTIONS with the route's `Allow` header. Sign-in routes are
56369
+ * hosted-only.
56370
+ */
56371
+ declare function isIntegrationParticipantPath(path: string): boolean;
56372
+
57288
56373
  /** The account roles a source's records can name: `author` and any others the source declares. */
57289
56374
  declare function sourceRoles(source: TrackerSourceResponse): readonly string[];
57290
56375
  /**
@@ -57453,6 +56538,7 @@ declare const accessSchema: z.ZodObject<{
57453
56538
  live: "live";
57454
56539
  }>>;
57455
56540
  }, z.core.$strip>>;
56541
+ expiresAt: z.ZodOptional<z.ZodNumber>;
57456
56542
  credential: z.ZodOptional<z.ZodObject<{
57457
56543
  kind: z.ZodString;
57458
56544
  id: z.ZodString;
@@ -59171,6 +58257,120 @@ declare const developmentPreflightSchema: z.ZodObject<{
59171
58257
  }, z.core.$strip>>;
59172
58258
  }, z.core.$strip>;
59173
58259
 
58260
+ /** Every declared field is present with its declared type or null; nothing else is returned. */
58261
+ declare function parseImageExtraction(raw: ImageFields, value: unknown): {
58262
+ values: Record<string, string | number | boolean | null>;
58263
+ reason: string;
58264
+ };
58265
+ declare function parseImageResult(request: ImageRequest, value: unknown): {
58266
+ kind: "pass" | "fail" | "unclear";
58267
+ reason: string;
58268
+ } | {
58269
+ width: number;
58270
+ height: number;
58271
+ format: "jpeg" | "png" | "webp" | "gif" | "avif";
58272
+ bytes: number;
58273
+ sha256: string;
58274
+ phash: string;
58275
+ dhash: string;
58276
+ } | {
58277
+ identical: boolean;
58278
+ phashDistance: number;
58279
+ dhashDistance: number;
58280
+ } | {
58281
+ values: Record<string, string | number | boolean | null>;
58282
+ reason: string;
58283
+ } | {
58284
+ matches: number;
58285
+ closestDistance: number | null;
58286
+ firstSeenAt: number | null;
58287
+ };
58288
+
58289
+ /**
58290
+ * How a kept invocation started: `fetch` for HTTP requests and Relay's scheduled calls, `other`
58291
+ * for anything else.
58292
+ *
58293
+ * @compat open
58294
+ * @experimental A minor release can change runtime logs.
58295
+ */
58296
+ type KnownRuntimeLogTrigger = "fetch" | "scheduled" | "queue" | "other";
58297
+ /** @experimental A minor release can change runtime logs. */
58298
+ type RuntimeLogTrigger = KnownRuntimeLogTrigger | (string & {});
58299
+ /**
58300
+ * How Cloudflare says an invocation ended, such as `exception` or `exceededCpu`.
58301
+ *
58302
+ * @compat open
58303
+ * @experimental A minor release can change runtime logs.
58304
+ */
58305
+ type KnownRuntimeLogOutcome = "ok" | "exception" | "exceededCpu" | "exceededMemory" | "canceled" | "unknown";
58306
+ /** @experimental A minor release can change runtime logs. */
58307
+ type RuntimeLogOutcome = KnownRuntimeLogOutcome | (string & {});
58308
+ /**
58309
+ * One kept invocation of a hosted build: a request answered 400 or above, one that threw or ended
58310
+ * other than `ok`, or one that logged a warning or error. Messages are redacted; headers, bodies,
58311
+ * query strings and IPs are never kept.
58312
+ *
58313
+ * @experimental A minor release can change runtime logs.
58314
+ */
58315
+ declare const runtimeLogEventSchema: z.ZodObject<{
58316
+ at: z.ZodNumber;
58317
+ build: z.ZodString;
58318
+ environment: z.ZodEnum<{
58319
+ test: "test";
58320
+ live: "live";
58321
+ }>;
58322
+ trigger: z.ZodType<RuntimeLogTrigger>;
58323
+ method: z.ZodNullable<z.ZodString>;
58324
+ path: z.ZodNullable<z.ZodString>;
58325
+ status: z.ZodNullable<z.ZodNumber>;
58326
+ outcome: z.ZodType<RuntimeLogOutcome>;
58327
+ exceptions: z.ZodArray<z.ZodObject<{
58328
+ name: z.ZodString;
58329
+ message: z.ZodString;
58330
+ }, z.core.$strip>>;
58331
+ logs: z.ZodArray<z.ZodObject<{
58332
+ level: z.ZodString;
58333
+ message: z.ZodString;
58334
+ }, z.core.$strip>>;
58335
+ truncated: z.ZodBoolean;
58336
+ }, z.core.$strip>;
58337
+ /** @experimental A minor release can change runtime logs. */
58338
+ type RuntimeLogEvent = z.infer<typeof runtimeLogEventSchema>;
58339
+ /**
58340
+ * `GET /runtime-logs`: one page of a build's records, newest first. `build` is the build read, or
58341
+ * null when the environment serves none. Pass `nextCursor` back as `cursor` with the same build.
58342
+ *
58343
+ * @experimental A minor release can change runtime logs.
58344
+ */
58345
+ declare const runtimeLogPageSchema: z.ZodObject<{
58346
+ build: z.ZodNullable<z.ZodString>;
58347
+ items: z.ZodArray<z.ZodObject<{
58348
+ at: z.ZodNumber;
58349
+ build: z.ZodString;
58350
+ environment: z.ZodEnum<{
58351
+ test: "test";
58352
+ live: "live";
58353
+ }>;
58354
+ trigger: z.ZodType<RuntimeLogTrigger>;
58355
+ method: z.ZodNullable<z.ZodString>;
58356
+ path: z.ZodNullable<z.ZodString>;
58357
+ status: z.ZodNullable<z.ZodNumber>;
58358
+ outcome: z.ZodType<RuntimeLogOutcome>;
58359
+ exceptions: z.ZodArray<z.ZodObject<{
58360
+ name: z.ZodString;
58361
+ message: z.ZodString;
58362
+ }, z.core.$strip>>;
58363
+ logs: z.ZodArray<z.ZodObject<{
58364
+ level: z.ZodString;
58365
+ message: z.ZodString;
58366
+ }, z.core.$strip>>;
58367
+ truncated: z.ZodBoolean;
58368
+ }, z.core.$strip>>;
58369
+ nextCursor: z.ZodNullable<z.ZodString>;
58370
+ }, z.core.$strip>;
58371
+ /** @experimental A minor release can change runtime logs. */
58372
+ type RuntimeLogPage = z.infer<typeof runtimeLogPageSchema>;
58373
+
59174
58374
  /** @compat input */
59175
58375
  type ManagementClientOptions = {
59176
58376
  baseUrl: string;
@@ -59255,6 +58455,7 @@ declare function managementClient(options: ManagementTransportOptions): {
59255
58455
  starter?: string | undefined;
59256
58456
  projectPermissions?: ProjectPermission[] | undefined;
59257
58457
  }[];
58458
+ expiresAt?: number | undefined;
59258
58459
  credential?: {
59259
58460
  kind: string;
59260
58461
  id: string;
@@ -101799,6 +101000,54 @@ declare const managementResponseSchemas: {
101799
101000
  generated: boolean;
101800
101001
  boundAt: number | null;
101801
101002
  }, unknown>>;
101003
+ leaderboardHistoryPageSchema: z.ZodType<{
101004
+ leaderboard: string;
101005
+ period: {
101006
+ start: number | null;
101007
+ end: number | null;
101008
+ };
101009
+ items: {
101010
+ id: string;
101011
+ amount: number;
101012
+ kind: PointEntryKind;
101013
+ at: number;
101014
+ quest: string | null;
101015
+ reverses: string | null;
101016
+ imported?: boolean | undefined;
101017
+ }[];
101018
+ nextCursor: string | null;
101019
+ }, unknown, z.core.$ZodTypeInternals<{
101020
+ leaderboard: string;
101021
+ period: {
101022
+ start: number | null;
101023
+ end: number | null;
101024
+ };
101025
+ items: {
101026
+ id: string;
101027
+ amount: number;
101028
+ kind: PointEntryKind;
101029
+ at: number;
101030
+ quest: string | null;
101031
+ reverses: string | null;
101032
+ imported?: boolean | undefined;
101033
+ }[];
101034
+ nextCursor: string | null;
101035
+ }, unknown>>;
101036
+ leaderboardMemberStandingSchema: z.ZodType<{
101037
+ leaderboard: string;
101038
+ member: string;
101039
+ status: LeaderboardStandingStatus;
101040
+ rank: number | null;
101041
+ score: number | null;
101042
+ total: number;
101043
+ }, unknown, z.core.$ZodTypeInternals<{
101044
+ leaderboard: string;
101045
+ member: string;
101046
+ status: LeaderboardStandingStatus;
101047
+ rank: number | null;
101048
+ score: number | null;
101049
+ total: number;
101050
+ }, unknown>>;
101802
101051
  leaderboardPageSchema: z.ZodType<{
101803
101052
  leaderboard: string;
101804
101053
  title: string;
@@ -103009,6 +102258,33 @@ declare const managementResponseSchemas: {
103009
102258
  };
103010
102259
  total: number;
103011
102260
  }, unknown>>;
102261
+ managedReferralHistorySchema: z.ZodType<{
102262
+ nextCursor: string | null;
102263
+ items: {
102264
+ id: number;
102265
+ program: string;
102266
+ balance: string;
102267
+ amount: number;
102268
+ at: number;
102269
+ reason: string;
102270
+ account?: string | null | undefined;
102271
+ invitee?: string | null | undefined;
102272
+ kind?: ReferralAccountKind | null | undefined;
102273
+ }[];
102274
+ }, unknown, z.core.$ZodTypeInternals<{
102275
+ nextCursor: string | null;
102276
+ items: {
102277
+ id: number;
102278
+ program: string;
102279
+ balance: string;
102280
+ amount: number;
102281
+ at: number;
102282
+ reason: string;
102283
+ account?: string | null | undefined;
102284
+ invitee?: string | null | undefined;
102285
+ kind?: ReferralAccountKind | null | undefined;
102286
+ }[];
102287
+ }, unknown>>;
103012
102288
  publishedReferralSchema: z.ZodType<{
103013
102289
  version: string;
103014
102290
  definition: {
@@ -117360,6 +116636,7 @@ declare const managementResponseSchemas: {
117360
116636
  name: string;
117361
116637
  updatedAt: number;
117362
116638
  updatedBy: string;
116639
+ credential?: AppSecretCredential | undefined;
117363
116640
  };
117364
116641
  }, unknown, z.core.$ZodTypeInternals<{
117365
116642
  id: string;
@@ -117383,6 +116660,7 @@ declare const managementResponseSchemas: {
117383
116660
  name: string;
117384
116661
  updatedAt: number;
117385
116662
  updatedBy: string;
116663
+ credential?: AppSecretCredential | undefined;
117386
116664
  };
117387
116665
  }, unknown>>;
117388
116666
  identityIntegrationSchema: z.ZodType<{
@@ -123661,6 +122939,7 @@ declare const managementResponseSchemas: {
123661
122939
  name: string;
123662
122940
  updatedAt: number;
123663
122941
  updatedBy: string;
122942
+ credential?: AppSecretCredential | undefined;
123664
122943
  }[];
123665
122944
  declared: {
123666
122945
  description: string;
@@ -123672,6 +122951,7 @@ declare const managementResponseSchemas: {
123672
122951
  name: string;
123673
122952
  updatedAt: number;
123674
122953
  updatedBy: string;
122954
+ credential?: AppSecretCredential | undefined;
123675
122955
  }[];
123676
122956
  declared: {
123677
122957
  description: string;
@@ -123683,10 +122963,12 @@ declare const managementResponseSchemas: {
123683
122963
  name: string;
123684
122964
  updatedAt: number;
123685
122965
  updatedBy: string;
122966
+ credential?: AppSecretCredential | undefined;
123686
122967
  }, unknown, z.core.$ZodTypeInternals<{
123687
122968
  name: string;
123688
122969
  updatedAt: number;
123689
122970
  updatedBy: string;
122971
+ credential?: AppSecretCredential | undefined;
123690
122972
  }, unknown>>;
123691
122973
  appScheduleListSchema: z.ZodType<{
123692
122974
  state: "paused" | "active" | "archived";
@@ -123787,6 +123069,7 @@ declare const managementResponseSchemas: {
123787
123069
  }[] | undefined;
123788
123070
  } | null | undefined;
123789
123071
  }[];
123072
+ nextCursor?: string | null | undefined;
123790
123073
  }, unknown, z.core.$ZodTypeInternals<{
123791
123074
  runs: {
123792
123075
  id: string;
@@ -123809,6 +123092,7 @@ declare const managementResponseSchemas: {
123809
123092
  }[] | undefined;
123810
123093
  } | null | undefined;
123811
123094
  }[];
123095
+ nextCursor?: string | null | undefined;
123812
123096
  }, unknown>>;
123813
123097
  appStorageCellPageSchema: z.ZodType<{
123814
123098
  table: string;
@@ -123819,6 +123103,7 @@ declare const managementResponseSchemas: {
123819
123103
  offset: number;
123820
123104
  text: string | null;
123821
123105
  nextCursor: string | null;
123106
+ revision?: string | null | undefined;
123822
123107
  }, unknown, z.core.$ZodTypeInternals<{
123823
123108
  table: string;
123824
123109
  column: string;
@@ -123828,6 +123113,7 @@ declare const managementResponseSchemas: {
123828
123113
  offset: number;
123829
123114
  text: string | null;
123830
123115
  nextCursor: string | null;
123116
+ revision?: string | null | undefined;
123831
123117
  }, unknown>>;
123832
123118
  appStorageKeysSchema: z.ZodType<{
123833
123119
  keys: {
@@ -123890,6 +123176,8 @@ declare const managementResponseSchemas: {
123890
123176
  offset: number;
123891
123177
  total: number;
123892
123178
  nextCursor: string | null;
123179
+ keyColumns?: string[] | null | undefined;
123180
+ rowKeys?: (string | null)[] | null | undefined;
123893
123181
  }, unknown, z.core.$ZodTypeInternals<{
123894
123182
  table: string;
123895
123183
  columns: string[];
@@ -123902,6 +123190,8 @@ declare const managementResponseSchemas: {
123902
123190
  offset: number;
123903
123191
  total: number;
123904
123192
  nextCursor: string | null;
123193
+ keyColumns?: string[] | null | undefined;
123194
+ rowKeys?: (string | null)[] | null | undefined;
123905
123195
  }, unknown>>;
123906
123196
  appStorageSqlClearResultSchema: z.ZodType<{
123907
123197
  environment: string;
@@ -123933,6 +123223,21 @@ declare const managementResponseSchemas: {
123933
123223
  kind: string;
123934
123224
  }[];
123935
123225
  }, unknown>>;
123226
+ appStorageValueBytesSchema: z.ZodType<{
123227
+ key: string;
123228
+ size: number;
123229
+ offset: number;
123230
+ base64: string;
123231
+ revision: string;
123232
+ nextCursor: string | null;
123233
+ }, unknown, z.core.$ZodTypeInternals<{
123234
+ key: string;
123235
+ size: number;
123236
+ offset: number;
123237
+ base64: string;
123238
+ revision: string;
123239
+ nextCursor: string | null;
123240
+ }, unknown>>;
123936
123241
  appStorageValueSchema: z.ZodType<{
123937
123242
  key: string;
123938
123243
  size: number;
@@ -125171,6 +124476,7 @@ declare const managementResponseSchemas: {
125171
124476
  starter?: string | undefined;
125172
124477
  projectPermissions?: ProjectPermission[] | undefined;
125173
124478
  }[];
124479
+ expiresAt?: number | undefined;
125174
124480
  credential?: {
125175
124481
  kind: string;
125176
124482
  id: string;
@@ -125209,6 +124515,7 @@ declare const managementResponseSchemas: {
125209
124515
  starter?: string | undefined;
125210
124516
  projectPermissions?: ProjectPermission[] | undefined;
125211
124517
  }[];
124518
+ expiresAt?: number | undefined;
125212
124519
  credential?: {
125213
124520
  kind: string;
125214
124521
  id: string;
@@ -147751,6 +147058,31 @@ declare const managementResponses: {
147751
147058
  generated: boolean;
147752
147059
  boundAt: number | null;
147753
147060
  }>>;
147061
+ leaderboardHistoryPageSchema: ResponseSchema<ResponseResult<{
147062
+ leaderboard: string;
147063
+ period: {
147064
+ start: number | null;
147065
+ end: number | null;
147066
+ };
147067
+ items: {
147068
+ id: string;
147069
+ amount: number;
147070
+ kind: PointEntryKind;
147071
+ at: number;
147072
+ quest: string | null;
147073
+ reverses: string | null;
147074
+ imported?: boolean | undefined;
147075
+ }[];
147076
+ nextCursor: string | null;
147077
+ }>>;
147078
+ leaderboardMemberStandingSchema: ResponseSchema<ResponseResult<{
147079
+ leaderboard: string;
147080
+ member: string;
147081
+ status: LeaderboardStandingStatus;
147082
+ rank: number | null;
147083
+ score: number | null;
147084
+ total: number;
147085
+ }>>;
147754
147086
  leaderboardPageSchema: ResponseSchema<ResponseResult<{
147755
147087
  leaderboard: string;
147756
147088
  title: string;
@@ -148364,6 +147696,20 @@ declare const managementResponses: {
148364
147696
  };
148365
147697
  total: number;
148366
147698
  }>>;
147699
+ managedReferralHistorySchema: ResponseSchema<ResponseResult<{
147700
+ nextCursor: string | null;
147701
+ items: {
147702
+ id: number;
147703
+ program: string;
147704
+ balance: string;
147705
+ amount: number;
147706
+ at: number;
147707
+ reason: string;
147708
+ account?: string | null | undefined;
147709
+ invitee?: string | null | undefined;
147710
+ kind?: ReferralAccountKind | null | undefined;
147711
+ }[];
147712
+ }>>;
148367
147713
  publishedReferralSchema: ResponseSchema<ResponseResult<{
148368
147714
  version: string;
148369
147715
  definition: {
@@ -155591,6 +154937,7 @@ declare const managementResponses: {
155591
154937
  name: string;
155592
154938
  updatedAt: number;
155593
154939
  updatedBy: string;
154940
+ credential?: AppSecretCredential | undefined;
155594
154941
  };
155595
154942
  }>>;
155596
154943
  identityIntegrationSchema: ResponseSchema<ResponseResult<{
@@ -158759,6 +158106,7 @@ declare const managementResponses: {
158759
158106
  name: string;
158760
158107
  updatedAt: number;
158761
158108
  updatedBy: string;
158109
+ credential?: AppSecretCredential | undefined;
158762
158110
  }[];
158763
158111
  declared: {
158764
158112
  description: string;
@@ -158770,6 +158118,7 @@ declare const managementResponses: {
158770
158118
  name: string;
158771
158119
  updatedAt: number;
158772
158120
  updatedBy: string;
158121
+ credential?: AppSecretCredential | undefined;
158773
158122
  }>>;
158774
158123
  appScheduleListSchema: ResponseSchema<ResponseResult<{
158775
158124
  state: "paused" | "active" | "archived";
@@ -158832,6 +158181,7 @@ declare const managementResponses: {
158832
158181
  }[] | undefined;
158833
158182
  } | null | undefined;
158834
158183
  }[];
158184
+ nextCursor?: string | null | undefined;
158835
158185
  }>>;
158836
158186
  appStorageCellPageSchema: ResponseSchema<ResponseResult<{
158837
158187
  table: string;
@@ -158842,6 +158192,7 @@ declare const managementResponses: {
158842
158192
  offset: number;
158843
158193
  text: string | null;
158844
158194
  nextCursor: string | null;
158195
+ revision?: string | null | undefined;
158845
158196
  }>>;
158846
158197
  appStorageKeysSchema: ResponseSchema<ResponseResult<{
158847
158198
  keys: {
@@ -158881,6 +158232,8 @@ declare const managementResponses: {
158881
158232
  offset: number;
158882
158233
  total: number;
158883
158234
  nextCursor: string | null;
158235
+ keyColumns?: string[] | null | undefined;
158236
+ rowKeys?: (string | null)[] | null | undefined;
158884
158237
  }>>;
158885
158238
  appStorageSqlClearResultSchema: ResponseSchema<ResponseResult<{
158886
158239
  environment: string;
@@ -158898,6 +158251,14 @@ declare const managementResponses: {
158898
158251
  kind: string;
158899
158252
  }[];
158900
158253
  }>>;
158254
+ appStorageValueBytesSchema: ResponseSchema<ResponseResult<{
158255
+ key: string;
158256
+ size: number;
158257
+ offset: number;
158258
+ base64: string;
158259
+ revision: string;
158260
+ nextCursor: string | null;
158261
+ }>>;
158901
158262
  appStorageValueSchema: ResponseSchema<ResponseResult<{
158902
158263
  key: string;
158903
158264
  size: number;
@@ -159545,6 +158906,7 @@ declare const managementResponses: {
159545
158906
  starter?: string | undefined;
159546
158907
  projectPermissions?: ProjectPermission[] | undefined;
159547
158908
  }[];
158909
+ expiresAt?: number | undefined;
159548
158910
  credential?: {
159549
158911
  kind: string;
159550
158912
  id: string;
@@ -160504,27 +159866,5 @@ declare const managementResponses: {
160504
159866
  }>>;
160505
159867
  };
160506
159868
 
160507
- /** What `managementTransport` sends with: the management client's options, plus its own. */
160508
- type ManagementTransportOptions = ManagementClientOptions & {
160509
- /** The `X-Domino-Client` identity; the SDK's own by default. */
160510
- client?: string;
160511
- /** fetch's redirect mode. With `"error"`, a redirect fails the call without being followed. */
160512
- redirect?: RequestInit["redirect"];
160513
- };
160514
- /**
160515
- * Sends management requests for one scope and credential. `exchange` is a JSON call parsed with
160516
- * `schema`, `json` one whose body is read as it came, and `raw` answers the `Response`.
160517
- */
160518
- declare function managementTransport(options: ManagementTransportOptions): {
160519
- raw: (path: string, init?: ManagementRawInit) => Promise<Response>;
160520
- exchange: <T>(path: string, schema: z.ZodType<T>, input: unknown, method: string, call: ManagementCallOptions | undefined, replaySafe: boolean, tolerant?: boolean) => Promise<T>;
160521
- json: ({ path, method, body, replaySafe, }: {
160522
- path: string;
160523
- method: string;
160524
- body?: unknown;
160525
- replaySafe: boolean;
160526
- }) => Promise<unknown>;
160527
- };
160528
-
160529
- export { solanaPayoutConfirmationResultSchema as A, RevokedDeliveryOutcome as D, RevokedReferralOutcome as E, ManagedAccountStatus as G, offerLifecycleResultSchema as H, tieredRewardLifecycleResultSchema as J, operationSchema as K, RevokedEntitlementOutcome as R, TestMemberDecisionKind as T, HOSTING_NAME_PATTERN as V, ID_PATTERN as X, QuestShapeError as a1, REFERRAL_INTEGRATION_REWARD_ERROR$1 as a2, SEGMENT_PATTERN as a3, UUID_PATTERN as a4, containsReferralIntegrationReward$1 as a5, endpointRoute as a6, isIntegrationParticipantPath as a7, isParticipantRoute as a8, managementEndpoint as a9, managementTransport as aa, nextScheduleRun$1 as ab, ok as ac, parseImageExtraction as ad, parseImageResult as ae, participantRoutePattern$1 as af, participantRoutes$1 as ag, questConfiguration as ah, sequenceCursorSchema$1 as ai, sourceDataSchema$1 as aj, sourceRoles as ak, validateQuestShape$1 as al, APP_KV_LIMIT as am, APP_MIGRATION_FILE_BYTES as an, APP_MIGRATION_LIMIT as ao, APP_MIGRATION_TOTAL_BYTES as ap, APP_SCHEDULE_LIMIT as aq, APP_SCHEDULE_MIN_INTERVAL as ar, APP_SCHEDULE_RESULT_BYTES as as, APP_SCHEDULE_TIMEOUT as at, APP_SECRET_LIMIT as au, APP_SQL_LIMIT as av, APP_STORAGE_CELL_CHARACTERS as aw, APP_STORAGE_PREVIEW_CHARACTERS as ax, APP_STORAGE_ROW_LIMIT as ay, managedAttemptSchema as b, DEFAULT_MANAGEMENT_TIMEOUT as bD, evidenceRetentionResultSchema as c, evidenceRetentionSettingSchema as d, ManagementError as d0, ManagementErrorCode as d1, PayoutSourceKind as dC, QuestActionRefusal as dW, evidenceRedactionResultSchema as e, REFERRAL_INTEGRATION_REWARD_ERROR as e1, RestoredDeliveryOutcome as e5, RestoredEntitlementOutcome as e6, RestoredReferralOutcome as e7, memberCompletionPageSchema as f, billingPlanChangeInputSchema as f$, WEBHOOK_MAX_BYTES as f5, WalletSignInError as f9, appSecretNameSchema as fA, appSecretSchema as fB, appSecretValueSchema as fC, appStorageCellPageSchema as fD, appStorageCellSchema as fE, appStorageKeysSchema as fF, appStorageKindSchema as fG, appStorageKvClearResultSchema as fH, appStorageKvClearSchema as fI, appStorageListSchema as fJ, appStorageRowsSchema as fK, appStorageSchema as fL, appStorageSqlClearResultSchema as fM, appStorageSqlClearSchema as fN, appStorageTablesSchema as fO, appStorageValueSchema as fP, assetPathSchema as fQ, auditListQuerySchema as fR, auditPageSchema as fS, auditQuerySchema as fT, auditRecordSchema as fU, automationKeyInputSchema as fV, automationKeyPermissionSchema as fW, automationKeySchema as fX, balanceCheckSchema as fY, billingCheckoutInputSchema as fZ, billingIntervals as f_, accessHistoryQuerySchema as fc, accessSchema as fd, accountProfileSchema as fe, actionsJson as ff, activeMemberMonthSchema as fg, activeMemberUsageSchema as fh, appIdentitySelectorSchema as fi, appMigrationNameSchema as fj, appRoutingSchema as fk, appScheduleDiagnosticSchema as fl, appScheduleListSchema as fm, appScheduleNameSchema as fn, appSchedulePathSchema as fo, appScheduleResultSchema as fp, appScheduleRunSchema as fq, appScheduleRunsSchema as fr, appScheduleSchema as fs, appScheduleStateInputSchema as ft, appScheduleStateSchema as fu, appSchedulesSchema as fv, appSecretDeclarationSchema as fw, appSecretDeclarationsSchema as fx, appSecretInputSchema as fy, appSecretListSchema as fz, completionRevocationSchema as g, galleryPhotoHiddenSchema as g$, billingPlanChangeSchema as g0, billingSessionSchema as g1, billingSubscriptionPlans as g2, billingSubscriptionSchema as g3, billingTopupInputSchema as g4, billingTopupMaxQuantity as g5, buildArtifactsSchema as g6, buildIdentitySchema as g7, buildPhaseSchema as g8, buildSnapshotSchema as g9, credentialSecretInputSchema as gA, credentialSecretSchema as gB, customDomainInputSchema as gC, customDomainListSchema as gD, customDomainRecordSchema as gE, customDomainSchema as gF, customDomainStateSchema as gG, dashboardLifecycleInputSchema as gH, dashboardLifecycleResultSchema as gI, dashboardListQuerySchema as gJ, dashboardListSchema as gK, dashboardReadQuerySchema as gL, dashboardReadSchema as gM, dashboardSummarySchema as gN, decodeSolanaTransaction as gO, defineQuestAction as gP, defineStationAction as gQ, developmentPreflightSchema as gR, deviceApproveSchema as gS, deviceRedeemSchema as gT, deviceStartSchema as gU, environmentSchema as gV, evidenceRedactionSchema as gW, expectedRevision as gX, galleryExportQuerySchema as gY, galleryHiddenFilterSchema as gZ, galleryListSchema as g_, buildStatusSchema as ga, commitSchema as gb, compareAppMigrations as gc, completionReceiptInputSchema as gd, completionRestoreSchema as ge, completionRevocationShortfallSchema as gf, completionRevokeSchema as gg, connectionActivitySchema as gh, connectionAuthorizationCompleteInputSchema as gi, connectionAuthorizationSchema as gj, connectionAuthorizeInputSchema as gk, connectionConnectInputSchema as gl, connectionDisconnectInputSchema as gm, connectionDryRunPageSchema as gn, connectionDryRunQuerySchema as go, connectionDryRunRequestSchema as gp, connectionPageSchema as gq, connectionPluginSchema as gr, connectionResyncInputSchema as gs, connectionSchema as gt, connectionSecretFieldSchema as gu, connectionSyncSchema as gv, connectionUpdateInputSchema as gw, containsReferralIntegrationReward as gx, createManagementClient as gy, createRepositorySchema as gz, completionRestorationSchema as h, managedStockItemSchema as h$, galleryPhotoHideInputSchema as h0, galleryPhotoHideResultSchema as h1, galleryPhotoPageSchema as h2, galleryPhotoQuerySchema as h3, galleryPhotoSchema as h4, gallerySchema as h5, galleryWinnerMarkInputSchema as h6, galleryWinnerResultSchema as h7, galleryWinnerRewardSchema as h8, galleryWinnerSchema as h9, knownConnectionStatuses as hA, knownConnectionSyncKinds as hB, knownConnectionSyncStatuses as hC, knownPluginSlots as hD, leaderboardSettlementMeasurementRetrySchema as hE, leaderboardSettlementRejectionSchema as hF, leaderboardSettlementReviewQuerySchema as hG, leaderboardSettlementReviewSummarySchema as hH, liveAppSchema as hI, managedAccountSchema as hJ, managedAccountsSchema as hK, managedAttemptQuerySchema as hL, managedCreatorAccountSchema as hM, managedCreatorAccountsSchema as hN, managedEntitlementQuerySchema as hO, managedMemberIdentitySchema as hP, managedMemberPageSchema as hQ, managedMemberProgressSchema as hR, managedMemberQuerySchema as hS, managedOAuthAccountSchema as hT, managedOfferSchema as hU, managedQuestEnrollmentPageSchema as hV, managedQuestEnrollmentSchema as hW, managedReleasePageSchema as hX, managedReleaseQuerySchema as hY, managedResourceListSchema as hZ, managedResourceSchema as h_, galleryWinnerUnmarkInputSchema as ha, generatedStationCodeSchema as hb, grantRecordSchema as hc, grantSchema as hd, hostedAppSchema as he, hostedAppSecretsSchema as hf, hostedBuildSchema as hg, hostedDeploymentKeySchema as hh, hostedKeyPermissions as hi, hostedKeySchema as hj, hostedKeySecretSchema as hk, hostedManagementBindings as hl, hostedManagementClient as hm, identityLinkRelinkInputSchema as hn, identityLinkSelectorSchema as ho, ingestTrackerScopeSchema as hp, inventoryItemActionSchema as hq, inventoryItemRenameSchema as hr, inventorySchema as hs, inventoryStockCorrectionSchema as ht, isManagementError as hu, isWalletSignInError as hv, issuedAutomationKeySchema as hw, issuedServiceKeySchema as hx, issuedTokenSchema as hy, knownConnectionReconnectReasons as hz, completionReceiptSchema as i, projectDeletionSchema as i$, managedTelegramAccountSchema as i0, managedTieredRewardSchema as i1, managedWalletSchema as i2, managementErrorSchema as i3, managementResponseSchemas as i4, managementResponses as i5, maxCompletionReceipts as i6, maxSolanaTransactionBytes as i7, memberAccountSchema as i8, memberAccountUnlinkInputSchema as i9, memberLookupSchema as iA, memberOAuthUnlinkInputSchema as iB, memberSchema as iC, memberTelegramUnlinkInputSchema as iD, memberUnbanInputSchema as iE, memberWalletSignInInputSchema as iF, memberWalletUnlinkInputSchema as iG, metricsSchema as iH, nextScheduleRun as iI, oauthIdentitySelectorSchema as iJ, offerLifecycleInputSchema as iK, offeredStarterSchema as iL, operationInputSchema as iM, operatorUserSchema as iN, organizationBillingSchema as iO, pageSchema as iP, participantRoutePattern as iQ, participantRoutes as iR, participantSignInInputSchema as iS, participantSignInSchema as iT, permissionSchema as iU, personSchema as iV, pluginPageSchema as iW, pluginSchema as iX, projectBillingSchema as iY, projectCreateInputSchema as iZ, projectDeletionInputSchema as i_, memberAppIdentitySchema as ia, memberBanInputSchema as ib, memberBanOutcomeSchema as ic, memberBanPreviewInputSchema as id, memberBanPreviewSchema as ie, memberBanRollbackSchema as ig, memberBanSchema as ih, memberCompletionQuerySchema as ii, memberCompletionSchema as ij, memberCreatorAccountUnlinkInputSchema as ik, memberDetailSchema as il, memberErasureDeletedSchema as im, memberErasureInputSchema as io, memberErasureResultSchema as ip, memberIdentityChangeInputSchema as iq, memberIdentityLinkChangeInputSchema as ir, memberIdentityLinkPageSchema as is, memberIdentityLinkSchema as it, memberIdentityReferenceSchema as iu, memberIdentitySelectorSchema as iv, memberIdentitySignInInputSchema as iw, memberIdentityStateChangeInputSchema as ix, memberIdentityStatePageSchema as iy, memberIdentityStateSchema as iz, completionReceiptListSchema as j, stagingAccessInputSchema as j$, projectGrantSchema as j0, projectInputSchema as j1, projectMetricsSchema as j2, projectPermissionSchema as j3, projectPlanSchema as j4, projectRolePermissions as j5, projectRoleSchema as j6, projectSchema as j7, projectSetupSchema as j8, projectTransferInputSchema as j9, resourceLifecyclePaths as jA, resourceLifecycleResultSchema as jB, revokedCompletionSchema as jC, rolePermissions as jD, roleSchema as jE, scheduleResult as jF, scheduledInvocationSchema as jG, sequenceCursorSchema as jH, serviceKeyInputSchema as jI, serviceKeySchema as jJ, settlementPayoutCsv as jK, shortensEvidenceRetention as jL, solanaActionHeaders as jM, solanaActionVersion as jN, solanaPayoutConfirmationSchema as jO, solanaPayoutInputSchema as jP, solanaPayoutMintSchema as jQ, solanaPayoutQuerySchema as jR, solanaPayoutSquadsSchema as jS, sourceDataSchema as jT, squadsProposalUrl as jU, stageRequestSchema as jV, stagedDeploymentContentSchema as jW, stagedDeploymentKey as jX, stagedDeploymentLimits as jY, stagedDeploymentSchema as jZ, stagingAccessChangeSchema as j_, projectTransferSchema as ja, projectUpdateInputSchema as jb, promotionActionSchema as jc, promotionBuildSchema as jd, promotionChangeSchema as je, promotionDecisionSchema as jf, promotionHistoryPageSchema as jg, promotionHistoryQuerySchema as jh, promotionRecordSchema as ji, promotionRejectionSchema as jj, promotionResourceKindSchema as jk, promotionSourceSchema as jl, promotionWarningSchema as jm, querySchema as jn, questEnrollmentStateSchema as jo, questEnrollmentWithdrawalInputSchema as jp, questLifecycleInputSchema as jq, questLifecycleSchema as jr, questStationStateSchema as js, readinessSchema as jt, realPeopleInTestUsageSchema as ju, repositoryCreateSchema as jv, repositorySchema as jw, resourceArchiveInputSchema as jx, resourceLifecycleInputSchema as jy, resourceLifecycleKindSchema as jz, walletBalanceChainsSchema as k$, stagingAccessModeSchema as k0, stagingAccessSchema as k1, stagingLinkSchema as k2, stagingPathSchema as k3, stagingServerAccessSchema as k4, stagingServerKeyCreatedSchema as k5, stagingServerKeyInputSchema as k6, stagingServerKeyListSchema as k7, stagingServerKeySchema as k8, stagingServerPathSchema as k9, testMemberHistorySchema as kA, testMemberOperatorDecisionSchema as kB, testMemberPassSchema as kC, testMemberPurgeResultSchema as kD, testMemberPurgeSchema as kE, testMemberRecordResultSchema as kF, testMemberRecordSchema as kG, testMemberRedeemSchema as kH, testMemberReferralAcceptSchema as kI, testMemberResetResultSchema as kJ, testMemberResetSchema as kK, testMemberSchema as kL, testMemberWalletLinkSchema as kM, testMemberWalletSchema as kN, testMemberWalletUnlinkSchema as kO, testMemberXPostSchema as kP, tieredRewardLifecycleInputSchema as kQ, tokenInputSchema as kR, tokenSchema as kS, tokenScopeInputSchema as kT, trackerDataIssue as kU, trackerDataIssues as kV, validateQuestShape as kW, verifiedPassSchema as kX, verifyScheduledRequest as kY, verifyWalletSignIn as kZ, verifyWebhook as k_, starterIdSchema as ka, starterTemplates as kb, starters as kc, stationCodeGenerateInputSchema as kd, stationCodeInputSchema as ke, stationCodeSchema as kf, stationCodeStateSchema as kg, stationOperationTarget as kh, stationRevocationInputSchema as ki, stationRevocationSchema as kj, stationScanPageSchema as kk, stockInputSchema as kl, teamSchema as km, telegramBotIdSchema as kn, telegramIdentitySelectorSchema as ko, testMemberAcceptAnywaySchema as kp, testMemberAccountLinkSchema as kq, testMemberAccountSchema as kr, testMemberAccountUnlinkSchema as ks, testMemberActionSchema as kt, testMemberAdvanceSchema as ku, testMemberClockAdvanceSchema as kv, testMemberCreateSchema as kw, testMemberDiscordMessageSchema as kx, testMemberDiscordReactionSchema as ky, testMemberHistoryQuerySchema as kz, walletIdentitySelectorSchema as l0, walletLinkedEventDataSchema as l1, webhookControlInputSchema as l2, webhookCreateInputSchema as l3, webhookDeleteInputSchema as l4, webhookDeliveryPageSchema as l5, webhookDeliverySchema as l6, webhookEndpointSchema as l7, webhookEndpointStateSchema as l8, webhookEventSchema as l9, webhookInputSchema as la, webhookQuerySchema as lb, webhookRotateInputSchema as lc, webhookSecretSchema as ld, webhookStatePageSchema as le, webhookStateQuerySchema as lf, webhookUpdateSchema as lg, whereSchemaIssue as lh, managedAttemptPageSchema as m, managedEntitlementPageSchema as q, managedEntitlementSchema as r, inventoryItemPageSchema as s, inventoryItemStateSchema as t, stockAdditionSchema as u, leaderboardSettlementReviewPageSchema as v, leaderboardSettlementReviewSchema as w, leaderboardSettlementExportSchema as x, solanaPayoutPageSchema as y, solanaPayoutSchema as z };
160530
- export type { ParticipantRoute as $, BillingPlan as B, CompletionReceipt as C, MemberBanRunStatus as F, IdentitySource as I, ProjectPermission as L, ManagementClient as M, StationStatus as N, EndpointMethod as O, PluginSlot as P, EndpointPermission as Q, StationProof as S, EndpointResult as U, WebhookEvent as W, ManagementTransportOptions as Y, OrganizationRule as Z, ParameterPattern as _, ManagementEndpoint as a, AuditPage as a$, PathParameters as a0, AccessHistoryQuery as aA, ActiveMemberUsage as aB, AppSchedule as aC, AppScheduleDiagnostic as aD, AppScheduleList as aE, AppScheduleResult as aF, AppScheduleRun as aG, AppScheduleRuns as aH, AppScheduleStateInput as aI, AppSchedules as aJ, AppSecret as aK, AppSecretDeclaration as aL, AppSecretInput as aM, AppSecretList as aN, AppStorage as aO, AppStorageCell as aP, AppStorageCellPage as aQ, AppStorageKeys as aR, AppStorageKind as aS, AppStorageKvClear as aT, AppStorageKvClearResult as aU, AppStorageList as aV, AppStorageRows as aW, AppStorageSqlClear as aX, AppStorageSqlClearResult as aY, AppStorageTables as aZ, AppStorageValue as a_, Access as az, GalleryWinnerReward as b$, AuditQuery as b0, AuditRecord as b1, AutomationKey as b2, AutomationKeyPermission as b3, BalanceCheck as b4, BillingCheckoutInput as b5, BillingPlanChange as b6, BillingPlanChangeInput as b7, BillingSession as b8, BillingSubscription as b9, CustomDomain as bA, CustomDomainRecord as bB, CustomDomainState as bC, DashboardLifecycleResult as bE, DashboardListQuery as bF, DashboardRead as bG, DashboardReadQuery as bH, DashboardSummary as bI, DecodedSolanaInstruction as bJ, EvidenceRedaction as bK, EvidenceRedactionResult as bL, EvidenceRetentionResult as bM, EvidenceRetentionSetting as bN, ExpectedRevision as bO, Gallery as bP, GalleryExportPart as bQ, GalleryExportQuery as bR, GalleryHiddenFilter as bS, GalleryList as bT, GalleryPhoto as bU, GalleryPhotoHidden as bV, GalleryPhotoHideResult as bW, GalleryPhotoPage as bX, GalleryPhotoQuery as bY, GalleryWinner as bZ, GalleryWinnerResult as b_, BillingTopupInput as ba, BuildArtifacts as bb, BuildIdentity as bc, BuildSnapshot as bd, BuildStatus as be, CompletionReceiptInput as bf, CompletionRestoration as bg, CompletionRestoreInput as bh, CompletionRevocation as bi, CompletionRevocationShortfall as bj, CompletionRevokeInput as bk, Connection as bl, ConnectionActivity as bm, ConnectionAuthorization as bn, ConnectionAuthorizationCompleteInput as bo, ConnectionAuthorizeInput as bp, ConnectionConnectInput as bq, ConnectionDisconnectInput as br, ConnectionDryRunPage as bs, ConnectionDryRunQuery as bt, ConnectionDryRunRequest as bu, ConnectionPage as bv, ConnectionResyncInput as bw, ConnectionSync as bx, ConnectionUpdateInput as by, CredentialSecret as bz, ManagementClientOptions as c$, GeneratedStationCode as c0, HostedAppSecrets as c1, HostedBuild as c2, HostedDeploymentKey as c3, HostedKey as c4, HostedKeyPermission as c5, HostedManagementEnv as c6, IdentityLinkRelinkInput as c7, InventoryItemAction as c8, InventoryItemRename as c9, LiveApp as cA, ManagedAccount as cB, ManagedAccounts as cC, ManagedAttempt as cD, ManagedAttemptPage as cE, ManagedAttemptQuery as cF, ManagedCreatorAccount as cG, ManagedCreatorAccounts as cH, ManagedEntitlement as cI, ManagedEntitlementPage as cJ, ManagedEntitlementQuery as cK, ManagedMemberIdentity as cL, ManagedMemberPage as cM, ManagedMemberProgress as cN, ManagedMemberQuery as cO, ManagedOAuthAccount as cP, ManagedOffer as cQ, ManagedQuestEnrollment as cR, ManagedReleasePage as cS, ManagedReleaseQuery as cT, ManagedResource as cU, ManagedResourceList as cV, ManagedStockItem as cW, ManagedTelegramAccount as cX, ManagedTieredReward as cY, ManagedWallet as cZ, ManagementCallOptions as c_, InventoryItemState as ca, InventoryStockCorrection as cb, KnownBillingPlan as cc, KnownConnectionReconnectReason as cd, KnownConnectionStatus as ce, KnownConnectionSyncKind as cf, KnownConnectionSyncStatus as cg, KnownIdentitySource as ch, KnownManagedAccountStatus as ci, KnownMemberBanRunStatus as cj, KnownPayoutSourceKind as ck, KnownPluginSlot as cl, KnownProjectPermission as cm, KnownProjectRole as cn, KnownSolanaPayoutBatchStatus as co, KnownSolanaPayoutSkipReason as cp, KnownSolanaPayoutSource as cq, KnownStationProof as cr, KnownStationStatus as cs, KnownTestMemberDecisionKind as ct, KnownWalletSignInErrorCode as cu, LeaderboardSettlementExport as cv, LeaderboardSettlementMeasurementRetry as cw, LeaderboardSettlementRejection as cx, LeaderboardSettlementReview as cy, ListQuery as cz, QuestLifecycleInput as d$, ManagementErrorInit as d2, ManagementErrorKind as d3, ManagementPage as d4, ManagementRawInit as d5, MemberAccountUnlinkInput as d6, MemberAppIdentity as d7, MemberBan as d8, MemberBanInput as d9, ParticipantSignInInput as dA, ParticipantSignInTelegram as dB, Permission as dD, Person as dE, PluginInfo as dF, PluginPage as dG, Project as dH, ProjectBilling as dI, ProjectMetrics as dJ, ProjectPlan as dK, PromotionBuild as dL, PromotionChange as dM, PromotionHistoryPage as dN, PromotionHistoryQuery as dO, PromotionRecord as dP, PromotionResourceKind as dQ, PromotionSource as dR, PromotionWarning as dS, QuestActionBuildInput as dT, QuestActionMetadata as dU, QuestActionOptions as dV, QuestActionTransaction as dX, QuestEnrollmentState as dY, QuestEnrollmentWithdrawalInput as dZ, QuestLifecycle as d_, MemberBanOutcome as da, MemberBanPreview as db, MemberBanPreviewInput as dc, MemberBanRollbackInput as dd, MemberCompletion as de, MemberCompletionPage as df, MemberCompletionQuery as dg, MemberCreatorAccountUnlinkInput as dh, MemberDetail as di, MemberErasureDeleted as dj, MemberErasureInput as dk, MemberErasureResult as dl, MemberIdentityLink as dm, MemberIdentityLinkChangeInput as dn, MemberIdentityReference as dp, MemberIdentitySelector as dq, MemberIdentitySignInInput as dr, MemberIdentityState as ds, MemberIdentityStateChangeInput as dt, MemberIdentityStatePage as du, MemberUnbanInput as dv, OfferLifecycleResult as dw, OperatorUser as dx, OrganizationBilling as dy, ParticipantSignIn as dz, TestMemberResetResult as e$, QuestStationState as e0, RealPeopleInTestUsage as e2, ResourceArchiveInput as e3, ResourceLifecycleInput as e4, RevokedCompletion as e8, ScheduledInvocation as e9, StarterTemplate as eA, StationActionInput as eB, StationActionOptions as eC, StationCodeState as eD, StationRevocation as eE, TestMember as eF, TestMemberAcceptAnywayInput as eG, TestMemberAccount as eH, TestMemberAccountLinkInput as eI, TestMemberAccountUnlinkInput as eJ, TestMemberActionInput as eK, TestMemberAdvanceInput as eL, TestMemberClockAdvanceInput as eM, TestMemberCreateInput as eN, TestMemberDiscordMessageInput as eO, TestMemberDiscordReactionInput as eP, TestMemberHistory as eQ, TestMemberHistoryQuery as eR, TestMemberOperatorDecision as eS, TestMemberPassInput as eT, TestMemberPurgeInput as eU, TestMemberPurgeResult as eV, TestMemberRecordInput as eW, TestMemberRecordResult as eX, TestMemberRedeemInput as eY, TestMemberReferralAcceptInput as eZ, TestMemberResetInput as e_, ServiceKey as ea, SolanaAction as eb, SolanaActionParameter as ec, SolanaKitInstruction as ed, SolanaKitTransaction as ee, SolanaKitTransactionMessage as ef, SolanaLinkedAction as eg, SolanaPayout as eh, SolanaPayoutBatchStatus as ei, SolanaPayoutConfirmation as ej, SolanaPayoutConfirmationResult as ek, SolanaPayoutInput as el, SolanaPayoutSkipReason as em, SolanaPayoutSource as en, StagedDeployment as eo, StagedDeploymentContent as ep, StagingAccess as eq, StagingAccessChange as er, StagingAccessInput as es, StagingLink as et, StagingServerKey as eu, StagingServerKeyCreated as ev, StagingServerKeyInput as ew, StagingServerKeyList as ex, Starter as ey, StarterId as ez, TestMemberWallet as f0, TestMemberWalletLinkInput as f1, TestMemberWalletUnlinkInput as f2, TestMemberXPostInput as f3, TieredRewardLifecycleResult as f4, WalletBalanceChains as f6, WalletLinkedEventData as f7, WalletSignIn as f8, WebhookDeleteInput as fa, WebhookEndpointState as fb, ConnectionStatus as k, ConnectionReconnectReason as l, ConnectionSyncKind as n, ConnectionSyncStatus as o, ProjectRole as p };
159869
+ export { solanaPayoutConfirmationResultSchema as A, RevokedDeliveryOutcome as D, RevokedReferralOutcome as E, ManagedAccountStatus as G, offerLifecycleResultSchema as H, tieredRewardLifecycleResultSchema as J, operationSchema as K, managedReferralHistorySchema as N, RevokedEntitlementOutcome as R, TestMemberDecisionKind as T, HOSTING_NAME_PATTERN as V, ID_PATTERN as X, QuestShapeError as a1, REFERRAL_INTEGRATION_REWARD_ERROR$1 as a2, SEGMENT_PATTERN as a3, UUID_PATTERN as a4, containsReferralIntegrationReward$1 as a5, endpointRoute as a6, isIntegrationParticipantPath as a7, isParticipantRoute as a8, managementEndpoint as a9, managementTransport as aa, nextScheduleRun$1 as ab, ok as ac, parseImageExtraction as ad, parseImageResult as ae, participantRoutePattern$1 as af, participantRoutes$1 as ag, questConfiguration as ah, sequenceCursorSchema$1 as ai, sourceDataSchema$1 as aj, sourceRoles as ak, validateQuestShape$1 as al, APP_SCHEDULE_LIMIT as am, APP_SCHEDULE_MIN_INTERVAL as an, APP_SCHEDULE_RESULT_BYTES as ao, APP_SCHEDULE_TIMEOUT as ap, managedAttemptSchema as b, DEFAULT_MANAGEMENT_TIMEOUT as b8, EntitlementSourceKind as bh, evidenceRetentionResultSchema as c, ManagementError as cC, ManagementErrorCode as cD, evidenceRetentionSettingSchema as d, REFERRAL_INTEGRATION_REWARD_ERROR as dC, RestoredDeliveryOutcome as dH, RestoredEntitlementOutcome as dI, RestoredReferralOutcome as dJ, PayoutSourceKind as db, QuestActionRefusal as dv, evidenceRedactionResultSchema as e, auditListQuerySchema as e$, WEBHOOK_MAX_BYTES as eB, WalletSignInError as eF, accessHistoryQuerySchema as eI, accessSchema as eJ, accountProfileSchema as eK, actionsJson as eL, activeMemberMonthSchema as eM, activeMemberUsageSchema as eN, appIdentitySelectorSchema as eO, appScheduleDiagnosticSchema as eP, appScheduleListSchema as eQ, appScheduleNameSchema as eR, appSchedulePathSchema as eS, appScheduleResultSchema as eT, appScheduleRunSchema as eU, appScheduleRunsQuerySchema as eV, appScheduleRunsSchema as eW, appScheduleSchema as eX, appScheduleStateInputSchema as eY, appScheduleStateSchema as eZ, appSchedulesSchema as e_, memberCompletionPageSchema as f, galleryPhotoSchema as f$, auditPageSchema as f0, auditQuerySchema as f1, auditRecordSchema as f2, automationKeyInputSchema as f3, automationKeyPermissionSchema as f4, automationKeySchema as f5, balanceCheckSchema as f6, billingCheckoutInputSchema as f7, billingIntervals as f8, billingPlanChangeInputSchema as f9, containsReferralIntegrationReward as fA, createManagementClient as fB, credentialSecretInputSchema as fC, credentialSecretSchema as fD, dashboardLifecycleInputSchema as fE, dashboardLifecycleResultSchema as fF, dashboardListQuerySchema as fG, dashboardListSchema as fH, dashboardReadQuerySchema as fI, dashboardReadSchema as fJ, dashboardSummarySchema as fK, decodeSolanaTransaction as fL, defineQuestAction as fM, defineStationAction as fN, developmentPreflightSchema as fO, entitlementProvenanceSchema as fP, entitlementSourceSchema as fQ, evidenceRedactionSchema as fR, expectedRevision as fS, galleryExportQuerySchema as fT, galleryHiddenFilterSchema as fU, galleryListSchema as fV, galleryPhotoHiddenSchema as fW, galleryPhotoHideInputSchema as fX, galleryPhotoHideResultSchema as fY, galleryPhotoPageSchema as fZ, galleryPhotoQuerySchema as f_, billingPlanChangeSchema as fa, billingSessionSchema as fb, billingSubscriptionPlans as fc, billingSubscriptionSchema as fd, billingTopupInputSchema as fe, billingTopupMaxQuantity as ff, completionReceiptInputSchema as fg, completionRestoreSchema as fh, completionRevocationShortfallSchema as fi, completionRevokeSchema as fj, connectionActivitySchema as fk, connectionAuthorizationCompleteInputSchema as fl, connectionAuthorizationSchema as fm, connectionAuthorizeInputSchema as fn, connectionConnectInputSchema as fo, connectionDisconnectInputSchema as fp, connectionDryRunPageSchema as fq, connectionDryRunQuerySchema as fr, connectionDryRunRequestSchema as fs, connectionPageSchema as ft, connectionPluginSchema as fu, connectionResyncInputSchema as fv, connectionSchema as fw, connectionSecretFieldSchema as fx, connectionSyncSchema as fy, connectionUpdateInputSchema as fz, completionRevocationSchema as g, memberAccountSchema as g$, gallerySchema as g0, galleryWinnerMarkInputSchema as g1, galleryWinnerResultSchema as g2, galleryWinnerRewardSchema as g3, galleryWinnerSchema as g4, galleryWinnerUnmarkInputSchema as g5, generatedStationCodeSchema as g6, grantRecordSchema as g7, grantSchema as g8, hostedDeploymentKeySchema as g9, managedAccountSchema as gA, managedAccountsSchema as gB, managedAttemptQuerySchema as gC, managedCreatorAccountSchema as gD, managedCreatorAccountsSchema as gE, managedEntitlementQuerySchema as gF, managedMemberIdentitySchema as gG, managedMemberPageSchema as gH, managedMemberProgressSchema as gI, managedMemberQuerySchema as gJ, managedOAuthAccountSchema as gK, managedOfferSchema as gL, managedQuestEnrollmentPageSchema as gM, managedQuestEnrollmentSchema as gN, managedReleasePageSchema as gO, managedReleaseQuerySchema as gP, managedResourceListSchema as gQ, managedResourceSchema as gR, managedStockItemSchema as gS, managedTelegramAccountSchema as gT, managedTieredRewardSchema as gU, managedWalletSchema as gV, managementErrorSchema as gW, managementResponseSchemas as gX, managementResponses as gY, maxCompletionReceipts as gZ, maxSolanaTransactionBytes as g_, hostedKeyPermissions as ga, hostedKeySchema as gb, hostedKeySecretSchema as gc, hostedManagementBindings as gd, hostedManagementClient as ge, identityLinkRelinkInputSchema as gf, identityLinkSelectorSchema as gg, ingestTrackerScopeSchema as gh, inventoryItemActionSchema as gi, inventoryItemRenameSchema as gj, inventorySchema as gk, inventoryStockCorrectionSchema as gl, isManagementError as gm, isWalletSignInError as gn, issuedAutomationKeySchema as go, issuedServiceKeySchema as gp, issuedTokenSchema as gq, knownConnectionReconnectReasons as gr, knownConnectionStatuses as gs, knownConnectionSyncKinds as gt, knownConnectionSyncStatuses as gu, knownPluginSlots as gv, leaderboardSettlementMeasurementRetrySchema as gw, leaderboardSettlementRejectionSchema as gx, leaderboardSettlementReviewQuerySchema as gy, leaderboardSettlementReviewSummarySchema as gz, completionRestorationSchema as h, promotionChangeSchema as h$, memberAccountUnlinkInputSchema as h0, memberAppIdentitySchema as h1, memberBanInputSchema as h2, memberBanOutcomeSchema as h3, memberBanPreviewInputSchema as h4, memberBanPreviewSchema as h5, memberBanRollbackSchema as h6, memberBanSchema as h7, memberCompletionQuerySchema as h8, memberCompletionSchema as h9, offeredStarterSchema as hA, operationInputSchema as hB, operatorUserSchema as hC, organizationBillingSchema as hD, pageSchema as hE, participantRoutePattern as hF, participantRoutes as hG, participantSignInInputSchema as hH, participantSignInSchema as hI, personSchema as hJ, pluginPageSchema as hK, pluginSchema as hL, projectBillingSchema as hM, projectCreateInputSchema as hN, projectDeletionInputSchema as hO, projectDeletionSchema as hP, projectGrantSchema as hQ, projectInputSchema as hR, projectMetricsSchema as hS, projectPlanSchema as hT, projectSchema as hU, projectSetupSchema as hV, projectTransferInputSchema as hW, projectTransferSchema as hX, projectUpdateInputSchema as hY, promotionActionSchema as hZ, promotionBuildSchema as h_, memberCreatorAccountUnlinkInputSchema as ha, memberDetailSchema as hb, memberErasureDeletedSchema as hc, memberErasureInputSchema as hd, memberErasureResultSchema as he, memberIdentityChangeInputSchema as hf, memberIdentityLinkChangeInputSchema as hg, memberIdentityLinkPageSchema as hh, memberIdentityLinkSchema as hi, memberIdentityReferenceSchema as hj, memberIdentitySelectorSchema as hk, memberIdentitySignInInputSchema as hl, memberIdentityStateChangeInputSchema as hm, memberIdentityStatePageSchema as hn, memberIdentityStateSchema as ho, memberLookupSchema as hp, memberOAuthUnlinkInputSchema as hq, memberSchema as hr, memberTelegramUnlinkInputSchema as hs, memberUnbanInputSchema as ht, memberWalletSignInInputSchema as hu, memberWalletUnlinkInputSchema as hv, metricsSchema as hw, nextScheduleRun as hx, oauthIdentitySelectorSchema as hy, offerLifecycleInputSchema as hz, completionReceiptSchema as i, testMemberClockAdvanceSchema as i$, promotionDecisionSchema as i0, promotionHistoryPageSchema as i1, promotionHistoryQuerySchema as i2, promotionRecordSchema as i3, promotionRejectionSchema as i4, promotionResourceKindSchema as i5, promotionSourceSchema as i6, promotionWarningSchema as i7, querySchema as i8, questEnrollmentStateSchema as i9, solanaPayoutInputSchema as iA, solanaPayoutMintSchema as iB, solanaPayoutQuerySchema as iC, solanaPayoutSquadsSchema as iD, sourceDataSchema as iE, squadsProposalUrl as iF, starterIdSchema as iG, starterTemplates as iH, starters as iI, stationCodeGenerateInputSchema as iJ, stationCodeInputSchema as iK, stationCodeSchema as iL, stationCodeStateSchema as iM, stationOperationTarget as iN, stationRevocationInputSchema as iO, stationRevocationSchema as iP, stationScanPageSchema as iQ, stockInputSchema as iR, teamSchema as iS, telegramBotIdSchema as iT, telegramIdentitySelectorSchema as iU, testMemberAcceptAnywaySchema as iV, testMemberAccountLinkSchema as iW, testMemberAccountSchema as iX, testMemberAccountUnlinkSchema as iY, testMemberActionSchema as iZ, testMemberAdvanceSchema as i_, questEnrollmentWithdrawalInputSchema as ia, questLifecycleInputSchema as ib, questLifecycleSchema as ic, questStationStateSchema as id, readinessSchema as ie, realPeopleInTestUsageSchema as ig, resourceArchiveInputSchema as ih, resourceLifecycleInputSchema as ii, resourceLifecycleKindSchema as ij, resourceLifecyclePaths as ik, resourceLifecycleResultSchema as il, revokedCompletionSchema as im, runtimeLogEventSchema as io, runtimeLogPageSchema as ip, scheduleResult as iq, scheduledInvocationSchema as ir, sequenceCursorSchema as is, serviceKeyInputSchema as it, serviceKeySchema as iu, settlementPayoutCsv as iv, shortensEvidenceRetention as iw, solanaActionHeaders as ix, solanaActionVersion as iy, solanaPayoutConfirmationSchema as iz, completionReceiptListSchema as j, testMemberCreateSchema as j0, testMemberDiscordMessageSchema as j1, testMemberDiscordReactionSchema as j2, testMemberHistoryQuerySchema as j3, testMemberHistorySchema as j4, testMemberOperatorDecisionSchema as j5, testMemberPassSchema as j6, testMemberPurgeResultSchema as j7, testMemberPurgeSchema as j8, testMemberRecordResultSchema as j9, webhookDeleteInputSchema as jA, webhookDeliveryPageSchema as jB, webhookDeliverySchema as jC, webhookEndpointSchema as jD, webhookEndpointStateSchema as jE, webhookEventSchema as jF, webhookInputSchema as jG, webhookQuerySchema as jH, webhookRotateInputSchema as jI, webhookSecretSchema as jJ, webhookStatePageSchema as jK, webhookStateQuerySchema as jL, webhookUpdateSchema as jM, whereSchemaIssue as jN, testMemberRecordSchema as ja, testMemberRedeemSchema as jb, testMemberReferralAcceptSchema as jc, testMemberResetResultSchema as jd, testMemberResetSchema as je, testMemberSchema as jf, testMemberWalletLinkSchema as jg, testMemberWalletSchema as jh, testMemberWalletUnlinkSchema as ji, testMemberXPostSchema as jj, tieredRewardLifecycleInputSchema as jk, tokenInputSchema as jl, tokenSchema as jm, tokenScopeInputSchema as jn, trackerDataIssue as jo, trackerDataIssues as jp, validateQuestShape as jq, verifiedPassSchema as jr, verifyScheduledRequest as js, verifyWalletSignIn as jt, verifyWebhook as ju, walletBalanceChainsSchema as jv, walletIdentitySelectorSchema as jw, walletLinkedEventDataSchema as jx, webhookControlInputSchema as jy, webhookCreateInputSchema as jz, managedAttemptPageSchema as m, managedEntitlementPageSchema as p, managedEntitlementSchema as q, inventoryItemPageSchema as r, inventoryItemStateSchema as s, stockAdditionSchema as t, leaderboardMemberStandingSchema as u, leaderboardSettlementReviewPageSchema as v, leaderboardSettlementReviewSchema as w, leaderboardSettlementExportSchema as x, solanaPayoutPageSchema as y, solanaPayoutSchema as z };
159870
+ export type { ParticipantRoute as $, BillingPlan as B, CompletionReceipt as C, MemberBanRunStatus as F, IdentitySource as I, StationStatus as L, ManagementClient as M, EndpointMethod as O, PluginSlot as P, EndpointPermission as Q, StationProof as S, EndpointResult as U, WebhookEvent as W, ManagementTransportOptions as Y, OrganizationRule as Z, ParameterPattern as _, ManagementEndpoint as a, ConnectionDisconnectInput as a$, PathParameters as a0, AppScheduleRunsQuery as aA, AppScheduleStateInput as aB, AppSchedules as aC, AuditPage as aD, AuditQuery as aE, AuditRecord as aF, AutomationKey as aG, AutomationKeyPermission as aH, BalanceCheck as aI, BillingCheckoutInput as aJ, BillingPlanChange as aK, BillingPlanChangeInput as aL, BillingSession as aM, BillingSubscription as aN, BillingTopupInput as aO, CompletionReceiptInput as aP, CompletionRestoration as aQ, CompletionRestoreInput as aR, CompletionRevocation as aS, CompletionRevocationShortfall as aT, CompletionRevokeInput as aU, Connection as aV, ConnectionActivity as aW, ConnectionAuthorization as aX, ConnectionAuthorizationCompleteInput as aY, ConnectionAuthorizeInput as aZ, ConnectionConnectInput as a_, Access as aq, AccessHistoryQuery as ar, ActiveMemberUsage as as, AppSchedule as at, AppScheduleDiagnostic as au, AppScheduleList as av, AppScheduleResult as aw, AppScheduleRun as ax, AppScheduleRunStatus as ay, AppScheduleRuns as az, KnownStationStatus as b$, ConnectionDryRunPage as b0, ConnectionDryRunQuery as b1, ConnectionDryRunRequest as b2, ConnectionPage as b3, ConnectionResyncInput as b4, ConnectionSync as b5, ConnectionUpdateInput as b6, CredentialSecret as b7, DashboardLifecycleResult as b9, GeneratedStationCode as bA, HostedDeploymentKey as bB, HostedKey as bC, HostedKeyPermission as bD, HostedManagementEnv as bE, IdentityLinkRelinkInput as bF, InventoryItemAction as bG, InventoryItemRename as bH, InventoryItemState as bI, InventoryStockCorrection as bJ, KnownBillingPlan as bK, KnownConnectionReconnectReason as bL, KnownConnectionStatus as bM, KnownConnectionSyncKind as bN, KnownConnectionSyncStatus as bO, KnownEntitlementSourceKind as bP, KnownIdentitySource as bQ, KnownManagedAccountStatus as bR, KnownMemberBanRunStatus as bS, KnownPayoutSourceKind as bT, KnownPluginSlot as bU, KnownRuntimeLogOutcome as bV, KnownRuntimeLogTrigger as bW, KnownSolanaPayoutBatchStatus as bX, KnownSolanaPayoutSkipReason as bY, KnownSolanaPayoutSource as bZ, KnownStationProof as b_, DashboardListQuery as ba, DashboardRead as bb, DashboardReadQuery as bc, DashboardSummary as bd, DecodedSolanaInstruction as be, EntitlementProvenance as bf, EntitlementSource as bg, EvidenceRedaction as bi, EvidenceRedactionResult as bj, EvidenceRetentionResult as bk, EvidenceRetentionSetting as bl, ExpectedRevision as bm, Gallery as bn, GalleryExportPart as bo, GalleryExportQuery as bp, GalleryHiddenFilter as bq, GalleryList as br, GalleryPhoto as bs, GalleryPhotoHidden as bt, GalleryPhotoHideResult as bu, GalleryPhotoPage as bv, GalleryPhotoQuery as bw, GalleryWinner as bx, GalleryWinnerResult as by, GalleryWinnerReward as bz, MemberIdentitySelector as c$, KnownTestMemberDecisionKind as c0, KnownWalletSignInErrorCode as c1, LeaderboardMemberStanding as c2, LeaderboardSettlementExport as c3, LeaderboardSettlementMeasurementRetry as c4, LeaderboardSettlementRejection as c5, LeaderboardSettlementReview as c6, LeaderboardStandingStatus as c7, ListQuery as c8, ManagedAccount as c9, ManagementCallOptions as cA, ManagementClientOptions as cB, ManagementErrorInit as cE, ManagementErrorKind as cF, ManagementPage as cG, ManagementRawInit as cH, MemberAccountUnlinkInput as cI, MemberAppIdentity as cJ, MemberBan as cK, MemberBanInput as cL, MemberBanOutcome as cM, MemberBanPreview as cN, MemberBanPreviewInput as cO, MemberBanRollbackInput as cP, MemberCompletion as cQ, MemberCompletionPage as cR, MemberCompletionQuery as cS, MemberCreatorAccountUnlinkInput as cT, MemberDetail as cU, MemberErasureDeleted as cV, MemberErasureInput as cW, MemberErasureResult as cX, MemberIdentityLink as cY, MemberIdentityLinkChangeInput as cZ, MemberIdentityReference as c_, ManagedAccounts as ca, ManagedAttempt as cb, ManagedAttemptPage as cc, ManagedAttemptQuery as cd, ManagedCreatorAccount as ce, ManagedCreatorAccounts as cf, ManagedEntitlement as cg, ManagedEntitlementItem as ch, ManagedEntitlementPage as ci, ManagedEntitlementQuery as cj, ManagedMemberIdentity as ck, ManagedMemberPage as cl, ManagedMemberProgress as cm, ManagedMemberQuery as cn, ManagedOAuthAccount as co, ManagedOffer as cp, ManagedQuestEnrollment as cq, ManagedReferralHistory as cr, ManagedReleasePage as cs, ManagedReleaseQuery as ct, ManagedResource as cu, ManagedResourceList as cv, ManagedStockItem as cw, ManagedTelegramAccount as cx, ManagedTieredReward as cy, ManagedWallet as cz, SolanaPayoutInput as d$, MemberIdentitySignInInput as d0, MemberIdentityState as d1, MemberIdentityStateChangeInput as d2, MemberIdentityStatePage as d3, MemberUnbanInput as d4, OfferLifecycleResult as d5, OperatorUser as d6, OrganizationBilling as d7, ParticipantSignIn as d8, ParticipantSignInInput as d9, QuestLifecycleInput as dA, QuestStationState as dB, RealPeopleInTestUsage as dD, ReferralAccountKind as dE, ResourceArchiveInput as dF, ResourceLifecycleInput as dG, RevokedCompletion as dK, RuntimeLogEvent as dL, RuntimeLogOutcome as dM, RuntimeLogPage as dN, RuntimeLogTrigger as dO, ScheduledInvocation as dP, ServiceKey as dQ, SolanaAction as dR, SolanaActionParameter as dS, SolanaKitInstruction as dT, SolanaKitTransaction as dU, SolanaKitTransactionMessage as dV, SolanaLinkedAction as dW, SolanaPayout as dX, SolanaPayoutBatchStatus as dY, SolanaPayoutConfirmation as dZ, SolanaPayoutConfirmationResult as d_, ParticipantSignInTelegram as da, Person as dc, PluginInfo as dd, PluginPage as de, Project as df, ProjectBilling as dg, ProjectMetrics as dh, ProjectPlan as di, PromotionBuild as dj, PromotionChange as dk, PromotionHistoryPage as dl, PromotionHistoryQuery as dm, PromotionRecord as dn, PromotionResourceKind as dp, PromotionSource as dq, PromotionWarning as dr, QuestActionBuildInput as ds, QuestActionMetadata as dt, QuestActionOptions as du, QuestActionTransaction as dw, QuestEnrollmentState as dx, QuestEnrollmentWithdrawalInput as dy, QuestLifecycle as dz, SolanaPayoutSkipReason as e0, SolanaPayoutSource as e1, Starter as e2, StarterId as e3, StarterTemplate as e4, StationActionInput as e5, StationActionOptions as e6, StationCodeState as e7, StationRevocation as e8, TestMember as e9, TieredRewardLifecycleResult as eA, WalletBalanceChains as eC, WalletLinkedEventData as eD, WalletSignIn as eE, WebhookDeleteInput as eG, WebhookEndpointState as eH, TestMemberAcceptAnywayInput as ea, TestMemberAccount as eb, TestMemberAccountLinkInput as ec, TestMemberAccountUnlinkInput as ed, TestMemberActionInput as ee, TestMemberAdvanceInput as ef, TestMemberClockAdvanceInput as eg, TestMemberCreateInput as eh, TestMemberDiscordMessageInput as ei, TestMemberDiscordReactionInput as ej, TestMemberHistory as ek, TestMemberHistoryQuery as el, TestMemberOperatorDecision as em, TestMemberPassInput as en, TestMemberPurgeInput as eo, TestMemberPurgeResult as ep, TestMemberRecordInput as eq, TestMemberRecordResult as er, TestMemberRedeemInput as es, TestMemberReferralAcceptInput as et, TestMemberResetInput as eu, TestMemberResetResult as ev, TestMemberWallet as ew, TestMemberWalletLinkInput as ex, TestMemberWalletUnlinkInput as ey, TestMemberXPostInput as ez, ConnectionStatus as k, ConnectionReconnectReason as l, ConnectionSyncKind as n, ConnectionSyncStatus as o };