@domino-sdk/relay 1.32.0 → 1.34.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.
@@ -1,9 +1,9 @@
1
1
  import * as z from 'zod';
2
2
  import { at as PublishedRelease, O as OpenIdentityKind, a as AttemptStatus, u as TrackerSource, D as TrackerDataSchema, aX as TrackerSourceResponse, av as QuestDescription, ai as CompletionSourceKind, aU as TrackerQuery, cB as trackerContentReadSchema, cE as trackerControlSchema, cL as trackerIngestSchema, aR as TrackerOutcomeQuery, a_ as TrackerTriggerOutcomeQuery, cO as trackerOutcomeRetrySchema, aT as TrackerPreviewInput, bj as contentPerformanceQuerySchema, co as submitSchema, ci as staffDecisionSchema, bb as beginHandoverSchema, bg as confirmHandoverSchema, bq as entitlementCorrectionSchema, bl as createStockItemSchema, bf as configurePickupSchema, aC as QuestSubmissionStatus, b$ as questSettingsInputSchema } from './schema-DquhoBae.js';
3
3
  import { k as ResponseSchema, a as PageQuery, H as contentQualificationQuerySchema, u as allocateQuestSchema, x as catalogDeploymentSchema, ah as saveQuestDraftSchema, T as publishQuestDraftSchema, M as ManagementStateQuery, t as RewardDeliveryQuery, l as RewardDeliveryAction, N as memberEnrollmentInputSchema, R as ResponseResult } from './pages-C1tNuRoB.js';
4
- import { p as createBadgeSchema, m as badgeMutationSchema, n as badgePropertiesSchema, j as RedemptionQuery, w as offerControlSchema, D as redemptionCancellationSchema } from './offers-D14uyLQQ.js';
4
+ import { p as createBadgeSchema, m as badgeMutationSchema, n as badgePropertiesSchema, j as RedemptionQuery, w as offerControlSchema, D as redemptionCancellationSchema } from './offers-BbQ9O-5J.js';
5
5
  import { a as RequestError, c as RequestErrorKind, O as OptionalActionId } from './action-DBzILFx9.js';
6
- import { a2 as engagementChangePreviewInputSchema, a4 as engagementChangeSchema, ag as engagementVersionQuerySchema, a7 as engagementPageQuerySchema, a9 as engagementPublishSchema, _ as createPointLedgerSchema, aR as pointLedgerPropertiesSchema, aT as pointLedgerSchema, aI as managedPointLedgerSchema, aW as pointsMutationSchema, N as ManagedPointHistoryPage, b6 as referralManagementSchema, bb as referralSuspensionSchema, b7 as referralQualificationSchema, b9 as referralRewardResolutionSchema, b3 as referralControlSchema, ax as leaderboardQuerySchema, aq as leaderboardExclusionSchema, ao as leaderboardExclusionGroupBindingSchema, p as ProjectGroupReference, ar as leaderboardGroupSchema, az as leaderboardSettlementApprovalSchema, B as GroupPageQuery, Z as createGroupSchema, bd as updateGroupSchema, S as addGroupMemberSchema, bc as removeGroupMemberSchema, aJ as memberCampaignEnrollmentInputSchema, aK as memberCampaignWithdrawalInputSchema } from './groups-sgKusEzF.js';
6
+ import { a2 as engagementChangePreviewInputSchema, a4 as engagementChangeSchema, ag as engagementVersionQuerySchema, a7 as engagementPageQuerySchema, a9 as engagementPublishSchema, _ as createPointLedgerSchema, aR as pointLedgerPropertiesSchema, aT as pointLedgerSchema, aI as managedPointLedgerSchema, aW as pointsMutationSchema, N as ManagedPointHistoryPage, b6 as referralManagementSchema, bb as referralSuspensionSchema, b7 as referralQualificationSchema, b9 as referralRewardResolutionSchema, b3 as referralControlSchema, ax as leaderboardQuerySchema, aq as leaderboardExclusionSchema, ao as leaderboardExclusionGroupBindingSchema, p as ProjectGroupReference, ar as leaderboardGroupSchema, az as leaderboardSettlementApprovalSchema, B as GroupPageQuery, Z as createGroupSchema, bd as updateGroupSchema, S as addGroupMemberSchema, bc as removeGroupMemberSchema, aJ as memberCampaignEnrollmentInputSchema, aK as memberCampaignWithdrawalInputSchema } from './groups-C06mpYOs.js';
7
7
  import { C as profileSettingsInputSchema, z as profileModerationSchema } from './profiles-BHuQdzsW.js';
8
8
  import { r as collectionBeginSchema, z as counterHistoryQuerySchema, E as counterModerationSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, l as automaticOutcomeQuerySchema, g as automaticCatchUpInputSchema, f as automaticCatchUpConfirmSchema } from './automatic-outcomes-CHiFP_U-.js';
9
9
  import './attempt-captures-nMDnKGdI.js';
@@ -145,6 +145,400 @@ declare function isParticipantRoute(path: string, method: string): boolean;
145
145
  */
146
146
  declare function isIntegrationParticipantPath(path: string): boolean;
147
147
 
