@crowdedkingdoms/crowdyjs 18.16.0-dev.1 → 18.17.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/README.md +14 -7
- package/dist/crowdy-client.d.ts +1 -1
- package/dist/crowdy-client.d.ts.map +1 -1
- package/dist/domains/admin.d.ts +1 -1
- package/dist/domains/admin.d.ts.map +1 -1
- package/dist/domains/managedPlayers.d.ts +18 -5
- package/dist/domains/managedPlayers.d.ts.map +1 -1
- package/dist/domains/managedPlayers.js +18 -5
- package/dist/domains/organizations.d.ts +2 -2
- package/dist/domains/organizations.js +2 -2
- package/dist/domains/portal.d.ts +6 -1
- package/dist/domains/portal.d.ts.map +1 -1
- package/dist/domains/portal.js +9 -3
- package/dist/errors.d.ts +16 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +18 -0
- package/dist/generated/graphql-schema.d.ts +42 -22
- package/dist/generated/graphql-schema.d.ts.map +1 -1
- package/dist/generated/graphql.d.ts +7 -0
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -888,7 +888,7 @@ export type App = {
|
|
|
888
888
|
isTrusted: Scalars['Boolean']['output'];
|
|
889
889
|
/** Browser destination (origin/URL) a player is redirected to when they portal into this app from the Overworld. Used to route the player and to validate portal redirect URIs. */
|
|
890
890
|
launchUrl: Maybe<Scalars['String']['output']>;
|
|
891
|
-
/** Whether the organization lets its org-managed players build and run mods (and use the Studio agent) in this app, paying for their mod compute, egress, storage and model tokens itself. False by default, and false
|
|
891
|
+
/** Whether the organization lets its org-managed players build and run mods (and use the Studio agent) in this app, paying for their mod compute, egress, storage and model tokens itself. False by default, and false on a tier that does not serve org-managed players. Set with setAppManagedPlayerMods (manage_billing). Players with a Crowded Kingdoms account are unaffected. */
|
|
892
892
|
managedPlayerModsEnabled: Scalars['Boolean']['output'];
|
|
893
893
|
/** 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. */
|
|
894
894
|
metadata: Maybe<Scalars['String']['output']>;
|
|
@@ -2201,7 +2201,7 @@ export type CreateOrgRoleInput = {
|
|
|
2201
2201
|
roleName: Scalars['String']['input'];
|
|
2202
2202
|
};
|
|
2203
2203
|
export type CreateOrgTokenInput = {
|
|
2204
|
-
/** Limit the token to these apps of the organization; omit for every app (org-managed players
|
|
2204
|
+
/** Limit the token to these apps of the organization; omit for every app (org-managed players). */
|
|
2205
2205
|
appIds?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2206
2206
|
/** Optional expiry timestamp; omit for a non-expiring token. */
|
|
2207
2207
|
expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -2209,7 +2209,7 @@ export type CreateOrgTokenInput = {
|
|
|
2209
2209
|
label?: InputMaybe<Scalars['String']['input']>;
|
|
2210
2210
|
/** Organization to mint the token for (BigInt as string). */
|
|
2211
2211
|
orgId: Scalars['BigInt']['input'];
|
|
2212
|
-
/** What the token may do: 'players:mint' and/or 'players:manage' (org-managed players
|
|
2212
|
+
/** What the token may do: 'players:mint' and/or 'players:manage' (org-managed players). Omit for a token with no scope, which can do nothing. */
|
|
2213
2213
|
scopes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2214
2214
|
};
|
|
2215
2215
|
export type CreateOrganizationInput = {
|
|
@@ -4536,7 +4536,7 @@ export type LoginUserInput = {
|
|
|
4536
4536
|
/** Account password (min 8 characters). */
|
|
4537
4537
|
password: Scalars['String']['input'];
|
|
4538
4538
|
};
|
|
4539
|
-
/** A player an organization signs in itself (an org-managed player): a Crowded Kingdoms user with no email, password or wallet, known to the org by its own id.
|
|
4539
|
+
/** A player an organization signs in itself (an org-managed player): a Crowded Kingdoms user with no email, password or wallet, known to the org by its own id. */
|
|
4540
4540
|
export type ManagedPlayer = {
|
|
4541
4541
|
__typename?: 'ManagedPlayer';
|
|
4542
4542
|
/** When the player was first signed in or provisioned. */
|
|
@@ -4595,6 +4595,8 @@ export type Mutation = {
|
|
|
4595
4595
|
__typename?: 'Mutation';
|
|
4596
4596
|
/** Give up a STAGING publish and clear its staged objects. Requires manage_apps and a SESSION token. */
|
|
4597
4597
|
abandonGamePublish: HostedGamePublish;
|
|
4598
|
+
/** 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. */
|
|
4599
|
+
acceptManagedPlayerTerms: OrgManagedPlayerSettings;
|
|
4598
4600
|
/** 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. */
|
|
4599
4601
|
actorHeartbeat: Maybe<GameHost>;
|
|
4600
4602
|
/** Add a user to a channel, or approve their pending join request (upsert to active). Requires the 'manage_members' channel permission (app admins bypass). Auto-assigns the default role if configured and notifies Buddy with the member's effective send permission. */
|
|
@@ -4675,7 +4677,7 @@ export type Mutation = {
|
|
|
4675
4677
|
createGridChannel: Group;
|
|
4676
4678
|
/** Creates a custom role in an organization with a name, optional description, and permission keys. Requires the 'manage_members' permission on the org (super admins bypass). */
|
|
4677
4679
|
createOrgRole: OrgRole;
|
|
4678
|
-
/** 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
|
|
4680
|
+
/** 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). */
|
|
4679
4681
|
createOrgToken: OrgTokenWithSecret;
|
|
4680
4682
|
/** Creates a new organization and makes the authenticated caller its owner (with full permissions). Requires a valid session token. */
|
|
4681
4683
|
createOrganization: Organization;
|
|
@@ -4733,7 +4735,7 @@ export type Mutation = {
|
|
|
4733
4735
|
deleteChannelRole: Scalars['Boolean']['output'];
|
|
4734
4736
|
/** 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. */
|
|
4735
4737
|
deleteGrid: DeleteGridResponse;
|
|
4736
|
-
/**
|
|
4738
|
+
/** Delete a managed player: its sessions end and its row is anonymized, as an account deletion is. 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. */
|
|
4737
4739
|
deleteManagedPlayer: Scalars['Boolean']['output'];
|
|
4738
4740
|
/** DESTRUCTIVE self-service: soft-deletes the authenticated caller's OWN account — anonymizes PII and revokes all sessions; wallet, voxel, and donation history stay intact via FK. Acts only on the caller (no target argument). Requires a valid game token. */
|
|
4739
4741
|
deleteMyAccount: Scalars['Boolean']['output'];
|
|
@@ -4749,11 +4751,11 @@ export type Mutation = {
|
|
|
4749
4751
|
deleteUserAppState: UserAppState;
|
|
4750
4752
|
/** Close the UDP proxy session and socket for this game token. Unsubscribing from udpNotifications does not disconnect; use this mutation (or rely on server inactivity timeout). */
|
|
4751
4753
|
disconnectUdpProxy: Scalars['Boolean']['output'];
|
|
4752
|
-
/**
|
|
4754
|
+
/** Sign a managed player out everywhere: its sessions and app tokens end, and so do its realtime and ck-exec connections. It can sign in again (use updateManagedPlayer to stop that). False when it held no session. An org token with players:manage, or an org admin with manage_players. */
|
|
4753
4755
|
endManagedPlayerSessions: Scalars['Boolean']['output'];
|
|
4754
4756
|
/** 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. */
|
|
4755
4757
|
endTierAccessSessions: Scalars['Int']['output'];
|
|
4756
|
-
/**
|
|
4758
|
+
/** 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. 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. */
|
|
4757
4759
|
exchangeManagedPlayerAssertion: AppTokenResponse;
|
|
4758
4760
|
/** 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. */
|
|
4759
4761
|
exchangePortalCode: AppTokenResponse;
|
|
@@ -4843,9 +4845,9 @@ export type Mutation = {
|
|
|
4843
4845
|
mintAppToken: AppTokenResponse;
|
|
4844
4846
|
/** 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. */
|
|
4845
4847
|
mintGridToken: GridTokenResponse;
|
|
4846
|
-
/** ORG TOKEN ONLY
|
|
4848
|
+
/** 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. */
|
|
4847
4849
|
mintManagedPlayerToken: AppTokenResponse;
|
|
4848
|
-
/**
|
|
4850
|
+
/** 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. */
|
|
4849
4851
|
provisionManagedPlayers: ProvisionManagedPlayersResult;
|
|
4850
4852
|
/** 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. */
|
|
4851
4853
|
publishAppToShared: PublishAppResult;
|
|
@@ -4855,7 +4857,7 @@ export type Mutation = {
|
|
|
4855
4857
|
refreshAppToken: AppTokenResponse;
|
|
4856
4858
|
/** Registers a new email + password account: creates the (initially unconfirmed) account, emails a confirmation link, and returns an AuthResponse with a session `token` for immediate use (send as `Authorization: Bearer <token>`). If an account already exists for the email it is refused with extensions.code EMAIL_ALREADY_REGISTERED (409) and no session is returned: an account that already has a password is left exactly as it was (sign in, or use the emailed reset), and only a password-less account (created via magic link/social) gets the password attached pending email confirmation. It is a routine outcome rather than a fault, and it reached clients as INTERNAL_SERVER_ERROR before v1.60.0, which is why several of them match it by its message text. A browser request (Origin header present) must send acceptLegal and attestAgeOfMajority both true or it is refused with LEGAL_ACCEPTANCE_REQUIRED before an account is created; a request with no Origin may omit them, and gameplay tokens stay refused until the documents are stored. Public; first-party origins only (HOSTED_SIGN_IN_REQUIRED otherwise); rate-limited. */
|
|
4857
4859
|
register: AuthResponse;
|
|
4858
|
-
/**
|
|
4860
|
+
/** Register the PUBLIC half of a key your organization signs its players' sign-in assertions with (exchangeManagedPlayerAssertion): its kid, algorithm (EdDSA, ES256 or RS256), the JWK, the iss your assertions carry and, if your identity provider sets its own, their aud. The private key never leaves your systems. Requires manage_players on the org. */
|
|
4859
4861
|
registerOrgSigningKey: OrgSigningKey;
|
|
4860
4862
|
/** OPERATOR ONLY. Reverses a retirement: the organization returns to status 'active', deleted_at is cleared, and the tombstone records who put it back and why rather than being deleted. Its apps are LEFT ARCHIVED — un-archiving is archiveApp's inverse and belongs to whoever decides which apps should serve traffic again. Refuses an organization that is not currently retired. */
|
|
4861
4863
|
reinstateOrganization: OrgRetirementType;
|
|
@@ -4895,7 +4897,7 @@ export type Mutation = {
|
|
|
4895
4897
|
revokeGridPermissions: GridUserPermissions;
|
|
4896
4898
|
/** Revoke group/role grants on a grid (deletes from the `grid_group_grants` input table) and recompute the materialized effective ACL. Omit `permissionKeys` to revoke ALL of the group/role's grants on the grid; pass a subset to revoke only those keys. Requires app-admin ('manage_apps'). DESTRUCTIVE: removes the granted permissions from every affected member. Returns the group's remaining grants on the grid. */
|
|
4897
4899
|
revokeGroupFromGrid: Array<GridGroupGrant>;
|
|
4898
|
-
/**
|
|
4900
|
+
/** Revoke a signing key: assertions it signed are refused from now on (sessions already signed in run until they lapse; end them with endManagedPlayerSessions). False when there was no such active key. Requires manage_players on the org. */
|
|
4899
4901
|
revokeOrgSigningKey: Scalars['Boolean']['output'];
|
|
4900
4902
|
/** Permanently deactivates an org token so it can no longer authenticate. With `endSessions: true` it also signs out every managed player session the token signed in (their app tokens, realtime and ck-exec connections end now); without it those sessions run until they lapse. Requires the 'manage_tokens' permission on the token's org (super admins bypass). DESTRUCTIVE and irreversible; the secret cannot be reactivated. Returns false if the token does not exist. */
|
|
4901
4903
|
revokeOrgToken: Scalars['Boolean']['output'];
|
|
@@ -4939,7 +4941,7 @@ export type Mutation = {
|
|
|
4939
4941
|
setAppComputeBudget: AppComputeBudgetInfo;
|
|
4940
4942
|
/** Set how a player claim confers grid ownership in this app (D4): SELF_CLAIM, APPROVAL (optionally with a designated approver list), or INVITE. MARKETPLACE_ONLY is refused with FEATURE_DISABLED while paid grid commerce is off the public API. Requires 'manage_apps'. Changing policy never revokes existing grid_ownership rows. */
|
|
4941
4943
|
setAppGridClaimPolicy: GridClaimPolicy;
|
|
4942
|
-
/**
|
|
4944
|
+
/** 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. */
|
|
4943
4945
|
setAppManagedPlayerMods: Scalars['Boolean']['output'];
|
|
4944
4946
|
/** 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. */
|
|
4945
4947
|
setAppReservedThroughput: SetAppReservedThroughputResult;
|
|
@@ -4973,7 +4975,7 @@ export type Mutation = {
|
|
|
4973
4975
|
setOperator: User;
|
|
4974
4976
|
/** 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. */
|
|
4975
4977
|
setOrgBillingExempt: BillingExemptOrgType;
|
|
4976
|
-
/** OPERATOR ONLY
|
|
4978
|
+
/** OPERATOR ONLY. Enable or disable an organization's org-managed players and set its limits. Disabling refuses new sign-ins; sessions already running last until they lapse (end them with endManagedPlayerSessions). Enabling does not accept the addendum: an admin of the organization does that (acceptManagedPlayerTerms). */
|
|
4977
4979
|
setOrgManagedPlayerSettings: OrgManagedPlayerSettings;
|
|
4978
4980
|
/** Super admin only. Freeze ('frozen') or unfreeze ('active') an organization platform-wide. A FROZEN organization grants its members NO org permission (super admins excepted, so it is reversible): they cannot spend its wallet, create or manage apps, or change members, and every such refusal names the freeze; its API tokens stop authenticating; the org itself still resolves by id and slug so Studio can show the state. Takes exactly 'active' or 'frozen'; 'retired' is refused in either direction — retirement is retireOrganization, which writes a tombstone. */
|
|
4979
4981
|
setOrgStatus: Organization;
|
|
@@ -5049,7 +5051,7 @@ export type Mutation = {
|
|
|
5049
5051
|
updateChunkState: Maybe<Chunk>;
|
|
5050
5052
|
/** Sets the authenticated user’s gamertag and disambiguation and appends a gamertag-history row. Requires a valid game token; only ever updates the caller. Fails if the gamertag+disambiguation pair is already taken. */
|
|
5051
5053
|
updateGamertag: User;
|
|
5052
|
-
/**
|
|
5054
|
+
/** Rename a managed player, or disable or enable it. Disabling ends every session it has now (realtime and ck-exec included) and refuses its sign-ins; enabling lifts only a disable the org set. An org token with players:manage, or an org admin with manage_players. */
|
|
5053
5055
|
updateManagedPlayer: ManagedPlayer;
|
|
5054
5056
|
/** Replaces the full set of roles assigned to an org member. Requires the 'manage_members' permission on the org (super admins bypass). Pass the complete desired role list; roles not included are removed. */
|
|
5055
5057
|
updateOrgMemberRoles: OrgMember;
|
|
@@ -5074,6 +5076,10 @@ export type MutationAbandonGamePublishArgs = {
|
|
|
5074
5076
|
publishId: Scalars['BigInt']['input'];
|
|
5075
5077
|
slug: Scalars['String']['input'];
|
|
5076
5078
|
};
|
|
5079
|
+
export type MutationAcceptManagedPlayerTermsArgs = {
|
|
5080
|
+
orgId: Scalars['BigInt']['input'];
|
|
5081
|
+
version: Scalars['String']['input'];
|
|
5082
|
+
};
|
|
5077
5083
|
export type MutationActorHeartbeatArgs = {
|
|
5078
5084
|
appId: Scalars['BigInt']['input'];
|
|
5079
5085
|
};
|
|
@@ -6014,7 +6020,7 @@ export type OrgAutoBilling = {
|
|
|
6014
6020
|
/** Amount to top up the wallet by on each auto-recharge, in cents. */
|
|
6015
6021
|
rechargeAmountCents: Scalars['BigInt']['output'];
|
|
6016
6022
|
};
|
|
6017
|
-
/** An organization's org-managed player settings
|
|
6023
|
+
/** An organization's org-managed player settings, and where it stands on the Org-Managed Players Addendum. A Crowded Kingdoms operator sets the settings; an admin of the organization accepts the addendum. */
|
|
6018
6024
|
export type OrgManagedPlayerSettings = {
|
|
6019
6025
|
__typename?: 'OrgManagedPlayerSettings';
|
|
6020
6026
|
/** How long one sign-in lasts (seconds) when the org does not ask for less: app tokens refresh until then. */
|
|
@@ -6030,6 +6036,20 @@ export type OrgManagedPlayerSettings = {
|
|
|
6030
6036
|
orgId: Scalars['BigInt']['output'];
|
|
6031
6037
|
/** How many managed players it holds now. */
|
|
6032
6038
|
playerCount: Scalars['BigInt']['output'];
|
|
6039
|
+
/** Whether the organization has accepted the current version. Until it has, its managed players are neither created nor signed in and their app tokens do not refresh (ORG_LEGAL_ACCEPTANCE_REQUIRED). */
|
|
6040
|
+
termsAccepted: Scalars['Boolean']['output'];
|
|
6041
|
+
/** When it accepted that version. */
|
|
6042
|
+
termsAcceptedAt: Maybe<Scalars['DateTime']['output']>;
|
|
6043
|
+
/** The user id of the admin who accepted that version. */
|
|
6044
|
+
termsAcceptedByUserId: Maybe<Scalars['BigInt']['output']>;
|
|
6045
|
+
/** The version the organization accepted most recently, or null if it never accepted one. */
|
|
6046
|
+
termsAcceptedVersion: Maybe<Scalars['String']['output']>;
|
|
6047
|
+
/** Where the current addendum is published. */
|
|
6048
|
+
termsUrl: Scalars['String']['output'];
|
|
6049
|
+
/** The current version of the Org-Managed Players Addendum, which an admin of the organization accepts (acceptManagedPlayerTerms) before its players are created or signed in. */
|
|
6050
|
+
termsVersion: Scalars['String']['output'];
|
|
6051
|
+
/** Whether the signed-in user may accept the addendum for this organization: an admin of it, by the organization's own grant (a super admin's or an operator's access does not count). */
|
|
6052
|
+
viewerMayAcceptTerms: Scalars['Boolean']['output'];
|
|
6033
6053
|
};
|
|
6034
6054
|
export type OrgMember = {
|
|
6035
6055
|
__typename?: 'OrgMember';
|
|
@@ -6116,7 +6136,7 @@ export type OrgRole = {
|
|
|
6116
6136
|
/** Display name of the role. */
|
|
6117
6137
|
roleName: Scalars['String']['output'];
|
|
6118
6138
|
};
|
|
6119
|
-
/** The public half of a key an organization signs its players' sign-in assertions with (exchangeManagedPlayerAssertion). Only public keys are stored.
|
|
6139
|
+
/** The public half of a key an organization signs its players' sign-in assertions with (exchangeManagedPlayerAssertion). Only public keys are stored. */
|
|
6120
6140
|
export type OrgSigningKey = {
|
|
6121
6141
|
__typename?: 'OrgSigningKey';
|
|
6122
6142
|
/** 'EdDSA', 'ES256' or 'RS256'. */
|
|
@@ -6169,7 +6189,7 @@ export type OrgToken = {
|
|
|
6169
6189
|
orgTokenId: Scalars['BigInt']['output'];
|
|
6170
6190
|
/** When the token was revoked, if it has been. */
|
|
6171
6191
|
revokedAt: Maybe<Scalars['DateTime']['output']>;
|
|
6172
|
-
/** What the token may do: 'players:mint' (sign the org's managed players in, mintManagedPlayerToken) and 'players:manage' (provision, list, rename, disable, sign out and delete them). A token with no scope can do nothing.
|
|
6192
|
+
/** What the token may do: 'players:mint' (sign the org's managed players in, mintManagedPlayerToken) and 'players:manage' (provision, list, rename, disable, sign out and delete them). A token with no scope can do nothing. */
|
|
6173
6193
|
scopes: Array<Scalars['String']['output']>;
|
|
6174
6194
|
/** When the token was last updated. */
|
|
6175
6195
|
updatedAt: Scalars['DateTime']['output'];
|
|
@@ -7030,9 +7050,9 @@ export type Query = {
|
|
|
7030
7050
|
listVoxelUpdatesByDistance: VoxelUpdatesByDistanceResponse;
|
|
7031
7051
|
/** Lists recorded voxel edits for a single chunk (optionally only those at/after `since`), newest first. Requires a valid bearer token; app-scoped tokens are limited to their own app. Read-only. */
|
|
7032
7052
|
listVoxels: Array<Voxel>;
|
|
7033
|
-
/**
|
|
7053
|
+
/** One managed player by the id your organization knows it by, or null. An org token with players:manage, or an org admin with manage_players. */
|
|
7034
7054
|
managedPlayer: Maybe<ManagedPlayer>;
|
|
7035
|
-
/**
|
|
7055
|
+
/** The organization's managed players, by user id. `search` matches the start of the external id (exactly) or of the gamertag (any case). An org token with players:manage, or an org admin with manage_players. */
|
|
7036
7056
|
managedPlayers: ManagedPlayersPage;
|
|
7037
7057
|
/** Returns the authenticated user resolved from the token (sent as `Authorization: Bearer <token>`), or null if missing/invalid. Readable with either an identity session token or an app-scoped gameplay token. */
|
|
7038
7058
|
me: Maybe<User>;
|
|
@@ -7082,7 +7102,7 @@ export type Query = {
|
|
|
7082
7102
|
orgAutoBilling: OrgAutoBilling;
|
|
7083
7103
|
/** An org's free shared-app slot quota and how much of it is used. Apps beyond the quota still publish; metered usage is billed from the org wallet. Caller must be a member of the org. */
|
|
7084
7104
|
orgFreeAppQuota: FreeAppQuota;
|
|
7085
|
-
/**
|
|
7105
|
+
/** The organization's org-managed player settings: whether it may sign its own players in, its cap, sign-in rate and sign-in lifetimes, how many players it holds, and whether it has accepted the current Org-Managed Players Addendum. Requires manage_players on the org (super-admins and operators bypass). */
|
|
7086
7106
|
orgManagedPlayerSettings: OrgManagedPlayerSettings;
|
|
7087
7107
|
/** Lists the members of an organization. Requires the 'manage_members' permission on the org (super admins bypass). */
|
|
7088
7108
|
orgMembers: Array<OrgMember>;
|
|
@@ -7092,7 +7112,7 @@ export type Query = {
|
|
|
7092
7112
|
orgPermissions: Array<OrgPermission>;
|
|
7093
7113
|
/** Lists all roles defined in an organization. Requires the 'manage_members' permission on the org (super admins bypass). */
|
|
7094
7114
|
orgRoles: Array<OrgRole>;
|
|
7095
|
-
/**
|
|
7115
|
+
/** The organization's signing keys for player assertions, newest first, revoked ones included. Requires manage_players on the org. */
|
|
7096
7116
|
orgSigningKeys: Array<OrgSigningKey>;
|
|
7097
7117
|
/** Lists an organization's API tokens (metadata only; secret values are never returned here). Requires the 'manage_tokens' permission on the org (super admins bypass). */
|
|
7098
7118
|
orgTokens: Array<OrgToken>;
|