@domino-sdk/relay 1.63.0 → 1.66.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 (69) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/{accounts-nz3mzfRQ.d.ts → accounts-_lNsiR2k.d.ts} +22 -2
  3. package/dist/{attempt-captures-DMi8oR9T.d.ts → attempt-captures-BqPggxTU.d.ts} +1 -1
  4. package/dist/authoring.d.ts +11 -11
  5. package/dist/authoring.js +15 -20
  6. package/dist/{automatic-outcomes-C_LLQU1p.d.ts → automatic-outcomes-BzAvfcpd.d.ts} +2 -2
  7. package/dist/browser.d.ts +9 -9
  8. package/dist/browser.js +11 -14
  9. package/dist/{catalog-BaTOKpNw.d.ts → catalog-ByZMRS7I.d.ts} +1 -1
  10. package/dist/{chunk-MTKRIQEU.js → chunk-2HHZV7U3.js} +1 -1
  11. package/dist/{chunk-ICXZZNPS.js → chunk-5BMZZDGY.js} +1 -1
  12. package/dist/{chunk-7Z4SZ6YM.js → chunk-5DYS2OIP.js} +1 -1
  13. package/dist/{chunk-QR6HH4DI.js → chunk-5LD5DKOM.js} +4 -4
  14. package/dist/chunk-7MQCQYEE.js +405 -0
  15. package/dist/{chunk-7X67QLPB.js → chunk-ANVAUOJP.js} +1 -1
  16. package/dist/{chunk-AQOL3SK5.js → chunk-BQXRCJ3N.js} +1 -1
  17. package/dist/{chunk-EHUSD3O2.js → chunk-CGUL4MRE.js} +2 -4
  18. package/dist/chunk-CJDB6W6I.js +1510 -0
  19. package/dist/{chunk-GLH6MEI2.js → chunk-FGXLXENM.js} +29 -3
  20. package/dist/{chunk-N4LNEGQX.js → chunk-FU3W4IQN.js} +2 -2
  21. package/dist/{chunk-NQDEWJWE.js → chunk-KHXCURXB.js} +6 -232
  22. package/dist/{chunk-4GQW43UU.js → chunk-M66Y5OMJ.js} +26 -30
  23. package/dist/{chunk-VWQGWGCH.js → chunk-OWDIR7ZU.js} +1 -1
  24. package/dist/{chunk-5XLZ34PV.js → chunk-PNVQ4RBG.js} +3 -3
  25. package/dist/{chunk-FU5CGNTR.js → chunk-QYHEHMCG.js} +44 -5
  26. package/dist/{chunk-LZWXCBUB.js → chunk-QZNLSK4U.js} +41 -45
  27. package/dist/{chunk-3RFP6GT5.js → chunk-TCYDFNV4.js} +2 -2
  28. package/dist/{chunk-ID3BZXFZ.js → chunk-XCEGNKGH.js} +1939 -1211
  29. package/dist/{client-DHmG7rn6.d.ts → client-Cze4lfwA.d.ts} +13 -8
  30. package/dist/{dashboards-CLemT6kj.d.ts → dashboards-pVfclkyh.d.ts} +2 -2
  31. package/dist/{deployments-DTULi7dF.d.ts → deployments-Cr1tfqrr.d.ts} +2 -2
  32. package/dist/{identity-integration-DOeNZaxF.d.ts → identity-integration-Ci2vGKtX.d.ts} +37 -2
  33. package/dist/index.d.ts +10 -10
  34. package/dist/index.js +11 -15
  35. package/dist/internal.d.ts +12 -12
  36. package/dist/internal.js +21 -16
  37. package/dist/{limits-kNzYdZ00.d.ts → limits-pE04y9O2.d.ts} +8 -1
  38. package/dist/{offers-CYeN_I0Y.d.ts → offers-Hw2P6tcK.d.ts} +2 -2
  39. package/dist/{participant-activity-D-Drp24G.d.ts → participant-activity-DXRq4s6K.d.ts} +1 -0
  40. package/dist/portal-proxy.d.ts +4 -2
  41. package/dist/portal-proxy.js +13 -5
  42. package/dist/react/index.d.ts +20 -13
  43. package/dist/react/index.js +11 -14
  44. package/dist/{reward-deliveries-drp-x1G-.d.ts → reward-deliveries-BCV8hznc.d.ts} +1 -1
  45. package/dist/runtime/authoring.js +1 -1
  46. package/dist/runtime/chunks/C5V267I7.js +1 -0
  47. package/dist/runtime/manifest.json +3 -3
  48. package/dist/runtime/schema.js +1 -1
  49. package/dist/schema.d.ts +19 -16
  50. package/dist/schema.js +109 -112
  51. package/dist/server/index.d.ts +11 -11
  52. package/dist/server/index.js +800 -1041
  53. package/dist/{sign-in-providers-B1Q9eDRm.d.ts → sign-in-providers-BAkGjSXo.d.ts} +2 -2
  54. package/dist/{submission-input-DZCbjQUH.d.ts → submission-input-ChL1aYNH.d.ts} +2 -2
  55. package/dist/{telegram-browser-NL0Asmsi.d.ts → telegram-browser-BFs4u7lC.d.ts} +4 -4
  56. package/dist/telegram.d.ts +8 -8
  57. package/dist/telegram.js +2 -2
  58. package/dist/testing.d.ts +10 -10
  59. package/dist/testing.js +19 -23
  60. package/dist/{tracker-data-esm3WG8R.d.ts → tracker-data-Bl-qPIvZ.d.ts} +3 -1
  61. package/dist/{transport-Czht_irp.d.ts → transport-WE49Ta3A.d.ts} +1116 -19
  62. package/package.json +1 -1
  63. package/dist/chunk-4NOFSGAL.js +0 -320
  64. package/dist/chunk-FO2LCZTL.js +0 -19
  65. package/dist/chunk-KP2MCX3R.js +0 -587
  66. package/dist/chunk-N4BDKS6Y.js +0 -87
  67. package/dist/chunk-TLSQETTY.js +0 -41
  68. package/dist/chunk-W7YSMSGC.js +0 -725
  69. package/dist/runtime/chunks/UGDV5W4N.js +0 -1
@@ -1,18 +1,18 @@
1
1
  import * as z from 'zod';
2
2
  import { z as z$1 } from 'zod';
3
- import { aX as PublishedRelease, b as AttemptStatus, V as AttemptCodeSource, J as SignInProvider, ap as CompletionSourceKind, aW as ProjectIntegration, W as IntegrationModuleProvider, X as RewardType, b4 as QuestSubmissionStatus, du as questSettingsInputSchema, cT as memberCampaignEnrollmentInputSchema, cU as memberCampaignWithdrawalInputSchema, bz as createStockItemSchema, bt as configurePickupSchema, c1 as entitlementCorrectionSchema, bl as beginHandoverSchema, bu as confirmHandoverSchema, al as submitSchema, e2 as staffDecisionSchema, cc as evidenceRetentionInputSchema, aC as GroupPageQuery, B as ProjectGroupReference, bx as createGroupSchema, ee as updateGroupSchema, cP as managedGroupSchema, ay as GroupArchiveInput, bc as addGroupMemberSchema, dO as removeGroupMemberSchema, cE as leaderboardQuerySchema, ct as leaderboardExclusionSchema, cr as leaderboardExclusionGroupBindingSchema, cu as leaderboardGroupSchema, cG as leaderboardSettlementApprovalSchema, dH as referralManagementSchema, dM as referralSuspensionSchema, dI as referralQualificationSchema, dK as referralRewardResolutionSchema, dE as referralControlSchema, by as createPointLedgerSchema, de as pointsMutationSchema, aQ as ManagedPointHistoryPage, d9 as pointLedgerPropertiesSchema, db as pointLedgerSchema, cR as managedPointLedgerSchema, an as contentPerformanceQuerySchema, bP as engagementChangePreviewInputSchema, bR as engagementChangeSchema, c0 as engagementVersionQuerySchema, am as engagementPageQuerySchema, bV as engagementPublishSchema, aZ as QuestDescription } from './accounts-nz3mzfRQ.js';
4
- import { q as MemberImportCreateInput, r as MemberImportRefusalCode, s as MemberImportState, t as MemberImportListQuery, u as MemberImportRowQuery, v as MemberImportFullRowInput, w as MemberImportRevertInput, g as identityIntegrationInputSchema, i as identityIntegrationAccountVouchingInputSchema } from './identity-integration-DOeNZaxF.js';
5
- import { x as ManagementStateQuery, a3 as memberEnrollmentInputSchema, e as CreatorAccountProvider, M as MemberConsent, _ as memberConsentHistoryQuerySchema, y as MemberConsentHistory, u as RewardDeliveryAction, i as PageQuery, t as contentQualificationQuerySchema, q as ResponseSchema, r as RewardDeliveryQuery, s as RewardDeliveryPage, R as ResponseResult } from './reward-deliveries-drp-x1G-.js';
6
- import { S as SkipEnrollment, O as OpenIdentityKind, i as TrackerDataSchema, al as TrackerQuery, aW as trackerContentReadSchema, aZ as trackerControlSchema, b5 as trackerIngestSchema, ai as TrackerOutcomeQuery, ar as TrackerTriggerOutcomeQuery, b8 as trackerOutcomeRetrySchema, ak as TrackerPreviewInput, aI as managedTrackerCreateSchema, bu as trackerUpdateSchema, m as TrackerSource, ao as TrackerSourceResponse, d as trackerDataIssue$1, e as trackerDataIssues$1, w as whereSchemaIssue$1 } from './tracker-data-esm3WG8R.js';
3
+ import { aX as PublishedRelease, b as AttemptStatus, V as AttemptCodeSource, J as SignInProvider, ap as CompletionSourceKind, aW as ProjectIntegration, W as IntegrationModuleProvider, X as RewardType, b4 as QuestSubmissionStatus, dw as questSettingsInputSchema, cV as memberCampaignEnrollmentInputSchema, cW as memberCampaignWithdrawalInputSchema, bz as createStockItemSchema, bt as configurePickupSchema, c1 as entitlementCorrectionSchema, bl as beginHandoverSchema, bu as confirmHandoverSchema, al as submitSchema, e4 as staffDecisionSchema, cc as evidenceRetentionInputSchema, ce as evidenceRetentionSettingInputSchema, aC as GroupPageQuery, B as ProjectGroupReference, bx as createGroupSchema, eg as updateGroupSchema, cR as managedGroupSchema, ay as GroupArchiveInput, bc as addGroupMemberSchema, dQ as removeGroupMemberSchema, cG as leaderboardQuerySchema, cv as leaderboardExclusionSchema, ct as leaderboardExclusionGroupBindingSchema, cw as leaderboardGroupSchema, cI as leaderboardSettlementApprovalSchema, dJ as referralManagementSchema, dO as referralSuspensionSchema, dK as referralQualificationSchema, dM as referralRewardResolutionSchema, dG as referralControlSchema, by as createPointLedgerSchema, dg as pointsMutationSchema, aQ as ManagedPointHistoryPage, db as pointLedgerPropertiesSchema, dd as pointLedgerSchema, cT as managedPointLedgerSchema, an as contentPerformanceQuerySchema, bP as engagementChangePreviewInputSchema, bR as engagementChangeSchema, c0 as engagementVersionQuerySchema, am as engagementPageQuerySchema, bV as engagementPublishSchema, aZ as QuestDescription } from './accounts-_lNsiR2k.js';
4
+ import { s as MemberImportCreateInput, t as MemberImportRefusalCode, u as MemberImportState, v as MemberImportListQuery, w as MemberImportRowQuery, x as MemberImportFullRowInput, y as MemberImportRevertInput, j as identityIntegrationInputSchema, i as identityIntegrationAccountVouchingInputSchema } from './identity-integration-Ci2vGKtX.js';
5
+ import { x as ManagementStateQuery, a3 as memberEnrollmentInputSchema, e as CreatorAccountProvider, M as MemberConsent, _ as memberConsentHistoryQuerySchema, y as MemberConsentHistory, u as RewardDeliveryAction, i as PageQuery, t as contentQualificationQuerySchema, q as ResponseSchema, r as RewardDeliveryQuery, s as RewardDeliveryPage, R as ResponseResult } from './reward-deliveries-BCV8hznc.js';
6
+ import { S as SkipEnrollment, O as OpenIdentityKind, i as TrackerDataSchema, al as TrackerQuery, aW as trackerContentReadSchema, aZ as trackerControlSchema, b5 as trackerIngestSchema, ai as TrackerOutcomeQuery, ar as TrackerTriggerOutcomeQuery, b8 as trackerOutcomeRetrySchema, ak as TrackerPreviewInput, aI as managedTrackerCreateSchema, bu as trackerUpdateSchema, m as TrackerSource, ao as TrackerSourceResponse, d as trackerDataIssue$1, e as trackerDataIssues$1, w as whereSchemaIssue$1 } from './tracker-data-Bl-qPIvZ.js';
7
7
  import { R as RequestError, b as RequestErrorKind } from './request-error-D_dUPLwo.js';
8
8
  import { O as OptionalActionId } from './action-9Xl0StBg.js';
9
- 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-kNzYdZ00.js';
9
+ 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-pE04y9O2.js';
10
10
  import { S as SolanaIdlSource, aP as profileSettingsInputSchema, aN as profileModerationSchema } from './wallet-B7e06v4m.js';
11
- 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-C_LLQU1p.js';
12
- 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-DTULi7dF.js';
13
- import { y as offerControlSchema, F as redemptionCancellationSchema, j as RedemptionQuery, q as createBadgeSchema, n as badgeMutationSchema, o as badgePropertiesSchema } from './offers-CYeN_I0Y.js';
14
- import { f as allocateQuestSchema, i as catalogDeploymentSchema, z as saveQuestDraftSchema, p as publishQuestDraftSchema } from './catalog-BaTOKpNw.js';
15
- import './attempt-captures-DMi8oR9T.js';
11
+ 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-BzAvfcpd.js';
12
+ 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-Cr1tfqrr.js';
13
+ import { y as offerControlSchema, F as redemptionCancellationSchema, j as RedemptionQuery, q as createBadgeSchema, n as badgeMutationSchema, o as badgePropertiesSchema } from './offers-Hw2P6tcK.js';
14
+ import { f as allocateQuestSchema, i as catalogDeploymentSchema, z as saveQuestDraftSchema, p as publishQuestDraftSchema } from './catalog-ByZMRS7I.js';
15
+ import './attempt-captures-BqPggxTU.js';
16
16
 
17
17
  /** Older releases did not record ownership. Preserve every value, including defaults. */
18
18
  declare function questConfiguration(release: Pick<PublishedRelease, "configuration" | "fields" | "values">): NonNullable<PublishedRelease["configuration"]>;