148
+ /**
149
+ * The identity an imported member signs in with, so the imported member and their later sign-in
150
+ * are one member: an `app:<name>` subject the app's identity integration exchanges, a wallet the
151
+ * member signs in with, or an X account the member signs in with.
152
+ */
153
+ declare const memberImportIdentitySchema: z.ZodUnion<readonly [z.ZodObject<{
154
+ kind: z.ZodTemplateLiteral<`app:${string}`>;
155
+ subject: z.ZodString;
156
+ }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
157
+ kind: z.ZodLiteral<"wallet">;
158
+ chain: z.ZodLiteral<"solana">;
159
+ address: z.ZodString;
160
+ }, z.core.$strict>, z.ZodObject<{
161
+ kind: z.ZodLiteral<"wallet">;
162
+ chain: z.ZodLiteral<"eip155">;
163
+ address: z.ZodString;
164
+ }, z.core.$strict>, z.ZodObject<{
165
+ kind: z.ZodLiteral<"wallet">;
166
+ chain: z.ZodLiteral<"cosmos">;
167
+ network: z.ZodCustom<`cosmos:${string}`, `cosmos:${string}`>;
168
+ address: z.ZodString;
169
+ }, z.core.$strict>], "chain">, z.ZodObject<{
170
+ kind: z.ZodLiteral<"x">;
171
+ subject: z.ZodString;
172
+ }, z.core.$strict>]>;
173
+ type MemberImportIdentity = z.infer<typeof memberImportIdentitySchema>;
174
+ /**
175
+ * An account the organization vouches belongs to the member: an X account or a wallet. Trackers,
176
+ * `ctx.x` and wallet checks trust it like a verified link. It does not sign in. When the member
177
+ * later links an account through Domino, that link replaces it.
178
+ */
179
+ declare const memberImportAccountSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
180
+ kind: z.ZodLiteral<"wallet">;
181
+ chain: z.ZodLiteral<"solana">;
182
+ address: z.ZodString;
183
+ }, z.core.$strict>, z.ZodObject<{
184
+ kind: z.ZodLiteral<"wallet">;
185
+ chain: z.ZodLiteral<"eip155">;
186
+ address: z.ZodString;
187
+ }, z.core.$strict>, z.ZodObject<{
188
+ kind: z.ZodLiteral<"wallet">;
189
+ chain: z.ZodLiteral<"cosmos">;
190
+ network: z.ZodCustom<`cosmos:${string}`, `cosmos:${string}`>;
191
+ address: z.ZodString;
192
+ }, z.core.$strict>], "chain">, z.ZodObject<{
193
+ kind: z.ZodLiteral<"x">;
194
+ subject: z.ZodString;
195
+ }, z.core.$strict>]>;
196
+ type MemberImportAccount = z.infer<typeof memberImportAccountSchema>;
197
+ /**
198
+ * One accepted action on a quest, recorded through the quest's completion policy without paying
199
+ * rewards: a `once` quest completes on the first, a `keyed` quest once per `key`, a streak counts
200
+ * each action's project-calendar day, and a counter counts each distinct `key` (default: the
201
+ * action's position).
202
+ */
203
+ declare const memberImportActionSchema: z.ZodObject<{
204
+ at: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<number, string>>]>;
205
+ key: z.ZodOptional<z.ZodString>;
206
+ }, z.core.$strict>;
207
+ /** One member to import: a line of an import file. */
208
+ declare const memberImportRowSchema: z.ZodObject<{
209
+ ref: z.ZodString;
210
+ identity: z.ZodUnion<readonly [z.ZodObject<{
211
+ kind: z.ZodTemplateLiteral<`app:${string}`>;
212
+ subject: z.ZodString;
213
+ }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
214
+ kind: z.ZodLiteral<"wallet">;
215
+ chain: z.ZodLiteral<"solana">;
216
+ address: z.ZodString;
217
+ }, z.core.$strict>, z.ZodObject<{
218
+ kind: z.ZodLiteral<"wallet">;
219
+ chain: z.ZodLiteral<"eip155">;
220
+ address: z.ZodString;
221
+ }, z.core.$strict>, z.ZodObject<{
222
+ kind: z.ZodLiteral<"wallet">;
223
+ chain: z.ZodLiteral<"cosmos">;
224
+ network: z.ZodCustom<`cosmos:${string}`, `cosmos:${string}`>;
225
+ address: z.ZodString;
226
+ }, z.core.$strict>], "chain">, z.ZodObject<{
227
+ kind: z.ZodLiteral<"x">;
228
+ subject: z.ZodString;
229
+ }, z.core.$strict>]>;
230
+ accounts: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
231
+ kind: z.ZodLiteral<"wallet">;
232
+ chain: z.ZodLiteral<"solana">;
233
+ address: z.ZodString;
234
+ }, z.core.$strict>, z.ZodObject<{
235
+ kind: z.ZodLiteral<"wallet">;
236
+ chain: z.ZodLiteral<"eip155">;
237
+ address: z.ZodString;
238
+ }, z.core.$strict>, z.ZodObject<{
239
+ kind: z.ZodLiteral<"wallet">;
240
+ chain: z.ZodLiteral<"cosmos">;
241
+ network: z.ZodCustom<`cosmos:${string}`, `cosmos:${string}`>;
242
+ address: z.ZodString;
243
+ }, z.core.$strict>], "chain">, z.ZodObject<{
244
+ kind: z.ZodLiteral<"x">;
245
+ subject: z.ZodString;
246
+ }, z.core.$strict>]>>>;
247
+ points: z.ZodDefault<z.ZodArray<z.ZodObject<{
248
+ ledger: z.ZodString;
249
+ balance: z.ZodNumber;
250
+ }, z.core.$strict>>>;
251
+ quests: z.ZodDefault<z.ZodArray<z.ZodObject<{
252
+ quest: z.ZodString;
253
+ actions: z.ZodArray<z.ZodObject<{
254
+ at: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<number, string>>]>;
255
+ key: z.ZodOptional<z.ZodString>;
256
+ }, z.core.$strict>>;
257
+ }, z.core.$strict>>>;
258
+ }, z.core.$strict>;
259
+ type MemberImportRow = z.output<typeof memberImportRowSchema>;
260
+ type MemberImportRowInput = z.input<typeof memberImportRowSchema>;
261
+ declare const memberImportCreateSchema: z.ZodObject<{
262
+ actionId: z.ZodString;
263
+ source: z.ZodString;
264
+ }, z.core.$strict>;
265
+ type MemberImportCreateInput = z.input<typeof memberImportCreateSchema>;
266
+ /**
267
+ * A batch of rows. A row replaces the import's row with the same `ref`; a checked import goes back
268
+ * to `open` and needs another check.
269
+ */
270
+ declare const memberImportRowsInputSchema: z.ZodObject<{
271
+ rows: z.ZodArray<z.ZodObject<{
272
+ ref: z.ZodString;
273
+ identity: z.ZodUnion<readonly [z.ZodObject<{
274
+ kind: z.ZodTemplateLiteral<`app:${string}`>;
275
+ subject: z.ZodString;
276
+ }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
277
+ kind: z.ZodLiteral<"wallet">;
278
+ chain: z.ZodLiteral<"solana">;
279
+ address: z.ZodString;
280
+ }, z.core.$strict>, z.ZodObject<{
281
+ kind: z.ZodLiteral<"wallet">;
282
+ chain: z.ZodLiteral<"eip155">;
283
+ address: z.ZodString;
284
+ }, z.core.$strict>, z.ZodObject<{
285
+ kind: z.ZodLiteral<"wallet">;
286
+ chain: z.ZodLiteral<"cosmos">;
287
+ network: z.ZodCustom<`cosmos:${string}`, `cosmos:${string}`>;
288
+ address: z.ZodString;
289
+ }, z.core.$strict>], "chain">, z.ZodObject<{
290
+ kind: z.ZodLiteral<"x">;
291
+ subject: z.ZodString;
292
+ }, z.core.$strict>]>;
293
+ accounts: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
294
+ kind: z.ZodLiteral<"wallet">;
295
+ chain: z.ZodLiteral<"solana">;
296
+ address: z.ZodString;
297
+ }, z.core.$strict>, z.ZodObject<{
298
+ kind: z.ZodLiteral<"wallet">;
299
+ chain: z.ZodLiteral<"eip155">;
300
+ address: z.ZodString;
301
+ }, z.core.$strict>, z.ZodObject<{
302
+ kind: z.ZodLiteral<"wallet">;
303
+ chain: z.ZodLiteral<"cosmos">;
304
+ network: z.ZodCustom<`cosmos:${string}`, `cosmos:${string}`>;
305
+ address: z.ZodString;
306
+ }, z.core.$strict>], "chain">, z.ZodObject<{
307
+ kind: z.ZodLiteral<"x">;
308
+ subject: z.ZodString;
309
+ }, z.core.$strict>]>>>;
310
+ points: z.ZodDefault<z.ZodArray<z.ZodObject<{
311
+ ledger: z.ZodString;
312
+ balance: z.ZodNumber;
313
+ }, z.core.$strict>>>;
314
+ quests: z.ZodDefault<z.ZodArray<z.ZodObject<{
315
+ quest: z.ZodString;
316
+ actions: z.ZodArray<z.ZodObject<{
317
+ at: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<number, string>>]>;
318
+ key: z.ZodOptional<z.ZodString>;
319
+ }, z.core.$strict>>;
320
+ }, z.core.$strict>>>;
321
+ }, z.core.$strict>>;
322
+ }, z.core.$strict>;
323
+ type MemberImportRowsInput = z.input<typeof memberImportRowsInputSchema>;
324
+ /** @compat open */
325
+ type KnownMemberImportRefusalCode = (typeof MemberImportRefusalCode)[keyof typeof MemberImportRefusalCode];
326
+ /** Why a row is refused. */
327
+ declare const MemberImportRefusalCode: {
328
+ /** An account or identity belongs to another member in the project. */
329
+ readonly AccountLinkedElsewhere: "account-linked-elsewhere";
330
+ /** An operator unlinked the row's app identity. */
331
+ readonly IdentityUnlinked: "identity-unlinked";
332
+ /** An earlier row of the import names the same account. */
333
+ readonly DuplicateAccount: "duplicate-account";
334
+ /** The member already has another X account selected. */
335
+ readonly XAccountSelected: "x-account-selected";
336
+ /** The member would hold more wallets of a chain family than a member can link. */
337
+ readonly LimitReached: "limit-reached";
338
+ readonly UnknownLedger: "unknown-ledger";
339
+ readonly UnknownQuest: "unknown-quest";
340
+ /** The quest has no active release in this environment. */
341
+ readonly QuestNotPublished: "quest-not-published";
342
+ /** The quest's completions are decided per content item, which an import cannot record. */
343
+ readonly QuestNotImportable: "quest-not-importable";
344
+ /** A keyed quest's action has no `key`. */
345
+ readonly KeyRequired: "key-required";
346
+ /** An action is dated in the future. */
347
+ readonly FutureAction: "future-action";
348
+ /** The row's sign-in wallet or X account is linked to its member without sign-in. */
349
+ readonly SignInDisabled: "sign-in-disabled";
350
+ /** The row names one point ledger or quest twice, by any of its names. */
351
+ readonly DuplicateEntry: "duplicate-entry";
352
+ };
353
+ type MemberImportRefusalCode = KnownMemberImportRefusalCode | (string & {});
354
+ declare const memberImportRefusalSchema: z.ZodObject<{
355
+ code: z.ZodType<MemberImportRefusalCode, unknown, z.core.$ZodTypeInternals<MemberImportRefusalCode, unknown>>;
356
+ message: z.ZodString;
357
+ }, z.core.$strip>;
358
+ type MemberImportRefusal = z.infer<typeof memberImportRefusalSchema>;
359
+ /**
360
+ * What one row does, or did. A checked row is `ready` or `refused`; applying it makes it
361
+ * `applied` or `refused` (checked again against the project as it is then).
362
+ */
363
+ declare const memberImportRowResultSchema: z.ZodObject<{
364
+ line: z.ZodNumber;
365
+ ref: z.ZodString;
366
+ status: z.ZodEnum<{
367
+ pending: "pending";
368
+ ready: "ready";
369
+ applied: "applied";
370
+ refused: "refused";
371
+ }>;
372
+ member: z.ZodNullable<z.ZodString>;
373
+ existing: z.ZodNullable<z.ZodBoolean>;
374
+ refusals: z.ZodArray<z.ZodObject<{
375
+ code: z.ZodType<MemberImportRefusalCode, unknown, z.core.$ZodTypeInternals<MemberImportRefusalCode, unknown>>;
376
+ message: z.ZodString;
377
+ }, z.core.$strip>>;
378
+ }, z.core.$strip>;
379
+ type MemberImportRowResult = z.infer<typeof memberImportRowResultSchema>;
380
+ declare const memberImportRowPageSchema: z.ZodObject<{
381
+ items: z.ZodArray<z.ZodObject<{
382
+ line: z.ZodNumber;
383
+ ref: z.ZodString;
384
+ status: z.ZodEnum<{
385
+ pending: "pending";
386
+ ready: "ready";
387
+ applied: "applied";
388
+ refused: "refused";
389
+ }>;
390
+ member: z.ZodNullable<z.ZodString>;
391
+ existing: z.ZodNullable<z.ZodBoolean>;
392
+ refusals: z.ZodArray<z.ZodObject<{
393
+ code: z.ZodType<MemberImportRefusalCode, unknown, z.core.$ZodTypeInternals<MemberImportRefusalCode, unknown>>;
394
+ message: z.ZodString;
395
+ }, z.core.$strip>>;
396
+ }, z.core.$strip>>;
397
+ nextCursor: z.ZodNullable<z.ZodString>;
398
+ }, z.core.$strip>;
399
+ declare const memberImportRowQuerySchema: z.ZodObject<{
400
+ status: z.ZodOptional<z.ZodEnum<{
401
+ pending: "pending";
402
+ ready: "ready";
403
+ applied: "applied";
404
+ refused: "refused";
405
+ }>>;
406
+ cursor: z.ZodOptional<z.ZodString>;
407
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
408
+ }, z.core.$strict>;
409
+ type MemberImportRowQuery = z.input<typeof memberImportRowQuerySchema>;
410
+ /** What the rows that are ready would create, link, set and record, and how many were refused. */
411
+ declare const memberImportSummarySchema: z.ZodObject<{
412
+ rows: z.ZodNumber;
413
+ ready: z.ZodNumber;
414
+ refused: z.ZodNumber;
415
+ members: z.ZodObject<{
416
+ created: z.ZodNumber;
417
+ existing: z.ZodNumber;
418
+ }, z.core.$strip>;
419
+ accounts: z.ZodNumber;
420
+ points: z.ZodArray<z.ZodObject<{
421
+ ledger: z.ZodString;
422
+ total: z.ZodNumber;
423
+ }, z.core.$strip>>;
424
+ actions: z.ZodArray<z.ZodObject<{
425
+ quest: z.ZodString;
426
+ total: z.ZodNumber;
427
+ }, z.core.$strip>>;
428
+ refusals: z.ZodArray<z.ZodObject<{
429
+ code: z.ZodType<MemberImportRefusalCode, unknown, z.core.$ZodTypeInternals<MemberImportRefusalCode, unknown>>;
430
+ rows: z.ZodNumber;
431
+ }, z.core.$strip>>;
432
+ }, z.core.$strip>;
433
+ type MemberImportSummary = z.infer<typeof memberImportSummarySchema>;
434
+ /**
435
+ * An import of members, opening point balances and quest progress into one project and
436
+ * environment. Rows are added while it is `open`; a check (the dry run) makes it `checked` with a
437
+ * summary; applying it makes it `applied`. A live import is applied only by a person signed in to
438
+ * Console with publish permission.
439
+ */
440
+ declare const memberImportSchema: z.ZodObject<{
441
+ id: z.ZodString;
442
+ source: z.ZodString;
443
+ status: z.ZodEnum<{
444
+ open: "open";
445
+ checking: "checking";
446
+ canceled: "canceled";
447
+ applied: "applied";
448
+ checked: "checked";
449
+ applying: "applying";
450
+ }>;
451
+ rows: z.ZodNumber;
452
+ summary: z.ZodNullable<z.ZodObject<{
453
+ rows: z.ZodNumber;
454
+ ready: z.ZodNumber;
455
+ refused: z.ZodNumber;
456
+ members: z.ZodObject<{
457
+ created: z.ZodNumber;
458
+ existing: z.ZodNumber;
459
+ }, z.core.$strip>;
460
+ accounts: z.ZodNumber;
461
+ points: z.ZodArray<z.ZodObject<{
462
+ ledger: z.ZodString;
463
+ total: z.ZodNumber;
464
+ }, z.core.$strip>>;
465
+ actions: z.ZodArray<z.ZodObject<{
466
+ quest: z.ZodString;
467
+ total: z.ZodNumber;
468
+ }, z.core.$strip>>;
469
+ refusals: z.ZodArray<z.ZodObject<{
470
+ code: z.ZodType<MemberImportRefusalCode, unknown, z.core.$ZodTypeInternals<MemberImportRefusalCode, unknown>>;
471
+ rows: z.ZodNumber;
472
+ }, z.core.$strip>>;
473
+ }, z.core.$strip>>;
474
+ progress: z.ZodObject<{
475
+ applied: z.ZodNumber;
476
+ refused: z.ZodNumber;
477
+ }, z.core.$strip>;
478
+ createdAt: z.ZodNumber;
479
+ createdBy: z.ZodNullable<z.ZodString>;
480
+ checkedAt: z.ZodNullable<z.ZodNumber>;
481
+ appliedAt: z.ZodNullable<z.ZodNumber>;
482
+ appliedBy: z.ZodNullable<z.ZodString>;
483
+ canceledAt: z.ZodNullable<z.ZodNumber>;
484
+ canceledBy: z.ZodNullable<z.ZodString>;
485
+ }, z.core.$strip>;
486
+ type MemberImport = z.infer<typeof memberImportSchema>;
487
+ declare const memberImportPageSchema: z.ZodObject<{
488
+ items: z.ZodArray<z.ZodObject<{
489
+ id: z.ZodString;
490
+ source: z.ZodString;
491
+ status: z.ZodEnum<{
492
+ open: "open";
493
+ checking: "checking";
494
+ canceled: "canceled";
495
+ applied: "applied";
496
+ checked: "checked";
497
+ applying: "applying";
498
+ }>;
499
+ rows: z.ZodNumber;
500
+ summary: z.ZodNullable<z.ZodObject<{
501
+ rows: z.ZodNumber;
502
+ ready: z.ZodNumber;
503
+ refused: z.ZodNumber;
504
+ members: z.ZodObject<{
505
+ created: z.ZodNumber;
506
+ existing: z.ZodNumber;
507
+ }, z.core.$strip>;
508
+ accounts: z.ZodNumber;
509
+ points: z.ZodArray<z.ZodObject<{
510
+ ledger: z.ZodString;
511
+ total: z.ZodNumber;
512
+ }, z.core.$strip>>;
513
+ actions: z.ZodArray<z.ZodObject<{
514
+ quest: z.ZodString;
515
+ total: z.ZodNumber;
516
+ }, z.core.$strip>>;
517
+ refusals: z.ZodArray<z.ZodObject<{
518
+ code: z.ZodType<MemberImportRefusalCode, unknown, z.core.$ZodTypeInternals<MemberImportRefusalCode, unknown>>;
519
+ rows: z.ZodNumber;
520
+ }, z.core.$strip>>;
521
+ }, z.core.$strip>>;
522
+ progress: z.ZodObject<{
523
+ applied: z.ZodNumber;
524
+ refused: z.ZodNumber;
525
+ }, z.core.$strip>;
526
+ createdAt: z.ZodNumber;
527
+ createdBy: z.ZodNullable<z.ZodString>;
528
+ checkedAt: z.ZodNullable<z.ZodNumber>;
529
+ appliedAt: z.ZodNullable<z.ZodNumber>;
530
+ appliedBy: z.ZodNullable<z.ZodString>;
531
+ canceledAt: z.ZodNullable<z.ZodNumber>;
532
+ canceledBy: z.ZodNullable<z.ZodString>;
533
+ }, z.core.$strip>>;
534
+ nextCursor: z.ZodNullable<z.ZodString>;
535
+ }, z.core.$strip>;
536
+ declare const memberImportListQuerySchema: z.ZodObject<{
537
+ cursor: z.ZodOptional<z.ZodString>;
538
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
539
+ }, z.core.$strict>;
540
+ type MemberImportListQuery = z.input<typeof memberImportListQuerySchema>;
541
+
148
542
  type KnownPayoutSourceKind = (typeof PayoutSourceKind)[keyof typeof PayoutSourceKind];
