@crowdedkingdoms/crowdyjs 18.23.1 → 18.24.0-dev.1
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/MIGRATION.md +62 -0
- package/README.md +153 -28
- package/dist/crowdy-client.d.ts +10 -1
- package/dist/crowdy-client.d.ts.map +1 -1
- package/dist/crowdy-client.js +5 -0
- package/dist/default-origin.d.ts +6 -6
- package/dist/default-origin.d.ts.map +1 -1
- package/dist/default-origin.js +6 -6
- package/dist/domains/admin.d.ts +4 -0
- package/dist/domains/admin.d.ts.map +1 -1
- package/dist/domains/admin.js +1 -0
- package/dist/domains/apps.d.ts +43 -3
- package/dist/domains/apps.d.ts.map +1 -1
- package/dist/domains/apps.js +46 -3
- package/dist/domains/auth.d.ts +140 -16
- package/dist/domains/auth.d.ts.map +1 -1
- package/dist/domains/auth.js +153 -16
- package/dist/domains/inputLog.d.ts +4 -1
- package/dist/domains/inputLog.d.ts.map +1 -1
- package/dist/domains/inputLog.js +4 -1
- package/dist/domains/managedPlayers.d.ts +56 -3
- package/dist/domains/managedPlayers.d.ts.map +1 -1
- package/dist/domains/managedPlayers.js +16 -3
- package/dist/domains/moderation.d.ts +53 -0
- package/dist/domains/moderation.d.ts.map +1 -0
- package/dist/domains/moderation.js +68 -0
- package/dist/domains/platform.d.ts +13 -0
- package/dist/domains/platform.d.ts.map +1 -1
- package/dist/domains/platform.js +14 -0
- package/dist/domains/portal.d.ts +86 -8
- package/dist/domains/portal.d.ts.map +1 -1
- package/dist/domains/portal.js +78 -8
- package/dist/domains/safety.d.ts +163 -0
- package/dist/domains/safety.d.ts.map +1 -0
- package/dist/domains/safety.js +167 -0
- package/dist/domains/users.d.ts +9 -1
- package/dist/domains/users.d.ts.map +1 -1
- package/dist/domains/users.js +9 -1
- package/dist/errors.d.ts +135 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +163 -0
- package/dist/generated/graphql-schema.d.ts +522 -14
- package/dist/generated/graphql-schema.d.ts.map +1 -1
- package/dist/generated/graphql-schema.js +64 -0
- package/dist/generated/graphql.d.ts +375 -0
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +24 -3
- package/dist/index.d.ts +12 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -4
- package/dist/live-coding/assets/browser-authoring-index.json +1 -1
- package/dist/live-coding/assets/manifest.json +1 -1
- package/dist/live-coding/browser-authoring-index.generated.d.ts.map +1 -1
- package/dist/live-coding/browser-authoring-index.generated.js +265 -6
- package/package.json +1 -1
|
@@ -33,6 +33,13 @@ export type Scalars = {
|
|
|
33
33
|
output: string;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
|
+
/** A document the player accepted: its id and the version they saw. */
|
|
37
|
+
export type AcceptedDocumentInput = {
|
|
38
|
+
/** The document id, as playerLegalDocuments or appRequiredDocuments name it. */
|
|
39
|
+
documentId: Scalars['String']['input'];
|
|
40
|
+
/** The version the player accepted. */
|
|
41
|
+
version: Scalars['String']['input'];
|
|
42
|
+
};
|
|
36
43
|
/** A platform-wide block on an account, set by a super-admin. While it holds, every sign-in and every authenticated request is refused with ACCOUNT_BLOCKED, on CK and on Crowd Altar, and every session, realtime connection and ck-exec socket the account had was ended when it was set. The last block stays readable after it is lifted or lapses. */
|
|
37
44
|
export type AccountBlock = {
|
|
38
45
|
__typename?: 'AccountBlock';
|
|
@@ -904,6 +911,8 @@ export type App = {
|
|
|
904
911
|
deploymentTarget: Scalars['String']['output'];
|
|
905
912
|
/** Short plain-text description shown in listings; also matched by the marketplace free-text filter. */
|
|
906
913
|
description: Maybe<Scalars['String']['output']>;
|
|
914
|
+
/** The youngest age the app admits now: the higher of minPlayerAge and the platform's minimum (18 until players 13 and over are admitted, then 13). A player's country can require more (territoryPolicies); younger players are refused AGE_REQUIREMENT_NOT_MET at mint. */
|
|
915
|
+
effectiveMinPlayerAge: Scalars['Int']['output'];
|
|
907
916
|
/** Resolved game-api base URL for SDK/runtime calls: the per-tenant URL for dedicated apps, or the shared platform URL for shared apps. Null for legacy or not-yet-deployed apps. */
|
|
908
917
|
gameApiUrl: Maybe<Scalars['String']['output']>;
|
|
909
918
|
/** Player user ids allowed to approve grid claim requests in "approval" mode. When empty, approval falls back to org staff holding manage_compute. */
|
|
@@ -918,18 +927,26 @@ export type App = {
|
|
|
918
927
|
managedPlayerModsEnabled: Scalars['Boolean']['output'];
|
|
919
928
|
/** Opaque JSON-encoded string of marketplace media (cover image URL, screenshots, long description, etc.). Stored internally as JSONB; clients must JSON.parse on read and JSON.stringify on write. Null/"{}" when unset. */
|
|
920
929
|
metadata: Maybe<Scalars['String']['output']>;
|
|
930
|
+
/** The youngest age the app admits, 13 to 18, when it asks more than the platform's minimum; null for the platform's minimum. Set with updateApp (manage_apps). */
|
|
931
|
+
minPlayerAge: Maybe<Scalars['Int']['output']>;
|
|
921
932
|
/** Human-readable display name of the app. */
|
|
922
933
|
name: Scalars['String']['output'];
|
|
923
934
|
/** The organization that owns this app. Null if the owning org cannot be found. */
|
|
924
935
|
org: Maybe<Organization>;
|
|
925
936
|
/** Numeric id of the organization that owns this app. */
|
|
926
937
|
orgId: Scalars['BigInt']['output'];
|
|
938
|
+
/** What the safety log records for this app right now, for the notice and the recording indicator a client shows players. Readable with the app's own app token (app(appId)). */
|
|
939
|
+
recording: AppRecording;
|
|
927
940
|
/** OAuth-style redirect-URI allow-list for the portal handoff. A portal authorization code’s redirect_uri must match one of these by origin; empty disallows browser portal entry to this app. */
|
|
928
941
|
redirectUris: Array<Scalars['String']['output']>;
|
|
929
942
|
/** Whether replay logging is on: the realtime servers record every client message they accept for this app, searchable with inputLogSessions and readable with inputLogMessages, and billed as stored input logs. False (the default) records nothing ("No replication logging"). Set with updateApp (manage_apps); turning it on needs a wallet that covers the projected cost of one retention period, or a billing-exempt org. */
|
|
930
943
|
replayLoggingEnabled: Scalars['Boolean']['output'];
|
|
931
|
-
/** Whether replay logging records the app's voice, webcam video and channel audio messages too
|
|
944
|
+
/** Whether replay logging records the app's voice, webcam video and channel audio messages too: true when either replayLoggingRecordsVoice or replayLoggingRecordsVideo is (the realtime servers record both media while this is true, until they read the two separately). Setting it sets both. Applies only while replayLoggingEnabled is on. Set with updateApp (manage_apps). */
|
|
932
945
|
replayLoggingRecordsMedia: Scalars['Boolean']['output'];
|
|
946
|
+
/** Whether replay logging records the app's webcam video. True by default. Set with updateApp (manage_apps). */
|
|
947
|
+
replayLoggingRecordsVideo: Scalars['Boolean']['output'];
|
|
948
|
+
/** Whether replay logging records the app's voice and channel audio. True by default. Set with updateApp (manage_apps). */
|
|
949
|
+
replayLoggingRecordsVoice: Scalars['Boolean']['output'];
|
|
933
950
|
/**
|
|
934
951
|
* Reserved realtime (UDP) capacity in bytes/s for shared apps. Superseded by reservedUdpBytesPerSec.
|
|
935
952
|
* @deprecated Renamed 2026-09-01 when reservations split by traffic type. Use reservedUdpBytesPerSec; this returns the same value for one release.
|
|
@@ -1151,6 +1168,27 @@ export type AppPlayerUsageRow = {
|
|
|
1151
1168
|
/** The player (grid owner). */
|
|
1152
1169
|
userId: Scalars['BigInt']['output'];
|
|
1153
1170
|
};
|
|
1171
|
+
/** What an app's safety log (replay logging) records now. A client shows players a notice before they speak or appear on camera while voice or video is recorded, and an indicator while it is. */
|
|
1172
|
+
export type AppRecording = {
|
|
1173
|
+
__typename?: 'AppRecording';
|
|
1174
|
+
/** Whether the safety log is on (App.replayLoggingEnabled): the app's client messages are recorded, text chat and direct messages included. */
|
|
1175
|
+
enabled: Scalars['Boolean']['output'];
|
|
1176
|
+
/** Whether webcam video is recorded, by the same rule as voice. */
|
|
1177
|
+
video: Scalars['Boolean']['output'];
|
|
1178
|
+
/** Whether voice and channel audio are recorded. Until every realtime server records voice and video separately (the release that reads replayLoggingRecordsVoice and replayLoggingRecordsVideo), either switch records both media, so this reads true whenever either is on. */
|
|
1179
|
+
voice: Scalars['Boolean']['output'];
|
|
1180
|
+
};
|
|
1181
|
+
/** One document an app requires its players to accept. */
|
|
1182
|
+
export type AppRequiredDocumentInput = {
|
|
1183
|
+
/** 1-64 lower-case letters, digits and hyphens, unique in the app and not one of the platform's own ids (player-terms, game-terms, ...). */
|
|
1184
|
+
documentId: Scalars['String']['input'];
|
|
1185
|
+
/** Title shown to players, 1-200 characters. */
|
|
1186
|
+
title: Scalars['String']['input'];
|
|
1187
|
+
/** https URL where players read the document. */
|
|
1188
|
+
url: Scalars['String']['input'];
|
|
1189
|
+
/** The version players must accept, 1-128 of letters, digits and . _ : + - (a date is usual: rules-2026-11-01). Changing it asks every player of the app again. */
|
|
1190
|
+
version: Scalars['String']['input'];
|
|
1191
|
+
};
|
|
1154
1192
|
/** The app's runtime gate as a player's client may read it. When status is not ACTIVE the app's realtime traffic and hubs are paused: replication delivers nothing and refuses sends with APP_PAUSED, and hub calls are refused. Clients should tell the player the world is paused rather than show an empty one. Readable with the player's own app token; carries no billing figures. */
|
|
1155
1193
|
export type AppRuntimeGate = {
|
|
1156
1194
|
__typename?: 'AppRuntimeGate';
|
|
@@ -2030,6 +2068,52 @@ export declare enum CodeAdmissionSubjectKind {
|
|
|
2030
2068
|
Code = "CODE",
|
|
2031
2069
|
Org = "ORG"
|
|
2032
2070
|
}
|
|
2071
|
+
/** What the player picked for each setting, before policy caps it; null is the default, EVERYONE. */
|
|
2072
|
+
export type CommChoices = {
|
|
2073
|
+
__typename?: 'CommChoices';
|
|
2074
|
+
/** The choice for whose video the player sees. */
|
|
2075
|
+
videoReceive: Maybe<CommScope>;
|
|
2076
|
+
/** The choice for whom the player’s video reaches. */
|
|
2077
|
+
videoSend: Maybe<CommScope>;
|
|
2078
|
+
/** The choice for whose voice the player hears. */
|
|
2079
|
+
voiceReceive: Maybe<CommScope>;
|
|
2080
|
+
/** The choice for whom the player’s voice reaches. */
|
|
2081
|
+
voiceSend: Maybe<CommScope>;
|
|
2082
|
+
};
|
|
2083
|
+
/** Who a medium reaches (send) or is heard from (receive): OFF nobody; CONTACTS only the player’s accepted contacts in the app (myContacts), and on the send side only players who have the sender as a contact too; EVERYONE anyone the app’s own rules allow. */
|
|
2084
|
+
export declare enum CommScope {
|
|
2085
|
+
Contacts = "CONTACTS",
|
|
2086
|
+
Everyone = "EVERYONE",
|
|
2087
|
+
Off = "OFF"
|
|
2088
|
+
}
|
|
2089
|
+
/** A player’s voice and video settings in one app. The four scopes are the EFFECTIVE ones, which the realtime servers enforce on both sending and receiving: the player’s choice, never more than policy allows. An adult may choose anything (EVERYONE by default). For a player under 18 each medium is OFF until a parent consents to it (requestParentalConsent), and then at most CONTACTS. A block always wins: nothing passes between two players while either has blocked the other. */
|
|
2090
|
+
export type CommSettings = {
|
|
2091
|
+
__typename?: 'CommSettings';
|
|
2092
|
+
/** The app. */
|
|
2093
|
+
appId: Scalars['BigInt']['output'];
|
|
2094
|
+
/** What the player picked. */
|
|
2095
|
+
choices: CommChoices;
|
|
2096
|
+
/** Whether the player is under 18 (its age bracket is 13_15 or 16_17): every scope is capped at CONTACTS and each medium needs a parent’s consent. */
|
|
2097
|
+
isMinor: Scalars['Boolean']['output'];
|
|
2098
|
+
/** When the settings were last written; null before the player’s first token for the app. */
|
|
2099
|
+
updatedAt: Maybe<Scalars['DateTime']['output']>;
|
|
2100
|
+
/** The most video may be now, by the same rule as voiceAllowed. */
|
|
2101
|
+
videoAllowed: CommScope;
|
|
2102
|
+
/** Whether a parent has consented to video in this app. */
|
|
2103
|
+
videoConsent: Scalars['Boolean']['output'];
|
|
2104
|
+
/** Whose video the player sees. */
|
|
2105
|
+
videoReceive: CommScope;
|
|
2106
|
+
/** Whom the player’s video reaches. */
|
|
2107
|
+
videoSend: CommScope;
|
|
2108
|
+
/** The most voice may be now: EVERYONE for an adult; for a player under 18, OFF until a parent consents to voice, then CONTACTS. */
|
|
2109
|
+
voiceAllowed: CommScope;
|
|
2110
|
+
/** Whether a parent has consented to voice in this app. */
|
|
2111
|
+
voiceConsent: Scalars['Boolean']['output'];
|
|
2112
|
+
/** Whose voice the player hears. */
|
|
2113
|
+
voiceReceive: CommScope;
|
|
2114
|
+
/** Whom the player’s voice reaches. */
|
|
2115
|
+
voiceSend: CommScope;
|
|
2116
|
+
};
|
|
2033
2117
|
/** The result of completeGamePublish. */
|
|
2034
2118
|
export type CompleteGamePublishResult = {
|
|
2035
2119
|
__typename?: 'CompleteGamePublishResult';
|
|
@@ -2055,6 +2139,26 @@ export type ConnectionPageInfo = {
|
|
|
2055
2139
|
/** Opaque cursor of the first edge in this page. */
|
|
2056
2140
|
startCursor: Maybe<Scalars['String']['output']>;
|
|
2057
2141
|
};
|
|
2142
|
+
/** A contact request waiting for an answer. */
|
|
2143
|
+
export type ContactRequest = {
|
|
2144
|
+
__typename?: 'ContactRequest';
|
|
2145
|
+
/** When it was made. */
|
|
2146
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2147
|
+
/** Who asked whom. */
|
|
2148
|
+
direction: ContactRequestDirection;
|
|
2149
|
+
/** The other player. */
|
|
2150
|
+
userId: Scalars['BigInt']['output'];
|
|
2151
|
+
};
|
|
2152
|
+
/** INCOMING: the other player asked you (acceptContact or removeContact answers it). OUTGOING: you asked them (removeContact cancels it). */
|
|
2153
|
+
export declare enum ContactRequestDirection {
|
|
2154
|
+
Incoming = "INCOMING",
|
|
2155
|
+
Outgoing = "OUTGOING"
|
|
2156
|
+
}
|
|
2157
|
+
/** PENDING: asked and not yet accepted. ACCEPTED: both players are each other’s contacts. */
|
|
2158
|
+
export declare enum ContactState {
|
|
2159
|
+
Accepted = "ACCEPTED",
|
|
2160
|
+
Pending = "PENDING"
|
|
2161
|
+
}
|
|
2058
2162
|
/** Input for creating a new app access tier. */
|
|
2059
2163
|
export type CreateAccessTierInput = {
|
|
2060
2164
|
/** Numeric id of the app the tier belongs to. The caller must hold manage_access_tiers on this app. */
|
|
@@ -3894,6 +3998,21 @@ export type ExecVersion = {
|
|
|
3894
3998
|
types: Scalars['Int']['output'];
|
|
3895
3999
|
version: Scalars['Int']['output'];
|
|
3896
4000
|
};
|
|
4001
|
+
/** A report about another player of the app. */
|
|
4002
|
+
export type FileSafetyReportInput = {
|
|
4003
|
+
/** The app. */
|
|
4004
|
+
appId: Scalars['BigInt']['input'];
|
|
4005
|
+
/** What happened, in the reporter’s words (at most 1,000 characters). */
|
|
4006
|
+
details?: InputMaybe<Scalars['String']['input']>;
|
|
4007
|
+
/** When it happened (within the past year). The report covers both players’ recorded sessions from 15 minutes before this to now. */
|
|
4008
|
+
occurredAt: Scalars['DateTime']['input'];
|
|
4009
|
+
/** Why. */
|
|
4010
|
+
reason: SafetyReportReason;
|
|
4011
|
+
/** The reported player’s actor id, if the client knows it: the 32-character id the realtime wire uses, in hex digits as the SDKs make them. */
|
|
4012
|
+
reportedActorUuid?: InputMaybe<Scalars['String']['input']>;
|
|
4013
|
+
/** The player reported. */
|
|
4014
|
+
reportedUserId: Scalars['BigInt']['input'];
|
|
4015
|
+
};
|
|
3897
4016
|
/** An org's free shared app slot quota usage. */
|
|
3898
4017
|
export type FreeAppQuota = {
|
|
3899
4018
|
__typename?: 'FreeAppQuota';
|
|
@@ -4583,6 +4702,25 @@ export type InviteOrgMemberInput = {
|
|
|
4583
4702
|
/** user_id of the user to add (BigInt as string). */
|
|
4584
4703
|
userId: Scalars['BigInt']['input'];
|
|
4585
4704
|
};
|
|
4705
|
+
/** How a player accepted documents: CLICKWRAP on a Crowded Kingdoms page or an SDK sign-up form, IN_GAME on the app’s own screen (the Minecraft client mod, for example). */
|
|
4706
|
+
export declare enum LegalAcceptanceMethod {
|
|
4707
|
+
Clickwrap = "CLICKWRAP",
|
|
4708
|
+
InGame = "IN_GAME"
|
|
4709
|
+
}
|
|
4710
|
+
/** A document players (or developers) accept: its id, the version currently required, its title and where to read it. appId is set for an app’s own document and null for the platform’s. */
|
|
4711
|
+
export type LegalDocument = {
|
|
4712
|
+
__typename?: 'LegalDocument';
|
|
4713
|
+
/** The app whose own document this is (BigInt as a decimal string); null for a platform document. */
|
|
4714
|
+
appId: Maybe<Scalars['BigInt']['output']>;
|
|
4715
|
+
/** Stable id, such as 'player-terms' or an app's 'rules'. */
|
|
4716
|
+
documentId: Scalars['String']['output'];
|
|
4717
|
+
/** Title to show the player. */
|
|
4718
|
+
title: Scalars['String']['output'];
|
|
4719
|
+
/** https URL where the document can be read. */
|
|
4720
|
+
url: Scalars['String']['output'];
|
|
4721
|
+
/** The version currently required, usually the page’s date. A new version asks every player again at their next mint. */
|
|
4722
|
+
version: Scalars['String']['output'];
|
|
4723
|
+
};
|
|
4586
4724
|
/** A legal hold an operator set on an organization or on one account. While it applies, deleting a managed player it covers is refused with LEGAL_HOLD, a player’s own account deletion closes the account but keeps its content (and preserves its identity) until the hold is released, and no erasure runs. An organization’s hold covers its managed players. A released hold stays readable as the record. */
|
|
4587
4725
|
export type LegalHold = {
|
|
4588
4726
|
__typename?: 'LegalHold';
|
|
@@ -4687,6 +4825,14 @@ export type ManagedPlayersPage = {
|
|
|
4687
4825
|
nextCursor: Maybe<Scalars['String']['output']>;
|
|
4688
4826
|
players: Array<ManagedPlayer>;
|
|
4689
4827
|
};
|
|
4828
|
+
/** A one-time server id for signInWithMinecraft. The Minecraft client joins it through Mojang’s session service (as for any server) as the account signed in to the game, then signs in with it before expiresAt. */
|
|
4829
|
+
export type MinecraftChallenge = {
|
|
4830
|
+
__typename?: 'MinecraftChallenge';
|
|
4831
|
+
/** When the server id stops being accepted. */
|
|
4832
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
4833
|
+
/** 40 hex characters. Pass it unchanged as the serverId of Mojang’s session join, then to signInWithMinecraft. Good once, for one app, for two minutes. */
|
|
4834
|
+
serverId: Scalars['String']['output'];
|
|
4835
|
+
};
|
|
4690
4836
|
/** Input for mintAppToken: directly mint an app-scoped gameplay token for the calling user (native/direct path, no browser redirect). */
|
|
4691
4837
|
export type MintAppTokenInput = {
|
|
4692
4838
|
/** Numeric id of the app to mint a confined gameplay token for. Free/open apps are auto-granted access; paid apps require an existing entitlement (else FORBIDDEN). */
|
|
@@ -4702,8 +4848,12 @@ export type MintGridTokenInput = {
|
|
|
4702
4848
|
ttlSeconds?: InputMaybe<Scalars['Int']['input']>;
|
|
4703
4849
|
};
|
|
4704
4850
|
export type MintManagedPlayerTokenInput = {
|
|
4851
|
+
/** The player's age in whole years, as your organization knows it. Stored as a bracket (under_13, 13_15, 16_17, 18_plus), which hubs read and which sets a minor's defaults; a player under 13, or under the app's or the country's minimum, is refused AGE_REQUIREMENT_NOT_MET before it is created or signed in. Optional while every player is 18 or older under the Org-Managed Players Addendum (omitted, the player counts as 18_plus); required once players 13 and over are admitted (AGE_REQUIRED without it). */
|
|
4852
|
+
ageYears?: InputMaybe<Scalars['Int']['input']>;
|
|
4705
4853
|
/** The app to play: one of the org token's organization's apps. */
|
|
4706
4854
|
appId: Scalars['BigInt']['input'];
|
|
4855
|
+
/** The country the player lives in, ISO 3166-1 alpha-2 (such as US). A country Crowded Kingdoms does not serve is refused TERRITORY_NOT_SUPPORTED, and a country's own minimum age applies. Stored on the player; optional until players 13 and over are admitted, required after. */
|
|
4856
|
+
country?: InputMaybe<Scalars['String']['input']>;
|
|
4707
4857
|
/** The id your organization knows the player by (1-256 characters, no control characters). Use your own stable account id, not an email address. The first sign-in creates the player. */
|
|
4708
4858
|
externalId: Scalars['String']['input'];
|
|
4709
4859
|
/** Display name (at most 64 characters, none of them control, line-break or bidirectional-formatting characters). Set when the player is created; later sign-ins leave it (rename with updateManagedPlayer). */
|
|
@@ -4715,6 +4865,8 @@ export type Mutation = {
|
|
|
4715
4865
|
__typename?: 'Mutation';
|
|
4716
4866
|
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers CONTENT_HOSTING_DISABLED. Host your build on your own origin. Give up a STAGING publish and clear its staged objects. Requires manage_apps and a SESSION token. */
|
|
4717
4867
|
abandonGamePublish: HostedGamePublish;
|
|
4868
|
+
/** Accept another player’s contact request: both become each other’s contacts, and both players’ live sessions learn it within a second. NOT_FOUND when that player has not asked. Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
4869
|
+
acceptContact: PlayerContact;
|
|
4718
4870
|
/** SESSION ONLY, an admin of the organization (its own admin grant: a super admin's or an operator's access does not stand in). Accept the Org-Managed Players Addendum on the organization's behalf, the version orgManagedPlayerSettings names as termsVersion (read it at termsUrl). Until the organization has accepted the current version, its managed players are neither created nor signed in (ORG_LEGAL_ACCEPTANCE_REQUIRED). A version that is not the current one is refused with CONFLICT; accepting the current one again changes nothing. Studio asks for it on the organization's Players tab. */
|
|
4719
4871
|
acceptManagedPlayerTerms: OrgManagedPlayerSettings;
|
|
4720
4872
|
/** Application liveness heartbeat for the authenticated user's existing actor rows in an app. Refreshes actors.updated_at so the user stays host-eligible, then returns the freshly-elected host so a client can fold its poll and heartbeat into one round-trip. This is not proof of a live Buddy session and does not refresh the separate Buddy presence lease used by security-sensitive artifact/compute occupancy gates. */
|
|
@@ -4747,6 +4899,8 @@ export type Mutation = {
|
|
|
4747
4899
|
beginPlayerCardSetup: PlayerCardSetup;
|
|
4748
4900
|
/** ADMIN/DESTRUCTIVE: blocks an account platform-wide. Every session and app token it holds is revoked, its realtime sessions and ck-exec sockets (developer sessions too) end in every datacenter, its mods stop, and every later sign-in and request, on CK and on Crowd Altar, is refused with ACCOUNT_BLOCKED until `until` (or until unblockAccount when absent). Not yourself, not a super-admin. Requires a super-admin bearer game token. */
|
|
4749
4901
|
blockAccount: AccountBlock;
|
|
4902
|
+
/** Block another player of the app: nothing of any kind (voice, video, text, direct messages) passes between the two, either way, enforced by the realtime servers for every session of both within a second, and hubs can ask (players.blocked). It also removes any contact or request between them. The blocked player is not told, and its contact requests to the caller are dropped. Blocking again changes nothing. At most 1,000 blocks per app (SOCIAL_LIMIT_REACHED). NOT_FOUND for a player the app does not know. Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
4903
|
+
blockPlayer: PlayerBlock;
|
|
4750
4904
|
/** DESTRUCTIVE. Cancels an app's paid shared-environment subscription. The app loses its paid shared slot (typically at currentPeriodEnd) and may be denied runtime once the period lapses unless a free slot covers it. Returns the updated subscription. Requires the 'manage_billing' permission on the app's org. */
|
|
4751
4905
|
cancelSharedSubscription: AppSharedSubscription;
|
|
4752
4906
|
/** Captures an approved PayPal order after the hosted checkout redirects back, completes the checkout (wallet credit / access grant), and returns the updated Checkout. PayPal webhooks remain a backup for idempotent reconciliation if they arrive later. Requires an authenticated user who owns the checkout. */
|
|
@@ -4799,7 +4953,7 @@ export type Mutation = {
|
|
|
4799
4953
|
createOrgRole: OrgRole;
|
|
4800
4954
|
/** Mints a new org token (it starts with `cko_`) and returns the plaintext exactly once - save it, since subsequent queries only show metadata. An org token is the organization's SERVER credential for its org-managed players: with scope 'players:mint' its server signs the org's own players in (mintManagedPlayerToken), with 'players:manage' it manages them; `appIds` limits it to some of the org's apps. Never put one in a game client or a web page: a request with an Origin header is refused. Requires the 'manage_tokens' permission on the target org (super admins bypass). */
|
|
4801
4955
|
createOrgToken: OrgTokenWithSecret;
|
|
4802
|
-
/** Creates a new organization and makes the authenticated caller its owner (with full permissions). Requires a valid session token. */
|
|
4956
|
+
/** Creates a new organization and makes the authenticated caller its owner (with full permissions). Requires a valid session token. Once developers accept their own documents (developerLegalDocuments not empty), refused with LEGAL_ACCEPTANCE_REQUIRED until recordDeveloperConsents, and to an account under 18 (AGE_REQUIREMENT_NOT_MET) or with no age (AGE_REQUIRED); administering an organization or app asks the same. */
|
|
4803
4957
|
createOrganization: Organization;
|
|
4804
4958
|
/** Create a one-time, PKCE-bound portal authorization code (browser handoff). The Overworld identity origin (holding the SESSION token) calls this; redirect the player to the destination game carrying the code, which the game exchanges via exchangePortalCode. Requires a SESSION token. */
|
|
4805
4959
|
createPortalAuthorizationCode: PortalAuthorizationCode;
|
|
@@ -4857,9 +5011,9 @@ export type Mutation = {
|
|
|
4857
5011
|
deleteChannelRole: Scalars['Boolean']['output'];
|
|
4858
5012
|
/** Delete a studio-created peer grid so its chunk box no longer blocks overlapping grid creation. Requires app-admin ('manage_apps'). Returns a hybrid response — on success `gridId` is populated and `error` is NO_ERROR; on failure `gridId` is null and `error` is a UDP-style error code (e.g. GRID_NOT_FOUND, CANNOT_DELETE_DEFAULT_WORLD_GRID, GRID_HAS_NESTED_CHILDREN). The open-by-default world grid and any grid that still contains nested child grids cannot be deleted. */
|
|
4859
5013
|
deleteGrid: DeleteGridResponse;
|
|
4860
|
-
/** Delete a managed player, as an account deletion is: its sessions end, its externalId and gamertag are removed, and its player-side content is erased within minutes (Crowdy Studio projects, libraries and agent sessions, mods, actors, avatars and saved state, access grants, grid claims, team and channel memberships). Usage and billing records stay; world edits stay, under the account’s now anonymous id; recorded inputs age out with the input log’s retention. Refused with LEGAL_HOLD while a legal hold covers the player or the organization: disable it instead (updateManagedPlayer), which keeps everything. Signing the same external id in again creates a new player. False when there was no such player. An org token with players:manage, or an org admin with manage_players. */
|
|
5014
|
+
/** Delete a managed player, as an account deletion is: its sessions end, its externalId and gamertag are removed, and its player-side content is erased within minutes (Crowdy Studio projects, libraries and agent sessions, mods, what the app’s ck-exec hubs hold of it, actors, avatars and saved state, access grants, communication settings, contacts and blocks, grid claims, team and channel memberships). Usage and billing records stay; world edits stay, under the account’s now anonymous id; recorded inputs age out with the input log’s retention. Refused with LEGAL_HOLD while a legal hold covers the player or the organization, and an open or escalated safety report about the player sets one first: disable it instead (updateManagedPlayer), which keeps everything. Signing the same external id in again creates a new player. False when there was no such player. An org token with players:manage, or an org admin with manage_players. */
|
|
4861
5015
|
deleteManagedPlayer: Scalars['Boolean']['output'];
|
|
4862
|
-
/** DESTRUCTIVE self-service: deletes the authenticated caller's OWN account. Every session, app token, realtime connection and ck-exec socket ends; the email, password, gamertag and profile state are removed from the account; and its player-side content is erased within minutes: Crowdy Studio projects, libraries and agent sessions, mods, actors, avatars and saved state, access grants, grid claims, and team and channel memberships. Wallet, billing, usage, audit and legal records stay, and so does everything the account owns as a developer (organizations, apps, published games); world edits stay, under the account's now anonymous id; recorded inputs age out with the input log's retention. Acts only on the caller (no target argument). Requires a valid token. */
|
|
5016
|
+
/** DESTRUCTIVE self-service: deletes the authenticated caller's OWN account. Every session, app token, realtime connection and ck-exec socket ends; the email, password, gamertag and profile state are removed from the account; and its player-side content is erased within minutes: Crowdy Studio projects, libraries and agent sessions, mods, what the apps' ck-exec hubs hold of it, actors, avatars and saved state, access grants, communication settings, contacts and blocks, grid claims, and team and channel memberships. An open or escalated safety report about the account puts it under a legal hold first: the account still closes, but its content and identity are kept until the report is resolved. Wallet, billing, usage, audit and legal records stay, and so does everything the account owns as a developer (organizations, apps, published games); world edits stay, under the account's now anonymous id; recorded inputs age out with the input log's retention. Acts only on the caller (no target argument). Requires a valid token. */
|
|
4863
5017
|
deleteMyAccount: Scalars['Boolean']['output'];
|
|
4864
5018
|
/** Deletes an organization role. Requires the 'manage_members' permission on the role's org (super admins bypass). DESTRUCTIVE: removes the role and unassigns it from all members. Returns false if the role does not exist. */
|
|
4865
5019
|
deleteOrgRole: Scalars['Boolean']['output'];
|
|
@@ -4877,7 +5031,9 @@ export type Mutation = {
|
|
|
4877
5031
|
endManagedPlayerSessions: Scalars['Boolean']['output'];
|
|
4878
5032
|
/** OPERATOR: end the sessions and app tokens of these accounts (at most 1000), skipping any this tier admits. Returns how many had sessions ended. Refused on prod. */
|
|
4879
5033
|
endTierAccessSessions: Scalars['Int']['output'];
|
|
4880
|
-
/**
|
|
5034
|
+
/** Record that an open report was submitted to NCMEC's CyberTipline, under the CyberTipline report's id: its preserved copy is kept under COMPLIANCE retention for a year from now (nobody can delete it sooner), and the reported account's legal hold, if any, for as long. Escalating it again under the same id changes nothing; under another id is CONFLICT; a resolved report cannot be escalated (BAD_REQUEST). Requires 'moderate_safety' on the app (an org role, or the org's admins); super admins bypass. Send the identity session to the app's datacenter. */
|
|
5035
|
+
escalateSafetyReport: SafetyReport;
|
|
5036
|
+
/** Exchange an assertion your organization signed for one of its players for that player's app-scoped gameplay token (the same token mintManagedPlayerToken returns). Public: the signature is the credential, so a game client calls it directly, from a browser on your registered origin or natively. The assertion must name a registered, active key (header kid) and carry iss and aud as registered (aud defaults to ck:app:<appId>), sub (your id for the player), iat, exp at most 300 seconds after iat, and a jti never used before for this app; optionally gamertag, and ageYears (the player's age in whole years) and country (ISO 3166-1 alpha-2), which mintManagedPlayerToken describes and which are required once players 13 and over are admitted. The player is created on its first sign-in. Refusals are ASSERTION_REJECTED with extensions.reason; a valid assertion is refused with ORG_LEGAL_ACCEPTANCE_REQUIRED until an admin of the organization has accepted the current Org-Managed Players Addendum, and with TERRITORY_NOT_SUPPORTED, AGE_REQUIRED or AGE_REQUIREMENT_NOT_MET as mintManagedPlayerToken is. */
|
|
4881
5037
|
exchangeManagedPlayerAssertion: AppTokenResponse;
|
|
4882
5038
|
/** Exchange a one-time portal authorization code (with the matching PKCE verifier) for an app-scoped gameplay token. Public (the code + verifier authorize the call); called by the destination game at its own origin so the game never sees the player's session token. */
|
|
4883
5039
|
exchangePortalCode: AppTokenResponse;
|
|
@@ -4925,6 +5081,8 @@ export type Mutation = {
|
|
|
4925
5081
|
execSetEnabled: ExecAppStatus;
|
|
4926
5082
|
/** Trust one author's CLIENT halves on a grid you stand in, at the hash of their union (`authorCapabilityHash`): it covers the author's CLIENT halves there while their union is no wider, and consents to each current one at its own hash. Answers CONFLICT when the hash is not the current one. Requires access to the app. */
|
|
4927
5083
|
execTrustAuthor: Scalars['Boolean']['output'];
|
|
5084
|
+
/** Report another player of the app, with the reporter's app token for the app (game plane: send it to the app's datacenter). The report covers both players' recorded sessions (the app's safety log) from 15 minutes before occurredAt to now, and their copy, both players' identities and the reported player's last-known address are preserved for moderators. The reported player is not told. Errors: NOT_FOUND for a player the app does not know; BAD_USER_INPUT for yourself, an unknown reason, details over 1,000 characters or an occurredAt outside the past year; RATE_LIMITED after 20 reports in an hour. */
|
|
5085
|
+
fileSafetyReport: SafetyReportReceipt;
|
|
4928
5086
|
/** ADMIN/DESTRUCTIVE: revokes ALL of the target user’s sessions by deleting every game_token row, forcing re-authentication on every device. Returns true if at least one session was revoked. Requires a super-admin bearer game token (and the management API enabled). */
|
|
4929
5087
|
forceLogoutUser: Scalars['Boolean']['output'];
|
|
4930
5088
|
/** Operator only (is_operator). Deletes the stored deliverability rows for one address (email_status and email_events) and returns how many rows went. Exists so a verification run is not reading the previous run's events, and so an address suppressed by a bounce that has since been fixed can be given another chance. Returns 0 when there was nothing stored. */
|
|
@@ -4963,17 +5121,23 @@ export type Mutation = {
|
|
|
4963
5121
|
logout: Scalars['Boolean']['output'];
|
|
4964
5122
|
/** Ends every active session for the authenticated user: deletes every session token and every app-scoped gameplay token derived from one, so the user is signed out of the platform and of every game they had entered. Takes effect immediately — a deleted token stops authenticating on its next request rather than at its next refresh. Requires a valid session token. */
|
|
4965
5123
|
logoutAllDevices: Scalars['Boolean']['output'];
|
|
5124
|
+
/** Start a Minecraft sign-in: a one-time server id for the app, good for two minutes. The client mod joins it through Mojang's session service as the account signed in to the game (the request a client makes to join any online-mode server), then calls signInWithMinecraft. Ask for it yourself: never join a server id something else hands you. Open only to Crowded Kingdoms' own apps (FORBIDDEN otherwise; FEATURE_DISABLED on a tier without Minecraft sign-in). Public; rate-limited per address. */
|
|
5125
|
+
minecraftChallenge: MinecraftChallenge;
|
|
4966
5126
|
/** Mint a short-lived, app-scoped gameplay token for the calling user (native/direct path; no browser redirect). Requires an identity SESSION token (app tokens cannot mint). Free/open apps auto-grant access; paid apps require an existing entitlement (else FORBIDDEN). Side effect: may create an app_user_access row on the app's free default tier. */
|
|
4967
5127
|
mintAppToken: AppTokenResponse;
|
|
4968
5128
|
/** Mint a grid-scoped token from the app token you hold (DN-10). The result can call only a short, fixed list of gameplay fields, and each is confined to the grid: world reads and replication sends must address a chunk inside it (a send's origin; its reach follows distance), and channels must be the grid's own. refreshAppToken and logout are refused, so the token cannot widen or tear down its parent. Requires an app token (not a session token, not another grid token), and the caller must own the grid or hold run_client_code on it. */
|
|
4969
5129
|
mintGridToken: GridTokenResponse;
|
|
4970
|
-
/** ORG TOKEN ONLY. Sign one of your organization's own players in and get its app-scoped gameplay token, the same token mintAppToken returns: hand `token` (and the URLs) to the player's device, which plays with it exactly as with any app token and refreshes it with refreshAppToken. Call from your server with `Authorization: Bearer cko_...` (scope players:mint); a request with an Origin header is refused. The player is created on its first sign-in (no email, password or wallet), and each sign-in lasts `sessionTtlSeconds` (default and maximum: the org's settings): after it the device comes back to you. The app must be one of your organization's apps (and in the token's app list, if it has one). Free tiers grant access automatically; a paid tier needs grantAppAccess. Refused with ORG_LEGAL_ACCEPTANCE_REQUIRED until an admin of the organization has accepted the current Org-Managed Players Addendum. */
|
|
5130
|
+
/** ORG TOKEN ONLY. Sign one of your organization's own players in and get its app-scoped gameplay token, the same token mintAppToken returns: hand `token` (and the URLs) to the player's device, which plays with it exactly as with any app token and refreshes it with refreshAppToken. Call from your server with `Authorization: Bearer cko_...` (scope players:mint); a request with an Origin header is refused. The player is created on its first sign-in (no email, password or wallet), and each sign-in lasts `sessionTtlSeconds` (default and maximum: the org's settings): after it the device comes back to you. The app must be one of your organization's apps (and in the token's app list, if it has one). Free tiers grant access automatically; a paid tier needs grantAppAccess. Refused with ORG_LEGAL_ACCEPTANCE_REQUIRED until an admin of the organization has accepted the current Org-Managed Players Addendum. Pass the player's ageYears and country: the player is refused TERRITORY_NOT_SUPPORTED in a country Crowded Kingdoms does not serve, AGE_REQUIREMENT_NOT_MET under 13 or under the app's or the country's minimum age (before it is created), and AGE_REQUIRED without an age once players 13 and over are admitted; its bracket and country are stored on it, and a refresh is refused once its bracket is wholly below the app's minimum. */
|
|
4971
5131
|
mintManagedPlayerToken: AppTokenResponse;
|
|
4972
5132
|
/** Create managed players ahead of their first sign-in, up to 500 a call in one write (creating a player is a cluster-wide commit, so a large import goes in batches). A player that exists is left as it is. Refused with ORG_LEGAL_ACCEPTANCE_REQUIRED until the organization has accepted the current Org-Managed Players Addendum. An org token with players:manage, or an org admin with manage_players. */
|
|
4973
5133
|
provisionManagedPlayers: ProvisionManagedPlayersResult;
|
|
4974
5134
|
/** Publishes an app to the shared game-api environment. Free under the org's app-slot quota (result.free = true); beyond the quota, publish still succeeds and metered usage is charged to the org wallet. Requires the 'manage_apps' permission on the app's org. Blocked when SHARED_GAME_API_URL is not configured. */
|
|
4975
5135
|
publishAppToShared: PublishAppResult;
|
|
4976
|
-
/** Store acceptance of the current
|
|
5136
|
+
/** Store acceptance of the current developer documents (developerLegalDocuments: the API Terms, SDK Developer Terms and Free Tier and Billing Basis). acceptDeveloperTerms must be true; false stores nothing and is refused with LEGAL_ACCEPTANCE_REQUIRED. The developer documents admit adults only: an account with no age is refused AGE_REQUIRED (recordPlayerAge first) and one under 18 AGE_REQUIREMENT_NOT_MET. Idempotent. Requires a session token. */
|
|
5137
|
+
recordDeveloperConsents: Scalars['Boolean']['output'];
|
|
5138
|
+
/** Record the signed-in player's birth date and country, and under 18 that a parent or guardian agreed, for an account whose age is not known yet (me.ageBracket is 'unknown'). Only the year and month are kept. Refused with CONFLICT when the account already has an age, TERRITORY_NOT_SUPPORTED for a country Crowded Kingdoms does not serve (the declared one or the network's), and AGE_REQUIREMENT_NOT_MET under 13, in which case the account keeps the bracket under_13 and the answer cannot be changed by asking again. Whether the player may play a given app (its minimum age, the country's) is decided at the mint. Returns the account; read ageBracket and country. Requires a session token. */
|
|
5139
|
+
recordPlayerAge: User;
|
|
5140
|
+
/** Store acceptance of the platform's current player documents (playerLegalDocuments) and, with appId, of the app's own (appRequiredDocuments), recorded with the app and the method. acceptLegal must be true. attestAgeOfMajority must be true too while the platform still uses the age-of-majority attestation (the player then counts as 18 or older); once players give a birth date instead (recordPlayerAge) it is ignored. A refused call stores nothing (LEGAL_ACCEPTANCE_REQUIRED). Idempotent for a version already stored. Requires a session token. Gameplay tokens stay refused until this has succeeded for the current documents. */
|
|
4977
5141
|
recordPlayerConsents: Scalars['Boolean']['output'];
|
|
4978
5142
|
/** Rotate the calling app token for a fresh one (same app, extended TTL) and revoke the old. Call before the current token expires to keep playing without bouncing back through the Overworld. Allowed for app-scoped tokens; re-checks entitlement. NATIVE CLIENTS: pass `currentServer` (the ip4 + clientPort serverWithLeastClients gave you) and the new token is authorized on that same Buddy -- read `authorizedServer` on the response: when it is set, keep your UDP session and just switch tokens; when it is null, call serverWithLeastClients for a fresh placement. `authorizedServer` is null when the node is gone, draining, Full, on the wrong shard -- or when it is NearCapacity / running hot and a Ready sibling has room: a refresh is the cheapest moment to rebalance a resident, so expect to be moved occasionally under load. Without `currentServer` the new token is not known to any Buddy until you call serverWithLeastClients. */
|
|
4979
5143
|
refreshAppToken: AppTokenResponse;
|
|
@@ -4989,6 +5153,8 @@ export type Mutation = {
|
|
|
4989
5153
|
releaseLegalHold: LegalHold;
|
|
4990
5154
|
/** Remove a member from a channel. Requires the 'manage_members' channel permission, except that any member may remove themselves. Notifies Buddy to stop routing to the removed member. Returns true if a membership was removed. */
|
|
4991
5155
|
removeChannelMember: Scalars['Boolean']['output'];
|
|
5156
|
+
/** Remove a contact, decline the other player’s request, or cancel the caller’s own: everything between the two players in the app goes, both ways. False when there was nothing. Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
5157
|
+
removeContact: Scalars['Boolean']['output'];
|
|
4992
5158
|
/** Removes a user from an organization. Requires the 'manage_members' permission on the org (super admins bypass). DESTRUCTIVE: revokes the user's membership and role assignments in that org. Returns false if the user was not a member. */
|
|
4993
5159
|
removeOrgMember: Scalars['Boolean']['output'];
|
|
4994
5160
|
/** Removes a saved (vaulted) off-session payment method from the org; returns true on success. If it was the method backing auto-billing, recharges will fail until another is set up. Requires the 'manage_billing' org permission. */
|
|
@@ -4997,8 +5163,12 @@ export type Mutation = {
|
|
|
4997
5163
|
removeTeamMember: Scalars['Boolean']['output'];
|
|
4998
5164
|
/** OPERATOR: erase the player-side content of a deleted account, as a deletion does: one deleted before account erasure existed (2026-10-23), or one whose erasure stopped after its retries (its attempts start again). Refused for an account that is not deleted. A legal hold defers it. */
|
|
4999
5165
|
requestAccountErasure: AccountErasure;
|
|
5166
|
+
/** Ask another player of the app to be a contact. If they already asked the caller, both become contacts at once (ACCEPTED); asking again changes nothing. Refused while the caller has blocked them (unblockPlayer first). At most 100 requests may wait at once (SOCIAL_LIMIT_REACHED), and 1,000 contacts per app. NOT_FOUND for a player the app does not know. Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
5167
|
+
requestContact: PlayerContact;
|
|
5000
5168
|
/** Passwordless: email a one-time magic sign-in link to the address (creates the account on first sign-in). Always reports sent=true (no account enumeration). Public; first-party origins only (HOSTED_SIGN_IN_REQUIRED otherwise); rate-limited. */
|
|
5001
5169
|
requestLoginLink: RequestLoginLinkResult;
|
|
5170
|
+
/** For a player under 18: ask a parent, through the consent service (Kids Web Services), to allow one medium (VOICE or VIDEO) in this app. The service emails parentEmail; once the parent consents, the medium opens up to CONTACTS (see myCommSettings). The address goes to the service and is not stored by Crowded Kingdoms. NOT_REQUIRED for a player 18 or over, ALREADY_GRANTED if a parent has consented. Errors: PARENTAL_CONSENT_UNAVAILABLE while the service is not configured on this deployment; RATE_LIMITED after three requests in an hour. Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
5171
|
+
requestParentalConsent: ParentalConsentRequest;
|
|
5002
5172
|
/** Starts the password-reset flow by emailing a reset link to the address. Always returns true regardless of whether the email exists (prevents account enumeration). The reset link is also the ownership-proven way an existing passwordless account adds a password. Public; first-party origins only (HOSTED_SIGN_IN_REQUIRED otherwise); rate-limited. */
|
|
5003
5173
|
requestPasswordReset: Scalars['Boolean']['output'];
|
|
5004
5174
|
/** Request to join a request-only channel (creates a pending membership a manager can approve via addChannelMember). Behaves identically to joinChannel; named for request-policy UIs. */
|
|
@@ -5009,6 +5179,8 @@ export type Mutation = {
|
|
|
5009
5179
|
resendConfirmationEmail: Scalars['Boolean']['output'];
|
|
5010
5180
|
/** Completes a password reset using the reset token and a new password. Returns true on success; throws if the token is invalid or expired. Public (the token authorizes the call); first-party origins only (HOSTED_SIGN_IN_REQUIRED otherwise). EVERY existing session for the account is revoked (and every app token minted from one): a reset is what an owner does after losing control of the account, so whoever held a session loses it. The user signs in again with the new password. */
|
|
5011
5181
|
resetPassword: Scalars['Boolean']['output'];
|
|
5182
|
+
/** Resolve an open report with its outcome: its preserved copy is deleted and the legal hold its reported account got on deletion, if any, is released (a deferred erasure then resumes). Resolving it again changes nothing; an escalated report cannot be resolved (BAD_REQUEST). Requires 'moderate_safety' on the app (an org role, or the org's admins); super admins bypass. Send the identity session to the app's datacenter. */
|
|
5183
|
+
resolveSafetyReport: SafetyReport;
|
|
5012
5184
|
/** Re-apply every player's tier keys that follow onto the app's world grid (today use_video_chat) and rebuild the world grid's permissions. Tier changes (grantAppAccess with a tier, updateAccessTier with permissionKeys) already do this; call it after any change made another way. Requires the 'manage_access_tiers' permission on the app; super admins bypass. */
|
|
5013
5185
|
resyncTierGridPermissions: Scalars['Boolean']['output'];
|
|
5014
5186
|
/** OPERATOR ONLY. Retires an organization: sets organizations.status to 'retired', stamps deleted_at, archives its apps, and writes a tombstone to org_retirements. RETIREMENT IS A STATE, NOT A DELETION — no wallet_transactions, org_billing_waivers, app_shared_usage_charges or other ledger row is altered or removed, so an auditor can still reconstruct exactly what this organization spent, with the same joins as before, indefinitely. There is no purge and no retention window, by decision rather than by omission: org ledger rows are retained forever (operator decision, 2026-08-21), so retirement is only ever a state. A retired organization's remaining wallet balance is FROZEN indefinitely by the same decision — held, not refunded and not forfeited — and the amount is recorded on the tombstone. AFTER RETIREMENT the org's API tokens stop authenticating, its members lose every org permission (super admins excepted, so this is reversible), and it is excluded from the caller's organization list — but it is still readable by id and slug, because a retired org that answers like a missing one is worse than one that says what it is. Refuses unless expectedSlug matches the org named by orgId, and refuses an organization holding money unless acknowledgeFrozenBalance is passed. Reverse it with reinstateOrganization. */
|
|
@@ -5069,6 +5241,8 @@ export type Mutation = {
|
|
|
5069
5241
|
setAppGridClaimPolicy: GridClaimPolicy;
|
|
5070
5242
|
/** Let the organization's org-managed players build and run mods (and use the Studio agent) in this app, or stop them. The organization pays for what they use: their mod compute and egress as its own compute, their project storage as the app's, their model tokens from the org wallet. Turning it off pauses their mods within a minute and refuses new builds. Requires manage_billing on the app's organization. Returns the new setting. */
|
|
5071
5243
|
setAppManagedPlayerMods: Scalars['Boolean']['output'];
|
|
5244
|
+
/** Set the documents the app's players accept before playing, replacing the list: documents not named stop being required, and a new version of one asks every player of the app again at their next mint or refresh (LEGAL_ACCEPTANCE_REQUIRED until they accept it). At most 10; ids may not reuse the platform's. Requires the 'manage_apps' permission on the app; super admins bypass. */
|
|
5245
|
+
setAppRequiredDocuments: Array<LegalDocument>;
|
|
5072
5246
|
/** Reserve capacity for a shared app. A reservation is a FLOOR, not a ceiling: the platform provisions and holds a minimum for you and does not limit what you may use beyond it. Billed monthly from the org wallet whether or not it is used; upgrades are prorated for the current month. Note that the ~1 MB/s free-tier shaping is lifted by funding a wallet, not by reserving. Requires 'manage_billing' on the app's org. */
|
|
5073
5247
|
setAppReservedThroughput: SetAppReservedThroughputResult;
|
|
5074
5248
|
/** Sets per-app hourly/daily spend caps (in cents) and returns the re-evaluated runtime state. Pass null for a limit to clear that cap. Exceeding a cap denies the app's runtime (runtimeDenialReason = spend_cap). Requires the 'manage_billing' permission on the app's org. */
|
|
@@ -5099,6 +5273,8 @@ export type Mutation = {
|
|
|
5099
5273
|
setInitialPassword: Scalars['Boolean']['output'];
|
|
5100
5274
|
/** OPERATOR: put an organization (and its managed players) or one account under a legal hold. While it applies, deleting a managed player it covers is refused with LEGAL_HOLD, a player’s own deletion closes the account but keeps its content and preserves its identity, and no erasure runs. */
|
|
5101
5275
|
setLegalHold: LegalHold;
|
|
5276
|
+
/** Set the caller’s voice and video choices in the app; fields left out keep their choice. The effective scopes are the choices capped by policy, so a player can only lower what it sends and receives; the change reaches its live sessions within a second. Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
5277
|
+
setMyCommSettings: CommSettings;
|
|
5102
5278
|
/** Super-admin only. Flip users.is_operator to grant or revoke control-plane / operator access. */
|
|
5103
5279
|
setOperator: User;
|
|
5104
5280
|
/** OPERATOR ONLY. Sets or clears an organization billing exemption. When true, org-wallet debits and money-driven runtime denials are skipped; usage is still metered and every waived amount is written to org_billing_waivers. Does not waive player-wallet charges, failure breakers, or the per-minute compute budget. reason is required when setting true. SIDE EFFECT: re-evaluates the runtime gate for every shared app in the org, so clearing the exemption re-denies immediately instead of waiting for the next hourly tick. */
|
|
@@ -5123,12 +5299,16 @@ export type Mutation = {
|
|
|
5123
5299
|
setTeamMemberRoles: GroupMember;
|
|
5124
5300
|
/** Set who may create teams in an app and the default membership policy for new teams. Requires app-admin ('manage_apps'). Affects future team creation only, not existing teams. */
|
|
5125
5301
|
setTeamPolicy: AppGroupPolicy;
|
|
5302
|
+
/** OPERATOR ONLY. Block or open a country, or set its minimum age, with the reason on record. Every instance applies it within a minute; players already signed in there are refused at their next refresh. */
|
|
5303
|
+
setTerritoryPolicy: TerritoryPolicy;
|
|
5126
5304
|
/** SUPER ADMIN: set this tier to OBSERVE (log what would be refused) or ENFORCE. Refused on prod, where the gate is always off. */
|
|
5127
5305
|
setTierAccessMode: TierAccessSettings;
|
|
5128
5306
|
/** OPERATOR: grant one account access to this tier regardless of its email (a service account, an unverifiable address), optionally until a date, or clear the grant. Clearing ends its sessions if nothing else admits it. Refused on prod. */
|
|
5129
5307
|
setUserTierAccess: UserTierAccess;
|
|
5130
5308
|
/** Begins vaulting a card for off-session auto-billing. Returns a Stripe SetupIntent client secret the browser confirms; no charge is made here. Requires the 'manage_billing' org permission. */
|
|
5131
5309
|
setupSharedPaymentMethod: PaymentMethodSetup;
|
|
5310
|
+
/** Sign a Minecraft player in to one of Crowded Kingdoms' own apps, as a player its organization manages (no Crowded Kingdoms account): the same app token mintManagedPlayerToken returns, refreshed with refreshAppToken. ck-api asks Mojang whether `username` joined with `serverId` (minecraftChallenge) and admits the player only on a yes; the player is identified by its Minecraft account, not its name. Refusals: MINECRAFT_VERIFICATION_FAILED (extensions.reason: malformed, forged, expired, not_joined, replayed: start again from minecraftChallenge), MINECRAFT_VERIFICATION_UNAVAILABLE (Mojang did not answer; retryable), TERRITORY_NOT_SUPPORTED (the declared country or the network's), AGE_REQUIREMENT_NOT_MET (under 13, or under the app's or the country's minimum age), LEGAL_ACCEPTANCE_REQUIRED (acceptedDocuments misses one in extensions.missingDocuments), and ORG_LEGAL_ACCEPTANCE_REQUIRED for an organization that has not accepted the Org-Managed Players Addendum. The accepted documents are recorded with method IN_GAME. Public; rate-limited per address. */
|
|
5311
|
+
signInWithMinecraft: AppTokenResponse;
|
|
5132
5312
|
/** Complete a federated sign-in from the provider callback (code + state). Returns a session AuthResponse, creating/linking the account by provider identity. Public; first-party origins only (HOSTED_SIGN_IN_REQUIRED otherwise). */
|
|
5133
5313
|
socialLoginComplete: AuthResponse;
|
|
5134
5314
|
/** Begin a federated (social) sign-in: returns an authorizeUrl to redirect the user to and an opaque state to round-trip back to socialLoginComplete. Public; first-party origins only (HOSTED_SIGN_IN_REQUIRED otherwise). */
|
|
@@ -5149,6 +5329,8 @@ export type Mutation = {
|
|
|
5149
5329
|
unbanTeamMember: Scalars['Boolean']['output'];
|
|
5150
5330
|
/** ADMIN: lifts an account block now. Nothing is restored; the account signs in again. The last block stays readable through accountBlock. Requires a super-admin bearer game token. */
|
|
5151
5331
|
unblockAccount: AccountBlock;
|
|
5332
|
+
/** Lift a block the caller set. A contact the block removed does not come back. False when there was no such block. Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
5333
|
+
unblockPlayer: Scalars['Boolean']['output'];
|
|
5152
5334
|
/** Unlink a federated identity from the signed-in account by identityId. Refuses to remove your last remaining sign-in method. Requires a session token. */
|
|
5153
5335
|
unlinkIdentity: Scalars['Boolean']['output'];
|
|
5154
5336
|
/** Lift a user's suspension (suspendAppAccess) before it lapses. A no-op for a user who is not suspended. Requires the 'manage_access_tiers' permission on the app; super admins bypass. */
|
|
@@ -5159,7 +5341,7 @@ export type Mutation = {
|
|
|
5159
5341
|
updateActor: Actor;
|
|
5160
5342
|
/** Replaces an actor’s `publicState` and/or `privateState` blobs (fields omitted from `input` are left unchanged). OWNER-EXCLUSIVE: only the actor’s owner may write (throws Unauthorized otherwise). Game-plane: requires an app token for the actor’s app (a session token or another app’s token is answered NotFound). `uuid` is the 32-character ASCII actor id; blobs are base64-encoded binary. */
|
|
5161
5343
|
updateActorState: Actor;
|
|
5162
|
-
/** Update mutable fields of an existing app (name, description, visibility, status, metadata, wildernessWritesOpen, claimOwnerKeys, replayLoggingEnabled, replayLoggingRecordsMedia); only fields present in the input are changed. Turning replayLoggingEnabled on is refused with INPUT_LOG_FUNDS_NEEDED unless the org's wallet can spend at least the projected cost of keeping one retention period of the app's recent traffic (extensions.requiredMicrousd and spendableMicrousd say how much), or the org is billing-exempt; recordings already kept go on billing after it is turned off, until they age out. Requires the 'manage_apps' permission on the app (resolved via its org); super admins bypass. Use this to publish (status=LIVE), change visibility, or restore an archived app (status back to DRAFT/LIVE). Throws if the app id does not exist. */
|
|
5344
|
+
/** Update mutable fields of an existing app (name, description, visibility, status, metadata, wildernessWritesOpen, claimOwnerKeys, replayLoggingEnabled, replayLoggingRecordsMedia, replayLoggingRecordsVoice, replayLoggingRecordsVideo, minPlayerAge); only fields present in the input are changed. Turning replayLoggingEnabled on is refused with INPUT_LOG_FUNDS_NEEDED unless the org's wallet can spend at least the projected cost of keeping one retention period of the app's recent traffic (extensions.requiredMicrousd and spendableMicrousd say how much), or the org is billing-exempt; recordings already kept go on billing after it is turned off, until they age out. Turning it off is refused with SAFETY_LOG_REQUIRED while the app admits players under 18. Requires the 'manage_apps' permission on the app (resolved via its org); super admins bypass. Use this to publish (status=LIVE), change visibility, or restore an archived app (status back to DRAFT/LIVE). Throws if the app id does not exist. */
|
|
5163
5345
|
updateApp: App;
|
|
5164
5346
|
/** Updates an avatar’s mutable fields (currently `name`) and returns it. OWNER-EXCLUSIVE: only the avatar’s owner may call this (throws Unauthorized otherwise). Requires a valid game token. To change state blobs use `updateAvatarState`. */
|
|
5165
5347
|
updateAvatar: Avatar;
|
|
@@ -5204,6 +5386,10 @@ export type MutationAbandonGamePublishArgs = {
|
|
|
5204
5386
|
publishId: Scalars['BigInt']['input'];
|
|
5205
5387
|
slug: Scalars['String']['input'];
|
|
5206
5388
|
};
|
|
5389
|
+
export type MutationAcceptContactArgs = {
|
|
5390
|
+
appId: Scalars['BigInt']['input'];
|
|
5391
|
+
userId: Scalars['BigInt']['input'];
|
|
5392
|
+
};
|
|
5207
5393
|
export type MutationAcceptManagedPlayerTermsArgs = {
|
|
5208
5394
|
orgId: Scalars['BigInt']['input'];
|
|
5209
5395
|
version: Scalars['String']['input'];
|
|
@@ -5260,6 +5446,10 @@ export type MutationBlockAccountArgs = {
|
|
|
5260
5446
|
until?: InputMaybe<Scalars['DateTime']['input']>;
|
|
5261
5447
|
userId: Scalars['BigInt']['input'];
|
|
5262
5448
|
};
|
|
5449
|
+
export type MutationBlockPlayerArgs = {
|
|
5450
|
+
appId: Scalars['BigInt']['input'];
|
|
5451
|
+
userId: Scalars['BigInt']['input'];
|
|
5452
|
+
};
|
|
5263
5453
|
export type MutationCancelSharedSubscriptionArgs = {
|
|
5264
5454
|
appId: Scalars['BigInt']['input'];
|
|
5265
5455
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5463,6 +5653,11 @@ export type MutationEndManagedPlayerSessionsArgs = {
|
|
|
5463
5653
|
export type MutationEndTierAccessSessionsArgs = {
|
|
5464
5654
|
userIds: Array<Scalars['BigInt']['input']>;
|
|
5465
5655
|
};
|
|
5656
|
+
export type MutationEscalateSafetyReportArgs = {
|
|
5657
|
+
appId: Scalars['BigInt']['input'];
|
|
5658
|
+
ncmecReportId: Scalars['String']['input'];
|
|
5659
|
+
reportId: Scalars['BigInt']['input'];
|
|
5660
|
+
};
|
|
5466
5661
|
export type MutationExchangeManagedPlayerAssertionArgs = {
|
|
5467
5662
|
input: ExchangeManagedPlayerAssertionInput;
|
|
5468
5663
|
};
|
|
@@ -5578,6 +5773,9 @@ export type MutationExecTrustAuthorArgs = {
|
|
|
5578
5773
|
capabilityHash: Scalars['String']['input'];
|
|
5579
5774
|
gridId: Scalars['BigInt']['input'];
|
|
5580
5775
|
};
|
|
5776
|
+
export type MutationFileSafetyReportArgs = {
|
|
5777
|
+
input: FileSafetyReportInput;
|
|
5778
|
+
};
|
|
5581
5779
|
export type MutationForceLogoutUserArgs = {
|
|
5582
5780
|
userId: Scalars['BigInt']['input'];
|
|
5583
5781
|
};
|
|
@@ -5633,6 +5831,9 @@ export type MutationLinkIdentityArgs = {
|
|
|
5633
5831
|
export type MutationLoginArgs = {
|
|
5634
5832
|
loginUserInput: LoginUserInput;
|
|
5635
5833
|
};
|
|
5834
|
+
export type MutationMinecraftChallengeArgs = {
|
|
5835
|
+
appId: Scalars['BigInt']['input'];
|
|
5836
|
+
};
|
|
5636
5837
|
export type MutationMintAppTokenArgs = {
|
|
5637
5838
|
input: MintAppTokenInput;
|
|
5638
5839
|
};
|
|
@@ -5653,9 +5854,17 @@ export type MutationPublishAppToSharedArgs = {
|
|
|
5653
5854
|
provider?: InputMaybe<PaymentProvider>;
|
|
5654
5855
|
successUrl?: InputMaybe<Scalars['String']['input']>;
|
|
5655
5856
|
};
|
|
5857
|
+
export type MutationRecordDeveloperConsentsArgs = {
|
|
5858
|
+
acceptDeveloperTerms: Scalars['Boolean']['input'];
|
|
5859
|
+
};
|
|
5860
|
+
export type MutationRecordPlayerAgeArgs = {
|
|
5861
|
+
input: RecordPlayerAgeInput;
|
|
5862
|
+
};
|
|
5656
5863
|
export type MutationRecordPlayerConsentsArgs = {
|
|
5657
5864
|
acceptLegal: Scalars['Boolean']['input'];
|
|
5658
|
-
|
|
5865
|
+
appId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5866
|
+
attestAgeOfMajority?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5867
|
+
method?: InputMaybe<LegalAcceptanceMethod>;
|
|
5659
5868
|
};
|
|
5660
5869
|
export type MutationRefreshAppTokenArgs = {
|
|
5661
5870
|
currentServer?: InputMaybe<CurrentServerInput>;
|
|
@@ -5680,6 +5889,10 @@ export type MutationRemoveChannelMemberArgs = {
|
|
|
5680
5889
|
groupId: Scalars['BigInt']['input'];
|
|
5681
5890
|
userId: Scalars['BigInt']['input'];
|
|
5682
5891
|
};
|
|
5892
|
+
export type MutationRemoveContactArgs = {
|
|
5893
|
+
appId: Scalars['BigInt']['input'];
|
|
5894
|
+
userId: Scalars['BigInt']['input'];
|
|
5895
|
+
};
|
|
5683
5896
|
export type MutationRemoveOrgMemberArgs = {
|
|
5684
5897
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
5685
5898
|
orgId: Scalars['BigInt']['input'];
|
|
@@ -5697,9 +5910,18 @@ export type MutationRemoveTeamMemberArgs = {
|
|
|
5697
5910
|
export type MutationRequestAccountErasureArgs = {
|
|
5698
5911
|
userId: Scalars['BigInt']['input'];
|
|
5699
5912
|
};
|
|
5913
|
+
export type MutationRequestContactArgs = {
|
|
5914
|
+
appId: Scalars['BigInt']['input'];
|
|
5915
|
+
userId: Scalars['BigInt']['input'];
|
|
5916
|
+
};
|
|
5700
5917
|
export type MutationRequestLoginLinkArgs = {
|
|
5701
5918
|
input: RequestLoginLinkInput;
|
|
5702
5919
|
};
|
|
5920
|
+
export type MutationRequestParentalConsentArgs = {
|
|
5921
|
+
appId: Scalars['BigInt']['input'];
|
|
5922
|
+
feature: ParentalConsentFeature;
|
|
5923
|
+
parentEmail: Scalars['String']['input'];
|
|
5924
|
+
};
|
|
5703
5925
|
export type MutationRequestPasswordResetArgs = {
|
|
5704
5926
|
email: Scalars['String']['input'];
|
|
5705
5927
|
};
|
|
@@ -5715,6 +5937,11 @@ export type MutationResendConfirmationEmailArgs = {
|
|
|
5715
5937
|
export type MutationResetPasswordArgs = {
|
|
5716
5938
|
resetPasswordInput: ResetPasswordInput;
|
|
5717
5939
|
};
|
|
5940
|
+
export type MutationResolveSafetyReportArgs = {
|
|
5941
|
+
appId: Scalars['BigInt']['input'];
|
|
5942
|
+
outcome: Scalars['String']['input'];
|
|
5943
|
+
reportId: Scalars['BigInt']['input'];
|
|
5944
|
+
};
|
|
5718
5945
|
export type MutationResyncTierGridPermissionsArgs = {
|
|
5719
5946
|
appId: Scalars['BigInt']['input'];
|
|
5720
5947
|
};
|
|
@@ -5820,6 +6047,10 @@ export type MutationSetAppManagedPlayerModsArgs = {
|
|
|
5820
6047
|
appId: Scalars['BigInt']['input'];
|
|
5821
6048
|
enabled: Scalars['Boolean']['input'];
|
|
5822
6049
|
};
|
|
6050
|
+
export type MutationSetAppRequiredDocumentsArgs = {
|
|
6051
|
+
appId: Scalars['BigInt']['input'];
|
|
6052
|
+
documents: Array<AppRequiredDocumentInput>;
|
|
6053
|
+
};
|
|
5823
6054
|
export type MutationSetAppReservedThroughputArgs = {
|
|
5824
6055
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
5825
6056
|
input: SetAppReservedThroughputInput;
|
|
@@ -5875,6 +6106,10 @@ export type MutationSetInitialPasswordArgs = {
|
|
|
5875
6106
|
export type MutationSetLegalHoldArgs = {
|
|
5876
6107
|
input: SetLegalHoldInput;
|
|
5877
6108
|
};
|
|
6109
|
+
export type MutationSetMyCommSettingsArgs = {
|
|
6110
|
+
appId: Scalars['BigInt']['input'];
|
|
6111
|
+
input: SetCommSettingsInput;
|
|
6112
|
+
};
|
|
5878
6113
|
export type MutationSetOperatorArgs = {
|
|
5879
6114
|
userId: Scalars['BigInt']['input'];
|
|
5880
6115
|
value: Scalars['Boolean']['input'];
|
|
@@ -5925,6 +6160,9 @@ export type MutationSetTeamMemberRolesArgs = {
|
|
|
5925
6160
|
export type MutationSetTeamPolicyArgs = {
|
|
5926
6161
|
input: SetTeamPolicyInput;
|
|
5927
6162
|
};
|
|
6163
|
+
export type MutationSetTerritoryPolicyArgs = {
|
|
6164
|
+
input: SetTerritoryPolicyInput;
|
|
6165
|
+
};
|
|
5928
6166
|
export type MutationSetTierAccessModeArgs = {
|
|
5929
6167
|
mode: TierAccessStoredMode;
|
|
5930
6168
|
};
|
|
@@ -5937,6 +6175,9 @@ export type MutationSetupSharedPaymentMethodArgs = {
|
|
|
5937
6175
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
5938
6176
|
orgId: Scalars['BigInt']['input'];
|
|
5939
6177
|
};
|
|
6178
|
+
export type MutationSignInWithMinecraftArgs = {
|
|
6179
|
+
input: SignInWithMinecraftInput;
|
|
6180
|
+
};
|
|
5940
6181
|
export type MutationSocialLoginCompleteArgs = {
|
|
5941
6182
|
input: SocialLoginCompleteInput;
|
|
5942
6183
|
};
|
|
@@ -5973,6 +6214,10 @@ export type MutationUnbanTeamMemberArgs = {
|
|
|
5973
6214
|
export type MutationUnblockAccountArgs = {
|
|
5974
6215
|
userId: Scalars['BigInt']['input'];
|
|
5975
6216
|
};
|
|
6217
|
+
export type MutationUnblockPlayerArgs = {
|
|
6218
|
+
appId: Scalars['BigInt']['input'];
|
|
6219
|
+
userId: Scalars['BigInt']['input'];
|
|
6220
|
+
};
|
|
5976
6221
|
export type MutationUnlinkIdentityArgs = {
|
|
5977
6222
|
identityId: Scalars['String']['input'];
|
|
5978
6223
|
};
|
|
@@ -6435,6 +6680,27 @@ export type PageInfo = {
|
|
|
6435
6680
|
offset: Scalars['Int']['output'];
|
|
6436
6681
|
totalCount: Scalars['Int']['output'];
|
|
6437
6682
|
};
|
|
6683
|
+
/** What a parent consents to for a player under 18 in one app: VOICE (voice chat and channel audio) or VIDEO (webcam video). */
|
|
6684
|
+
export declare enum ParentalConsentFeature {
|
|
6685
|
+
Video = "VIDEO",
|
|
6686
|
+
Voice = "VOICE"
|
|
6687
|
+
}
|
|
6688
|
+
/** The answer to requestParentalConsent. */
|
|
6689
|
+
export type ParentalConsentRequest = {
|
|
6690
|
+
__typename?: 'ParentalConsentRequest';
|
|
6691
|
+
/** The app. */
|
|
6692
|
+
appId: Scalars['BigInt']['output'];
|
|
6693
|
+
/** The medium asked for. */
|
|
6694
|
+
feature: ParentalConsentFeature;
|
|
6695
|
+
/** Whether a request went to the parent. */
|
|
6696
|
+
status: ParentalConsentRequestStatus;
|
|
6697
|
+
};
|
|
6698
|
+
/** REQUESTED: the consent service emailed the parent; the medium opens (to contacts) when the parent consents. ALREADY_GRANTED: a parent has consented; nothing was sent. NOT_REQUIRED: the player is 18 or over and needs no consent; nothing was sent. */
|
|
6699
|
+
export declare enum ParentalConsentRequestStatus {
|
|
6700
|
+
AlreadyGranted = "ALREADY_GRANTED",
|
|
6701
|
+
NotRequired = "NOT_REQUIRED",
|
|
6702
|
+
Requested = "REQUESTED"
|
|
6703
|
+
}
|
|
6438
6704
|
/** A single inbound payment-provider webhook event from the reconciliation audit log. */
|
|
6439
6705
|
export type PaymentEventRecord = {
|
|
6440
6706
|
__typename?: 'PaymentEventRecord';
|
|
@@ -6554,6 +6820,14 @@ export type PlayerAutoBilling = {
|
|
|
6554
6820
|
/** The owning player user id. */
|
|
6555
6821
|
userId: Scalars['BigInt']['output'];
|
|
6556
6822
|
};
|
|
6823
|
+
/** A player the caller blocked in the app. Nothing of any kind passes between the two, either way, while the block stands; the blocked player is not told. */
|
|
6824
|
+
export type PlayerBlock = {
|
|
6825
|
+
__typename?: 'PlayerBlock';
|
|
6826
|
+
/** When it was blocked. */
|
|
6827
|
+
createdAt: Scalars['DateTime']['output'];
|
|
6828
|
+
/** The blocked player. */
|
|
6829
|
+
userId: Scalars['BigInt']['output'];
|
|
6830
|
+
};
|
|
6557
6831
|
/** A pending player card-vault (P4b): the Stripe SetupIntent the browser confirms to save a card off-session, enabling wallet auto-recharge and rent auto-renew. On success a setup_intent.succeeded webhook persists the card. */
|
|
6558
6832
|
export type PlayerCardSetup = {
|
|
6559
6833
|
__typename?: 'PlayerCardSetup';
|
|
@@ -6708,6 +6982,32 @@ export type PlayerCodeVersion = {
|
|
|
6708
6982
|
/** Monotonic version number within the listing. */
|
|
6709
6983
|
versionNo: Scalars['Int']['output'];
|
|
6710
6984
|
};
|
|
6985
|
+
/** Another player in the caller’s contacts list for the app. Contacts are mutual: an accepted contact is in both players’ lists, and it is what a CONTACTS scope admits. */
|
|
6986
|
+
export type PlayerContact = {
|
|
6987
|
+
__typename?: 'PlayerContact';
|
|
6988
|
+
/** When it was accepted; null while pending. */
|
|
6989
|
+
acceptedAt: Maybe<Scalars['DateTime']['output']>;
|
|
6990
|
+
/** When the request was made. */
|
|
6991
|
+
createdAt: Scalars['DateTime']['output'];
|
|
6992
|
+
/** PENDING or ACCEPTED (myContacts lists accepted ones only). */
|
|
6993
|
+
state: ContactState;
|
|
6994
|
+
/** The other player (resolve its name with playerProfile). */
|
|
6995
|
+
userId: Scalars['BigInt']['output'];
|
|
6996
|
+
};
|
|
6997
|
+
/** One player's data in one app, for an operator answering a data request. */
|
|
6998
|
+
export type PlayerDataExport = {
|
|
6999
|
+
__typename?: 'PlayerDataExport';
|
|
7000
|
+
/** The app. */
|
|
7001
|
+
appId: Scalars['BigInt']['output'];
|
|
7002
|
+
/** When it was assembled. */
|
|
7003
|
+
exportedAt: Scalars['DateTime']['output'];
|
|
7004
|
+
/** Whether every recorded input still kept is in it (false: the export stopped at 50 sessions or 20,000 inputs). */
|
|
7005
|
+
inputsComplete: Scalars['Boolean']['output'];
|
|
7006
|
+
/** The export, as one JSON document: `identity` (the account row), `platform` (legal acceptances, avatars, the app's grant, actors, app and avatar state, communication settings, contacts, the player's own blocks, parental consents and the reports the player filed), `recordedInputs` (its sessions in the safety log and their inputs) and `hubs` (each ck-exec hub's share, or why there is none). */
|
|
7007
|
+
json: Scalars['String']['output'];
|
|
7008
|
+
/** The player. */
|
|
7009
|
+
userId: Scalars['BigInt']['output'];
|
|
7010
|
+
};
|
|
6711
7011
|
/** A player's public profile: what another player's client may show (a nametag, a friends list). Carries nothing private; for your own account read `me`. */
|
|
6712
7012
|
export type PlayerProfile = {
|
|
6713
7013
|
__typename?: 'PlayerProfile';
|
|
@@ -7012,6 +7312,8 @@ export type Query = {
|
|
|
7012
7312
|
appPlayerMarkupAccruedMicrousd: Scalars['BigInt']['output'];
|
|
7013
7313
|
/** Per-player usage aggregate for an app over a trailing window (top spenders / quota utilization): the compute units each player's mods used, and what the player was charged for this app. automationUnits and compileCount are legacy and always 0 for usage since the legacy engines were removed. Requires 'view_compute_diagnostics'. */
|
|
7014
7314
|
appPlayerUsage: Array<AppPlayerUsageRow>;
|
|
7315
|
+
/** An app's own documents (its rules, an addendum), which its players accept on top of the platform's (recordPlayerConsents with the appId) before their next mint. Empty when the app requires none. Public. */
|
|
7316
|
+
appRequiredDocuments: Array<LegalDocument>;
|
|
7015
7317
|
/** Shared-environment runtime gate decision plus current hour/day billing-window usage for an app. Read this to learn why an app is not running (runtimeDenialReason). Caller must be a member of the app's org. */
|
|
7016
7318
|
appRuntimeState: AppRuntimeState;
|
|
7017
7319
|
/** An app's paid shared-environment subscription, or null when it has none (e.g. unpublished or on the free quota). Caller must be a member of the app's org. */
|
|
@@ -7064,6 +7366,8 @@ export type Query = {
|
|
|
7064
7366
|
checkouts: CheckoutsPage;
|
|
7065
7367
|
/** Cross-tenant payments audit across all users, orgs, and apps (newest first), with optional filtering. Restricted to super admins; requests from non-super-admins are rejected. For a caller's own history use `myCheckoutsConnection` instead. Relay cursor connection; prefer this over the offset-based checkouts. */
|
|
7066
7368
|
checkoutsConnection: CheckoutsConnection;
|
|
7369
|
+
/** Contact requests waiting in the app: INCOMING ones other players sent the caller, then OUTGOING ones it sent, newest first. Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
7370
|
+
contactRequests: Array<ContactRequest>;
|
|
7067
7371
|
/** Operator only. The ledger invariant runs, newest first: whether the sums closed and, when they did not, which check failed and by how much. */
|
|
7068
7372
|
cpBillingInvariantRuns: Array<BillingInvariantRun>;
|
|
7069
7373
|
/** Operator only. Ledger-versus-provider reconciliation, one row per provider per UTC day. */
|
|
@@ -7106,6 +7410,10 @@ export type Query = {
|
|
|
7106
7410
|
crowdyStudioProjects: Array<CrowdyStudioProject>;
|
|
7107
7411
|
/** Read whether the caller has consented to their project source reaching a model provider for this app. The metered model endpoint (POST /v1/model/chat/completions) refuses with AGENT_SCOPE_DENIED until it is recorded. Requires 'use_studio_agent'. */
|
|
7108
7412
|
crowdyStudioProviderConsent: CrowdyStudioProviderConsent;
|
|
7413
|
+
/** Whether the signed-in account has accepted the current developer documents (developerLegalDocuments). False means creating or administering an organization is refused with LEGAL_ACCEPTANCE_REQUIRED until recordDeveloperConsents. Requires a session token. */
|
|
7414
|
+
developerLegalAcceptance: Scalars['Boolean']['output'];
|
|
7415
|
+
/** The documents a developer accepts (recordDeveloperConsents) before creating or administering an organization, at the versions required now; only an account of 18 or older may. Empty while the platform asks developers for nothing beyond the player documents. Public. */
|
|
7416
|
+
developerLegalDocuments: Array<LegalDocument>;
|
|
7109
7417
|
/** Resolves the single most-specific quota that applies to the given (tierId, appId, orgId, metric) by walking tier -> app -> org -> free-tier defaults and returning the first match; its limitValue/period describe the enforced limit. Returns null if no matching rule and no free-tier default exist for the metric. Requires the 'view_usage' permission on the most-specific scope provided: tierId or appId -> 'view_usage' on the (owning) app; orgId -> 'view_usage' on the org. A metric-only query (no scope ids) resolves the platform free-tier default and only requires an authenticated user. */
|
|
7110
7418
|
effectiveQuota: Maybe<ServiceQuota>;
|
|
7111
7419
|
/** Operator only (is_operator). Everything this API knows about whether an address can be emailed: its stored status, whether its domain is suppressed, and the recent SES events for it (the `send` written when the message was handed to SES, and the `delivery` / `bounce` / `complaint` that came back on the SNS webhook). */
|
|
@@ -7146,6 +7454,8 @@ export type Query = {
|
|
|
7146
7454
|
execStarters: ExecStarterPack;
|
|
7147
7455
|
/** An app's deployed ck-exec versions, newest first, and which is active. Requires the org 'view_compute_diagnostics' permission. */
|
|
7148
7456
|
execVersions: Array<ExecVersion>;
|
|
7457
|
+
/** OPERATOR: everything the platform holds about one player in one app, with its recorded inputs (while the safety log keeps them; reading them is audited) and the app's hubs' export from its ck-exec manager. Send the identity session to the app's datacenter. NOT_FOUND for an unknown user. */
|
|
7458
|
+
exportPlayerData: PlayerDataExport;
|
|
7149
7459
|
/** Reports whether a free-play window is active now, a human-readable schedule description, and the ISO-8601 start of the next window. PUBLIC: no authentication required. Takes no arguments; computed from server config and the current clock. */
|
|
7150
7460
|
freePlayWindowInfo: FreePlayWindowInfo;
|
|
7151
7461
|
/** Single startup payload for browser game clients: the authenticated user, server/min-client version requirements, current UDP proxy status, realtime protocol details (subprotocol + subscription name), and the spatial send limits/constants (maxReplicationDistance, maxDecayRate, sequenceNumberModulo). Requires a bearer game token. Read-only: does not open a UDP proxy session. Call this once after login to initialize a play session. */
|
|
@@ -7188,7 +7498,7 @@ export type Query = {
|
|
|
7188
7498
|
hostedGamePublishes: Array<HostedGamePublish>;
|
|
7189
7499
|
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers []. Host your build on your own origin. The LIVE and LISTED hosted third-party games, for the Overworld lobby and the marketplace. PUBLIC. Empty when the tier does not host third-party games. Operators see every game with allHostedGames. */
|
|
7190
7500
|
hostedGames: Array<HostedGame>;
|
|
7191
|
-
/** The recorded inputs of one session, oldest first, each exactly as the client sent it (without its authentication tail). Read from the input log by the offset ranges its index holds, so inputs past the published retention are gone even while the session is still listed. With 'manage_apps' on the app you may read any session; anyone else may read only their own, and any other session answers NOT_FOUND. Game plane: send the app-scoped token for this app to the app's datacenter. Page with `first` (default 50, max 200) and `after`, the previous page's endCursor for this same session (a cursor from another session is BAD_USER_INPUT); a page can hold fewer than `first` inputs, or none, when it stopped at its time or scan limit, so keep paging while hasNextPage is true. An operation may select this field only once. A server runs one read per user (two per app and per org) at a time; a read over that share waits for the earlier one within its own few-second deadline, and a read whose request is closed stops. Errors: INPUT_LOG_UNAVAILABLE when input logging is not configured on this deployment, or this server may not read its log (do not retry); INPUT_LOG_RATE_LIMITED (429) when the wait for an earlier read ran out or left too little time to read, and INPUT_LOG_TEMPORARILY_UNAVAILABLE (503) when the log cannot be read just now, both with extensions.retryable: retry shortly with the same cursor. A read whose request closed stops as INPUT_LOG_READ_ABORTED (499), which nobody receives. */
|
|
7501
|
+
/** The recorded inputs of one session, oldest first, each exactly as the client sent it (without its authentication tail). Read from the input log by the offset ranges its index holds, so inputs past the published retention are gone even while the session is still listed. With 'manage_apps' on the app you may read any session; with 'moderate_safety' (a moderator) only the sessions an open or escalated safety report covers (SafetyReport.sessions); anyone else may read only their own, and any other session answers NOT_FOUND. Every read of another player's session is audited. Game plane: send the app-scoped token for this app to the app's datacenter. Page with `first` (default 50, max 200) and `after`, the previous page's endCursor for this same session (a cursor from another session is BAD_USER_INPUT); a page can hold fewer than `first` inputs, or none, when it stopped at its time or scan limit, so keep paging while hasNextPage is true. An operation may select this field only once. A server runs one read per user (two per app and per org) at a time; a read over that share waits for the earlier one within its own few-second deadline, and a read whose request is closed stops. Errors: INPUT_LOG_UNAVAILABLE when input logging is not configured on this deployment, or this server may not read its log (do not retry); INPUT_LOG_RATE_LIMITED (429) when the wait for an earlier read ran out or left too little time to read, and INPUT_LOG_TEMPORARILY_UNAVAILABLE (503) when the log cannot be read just now, both with extensions.retryable: retry shortly with the same cursor. A read whose request closed stops as INPUT_LOG_READ_ABORTED (499), which nobody receives. */
|
|
7192
7502
|
inputLogMessages: InputLogMessageConnection;
|
|
7193
7503
|
/** Recorded client sessions of an app with replay logging on (App.replayLoggingEnabled), newest first. With 'manage_apps' on the app you see every session and may filter by userId; anyone else sees only their own, and asking for another user's is FORBIDDEN. Game plane: send the app-scoped token for this app to the app's datacenter. Page with `first` (default 50, max 200) and `after`. INPUT_LOG_UNAVAILABLE when input logging is not configured on this deployment. */
|
|
7194
7504
|
inputLogSessions: InputLogSessionConnection;
|
|
@@ -7216,12 +7526,18 @@ export type Query = {
|
|
|
7216
7526
|
myAuthorizedApps: Array<AppAuthorizationGrant>;
|
|
7217
7527
|
/** Lists all avatars owned by the authenticated user, including full `publicState` and `privateState` (the caller is always the owner here). Requires a valid bearer game token; takes no arguments. State blobs are base64-encoded binary. Use `userAvatars` to view another user’s avatars (private state is stripped for non-owners). */
|
|
7218
7528
|
myAvatars: Array<AvatarDto>;
|
|
7529
|
+
/** The players the caller blocked in the app, most recent first (at most 1,000). Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
7530
|
+
myBlocks: Array<PlayerBlock>;
|
|
7219
7531
|
/** The caller's channels in an app, with their roles and effective channel permissions (e.g. whether they hold send_messages). Use this to discover which channels the current user can read/post in. */
|
|
7220
7532
|
myChannels: Array<GroupMembership>;
|
|
7221
7533
|
/** Lists the authenticated caller's own checkouts (newest first), across every org and app. Use this for a self-service payment history; use `checkouts` for the cross-tenant super-admin view. Requires an authenticated user. */
|
|
7222
7534
|
myCheckouts: CheckoutsPage;
|
|
7223
7535
|
/** Lists the authenticated caller's own checkouts (newest first), across every org and app. Use this for a self-service payment history; use `checkoutsConnection` for the cross-tenant super-admin view. Requires an authenticated user. Relay cursor connection; prefer this over the offset-based myCheckouts. */
|
|
7224
7536
|
myCheckoutsConnection: CheckoutsConnection;
|
|
7537
|
+
/** The caller’s voice and video settings in the app: the effective scopes the realtime servers enforce, what the player picked, and what policy allows (a player under 18 needs a parent’s consent per medium and is capped at CONTACTS). Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
7538
|
+
myCommSettings: CommSettings;
|
|
7539
|
+
/** The caller’s accepted contacts in the app, most recent first (at most 1,000). Contacts are mutual, per app, and what a CONTACTS scope admits. Game plane: send the app-scoped token for this app to the app’s datacenter. */
|
|
7540
|
+
myContacts: Array<PlayerContact>;
|
|
7225
7541
|
/**
|
|
7226
7542
|
* Lifetime donation totals for the authenticated user, summed across every app. Requires a valid game token.
|
|
7227
7543
|
* @deprecated Legacy donation/property-token data; these products are no longer purchasable. Retained for historical records.
|
|
@@ -7282,8 +7598,10 @@ export type Query = {
|
|
|
7282
7598
|
platformConfig: PlatformConfig;
|
|
7283
7599
|
/** The caller's player-wallet auto-recharge settings (off-session card top-up before the player gate denies for funds). */
|
|
7284
7600
|
playerAutoBilling: PlayerAutoBilling;
|
|
7285
|
-
/** Whether the signed-in account has stored the current
|
|
7601
|
+
/** Whether the signed-in account has stored the platform's current player documents (playerLegalDocuments) and, with appId, the app's own (appRequiredDocuments); while the platform still asks for it, the age-of-majority attestation or a birth date too. False means createPortalAuthorizationCode and mintAppToken will refuse with LEGAL_ACCEPTANCE_REQUIRED until recordPlayerConsents. Requires a session token. */
|
|
7286
7602
|
playerLegalAcceptance: Scalars['Boolean']['output'];
|
|
7603
|
+
/** The platform's documents every player accepts before playing, at the versions required now. Show them, with an app's own (appRequiredDocuments), before recordPlayerConsents. Public. */
|
|
7604
|
+
playerLegalDocuments: Array<LegalDocument>;
|
|
7287
7605
|
/** A player's public profile (user id, gamertag, disambiguation), for a game client's nametags and lists. Requires a valid game token. Null when there is no such user. */
|
|
7288
7606
|
playerProfile: Maybe<PlayerProfile>;
|
|
7289
7607
|
/** Public profiles (user id, gamertag, disambiguation) for up to 100 user ids in one call, in no particular order; ids with no user are omitted. Requires a valid game token. Use it after batchLookupActors to name everyone in view at once. */
|
|
@@ -7315,6 +7633,8 @@ export type Query = {
|
|
|
7315
7633
|
retiredOrganizations: Array<OrgRetirementType>;
|
|
7316
7634
|
/** Lists all valid runtime permission keys (e.g. "access", "teleport", "update_voxel_data", "use_voice_chat", "use_video_chat") that may be assigned to an access tier permissionKeys. PUBLIC: no authentication required. Ordered by the permission bit index. */
|
|
7317
7635
|
runtimePermissions: Array<Scalars['String']['output']>;
|
|
7636
|
+
/** The app's safety reports, newest first, with open CHILD_SAFETY reports ahead of the rest; only those with the given status if one is given. At most `first` (default 50, at most 200). Requires 'moderate_safety' on the app (an org role, or the org's admins); super admins bypass. Send the identity session to the app's datacenter. */
|
|
7637
|
+
safetyReports: Array<SafetyReport>;
|
|
7318
7638
|
/** Pick a low-load game server for a native (direct-UDP) client to connect to: returns a random server from the least-loaded ~20% (by client count) of ReadyForClients servers to spread load, always CO-LOCATED with the datacenter that holds the data for this app (all rows for one app live in a single datacenter). This REFUSES rather than returning a Buddy elsewhere, because every gameplay write for the session would otherwise cross datacenters — invisible, because each write still succeeds — and the refusal tells you which of three situations you are in. If you reached the wrong datacenter (the shared entry name resolves to all of them, so this is the common case for a client that has not re-discovered) it is WRONG_DATACENTER, carrying gameApiUrl and gameApiWsUrl in extensions: reconnect there and retry, which the CrowdyJS and CrowdyCPP clients do for you. If the app’s own datacenter is not serving at all it is APP_UNAVAILABLE, deliberately with no endpoint. Only when this IS the app’s datacenter and it has no healthy co-located Buddy is it NO_LOCAL_BUDDY — also with no endpoint, because there is nowhere else to go; that one needs an operator. Requires a bearer game token; as a side effect it authorizes that token’s P2P session with the chosen Buddy so the native client’s spatial datagrams are accepted. Connect the native client to the returned ip4 and clientPort. Browser clients should instead use the UDP proxy (connectUdpProxy / udpNotifications) and do not need this. */
|
|
7319
7639
|
serverWithLeastClients: ServerStatus;
|
|
7320
7640
|
/** @deprecated Legacy monthly app-slot subscription catalog. New shared publishes use wallet usage billing only. */
|
|
@@ -7329,6 +7649,8 @@ export type Query = {
|
|
|
7329
7649
|
teamRoles: Array<GroupRole>;
|
|
7330
7650
|
/** List all active teams in an app (not just the caller's). */
|
|
7331
7651
|
teams: Array<Group>;
|
|
7652
|
+
/** The countries Crowded Kingdoms lists, by code: those it does not serve ('blocked': sign-up and play refused with TERRITORY_NOT_SUPPORTED, by the country a player gives or connects from) and those with a minimum age above 13. A country not listed is open at the platform's minimum. Public, so a sign-up form can say so before an account exists. */
|
|
7653
|
+
territoryPolicies: Array<TerritoryPolicy>;
|
|
7332
7654
|
/** OPERATOR: who on this tier would be refused -- counts, a page of refused accounts with what they hold, and organizations with no admitted member. Reads every account; for review, not for polling. Refused on prod. */
|
|
7333
7655
|
tierAccessInventory: TierAccessInventory;
|
|
7334
7656
|
/** Whether this tier is an internal environment (dev and test are: Crowded Kingdoms staff, approved contractors and test harnesses only), with a sentence for sign-in pages and the production Studio address. Public. */
|
|
@@ -7451,6 +7773,9 @@ export type QueryAppPlayerUsageArgs = {
|
|
|
7451
7773
|
appId: Scalars['BigInt']['input'];
|
|
7452
7774
|
hours?: InputMaybe<Scalars['Int']['input']>;
|
|
7453
7775
|
};
|
|
7776
|
+
export type QueryAppRequiredDocumentsArgs = {
|
|
7777
|
+
appId: Scalars['BigInt']['input'];
|
|
7778
|
+
};
|
|
7454
7779
|
export type QueryAppRuntimeStateArgs = {
|
|
7455
7780
|
appId: Scalars['BigInt']['input'];
|
|
7456
7781
|
};
|
|
@@ -7546,6 +7871,9 @@ export type QueryCheckoutsConnectionArgs = {
|
|
|
7546
7871
|
filter?: InputMaybe<CheckoutFilterInput>;
|
|
7547
7872
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7548
7873
|
};
|
|
7874
|
+
export type QueryContactRequestsArgs = {
|
|
7875
|
+
appId: Scalars['BigInt']['input'];
|
|
7876
|
+
};
|
|
7549
7877
|
export type QueryCpBillingInvariantRunsArgs = {
|
|
7550
7878
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
7551
7879
|
};
|
|
@@ -7697,6 +8025,10 @@ export type QueryExecStartersArgs = {
|
|
|
7697
8025
|
export type QueryExecVersionsArgs = {
|
|
7698
8026
|
appId: Scalars['BigInt']['input'];
|
|
7699
8027
|
};
|
|
8028
|
+
export type QueryExportPlayerDataArgs = {
|
|
8029
|
+
appId: Scalars['BigInt']['input'];
|
|
8030
|
+
userId: Scalars['BigInt']['input'];
|
|
8031
|
+
};
|
|
7700
8032
|
export type QueryGameClientBootstrapArgs = {
|
|
7701
8033
|
appId: Scalars['BigInt']['input'];
|
|
7702
8034
|
};
|
|
@@ -7804,6 +8136,9 @@ export type QueryMeteredRateCardArgs = {
|
|
|
7804
8136
|
export type QueryMyAppAccessArgs = {
|
|
7805
8137
|
appId: Scalars['BigInt']['input'];
|
|
7806
8138
|
};
|
|
8139
|
+
export type QueryMyBlocksArgs = {
|
|
8140
|
+
appId: Scalars['BigInt']['input'];
|
|
8141
|
+
};
|
|
7807
8142
|
export type QueryMyChannelsArgs = {
|
|
7808
8143
|
appId: Scalars['BigInt']['input'];
|
|
7809
8144
|
};
|
|
@@ -7815,6 +8150,12 @@ export type QueryMyCheckoutsConnectionArgs = {
|
|
|
7815
8150
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
7816
8151
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7817
8152
|
};
|
|
8153
|
+
export type QueryMyCommSettingsArgs = {
|
|
8154
|
+
appId: Scalars['BigInt']['input'];
|
|
8155
|
+
};
|
|
8156
|
+
export type QueryMyContactsArgs = {
|
|
8157
|
+
appId: Scalars['BigInt']['input'];
|
|
8158
|
+
};
|
|
7818
8159
|
export type QueryMyTeamsArgs = {
|
|
7819
8160
|
appId: Scalars['BigInt']['input'];
|
|
7820
8161
|
};
|
|
@@ -7869,6 +8210,9 @@ export type QueryPaymentEventsConnectionArgs = {
|
|
|
7869
8210
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
7870
8211
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7871
8212
|
};
|
|
8213
|
+
export type QueryPlayerLegalAcceptanceArgs = {
|
|
8214
|
+
appId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8215
|
+
};
|
|
7872
8216
|
export type QueryPlayerProfileArgs = {
|
|
7873
8217
|
userId: Scalars['BigInt']['input'];
|
|
7874
8218
|
};
|
|
@@ -7898,6 +8242,11 @@ export type QueryQuotasForAppArgs = {
|
|
|
7898
8242
|
export type QueryQuotasForOrgArgs = {
|
|
7899
8243
|
orgId: Scalars['BigInt']['input'];
|
|
7900
8244
|
};
|
|
8245
|
+
export type QuerySafetyReportsArgs = {
|
|
8246
|
+
appId: Scalars['BigInt']['input'];
|
|
8247
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
8248
|
+
status?: InputMaybe<SafetyReportStatus>;
|
|
8249
|
+
};
|
|
7901
8250
|
export type QueryTeamArgs = {
|
|
7902
8251
|
groupId: Scalars['BigInt']['input'];
|
|
7903
8252
|
};
|
|
@@ -8064,6 +8413,15 @@ export type RealtimeConnectionEvent = {
|
|
|
8064
8413
|
/** Lifecycle status: "failed" when the session could not be established or had to be torn down, or "draining" for the one advisory case (SERVER_DRAINING) where the stream stays open. */
|
|
8065
8414
|
status: Scalars['String']['output'];
|
|
8066
8415
|
};
|
|
8416
|
+
/** A player’s birth date, country and (under 18) parental agreement. Kept as the year and month only. */
|
|
8417
|
+
export type RecordPlayerAgeInput = {
|
|
8418
|
+
/** Birth date, YYYY-MM-DD (YYYY-MM is accepted too). Only the year and month are kept, and the age is counted from the last day of that month. */
|
|
8419
|
+
birthDate: Scalars['String']['input'];
|
|
8420
|
+
/** The country the player lives in: ISO 3166-1 alpha-2, such as US. */
|
|
8421
|
+
country: Scalars['String']['input'];
|
|
8422
|
+
/** True when a player under 18 confirms that a parent or guardian agreed to their account. Required true under 18; ignored at 18 or over. */
|
|
8423
|
+
parentalConfirmation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8424
|
+
};
|
|
8067
8425
|
export type RegisterOrgSigningKeyInput = {
|
|
8068
8426
|
/** 'EdDSA' (Ed25519), 'ES256' (P-256) or 'RS256' (RSA, 2048 bits or more). */
|
|
8069
8427
|
algorithm: Scalars['String']['input'];
|
|
@@ -8081,14 +8439,20 @@ export type RegisterOrgSigningKeyInput = {
|
|
|
8081
8439
|
publicJwk: Scalars['String']['input'];
|
|
8082
8440
|
};
|
|
8083
8441
|
export type RegisterUserInput = {
|
|
8084
|
-
/** True when the player has agreed to the current
|
|
8442
|
+
/** True when the player has agreed to the platform's current player documents (playerLegalDocuments). A browser signup that omits this, or sends false, is refused with LEGAL_ACCEPTANCE_REQUIRED. Calls with no Origin header may omit it; gameplay tokens stay refused until the documents are stored. */
|
|
8085
8443
|
acceptLegal?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8086
|
-
/** True when the player attests they are at least 18, or the age of majority where they live if that is higher. Same requirement as acceptLegal: required on a browser signup, optional when the request has no Origin. */
|
|
8444
|
+
/** True when the player attests they are at least 18, or the age of majority where they live if that is higher. Same requirement as acceptLegal while the platform uses the attestation: required on a browser signup, optional when the request has no Origin. Ignored once the platform asks for birthDate instead. */
|
|
8087
8445
|
attestAgeOfMajority?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8446
|
+
/** Birth date, YYYY-MM-DD (YYYY-MM is accepted too); only the year and month are kept, and the age is counted from the last day of that month. Sent with country. Required on a browser signup once the platform admits players under 18 (AGE_REQUIRED without it); a request with no Origin may omit it and gives it later with recordPlayerAge. Under 13, or under the minimum age where the player is, the signup is refused with AGE_REQUIREMENT_NOT_MET and no account is made. */
|
|
8447
|
+
birthDate?: InputMaybe<Scalars['String']['input']>;
|
|
8448
|
+
/** The country the player lives in, ISO 3166-1 alpha-2 (such as US); required with birthDate. A country Crowded Kingdoms does not serve, declared or detected from the network address, is refused with TERRITORY_NOT_SUPPORTED before an account exists. */
|
|
8449
|
+
country?: InputMaybe<Scalars['String']['input']>;
|
|
8088
8450
|
/** Email for the new account; the confirmation email is sent here. */
|
|
8089
8451
|
email: Scalars['String']['input'];
|
|
8090
8452
|
/** Optional initial public gamertag (3 to 64 characters, none of them control, line-break or bidirectional-formatting characters). Can be set later via updateGamertag. */
|
|
8091
8453
|
gamertag?: InputMaybe<Scalars['String']['input']>;
|
|
8454
|
+
/** True when a player under 18 confirms that a parent or guardian agreed to their account. Required true under 18; ignored at 18 or over. */
|
|
8455
|
+
parentalConfirmation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8092
8456
|
/** Password for the new account (min 8 characters). */
|
|
8093
8457
|
password: Scalars['String']['input'];
|
|
8094
8458
|
};
|
|
@@ -8206,6 +8570,91 @@ export type RollbackVoxelUpdatesInput = {
|
|
|
8206
8570
|
/** Id of the user (decimal string) whose edits within the window will be reverted. */
|
|
8207
8571
|
userId: Scalars['BigInt']['input'];
|
|
8208
8572
|
};
|
|
8573
|
+
/** Where the report’s copy into the preservation store stands. PENDING: nothing copied yet (it is retried every minute; the store may not be configured on this deployment). PARTIAL: some parts copied, the rest retried. COMPLETE: every part copied. DISCARDED: the report was resolved and its copy deleted. */
|
|
8574
|
+
export declare enum SafetyCaptureStatus {
|
|
8575
|
+
Complete = "COMPLETE",
|
|
8576
|
+
Discarded = "DISCARDED",
|
|
8577
|
+
Partial = "PARTIAL",
|
|
8578
|
+
Pending = "PENDING"
|
|
8579
|
+
}
|
|
8580
|
+
/** A report about a player, filed by another player (fileSafetyReport) or by the app’s hub (the node API’s safety.report). Moderators (moderate_safety on the app) read and decide it. */
|
|
8581
|
+
export type SafetyReport = {
|
|
8582
|
+
__typename?: 'SafetyReport';
|
|
8583
|
+
/** The app. */
|
|
8584
|
+
appId: Scalars['BigInt']['output'];
|
|
8585
|
+
/** Its copy in the preservation store. */
|
|
8586
|
+
capture: SafetyReportCapture;
|
|
8587
|
+
/** What the reporter wrote (at most 1,000 characters). */
|
|
8588
|
+
details: Maybe<Scalars['String']['output']>;
|
|
8589
|
+
/** When it was filed. */
|
|
8590
|
+
filedAt: Scalars['DateTime']['output'];
|
|
8591
|
+
/** The legal hold set on the reported account when it was deleted while the report was open or escalated (legalHolds). */
|
|
8592
|
+
holdId: Maybe<Scalars['BigInt']['output']>;
|
|
8593
|
+
/** The CyberTipline report it was escalated as. */
|
|
8594
|
+
ncmecReportId: Maybe<Scalars['String']['output']>;
|
|
8595
|
+
/** When the CyberTipline report was recorded. */
|
|
8596
|
+
ncmecSubmittedAt: Maybe<Scalars['DateTime']['output']>;
|
|
8597
|
+
/** When it happened, as the reporter said. */
|
|
8598
|
+
occurredAt: Scalars['DateTime']['output'];
|
|
8599
|
+
/** The moderator’s outcome, once resolved. */
|
|
8600
|
+
outcome: Maybe<Scalars['String']['output']>;
|
|
8601
|
+
/** Why. */
|
|
8602
|
+
reason: SafetyReportReason;
|
|
8603
|
+
/** The report. */
|
|
8604
|
+
reportId: Scalars['BigInt']['output'];
|
|
8605
|
+
/** The reported player’s actor, when the report named one. */
|
|
8606
|
+
reportedActorUuid: Maybe<Scalars['String']['output']>;
|
|
8607
|
+
/** Who is reported. */
|
|
8608
|
+
reportedUserId: Scalars['BigInt']['output'];
|
|
8609
|
+
/** Who reported. */
|
|
8610
|
+
reporterUserId: Scalars['BigInt']['output'];
|
|
8611
|
+
/** When it was resolved or escalated. */
|
|
8612
|
+
resolvedAt: Maybe<Scalars['DateTime']['output']>;
|
|
8613
|
+
/** The moderator who resolved or escalated it. */
|
|
8614
|
+
resolvedBy: Maybe<Scalars['BigInt']['output']>;
|
|
8615
|
+
/** The recorded sessions it covers (InputLogSession.gameTokenId): both players’ sessions from 15 minutes before it occurred to its filing. A moderator reads them with inputLogMessages while the report is open or escalated. */
|
|
8616
|
+
sessions: Array<Scalars['BigInt']['output']>;
|
|
8617
|
+
/** Where it stands. */
|
|
8618
|
+
status: SafetyReportStatus;
|
|
8619
|
+
};
|
|
8620
|
+
/** What a safety report’s capture holds in the preservation store: both players’ identities, the reported player’s last-known address, the recorded inputs of the sessions the report covers, and each player’s hub data on ck-exec. Each object is kept under a legal hold while the report is open. */
|
|
8621
|
+
export type SafetyReportCapture = {
|
|
8622
|
+
__typename?: 'SafetyReportCapture';
|
|
8623
|
+
/** Bytes copied. */
|
|
8624
|
+
bytes: Scalars['Float']['output'];
|
|
8625
|
+
/** Objects the complete copy has. */
|
|
8626
|
+
expected: Scalars['Int']['output'];
|
|
8627
|
+
/** Objects copied. */
|
|
8628
|
+
objects: Scalars['Int']['output'];
|
|
8629
|
+
/** Until when the copy is kept under COMPLIANCE retention (an escalated report: a year from the CyberTipline submission); null while it is kept by a legal hold. */
|
|
8630
|
+
retainUntil: Maybe<Scalars['DateTime']['output']>;
|
|
8631
|
+
/** Where the copy stands. */
|
|
8632
|
+
status: SafetyCaptureStatus;
|
|
8633
|
+
};
|
|
8634
|
+
/** Why a player is reported. CHILD_SAFETY reports come first in the moderation queue. */
|
|
8635
|
+
export declare enum SafetyReportReason {
|
|
8636
|
+
Cheating = "CHEATING",
|
|
8637
|
+
ChildSafety = "CHILD_SAFETY",
|
|
8638
|
+
Harassment = "HARASSMENT",
|
|
8639
|
+
Hate = "HATE",
|
|
8640
|
+
Other = "OTHER",
|
|
8641
|
+
SelfHarm = "SELF_HARM",
|
|
8642
|
+
SexualContent = "SEXUAL_CONTENT"
|
|
8643
|
+
}
|
|
8644
|
+
/** A filed safety report, as its reporter sees it. */
|
|
8645
|
+
export type SafetyReportReceipt = {
|
|
8646
|
+
__typename?: 'SafetyReportReceipt';
|
|
8647
|
+
/** When it was filed. */
|
|
8648
|
+
filedAt: Scalars['DateTime']['output'];
|
|
8649
|
+
/** The report. */
|
|
8650
|
+
reportId: Scalars['BigInt']['output'];
|
|
8651
|
+
};
|
|
8652
|
+
/** OPEN: waiting for a moderator. RESOLVED: closed with an outcome; its preserved evidence is deleted and its account hold released. ESCALATED: reported to the CyberTipline; its evidence and its account hold are kept for a year from the submission. */
|
|
8653
|
+
export declare enum SafetyReportStatus {
|
|
8654
|
+
Escalated = "ESCALATED",
|
|
8655
|
+
Open = "OPEN",
|
|
8656
|
+
Resolved = "RESOLVED"
|
|
8657
|
+
}
|
|
8209
8658
|
/** Create or optimistically update one private reusable personal-library file. */
|
|
8210
8659
|
export type SaveCrowdyStudioLibraryFileInput = {
|
|
8211
8660
|
/** App tenant. Requires an app-scoped token; ownership is always the authenticated user. */
|
|
@@ -8488,6 +8937,17 @@ export type SetChannelPolicyInput = {
|
|
|
8488
8937
|
/** Optional cap on members per channel (null = unlimited). */
|
|
8489
8938
|
maxMembers?: InputMaybe<Scalars['Int']['input']>;
|
|
8490
8939
|
};
|
|
8940
|
+
/** The player’s choices; a field left out keeps its current choice. A choice above what policy allows is kept and takes effect only up to the cap (see CommSettings.voiceAllowed), so a player can only ever lower what it sends and receives. */
|
|
8941
|
+
export type SetCommSettingsInput = {
|
|
8942
|
+
/** Whose video the player may see. */
|
|
8943
|
+
videoReceive?: InputMaybe<CommScope>;
|
|
8944
|
+
/** Whom the player’s video may reach. */
|
|
8945
|
+
videoSend?: InputMaybe<CommScope>;
|
|
8946
|
+
/** Whose voice the player may hear. */
|
|
8947
|
+
voiceReceive?: InputMaybe<CommScope>;
|
|
8948
|
+
/** Whom the player’s voice may reach. */
|
|
8949
|
+
voiceSend?: InputMaybe<CommScope>;
|
|
8950
|
+
};
|
|
8491
8951
|
/** Patch an app's Agentic Studio policy. Requires manage_compute. Omitted fields stay unchanged; all supplied authority and limits are clamped to platform policy. */
|
|
8492
8952
|
export type SetCrowdyStudioAgentAppPolicyInput = {
|
|
8493
8953
|
/** Replacement exact model allowlist (max 64). On an APP patch every id must already be in the platform allowlist or the whole write is refused with AGENT_POLICY_INVALID naming that list; values are never silently dropped. On the PLATFORM patch this list IS the ceiling. Empty denies all models at either layer. */
|
|
@@ -8725,6 +9185,17 @@ export type SetTeamPolicyInput = {
|
|
|
8725
9185
|
/** Optional cap on members per team (null = unlimited). */
|
|
8726
9186
|
maxMembers?: InputMaybe<Scalars['Int']['input']>;
|
|
8727
9187
|
};
|
|
9188
|
+
/** An operator’s change to one country’s policy. */
|
|
9189
|
+
export type SetTerritoryPolicyInput = {
|
|
9190
|
+
/** ISO 3166-1 alpha-2 country code. */
|
|
9191
|
+
countryCode: Scalars['String']['input'];
|
|
9192
|
+
/** The youngest age admitted there, 13 to 18 (default 13). */
|
|
9193
|
+
minAge?: InputMaybe<Scalars['Int']['input']>;
|
|
9194
|
+
/** Why, for the record (at most 500 characters). */
|
|
9195
|
+
reason: Scalars['String']['input'];
|
|
9196
|
+
/** 'open' or 'blocked'. */
|
|
9197
|
+
status: Scalars['String']['input'];
|
|
9198
|
+
};
|
|
8728
9199
|
/** @deprecated Legacy monthly app-slot subscription plan. New shared publishes use wallet usage billing. */
|
|
8729
9200
|
export type SharedEnvPlan = {
|
|
8730
9201
|
__typename?: 'SharedEnvPlan';
|
|
@@ -8744,6 +9215,23 @@ export type SharedEnvPlan = {
|
|
|
8744
9215
|
/** Plan status, e.g. 'active' (offered) or 'archived'. */
|
|
8745
9216
|
status: Scalars['String']['output'];
|
|
8746
9217
|
};
|
|
9218
|
+
/** A Minecraft player signing in to one of Crowded Kingdoms’ own apps (signInWithMinecraft). */
|
|
9219
|
+
export type SignInWithMinecraftInput = {
|
|
9220
|
+
/** The documents the player accepted in game: every one playerLegalDocuments and appRequiredDocuments(appId) name, at those versions. They are recorded with method IN_GAME. */
|
|
9221
|
+
acceptedDocuments: Array<AcceptedDocumentInput>;
|
|
9222
|
+
/** The app (BigInt as a decimal string): the one minecraftChallenge was asked for. */
|
|
9223
|
+
appId: Scalars['BigInt']['input'];
|
|
9224
|
+
/** The player’s birth date, YYYY-MM-DD (YYYY-MM is accepted too), from the mod’s age screen. Only the age bracket is kept, counted from the last day of the month. */
|
|
9225
|
+
birthDate: Scalars['String']['input'];
|
|
9226
|
+
/** The country the player lives in: ISO 3166-1 alpha-2, such as US. */
|
|
9227
|
+
country: Scalars['String']['input'];
|
|
9228
|
+
/** True when a player under 18 confirms that a parent or guardian agreed. Required true under 18; ignored at 18 or over. */
|
|
9229
|
+
parentalConfirmation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9230
|
+
/** The serverId from minecraftChallenge, after the client joined it through Mojang’s session service. */
|
|
9231
|
+
serverId: Scalars['String']['input'];
|
|
9232
|
+
/** The Minecraft account name the client is signed in with (1-16 letters, digits and underscores). */
|
|
9233
|
+
username: Scalars['String']['input'];
|
|
9234
|
+
};
|
|
8747
9235
|
/** Input for sending an actor-to-actor message: a message delivered only to the single actor identified by targetUuid. It is spatially routed (the sender must know the destination actor’s chunk), but unlike normal spatial messages it is NOT broadcast to other nearby actors and has no distance/decay. */
|
|
8748
9236
|
export type SingleActorMessageInput = {
|
|
8749
9237
|
/** The ID of the app the destination actor belongs to. */
|
|
@@ -8822,6 +9310,16 @@ export type TeleportResponse = {
|
|
|
8822
9310
|
/** True when the teleport is authorized/accepted; false otherwise (inspect errorCode for the reason). */
|
|
8823
9311
|
success: Scalars['Boolean']['output'];
|
|
8824
9312
|
};
|
|
9313
|
+
/** A country Crowded Kingdoms lists: 'blocked' refuses its players (TERRITORY_NOT_SUPPORTED), and minAge raises the youngest age admitted there. A country not listed is open at the platform's minimum. */
|
|
9314
|
+
export type TerritoryPolicy = {
|
|
9315
|
+
__typename?: 'TerritoryPolicy';
|
|
9316
|
+
/** ISO 3166-1 alpha-2 country code, such as KR. */
|
|
9317
|
+
countryCode: Scalars['String']['output'];
|
|
9318
|
+
/** The youngest age admitted in the country (13 to 18); the platform's and the app's minimums still apply when higher. */
|
|
9319
|
+
minAge: Scalars['Int']['output'];
|
|
9320
|
+
/** 'open' or 'blocked'. */
|
|
9321
|
+
status: Scalars['String']['output'];
|
|
9322
|
+
};
|
|
8825
9323
|
export type TierAccessCount = {
|
|
8826
9324
|
__typename?: 'TierAccessCount';
|
|
8827
9325
|
count: Scalars['Int']['output'];
|
|
@@ -9111,12 +9609,18 @@ export type UpdateAppInput = {
|
|
|
9111
9609
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
9112
9610
|
/** New JSON-encoded marketplace metadata string, replacing the existing value (see App.metadata). Omit to leave unchanged. */
|
|
9113
9611
|
metadata?: InputMaybe<Scalars['String']['input']>;
|
|
9612
|
+
/** The youngest age the app admits, 13 to 18. It only ever raises the platform's minimum (18 until players 13 and over are admitted, then 13), never lowers it; younger players are refused AGE_REQUIREMENT_NOT_MET at their next mint or refresh. null returns the app to the platform's minimum. Omit to leave unchanged. */
|
|
9613
|
+
minPlayerAge?: InputMaybe<Scalars['Int']['input']>;
|
|
9114
9614
|
/** New display name (1-256 chars). Omit to leave unchanged. */
|
|
9115
9615
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
9116
|
-
/** Turn replay logging on (true) or off (false): record every client message the realtime servers accept for this app (keep-alives included), kept for the input log's published retention and billed as stored input logs (input_log_storage_byte_hours, no free allowance). Turning it ON is refused with INPUT_LOG_FUNDS_NEEDED unless the org's wallet can spend at least the projected cost of keeping one retention period of the app's recent traffic, or the org is billing-exempt
|
|
9616
|
+
/** Turn replay logging (the safety log) on (true) or off (false): record every client message the realtime servers accept for this app (keep-alives included), kept for the input log's published retention and billed as stored input logs (input_log_storage_byte_hours, no free allowance). Turning it ON is refused with INPUT_LOG_FUNDS_NEEDED unless the org's wallet can spend at least the projected cost of keeping one retention period of the app's recent traffic, or the org is billing-exempt. Turning it off is refused with SAFETY_LOG_REQUIRED while the app admits players under 18 (its minimum player age, or the platform's, is under 18); otherwise it succeeds, and what was already recorded goes on billing until it ages out. Recording starts and stops within about 15 seconds. Omit to leave unchanged. */
|
|
9117
9617
|
replayLoggingEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9118
9618
|
/** With replay logging on, record the app's voice (sendAudioPacket), webcam video (sendVideoPacket) and channel audio (sendChannelAudio) too (true, the default) or leave them out of the input log (false); every other message is recorded either way. Takes effect within about 15 seconds; what was already recorded stays until it ages out. Omit to leave unchanged. */
|
|
9119
9619
|
replayLoggingRecordsMedia?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9620
|
+
/** With replay logging on, record the app's webcam video (sendVideoPacket) (true, the default) or leave it out (false). Overrides replayLoggingRecordsMedia for video when both are given; replayLoggingRecordsMedia then reads true if voice or video is recorded. Omit to leave unchanged. */
|
|
9621
|
+
replayLoggingRecordsVideo?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9622
|
+
/** With replay logging on, record the app's voice (sendAudioPacket) and channel audio (sendChannelAudio) (true, the default) or leave them out (false). Overrides replayLoggingRecordsMedia for voice when both are given; replayLoggingRecordsMedia then reads true if voice or video is recorded. Omit to leave unchanged. */
|
|
9623
|
+
replayLoggingRecordsVoice?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9120
9624
|
/** New lifecycle status; set LIVE to publish, or DRAFT/LIVE to restore an archived app. Omit to leave unchanged. */
|
|
9121
9625
|
status?: InputMaybe<AppStatus>;
|
|
9122
9626
|
/** New visibility (PUBLIC/UNLISTED/PRIVATE). Omit to leave unchanged. */
|
|
@@ -9276,6 +9780,10 @@ export type UsageRatePeaks = {
|
|
|
9276
9780
|
};
|
|
9277
9781
|
export type User = {
|
|
9278
9782
|
__typename?: 'User';
|
|
9783
|
+
/** The player's age bracket now: 'unknown' (no age given yet: recordPlayerAge), 'under_13', '13_15', '16_17' or '18_plus'. A CK account's comes from its birth month (counted from the month's last day, so it moves on that date); a managed player's from its organization. Private: null unless the caller is this user, a super-admin or an operator. */
|
|
9784
|
+
ageBracket: Maybe<Scalars['String']['output']>;
|
|
9785
|
+
/** The country the player declared, or its organization asserted (ISO 3166-1 alpha-2); null when none was given. Private: null unless the caller is this user, a super-admin or an operator. */
|
|
9786
|
+
country: Maybe<Scalars['String']['output']>;
|
|
9279
9787
|
/** Account creation timestamp (ISO-8601). */
|
|
9280
9788
|
createdAt: Scalars['DateTime']['output'];
|
|
9281
9789
|
/** Discriminator paired with `gamertag` to form a unique handle; null if unset. */
|