@@ -661,6 +661,232 @@ declare const memberAccountUnlinkInputSchema: z.ZodObject<{
661
661
  /** @compat input */
662
662
  type MemberAccountUnlinkInput = z.input<typeof memberAccountUnlinkInputSchema>;
663
663
 
664
+ /**
665
+ * What banning a member takes back, chosen at ban time; each defaults to false, so a plain ban only
666
+ * blocks. Reversing referral payouts or point awards also needs `publish` permission.
667
+ *
668
+ * - `completions`: revokes every completion the member holds, through the completion revocation
669
+ * path. Occurrences stay held, so the member cannot earn them again; their points, the inviter's
670
+ * percentage bonus on them and the referral qualifications they carry are reversed.
671
+ * - `referralPayouts`: reverses the referral payouts the member received, as an inviter or as an
672
+ * invited friend, and writes them off so they are not paid again.
673
+ * - `pointAwards`: reverses manual awards, imported opening balances and engagement payouts.
674
+ *
675
+ * @experimental A minor release can change member bans.
676
+ */
677
+ declare const memberBanRollbackSchema: z.ZodObject<{
678
+ completions: z.ZodDefault<z.ZodBoolean>;
679
+ referralPayouts: z.ZodDefault<z.ZodBoolean>;
680
+ pointAwards: z.ZodDefault<z.ZodBoolean>;
681
+ }, z.core.$strict>;
682
+ /** @compat input */
683
+ type MemberBanRollbackInput = z.input<typeof memberBanRollbackSchema>;
684
+ /**
685
+ * Bans a member (`members.ban`), with a reason operators read in the audit history and member
686
+ * reads; the member never sees it. `rollback` defaults to taking nothing back.
687
+ *
688
+ * @experimental A minor release can change member bans.
689
+ */
690
+ declare const memberBanInputSchema: z.ZodObject<{
691
+ actionId: z.ZodString;
692
+ reason: z.ZodString;
693
+ rollback: z.ZodOptional<z.ZodObject<{
694
+ completions: z.ZodDefault<z.ZodBoolean>;
695
+ referralPayouts: z.ZodDefault<z.ZodBoolean>;
696
+ pointAwards: z.ZodDefault<z.ZodBoolean>;
697
+ }, z.core.$strict>>;
698
+ }, z.core.$strict>;
699
+ /** @compat input */
700
+ type MemberBanInput = z.input<typeof memberBanInputSchema>;
701
+ /**
702
+ * The dry run of a ban (`members.previewBan`): what banning with `rollback` would take back now.
703
+ *
704
+ * @experimental A minor release can change member bans.
705
+ */
706
+ declare const memberBanPreviewInputSchema: z.ZodObject<{
707
+ rollback: z.ZodOptional<z.ZodObject<{
708
+ completions: z.ZodDefault<z.ZodBoolean>;
709
+ referralPayouts: z.ZodDefault<z.ZodBoolean>;
710
+ pointAwards: z.ZodDefault<z.ZodBoolean>;
711
+ }, z.core.$strict>>;
712
+ }, z.core.$strict>;
713
+ /** @compat input */
714
+ type MemberBanPreviewInput = z.input<typeof memberBanPreviewInputSchema>;
715
+ /**
716
+ * Lifts a member's ban (`members.unban`). `restoreCompletions` restores the completions the ban's
717
+ * rollback revoked, through the completion restore path; reversed referral payouts and point
718
+ * awards stay reversed.
719
+ *
720
+ * @experimental A minor release can change member bans.
721
+ */
722
+ declare const memberUnbanInputSchema: z.ZodObject<{
723
+ actionId: z.ZodString;
724
+ reason: z.ZodString;
725
+ restoreCompletions: z.ZodDefault<z.ZodBoolean>;
726
+ }, z.core.$strict>;
727
+ /** @compat input */
728
+ type MemberUnbanInput = z.input<typeof memberUnbanInputSchema>;
729
+ /**
730
+ * What a ban's rollback, or an unban's restore, did, summed over its steps. `points` is the
731
+ * member's own points per ledger: what was taken back, and what was not because the member
732
+ * already spent it (balances never go negative). `referralDebt` is referral payouts the member
733
+ * could not repay, kept as a referral correction that later referral payouts in that ledger pay
734
+ * off. `completionsKept` lists completions a step could not revoke or restore, with the refusal
735
+ * code, such as `occurrence-taken`.
736
+ *
737
+ * @experimental A minor release can change member bans.
738
+ */
739
+ declare const memberBanOutcomeSchema: z.ZodObject<{
740
+ attemptsRejected: z.ZodNumber;
741
+ completionsRevoked: z.ZodNumber;
742
+ completionsRestored: z.ZodNumber;
743
+ completionsKept: z.ZodArray<z.ZodObject<{
744
+ completion: z.ZodString;
745
+ code: z.ZodString;
746
+ }, z.core.$strip>>;
747
+ entriesReversed: z.ZodNumber;
748
+ referralAccounts: z.ZodNumber;
749
+ points: z.ZodArray<z.ZodObject<{
750
+ ledger: z.ZodString;
751
+ reversed: z.ZodNumber;
752
+ unreversed: z.ZodNumber;
753
+ }, z.core.$strip>>;
754
+ referralDebt: z.ZodArray<z.ZodObject<{
755
+ ledger: z.ZodString;
756
+ amount: z.ZodNumber;
757
+ }, z.core.$strip>>;
758
+ }, z.core.$strip>;
759
+ /** @compat output */
760
+ type MemberBanOutcome = z.infer<typeof memberBanOutcomeSchema>;
761
+ /**
762
+ * Where a ban's rollback, or an unban's restore, stands: `running` while its workflow works
763
+ * through the member a step at a time, `finished` when it is done, `stopped` when an unban
764
+ * ended the rollback before it finished. An open string: a newer Relay may add one.
765
+ *
766
+ * @compat open
767
+ */
768
+ type KnownMemberBanRunStatus = "running" | "finished" | "stopped";
769
+ /** A known status, or one a newer Relay sends. */
770
+ type MemberBanRunStatus = KnownMemberBanRunStatus | (string & {});
771
+ /**
772
+ * One ban of one member in this project and environment. While `unban` is null the ban is in
773
+ * force: the member's attempts, completions and invitations are refused with `member-banned`,
774
+ * leaderboards and settlements leave them out, and referral payouts to and from them stop. The
775
+ * rollback rejects attempts waiting for a decision, then takes back what `rollback` chose. Times are
776
+ * Unix milliseconds; `bannedBy` and `unban.by` name the operator, null for a system actor.
777
+ *
778
+ * @experimental A minor release can change member bans.
779
+ */
780
+ declare const memberBanSchema: z.ZodObject<{
781
+ id: z.ZodString;
782
+ member: z.ZodString;
783
+ reason: z.ZodString;
784
+ bannedAt: z.ZodNumber;
785
+ bannedBy: z.ZodNullable<z.ZodString>;
786
+ rollback: z.ZodObject<{
787
+ status: z.ZodType<MemberBanRunStatus, unknown, z.core.$ZodTypeInternals<MemberBanRunStatus, unknown>>;
788
+ finishedAt: z.ZodNullable<z.ZodNumber>;
789
+ outcome: z.ZodNullable<z.ZodObject<{
790
+ attemptsRejected: z.ZodNumber;
791
+ completionsRevoked: z.ZodNumber;
792
+ completionsRestored: z.ZodNumber;
793
+ completionsKept: z.ZodArray<z.ZodObject<{
794
+ completion: z.ZodString;
795
+ code: z.ZodString;
796
+ }, z.core.$strip>>;
797
+ entriesReversed: z.ZodNumber;
798
+ referralAccounts: z.ZodNumber;
799
+ points: z.ZodArray<z.ZodObject<{
800
+ ledger: z.ZodString;
801
+ reversed: z.ZodNumber;
802
+ unreversed: z.ZodNumber;
803
+ }, z.core.$strip>>;
804
+ referralDebt: z.ZodArray<z.ZodObject<{
805
+ ledger: z.ZodString;
806
+ amount: z.ZodNumber;
807
+ }, z.core.$strip>>;
808
+ }, z.core.$strip>>;
809
+ completions: z.ZodBoolean;
810
+ referralPayouts: z.ZodBoolean;
811
+ pointAwards: z.ZodBoolean;
812
+ }, z.core.$strip>;
813
+ unban: z.ZodNullable<z.ZodObject<{
814
+ reason: z.ZodString;
815
+ unbannedAt: z.ZodNumber;
816
+ by: z.ZodNullable<z.ZodString>;
817
+ restoreCompletions: z.ZodBoolean;
818
+ restore: z.ZodNullable<z.ZodObject<{
819
+ status: z.ZodType<MemberBanRunStatus, unknown, z.core.$ZodTypeInternals<MemberBanRunStatus, unknown>>;
820
+ finishedAt: z.ZodNullable<z.ZodNumber>;
821
+ outcome: z.ZodNullable<z.ZodObject<{
822
+ attemptsRejected: z.ZodNumber;
823
+ completionsRevoked: z.ZodNumber;
824
+ completionsRestored: z.ZodNumber;
825
+ completionsKept: z.ZodArray<z.ZodObject<{
826
+ completion: z.ZodString;
827
+ code: z.ZodString;
828
+ }, z.core.$strip>>;
829
+ entriesReversed: z.ZodNumber;
830
+ referralAccounts: z.ZodNumber;
831
+ points: z.ZodArray<z.ZodObject<{
832
+ ledger: z.ZodString;
833
+ reversed: z.ZodNumber;
834
+ unreversed: z.ZodNumber;
835
+ }, z.core.$strip>>;
836
+ referralDebt: z.ZodArray<z.ZodObject<{
837
+ ledger: z.ZodString;
838
+ amount: z.ZodNumber;
839
+ }, z.core.$strip>>;
840
+ }, z.core.$strip>>;
841
+ }, z.core.$strip>>;
842
+ }, z.core.$strip>>;
843
+ }, z.core.$strip>;
844
+ /** @compat output */
845
+ type MemberBan = z.infer<typeof memberBanSchema>;
846
+ /**
847
+ * What banning the member with the previewed rollback would do now. Amounts are points, per
848
+ * ledger, computed from current balances in the order the rollback runs (completions, point
849
+ * awards, then referral payouts); the ban's own outcome records what it actually took.
850
+ *
851
+ * - `attempts`: attempts waiting for a decision that the ban rejects.
852
+ * - `completions`: completions the rollback revokes.
853
+ * - `points[].reversed` is taken back; `unreversed` stays because the member spent it, and
854
+ * `referralDebt` is the part of `referralPayouts` kept as a referral correction instead.
855
+ * - `inviters`: the member's inviter, whose percentage bonuses and rewards on the member are
856
+ * corrected, with the part their free points cover now and the part kept as referral debt.
857
+ *
858
+ * @experimental A minor release can change member bans.
859
+ */
860
+ declare const memberBanPreviewSchema: z.ZodObject<{
861
+ member: z.ZodString;
862
+ banned: z.ZodBoolean;
863
+ attempts: z.ZodNumber;
864
+ completions: z.ZodNumber;
865
+ entries: z.ZodNumber;
866
+ referralAccounts: z.ZodNumber;
867
+ points: z.ZodArray<z.ZodObject<{
868
+ ledger: z.ZodString;
869
+ completions: z.ZodNumber;
870
+ pointAwards: z.ZodNumber;
871
+ referralPayouts: z.ZodNumber;
872
+ available: z.ZodNumber;
873
+ reversed: z.ZodNumber;
874
+ unreversed: z.ZodNumber;
875
+ referralDebt: z.ZodNumber;
876
+ }, z.core.$strip>>;
877
+ inviters: z.ZodArray<z.ZodObject<{
878
+ member: z.ZodString;
879
+ ledgers: z.ZodArray<z.ZodObject<{
880
+ ledger: z.ZodString;
881
+ bonus: z.ZodNumber;
882
+ reversed: z.ZodNumber;
883
+ referralDebt: z.ZodNumber;
884
+ }, z.core.$strip>>;
885
+ }, z.core.$strip>>;
886
+ }, z.core.$strip>;
887
+ /** @compat output */
888
+ type MemberBanPreview = z.infer<typeof memberBanPreviewSchema>;
889
+
664
890
  /**
665
891
  * A plugin's ID: kebab-case, such as `klaviyo`.
666
892
  *
@@ -828,7 +1054,8 @@ declare const connectionAuthorizeInputSchema: z$1.ZodObject<{
828
1054
  type ConnectionAuthorizeInput = z$1.input<typeof connectionAuthorizeInputSchema>;
829
1055
  /**
830
1056
  * Where a person consents to the connection at the vendor. The URL works once, until `expiresAt`
831
- * (epoch milliseconds); the connection becomes `ready` when the vendor sends them back.
1057
+ * (epoch milliseconds). The vendor sends the browser back to Console, which finishes the
1058
+ * connection (`completeAuthorization`) as the person who started it.
832
1059
  *
833
1060
  * @experimental
834
1061
  */
@@ -841,6 +1068,19 @@ declare const connectionAuthorizationSchema: z$1.ZodObject<{
841
1068
  * @compat output
842
1069
  */
843
1070
  type ConnectionAuthorization = z$1.infer<typeof connectionAuthorizationSchema>;
1071
+ /**
1072
+ * The one-time code the vendor's callback adds to the Console page it returns to, as `oauthCode`.
1073
+ *
1074
+ * @experimental
1075
+ */
1076
+ declare const connectionAuthorizationCompleteInputSchema: z$1.ZodObject<{
1077
+ code: z$1.ZodString;
1078
+ }, z$1.core.$strict>;
1079
+ /**
1080
+ * @experimental
1081
+ * @compat input
1082
+ */
1083
+ type ConnectionAuthorizationCompleteInput = z$1.input<typeof connectionAuthorizationCompleteInputSchema>;
844
1084
  /**
845
1085
  * What `management.connections.update()` changes: the whole config, some secrets, or both. Secret
846
1086
  * fields it leaves out keep their values.
@@ -4255,6 +4495,64 @@ declare const appStorageCellPageSchema: z.ZodObject<{
4255
4495
  nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4256
4496
  }, z.core.$strip>;
4257
4497
  type AppStorageCellPage = z.infer<typeof appStorageCellPageSchema>;
4498
+ /**
4499
+ * Which SQL tables a test clear empties: the named `tables`, or with `allTables` every table except
4500
+ * `keepTables`. `d1_migrations`, SQLite's and D1's own tables are never cleared, and the schema stays.
4501
+ * `dryRun` only counts the rows.
4502
+ */
4503
+ declare const appStorageSqlClearSchema: z.ZodUnion<readonly [z.ZodObject<{
4504
+ dryRun: z.ZodOptional<z.ZodBoolean>;
4505
+ tables: z.ZodArray<z.ZodString>;
4506
+ }, z.core.$strict>, z.ZodObject<{
4507
+ dryRun: z.ZodOptional<z.ZodBoolean>;
4508
+ allTables: z.ZodLiteral<true>;
4509
+ keepTables: z.ZodOptional<z.ZodArray<z.ZodString>>;
4510
+ }, z.core.$strict>]>;
4511
+ /** `storage.clear("sql", …)`'s input: the tables a test clear empties. */
4512
+ type AppStorageSqlClear = z.infer<typeof appStorageSqlClearSchema>;
4513
+ /** Which KV keys a test clear deletes: those under `prefix`, or with `all` every key. */
4514
+ declare const appStorageKvClearSchema: z.ZodUnion<readonly [z.ZodObject<{
4515
+ dryRun: z.ZodOptional<z.ZodBoolean>;
4516
+ prefix: z.ZodString;
4517
+ }, z.core.$strict>, z.ZodObject<{
4518
+ dryRun: z.ZodOptional<z.ZodBoolean>;
4519
+ all: z.ZodLiteral<true>;
4520
+ }, z.core.$strict>]>;
4521
+ /** `storage.clear("kv", …)`'s input: the keys a test clear deletes. */
4522
+ type AppStorageKvClear = z.infer<typeof appStorageKvClearSchema>;
4523
+ /** What a SQL test clear emptied, or a dry run counted. */
4524
+ declare const appStorageSqlClearResultSchema: z.ZodObject<{
4525
+ environment: z.ZodString;
4526
+ kind: z.ZodLiteral<"sql">;
4527
+ store: z.ZodString;
4528
+ dryRun: z.ZodBoolean;
4529
+ tables: z.ZodArray<z.ZodObject<{
4530
+ name: z.ZodString;
4531
+ rows: z.ZodNumber;
4532
+ }, z.core.$strip>>;
4533
+ }, z.core.$strip>;
4534
+ /**
4535
+ * What a SQL test clear emptied, or a dry run counted.
4536
+ *
4537
+ * @compat output
4538
+ */
4539
+ type AppStorageSqlClearResult = z.infer<typeof appStorageSqlClearResultSchema>;
4540
+ /** What one KV test clear call deleted, or a dry run counted, and whether keys remain. */
4541
+ declare const appStorageKvClearResultSchema: z.ZodObject<{
4542
+ environment: z.ZodString;
4543
+ kind: z.ZodLiteral<"kv">;
4544
+ store: z.ZodString;
4545
+ dryRun: z.ZodBoolean;
4546
+ prefix: z.ZodString;
4547
+ keys: z.ZodNumber;
4548
+ complete: z.ZodBoolean;
4549
+ }, z.core.$strip>;
4550
+ /**
4551
+ * What one KV test clear call deleted, or a dry run counted, and whether keys remain.
4552
+ *
4553
+ * @compat output
4554
+ */
4555
+ type AppStorageKvClearResult = z.infer<typeof appStorageKvClearResultSchema>;
4258
4556
  declare const appMigrationNameSchema: z.ZodString;
4259
4557
  /** Wrangler compares the leading number first, then the filename (workers-sdk d1/migrations/helpers.ts). */
4260
4558
  declare function compareAppMigrations(a: string, b: string): number;
@@ -4918,7 +5216,7 @@ declare const buildArtifactsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4918
5216
  }, z.core.$strict>], "format">;