149
543
  /**
150
544
  * What paid a point award, in `points.awarded` `data.source.kind`. `data.source.id` is the quest
@@ -2237,8 +2631,8 @@ type Permission = z.infer<typeof permissionSchema>;
2237
2631
  declare const rolePermissions: Record<z.infer<typeof roleSchema>, Permission[]>;
2238
2632
  declare const projectSetupSchema: z.ZodObject<{
2239
2633
  mode: z.ZodEnum<{
2240
- new: "new";
2241
2634
  existing: "existing";
2635
+ new: "new";
2242
2636
  }>;
2243
2637
  brief: z.ZodString;
2244
2638
  }, z.core.$strict>;
@@ -2260,8 +2654,8 @@ declare const projectSchema: z.ZodObject<{
2260
2654
  }, z.core.$strip>>>;
2261
2655
  setup: z.ZodOptional<z.ZodObject<{
2262
2656
  mode: z.ZodEnum<{
2263
- new: "new";
2264
2657
  existing: "existing";
2658
+ new: "new";
2265
2659
  }>;
2266
2660
  brief: z.ZodString;
2267
2661
  }, z.core.$strip>>;
@@ -2285,8 +2679,8 @@ declare const projectInputSchema: z.ZodObject<{
2285
2679
  name: z.ZodString;
2286
2680
  setup: z.ZodOptional<z.ZodObject<{
2287
2681
  mode: z.ZodEnum<{
2288
- new: "new";
2289
2682
  existing: "existing";
2683
+ new: "new";
2290
2684
  }>;
2291
2685
  brief: z.ZodString;
2292
2686
  }, z.core.$strict>>;
@@ -2477,8 +2871,8 @@ declare const accessSchema: z.ZodObject<{
2477
2871
  }, z.core.$strip>>>;
2478
2872
  setup: z.ZodOptional<z.ZodObject<{
2479
2873
  mode: z.ZodEnum<{
2480
- new: "new";
2481
2874
  existing: "existing";
2875
+ new: "new";
2482
2876
  }>;
2483
2877
  brief: z.ZodString;
2484
2878
  }, z.core.$strip>>;
@@ -3506,6 +3900,7 @@ declare const managedOAuthAccountSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3506
3900
  status: z.ZodLiteral<"connected">;
3507
3901
  subject: z.ZodString;
3508
3902
  linkedAt: z.ZodNumber;
3903
+ imported: z.ZodOptional<z.ZodBoolean>;
3509
3904
  }, z.core.$strip>, z.ZodObject<{
3510
3905
  provider: z.ZodEnum<{
3511
3906
  discord: "discord";
@@ -3554,6 +3949,7 @@ declare const managedWalletSchema: z.ZodObject<{
3554
3949
  verifiedAt: z.ZodNumber;
3555
3950
  revision: z.ZodNumber;
3556
3951
  signIn: z.ZodBoolean;
3952
+ imported: z.ZodOptional<z.ZodBoolean>;
3557
3953
  status: z.ZodEnum<{
3558
3954
  linked: "linked";
3559
3955
  unlinked: "unlinked";
@@ -3571,6 +3967,7 @@ declare const managedMemberIdentitySchema: z.ZodObject<{
3571
3967
  subject: z.ZodString;
3572
3968
  revision: z.ZodNumber;
3573
3969
  linkedAt: z.ZodNullable<z.ZodNumber>;
3970
+ imported: z.ZodOptional<z.ZodBoolean>;
3574
3971
  status: z.ZodEnum<{
3575
3972
  linked: "linked";
3576
3973
  unlinked: "unlinked";
@@ -5123,6 +5520,7 @@ declare const memberDetailSchema: z.ZodObject<{
5123
5520
  verifiedAt: z.ZodNumber;
5124
5521
  revision: z.ZodNumber;
5125
5522
  signIn: z.ZodBoolean;
5523
+ imported: z.ZodOptional<z.ZodBoolean>;
5126
5524
  status: z.ZodEnum<{
5127
5525
  linked: "linked";
5128
5526
  unlinked: "unlinked";
@@ -5192,6 +5590,7 @@ declare const memberDetailSchema: z.ZodObject<{
5192
5590
  subject: z.ZodString;
5193
5591
  revision: z.ZodNumber;
5194
5592
  linkedAt: z.ZodNullable<z.ZodNumber>;
5593
+ imported: z.ZodOptional<z.ZodBoolean>;
5195
5594
  status: z.ZodEnum<{
5196
5595
  linked: "linked";
5197
5596
  unlinked: "unlinked";
@@ -8078,6 +8477,13 @@ type ManagementRawInit = RequestInit & {
8078
8477
  * for implementation: only these factories create it, and a 1.x minor release can add methods, so
8079
8478
  * an object written by hand as a `ManagementClient` may stop compiling.
8080
8479
  *
8480
+ * Definitions change in test and reach live only through a promotion. In live, every call that
8481
+ * writes one fails with a `ManagementError` of status 422 and code `promotion-required`: quest
8482
+ * publication, settings and archive state, the Quest Studio catalog, point ledgers, badges, the
8483
+ * calendar, profile settings, pickup policy, a leaderboard's exclusion-group binding, stock item
8484
+ * creation, renames and archive state, and every other archive or unarchive. Operations such as
8485
+ * pauses, points, groups, moderation and stock adjustments work in live.
8486
+ *
8081
8487
  * @compat sealed
8082
8488
  */
8083
8489
  interface ManagementClient extends ReturnType<typeof managementClient> {
@@ -9196,6 +9602,7 @@ declare function managementClient(options: ManagementTransportOptions): {
9196
9602
  original: string | null;
9197
9603
  reason: string;
9198
9604
  actor: string | null;
9605
+ import?: string | null | undefined;
9199
9606
  };
9200
9607
  total: number;
9201
9608
  }>;
@@ -9214,6 +9621,7 @@ declare function managementClient(options: ManagementTransportOptions): {
9214
9621
  original: string | null;
9215
9622
  reason: string;
9216
9623
  actor: string | null;
9624
+ import?: string | null | undefined;
9217
9625
  };
9218
9626
  total: number;
9219
9627
  }>;
@@ -39207,7 +39615,7 @@ declare function managementClient(options: ManagementTransportOptions): {
39207
39615
  avatar: string | null;
39208
39616
  } | null | undefined;
39209
39617
  setup?: {
39210
- mode: "new" | "existing";
39618
+ mode: "existing" | "new";
39211
39619
  brief: string;
39212
39620
  } | undefined;
39213
39621
  starter?: string | undefined;
@@ -39232,7 +39640,7 @@ declare function managementClient(options: ManagementTransportOptions): {
39232
39640
  avatar: string | null;
39233
39641
  } | null | undefined;
39234
39642
  setup?: {
39235
- mode: "new" | "existing";
39643
+ mode: "existing" | "new";
39236
39644
  brief: string;
39237
39645
  } | undefined;
39238
39646
  starter?: string | undefined;
@@ -39256,7 +39664,7 @@ declare function managementClient(options: ManagementTransportOptions): {
39256
39664
  avatar: string | null;
39257
39665
  } | null | undefined;
39258
39666
  setup?: {
39259
- mode: "new" | "existing";
39667
+ mode: "existing" | "new";
39260
39668
  brief: string;
39261
39669
  } | undefined;
39262
39670
  starter?: string | undefined;
@@ -41025,6 +41433,313 @@ declare function managementClient(options: ManagementTransportOptions): {
41025
41433
  deleted: true;
41026
41434
  }>;
41027
41435
  };
