@domino-sdk/relay 1.11.1 → 1.14.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.
- package/README.md +1 -0
- package/build.mjs +15 -0
- package/dist/accounts-5ciAkCMP.d.ts +147 -0
- package/dist/{activity-CNiPDPK6.d.ts → activity-D_R3J-gU.d.ts} +115 -115
- package/dist/attempt-captures-DZldPZJc.d.ts +285 -0
- package/dist/authoring.d.ts +49 -47
- package/dist/authoring.js +6 -4
- package/dist/{automatic-outcomes-kPIDv6X_.d.ts → automatic-outcomes-6lJGnSDe.d.ts} +1 -1
- package/dist/browser.d.ts +8 -7
- package/dist/browser.js +7 -6
- package/dist/capability-error-oTd3eYFH.d.ts +151 -0
- package/dist/chunk-2UAVZCMH.js +314 -0
- package/dist/chunk-5TS3OAWS.js +470 -0
- package/dist/{chunk-PUDL4JBY.js → chunk-6DD7DVNQ.js} +2 -2
- package/dist/{chunk-AGFUDCNM.js → chunk-C3CB4WIQ.js} +1 -1
- package/dist/{chunk-T657WO56.js → chunk-LLMJ2SUT.js} +6 -2
- package/dist/chunk-NIYCAW2I.js +79 -0
- package/dist/chunk-UJACD6K2.js +987 -0
- package/dist/{chunk-XK5E4HAS.js → chunk-VBHFJH3P.js} +80 -28
- package/dist/chunk-W335CWYJ.js +53 -0
- package/dist/{chunk-X7ECZ3AK.js → chunk-XMBM2XD5.js} +1 -1
- package/dist/{chunk-2K2QBPAD.js → chunk-ZLYBUM7K.js} +6 -4
- package/dist/{client-fUSERMAC.d.ts → client-BTd_CyX3.d.ts} +26 -6
- package/dist/{groups-BK8ts2yK.d.ts → groups-4Jb3uYFO.d.ts} +1 -1
- package/dist/{images-aw6W7vFZ.d.ts → images-D5kpqHxv.d.ts} +1 -1
- package/dist/index.d.ts +9 -8
- package/dist/index.js +8 -6
- package/dist/{capability-error-ty3SqD_b.d.ts → integrations-Cr9EhGI_.d.ts} +1 -149
- package/dist/internal.d.ts +32 -5
- package/dist/internal.js +8 -3
- package/dist/{offers-C2FANzrG.d.ts → offers-BFI5t-e-.d.ts} +2 -2
- package/dist/{pages-Chb6OZSB.d.ts → pages-nIoMT9J3.d.ts} +1 -1
- package/dist/{participant-activity-DkL3nY5a.d.ts → participant-activity-DYdUUhw2.d.ts} +1 -0
- package/dist/portal-proxy.js +1 -1
- package/dist/react/index.d.ts +246 -177
- package/dist/react/index.js +954 -383
- package/dist/{referral-reward-kinds-M3f0PdiR.d.ts → referral-reward-kinds-DnvQXL8L.d.ts} +100 -3
- package/dist/{schema-DEM8y8Fm.d.ts → schema-K-Pg5lPz.d.ts} +1 -1
- package/dist/schema.d.ts +316 -314
- package/dist/schema.js +16 -14
- package/dist/server/index.d.ts +2546 -377
- package/dist/server/index.js +594 -841
- package/dist/{sign-in-options-iWOp9puZ.d.ts → sign-in-options-DBjMzgnu.d.ts} +2 -2
- package/dist/submission-input-CPIsJt-_.d.ts +146 -0
- package/dist/testing.d.ts +641 -0
- package/dist/testing.js +1282 -0
- package/package.json +6 -2
- package/dist/chunk-OCXGG75K.js +0 -171
- package/dist/chunk-ZFABFKIY.js +0 -1295
- package/dist/submission-input-BbBJTVlT.d.ts +0 -290
package/dist/server/index.d.ts
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { k as ResponseSchema, a as PageQuery, F as contentQualificationQuerySchema, s as allocateQuestSchema, v as catalogDeploymentSchema, ae as saveQuestDraftSchema, O as publishQuestDraftSchema, M as ManagementStateQuery, l as RewardDeliveryAction, K as memberEnrollmentInputSchema, R as ResponseResult } from '../pages-
|
|
2
|
-
export { J as managementStateQuerySchema } from '../pages-
|
|
3
|
-
import { a as AttemptStatus, ah as CompletionSourceKind,
|
|
4
|
-
export { ag as CompletionSource, an as KnownCompletionSourceKind, bh as entitlementSchema, bv as memberIdentitySchema,
|
|
1
|
+
import { k as ResponseSchema, a as PageQuery, F as contentQualificationQuerySchema, s as allocateQuestSchema, v as catalogDeploymentSchema, ae as saveQuestDraftSchema, O as publishQuestDraftSchema, M as ManagementStateQuery, l as RewardDeliveryAction, K as memberEnrollmentInputSchema, R as ResponseResult } from '../pages-nIoMT9J3.js';
|
|
2
|
+
export { J as managementStateQuerySchema } from '../pages-nIoMT9J3.js';
|
|
3
|
+
import { a as AttemptStatus, ah as CompletionSourceKind, O as OpenIdentityKind, a0 as TrackerDataSchema, aL as TrackerQuery, cj as trackerContentReadSchema, cm as trackerControlSchema, ct as trackerIngestSchema, aI as TrackerOutcomeQuery, aR as TrackerTriggerOutcomeQuery, cw as trackerOutcomeRetrySchema, aK as TrackerPreviewInput, b8 as contentPerformanceQuerySchema, c6 as submitSchema, c0 as staffDecisionSchema, b0 as beginHandoverSchema, b5 as confirmHandoverSchema, bf as entitlementCorrectionSchema, ba as createStockItemSchema, b4 as configurePickupSchema, bO as questSettingsInputSchema } from '../schema-K-Pg5lPz.js';
|
|
4
|
+
export { ag as CompletionSource, an as KnownCompletionSourceKind, bh as entitlementSchema, bv as memberIdentitySchema, a8 as trackerDataIssue, a9 as trackerDataIssues, cN as trackerTriggerOutcomePageSchema, ac as whereSchemaIssue } from '../schema-K-Pg5lPz.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { O as OptionalActionId } from '../action-9Xl0StBg.js';
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
|
|
7
|
+
export { A as AttemptCapture, C as CapturedFact, a as attemptCaptureSchema, c as capturedFactSchema } from '../attempt-captures-DZldPZJc.js';
|
|
8
|
+
import { r as collectionBeginSchema, z as counterHistoryQuerySchema, E as counterModerationSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, l as automaticOutcomeQuerySchema, g as automaticCatchUpInputSchema, f as automaticCatchUpConfirmSchema } from '../automatic-outcomes-6lJGnSDe.js';
|
|
9
|
+
import { q as projectDeploymentSchema, k as deploymentResultSchema, s as publishDeploymentSchema, i as deploymentRecordSchema, x as submitDeploymentSchema, j as deploymentRejectionSchema, v as rejectDeploymentSchema, g as deploymentActionSchema, r as promoteDeploymentSchema, w as rollbackDeploymentSchema, m as projectCalendarInputSchema } from '../activity-D_R3J-gU.js';
|
|
10
|
+
export { c as activityTypeSchema, d as activityTypes } from '../activity-D_R3J-gU.js';
|
|
11
|
+
import { a1 as engagementChangePreviewInputSchema, a3 as engagementChangeSchema, af as engagementVersionQuerySchema, a6 as engagementPageQuerySchema, a8 as engagementPublishSchema, Z as createPointLedgerSchema, aO as pointLedgerPropertiesSchema, aQ as pointLedgerSchema, aF as managedPointLedgerSchema, aT as pointsMutationSchema, J as ManagedPointHistoryPage, b3 as referralManagementSchema, b8 as referralSuspensionSchema, b4 as referralQualificationSchema, b6 as referralRewardResolutionSchema, b0 as referralControlSchema, au as leaderboardQuerySchema, an as leaderboardExclusionSchema, p as ProjectGroupReference, ao as leaderboardGroupSchema, aw as leaderboardSettlementApprovalSchema, B as GroupPageQuery, Y as createGroupSchema, ba as updateGroupSchema, Q as addGroupMemberSchema, b9 as removeGroupMemberSchema, aG as memberCampaignEnrollmentInputSchema, aH as memberCampaignWithdrawalInputSchema } from '../groups-4Jb3uYFO.js';
|
|
12
|
+
export { G as GroupMember, y as GroupMemberPage, z as GroupPage, I as ManagedGroup, aa as engagementRuleVersionPageSchema, ag as groupMemberPageSchema, ah as groupMemberSchema, ai as groupPageQuerySchema, aj as groupPageSchema, aD as managedGroupSchema, aE as managedPointHistoryPageSchema } from '../groups-4Jb3uYFO.js';
|
|
13
|
+
export { E as Extracted } from '../images-D5kpqHxv.js';
|
|
14
|
+
import { h as offerControlSchema, m as redemptionCancellationSchema } from '../offers-BFI5t-e-.js';
|
|
14
15
|
import { C as profileSettingsInputSchema, z as profileModerationSchema } from '../profiles-BHMVj0kM.js';
|
|
15
|
-
import { i as identityIntegrationInputSchema } from '../referral-reward-kinds-
|
|
16
|
-
export { R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, a as identityIntegrationSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, m as sourceRoles, v as validateQuestShape } from '../referral-reward-kinds-
|
|
17
|
-
import
|
|
16
|
+
import { M as ManagementCallOptions, i as identityIntegrationInputSchema } from '../referral-reward-kinds-DnvQXL8L.js';
|
|
17
|
+
export { D as DEFAULT_MANAGEMENT_TIMEOUT, n as ManagementError, o as ManagementErrorCode, r as ManagementErrorInit, t as ManagementErrorKind, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, a as identityIntegrationSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, u as isManagementError, f as isParticipantRoute, w as managementErrorSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, m as sourceRoles, v as validateQuestShape } from '../referral-reward-kinds-DnvQXL8L.js';
|
|
18
|
+
import '../request-error-D_dUPLwo.js';
|
|
18
19
|
|
|
19
20
|
type KnownPayoutSourceKind = (typeof PayoutSourceKind)[keyof typeof PayoutSourceKind];
|
|
20
21
|
/**
|
|
@@ -754,102 +755,6 @@ type ResourceArchiveInput = Omit<z.input<typeof resourceArchiveInputSchema>, "ac
|
|
|
754
755
|
actionId?: string;
|
|
755
756
|
};
|
|
756
757
|
|
|
757
|
-
/**
|
|
758
|
-
* How a management call failed, as in every Domino client error (see `RequestError`):
|
|
759
|
-
* - `http`: the server answered with an error status. `message`, `code` and `details` are its own.
|
|
760
|
-
* - `network`: no usable answer arrived: the connection failed before a response, or broke while
|
|
761
|
-
* the body was read.
|
|
762
|
-
* - `timeout`: the call's deadline passed (`timeout`, 30 seconds unless the client or call sets
|
|
763
|
-
* another), retries included.
|
|
764
|
-
* - `aborted`: the caller's `signal` cancelled the call.
|
|
765
|
-
* - `invalid-response`: the server answered 2xx, but the body was not JSON or did not match the
|
|
766
|
-
* response this client expects.
|
|
767
|
-
* - `client`: the call never left: its input, its options or the client's `getToken` failed.
|
|
768
|
-
*/
|
|
769
|
-
type ManagementErrorKind = RequestErrorKind;
|
|
770
|
-
/** The codes the client itself sets; with kind `http`, `code` is the server's own. */
|
|
771
|
-
declare const ManagementErrorCode: {
|
|
772
|
-
/** The input or an option failed validation before anything was sent (kind `client`). */
|
|
773
|
-
readonly InvalidInput: "invalid-input";
|
|
774
|
-
/** The client's `getToken` failed before anything was sent (kind `client` or `network`). */
|
|
775
|
-
readonly Credential: "credential";
|
|
776
|
-
readonly Network: "network";
|
|
777
|
-
readonly Timeout: "timeout";
|
|
778
|
-
readonly Aborted: "aborted";
|
|
779
|
-
readonly InvalidResponse: "invalid-response";
|
|
780
|
-
};
|
|
781
|
-
/**
|
|
782
|
-
* The management API's error body: the message in `error`, a machine-readable `code`, and any
|
|
783
|
-
* other fields (such as `moved`), which a `ManagementError` keeps as `details`. `code` is open:
|
|
784
|
-
* the API adds codes over time, and a client keeps one it does not know.
|
|
785
|
-
*/
|
|
786
|
-
declare const managementErrorSchema: z.ZodObject<{
|
|
787
|
-
error: z.ZodString;
|
|
788
|
-
code: z.ZodOptional<z.ZodString>;
|
|
789
|
-
}, z.core.$loose>;
|
|
790
|
-
type ManagementErrorInit = {
|
|
791
|
-
kind: ManagementErrorKind;
|
|
792
|
-
message: string;
|
|
793
|
-
/** The request's method and path, once a request was formed. */
|
|
794
|
-
method?: string;
|
|
795
|
-
path?: string;
|
|
796
|
-
status?: number;
|
|
797
|
-
code?: string;
|
|
798
|
-
details?: Record<string, unknown>;
|
|
799
|
-
/** The action ID the request body carried; the error reports it as `operationId`. */
|
|
800
|
-
actionId?: string;
|
|
801
|
-
/** Whether the route keeps a receipt that makes repeating the action safe. */
|
|
802
|
-
replaySafe?: boolean;
|
|
803
|
-
/** Overrides the default: set false when the request was never sent. */
|
|
804
|
-
uncertain?: boolean;
|
|
805
|
-
/** The answer's `Retry-After`, in milliseconds. */
|
|
806
|
-
retryAfter?: number;
|
|
807
|
-
cause?: unknown;
|
|
808
|
-
};
|
|
809
|
-
declare const managementErrorBrand: unique symbol;
|
|
810
|
-
/** Whether `value` is a `ManagementError` from any copy of the SDK. Prefer it to `instanceof`. */
|
|
811
|
-
declare function isManagementError(value: unknown): value is ManagementError;
|
|
812
|
-
/**
|
|
813
|
-
* Every failure of a typed management call, including input refused before sending (`client`):
|
|
814
|
-
* the shared `RequestError` fields, plus the request's `method`, `path` and the server's `details`.
|
|
815
|
-
*
|
|
816
|
-
* When `uncertain` is true, a write may have been applied, and `recovery` says what to do:
|
|
817
|
-
* `replay` repeats the same call with the same `operationId` (the request's `actionId`), which the
|
|
818
|
-
* server applies at most once; `reconcile` reads the resource before deciding.
|
|
819
|
-
*
|
|
820
|
-
* @compat sealed
|
|
821
|
-
*/
|
|
822
|
-
declare class ManagementError extends RequestError {
|
|
823
|
-
readonly name: string;
|
|
824
|
-
readonly [managementErrorBrand] = true;
|
|
825
|
-
/** The rest of the server's error body besides `error` and `code`, such as `moved`; absent when there is none. */
|
|
826
|
-
readonly details: Readonly<Record<string, unknown>> | undefined;
|
|
827
|
-
/** The request's method; absent when the call failed before forming a request. */
|
|
828
|
-
readonly method: string | undefined;
|
|
829
|
-
/** The management API path, below `/management/v1`, without its query; absent like `method`. */
|
|
830
|
-
readonly path: string | undefined;
|
|
831
|
-
constructor(init: ManagementErrorInit);
|
|
832
|
-
}
|
|
833
|
-
/**
|
|
834
|
-
* Per-call options every typed management method accepts as its last argument.
|
|
835
|
-
*
|
|
836
|
-
* @compat input
|
|
837
|
-
*/
|
|
838
|
-
type ManagementCallOptions = {
|
|
839
|
-
/**
|
|
840
|
-
* Cancels the call; it then fails with a `ManagementError` of kind `aborted`. Cancelling stops
|
|
841
|
-
* any retry; a write already sent stays `uncertain`, since the server may have applied it.
|
|
842
|
-
*/
|
|
843
|
-
signal?: AbortSignal;
|
|
844
|
-
/**
|
|
845
|
-
* The call's deadline in milliseconds, covering every attempt, the waits between them and the
|
|
846
|
-
* answer's body. Replaces the client's `timeout` for this call.
|
|
847
|
-
*/
|
|
848
|
-
timeout?: number;
|
|
849
|
-
};
|
|
850
|
-
/** The deadline a call gets when neither the client nor the call sets `timeout`. */
|
|
851
|
-
declare const DEFAULT_MANAGEMENT_TIMEOUT = 30000;
|
|
852
|
-
|
|
853
758
|
/**
|
|
854
759
|
* Project starters, in the order Console and the CLI offer them. Each `id`
|
|
855
760
|
* names a directory under templates/ and a published starter in hosting storage.
|
|
@@ -1995,9 +1900,14 @@ declare const memberSchema: z.ZodObject<{
|
|
|
1995
1900
|
rewards: z.ZodNumber;
|
|
1996
1901
|
lastActivity: z.ZodNullable<z.ZodNumber>;
|
|
1997
1902
|
}, z.core.$strip>;
|
|
1998
|
-
/**
|
|
1903
|
+
/**
|
|
1904
|
+
* Who a member is, for any record that names them only by ID. `test` and `name` are present only
|
|
1905
|
+
* for Console test members, which have no accounts to name them.
|
|
1906
|
+
*/
|
|
1999
1907
|
declare const personSchema: z.ZodObject<{
|
|
2000
1908
|
id: z.ZodString;
|
|
1909
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
1910
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2001
1911
|
accounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2002
1912
|
kind: z.ZodEnum<{
|
|
2003
1913
|
account: "account";
|
|
@@ -2735,6 +2645,8 @@ declare const pageSchema: z.ZodObject<{
|
|
|
2735
2645
|
}, z.core.$strip>>;
|
|
2736
2646
|
people: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2737
2647
|
id: z.ZodString;
|
|
2648
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
2649
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2738
2650
|
accounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2739
2651
|
kind: z.ZodEnum<{
|
|
2740
2652
|
account: "account";
|
|
@@ -4944,6 +4856,8 @@ declare const managedAttemptPageSchema: z.ZodObject<{
|
|
|
4944
4856
|
}, z.core.$strict>>;
|
|
4945
4857
|
people: z.ZodArray<z.ZodObject<{
|
|
4946
4858
|
id: z.ZodString;
|
|
4859
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
4860
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4947
4861
|
accounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4948
4862
|
kind: z.ZodEnum<{
|
|
4949
4863
|
account: "account";
|
|
@@ -4966,6 +4880,398 @@ declare const managedAttemptPageSchema: z.ZodObject<{
|
|
|
4966
4880
|
}, z.core.$strip>;
|
|
4967
4881
|
/** @compat output */
|
|
4968
4882
|
type ManagedAttemptPage = z.infer<typeof managedAttemptPageSchema>;
|
|
4883
|
+
/**
|
|
4884
|
+
* Which releases to list, newest first. `quest` keeps one quest's releases, by its ID or key.
|
|
4885
|
+
* `limit` is 1 to 100, 25 by default.
|
|
4886
|
+
*/
|
|
4887
|
+
declare const managedReleaseQuerySchema: z.ZodObject<{
|
|
4888
|
+
quest: z.ZodOptional<z.ZodString>;
|
|
4889
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4890
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
4891
|
+
}, z.core.$strict>;
|
|
4892
|
+
type ManagedReleaseQuery = z.input<typeof managedReleaseQuerySchema>;
|
|
4893
|
+
/**
|
|
4894
|
+
* One page of the project's release history, newest first: every release a quest has had, the
|
|
4895
|
+
* current one included.
|
|
4896
|
+
*/
|
|
4897
|
+
declare const managedReleasePageSchema: z.ZodObject<{
|
|
4898
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4899
|
+
quest: z.ZodString;
|
|
4900
|
+
evaluatorProtocol: z.ZodLiteral<2>;
|
|
4901
|
+
title: z.ZodString;
|
|
4902
|
+
presentation: z.ZodDefault<z.ZodObject<{
|
|
4903
|
+
quiz: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4904
|
+
id: z.ZodString;
|
|
4905
|
+
prompt: z.ZodString;
|
|
4906
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
4907
|
+
id: z.ZodString;
|
|
4908
|
+
label: z.ZodString;
|
|
4909
|
+
}, z.core.$strict>>;
|
|
4910
|
+
}, z.core.$strict>>>;
|
|
4911
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
4912
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
4913
|
+
url: z.ZodString;
|
|
4914
|
+
poster: z.ZodOptional<z.ZodString>;
|
|
4915
|
+
captions: z.ZodOptional<z.ZodObject<{
|
|
4916
|
+
url: z.ZodString;
|
|
4917
|
+
language: z.ZodString;
|
|
4918
|
+
label: z.ZodString;
|
|
4919
|
+
}, z.core.$strict>>;
|
|
4920
|
+
}, z.core.$strict>>;
|
|
4921
|
+
}, z.core.$strict>>;
|
|
4922
|
+
integrations: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4923
|
+
discord: "discord";
|
|
4924
|
+
x: "x";
|
|
4925
|
+
}>>>;
|
|
4926
|
+
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4927
|
+
kind: z.ZodLiteral<"point-ledger">;
|
|
4928
|
+
default: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
4929
|
+
label: z.ZodString;
|
|
4930
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4931
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4932
|
+
kind: z.ZodLiteral<"datetime">;
|
|
4933
|
+
default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
|
|
4934
|
+
label: z.ZodString;
|
|
4935
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4936
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4937
|
+
kind: z.ZodLiteral<"resource">;
|
|
4938
|
+
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
4939
|
+
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
4940
|
+
provider: z.ZodLiteral<"domino">;
|
|
4941
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
4942
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
4943
|
+
provider: z.ZodLiteral<"discord">;
|
|
4944
|
+
resource: z.ZodLiteral<"channel">;
|
|
4945
|
+
types: z.ZodArray<z.ZodEnum<{
|
|
4946
|
+
text: "text";
|
|
4947
|
+
announcement: "announcement";
|
|
4948
|
+
}>>;
|
|
4949
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4950
|
+
provider: z.ZodLiteral<"discord">;
|
|
4951
|
+
resource: z.ZodLiteral<"role">;
|
|
4952
|
+
assignable: z.ZodDefault<z.ZodBoolean>;
|
|
4953
|
+
}, z.core.$strict>]>]>;
|
|
4954
|
+
label: z.ZodString;
|
|
4955
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4956
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4957
|
+
kind: z.ZodLiteral<"quiz">;
|
|
4958
|
+
default: z.ZodArray<z.ZodObject<{
|
|
4959
|
+
id: z.ZodString;
|
|
4960
|
+
prompt: z.ZodString;
|
|
4961
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
4962
|
+
id: z.ZodString;
|
|
4963
|
+
label: z.ZodString;
|
|
4964
|
+
}, z.core.$strict>>;
|
|
4965
|
+
correct: z.ZodString;
|
|
4966
|
+
}, z.core.$strict>>;
|
|
4967
|
+
label: z.ZodString;
|
|
4968
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4969
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4970
|
+
kind: z.ZodLiteral<"text">;
|
|
4971
|
+
default: z.ZodString;
|
|
4972
|
+
minLength: z.ZodNumber;
|
|
4973
|
+
maxLength: z.ZodNumber;
|
|
4974
|
+
multiline: z.ZodBoolean;
|
|
4975
|
+
label: z.ZodString;
|
|
4976
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4977
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4978
|
+
kind: z.ZodLiteral<"integer">;
|
|
4979
|
+
default: z.ZodNumber;
|
|
4980
|
+
min: z.ZodNumber;
|
|
4981
|
+
max: z.ZodNumber;
|
|
4982
|
+
label: z.ZodString;
|
|
4983
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4984
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4985
|
+
kind: z.ZodLiteral<"boolean">;
|
|
4986
|
+
default: z.ZodBoolean;
|
|
4987
|
+
label: z.ZodString;
|
|
4988
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4989
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4990
|
+
kind: z.ZodLiteral<"choice">;
|
|
4991
|
+
default: z.ZodString;
|
|
4992
|
+
options: z.ZodArray<z.ZodString>;
|
|
4993
|
+
label: z.ZodString;
|
|
4994
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4995
|
+
}, z.core.$strict>], "kind">>;
|
|
4996
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
|
|
4997
|
+
id: z.ZodString;
|
|
4998
|
+
prompt: z.ZodString;
|
|
4999
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
5000
|
+
id: z.ZodString;
|
|
5001
|
+
label: z.ZodString;
|
|
5002
|
+
}, z.core.$strict>>;
|
|
5003
|
+
correct: z.ZodString;
|
|
5004
|
+
}, z.core.$strict>>]>>;
|
|
5005
|
+
rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
5006
|
+
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
5007
|
+
balance: z.ZodString;
|
|
5008
|
+
amount: z.ZodNumber;
|
|
5009
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5010
|
+
kind: z.ZodLiteral<"tier">;
|
|
5011
|
+
reward: z.ZodObject<{
|
|
5012
|
+
id: z.ZodString;
|
|
5013
|
+
title: z.ZodString;
|
|
5014
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
5015
|
+
id: z.ZodString;
|
|
5016
|
+
title: z.ZodString;
|
|
5017
|
+
}, z.core.$strict>>;
|
|
5018
|
+
inventory: z.ZodObject<{
|
|
5019
|
+
kind: z.ZodLiteral<"untracked">;
|
|
5020
|
+
}, z.core.$strict>;
|
|
5021
|
+
fulfillment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5022
|
+
kind: z.ZodLiteral<"staff-handover">;
|
|
5023
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5024
|
+
kind: z.ZodLiteral<"automatic">;
|
|
5025
|
+
}, z.core.$strict>], "kind">;
|
|
5026
|
+
}, z.core.$strict>;
|
|
5027
|
+
tier: z.ZodString;
|
|
5028
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5029
|
+
kind: z.ZodLiteral<"integration">;
|
|
5030
|
+
provider: z.ZodLiteral<"discord">;
|
|
5031
|
+
action: z.ZodLiteral<"grant-role">;
|
|
5032
|
+
roleId: z.ZodString;
|
|
5033
|
+
}, z.core.$strict>]>>;
|
|
5034
|
+
humanReview: z.ZodBoolean;
|
|
5035
|
+
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
5036
|
+
kind: z.ZodLiteral<"manual">;
|
|
5037
|
+
input: z.ZodLiteral<"text">;
|
|
5038
|
+
constraints: z.ZodObject<{
|
|
5039
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
5040
|
+
minLength: z.ZodDefault<z.ZodNumber>;
|
|
5041
|
+
maxLength: z.ZodDefault<z.ZodNumber>;
|
|
5042
|
+
}, z.core.$strict>;
|
|
5043
|
+
actor: z.ZodOptional<z.ZodEnum<{
|
|
5044
|
+
staff: "staff";
|
|
5045
|
+
member: "member";
|
|
5046
|
+
}>>;
|
|
5047
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5048
|
+
kind: z.ZodLiteral<"manual">;
|
|
5049
|
+
input: z.ZodLiteral<"url">;
|
|
5050
|
+
constraints: z.ZodObject<{
|
|
5051
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
5052
|
+
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5053
|
+
}, z.core.$strict>;
|
|
5054
|
+
actor: z.ZodOptional<z.ZodEnum<{
|
|
5055
|
+
staff: "staff";
|
|
5056
|
+
member: "member";
|
|
5057
|
+
}>>;
|
|
5058
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5059
|
+
kind: z.ZodLiteral<"manual">;
|
|
5060
|
+
input: z.ZodEnum<{
|
|
5061
|
+
quiz: "quiz";
|
|
5062
|
+
photo: "photo";
|
|
5063
|
+
none: "none";
|
|
5064
|
+
}>;
|
|
5065
|
+
actor: z.ZodOptional<z.ZodEnum<{
|
|
5066
|
+
staff: "staff";
|
|
5067
|
+
member: "member";
|
|
5068
|
+
}>>;
|
|
5069
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5070
|
+
kind: z.ZodLiteral<"automatic">;
|
|
5071
|
+
tracker: z.ZodOptional<z.ZodObject<{
|
|
5072
|
+
tracker: z.ZodString;
|
|
5073
|
+
source: z.ZodString;
|
|
5074
|
+
on: z.ZodEnum<{
|
|
5075
|
+
"new-record": "new-record";
|
|
5076
|
+
"new-observation": "new-observation";
|
|
5077
|
+
"data-changed": "data-changed";
|
|
5078
|
+
}>;
|
|
5079
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
5080
|
+
path: z.ZodString;
|
|
5081
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5082
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5083
|
+
path: z.ZodString;
|
|
5084
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5085
|
+
setting: z.ZodString;
|
|
5086
|
+
}, z.core.$strict>]>>;
|
|
5087
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5088
|
+
setting: z.ZodString;
|
|
5089
|
+
}, z.core.$strict>]>>;
|
|
5090
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5091
|
+
setting: z.ZodString;
|
|
5092
|
+
}, z.core.$strict>]>>;
|
|
5093
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5094
|
+
setting: z.ZodString;
|
|
5095
|
+
}, z.core.$strict>]>>;
|
|
5096
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
5097
|
+
path: z.ZodString;
|
|
5098
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5099
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5100
|
+
path: z.ZodString;
|
|
5101
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5102
|
+
setting: z.ZodString;
|
|
5103
|
+
}, z.core.$strict>]>>;
|
|
5104
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5105
|
+
setting: z.ZodString;
|
|
5106
|
+
}, z.core.$strict>]>>;
|
|
5107
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5108
|
+
setting: z.ZodString;
|
|
5109
|
+
}, z.core.$strict>]>>;
|
|
5110
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5111
|
+
setting: z.ZodString;
|
|
5112
|
+
}, z.core.$strict>]>>;
|
|
5113
|
+
}, z.core.$strict>]>>]>>;
|
|
5114
|
+
beneficiary: z.ZodString;
|
|
5115
|
+
enrollment: z.ZodOptional<z.ZodEnum<{
|
|
5116
|
+
required: "required";
|
|
5117
|
+
none: "none";
|
|
5118
|
+
}>>;
|
|
5119
|
+
since: z.ZodOptional<z.ZodEnum<{
|
|
5120
|
+
enrollment: "enrollment";
|
|
5121
|
+
activation: "activation";
|
|
5122
|
+
window: "window";
|
|
5123
|
+
}>>;
|
|
5124
|
+
historical: z.ZodOptional<z.ZodEnum<{
|
|
5125
|
+
staff: "staff";
|
|
5126
|
+
automatic: "automatic";
|
|
5127
|
+
claim: "claim";
|
|
5128
|
+
}>>;
|
|
5129
|
+
content: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5130
|
+
}, z.core.$strict>>;
|
|
5131
|
+
}, z.core.$strict>]>;
|
|
5132
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
5133
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
5134
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
5135
|
+
}, z.core.$strict>>;
|
|
5136
|
+
requires: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5137
|
+
kind: z.ZodLiteral<"completion">;
|
|
5138
|
+
quest: z.ZodString;
|
|
5139
|
+
scope: z.ZodLiteral<"ever">;
|
|
5140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5141
|
+
kind: z.ZodLiteral<"completion">;
|
|
5142
|
+
quest: z.ZodString;
|
|
5143
|
+
scope: z.ZodLiteral<"period">;
|
|
5144
|
+
period: z.ZodEnum<{
|
|
5145
|
+
day: "day";
|
|
5146
|
+
week: "week";
|
|
5147
|
+
month: "month";
|
|
5148
|
+
}>;
|
|
5149
|
+
}, z.core.$strict>], "scope">, z.ZodObject<{
|
|
5150
|
+
kind: z.ZodLiteral<"balance">;
|
|
5151
|
+
balance: z.ZodString;
|
|
5152
|
+
minimum: z.ZodNumber;
|
|
5153
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5154
|
+
kind: z.ZodLiteral<"group">;
|
|
5155
|
+
group: z.ZodString;
|
|
5156
|
+
title: z.ZodString;
|
|
5157
|
+
}, z.core.$strict>], "kind">>>;
|
|
5158
|
+
campaign: z.ZodOptional<z.ZodObject<{
|
|
5159
|
+
key: z.ZodString;
|
|
5160
|
+
title: z.ZodString;
|
|
5161
|
+
window: z.ZodOptional<z.ZodObject<{
|
|
5162
|
+
from: z.ZodNumber;
|
|
5163
|
+
until: z.ZodNumber;
|
|
5164
|
+
}, z.core.$strict>>;
|
|
5165
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
5166
|
+
required: "required";
|
|
5167
|
+
none: "none";
|
|
5168
|
+
}>>;
|
|
5169
|
+
}, z.core.$strict>>;
|
|
5170
|
+
availability: z.ZodOptional<z.ZodObject<{
|
|
5171
|
+
from: z.ZodNumber;
|
|
5172
|
+
until: z.ZodNumber;
|
|
5173
|
+
}, z.core.$strict>>;
|
|
5174
|
+
visibility: z.ZodDefault<z.ZodEnum<{
|
|
5175
|
+
visible: "visible";
|
|
5176
|
+
hidden: "hidden";
|
|
5177
|
+
}>>;
|
|
5178
|
+
profile: z.ZodDefault<z.ZodObject<{
|
|
5179
|
+
visible: z.ZodBoolean;
|
|
5180
|
+
}, z.core.$strict>>;
|
|
5181
|
+
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5182
|
+
id: z.ZodString;
|
|
5183
|
+
scope: z.ZodEnum<{
|
|
5184
|
+
project: "project";
|
|
5185
|
+
member: "member";
|
|
5186
|
+
}>;
|
|
5187
|
+
period: z.ZodEnum<{
|
|
5188
|
+
lifetime: "lifetime";
|
|
5189
|
+
day: "day";
|
|
5190
|
+
week: "week";
|
|
5191
|
+
month: "month";
|
|
5192
|
+
}>;
|
|
5193
|
+
limit: z.ZodNumber;
|
|
5194
|
+
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5195
|
+
balance: z.ZodString;
|
|
5196
|
+
}, z.core.$strict>]>;
|
|
5197
|
+
}, z.core.$strict>>>;
|
|
5198
|
+
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5199
|
+
kind: z.ZodLiteral<"streak">;
|
|
5200
|
+
days: z.ZodNumber;
|
|
5201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5202
|
+
kind: z.ZodLiteral<"progress">;
|
|
5203
|
+
goal: z.ZodObject<{
|
|
5204
|
+
kind: z.ZodLiteral<"count">;
|
|
5205
|
+
count: z.ZodNumber;
|
|
5206
|
+
}, z.core.$strict>;
|
|
5207
|
+
window: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5208
|
+
kind: z.ZodLiteral<"lifetime">;
|
|
5209
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5210
|
+
kind: z.ZodLiteral<"calendar">;
|
|
5211
|
+
period: z.ZodEnum<{
|
|
5212
|
+
day: "day";
|
|
5213
|
+
week: "week";
|
|
5214
|
+
month: "month";
|
|
5215
|
+
}>;
|
|
5216
|
+
latenessMs: z.ZodDefault<z.ZodNumber>;
|
|
5217
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5218
|
+
kind: z.ZodLiteral<"rolling">;
|
|
5219
|
+
durationMs: z.ZodNumber;
|
|
5220
|
+
}, z.core.$strict>], "kind">;
|
|
5221
|
+
repeat: z.ZodDefault<z.ZodEnum<{
|
|
5222
|
+
repeat: "repeat";
|
|
5223
|
+
once: "once";
|
|
5224
|
+
}>>;
|
|
5225
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5226
|
+
kind: z.ZodLiteral<"once">;
|
|
5227
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5228
|
+
kind: z.ZodLiteral<"keyed">;
|
|
5229
|
+
}, z.core.$strict>], "kind">;
|
|
5230
|
+
key: z.ZodOptional<z.ZodString>;
|
|
5231
|
+
code: z.ZodString;
|
|
5232
|
+
provider: z.ZodEnum<{
|
|
5233
|
+
"fixture-pass": "fixture-pass";
|
|
5234
|
+
"fixture-fail": "fixture-fail";
|
|
5235
|
+
"fixture-unclear": "fixture-unclear";
|
|
5236
|
+
"fixture-error": "fixture-error";
|
|
5237
|
+
"workers-ai": "workers-ai";
|
|
5238
|
+
}>;
|
|
5239
|
+
id: z.ZodString;
|
|
5240
|
+
createdAt: z.ZodNumber;
|
|
5241
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
5242
|
+
typeVersion: z.ZodString;
|
|
5243
|
+
}, z.core.$strict>>;
|
|
5244
|
+
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
5245
|
+
paused: "paused";
|
|
5246
|
+
archived: "archived";
|
|
5247
|
+
active: "active";
|
|
5248
|
+
}>>;
|
|
5249
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
5250
|
+
defaults: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
|
|
5251
|
+
id: z.ZodString;
|
|
5252
|
+
prompt: z.ZodString;
|
|
5253
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
5254
|
+
id: z.ZodString;
|
|
5255
|
+
label: z.ZodString;
|
|
5256
|
+
}, z.core.$strict>>;
|
|
5257
|
+
correct: z.ZodString;
|
|
5258
|
+
}, z.core.$strict>>]>>;
|
|
5259
|
+
overrides: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
|
|
5260
|
+
id: z.ZodString;
|
|
5261
|
+
prompt: z.ZodString;
|
|
5262
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
5263
|
+
id: z.ZodString;
|
|
5264
|
+
label: z.ZodString;
|
|
5265
|
+
}, z.core.$strict>>;
|
|
5266
|
+
correct: z.ZodString;
|
|
5267
|
+
}, z.core.$strict>>]>>;
|
|
5268
|
+
preserved: z.ZodArray<z.ZodString>;
|
|
5269
|
+
}, z.core.$strict>>;
|
|
5270
|
+
}, z.core.$strict>>;
|
|
5271
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
5272
|
+
}, z.core.$strip>;
|
|
5273
|
+
/** @compat output */
|
|
5274
|
+
type ManagedReleasePage = z.infer<typeof managedReleasePageSchema>;
|
|
4969
5275
|
/**
|
|
4970
5276
|
* One attempt: the release it was admitted under (null if the release is gone), its recorded
|
|
4971
5277
|
* events newest first (at most 200, including a revocation of the completion it reached), and its member.
|
|
@@ -5420,6 +5726,8 @@ declare const managedAttemptSchema: z.ZodObject<{
|
|
|
5420
5726
|
}, z.core.$strip>>;
|
|
5421
5727
|
person: z.ZodObject<{
|
|
5422
5728
|
id: z.ZodString;
|
|
5729
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
5730
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5423
5731
|
accounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5424
5732
|
kind: z.ZodEnum<{
|
|
5425
5733
|
account: "account";
|
|
@@ -5633,6 +5941,8 @@ declare const managedEntitlementPageSchema: z.ZodObject<{
|
|
|
5633
5941
|
}>>]>>;
|
|
5634
5942
|
people: z.ZodArray<z.ZodObject<{
|
|
5635
5943
|
id: z.ZodString;
|
|
5944
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
5945
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5636
5946
|
accounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5637
5947
|
kind: z.ZodEnum<{
|
|
5638
5948
|
account: "account";
|
|
@@ -5837,6 +6147,8 @@ declare const managedEntitlementSchema: z.ZodObject<{
|
|
|
5837
6147
|
}>>]>;
|
|
5838
6148
|
person: z.ZodObject<{
|
|
5839
6149
|
id: z.ZodString;
|
|
6150
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
6151
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5840
6152
|
accounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5841
6153
|
kind: z.ZodEnum<{
|
|
5842
6154
|
account: "account";
|
|
@@ -5955,7 +6267,9 @@ interface ManagementClient extends ReturnType<typeof managementClient> {
|
|
|
5955
6267
|
}
|
|
5956
6268
|
declare function createManagementClient(options: ManagementClientOptions): ManagementClient;
|
|
5957
6269
|
declare function managementClient(options: ManagementClientOptions): {
|
|
5958
|
-
raw: (path: string, init?:
|
|
6270
|
+
raw: (path: string, init?: RequestInit & {
|
|
6271
|
+
timeout?: number;
|
|
6272
|
+
}) => Promise<Response>;
|
|
5959
6273
|
request: <T>(path: string, schema: z.ZodType<T>, input?: unknown, method?: string, call?: ManagementCallOptions) => Promise<T>;
|
|
5960
6274
|
/** A JSON call with an explicit tolerant response schema. Writes are sent once. */
|
|
5961
6275
|
response: <T>(path: string, schema: ResponseSchema<T>, input?: unknown, method?: string, call?: ManagementCallOptions) => Promise<{
|
|
@@ -20996,81 +21310,15 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
20996
21310
|
}[];
|
|
20997
21311
|
}>;
|
|
20998
21312
|
};
|
|
20999
|
-
/**
|
|
21000
|
-
|
|
21313
|
+
/** Release history: every version a quest has been published as. */
|
|
21314
|
+
releases: {
|
|
21001
21315
|
/**
|
|
21002
|
-
* One page of the project's
|
|
21003
|
-
*
|
|
21004
|
-
*
|
|
21316
|
+
* One page of the project's releases, newest first, including each quest's earlier
|
|
21317
|
+
* releases; `quest` keeps one quest's. Pass a page's `nextCursor` back as `cursor` for the
|
|
21318
|
+
* next page. Requires `read` and `publish` permission.
|
|
21005
21319
|
*/
|
|
21006
|
-
list: (query?:
|
|
21320
|
+
list: (query?: ManagedReleaseQuery, call?: ManagementCallOptions) => Promise<{
|
|
21007
21321
|
items: {
|
|
21008
|
-
id: string;
|
|
21009
|
-
release: string;
|
|
21010
|
-
quest: string;
|
|
21011
|
-
member: string;
|
|
21012
|
-
evidence: string | null;
|
|
21013
|
-
status: AttemptStatus;
|
|
21014
|
-
reason: string | null;
|
|
21015
|
-
retries: number;
|
|
21016
|
-
generation: number;
|
|
21017
|
-
completion: string | null;
|
|
21018
|
-
reviewRewards: ({
|
|
21019
|
-
kind: "tier";
|
|
21020
|
-
reward: {
|
|
21021
|
-
id: string;
|
|
21022
|
-
title: string;
|
|
21023
|
-
tiers: {
|
|
21024
|
-
id: string;
|
|
21025
|
-
title: string;
|
|
21026
|
-
}[];
|
|
21027
|
-
inventory: {
|
|
21028
|
-
kind: "untracked";
|
|
21029
|
-
};
|
|
21030
|
-
fulfillment: {
|
|
21031
|
-
kind: "staff-handover";
|
|
21032
|
-
} | {
|
|
21033
|
-
kind: "automatic";
|
|
21034
|
-
};
|
|
21035
|
-
};
|
|
21036
|
-
tier: string;
|
|
21037
|
-
} | {
|
|
21038
|
-
kind: "points";
|
|
21039
|
-
balance: string;
|
|
21040
|
-
amount: number;
|
|
21041
|
-
} | {
|
|
21042
|
-
kind: "integration";
|
|
21043
|
-
provider: "discord";
|
|
21044
|
-
action: "grant-role";
|
|
21045
|
-
roleId: string;
|
|
21046
|
-
})[] | null;
|
|
21047
|
-
evaluationRun: number;
|
|
21048
|
-
deferCount: number;
|
|
21049
|
-
deferUntil: number | null;
|
|
21050
|
-
nextEvaluationAt: number | null;
|
|
21051
|
-
code: string | null;
|
|
21052
|
-
progress: {
|
|
21053
|
-
current: number;
|
|
21054
|
-
target: number;
|
|
21055
|
-
reason: string;
|
|
21056
|
-
} | null;
|
|
21057
|
-
requestedReview: boolean;
|
|
21058
|
-
createdAt: number;
|
|
21059
|
-
input?: {
|
|
21060
|
-
kind: "quiz";
|
|
21061
|
-
answers: {
|
|
21062
|
-
[k: string]: string;
|
|
21063
|
-
};
|
|
21064
|
-
release?: string | undefined;
|
|
21065
|
-
} | {
|
|
21066
|
-
kind: "text";
|
|
21067
|
-
value: string;
|
|
21068
|
-
} | {
|
|
21069
|
-
kind: "url";
|
|
21070
|
-
value: string;
|
|
21071
|
-
} | undefined;
|
|
21072
|
-
}[];
|
|
21073
|
-
releases: {
|
|
21074
21322
|
quest: string;
|
|
21075
21323
|
evaluatorProtocol: 2;
|
|
21076
21324
|
title: string;
|
|
@@ -21374,31 +21622,722 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
21374
21622
|
preserved: string[];
|
|
21375
21623
|
} | undefined;
|
|
21376
21624
|
}[];
|
|
21377
|
-
|
|
21378
|
-
|
|
21379
|
-
|
|
21380
|
-
|
|
21381
|
-
|
|
21382
|
-
|
|
21383
|
-
|
|
21384
|
-
|
|
21385
|
-
|
|
21386
|
-
|
|
21387
|
-
|
|
21388
|
-
|
|
21389
|
-
|
|
21625
|
+
nextCursor: string | null;
|
|
21626
|
+
}>;
|
|
21627
|
+
/**
|
|
21628
|
+
* One release by ID, current or historical. Requires `read` and `publish` permission.
|
|
21629
|
+
* Fails with 404 when the project has no such release.
|
|
21630
|
+
*/
|
|
21631
|
+
get: (release: string, call?: ManagementCallOptions) => Promise<{
|
|
21632
|
+
quest: string;
|
|
21633
|
+
evaluatorProtocol: 2;
|
|
21634
|
+
title: string;
|
|
21635
|
+
presentation: {
|
|
21636
|
+
quiz?: {
|
|
21637
|
+
id: string;
|
|
21638
|
+
prompt: string;
|
|
21639
|
+
choices: {
|
|
21640
|
+
id: string;
|
|
21641
|
+
label: string;
|
|
21642
|
+
}[];
|
|
21643
|
+
}[] | undefined;
|
|
21644
|
+
instructions?: string | undefined;
|
|
21645
|
+
video?: {
|
|
21646
|
+
url: string;
|
|
21647
|
+
poster?: string | undefined;
|
|
21648
|
+
captions?: {
|
|
21649
|
+
url: string;
|
|
21650
|
+
language: string;
|
|
21651
|
+
label: string;
|
|
21390
21652
|
} | undefined;
|
|
21653
|
+
} | undefined;
|
|
21654
|
+
};
|
|
21655
|
+
integrations: ("discord" | "x")[];
|
|
21656
|
+
fields: Record<string, {
|
|
21657
|
+
kind: "point-ledger";
|
|
21658
|
+
default: string;
|
|
21659
|
+
label: string;
|
|
21660
|
+
description?: string | undefined;
|
|
21661
|
+
} | {
|
|
21662
|
+
kind: "datetime";
|
|
21663
|
+
default: string;
|
|
21664
|
+
label: string;
|
|
21665
|
+
description?: string | undefined;
|
|
21666
|
+
} | {
|
|
21667
|
+
kind: "resource";
|
|
21668
|
+
default: string;
|
|
21669
|
+
source: {
|
|
21670
|
+
provider: "domino";
|
|
21671
|
+
resource: "point-ledger";
|
|
21672
|
+
} | {
|
|
21673
|
+
provider: "discord";
|
|
21674
|
+
resource: "channel";
|
|
21675
|
+
types: ("text" | "announcement")[];
|
|
21676
|
+
} | {
|
|
21677
|
+
provider: "discord";
|
|
21678
|
+
resource: "role";
|
|
21679
|
+
assignable: boolean;
|
|
21680
|
+
};
|
|
21681
|
+
label: string;
|
|
21682
|
+
description?: string | undefined;
|
|
21683
|
+
} | {
|
|
21684
|
+
kind: "quiz";
|
|
21685
|
+
default: {
|
|
21686
|
+
id: string;
|
|
21687
|
+
prompt: string;
|
|
21688
|
+
choices: {
|
|
21689
|
+
id: string;
|
|
21690
|
+
label: string;
|
|
21691
|
+
}[];
|
|
21692
|
+
correct: string;
|
|
21391
21693
|
}[];
|
|
21694
|
+
label: string;
|
|
21695
|
+
description?: string | undefined;
|
|
21696
|
+
} | {
|
|
21697
|
+
kind: "text";
|
|
21698
|
+
default: string;
|
|
21699
|
+
minLength: number;
|
|
21700
|
+
maxLength: number;
|
|
21701
|
+
multiline: boolean;
|
|
21702
|
+
label: string;
|
|
21703
|
+
description?: string | undefined;
|
|
21704
|
+
} | {
|
|
21705
|
+
kind: "integer";
|
|
21706
|
+
default: number;
|
|
21707
|
+
min: number;
|
|
21708
|
+
max: number;
|
|
21709
|
+
label: string;
|
|
21710
|
+
description?: string | undefined;
|
|
21711
|
+
} | {
|
|
21712
|
+
kind: "boolean";
|
|
21713
|
+
default: boolean;
|
|
21714
|
+
label: string;
|
|
21715
|
+
description?: string | undefined;
|
|
21716
|
+
} | {
|
|
21717
|
+
kind: "choice";
|
|
21718
|
+
default: string;
|
|
21719
|
+
options: string[];
|
|
21720
|
+
label: string;
|
|
21721
|
+
description?: string | undefined;
|
|
21722
|
+
}>;
|
|
21723
|
+
values: Record<string, string | number | boolean | {
|
|
21724
|
+
id: string;
|
|
21725
|
+
prompt: string;
|
|
21726
|
+
choices: {
|
|
21727
|
+
id: string;
|
|
21728
|
+
label: string;
|
|
21729
|
+
}[];
|
|
21730
|
+
correct: string;
|
|
21731
|
+
}[]>;
|
|
21732
|
+
rewards: ({
|
|
21733
|
+
kind: "tier";
|
|
21734
|
+
reward: {
|
|
21735
|
+
id: string;
|
|
21736
|
+
title: string;
|
|
21737
|
+
tiers: {
|
|
21738
|
+
id: string;
|
|
21739
|
+
title: string;
|
|
21740
|
+
}[];
|
|
21741
|
+
inventory: {
|
|
21742
|
+
kind: "untracked";
|
|
21743
|
+
};
|
|
21744
|
+
fulfillment: {
|
|
21745
|
+
kind: "staff-handover";
|
|
21746
|
+
} | {
|
|
21747
|
+
kind: "automatic";
|
|
21748
|
+
};
|
|
21749
|
+
};
|
|
21750
|
+
tier: string;
|
|
21751
|
+
} | {
|
|
21752
|
+
kind: "points";
|
|
21753
|
+
balance: string;
|
|
21754
|
+
amount: number;
|
|
21755
|
+
} | {
|
|
21756
|
+
kind: "integration";
|
|
21757
|
+
provider: "discord";
|
|
21758
|
+
action: "grant-role";
|
|
21759
|
+
roleId: string;
|
|
21760
|
+
})[];
|
|
21761
|
+
humanReview: boolean;
|
|
21762
|
+
trigger: {
|
|
21763
|
+
kind: "manual";
|
|
21764
|
+
input: "text";
|
|
21765
|
+
constraints: {
|
|
21766
|
+
required: boolean;
|
|
21767
|
+
minLength: number;
|
|
21768
|
+
maxLength: number;
|
|
21769
|
+
};
|
|
21770
|
+
actor?: "staff" | "member" | undefined;
|
|
21771
|
+
} | {
|
|
21772
|
+
kind: "manual";
|
|
21773
|
+
input: "url";
|
|
21774
|
+
constraints: {
|
|
21775
|
+
required: boolean;
|
|
21776
|
+
allowedHosts?: string[] | undefined;
|
|
21777
|
+
};
|
|
21778
|
+
actor?: "staff" | "member" | undefined;
|
|
21779
|
+
} | {
|
|
21780
|
+
kind: "manual";
|
|
21781
|
+
input: "quiz" | "photo" | "none";
|
|
21782
|
+
actor?: "staff" | "member" | undefined;
|
|
21783
|
+
} | {
|
|
21784
|
+
kind: "automatic";
|
|
21785
|
+
tracker?: {
|
|
21786
|
+
tracker: string;
|
|
21787
|
+
source: string;
|
|
21788
|
+
on: "new-record" | "new-observation" | "data-changed";
|
|
21789
|
+
beneficiary: string;
|
|
21790
|
+
where?: {
|
|
21791
|
+
path: string;
|
|
21792
|
+
gt?: number | {
|
|
21793
|
+
setting: string;
|
|
21794
|
+
} | undefined;
|
|
21795
|
+
gte?: number | {
|
|
21796
|
+
setting: string;
|
|
21797
|
+
} | undefined;
|
|
21798
|
+
lt?: number | {
|
|
21799
|
+
setting: string;
|
|
21800
|
+
} | undefined;
|
|
21801
|
+
lte?: number | {
|
|
21802
|
+
setting: string;
|
|
21803
|
+
} | undefined;
|
|
21804
|
+
} | {
|
|
21805
|
+
path: string;
|
|
21806
|
+
equals: string | number | boolean;
|
|
21807
|
+
} | ({
|
|
21808
|
+
path: string;
|
|
21809
|
+
gt?: number | {
|
|
21810
|
+
setting: string;
|
|
21811
|
+
} | undefined;
|
|
21812
|
+
gte?: number | {
|
|
21813
|
+
setting: string;
|
|
21814
|
+
} | undefined;
|
|
21815
|
+
lt?: number | {
|
|
21816
|
+
setting: string;
|
|
21817
|
+
} | undefined;
|
|
21818
|
+
lte?: number | {
|
|
21819
|
+
setting: string;
|
|
21820
|
+
} | undefined;
|
|
21821
|
+
} | {
|
|
21822
|
+
path: string;
|
|
21823
|
+
equals: string | number | boolean;
|
|
21824
|
+
})[] | undefined;
|
|
21825
|
+
enrollment?: "required" | "none" | undefined;
|
|
21826
|
+
since?: "enrollment" | "activation" | "window" | undefined;
|
|
21827
|
+
historical?: "staff" | "automatic" | "claim" | undefined;
|
|
21828
|
+
content?: true | undefined;
|
|
21829
|
+
} | undefined;
|
|
21830
|
+
};
|
|
21831
|
+
requires: ({
|
|
21832
|
+
kind: "completion";
|
|
21833
|
+
quest: string;
|
|
21834
|
+
scope: "ever";
|
|
21835
|
+
} | {
|
|
21836
|
+
kind: "completion";
|
|
21837
|
+
quest: string;
|
|
21838
|
+
scope: "period";
|
|
21839
|
+
period: "day" | "week" | "month";
|
|
21840
|
+
} | {
|
|
21841
|
+
kind: "balance";
|
|
21842
|
+
balance: string;
|
|
21843
|
+
minimum: number;
|
|
21844
|
+
} | {
|
|
21845
|
+
kind: "group";
|
|
21846
|
+
group: string;
|
|
21847
|
+
title: string;
|
|
21848
|
+
})[];
|
|
21849
|
+
visibility: "visible" | "hidden";
|
|
21850
|
+
profile: {
|
|
21851
|
+
visible: boolean;
|
|
21852
|
+
};
|
|
21853
|
+
budgets: {
|
|
21854
|
+
id: string;
|
|
21855
|
+
scope: "project" | "member";
|
|
21856
|
+
period: "lifetime" | "day" | "week" | "month";
|
|
21857
|
+
limit: number;
|
|
21858
|
+
cost: number | {
|
|
21859
|
+
balance: string;
|
|
21860
|
+
};
|
|
21392
21861
|
}[];
|
|
21393
|
-
|
|
21394
|
-
|
|
21862
|
+
completion: {
|
|
21863
|
+
kind: "streak";
|
|
21864
|
+
days: number;
|
|
21865
|
+
} | {
|
|
21866
|
+
kind: "progress";
|
|
21867
|
+
goal: {
|
|
21868
|
+
kind: "count";
|
|
21869
|
+
count: number;
|
|
21870
|
+
};
|
|
21871
|
+
window: {
|
|
21872
|
+
kind: "lifetime";
|
|
21873
|
+
} | {
|
|
21874
|
+
kind: "calendar";
|
|
21875
|
+
period: "day" | "week" | "month";
|
|
21876
|
+
latenessMs: number;
|
|
21877
|
+
} | {
|
|
21878
|
+
kind: "rolling";
|
|
21879
|
+
durationMs: number;
|
|
21880
|
+
};
|
|
21881
|
+
repeat: "repeat" | "once";
|
|
21882
|
+
} | {
|
|
21883
|
+
kind: "once";
|
|
21884
|
+
} | {
|
|
21885
|
+
kind: "keyed";
|
|
21886
|
+
};
|
|
21887
|
+
code: string;
|
|
21888
|
+
provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
|
|
21889
|
+
id: string;
|
|
21890
|
+
createdAt: number;
|
|
21891
|
+
lifecycle: "paused" | "archived" | "active";
|
|
21892
|
+
performance?: {
|
|
21893
|
+
metrics: string[];
|
|
21894
|
+
maxAgeMs: number;
|
|
21895
|
+
} | undefined;
|
|
21896
|
+
campaign?: {
|
|
21897
|
+
key: string;
|
|
21898
|
+
title: string;
|
|
21899
|
+
enrollment: "required" | "none";
|
|
21900
|
+
window?: {
|
|
21901
|
+
from: number;
|
|
21902
|
+
until: number;
|
|
21903
|
+
} | undefined;
|
|
21904
|
+
} | undefined;
|
|
21905
|
+
availability?: {
|
|
21906
|
+
from: number;
|
|
21907
|
+
until: number;
|
|
21908
|
+
} | undefined;
|
|
21909
|
+
key?: string | undefined;
|
|
21910
|
+
origin?: {
|
|
21911
|
+
typeVersion: string;
|
|
21912
|
+
} | undefined;
|
|
21913
|
+
configuration?: {
|
|
21914
|
+
defaults: Record<string, string | number | boolean | {
|
|
21915
|
+
id: string;
|
|
21916
|
+
prompt: string;
|
|
21917
|
+
choices: {
|
|
21918
|
+
id: string;
|
|
21919
|
+
label: string;
|
|
21920
|
+
}[];
|
|
21921
|
+
correct: string;
|
|
21922
|
+
}[]>;
|
|
21923
|
+
overrides: Record<string, string | number | boolean | {
|
|
21924
|
+
id: string;
|
|
21925
|
+
prompt: string;
|
|
21926
|
+
choices: {
|
|
21927
|
+
id: string;
|
|
21928
|
+
label: string;
|
|
21929
|
+
}[];
|
|
21930
|
+
correct: string;
|
|
21931
|
+
}[]>;
|
|
21932
|
+
preserved: string[];
|
|
21933
|
+
} | undefined;
|
|
21395
21934
|
}>;
|
|
21935
|
+
};
|
|
21936
|
+
/** Attempts, staff-confirmed quests and reviews. */
|
|
21937
|
+
attempts: {
|
|
21396
21938
|
/**
|
|
21397
|
-
* One
|
|
21398
|
-
*
|
|
21939
|
+
* One page of the project's attempts, newest first, with the releases they were admitted
|
|
21940
|
+
* under and the members they name, and `total`, how many match. Pass a page's `nextCursor`
|
|
21941
|
+
* back as `cursor` for the next page; requires `read` permission.
|
|
21399
21942
|
*/
|
|
21400
|
-
|
|
21401
|
-
|
|
21943
|
+
list: (query?: ManagedAttemptQuery, call?: ManagementCallOptions) => Promise<{
|
|
21944
|
+
items: {
|
|
21945
|
+
id: string;
|
|
21946
|
+
release: string;
|
|
21947
|
+
quest: string;
|
|
21948
|
+
member: string;
|
|
21949
|
+
evidence: string | null;
|
|
21950
|
+
status: AttemptStatus;
|
|
21951
|
+
reason: string | null;
|
|
21952
|
+
retries: number;
|
|
21953
|
+
generation: number;
|
|
21954
|
+
completion: string | null;
|
|
21955
|
+
reviewRewards: ({
|
|
21956
|
+
kind: "tier";
|
|
21957
|
+
reward: {
|
|
21958
|
+
id: string;
|
|
21959
|
+
title: string;
|
|
21960
|
+
tiers: {
|
|
21961
|
+
id: string;
|
|
21962
|
+
title: string;
|
|
21963
|
+
}[];
|
|
21964
|
+
inventory: {
|
|
21965
|
+
kind: "untracked";
|
|
21966
|
+
};
|
|
21967
|
+
fulfillment: {
|
|
21968
|
+
kind: "staff-handover";
|
|
21969
|
+
} | {
|
|
21970
|
+
kind: "automatic";
|
|
21971
|
+
};
|
|
21972
|
+
};
|
|
21973
|
+
tier: string;
|
|
21974
|
+
} | {
|
|
21975
|
+
kind: "points";
|
|
21976
|
+
balance: string;
|
|
21977
|
+
amount: number;
|
|
21978
|
+
} | {
|
|
21979
|
+
kind: "integration";
|
|
21980
|
+
provider: "discord";
|
|
21981
|
+
action: "grant-role";
|
|
21982
|
+
roleId: string;
|
|
21983
|
+
})[] | null;
|
|
21984
|
+
evaluationRun: number;
|
|
21985
|
+
deferCount: number;
|
|
21986
|
+
deferUntil: number | null;
|
|
21987
|
+
nextEvaluationAt: number | null;
|
|
21988
|
+
code: string | null;
|
|
21989
|
+
progress: {
|
|
21990
|
+
current: number;
|
|
21991
|
+
target: number;
|
|
21992
|
+
reason: string;
|
|
21993
|
+
} | null;
|
|
21994
|
+
requestedReview: boolean;
|
|
21995
|
+
createdAt: number;
|
|
21996
|
+
input?: {
|
|
21997
|
+
kind: "quiz";
|
|
21998
|
+
answers: {
|
|
21999
|
+
[k: string]: string;
|
|
22000
|
+
};
|
|
22001
|
+
release?: string | undefined;
|
|
22002
|
+
} | {
|
|
22003
|
+
kind: "text";
|
|
22004
|
+
value: string;
|
|
22005
|
+
} | {
|
|
22006
|
+
kind: "url";
|
|
22007
|
+
value: string;
|
|
22008
|
+
} | undefined;
|
|
22009
|
+
}[];
|
|
22010
|
+
releases: {
|
|
22011
|
+
quest: string;
|
|
22012
|
+
evaluatorProtocol: 2;
|
|
22013
|
+
title: string;
|
|
22014
|
+
presentation: {
|
|
22015
|
+
quiz?: {
|
|
22016
|
+
id: string;
|
|
22017
|
+
prompt: string;
|
|
22018
|
+
choices: {
|
|
22019
|
+
id: string;
|
|
22020
|
+
label: string;
|
|
22021
|
+
}[];
|
|
22022
|
+
}[] | undefined;
|
|
22023
|
+
instructions?: string | undefined;
|
|
22024
|
+
video?: {
|
|
22025
|
+
url: string;
|
|
22026
|
+
poster?: string | undefined;
|
|
22027
|
+
captions?: {
|
|
22028
|
+
url: string;
|
|
22029
|
+
language: string;
|
|
22030
|
+
label: string;
|
|
22031
|
+
} | undefined;
|
|
22032
|
+
} | undefined;
|
|
22033
|
+
};
|
|
22034
|
+
integrations: ("discord" | "x")[];
|
|
22035
|
+
fields: Record<string, {
|
|
22036
|
+
kind: "point-ledger";
|
|
22037
|
+
default: string;
|
|
22038
|
+
label: string;
|
|
22039
|
+
description?: string | undefined;
|
|
22040
|
+
} | {
|
|
22041
|
+
kind: "datetime";
|
|
22042
|
+
default: string;
|
|
22043
|
+
label: string;
|
|
22044
|
+
description?: string | undefined;
|
|
22045
|
+
} | {
|
|
22046
|
+
kind: "resource";
|
|
22047
|
+
default: string;
|
|
22048
|
+
source: {
|
|
22049
|
+
provider: "domino";
|
|
22050
|
+
resource: "point-ledger";
|
|
22051
|
+
} | {
|
|
22052
|
+
provider: "discord";
|
|
22053
|
+
resource: "channel";
|
|
22054
|
+
types: ("text" | "announcement")[];
|
|
22055
|
+
} | {
|
|
22056
|
+
provider: "discord";
|
|
22057
|
+
resource: "role";
|
|
22058
|
+
assignable: boolean;
|
|
22059
|
+
};
|
|
22060
|
+
label: string;
|
|
22061
|
+
description?: string | undefined;
|
|
22062
|
+
} | {
|
|
22063
|
+
kind: "quiz";
|
|
22064
|
+
default: {
|
|
22065
|
+
id: string;
|
|
22066
|
+
prompt: string;
|
|
22067
|
+
choices: {
|
|
22068
|
+
id: string;
|
|
22069
|
+
label: string;
|
|
22070
|
+
}[];
|
|
22071
|
+
correct: string;
|
|
22072
|
+
}[];
|
|
22073
|
+
label: string;
|
|
22074
|
+
description?: string | undefined;
|
|
22075
|
+
} | {
|
|
22076
|
+
kind: "text";
|
|
22077
|
+
default: string;
|
|
22078
|
+
minLength: number;
|
|
22079
|
+
maxLength: number;
|
|
22080
|
+
multiline: boolean;
|
|
22081
|
+
label: string;
|
|
22082
|
+
description?: string | undefined;
|
|
22083
|
+
} | {
|
|
22084
|
+
kind: "integer";
|
|
22085
|
+
default: number;
|
|
22086
|
+
min: number;
|
|
22087
|
+
max: number;
|
|
22088
|
+
label: string;
|
|
22089
|
+
description?: string | undefined;
|
|
22090
|
+
} | {
|
|
22091
|
+
kind: "boolean";
|
|
22092
|
+
default: boolean;
|
|
22093
|
+
label: string;
|
|
22094
|
+
description?: string | undefined;
|
|
22095
|
+
} | {
|
|
22096
|
+
kind: "choice";
|
|
22097
|
+
default: string;
|
|
22098
|
+
options: string[];
|
|
22099
|
+
label: string;
|
|
22100
|
+
description?: string | undefined;
|
|
22101
|
+
}>;
|
|
22102
|
+
values: Record<string, string | number | boolean | {
|
|
22103
|
+
id: string;
|
|
22104
|
+
prompt: string;
|
|
22105
|
+
choices: {
|
|
22106
|
+
id: string;
|
|
22107
|
+
label: string;
|
|
22108
|
+
}[];
|
|
22109
|
+
correct: string;
|
|
22110
|
+
}[]>;
|
|
22111
|
+
rewards: ({
|
|
22112
|
+
kind: "tier";
|
|
22113
|
+
reward: {
|
|
22114
|
+
id: string;
|
|
22115
|
+
title: string;
|
|
22116
|
+
tiers: {
|
|
22117
|
+
id: string;
|
|
22118
|
+
title: string;
|
|
22119
|
+
}[];
|
|
22120
|
+
inventory: {
|
|
22121
|
+
kind: "untracked";
|
|
22122
|
+
};
|
|
22123
|
+
fulfillment: {
|
|
22124
|
+
kind: "staff-handover";
|
|
22125
|
+
} | {
|
|
22126
|
+
kind: "automatic";
|
|
22127
|
+
};
|
|
22128
|
+
};
|
|
22129
|
+
tier: string;
|
|
22130
|
+
} | {
|
|
22131
|
+
kind: "points";
|
|
22132
|
+
balance: string;
|
|
22133
|
+
amount: number;
|
|
22134
|
+
} | {
|
|
22135
|
+
kind: "integration";
|
|
22136
|
+
provider: "discord";
|
|
22137
|
+
action: "grant-role";
|
|
22138
|
+
roleId: string;
|
|
22139
|
+
})[];
|
|
22140
|
+
humanReview: boolean;
|
|
22141
|
+
trigger: {
|
|
22142
|
+
kind: "manual";
|
|
22143
|
+
input: "text";
|
|
22144
|
+
constraints: {
|
|
22145
|
+
required: boolean;
|
|
22146
|
+
minLength: number;
|
|
22147
|
+
maxLength: number;
|
|
22148
|
+
};
|
|
22149
|
+
actor?: "staff" | "member" | undefined;
|
|
22150
|
+
} | {
|
|
22151
|
+
kind: "manual";
|
|
22152
|
+
input: "url";
|
|
22153
|
+
constraints: {
|
|
22154
|
+
required: boolean;
|
|
22155
|
+
allowedHosts?: string[] | undefined;
|
|
22156
|
+
};
|
|
22157
|
+
actor?: "staff" | "member" | undefined;
|
|
22158
|
+
} | {
|
|
22159
|
+
kind: "manual";
|
|
22160
|
+
input: "quiz" | "photo" | "none";
|
|
22161
|
+
actor?: "staff" | "member" | undefined;
|
|
22162
|
+
} | {
|
|
22163
|
+
kind: "automatic";
|
|
22164
|
+
tracker?: {
|
|
22165
|
+
tracker: string;
|
|
22166
|
+
source: string;
|
|
22167
|
+
on: "new-record" | "new-observation" | "data-changed";
|
|
22168
|
+
beneficiary: string;
|
|
22169
|
+
where?: {
|
|
22170
|
+
path: string;
|
|
22171
|
+
gt?: number | {
|
|
22172
|
+
setting: string;
|
|
22173
|
+
} | undefined;
|
|
22174
|
+
gte?: number | {
|
|
22175
|
+
setting: string;
|
|
22176
|
+
} | undefined;
|
|
22177
|
+
lt?: number | {
|
|
22178
|
+
setting: string;
|
|
22179
|
+
} | undefined;
|
|
22180
|
+
lte?: number | {
|
|
22181
|
+
setting: string;
|
|
22182
|
+
} | undefined;
|
|
22183
|
+
} | {
|
|
22184
|
+
path: string;
|
|
22185
|
+
equals: string | number | boolean;
|
|
22186
|
+
} | ({
|
|
22187
|
+
path: string;
|
|
22188
|
+
gt?: number | {
|
|
22189
|
+
setting: string;
|
|
22190
|
+
} | undefined;
|
|
22191
|
+
gte?: number | {
|
|
22192
|
+
setting: string;
|
|
22193
|
+
} | undefined;
|
|
22194
|
+
lt?: number | {
|
|
22195
|
+
setting: string;
|
|
22196
|
+
} | undefined;
|
|
22197
|
+
lte?: number | {
|
|
22198
|
+
setting: string;
|
|
22199
|
+
} | undefined;
|
|
22200
|
+
} | {
|
|
22201
|
+
path: string;
|
|
22202
|
+
equals: string | number | boolean;
|
|
22203
|
+
})[] | undefined;
|
|
22204
|
+
enrollment?: "required" | "none" | undefined;
|
|
22205
|
+
since?: "enrollment" | "activation" | "window" | undefined;
|
|
22206
|
+
historical?: "staff" | "automatic" | "claim" | undefined;
|
|
22207
|
+
content?: true | undefined;
|
|
22208
|
+
} | undefined;
|
|
22209
|
+
};
|
|
22210
|
+
requires: ({
|
|
22211
|
+
kind: "completion";
|
|
22212
|
+
quest: string;
|
|
22213
|
+
scope: "ever";
|
|
22214
|
+
} | {
|
|
22215
|
+
kind: "completion";
|
|
22216
|
+
quest: string;
|
|
22217
|
+
scope: "period";
|
|
22218
|
+
period: "day" | "week" | "month";
|
|
22219
|
+
} | {
|
|
22220
|
+
kind: "balance";
|
|
22221
|
+
balance: string;
|
|
22222
|
+
minimum: number;
|
|
22223
|
+
} | {
|
|
22224
|
+
kind: "group";
|
|
22225
|
+
group: string;
|
|
22226
|
+
title: string;
|
|
22227
|
+
})[];
|
|
22228
|
+
visibility: "visible" | "hidden";
|
|
22229
|
+
profile: {
|
|
22230
|
+
visible: boolean;
|
|
22231
|
+
};
|
|
22232
|
+
budgets: {
|
|
22233
|
+
id: string;
|
|
22234
|
+
scope: "project" | "member";
|
|
22235
|
+
period: "lifetime" | "day" | "week" | "month";
|
|
22236
|
+
limit: number;
|
|
22237
|
+
cost: number | {
|
|
22238
|
+
balance: string;
|
|
22239
|
+
};
|
|
22240
|
+
}[];
|
|
22241
|
+
completion: {
|
|
22242
|
+
kind: "streak";
|
|
22243
|
+
days: number;
|
|
22244
|
+
} | {
|
|
22245
|
+
kind: "progress";
|
|
22246
|
+
goal: {
|
|
22247
|
+
kind: "count";
|
|
22248
|
+
count: number;
|
|
22249
|
+
};
|
|
22250
|
+
window: {
|
|
22251
|
+
kind: "lifetime";
|
|
22252
|
+
} | {
|
|
22253
|
+
kind: "calendar";
|
|
22254
|
+
period: "day" | "week" | "month";
|
|
22255
|
+
latenessMs: number;
|
|
22256
|
+
} | {
|
|
22257
|
+
kind: "rolling";
|
|
22258
|
+
durationMs: number;
|
|
22259
|
+
};
|
|
22260
|
+
repeat: "repeat" | "once";
|
|
22261
|
+
} | {
|
|
22262
|
+
kind: "once";
|
|
22263
|
+
} | {
|
|
22264
|
+
kind: "keyed";
|
|
22265
|
+
};
|
|
22266
|
+
code: string;
|
|
22267
|
+
provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
|
|
22268
|
+
id: string;
|
|
22269
|
+
createdAt: number;
|
|
22270
|
+
lifecycle: "paused" | "archived" | "active";
|
|
22271
|
+
performance?: {
|
|
22272
|
+
metrics: string[];
|
|
22273
|
+
maxAgeMs: number;
|
|
22274
|
+
} | undefined;
|
|
22275
|
+
campaign?: {
|
|
22276
|
+
key: string;
|
|
22277
|
+
title: string;
|
|
22278
|
+
enrollment: "required" | "none";
|
|
22279
|
+
window?: {
|
|
22280
|
+
from: number;
|
|
22281
|
+
until: number;
|
|
22282
|
+
} | undefined;
|
|
22283
|
+
} | undefined;
|
|
22284
|
+
availability?: {
|
|
22285
|
+
from: number;
|
|
22286
|
+
until: number;
|
|
22287
|
+
} | undefined;
|
|
22288
|
+
key?: string | undefined;
|
|
22289
|
+
origin?: {
|
|
22290
|
+
typeVersion: string;
|
|
22291
|
+
} | undefined;
|
|
22292
|
+
configuration?: {
|
|
22293
|
+
defaults: Record<string, string | number | boolean | {
|
|
22294
|
+
id: string;
|
|
22295
|
+
prompt: string;
|
|
22296
|
+
choices: {
|
|
22297
|
+
id: string;
|
|
22298
|
+
label: string;
|
|
22299
|
+
}[];
|
|
22300
|
+
correct: string;
|
|
22301
|
+
}[]>;
|
|
22302
|
+
overrides: Record<string, string | number | boolean | {
|
|
22303
|
+
id: string;
|
|
22304
|
+
prompt: string;
|
|
22305
|
+
choices: {
|
|
22306
|
+
id: string;
|
|
22307
|
+
label: string;
|
|
22308
|
+
}[];
|
|
22309
|
+
correct: string;
|
|
22310
|
+
}[]>;
|
|
22311
|
+
preserved: string[];
|
|
22312
|
+
} | undefined;
|
|
22313
|
+
}[];
|
|
22314
|
+
people: {
|
|
22315
|
+
id: string;
|
|
22316
|
+
accounts: {
|
|
22317
|
+
kind: "account" | "wallet";
|
|
22318
|
+
provider: string;
|
|
22319
|
+
subject: string;
|
|
22320
|
+
signInEnabled: boolean;
|
|
22321
|
+
profile?: {
|
|
22322
|
+
emailVerified: boolean;
|
|
22323
|
+
name?: string | undefined;
|
|
22324
|
+
username?: string | undefined;
|
|
22325
|
+
email?: string | undefined;
|
|
22326
|
+
imageUrl?: string | undefined;
|
|
22327
|
+
} | undefined;
|
|
22328
|
+
}[];
|
|
22329
|
+
test?: boolean | undefined;
|
|
22330
|
+
name?: string | null | undefined;
|
|
22331
|
+
}[];
|
|
22332
|
+
total: number;
|
|
22333
|
+
nextCursor: string | null;
|
|
22334
|
+
}>;
|
|
22335
|
+
/**
|
|
22336
|
+
* One attempt with its release, its recorded events and its member; requires `read`
|
|
22337
|
+
* permission. Fails with 404 when the project has no such attempt.
|
|
22338
|
+
*/
|
|
22339
|
+
get: (attempt: string, call?: ManagementCallOptions) => Promise<{
|
|
22340
|
+
attempt: {
|
|
21402
22341
|
id: string;
|
|
21403
22342
|
release: string;
|
|
21404
22343
|
quest: string;
|
|
@@ -21791,64 +22730,329 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
21791
22730
|
imageUrl?: string | undefined;
|
|
21792
22731
|
} | undefined;
|
|
21793
22732
|
}[];
|
|
22733
|
+
test?: boolean | undefined;
|
|
22734
|
+
name?: string | null | undefined;
|
|
21794
22735
|
};
|
|
21795
22736
|
}>;
|
|
21796
22737
|
/**
|
|
21797
|
-
*
|
|
21798
|
-
* `
|
|
21799
|
-
*
|
|
22738
|
+
* Everything one evaluation run of a test-environment attempt read, for `replayAttempt` from
|
|
22739
|
+
* `@domino-sdk/relay/testing`; requires `publish` permission, because captures hold raw provider answers. Relay serves captures only in the
|
|
22740
|
+
* test environment: in live it fails with 422 `test-environment-required`. An attempt with
|
|
22741
|
+
* no evaluation run yet fails with 409 `attempt-not-evaluated`.
|
|
21800
22742
|
*/
|
|
21801
|
-
|
|
21802
|
-
|
|
22743
|
+
capture: (attempt: string, call?: ManagementCallOptions) => Promise<{
|
|
22744
|
+
format: 1;
|
|
22745
|
+
attempt: string;
|
|
22746
|
+
environment: "test";
|
|
22747
|
+
quest: {
|
|
22748
|
+
id: string;
|
|
22749
|
+
key: string | null;
|
|
22750
|
+
};
|
|
21803
22751
|
release: string;
|
|
21804
|
-
|
|
21805
|
-
|
|
21806
|
-
|
|
21807
|
-
|
|
21808
|
-
|
|
21809
|
-
|
|
21810
|
-
generation: number;
|
|
21811
|
-
completion: string | null;
|
|
21812
|
-
reviewRewards: ({
|
|
21813
|
-
kind: "tier";
|
|
21814
|
-
reward: {
|
|
22752
|
+
evaluationRun: number;
|
|
22753
|
+
protocol: number;
|
|
22754
|
+
seed: string;
|
|
22755
|
+
now: number;
|
|
22756
|
+
context: {
|
|
22757
|
+
settings: Record<string, string | number | boolean | {
|
|
21815
22758
|
id: string;
|
|
21816
|
-
|
|
21817
|
-
|
|
22759
|
+
prompt: string;
|
|
22760
|
+
choices: {
|
|
21818
22761
|
id: string;
|
|
21819
|
-
|
|
22762
|
+
label: string;
|
|
21820
22763
|
}[];
|
|
21821
|
-
|
|
21822
|
-
|
|
22764
|
+
correct: string;
|
|
22765
|
+
}[]>;
|
|
22766
|
+
rewards: ({
|
|
22767
|
+
kind: "tier";
|
|
22768
|
+
reward: {
|
|
22769
|
+
id: string;
|
|
22770
|
+
title: string;
|
|
22771
|
+
tiers: {
|
|
22772
|
+
id: string;
|
|
22773
|
+
title: string;
|
|
22774
|
+
}[];
|
|
22775
|
+
inventory: {
|
|
22776
|
+
kind: "untracked";
|
|
22777
|
+
};
|
|
22778
|
+
fulfillment: {
|
|
22779
|
+
kind: "staff-handover";
|
|
22780
|
+
} | {
|
|
22781
|
+
kind: "automatic";
|
|
22782
|
+
};
|
|
21823
22783
|
};
|
|
21824
|
-
|
|
21825
|
-
|
|
21826
|
-
|
|
21827
|
-
|
|
22784
|
+
tier: string;
|
|
22785
|
+
} | {
|
|
22786
|
+
kind: "points";
|
|
22787
|
+
balance: string;
|
|
22788
|
+
amount: number;
|
|
22789
|
+
} | {
|
|
22790
|
+
kind: "integration";
|
|
22791
|
+
provider: "discord";
|
|
22792
|
+
action: "grant-role";
|
|
22793
|
+
roleId: string;
|
|
22794
|
+
})[];
|
|
22795
|
+
humanReview: boolean;
|
|
22796
|
+
integrations: string[];
|
|
22797
|
+
member: string;
|
|
22798
|
+
input: Record<string, z.core.util.JSONType>;
|
|
22799
|
+
tracker: {
|
|
22800
|
+
tracker: string;
|
|
22801
|
+
key: string;
|
|
22802
|
+
beneficiary: string;
|
|
22803
|
+
record: {
|
|
22804
|
+
id: string;
|
|
22805
|
+
source: string;
|
|
22806
|
+
occurredAt: number;
|
|
22807
|
+
observedAt: number;
|
|
22808
|
+
firstSeenAt: number;
|
|
22809
|
+
author: {
|
|
22810
|
+
id: string;
|
|
22811
|
+
verified: boolean | null;
|
|
22812
|
+
kind?: OpenIdentityKind | undefined;
|
|
22813
|
+
} | null;
|
|
22814
|
+
data: Record<string, z.core.util.JSONType>;
|
|
22815
|
+
removed: boolean;
|
|
22816
|
+
accounts?: Record<string, {
|
|
22817
|
+
id: string;
|
|
22818
|
+
kind?: OpenIdentityKind | undefined;
|
|
22819
|
+
}> | undefined;
|
|
22820
|
+
};
|
|
22821
|
+
attribution: {
|
|
22822
|
+
member: string;
|
|
22823
|
+
capturedAt: number;
|
|
22824
|
+
account: {
|
|
22825
|
+
provider: "wallet";
|
|
22826
|
+
id: string;
|
|
22827
|
+
revision: number;
|
|
22828
|
+
linkedAt: number | null;
|
|
22829
|
+
} | {
|
|
22830
|
+
issuer: string;
|
|
22831
|
+
subject: string;
|
|
22832
|
+
revision: number;
|
|
22833
|
+
linkedAt: number | null;
|
|
22834
|
+
provider: "x";
|
|
22835
|
+
} | {
|
|
22836
|
+
issuer: string;
|
|
22837
|
+
subject: string;
|
|
22838
|
+
revision: number;
|
|
22839
|
+
linkedAt: number | null;
|
|
22840
|
+
provider: "discord";
|
|
22841
|
+
} | {
|
|
22842
|
+
provider: "member";
|
|
22843
|
+
id: string;
|
|
22844
|
+
} | {
|
|
22845
|
+
provider: `app:${string}`;
|
|
22846
|
+
subject: string;
|
|
22847
|
+
revision: number;
|
|
22848
|
+
linkedAt: number | null;
|
|
22849
|
+
} | {
|
|
22850
|
+
provider: string;
|
|
22851
|
+
};
|
|
21828
22852
|
};
|
|
22853
|
+
content?: {
|
|
22854
|
+
revision: string;
|
|
22855
|
+
observation: string;
|
|
22856
|
+
body: Record<string, z.core.util.JSONType>;
|
|
22857
|
+
} | undefined;
|
|
22858
|
+
enrolledAt?: number | undefined;
|
|
22859
|
+
} | null;
|
|
22860
|
+
eligibleAt: number;
|
|
22861
|
+
calendar: {
|
|
22862
|
+
segments: {
|
|
22863
|
+
[x: string]: unknown;
|
|
22864
|
+
effectiveAt: number;
|
|
22865
|
+
timeZone: string;
|
|
22866
|
+
}[];
|
|
21829
22867
|
};
|
|
21830
|
-
|
|
21831
|
-
|
|
21832
|
-
|
|
21833
|
-
|
|
21834
|
-
|
|
21835
|
-
|
|
21836
|
-
|
|
21837
|
-
|
|
21838
|
-
|
|
21839
|
-
|
|
21840
|
-
|
|
21841
|
-
|
|
21842
|
-
|
|
21843
|
-
|
|
21844
|
-
|
|
21845
|
-
|
|
21846
|
-
|
|
21847
|
-
|
|
21848
|
-
|
|
21849
|
-
|
|
21850
|
-
|
|
21851
|
-
|
|
22868
|
+
performance: {
|
|
22869
|
+
contentAttempt: string;
|
|
22870
|
+
observation: string;
|
|
22871
|
+
observedAt: number;
|
|
22872
|
+
metrics: Record<string, number>;
|
|
22873
|
+
rewards: ({
|
|
22874
|
+
kind: "tier";
|
|
22875
|
+
reward: {
|
|
22876
|
+
id: string;
|
|
22877
|
+
title: string;
|
|
22878
|
+
tiers: {
|
|
22879
|
+
id: string;
|
|
22880
|
+
title: string;
|
|
22881
|
+
}[];
|
|
22882
|
+
inventory: {
|
|
22883
|
+
kind: "untracked";
|
|
22884
|
+
};
|
|
22885
|
+
fulfillment: {
|
|
22886
|
+
kind: "staff-handover";
|
|
22887
|
+
} | {
|
|
22888
|
+
kind: "automatic";
|
|
22889
|
+
};
|
|
22890
|
+
};
|
|
22891
|
+
tier: string;
|
|
22892
|
+
} | {
|
|
22893
|
+
kind: "points";
|
|
22894
|
+
balance: string;
|
|
22895
|
+
amount: number;
|
|
22896
|
+
} | {
|
|
22897
|
+
kind: "integration";
|
|
22898
|
+
provider: "discord";
|
|
22899
|
+
action: "grant-role";
|
|
22900
|
+
roleId: string;
|
|
22901
|
+
})[];
|
|
22902
|
+
} | null;
|
|
22903
|
+
};
|
|
22904
|
+
facts: {
|
|
22905
|
+
sequence: number;
|
|
22906
|
+
request: Record<string, z.core.util.JSONType>;
|
|
22907
|
+
captured: boolean;
|
|
22908
|
+
outcome?: {
|
|
22909
|
+
value: z.core.util.JSONType;
|
|
22910
|
+
} | {
|
|
22911
|
+
error: {
|
|
22912
|
+
[x: string]: unknown;
|
|
22913
|
+
code: string;
|
|
22914
|
+
message: string;
|
|
22915
|
+
retryable: boolean;
|
|
22916
|
+
};
|
|
22917
|
+
} | undefined;
|
|
22918
|
+
}[];
|
|
22919
|
+
recorded: {
|
|
22920
|
+
kind: "defer";
|
|
22921
|
+
reason: string;
|
|
22922
|
+
retryAfterMs?: number | undefined;
|
|
22923
|
+
until?: number | undefined;
|
|
22924
|
+
} | {
|
|
22925
|
+
current: number;
|
|
22926
|
+
target: number;
|
|
22927
|
+
reason: string;
|
|
22928
|
+
kind: "progress";
|
|
22929
|
+
} | {
|
|
22930
|
+
kind: "accept";
|
|
22931
|
+
rewards: ({
|
|
22932
|
+
kind: "tier";
|
|
22933
|
+
reward: {
|
|
22934
|
+
id: string;
|
|
22935
|
+
title: string;
|
|
22936
|
+
tiers: {
|
|
22937
|
+
id: string;
|
|
22938
|
+
title: string;
|
|
22939
|
+
}[];
|
|
22940
|
+
inventory: {
|
|
22941
|
+
kind: "untracked";
|
|
22942
|
+
};
|
|
22943
|
+
fulfillment: {
|
|
22944
|
+
kind: "staff-handover";
|
|
22945
|
+
} | {
|
|
22946
|
+
kind: "automatic";
|
|
22947
|
+
};
|
|
22948
|
+
};
|
|
22949
|
+
tier: string;
|
|
22950
|
+
} | {
|
|
22951
|
+
kind: "points";
|
|
22952
|
+
balance: string;
|
|
22953
|
+
amount: number;
|
|
22954
|
+
} | {
|
|
22955
|
+
kind: "integration";
|
|
22956
|
+
provider: "discord";
|
|
22957
|
+
action: "grant-role";
|
|
22958
|
+
roleId: string;
|
|
22959
|
+
})[];
|
|
22960
|
+
completionKey?: string | undefined;
|
|
22961
|
+
} | {
|
|
22962
|
+
kind: "reject";
|
|
22963
|
+
reason: string;
|
|
22964
|
+
requestedReview?: true | undefined;
|
|
22965
|
+
} | {
|
|
22966
|
+
kind: "review";
|
|
22967
|
+
reason: string;
|
|
22968
|
+
rewards?: ({
|
|
22969
|
+
kind: "tier";
|
|
22970
|
+
reward: {
|
|
22971
|
+
id: string;
|
|
22972
|
+
title: string;
|
|
22973
|
+
tiers: {
|
|
22974
|
+
id: string;
|
|
22975
|
+
title: string;
|
|
22976
|
+
}[];
|
|
22977
|
+
inventory: {
|
|
22978
|
+
kind: "untracked";
|
|
22979
|
+
};
|
|
22980
|
+
fulfillment: {
|
|
22981
|
+
kind: "staff-handover";
|
|
22982
|
+
} | {
|
|
22983
|
+
kind: "automatic";
|
|
22984
|
+
};
|
|
22985
|
+
};
|
|
22986
|
+
tier: string;
|
|
22987
|
+
} | {
|
|
22988
|
+
kind: "points";
|
|
22989
|
+
balance: string;
|
|
22990
|
+
amount: number;
|
|
22991
|
+
} | {
|
|
22992
|
+
kind: "integration";
|
|
22993
|
+
provider: "discord";
|
|
22994
|
+
action: "grant-role";
|
|
22995
|
+
roleId: string;
|
|
22996
|
+
})[] | undefined;
|
|
22997
|
+
completionKey?: string | undefined;
|
|
22998
|
+
} | null;
|
|
22999
|
+
}>;
|
|
23000
|
+
/**
|
|
23001
|
+
* Submits a staff-confirmed quest (`manual({ actor: "staff" })`) for a member; requires
|
|
23002
|
+
* `confirm` permission. Resolves with the queued attempt, or with the original attempt when
|
|
23003
|
+
* the action ID repeats. Any other quest fails with 403.
|
|
23004
|
+
*/
|
|
23005
|
+
confirm: (input: CreationInput<z.input<typeof submitSchema>>, call?: ManagementCallOptions) => Promise<{
|
|
23006
|
+
id: string;
|
|
23007
|
+
release: string;
|
|
23008
|
+
quest: string;
|
|
23009
|
+
member: string;
|
|
23010
|
+
evidence: string | null;
|
|
23011
|
+
status: AttemptStatus;
|
|
23012
|
+
reason: string | null;
|
|
23013
|
+
retries: number;
|
|
23014
|
+
generation: number;
|
|
23015
|
+
completion: string | null;
|
|
23016
|
+
reviewRewards: ({
|
|
23017
|
+
kind: "tier";
|
|
23018
|
+
reward: {
|
|
23019
|
+
id: string;
|
|
23020
|
+
title: string;
|
|
23021
|
+
tiers: {
|
|
23022
|
+
id: string;
|
|
23023
|
+
title: string;
|
|
23024
|
+
}[];
|
|
23025
|
+
inventory: {
|
|
23026
|
+
kind: "untracked";
|
|
23027
|
+
};
|
|
23028
|
+
fulfillment: {
|
|
23029
|
+
kind: "staff-handover";
|
|
23030
|
+
} | {
|
|
23031
|
+
kind: "automatic";
|
|
23032
|
+
};
|
|
23033
|
+
};
|
|
23034
|
+
tier: string;
|
|
23035
|
+
} | {
|
|
23036
|
+
kind: "points";
|
|
23037
|
+
balance: string;
|
|
23038
|
+
amount: number;
|
|
23039
|
+
} | {
|
|
23040
|
+
kind: "integration";
|
|
23041
|
+
provider: "discord";
|
|
23042
|
+
action: "grant-role";
|
|
23043
|
+
roleId: string;
|
|
23044
|
+
})[] | null;
|
|
23045
|
+
evaluationRun: number;
|
|
23046
|
+
deferCount: number;
|
|
23047
|
+
deferUntil: number | null;
|
|
23048
|
+
nextEvaluationAt: number | null;
|
|
23049
|
+
code: string | null;
|
|
23050
|
+
progress: {
|
|
23051
|
+
current: number;
|
|
23052
|
+
target: number;
|
|
23053
|
+
reason: string;
|
|
23054
|
+
} | null;
|
|
23055
|
+
requestedReview: boolean;
|
|
21852
23056
|
createdAt: number;
|
|
21853
23057
|
input?: {
|
|
21854
23058
|
kind: "quiz";
|
|
@@ -22767,6 +23971,8 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
22767
23971
|
imageUrl?: string | undefined;
|
|
22768
23972
|
} | undefined;
|
|
22769
23973
|
}[];
|
|
23974
|
+
test?: boolean | undefined;
|
|
23975
|
+
name?: string | null | undefined;
|
|
22770
23976
|
}[];
|
|
22771
23977
|
total: number;
|
|
22772
23978
|
nextCursor: string | null;
|
|
@@ -22944,6 +24150,8 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
22944
24150
|
imageUrl?: string | undefined;
|
|
22945
24151
|
} | undefined;
|
|
22946
24152
|
}[];
|
|
24153
|
+
test?: boolean | undefined;
|
|
24154
|
+
name?: string | null | undefined;
|
|
22947
24155
|
};
|
|
22948
24156
|
}>;
|
|
22949
24157
|
/**
|
|
@@ -24510,9 +25718,8 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
24510
25718
|
* and finds a `detail` quest in that result. `activity` uses `attempts.list`, and its `detail`
|
|
24511
25719
|
* uses `attempts.get`. `members` uses `members.list`; `page()` ignores its `detail`, while
|
|
24512
25720
|
* `members.get` reads a member. `rewards` uses `entitlements.list` and `inventory.list`, and
|
|
24513
|
-
* its `detail` uses `entitlements.get`.
|
|
24514
|
-
*
|
|
24515
|
-
* `quests.list` returns current releases only. `settings` uses `metrics.read`, `quests.list`
|
|
25721
|
+
* its `detail` uses `entitlements.get`. `releases` uses `releases.list`, and its `detail`
|
|
25722
|
+
* uses `releases.get`. `settings` uses `metrics.read`, `quests.list`
|
|
24516
25723
|
* and `operations.list`; its `detail` has no effect. `audit` uses `audit.list`, except
|
|
24517
25724
|
* `filter: "access"` uses `audit.access`; its `detail` has no effect. On every page,
|
|
24518
25725
|
* `detail: "new"` is client-side create mode and triggers no replacement read. Resource lists
|
|
@@ -25108,6 +26315,8 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
25108
26315
|
imageUrl?: string | undefined;
|
|
25109
26316
|
} | undefined;
|
|
25110
26317
|
}[];
|
|
26318
|
+
test?: boolean | undefined;
|
|
26319
|
+
name?: string | null | undefined;
|
|
25111
26320
|
}[];
|
|
25112
26321
|
metrics: {
|
|
25113
26322
|
quests: number;
|
|
@@ -25755,6 +26964,8 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
25755
26964
|
imageUrl?: string | undefined;
|
|
25756
26965
|
} | undefined;
|
|
25757
26966
|
}[];
|
|
26967
|
+
test?: boolean | undefined;
|
|
26968
|
+
name?: string | null | undefined;
|
|
25758
26969
|
}>;
|
|
25759
26970
|
/** Who each member is: up to 100 distinct IDs; unknown IDs come back without accounts. */
|
|
25760
26971
|
people: (members: string[], call?: ManagementCallOptions) => Promise<{
|
|
@@ -25772,6 +26983,8 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
25772
26983
|
imageUrl?: string | undefined;
|
|
25773
26984
|
} | undefined;
|
|
25774
26985
|
}[];
|
|
26986
|
+
test?: boolean | undefined;
|
|
26987
|
+
name?: string | null | undefined;
|
|
25775
26988
|
}[]>;
|
|
25776
26989
|
/** Current X and Discord quest account selections; requires read permission. */
|
|
25777
26990
|
oauthAccounts: (member: string, call?: ManagementCallOptions) => Promise<({
|
|
@@ -44779,34 +45992,751 @@ declare const managementResponseSchemas: {
|
|
|
44779
45992
|
provider: "discord";
|
|
44780
45993
|
action: "grant-role";
|
|
44781
45994
|
roleId: string;
|
|
44782
|
-
})[] | null;
|
|
44783
|
-
evaluationRun: number;
|
|
44784
|
-
deferCount: number;
|
|
44785
|
-
deferUntil: number | null;
|
|
44786
|
-
nextEvaluationAt: number | null;
|
|
44787
|
-
code: string | null;
|
|
44788
|
-
progress: {
|
|
44789
|
-
current: number;
|
|
44790
|
-
target: number;
|
|
44791
|
-
reason: string;
|
|
44792
|
-
} | null;
|
|
44793
|
-
requestedReview: boolean;
|
|
44794
|
-
createdAt: number;
|
|
44795
|
-
input?: {
|
|
44796
|
-
kind: "quiz";
|
|
44797
|
-
answers: {
|
|
44798
|
-
[k: string]: string;
|
|
45995
|
+
})[] | null;
|
|
45996
|
+
evaluationRun: number;
|
|
45997
|
+
deferCount: number;
|
|
45998
|
+
deferUntil: number | null;
|
|
45999
|
+
nextEvaluationAt: number | null;
|
|
46000
|
+
code: string | null;
|
|
46001
|
+
progress: {
|
|
46002
|
+
current: number;
|
|
46003
|
+
target: number;
|
|
46004
|
+
reason: string;
|
|
46005
|
+
} | null;
|
|
46006
|
+
requestedReview: boolean;
|
|
46007
|
+
createdAt: number;
|
|
46008
|
+
input?: {
|
|
46009
|
+
kind: "quiz";
|
|
46010
|
+
answers: {
|
|
46011
|
+
[k: string]: string;
|
|
46012
|
+
};
|
|
46013
|
+
release?: string | undefined;
|
|
46014
|
+
} | {
|
|
46015
|
+
kind: "text";
|
|
46016
|
+
value: string;
|
|
46017
|
+
} | {
|
|
46018
|
+
kind: "url";
|
|
46019
|
+
value: string;
|
|
46020
|
+
} | undefined;
|
|
46021
|
+
}[];
|
|
46022
|
+
releases: {
|
|
46023
|
+
quest: string;
|
|
46024
|
+
evaluatorProtocol: 2;
|
|
46025
|
+
title: string;
|
|
46026
|
+
presentation: {
|
|
46027
|
+
quiz?: {
|
|
46028
|
+
id: string;
|
|
46029
|
+
prompt: string;
|
|
46030
|
+
choices: {
|
|
46031
|
+
id: string;
|
|
46032
|
+
label: string;
|
|
46033
|
+
}[];
|
|
46034
|
+
}[] | undefined;
|
|
46035
|
+
instructions?: string | undefined;
|
|
46036
|
+
video?: {
|
|
46037
|
+
url: string;
|
|
46038
|
+
poster?: string | undefined;
|
|
46039
|
+
captions?: {
|
|
46040
|
+
url: string;
|
|
46041
|
+
language: string;
|
|
46042
|
+
label: string;
|
|
46043
|
+
} | undefined;
|
|
46044
|
+
} | undefined;
|
|
46045
|
+
};
|
|
46046
|
+
integrations: ("discord" | "x")[];
|
|
46047
|
+
fields: Record<string, {
|
|
46048
|
+
kind: "point-ledger";
|
|
46049
|
+
default: string;
|
|
46050
|
+
label: string;
|
|
46051
|
+
description?: string | undefined;
|
|
46052
|
+
} | {
|
|
46053
|
+
kind: "datetime";
|
|
46054
|
+
default: string;
|
|
46055
|
+
label: string;
|
|
46056
|
+
description?: string | undefined;
|
|
46057
|
+
} | {
|
|
46058
|
+
kind: "resource";
|
|
46059
|
+
default: string;
|
|
46060
|
+
source: {
|
|
46061
|
+
provider: "domino";
|
|
46062
|
+
resource: "point-ledger";
|
|
46063
|
+
} | {
|
|
46064
|
+
provider: "discord";
|
|
46065
|
+
resource: "channel";
|
|
46066
|
+
types: ("text" | "announcement")[];
|
|
46067
|
+
} | {
|
|
46068
|
+
provider: "discord";
|
|
46069
|
+
resource: "role";
|
|
46070
|
+
assignable: boolean;
|
|
46071
|
+
};
|
|
46072
|
+
label: string;
|
|
46073
|
+
description?: string | undefined;
|
|
46074
|
+
} | {
|
|
46075
|
+
kind: "quiz";
|
|
46076
|
+
default: {
|
|
46077
|
+
id: string;
|
|
46078
|
+
prompt: string;
|
|
46079
|
+
choices: {
|
|
46080
|
+
id: string;
|
|
46081
|
+
label: string;
|
|
46082
|
+
}[];
|
|
46083
|
+
correct: string;
|
|
46084
|
+
}[];
|
|
46085
|
+
label: string;
|
|
46086
|
+
description?: string | undefined;
|
|
46087
|
+
} | {
|
|
46088
|
+
kind: "text";
|
|
46089
|
+
default: string;
|
|
46090
|
+
minLength: number;
|
|
46091
|
+
maxLength: number;
|
|
46092
|
+
multiline: boolean;
|
|
46093
|
+
label: string;
|
|
46094
|
+
description?: string | undefined;
|
|
46095
|
+
} | {
|
|
46096
|
+
kind: "integer";
|
|
46097
|
+
default: number;
|
|
46098
|
+
min: number;
|
|
46099
|
+
max: number;
|
|
46100
|
+
label: string;
|
|
46101
|
+
description?: string | undefined;
|
|
46102
|
+
} | {
|
|
46103
|
+
kind: "boolean";
|
|
46104
|
+
default: boolean;
|
|
46105
|
+
label: string;
|
|
46106
|
+
description?: string | undefined;
|
|
46107
|
+
} | {
|
|
46108
|
+
kind: "choice";
|
|
46109
|
+
default: string;
|
|
46110
|
+
options: string[];
|
|
46111
|
+
label: string;
|
|
46112
|
+
description?: string | undefined;
|
|
46113
|
+
}>;
|
|
46114
|
+
values: Record<string, string | number | boolean | {
|
|
46115
|
+
id: string;
|
|
46116
|
+
prompt: string;
|
|
46117
|
+
choices: {
|
|
46118
|
+
id: string;
|
|
46119
|
+
label: string;
|
|
46120
|
+
}[];
|
|
46121
|
+
correct: string;
|
|
46122
|
+
}[]>;
|
|
46123
|
+
rewards: ({
|
|
46124
|
+
kind: "tier";
|
|
46125
|
+
reward: {
|
|
46126
|
+
id: string;
|
|
46127
|
+
title: string;
|
|
46128
|
+
tiers: {
|
|
46129
|
+
id: string;
|
|
46130
|
+
title: string;
|
|
46131
|
+
}[];
|
|
46132
|
+
inventory: {
|
|
46133
|
+
kind: "untracked";
|
|
46134
|
+
};
|
|
46135
|
+
fulfillment: {
|
|
46136
|
+
kind: "staff-handover";
|
|
46137
|
+
} | {
|
|
46138
|
+
kind: "automatic";
|
|
46139
|
+
};
|
|
46140
|
+
};
|
|
46141
|
+
tier: string;
|
|
46142
|
+
} | {
|
|
46143
|
+
kind: "points";
|
|
46144
|
+
balance: string;
|
|
46145
|
+
amount: number;
|
|
46146
|
+
} | {
|
|
46147
|
+
kind: "integration";
|
|
46148
|
+
provider: "discord";
|
|
46149
|
+
action: "grant-role";
|
|
46150
|
+
roleId: string;
|
|
46151
|
+
})[];
|
|
46152
|
+
humanReview: boolean;
|
|
46153
|
+
trigger: {
|
|
46154
|
+
kind: "manual";
|
|
46155
|
+
input: "text";
|
|
46156
|
+
constraints: {
|
|
46157
|
+
required: boolean;
|
|
46158
|
+
minLength: number;
|
|
46159
|
+
maxLength: number;
|
|
46160
|
+
};
|
|
46161
|
+
actor?: "staff" | "member" | undefined;
|
|
46162
|
+
} | {
|
|
46163
|
+
kind: "manual";
|
|
46164
|
+
input: "url";
|
|
46165
|
+
constraints: {
|
|
46166
|
+
required: boolean;
|
|
46167
|
+
allowedHosts?: string[] | undefined;
|
|
46168
|
+
};
|
|
46169
|
+
actor?: "staff" | "member" | undefined;
|
|
46170
|
+
} | {
|
|
46171
|
+
kind: "manual";
|
|
46172
|
+
input: "quiz" | "photo" | "none";
|
|
46173
|
+
actor?: "staff" | "member" | undefined;
|
|
46174
|
+
} | {
|
|
46175
|
+
kind: "automatic";
|
|
46176
|
+
tracker?: {
|
|
46177
|
+
tracker: string;
|
|
46178
|
+
source: string;
|
|
46179
|
+
on: "new-record" | "new-observation" | "data-changed";
|
|
46180
|
+
beneficiary: string;
|
|
46181
|
+
where?: {
|
|
46182
|
+
path: string;
|
|
46183
|
+
gt?: number | {
|
|
46184
|
+
setting: string;
|
|
46185
|
+
} | undefined;
|
|
46186
|
+
gte?: number | {
|
|
46187
|
+
setting: string;
|
|
46188
|
+
} | undefined;
|
|
46189
|
+
lt?: number | {
|
|
46190
|
+
setting: string;
|
|
46191
|
+
} | undefined;
|
|
46192
|
+
lte?: number | {
|
|
46193
|
+
setting: string;
|
|
46194
|
+
} | undefined;
|
|
46195
|
+
} | {
|
|
46196
|
+
path: string;
|
|
46197
|
+
equals: string | number | boolean;
|
|
46198
|
+
} | ({
|
|
46199
|
+
path: string;
|
|
46200
|
+
gt?: number | {
|
|
46201
|
+
setting: string;
|
|
46202
|
+
} | undefined;
|
|
46203
|
+
gte?: number | {
|
|
46204
|
+
setting: string;
|
|
46205
|
+
} | undefined;
|
|
46206
|
+
lt?: number | {
|
|
46207
|
+
setting: string;
|
|
46208
|
+
} | undefined;
|
|
46209
|
+
lte?: number | {
|
|
46210
|
+
setting: string;
|
|
46211
|
+
} | undefined;
|
|
46212
|
+
} | {
|
|
46213
|
+
path: string;
|
|
46214
|
+
equals: string | number | boolean;
|
|
46215
|
+
})[] | undefined;
|
|
46216
|
+
enrollment?: "required" | "none" | undefined;
|
|
46217
|
+
since?: "enrollment" | "activation" | "window" | undefined;
|
|
46218
|
+
historical?: "staff" | "automatic" | "claim" | undefined;
|
|
46219
|
+
content?: true | undefined;
|
|
46220
|
+
} | undefined;
|
|
46221
|
+
};
|
|
46222
|
+
requires: ({
|
|
46223
|
+
kind: "completion";
|
|
46224
|
+
quest: string;
|
|
46225
|
+
scope: "ever";
|
|
46226
|
+
} | {
|
|
46227
|
+
kind: "completion";
|
|
46228
|
+
quest: string;
|
|
46229
|
+
scope: "period";
|
|
46230
|
+
period: "day" | "week" | "month";
|
|
46231
|
+
} | {
|
|
46232
|
+
kind: "balance";
|
|
46233
|
+
balance: string;
|
|
46234
|
+
minimum: number;
|
|
46235
|
+
} | {
|
|
46236
|
+
kind: "group";
|
|
46237
|
+
group: string;
|
|
46238
|
+
title: string;
|
|
46239
|
+
})[];
|
|
46240
|
+
visibility: "visible" | "hidden";
|
|
46241
|
+
profile: {
|
|
46242
|
+
visible: boolean;
|
|
46243
|
+
};
|
|
46244
|
+
budgets: {
|
|
46245
|
+
id: string;
|
|
46246
|
+
scope: "project" | "member";
|
|
46247
|
+
period: "lifetime" | "day" | "week" | "month";
|
|
46248
|
+
limit: number;
|
|
46249
|
+
cost: number | {
|
|
46250
|
+
balance: string;
|
|
46251
|
+
};
|
|
46252
|
+
}[];
|
|
46253
|
+
completion: {
|
|
46254
|
+
kind: "streak";
|
|
46255
|
+
days: number;
|
|
46256
|
+
} | {
|
|
46257
|
+
kind: "progress";
|
|
46258
|
+
goal: {
|
|
46259
|
+
kind: "count";
|
|
46260
|
+
count: number;
|
|
46261
|
+
};
|
|
46262
|
+
window: {
|
|
46263
|
+
kind: "lifetime";
|
|
46264
|
+
} | {
|
|
46265
|
+
kind: "calendar";
|
|
46266
|
+
period: "day" | "week" | "month";
|
|
46267
|
+
latenessMs: number;
|
|
46268
|
+
} | {
|
|
46269
|
+
kind: "rolling";
|
|
46270
|
+
durationMs: number;
|
|
46271
|
+
};
|
|
46272
|
+
repeat: "repeat" | "once";
|
|
46273
|
+
} | {
|
|
46274
|
+
kind: "once";
|
|
46275
|
+
} | {
|
|
46276
|
+
kind: "keyed";
|
|
46277
|
+
};
|
|
46278
|
+
code: string;
|
|
46279
|
+
provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
|
|
46280
|
+
id: string;
|
|
46281
|
+
createdAt: number;
|
|
46282
|
+
lifecycle: "paused" | "archived" | "active";
|
|
46283
|
+
performance?: {
|
|
46284
|
+
metrics: string[];
|
|
46285
|
+
maxAgeMs: number;
|
|
46286
|
+
} | undefined;
|
|
46287
|
+
campaign?: {
|
|
46288
|
+
key: string;
|
|
46289
|
+
title: string;
|
|
46290
|
+
enrollment: "required" | "none";
|
|
46291
|
+
window?: {
|
|
46292
|
+
from: number;
|
|
46293
|
+
until: number;
|
|
46294
|
+
} | undefined;
|
|
46295
|
+
} | undefined;
|
|
46296
|
+
availability?: {
|
|
46297
|
+
from: number;
|
|
46298
|
+
until: number;
|
|
46299
|
+
} | undefined;
|
|
46300
|
+
key?: string | undefined;
|
|
46301
|
+
origin?: {
|
|
46302
|
+
typeVersion: string;
|
|
46303
|
+
} | undefined;
|
|
46304
|
+
configuration?: {
|
|
46305
|
+
defaults: Record<string, string | number | boolean | {
|
|
46306
|
+
id: string;
|
|
46307
|
+
prompt: string;
|
|
46308
|
+
choices: {
|
|
46309
|
+
id: string;
|
|
46310
|
+
label: string;
|
|
46311
|
+
}[];
|
|
46312
|
+
correct: string;
|
|
46313
|
+
}[]>;
|
|
46314
|
+
overrides: Record<string, string | number | boolean | {
|
|
46315
|
+
id: string;
|
|
46316
|
+
prompt: string;
|
|
46317
|
+
choices: {
|
|
46318
|
+
id: string;
|
|
46319
|
+
label: string;
|
|
46320
|
+
}[];
|
|
46321
|
+
correct: string;
|
|
46322
|
+
}[]>;
|
|
46323
|
+
preserved: string[];
|
|
46324
|
+
} | undefined;
|
|
46325
|
+
}[];
|
|
46326
|
+
people: {
|
|
46327
|
+
id: string;
|
|
46328
|
+
accounts: {
|
|
46329
|
+
kind: "account" | "wallet";
|
|
46330
|
+
provider: string;
|
|
46331
|
+
subject: string;
|
|
46332
|
+
signInEnabled: boolean;
|
|
46333
|
+
profile?: {
|
|
46334
|
+
emailVerified: boolean;
|
|
46335
|
+
name?: string | undefined;
|
|
46336
|
+
username?: string | undefined;
|
|
46337
|
+
email?: string | undefined;
|
|
46338
|
+
imageUrl?: string | undefined;
|
|
46339
|
+
} | undefined;
|
|
46340
|
+
}[];
|
|
46341
|
+
test?: boolean | undefined;
|
|
46342
|
+
name?: string | null | undefined;
|
|
46343
|
+
}[];
|
|
46344
|
+
total: number;
|
|
46345
|
+
nextCursor: string | null;
|
|
46346
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
46347
|
+
items: {
|
|
46348
|
+
id: string;
|
|
46349
|
+
release: string;
|
|
46350
|
+
quest: string;
|
|
46351
|
+
member: string;
|
|
46352
|
+
evidence: string | null;
|
|
46353
|
+
status: AttemptStatus;
|
|
46354
|
+
reason: string | null;
|
|
46355
|
+
retries: number;
|
|
46356
|
+
generation: number;
|
|
46357
|
+
completion: string | null;
|
|
46358
|
+
reviewRewards: ({
|
|
46359
|
+
kind: "tier";
|
|
46360
|
+
reward: {
|
|
46361
|
+
id: string;
|
|
46362
|
+
title: string;
|
|
46363
|
+
tiers: {
|
|
46364
|
+
id: string;
|
|
46365
|
+
title: string;
|
|
46366
|
+
}[];
|
|
46367
|
+
inventory: {
|
|
46368
|
+
kind: "untracked";
|
|
46369
|
+
};
|
|
46370
|
+
fulfillment: {
|
|
46371
|
+
kind: "staff-handover";
|
|
46372
|
+
} | {
|
|
46373
|
+
kind: "automatic";
|
|
46374
|
+
};
|
|
46375
|
+
};
|
|
46376
|
+
tier: string;
|
|
46377
|
+
} | {
|
|
46378
|
+
kind: "points";
|
|
46379
|
+
balance: string;
|
|
46380
|
+
amount: number;
|
|
46381
|
+
} | {
|
|
46382
|
+
kind: "integration";
|
|
46383
|
+
provider: "discord";
|
|
46384
|
+
action: "grant-role";
|
|
46385
|
+
roleId: string;
|
|
46386
|
+
})[] | null;
|
|
46387
|
+
evaluationRun: number;
|
|
46388
|
+
deferCount: number;
|
|
46389
|
+
deferUntil: number | null;
|
|
46390
|
+
nextEvaluationAt: number | null;
|
|
46391
|
+
code: string | null;
|
|
46392
|
+
progress: {
|
|
46393
|
+
current: number;
|
|
46394
|
+
target: number;
|
|
46395
|
+
reason: string;
|
|
46396
|
+
} | null;
|
|
46397
|
+
requestedReview: boolean;
|
|
46398
|
+
createdAt: number;
|
|
46399
|
+
input?: {
|
|
46400
|
+
kind: "quiz";
|
|
46401
|
+
answers: {
|
|
46402
|
+
[k: string]: string;
|
|
46403
|
+
};
|
|
46404
|
+
release?: string | undefined;
|
|
46405
|
+
} | {
|
|
46406
|
+
kind: "text";
|
|
46407
|
+
value: string;
|
|
46408
|
+
} | {
|
|
46409
|
+
kind: "url";
|
|
46410
|
+
value: string;
|
|
46411
|
+
} | undefined;
|
|
46412
|
+
}[];
|
|
46413
|
+
releases: {
|
|
46414
|
+
quest: string;
|
|
46415
|
+
evaluatorProtocol: 2;
|
|
46416
|
+
title: string;
|
|
46417
|
+
presentation: {
|
|
46418
|
+
quiz?: {
|
|
46419
|
+
id: string;
|
|
46420
|
+
prompt: string;
|
|
46421
|
+
choices: {
|
|
46422
|
+
id: string;
|
|
46423
|
+
label: string;
|
|
46424
|
+
}[];
|
|
46425
|
+
}[] | undefined;
|
|
46426
|
+
instructions?: string | undefined;
|
|
46427
|
+
video?: {
|
|
46428
|
+
url: string;
|
|
46429
|
+
poster?: string | undefined;
|
|
46430
|
+
captions?: {
|
|
46431
|
+
url: string;
|
|
46432
|
+
language: string;
|
|
46433
|
+
label: string;
|
|
46434
|
+
} | undefined;
|
|
46435
|
+
} | undefined;
|
|
46436
|
+
};
|
|
46437
|
+
integrations: ("discord" | "x")[];
|
|
46438
|
+
fields: Record<string, {
|
|
46439
|
+
kind: "point-ledger";
|
|
46440
|
+
default: string;
|
|
46441
|
+
label: string;
|
|
46442
|
+
description?: string | undefined;
|
|
46443
|
+
} | {
|
|
46444
|
+
kind: "datetime";
|
|
46445
|
+
default: string;
|
|
46446
|
+
label: string;
|
|
46447
|
+
description?: string | undefined;
|
|
46448
|
+
} | {
|
|
46449
|
+
kind: "resource";
|
|
46450
|
+
default: string;
|
|
46451
|
+
source: {
|
|
46452
|
+
provider: "domino";
|
|
46453
|
+
resource: "point-ledger";
|
|
46454
|
+
} | {
|
|
46455
|
+
provider: "discord";
|
|
46456
|
+
resource: "channel";
|
|
46457
|
+
types: ("text" | "announcement")[];
|
|
46458
|
+
} | {
|
|
46459
|
+
provider: "discord";
|
|
46460
|
+
resource: "role";
|
|
46461
|
+
assignable: boolean;
|
|
46462
|
+
};
|
|
46463
|
+
label: string;
|
|
46464
|
+
description?: string | undefined;
|
|
46465
|
+
} | {
|
|
46466
|
+
kind: "quiz";
|
|
46467
|
+
default: {
|
|
46468
|
+
id: string;
|
|
46469
|
+
prompt: string;
|
|
46470
|
+
choices: {
|
|
46471
|
+
id: string;
|
|
46472
|
+
label: string;
|
|
46473
|
+
}[];
|
|
46474
|
+
correct: string;
|
|
46475
|
+
}[];
|
|
46476
|
+
label: string;
|
|
46477
|
+
description?: string | undefined;
|
|
46478
|
+
} | {
|
|
46479
|
+
kind: "text";
|
|
46480
|
+
default: string;
|
|
46481
|
+
minLength: number;
|
|
46482
|
+
maxLength: number;
|
|
46483
|
+
multiline: boolean;
|
|
46484
|
+
label: string;
|
|
46485
|
+
description?: string | undefined;
|
|
46486
|
+
} | {
|
|
46487
|
+
kind: "integer";
|
|
46488
|
+
default: number;
|
|
46489
|
+
min: number;
|
|
46490
|
+
max: number;
|
|
46491
|
+
label: string;
|
|
46492
|
+
description?: string | undefined;
|
|
46493
|
+
} | {
|
|
46494
|
+
kind: "boolean";
|
|
46495
|
+
default: boolean;
|
|
46496
|
+
label: string;
|
|
46497
|
+
description?: string | undefined;
|
|
46498
|
+
} | {
|
|
46499
|
+
kind: "choice";
|
|
46500
|
+
default: string;
|
|
46501
|
+
options: string[];
|
|
46502
|
+
label: string;
|
|
46503
|
+
description?: string | undefined;
|
|
46504
|
+
}>;
|
|
46505
|
+
values: Record<string, string | number | boolean | {
|
|
46506
|
+
id: string;
|
|
46507
|
+
prompt: string;
|
|
46508
|
+
choices: {
|
|
46509
|
+
id: string;
|
|
46510
|
+
label: string;
|
|
46511
|
+
}[];
|
|
46512
|
+
correct: string;
|
|
46513
|
+
}[]>;
|
|
46514
|
+
rewards: ({
|
|
46515
|
+
kind: "tier";
|
|
46516
|
+
reward: {
|
|
46517
|
+
id: string;
|
|
46518
|
+
title: string;
|
|
46519
|
+
tiers: {
|
|
46520
|
+
id: string;
|
|
46521
|
+
title: string;
|
|
46522
|
+
}[];
|
|
46523
|
+
inventory: {
|
|
46524
|
+
kind: "untracked";
|
|
46525
|
+
};
|
|
46526
|
+
fulfillment: {
|
|
46527
|
+
kind: "staff-handover";
|
|
46528
|
+
} | {
|
|
46529
|
+
kind: "automatic";
|
|
46530
|
+
};
|
|
46531
|
+
};
|
|
46532
|
+
tier: string;
|
|
46533
|
+
} | {
|
|
46534
|
+
kind: "points";
|
|
46535
|
+
balance: string;
|
|
46536
|
+
amount: number;
|
|
46537
|
+
} | {
|
|
46538
|
+
kind: "integration";
|
|
46539
|
+
provider: "discord";
|
|
46540
|
+
action: "grant-role";
|
|
46541
|
+
roleId: string;
|
|
46542
|
+
})[];
|
|
46543
|
+
humanReview: boolean;
|
|
46544
|
+
trigger: {
|
|
46545
|
+
kind: "manual";
|
|
46546
|
+
input: "text";
|
|
46547
|
+
constraints: {
|
|
46548
|
+
required: boolean;
|
|
46549
|
+
minLength: number;
|
|
46550
|
+
maxLength: number;
|
|
44799
46551
|
};
|
|
44800
|
-
|
|
46552
|
+
actor?: "staff" | "member" | undefined;
|
|
44801
46553
|
} | {
|
|
44802
|
-
kind: "
|
|
44803
|
-
|
|
46554
|
+
kind: "manual";
|
|
46555
|
+
input: "url";
|
|
46556
|
+
constraints: {
|
|
46557
|
+
required: boolean;
|
|
46558
|
+
allowedHosts?: string[] | undefined;
|
|
46559
|
+
};
|
|
46560
|
+
actor?: "staff" | "member" | undefined;
|
|
44804
46561
|
} | {
|
|
44805
|
-
kind: "
|
|
44806
|
-
|
|
46562
|
+
kind: "manual";
|
|
46563
|
+
input: "quiz" | "photo" | "none";
|
|
46564
|
+
actor?: "staff" | "member" | undefined;
|
|
46565
|
+
} | {
|
|
46566
|
+
kind: "automatic";
|
|
46567
|
+
tracker?: {
|
|
46568
|
+
tracker: string;
|
|
46569
|
+
source: string;
|
|
46570
|
+
on: "new-record" | "new-observation" | "data-changed";
|
|
46571
|
+
beneficiary: string;
|
|
46572
|
+
where?: {
|
|
46573
|
+
path: string;
|
|
46574
|
+
gt?: number | {
|
|
46575
|
+
setting: string;
|
|
46576
|
+
} | undefined;
|
|
46577
|
+
gte?: number | {
|
|
46578
|
+
setting: string;
|
|
46579
|
+
} | undefined;
|
|
46580
|
+
lt?: number | {
|
|
46581
|
+
setting: string;
|
|
46582
|
+
} | undefined;
|
|
46583
|
+
lte?: number | {
|
|
46584
|
+
setting: string;
|
|
46585
|
+
} | undefined;
|
|
46586
|
+
} | {
|
|
46587
|
+
path: string;
|
|
46588
|
+
equals: string | number | boolean;
|
|
46589
|
+
} | ({
|
|
46590
|
+
path: string;
|
|
46591
|
+
gt?: number | {
|
|
46592
|
+
setting: string;
|
|
46593
|
+
} | undefined;
|
|
46594
|
+
gte?: number | {
|
|
46595
|
+
setting: string;
|
|
46596
|
+
} | undefined;
|
|
46597
|
+
lt?: number | {
|
|
46598
|
+
setting: string;
|
|
46599
|
+
} | undefined;
|
|
46600
|
+
lte?: number | {
|
|
46601
|
+
setting: string;
|
|
46602
|
+
} | undefined;
|
|
46603
|
+
} | {
|
|
46604
|
+
path: string;
|
|
46605
|
+
equals: string | number | boolean;
|
|
46606
|
+
})[] | undefined;
|
|
46607
|
+
enrollment?: "required" | "none" | undefined;
|
|
46608
|
+
since?: "enrollment" | "activation" | "window" | undefined;
|
|
46609
|
+
historical?: "staff" | "automatic" | "claim" | undefined;
|
|
46610
|
+
content?: true | undefined;
|
|
46611
|
+
} | undefined;
|
|
46612
|
+
};
|
|
46613
|
+
requires: ({
|
|
46614
|
+
kind: "completion";
|
|
46615
|
+
quest: string;
|
|
46616
|
+
scope: "ever";
|
|
46617
|
+
} | {
|
|
46618
|
+
kind: "completion";
|
|
46619
|
+
quest: string;
|
|
46620
|
+
scope: "period";
|
|
46621
|
+
period: "day" | "week" | "month";
|
|
46622
|
+
} | {
|
|
46623
|
+
kind: "balance";
|
|
46624
|
+
balance: string;
|
|
46625
|
+
minimum: number;
|
|
46626
|
+
} | {
|
|
46627
|
+
kind: "group";
|
|
46628
|
+
group: string;
|
|
46629
|
+
title: string;
|
|
46630
|
+
})[];
|
|
46631
|
+
visibility: "visible" | "hidden";
|
|
46632
|
+
profile: {
|
|
46633
|
+
visible: boolean;
|
|
46634
|
+
};
|
|
46635
|
+
budgets: {
|
|
46636
|
+
id: string;
|
|
46637
|
+
scope: "project" | "member";
|
|
46638
|
+
period: "lifetime" | "day" | "week" | "month";
|
|
46639
|
+
limit: number;
|
|
46640
|
+
cost: number | {
|
|
46641
|
+
balance: string;
|
|
46642
|
+
};
|
|
46643
|
+
}[];
|
|
46644
|
+
completion: {
|
|
46645
|
+
kind: "streak";
|
|
46646
|
+
days: number;
|
|
46647
|
+
} | {
|
|
46648
|
+
kind: "progress";
|
|
46649
|
+
goal: {
|
|
46650
|
+
kind: "count";
|
|
46651
|
+
count: number;
|
|
46652
|
+
};
|
|
46653
|
+
window: {
|
|
46654
|
+
kind: "lifetime";
|
|
46655
|
+
} | {
|
|
46656
|
+
kind: "calendar";
|
|
46657
|
+
period: "day" | "week" | "month";
|
|
46658
|
+
latenessMs: number;
|
|
46659
|
+
} | {
|
|
46660
|
+
kind: "rolling";
|
|
46661
|
+
durationMs: number;
|
|
46662
|
+
};
|
|
46663
|
+
repeat: "repeat" | "once";
|
|
46664
|
+
} | {
|
|
46665
|
+
kind: "once";
|
|
46666
|
+
} | {
|
|
46667
|
+
kind: "keyed";
|
|
46668
|
+
};
|
|
46669
|
+
code: string;
|
|
46670
|
+
provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
|
|
46671
|
+
id: string;
|
|
46672
|
+
createdAt: number;
|
|
46673
|
+
lifecycle: "paused" | "archived" | "active";
|
|
46674
|
+
performance?: {
|
|
46675
|
+
metrics: string[];
|
|
46676
|
+
maxAgeMs: number;
|
|
46677
|
+
} | undefined;
|
|
46678
|
+
campaign?: {
|
|
46679
|
+
key: string;
|
|
46680
|
+
title: string;
|
|
46681
|
+
enrollment: "required" | "none";
|
|
46682
|
+
window?: {
|
|
46683
|
+
from: number;
|
|
46684
|
+
until: number;
|
|
46685
|
+
} | undefined;
|
|
46686
|
+
} | undefined;
|
|
46687
|
+
availability?: {
|
|
46688
|
+
from: number;
|
|
46689
|
+
until: number;
|
|
46690
|
+
} | undefined;
|
|
46691
|
+
key?: string | undefined;
|
|
46692
|
+
origin?: {
|
|
46693
|
+
typeVersion: string;
|
|
46694
|
+
} | undefined;
|
|
46695
|
+
configuration?: {
|
|
46696
|
+
defaults: Record<string, string | number | boolean | {
|
|
46697
|
+
id: string;
|
|
46698
|
+
prompt: string;
|
|
46699
|
+
choices: {
|
|
46700
|
+
id: string;
|
|
46701
|
+
label: string;
|
|
46702
|
+
}[];
|
|
46703
|
+
correct: string;
|
|
46704
|
+
}[]>;
|
|
46705
|
+
overrides: Record<string, string | number | boolean | {
|
|
46706
|
+
id: string;
|
|
46707
|
+
prompt: string;
|
|
46708
|
+
choices: {
|
|
46709
|
+
id: string;
|
|
46710
|
+
label: string;
|
|
46711
|
+
}[];
|
|
46712
|
+
correct: string;
|
|
46713
|
+
}[]>;
|
|
46714
|
+
preserved: string[];
|
|
44807
46715
|
} | undefined;
|
|
44808
46716
|
}[];
|
|
44809
|
-
|
|
46717
|
+
people: {
|
|
46718
|
+
id: string;
|
|
46719
|
+
accounts: {
|
|
46720
|
+
kind: "account" | "wallet";
|
|
46721
|
+
provider: string;
|
|
46722
|
+
subject: string;
|
|
46723
|
+
signInEnabled: boolean;
|
|
46724
|
+
profile?: {
|
|
46725
|
+
emailVerified: boolean;
|
|
46726
|
+
name?: string | undefined;
|
|
46727
|
+
username?: string | undefined;
|
|
46728
|
+
email?: string | undefined;
|
|
46729
|
+
imageUrl?: string | undefined;
|
|
46730
|
+
} | undefined;
|
|
46731
|
+
}[];
|
|
46732
|
+
test?: boolean | undefined;
|
|
46733
|
+
name?: string | null | undefined;
|
|
46734
|
+
}[];
|
|
46735
|
+
total: number;
|
|
46736
|
+
nextCursor: string | null;
|
|
46737
|
+
}, unknown>>;
|
|
46738
|
+
managedReleasePageSchema: z.ZodType<{
|
|
46739
|
+
items: {
|
|
44810
46740
|
quest: string;
|
|
44811
46741
|
evaluatorProtocol: 2;
|
|
44812
46742
|
title: string;
|
|
@@ -45110,92 +47040,9 @@ declare const managementResponseSchemas: {
|
|
|
45110
47040
|
preserved: string[];
|
|
45111
47041
|
} | undefined;
|
|
45112
47042
|
}[];
|
|
45113
|
-
people: {
|
|
45114
|
-
id: string;
|
|
45115
|
-
accounts: {
|
|
45116
|
-
kind: "account" | "wallet";
|
|
45117
|
-
provider: string;
|
|
45118
|
-
subject: string;
|
|
45119
|
-
signInEnabled: boolean;
|
|
45120
|
-
profile?: {
|
|
45121
|
-
emailVerified: boolean;
|
|
45122
|
-
name?: string | undefined;
|
|
45123
|
-
username?: string | undefined;
|
|
45124
|
-
email?: string | undefined;
|
|
45125
|
-
imageUrl?: string | undefined;
|
|
45126
|
-
} | undefined;
|
|
45127
|
-
}[];
|
|
45128
|
-
}[];
|
|
45129
|
-
total: number;
|
|
45130
47043
|
nextCursor: string | null;
|
|
45131
47044
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
45132
47045
|
items: {
|
|
45133
|
-
id: string;
|
|
45134
|
-
release: string;
|
|
45135
|
-
quest: string;
|
|
45136
|
-
member: string;
|
|
45137
|
-
evidence: string | null;
|
|
45138
|
-
status: AttemptStatus;
|
|
45139
|
-
reason: string | null;
|
|
45140
|
-
retries: number;
|
|
45141
|
-
generation: number;
|
|
45142
|
-
completion: string | null;
|
|
45143
|
-
reviewRewards: ({
|
|
45144
|
-
kind: "tier";
|
|
45145
|
-
reward: {
|
|
45146
|
-
id: string;
|
|
45147
|
-
title: string;
|
|
45148
|
-
tiers: {
|
|
45149
|
-
id: string;
|
|
45150
|
-
title: string;
|
|
45151
|
-
}[];
|
|
45152
|
-
inventory: {
|
|
45153
|
-
kind: "untracked";
|
|
45154
|
-
};
|
|
45155
|
-
fulfillment: {
|
|
45156
|
-
kind: "staff-handover";
|
|
45157
|
-
} | {
|
|
45158
|
-
kind: "automatic";
|
|
45159
|
-
};
|
|
45160
|
-
};
|
|
45161
|
-
tier: string;
|
|
45162
|
-
} | {
|
|
45163
|
-
kind: "points";
|
|
45164
|
-
balance: string;
|
|
45165
|
-
amount: number;
|
|
45166
|
-
} | {
|
|
45167
|
-
kind: "integration";
|
|
45168
|
-
provider: "discord";
|
|
45169
|
-
action: "grant-role";
|
|
45170
|
-
roleId: string;
|
|
45171
|
-
})[] | null;
|
|
45172
|
-
evaluationRun: number;
|
|
45173
|
-
deferCount: number;
|
|
45174
|
-
deferUntil: number | null;
|
|
45175
|
-
nextEvaluationAt: number | null;
|
|
45176
|
-
code: string | null;
|
|
45177
|
-
progress: {
|
|
45178
|
-
current: number;
|
|
45179
|
-
target: number;
|
|
45180
|
-
reason: string;
|
|
45181
|
-
} | null;
|
|
45182
|
-
requestedReview: boolean;
|
|
45183
|
-
createdAt: number;
|
|
45184
|
-
input?: {
|
|
45185
|
-
kind: "quiz";
|
|
45186
|
-
answers: {
|
|
45187
|
-
[k: string]: string;
|
|
45188
|
-
};
|
|
45189
|
-
release?: string | undefined;
|
|
45190
|
-
} | {
|
|
45191
|
-
kind: "text";
|
|
45192
|
-
value: string;
|
|
45193
|
-
} | {
|
|
45194
|
-
kind: "url";
|
|
45195
|
-
value: string;
|
|
45196
|
-
} | undefined;
|
|
45197
|
-
}[];
|
|
45198
|
-
releases: {
|
|
45199
47046
|
quest: string;
|
|
45200
47047
|
evaluatorProtocol: 2;
|
|
45201
47048
|
title: string;
|
|
@@ -45499,23 +47346,6 @@ declare const managementResponseSchemas: {
|
|
|
45499
47346
|
preserved: string[];
|
|
45500
47347
|
} | undefined;
|
|
45501
47348
|
}[];
|
|
45502
|
-
people: {
|
|
45503
|
-
id: string;
|
|
45504
|
-
accounts: {
|
|
45505
|
-
kind: "account" | "wallet";
|
|
45506
|
-
provider: string;
|
|
45507
|
-
subject: string;
|
|
45508
|
-
signInEnabled: boolean;
|
|
45509
|
-
profile?: {
|
|
45510
|
-
emailVerified: boolean;
|
|
45511
|
-
name?: string | undefined;
|
|
45512
|
-
username?: string | undefined;
|
|
45513
|
-
email?: string | undefined;
|
|
45514
|
-
imageUrl?: string | undefined;
|
|
45515
|
-
} | undefined;
|
|
45516
|
-
}[];
|
|
45517
|
-
}[];
|
|
45518
|
-
total: number;
|
|
45519
47349
|
nextCursor: string | null;
|
|
45520
47350
|
}, unknown>>;
|
|
45521
47351
|
managedAttemptSchema: z.ZodType<{
|
|
@@ -45912,6 +47742,8 @@ declare const managementResponseSchemas: {
|
|
|
45912
47742
|
imageUrl?: string | undefined;
|
|
45913
47743
|
} | undefined;
|
|
45914
47744
|
}[];
|
|
47745
|
+
test?: boolean | undefined;
|
|
47746
|
+
name?: string | null | undefined;
|
|
45915
47747
|
};
|
|
45916
47748
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
45917
47749
|
attempt: {
|
|
@@ -46307,6 +48139,8 @@ declare const managementResponseSchemas: {
|
|
|
46307
48139
|
imageUrl?: string | undefined;
|
|
46308
48140
|
} | undefined;
|
|
46309
48141
|
}[];
|
|
48142
|
+
test?: boolean | undefined;
|
|
48143
|
+
name?: string | null | undefined;
|
|
46310
48144
|
};
|
|
46311
48145
|
}, unknown>>;
|
|
46312
48146
|
managedEntitlementPageSchema: z.ZodType<{
|
|
@@ -46478,6 +48312,8 @@ declare const managementResponseSchemas: {
|
|
|
46478
48312
|
imageUrl?: string | undefined;
|
|
46479
48313
|
} | undefined;
|
|
46480
48314
|
}[];
|
|
48315
|
+
test?: boolean | undefined;
|
|
48316
|
+
name?: string | null | undefined;
|
|
46481
48317
|
}[];
|
|
46482
48318
|
total: number;
|
|
46483
48319
|
nextCursor: string | null;
|
|
@@ -46650,6 +48486,8 @@ declare const managementResponseSchemas: {
|
|
|
46650
48486
|
imageUrl?: string | undefined;
|
|
46651
48487
|
} | undefined;
|
|
46652
48488
|
}[];
|
|
48489
|
+
test?: boolean | undefined;
|
|
48490
|
+
name?: string | null | undefined;
|
|
46653
48491
|
}[];
|
|
46654
48492
|
total: number;
|
|
46655
48493
|
nextCursor: string | null;
|
|
@@ -46823,6 +48661,8 @@ declare const managementResponseSchemas: {
|
|
|
46823
48661
|
imageUrl?: string | undefined;
|
|
46824
48662
|
} | undefined;
|
|
46825
48663
|
}[];
|
|
48664
|
+
test?: boolean | undefined;
|
|
48665
|
+
name?: string | null | undefined;
|
|
46826
48666
|
};
|
|
46827
48667
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
46828
48668
|
entitlement: {
|
|
@@ -46993,6 +48833,8 @@ declare const managementResponseSchemas: {
|
|
|
46993
48833
|
imageUrl?: string | undefined;
|
|
46994
48834
|
} | undefined;
|
|
46995
48835
|
}[];
|
|
48836
|
+
test?: boolean | undefined;
|
|
48837
|
+
name?: string | null | undefined;
|
|
46996
48838
|
};
|
|
46997
48839
|
}, unknown>>;
|
|
46998
48840
|
managedGroupSchema: z.ZodType<{
|
|
@@ -50270,6 +52112,8 @@ declare const managementResponseSchemas: {
|
|
|
50270
52112
|
imageUrl?: string | undefined;
|
|
50271
52113
|
} | undefined;
|
|
50272
52114
|
}[];
|
|
52115
|
+
test?: boolean | undefined;
|
|
52116
|
+
name?: string | null | undefined;
|
|
50273
52117
|
}[];
|
|
50274
52118
|
metrics: {
|
|
50275
52119
|
quests: number;
|
|
@@ -50901,6 +52745,8 @@ declare const managementResponseSchemas: {
|
|
|
50901
52745
|
imageUrl?: string | undefined;
|
|
50902
52746
|
} | undefined;
|
|
50903
52747
|
}[];
|
|
52748
|
+
test?: boolean | undefined;
|
|
52749
|
+
name?: string | null | undefined;
|
|
50904
52750
|
}[];
|
|
50905
52751
|
metrics: {
|
|
50906
52752
|
quests: number;
|
|
@@ -50981,6 +52827,8 @@ declare const managementResponseSchemas: {
|
|
|
50981
52827
|
imageUrl?: string | undefined;
|
|
50982
52828
|
} | undefined;
|
|
50983
52829
|
}[];
|
|
52830
|
+
test?: boolean | undefined;
|
|
52831
|
+
name?: string | null | undefined;
|
|
50984
52832
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
50985
52833
|
id: string;
|
|
50986
52834
|
accounts: {
|
|
@@ -50996,6 +52844,8 @@ declare const managementResponseSchemas: {
|
|
|
50996
52844
|
imageUrl?: string | undefined;
|
|
50997
52845
|
} | undefined;
|
|
50998
52846
|
}[];
|
|
52847
|
+
test?: boolean | undefined;
|
|
52848
|
+
name?: string | null | undefined;
|
|
50999
52849
|
}, unknown>>;
|
|
51000
52850
|
pickupAvailabilitySchema: z.ZodType<{
|
|
51001
52851
|
kind: "untracked";
|
|
@@ -65493,10 +67343,319 @@ declare const managementResponses: {
|
|
|
65493
67343
|
imageUrl?: string | undefined;
|
|
65494
67344
|
} | undefined;
|
|
65495
67345
|
}[];
|
|
67346
|
+
test?: boolean | undefined;
|
|
67347
|
+
name?: string | null | undefined;
|
|
65496
67348
|
}[];
|
|
65497
67349
|
total: number;
|
|
65498
67350
|
nextCursor: string | null;
|
|
65499
67351
|
}>>;
|
|
67352
|
+
managedReleasePageSchema: ResponseSchema<ResponseResult<{
|
|
67353
|
+
items: {
|
|
67354
|
+
quest: string;
|
|
67355
|
+
evaluatorProtocol: 2;
|
|
67356
|
+
title: string;
|
|
67357
|
+
presentation: {
|
|
67358
|
+
quiz?: {
|
|
67359
|
+
id: string;
|
|
67360
|
+
prompt: string;
|
|
67361
|
+
choices: {
|
|
67362
|
+
id: string;
|
|
67363
|
+
label: string;
|
|
67364
|
+
}[];
|
|
67365
|
+
}[] | undefined;
|
|
67366
|
+
instructions?: string | undefined;
|
|
67367
|
+
video?: {
|
|
67368
|
+
url: string;
|
|
67369
|
+
poster?: string | undefined;
|
|
67370
|
+
captions?: {
|
|
67371
|
+
url: string;
|
|
67372
|
+
language: string;
|
|
67373
|
+
label: string;
|
|
67374
|
+
} | undefined;
|
|
67375
|
+
} | undefined;
|
|
67376
|
+
};
|
|
67377
|
+
integrations: ("discord" | "x")[];
|
|
67378
|
+
fields: Record<string, {
|
|
67379
|
+
kind: "point-ledger";
|
|
67380
|
+
default: string;
|
|
67381
|
+
label: string;
|
|
67382
|
+
description?: string | undefined;
|
|
67383
|
+
} | {
|
|
67384
|
+
kind: "datetime";
|
|
67385
|
+
default: string;
|
|
67386
|
+
label: string;
|
|
67387
|
+
description?: string | undefined;
|
|
67388
|
+
} | {
|
|
67389
|
+
kind: "resource";
|
|
67390
|
+
default: string;
|
|
67391
|
+
source: {
|
|
67392
|
+
provider: "domino";
|
|
67393
|
+
resource: "point-ledger";
|
|
67394
|
+
} | {
|
|
67395
|
+
provider: "discord";
|
|
67396
|
+
resource: "channel";
|
|
67397
|
+
types: ("text" | "announcement")[];
|
|
67398
|
+
} | {
|
|
67399
|
+
provider: "discord";
|
|
67400
|
+
resource: "role";
|
|
67401
|
+
assignable: boolean;
|
|
67402
|
+
};
|
|
67403
|
+
label: string;
|
|
67404
|
+
description?: string | undefined;
|
|
67405
|
+
} | {
|
|
67406
|
+
kind: "quiz";
|
|
67407
|
+
default: {
|
|
67408
|
+
id: string;
|
|
67409
|
+
prompt: string;
|
|
67410
|
+
choices: {
|
|
67411
|
+
id: string;
|
|
67412
|
+
label: string;
|
|
67413
|
+
}[];
|
|
67414
|
+
correct: string;
|
|
67415
|
+
}[];
|
|
67416
|
+
label: string;
|
|
67417
|
+
description?: string | undefined;
|
|
67418
|
+
} | {
|
|
67419
|
+
kind: "text";
|
|
67420
|
+
default: string;
|
|
67421
|
+
minLength: number;
|
|
67422
|
+
maxLength: number;
|
|
67423
|
+
multiline: boolean;
|
|
67424
|
+
label: string;
|
|
67425
|
+
description?: string | undefined;
|
|
67426
|
+
} | {
|
|
67427
|
+
kind: "integer";
|
|
67428
|
+
default: number;
|
|
67429
|
+
min: number;
|
|
67430
|
+
max: number;
|
|
67431
|
+
label: string;
|
|
67432
|
+
description?: string | undefined;
|
|
67433
|
+
} | {
|
|
67434
|
+
kind: "boolean";
|
|
67435
|
+
default: boolean;
|
|
67436
|
+
label: string;
|
|
67437
|
+
description?: string | undefined;
|
|
67438
|
+
} | {
|
|
67439
|
+
kind: "choice";
|
|
67440
|
+
default: string;
|
|
67441
|
+
options: string[];
|
|
67442
|
+
label: string;
|
|
67443
|
+
description?: string | undefined;
|
|
67444
|
+
}>;
|
|
67445
|
+
values: Record<string, string | number | boolean | {
|
|
67446
|
+
id: string;
|
|
67447
|
+
prompt: string;
|
|
67448
|
+
choices: {
|
|
67449
|
+
id: string;
|
|
67450
|
+
label: string;
|
|
67451
|
+
}[];
|
|
67452
|
+
correct: string;
|
|
67453
|
+
}[]>;
|
|
67454
|
+
rewards: ({
|
|
67455
|
+
kind: "tier";
|
|
67456
|
+
reward: {
|
|
67457
|
+
id: string;
|
|
67458
|
+
title: string;
|
|
67459
|
+
tiers: {
|
|
67460
|
+
id: string;
|
|
67461
|
+
title: string;
|
|
67462
|
+
}[];
|
|
67463
|
+
inventory: {
|
|
67464
|
+
kind: "untracked";
|
|
67465
|
+
};
|
|
67466
|
+
fulfillment: {
|
|
67467
|
+
kind: "staff-handover";
|
|
67468
|
+
} | {
|
|
67469
|
+
kind: "automatic";
|
|
67470
|
+
};
|
|
67471
|
+
};
|
|
67472
|
+
tier: string;
|
|
67473
|
+
} | {
|
|
67474
|
+
kind: "points";
|
|
67475
|
+
balance: string;
|
|
67476
|
+
amount: number;
|
|
67477
|
+
} | {
|
|
67478
|
+
kind: "integration";
|
|
67479
|
+
provider: "discord";
|
|
67480
|
+
action: "grant-role";
|
|
67481
|
+
roleId: string;
|
|
67482
|
+
})[];
|
|
67483
|
+
humanReview: boolean;
|
|
67484
|
+
trigger: {
|
|
67485
|
+
kind: "manual";
|
|
67486
|
+
input: "text";
|
|
67487
|
+
constraints: {
|
|
67488
|
+
required: boolean;
|
|
67489
|
+
minLength: number;
|
|
67490
|
+
maxLength: number;
|
|
67491
|
+
};
|
|
67492
|
+
actor?: "staff" | "member" | undefined;
|
|
67493
|
+
} | {
|
|
67494
|
+
kind: "manual";
|
|
67495
|
+
input: "url";
|
|
67496
|
+
constraints: {
|
|
67497
|
+
required: boolean;
|
|
67498
|
+
allowedHosts?: string[] | undefined;
|
|
67499
|
+
};
|
|
67500
|
+
actor?: "staff" | "member" | undefined;
|
|
67501
|
+
} | {
|
|
67502
|
+
kind: "manual";
|
|
67503
|
+
input: "quiz" | "photo" | "none";
|
|
67504
|
+
actor?: "staff" | "member" | undefined;
|
|
67505
|
+
} | {
|
|
67506
|
+
kind: "automatic";
|
|
67507
|
+
tracker?: {
|
|
67508
|
+
tracker: string;
|
|
67509
|
+
source: string;
|
|
67510
|
+
on: "new-record" | "new-observation" | "data-changed";
|
|
67511
|
+
beneficiary: string;
|
|
67512
|
+
where?: {
|
|
67513
|
+
path: string;
|
|
67514
|
+
gt?: number | {
|
|
67515
|
+
setting: string;
|
|
67516
|
+
} | undefined;
|
|
67517
|
+
gte?: number | {
|
|
67518
|
+
setting: string;
|
|
67519
|
+
} | undefined;
|
|
67520
|
+
lt?: number | {
|
|
67521
|
+
setting: string;
|
|
67522
|
+
} | undefined;
|
|
67523
|
+
lte?: number | {
|
|
67524
|
+
setting: string;
|
|
67525
|
+
} | undefined;
|
|
67526
|
+
} | {
|
|
67527
|
+
path: string;
|
|
67528
|
+
equals: string | number | boolean;
|
|
67529
|
+
} | ({
|
|
67530
|
+
path: string;
|
|
67531
|
+
gt?: number | {
|
|
67532
|
+
setting: string;
|
|
67533
|
+
} | undefined;
|
|
67534
|
+
gte?: number | {
|
|
67535
|
+
setting: string;
|
|
67536
|
+
} | undefined;
|
|
67537
|
+
lt?: number | {
|
|
67538
|
+
setting: string;
|
|
67539
|
+
} | undefined;
|
|
67540
|
+
lte?: number | {
|
|
67541
|
+
setting: string;
|
|
67542
|
+
} | undefined;
|
|
67543
|
+
} | {
|
|
67544
|
+
path: string;
|
|
67545
|
+
equals: string | number | boolean;
|
|
67546
|
+
})[] | undefined;
|
|
67547
|
+
enrollment?: "required" | "none" | undefined;
|
|
67548
|
+
since?: "enrollment" | "activation" | "window" | undefined;
|
|
67549
|
+
historical?: "staff" | "automatic" | "claim" | undefined;
|
|
67550
|
+
content?: true | undefined;
|
|
67551
|
+
} | undefined;
|
|
67552
|
+
};
|
|
67553
|
+
requires: ({
|
|
67554
|
+
kind: "completion";
|
|
67555
|
+
quest: string;
|
|
67556
|
+
scope: "ever";
|
|
67557
|
+
} | {
|
|
67558
|
+
kind: "completion";
|
|
67559
|
+
quest: string;
|
|
67560
|
+
scope: "period";
|
|
67561
|
+
period: "day" | "week" | "month";
|
|
67562
|
+
} | {
|
|
67563
|
+
kind: "balance";
|
|
67564
|
+
balance: string;
|
|
67565
|
+
minimum: number;
|
|
67566
|
+
} | {
|
|
67567
|
+
kind: "group";
|
|
67568
|
+
group: string;
|
|
67569
|
+
title: string;
|
|
67570
|
+
})[];
|
|
67571
|
+
visibility: "visible" | "hidden";
|
|
67572
|
+
profile: {
|
|
67573
|
+
visible: boolean;
|
|
67574
|
+
};
|
|
67575
|
+
budgets: {
|
|
67576
|
+
id: string;
|
|
67577
|
+
scope: "project" | "member";
|
|
67578
|
+
period: "lifetime" | "day" | "week" | "month";
|
|
67579
|
+
limit: number;
|
|
67580
|
+
cost: number | {
|
|
67581
|
+
balance: string;
|
|
67582
|
+
};
|
|
67583
|
+
}[];
|
|
67584
|
+
completion: {
|
|
67585
|
+
kind: "streak";
|
|
67586
|
+
days: number;
|
|
67587
|
+
} | {
|
|
67588
|
+
kind: "progress";
|
|
67589
|
+
goal: {
|
|
67590
|
+
kind: "count";
|
|
67591
|
+
count: number;
|
|
67592
|
+
};
|
|
67593
|
+
window: {
|
|
67594
|
+
kind: "lifetime";
|
|
67595
|
+
} | {
|
|
67596
|
+
kind: "calendar";
|
|
67597
|
+
period: "day" | "week" | "month";
|
|
67598
|
+
latenessMs: number;
|
|
67599
|
+
} | {
|
|
67600
|
+
kind: "rolling";
|
|
67601
|
+
durationMs: number;
|
|
67602
|
+
};
|
|
67603
|
+
repeat: "repeat" | "once";
|
|
67604
|
+
} | {
|
|
67605
|
+
kind: "once";
|
|
67606
|
+
} | {
|
|
67607
|
+
kind: "keyed";
|
|
67608
|
+
};
|
|
67609
|
+
code: string;
|
|
67610
|
+
provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
|
|
67611
|
+
id: string;
|
|
67612
|
+
createdAt: number;
|
|
67613
|
+
lifecycle: "paused" | "archived" | "active";
|
|
67614
|
+
performance?: {
|
|
67615
|
+
metrics: string[];
|
|
67616
|
+
maxAgeMs: number;
|
|
67617
|
+
} | undefined;
|
|
67618
|
+
campaign?: {
|
|
67619
|
+
key: string;
|
|
67620
|
+
title: string;
|
|
67621
|
+
enrollment: "required" | "none";
|
|
67622
|
+
window?: {
|
|
67623
|
+
from: number;
|
|
67624
|
+
until: number;
|
|
67625
|
+
} | undefined;
|
|
67626
|
+
} | undefined;
|
|
67627
|
+
availability?: {
|
|
67628
|
+
from: number;
|
|
67629
|
+
until: number;
|
|
67630
|
+
} | undefined;
|
|
67631
|
+
key?: string | undefined;
|
|
67632
|
+
origin?: {
|
|
67633
|
+
typeVersion: string;
|
|
67634
|
+
} | undefined;
|
|
67635
|
+
configuration?: {
|
|
67636
|
+
defaults: Record<string, string | number | boolean | {
|
|
67637
|
+
id: string;
|
|
67638
|
+
prompt: string;
|
|
67639
|
+
choices: {
|
|
67640
|
+
id: string;
|
|
67641
|
+
label: string;
|
|
67642
|
+
}[];
|
|
67643
|
+
correct: string;
|
|
67644
|
+
}[]>;
|
|
67645
|
+
overrides: Record<string, string | number | boolean | {
|
|
67646
|
+
id: string;
|
|
67647
|
+
prompt: string;
|
|
67648
|
+
choices: {
|
|
67649
|
+
id: string;
|
|
67650
|
+
label: string;
|
|
67651
|
+
}[];
|
|
67652
|
+
correct: string;
|
|
67653
|
+
}[]>;
|
|
67654
|
+
preserved: string[];
|
|
67655
|
+
} | undefined;
|
|
67656
|
+
}[];
|
|
67657
|
+
nextCursor: string | null;
|
|
67658
|
+
}>>;
|
|
65500
67659
|
managedAttemptSchema: ResponseSchema<ResponseResult<{
|
|
65501
67660
|
attempt: {
|
|
65502
67661
|
id: string;
|
|
@@ -65891,6 +68050,8 @@ declare const managementResponses: {
|
|
|
65891
68050
|
imageUrl?: string | undefined;
|
|
65892
68051
|
} | undefined;
|
|
65893
68052
|
}[];
|
|
68053
|
+
test?: boolean | undefined;
|
|
68054
|
+
name?: string | null | undefined;
|
|
65894
68055
|
};
|
|
65895
68056
|
}>>;
|
|
65896
68057
|
managedEntitlementPageSchema: ResponseSchema<ResponseResult<{
|
|
@@ -66062,6 +68223,8 @@ declare const managementResponses: {
|
|
|
66062
68223
|
imageUrl?: string | undefined;
|
|
66063
68224
|
} | undefined;
|
|
66064
68225
|
}[];
|
|
68226
|
+
test?: boolean | undefined;
|
|
68227
|
+
name?: string | null | undefined;
|
|
66065
68228
|
}[];
|
|
66066
68229
|
total: number;
|
|
66067
68230
|
nextCursor: string | null;
|
|
@@ -66235,6 +68398,8 @@ declare const managementResponses: {
|
|
|
66235
68398
|
imageUrl?: string | undefined;
|
|
66236
68399
|
} | undefined;
|
|
66237
68400
|
}[];
|
|
68401
|
+
test?: boolean | undefined;
|
|
68402
|
+
name?: string | null | undefined;
|
|
66238
68403
|
};
|
|
66239
68404
|
}>>;
|
|
66240
68405
|
managedGroupSchema: ResponseSchema<ResponseResult<{
|
|
@@ -68175,6 +70340,8 @@ declare const managementResponses: {
|
|
|
68175
70340
|
imageUrl?: string | undefined;
|
|
68176
70341
|
} | undefined;
|
|
68177
70342
|
}[];
|
|
70343
|
+
test?: boolean | undefined;
|
|
70344
|
+
name?: string | null | undefined;
|
|
68178
70345
|
}[];
|
|
68179
70346
|
metrics: {
|
|
68180
70347
|
quests: number;
|
|
@@ -68245,6 +70412,8 @@ declare const managementResponses: {
|
|
|
68245
70412
|
imageUrl?: string | undefined;
|
|
68246
70413
|
} | undefined;
|
|
68247
70414
|
}[];
|
|
70415
|
+
test?: boolean | undefined;
|
|
70416
|
+
name?: string | null | undefined;
|
|
68248
70417
|
}>>;
|
|
68249
70418
|
pickupAvailabilitySchema: ResponseSchema<ResponseResult<{
|
|
68250
70419
|
kind: "untracked";
|
|
@@ -70913,4 +73082,4 @@ declare const managementResponses: {
|
|
|
70913
73082
|
}>>;
|
|
70914
73083
|
};
|
|
70915
73084
|
|
|
70916
|
-
export { APP_KV_LIMIT, APP_MIGRATION_FILE_BYTES, APP_MIGRATION_LIMIT, APP_MIGRATION_TOTAL_BYTES, APP_SECRET_LIMIT, APP_SQL_LIMIT, APP_STORAGE_PREVIEW_CHARACTERS, APP_STORAGE_ROW_LIMIT, type Access, type AccessHistoryQuery, type AppSecret, type AppSecretDeclaration, type AppSecretInput, type AppSecretList, type AppStorage, type AppStorageCell, type AppStorageKeys, type AppStorageKind, type AppStorageList, type AppStorageRows, type AppStorageTables, type AppStorageValue, type AuditPage, type AuditQuery, type AuditRecord, type BalanceCheck, type BuildArtifacts, type BuildIdentity, type BuildSnapshot, type BuildStatus, type CompletionRevocation, type CompletionRevocationShortfall, type CompletionRevokeInput, CompletionSourceKind,
|
|
73085
|
+
export { APP_KV_LIMIT, APP_MIGRATION_FILE_BYTES, APP_MIGRATION_LIMIT, APP_MIGRATION_TOTAL_BYTES, APP_SECRET_LIMIT, APP_SQL_LIMIT, APP_STORAGE_PREVIEW_CHARACTERS, APP_STORAGE_ROW_LIMIT, type Access, type AccessHistoryQuery, type AppSecret, type AppSecretDeclaration, type AppSecretInput, type AppSecretList, type AppStorage, type AppStorageCell, type AppStorageKeys, type AppStorageKind, type AppStorageList, type AppStorageRows, type AppStorageTables, type AppStorageValue, type AuditPage, type AuditQuery, type AuditRecord, type BalanceCheck, type BuildArtifacts, type BuildIdentity, type BuildSnapshot, type BuildStatus, type CompletionRevocation, type CompletionRevocationShortfall, type CompletionRevokeInput, CompletionSourceKind, GroupPageQuery, type HostedAppSecrets, type HostedBuild, type HostedDeploymentKey, type HostedKey, type HostedKeyPermission, type HostedManagementEnv, type IdentityLinkRelinkInput, type InventoryItemAction, type InventoryItemRename, type InventoryItemState, type InventoryStockCorrection, type KnownPayoutSourceKind, type LeaderboardSettlementRejection, type LeaderboardSettlementReview, type ListQuery, type ManagedAttempt, type ManagedAttemptPage, type ManagedAttemptQuery, type ManagedEntitlement, type ManagedEntitlementPage, type ManagedEntitlementQuery, type ManagedMemberIdentity, type ManagedMemberPage, type ManagedMemberQuery, type ManagedOAuthAccount, type ManagedQuestEnrollment, type ManagedReleasePage, type ManagedReleaseQuery, type ManagedResource, type ManagedStockItem, type ManagedWallet, ManagementCallOptions, type ManagementClient, type ManagementClientOptions, type ManagementPage, type ManagementRawInit, ManagementStateQuery, type MemberDetail, type MemberIdentityLink, type OperatorUser, type ParticipantSignIn, type ParticipantSignInInput, PayoutSourceKind, type Permission, type Person, type Project, type ProjectMetrics, type QuestEnrollmentState, type QuestEnrollmentWithdrawalInput, type QuestLifecycle, type QuestLifecycleInput, type ResourceArchiveInput, type ResourceLifecycleInput, RevokedDeliveryOutcome, RevokedEntitlementOutcome, RevokedReferralOutcome, type StagedDeployment, type StagedDeploymentContent, type StagingAccess, type StagingAccessInput, type StagingLink, type StarterId, type StarterTemplate, type TestMember, type TestMemberActionInput, type TestMemberAdvanceInput, type TestMemberCreateInput, type TestMemberHistory, type TestMemberHistoryQuery, type TestMemberResetInput, type TestMemberResetResult, WEBHOOK_MAX_BYTES, type WalletBalanceChains, type WebhookDeleteInput, type WebhookEndpointState, type WebhookEvent, accessHistoryQuerySchema, accessSchema, accountProfileSchema, addGroupMemberSchema, appMigrationNameSchema, appRoutingSchema, appSecretDeclarationSchema, appSecretDeclarationsSchema, appSecretInputSchema, appSecretListSchema, appSecretNameSchema, appSecretSchema, appSecretValueSchema, appStorageCellSchema, appStorageKeysSchema, appStorageKindSchema, appStorageListSchema, appStorageRowsSchema, appStorageSchema, appStorageTablesSchema, appStorageValueSchema, assetPathSchema, auditPageSchema, auditQuerySchema, auditRecordSchema, balanceCheckSchema, buildArtifactsSchema, buildIdentitySchema, buildPhaseSchema, buildSnapshotSchema, buildStatusSchema, commitSchema, compareAppMigrations, completionRevocationSchema, completionRevocationShortfallSchema, completionRevokeSchema, createGroupSchema, createManagementClient, createRepositorySchema, deploymentActionSchema, deploymentRejectionSchema, developmentPreflightSchema, deviceApproveSchema, deviceRedeemSchema, deviceStartSchema, entitlementCorrectionSchema, environmentSchema, grantRecordSchema, grantSchema, hostedAppSchema, hostedAppSecretsSchema, hostedBuildSchema, hostedDeploymentKeySchema, hostedKeyPermissions, hostedKeySchema, hostedKeySecretSchema, hostedManagementBindings, hostedManagementClient, identityIntegrationInputSchema, identityLinkRelinkInputSchema, identityLinkSelectorSchema, ingestTrackerScopeSchema, inventoryItemActionSchema, inventoryItemPageSchema, inventoryItemRenameSchema, inventoryItemStateSchema, inventorySchema, inventoryStockCorrectionSchema, issuedTokenSchema, leaderboardSettlementRejectionSchema, leaderboardSettlementReviewPageSchema, leaderboardSettlementReviewQuerySchema, leaderboardSettlementReviewSchema, leaderboardSettlementReviewSummarySchema, managedAttemptPageSchema, managedAttemptQuerySchema, managedAttemptSchema, managedEntitlementPageSchema, managedEntitlementQuerySchema, managedEntitlementSchema, managedMemberIdentitySchema, managedMemberPageSchema, managedMemberQuerySchema, managedOAuthAccountSchema, managedQuestEnrollmentPageSchema, managedQuestEnrollmentSchema, managedReleasePageSchema, managedReleaseQuerySchema, managedResourceSchema, managedStockItemSchema, managedWalletSchema, managementResponseSchemas, managementResponses, memberAccountSchema, memberDetailSchema, memberIdentityChangeInputSchema, memberIdentityLinkPageSchema, memberIdentityLinkSchema, memberLookupSchema, memberOAuthUnlinkInputSchema, memberSchema, memberWalletSignInInputSchema, memberWalletUnlinkInputSchema, metricsSchema, oauthIdentitySelectorSchema, operationInputSchema, operationSchema, operatorUserSchema, pageSchema, participantSignInInputSchema, participantSignInSchema, permissionSchema, personSchema, pointLedgerPropertiesSchema, projectDeletionInputSchema, projectDeletionSchema, projectInputSchema, projectMetricsSchema, projectSchema, projectSetupSchema, projectTransferInputSchema, projectTransferSchema, projectUpdateInputSchema, querySchema, questEnrollmentStateSchema, questEnrollmentWithdrawalInputSchema, questLifecycleInputSchema, questLifecycleSchema, readinessSchema, referralManagementSchema, referralQualificationSchema, referralRewardResolutionSchema, referralSuspensionSchema, removeGroupMemberSchema, repositorySchema, resourceArchiveInputSchema, resourceLifecycleInputSchema, resourceLifecycleKindSchema, resourceLifecyclePaths, resourceLifecycleResultSchema, rolePermissions, roleSchema, stageRequestSchema, stagedDeploymentContentSchema, stagedDeploymentKey, stagedDeploymentLimits, stagedDeploymentSchema, stagingAccessInputSchema, stagingAccessModeSchema, stagingAccessSchema, stagingLinkSchema, stagingPathSchema, starterIdSchema, starterTemplates, stockAdditionSchema, stockInputSchema, teamSchema, testMemberActionSchema, testMemberAdvanceSchema, testMemberCreateSchema, testMemberHistoryQuerySchema, testMemberHistorySchema, testMemberResetResultSchema, testMemberResetSchema, testMemberSchema, tokenInputSchema, tokenSchema, tokenScopeInputSchema, updateGroupSchema, verifiedPassSchema, verifyWebhook, walletBalanceChainsSchema, walletIdentitySelectorSchema, webhookControlInputSchema, webhookDeleteInputSchema, webhookDeliveryPageSchema, webhookDeliverySchema, webhookEndpointSchema, webhookEndpointStateSchema, webhookEventSchema, webhookInputSchema, webhookQuerySchema, webhookSecretSchema, webhookStatePageSchema, webhookStateQuerySchema, webhookUpdateSchema };
|