4919
5217
  type BuildArtifacts = z.infer<typeof buildArtifactsSchema>;
4920
5218
 
4921
- declare function storage({ get, raw }: ManagementHttp): {
5219
+ declare function storage({ get, post, raw }: ManagementHttp): {
4922
5220
  list: (call?: ManagementCallOptions) => Promise<{
4923
5221
  stores: {
4924
5222
  kind: string;
@@ -4994,6 +5292,10 @@ declare function storage({ get, raw }: ManagementHttp): {
4994
5292
  text: string | null;
4995
5293
  truncated: boolean;
4996
5294
  }>;
5295
+ clear: {
5296
+ (kind: "sql", name: string, input: AppStorageSqlClear, call?: ManagementCallOptions): Promise<AppStorageSqlClearResult>;
5297
+ (kind: "kv", name: string, input: AppStorageKvClear, call?: ManagementCallOptions): Promise<AppStorageKvClearResult>;
5298
+ };
4997
5299
  /** Deletes a store no serving build declares, with all of its data. */
4998
5300
  delete: (kind: AppStorageKind, name: string, call?: ManagementCallOptions) => Promise<void>;
4999
5301
  };
@@ -5529,15 +5831,47 @@ declare function connections({ get, post }: ManagementHttp): {
5529
5831
  }>;
5530
5832
  /**
5531
5833
  * Starts connecting a plugin through the vendor's OAuth, or reconnecting one whose tokens
5532
- * stopped working: answers the authorization URL a person opens to consent. The connection
5533
- * becomes `ready` with `config` when the vendor sends them back. Fails with 409
5534
- * `oauth-not-supported` for a plugin connected with secrets, 409 `plugin-not-configured`
5535
- * when this deployment lacks the vendor's OAuth app, and 422 `invalid-config`.
5834
+ * stopped working: answers the authorization URL a person opens to consent. The vendor sends
5835
+ * the browser back to Console with a one-time `oauthCode`, and the connection becomes `ready`
5836
+ * with `config` once the same person finishes it there (`completeAuthorization`). Fails with
5837
+ * 403 `credential-not-allowed` for a credential no person holds (an automation, service or
5838
+ * hosted app key), 409 `oauth-not-supported` for a plugin connected with secrets, 409
5839
+ * `plugin-not-configured` when this deployment lacks the vendor's OAuth app, and 422
5840
+ * `invalid-config`.
5536
5841
  */
5537
5842
  authorize: (plugin: string, input?: ConnectionAuthorizeInput, call?: ManagementCallOptions) => Promise<{
5538
5843
  authorizationUrl: string;
5539
5844
  expiresAt: number;
5540
5845
  }>;
5846
+ /**
5847
+ * Finishes an OAuth connection with the `oauthCode` the vendor's callback added to the Console
5848
+ * page it returned to, and answers the `ready` connection. Only the person who started it
5849
+ * (`authorize`), on its project and environment, finishes it; the code works once, for five
5850
+ * minutes, whoever sends it. Fails with 403 `scope-mismatch` for anyone else, 409
5851
+ * `oauth-flow-expired` for a spent, expired or unknown code, and 502 `upstream-failed` when
5852
+ * the vendor refuses its authorization code.
5853
+ */
5854
+ completeAuthorization: (plugin: string, input: ConnectionAuthorizationCompleteInput, call?: ManagementCallOptions) => Promise<{
5855
+ plugin: string;
5856
+ name: string;
5857
+ environment: "test" | "live";
5858
+ status: ConnectionStatus;
5859
+ issue: string | null;
5860
+ config: Record<string, unknown> | null;
5861
+ configSchema: Record<string, unknown>;
5862
+ secrets: {
5863
+ name: string;
5864
+ label: string;
5865
+ help: string | null;
5866
+ set: boolean;
5867
+ }[];
5868
+ revision: number;
5869
+ connectedAt: number | null;
5870
+ connectedBy: string | null;
5871
+ updatedAt: number | null;
5872
+ reconnectReason: ConnectionReconnectReason | null;
5873
+ dryRun: boolean;
5874
+ }>;
5541
5875
  /**
5542
5876
  * Replaces the config, some secrets, or both. Fails with 409 `not-connected` on a
5543
5877
  * disconnected plugin, 409 `connection-changed` when `expectedRevision` is stale, and 409
@@ -6424,6 +6758,7 @@ declare const memberSchema: z.ZodObject<{
6424
6758
  rewards: z.ZodNumber;
6425
6759
  lastActivity: z.ZodNullable<z.ZodNumber>;
6426
6760
  erasedAt: z.ZodOptional<z.ZodNumber>;
6761
+ bannedAt: z.ZodOptional<z.ZodNumber>;
6427
6762
  }, z.core.$strip>;
6428
6763
  declare const managedOAuthAccountSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6429
6764
  provider: z.ZodEnum<{
@@ -7338,6 +7673,7 @@ declare const memberDetailSchema: z.ZodObject<{
7338
7673
  rewards: z.ZodNumber;
7339
7674
  lastActivity: z.ZodNullable<z.ZodNumber>;
7340
7675
  erasedAt: z.ZodOptional<z.ZodNumber>;
7676
+ bannedAt: z.ZodOptional<z.ZodNumber>;
7341
7677
  }, z.core.$strip>;
7342
7678
  progress: z.ZodObject<{
7343
7679
  member: z.ZodString;
@@ -8185,6 +8521,70 @@ declare const memberDetailSchema: z.ZodObject<{
8185
8521
  suspended: z.ZodBoolean;
8186
8522
  import: z.ZodNullable<z.ZodString>;
8187
8523
  }, z.core.$strip>>>;
8524
+ ban: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8525
+ id: z.ZodString;
8526
+ member: z.ZodString;
8527
+ reason: z.ZodString;
8528
+ bannedAt: z.ZodNumber;
8529
+ bannedBy: z.ZodNullable<z.ZodString>;
8530
+ rollback: z.ZodObject<{
8531
+ status: z.ZodType<MemberBanRunStatus, unknown, z.core.$ZodTypeInternals<MemberBanRunStatus, unknown>>;
8532
+ finishedAt: z.ZodNullable<z.ZodNumber>;
8533
+ outcome: z.ZodNullable<z.ZodObject<{
8534
+ attemptsRejected: z.ZodNumber;
8535
+ completionsRevoked: z.ZodNumber;
8536
+ completionsRestored: z.ZodNumber;
8537
+ completionsKept: z.ZodArray<z.ZodObject<{
8538
+ completion: z.ZodString;
8539
+ code: z.ZodString;
8540
+ }, z.core.$strip>>;
8541
+ entriesReversed: z.ZodNumber;
8542
+ referralAccounts: z.ZodNumber;
8543
+ points: z.ZodArray<z.ZodObject<{
8544
+ ledger: z.ZodString;
8545
+ reversed: z.ZodNumber;
8546
+ unreversed: z.ZodNumber;
8547
+ }, z.core.$strip>>;
8548
+ referralDebt: z.ZodArray<z.ZodObject<{
8549
+ ledger: z.ZodString;
8550
+ amount: z.ZodNumber;
8551
+ }, z.core.$strip>>;
8552
+ }, z.core.$strip>>;
8553
+ completions: z.ZodBoolean;
8554
+ referralPayouts: z.ZodBoolean;
8555
+ pointAwards: z.ZodBoolean;
8556
+ }, z.core.$strip>;
8557
+ unban: z.ZodNullable<z.ZodObject<{
8558
+ reason: z.ZodString;
8559
+ unbannedAt: z.ZodNumber;
8560
+ by: z.ZodNullable<z.ZodString>;
8561
+ restoreCompletions: z.ZodBoolean;
8562
+ restore: z.ZodNullable<z.ZodObject<{
8563
+ status: z.ZodType<MemberBanRunStatus, unknown, z.core.$ZodTypeInternals<MemberBanRunStatus, unknown>>;
8564
+ finishedAt: z.ZodNullable<z.ZodNumber>;
8565
+ outcome: z.ZodNullable<z.ZodObject<{
8566
+ attemptsRejected: z.ZodNumber;
8567
+ completionsRevoked: z.ZodNumber;
8568
+ completionsRestored: z.ZodNumber;
8569
+ completionsKept: z.ZodArray<z.ZodObject<{
8570
+ completion: z.ZodString;
8571
+ code: z.ZodString;
8572
+ }, z.core.$strip>>;
8573
+ entriesReversed: z.ZodNumber;
8574
+ referralAccounts: z.ZodNumber;
8575
+ points: z.ZodArray<z.ZodObject<{
8576
+ ledger: z.ZodString;
8577
+ reversed: z.ZodNumber;
8578
+ unreversed: z.ZodNumber;
8579
+ }, z.core.$strip>>;
8580
+ referralDebt: z.ZodArray<z.ZodObject<{
8581
+ ledger: z.ZodString;
8582
+ amount: z.ZodNumber;
8583
+ }, z.core.$strip>>;
8584
+ }, z.core.$strip>>;
8585
+ }, z.core.$strip>>;
8586
+ }, z.core.$strip>>;
8587
+ }, z.core.$strip>>>;
8188
8588
  }, z.core.$strip>;
8189
8589
  /** @compat output */
8190
8590
  type MemberDetail = z.infer<typeof memberDetailSchema>;
@@ -8877,6 +9277,7 @@ declare const managedMemberPageSchema: z.ZodObject<{
8877
9277
  rewards: z.ZodNumber;
8878
9278
  lastActivity: z.ZodNullable<z.ZodNumber>;
8879
9279
  erasedAt: z.ZodOptional<z.ZodNumber>;
9280
+ bannedAt: z.ZodOptional<z.ZodNumber>;
8880
9281
  }, z.core.$strip>>;
8881
9282
  total: z.ZodNumber;
8882
9283
  nextCursor: z.ZodNullable<z.ZodString>;
@@ -9046,6 +9447,39 @@ declare function members({ get, post }: ManagementHttp): {
9046
9447
  records: number;
9047
9448
  };
9048
9449
  }>;
9450
+ /**
9451
+ * Bans a member in this project and environment, live or test, with a reason; requires
9452
+ * `review` permission, and `publish` too when `rollback` reverses referral payouts or point
9453
+ * awards. While banned, the member's attempts, completions and invitations are refused with 403
9454
+ * `member-banned`, tracker records they author are skipped and never decided again,
9455
+ * leaderboards and settlements leave them out, and referral payouts to and from them stop.
9456
+ * Attempts waiting for a decision are rejected. `rollback` takes back what it names, a step at
9457
+ * a time in the background: `ban.rollback.status` is `running` until it is `finished`. Banning
9458
+ * a banned member adds the rollback it names to the ban in force, or answers the ban unchanged.
9459
+ * Replaying the action ID returns the first result. Preview it first with `previewBan`.
9460
+ *
9461
+ * @experimental A minor release can change member bans.
9462
+ */
9463
+ ban: (member: string, input: CreationInput<z.input<typeof memberBanInputSchema>>, call?: ManagementCallOptions) => Promise<MemberBan>;
9464
+ /**
9465
+ * The dry run of `ban`: what banning the member with `rollback` would take back now, per
9466
+ * point ledger, and what it would correct for their inviter; requires `review` permission.
9467
+ * Changes nothing.
9468
+ *
9469
+ * @experimental A minor release can change member bans.
9470
+ */
9471
+ previewBan: (member: string, input?: z.input<typeof memberBanPreviewInputSchema>, call?: ManagementCallOptions) => Promise<MemberBanPreview>;
9472
+ /**
9473
+ * Lifts the member's ban, with a reason; requires `review` permission. The member takes part
9474
+ * again from now on: what they did while banned stays skipped. A rollback still running stops.
9475
+ * `restoreCompletions` restores the completions the rollback revoked, in the background
9476
+ * (`ban.unban.restore`); reversed referral payouts and point awards stay reversed. Refused
9477
+ * with 409 `member-not-banned` when no ban is in force. Replaying the action ID returns the
9478
+ * first result.
9479
+ *
9480
+ * @experimental A minor release can change member bans.
9481
+ */
9482
+ unban: (member: string, input: CreationInput<z.input<typeof memberUnbanInputSchema>>, call?: ManagementCallOptions) => Promise<MemberBan>;
9049
9483
  /**
9050
9484
  * Every identity a member proved, by kind: wallets, X, Discord and Telegram accounts, and
9051
9485
  * `app:<name>` identities, each with its link, sign-in and the actions an operator can take.
@@ -9487,6 +9921,7 @@ declare function members({ get, post }: ManagementHttp): {
9487
9921
  subject: string;
9488
9922
  }[] | undefined;
9489
9923
  erasedAt?: number | undefined;
9924
+ bannedAt?: number | undefined;
9490
9925
  }[];
9491
9926
  total: number;
9492
9927
  nextCursor: string | null;
@@ -11839,6 +12274,36 @@ declare function identityIntegrations({ exchange, get, post, request, }: Managem
11839
12274
  environment: "test" | "live";
11840
12275
  token: string;
11841
12276
  }>;
12277
+ /**
12278
+ * Creates the key and stores its secret as the hosted app secret `appSecret` (such as
12279
+ * `APP_IDENTITY_KEY`) in the key's environment, in one step: no response carries the secret,
12280
+ * and a refused app secret leaves no key. Needs publish permission, which app secrets need.
12281
+ * The app reads the secret from its next deploy.
12282
+ */
12283
+ createIntoAppSecret: (input: z.input<typeof identityIntegrationInputSchema>, appSecret: string, call?: ManagementCallOptions) => Promise<{
12284
+ id: string;
12285
+ name: string;
12286
+ origin: string;
12287
+ expiresAt: number;
12288
+ secrets: {
12289
+ id: string;
12290
+ hint: string | null;
12291
+ createdAt: number;
12292
+ expiresAt: number | null;
12293
+ lastUsedAt: number | null;
12294
+ }[];
12295
+ lastUsedAt: number | null;
12296
+ identityKind: OpenIdentityKind | null;
12297
+ vouchesAccounts: boolean;
12298
+ organization: string;
12299
+ project: string;
12300
+ environment: "test" | "live";
12301
+ appSecret: {
12302
+ name: string;
12303
+ updatedAt: number;
12304
+ updatedBy: string;
12305
+ };
12306
+ }>;
11842
12307
  /**
11843
12308
  * Replaces every secret with one new secret that never expires; the old secrets stop working
11844
12309
  * at once.
@@ -11889,6 +12354,34 @@ declare function identityIntegrations({ exchange, get, post, request, }: Managem
11889
12354
  environment: "test" | "live";
11890
12355
  token: string;
11891
12356
  }>;
12357
+ /**
12358
+ * `addSecret`, storing the new secret as the hosted app secret `appSecret` in the key's
12359
+ * environment instead of answering it, as `createIntoAppSecret` does.
12360
+ */
12361
+ addSecretIntoAppSecret: (id: string, appSecret: string, input?: z.input<typeof credentialSecretInputSchema>, call?: ManagementCallOptions) => Promise<{
12362
+ id: string;
12363
+ name: string;
12364
+ origin: string;
12365
+ expiresAt: number;
12366
+ secrets: {
12367
+ id: string;
12368
+ hint: string | null;
12369
+ createdAt: number;
12370
+ expiresAt: number | null;
12371
+ lastUsedAt: number | null;
12372
+ }[];
12373
+ lastUsedAt: number | null;
12374
+ identityKind: OpenIdentityKind | null;
12375
+ vouchesAccounts: boolean;
12376
+ organization: string;
12377
+ project: string;
12378
+ environment: "test" | "live";
12379
+ appSecret: {
12380
+ name: string;
12381
+ updatedAt: number;
12382
+ updatedBy: string;
12383
+ };
12384
+ }>;
11892
12385
  /**
11893
12386
  * Stops one secret working; member sessions stay signed in. The last secret cannot be
11894
12387
  * revoked; disconnect the integration with `revoke` instead.
@@ -16629,8 +17122,9 @@ declare const managedAttemptPageSchema: z.ZodObject<{
16629
17122
  /** @compat output */
16630
17123
  type ManagedAttemptPage = z.infer<typeof managedAttemptPageSchema>;
16631
17124
  /**
16632
- * Staff deleted the evidence the member submitted for an attempt: when (Unix milliseconds), who
16633
- * (the operator's ID, null when Relay cannot name one) and why.
17125
+ * The evidence the member submitted for an attempt was deleted: when (Unix milliseconds), who
17126
+ * (the operator's ID; null when Domino's own retention deleted it, or Relay cannot name one) and
17127
+ * why.
16634
17128
  */
16635
17129
  declare const evidenceRedactionSchema: z.ZodObject<{
16636
17130
  at: z.ZodNumber;
@@ -16674,6 +17168,34 @@ declare const evidenceRetentionResultSchema: z.ZodObject<{
16674
17168
  }, z.core.$strip>;
16675
17169
  /** @compat output */
16676
17170
  type EvidenceRetentionResult = z.infer<typeof evidenceRetentionResultSchema>;
17171
+ /**
17172
+ * How long the project keeps submitted evidence, in both environments. `evidenceRetention` is
17173
+ * `{ days }`, the days after its decision an attempt's evidence is deleted (90 unless changed), or
17174
+ * `"keep"`. No evidence is deleted automatically before `noticeEndsAt` (Unix milliseconds): 90
17175
+ * days after the project was created, or after Domino started deleting evidence for projects that
17176
+ * existed then.
17177
+ *
17178
+ * @experimental A minor release can change this shape.
17179
+ */
17180
+ declare const evidenceRetentionSettingSchema: z.ZodObject<{
17181
+ evidenceRetention: z.ZodUnion<readonly [z.ZodObject<{
17182
+ days: z.ZodNumber;
17183
+ }, z.core.$strip>, z.ZodLiteral<"keep">]>;
17184
+ noticeEndsAt: z.ZodNumber;
17185
+ }, z.core.$strip>;
17186
+ /**
17187
+ * @compat output
17188
+ * @experimental
17189
+ */
17190
+ type EvidenceRetentionSetting = z.infer<typeof evidenceRetentionSettingSchema>;
17191
+ /**
17192
+ * Whether changing the evidence retention period from `before` to `after` deletes some evidence
17193
+ * sooner: a shorter period, or days instead of `"keep"`. Relay asks an organization administrator
17194
+ * or a service key for such a change.
17195
+ *
17196
+ * @experimental A minor release can change this function.
17197
+ */
17198
+ declare function shortensEvidenceRetention(before: EvidenceRetentionSetting["evidenceRetention"], after: EvidenceRetentionSetting["evidenceRetention"]): boolean;
16677
17199
  /**
16678
17200
  * One attempt: the release it was admitted under (null if the release is gone), its recorded
16679
17201
  * events newest first (at most 200, including a revocation of the completion it reached), and its
@@ -19087,6 +19609,36 @@ declare function attempts({ get, post }: ManagementHttp): {
19087
19609
  reason: string;
19088
19610
  };
19089
19611
  }>;
19612
+ /**
19613
+ * How long the project keeps submitted evidence, in both environments: `{ days }` after the
19614
+ * decision (90 unless changed) or `"keep"`, and `noticeEndsAt`, before which nothing is
19615
+ * deleted automatically. Requires `read` permission.
19616
+ *
19617
+ * @experimental A minor release can change this method and its result.
19618
+ */
19619
+ evidenceRetention: (call?: ManagementCallOptions) => Promise<{
19620
+ evidenceRetention: "keep" | {
19621
+ days: number;
19622
+ };
19623
+ noticeEndsAt: number;
19624
+ }>;
19625
+ /**
19626
+ * Sets how long the project keeps submitted evidence, in both environments: `{ days }`, 1 to
19627
+ * 3650 days after the decision, or `"keep"`. Domino's hourly job deletes the evidence of
19628
+ * decided attempts once their decision is older than the period, as `redactEvidenceBefore`
19629
+ * does. Requires `publish` permission. Shortening the period, or switching from `"keep"` to
19630
+ * days, deletes evidence sooner, so it also requires an organization administrator's Console
19631
+ * session or personal key, or a service key, else 403 `permission-required`. Each change
19632
+ * records an `evidence-retention-changed` audit event with the old and new period.
19633
+ *
19634
+ * @experimental A minor release can change this method and its result.
19635
+ */
19636
+ setEvidenceRetention: (input: CreationInput<z.input<typeof evidenceRetentionSettingInputSchema>>, call?: ManagementCallOptions) => Promise<{
19637
+ evidenceRetention: "keep" | {
19638
+ days: number;
19639
+ };
19640
+ noticeEndsAt: number;
19641
+ }>;
19090
19642
  /**
19091
19643
  * Evaluates a failed attempt again under a new generation; requires `review` permission. An
19092
19644
  * attempt whose evidence was deleted is refused with 409 `evidence-redacted`.
@@ -53854,6 +54406,7 @@ declare const pageSchema: z.ZodObject<{
53854
54406
  rewards: z.ZodNumber;
53855
54407
  lastActivity: z.ZodNullable<z.ZodNumber>;
53856
54408
  erasedAt: z.ZodOptional<z.ZodNumber>;
54409
+ bannedAt: z.ZodOptional<z.ZodNumber>;
53857
54410
  }, z.core.$strip>>;
53858
54411
  people: z.ZodDefault<z.ZodArray<z.ZodObject<{
53859
54412
  id: z.ZodString;
@@ -55206,6 +55759,7 @@ declare function managementClient(options: ManagementTransportOptions): {
55206
55759
  subject: string;
55207
55760
  }[] | undefined;
55208
55761
  erasedAt?: number | undefined;
55762
+ bannedAt?: number | undefined;
55209
55763
  }[];
55210
55764
  people: {
55211
55765
  id: string;
@@ -99575,6 +100129,53 @@ declare const managementResponseSchemas: {
99575
100129
  project: string;
99576
100130
  environment: "test" | "live";
99577
100131
  }, unknown>>;
100132
+ identityIntegrationAppSecretSchema: z.ZodType<{
100133
+ id: string;
100134
+ name: string;
100135
+ origin: string;
100136
+ expiresAt: number;
100137
+ secrets: {
100138
+ id: string;
100139
+ hint: string | null;
100140
+ createdAt: number;
100141
+ expiresAt: number | null;
100142
+ lastUsedAt: number | null;
100143
+ }[];
100144
+ lastUsedAt: number | null;
100145
+ identityKind: OpenIdentityKind | null;
100146
+ vouchesAccounts: boolean;
100147
+ organization: string;
100148
+ project: string;
100149
+ environment: "test" | "live";
100150
+ appSecret: {
100151
+ name: string;
100152
+ updatedAt: number;
100153
+ updatedBy: string;
100154
+ };
100155
+ }, unknown, z.core.$ZodTypeInternals<{
100156
+ id: string;
100157
+ name: string;
100158
+ origin: string;
100159
+ expiresAt: number;
100160
+ secrets: {
100161
+ id: string;
100162
+ hint: string | null;
100163
+ createdAt: number;
100164
+ expiresAt: number | null;
100165
+ lastUsedAt: number | null;
100166
+ }[];
100167
+ lastUsedAt: number | null;
100168
+ identityKind: OpenIdentityKind | null;
100169
+ vouchesAccounts: boolean;
100170
+ organization: string;
100171
+ project: string;
100172
+ environment: "test" | "live";
100173
+ appSecret: {
100174
+ name: string;
100175
+ updatedAt: number;
100176
+ updatedBy: string;
100177
+ };
100178
+ }, unknown>>;
99578
100179
  identityIntegrationSecretSchema: z.ZodType<{
99579
100180
  id: string;
99580
100181
  name: string;
@@ -103064,6 +103665,186 @@ declare const managementResponseSchemas: {
103064
103665
  records: number;
103065
103666
  };
103066
103667
  }, unknown>>;
103668
+ memberBanSchema: z.ZodType<{
103669
+ id: string;
103670
+ member: string;
103671
+ reason: string;
103672
+ bannedAt: number;
103673
+ bannedBy: string | null;
103674
+ rollback: {
103675
+ status: MemberBanRunStatus;
103676
+ finishedAt: number | null;
103677
+ outcome: {
103678
+ attemptsRejected: number;
103679
+ completionsRevoked: number;
103680
+ completionsRestored: number;
103681
+ completionsKept: {
103682
+ completion: string;
103683
+ code: string;
103684
+ }[];
103685
+ entriesReversed: number;
103686
+ referralAccounts: number;
103687
+ points: {
103688
+ ledger: string;
103689
+ reversed: number;
103690
+ unreversed: number;
103691
+ }[];
103692
+ referralDebt: {
103693
+ ledger: string;
103694
+ amount: number;
103695
+ }[];
103696
+ } | null;
103697
+ completions: boolean;
103698
+ referralPayouts: boolean;
103699
+ pointAwards: boolean;
103700
+ };
103701
+ unban: {
103702
+ reason: string;
103703
+ unbannedAt: number;
103704
+ by: string | null;
103705
+ restoreCompletions: boolean;
103706
+ restore: {
103707
+ status: MemberBanRunStatus;
103708
+ finishedAt: number | null;
103709
+ outcome: {
103710
+ attemptsRejected: number;
103711
+ completionsRevoked: number;
103712
+ completionsRestored: number;
103713
+ completionsKept: {
103714
+ completion: string;
103715
+ code: string;
103716
+ }[];
103717
+ entriesReversed: number;
103718
+ referralAccounts: number;
103719
+ points: {
103720
+ ledger: string;
103721
+ reversed: number;
103722
+ unreversed: number;
103723
+ }[];
103724
+ referralDebt: {
103725
+ ledger: string;
103726
+ amount: number;
103727
+ }[];
103728
+ } | null;
103729
+ } | null;
103730
+ } | null;
103731
+ }, unknown, z.core.$ZodTypeInternals<{
103732
+ id: string;
103733
+ member: string;
103734
+ reason: string;
103735
+ bannedAt: number;
103736
+ bannedBy: string | null;
103737
+ rollback: {
103738
+ status: MemberBanRunStatus;
103739
+ finishedAt: number | null;
103740
+ outcome: {
103741
+ attemptsRejected: number;
103742
+ completionsRevoked: number;
103743
+ completionsRestored: number;
103744
+ completionsKept: {
103745
+ completion: string;
103746
+ code: string;
103747
+ }[];
103748
+ entriesReversed: number;
103749
+ referralAccounts: number;
103750
+ points: {
103751
+ ledger: string;
103752
+ reversed: number;
103753
+ unreversed: number;
103754
+ }[];
103755
+ referralDebt: {
103756
+ ledger: string;
103757
+ amount: number;
103758
+ }[];
103759
+ } | null;
103760
+ completions: boolean;
103761
+ referralPayouts: boolean;
103762
+ pointAwards: boolean;
103763
+ };
103764
+ unban: {
103765
+ reason: string;
103766
+ unbannedAt: number;
103767
+ by: string | null;
103768
+ restoreCompletions: boolean;
103769
+ restore: {
103770
+ status: MemberBanRunStatus;
103771
+ finishedAt: number | null;
103772
+ outcome: {
103773
+ attemptsRejected: number;
103774
+ completionsRevoked: number;
103775
+ completionsRestored: number;
103776
+ completionsKept: {
103777
+ completion: string;
103778
+ code: string;
103779
+ }[];
103780
+ entriesReversed: number;
103781
+ referralAccounts: number;
103782
+ points: {
103783
+ ledger: string;
103784
+ reversed: number;
103785
+ unreversed: number;
103786
+ }[];
103787
+ referralDebt: {
103788
+ ledger: string;
103789
+ amount: number;
103790
+ }[];
103791
+ } | null;
103792
+ } | null;
103793
+ } | null;
103794
+ }, unknown>>;
103795
+ memberBanPreviewSchema: z.ZodType<{
103796
+ member: string;
103797
+ banned: boolean;
103798
+ attempts: number;
103799
+ completions: number;
103800
+ entries: number;
103801
+ referralAccounts: number;
103802
+ points: {
103803
+ ledger: string;
103804
+ completions: number;
103805
+ pointAwards: number;
103806
+ referralPayouts: number;
103807
+ available: number;
103808
+ reversed: number;
103809
+ unreversed: number;
103810
+ referralDebt: number;
103811
+ }[];
103812
+ inviters: {
103813
+ member: string;
103814
+ ledgers: {
103815
+ ledger: string;
103816
+ bonus: number;
103817
+ reversed: number;
103818
+ referralDebt: number;
103819
+ }[];
103820
+ }[];
103821
+ }, unknown, z.core.$ZodTypeInternals<{
103822
+ member: string;
103823
+ banned: boolean;
103824
+ attempts: number;
103825
+ completions: number;
103826
+ entries: number;
103827
+ referralAccounts: number;
103828
+ points: {
103829
+ ledger: string;
103830
+ completions: number;
103831
+ pointAwards: number;
103832
+ referralPayouts: number;
103833
+ available: number;
103834
+ reversed: number;
103835
+ unreversed: number;
103836
+ referralDebt: number;
103837
+ }[];
103838
+ inviters: {
103839
+ member: string;
103840
+ ledgers: {
103841
+ ledger: string;
103842
+ bonus: number;
103843
+ reversed: number;
103844
+ referralDebt: number;
103845
+ }[];
103846
+ }[];
103847
+ }, unknown>>;
103067
103848
  evidenceRetentionResultSchema: z.ZodType<{
103068
103849
  quest: string;
103069
103850
  decidedBefore: number;
@@ -103878,6 +104659,7 @@ declare const managementResponseSchemas: {
103878
104659
  subject: string;
103879
104660
  }[] | undefined;
103880
104661
  erasedAt?: number | undefined;
104662
+ bannedAt?: number | undefined;
103881
104663
  }[];
103882
104664
  total: number;
103883
104665
  nextCursor: string | null;
@@ -103910,6 +104692,7 @@ declare const managementResponseSchemas: {
103910
104692
  subject: string;
103911
104693
  }[] | undefined;
103912
104694
  erasedAt?: number | undefined;
104695
+ bannedAt?: number | undefined;
103913
104696
  }[];
103914
104697
  total: number;
103915
104698
  nextCursor: string | null;
@@ -106309,6 +107092,7 @@ declare const managementResponseSchemas: {
106309
107092
  subject: string;
106310
107093
  }[] | undefined;
106311
107094
  erasedAt?: number | undefined;
107095
+ bannedAt?: number | undefined;
106312
107096
  };
106313
107097
  progress: {
106314
107098
  member: string;
@@ -107011,6 +107795,70 @@ declare const managementResponseSchemas: {
107011
107795
  suspended: boolean;
107012
107796
  import: string | null;
107013
107797
  } | null | undefined;
107798
+ ban?: {
107799
+ id: string;
107800
+ member: string;
107801
+ reason: string;
107802
+ bannedAt: number;
107803
+ bannedBy: string | null;
107804
+ rollback: {
107805
+ status: MemberBanRunStatus;
107806
+ finishedAt: number | null;
107807
+ outcome: {
107808
+ attemptsRejected: number;
107809
+ completionsRevoked: number;
107810
+ completionsRestored: number;
107811
+ completionsKept: {
107812
+ completion: string;
107813
+ code: string;
107814
+ }[];
107815
+ entriesReversed: number;
107816
+ referralAccounts: number;
107817
+ points: {
107818
+ ledger: string;
107819
+ reversed: number;
107820
+ unreversed: number;
107821
+ }[];
107822
+ referralDebt: {
107823
+ ledger: string;
107824
+ amount: number;
107825
+ }[];
107826
+ } | null;
107827
+ completions: boolean;
107828
+ referralPayouts: boolean;
107829
+ pointAwards: boolean;
107830
+ };
107831
+ unban: {
107832
+ reason: string;
107833
+ unbannedAt: number;
107834
+ by: string | null;
107835
+ restoreCompletions: boolean;
107836
+ restore: {
107837
+ status: MemberBanRunStatus;
107838
+ finishedAt: number | null;
107839
+ outcome: {
107840
+ attemptsRejected: number;
107841
+ completionsRevoked: number;
107842
+ completionsRestored: number;
107843
+ completionsKept: {
107844
+ completion: string;
107845
+ code: string;
107846
+ }[];
107847
+ entriesReversed: number;
107848
+ referralAccounts: number;
107849
+ points: {
107850
+ ledger: string;
107851
+ reversed: number;
107852
+ unreversed: number;
107853
+ }[];
107854
+ referralDebt: {
107855
+ ledger: string;
107856
+ amount: number;
107857
+ }[];
107858
+ } | null;
107859
+ } | null;
107860
+ } | null;
107861
+ } | null | undefined;
107014
107862
  }, unknown, z.core.$ZodTypeInternals<{
107015
107863
  snapshot: {
107016
107864
  releases: {
@@ -107697,6 +108545,7 @@ declare const managementResponseSchemas: {
107697
108545
  subject: string;
107698
108546
  }[] | undefined;
107699
108547
  erasedAt?: number | undefined;
108548
+ bannedAt?: number | undefined;
107700
108549
  };
107701
108550
  progress: {
107702
108551
  member: string;
@@ -108399,6 +109248,70 @@ declare const managementResponseSchemas: {
108399
109248
  suspended: boolean;
108400
109249
  import: string | null;
108401
109250
  } | null | undefined;
109251
+ ban?: {
109252
+ id: string;
109253
+ member: string;
109254
+ reason: string;
109255
+ bannedAt: number;
109256
+ bannedBy: string | null;
109257
+ rollback: {
109258
+ status: MemberBanRunStatus;
109259
+ finishedAt: number | null;
109260
+ outcome: {
109261
+ attemptsRejected: number;
109262
+ completionsRevoked: number;
109263
+ completionsRestored: number;
109264
+ completionsKept: {
109265
+ completion: string;
109266
+ code: string;
109267
+ }[];
109268
+ entriesReversed: number;
109269
+ referralAccounts: number;
109270
+ points: {
109271
+ ledger: string;
109272
+ reversed: number;
109273
+ unreversed: number;
109274
+ }[];
109275
+ referralDebt: {
109276
+ ledger: string;
109277
+ amount: number;
109278
+ }[];
109279
+ } | null;
109280
+ completions: boolean;
109281
+ referralPayouts: boolean;
109282
+ pointAwards: boolean;
109283
+ };
109284
+ unban: {
109285
+ reason: string;
109286
+ unbannedAt: number;
109287
+ by: string | null;
109288
+ restoreCompletions: boolean;
109289
+ restore: {
109290
+ status: MemberBanRunStatus;
109291
+ finishedAt: number | null;
109292
+ outcome: {
109293
+ attemptsRejected: number;
109294
+ completionsRevoked: number;
109295
+ completionsRestored: number;
109296
+ completionsKept: {
109297
+ completion: string;
109298
+ code: string;
109299
+ }[];
109300
+ entriesReversed: number;
109301
+ referralAccounts: number;
109302
+ points: {
109303
+ ledger: string;
109304
+ reversed: number;
109305
+ unreversed: number;
109306
+ }[];
109307
+ referralDebt: {
109308
+ ledger: string;
109309
+ amount: number;
109310
+ }[];
109311
+ } | null;
109312
+ } | null;
109313
+ } | null;
109314
+ } | null | undefined;
108402
109315
  }, unknown>>;
108403
109316
  offerSchema: z.ZodType<{
108404
109317
  id: string;
@@ -109284,6 +110197,7 @@ declare const managementResponseSchemas: {
109284
110197
  subject: string;
109285
110198
  }[] | undefined;
109286
110199
  erasedAt?: number | undefined;
110200
+ bannedAt?: number | undefined;
109287
110201
  }[];
109288
110202
  people: {
109289
110203
  id: string;
@@ -110037,6 +110951,7 @@ declare const managementResponseSchemas: {
110037
110951
  subject: string;
110038
110952
  }[] | undefined;
110039
110953
  erasedAt?: number | undefined;
110954
+ bannedAt?: number | undefined;
110040
110955
  }[];
110041
110956
  people: {
110042
110957
  id: string;
@@ -139698,6 +140613,30 @@ declare const managementResponses: {
139698
140613
  project: string;
139699
140614
  environment: "test" | "live";
139700
140615
  }>>;
140616
+ identityIntegrationAppSecretSchema: ResponseSchema<ResponseResult<{
140617
+ id: string;
140618
+ name: string;
140619
+ origin: string;
140620
+ expiresAt: number;
140621
+ secrets: {
140622
+ id: string;
140623
+ hint: string | null;
140624
+ createdAt: number;
140625
+ expiresAt: number | null;
140626
+ lastUsedAt: number | null;
140627
+ }[];
140628
+ lastUsedAt: number | null;
140629
+ identityKind: OpenIdentityKind | null;
140630
+ vouchesAccounts: boolean;
140631
+ organization: string;
140632
+ project: string;
140633
+ environment: "test" | "live";
140634
+ appSecret: {
140635
+ name: string;
140636
+ updatedAt: number;
140637
+ updatedBy: string;
140638
+ };
140639
+ }>>;
139701
140640
  identityIntegrationSecretSchema: ResponseSchema<ResponseResult<{
139702
140641
  id: string;
139703
140642
  name: string;
@@ -141450,6 +142389,97 @@ declare const managementResponses: {
141450
142389
  records: number;
141451
142390
  };
141452
142391
  }>>;
142392
+ memberBanSchema: ResponseSchema<ResponseResult<{
142393
+ id: string;
142394
+ member: string;
142395
+ reason: string;
142396
+ bannedAt: number;
142397
+ bannedBy: string | null;
142398
+ rollback: {
142399
+ status: MemberBanRunStatus;
142400
+ finishedAt: number | null;
142401
+ outcome: {
142402
+ attemptsRejected: number;
142403
+ completionsRevoked: number;
142404
+ completionsRestored: number;
142405
+ completionsKept: {
142406
+ completion: string;
142407
+ code: string;
142408
+ }[];
142409
+ entriesReversed: number;
142410
+ referralAccounts: number;
142411
+ points: {
142412
+ ledger: string;
142413
+ reversed: number;
142414
+ unreversed: number;
142415
+ }[];
142416
+ referralDebt: {
142417
+ ledger: string;
142418
+ amount: number;
142419
+ }[];
142420
+ } | null;
142421
+ completions: boolean;
142422
+ referralPayouts: boolean;
142423
+ pointAwards: boolean;
142424
+ };
142425
+ unban: {
142426
+ reason: string;
142427
+ unbannedAt: number;
142428
+ by: string | null;
142429
+ restoreCompletions: boolean;
142430
+ restore: {
142431
+ status: MemberBanRunStatus;
142432
+ finishedAt: number | null;
142433
+ outcome: {
142434
+ attemptsRejected: number;
142435
+ completionsRevoked: number;
142436
+ completionsRestored: number;
142437
+ completionsKept: {
142438
+ completion: string;
142439
+ code: string;
142440
+ }[];
142441
+ entriesReversed: number;
142442
+ referralAccounts: number;
142443
+ points: {
142444
+ ledger: string;
142445
+ reversed: number;
142446
+ unreversed: number;
142447
+ }[];
142448
+ referralDebt: {
142449
+ ledger: string;
142450
+ amount: number;
142451
+ }[];
142452
+ } | null;
142453
+ } | null;
142454
+ } | null;
142455
+ }>>;
142456
+ memberBanPreviewSchema: ResponseSchema<ResponseResult<{
142457
+ member: string;
142458
+ banned: boolean;
142459
+ attempts: number;
142460
+ completions: number;
142461
+ entries: number;
142462
+ referralAccounts: number;
142463
+ points: {
142464
+ ledger: string;
142465
+ completions: number;
142466
+ pointAwards: number;
142467
+ referralPayouts: number;
142468
+ available: number;
142469
+ reversed: number;
142470
+ unreversed: number;
142471
+ referralDebt: number;
142472
+ }[];
142473
+ inviters: {
142474
+ member: string;
142475
+ ledgers: {
142476
+ ledger: string;
142477
+ bonus: number;
142478
+ reversed: number;
142479
+ referralDebt: number;
142480
+ }[];
142481
+ }[];
142482
+ }>>;
141453
142483
  evidenceRetentionResultSchema: ResponseSchema<ResponseResult<{
141454
142484
  quest: string;
141455
142485
  decidedBefore: number;
@@ -141874,6 +142904,7 @@ declare const managementResponses: {
141874
142904
  subject: string;
141875
142905
  }[] | undefined;
141876
142906
  erasedAt?: number | undefined;
142907
+ bannedAt?: number | undefined;
141877
142908
  }[];
141878
142909
  total: number;
141879
142910
  nextCursor: string | null;
@@ -143430,6 +144461,7 @@ declare const managementResponses: {
143430
144461
  subject: string;
143431
144462
  }[] | undefined;
143432
144463
  erasedAt?: number | undefined;
144464
+ bannedAt?: number | undefined;
143433
144465
  };
143434
144466
  progress: {
143435
144467
  member: string;
@@ -144132,6 +145164,70 @@ declare const managementResponses: {
144132
145164
  suspended: boolean;
144133
145165
  import: string | null;
144134
145166
  } | null | undefined;
145167
+ ban?: {
145168
+ id: string;
145169
+ member: string;
145170
+ reason: string;
145171
+ bannedAt: number;
145172
+ bannedBy: string | null;
145173
+ rollback: {
145174
+ status: MemberBanRunStatus;
145175
+ finishedAt: number | null;
145176
+ outcome: {
145177
+ attemptsRejected: number;
145178
+ completionsRevoked: number;
145179
+ completionsRestored: number;
145180
+ completionsKept: {
145181
+ completion: string;
145182
+ code: string;
145183
+ }[];
145184
+ entriesReversed: number;
145185
+ referralAccounts: number;
145186
+ points: {
145187
+ ledger: string;
145188
+ reversed: number;
145189
+ unreversed: number;
145190
+ }[];
145191
+ referralDebt: {
145192
+ ledger: string;
145193
+ amount: number;
145194
+ }[];
145195
+ } | null;
145196
+ completions: boolean;
145197
+ referralPayouts: boolean;
145198
+ pointAwards: boolean;
145199
+ };
145200
+ unban: {
145201
+ reason: string;
145202
+ unbannedAt: number;
145203
+ by: string | null;
145204
+ restoreCompletions: boolean;
145205
+ restore: {
145206
+ status: MemberBanRunStatus;
145207
+ finishedAt: number | null;
145208
+ outcome: {
145209
+ attemptsRejected: number;
145210
+ completionsRevoked: number;
145211
+ completionsRestored: number;
145212
+ completionsKept: {
145213
+ completion: string;
145214
+ code: string;
145215
+ }[];
145216
+ entriesReversed: number;
145217
+ referralAccounts: number;
145218
+ points: {
145219
+ ledger: string;
145220
+ reversed: number;
145221
+ unreversed: number;
145222
+ }[];
145223
+ referralDebt: {
145224
+ ledger: string;
145225
+ amount: number;
145226
+ }[];
145227
+ } | null;
145228
+ } | null;
145229
+ } | null;
145230
+ } | null | undefined;
144135
145231
  }>>;
144136
145232
  offerSchema: ResponseSchema<ResponseResult<{
144137
145233
  id: string;
@@ -144919,6 +146015,7 @@ declare const managementResponses: {
144919
146015
  subject: string;
144920
146016
  }[] | undefined;
144921
146017
  erasedAt?: number | undefined;
146018
+ bannedAt?: number | undefined;
144922
146019
  }[];
144923
146020
  people: {
144924
146021
  id: string;
@@ -148819,4 +149916,4 @@ declare function managementTransport(options: ManagementTransportOptions): {
148819
149916
  }) => Promise<unknown>;
148820
149917
  };
148821
149918
 
148822
- export { type AppStorageValue as $, APP_KV_LIMIT as A, type Access as B, type AccessHistoryQuery as C, type ActiveMemberUsage as D, type AppSchedule as E, type AppScheduleDiagnostic as F, type AppScheduleList as G, type AppScheduleResult as H, type AppScheduleRun as I, type AppScheduleRuns as J, type AppScheduleStateInput as K, type AppSchedules as L, type ManagementTransportOptions as M, type AppSecret as N, type AppSecretDeclaration as O, type ParticipantRoute as P, type AppSecretInput as Q, REFERRAL_INTEGRATION_REWARD_ERROR$1 as R, type AppSecretList as S, type AppStorage as T, type AppStorageCell as U, type AppStorageCellPage as V, type AppStorageKeys as W, type AppStorageKind as X, type AppStorageList as Y, type AppStorageRows as Z, type AppStorageTables as _, isParticipantRoute as a, type InventoryItemState as a$, type AuditPage as a0, type AuditQuery as a1, type AuditRecord as a2, type AutomationKey as a3, type AutomationKeyPermission as a4, type BalanceCheck as a5, type BillingCheckoutInput as a6, type BillingPlan as a7, type BillingPlanChange as a8, type BillingPlanChangeInput as a9, type ConnectionSyncKind as aA, type ConnectionSyncStatus as aB, type ConnectionUpdateInput as aC, type CredentialSecret as aD, type CustomDomain as aE, type CustomDomainRecord as aF, type CustomDomainState as aG, DEFAULT_MANAGEMENT_TIMEOUT as aH, type DashboardLifecycleResult as aI, type DashboardListQuery as aJ, type DashboardRead as aK, type DashboardReadQuery as aL, type DashboardSummary as aM, type EvidenceRedaction as aN, type EvidenceRedactionResult as aO, type EvidenceRetentionResult as aP, type ExpectedRevision as aQ, type HostedAppSecrets as aR, type HostedBuild as aS, type HostedDeploymentKey as aT, type HostedKey as aU, type HostedKeyPermission as aV, type HostedManagementEnv as aW, type IdentityLinkRelinkInput as aX, type IdentitySource as aY, type InventoryItemAction as aZ, type InventoryItemRename as a_, type BillingSession as aa, type BillingSubscription as ab, type BillingTopupInput as ac, type BuildArtifacts as ad, type BuildIdentity as ae, type BuildSnapshot as af, type BuildStatus as ag, type CompletionRestoration as ah, type CompletionRestoreInput as ai, type CompletionRevocation as aj, type CompletionRevocationShortfall as ak, type CompletionRevokeInput as al, type Connection as am, type ConnectionActivity as an, type ConnectionAuthorization as ao, type ConnectionAuthorizeInput as ap, type ConnectionConnectInput as aq, type ConnectionDisconnectInput as ar, type ConnectionDryRunPage as as, type ConnectionDryRunQuery as at, type ConnectionDryRunRequest as au, type ConnectionPage as av, type ConnectionReconnectReason as aw, type ConnectionResyncInput as ax, type ConnectionStatus as ay, type ConnectionSync as az, parseImageResult as b, type MemberIdentityReference as b$, type InventoryStockCorrection as b0, type KnownBillingPlan as b1, type KnownConnectionReconnectReason as b2, type KnownConnectionStatus as b3, type KnownConnectionSyncKind as b4, type KnownConnectionSyncStatus as b5, type KnownIdentitySource as b6, type KnownManagedAccountStatus as b7, type KnownPayoutSourceKind as b8, type KnownPluginSlot as b9, type ManagedQuestEnrollment as bA, type ManagedReleasePage as bB, type ManagedReleaseQuery as bC, type ManagedResource as bD, type ManagedResourceList as bE, type ManagedStockItem as bF, type ManagedTelegramAccount as bG, type ManagedTieredReward as bH, type ManagedWallet as bI, type ManagementCallOptions as bJ, type ManagementClient as bK, type ManagementClientOptions as bL, ManagementError as bM, ManagementErrorCode as bN, type ManagementErrorInit as bO, type ManagementErrorKind as bP, type ManagementPage as bQ, type ManagementRawInit as bR, type MemberAccountUnlinkInput as bS, type MemberAppIdentity as bT, type MemberCreatorAccountUnlinkInput as bU, type MemberDetail as bV, type MemberErasureDeleted as bW, type MemberErasureInput as bX, type MemberErasureResult as bY, type MemberIdentityLink as bZ, type MemberIdentityLinkChangeInput as b_, type KnownProjectPermission as ba, type KnownProjectRole as bb, type KnownTestMemberDecisionKind as bc, type LeaderboardSettlementExport as bd, type LeaderboardSettlementMeasurementRetry as be, type LeaderboardSettlementRejection as bf, type LeaderboardSettlementReview as bg, type ListQuery as bh, type LiveApp as bi, type ManagedAccount as bj, ManagedAccountStatus as bk, type ManagedAccounts as bl, type ManagedAttempt as bm, type ManagedAttemptPage as bn, type ManagedAttemptQuery as bo, type ManagedCreatorAccount as bp, type ManagedCreatorAccounts as bq, type ManagedEntitlement as br, type ManagedEntitlementPage as bs, type ManagedEntitlementQuery as bt, type ManagedMemberIdentity as bu, type ManagedMemberPage as bv, type ManagedMemberProgress as bw, type ManagedMemberQuery as bx, type ManagedOAuthAccount as by, type ManagedOffer as bz, containsReferralIntegrationReward$1 as c, type TestMemberClockAdvanceInput as c$, type MemberIdentitySelector as c0, type MemberIdentitySignInInput as c1, type MemberIdentityState as c2, type MemberIdentityStateChangeInput as c3, type MemberIdentityStatePage as c4, type OfferLifecycleResult as c5, type OperatorUser as c6, type OrganizationBilling as c7, type ParticipantSignIn as c8, type ParticipantSignInInput as c9, type RealPeopleInTestUsage as cA, type ResourceArchiveInput as cB, type ResourceLifecycleInput as cC, RestoredDeliveryOutcome as cD, RestoredEntitlementOutcome as cE, RestoredReferralOutcome as cF, type RevokedCompletion as cG, RevokedDeliveryOutcome as cH, RevokedEntitlementOutcome as cI, RevokedReferralOutcome as cJ, type ScheduledInvocation as cK, type ServiceKey as cL, type StagedDeployment as cM, type StagedDeploymentContent as cN, type StagingAccess as cO, type StagingAccessInput as cP, type StagingLink as cQ, type Starter as cR, type StarterId as cS, type StarterTemplate as cT, type TestMember as cU, type TestMemberAcceptAnywayInput as cV, type TestMemberAccount as cW, type TestMemberAccountLinkInput as cX, type TestMemberAccountUnlinkInput as cY, type TestMemberActionInput as cZ, type TestMemberAdvanceInput as c_, type ParticipantSignInTelegram as ca, PayoutSourceKind as cb, type Permission as cc, type Person as cd, type PluginInfo as ce, type PluginPage as cf, type PluginSlot as cg, type Project as ch, type ProjectBilling as ci, type ProjectMetrics as cj, type ProjectPermission as ck, type ProjectPlan as cl, type ProjectRole as cm, type PromotionBuild as cn, type PromotionChange as co, type PromotionHistoryPage as cp, type PromotionHistoryQuery as cq, type PromotionRecord as cr, type PromotionResourceKind as cs, type PromotionSource as ct, type PromotionWarning as cu, type QuestEnrollmentState as cv, type QuestEnrollmentWithdrawalInput as cw, type QuestLifecycle as cx, type QuestLifecycleInput as cy, REFERRAL_INTEGRATION_REWARD_ERROR as cz, participantRoutePattern$1 as d, auditListQuerySchema as d$, type TestMemberCreateInput as d0, TestMemberDecisionKind as d1, type TestMemberDiscordMessageInput as d2, type TestMemberDiscordReactionInput as d3, type TestMemberHistory as d4, type TestMemberHistoryQuery as d5, type TestMemberOperatorDecision as d6, type TestMemberPassInput as d7, type TestMemberPurgeInput as d8, type TestMemberPurgeResult as d9, appScheduleListSchema as dA, appScheduleNameSchema as dB, appSchedulePathSchema as dC, appScheduleResultSchema as dD, appScheduleRunSchema as dE, appScheduleRunsSchema as dF, appScheduleSchema as dG, appScheduleStateInputSchema as dH, appScheduleStateSchema as dI, appSchedulesSchema as dJ, appSecretDeclarationSchema as dK, appSecretDeclarationsSchema as dL, appSecretInputSchema as dM, appSecretListSchema as dN, appSecretNameSchema as dO, appSecretSchema as dP, appSecretValueSchema as dQ, appStorageCellPageSchema as dR, appStorageCellSchema as dS, appStorageKeysSchema as dT, appStorageKindSchema as dU, appStorageListSchema as dV, appStorageRowsSchema as dW, appStorageSchema as dX, appStorageTablesSchema as dY, appStorageValueSchema as dZ, assetPathSchema as d_, type TestMemberRecordInput as da, type TestMemberRecordResult as db, type TestMemberRedeemInput as dc, type TestMemberReferralAcceptInput as dd, type TestMemberResetInput as de, type TestMemberResetResult as df, type TestMemberWallet as dg, type TestMemberWalletLinkInput as dh, type TestMemberWalletUnlinkInput as di, type TestMemberXPostInput as dj, type TieredRewardLifecycleResult as dk, WEBHOOK_MAX_BYTES as dl, type WalletBalanceChains as dm, type WebhookDeleteInput as dn, type WebhookEndpointState as dp, type WebhookEvent as dq, accessHistoryQuerySchema as dr, accessSchema as ds, accountProfileSchema as dt, activeMemberMonthSchema as du, activeMemberUsageSchema as dv, appIdentitySelectorSchema as dw, appMigrationNameSchema as dx, appRoutingSchema as dy, appScheduleDiagnosticSchema as dz, participantRoutes$1 as e, deviceStartSchema as e$, auditPageSchema as e0, auditQuerySchema as e1, auditRecordSchema as e2, automationKeyInputSchema as e3, automationKeyPermissionSchema as e4, automationKeySchema as e5, balanceCheckSchema as e6, billingCheckoutInputSchema as e7, billingIntervals as e8, billingPlanChangeInputSchema as e9, connectionPageSchema as eA, connectionPluginSchema as eB, connectionResyncInputSchema as eC, connectionSchema as eD, connectionSecretFieldSchema as eE, connectionSyncSchema as eF, connectionUpdateInputSchema as eG, containsReferralIntegrationReward as eH, createManagementClient as eI, createRepositorySchema as eJ, credentialSecretInputSchema as eK, credentialSecretSchema as eL, customDomainInputSchema as eM, customDomainListSchema as eN, customDomainRecordSchema as eO, customDomainSchema as eP, customDomainStateSchema as eQ, dashboardLifecycleInputSchema as eR, dashboardLifecycleResultSchema as eS, dashboardListQuerySchema as eT, dashboardListSchema as eU, dashboardReadQuerySchema as eV, dashboardReadSchema as eW, dashboardSummarySchema as eX, developmentPreflightSchema as eY, deviceApproveSchema as eZ, deviceRedeemSchema as e_, billingPlanChangeSchema as ea, billingSessionSchema as eb, billingSubscriptionPlans as ec, billingSubscriptionSchema as ed, billingTopupInputSchema as ee, billingTopupMaxQuantity as ef, buildArtifactsSchema as eg, buildIdentitySchema as eh, buildPhaseSchema as ei, buildSnapshotSchema as ej, buildStatusSchema as ek, commitSchema as el, compareAppMigrations as em, completionRestorationSchema as en, completionRestoreSchema as eo, completionRevocationSchema as ep, completionRevocationShortfallSchema as eq, completionRevokeSchema as er, connectionActivitySchema as es, connectionAuthorizationSchema as et, connectionAuthorizeInputSchema as eu, connectionConnectInputSchema as ev, connectionDisconnectInputSchema as ew, connectionDryRunPageSchema as ex, connectionDryRunQuerySchema as ey, connectionDryRunRequestSchema as ez, sourceDataSchema$1 as f, managedResourceSchema as f$, environmentSchema as f0, evidenceRedactionResultSchema as f1, evidenceRedactionSchema as f2, evidenceRetentionResultSchema as f3, expectedRevision as f4, grantRecordSchema as f5, grantSchema as f6, hostedAppSchema as f7, hostedAppSecretsSchema as f8, hostedBuildSchema as f9, leaderboardSettlementRejectionSchema as fA, leaderboardSettlementReviewPageSchema as fB, leaderboardSettlementReviewQuerySchema as fC, leaderboardSettlementReviewSchema as fD, leaderboardSettlementReviewSummarySchema as fE, liveAppSchema as fF, managedAccountSchema as fG, managedAccountsSchema as fH, managedAttemptPageSchema as fI, managedAttemptQuerySchema as fJ, managedAttemptSchema as fK, managedCreatorAccountSchema as fL, managedCreatorAccountsSchema as fM, managedEntitlementPageSchema as fN, managedEntitlementQuerySchema as fO, managedEntitlementSchema as fP, managedMemberIdentitySchema as fQ, managedMemberPageSchema as fR, managedMemberProgressSchema as fS, managedMemberQuerySchema as fT, managedOAuthAccountSchema as fU, managedOfferSchema as fV, managedQuestEnrollmentPageSchema as fW, managedQuestEnrollmentSchema as fX, managedReleasePageSchema as fY, managedReleaseQuerySchema as fZ, managedResourceListSchema as f_, hostedDeploymentKeySchema as fa, hostedKeyPermissions as fb, hostedKeySchema as fc, hostedKeySecretSchema as fd, hostedManagementBindings as fe, hostedManagementClient as ff, identityLinkRelinkInputSchema as fg, identityLinkSelectorSchema as fh, ingestTrackerScopeSchema as fi, inventoryItemActionSchema as fj, inventoryItemPageSchema as fk, inventoryItemRenameSchema as fl, inventoryItemStateSchema as fm, inventorySchema as fn, inventoryStockCorrectionSchema as fo, isManagementError as fp, issuedAutomationKeySchema as fq, issuedServiceKeySchema as fr, issuedTokenSchema as fs, knownConnectionReconnectReasons as ft, knownConnectionStatuses as fu, knownConnectionSyncKinds as fv, knownConnectionSyncStatuses as fw, knownPluginSlots as fx, leaderboardSettlementExportSchema as fy, leaderboardSettlementMeasurementRetrySchema as fz, sourceRoles as g, projectTransferInputSchema as g$, managedStockItemSchema as g0, managedTelegramAccountSchema as g1, managedTieredRewardSchema as g2, managedWalletSchema as g3, managementErrorSchema as g4, managementResponseSchemas as g5, managementResponses as g6, memberAccountSchema as g7, memberAccountUnlinkInputSchema as g8, memberAppIdentitySchema as g9, offeredStarterSchema as gA, operationInputSchema as gB, operationSchema as gC, operatorUserSchema as gD, organizationBillingSchema as gE, pageSchema as gF, participantRoutePattern as gG, participantRoutes as gH, participantSignInInputSchema as gI, participantSignInSchema as gJ, permissionSchema as gK, personSchema as gL, pluginPageSchema as gM, pluginSchema as gN, projectBillingSchema as gO, projectCreateInputSchema as gP, projectDeletionInputSchema as gQ, projectDeletionSchema as gR, projectGrantSchema as gS, projectInputSchema as gT, projectMetricsSchema as gU, projectPermissionSchema as gV, projectPlanSchema as gW, projectRolePermissions as gX, projectRoleSchema as gY, projectSchema as gZ, projectSetupSchema as g_, memberCreatorAccountUnlinkInputSchema as ga, memberDetailSchema as gb, memberErasureDeletedSchema as gc, memberErasureInputSchema as gd, memberErasureResultSchema as ge, memberIdentityChangeInputSchema as gf, memberIdentityLinkChangeInputSchema as gg, memberIdentityLinkPageSchema as gh, memberIdentityLinkSchema as gi, memberIdentityReferenceSchema as gj, memberIdentitySelectorSchema as gk, memberIdentitySignInInputSchema as gl, memberIdentityStateChangeInputSchema as gm, memberIdentityStatePageSchema as gn, memberIdentityStateSchema as go, memberLookupSchema as gp, memberOAuthUnlinkInputSchema as gq, memberSchema as gr, memberTelegramUnlinkInputSchema as gs, memberWalletSignInInputSchema as gt, memberWalletUnlinkInputSchema as gu, metricsSchema as gv, nextScheduleRun as gw, oauthIdentitySelectorSchema as gx, offerLifecycleInputSchema as gy, offerLifecycleResultSchema as gz, APP_MIGRATION_FILE_BYTES as h, testMemberDiscordMessageSchema as h$, projectTransferSchema as h0, projectUpdateInputSchema as h1, promotionActionSchema as h2, promotionBuildSchema as h3, promotionChangeSchema as h4, promotionDecisionSchema as h5, promotionHistoryPageSchema as h6, promotionHistoryQuerySchema as h7, promotionRecordSchema as h8, promotionRejectionSchema as h9, sourceDataSchema as hA, stageRequestSchema as hB, stagedDeploymentContentSchema as hC, stagedDeploymentKey as hD, stagedDeploymentLimits as hE, stagedDeploymentSchema as hF, stagingAccessInputSchema as hG, stagingAccessModeSchema as hH, stagingAccessSchema as hI, stagingLinkSchema as hJ, stagingPathSchema as hK, starterIdSchema as hL, starterTemplates as hM, starters as hN, stockAdditionSchema as hO, stockInputSchema as hP, teamSchema as hQ, telegramBotIdSchema as hR, telegramIdentitySelectorSchema as hS, testMemberAcceptAnywaySchema as hT, testMemberAccountLinkSchema as hU, testMemberAccountSchema as hV, testMemberAccountUnlinkSchema as hW, testMemberActionSchema as hX, testMemberAdvanceSchema as hY, testMemberClockAdvanceSchema as hZ, testMemberCreateSchema as h_, promotionResourceKindSchema as ha, promotionSourceSchema as hb, promotionWarningSchema as hc, querySchema as hd, questEnrollmentStateSchema as he, questEnrollmentWithdrawalInputSchema as hf, questLifecycleInputSchema as hg, questLifecycleSchema as hh, readinessSchema as hi, realPeopleInTestUsageSchema as hj, repositoryCreateSchema as hk, repositorySchema as hl, resourceArchiveInputSchema as hm, resourceLifecycleInputSchema as hn, resourceLifecycleKindSchema as ho, resourceLifecyclePaths as hp, resourceLifecycleResultSchema as hq, revokedCompletionSchema as hr, rolePermissions as hs, roleSchema as ht, scheduleResult as hu, scheduledInvocationSchema as hv, sequenceCursorSchema as hw, serviceKeyInputSchema as hx, serviceKeySchema as hy, settlementPayoutCsv as hz, isIntegrationParticipantPath as i, testMemberDiscordReactionSchema as i0, testMemberHistoryQuerySchema as i1, testMemberHistorySchema as i2, testMemberOperatorDecisionSchema as i3, testMemberPassSchema as i4, testMemberPurgeResultSchema as i5, testMemberPurgeSchema as i6, testMemberRecordResultSchema as i7, testMemberRecordSchema as i8, testMemberRedeemSchema as i9, webhookDeliveryPageSchema as iA, webhookDeliverySchema as iB, webhookEndpointSchema as iC, webhookEndpointStateSchema as iD, webhookEventSchema as iE, webhookInputSchema as iF, webhookQuerySchema as iG, webhookRotateInputSchema as iH, webhookSecretSchema as iI, webhookStatePageSchema as iJ, webhookStateQuerySchema as iK, webhookUpdateSchema as iL, whereSchemaIssue as iM, testMemberReferralAcceptSchema as ia, testMemberResetResultSchema as ib, testMemberResetSchema as ic, testMemberSchema as id, testMemberWalletLinkSchema as ie, testMemberWalletSchema as ig, testMemberWalletUnlinkSchema as ih, testMemberXPostSchema as ii, tieredRewardLifecycleInputSchema as ij, tieredRewardLifecycleResultSchema as ik, tokenInputSchema as il, tokenSchema as im, tokenScopeInputSchema as io, trackerDataIssue as ip, trackerDataIssues as iq, validateQuestShape as ir, verifiedPassSchema as is, verifyScheduledRequest as it, verifyWebhook as iu, walletBalanceChainsSchema as iv, walletIdentitySelectorSchema as iw, webhookControlInputSchema as ix, webhookCreateInputSchema as iy, webhookDeleteInputSchema as iz, APP_MIGRATION_LIMIT as j, APP_MIGRATION_TOTAL_BYTES as k, APP_SCHEDULE_LIMIT as l, managementTransport as m, nextScheduleRun$1 as n, APP_SCHEDULE_MIN_INTERVAL as o, parseImageExtraction as p, questConfiguration as q, APP_SCHEDULE_RESULT_BYTES as r, sequenceCursorSchema$1 as s, APP_SCHEDULE_TIMEOUT as t, APP_SECRET_LIMIT as u, validateQuestShape$1 as v, APP_SQL_LIMIT as w, APP_STORAGE_CELL_CHARACTERS as x, APP_STORAGE_PREVIEW_CHARACTERS as y, APP_STORAGE_ROW_LIMIT as z };
149919
+ export { type AppStorageRows as $, APP_KV_LIMIT as A, type Access as B, type AccessHistoryQuery as C, type ActiveMemberUsage as D, type AppSchedule as E, type AppScheduleDiagnostic as F, type AppScheduleList as G, type AppScheduleResult as H, type AppScheduleRun as I, type AppScheduleRuns as J, type AppScheduleStateInput as K, type AppSchedules as L, type ManagementTransportOptions as M, type AppSecret as N, type AppSecretDeclaration as O, type ParticipantRoute as P, type AppSecretInput as Q, REFERRAL_INTEGRATION_REWARD_ERROR$1 as R, type AppSecretList as S, type AppStorage as T, type AppStorageCell as U, type AppStorageCellPage as V, type AppStorageKeys as W, type AppStorageKind as X, type AppStorageKvClear as Y, type AppStorageKvClearResult as Z, type AppStorageList as _, isParticipantRoute as a, type HostedKeyPermission as a$, type AppStorageSqlClear as a0, type AppStorageSqlClearResult as a1, type AppStorageTables as a2, type AppStorageValue as a3, type AuditPage as a4, type AuditQuery as a5, type AuditRecord as a6, type AutomationKey as a7, type AutomationKeyPermission as a8, type BalanceCheck as a9, type ConnectionPage as aA, type ConnectionReconnectReason as aB, type ConnectionResyncInput as aC, type ConnectionStatus as aD, type ConnectionSync as aE, type ConnectionSyncKind as aF, type ConnectionSyncStatus as aG, type ConnectionUpdateInput as aH, type CredentialSecret as aI, type CustomDomain as aJ, type CustomDomainRecord as aK, type CustomDomainState as aL, DEFAULT_MANAGEMENT_TIMEOUT as aM, type DashboardLifecycleResult as aN, type DashboardListQuery as aO, type DashboardRead as aP, type DashboardReadQuery as aQ, type DashboardSummary as aR, type EvidenceRedaction as aS, type EvidenceRedactionResult as aT, type EvidenceRetentionResult as aU, type EvidenceRetentionSetting as aV, type ExpectedRevision as aW, type HostedAppSecrets as aX, type HostedBuild as aY, type HostedDeploymentKey as aZ, type HostedKey as a_, type BillingCheckoutInput as aa, type BillingPlan as ab, type BillingPlanChange as ac, type BillingPlanChangeInput as ad, type BillingSession as ae, type BillingSubscription as af, type BillingTopupInput as ag, type BuildArtifacts as ah, type BuildIdentity as ai, type BuildSnapshot as aj, type BuildStatus as ak, type CompletionRestoration as al, type CompletionRestoreInput as am, type CompletionRevocation as an, type CompletionRevocationShortfall as ao, type CompletionRevokeInput as ap, type Connection as aq, type ConnectionActivity as ar, type ConnectionAuthorization as as, type ConnectionAuthorizationCompleteInput as at, type ConnectionAuthorizeInput as au, type ConnectionConnectInput as av, type ConnectionDisconnectInput as aw, type ConnectionDryRunPage as ax, type ConnectionDryRunQuery as ay, type ConnectionDryRunRequest as az, parseImageResult as b, type MemberBan as b$, type HostedManagementEnv as b0, type IdentityLinkRelinkInput as b1, type IdentitySource as b2, type InventoryItemAction as b3, type InventoryItemRename as b4, type InventoryItemState as b5, type InventoryStockCorrection as b6, type KnownBillingPlan as b7, type KnownConnectionReconnectReason as b8, type KnownConnectionStatus as b9, type ManagedEntitlementQuery as bA, type ManagedMemberIdentity as bB, type ManagedMemberPage as bC, type ManagedMemberProgress as bD, type ManagedMemberQuery as bE, type ManagedOAuthAccount as bF, type ManagedOffer as bG, type ManagedQuestEnrollment as bH, type ManagedReleasePage as bI, type ManagedReleaseQuery as bJ, type ManagedResource as bK, type ManagedResourceList as bL, type ManagedStockItem as bM, type ManagedTelegramAccount as bN, type ManagedTieredReward as bO, type ManagedWallet as bP, type ManagementCallOptions as bQ, type ManagementClient as bR, type ManagementClientOptions as bS, ManagementError as bT, ManagementErrorCode as bU, type ManagementErrorInit as bV, type ManagementErrorKind as bW, type ManagementPage as bX, type ManagementRawInit as bY, type MemberAccountUnlinkInput as bZ, type MemberAppIdentity as b_, type KnownConnectionSyncKind as ba, type KnownConnectionSyncStatus as bb, type KnownIdentitySource as bc, type KnownManagedAccountStatus as bd, type KnownMemberBanRunStatus as be, type KnownPayoutSourceKind as bf, type KnownPluginSlot as bg, type KnownProjectPermission as bh, type KnownProjectRole as bi, type KnownTestMemberDecisionKind as bj, type LeaderboardSettlementExport as bk, type LeaderboardSettlementMeasurementRetry as bl, type LeaderboardSettlementRejection as bm, type LeaderboardSettlementReview as bn, type ListQuery as bo, type LiveApp as bp, type ManagedAccount as bq, ManagedAccountStatus as br, type ManagedAccounts as bs, type ManagedAttempt as bt, type ManagedAttemptPage as bu, type ManagedAttemptQuery as bv, type ManagedCreatorAccount as bw, type ManagedCreatorAccounts as bx, type ManagedEntitlement as by, type ManagedEntitlementPage as bz, containsReferralIntegrationReward$1 as c, type StagedDeployment as c$, type MemberBanInput as c0, type MemberBanOutcome as c1, type MemberBanPreview as c2, type MemberBanPreviewInput as c3, type MemberBanRollbackInput as c4, type MemberBanRunStatus as c5, type MemberCreatorAccountUnlinkInput as c6, type MemberDetail as c7, type MemberErasureDeleted as c8, type MemberErasureInput as c9, type ProjectPlan as cA, type ProjectRole as cB, type PromotionBuild as cC, type PromotionChange as cD, type PromotionHistoryPage as cE, type PromotionHistoryQuery as cF, type PromotionRecord as cG, type PromotionResourceKind as cH, type PromotionSource as cI, type PromotionWarning as cJ, type QuestEnrollmentState as cK, type QuestEnrollmentWithdrawalInput as cL, type QuestLifecycle as cM, type QuestLifecycleInput as cN, REFERRAL_INTEGRATION_REWARD_ERROR as cO, type RealPeopleInTestUsage as cP, type ResourceArchiveInput as cQ, type ResourceLifecycleInput as cR, RestoredDeliveryOutcome as cS, RestoredEntitlementOutcome as cT, RestoredReferralOutcome as cU, type RevokedCompletion as cV, RevokedDeliveryOutcome as cW, RevokedEntitlementOutcome as cX, RevokedReferralOutcome as cY, type ScheduledInvocation as cZ, type ServiceKey as c_, type MemberErasureResult as ca, type MemberIdentityLink as cb, type MemberIdentityLinkChangeInput as cc, type MemberIdentityReference as cd, type MemberIdentitySelector as ce, type MemberIdentitySignInInput as cf, type MemberIdentityState as cg, type MemberIdentityStateChangeInput as ch, type MemberIdentityStatePage as ci, type MemberUnbanInput as cj, type OfferLifecycleResult as ck, type OperatorUser as cl, type OrganizationBilling as cm, type ParticipantSignIn as cn, type ParticipantSignInInput as co, type ParticipantSignInTelegram as cp, PayoutSourceKind as cq, type Permission as cr, type Person as cs, type PluginInfo as ct, type PluginPage as cu, type PluginSlot as cv, type Project as cw, type ProjectBilling as cx, type ProjectMetrics as cy, type ProjectPermission as cz, participantRoutePattern$1 as d, appSecretInputSchema as d$, type StagedDeploymentContent as d0, type StagingAccess as d1, type StagingAccessInput as d2, type StagingLink as d3, type Starter as d4, type StarterId as d5, type StarterTemplate as d6, type TestMember as d7, type TestMemberAcceptAnywayInput as d8, type TestMemberAccount as d9, type TieredRewardLifecycleResult as dA, WEBHOOK_MAX_BYTES as dB, type WalletBalanceChains as dC, type WebhookDeleteInput as dD, type WebhookEndpointState as dE, type WebhookEvent as dF, accessHistoryQuerySchema as dG, accessSchema as dH, accountProfileSchema as dI, activeMemberMonthSchema as dJ, activeMemberUsageSchema as dK, appIdentitySelectorSchema as dL, appMigrationNameSchema as dM, appRoutingSchema as dN, appScheduleDiagnosticSchema as dO, appScheduleListSchema as dP, appScheduleNameSchema as dQ, appSchedulePathSchema as dR, appScheduleResultSchema as dS, appScheduleRunSchema as dT, appScheduleRunsSchema as dU, appScheduleSchema as dV, appScheduleStateInputSchema as dW, appScheduleStateSchema as dX, appSchedulesSchema as dY, appSecretDeclarationSchema as dZ, appSecretDeclarationsSchema as d_, type TestMemberAccountLinkInput as da, type TestMemberAccountUnlinkInput as db, type TestMemberActionInput as dc, type TestMemberAdvanceInput as dd, type TestMemberClockAdvanceInput as de, type TestMemberCreateInput as df, TestMemberDecisionKind as dg, type TestMemberDiscordMessageInput as dh, type TestMemberDiscordReactionInput as di, type TestMemberHistory as dj, type TestMemberHistoryQuery as dk, type TestMemberOperatorDecision as dl, type TestMemberPassInput as dm, type TestMemberPurgeInput as dn, type TestMemberPurgeResult as dp, type TestMemberRecordInput as dq, type TestMemberRecordResult as dr, type TestMemberRedeemInput as ds, type TestMemberReferralAcceptInput as dt, type TestMemberResetInput as du, type TestMemberResetResult as dv, type TestMemberWallet as dw, type TestMemberWalletLinkInput as dx, type TestMemberWalletUnlinkInput as dy, type TestMemberXPostInput as dz, participantRoutes$1 as e, containsReferralIntegrationReward as e$, appSecretListSchema as e0, appSecretNameSchema as e1, appSecretSchema as e2, appSecretValueSchema as e3, appStorageCellPageSchema as e4, appStorageCellSchema as e5, appStorageKeysSchema as e6, appStorageKindSchema as e7, appStorageKvClearResultSchema as e8, appStorageKvClearSchema as e9, buildIdentitySchema as eA, buildPhaseSchema as eB, buildSnapshotSchema as eC, buildStatusSchema as eD, commitSchema as eE, compareAppMigrations as eF, completionRestorationSchema as eG, completionRestoreSchema as eH, completionRevocationSchema as eI, completionRevocationShortfallSchema as eJ, completionRevokeSchema as eK, connectionActivitySchema as eL, connectionAuthorizationCompleteInputSchema as eM, connectionAuthorizationSchema as eN, connectionAuthorizeInputSchema as eO, connectionConnectInputSchema as eP, connectionDisconnectInputSchema as eQ, connectionDryRunPageSchema as eR, connectionDryRunQuerySchema as eS, connectionDryRunRequestSchema as eT, connectionPageSchema as eU, connectionPluginSchema as eV, connectionResyncInputSchema as eW, connectionSchema as eX, connectionSecretFieldSchema as eY, connectionSyncSchema as eZ, connectionUpdateInputSchema as e_, appStorageListSchema as ea, appStorageRowsSchema as eb, appStorageSchema as ec, appStorageSqlClearResultSchema as ed, appStorageSqlClearSchema as ee, appStorageTablesSchema as ef, appStorageValueSchema as eg, assetPathSchema as eh, auditListQuerySchema as ei, auditPageSchema as ej, auditQuerySchema as ek, auditRecordSchema as el, automationKeyInputSchema as em, automationKeyPermissionSchema as en, automationKeySchema as eo, balanceCheckSchema as ep, billingCheckoutInputSchema as eq, billingIntervals as er, billingPlanChangeInputSchema as es, billingPlanChangeSchema as et, billingSessionSchema as eu, billingSubscriptionPlans as ev, billingSubscriptionSchema as ew, billingTopupInputSchema as ex, billingTopupMaxQuantity as ey, buildArtifactsSchema as ez, sourceDataSchema$1 as f, managedAccountSchema as f$, createManagementClient as f0, createRepositorySchema as f1, credentialSecretInputSchema as f2, credentialSecretSchema as f3, customDomainInputSchema as f4, customDomainListSchema as f5, customDomainRecordSchema as f6, customDomainSchema as f7, customDomainStateSchema as f8, dashboardLifecycleInputSchema as f9, hostedManagementClient as fA, identityLinkRelinkInputSchema as fB, identityLinkSelectorSchema as fC, ingestTrackerScopeSchema as fD, inventoryItemActionSchema as fE, inventoryItemPageSchema as fF, inventoryItemRenameSchema as fG, inventoryItemStateSchema as fH, inventorySchema as fI, inventoryStockCorrectionSchema as fJ, isManagementError as fK, issuedAutomationKeySchema as fL, issuedServiceKeySchema as fM, issuedTokenSchema as fN, knownConnectionReconnectReasons as fO, knownConnectionStatuses as fP, knownConnectionSyncKinds as fQ, knownConnectionSyncStatuses as fR, knownPluginSlots as fS, leaderboardSettlementExportSchema as fT, leaderboardSettlementMeasurementRetrySchema as fU, leaderboardSettlementRejectionSchema as fV, leaderboardSettlementReviewPageSchema as fW, leaderboardSettlementReviewQuerySchema as fX, leaderboardSettlementReviewSchema as fY, leaderboardSettlementReviewSummarySchema as fZ, liveAppSchema as f_, dashboardLifecycleResultSchema as fa, dashboardListQuerySchema as fb, dashboardListSchema as fc, dashboardReadQuerySchema as fd, dashboardReadSchema as fe, dashboardSummarySchema as ff, developmentPreflightSchema as fg, deviceApproveSchema as fh, deviceRedeemSchema as fi, deviceStartSchema as fj, environmentSchema as fk, evidenceRedactionResultSchema as fl, evidenceRedactionSchema as fm, evidenceRetentionResultSchema as fn, evidenceRetentionSettingSchema as fo, expectedRevision as fp, grantRecordSchema as fq, grantSchema as fr, hostedAppSchema as fs, hostedAppSecretsSchema as ft, hostedBuildSchema as fu, hostedDeploymentKeySchema as fv, hostedKeyPermissions as fw, hostedKeySchema as fx, hostedKeySecretSchema as fy, hostedManagementBindings as fz, sourceRoles as g, offerLifecycleResultSchema as g$, managedAccountsSchema as g0, managedAttemptPageSchema as g1, managedAttemptQuerySchema as g2, managedAttemptSchema as g3, managedCreatorAccountSchema as g4, managedCreatorAccountsSchema as g5, managedEntitlementPageSchema as g6, managedEntitlementQuerySchema as g7, managedEntitlementSchema as g8, managedMemberIdentitySchema as g9, memberBanSchema as gA, memberCreatorAccountUnlinkInputSchema as gB, memberDetailSchema as gC, memberErasureDeletedSchema as gD, memberErasureInputSchema as gE, memberErasureResultSchema as gF, memberIdentityChangeInputSchema as gG, memberIdentityLinkChangeInputSchema as gH, memberIdentityLinkPageSchema as gI, memberIdentityLinkSchema as gJ, memberIdentityReferenceSchema as gK, memberIdentitySelectorSchema as gL, memberIdentitySignInInputSchema as gM, memberIdentityStateChangeInputSchema as gN, memberIdentityStatePageSchema as gO, memberIdentityStateSchema as gP, memberLookupSchema as gQ, memberOAuthUnlinkInputSchema as gR, memberSchema as gS, memberTelegramUnlinkInputSchema as gT, memberUnbanInputSchema as gU, memberWalletSignInInputSchema as gV, memberWalletUnlinkInputSchema as gW, metricsSchema as gX, nextScheduleRun as gY, oauthIdentitySelectorSchema as gZ, offerLifecycleInputSchema as g_, managedMemberPageSchema as ga, managedMemberProgressSchema as gb, managedMemberQuerySchema as gc, managedOAuthAccountSchema as gd, managedOfferSchema as ge, managedQuestEnrollmentPageSchema as gf, managedQuestEnrollmentSchema as gg, managedReleasePageSchema as gh, managedReleaseQuerySchema as gi, managedResourceListSchema as gj, managedResourceSchema as gk, managedStockItemSchema as gl, managedTelegramAccountSchema as gm, managedTieredRewardSchema as gn, managedWalletSchema as go, managementErrorSchema as gp, managementResponseSchemas as gq, managementResponses as gr, memberAccountSchema as gs, memberAccountUnlinkInputSchema as gt, memberAppIdentitySchema as gu, memberBanInputSchema as gv, memberBanOutcomeSchema as gw, memberBanPreviewInputSchema as gx, memberBanPreviewSchema as gy, memberBanRollbackSchema as gz, APP_MIGRATION_FILE_BYTES as h, settlementPayoutCsv as h$, offeredStarterSchema as h0, operationInputSchema as h1, operationSchema as h2, operatorUserSchema as h3, organizationBillingSchema as h4, pageSchema as h5, participantRoutePattern as h6, participantRoutes as h7, participantSignInInputSchema as h8, participantSignInSchema as h9, promotionRecordSchema as hA, promotionRejectionSchema as hB, promotionResourceKindSchema as hC, promotionSourceSchema as hD, promotionWarningSchema as hE, querySchema as hF, questEnrollmentStateSchema as hG, questEnrollmentWithdrawalInputSchema as hH, questLifecycleInputSchema as hI, questLifecycleSchema as hJ, readinessSchema as hK, realPeopleInTestUsageSchema as hL, repositoryCreateSchema as hM, repositorySchema as hN, resourceArchiveInputSchema as hO, resourceLifecycleInputSchema as hP, resourceLifecycleKindSchema as hQ, resourceLifecyclePaths as hR, resourceLifecycleResultSchema as hS, revokedCompletionSchema as hT, rolePermissions as hU, roleSchema as hV, scheduleResult as hW, scheduledInvocationSchema as hX, sequenceCursorSchema as hY, serviceKeyInputSchema as hZ, serviceKeySchema as h_, permissionSchema as ha, personSchema as hb, pluginPageSchema as hc, pluginSchema as hd, projectBillingSchema as he, projectCreateInputSchema as hf, projectDeletionInputSchema as hg, projectDeletionSchema as hh, projectGrantSchema as hi, projectInputSchema as hj, projectMetricsSchema as hk, projectPermissionSchema as hl, projectPlanSchema as hm, projectRolePermissions as hn, projectRoleSchema as ho, projectSchema as hp, projectSetupSchema as hq, projectTransferInputSchema as hr, projectTransferSchema as hs, projectUpdateInputSchema as ht, promotionActionSchema as hu, promotionBuildSchema as hv, promotionChangeSchema as hw, promotionDecisionSchema as hx, promotionHistoryPageSchema as hy, promotionHistoryQuerySchema as hz, isIntegrationParticipantPath as i, webhookCreateInputSchema as i$, shortensEvidenceRetention as i0, sourceDataSchema as i1, stageRequestSchema as i2, stagedDeploymentContentSchema as i3, stagedDeploymentKey as i4, stagedDeploymentLimits as i5, stagedDeploymentSchema as i6, stagingAccessInputSchema as i7, stagingAccessModeSchema as i8, stagingAccessSchema as i9, testMemberPurgeResultSchema as iA, testMemberPurgeSchema as iB, testMemberRecordResultSchema as iC, testMemberRecordSchema as iD, testMemberRedeemSchema as iE, testMemberReferralAcceptSchema as iF, testMemberResetResultSchema as iG, testMemberResetSchema as iH, testMemberSchema as iI, testMemberWalletLinkSchema as iJ, testMemberWalletSchema as iK, testMemberWalletUnlinkSchema as iL, testMemberXPostSchema as iM, tieredRewardLifecycleInputSchema as iN, tieredRewardLifecycleResultSchema as iO, tokenInputSchema as iP, tokenSchema as iQ, tokenScopeInputSchema as iR, trackerDataIssue as iS, trackerDataIssues as iT, validateQuestShape as iU, verifiedPassSchema as iV, verifyScheduledRequest as iW, verifyWebhook as iX, walletBalanceChainsSchema as iY, walletIdentitySelectorSchema as iZ, webhookControlInputSchema as i_, stagingLinkSchema as ia, stagingPathSchema as ib, starterIdSchema as ic, starterTemplates as id, starters as ie, stockAdditionSchema as ig, stockInputSchema as ih, teamSchema as ii, telegramBotIdSchema as ij, telegramIdentitySelectorSchema as ik, testMemberAcceptAnywaySchema as il, testMemberAccountLinkSchema as im, testMemberAccountSchema as io, testMemberAccountUnlinkSchema as ip, testMemberActionSchema as iq, testMemberAdvanceSchema as ir, testMemberClockAdvanceSchema as is, testMemberCreateSchema as it, testMemberDiscordMessageSchema as iu, testMemberDiscordReactionSchema as iv, testMemberHistoryQuerySchema as iw, testMemberHistorySchema as ix, testMemberOperatorDecisionSchema as iy, testMemberPassSchema as iz, APP_MIGRATION_LIMIT as j, webhookDeleteInputSchema as j0, webhookDeliveryPageSchema as j1, webhookDeliverySchema as j2, webhookEndpointSchema as j3, webhookEndpointStateSchema as j4, webhookEventSchema as j5, webhookInputSchema as j6, webhookQuerySchema as j7, webhookRotateInputSchema as j8, webhookSecretSchema as j9, webhookStatePageSchema as ja, webhookStateQuerySchema as jb, webhookUpdateSchema as jc, whereSchemaIssue as jd, APP_MIGRATION_TOTAL_BYTES as k, APP_SCHEDULE_LIMIT as l, managementTransport as m, nextScheduleRun$1 as n, APP_SCHEDULE_MIN_INTERVAL as o, parseImageExtraction as p, questConfiguration as q, APP_SCHEDULE_RESULT_BYTES as r, sequenceCursorSchema$1 as s, APP_SCHEDULE_TIMEOUT as t, APP_SECRET_LIMIT as u, validateQuestShape$1 as v, APP_SQL_LIMIT as w, APP_STORAGE_CELL_CHARACTERS as x, APP_STORAGE_PREVIEW_CHARACTERS as y, APP_STORAGE_ROW_LIMIT as z };