41436
+ /**
41437
+ * Imports of members, opening point balances and quest progress from another platform into
41438
+ * this project and environment. Add rows, `check` them (the dry run), read the summary and the
41439
+ * refused rows, then `apply`. Checking and applying run in the background: read the import
41440
+ * until its status is `checked` or `applied`. Needs `publish` permission. In live, only a
41441
+ * person signed in to Console applies an import; keys and CLI sessions prepare and check it.
41442
+ */
41443
+ memberImports: {
41444
+ create: (input: CreationInput<MemberImportCreateInput>, call?: ManagementCallOptions) => Promise<{
41445
+ id: string;
41446
+ source: string;
41447
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
41448
+ rows: number;
41449
+ summary: {
41450
+ rows: number;
41451
+ ready: number;
41452
+ refused: number;
41453
+ members: {
41454
+ created: number;
41455
+ existing: number;
41456
+ };
41457
+ accounts: number;
41458
+ points: {
41459
+ ledger: string;
41460
+ total: number;
41461
+ }[];
41462
+ actions: {
41463
+ quest: string;
41464
+ total: number;
41465
+ }[];
41466
+ refusals: {
41467
+ code: MemberImportRefusalCode;
41468
+ rows: number;
41469
+ }[];
41470
+ } | null;
41471
+ progress: {
41472
+ applied: number;
41473
+ refused: number;
41474
+ };
41475
+ createdAt: number;
41476
+ createdBy: string | null;
41477
+ checkedAt: number | null;
41478
+ appliedAt: number | null;
41479
+ appliedBy: string | null;
41480
+ canceledAt: number | null;
41481
+ canceledBy: string | null;
41482
+ }>;
41483
+ list: (query?: MemberImportListQuery, call?: ManagementCallOptions) => Promise<{
41484
+ items: {
41485
+ id: string;
41486
+ source: string;
41487
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
41488
+ rows: number;
41489
+ summary: {
41490
+ rows: number;
41491
+ ready: number;
41492
+ refused: number;
41493
+ members: {
41494
+ created: number;
41495
+ existing: number;
41496
+ };
41497
+ accounts: number;
41498
+ points: {
41499
+ ledger: string;
41500
+ total: number;
41501
+ }[];
41502
+ actions: {
41503
+ quest: string;
41504
+ total: number;
41505
+ }[];
41506
+ refusals: {
41507
+ code: MemberImportRefusalCode;
41508
+ rows: number;
41509
+ }[];
41510
+ } | null;
41511
+ progress: {
41512
+ applied: number;
41513
+ refused: number;
41514
+ };
41515
+ createdAt: number;
41516
+ createdBy: string | null;
41517
+ checkedAt: number | null;
41518
+ appliedAt: number | null;
41519
+ appliedBy: string | null;
41520
+ canceledAt: number | null;
41521
+ canceledBy: string | null;
41522
+ }[];
41523
+ nextCursor: string | null;
41524
+ }>;
41525
+ get: (id: string, call?: ManagementCallOptions) => Promise<{
41526
+ id: string;
41527
+ source: string;
41528
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
41529
+ rows: number;
41530
+ summary: {
41531
+ rows: number;
41532
+ ready: number;
41533
+ refused: number;
41534
+ members: {
41535
+ created: number;
41536
+ existing: number;
41537
+ };
41538
+ accounts: number;
41539
+ points: {
41540
+ ledger: string;
41541
+ total: number;
41542
+ }[];
41543
+ actions: {
41544
+ quest: string;
41545
+ total: number;
41546
+ }[];
41547
+ refusals: {
41548
+ code: MemberImportRefusalCode;
41549
+ rows: number;
41550
+ }[];
41551
+ } | null;
41552
+ progress: {
41553
+ applied: number;
41554
+ refused: number;
41555
+ };
41556
+ createdAt: number;
41557
+ createdBy: string | null;
41558
+ checkedAt: number | null;
41559
+ appliedAt: number | null;
41560
+ appliedBy: string | null;
41561
+ canceledAt: number | null;
41562
+ canceledBy: string | null;
41563
+ }>;
41564
+ /** The import's rows in file order, each with its latest check or apply outcome. */
41565
+ rows: (id: string, query?: MemberImportRowQuery, call?: ManagementCallOptions) => Promise<{
41566
+ items: {
41567
+ line: number;
41568
+ ref: string;
41569
+ status: "pending" | "ready" | "applied" | "refused";
41570
+ member: string | null;
41571
+ existing: boolean | null;
41572
+ refusals: {
41573
+ code: MemberImportRefusalCode;
41574
+ message: string;
41575
+ }[];
41576
+ }[];
41577
+ nextCursor: string | null;
41578
+ }>;
41579
+ /**
41580
+ * Adds up to 500 rows. A row replaces the import's row with the same `ref`, so sending a
41581
+ * batch again changes nothing; a changed row sends a checked import back to `open`.
41582
+ */
41583
+ addRows: (id: string, rows: MemberImportRowInput[], call?: ManagementCallOptions) => Promise<{
41584
+ id: string;
41585
+ source: string;
41586
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
41587
+ rows: number;
41588
+ summary: {
41589
+ rows: number;
41590
+ ready: number;
41591
+ refused: number;
41592
+ members: {
41593
+ created: number;
41594
+ existing: number;
41595
+ };
41596
+ accounts: number;
41597
+ points: {
41598
+ ledger: string;
41599
+ total: number;
41600
+ }[];
41601
+ actions: {
41602
+ quest: string;
41603
+ total: number;
41604
+ }[];
41605
+ refusals: {
41606
+ code: MemberImportRefusalCode;
41607
+ rows: number;
41608
+ }[];
41609
+ } | null;
41610
+ progress: {
41611
+ applied: number;
41612
+ refused: number;
41613
+ };
41614
+ createdAt: number;
41615
+ createdBy: string | null;
41616
+ checkedAt: number | null;
41617
+ appliedAt: number | null;
41618
+ appliedBy: string | null;
41619
+ canceledAt: number | null;
41620
+ canceledBy: string | null;
41621
+ }>;
41622
+ /** Starts the dry run: every row is checked against the project, and nothing changes. */
41623
+ check: (id: string, call?: ManagementCallOptions) => Promise<{
41624
+ id: string;
41625
+ source: string;
41626
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
41627
+ rows: number;
41628
+ summary: {
41629
+ rows: number;
41630
+ ready: number;
41631
+ refused: number;
41632
+ members: {
41633
+ created: number;
41634
+ existing: number;
41635
+ };
41636
+ accounts: number;
41637
+ points: {
41638
+ ledger: string;
41639
+ total: number;
41640
+ }[];
41641
+ actions: {
41642
+ quest: string;
41643
+ total: number;
41644
+ }[];
41645
+ refusals: {
41646
+ code: MemberImportRefusalCode;
41647
+ rows: number;
41648
+ }[];
41649
+ } | null;
41650
+ progress: {
41651
+ applied: number;
41652
+ refused: number;
41653
+ };
41654
+ createdAt: number;
41655
+ createdBy: string | null;
41656
+ checkedAt: number | null;
41657
+ appliedAt: number | null;
41658
+ appliedBy: string | null;
41659
+ canceledAt: number | null;
41660
+ canceledBy: string | null;
41661
+ }>;
41662
+ /** Applies a checked import's ready rows. Live imports are applied from Console. */
41663
+ apply: (id: string, call?: ManagementCallOptions) => Promise<{
41664
+ id: string;
41665
+ source: string;
41666
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
41667
+ rows: number;
41668
+ summary: {
41669
+ rows: number;
41670
+ ready: number;
41671
+ refused: number;
41672
+ members: {
41673
+ created: number;
41674
+ existing: number;
41675
+ };
41676
+ accounts: number;
41677
+ points: {
41678
+ ledger: string;
41679
+ total: number;
41680
+ }[];
41681
+ actions: {
41682
+ quest: string;
41683
+ total: number;
41684
+ }[];
41685
+ refusals: {
41686
+ code: MemberImportRefusalCode;
41687
+ rows: number;
41688
+ }[];
41689
+ } | null;
41690
+ progress: {
41691
+ applied: number;
41692
+ refused: number;
41693
+ };
41694
+ createdAt: number;
41695
+ createdBy: string | null;
41696
+ checkedAt: number | null;
41697
+ appliedAt: number | null;
41698
+ appliedBy: string | null;
41699
+ canceledAt: number | null;
41700
+ canceledBy: string | null;
41701
+ }>;
41702
+ /** Cancels an open or checked import; nothing it checked is applied. */
41703
+ cancel: (id: string, call?: ManagementCallOptions) => Promise<{
41704
+ id: string;
41705
+ source: string;
41706
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
41707
+ rows: number;
41708
+ summary: {
41709
+ rows: number;
41710
+ ready: number;
41711
+ refused: number;
41712
+ members: {
41713
+ created: number;
41714
+ existing: number;
41715
+ };
41716
+ accounts: number;
41717
+ points: {
41718
+ ledger: string;
41719
+ total: number;
41720
+ }[];
41721
+ actions: {
41722
+ quest: string;
41723
+ total: number;
41724
+ }[];
41725
+ refusals: {
41726
+ code: MemberImportRefusalCode;
41727
+ rows: number;
41728
+ }[];
41729
+ } | null;
41730
+ progress: {
41731
+ applied: number;
41732
+ refused: number;
41733
+ };
41734
+ createdAt: number;
41735
+ createdBy: string | null;
41736
+ checkedAt: number | null;
41737
+ appliedAt: number | null;
41738
+ appliedBy: string | null;
41739
+ canceledAt: number | null;
41740
+ canceledBy: string | null;
41741
+ }>;
41742
+ };
41028
41743
  /** The project's members, as operators see them. */
41029
41744
  members: {
41030
41745
  /**
@@ -41449,6 +42164,7 @@ declare function managementClient(options: ManagementTransportOptions): {
41449
42164
  status: "connected";
41450
42165
  subject: string;
41451
42166
  linkedAt: number;
42167
+ imported?: boolean | undefined;
41452
42168
  } | {
41453
42169
  provider: "discord" | "x";
41454
42170
  revision: number;
@@ -41465,6 +42181,7 @@ declare function managementClient(options: ManagementTransportOptions): {
41465
42181
  status: "connected";
41466
42182
  subject: string;
41467
42183
  linkedAt: number;
42184
+ imported?: boolean | undefined;
41468
42185
  } | {
41469
42186
  provider: "discord" | "x";
41470
42187
  revision: number;
@@ -41518,6 +42235,7 @@ declare function managementClient(options: ManagementTransportOptions): {
41518
42235
  status: "linked" | "unlinked";
41519
42236
  unlinkedAt: number | null;
41520
42237
  unlinkedBy: string | null;
42238
+ imported?: boolean | undefined;
41521
42239
  }[]>;
41522
42240
  /**
41523
42241
  * Unlinks one of a member's `app:<name>` identities with a reason; requires `review`
@@ -41534,6 +42252,7 @@ declare function managementClient(options: ManagementTransportOptions): {
41534
42252
  status: "linked" | "unlinked";
41535
42253
  unlinkedAt: number | null;
41536
42254
  unlinkedBy: string | null;
42255
+ imported?: boolean | undefined;
41537
42256
  }[]>;
41538
42257
  /**
41539
42258
  * Relinks an `app:<name>` identity an operator unlinked from this member, with a reason; requires `review` permission.
@@ -41548,6 +42267,7 @@ declare function managementClient(options: ManagementTransportOptions): {
41548
42267
  status: "linked" | "unlinked";
41549
42268
  unlinkedAt: number | null;
41550
42269
  unlinkedBy: string | null;
42270
+ imported?: boolean | undefined;
41551
42271
  }[]>;
41552
42272
  /**
41553
42273
  * Enables or disables sign-in with a member's wallet in this project and environment, with a
@@ -41565,6 +42285,7 @@ declare function managementClient(options: ManagementTransportOptions): {
41565
42285
  status: "linked" | "unlinked";
41566
42286
  unlinkedAt: number | null;
41567
42287
  unlinkedBy: string | null;
42288
+ imported?: boolean | undefined;
41568
42289
  }[]>;
41569
42290
  };
41570
42291
  /** The hosted app's secrets. Values are write-only; builds staged after a change receive it. */
@@ -43977,7 +44698,7 @@ declare const managementResponseSchemas: {
43977
44698
  avatar: string | null;
43978
44699
  } | null | undefined;
43979
44700
  setup?: {
43980
- mode: "new" | "existing";
44701
+ mode: "existing" | "new";
43981
44702
  brief: string;
43982
44703
  } | undefined;
43983
44704
  starter?: string | undefined;
@@ -44006,7 +44727,7 @@ declare const managementResponseSchemas: {
44006
44727
  avatar: string | null;
44007
44728
  } | null | undefined;
44008
44729
  setup?: {
44009
- mode: "new" | "existing";
44730
+ mode: "existing" | "new";
44010
44731
  brief: string;
44011
44732
  } | undefined;
44012
44733
  starter?: string | undefined;
@@ -85877,6 +86598,7 @@ declare const managementResponseSchemas: {
85877
86598
  status: "linked" | "unlinked";
85878
86599
  unlinkedAt: number | null;
85879
86600
  unlinkedBy: string | null;
86601
+ imported?: boolean | undefined;
85880
86602
  }, unknown, z.core.$ZodTypeInternals<{
85881
86603
  kind: OpenIdentityKind;
85882
86604
  subject: string;
@@ -85885,6 +86607,7 @@ declare const managementResponseSchemas: {
85885
86607
  status: "linked" | "unlinked";
85886
86608
  unlinkedAt: number | null;
85887
86609
  unlinkedBy: string | null;
86610
+ imported?: boolean | undefined;
85888
86611
  }, unknown>>;
85889
86612
  managedMemberPageSchema: z.ZodType<{
85890
86613
  items: {
@@ -86824,12 +87547,200 @@ declare const managementResponseSchemas: {
86824
87547
  available: number;
86825
87548
  }[];
86826
87549
  }, unknown>>;
87550
+ memberImportPageSchema: z.ZodType<{
87551
+ items: {
87552
+ id: string;
87553
+ source: string;
87554
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
87555
+ rows: number;
87556
+ summary: {
87557
+ rows: number;
87558
+ ready: number;
87559
+ refused: number;
87560
+ members: {
87561
+ created: number;
87562
+ existing: number;
87563
+ };
87564
+ accounts: number;
87565
+ points: {
87566
+ ledger: string;
87567
+ total: number;
87568
+ }[];
87569
+ actions: {
87570
+ quest: string;
87571
+ total: number;
87572
+ }[];
87573
+ refusals: {
87574
+ code: MemberImportRefusalCode;
87575
+ rows: number;
87576
+ }[];
87577
+ } | null;
87578
+ progress: {
87579
+ applied: number;
87580
+ refused: number;
87581
+ };
87582
+ createdAt: number;
87583
+ createdBy: string | null;
87584
+ checkedAt: number | null;
87585
+ appliedAt: number | null;
87586
+ appliedBy: string | null;
87587
+ canceledAt: number | null;
87588
+ canceledBy: string | null;
87589
+ }[];
87590
+ nextCursor: string | null;
87591
+ }, unknown, z.core.$ZodTypeInternals<{
87592
+ items: {
87593
+ id: string;
87594
+ source: string;
87595
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
87596
+ rows: number;
87597
+ summary: {
87598
+ rows: number;
87599
+ ready: number;
87600
+ refused: number;
87601
+ members: {
87602
+ created: number;
87603
+ existing: number;
87604
+ };
87605
+ accounts: number;
87606
+ points: {
87607
+ ledger: string;
87608
+ total: number;
87609
+ }[];
87610
+ actions: {
87611
+ quest: string;
87612
+ total: number;
87613
+ }[];
87614
+ refusals: {
87615
+ code: MemberImportRefusalCode;
87616
+ rows: number;
87617
+ }[];
87618
+ } | null;
87619
+ progress: {
87620
+ applied: number;
87621
+ refused: number;
87622
+ };
87623
+ createdAt: number;
87624
+ createdBy: string | null;
87625
+ checkedAt: number | null;
87626
+ appliedAt: number | null;
87627
+ appliedBy: string | null;
87628
+ canceledAt: number | null;
87629
+ canceledBy: string | null;
87630
+ }[];
87631
+ nextCursor: string | null;
87632
+ }, unknown>>;
87633
+ memberImportRowPageSchema: z.ZodType<{
87634
+ items: {
87635
+ line: number;
87636
+ ref: string;
87637
+ status: "pending" | "ready" | "applied" | "refused";
87638
+ member: string | null;
87639
+ existing: boolean | null;
87640
+ refusals: {
87641
+ code: MemberImportRefusalCode;
87642
+ message: string;
87643
+ }[];
87644
+ }[];
87645
+ nextCursor: string | null;
87646
+ }, unknown, z.core.$ZodTypeInternals<{
87647
+ items: {
87648
+ line: number;
87649
+ ref: string;
87650
+ status: "pending" | "ready" | "applied" | "refused";
87651
+ member: string | null;
87652
+ existing: boolean | null;
87653
+ refusals: {
87654
+ code: MemberImportRefusalCode;
87655
+ message: string;
87656
+ }[];
87657
+ }[];
87658
+ nextCursor: string | null;
87659
+ }, unknown>>;
87660
+ memberImportSchema: z.ZodType<{
87661
+ id: string;
87662
+ source: string;
87663
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
87664
+ rows: number;
87665
+ summary: {
87666
+ rows: number;
87667
+ ready: number;
87668
+ refused: number;
87669
+ members: {
87670
+ created: number;
87671
+ existing: number;
87672
+ };
87673
+ accounts: number;
87674
+ points: {
87675
+ ledger: string;
87676
+ total: number;
87677
+ }[];
87678
+ actions: {
87679
+ quest: string;
87680
+ total: number;
87681
+ }[];
87682
+ refusals: {
87683
+ code: MemberImportRefusalCode;
87684
+ rows: number;
87685
+ }[];
87686
+ } | null;
87687
+ progress: {
87688
+ applied: number;
87689
+ refused: number;
87690
+ };
87691
+ createdAt: number;
87692
+ createdBy: string | null;
87693
+ checkedAt: number | null;
87694
+ appliedAt: number | null;
87695
+ appliedBy: string | null;
87696
+ canceledAt: number | null;
87697
+ canceledBy: string | null;
87698
+ }, unknown, z.core.$ZodTypeInternals<{
87699
+ id: string;
87700
+ source: string;
87701
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
87702
+ rows: number;
87703
+ summary: {
87704
+ rows: number;
87705
+ ready: number;
87706
+ refused: number;
87707
+ members: {
87708
+ created: number;
87709
+ existing: number;
87710
+ };
87711
+ accounts: number;
87712
+ points: {
87713
+ ledger: string;
87714
+ total: number;
87715
+ }[];
87716
+ actions: {
87717
+ quest: string;
87718
+ total: number;
87719
+ }[];
87720
+ refusals: {
87721
+ code: MemberImportRefusalCode;
87722
+ rows: number;
87723
+ }[];
87724
+ } | null;
87725
+ progress: {
87726
+ applied: number;
87727
+ refused: number;
87728
+ };
87729
+ createdAt: number;
87730
+ createdBy: string | null;
87731
+ checkedAt: number | null;
87732
+ appliedAt: number | null;
87733
+ appliedBy: string | null;
87734
+ canceledAt: number | null;
87735
+ canceledBy: string | null;
87736
+ }, unknown>>;
86827
87737
  managedOAuthAccountSchema: z.ZodType<{
86828
87738
  provider: "discord" | "x";
86829
87739
  revision: number;
86830
87740
  status: "connected";
86831
87741
  subject: string;
86832
87742
  linkedAt: number;
87743
+ imported?: boolean | undefined;
86833
87744
  } | {
86834
87745
  provider: "discord" | "x";
86835
87746
  revision: number;
@@ -86840,6 +87751,7 @@ declare const managementResponseSchemas: {
86840
87751
  status: "connected";
86841
87752
  subject: string;
86842
87753
  linkedAt: number;
87754
+ imported?: boolean | undefined;
86843
87755
  } | {
86844
87756
  provider: "discord" | "x";
86845
87757
  revision: number;
@@ -86916,6 +87828,7 @@ declare const managementResponseSchemas: {
86916
87828
  original: string | null;
86917
87829
  reason: string;
86918
87830
  actor: string | null;
87831
+ import?: string | null | undefined;
86919
87832
  }[];
86920
87833
  nextCursor: string | null;
86921
87834
  next: number | null;
@@ -86933,6 +87846,7 @@ declare const managementResponseSchemas: {
86933
87846
  original: string | null;
86934
87847
  reason: string;
86935
87848
  actor: string | null;
87849
+ import?: string | null | undefined;
86936
87850
  }[];
86937
87851
  nextCursor: string | null;
86938
87852
  next: number | null;
@@ -87041,6 +87955,7 @@ declare const managementResponseSchemas: {
87041
87955
  status: "linked" | "unlinked";
87042
87956
  unlinkedAt: number | null;
87043
87957
  unlinkedBy: string | null;
87958
+ imported?: boolean | undefined;
87044
87959
  }, unknown, z.core.$ZodTypeInternals<{
87045
87960
  chain: "solana" | "eip155" | "cosmos";
87046
87961
  network: `cosmos:${string}` | null;
@@ -87051,6 +87966,7 @@ declare const managementResponseSchemas: {
87051
87966
  status: "linked" | "unlinked";
87052
87967
  unlinkedAt: number | null;
87053
87968
  unlinkedBy: string | null;
87969
+ imported?: boolean | undefined;
87054
87970
  }, unknown>>;
87055
87971
  memberDetailSchema: z.ZodType<{
87056
87972
  snapshot: {
@@ -88244,6 +89160,7 @@ declare const managementResponseSchemas: {
88244
89160
  status: "linked" | "unlinked";
88245
89161
  unlinkedAt: number | null;
88246
89162
  unlinkedBy: string | null;
89163
+ imported?: boolean | undefined;
88247
89164
  }[];
88248
89165
  balanceChecks: {
88249
89166
  observedAt: number;
@@ -88293,6 +89210,7 @@ declare const managementResponseSchemas: {
88293
89210
  status: "linked" | "unlinked";
88294
89211
  unlinkedAt: number | null;
88295
89212
  unlinkedBy: string | null;
89213
+ imported?: boolean | undefined;
88296
89214
  }[];
88297
89215
  }, unknown, z.core.$ZodTypeInternals<{
88298
89216
  snapshot: {
@@ -89486,6 +90404,7 @@ declare const managementResponseSchemas: {
89486
90404
  status: "linked" | "unlinked";
89487
90405
  unlinkedAt: number | null;
89488
90406
  unlinkedBy: string | null;
90407
+ imported?: boolean | undefined;
89489
90408
  }[];
89490
90409
  balanceChecks: {
89491
90410
  observedAt: number;
@@ -89535,6 +90454,7 @@ declare const managementResponseSchemas: {
89535
90454
  status: "linked" | "unlinked";
89536
90455
  unlinkedAt: number | null;
89537
90456
  unlinkedBy: string | null;
90457
+ imported?: boolean | undefined;
89538
90458
  }[];
89539
90459
  }, unknown>>;
89540
90460
  offerSchema: z.ZodType<{
@@ -91220,6 +92140,7 @@ declare const managementResponseSchemas: {
91220
92140
  original: string | null;
91221
92141
  reason: string;
91222
92142
  actor: string | null;
92143
+ import?: string | null | undefined;
91223
92144
  };
91224
92145
  total: number;
91225
92146
  }, unknown, z.core.$ZodTypeInternals<{
@@ -91236,6 +92157,7 @@ declare const managementResponseSchemas: {
91236
92157
  original: string | null;
91237
92158
  reason: string;
91238
92159
  actor: string | null;
92160
+ import?: string | null | undefined;
91239
92161
  };
91240
92162
  total: number;
91241
92163
  }, unknown>>;
@@ -91324,7 +92246,7 @@ declare const managementResponseSchemas: {
91324
92246
  avatar: string | null;
91325
92247
  } | null | undefined;
91326
92248
  setup?: {
91327
- mode: "new" | "existing";
92249
+ mode: "existing" | "new";
91328
92250
  brief: string;
91329
92251
  } | undefined;
91330
92252
  starter?: string | undefined;
@@ -91347,7 +92269,7 @@ declare const managementResponseSchemas: {
91347
92269
  avatar: string | null;
91348
92270
  } | null | undefined;
91349
92271
  setup?: {
91350
- mode: "new" | "existing";
92272
+ mode: "existing" | "new";
91351
92273
  brief: string;
91352
92274
  } | undefined;
91353
92275
  starter?: string | undefined;
@@ -97708,7 +98630,7 @@ declare const managementResponses: {
97708
98630
  avatar: string | null;
97709
98631
  } | null | undefined;
97710
98632
  setup?: {
97711
- mode: "new" | "existing";
98633
+ mode: "existing" | "new";
97712
98634
  brief: string;
97713
98635
  } | undefined;
97714
98636
  starter?: string | undefined;
@@ -118677,6 +119599,7 @@ declare const managementResponses: {
118677
119599
  status: "linked" | "unlinked";
118678
119600
  unlinkedAt: number | null;
118679
119601
  unlinkedBy: string | null;
119602
+ imported?: boolean | undefined;
118680
119603
  }>>;
118681
119604
  managedMemberPageSchema: ResponseSchema<ResponseResult<{
118682
119605
  items: {
@@ -119148,12 +120071,108 @@ declare const managementResponses: {
119148
120071
  available: number;
119149
120072
  }[];
119150
120073
  }>>;
120074
+ memberImportPageSchema: ResponseSchema<ResponseResult<{
120075
+ items: {
120076
+ id: string;
120077
+ source: string;
120078
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
120079
+ rows: number;
120080
+ summary: {
120081
+ rows: number;
120082
+ ready: number;
120083
+ refused: number;
120084
+ members: {
120085
+ created: number;
120086
+ existing: number;
120087
+ };
120088
+ accounts: number;
120089
+ points: {
120090
+ ledger: string;
120091
+ total: number;
120092
+ }[];
120093
+ actions: {
120094
+ quest: string;
120095
+ total: number;
120096
+ }[];
120097
+ refusals: {
120098
+ code: MemberImportRefusalCode;
120099
+ rows: number;
120100
+ }[];
120101
+ } | null;
120102
+ progress: {
120103
+ applied: number;
120104
+ refused: number;
120105
+ };
120106
+ createdAt: number;
120107
+ createdBy: string | null;
120108
+ checkedAt: number | null;
120109
+ appliedAt: number | null;
120110
+ appliedBy: string | null;
120111
+ canceledAt: number | null;
120112
+ canceledBy: string | null;
120113
+ }[];
120114
+ nextCursor: string | null;
120115
+ }>>;
120116
+ memberImportRowPageSchema: ResponseSchema<ResponseResult<{
120117
+ items: {
120118
+ line: number;
120119
+ ref: string;
120120
+ status: "pending" | "ready" | "applied" | "refused";
120121
+ member: string | null;
120122
+ existing: boolean | null;
120123
+ refusals: {
120124
+ code: MemberImportRefusalCode;
120125
+ message: string;
120126
+ }[];
120127
+ }[];
120128
+ nextCursor: string | null;
120129
+ }>>;
120130
+ memberImportSchema: ResponseSchema<ResponseResult<{
120131
+ id: string;
120132
+ source: string;
120133
+ status: "open" | "checking" | "canceled" | "applied" | "checked" | "applying";
120134
+ rows: number;
120135
+ summary: {
120136
+ rows: number;
120137
+ ready: number;
120138
+ refused: number;
120139
+ members: {
120140
+ created: number;
120141
+ existing: number;
120142
+ };
120143
+ accounts: number;
120144
+ points: {
120145
+ ledger: string;
120146
+ total: number;
120147
+ }[];
120148
+ actions: {
120149
+ quest: string;
120150
+ total: number;
120151
+ }[];
120152
+ refusals: {
120153
+ code: MemberImportRefusalCode;
120154
+ rows: number;
120155
+ }[];
120156
+ } | null;
120157
+ progress: {
120158
+ applied: number;
120159
+ refused: number;
120160
+ };
120161
+ createdAt: number;
120162
+ createdBy: string | null;
120163
+ checkedAt: number | null;
120164
+ appliedAt: number | null;
120165
+ appliedBy: string | null;
120166
+ canceledAt: number | null;
120167
+ canceledBy: string | null;
120168
+ }>>;
119151
120169
  managedOAuthAccountSchema: ResponseSchema<ResponseResult<{
119152
120170
  provider: "discord" | "x";
119153
120171
  revision: number;
119154
120172
  status: "connected";
119155
120173
  subject: string;
119156
120174
  linkedAt: number;
120175
+ imported?: boolean | undefined;
119157
120176
  } | {
119158
120177
  provider: "discord" | "x";
119159
120178
  revision: number;
@@ -119203,6 +120222,7 @@ declare const managementResponses: {
119203
120222
  original: string | null;
119204
120223
  reason: string;
119205
120224
  actor: string | null;
120225
+ import?: string | null | undefined;
119206
120226
  }[];
119207
120227
  nextCursor: string | null;
119208
120228
  next: number | null;
@@ -119266,6 +120286,7 @@ declare const managementResponses: {
119266
120286
  status: "linked" | "unlinked";
119267
120287
  unlinkedAt: number | null;
119268
120288
  unlinkedBy: string | null;
120289
+ imported?: boolean | undefined;
119269
120290
  }>>;
119270
120291
  memberDetailSchema: ResponseSchema<ResponseResult<{
119271
120292
  snapshot: {
@@ -120459,6 +121480,7 @@ declare const managementResponses: {
120459
121480
  status: "linked" | "unlinked";
120460
121481
  unlinkedAt: number | null;
120461
121482
  unlinkedBy: string | null;
121483
+ imported?: boolean | undefined;
120462
121484
  }[];
120463
121485
  balanceChecks: {
120464
121486
  observedAt: number;
@@ -120508,6 +121530,7 @@ declare const managementResponses: {
120508
121530
  status: "linked" | "unlinked";
120509
121531
  unlinkedAt: number | null;
120510
121532
  unlinkedBy: string | null;
121533
+ imported?: boolean | undefined;
120511
121534
  }[];
120512
121535
  }>>;
120513
121536
  offerSchema: ResponseSchema<ResponseResult<{
@@ -121363,6 +122386,7 @@ declare const managementResponses: {
121363
122386
  original: string | null;
121364
122387
  reason: string;
121365
122388
  actor: string | null;
122389
+ import?: string | null | undefined;
121366
122390
  };
121367
122391
  total: number;
121368
122392
  }>>;
@@ -121420,7 +122444,7 @@ declare const managementResponses: {
121420
122444
  avatar: string | null;
121421
122445
  } | null | undefined;
121422
122446
  setup?: {
121423
- mode: "new" | "existing";
122447
+ mode: "existing" | "new";
121424
122448
  brief: string;
121425
122449
  } | undefined;
121426
122450
  starter?: string | undefined;
@@ -124450,4 +125474,4 @@ declare function managementTransport(options: ManagementTransportOptions): {
124450
125474
  }) => Promise<unknown>;
124451
125475
  };
124452
125476
 
124453
- export { type BalanceCheck as $, APP_KV_LIMIT as A, APP_STORAGE_PREVIEW_CHARACTERS as B, APP_STORAGE_ROW_LIMIT as C, type Access as D, type AccessHistoryQuery as E, type AppSchedule as F, type AppScheduleList as G, type AppSchedules as H, type IdentityKindClaim as I, type AppSecret as J, type AppSecretDeclaration as K, type AppSecretInput as L, type ManagementTransportOptions as M, type AppSecretList as N, type AppStorage as O, type ParticipantRoute as P, type AppStorageCell as Q, REFERRAL_INTEGRATION_REWARD_ERROR as R, type AppStorageKeys as S, type AppStorageKind as T, type AppStorageList as U, type AppStorageRows as V, type AppStorageTables as W, type AppStorageValue as X, type AuditPage as Y, type AuditQuery as Z, type AuditRecord as _, identityIntegrationSchema as a, type Person as a$, type BuildArtifacts as a0, type BuildIdentity as a1, type BuildSnapshot as a2, type BuildStatus as a3, type CompletionRevocation as a4, type CompletionRevocationShortfall as a5, type CompletionRevokeInput as a6, type CredentialSecret as a7, DEFAULT_MANAGEMENT_TIMEOUT as a8, type HostedAppSecrets as a9, type ManagedReleasePage as aA, type ManagedReleaseQuery as aB, type ManagedResource as aC, type ManagedStockItem as aD, type ManagedTelegramAccount as aE, type ManagedWallet as aF, type ManagementCallOptions as aG, type ManagementClient as aH, type ManagementClientOptions as aI, ManagementError as aJ, ManagementErrorCode as aK, type ManagementErrorInit as aL, type ManagementErrorKind as aM, type ManagementPage as aN, type ManagementRawInit as aO, type MemberDetail as aP, type MemberIdentityLink as aQ, type MemberIdentityLinkChangeInput as aR, type MemberIdentitySelector as aS, type MemberIdentitySignInInput as aT, type MemberIdentityState as aU, type MemberIdentityStatePage as aV, type OperatorUser as aW, type ParticipantSignIn as aX, type ParticipantSignInInput as aY, PayoutSourceKind as aZ, type Permission as a_, type HostedBuild as aa, type HostedDeploymentKey as ab, type HostedKey as ac, type HostedKeyPermission as ad, type HostedManagementEnv as ae, type IdentityLinkRelinkInput as af, type InventoryItemAction as ag, type InventoryItemRename as ah, type InventoryItemState as ai, type InventoryStockCorrection as aj, type KnownPayoutSourceKind as ak, type LeaderboardSettlementRejection as al, type LeaderboardSettlementReview as am, type ListQuery as an, type ManagedAttempt as ao, type ManagedAttemptPage as ap, type ManagedAttemptQuery as aq, type ManagedEntitlement as ar, type ManagedEntitlementPage as as, type ManagedEntitlementQuery as at, type ManagedMemberIdentity as au, type ManagedMemberPage as av, type ManagedMemberProgress as aw, type ManagedMemberQuery as ax, type ManagedOAuthAccount as ay, type ManagedQuestEnrollment as az, identityIntegrationSecretSchema as b, appStorageValueSchema as b$, type Project as b0, type ProjectMetrics as b1, type QuestEnrollmentState as b2, type QuestEnrollmentWithdrawalInput as b3, type QuestLifecycle as b4, type QuestLifecycleInput as b5, type ResourceArchiveInput as b6, type ResourceLifecycleInput as b7, RevokedDeliveryOutcome as b8, RevokedEntitlementOutcome as b9, accessHistoryQuerySchema as bA, accessSchema as bB, accountProfileSchema as bC, appIdentitySelectorSchema as bD, appMigrationNameSchema as bE, appRoutingSchema as bF, appScheduleListSchema as bG, appScheduleNameSchema as bH, appSchedulePathSchema as bI, appScheduleRunSchema as bJ, appScheduleSchema as bK, appScheduleStateSchema as bL, appSchedulesSchema as bM, appSecretDeclarationSchema as bN, appSecretDeclarationsSchema as bO, appSecretInputSchema as bP, appSecretListSchema as bQ, appSecretNameSchema as bR, appSecretSchema as bS, appSecretValueSchema as bT, appStorageCellSchema as bU, appStorageKeysSchema as bV, appStorageKindSchema as bW, appStorageListSchema as bX, appStorageRowsSchema as bY, appStorageSchema as bZ, appStorageTablesSchema as b_, RevokedReferralOutcome as ba, type ScheduledInvocation as bb, type ServiceKey as bc, type StagedDeployment as bd, type StagedDeploymentContent as be, type StagingAccess as bf, type StagingAccessInput as bg, type StagingLink as bh, type StarterId as bi, type StarterTemplate as bj, type TestMember as bk, type TestMemberActionInput as bl, type TestMemberAdvanceInput as bm, type TestMemberCreateInput as bn, type TestMemberHistory as bo, type TestMemberHistoryQuery as bp, type TestMemberResetInput as bq, type TestMemberResetResult as br, type TestMemberWallet as bs, type TestMemberWalletLinkInput as bt, type TestMemberWalletUnlinkInput as bu, WEBHOOK_MAX_BYTES as bv, type WalletBalanceChains as bw, type WebhookDeleteInput as bx, type WebhookEndpointState as by, type WebhookEvent as bz, containsReferralIntegrationReward as c, managedQuestEnrollmentPageSchema as c$, assetPathSchema as c0, auditPageSchema as c1, auditQuerySchema as c2, auditRecordSchema as c3, balanceCheckSchema as c4, buildArtifactsSchema as c5, buildIdentitySchema as c6, buildPhaseSchema as c7, buildSnapshotSchema as c8, buildStatusSchema as c9, identityLinkSelectorSchema as cA, ingestTrackerScopeSchema as cB, inventoryItemActionSchema as cC, inventoryItemPageSchema as cD, inventoryItemRenameSchema as cE, inventoryItemStateSchema as cF, inventorySchema as cG, inventoryStockCorrectionSchema as cH, isManagementError as cI, issuedServiceKeySchema as cJ, issuedTokenSchema as cK, leaderboardSettlementRejectionSchema as cL, leaderboardSettlementReviewPageSchema as cM, leaderboardSettlementReviewQuerySchema as cN, leaderboardSettlementReviewSchema as cO, leaderboardSettlementReviewSummarySchema as cP, managedAttemptPageSchema as cQ, managedAttemptQuerySchema as cR, managedAttemptSchema as cS, managedEntitlementPageSchema as cT, managedEntitlementQuerySchema as cU, managedEntitlementSchema as cV, managedMemberIdentitySchema as cW, managedMemberPageSchema as cX, managedMemberProgressSchema as cY, managedMemberQuerySchema as cZ, managedOAuthAccountSchema as c_, commitSchema as ca, compareAppMigrations as cb, completionRevocationSchema as cc, completionRevocationShortfallSchema as cd, completionRevokeSchema as ce, createManagementClient as cf, createRepositorySchema as cg, credentialSecretInputSchema as ch, credentialSecretSchema as ci, developmentPreflightSchema as cj, deviceApproveSchema as ck, deviceRedeemSchema as cl, deviceStartSchema as cm, environmentSchema as cn, grantRecordSchema as co, grantSchema as cp, hostedAppSchema as cq, hostedAppSecretsSchema as cr, hostedBuildSchema as cs, hostedDeploymentKeySchema as ct, hostedKeyPermissions as cu, hostedKeySchema as cv, hostedKeySecretSchema as cw, hostedManagementBindings as cx, hostedManagementClient as cy, identityLinkRelinkInputSchema as cz, identityKindClaimSchema as d, serviceKeySchema as d$, managedQuestEnrollmentSchema as d0, managedReleasePageSchema as d1, managedReleaseQuerySchema as d2, managedResourceSchema as d3, managedStockItemSchema as d4, managedTelegramAccountSchema as d5, managedWalletSchema as d6, managementErrorSchema as d7, managementResponseSchemas as d8, managementResponses as d9, permissionSchema as dA, personSchema as dB, projectDeletionInputSchema as dC, projectDeletionSchema as dD, projectInputSchema as dE, projectMetricsSchema as dF, projectSchema as dG, projectSetupSchema as dH, projectTransferInputSchema as dI, projectTransferSchema as dJ, projectUpdateInputSchema as dK, querySchema as dL, questEnrollmentStateSchema as dM, questEnrollmentWithdrawalInputSchema as dN, questLifecycleInputSchema as dO, questLifecycleSchema as dP, readinessSchema as dQ, repositorySchema as dR, resourceArchiveInputSchema as dS, resourceLifecycleInputSchema as dT, resourceLifecycleKindSchema as dU, resourceLifecyclePaths as dV, resourceLifecycleResultSchema as dW, rolePermissions as dX, roleSchema as dY, scheduledInvocationSchema as dZ, serviceKeyInputSchema as d_, memberAccountSchema as da, memberDetailSchema as db, memberIdentityChangeInputSchema as dc, memberIdentityLinkChangeInputSchema as dd, memberIdentityLinkPageSchema as de, memberIdentityLinkSchema as df, memberIdentitySelectorSchema as dg, memberIdentitySignInInputSchema as dh, memberIdentityStatePageSchema as di, memberIdentityStateSchema as dj, memberLookupSchema as dk, memberOAuthUnlinkInputSchema as dl, memberSchema as dm, memberTelegramUnlinkInputSchema as dn, memberWalletSignInInputSchema as dp, memberWalletUnlinkInputSchema as dq, metricsSchema as dr, nextScheduleRun as ds, oauthIdentitySelectorSchema as dt, operationInputSchema as du, operationSchema as dv, operatorUserSchema as dw, pageSchema as dx, participantSignInInputSchema as dy, participantSignInSchema as dz, isIntegrationParticipantPath as e, stageRequestSchema as e0, stagedDeploymentContentSchema as e1, stagedDeploymentKey as e2, stagedDeploymentLimits as e3, stagedDeploymentSchema as e4, stagingAccessInputSchema as e5, stagingAccessModeSchema as e6, stagingAccessSchema as e7, stagingLinkSchema as e8, stagingPathSchema as e9, webhookControlInputSchema as eA, webhookCreateInputSchema as eB, webhookDeleteInputSchema as eC, webhookDeliveryPageSchema as eD, webhookDeliverySchema as eE, webhookEndpointSchema as eF, webhookEndpointStateSchema as eG, webhookEventSchema as eH, webhookInputSchema as eI, webhookQuerySchema as eJ, webhookRotateInputSchema as eK, webhookSecretSchema as eL, webhookStatePageSchema as eM, webhookStateQuerySchema as eN, webhookUpdateSchema as eO, starterIdSchema as ea, starterTemplates as eb, stockAdditionSchema as ec, stockInputSchema as ed, teamSchema as ee, telegramBotIdSchema as ef, telegramIdentitySelectorSchema as eg, testMemberActionSchema as eh, testMemberAdvanceSchema as ei, testMemberCreateSchema as ej, testMemberHistoryQuerySchema as ek, testMemberHistorySchema as el, testMemberResetResultSchema as em, testMemberResetSchema as en, testMemberSchema as eo, testMemberWalletLinkSchema as ep, testMemberWalletSchema as eq, testMemberWalletUnlinkSchema as er, tokenInputSchema as es, tokenSchema as et, tokenScopeInputSchema as eu, verifiedPassSchema as ev, verifyScheduledRequest as ew, verifyWebhook as ex, walletBalanceChainsSchema as ey, walletIdentitySelectorSchema as ez, isParticipantRoute as f, parseImageResult as g, participantExchangeSchema as h, identityIntegrationInputSchema as i, participantRoutePattern as j, participantRoutes as k, sourceDataSchema as l, managementTransport as m, sourceRoles as n, APP_MIGRATION_FILE_BYTES as o, parseImageExtraction as p, questConfiguration as q, APP_MIGRATION_LIMIT as r, sequenceCursorSchema as s, APP_MIGRATION_TOTAL_BYTES as t, APP_SCHEDULE_LIMIT as u, validateQuestShape as v, APP_SCHEDULE_MIN_INTERVAL as w, APP_SCHEDULE_TIMEOUT as x, APP_SECRET_LIMIT as y, APP_SQL_LIMIT as z };
125477
+ export { type BalanceCheck as $, APP_KV_LIMIT as A, APP_STORAGE_PREVIEW_CHARACTERS as B, APP_STORAGE_ROW_LIMIT as C, type Access as D, type AccessHistoryQuery as E, type AppSchedule as F, type AppScheduleList as G, type AppSchedules as H, type IdentityKindClaim as I, type AppSecret as J, type AppSecretDeclaration as K, type AppSecretInput as L, type ManagementTransportOptions as M, type AppSecretList as N, type AppStorage as O, type ParticipantRoute as P, type AppStorageCell as Q, REFERRAL_INTEGRATION_REWARD_ERROR as R, type AppStorageKeys as S, type AppStorageKind as T, type AppStorageList as U, type AppStorageRows as V, type AppStorageTables as W, type AppStorageValue as X, type AuditPage as Y, type AuditQuery as Z, type AuditRecord as _, identityIntegrationSchema as a, type MemberImportListQuery as a$, type BuildArtifacts as a0, type BuildIdentity as a1, type BuildSnapshot as a2, type BuildStatus as a3, type CompletionRevocation as a4, type CompletionRevocationShortfall as a5, type CompletionRevokeInput as a6, type CredentialSecret as a7, DEFAULT_MANAGEMENT_TIMEOUT as a8, type HostedAppSecrets as a9, type ManagedQuestEnrollment as aA, type ManagedReleasePage as aB, type ManagedReleaseQuery as aC, type ManagedResource as aD, type ManagedStockItem as aE, type ManagedTelegramAccount as aF, type ManagedWallet as aG, type ManagementCallOptions as aH, type ManagementClient as aI, type ManagementClientOptions as aJ, ManagementError as aK, ManagementErrorCode as aL, type ManagementErrorInit as aM, type ManagementErrorKind as aN, type ManagementPage as aO, type ManagementRawInit as aP, type MemberDetail as aQ, type MemberIdentityLink as aR, type MemberIdentityLinkChangeInput as aS, type MemberIdentitySelector as aT, type MemberIdentitySignInInput as aU, type MemberIdentityState as aV, type MemberIdentityStatePage as aW, type MemberImport as aX, type MemberImportAccount as aY, type MemberImportCreateInput as aZ, type MemberImportIdentity as a_, type HostedBuild as aa, type HostedDeploymentKey as ab, type HostedKey as ac, type HostedKeyPermission as ad, type HostedManagementEnv as ae, type IdentityLinkRelinkInput as af, type InventoryItemAction as ag, type InventoryItemRename as ah, type InventoryItemState as ai, type InventoryStockCorrection as aj, type KnownMemberImportRefusalCode as ak, type KnownPayoutSourceKind as al, type LeaderboardSettlementRejection as am, type LeaderboardSettlementReview as an, type ListQuery as ao, type ManagedAttempt as ap, type ManagedAttemptPage as aq, type ManagedAttemptQuery as ar, type ManagedEntitlement as as, type ManagedEntitlementPage as at, type ManagedEntitlementQuery as au, type ManagedMemberIdentity as av, type ManagedMemberPage as aw, type ManagedMemberProgress as ax, type ManagedMemberQuery as ay, type ManagedOAuthAccount as az, identityIntegrationSecretSchema as b, appSecretDeclarationSchema as b$, type MemberImportRefusal as b0, MemberImportRefusalCode as b1, type MemberImportRow as b2, type MemberImportRowInput as b3, type MemberImportRowQuery as b4, type MemberImportRowResult as b5, type MemberImportRowsInput as b6, type MemberImportSummary as b7, type OperatorUser as b8, type ParticipantSignIn as b9, type TestMemberAdvanceInput as bA, type TestMemberCreateInput as bB, type TestMemberHistory as bC, type TestMemberHistoryQuery as bD, type TestMemberResetInput as bE, type TestMemberResetResult as bF, type TestMemberWallet as bG, type TestMemberWalletLinkInput as bH, type TestMemberWalletUnlinkInput as bI, WEBHOOK_MAX_BYTES as bJ, type WalletBalanceChains as bK, type WebhookDeleteInput as bL, type WebhookEndpointState as bM, type WebhookEvent as bN, accessHistoryQuerySchema as bO, accessSchema as bP, accountProfileSchema as bQ, appIdentitySelectorSchema as bR, appMigrationNameSchema as bS, appRoutingSchema as bT, appScheduleListSchema as bU, appScheduleNameSchema as bV, appSchedulePathSchema as bW, appScheduleRunSchema as bX, appScheduleSchema as bY, appScheduleStateSchema as bZ, appSchedulesSchema as b_, type ParticipantSignInInput as ba, PayoutSourceKind as bb, type Permission as bc, type Person as bd, type Project as be, type ProjectMetrics as bf, type QuestEnrollmentState as bg, type QuestEnrollmentWithdrawalInput as bh, type QuestLifecycle as bi, type QuestLifecycleInput as bj, type ResourceArchiveInput as bk, type ResourceLifecycleInput as bl, RevokedDeliveryOutcome as bm, RevokedEntitlementOutcome as bn, RevokedReferralOutcome as bo, type ScheduledInvocation as bp, type ServiceKey as bq, type StagedDeployment as br, type StagedDeploymentContent as bs, type StagingAccess as bt, type StagingAccessInput as bu, type StagingLink as bv, type StarterId as bw, type StarterTemplate as bx, type TestMember as by, type TestMemberActionInput as bz, containsReferralIntegrationReward as c, leaderboardSettlementReviewQuerySchema as c$, appSecretDeclarationsSchema as c0, appSecretInputSchema as c1, appSecretListSchema as c2, appSecretNameSchema as c3, appSecretSchema as c4, appSecretValueSchema as c5, appStorageCellSchema as c6, appStorageKeysSchema as c7, appStorageKindSchema as c8, appStorageListSchema as c9, deviceStartSchema as cA, environmentSchema as cB, grantRecordSchema as cC, grantSchema as cD, hostedAppSchema as cE, hostedAppSecretsSchema as cF, hostedBuildSchema as cG, hostedDeploymentKeySchema as cH, hostedKeyPermissions as cI, hostedKeySchema as cJ, hostedKeySecretSchema as cK, hostedManagementBindings as cL, hostedManagementClient as cM, identityLinkRelinkInputSchema as cN, identityLinkSelectorSchema as cO, ingestTrackerScopeSchema as cP, inventoryItemActionSchema as cQ, inventoryItemPageSchema as cR, inventoryItemRenameSchema as cS, inventoryItemStateSchema as cT, inventorySchema as cU, inventoryStockCorrectionSchema as cV, isManagementError as cW, issuedServiceKeySchema as cX, issuedTokenSchema as cY, leaderboardSettlementRejectionSchema as cZ, leaderboardSettlementReviewPageSchema as c_, appStorageRowsSchema as ca, appStorageSchema as cb, appStorageTablesSchema as cc, appStorageValueSchema as cd, assetPathSchema as ce, auditPageSchema as cf, auditQuerySchema as cg, auditRecordSchema as ch, balanceCheckSchema as ci, buildArtifactsSchema as cj, buildIdentitySchema as ck, buildPhaseSchema as cl, buildSnapshotSchema as cm, buildStatusSchema as cn, commitSchema as co, compareAppMigrations as cp, completionRevocationSchema as cq, completionRevocationShortfallSchema as cr, completionRevokeSchema as cs, createManagementClient as ct, createRepositorySchema as cu, credentialSecretInputSchema as cv, credentialSecretSchema as cw, developmentPreflightSchema as cx, deviceApproveSchema as cy, deviceRedeemSchema as cz, identityKindClaimSchema as d, participantSignInSchema as d$, leaderboardSettlementReviewSchema as d0, leaderboardSettlementReviewSummarySchema as d1, managedAttemptPageSchema as d2, managedAttemptQuerySchema as d3, managedAttemptSchema as d4, managedEntitlementPageSchema as d5, managedEntitlementQuerySchema as d6, managedEntitlementSchema as d7, managedMemberIdentitySchema as d8, managedMemberPageSchema as d9, memberImportActionSchema as dA, memberImportCreateSchema as dB, memberImportIdentitySchema as dC, memberImportListQuerySchema as dD, memberImportPageSchema as dE, memberImportRefusalSchema as dF, memberImportRowPageSchema as dG, memberImportRowQuerySchema as dH, memberImportRowResultSchema as dI, memberImportRowSchema as dJ, memberImportRowsInputSchema as dK, memberImportSchema as dL, memberImportSummarySchema as dM, memberLookupSchema as dN, memberOAuthUnlinkInputSchema as dO, memberSchema as dP, memberTelegramUnlinkInputSchema as dQ, memberWalletSignInInputSchema as dR, memberWalletUnlinkInputSchema as dS, metricsSchema as dT, nextScheduleRun as dU, oauthIdentitySelectorSchema as dV, operationInputSchema as dW, operationSchema as dX, operatorUserSchema as dY, pageSchema as dZ, participantSignInInputSchema as d_, managedMemberProgressSchema as da, managedMemberQuerySchema as db, managedOAuthAccountSchema as dc, managedQuestEnrollmentPageSchema as dd, managedQuestEnrollmentSchema as de, managedReleasePageSchema as df, managedReleaseQuerySchema as dg, managedResourceSchema as dh, managedStockItemSchema as di, managedTelegramAccountSchema as dj, managedWalletSchema as dk, managementErrorSchema as dl, managementResponseSchemas as dm, managementResponses as dn, memberAccountSchema as dp, memberDetailSchema as dq, memberIdentityChangeInputSchema as dr, memberIdentityLinkChangeInputSchema as ds, memberIdentityLinkPageSchema as dt, memberIdentityLinkSchema as du, memberIdentitySelectorSchema as dv, memberIdentitySignInInputSchema as dw, memberIdentityStatePageSchema as dx, memberIdentityStateSchema as dy, memberImportAccountSchema as dz, isIntegrationParticipantPath as e, walletIdentitySelectorSchema as e$, permissionSchema as e0, personSchema as e1, projectDeletionInputSchema as e2, projectDeletionSchema as e3, projectInputSchema as e4, projectMetricsSchema as e5, projectSchema as e6, projectSetupSchema as e7, projectTransferInputSchema as e8, projectTransferSchema as e9, stagingLinkSchema as eA, stagingPathSchema as eB, starterIdSchema as eC, starterTemplates as eD, stockAdditionSchema as eE, stockInputSchema as eF, teamSchema as eG, telegramBotIdSchema as eH, telegramIdentitySelectorSchema as eI, testMemberActionSchema as eJ, testMemberAdvanceSchema as eK, testMemberCreateSchema as eL, testMemberHistoryQuerySchema as eM, testMemberHistorySchema as eN, testMemberResetResultSchema as eO, testMemberResetSchema as eP, testMemberSchema as eQ, testMemberWalletLinkSchema as eR, testMemberWalletSchema as eS, testMemberWalletUnlinkSchema as eT, tokenInputSchema as eU, tokenSchema as eV, tokenScopeInputSchema as eW, verifiedPassSchema as eX, verifyScheduledRequest as eY, verifyWebhook as eZ, walletBalanceChainsSchema as e_, projectUpdateInputSchema as ea, querySchema as eb, questEnrollmentStateSchema as ec, questEnrollmentWithdrawalInputSchema as ed, questLifecycleInputSchema as ee, questLifecycleSchema as ef, readinessSchema as eg, repositorySchema as eh, resourceArchiveInputSchema as ei, resourceLifecycleInputSchema as ej, resourceLifecycleKindSchema as ek, resourceLifecyclePaths as el, resourceLifecycleResultSchema as em, rolePermissions as en, roleSchema as eo, scheduledInvocationSchema as ep, serviceKeyInputSchema as eq, serviceKeySchema as er, stageRequestSchema as es, stagedDeploymentContentSchema as et, stagedDeploymentKey as eu, stagedDeploymentLimits as ev, stagedDeploymentSchema as ew, stagingAccessInputSchema as ex, stagingAccessModeSchema as ey, stagingAccessSchema as ez, isParticipantRoute as f, webhookControlInputSchema as f0, webhookCreateInputSchema as f1, webhookDeleteInputSchema as f2, webhookDeliveryPageSchema as f3, webhookDeliverySchema as f4, webhookEndpointSchema as f5, webhookEndpointStateSchema as f6, webhookEventSchema as f7, webhookInputSchema as f8, webhookQuerySchema as f9, webhookRotateInputSchema as fa, webhookSecretSchema as fb, webhookStatePageSchema as fc, webhookStateQuerySchema as fd, webhookUpdateSchema as fe, parseImageResult as g, participantExchangeSchema as h, identityIntegrationInputSchema as i, participantRoutePattern as j, participantRoutes as k, sourceDataSchema as l, managementTransport as m, sourceRoles as n, APP_MIGRATION_FILE_BYTES as o, parseImageExtraction as p, questConfiguration as q, APP_MIGRATION_LIMIT as r, sequenceCursorSchema as s, APP_MIGRATION_TOTAL_BYTES as t, APP_SCHEDULE_LIMIT as u, validateQuestShape as v, APP_SCHEDULE_MIN_INTERVAL as w, APP_SCHEDULE_TIMEOUT as x, APP_SECRET_LIMIT as y, APP_SQL_LIMIT as z };