@crowdedkingdoms/crowdyjs 8.15.0 → 8.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/dist/crowdy-client.d.ts +12 -0
- package/dist/crowdy-client.d.ts.map +1 -1
- package/dist/crowdy-client.js +9 -0
- 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 +28 -1
- package/dist/domains/apps.d.ts.map +1 -1
- package/dist/domains/apps.js +52 -1
- package/dist/domains/gameApps.d.ts +17 -1
- package/dist/domains/gameApps.d.ts.map +1 -1
- package/dist/domains/gameApps.js +29 -1
- package/dist/domains/marketplace.d.ts +147 -0
- package/dist/domains/marketplace.d.ts.map +1 -0
- package/dist/domains/marketplace.js +257 -0
- package/dist/domains/playerCompute.d.ts +85 -0
- package/dist/domains/playerCompute.d.ts.map +1 -0
- package/dist/domains/playerCompute.js +127 -0
- package/dist/domains/playerModel.d.ts +20 -0
- package/dist/domains/playerModel.d.ts.map +1 -0
- package/dist/domains/playerModel.js +54 -0
- package/dist/domains/playerWallet.d.ts +59 -0
- package/dist/domains/playerWallet.d.ts.map +1 -0
- package/dist/domains/playerWallet.js +106 -0
- package/dist/generated/graphql.d.ts +3529 -241
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +187 -1
- package/dist/index.d.ts +12 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -1
- package/dist/kit/npcs.d.ts.map +1 -1
- package/dist/kit/social.d.ts.map +1 -1
- package/dist/live-coding/live-coding-controller.d.ts +73 -0
- package/dist/live-coding/live-coding-controller.d.ts.map +1 -0
- package/dist/live-coding/live-coding-controller.js +140 -0
- package/dist/live-coding/mount.d.ts +26 -0
- package/dist/live-coding/mount.d.ts.map +1 -0
- package/dist/live-coding/mount.js +108 -0
- package/dist/live-coding/templates.d.ts +17 -0
- package/dist/live-coding/templates.d.ts.map +1 -0
- package/dist/live-coding/templates.js +59 -0
- package/dist/player-runtime/player-code-broker.d.ts +101 -0
- package/dist/player-runtime/player-code-broker.d.ts.map +1 -0
- package/dist/player-runtime/player-code-broker.js +251 -0
- package/dist/player-runtime/player-glue-worker.d.ts +62 -0
- package/dist/player-runtime/player-glue-worker.d.ts.map +1 -0
- package/dist/player-runtime/player-glue-worker.js +127 -0
- package/package.json +1 -1
|
@@ -180,6 +180,16 @@ export type AddEdgeInput = {
|
|
|
180
180
|
/** Optional edge weight. */
|
|
181
181
|
weight?: InputMaybe<Scalars['Float']['input']>;
|
|
182
182
|
};
|
|
183
|
+
export type AdmitAppCodeInput = {
|
|
184
|
+
/** Numeric app id whose allow list receives this entry. */
|
|
185
|
+
appId: Scalars['BigInt']['input'];
|
|
186
|
+
/** Admit one code listing, author user, or authoring org. */
|
|
187
|
+
subjectKind: CodeAdmissionSubjectKind;
|
|
188
|
+
/** Stable id of the subject (listing UUID, numeric user id, or numeric org id). */
|
|
189
|
+
subjectRef: Scalars['String']['input'];
|
|
190
|
+
/** Optional P1 version range: exact "3", inclusive "2-5", ">=4", or "<=9". Omit to admit all versions. */
|
|
191
|
+
versionRange?: InputMaybe<Scalars['String']['input']>;
|
|
192
|
+
};
|
|
183
193
|
/** A publishable application (game/experience) owned by an organization. Its discoverability is controlled by visibility and its lifecycle by status. */
|
|
184
194
|
export type App = {
|
|
185
195
|
__typename?: 'App';
|
|
@@ -187,6 +197,8 @@ export type App = {
|
|
|
187
197
|
appId: Scalars['BigInt']['output'];
|
|
188
198
|
/** OAuth client type: "public" (browser/PKCE, no secret) or "confidential" (server-side, holds a secret). Defaults to "public". */
|
|
189
199
|
clientType: Scalars['String']['output'];
|
|
200
|
+
/** Player-code censorship mode: "implicit_allow" (default/off) or "allow_list" (strict admission of every running artifact, including self-authored code). */
|
|
201
|
+
codeAdmissionMode: Scalars['String']['output'];
|
|
190
202
|
/** Timestamp when the app was created. */
|
|
191
203
|
createdAt: Scalars['DateTime']['output'];
|
|
192
204
|
/** Numeric user id of the account that created the app. */
|
|
@@ -197,6 +209,10 @@ export type App = {
|
|
|
197
209
|
description: Maybe<Scalars['String']['output']>;
|
|
198
210
|
/** 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. */
|
|
199
211
|
gameApiUrl: Maybe<Scalars['String']['output']>;
|
|
212
|
+
/** Player user ids allowed to approve grid claim requests in "approval" mode. When empty, approval falls back to org staff holding manage_compute. */
|
|
213
|
+
gridClaimApproverUserIds: Array<Scalars['String']['output']>;
|
|
214
|
+
/** How a player claim confers grid ownership (D4): "self_claim" (the claim right alone; default), "approval" (designated approvers accept claim requests), "invite" (standing invites only), or "marketplace_only" (only a marketplace grid purchase; the purchase edge ships in P4b). */
|
|
215
|
+
gridClaimPolicy: Scalars['String']['output'];
|
|
200
216
|
/** True for first-party/trusted apps: portal entry skips the consent screen. The Overworld (app 1) is trusted. Studio admins cannot set this; it is platform-controlled. */
|
|
201
217
|
isTrusted: Scalars['Boolean']['output'];
|
|
202
218
|
/** 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. */
|
|
@@ -308,6 +324,26 @@ export type AppBudget = {
|
|
|
308
324
|
/** When the budget was last updated (ISO-8601 UTC timestamp). */
|
|
309
325
|
updatedAt: Scalars['DateTime']['output'];
|
|
310
326
|
};
|
|
327
|
+
/** An active or revoked app code-admission entry. Admission controls execution only; it never grants source access. */
|
|
328
|
+
export type AppCodeAdmission = {
|
|
329
|
+
__typename?: 'AppCodeAdmission';
|
|
330
|
+
/** UUID of this admission record. */
|
|
331
|
+
admissionId: Scalars['String']['output'];
|
|
332
|
+
/** When the entry was admitted. */
|
|
333
|
+
admittedAt: Scalars['DateTime']['output'];
|
|
334
|
+
/** Numeric user id of the org member who admitted the subject. */
|
|
335
|
+
admittedBy: Scalars['BigInt']['output'];
|
|
336
|
+
/** Numeric app id whose code-admission policy owns this entry. */
|
|
337
|
+
appId: Scalars['BigInt']['output'];
|
|
338
|
+
/** When the entry was revoked; null while active. */
|
|
339
|
+
revokedAt: Maybe<Scalars['DateTime']['output']>;
|
|
340
|
+
/** Whether this entry admits code, an author, or an org. */
|
|
341
|
+
subjectKind: CodeAdmissionSubjectKind;
|
|
342
|
+
/** Stable id of the admitted subject (listing UUID, user id, or org id). */
|
|
343
|
+
subjectRef: Scalars['String']['output'];
|
|
344
|
+
/** Optional P1 version range: exact "3", inclusive "2-5", ">=4", or "<=9". Null admits all versions; invalid expressions fail closed at runtime. */
|
|
345
|
+
versionRange: Maybe<Scalars['String']['output']>;
|
|
346
|
+
};
|
|
311
347
|
/** Where an app runs: none (draft), shared (the shared game-api), or dedicated (a provisioned environment). */
|
|
312
348
|
export declare enum AppDeploymentTarget {
|
|
313
349
|
/** Runs on a dedicated, org-provisioned environment. */
|
|
@@ -358,6 +394,20 @@ export type AppMarketplaceFilterInput = {
|
|
|
358
394
|
/** Free-text search applied to app name and description (case-insensitive substring match). Omit for no text filter. */
|
|
359
395
|
query?: InputMaybe<Scalars['String']['input']>;
|
|
360
396
|
};
|
|
397
|
+
/** Per-player usage row for studio diagnostics (top spenders / quota utilization): one (player, app) aggregate over a window. */
|
|
398
|
+
export type AppPlayerUsageRow = {
|
|
399
|
+
__typename?: 'AppPlayerUsageRow';
|
|
400
|
+
/** Player automation units used. */
|
|
401
|
+
automationUnits: Scalars['BigInt']['output'];
|
|
402
|
+
/** Cents charged in the window. */
|
|
403
|
+
chargedCents: Scalars['BigInt']['output'];
|
|
404
|
+
/** Compile submissions. */
|
|
405
|
+
compileCount: Scalars['Int']['output'];
|
|
406
|
+
/** Player compute units used. */
|
|
407
|
+
computeUnits: Scalars['BigInt']['output'];
|
|
408
|
+
/** The player (grid owner). */
|
|
409
|
+
userId: Scalars['BigInt']['output'];
|
|
410
|
+
};
|
|
361
411
|
/** The shared-environment runtime gate + current billing-window usage for an app. */
|
|
362
412
|
export type AppRuntimeState = {
|
|
363
413
|
__typename?: 'AppRuntimeState';
|
|
@@ -567,6 +617,18 @@ export type AppsPage = {
|
|
|
567
617
|
/** Pagination metadata: totalCount (total matches ignoring limit/offset) plus the applied limit and offset. */
|
|
568
618
|
pageInfo: PageInfo;
|
|
569
619
|
};
|
|
620
|
+
export type AssignGridOwnershipInput = {
|
|
621
|
+
/** App that contains the grid. */
|
|
622
|
+
appId: Scalars['BigInt']['input'];
|
|
623
|
+
/** Required for RENTED tenure; omitted for permanent ownership. */
|
|
624
|
+
expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
625
|
+
/** Grid to assign. */
|
|
626
|
+
gridId: Scalars['BigInt']['input'];
|
|
627
|
+
/** User id receiving title. P1 only permits user owners. */
|
|
628
|
+
ownerUserId: Scalars['BigInt']['input'];
|
|
629
|
+
/** OWNED (default) or RENTED. */
|
|
630
|
+
tenure?: InputMaybe<GridTenure>;
|
|
631
|
+
};
|
|
570
632
|
/** Grant runtime permission keys to a group (optionally one role) on a grid (writes the grid_group_grants input table). */
|
|
571
633
|
export type AssignGroupToGridInput = {
|
|
572
634
|
/** The app (tenant) that owns the grid. */
|
|
@@ -761,7 +823,7 @@ export type CheckoutFilterInput = {
|
|
|
761
823
|
/** Only return checkouts created by this user (BigInt as a decimal string). */
|
|
762
824
|
userId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
763
825
|
};
|
|
764
|
-
/** Why the checkout exists. Drives which side effect runs on webhook completion: ORG_WALLET_TOPUP credits an org_wallet; APP_ACCESS_PURCHASE upserts app_user_access; DONATION inserts donations; PROPERTY_TOKENS credits property_tokens; SHARED_APP_SUBSCRIPTION activates a paid shared-environment app slot. */
|
|
826
|
+
/** Why the checkout exists. Drives which side effect runs on webhook completion: ORG_WALLET_TOPUP credits an org_wallet; PLAYER_WALLET_TOPUP credits the caller's player_wallet; APP_ACCESS_PURCHASE upserts app_user_access; DONATION inserts donations; PROPERTY_TOKENS credits property_tokens; SHARED_APP_SUBSCRIPTION activates a paid shared-environment app slot. */
|
|
765
827
|
export declare enum CheckoutPurpose {
|
|
766
828
|
/** Purchase a user's access to an app at a given tier. Requires appId and tierId. Upserts app_user_access on completion. */
|
|
767
829
|
AppAccessPurchase = "APP_ACCESS_PURCHASE",
|
|
@@ -772,6 +834,8 @@ export declare enum CheckoutPurpose {
|
|
|
772
834
|
Donation = "DONATION",
|
|
773
835
|
/** Add funds to an organization wallet. Requires orgId and amountCents, and the caller must hold the org "manage_billing" permission. Credits the org wallet on completion. */
|
|
774
836
|
OrgWalletTopup = "ORG_WALLET_TOPUP",
|
|
837
|
+
/** Add funds to the caller's own player wallet (player compute P2). Requires amountCents only — any authenticated user may fund their own wallet; no org permission is involved. Credits the player wallet idempotently on completion. */
|
|
838
|
+
PlayerWalletTopup = "PLAYER_WALLET_TOPUP",
|
|
775
839
|
/**
|
|
776
840
|
* Deprecated. Historically a purchase of in-world property tokens. No longer purchasable and rejected at runtime by createCheckout.
|
|
777
841
|
* @deprecated No longer purchasable; use ORG_WALLET_TOPUP or APP_ACCESS_PURCHASE. Retained for historical checkouts.
|
|
@@ -1339,6 +1403,39 @@ export type ClientTextPacketInput = {
|
|
|
1339
1403
|
/** A unique identifier for the text source (typically the player UUID). Must be exactly 32 bytes when encoded as UTF-8. */
|
|
1340
1404
|
uuid: Scalars['String']['input'];
|
|
1341
1405
|
};
|
|
1406
|
+
/** Controls player-code censorship for an app. IMPLICIT_ALLOW admits lawful code by default; ALLOW_LIST requires every code target, including self-authored code, to match an active code/author/org admission. */
|
|
1407
|
+
export declare enum CodeAdmissionMode {
|
|
1408
|
+
AllowList = "ALLOW_LIST",
|
|
1409
|
+
ImplicitAllow = "IMPLICIT_ALLOW"
|
|
1410
|
+
}
|
|
1411
|
+
/** The identity admitted by an app code allow-list entry: one code listing, one author user, or one authoring organization. */
|
|
1412
|
+
export declare enum CodeAdmissionSubjectKind {
|
|
1413
|
+
Author = "AUTHOR",
|
|
1414
|
+
Code = "CODE",
|
|
1415
|
+
Org = "ORG"
|
|
1416
|
+
}
|
|
1417
|
+
/** One entry in the T11 commerce risk queue (studio/operator moderation). */
|
|
1418
|
+
export type CommerceRiskFlag = {
|
|
1419
|
+
__typename?: 'CommerceRiskFlag';
|
|
1420
|
+
/** App the flag belongs to. */
|
|
1421
|
+
appId: Scalars['BigInt']['output'];
|
|
1422
|
+
/** When the flag was raised. */
|
|
1423
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1424
|
+
/** Detail note. */
|
|
1425
|
+
detail: Maybe<Scalars['String']['output']>;
|
|
1426
|
+
/** Flag row id. */
|
|
1427
|
+
flagId: Scalars['String']['output'];
|
|
1428
|
+
/** Flag kind: 'buyer_velocity', 'listing_velocity', 'same_party', 'chargeback', or 'manual'. */
|
|
1429
|
+
kind: Scalars['String']['output'];
|
|
1430
|
+
/** Related order UUID, if any. */
|
|
1431
|
+
orderId: Maybe<Scalars['String']['output']>;
|
|
1432
|
+
/** 'open', 'released', or 'confirmed'. */
|
|
1433
|
+
status: Scalars['String']['output'];
|
|
1434
|
+
/** Subject: 'user' or 'org'. */
|
|
1435
|
+
subjectKind: Scalars['String']['output'];
|
|
1436
|
+
/** Subject user or org id. */
|
|
1437
|
+
subjectRef: Scalars['BigInt']['output'];
|
|
1438
|
+
};
|
|
1342
1439
|
/** Complete a magic-link sign-in with the emailed token. */
|
|
1343
1440
|
export type CompleteLoginLinkInput = {
|
|
1344
1441
|
/** The one-time token from the magic-link URL. */
|
|
@@ -1843,6 +1940,30 @@ export type CreateGridInput = {
|
|
|
1843
1940
|
/** The opposite corner of the grid box, in chunk coordinates. May equal corner1 for a single-chunk grid. */
|
|
1844
1941
|
corner2: ChunkCoordinatesInput;
|
|
1845
1942
|
};
|
|
1943
|
+
export type CreateGridListingInput = {
|
|
1944
|
+
/** App the listing belongs to. */
|
|
1945
|
+
appId: Scalars['BigInt']['input'];
|
|
1946
|
+
/** JSON bounds/placement config (blueprint listings). */
|
|
1947
|
+
blueprintConfigJson?: InputMaybe<Scalars['String']['input']>;
|
|
1948
|
+
/** Player-code keys the sale confers (e.g. write/run server/client). */
|
|
1949
|
+
conferredPermissionKeys?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1950
|
+
/** Store description. */
|
|
1951
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
1952
|
+
/** The concrete grid id being sold (concrete listings). */
|
|
1953
|
+
gridId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1954
|
+
/** 'blueprint' or 'concrete'. */
|
|
1955
|
+
kind: Scalars['String']['input'];
|
|
1956
|
+
/** Display name. */
|
|
1957
|
+
name: Scalars['String']['input'];
|
|
1958
|
+
/** Price in cents. */
|
|
1959
|
+
priceCents: Scalars['Int']['input'];
|
|
1960
|
+
/** JSON per-grid quota preset bound on purchase. */
|
|
1961
|
+
quotaPresetJson?: InputMaybe<Scalars['String']['input']>;
|
|
1962
|
+
/** Resale policy: 'no_resale' (default), 'resale_free', or 'resale_with_studio_cut'. */
|
|
1963
|
+
resalePolicy?: InputMaybe<Scalars['String']['input']>;
|
|
1964
|
+
/** Studio cut (bps) taken on resales, when resale_with_studio_cut. */
|
|
1965
|
+
studioCutBps?: InputMaybe<Scalars['Int']['input']>;
|
|
1966
|
+
};
|
|
1846
1967
|
/** Result of createGrid. This is a hybrid result rather than a thrown error: inspect `error` first. When `error` is NO_ERROR the call succeeded and `grid` is populated; otherwise `grid` is null and `error` explains why. */
|
|
1847
1968
|
export type CreateGridResponse = {
|
|
1848
1969
|
__typename?: 'CreateGridResponse';
|
|
@@ -1886,6 +2007,40 @@ export type CreateOrganizationInput = {
|
|
|
1886
2007
|
/** Unique URL slug; lowercase letters, numbers, and dashes only (1-128 characters). */
|
|
1887
2008
|
slug: Scalars['String']['input'];
|
|
1888
2009
|
};
|
|
2010
|
+
/** Create a grid-confined player automation. Trigger and action are strict JSON shapes; owner/app/grid selectors cannot be supplied. */
|
|
2011
|
+
export type CreatePlayerAutomationInput = {
|
|
2012
|
+
/** Strict action JSON. Use {"kind":"studio_model_invoke","functionName":"...","selfContainerId":"...","params":{}} or {"kind":"player_compute_invoke","moduleName":"...","exportName":"...","params":{}}. Selectors and caller identity are forbidden. */
|
|
2013
|
+
actionJson: Scalars['String']['input'];
|
|
2014
|
+
/** App containing the owned grid. */
|
|
2015
|
+
appId: Scalars['BigInt']['input'];
|
|
2016
|
+
/** Circuit cooldown in milliseconds. Default 60000; minimum 1. */
|
|
2017
|
+
cooldownMs?: InputMaybe<Scalars['Int']['input']>;
|
|
2018
|
+
/** Optional description. */
|
|
2019
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2020
|
+
/** Consecutive failures before the circuit opens. Default 5; minimum 1. */
|
|
2021
|
+
failureThreshold?: InputMaybe<Scalars['Int']['input']>;
|
|
2022
|
+
/** Grid that confines the automation. */
|
|
2023
|
+
gridId: Scalars['BigInt']['input'];
|
|
2024
|
+
/** Per-automation run limit per rolling minute. Default 60; minimum 1. */
|
|
2025
|
+
maxRunsPerMinute?: InputMaybe<Scalars['Int']['input']>;
|
|
2026
|
+
/** Name unique for the current owner in this grid. */
|
|
2027
|
+
name: Scalars['String']['input'];
|
|
2028
|
+
/** Strict trigger JSON. Schedule: {"kind":"schedule","scheduleKind":"interval","intervalMs":2000} or cron with cronExpr. Event: {"kind":"event","eventKind":"owner_container_changed|grid_actor_changed|grid_voxel_changed|compute_event"}; compute_event may include eventName. */
|
|
2029
|
+
triggerJson: Scalars['String']['input'];
|
|
2030
|
+
};
|
|
2031
|
+
/** Create a flexible player-owned model container inside one grid. The caller must currently own the grid; owner identity cannot be supplied. */
|
|
2032
|
+
export type CreatePlayerModelContainerInput = {
|
|
2033
|
+
/** App containing the owned grid. */
|
|
2034
|
+
appId: Scalars['BigInt']['input'];
|
|
2035
|
+
/** Optional player-facing name, unique within the owner/grid/type tuple. */
|
|
2036
|
+
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
2037
|
+
/** Grid that confines the container. */
|
|
2038
|
+
gridId: Scalars['BigInt']['input'];
|
|
2039
|
+
/** Optional JSON object stored as untyped container state. */
|
|
2040
|
+
stateJson?: InputMaybe<Scalars['String']['input']>;
|
|
2041
|
+
/** Flexible instance kit key. Defaults to 'PlayerData'; this does not author a studio model type. */
|
|
2042
|
+
typeKey?: InputMaybe<Scalars['String']['input']>;
|
|
2043
|
+
};
|
|
1889
2044
|
/** Input for createPortalAuthorizationCode: the Overworld (identity origin, holding the session token) mints a one-time code the destination game exchanges for an app token. Browser handoff path; pair with a PKCE verifier held by the destination game origin. */
|
|
1890
2045
|
export type CreatePortalAuthorizationCodeInput = {
|
|
1891
2046
|
/** Numeric id of the target app the player is portaling into. */
|
|
@@ -1962,6 +2117,28 @@ export type DeployComputeVersionInput = {
|
|
|
1962
2117
|
/** JSON object mapping relative paths to file contents. Must include Cargo.toml and src/lib.rs; only .rs files under src/ plus Cargo.toml are allowed. Dependencies are restricted to the platform crate allowlist; build.rs and [build-dependencies] are rejected. */
|
|
1963
2118
|
sourceFilesJson: Scalars['String']['input'];
|
|
1964
2119
|
};
|
|
2120
|
+
export type DeployPlayerComputeInput = {
|
|
2121
|
+
/** Guest ABI version. P1 supports ABI 0. */
|
|
2122
|
+
abiVersion?: InputMaybe<Scalars['Int']['input']>;
|
|
2123
|
+
/** App containing the owned grid. */
|
|
2124
|
+
appId: Scalars['BigInt']['input'];
|
|
2125
|
+
/** Optional player-facing module description. */
|
|
2126
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2127
|
+
/** Deploy in draft mode (live-coding iteration): the module runs for its author but its spatial egress is suppressed server-side, so no other session in the grid observes its world effects. Omit or false for a normal deploy. */
|
|
2128
|
+
draft?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2129
|
+
/** Owned grid that confines server execution. */
|
|
2130
|
+
gridId: Scalars['BigInt']['input'];
|
|
2131
|
+
/** Lowercase crate-style module name, unique within the grid. */
|
|
2132
|
+
name: Scalars['String']['input'];
|
|
2133
|
+
/** Pinned crowdy-compute-sdk version. Defaults to 0.1.5. */
|
|
2134
|
+
sdkVersion?: InputMaybe<Scalars['String']['input']>;
|
|
2135
|
+
/** JSON object mapping Cargo.toml and src/*.rs relative paths to source. P1 player caps: at most 8 files, 64 KiB/file, 256 KiB total. */
|
|
2136
|
+
sourceFilesJson: Scalars['String']['input'];
|
|
2137
|
+
/** SERVER or CLIENT compile target. */
|
|
2138
|
+
target: PlayerComputeTarget;
|
|
2139
|
+
/** Optional server tick rate in Hz. Omit for invoke/event-only modules or CLIENT artifacts. Clamped by the effective player/app policy. */
|
|
2140
|
+
tickHz?: InputMaybe<Scalars['Float']['input']>;
|
|
2141
|
+
};
|
|
1965
2142
|
export type DestroyEnvironmentInput = {
|
|
1966
2143
|
/** Optional idempotency key. Recommended for retries: replaying with the same key and identical input returns the first result instead of re-applying; the same key with different input returns IDEMPOTENCY_CONFLICT. Keys expire after 24h. */
|
|
1967
2144
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3007,6 +3184,59 @@ export type Grid = {
|
|
|
3007
3184
|
/** Low (minimum x/y/z) corner chunk of the box. */
|
|
3008
3185
|
low_chunk: ChunkCoordinates;
|
|
3009
3186
|
};
|
|
3187
|
+
/** How a player claim confers grid ownership in this app (D4): SELF_CLAIM (the claim alone assigns ownership), APPROVAL (claims create requests designated approvers accept), INVITE (only against a standing invite), or MARKETPLACE_ONLY (only a marketplace grid purchase; direct claims refused — the purchase edge ships in P4b). */
|
|
3188
|
+
export declare enum GridClaimPolicy {
|
|
3189
|
+
Approval = "APPROVAL",
|
|
3190
|
+
Invite = "INVITE",
|
|
3191
|
+
MarketplaceOnly = "MARKETPLACE_ONLY",
|
|
3192
|
+
SelfClaim = "SELF_CLAIM"
|
|
3193
|
+
}
|
|
3194
|
+
/** A pending or decided grid claim request (claim policy 'approval'). Approval assigns grid_ownership to the requester. */
|
|
3195
|
+
export type GridClaimRequest = {
|
|
3196
|
+
__typename?: 'GridClaimRequest';
|
|
3197
|
+
/** App of the grid. */
|
|
3198
|
+
appId: Scalars['BigInt']['output'];
|
|
3199
|
+
/** When the request was created. */
|
|
3200
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3201
|
+
/** The grid being claimed. */
|
|
3202
|
+
gridId: Scalars['BigInt']['output'];
|
|
3203
|
+
/** UUID of the request. */
|
|
3204
|
+
requestId: Scalars['String']['output'];
|
|
3205
|
+
/** The requesting player. */
|
|
3206
|
+
requesterUserId: Scalars['BigInt']['output'];
|
|
3207
|
+
/** Request status: 'pending', 'approved', 'denied', or 'cancelled'. */
|
|
3208
|
+
status: Scalars['String']['output'];
|
|
3209
|
+
};
|
|
3210
|
+
/** Result of claimGridOwnership: either ownership was assigned now (SELF_CLAIM / INVITE) or a claim request was created (APPROVAL). MARKETPLACE_ONLY apps refuse direct claims. */
|
|
3211
|
+
export type GridClaimResult = {
|
|
3212
|
+
__typename?: 'GridClaimResult';
|
|
3213
|
+
/** UUID of the created claim request in APPROVAL mode; null otherwise. */
|
|
3214
|
+
claimRequestId: Maybe<Scalars['String']['output']>;
|
|
3215
|
+
/** True when the caller now owns the grid. */
|
|
3216
|
+
ownershipAssigned: Scalars['Boolean']['output'];
|
|
3217
|
+
/** The app policy that was applied. */
|
|
3218
|
+
policy: GridClaimPolicy;
|
|
3219
|
+
};
|
|
3220
|
+
/** A grid-attached client mod (a bundle's client half installed on a grid). Players present in the grid may fetch and run it only after per-player consent to its capability hash — the D2 pattern that lets grid authors run client compute on visitors (e.g. relaying actor updates to the grid's server compute). */
|
|
3221
|
+
export type GridClientMod = {
|
|
3222
|
+
__typename?: 'GridClientMod';
|
|
3223
|
+
/** UUID of the grid attachment. */
|
|
3224
|
+
attachmentId: Scalars['String']['output'];
|
|
3225
|
+
/** Whether the calling player has already consented to this attachment. */
|
|
3226
|
+
callerConsented: Scalars['Boolean']['output'];
|
|
3227
|
+
/** Capability hash a player must consent to before fetching. */
|
|
3228
|
+
capabilityHash: Scalars['String']['output'];
|
|
3229
|
+
/** JSON derived capability summary of the pinned version. */
|
|
3230
|
+
capabilitySummaryJson: Scalars['String']['output'];
|
|
3231
|
+
/** The grid the client mod is attached to. */
|
|
3232
|
+
gridId: Scalars['BigInt']['output'];
|
|
3233
|
+
/** UUID of the listing. */
|
|
3234
|
+
listingId: Scalars['String']['output'];
|
|
3235
|
+
/** Listing display name. */
|
|
3236
|
+
listingName: Scalars['String']['output'];
|
|
3237
|
+
/** UUID of the pinned listing version. */
|
|
3238
|
+
versionId: Scalars['String']['output'];
|
|
3239
|
+
};
|
|
3010
3240
|
/** A single group/role -> permission-key grant on a grid (one row of the grid_group_grants input table). */
|
|
3011
3241
|
export type GridGroupGrant = {
|
|
3012
3242
|
__typename?: 'GridGroupGrant';
|
|
@@ -3023,6 +3253,58 @@ export type GridGroupGrant = {
|
|
|
3023
3253
|
/** The runtime permission key string granted to the group/role. */
|
|
3024
3254
|
permissionKey: Scalars['String']['output'];
|
|
3025
3255
|
};
|
|
3256
|
+
/** A grid listing available in the app store (P4b): a blueprint that stamps a fresh grid per purchase, or a concrete grid. Buying it confers grid_ownership + the listed player-code keys + the quota preset atomically. */
|
|
3257
|
+
export type GridListing = {
|
|
3258
|
+
__typename?: 'GridListing';
|
|
3259
|
+
/** App the listing belongs to. */
|
|
3260
|
+
appId: Scalars['BigInt']['output'];
|
|
3261
|
+
/** Player-code keys conferred on purchase. */
|
|
3262
|
+
conferredPermissionKeys: Array<Scalars['String']['output']>;
|
|
3263
|
+
/** Store description. */
|
|
3264
|
+
description: Scalars['String']['output'];
|
|
3265
|
+
/** UUID of the grid listing. */
|
|
3266
|
+
gridListingId: Scalars['String']['output'];
|
|
3267
|
+
/** 'blueprint' or 'concrete'. */
|
|
3268
|
+
kind: Scalars['String']['output'];
|
|
3269
|
+
/** Display name. */
|
|
3270
|
+
name: Scalars['String']['output'];
|
|
3271
|
+
/** Price in cents. */
|
|
3272
|
+
priceCents: Scalars['Int']['output'];
|
|
3273
|
+
/** Resale policy for the grid. */
|
|
3274
|
+
resalePolicy: Scalars['String']['output'];
|
|
3275
|
+
/** Catalog status: 'active' or 'delisted'. */
|
|
3276
|
+
status: Scalars['String']['output'];
|
|
3277
|
+
/** Studio cut (bps) on resale, when applicable. */
|
|
3278
|
+
studioCutBps: Scalars['Int']['output'];
|
|
3279
|
+
};
|
|
3280
|
+
/** Kind of principal holding grid title. P1 can assign USER owners; GROUP and ORG are schema-reserved for future shared ownership. */
|
|
3281
|
+
export declare enum GridOwnerKind {
|
|
3282
|
+
Group = "GROUP",
|
|
3283
|
+
Org = "ORG",
|
|
3284
|
+
User = "USER"
|
|
3285
|
+
}
|
|
3286
|
+
/** The current first-class ownership record for a grid. Server player code always resolves its execution identity from this record. */
|
|
3287
|
+
export type GridOwnership = {
|
|
3288
|
+
__typename?: 'GridOwnership';
|
|
3289
|
+
/** When this ownership began. */
|
|
3290
|
+
acquiredAt: Scalars['DateTime']['output'];
|
|
3291
|
+
/** Audit origin of this ownership (for example studio_grant, transfer, or marketplace). */
|
|
3292
|
+
acquiredVia: Scalars['String']['output'];
|
|
3293
|
+
/** App that contains the grid. */
|
|
3294
|
+
appId: Scalars['BigInt']['output'];
|
|
3295
|
+
/** Rental expiry; null for permanent ownership. */
|
|
3296
|
+
expiresAt: Maybe<Scalars['DateTime']['output']>;
|
|
3297
|
+
/** Owned grid id. */
|
|
3298
|
+
gridId: Scalars['BigInt']['output'];
|
|
3299
|
+
/** UUID of the ownership history row. */
|
|
3300
|
+
gridOwnershipId: Scalars['String']['output'];
|
|
3301
|
+
/** Kind of current owner. P1 supports USER. */
|
|
3302
|
+
ownerKind: GridOwnerKind;
|
|
3303
|
+
/** Numeric user/group/org id selected by ownerKind. */
|
|
3304
|
+
ownerRef: Scalars['BigInt']['output'];
|
|
3305
|
+
/** Permanent ownership or an expiring rental. */
|
|
3306
|
+
tenure: GridTenure;
|
|
3307
|
+
};
|
|
3026
3308
|
/** The permission-key whitelist configured for a grid (the grid_permission_limits input table). */
|
|
3027
3309
|
export type GridPermissionLimits = {
|
|
3028
3310
|
__typename?: 'GridPermissionLimits';
|
|
@@ -3033,6 +3315,19 @@ export type GridPermissionLimits = {
|
|
|
3033
3315
|
/** The permission keys this grid is limited to. Empty means no limit (every active grid permission is allowed). */
|
|
3034
3316
|
permissionKeys: Array<Scalars['String']['output']>;
|
|
3035
3317
|
};
|
|
3318
|
+
/** Result of purchasing a grid listing: the owned grid the buyer now holds. */
|
|
3319
|
+
export type GridPurchaseResult = {
|
|
3320
|
+
__typename?: 'GridPurchaseResult';
|
|
3321
|
+
/** The grid the buyer now owns. */
|
|
3322
|
+
gridId: Scalars['BigInt']['output'];
|
|
3323
|
+
/** True when ownership was assigned. */
|
|
3324
|
+
ownershipAssigned: Scalars['Boolean']['output'];
|
|
3325
|
+
};
|
|
3326
|
+
/** Whether the current title is permanent ownership or an expiring rental. */
|
|
3327
|
+
export declare enum GridTenure {
|
|
3328
|
+
Owned = "OWNED",
|
|
3329
|
+
Rented = "RENTED"
|
|
3330
|
+
}
|
|
3036
3331
|
/** A user's effective (materialized) runtime permissions on one grid: the flattened union of direct + group grants, with expired grants excluded, that Buddy enforces. */
|
|
3037
3332
|
export type GridUserPermissions = {
|
|
3038
3333
|
__typename?: 'GridUserPermissions';
|
|
@@ -3219,20 +3514,32 @@ export type MintAppTokenInput = {
|
|
|
3219
3514
|
};
|
|
3220
3515
|
export type Mutation = {
|
|
3221
3516
|
__typename?: 'Mutation';
|
|
3517
|
+
/** Acquire a free listing: writes the entitlement row (no payment edge exists in P4a — paid modes are P4b). Idempotent per (listing, caller). Allowed in any admission mode; in allow_list apps an unadmitted acquisition holds until the listing/author/org is admitted, at which point installPlayerCode proceeds. */
|
|
3518
|
+
acquirePlayerCode: PlayerCodeAcquisition;
|
|
3222
3519
|
/** Liveness heartbeat for the authenticated user's actors in an app. Refreshes actors.updated_at for every actor row the user owns so the user stays host-eligible, then returns the freshly-elected host (same shape as the gameHost query) so a client can fold its poll and heartbeat into one round-trip. Call on an interval shorter than HOST_ACTOR_FRESHNESS_SECONDS. Only refreshes rows that already exist (created by Buddy on chunk entry); returns null when no fresh actors exist for the app. */
|
|
3223
3520
|
actorHeartbeat: Maybe<GameHost>;
|
|
3224
3521
|
/** 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. */
|
|
3225
3522
|
addChannelMember: GroupMember;
|
|
3226
3523
|
/** Add a user to a team, or approve their pending join request (upsert to active). Requires the 'manage_members' team permission (app admins bypass). Auto-assigns the team's default role if configured. */
|
|
3227
3524
|
addTeamMember: GroupMember;
|
|
3525
|
+
/** Admit one player-code listing, author, or authoring org to an app's strict allow list. Requires 'manage_compute'. Idempotency is explicit: an identical active entry returns a conflict instead of silently creating duplicates. SIDE EFFECTS: audit row + replica sync. */
|
|
3526
|
+
admitAppCode: AppCodeAdmission;
|
|
3228
3527
|
/** Soft-delete an access tier by setting its status to 'archived' (the row is retained, NOT hard-deleted) and notifies the game API. Requires the 'manage_access_tiers' permission on the app that owns the tier; super admins bypass. Existing user grants on this tier are NOT automatically revoked. Throws if the tier is not found. */
|
|
3229
3528
|
archiveAccessTier: AppAccessTier;
|
|
3230
3529
|
/** Soft-delete an app by setting status=ARCHIVED. The row is retained (NOT hard-deleted) and is excluded from the public marketplace. REVERSIBLE: call updateApp to set status back to DRAFT or LIVE. Requires the 'manage_apps' permission on the app; super admins bypass. Throws if the app id does not exist. */
|
|
3231
3530
|
archiveApp: App;
|
|
3531
|
+
/** Assign first-class title for an unowned grid to one user. P1 studio/bootstrap path; marketplace acquisition supersedes it later. Requires app-admin ('manage_apps'). Assigns title only: permissions must be granted explicitly. */
|
|
3532
|
+
assignGridOwnership: GridOwnership;
|
|
3232
3533
|
/** Grant runtime permission keys to a group (optionally scoped to a single group role) on a grid by writing the `grid_group_grants` input table, then recompute the materialized effective ACL so every affected member gains the keys. Requires app-admin ('manage_apps'). Returns the grid's current group grants for the group. Use `grantGridPermissions` for per-user grants instead. */
|
|
3233
3534
|
assignGroupToGrid: Array<GridGroupGrant>;
|
|
3234
3535
|
/** Record the user's consent for an (untrusted) app to receive app-scoped tokens via the portal. Called from the Overworld consent screen before createPortalAuthorizationCode. Idempotent. Requires a SESSION token. */
|
|
3235
3536
|
authorizeApp: AppAuthorizationGrant;
|
|
3537
|
+
/** Begin Stripe Connect Express onboarding for an ORG's payout account (org-owned listings, DN-9). Requires 'manage_billing' in the org. */
|
|
3538
|
+
beginOrgSellerOnboarding: SellerOnboardingLink;
|
|
3539
|
+
/** Begin vaulting a card on the caller's player wallet (P4b): returns a Stripe SetupIntent client secret + publishable key for the browser to confirm. On success the card is saved for wallet auto-recharge and rent auto-renew. Closes the P2 gap where players had no card-setup path. */
|
|
3540
|
+
beginPlayerCardSetup: PlayerCardSetup;
|
|
3541
|
+
/** Begin Stripe Connect Express seller onboarding for the calling player (personal listings). Returns the hosted onboarding URL to finish KYC, or an unavailable reason in unsupported regions. Required before pricing a listing above free. */
|
|
3542
|
+
beginSellerOnboarding: SellerOnboardingLink;
|
|
3236
3543
|
/** 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. */
|
|
3237
3544
|
cancelSharedSubscription: AppSharedSubscription;
|
|
3238
3545
|
/** 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. */
|
|
@@ -3241,6 +3548,8 @@ export type Mutation = {
|
|
|
3241
3548
|
changePassword: Scalars['Boolean']['output'];
|
|
3242
3549
|
/** Self-service: the authenticated caller claims access to an app via its free, open-by-default tier. Requires authentication only (no org membership needed). ENTITLEMENT CHANGE: grants the free default tier as a 'system' grant and notifies the game API. Idempotent: returns the existing row if already granted, and never overrides a prior revoke. Errors if the app has no free default tier or is archived. */
|
|
3243
3550
|
claimFreeAppAccess: AppUserAccess;
|
|
3551
|
+
/** Claim grid ownership under the app's claim policy (D4, server-authorized — no client manage_apps involved). SELF_CLAIM assigns ownership immediately; APPROVAL creates a pending request for designated approvers; INVITE requires a standing invite (consumed on use); MARKETPLACE_ONLY refuses (ownership arrives only via grid purchase, P4b). The grid must exist and have no current owner; game rules gate who may attempt a claim. */
|
|
3552
|
+
claimGridOwnership: GridClaimResult;
|
|
3244
3553
|
/** Complete a magic-link sign-in with the emailed token; returns a session AuthResponse. Public (the token authorizes the call); throws if invalid/expired/used. */
|
|
3245
3554
|
completeLoginLink: AuthResponse;
|
|
3246
3555
|
/** Delete a compute module and (via cascade) its versions, triggers, and lease. Run history is retained for auditing. Returns true when a module was deleted. Requires the org 'manage_compute' permission. */
|
|
@@ -3265,6 +3574,8 @@ export type Mutation = {
|
|
|
3265
3574
|
confirmEmail: Scalars['Boolean']['output'];
|
|
3266
3575
|
/** Open the UDP proxy session for this game token (idempotent: returns the existing status if one is already open). Binds a socket and selects the game server with the fewest clients on first open. Optional: send mutations and udpNotifications also create a session lazily when none exists. To force a fresh socket, call disconnectUdpProxy first. */
|
|
3267
3576
|
connectUdpProxy: UdpProxyConnectionStatus;
|
|
3577
|
+
/** Consent to run a grid-attached client mod (D2): acknowledges the attachment's exact capability hash. A newer version with a widened summary carries a different hash, so stale consents fail closed — re-consent is always explicit. Consent is per player per attachment. */
|
|
3578
|
+
consentGridClientMod: Scalars['Boolean']['output'];
|
|
3268
3579
|
/** Operator only (is_operator). Patches the platform compute ceilings: omitted fields stay unchanged, an explicit null clears that override (game-api falls back to env/default), a value (> 0) sets it. SIDE EFFECTS: fans a replica notify out to every game-api so the new ceilings clamp computeSetPolicy within ~30 seconds without a restart, and writes an audit entry. Lowering a ceiling does not shrink already-stored per-app policies; it rejects future computeSetPolicy values above the new ceiling. Returns the updated ceilings row. */
|
|
3269
3580
|
cpSetComputePlatformCeilings: CpComputePlatformCeilings;
|
|
3270
3581
|
/** Create a new access tier (a free/paid bundle of runtime permissions) for an app. Requires the 'manage_access_tiers' permission on the app (input.appId); super admins bypass. SIDE EFFECTS: validates the tier's permission keys against runtimePermissions and notifies the game API so Buddy sees the new tier. Does NOT grant the tier to any user. */
|
|
@@ -3285,18 +3596,28 @@ export type Mutation = {
|
|
|
3285
3596
|
createEnvironment: CksEnvironmentDetail;
|
|
3286
3597
|
/** Create a grid: a named 3D box of chunks that runtime/world (voxel) permissions are scoped to. The box must fit within one of the app's grid assignments (its buildable regions); it MAY be nested inside a broader containing grid such as the open-by-default world grid, but must not partially overlap a peer grid. Requires app-admin ('manage_apps'). Returns a hybrid response — on success `grid` is populated and `error` is NO_ERROR; on failure `grid` is null and `error` is a UDP-style error code (e.g. NO_MATCHING_GRID_ASSIGNMENT, GRID_OUTSIDE_ASSIGNMENT, GRID_OVERLAPS_EXISTING, GRID_ALREADY_EXISTS). */
|
|
3287
3598
|
createGrid: CreateGridResponse;
|
|
3599
|
+
/** Create a studio grid listing (07 §1.1): a blueprint that stamps a fresh grid per sale, or a concrete grid. Requires 'manage_apps'. Purchase (in-game) confers grid_ownership + the listed keys + quota preset atomically. */
|
|
3600
|
+
createGridListing: GridListing;
|
|
3288
3601
|
/** 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). */
|
|
3289
3602
|
createOrgRole: OrgRole;
|
|
3603
|
+
/** Create an embedded-components Account Session for an ORG's payout account (org-owned listings, DN-9). Requires 'manage_billing' in the org. */
|
|
3604
|
+
createOrgSellerAccountSession: SellerAccountSession;
|
|
3290
3605
|
/** Mints a new org API token and returns the plaintext token exactly once - save it, since subsequent queries only show metadata. Requires the 'manage_tokens' permission on the target org (super admins bypass). */
|
|
3291
3606
|
createOrgToken: OrgTokenWithSecret;
|
|
3292
3607
|
/** Creates a new organization and makes the authenticated caller its owner (with full permissions). Requires a valid session token. */
|
|
3293
3608
|
createOrganization: Organization;
|
|
3294
3609
|
/** 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. */
|
|
3295
3610
|
createPortalAuthorizationCode: PortalAuthorizationCode;
|
|
3611
|
+
/** Create an Account Session for Stripe's EMBEDDED Connect components on the calling player's seller account (created on first call): the browser initializes Connect.js with the returned publishable key + client secret and mounts account-onboarding / payouts / balances INSIDE the platform UI. Client secrets are short-lived — re-request on expiry. The hosted-link flow (beginSellerOnboarding) remains the fallback. */
|
|
3612
|
+
createSellerAccountSession: SellerAccountSession;
|
|
3296
3613
|
/** Create a team. Whether the caller may create one is governed by the per-app team policy (app_group_policies: admin | member | anyone). The caller becomes the owner and is granted a system 'leader' role holding every team permission. New teams default to the app's default membership policy unless overridden. */
|
|
3297
3614
|
createTeam: Group;
|
|
3298
3615
|
/** Create a custom (non-system) team role granting the given team permission keys. Requires the 'manage_roles' team permission (app admins bypass). Permission keys must be valid team permission keys (group_permission_defs). */
|
|
3299
3616
|
createTeamRole: GroupRole;
|
|
3617
|
+
/** Release (settle held order + unfreeze payout) or confirm (uphold) a T11 risk flag. Requires 'manage_compute'. */
|
|
3618
|
+
decideCommerceRiskFlag: Scalars['Boolean']['output'];
|
|
3619
|
+
/** Approve or deny a pending grid claim request (claim policy APPROVAL). Callable by the app's designated approver users or studio staff holding manage_compute. Approval assigns grid_ownership to the requester. */
|
|
3620
|
+
decideGridClaim: GridClaimRequest;
|
|
3300
3621
|
/** DESTRUCTIVE: permanently deletes the actor identified by `uuid` and returns a copy of the now-deleted row. OWNER-EXCLUSIVE: only the owner may delete (throws Unauthorized otherwise). Requires a valid game token. `uuid` is the 32-character ASCII actor id. */
|
|
3301
3622
|
deleteActor: Actor;
|
|
3302
3623
|
/** DESTRUCTIVE: permanently deletes the avatar and returns a copy of the now-deleted row. OWNER-EXCLUSIVE: only the owner may delete (throws Unauthorized otherwise). Requires a valid game token. */
|
|
@@ -3313,6 +3634,8 @@ export type Mutation = {
|
|
|
3313
3634
|
deleteMyAccount: Scalars['Boolean']['output'];
|
|
3314
3635
|
/** 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. */
|
|
3315
3636
|
deleteOrgRole: Scalars['Boolean']['output'];
|
|
3637
|
+
/** Delete a player-compute policy row; covered players fall back to the next most general scope. Returns false when no matching row exists. Requires 'manage_compute'. */
|
|
3638
|
+
deletePlayerWasmPolicy: Scalars['Boolean']['output'];
|
|
3316
3639
|
/** Permanently deletes a quota enforcement rule by id. Returns true if a rule was removed, or false if no quota with that id exists. Destructive and not reversible: once removed, the metric falls back to the next-most-specific rule or the free-tier default. Requires the 'manage_quotas' permission on the same scope (app or org) the quota belongs to, or super admin for global quotas. */
|
|
3317
3640
|
deleteQuota: Scalars['Boolean']['output'];
|
|
3318
3641
|
/** Delete a team. Requires the 'manage_group' team permission (app admins bypass). DESTRUCTIVE: cascades to members, roles, and any grid grants the team conferred, and recomputes the effective grid ACL for affected grids. Returns true on success. */
|
|
@@ -3393,8 +3716,12 @@ export type Mutation = {
|
|
|
3393
3716
|
grantMyAppAccess: AppUserAccess;
|
|
3394
3717
|
/** Operator only (is_operator). Ingests a release manifest into cks_environment_versions, making the version deployable, and writes an audit entry. Use force to overwrite an existing row. */
|
|
3395
3718
|
ingestEnvironmentVersion: CpEnvironmentVersionRow;
|
|
3719
|
+
/** Install an acquired listing after consenting to its capability summary (echo the version's capabilityHash as consentCapabilityHash — a mismatch fails closed). Server halves register through the same P1 registry as instances in a grid the caller OWNS (requires run_server_code) and run as the grid owner on their quota/wallet — never as the author. Bundled client halves attach to the grid for per-visitor consent (D2); omitting gridId makes a personal client-only install. Fail-closed on entitlement, admission, consent, ownership, and run keys. */
|
|
3720
|
+
installPlayerCode: PlayerCodeInstall;
|
|
3396
3721
|
/** Adds a user to an organization as a member. Requires the 'manage_members' permission on the target org (super admins bypass). */
|
|
3397
3722
|
inviteOrgMember: OrgMember;
|
|
3723
|
+
/** Issue a standing grid claim invite (claim policy INVITE). Callable by designated approvers or studio staff holding manage_compute; the invitee then calls claimGridOwnership to take ownership. */
|
|
3724
|
+
issueGridClaimInvite: Scalars['Boolean']['output'];
|
|
3398
3725
|
/** Join a channel as the caller (subscribe to it). Honors the channel membership policy: open -> active immediately, request -> pending (a manager must approve), invite/admin -> rejected. On becoming active, Buddy is notified with the caller's effective send permission so routing starts. */
|
|
3399
3726
|
joinChannel: GroupMember;
|
|
3400
3727
|
/** Join a team as the caller. Honors the team membership policy: open -> active immediately, request -> pending (a manager must approve), invite/admin -> rejected. Banned users are rejected. No special permission required. */
|
|
@@ -3415,10 +3742,38 @@ export type Mutation = {
|
|
|
3415
3742
|
logoutAllDevices: Scalars['Boolean']['output'];
|
|
3416
3743
|
/** 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. */
|
|
3417
3744
|
mintAppToken: AppTokenResponse;
|
|
3745
|
+
/** Create a disabled player automation confined to the caller and one currently owned grid. Strict trigger/action validation rejects selectors, supplied identities, and app-wide shapes. */
|
|
3746
|
+
playerAutomationCreate: PlayerAutomation;
|
|
3747
|
+
/** Delete one caller-owned player automation from the specified currently owned grid. Destructive; recorded run rows remain for audit. */
|
|
3748
|
+
playerAutomationDelete: Scalars['Boolean']['output'];
|
|
3749
|
+
/** Enable or disable one caller-owned player automation. Enabling requires effective run_server_code and, in strict mode, author admission. Interval/cron triggers compute the first due time; the P1 dispatcher executes scheduled studio-model actions while event delivery and player-compute actions remain typed pending paths. */
|
|
3750
|
+
playerAutomationSetEnabled: PlayerAutomation;
|
|
3751
|
+
/** Delete a self-authored player module and its source versions. Only the code author may delete it, and they must still own the target grid. Returns false when no matching module exists. */
|
|
3752
|
+
playerComputeDelete: Scalars['Boolean']['output'];
|
|
3753
|
+
/** Deploy player-authored Rust into a grid the caller currently owns. Requires the target's write permission at both app-tier and grid ACL layers. One call creates/updates the module and publishes an immutable pending version; the shared compiler builds it asynchronously. Authoring is never admission-gated, but only the original author may replace closed source. */
|
|
3754
|
+
playerComputeDeploy: PlayerWasmModuleVersion;
|
|
3755
|
+
/** Synchronously invoke a server player-module export as the current grid owner. Requires the module to be enabled, compiled, admitted, and covered by run_server_code at app and grid scope. The runtime payload carries callerUserId/gridId; author identity never participates. */
|
|
3756
|
+
playerComputeInvoke: PlayerComputeInvokeResult;
|
|
3757
|
+
/** Enable or disable a player module. Enabling requires current grid ownership, the target's run permission, a successful compile, and admission when the app uses strict ALLOW_LIST mode. Write permission is not sufficient to run code. */
|
|
3758
|
+
playerComputeSetEnabled: PlayerWasmModule;
|
|
3759
|
+
/** Throw or release a player-compute kill switch at player, grid, app, or listing scope (the 03 §7 kill ladder). Throwing a switch stops the covered modules on the next scheduler pass; quota state is retained, and releasing resumes normally. LISTING scope (P4a) disables every install of a marketplace listing fleet-wide — pass the listing UUID in listingRef; pair it with the management-side catalog kill to also stop new acquisitions. Module-level disable is playerComputeSetEnabled. Requires the org 'manage_compute' permission. */
|
|
3760
|
+
playerComputeSetSwitch: Scalars['Boolean']['output'];
|
|
3761
|
+
/** Create a flexible player-model instance in a currently owned grid. The server forces ownerUserId to the caller; this cannot author studio types or app-wide rows. */
|
|
3762
|
+
playerModelCreateContainer: PlayerModelContainer;
|
|
3763
|
+
/** Delete one caller-owned player-model container and its properties from the specified currently owned grid. Destructive; foreign or absent IDs return NOT_FOUND. */
|
|
3764
|
+
playerModelDeleteContainer: Scalars['Boolean']['output'];
|
|
3765
|
+
/** Upsert one arbitrary JSON property on a caller-owned player-model container. Requires current ownership of the specified grid. */
|
|
3766
|
+
playerModelSetProperty: PlayerModelContainer;
|
|
3418
3767
|
/** 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 hourly usage is debited from the org wallet. Requires the 'manage_apps' permission on the app's org. Blocked when SHARED_GAME_API_URL is not configured. */
|
|
3419
3768
|
publishAppToShared: PublishAppResult;
|
|
3420
3769
|
/** Operator only (is_operator). Cuts a new environment release from a cks-game-api git tag: ingests it as available and commits the manifest to the git ref. SIDE EFFECT: makes the version the new redeploy target and writes to GitHub. Use force to overwrite. Writes an audit entry. */
|
|
3421
3770
|
publishEnvironmentReleaseFromGameApiTag: CpPublishEnvironmentReleaseResult;
|
|
3771
|
+
/** Create a marketplace listing (free mode) for code the caller authors — personally, or org-owned via ownerOrgId (DN-9; requires manage_compute in that org). SIDE EFFECTS: the catalog row is written on cks-management-api with an ownership audit entry and replica-synced back. Publishing never uploads source; versions snapshot artifact hashes only. */
|
|
3772
|
+
publishPlayerCode: PlayerCodeListing;
|
|
3773
|
+
/** Publish an immutable version under a listing from the caller's successfully compiled module versions (server and/or client — both makes a bundle). Snapshots ARTIFACT HASHES and the DERIVED capability summary; source never leaves the author's rows. Open-sourcing a version is irreversible for that version. Existing installs keep their pinned versions; a widened capability summary forces fresh consent on any new install. */
|
|
3774
|
+
publishPlayerCodeVersion: PlayerCodeListingVersion;
|
|
3775
|
+
/** Buy a grid listing with real money (P4b). Debits the player wallet management-side (platform/org split), then assigns grid_ownership + the listed player-code keys atomically; a failure to apply ownership refunds the charge. For blueprint listings, targetChunk picks where the fresh grid is stamped. This is the ownership path for marketplace_only-policy apps. */
|
|
3776
|
+
purchaseGrid: GridPurchaseResult;
|
|
3422
3777
|
/** DESTRUCTIVE. Permanently deletes a destroyed environment's record and all cascaded metadata from the platform; returns true on success. The environment must already be in status 'destroyed' (run destroyEnvironment first) and must not have deletion protection enabled, otherwise this fails. Does not touch cloud resources. Requires the 'manage_environments' org permission. */
|
|
3423
3778
|
purgeEnvironment: Scalars['Boolean']['output'];
|
|
3424
3779
|
/** Operator only (is_operator). Creates or overwrites an environment-delivered secret (injected into the tenant runtime) and writes an audit entry. SENSITIVE: plaintext is write-only and never returned. */
|
|
@@ -3429,6 +3784,8 @@ export type Mutation = {
|
|
|
3429
3784
|
redeployEnvironment: CksEnvironmentChangeOrder;
|
|
3430
3785
|
/** 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. */
|
|
3431
3786
|
refreshAppToken: AppTokenResponse;
|
|
3787
|
+
/** Request a refund of a paid acquisition (P4b). Allowed only within the refund window and before meaningful use (first install/fetch voids it), capped per buyer; a successful refund credits the wallet, reverses the ledger split, claws back the seller balance, revokes the acquisition, and drains installs. Returns cents refunded. */
|
|
3788
|
+
refundPlayerCodeAcquisition: Scalars['Int']['output'];
|
|
3432
3789
|
/** 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 (e.g. created via magic link/social), the password is attached pending email confirmation and no session is returned (throws CONFLICT). Public. */
|
|
3433
3790
|
register: AuthResponse;
|
|
3434
3791
|
/** 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. */
|
|
@@ -3439,10 +3796,14 @@ export type Mutation = {
|
|
|
3439
3796
|
removeSharedPaymentMethod: Scalars['Boolean']['output'];
|
|
3440
3797
|
/** Remove a member from a team. Requires the 'manage_members' team permission, except that any member may remove themselves. DESTRUCTIVE: drops the membership and its roles. Returns true if a membership was removed. */
|
|
3441
3798
|
removeTeamMember: Scalars['Boolean']['output'];
|
|
3799
|
+
/** Renew a RENT acquisition (or extend a TIME_LIMITED window): a wallet charge on the same acquisition that pushes its expiry out. A drained install resumes on the next scheduler pass without re-consent. Paid modes only (P4b). */
|
|
3800
|
+
renewPlayerCodeAcquisition: PlayerCodeAcquisition;
|
|
3442
3801
|
/** 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. */
|
|
3443
3802
|
requestLoginLink: RequestLoginLinkResult;
|
|
3444
3803
|
/** 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. */
|
|
3445
3804
|
requestPasswordReset: Scalars['Boolean']['output'];
|
|
3805
|
+
/** Pay out the calling player's payable balance to their Connect account (D6 minimum, 7-day delay, reserves enforced). Returns cents paid. */
|
|
3806
|
+
requestSellerPayout: Scalars['Int']['output'];
|
|
3446
3807
|
/** 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. */
|
|
3447
3808
|
requestToJoinChannel: GroupMember;
|
|
3448
3809
|
/** Request to join a request-only team (creates a pending membership a manager can approve via addTeamMember). Behaves identically to joinTeam; named for request-policy UIs. */
|
|
@@ -3459,6 +3820,8 @@ export type Mutation = {
|
|
|
3459
3820
|
revokeAppAccess: AppUserAccess;
|
|
3460
3821
|
/** Revoke a previously-granted app authorization and immediately revoke the user's live app tokens for it. Requires a SESSION token. */
|
|
3461
3822
|
revokeAppAuthorization: Scalars['Boolean']['output'];
|
|
3823
|
+
/** Revoke an active player-code admission. Requires 'manage_compute'. SIDE EFFECTS: audit row + replica sync; game-api drains affected server modules and blocks client artifact fetches on the next admission refresh. */
|
|
3824
|
+
revokeAppCodeAdmission: AppCodeAdmission;
|
|
3462
3825
|
/** Revoke a user's direct grants on a grid (deletes from the `grid_user_direct_grants` input table) and recompute their materialized effective ACL. Omit `permissionKeys` to remove ALL of the user's direct grants on the grid; pass a subset to remove only those keys. Does not affect permissions the user receives via group grants. Requires app-admin ('manage_apps'). DESTRUCTIVE for the targeted grants. Returns the user's remaining effective permission keys on the grid. */
|
|
3463
3826
|
revokeGridPermissions: GridUserPermissions;
|
|
3464
3827
|
/** 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. */
|
|
@@ -3485,6 +3848,12 @@ export type Mutation = {
|
|
|
3485
3848
|
setAppBudget: AppBudget;
|
|
3486
3849
|
/** Register/update an app's portal client settings (redirect_uris, client_type, launch_url). Requires manage_apps on the app and a SESSION token. */
|
|
3487
3850
|
setAppClientSettings: PortalConsentState;
|
|
3851
|
+
/** Set an app's player-code censorship mode. Requires 'manage_compute'. SIDE EFFECTS: writes an immutable audit row and replica-syncs the mode to game-api. Switching to ALLOW_LIST is strict: unadmitted code (including self-authored code) drains at the runtime activation gate; deploy/compile remain allowed. */
|
|
3852
|
+
setAppCodeAdmissionMode: CodeAdmissionMode;
|
|
3853
|
+
/** Set how a player claim confers grid ownership in this app (D4): SELF_CLAIM, APPROVAL (optionally with a designated approver list), INVITE, or MARKETPLACE_ONLY. Requires 'manage_apps'. SIDE EFFECTS: replica-syncs to game-api, where claimGridOwnership enforces the policy. Changing policy never revokes existing grid_ownership rows. */
|
|
3854
|
+
setAppGridClaimPolicy: GridClaimPolicy;
|
|
3855
|
+
/** Set the app's marketplace org revenue share in basis points (OQ-3; taken from the post-platform remainder). Requires 'manage_billing'. BWF uses 0. */
|
|
3856
|
+
setAppMarketplaceOrgShare: Scalars['Int']['output'];
|
|
3488
3857
|
/** Reserve sustained egress throughput for a shared app (bypasses the ~1 MB/s free-tier rate limit). Billed at $3/MB/s/month from the org wallet; upgrades are prorated for the current month. Requires 'manage_billing' on the app's org. */
|
|
3489
3858
|
setAppReservedThroughput: SetAppReservedThroughputResult;
|
|
3490
3859
|
/** 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. */
|
|
@@ -3503,10 +3872,22 @@ export type Mutation = {
|
|
|
3503
3872
|
setEnvironmentDeletionProtection: Scalars['Boolean']['output'];
|
|
3504
3873
|
/** Replace the whitelist of permission keys allowed on a grid (writes the `grid_permission_limits` input table), then recompute the grid's materialized effective ACL so any keys no longer on the whitelist are dropped for all users. Pass an empty array to remove all limits. Requires app-admin ('manage_apps'). DESTRUCTIVE: narrowing the whitelist can strip effective permissions from existing users on the grid. */
|
|
3505
3874
|
setGridPermissionLimits: GridPermissionLimits;
|
|
3875
|
+
/** Set (author-only) the acquisition mode and pricing for a code listing. Non-free modes require completed seller onboarding. Curation can reject a listing but never reprice it (07 §1.2). */
|
|
3876
|
+
setListingPricing: Scalars['Boolean']['output'];
|
|
3506
3877
|
/** Super-admin only. Flip users.is_operator to grant or revoke control-plane / operator access. */
|
|
3507
3878
|
setOperator: User;
|
|
3508
3879
|
/** Super admin only. Used to freeze/unfreeze orgs platform-wide. SIDE EFFECT: sets organizations.status, which gates the org's platform access. */
|
|
3509
3880
|
setOrgStatus: Organization;
|
|
3881
|
+
/** Configure the caller's player-wallet auto-recharge: enable/disable, per-period ceiling, recharge amount, and low-water threshold. Enabling requires a vaulted payment method. */
|
|
3882
|
+
setPlayerAutoBilling: PlayerAutoBilling;
|
|
3883
|
+
/** Change a listing's catalog status. DELISTED/ACTIVE are owner actions (existing installs keep their pinned versions; delisting only stops new acquisitions). KILLED requires 'manage_compute' on the app (studio/operator) and is the catalog half of the listing kill — pair it with the game-api listing-scope kill switch (playerComputeSetSwitch) to disable running installs fleet-wide. SIDE EFFECTS: audit row + replica sync. */
|
|
3884
|
+
setPlayerCodeListingStatus: PlayerCodeListing;
|
|
3885
|
+
/** Set the app's player rate-card markup (0..10000 basis points on the platform base price). Markup income accrues per charge to the org's income line and is paid out via the P4b payout ledger. Requires 'manage_billing'. */
|
|
3886
|
+
setPlayerRateMarkup: Scalars['Int']['output'];
|
|
3887
|
+
/** Set (or clear, by passing both limits null) one of the caller's self-set spend caps: a global or per-app daily/monthly ceiling in cents. Hitting a cap pauses that player's mods with PLAYER_SPEND_CAP until the window rolls — play is untouched. Changes replica-sync to the game runtime. */
|
|
3888
|
+
setPlayerSpendCap: Array<PlayerSpendCap>;
|
|
3889
|
+
/** Create or update a player-compute policy row at app_default, tier, grid, or user scope. Omitted knobs keep their current value; unitsPerHour/unitsPerDay set the PLAYER_QUOTA_EXHAUSTED budgets (null = uncapped). Every knob is additionally clamped by the app's studio compute policy at runtime, so a player policy can only tighten. Requires 'manage_compute'. */
|
|
3890
|
+
setPlayerWasmPolicy: PlayerWasmPolicy;
|
|
3510
3891
|
/** Creates or updates a quota enforcement rule (idempotent upsert keyed by org/app/tier + metric + period) and returns it. Scope is inferred from the input ids: an app-scoped rule requires the 'manage_quotas' app permission, an org-scoped rule requires the 'manage_quotas' org permission, and a global rule (no org/app/tier) requires super admin. Changes which limit `effectiveQuota` resolves for the metric; does not retroactively alter past usage. */
|
|
3511
3892
|
setQuota: ServiceQuota;
|
|
3512
3893
|
/** ADMIN PRIVILEGE CHANGE: grants or revokes platform super-admin on the target user, changing their privileges across the whole platform. Requires a super-admin bearer game token (and the management API enabled). NOTE: in cks-game-api super-admin checks always fail and the users table is management-owned — perform this via cks-management-api. */
|
|
@@ -3521,8 +3902,18 @@ export type Mutation = {
|
|
|
3521
3902
|
socialLoginComplete: AuthResponse;
|
|
3522
3903
|
/** 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. */
|
|
3523
3904
|
socialLoginStart: SocialLoginStart;
|
|
3905
|
+
/** Earn-to-mod: convert payable seller balance into the player wallet without a provider round-trip (07 §4.1). Returns cents credited. */
|
|
3906
|
+
spendPayoutBalanceToWallet: Scalars['Int']['output'];
|
|
3524
3907
|
/** Checks whether the authenticated user is allowed to teleport an actor to a destination within an app and returns the authorization result. This is an authorization check only — it does NOT itself move the actor; the UDP runtime performs the actual movement. Requires a valid bearer game token plus the app-level "teleport" runtime permission. Returns success=false with errorCode INVALID_APP_ID (non-positive appId), UNAUTHORIZED (reserved sentinel destination -6,-6,-6 or missing permission), or success=true / NO_ERROR when allowed. */
|
|
3525
3908
|
teleportRequest: TeleportResponse;
|
|
3909
|
+
/** Top up a COST_LIMITED acquisition's compute-unit budget: a wallet charge that adds the listing's unit budget to the license. Exhausted installs resume once the budget clears their consumed units. Paid modes only (P4b). */
|
|
3910
|
+
topUpPlayerCodeAcquisition: PlayerCodeAcquisition;
|
|
3911
|
+
/** Transfer grid title to another user. The current user owner or an app admin may transfer. DESTRUCTIVE/SECURITY-SENSITIVE: atomically disables every player module on the grid pending new-owner consent, wipes module state, removes the old owner direct grid grants, and closes the old title row. The new owner receives no implicit permissions. */
|
|
3912
|
+
transferGridOwnership: GridOwnership;
|
|
3913
|
+
/** Transfer a listing between personal and org ownership (DN-9). The caller must be the current owner (user-owned) or hold manage_compute in the owning org; transfers to an org require manage_compute in the receiving org. SIDE EFFECTS: append-only ownership audit row + replica sync to game-api. Ownership moves listing control and source-access rights; from P4b it also moves proceeds. */
|
|
3914
|
+
transferPlayerCodeListing: PlayerCodeListing;
|
|
3915
|
+
/** Uninstall: removes the registered instances, grid client attachments, and fetch rights. The acquisition row is RETAINED for audit; reinstalling later needs no new acquisition. Returns false when no matching active install exists. */
|
|
3916
|
+
uninstallPlayerCode: Scalars['Boolean']['output'];
|
|
3526
3917
|
/** Unlink a federated identity from the signed-in account by identityId. Refuses to remove your last remaining sign-in method. Requires a session token. */
|
|
3527
3918
|
unlinkIdentity: Scalars['Boolean']['output'];
|
|
3528
3919
|
/** Update an existing access tier (name, ordering, pricing, permissions, etc.); only fields present in the input are changed. Requires the 'manage_access_tiers' permission on the app that owns the tier (resolved from tierId); super admins bypass. SIDE EFFECTS: re-syncs the tier's permissions to the game API. Throws if the tier is not found or the caller lacks permission. */
|
|
@@ -3576,6 +3967,10 @@ export type Mutation = {
|
|
|
3576
3967
|
/** Operator only (is_operator). Yanks (withdraws) an environment version so it can no longer be deployed; existing environments are unaffected. Writes an audit entry. Returns true on success. */
|
|
3577
3968
|
yankEnvironmentVersion: Scalars['Boolean']['output'];
|
|
3578
3969
|
};
|
|
3970
|
+
export type MutationAcquirePlayerCodeArgs = {
|
|
3971
|
+
appId: Scalars['BigInt']['input'];
|
|
3972
|
+
listingId: Scalars['String']['input'];
|
|
3973
|
+
};
|
|
3579
3974
|
export type MutationActorHeartbeatArgs = {
|
|
3580
3975
|
appId: Scalars['BigInt']['input'];
|
|
3581
3976
|
};
|
|
@@ -3587,6 +3982,9 @@ export type MutationAddTeamMemberArgs = {
|
|
|
3587
3982
|
groupId: Scalars['BigInt']['input'];
|
|
3588
3983
|
userId: Scalars['BigInt']['input'];
|
|
3589
3984
|
};
|
|
3985
|
+
export type MutationAdmitAppCodeArgs = {
|
|
3986
|
+
input: AdmitAppCodeInput;
|
|
3987
|
+
};
|
|
3590
3988
|
export type MutationArchiveAccessTierArgs = {
|
|
3591
3989
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
3592
3990
|
tierId: Scalars['BigInt']['input'];
|
|
@@ -3595,12 +3993,22 @@ export type MutationArchiveAppArgs = {
|
|
|
3595
3993
|
appId: Scalars['BigInt']['input'];
|
|
3596
3994
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
3597
3995
|
};
|
|
3996
|
+
export type MutationAssignGridOwnershipArgs = {
|
|
3997
|
+
input: AssignGridOwnershipInput;
|
|
3998
|
+
};
|
|
3598
3999
|
export type MutationAssignGroupToGridArgs = {
|
|
3599
4000
|
input: AssignGroupToGridInput;
|
|
3600
4001
|
};
|
|
3601
4002
|
export type MutationAuthorizeAppArgs = {
|
|
3602
4003
|
input: AuthorizeAppInput;
|
|
3603
4004
|
};
|
|
4005
|
+
export type MutationBeginOrgSellerOnboardingArgs = {
|
|
4006
|
+
country: Scalars['String']['input'];
|
|
4007
|
+
orgId: Scalars['BigInt']['input'];
|
|
4008
|
+
};
|
|
4009
|
+
export type MutationBeginSellerOnboardingArgs = {
|
|
4010
|
+
country: Scalars['String']['input'];
|
|
4011
|
+
};
|
|
3604
4012
|
export type MutationCancelSharedSubscriptionArgs = {
|
|
3605
4013
|
appId: Scalars['BigInt']['input'];
|
|
3606
4014
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3616,6 +4024,10 @@ export type MutationChangePasswordArgs = {
|
|
|
3616
4024
|
export type MutationClaimFreeAppAccessArgs = {
|
|
3617
4025
|
appId: Scalars['BigInt']['input'];
|
|
3618
4026
|
};
|
|
4027
|
+
export type MutationClaimGridOwnershipArgs = {
|
|
4028
|
+
appId: Scalars['BigInt']['input'];
|
|
4029
|
+
gridId: Scalars['BigInt']['input'];
|
|
4030
|
+
};
|
|
3619
4031
|
export type MutationCompleteLoginLinkArgs = {
|
|
3620
4032
|
input: CompleteLoginLinkInput;
|
|
3621
4033
|
};
|
|
@@ -3658,6 +4070,11 @@ export type MutationComputeUpsertTriggerArgs = {
|
|
|
3658
4070
|
export type MutationConfirmEmailArgs = {
|
|
3659
4071
|
token: Scalars['String']['input'];
|
|
3660
4072
|
};
|
|
4073
|
+
export type MutationConsentGridClientModArgs = {
|
|
4074
|
+
appId: Scalars['BigInt']['input'];
|
|
4075
|
+
attachmentId: Scalars['String']['input'];
|
|
4076
|
+
consentCapabilityHash: Scalars['String']['input'];
|
|
4077
|
+
};
|
|
3661
4078
|
export type MutationCpSetComputePlatformCeilingsArgs = {
|
|
3662
4079
|
input: CpSetComputePlatformCeilingsInput;
|
|
3663
4080
|
};
|
|
@@ -3688,9 +4105,16 @@ export type MutationCreateEnvironmentArgs = {
|
|
|
3688
4105
|
export type MutationCreateGridArgs = {
|
|
3689
4106
|
input: CreateGridInput;
|
|
3690
4107
|
};
|
|
4108
|
+
export type MutationCreateGridListingArgs = {
|
|
4109
|
+
input: CreateGridListingInput;
|
|
4110
|
+
};
|
|
3691
4111
|
export type MutationCreateOrgRoleArgs = {
|
|
3692
4112
|
input: CreateOrgRoleInput;
|
|
3693
4113
|
};
|
|
4114
|
+
export type MutationCreateOrgSellerAccountSessionArgs = {
|
|
4115
|
+
country: Scalars['String']['input'];
|
|
4116
|
+
orgId: Scalars['BigInt']['input'];
|
|
4117
|
+
};
|
|
3694
4118
|
export type MutationCreateOrgTokenArgs = {
|
|
3695
4119
|
input: CreateOrgTokenInput;
|
|
3696
4120
|
};
|
|
@@ -3700,12 +4124,25 @@ export type MutationCreateOrganizationArgs = {
|
|
|
3700
4124
|
export type MutationCreatePortalAuthorizationCodeArgs = {
|
|
3701
4125
|
input: CreatePortalAuthorizationCodeInput;
|
|
3702
4126
|
};
|
|
4127
|
+
export type MutationCreateSellerAccountSessionArgs = {
|
|
4128
|
+
country: Scalars['String']['input'];
|
|
4129
|
+
};
|
|
3703
4130
|
export type MutationCreateTeamArgs = {
|
|
3704
4131
|
input: CreateTeamInput;
|
|
3705
4132
|
};
|
|
3706
4133
|
export type MutationCreateTeamRoleArgs = {
|
|
3707
4134
|
input: CreateGroupRoleInput;
|
|
3708
4135
|
};
|
|
4136
|
+
export type MutationDecideCommerceRiskFlagArgs = {
|
|
4137
|
+
appId: Scalars['BigInt']['input'];
|
|
4138
|
+
flagId: Scalars['String']['input'];
|
|
4139
|
+
release: Scalars['Boolean']['input'];
|
|
4140
|
+
};
|
|
4141
|
+
export type MutationDecideGridClaimArgs = {
|
|
4142
|
+
appId: Scalars['BigInt']['input'];
|
|
4143
|
+
approve: Scalars['Boolean']['input'];
|
|
4144
|
+
requestId: Scalars['String']['input'];
|
|
4145
|
+
};
|
|
3709
4146
|
export type MutationDeleteActorArgs = {
|
|
3710
4147
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
3711
4148
|
uuid: Scalars['String']['input'];
|
|
@@ -3731,6 +4168,11 @@ export type MutationDeleteOrgRoleArgs = {
|
|
|
3731
4168
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
3732
4169
|
orgRoleId: Scalars['BigInt']['input'];
|
|
3733
4170
|
};
|
|
4171
|
+
export type MutationDeletePlayerWasmPolicyArgs = {
|
|
4172
|
+
appId: Scalars['BigInt']['input'];
|
|
4173
|
+
scope: Scalars['String']['input'];
|
|
4174
|
+
scopeRef?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4175
|
+
};
|
|
3734
4176
|
export type MutationDeleteQuotaArgs = {
|
|
3735
4177
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
3736
4178
|
quotaId: Scalars['BigInt']['input'];
|
|
@@ -3861,9 +4303,21 @@ export type MutationGrantMyAppAccessArgs = {
|
|
|
3861
4303
|
export type MutationIngestEnvironmentVersionArgs = {
|
|
3862
4304
|
input: IngestEnvironmentVersionInput;
|
|
3863
4305
|
};
|
|
4306
|
+
export type MutationInstallPlayerCodeArgs = {
|
|
4307
|
+
acquisitionId: Scalars['String']['input'];
|
|
4308
|
+
appId: Scalars['BigInt']['input'];
|
|
4309
|
+
consentCapabilityHash: Scalars['String']['input'];
|
|
4310
|
+
gridId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4311
|
+
versionId?: InputMaybe<Scalars['String']['input']>;
|
|
4312
|
+
};
|
|
3864
4313
|
export type MutationInviteOrgMemberArgs = {
|
|
3865
4314
|
input: InviteOrgMemberInput;
|
|
3866
4315
|
};
|
|
4316
|
+
export type MutationIssueGridClaimInviteArgs = {
|
|
4317
|
+
appId: Scalars['BigInt']['input'];
|
|
4318
|
+
gridId: Scalars['BigInt']['input'];
|
|
4319
|
+
inviteeUserId: Scalars['BigInt']['input'];
|
|
4320
|
+
};
|
|
3867
4321
|
export type MutationJoinChannelArgs = {
|
|
3868
4322
|
groupId: Scalars['BigInt']['input'];
|
|
3869
4323
|
};
|
|
@@ -3889,6 +4343,53 @@ export type MutationLoginArgs = {
|
|
|
3889
4343
|
export type MutationMintAppTokenArgs = {
|
|
3890
4344
|
input: MintAppTokenInput;
|
|
3891
4345
|
};
|
|
4346
|
+
export type MutationPlayerAutomationCreateArgs = {
|
|
4347
|
+
input: CreatePlayerAutomationInput;
|
|
4348
|
+
};
|
|
4349
|
+
export type MutationPlayerAutomationDeleteArgs = {
|
|
4350
|
+
input: PlayerAutomationRefInput;
|
|
4351
|
+
};
|
|
4352
|
+
export type MutationPlayerAutomationSetEnabledArgs = {
|
|
4353
|
+
input: SetPlayerAutomationEnabledInput;
|
|
4354
|
+
};
|
|
4355
|
+
export type MutationPlayerComputeDeleteArgs = {
|
|
4356
|
+
appId: Scalars['BigInt']['input'];
|
|
4357
|
+
gridId: Scalars['BigInt']['input'];
|
|
4358
|
+
name: Scalars['String']['input'];
|
|
4359
|
+
};
|
|
4360
|
+
export type MutationPlayerComputeDeployArgs = {
|
|
4361
|
+
input: DeployPlayerComputeInput;
|
|
4362
|
+
};
|
|
4363
|
+
export type MutationPlayerComputeInvokeArgs = {
|
|
4364
|
+
appId: Scalars['BigInt']['input'];
|
|
4365
|
+
exportName: Scalars['String']['input'];
|
|
4366
|
+
gridId: Scalars['BigInt']['input'];
|
|
4367
|
+
moduleName: Scalars['String']['input'];
|
|
4368
|
+
paramsJson?: InputMaybe<Scalars['String']['input']>;
|
|
4369
|
+
};
|
|
4370
|
+
export type MutationPlayerComputeSetEnabledArgs = {
|
|
4371
|
+
appId: Scalars['BigInt']['input'];
|
|
4372
|
+
enabled: Scalars['Boolean']['input'];
|
|
4373
|
+
gridId: Scalars['BigInt']['input'];
|
|
4374
|
+
name: Scalars['String']['input'];
|
|
4375
|
+
};
|
|
4376
|
+
export type MutationPlayerComputeSetSwitchArgs = {
|
|
4377
|
+
appId: Scalars['BigInt']['input'];
|
|
4378
|
+
disabled: Scalars['Boolean']['input'];
|
|
4379
|
+
listingRef?: InputMaybe<Scalars['String']['input']>;
|
|
4380
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
4381
|
+
scope: Scalars['String']['input'];
|
|
4382
|
+
scopeRef?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4383
|
+
};
|
|
4384
|
+
export type MutationPlayerModelCreateContainerArgs = {
|
|
4385
|
+
input: CreatePlayerModelContainerInput;
|
|
4386
|
+
};
|
|
4387
|
+
export type MutationPlayerModelDeleteContainerArgs = {
|
|
4388
|
+
input: PlayerModelContainerRefInput;
|
|
4389
|
+
};
|
|
4390
|
+
export type MutationPlayerModelSetPropertyArgs = {
|
|
4391
|
+
input: SetPlayerModelPropertyInput;
|
|
4392
|
+
};
|
|
3892
4393
|
export type MutationPublishAppToSharedArgs = {
|
|
3893
4394
|
appId: Scalars['BigInt']['input'];
|
|
3894
4395
|
cancelUrl?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3900,6 +4401,19 @@ export type MutationPublishAppToSharedArgs = {
|
|
|
3900
4401
|
export type MutationPublishEnvironmentReleaseFromGameApiTagArgs = {
|
|
3901
4402
|
input: PublishEnvironmentReleaseFromGameApiTagInput;
|
|
3902
4403
|
};
|
|
4404
|
+
export type MutationPublishPlayerCodeArgs = {
|
|
4405
|
+
input: PublishPlayerCodeInput;
|
|
4406
|
+
};
|
|
4407
|
+
export type MutationPublishPlayerCodeVersionArgs = {
|
|
4408
|
+
input: PublishPlayerCodeVersionInput;
|
|
4409
|
+
};
|
|
4410
|
+
export type MutationPurchaseGridArgs = {
|
|
4411
|
+
appId: Scalars['BigInt']['input'];
|
|
4412
|
+
chunkX?: InputMaybe<Scalars['Int']['input']>;
|
|
4413
|
+
chunkY?: InputMaybe<Scalars['Int']['input']>;
|
|
4414
|
+
chunkZ?: InputMaybe<Scalars['Int']['input']>;
|
|
4415
|
+
gridListingId: Scalars['String']['input'];
|
|
4416
|
+
};
|
|
3903
4417
|
export type MutationPurgeEnvironmentArgs = {
|
|
3904
4418
|
input: PurgeEnvironmentInput;
|
|
3905
4419
|
};
|
|
@@ -3918,6 +4432,10 @@ export type MutationPutCpSecretArgs = {
|
|
|
3918
4432
|
export type MutationRedeployEnvironmentArgs = {
|
|
3919
4433
|
input: RedeployEnvironmentInput;
|
|
3920
4434
|
};
|
|
4435
|
+
export type MutationRefundPlayerCodeAcquisitionArgs = {
|
|
4436
|
+
acquisitionId: Scalars['String']['input'];
|
|
4437
|
+
appId: Scalars['BigInt']['input'];
|
|
4438
|
+
};
|
|
3921
4439
|
export type MutationRegisterArgs = {
|
|
3922
4440
|
registerUserInput: RegisterUserInput;
|
|
3923
4441
|
};
|
|
@@ -3939,6 +4457,10 @@ export type MutationRemoveTeamMemberArgs = {
|
|
|
3939
4457
|
groupId: Scalars['BigInt']['input'];
|
|
3940
4458
|
userId: Scalars['BigInt']['input'];
|
|
3941
4459
|
};
|
|
4460
|
+
export type MutationRenewPlayerCodeAcquisitionArgs = {
|
|
4461
|
+
acquisitionId: Scalars['String']['input'];
|
|
4462
|
+
appId: Scalars['BigInt']['input'];
|
|
4463
|
+
};
|
|
3942
4464
|
export type MutationRequestLoginLinkArgs = {
|
|
3943
4465
|
input: RequestLoginLinkInput;
|
|
3944
4466
|
};
|
|
@@ -3971,6 +4493,10 @@ export type MutationRevokeAppAccessArgs = {
|
|
|
3971
4493
|
export type MutationRevokeAppAuthorizationArgs = {
|
|
3972
4494
|
appId: Scalars['BigInt']['input'];
|
|
3973
4495
|
};
|
|
4496
|
+
export type MutationRevokeAppCodeAdmissionArgs = {
|
|
4497
|
+
admissionId: Scalars['String']['input'];
|
|
4498
|
+
appId: Scalars['BigInt']['input'];
|
|
4499
|
+
};
|
|
3974
4500
|
export type MutationRevokeGridPermissionsArgs = {
|
|
3975
4501
|
input: RevokeGridPermissionsInput;
|
|
3976
4502
|
};
|
|
@@ -4014,6 +4540,19 @@ export type MutationSetAppBudgetArgs = {
|
|
|
4014
4540
|
export type MutationSetAppClientSettingsArgs = {
|
|
4015
4541
|
input: SetAppClientSettingsInput;
|
|
4016
4542
|
};
|
|
4543
|
+
export type MutationSetAppCodeAdmissionModeArgs = {
|
|
4544
|
+
appId: Scalars['BigInt']['input'];
|
|
4545
|
+
mode: CodeAdmissionMode;
|
|
4546
|
+
};
|
|
4547
|
+
export type MutationSetAppGridClaimPolicyArgs = {
|
|
4548
|
+
appId: Scalars['BigInt']['input'];
|
|
4549
|
+
approverUserIds?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
4550
|
+
policy: GridClaimPolicy;
|
|
4551
|
+
};
|
|
4552
|
+
export type MutationSetAppMarketplaceOrgShareArgs = {
|
|
4553
|
+
appId: Scalars['BigInt']['input'];
|
|
4554
|
+
bps: Scalars['Int']['input'];
|
|
4555
|
+
};
|
|
4017
4556
|
export type MutationSetAppReservedThroughputArgs = {
|
|
4018
4557
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
4019
4558
|
input: SetAppReservedThroughputInput;
|
|
@@ -4052,6 +4591,9 @@ export type MutationSetEnvironmentDeletionProtectionArgs = {
|
|
|
4052
4591
|
export type MutationSetGridPermissionLimitsArgs = {
|
|
4053
4592
|
input: SetGridPermissionLimitsInput;
|
|
4054
4593
|
};
|
|
4594
|
+
export type MutationSetListingPricingArgs = {
|
|
4595
|
+
input: SetListingPricingInput;
|
|
4596
|
+
};
|
|
4055
4597
|
export type MutationSetOperatorArgs = {
|
|
4056
4598
|
userId: Scalars['BigInt']['input'];
|
|
4057
4599
|
value: Scalars['Boolean']['input'];
|
|
@@ -4060,6 +4602,30 @@ export type MutationSetOrgStatusArgs = {
|
|
|
4060
4602
|
orgId: Scalars['BigInt']['input'];
|
|
4061
4603
|
status: Scalars['String']['input'];
|
|
4062
4604
|
};
|
|
4605
|
+
export type MutationSetPlayerAutoBillingArgs = {
|
|
4606
|
+
enabled: Scalars['Boolean']['input'];
|
|
4607
|
+
limitCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4608
|
+
lowWaterThresholdCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4609
|
+
rechargeAmountCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4610
|
+
};
|
|
4611
|
+
export type MutationSetPlayerCodeListingStatusArgs = {
|
|
4612
|
+
appId: Scalars['BigInt']['input'];
|
|
4613
|
+
listingId: Scalars['String']['input'];
|
|
4614
|
+
status: PlayerCodeListingStatus;
|
|
4615
|
+
};
|
|
4616
|
+
export type MutationSetPlayerRateMarkupArgs = {
|
|
4617
|
+
appId: Scalars['BigInt']['input'];
|
|
4618
|
+
markupBps: Scalars['Int']['input'];
|
|
4619
|
+
};
|
|
4620
|
+
export type MutationSetPlayerSpendCapArgs = {
|
|
4621
|
+
appId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4622
|
+
dailyLimitCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4623
|
+
monthlyLimitCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4624
|
+
scope: Scalars['String']['input'];
|
|
4625
|
+
};
|
|
4626
|
+
export type MutationSetPlayerWasmPolicyArgs = {
|
|
4627
|
+
input: SetPlayerWasmPolicyInput;
|
|
4628
|
+
};
|
|
4063
4629
|
export type MutationSetQuotaArgs = {
|
|
4064
4630
|
input: SetQuotaInput;
|
|
4065
4631
|
};
|
|
@@ -4083,9 +4649,26 @@ export type MutationSocialLoginCompleteArgs = {
|
|
|
4083
4649
|
export type MutationSocialLoginStartArgs = {
|
|
4084
4650
|
input: SocialLoginStartInput;
|
|
4085
4651
|
};
|
|
4652
|
+
export type MutationSpendPayoutBalanceToWalletArgs = {
|
|
4653
|
+
amountCents: Scalars['Int']['input'];
|
|
4654
|
+
};
|
|
4086
4655
|
export type MutationTeleportRequestArgs = {
|
|
4087
4656
|
input: TeleportRequestInput;
|
|
4088
4657
|
};
|
|
4658
|
+
export type MutationTopUpPlayerCodeAcquisitionArgs = {
|
|
4659
|
+
acquisitionId: Scalars['String']['input'];
|
|
4660
|
+
appId: Scalars['BigInt']['input'];
|
|
4661
|
+
};
|
|
4662
|
+
export type MutationTransferGridOwnershipArgs = {
|
|
4663
|
+
input: TransferGridOwnershipInput;
|
|
4664
|
+
};
|
|
4665
|
+
export type MutationTransferPlayerCodeListingArgs = {
|
|
4666
|
+
input: TransferPlayerCodeListingInput;
|
|
4667
|
+
};
|
|
4668
|
+
export type MutationUninstallPlayerCodeArgs = {
|
|
4669
|
+
appId: Scalars['BigInt']['input'];
|
|
4670
|
+
installId: Scalars['String']['input'];
|
|
4671
|
+
};
|
|
4089
4672
|
export type MutationUnlinkIdentityArgs = {
|
|
4090
4673
|
identityId: Scalars['String']['input'];
|
|
4091
4674
|
};
|
|
@@ -4490,6 +5073,377 @@ export type PlatformConfig = {
|
|
|
4490
5073
|
/** Shared game-api WebSocket root (subscriptions / UDP proxy). */
|
|
4491
5074
|
sharedGameApiWsUrl: Maybe<Scalars['String']['output']>;
|
|
4492
5075
|
};
|
|
5076
|
+
/** Off-session auto-recharge settings for the player wallet (the org auto-billing twin): when enabled with a vaulted card, the player gate tops the wallet up before denying for insufficient funds. */
|
|
5077
|
+
export type PlayerAutoBilling = {
|
|
5078
|
+
__typename?: 'PlayerAutoBilling';
|
|
5079
|
+
/** Amount auto-billed so far this period. */
|
|
5080
|
+
autoBilledThisPeriodCents: Scalars['BigInt']['output'];
|
|
5081
|
+
/** Whether auto-recharge is enabled. */
|
|
5082
|
+
enabled: Scalars['Boolean']['output'];
|
|
5083
|
+
/** Whether an active vaulted card is attached. */
|
|
5084
|
+
hasPaymentMethod: Scalars['Boolean']['output'];
|
|
5085
|
+
/** Last auto-recharge failure, if any. */
|
|
5086
|
+
lastError: Maybe<Scalars['String']['output']>;
|
|
5087
|
+
/** Per-period auto-recharge ceiling in cents; null = no limit. */
|
|
5088
|
+
limitCents: Maybe<Scalars['BigInt']['output']>;
|
|
5089
|
+
/** Balance threshold that triggers a recharge. */
|
|
5090
|
+
lowWaterThresholdCents: Scalars['BigInt']['output'];
|
|
5091
|
+
/** Amount charged per auto-recharge. */
|
|
5092
|
+
rechargeAmountCents: Scalars['BigInt']['output'];
|
|
5093
|
+
/** The owning player user id. */
|
|
5094
|
+
userId: Scalars['BigInt']['output'];
|
|
5095
|
+
};
|
|
5096
|
+
/** A player-owned automation confined to one app and grid. Trigger/action JSON has been structurally validated. */
|
|
5097
|
+
export type PlayerAutomation = {
|
|
5098
|
+
__typename?: 'PlayerAutomation';
|
|
5099
|
+
/** Validated action as canonical JSON. */
|
|
5100
|
+
actionJson: Scalars['String']['output'];
|
|
5101
|
+
/** App containing the automation. */
|
|
5102
|
+
appId: Scalars['BigInt']['output'];
|
|
5103
|
+
/** Player automation UUID. */
|
|
5104
|
+
automationId: Scalars['String']['output'];
|
|
5105
|
+
/** Circuit state: closed, open, or half_open. */
|
|
5106
|
+
circuitState: Scalars['String']['output'];
|
|
5107
|
+
/** Current consecutive failure count. */
|
|
5108
|
+
consecutiveFailures: Scalars['Int']['output'];
|
|
5109
|
+
/** Open-circuit cooldown in milliseconds. */
|
|
5110
|
+
cooldownMs: Scalars['Int']['output'];
|
|
5111
|
+
/** Automation creation time. */
|
|
5112
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5113
|
+
/** Optional description. */
|
|
5114
|
+
description: Maybe<Scalars['String']['output']>;
|
|
5115
|
+
/** Whether the automation may dispatch. */
|
|
5116
|
+
enabled: Scalars['Boolean']['output'];
|
|
5117
|
+
/** Failures required to open the circuit. */
|
|
5118
|
+
failureThreshold: Scalars['Int']['output'];
|
|
5119
|
+
/** Grid confining the automation. */
|
|
5120
|
+
gridId: Scalars['BigInt']['output'];
|
|
5121
|
+
/** Most recent dispatch error. */
|
|
5122
|
+
lastError: Maybe<Scalars['String']['output']>;
|
|
5123
|
+
/** Most recent dispatch time. */
|
|
5124
|
+
lastRunAt: Maybe<Scalars['DateTime']['output']>;
|
|
5125
|
+
/** Maximum runs per rolling minute. */
|
|
5126
|
+
maxRunsPerMinute: Scalars['Int']['output'];
|
|
5127
|
+
/** Owner-local automation name. */
|
|
5128
|
+
name: Scalars['String']['output'];
|
|
5129
|
+
/** Next scheduled dispatch time. */
|
|
5130
|
+
nextRunAt: Maybe<Scalars['DateTime']['output']>;
|
|
5131
|
+
/** Owning user. Forced from current grid ownership at creation. */
|
|
5132
|
+
ownerUserId: Scalars['BigInt']['output'];
|
|
5133
|
+
/** Time at which an open circuit may retry. */
|
|
5134
|
+
pausedUntil: Maybe<Scalars['DateTime']['output']>;
|
|
5135
|
+
/** Validated trigger as canonical JSON. */
|
|
5136
|
+
triggerJson: Scalars['String']['output'];
|
|
5137
|
+
/** Most recent automation update time. */
|
|
5138
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
5139
|
+
};
|
|
5140
|
+
/** Identify one player automation within its app and grid. The server additionally forces the current caller as owner. */
|
|
5141
|
+
export type PlayerAutomationRefInput = {
|
|
5142
|
+
/** App containing the owned grid. */
|
|
5143
|
+
appId: Scalars['BigInt']['input'];
|
|
5144
|
+
/** Player automation UUID. */
|
|
5145
|
+
automationId: Scalars['String']['input'];
|
|
5146
|
+
/** Grid that confines the automation. */
|
|
5147
|
+
gridId: Scalars['BigInt']['input'];
|
|
5148
|
+
};
|
|
5149
|
+
/** 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. */
|
|
5150
|
+
export type PlayerCardSetup = {
|
|
5151
|
+
__typename?: 'PlayerCardSetup';
|
|
5152
|
+
/** Stripe SetupIntent client secret the browser confirms. */
|
|
5153
|
+
clientSecret: Maybe<Scalars['String']['output']>;
|
|
5154
|
+
/** The Stripe customer id the card is attached to. */
|
|
5155
|
+
externalCustomerId: Scalars['String']['output'];
|
|
5156
|
+
/** Stripe publishable key the browser needs to confirm the card. */
|
|
5157
|
+
publishableKey: Maybe<Scalars['String']['output']>;
|
|
5158
|
+
};
|
|
5159
|
+
/** A compiled CLIENT-target player artifact plus the metadata the browser broker needs to run it (player compute P3). Served only to the current grid owner who authored the version, holding run_client_code, when the app's admission mode admits the code. The bytes are the gas-injected wasm32-unknown-unknown module; clientFuelPerDispatch is the per-dispatch fuel budget the glue worker enforces locally. */
|
|
5160
|
+
export type PlayerClientArtifact = {
|
|
5161
|
+
__typename?: 'PlayerClientArtifact';
|
|
5162
|
+
/** ABI version the artifact was built for. */
|
|
5163
|
+
abiVersion: Scalars['Int']['output'];
|
|
5164
|
+
/** The gas-injected client WASM artifact, base64-encoded. */
|
|
5165
|
+
artifactBase64: Scalars['String']['output'];
|
|
5166
|
+
/** Content hash of the artifact (also the cache key stem). */
|
|
5167
|
+
artifactHash: Scalars['String']['output'];
|
|
5168
|
+
/** Per-dispatch client fuel budget from the resolved player policy; the broker's glue worker traps when a dispatch exceeds it. */
|
|
5169
|
+
clientFuelPerDispatch: Scalars['BigInt']['output'];
|
|
5170
|
+
/** Declared client interop contract (bridge messages) as JSON, when the version pins one. */
|
|
5171
|
+
contractJson: Maybe<Scalars['String']['output']>;
|
|
5172
|
+
/** Artifact size in bytes (<= 512 KiB). */
|
|
5173
|
+
sizeBytes: Scalars['Int']['output'];
|
|
5174
|
+
/** The served version UUID. */
|
|
5175
|
+
versionId: Scalars['String']['output'];
|
|
5176
|
+
};
|
|
5177
|
+
/** The caller's entitlement to a listing (mode 'free' in P4a). Uninstalling never deletes this row; it is the audit trail P4b attaches payment to. */
|
|
5178
|
+
export type PlayerCodeAcquisition = {
|
|
5179
|
+
__typename?: 'PlayerCodeAcquisition';
|
|
5180
|
+
/** When acquired. */
|
|
5181
|
+
acquiredAt: Scalars['DateTime']['output'];
|
|
5182
|
+
/** Numeric user id of the acquirer. */
|
|
5183
|
+
acquirerUserId: Scalars['BigInt']['output'];
|
|
5184
|
+
/** UUID of the acquisition. */
|
|
5185
|
+
acquisitionId: Scalars['String']['output'];
|
|
5186
|
+
/** App of the listing. */
|
|
5187
|
+
appId: Scalars['BigInt']['output'];
|
|
5188
|
+
/** Expiry for RENT/TIME_LIMITED; null for perpetual (FREE/BUY) or unit-budgeted (COST_LIMITED). Past expiry drains installs until renewed. */
|
|
5189
|
+
expiresAt: Maybe<Scalars['DateTime']['output']>;
|
|
5190
|
+
/** UUID of the acquired listing. */
|
|
5191
|
+
listingId: Scalars['String']['output'];
|
|
5192
|
+
/** Acquisition mode: FREE, BUY (perpetual), RENT (renewable window), TIME_LIMITED (single window), or COST_LIMITED (compute-unit budget). */
|
|
5193
|
+
mode: PlayerCodeAcquisitionMode;
|
|
5194
|
+
/** When the entitlement was revoked; null while active. */
|
|
5195
|
+
revokedAt: Maybe<Scalars['DateTime']['output']>;
|
|
5196
|
+
/** Entitlement status: 'active' or 'revoked'. */
|
|
5197
|
+
status: Scalars['String']['output'];
|
|
5198
|
+
/** Compute-unit budget for COST_LIMITED; null otherwise. */
|
|
5199
|
+
unitBudget: Maybe<Scalars['BigInt']['output']>;
|
|
5200
|
+
/** Compute units consumed so far (advances against unitBudget). */
|
|
5201
|
+
unitsConsumed: Scalars['BigInt']['output'];
|
|
5202
|
+
};
|
|
5203
|
+
/** How a listing is acquired. P4a ships FREE only; the paid modes (buy, rent, time-limited, cost-limited) arrive with the P4b money workstream. */
|
|
5204
|
+
export declare enum PlayerCodeAcquisitionMode {
|
|
5205
|
+
Buy = "BUY",
|
|
5206
|
+
CostLimited = "COST_LIMITED",
|
|
5207
|
+
Free = "FREE",
|
|
5208
|
+
Rent = "RENT",
|
|
5209
|
+
TimeLimited = "TIME_LIMITED"
|
|
5210
|
+
}
|
|
5211
|
+
/** One row of an app's admission queue: a listing joined with its standing under the app's allow-list (admitted via a matching code, author, or org admission; pending; or revoked). The studio moderation surface for allow_list apps. */
|
|
5212
|
+
export type PlayerCodeAdmissionQueueEntry = {
|
|
5213
|
+
__typename?: 'PlayerCodeAdmissionQueueEntry';
|
|
5214
|
+
/** UUID of the admission entry that admits (or last admitted) this listing — matched on the code subject, its author, or its owning org. Null while pending. */
|
|
5215
|
+
admissionId: Maybe<Scalars['String']['output']>;
|
|
5216
|
+
/** The listing's admission standing in this app. */
|
|
5217
|
+
admissionState: PlayerCodeAdmissionState;
|
|
5218
|
+
/** The listing under review. */
|
|
5219
|
+
listing: PlayerCodeListing;
|
|
5220
|
+
/** Which allow-list subject matched: 'code', 'author', or 'org'. Null while pending. */
|
|
5221
|
+
matchedSubjectKind: Maybe<Scalars['String']['output']>;
|
|
5222
|
+
};
|
|
5223
|
+
/** A listing's standing under this app's admission mode: ADMITTED (installable), PENDING (browsable but uninstallable in allow_list apps), or REVOKED (installs drain). */
|
|
5224
|
+
export declare enum PlayerCodeAdmissionState {
|
|
5225
|
+
Admitted = "ADMITTED",
|
|
5226
|
+
Pending = "PENDING",
|
|
5227
|
+
Revoked = "REVOKED"
|
|
5228
|
+
}
|
|
5229
|
+
/** An install of an acquired listing: the pinned version, the consent hash acknowledged, and (for server halves) the owned target grid. Installs pin their version; updating to a newer version is a new consent + install update, never automatic. */
|
|
5230
|
+
export type PlayerCodeInstall = {
|
|
5231
|
+
__typename?: 'PlayerCodeInstall';
|
|
5232
|
+
/** UUID of the acquisition this install uses. */
|
|
5233
|
+
acquisitionId: Scalars['String']['output'];
|
|
5234
|
+
/** App of the listing. */
|
|
5235
|
+
appId: Scalars['BigInt']['output'];
|
|
5236
|
+
/** The capability hash the installer consented to. */
|
|
5237
|
+
consentedCapabilityHash: Scalars['String']['output'];
|
|
5238
|
+
/** When installed. */
|
|
5239
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5240
|
+
/** UUID of the install. */
|
|
5241
|
+
installId: Scalars['String']['output'];
|
|
5242
|
+
/** UUID of the installed listing. */
|
|
5243
|
+
listingId: Scalars['String']['output'];
|
|
5244
|
+
/** UUID of the pinned listing version. */
|
|
5245
|
+
pinnedVersionId: Scalars['String']['output'];
|
|
5246
|
+
/** Install status: 'active', 'uninstalled', or 'disabled'. */
|
|
5247
|
+
status: Scalars['String']['output'];
|
|
5248
|
+
/** Owned grid the server half (and any bundled client attachment) was installed into; null for personal client-only installs. */
|
|
5249
|
+
targetGridId: Maybe<Scalars['BigInt']['output']>;
|
|
5250
|
+
};
|
|
5251
|
+
/** Source-access mode of a listing: CLOSED (artifacts + contracts only) or OPEN_SOURCE (source readable; irreversible per published version). */
|
|
5252
|
+
export declare enum PlayerCodeLicenseMode {
|
|
5253
|
+
Closed = "CLOSED",
|
|
5254
|
+
OpenSource = "OPEN_SOURCE"
|
|
5255
|
+
}
|
|
5256
|
+
/** A marketplace code listing as seen in-game (replica of the management catalog). Every listing is FREE in P4a; carrying both server and client artifact sets makes it a bundle. */
|
|
5257
|
+
export type PlayerCodeListing = {
|
|
5258
|
+
__typename?: 'PlayerCodeListing';
|
|
5259
|
+
/** Acquisition mode: FREE, or a paid mode (BUY / RENT / TIME_LIMITED / COST_LIMITED; P4b). Free listings carry no price. */
|
|
5260
|
+
acquisitionMode: PlayerCodeAcquisitionMode;
|
|
5261
|
+
/** The listing's admission standing in this app. In implicit_allow apps this is always ADMITTED; in allow_list apps PENDING listings can be acquired but not installed. */
|
|
5262
|
+
admissionState: PlayerCodeAdmissionState;
|
|
5263
|
+
/** App the listing belongs to. */
|
|
5264
|
+
appId: Scalars['BigInt']['output'];
|
|
5265
|
+
/** When the listing was created. */
|
|
5266
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5267
|
+
/** Store description. */
|
|
5268
|
+
description: Scalars['String']['output'];
|
|
5269
|
+
/** UUID of the newest published version; null before first publish. */
|
|
5270
|
+
latestVersionId: Maybe<Scalars['String']['output']>;
|
|
5271
|
+
/** Source-access mode for new versions. */
|
|
5272
|
+
licenseMode: PlayerCodeLicenseMode;
|
|
5273
|
+
/** UUID of the listing. */
|
|
5274
|
+
listingId: Scalars['String']['output'];
|
|
5275
|
+
/** JSON array of media refs. */
|
|
5276
|
+
mediaJson: Scalars['String']['output'];
|
|
5277
|
+
/** Display name. */
|
|
5278
|
+
name: Scalars['String']['output'];
|
|
5279
|
+
/** Whether a player user or an org owns this listing. */
|
|
5280
|
+
ownerKind: PlayerCodeOwnerKind;
|
|
5281
|
+
/** User id or org id of the owner, per ownerKind. */
|
|
5282
|
+
ownerRef: Scalars['BigInt']['output'];
|
|
5283
|
+
/** Price in cents for paid modes; null when FREE. */
|
|
5284
|
+
priceCents: Maybe<Scalars['Int']['output']>;
|
|
5285
|
+
/** Rent billing interval in days (RENT mode). */
|
|
5286
|
+
rentIntervalDays: Maybe<Scalars['Int']['output']>;
|
|
5287
|
+
/** Catalog status (active / delisted / killed). */
|
|
5288
|
+
status: PlayerCodeListingStatus;
|
|
5289
|
+
/** Compute-unit budget per purchase (COST_LIMITED mode). */
|
|
5290
|
+
unitBudget: Maybe<Scalars['BigInt']['output']>;
|
|
5291
|
+
/** When the listing was last updated. */
|
|
5292
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
5293
|
+
/** Fixed access window in days (TIME_LIMITED mode). */
|
|
5294
|
+
windowDays: Maybe<Scalars['Int']['output']>;
|
|
5295
|
+
};
|
|
5296
|
+
/** Catalog status of a listing: ACTIVE (browsable/acquirable), DELISTED (author withdrew it — existing installs keep their pinned versions), KILLED (studio/operator kill). */
|
|
5297
|
+
export declare enum PlayerCodeListingStatus {
|
|
5298
|
+
Active = "ACTIVE",
|
|
5299
|
+
Delisted = "DELISTED",
|
|
5300
|
+
Killed = "KILLED"
|
|
5301
|
+
}
|
|
5302
|
+
/** An immutable published version of a code listing: artifact hashes (never source) plus the DERIVED capability summary installers consent to. */
|
|
5303
|
+
export type PlayerCodeListingVersion = {
|
|
5304
|
+
__typename?: 'PlayerCodeListingVersion';
|
|
5305
|
+
/** sha256 of the canonical capability summary. installPlayerCode and consentGridClientMod must echo this hash as the consent acknowledgement. */
|
|
5306
|
+
capabilityHash: Scalars['String']['output'];
|
|
5307
|
+
/** JSON capability summary DERIVED from the artifacts (host functions, capability groups, presentation hooks, triggers, egress budgets). Never self-declared; shown at acquire and install consent. */
|
|
5308
|
+
capabilitySummaryJson: Scalars['String']['output'];
|
|
5309
|
+
/** Client-target artifact hashes (empty for server-only listings). */
|
|
5310
|
+
clientArtifactHashes: Array<Scalars['String']['output']>;
|
|
5311
|
+
/** When the version was published. */
|
|
5312
|
+
createdAt: Maybe<Scalars['DateTime']['output']>;
|
|
5313
|
+
/** Author license terms shown at acquisition. */
|
|
5314
|
+
licenseText: Maybe<Scalars['String']['output']>;
|
|
5315
|
+
/** UUID of the listing. */
|
|
5316
|
+
listingId: Scalars['String']['output'];
|
|
5317
|
+
/** Whether this version’s source is open (irreversible per version). */
|
|
5318
|
+
openSource: Scalars['Boolean']['output'];
|
|
5319
|
+
/** Server-target artifact hashes (empty for client-only listings). */
|
|
5320
|
+
serverArtifactHashes: Array<Scalars['String']['output']>;
|
|
5321
|
+
/** UUID of this published version. */
|
|
5322
|
+
versionId: Scalars['String']['output'];
|
|
5323
|
+
/** Monotonic version number within the listing. */
|
|
5324
|
+
versionNo: Scalars['Int']['output'];
|
|
5325
|
+
};
|
|
5326
|
+
/** Who owns a marketplace code listing: a player user or an org (DN-9: the org then holds source access and listing control). */
|
|
5327
|
+
export declare enum PlayerCodeOwnerKind {
|
|
5328
|
+
Org = "ORG",
|
|
5329
|
+
User = "USER"
|
|
5330
|
+
}
|
|
5331
|
+
/** An immutable published version of a code listing. Snapshots ARTIFACT HASHES from the author’s compiled module versions — never source (OQ-1). A version with both server and client hashes is a bundle: installing it on a grid also attaches the client half for visitor consent (D2). */
|
|
5332
|
+
export type PlayerCodeVersion = {
|
|
5333
|
+
__typename?: 'PlayerCodeVersion';
|
|
5334
|
+
/** Numeric app id (denormalized from the listing). */
|
|
5335
|
+
appId: Scalars['BigInt']['output'];
|
|
5336
|
+
/** sha256 of the canonical capability summary. Installs record the hash they consented to; a widened summary on a newer version forces re-consent. */
|
|
5337
|
+
capabilityHash: Scalars['String']['output'];
|
|
5338
|
+
/** JSON capability summary DERIVED from the artifacts by the compile pipeline (imported host families, invoke contracts, presentation hooks, egress budgets). Never self-declared; this is what installers consent to. */
|
|
5339
|
+
capabilitySummaryJson: Scalars['String']['output'];
|
|
5340
|
+
/** Artifact hashes of the client-target modules in this version (empty for server-only listings). */
|
|
5341
|
+
clientArtifactHashes: Array<Scalars['String']['output']>;
|
|
5342
|
+
/** When the version was published. */
|
|
5343
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5344
|
+
/** Author license terms shown at acquisition (platform enforces access, not downstream legal terms). */
|
|
5345
|
+
licenseText: Maybe<Scalars['String']['output']>;
|
|
5346
|
+
/** UUID of the listing this version belongs to. */
|
|
5347
|
+
listingId: Scalars['String']['output'];
|
|
5348
|
+
/** Whether this version’s source is open. Open-sourcing a version is irreversible for that version; later versions may return to closed. */
|
|
5349
|
+
openSource: Scalars['Boolean']['output'];
|
|
5350
|
+
/** Artifact hashes of the server-target modules in this version (empty for client-only listings). */
|
|
5351
|
+
serverArtifactHashes: Array<Scalars['String']['output']>;
|
|
5352
|
+
/** UUID of this published version. */
|
|
5353
|
+
versionId: Scalars['String']['output'];
|
|
5354
|
+
/** Monotonic version number within the listing. */
|
|
5355
|
+
versionNo: Scalars['Int']['output'];
|
|
5356
|
+
};
|
|
5357
|
+
/** Synchronous result from invoking an admitted server player-module export as the current grid owner. */
|
|
5358
|
+
export type PlayerComputeInvokeResult = {
|
|
5359
|
+
__typename?: 'PlayerComputeInvokeResult';
|
|
5360
|
+
/** Wall-clock execution duration in µs. */
|
|
5361
|
+
durationUs: Scalars['Int']['output'];
|
|
5362
|
+
/** Instrumented fuel consumed. */
|
|
5363
|
+
fuelUsed: Scalars['BigInt']['output'];
|
|
5364
|
+
/** Raw module result bytes encoded as base64. */
|
|
5365
|
+
resultBase64: Scalars['String']['output'];
|
|
5366
|
+
/** UTF-8 result when it is valid JSON; otherwise null. */
|
|
5367
|
+
resultJson: Maybe<Scalars['String']['output']>;
|
|
5368
|
+
};
|
|
5369
|
+
/** A kill-ladder switch row (03 §7): a studio-set immediate stop at player, grid, app, or listing scope. Module-level disable lives on the module itself; killing a LISTING disables every install of that marketplace listing fleet-wide (P4a). Quota state is retained across a kill. */
|
|
5370
|
+
export type PlayerComputeSwitch = {
|
|
5371
|
+
__typename?: 'PlayerComputeSwitch';
|
|
5372
|
+
/** The app the switch applies to. */
|
|
5373
|
+
appId: Scalars['BigInt']['output'];
|
|
5374
|
+
/** When execution was stopped. */
|
|
5375
|
+
disabledAt: Scalars['DateTime']['output'];
|
|
5376
|
+
/** The marketplace listing UUID for listing scope; null otherwise. */
|
|
5377
|
+
listingRef: Maybe<Scalars['String']['output']>;
|
|
5378
|
+
/** Operator note recorded when the switch was thrown. */
|
|
5379
|
+
reason: Maybe<Scalars['String']['output']>;
|
|
5380
|
+
/** Scope: 'player', 'grid', 'app', or 'listing'. */
|
|
5381
|
+
scope: Scalars['String']['output'];
|
|
5382
|
+
/** The player user id or grid id; null for app and listing scopes. */
|
|
5383
|
+
scopeRef: Maybe<Scalars['BigInt']['output']>;
|
|
5384
|
+
/** Switch row UUID. */
|
|
5385
|
+
switchId: Scalars['String']['output'];
|
|
5386
|
+
};
|
|
5387
|
+
/** Execution target for player-authored Rust. SERVER runs as the grid owner in game-api; CLIENT runs as the actual player in the browser worker sandbox. */
|
|
5388
|
+
export declare enum PlayerComputeTarget {
|
|
5389
|
+
Client = "CLIENT",
|
|
5390
|
+
Server = "SERVER"
|
|
5391
|
+
}
|
|
5392
|
+
/** The caller's player-compute spend and quota view for one app (P2): unit usage in the current clock hour/day, the effective policy limits, compile-quota utilization, and the replica-synced wallet/spend-cap gate state. Units follow the platform formula GREATEST(cpu ms, fuel/22M); player automation units are included. */
|
|
5393
|
+
export type PlayerComputeUsage = {
|
|
5394
|
+
__typename?: 'PlayerComputeUsage';
|
|
5395
|
+
/** The app this view covers. */
|
|
5396
|
+
appId: Scalars['BigInt']['output'];
|
|
5397
|
+
/** Compile submissions counted in the current clock hour. */
|
|
5398
|
+
compilesThisHour: Scalars['Int']['output'];
|
|
5399
|
+
/** Compute units consumed in the current clock day. */
|
|
5400
|
+
dayUnitsUsed: Scalars['BigInt']['output'];
|
|
5401
|
+
/** Typed pause reason when gated: PLAYER_WALLET_EMPTY, PLAYER_SPEND_CAP, PLAYER_QUOTA_EXHAUSTED, or PLAYER_COMPUTE_KILLED. */
|
|
5402
|
+
gateReason: Maybe<Scalars['String']['output']>;
|
|
5403
|
+
/** Replica-synced management player gate for this app: 'active', 'grace', or 'denied'. Non-active pauses this player's modules only; play is untouched. */
|
|
5404
|
+
gateStatus: Scalars['String']['output'];
|
|
5405
|
+
/** Compute units consumed in the current clock hour (modules + automations, all owned grids aggregated). */
|
|
5406
|
+
hourUnitsUsed: Scalars['BigInt']['output'];
|
|
5407
|
+
/** Effective max_compiles_per_hour policy cap. */
|
|
5408
|
+
maxCompilesPerHour: Scalars['Int']['output'];
|
|
5409
|
+
/** Effective units_per_day developer-policy cap; null when the app sets no daily quota. */
|
|
5410
|
+
unitsPerDay: Maybe<Scalars['BigInt']['output']>;
|
|
5411
|
+
/** Effective units_per_hour developer-policy cap; null when the app sets no hourly quota. */
|
|
5412
|
+
unitsPerHour: Maybe<Scalars['BigInt']['output']>;
|
|
5413
|
+
};
|
|
5414
|
+
/** A flexible player-owned model container confined to exactly one app, grid, and current owner. */
|
|
5415
|
+
export type PlayerModelContainer = {
|
|
5416
|
+
__typename?: 'PlayerModelContainer';
|
|
5417
|
+
/** App containing the container. */
|
|
5418
|
+
appId: Scalars['BigInt']['output'];
|
|
5419
|
+
/** Player container UUID. */
|
|
5420
|
+
containerId: Scalars['String']['output'];
|
|
5421
|
+
/** Container creation time. */
|
|
5422
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5423
|
+
/** Optional player-facing name. */
|
|
5424
|
+
displayName: Maybe<Scalars['String']['output']>;
|
|
5425
|
+
/** Grid confining the container. */
|
|
5426
|
+
gridId: Scalars['BigInt']['output'];
|
|
5427
|
+
/** Owning user. Always the grid owner at creation time. */
|
|
5428
|
+
ownerUserId: Scalars['BigInt']['output'];
|
|
5429
|
+
/** JSON object containing all separately upserted properties. */
|
|
5430
|
+
propertiesJson: Scalars['String']['output'];
|
|
5431
|
+
/** JSON object containing untyped container state. */
|
|
5432
|
+
stateJson: Scalars['String']['output'];
|
|
5433
|
+
/** Flexible instance kit key; this is not a studio-authored type. */
|
|
5434
|
+
typeKey: Scalars['String']['output'];
|
|
5435
|
+
/** Most recent container or property update time. */
|
|
5436
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
5437
|
+
};
|
|
5438
|
+
/** Identify one player-owned model container within an app and grid. The server also forces the current caller as owner. */
|
|
5439
|
+
export type PlayerModelContainerRefInput = {
|
|
5440
|
+
/** App containing the owned grid. */
|
|
5441
|
+
appId: Scalars['BigInt']['input'];
|
|
5442
|
+
/** Player container UUID. */
|
|
5443
|
+
containerId: Scalars['String']['input'];
|
|
5444
|
+
/** Grid that confines the container. */
|
|
5445
|
+
gridId: Scalars['BigInt']['input'];
|
|
5446
|
+
};
|
|
4493
5447
|
/** Live concurrent players for a studio vs its all-time peak, a percentile comparison against other studios, and the site-wide CKS total. */
|
|
4494
5448
|
export type PlayerPulse = {
|
|
4495
5449
|
__typename?: 'PlayerPulse';
|
|
@@ -4506,15 +5460,241 @@ export type PlayerPulse = {
|
|
|
4506
5460
|
/** Number of studios in the percentile comparison pool (studios with all_time_peak > 0). */
|
|
4507
5461
|
poolSize: Scalars['Int']['output'];
|
|
4508
5462
|
};
|
|
4509
|
-
/**
|
|
4510
|
-
export type
|
|
4511
|
-
__typename?: '
|
|
4512
|
-
/** The
|
|
4513
|
-
|
|
4514
|
-
/**
|
|
4515
|
-
|
|
4516
|
-
/**
|
|
4517
|
-
|
|
5463
|
+
/** The caller's per-app player runtime gate state (the app runtime_status twin, player-scoped): 'active', 'grace', or 'denied' with a typed reason. Non-active pauses the player's grid compute only — an unfunded wallet stops your mods, not your game. */
|
|
5464
|
+
export type PlayerRuntimeState = {
|
|
5465
|
+
__typename?: 'PlayerRuntimeState';
|
|
5466
|
+
/** The app. */
|
|
5467
|
+
appId: Scalars['BigInt']['output'];
|
|
5468
|
+
/** PLAYER_WALLET_EMPTY or PLAYER_SPEND_CAP when not active. */
|
|
5469
|
+
reason: Maybe<Scalars['String']['output']>;
|
|
5470
|
+
/** 'active', 'grace', or 'denied'. */
|
|
5471
|
+
status: Scalars['String']['output'];
|
|
5472
|
+
/** Last gate evaluation that changed state. */
|
|
5473
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
5474
|
+
/** The player user id. */
|
|
5475
|
+
userId: Scalars['BigInt']['output'];
|
|
5476
|
+
};
|
|
5477
|
+
/** A player's self-set spend cap (06 §2a): a daily/monthly ceiling globally or per app. The effective runtime limit is min(developer policy, self-cap, wallet balance); hitting a cap pauses that player's mods with PLAYER_SPEND_CAP, never their play. */
|
|
5478
|
+
export type PlayerSpendCap = {
|
|
5479
|
+
__typename?: 'PlayerSpendCap';
|
|
5480
|
+
/** Spend counted against the daily cap so far today. */
|
|
5481
|
+
currentDayUsageCents: Scalars['BigInt']['output'];
|
|
5482
|
+
/** Spend counted against the monthly cap so far this month. */
|
|
5483
|
+
currentMonthUsageCents: Scalars['BigInt']['output'];
|
|
5484
|
+
/** Daily ceiling in cents; null = no daily cap. */
|
|
5485
|
+
dailyLimitCents: Maybe<Scalars['BigInt']['output']>;
|
|
5486
|
+
/** Calendar-month ceiling in cents; null = no monthly cap. */
|
|
5487
|
+
monthlyLimitCents: Maybe<Scalars['BigInt']['output']>;
|
|
5488
|
+
/** Cap scope: 'global' or 'app'. */
|
|
5489
|
+
scope: Scalars['String']['output'];
|
|
5490
|
+
/** The app id for app scope; null for global. */
|
|
5491
|
+
scopeRef: Maybe<Scalars['BigInt']['output']>;
|
|
5492
|
+
/** The owning player user id. */
|
|
5493
|
+
userId: Scalars['BigInt']['output'];
|
|
5494
|
+
};
|
|
5495
|
+
/** One posted player usage charge: a (player, app, closed clock hour) row. amountCents = platformCents + markupCents — players see what the platform charges and what the studio adds (06 §4). The UNIQUE hour key makes the billing tick idempotent. */
|
|
5496
|
+
export type PlayerUsageCharge = {
|
|
5497
|
+
__typename?: 'PlayerUsageCharge';
|
|
5498
|
+
/** Total debited cents. */
|
|
5499
|
+
amountCents: Scalars['BigInt']['output'];
|
|
5500
|
+
/** The app the usage ran in. */
|
|
5501
|
+
appId: Scalars['BigInt']['output'];
|
|
5502
|
+
/** Charge id. */
|
|
5503
|
+
chargeId: Scalars['BigInt']['output'];
|
|
5504
|
+
/** When the charge posted. */
|
|
5505
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5506
|
+
/** ISO currency code. */
|
|
5507
|
+
currency: Scalars['String']['output'];
|
|
5508
|
+
/** Studio markup component (the app's player_rate_markup_bps). */
|
|
5509
|
+
markupCents: Scalars['BigInt']['output'];
|
|
5510
|
+
/** Billed hour end (exclusive). */
|
|
5511
|
+
periodEnd: Scalars['DateTime']['output'];
|
|
5512
|
+
/** Billed hour start (inclusive). */
|
|
5513
|
+
periodStart: Scalars['DateTime']['output'];
|
|
5514
|
+
/** Platform component (base rate card). */
|
|
5515
|
+
platformCents: Scalars['BigInt']['output'];
|
|
5516
|
+
/** JSON per-metric usage/billing snapshot for the hour. */
|
|
5517
|
+
usageSnapshotJson: Scalars['String']['output'];
|
|
5518
|
+
/** The owning player user id. */
|
|
5519
|
+
userId: Scalars['BigInt']['output'];
|
|
5520
|
+
};
|
|
5521
|
+
/** The caller's player wallet (player compute P2, DN-5): a platform-scoped balance funding that player's grid compute across every org/app they play in. Out-of-band from org wallets — player usage never touches an org's money. */
|
|
5522
|
+
export type PlayerWallet = {
|
|
5523
|
+
__typename?: 'PlayerWallet';
|
|
5524
|
+
/** Current balance in cents (may go negative on a closed hour). */
|
|
5525
|
+
balanceCents: Scalars['BigInt']['output'];
|
|
5526
|
+
/** Wallet creation time. */
|
|
5527
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5528
|
+
/** ISO currency code (lowercase). */
|
|
5529
|
+
currency: Scalars['String']['output'];
|
|
5530
|
+
/** The owning player user id. */
|
|
5531
|
+
userId: Scalars['BigInt']['output'];
|
|
5532
|
+
/** Wallet id. */
|
|
5533
|
+
walletId: Scalars['BigInt']['output'];
|
|
5534
|
+
};
|
|
5535
|
+
/** One player-wallet ledger entry: top-ups, hourly usage debits, auto-recharges, refunds, and adjustments. Usage debits carry the app and reference the hour's charge row, whose snapshot splits platform vs studio-markup components. */
|
|
5536
|
+
export type PlayerWalletTransaction = {
|
|
5537
|
+
__typename?: 'PlayerWalletTransaction';
|
|
5538
|
+
/** Signed amount in cents (debits negative). */
|
|
5539
|
+
amountCents: Scalars['BigInt']['output'];
|
|
5540
|
+
/** The app a usage debit covers; null for wallet-level entries. */
|
|
5541
|
+
appId: Maybe<Scalars['BigInt']['output']>;
|
|
5542
|
+
/** Balance after this entry. */
|
|
5543
|
+
balanceAfter: Scalars['BigInt']['output'];
|
|
5544
|
+
/** Entry time. */
|
|
5545
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5546
|
+
/** Human description. */
|
|
5547
|
+
description: Maybe<Scalars['String']['output']>;
|
|
5548
|
+
/** External reference (checkout/PaymentIntent id). */
|
|
5549
|
+
referenceId: Maybe<Scalars['String']['output']>;
|
|
5550
|
+
/** Transaction id. */
|
|
5551
|
+
transactionId: Scalars['BigInt']['output'];
|
|
5552
|
+
/** One of 'topup', 'usage_debit', 'auto_recharge', 'refund', 'adjustment'. */
|
|
5553
|
+
transactionType: Scalars['String']['output'];
|
|
5554
|
+
/** The owning player user id. */
|
|
5555
|
+
userId: Scalars['BigInt']['output'];
|
|
5556
|
+
/** The wallet. */
|
|
5557
|
+
walletId: Scalars['BigInt']['output'];
|
|
5558
|
+
};
|
|
5559
|
+
/** A grid-bound player compute module. Runtime identity is never stored here; it resolves from the grid current owner at activation. */
|
|
5560
|
+
export type PlayerWasmModule = {
|
|
5561
|
+
__typename?: 'PlayerWasmModule';
|
|
5562
|
+
/** Owning app id. */
|
|
5563
|
+
appId: Scalars['BigInt']['output'];
|
|
5564
|
+
/** Authoring org id; null for personally-authored code. */
|
|
5565
|
+
authorOrgId: Maybe<Scalars['BigInt']['output']>;
|
|
5566
|
+
/** Personal author user id; null for org-owned code. */
|
|
5567
|
+
authorUserId: Maybe<Scalars['BigInt']['output']>;
|
|
5568
|
+
/** closed, open, or half_open. */
|
|
5569
|
+
circuitState: Scalars['String']['output'];
|
|
5570
|
+
/** Creation time. */
|
|
5571
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5572
|
+
/** Currently deployed immutable version UUID. */
|
|
5573
|
+
currentVersionId: Maybe<Scalars['String']['output']>;
|
|
5574
|
+
/** Module description. */
|
|
5575
|
+
description: Maybe<Scalars['String']['output']>;
|
|
5576
|
+
/** Draft mode: the module runs for its author but its spatial egress is suppressed server-side (live-coding iteration). */
|
|
5577
|
+
draft: Scalars['Boolean']['output'];
|
|
5578
|
+
/** Requested activation state. Actual execution also requires grid ownership, run permission, admission, and a successful version. */
|
|
5579
|
+
enabled: Scalars['Boolean']['output'];
|
|
5580
|
+
/** Confining grid id. */
|
|
5581
|
+
gridId: Scalars['BigInt']['output'];
|
|
5582
|
+
/** Last runtime/transfer error. */
|
|
5583
|
+
lastError: Maybe<Scalars['String']['output']>;
|
|
5584
|
+
/** Module UUID. */
|
|
5585
|
+
moduleId: Scalars['String']['output'];
|
|
5586
|
+
/** Module name within the grid. */
|
|
5587
|
+
name: Scalars['String']['output'];
|
|
5588
|
+
/** Last update time. */
|
|
5589
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
5590
|
+
};
|
|
5591
|
+
/** One execution of a player module (init/tick/invoke/event), attributed to the grid owner it ran as. The per-run twin of the studio WasmModuleRun, scoped to grids the caller currently owns. */
|
|
5592
|
+
export type PlayerWasmModuleRun = {
|
|
5593
|
+
__typename?: 'PlayerWasmModuleRun';
|
|
5594
|
+
/** The app (tenant). */
|
|
5595
|
+
appId: Scalars['BigInt']['output'];
|
|
5596
|
+
/** Wall-clock duration in microseconds. */
|
|
5597
|
+
durationUs: Scalars['Int']['output'];
|
|
5598
|
+
/** Typed failure kind when the run failed. */
|
|
5599
|
+
errorMessage: Maybe<Scalars['String']['output']>;
|
|
5600
|
+
/** Execution identity: the grid owner the run executed as. */
|
|
5601
|
+
executedAsUserId: Scalars['BigInt']['output'];
|
|
5602
|
+
/** Flow correlation id shared across the entry call. */
|
|
5603
|
+
flowId: Maybe<Scalars['String']['output']>;
|
|
5604
|
+
/** Fuel consumed by the run. */
|
|
5605
|
+
fuelUsed: Scalars['BigInt']['output'];
|
|
5606
|
+
/** The owned grid the module ran in. */
|
|
5607
|
+
gridId: Scalars['BigInt']['output'];
|
|
5608
|
+
/** The module that ran. */
|
|
5609
|
+
moduleId: Scalars['String']['output'];
|
|
5610
|
+
/** The module name at run time. */
|
|
5611
|
+
moduleName: Scalars['String']['output'];
|
|
5612
|
+
/** Unique run id (UUID). */
|
|
5613
|
+
runId: Scalars['String']['output'];
|
|
5614
|
+
/** When the run started. */
|
|
5615
|
+
startedAt: Scalars['DateTime']['output'];
|
|
5616
|
+
/** Whether the run succeeded. */
|
|
5617
|
+
success: Scalars['Boolean']['output'];
|
|
5618
|
+
/** What ran: init | tick | event | invoke. */
|
|
5619
|
+
triggerSource: Scalars['String']['output'];
|
|
5620
|
+
};
|
|
5621
|
+
/** An immutable player-code source version. sourceFilesJson is returned only to its personal author (org-owned source requires the future org-authoring path) or when openSource is true. */
|
|
5622
|
+
export type PlayerWasmModuleVersion = {
|
|
5623
|
+
__typename?: 'PlayerWasmModuleVersion';
|
|
5624
|
+
/** Compiler log; visible to the author. */
|
|
5625
|
+
compileLog: Maybe<Scalars['String']['output']>;
|
|
5626
|
+
/** pending, compiling, succeeded, or failed. */
|
|
5627
|
+
compileStatus: Scalars['String']['output'];
|
|
5628
|
+
/** Final instrumented/optimized artifact size. */
|
|
5629
|
+
compiledSizeBytes: Maybe<Scalars['BigInt']['output']>;
|
|
5630
|
+
/** Version creation time. */
|
|
5631
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5632
|
+
/** Parent module UUID. */
|
|
5633
|
+
moduleId: Scalars['String']['output'];
|
|
5634
|
+
/** Whether anyone may read this immutable version source. */
|
|
5635
|
+
openSource: Scalars['Boolean']['output'];
|
|
5636
|
+
/** JSON source map. Null for non-authors of closed-source code; P1 exposes no moderation override. */
|
|
5637
|
+
sourceFilesJson: Maybe<Scalars['String']['output']>;
|
|
5638
|
+
/** Compile target. */
|
|
5639
|
+
target: PlayerComputeTarget;
|
|
5640
|
+
/** Version UUID. */
|
|
5641
|
+
versionId: Scalars['String']['output'];
|
|
5642
|
+
/** Monotonic version number. */
|
|
5643
|
+
versionNo: Scalars['Int']['output'];
|
|
5644
|
+
};
|
|
5645
|
+
/** One player-compute policy row (06 §3): developer-set per-player/cohort clamps evaluated most-specific-wins (user > grid > tier > app_default), every knob additionally clamped by the app's studio policy at runtime. Management is authoritative in P2; rows replica-sync to the game runtime. */
|
|
5646
|
+
export type PlayerWasmPolicy = {
|
|
5647
|
+
__typename?: 'PlayerWasmPolicy';
|
|
5648
|
+
/** The app. */
|
|
5649
|
+
appId: Scalars['BigInt']['output'];
|
|
5650
|
+
/** Client-target fuel budget per browser dispatch (04 §3). */
|
|
5651
|
+
clientFuelPerDispatch: Scalars['BigInt']['output'];
|
|
5652
|
+
/** Whether this row is applied. */
|
|
5653
|
+
enabled: Scalars['Boolean']['output'];
|
|
5654
|
+
/** Fuel budget per invoke/event. */
|
|
5655
|
+
fuelPerInvoke: Scalars['BigInt']['output'];
|
|
5656
|
+
/** Fuel budget per tick. */
|
|
5657
|
+
fuelPerTick: Scalars['BigInt']['output'];
|
|
5658
|
+
/** Deploys (compiles) allowed per player per hour. */
|
|
5659
|
+
maxCompilesPerHour: Scalars['Int']['output'];
|
|
5660
|
+
/** Player model containers created per player per day. */
|
|
5661
|
+
maxContainerCreatesDay: Scalars['Int']['output'];
|
|
5662
|
+
/** Host data-API ops per tick. */
|
|
5663
|
+
maxDbOpsPerTick: Scalars['Int']['output'];
|
|
5664
|
+
/** Module replication bytes per minute. */
|
|
5665
|
+
maxEgressBytesPerMin: Scalars['BigInt']['output'];
|
|
5666
|
+
/** Module replication messages per minute. */
|
|
5667
|
+
maxEgressMsgsPerMin: Scalars['Int']['output'];
|
|
5668
|
+
/** Sandbox memory ceiling (MiB). */
|
|
5669
|
+
maxMemoryMb: Scalars['Int']['output'];
|
|
5670
|
+
/** Max player modules per grid. */
|
|
5671
|
+
maxModulesPerGrid: Scalars['Int']['output'];
|
|
5672
|
+
/** Max player modules across all grids one player owns. */
|
|
5673
|
+
maxModulesTotal: Scalars['Int']['output'];
|
|
5674
|
+
/** Watchdog wall-clock ceiling (ms). */
|
|
5675
|
+
maxRunMs: Scalars['Int']['output'];
|
|
5676
|
+
/** Max tick rate in Hz. */
|
|
5677
|
+
maxTickHz: Scalars['Float']['output'];
|
|
5678
|
+
/** Policy row UUID. */
|
|
5679
|
+
policyId: Scalars['String']['output'];
|
|
5680
|
+
/** 'app_default', 'tier', 'grid', or 'user'. */
|
|
5681
|
+
scope: Scalars['String']['output'];
|
|
5682
|
+
/** Tier/grid/user id; null for app_default. */
|
|
5683
|
+
scopeRef: Maybe<Scalars['BigInt']['output']>;
|
|
5684
|
+
/** Daily compute-unit quota; null = uncapped. */
|
|
5685
|
+
unitsPerDay: Maybe<Scalars['BigInt']['output']>;
|
|
5686
|
+
/** Hourly compute-unit quota (PLAYER_QUOTA_EXHAUSTED pause); null = uncapped. */
|
|
5687
|
+
unitsPerHour: Maybe<Scalars['BigInt']['output']>;
|
|
5688
|
+
};
|
|
5689
|
+
/** A one-time portal authorization code. Redirect the player to `redirectUri` carrying `code`; the destination game exchanges it (with its PKCE verifier) via exchangePortalCode for an app token. Single-use and short-lived. */
|
|
5690
|
+
export type PortalAuthorizationCode = {
|
|
5691
|
+
__typename?: 'PortalAuthorizationCode';
|
|
5692
|
+
/** The one-time authorization code. Deliver it to the destination game origin only (e.g. as a `code` query param on redirectUri). */
|
|
5693
|
+
code: Scalars['String']['output'];
|
|
5694
|
+
/** ISO-8601 UTC expiry of the code (typically ~60s). */
|
|
5695
|
+
expiresAt: Scalars['String']['output'];
|
|
5696
|
+
/** The validated redirect URI the player should be sent to. */
|
|
5697
|
+
redirectUri: Scalars['String']['output'];
|
|
4518
5698
|
};
|
|
4519
5699
|
/** Whether portaling into an app requires a consent prompt on the Overworld. */
|
|
4520
5700
|
export type PortalConsentState = {
|
|
@@ -4560,6 +5740,32 @@ export type PublishEnvironmentReleaseFromGameApiTagInput = {
|
|
|
4560
5740
|
/** cks-game-api semver tag (e.g. v0.6.20). */
|
|
4561
5741
|
gameApiTag: Scalars['String']['input'];
|
|
4562
5742
|
};
|
|
5743
|
+
export type PublishPlayerCodeInput = {
|
|
5744
|
+
/** App the listing belongs to. */
|
|
5745
|
+
appId: Scalars['BigInt']['input'];
|
|
5746
|
+
/** Store description. */
|
|
5747
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
5748
|
+
/** Default source-access mode for new versions (default CLOSED). */
|
|
5749
|
+
licenseMode?: InputMaybe<PlayerCodeLicenseMode>;
|
|
5750
|
+
/** JSON array of media refs for store display. */
|
|
5751
|
+
mediaJson?: InputMaybe<Scalars['String']['input']>;
|
|
5752
|
+
/** Listing display name (unique per app among live listings). */
|
|
5753
|
+
name: Scalars['String']['input'];
|
|
5754
|
+
/** Publish under this org (DN-9 org-owned code: the org then holds source access and listing control). Requires manage_compute in that org. Omit to publish personally. */
|
|
5755
|
+
ownerOrgId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5756
|
+
};
|
|
5757
|
+
export type PublishPlayerCodeVersionInput = {
|
|
5758
|
+
/** App the listing belongs to. */
|
|
5759
|
+
appId: Scalars['BigInt']['input'];
|
|
5760
|
+
/** Author license terms shown at acquisition. */
|
|
5761
|
+
licenseText?: InputMaybe<Scalars['String']['input']>;
|
|
5762
|
+
/** UUID of the listing to publish under. */
|
|
5763
|
+
listingId: Scalars['String']['input'];
|
|
5764
|
+
/** UUIDs of the caller-authored, successfully compiled player module versions to package. Server and client versions may be combined into a bundle. The publish pipeline snapshots artifact hashes and the derived capability summary — never source. */
|
|
5765
|
+
moduleVersionIds: Array<Scalars['String']['input']>;
|
|
5766
|
+
/** Open-source this published version (irreversible for the version). */
|
|
5767
|
+
openSource?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5768
|
+
};
|
|
4563
5769
|
export type PurgeEnvironmentInput = {
|
|
4564
5770
|
/** Optional idempotency key. Recommended for retries: replaying with the same key and identical input returns the first result instead of re-applying; the same key with different input returns IDEMPOTENCY_CONFLICT. Keys expire after 24h. */
|
|
4565
5771
|
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4590,10 +5796,26 @@ export type Query = {
|
|
|
4590
5796
|
appBudgets: Array<AppBudget>;
|
|
4591
5797
|
/** Look up a single app by its org slug + app slug (the marketplace URL path). PUBLIC: no authentication required, and NOT filtered by visibility/status, so it can resolve unlisted or draft apps when the exact slugs are known. Returns null if no matching app exists. */
|
|
4592
5798
|
appBySlug: Maybe<App>;
|
|
5799
|
+
/** Read an app's player-code admission mode. Requires 'view_compute_diagnostics'. IMPLICIT_ALLOW (the default) admits lawful player code without curation; ALLOW_LIST requires every running server/client artifact, including self-authored code, to match an active code, author, or org admission. */
|
|
5800
|
+
appCodeAdmissionMode: CodeAdmissionMode;
|
|
5801
|
+
/** The app's admission queue: every non-killed listing joined with its allow-list standing (ADMITTED via a matching code/author/org admission, PENDING, or REVOKED). Requires 'view_compute_diagnostics'. In allow_list apps PENDING listings are browsable but uninstallable; admit them via admitAppCode (subject kind CODE for one listing, AUTHOR or ORG for wholesale admission). */
|
|
5802
|
+
appCodeAdmissionQueue: Array<PlayerCodeAdmissionQueueEntry>;
|
|
5803
|
+
/** List an app's player-code admission entries, newest first. Requires 'view_compute_diagnostics'. By default returns active entries only; includeRevoked adds audit-visible revoked rows. Admission controls execution, never source visibility. */
|
|
5804
|
+
appCodeAdmissions: Array<AppCodeAdmission>;
|
|
4593
5805
|
/** Lists org members eligible for a manual app access grant (active members of the app's owning org). Requires the 'manage_access_tiers' permission on the app; super admins bypass. Use the returned user ids with grantAppAccess. */
|
|
4594
5806
|
appGrantMemberCandidates: Array<AppGrantMemberCandidate>;
|
|
4595
5807
|
/** Top GraphQL operations for an app ranked by bytes over the time range. Read-only reporting; the app must be linked to an environment in the org. Requires the 'view_usage' org permission. */
|
|
4596
5808
|
appGraphqlOperations: Array<GraphqlOperationUsageRow>;
|
|
5809
|
+
/** List an app's code acquisitions (entitlement rows), newest first. Requires 'view_compute_diagnostics'. All rows are mode FREE in P4a; uninstalls never delete acquisitions (audit). */
|
|
5810
|
+
appPlayerCodeAcquisitions: Array<PlayerCodeAcquisition>;
|
|
5811
|
+
/** List the immutable published versions of a listing, newest first. Requires 'view_compute_diagnostics'. Versions expose artifact hashes and the derived capability summary — never source. */
|
|
5812
|
+
appPlayerCodeListingVersions: Array<PlayerCodeVersion>;
|
|
5813
|
+
/** List an app's marketplace code listings (studio administration view), newest first. Requires 'view_compute_diagnostics'. includeDelisted adds delisted/killed rows for moderation history. */
|
|
5814
|
+
appPlayerCodeListings: Array<PlayerCodeListing>;
|
|
5815
|
+
/** Total player rate-card markup accrued to this app's org income line, in cents (payouts arrive with the P4b ledger). Requires 'view_billing'. */
|
|
5816
|
+
appPlayerMarkupAccrued: Scalars['BigInt']['output'];
|
|
5817
|
+
/** Per-player usage aggregate for an app over a trailing window (top spenders / quota utilization, 06 §5): compute units, automation units, compiles, and cents charged per player. Requires 'view_compute_diagnostics'. */
|
|
5818
|
+
appPlayerUsage: Array<AppPlayerUsageRow>;
|
|
4597
5819
|
/** 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. */
|
|
4598
5820
|
appRuntimeState: AppRuntimeState;
|
|
4599
5821
|
/** 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. */
|
|
@@ -4640,6 +5862,8 @@ export type Query = {
|
|
|
4640
5862
|
checkouts: CheckoutsPage;
|
|
4641
5863
|
/** 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. */
|
|
4642
5864
|
checkoutsConnection: CheckoutsConnection;
|
|
5865
|
+
/** The app's open T11 commerce risk queue (velocity holds, same-party flags, chargebacks). Requires 'manage_compute'. */
|
|
5866
|
+
commerceRiskQueue: Array<CommerceRiskFlag>;
|
|
4643
5867
|
/** A snapshot of an app's compute footprint: module/version/trigger counts plus 24h run activity and the most-active modules. Requires the org 'view_compute_diagnostics' permission. */
|
|
4644
5868
|
computeAppDiagnostics: WasmAppDiagnostics;
|
|
4645
5869
|
/** Read one compute module by name. Requires the org 'view_compute_diagnostics' permission. */
|
|
@@ -4768,8 +5992,18 @@ export type Query = {
|
|
|
4768
5992
|
graphqlBillingTiers: Array<GraphqlBillingTier>;
|
|
4769
5993
|
/** List every registered GraphQL API server (both management-api and game-api kinds), regardless of health/state. No authentication required. For service discovery; to route clients, prefer activeGraphQLServers (filters to healthy servers). */
|
|
4770
5994
|
graphqlServers: Array<GraphQlServer>;
|
|
5995
|
+
/** The app's grid claim policy (D4): how a player claim confers grid ownership. */
|
|
5996
|
+
gridClaimPolicy: GridClaimPolicy;
|
|
5997
|
+
/** Pending grid claim requests: designated approvers (or studio staff holding manage_compute) see the app's queue; other callers see their own requests. */
|
|
5998
|
+
gridClaimRequests: Array<GridClaimRequest>;
|
|
5999
|
+
/** Client mods attached to a grid (bundled listings installed by the grid owner, D2). A player present in the grid may run one only after consenting to its capability hash via consentGridClientMod; callerConsented reports the caller's state. This is how grid authors offer client compute to visitors — e.g. relaying actor updates to the grid's server compute. */
|
|
6000
|
+
gridClientMods: Array<GridClientMod>;
|
|
4771
6001
|
/** List the group/role -> permission-key grants configured on a grid for one group (rows of the `grid_group_grants` input table). These are inputs to the effective ACL, not the materialized result — use `gridUserPermissions` for a specific user's effective keys. Requires app-admin ('manage_apps'). */
|
|
4772
6002
|
gridGroupGrants: Array<GridGroupGrant>;
|
|
6003
|
+
/** Browse the app's grid listings (P4b): blueprints that stamp a fresh grid per purchase, or concrete grids. Buying confers ownership + keys + quota preset atomically. */
|
|
6004
|
+
gridListings: Array<GridListing>;
|
|
6005
|
+
/** Read the current first-class ownership record for a grid. Requires authentication. Returns null when the grid has no current/unexpired owner. Player server code always resolves its execution identity from this record. */
|
|
6006
|
+
gridOwnership: Maybe<GridOwnership>;
|
|
4773
6007
|
/** Read the permission-key whitelist configured for a grid. An empty list means there is no limit (every active runtime permission may be granted on the grid). Requires app-admin ('manage_apps'). */
|
|
4774
6008
|
gridPermissionLimits: GridPermissionLimits;
|
|
4775
6009
|
/** Read one user's effective (materialized) runtime permission keys on a grid — the flattened union of direct and group-derived grants that Buddy enforces, with expired grants excluded. Use this to see what a user can actually do. To inspect the underlying inputs instead, use `gridGroupGrants` (group grants) and `gridPermissionLimits` (the whitelist). Requires app-admin ('manage_apps'). */
|
|
@@ -4805,11 +6039,17 @@ export type Query = {
|
|
|
4805
6039
|
myIdentities: Array<UserIdentity>;
|
|
4806
6040
|
/** Lists the authenticated caller's organization memberships. Each entry bundles the org, the caller's effective permission keys, and assigned roles. Requires a valid session token. */
|
|
4807
6041
|
myOrganizations: Array<OrgMembership>;
|
|
6042
|
+
/** The caller's code entitlements in this app (all mode 'free' in P4a). Uninstalls never remove acquisitions. */
|
|
6043
|
+
myPlayerCodeAcquisitions: Array<PlayerCodeAcquisition>;
|
|
6044
|
+
/** The caller's active installs in this app: pinned versions, consent hashes, and target grids. */
|
|
6045
|
+
myPlayerCodeInstalls: Array<PlayerCodeInstall>;
|
|
4808
6046
|
/**
|
|
4809
6047
|
* The authenticated user’s property-token balances (available, in use, total). Requires a valid game token. NOTE: property tokens are management-owned, so in cks-game-api this throws ForbiddenException — call cks-management-api instead.
|
|
4810
6048
|
* @deprecated Legacy donation/property-token data; these products are no longer purchasable. Retained for historical records.
|
|
4811
6049
|
*/
|
|
4812
6050
|
myPropertyTokens: UserPropertyTokenData;
|
|
6051
|
+
/** The calling player's seller payout balance (pending/payable/reserved). */
|
|
6052
|
+
mySellerPayoutBalance: SellerPayoutBalance;
|
|
4813
6053
|
/** The caller's teams in an app, with their roles and effective team permissions. Use this to discover which teams the current user belongs to and what they may do in each. */
|
|
4814
6054
|
myTeams: Array<GroupMembership>;
|
|
4815
6055
|
/** List every grid overlapping a chunk-coordinate bounding box, each with the given user's effective permission keys on it. Useful for previewing what a user can do across a region (e.g. around their current position). Requires app-admin ('manage_apps'). */
|
|
@@ -4850,8 +6090,50 @@ export type Query = {
|
|
|
4850
6090
|
paymentEventsConnection: PaymentEventsConnection;
|
|
4851
6091
|
/** Public platform discovery. Returns the shared game-api URL clients use for shared-environment apps (served by the platform shared environment). No auth required. */
|
|
4852
6092
|
platformConfig: PlatformConfig;
|
|
6093
|
+
/** The caller's player-wallet auto-recharge settings (off-session card top-up before the player gate denies for funds). */
|
|
6094
|
+
playerAutoBilling: PlayerAutoBilling;
|
|
6095
|
+
/** List only the caller-owned player automations in one currently owned grid. Requires an app-scoped token; no app-wide listing exists. */
|
|
6096
|
+
playerAutomations: Array<PlayerAutomation>;
|
|
6097
|
+
/** Fetch the client half of an acquired or grid-attached listing (P4a — the deliberate widening of the P3 author-only artifact fetch). Served to an entitled acquirer with a live install, or to a consenting player currently PRESENT in a grid with a live attachment. Both paths require run_client_code and the listing admitted under the app's mode; every factor fails closed as 'not found'. */
|
|
6098
|
+
playerCodeClientArtifact: PlayerClientArtifact;
|
|
6099
|
+
/** List the immutable published versions of a listing, newest first, with each version’s derived capability summary and consent hash. */
|
|
6100
|
+
playerCodeListingVersions: Array<PlayerCodeListingVersion>;
|
|
6101
|
+
/** Browse an app's active marketplace code listings (free mode). Each listing carries its admission standing: in allow_list apps a PENDING listing can be acquired but not installed. Closed-source listings expose artifact hashes and the derived capability summary only — never source. */
|
|
6102
|
+
playerCodeListings: Array<PlayerCodeListing>;
|
|
6103
|
+
/** Fetch a compiled CLIENT player artifact plus the metadata the browser broker needs to run it (player compute P3). Fail-closed: the caller must currently own the grid, be the version's author, hold run_client_code at app and grid scope, and the code must be admitted under the app's mode. Returns the gas-injected wasm bytes (base64), the declared client contract, and the per-dispatch fuel budget the glue worker enforces. Acquired (bought/rented) client code is served through the marketplace path in a later phase. */
|
|
6104
|
+
playerComputeArtifact: PlayerClientArtifact;
|
|
6105
|
+
/** Failed-run diagnostics for player modules on a grid the caller currently owns: the failing runs with their typed error kinds, newest first. The owner-scoped twin of computeModuleLogs. */
|
|
6106
|
+
playerComputeLogs: Array<PlayerWasmModuleRun>;
|
|
6107
|
+
/** List player modules the caller authored or that are installed on grids they currently own. Requires a valid app token; closed source is never included here. */
|
|
6108
|
+
playerComputeMyModules: Array<PlayerWasmModule>;
|
|
6109
|
+
/** List executions of player modules on a grid the caller currently owns, newest first. Every run is attributed to the grid owner it executed as; author identity never appears here. */
|
|
6110
|
+
playerComputeRuns: Array<PlayerWasmModuleRun>;
|
|
6111
|
+
/** Active player-compute kill switches for an app, newest first. Requires the org 'view_compute_diagnostics' permission. */
|
|
6112
|
+
playerComputeSwitches: Array<PlayerComputeSwitch>;
|
|
6113
|
+
/** The caller's player-compute spend and quota view for one app (P2): compute units used in the current clock hour/day vs the effective units_per_hour/units_per_day policy caps, compile-quota utilization, and the wallet/spend-cap gate state with its typed reason. This is the remaining-budget source the live-coding panel consumes. */
|
|
6114
|
+
playerComputeUsage: PlayerComputeUsage;
|
|
6115
|
+
/** List immutable versions for one player module. Source and compile logs are returned only to the personal author, or source when that version is open-source. There is intentionally no studio/operator moderation override. */
|
|
6116
|
+
playerComputeVersions: Array<PlayerWasmModuleVersion>;
|
|
6117
|
+
/** Return one caller-owned player-model container in the specified app/grid, or null when it is absent or outside that owner scope. Requires current grid ownership. */
|
|
6118
|
+
playerModelContainer: Maybe<PlayerModelContainer>;
|
|
6119
|
+
/** List flexible player-model containers owned by the caller in one currently owned grid. Requires an app-scoped token and current grid ownership; never returns app-wide or foreign-owner rows. */
|
|
6120
|
+
playerModelContainers: Array<PlayerModelContainer>;
|
|
4853
6121
|
/** Live concurrent players for the org vs its all-time peak, a percentile comparison against other studios, and the site-wide total. Requires the 'view_usage' org permission. */
|
|
4854
6122
|
playerPulse: PlayerPulse;
|
|
6123
|
+
/** The app's player rate-card markup in basis points on the platform base price (06 §4): the studio's usage-revenue stream, shown to players as a separate spend-history component. 0 = no markup (the BWF posture). Requires 'view_billing'. */
|
|
6124
|
+
playerRateMarkup: Scalars['Int']['output'];
|
|
6125
|
+
/** The caller's per-app player runtime gate states. Only apps where the gate has ever acted appear; absence means active. 'denied' with PLAYER_WALLET_EMPTY or PLAYER_SPEND_CAP pauses that player's grid compute only — play is never touched. */
|
|
6126
|
+
playerRuntimeStates: Array<PlayerRuntimeState>;
|
|
6127
|
+
/** The caller's self-set spend caps (global and per-app) with running counters. The effective runtime limit is min(developer policy, self-cap, wallet balance). */
|
|
6128
|
+
playerSpendCaps: Array<PlayerSpendCap>;
|
|
6129
|
+
/** The caller's posted hourly player-usage charges, newest first, optionally filtered by app. Each charge splits platformCents (base rate card) from markupCents (the studio's configured markup) with a per-metric snapshot — players always see what the platform charges and what the studio adds. */
|
|
6130
|
+
playerUsageCharges: Array<PlayerUsageCharge>;
|
|
6131
|
+
/** The caller's player wallet, created empty on first access (never null). Platform-scoped: one wallet funds the player's grid compute across every org/app (DN-5); org billing never touches it. Fund it via createCheckout purpose PLAYER_WALLET_TOPUP. */
|
|
6132
|
+
playerWalletBalance: PlayerWallet;
|
|
6133
|
+
/** The caller's player-wallet ledger, newest first: top-ups, hourly usage debits (per app), auto-recharges, refunds, and adjustments. Usage-debit hours are broken down by playerUsageCharges, whose snapshot splits the platform and studio-markup components. */
|
|
6134
|
+
playerWalletTransactions: Array<PlayerWalletTransaction>;
|
|
6135
|
+
/** List an app's player-compute policy rows (developer cost/rate clamps per player or cohort, 06 §3), most general first. Requires 'view_compute_diagnostics'. Management is authoritative; rows replica-sync to the game runtime on change. */
|
|
6136
|
+
playerWasmPolicies: Array<PlayerWasmPolicy>;
|
|
4855
6137
|
/** Whether portaling the calling user into an app needs a consent prompt. Trusted (first-party) apps and already-granted apps return consentRequired=false. The Overworld calls this before createPortalAuthorizationCode. Requires a SESSION token. */
|
|
4856
6138
|
portalConsent: PortalConsentState;
|
|
4857
6139
|
/** Public read-only catalog of active Postgres billing tiers. Usage metering deferred. */
|
|
@@ -4934,6 +6216,16 @@ export type QueryAppBySlugArgs = {
|
|
|
4934
6216
|
appSlug: Scalars['String']['input'];
|
|
4935
6217
|
orgSlug: Scalars['String']['input'];
|
|
4936
6218
|
};
|
|
6219
|
+
export type QueryAppCodeAdmissionModeArgs = {
|
|
6220
|
+
appId: Scalars['BigInt']['input'];
|
|
6221
|
+
};
|
|
6222
|
+
export type QueryAppCodeAdmissionQueueArgs = {
|
|
6223
|
+
appId: Scalars['BigInt']['input'];
|
|
6224
|
+
};
|
|
6225
|
+
export type QueryAppCodeAdmissionsArgs = {
|
|
6226
|
+
appId: Scalars['BigInt']['input'];
|
|
6227
|
+
includeRevoked?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6228
|
+
};
|
|
4937
6229
|
export type QueryAppGrantMemberCandidatesArgs = {
|
|
4938
6230
|
appId: Scalars['BigInt']['input'];
|
|
4939
6231
|
};
|
|
@@ -4943,6 +6235,24 @@ export type QueryAppGraphqlOperationsArgs = {
|
|
|
4943
6235
|
orgId: Scalars['BigInt']['input'];
|
|
4944
6236
|
since: Scalars['DateTime']['input'];
|
|
4945
6237
|
};
|
|
6238
|
+
export type QueryAppPlayerCodeAcquisitionsArgs = {
|
|
6239
|
+
appId: Scalars['BigInt']['input'];
|
|
6240
|
+
};
|
|
6241
|
+
export type QueryAppPlayerCodeListingVersionsArgs = {
|
|
6242
|
+
appId: Scalars['BigInt']['input'];
|
|
6243
|
+
listingId: Scalars['String']['input'];
|
|
6244
|
+
};
|
|
6245
|
+
export type QueryAppPlayerCodeListingsArgs = {
|
|
6246
|
+
appId: Scalars['BigInt']['input'];
|
|
6247
|
+
includeDelisted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6248
|
+
};
|
|
6249
|
+
export type QueryAppPlayerMarkupAccruedArgs = {
|
|
6250
|
+
appId: Scalars['BigInt']['input'];
|
|
6251
|
+
};
|
|
6252
|
+
export type QueryAppPlayerUsageArgs = {
|
|
6253
|
+
appId: Scalars['BigInt']['input'];
|
|
6254
|
+
hours?: InputMaybe<Scalars['Int']['input']>;
|
|
6255
|
+
};
|
|
4946
6256
|
export type QueryAppRuntimeStateArgs = {
|
|
4947
6257
|
appId: Scalars['BigInt']['input'];
|
|
4948
6258
|
};
|
|
@@ -5026,6 +6336,9 @@ export type QueryCheckoutsConnectionArgs = {
|
|
|
5026
6336
|
filter?: InputMaybe<CheckoutFilterInput>;
|
|
5027
6337
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5028
6338
|
};
|
|
6339
|
+
export type QueryCommerceRiskQueueArgs = {
|
|
6340
|
+
appId: Scalars['BigInt']['input'];
|
|
6341
|
+
};
|
|
5029
6342
|
export type QueryComputeAppDiagnosticsArgs = {
|
|
5030
6343
|
appId: Scalars['BigInt']['input'];
|
|
5031
6344
|
};
|
|
@@ -5255,11 +6568,28 @@ export type QueryGetChunksByDistanceArgs = {
|
|
|
5255
6568
|
export type QueryGetVoxelListArgs = {
|
|
5256
6569
|
input: GetVoxelListInput;
|
|
5257
6570
|
};
|
|
6571
|
+
export type QueryGridClaimPolicyArgs = {
|
|
6572
|
+
appId: Scalars['BigInt']['input'];
|
|
6573
|
+
};
|
|
6574
|
+
export type QueryGridClaimRequestsArgs = {
|
|
6575
|
+
appId: Scalars['BigInt']['input'];
|
|
6576
|
+
};
|
|
6577
|
+
export type QueryGridClientModsArgs = {
|
|
6578
|
+
appId: Scalars['BigInt']['input'];
|
|
6579
|
+
gridId: Scalars['BigInt']['input'];
|
|
6580
|
+
};
|
|
5258
6581
|
export type QueryGridGroupGrantsArgs = {
|
|
5259
6582
|
appId: Scalars['BigInt']['input'];
|
|
5260
6583
|
gridId: Scalars['BigInt']['input'];
|
|
5261
6584
|
groupId: Scalars['BigInt']['input'];
|
|
5262
6585
|
};
|
|
6586
|
+
export type QueryGridListingsArgs = {
|
|
6587
|
+
appId: Scalars['BigInt']['input'];
|
|
6588
|
+
};
|
|
6589
|
+
export type QueryGridOwnershipArgs = {
|
|
6590
|
+
appId: Scalars['BigInt']['input'];
|
|
6591
|
+
gridId: Scalars['BigInt']['input'];
|
|
6592
|
+
};
|
|
5263
6593
|
export type QueryGridPermissionLimitsArgs = {
|
|
5264
6594
|
appId: Scalars['BigInt']['input'];
|
|
5265
6595
|
gridId: Scalars['BigInt']['input'];
|
|
@@ -5292,6 +6622,12 @@ export type QueryMyCheckoutsConnectionArgs = {
|
|
|
5292
6622
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
5293
6623
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5294
6624
|
};
|
|
6625
|
+
export type QueryMyPlayerCodeAcquisitionsArgs = {
|
|
6626
|
+
appId: Scalars['BigInt']['input'];
|
|
6627
|
+
};
|
|
6628
|
+
export type QueryMyPlayerCodeInstallsArgs = {
|
|
6629
|
+
appId: Scalars['BigInt']['input'];
|
|
6630
|
+
};
|
|
5295
6631
|
export type QueryMyTeamsArgs = {
|
|
5296
6632
|
appId: Scalars['BigInt']['input'];
|
|
5297
6633
|
};
|
|
@@ -5348,9 +6684,80 @@ export type QueryPaymentEventsConnectionArgs = {
|
|
|
5348
6684
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
5349
6685
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5350
6686
|
};
|
|
6687
|
+
export type QueryPlayerAutomationsArgs = {
|
|
6688
|
+
appId: Scalars['BigInt']['input'];
|
|
6689
|
+
gridId: Scalars['BigInt']['input'];
|
|
6690
|
+
};
|
|
6691
|
+
export type QueryPlayerCodeClientArtifactArgs = {
|
|
6692
|
+
appId: Scalars['BigInt']['input'];
|
|
6693
|
+
listingId: Scalars['String']['input'];
|
|
6694
|
+
versionId?: InputMaybe<Scalars['String']['input']>;
|
|
6695
|
+
};
|
|
6696
|
+
export type QueryPlayerCodeListingVersionsArgs = {
|
|
6697
|
+
appId: Scalars['BigInt']['input'];
|
|
6698
|
+
listingId: Scalars['String']['input'];
|
|
6699
|
+
};
|
|
6700
|
+
export type QueryPlayerCodeListingsArgs = {
|
|
6701
|
+
appId: Scalars['BigInt']['input'];
|
|
6702
|
+
};
|
|
6703
|
+
export type QueryPlayerComputeArtifactArgs = {
|
|
6704
|
+
appId: Scalars['BigInt']['input'];
|
|
6705
|
+
gridId: Scalars['BigInt']['input'];
|
|
6706
|
+
name: Scalars['String']['input'];
|
|
6707
|
+
versionId?: InputMaybe<Scalars['String']['input']>;
|
|
6708
|
+
};
|
|
6709
|
+
export type QueryPlayerComputeLogsArgs = {
|
|
6710
|
+
appId: Scalars['BigInt']['input'];
|
|
6711
|
+
gridId: Scalars['BigInt']['input'];
|
|
6712
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6713
|
+
moduleName?: InputMaybe<Scalars['String']['input']>;
|
|
6714
|
+
};
|
|
6715
|
+
export type QueryPlayerComputeMyModulesArgs = {
|
|
6716
|
+
appId: Scalars['BigInt']['input'];
|
|
6717
|
+
};
|
|
6718
|
+
export type QueryPlayerComputeRunsArgs = {
|
|
6719
|
+
appId: Scalars['BigInt']['input'];
|
|
6720
|
+
gridId: Scalars['BigInt']['input'];
|
|
6721
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6722
|
+
moduleName?: InputMaybe<Scalars['String']['input']>;
|
|
6723
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
6724
|
+
success?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6725
|
+
};
|
|
6726
|
+
export type QueryPlayerComputeSwitchesArgs = {
|
|
6727
|
+
appId: Scalars['BigInt']['input'];
|
|
6728
|
+
};
|
|
6729
|
+
export type QueryPlayerComputeUsageArgs = {
|
|
6730
|
+
appId: Scalars['BigInt']['input'];
|
|
6731
|
+
};
|
|
6732
|
+
export type QueryPlayerComputeVersionsArgs = {
|
|
6733
|
+
appId: Scalars['BigInt']['input'];
|
|
6734
|
+
gridId: Scalars['BigInt']['input'];
|
|
6735
|
+
name: Scalars['String']['input'];
|
|
6736
|
+
};
|
|
6737
|
+
export type QueryPlayerModelContainerArgs = {
|
|
6738
|
+
input: PlayerModelContainerRefInput;
|
|
6739
|
+
};
|
|
6740
|
+
export type QueryPlayerModelContainersArgs = {
|
|
6741
|
+
appId: Scalars['BigInt']['input'];
|
|
6742
|
+
gridId: Scalars['BigInt']['input'];
|
|
6743
|
+
};
|
|
5351
6744
|
export type QueryPlayerPulseArgs = {
|
|
5352
6745
|
orgId: Scalars['BigInt']['input'];
|
|
5353
6746
|
};
|
|
6747
|
+
export type QueryPlayerRateMarkupArgs = {
|
|
6748
|
+
appId: Scalars['BigInt']['input'];
|
|
6749
|
+
};
|
|
6750
|
+
export type QueryPlayerUsageChargesArgs = {
|
|
6751
|
+
appId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
6752
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6753
|
+
};
|
|
6754
|
+
export type QueryPlayerWalletTransactionsArgs = {
|
|
6755
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6756
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
6757
|
+
};
|
|
6758
|
+
export type QueryPlayerWasmPoliciesArgs = {
|
|
6759
|
+
appId: Scalars['BigInt']['input'];
|
|
6760
|
+
};
|
|
5354
6761
|
export type QueryPortalConsentArgs = {
|
|
5355
6762
|
appId: Scalars['BigInt']['input'];
|
|
5356
6763
|
};
|
|
@@ -5685,6 +7092,55 @@ export type SeedPropertyInput = {
|
|
|
5685
7092
|
/** Value type of the value being set. */
|
|
5686
7093
|
valueType: Scalars['String']['input'];
|
|
5687
7094
|
};
|
|
7095
|
+
/** An Account Session for Stripe's EMBEDDED Connect components: the browser initializes Connect.js with the publishable key + this short-lived client secret and mounts the account-onboarding / payouts / balances components INSIDE the platform UI — sellers never leave for a Stripe-hosted page. Re-request on expiry. The hosted-link flow (beginSellerOnboarding) remains the fallback. */
|
|
7096
|
+
export type SellerAccountSession = {
|
|
7097
|
+
__typename?: 'SellerAccountSession';
|
|
7098
|
+
/** The connected account the session is scoped to (provider ref only). */
|
|
7099
|
+
accountRef: Scalars['String']['output'];
|
|
7100
|
+
/** Short-lived Account Session client secret for Connect.js. */
|
|
7101
|
+
clientSecret: Scalars['String']['output'];
|
|
7102
|
+
/** When the client secret expires; re-request after this. */
|
|
7103
|
+
expiresAt: Maybe<Scalars['DateTime']['output']>;
|
|
7104
|
+
/** Whether onboarding is already complete (payouts enabled) — render the payouts/balances components instead of onboarding. */
|
|
7105
|
+
onboardingComplete: Scalars['Boolean']['output'];
|
|
7106
|
+
/** Stripe publishable key the browser initializes Connect.js with. */
|
|
7107
|
+
publishableKey: Maybe<Scalars['String']['output']>;
|
|
7108
|
+
};
|
|
7109
|
+
/** Result of beginning seller onboarding: the Stripe Connect Express account link the seller opens to finish KYC. */
|
|
7110
|
+
export type SellerOnboardingLink = {
|
|
7111
|
+
__typename?: 'SellerOnboardingLink';
|
|
7112
|
+
/** The Stripe-hosted onboarding URL to open; null when already complete or unavailable in the seller region. */
|
|
7113
|
+
onboardingUrl: Maybe<Scalars['String']['output']>;
|
|
7114
|
+
/** Current onboarding state. */
|
|
7115
|
+
status: SellerOnboardingStatus;
|
|
7116
|
+
/** Why onboarding is unavailable (e.g. region unsupported); null otherwise. */
|
|
7117
|
+
unavailableReason: Maybe<Scalars['String']['output']>;
|
|
7118
|
+
};
|
|
7119
|
+
/** A seller (player or org) payout-account state: NONE (never started), PENDING (Stripe Connect Express onboarding incomplete), COMPLETE (payouts enabled), or BLOCKED (provider or platform hold). */
|
|
7120
|
+
export declare enum SellerOnboardingStatus {
|
|
7121
|
+
Blocked = "BLOCKED",
|
|
7122
|
+
Complete = "COMPLETE",
|
|
7123
|
+
None = "NONE",
|
|
7124
|
+
Pending = "PENDING"
|
|
7125
|
+
}
|
|
7126
|
+
/** A seller's payout balance (player or org). pending ages through the D6 delay window into payable; reserved is the D6 young-account holdback or a T11 freeze. */
|
|
7127
|
+
export type SellerPayoutBalance = {
|
|
7128
|
+
__typename?: 'SellerPayoutBalance';
|
|
7129
|
+
/** Stripe Connect Express onboarding state. */
|
|
7130
|
+
onboardingStatus: SellerOnboardingStatus;
|
|
7131
|
+
/** 'user' or 'org'. */
|
|
7132
|
+
partyKind: Scalars['String']['output'];
|
|
7133
|
+
/** User id or org id. */
|
|
7134
|
+
partyRef: Scalars['BigInt']['output'];
|
|
7135
|
+
/** Cents aged, unreserved, and withdrawable. */
|
|
7136
|
+
payableCents: Scalars['Int']['output'];
|
|
7137
|
+
/** Whether payouts are frozen by a T11 review hold. */
|
|
7138
|
+
payoutsFrozen: Scalars['Boolean']['output'];
|
|
7139
|
+
/** Cents still aging in the delay window. */
|
|
7140
|
+
pendingCents: Scalars['Int']['output'];
|
|
7141
|
+
/** Cents held back (reserve or T11 freeze). */
|
|
7142
|
+
reservedCents: Scalars['Int']['output'];
|
|
7143
|
+
};
|
|
5688
7144
|
/** Notification received when the server sends a custom event. Received via the udpNotifications subscription. */
|
|
5689
7145
|
export type ServerEventNotification = {
|
|
5690
7146
|
__typename?: 'ServerEventNotification';
|
|
@@ -5916,6 +7372,24 @@ export type SetGridPermissionLimitsInput = {
|
|
|
5916
7372
|
/** The whitelist of permission keys allowed on this grid. Empty array removes all limits (every active grid permission becomes grantable again). Each key must be a known runtime permission key, unique, and at most 64 chars. */
|
|
5917
7373
|
permissionKeys: Array<Scalars['String']['input']>;
|
|
5918
7374
|
};
|
|
7375
|
+
export type SetListingPricingInput = {
|
|
7376
|
+
/** Acquisition mode: 'free', 'buy', 'rent', 'time_limited', or 'cost_limited'. */
|
|
7377
|
+
acquisitionMode: Scalars['String']['input'];
|
|
7378
|
+
/** App that owns the listing. */
|
|
7379
|
+
appId: Scalars['BigInt']['input'];
|
|
7380
|
+
/** Whether an acquired license may travel with a grid resale (default false; 07 §5.a). */
|
|
7381
|
+
licenseTransferable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7382
|
+
/** UUID of the listing to price. */
|
|
7383
|
+
listingId: Scalars['String']['input'];
|
|
7384
|
+
/** Price in cents (required for all non-free modes; author-set only). */
|
|
7385
|
+
priceCents?: InputMaybe<Scalars['Int']['input']>;
|
|
7386
|
+
/** Rent billing interval in days (rent mode). */
|
|
7387
|
+
rentIntervalDays?: InputMaybe<Scalars['Int']['input']>;
|
|
7388
|
+
/** Compute-unit budget the license grants (cost_limited mode). */
|
|
7389
|
+
unitBudget?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7390
|
+
/** Single fixed window in days (time_limited mode). */
|
|
7391
|
+
windowDays?: InputMaybe<Scalars['Int']['input']>;
|
|
7392
|
+
};
|
|
5919
7393
|
/** Replace a member's roles in a group (the listed roles become their full set). */
|
|
5920
7394
|
export type SetMemberRolesInput = {
|
|
5921
7395
|
/** The group (team/channel) id. */
|
|
@@ -5925,6 +7399,55 @@ export type SetMemberRolesInput = {
|
|
|
5925
7399
|
/** The member (user) whose roles to set. */
|
|
5926
7400
|
userId: Scalars['BigInt']['input'];
|
|
5927
7401
|
};
|
|
7402
|
+
/** Enable or disable one player automation. Enabling a schedule computes its next due time. */
|
|
7403
|
+
export type SetPlayerAutomationEnabledInput = {
|
|
7404
|
+
/** App containing the owned grid. */
|
|
7405
|
+
appId: Scalars['BigInt']['input'];
|
|
7406
|
+
/** Player automation UUID. */
|
|
7407
|
+
automationId: Scalars['String']['input'];
|
|
7408
|
+
/** Whether the automation may dispatch. */
|
|
7409
|
+
enabled: Scalars['Boolean']['input'];
|
|
7410
|
+
/** Grid that confines the automation. */
|
|
7411
|
+
gridId: Scalars['BigInt']['input'];
|
|
7412
|
+
};
|
|
7413
|
+
/** Set one arbitrary JSON property on a player-owned container. The caller must currently own the specified grid and container. */
|
|
7414
|
+
export type SetPlayerModelPropertyInput = {
|
|
7415
|
+
/** App containing the owned grid. */
|
|
7416
|
+
appId: Scalars['BigInt']['input'];
|
|
7417
|
+
/** Player container UUID. */
|
|
7418
|
+
containerId: Scalars['String']['input'];
|
|
7419
|
+
/** Grid that confines the container. */
|
|
7420
|
+
gridId: Scalars['BigInt']['input'];
|
|
7421
|
+
/** Property key, upserted within the container. */
|
|
7422
|
+
propertyKey: Scalars['String']['input'];
|
|
7423
|
+
/** JSON-encoded property value. Any valid JSON value is accepted. */
|
|
7424
|
+
valueJson: Scalars['String']['input'];
|
|
7425
|
+
};
|
|
7426
|
+
/** Upsert one player policy row. Omitted knobs keep their current value (or the platform default on first insert). unitsPerHour/unitsPerDay accept null to clear the quota. */
|
|
7427
|
+
export type SetPlayerWasmPolicyInput = {
|
|
7428
|
+
/** The app. */
|
|
7429
|
+
appId: Scalars['BigInt']['input'];
|
|
7430
|
+
clientFuelPerDispatch?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7431
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7432
|
+
fuelPerInvoke?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7433
|
+
fuelPerTick?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7434
|
+
maxCompilesPerHour?: InputMaybe<Scalars['Int']['input']>;
|
|
7435
|
+
maxContainerCreatesDay?: InputMaybe<Scalars['Int']['input']>;
|
|
7436
|
+
maxDbOpsPerTick?: InputMaybe<Scalars['Int']['input']>;
|
|
7437
|
+
maxEgressBytesPerMin?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7438
|
+
maxEgressMsgsPerMin?: InputMaybe<Scalars['Int']['input']>;
|
|
7439
|
+
maxMemoryMb?: InputMaybe<Scalars['Int']['input']>;
|
|
7440
|
+
maxModulesPerGrid?: InputMaybe<Scalars['Int']['input']>;
|
|
7441
|
+
maxModulesTotal?: InputMaybe<Scalars['Int']['input']>;
|
|
7442
|
+
maxRunMs?: InputMaybe<Scalars['Int']['input']>;
|
|
7443
|
+
maxTickHz?: InputMaybe<Scalars['Float']['input']>;
|
|
7444
|
+
/** 'app_default', 'tier', 'grid', or 'user'. */
|
|
7445
|
+
scope: Scalars['String']['input'];
|
|
7446
|
+
/** Tier/grid/user id; required unless scope is app_default. */
|
|
7447
|
+
scopeRef?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7448
|
+
unitsPerDay?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7449
|
+
unitsPerHour?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7450
|
+
};
|
|
5928
7451
|
export type SetQuotaInput = {
|
|
5929
7452
|
/** What to do when the limit is exceeded. Optional; defaults to "throttle" (typical values: "throttle" to rate-limit, "block" to reject). */
|
|
5930
7453
|
actionOnExceed?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6069,6 +7592,28 @@ export type TeleportResponse = {
|
|
|
6069
7592
|
/** True when the teleport is authorized/accepted; false otherwise (inspect errorCode for the reason). */
|
|
6070
7593
|
success: Scalars['Boolean']['output'];
|
|
6071
7594
|
};
|
|
7595
|
+
export type TransferGridOwnershipInput = {
|
|
7596
|
+
/** App that contains the grid. */
|
|
7597
|
+
appId: Scalars['BigInt']['input'];
|
|
7598
|
+
/** Required when the new tenure is RENTED. */
|
|
7599
|
+
expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
7600
|
+
/** Grid whose title transfers. */
|
|
7601
|
+
gridId: Scalars['BigInt']['input'];
|
|
7602
|
+
/** User id receiving title. */
|
|
7603
|
+
newOwnerUserId: Scalars['BigInt']['input'];
|
|
7604
|
+
/** New owner tenure. */
|
|
7605
|
+
tenure?: InputMaybe<GridTenure>;
|
|
7606
|
+
};
|
|
7607
|
+
export type TransferPlayerCodeListingInput = {
|
|
7608
|
+
/** Numeric app id that owns the listing. */
|
|
7609
|
+
appId: Scalars['BigInt']['input'];
|
|
7610
|
+
/** UUID of the listing to transfer. */
|
|
7611
|
+
listingId: Scalars['String']['input'];
|
|
7612
|
+
/** New owner kind (USER or ORG). */
|
|
7613
|
+
toOwnerKind: PlayerCodeOwnerKind;
|
|
7614
|
+
/** Numeric user id or org id of the new owner, per toOwnerKind. */
|
|
7615
|
+
toOwnerRef: Scalars['BigInt']['input'];
|
|
7616
|
+
};
|
|
6072
7617
|
/** Error codes returned by UDP game servers (and surfaced on `GenericErrorResponse.errorCode`) in response to a spatial/realtime message. NO_ERROR (0) indicates success; every other value indicates a failure. The numeric value is the byte sent on the wire; GraphQL exposes the name. Note: a failed message does not always produce an error — some auth failures are dropped silently (see the docs). */
|
|
6073
7618
|
export declare enum UdpErrorCode {
|
|
6074
7619
|
/** No app matches the supplied appId. */
|
|
@@ -7663,6 +9208,85 @@ export type ArchiveAppMutation = {
|
|
|
7663
9208
|
updatedAt: string;
|
|
7664
9209
|
};
|
|
7665
9210
|
};
|
|
9211
|
+
export type AppCodeAdmissionFieldsFragment = {
|
|
9212
|
+
__typename?: 'AppCodeAdmission';
|
|
9213
|
+
admissionId: string;
|
|
9214
|
+
appId: string;
|
|
9215
|
+
subjectKind: CodeAdmissionSubjectKind;
|
|
9216
|
+
subjectRef: string;
|
|
9217
|
+
versionRange: string | null;
|
|
9218
|
+
admittedBy: string;
|
|
9219
|
+
admittedAt: string;
|
|
9220
|
+
revokedAt: string | null;
|
|
9221
|
+
};
|
|
9222
|
+
export type AppCodeAdmissionModeQueryVariables = Exact<{
|
|
9223
|
+
appId: Scalars['BigInt']['input'];
|
|
9224
|
+
}>;
|
|
9225
|
+
export type AppCodeAdmissionModeQuery = {
|
|
9226
|
+
__typename?: 'Query';
|
|
9227
|
+
appCodeAdmissionMode: CodeAdmissionMode;
|
|
9228
|
+
};
|
|
9229
|
+
export type AppCodeAdmissionsQueryVariables = Exact<{
|
|
9230
|
+
appId: Scalars['BigInt']['input'];
|
|
9231
|
+
includeRevoked?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9232
|
+
}>;
|
|
9233
|
+
export type AppCodeAdmissionsQuery = {
|
|
9234
|
+
__typename?: 'Query';
|
|
9235
|
+
appCodeAdmissions: Array<{
|
|
9236
|
+
__typename?: 'AppCodeAdmission';
|
|
9237
|
+
admissionId: string;
|
|
9238
|
+
appId: string;
|
|
9239
|
+
subjectKind: CodeAdmissionSubjectKind;
|
|
9240
|
+
subjectRef: string;
|
|
9241
|
+
versionRange: string | null;
|
|
9242
|
+
admittedBy: string;
|
|
9243
|
+
admittedAt: string;
|
|
9244
|
+
revokedAt: string | null;
|
|
9245
|
+
}>;
|
|
9246
|
+
};
|
|
9247
|
+
export type SetAppCodeAdmissionModeMutationVariables = Exact<{
|
|
9248
|
+
appId: Scalars['BigInt']['input'];
|
|
9249
|
+
mode: CodeAdmissionMode;
|
|
9250
|
+
}>;
|
|
9251
|
+
export type SetAppCodeAdmissionModeMutation = {
|
|
9252
|
+
__typename?: 'Mutation';
|
|
9253
|
+
setAppCodeAdmissionMode: CodeAdmissionMode;
|
|
9254
|
+
};
|
|
9255
|
+
export type AdmitAppCodeMutationVariables = Exact<{
|
|
9256
|
+
input: AdmitAppCodeInput;
|
|
9257
|
+
}>;
|
|
9258
|
+
export type AdmitAppCodeMutation = {
|
|
9259
|
+
__typename?: 'Mutation';
|
|
9260
|
+
admitAppCode: {
|
|
9261
|
+
__typename?: 'AppCodeAdmission';
|
|
9262
|
+
admissionId: string;
|
|
9263
|
+
appId: string;
|
|
9264
|
+
subjectKind: CodeAdmissionSubjectKind;
|
|
9265
|
+
subjectRef: string;
|
|
9266
|
+
versionRange: string | null;
|
|
9267
|
+
admittedBy: string;
|
|
9268
|
+
admittedAt: string;
|
|
9269
|
+
revokedAt: string | null;
|
|
9270
|
+
};
|
|
9271
|
+
};
|
|
9272
|
+
export type RevokeAppCodeAdmissionMutationVariables = Exact<{
|
|
9273
|
+
appId: Scalars['BigInt']['input'];
|
|
9274
|
+
admissionId: Scalars['String']['input'];
|
|
9275
|
+
}>;
|
|
9276
|
+
export type RevokeAppCodeAdmissionMutation = {
|
|
9277
|
+
__typename?: 'Mutation';
|
|
9278
|
+
revokeAppCodeAdmission: {
|
|
9279
|
+
__typename?: 'AppCodeAdmission';
|
|
9280
|
+
admissionId: string;
|
|
9281
|
+
appId: string;
|
|
9282
|
+
subjectKind: CodeAdmissionSubjectKind;
|
|
9283
|
+
subjectRef: string;
|
|
9284
|
+
versionRange: string | null;
|
|
9285
|
+
admittedBy: string;
|
|
9286
|
+
admittedAt: string;
|
|
9287
|
+
revokedAt: string | null;
|
|
9288
|
+
};
|
|
9289
|
+
};
|
|
7666
9290
|
export type CreateAppMutationVariables = Exact<{
|
|
7667
9291
|
input: CreateAppInput;
|
|
7668
9292
|
}>;
|
|
@@ -9959,20 +11583,87 @@ export type UpdateEnvironmentScalingMutation = {
|
|
|
9959
11583
|
finishedAt: string | null;
|
|
9960
11584
|
};
|
|
9961
11585
|
};
|
|
9962
|
-
export type
|
|
11586
|
+
export type GridOwnershipFieldsFragment = {
|
|
11587
|
+
__typename?: 'GridOwnership';
|
|
11588
|
+
gridOwnershipId: string;
|
|
11589
|
+
gridId: string;
|
|
11590
|
+
appId: string;
|
|
11591
|
+
ownerKind: GridOwnerKind;
|
|
11592
|
+
ownerRef: string;
|
|
11593
|
+
tenure: GridTenure;
|
|
11594
|
+
acquiredVia: string;
|
|
11595
|
+
acquiredAt: string;
|
|
11596
|
+
expiresAt: string | null;
|
|
11597
|
+
};
|
|
11598
|
+
export type GridOwnershipQueryVariables = Exact<{
|
|
9963
11599
|
appId: Scalars['BigInt']['input'];
|
|
9964
11600
|
gridId: Scalars['BigInt']['input'];
|
|
9965
|
-
userId: Scalars['BigInt']['input'];
|
|
9966
11601
|
}>;
|
|
9967
|
-
export type
|
|
11602
|
+
export type GridOwnershipQuery = {
|
|
9968
11603
|
__typename?: 'Query';
|
|
9969
|
-
|
|
9970
|
-
__typename?: '
|
|
9971
|
-
|
|
11604
|
+
gridOwnership: {
|
|
11605
|
+
__typename?: 'GridOwnership';
|
|
11606
|
+
gridOwnershipId: string;
|
|
9972
11607
|
gridId: string;
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
|
|
11608
|
+
appId: string;
|
|
11609
|
+
ownerKind: GridOwnerKind;
|
|
11610
|
+
ownerRef: string;
|
|
11611
|
+
tenure: GridTenure;
|
|
11612
|
+
acquiredVia: string;
|
|
11613
|
+
acquiredAt: string;
|
|
11614
|
+
expiresAt: string | null;
|
|
11615
|
+
} | null;
|
|
11616
|
+
};
|
|
11617
|
+
export type AssignGridOwnershipMutationVariables = Exact<{
|
|
11618
|
+
input: AssignGridOwnershipInput;
|
|
11619
|
+
}>;
|
|
11620
|
+
export type AssignGridOwnershipMutation = {
|
|
11621
|
+
__typename?: 'Mutation';
|
|
11622
|
+
assignGridOwnership: {
|
|
11623
|
+
__typename?: 'GridOwnership';
|
|
11624
|
+
gridOwnershipId: string;
|
|
11625
|
+
gridId: string;
|
|
11626
|
+
appId: string;
|
|
11627
|
+
ownerKind: GridOwnerKind;
|
|
11628
|
+
ownerRef: string;
|
|
11629
|
+
tenure: GridTenure;
|
|
11630
|
+
acquiredVia: string;
|
|
11631
|
+
acquiredAt: string;
|
|
11632
|
+
expiresAt: string | null;
|
|
11633
|
+
};
|
|
11634
|
+
};
|
|
11635
|
+
export type TransferGridOwnershipMutationVariables = Exact<{
|
|
11636
|
+
input: TransferGridOwnershipInput;
|
|
11637
|
+
}>;
|
|
11638
|
+
export type TransferGridOwnershipMutation = {
|
|
11639
|
+
__typename?: 'Mutation';
|
|
11640
|
+
transferGridOwnership: {
|
|
11641
|
+
__typename?: 'GridOwnership';
|
|
11642
|
+
gridOwnershipId: string;
|
|
11643
|
+
gridId: string;
|
|
11644
|
+
appId: string;
|
|
11645
|
+
ownerKind: GridOwnerKind;
|
|
11646
|
+
ownerRef: string;
|
|
11647
|
+
tenure: GridTenure;
|
|
11648
|
+
acquiredVia: string;
|
|
11649
|
+
acquiredAt: string;
|
|
11650
|
+
expiresAt: string | null;
|
|
11651
|
+
};
|
|
11652
|
+
};
|
|
11653
|
+
export type GridUserPermissionsQueryVariables = Exact<{
|
|
11654
|
+
appId: Scalars['BigInt']['input'];
|
|
11655
|
+
gridId: Scalars['BigInt']['input'];
|
|
11656
|
+
userId: Scalars['BigInt']['input'];
|
|
11657
|
+
}>;
|
|
11658
|
+
export type GridUserPermissionsQuery = {
|
|
11659
|
+
__typename?: 'Query';
|
|
11660
|
+
gridUserPermissions: {
|
|
11661
|
+
__typename?: 'GridUserPermissions';
|
|
11662
|
+
appId: string;
|
|
11663
|
+
gridId: string;
|
|
11664
|
+
userId: string;
|
|
11665
|
+
permissionKeys: Array<string>;
|
|
11666
|
+
};
|
|
9976
11667
|
};
|
|
9977
11668
|
export type NearbyGridPermissionsQueryVariables = Exact<{
|
|
9978
11669
|
input: NearbyGridPermissionsInput;
|
|
@@ -11550,261 +13241,715 @@ export type ActorHeartbeatMutation = {
|
|
|
11550
13241
|
earliestActorJoinedAt: string;
|
|
11551
13242
|
} | null;
|
|
11552
13243
|
};
|
|
11553
|
-
export type
|
|
11554
|
-
|
|
13244
|
+
export type PlayerCodeListingFieldsFragment = {
|
|
13245
|
+
__typename?: 'PlayerCodeListing';
|
|
13246
|
+
listingId: string;
|
|
13247
|
+
appId: string;
|
|
13248
|
+
ownerKind: PlayerCodeOwnerKind;
|
|
13249
|
+
ownerRef: string;
|
|
13250
|
+
name: string;
|
|
13251
|
+
description: string;
|
|
13252
|
+
mediaJson: string;
|
|
13253
|
+
licenseMode: PlayerCodeLicenseMode;
|
|
13254
|
+
acquisitionMode: PlayerCodeAcquisitionMode;
|
|
13255
|
+
priceCents: number | null;
|
|
13256
|
+
rentIntervalDays: number | null;
|
|
13257
|
+
windowDays: number | null;
|
|
13258
|
+
unitBudget: string | null;
|
|
13259
|
+
status: PlayerCodeListingStatus;
|
|
13260
|
+
createdAt: string;
|
|
13261
|
+
};
|
|
13262
|
+
export type PlayerCodeListingVersionFieldsFragment = {
|
|
13263
|
+
__typename?: 'PlayerCodeListingVersion';
|
|
13264
|
+
versionId: string;
|
|
13265
|
+
listingId: string;
|
|
13266
|
+
versionNo: number;
|
|
13267
|
+
serverArtifactHashes: Array<string>;
|
|
13268
|
+
clientArtifactHashes: Array<string>;
|
|
13269
|
+
capabilitySummaryJson: string;
|
|
13270
|
+
capabilityHash: string;
|
|
13271
|
+
openSource: boolean;
|
|
13272
|
+
licenseText: string | null;
|
|
13273
|
+
createdAt: string | null;
|
|
13274
|
+
};
|
|
13275
|
+
export type PlayerCodeAcquisitionFieldsFragment = {
|
|
13276
|
+
__typename?: 'PlayerCodeAcquisition';
|
|
13277
|
+
acquisitionId: string;
|
|
13278
|
+
listingId: string;
|
|
13279
|
+
appId: string;
|
|
13280
|
+
mode: PlayerCodeAcquisitionMode;
|
|
13281
|
+
status: string;
|
|
13282
|
+
expiresAt: string | null;
|
|
13283
|
+
unitBudget: string | null;
|
|
13284
|
+
unitsConsumed: string;
|
|
13285
|
+
acquiredAt: string;
|
|
13286
|
+
};
|
|
13287
|
+
export type PlayerCodeInstallFieldsFragment = {
|
|
13288
|
+
__typename?: 'PlayerCodeInstall';
|
|
13289
|
+
installId: string;
|
|
13290
|
+
acquisitionId: string;
|
|
13291
|
+
listingId: string;
|
|
13292
|
+
appId: string;
|
|
13293
|
+
pinnedVersionId: string;
|
|
13294
|
+
targetGridId: string | null;
|
|
13295
|
+
consentedCapabilityHash: string;
|
|
13296
|
+
status: string;
|
|
13297
|
+
createdAt: string;
|
|
13298
|
+
};
|
|
13299
|
+
export type GridClaimRequestFieldsFragment = {
|
|
13300
|
+
__typename?: 'GridClaimRequest';
|
|
13301
|
+
requestId: string;
|
|
13302
|
+
appId: string;
|
|
13303
|
+
gridId: string;
|
|
13304
|
+
requesterUserId: string;
|
|
13305
|
+
status: string;
|
|
13306
|
+
createdAt: string;
|
|
13307
|
+
};
|
|
13308
|
+
export type MarketplaceListingsQueryVariables = Exact<{
|
|
13309
|
+
appId: Scalars['BigInt']['input'];
|
|
11555
13310
|
}>;
|
|
11556
|
-
export type
|
|
11557
|
-
__typename?: '
|
|
11558
|
-
|
|
11559
|
-
__typename?: '
|
|
11560
|
-
|
|
11561
|
-
|
|
11562
|
-
|
|
11563
|
-
|
|
11564
|
-
|
|
11565
|
-
|
|
11566
|
-
|
|
13311
|
+
export type MarketplaceListingsQuery = {
|
|
13312
|
+
__typename?: 'Query';
|
|
13313
|
+
playerCodeListings: Array<{
|
|
13314
|
+
__typename?: 'PlayerCodeListing';
|
|
13315
|
+
admissionState: PlayerCodeAdmissionState;
|
|
13316
|
+
latestVersionId: string | null;
|
|
13317
|
+
listingId: string;
|
|
13318
|
+
appId: string;
|
|
13319
|
+
ownerKind: PlayerCodeOwnerKind;
|
|
13320
|
+
ownerRef: string;
|
|
13321
|
+
name: string;
|
|
13322
|
+
description: string;
|
|
13323
|
+
mediaJson: string;
|
|
13324
|
+
licenseMode: PlayerCodeLicenseMode;
|
|
13325
|
+
acquisitionMode: PlayerCodeAcquisitionMode;
|
|
13326
|
+
priceCents: number | null;
|
|
13327
|
+
rentIntervalDays: number | null;
|
|
13328
|
+
windowDays: number | null;
|
|
13329
|
+
unitBudget: string | null;
|
|
13330
|
+
status: PlayerCodeListingStatus;
|
|
13331
|
+
createdAt: string;
|
|
13332
|
+
}>;
|
|
11567
13333
|
};
|
|
11568
|
-
export type
|
|
11569
|
-
|
|
13334
|
+
export type MarketplaceListingVersionsQueryVariables = Exact<{
|
|
13335
|
+
appId: Scalars['BigInt']['input'];
|
|
13336
|
+
listingId: Scalars['String']['input'];
|
|
11570
13337
|
}>;
|
|
11571
|
-
export type
|
|
11572
|
-
__typename?: '
|
|
11573
|
-
|
|
11574
|
-
__typename?: '
|
|
11575
|
-
|
|
11576
|
-
|
|
11577
|
-
|
|
11578
|
-
|
|
11579
|
-
|
|
13338
|
+
export type MarketplaceListingVersionsQuery = {
|
|
13339
|
+
__typename?: 'Query';
|
|
13340
|
+
playerCodeListingVersions: Array<{
|
|
13341
|
+
__typename?: 'PlayerCodeListingVersion';
|
|
13342
|
+
versionId: string;
|
|
13343
|
+
listingId: string;
|
|
13344
|
+
versionNo: number;
|
|
13345
|
+
serverArtifactHashes: Array<string>;
|
|
13346
|
+
clientArtifactHashes: Array<string>;
|
|
13347
|
+
capabilitySummaryJson: string;
|
|
13348
|
+
capabilityHash: string;
|
|
13349
|
+
openSource: boolean;
|
|
13350
|
+
licenseText: string | null;
|
|
13351
|
+
createdAt: string | null;
|
|
13352
|
+
}>;
|
|
13353
|
+
};
|
|
13354
|
+
export type MarketplaceMyAcquisitionsQueryVariables = Exact<{
|
|
13355
|
+
appId: Scalars['BigInt']['input'];
|
|
13356
|
+
}>;
|
|
13357
|
+
export type MarketplaceMyAcquisitionsQuery = {
|
|
13358
|
+
__typename?: 'Query';
|
|
13359
|
+
myPlayerCodeAcquisitions: Array<{
|
|
13360
|
+
__typename?: 'PlayerCodeAcquisition';
|
|
13361
|
+
acquisitionId: string;
|
|
13362
|
+
listingId: string;
|
|
13363
|
+
appId: string;
|
|
13364
|
+
mode: PlayerCodeAcquisitionMode;
|
|
13365
|
+
status: string;
|
|
11580
13366
|
expiresAt: string | null;
|
|
13367
|
+
unitBudget: string | null;
|
|
13368
|
+
unitsConsumed: string;
|
|
13369
|
+
acquiredAt: string;
|
|
13370
|
+
}>;
|
|
13371
|
+
};
|
|
13372
|
+
export type MarketplaceMyInstallsQueryVariables = Exact<{
|
|
13373
|
+
appId: Scalars['BigInt']['input'];
|
|
13374
|
+
}>;
|
|
13375
|
+
export type MarketplaceMyInstallsQuery = {
|
|
13376
|
+
__typename?: 'Query';
|
|
13377
|
+
myPlayerCodeInstalls: Array<{
|
|
13378
|
+
__typename?: 'PlayerCodeInstall';
|
|
13379
|
+
installId: string;
|
|
13380
|
+
acquisitionId: string;
|
|
13381
|
+
listingId: string;
|
|
13382
|
+
appId: string;
|
|
13383
|
+
pinnedVersionId: string;
|
|
13384
|
+
targetGridId: string | null;
|
|
13385
|
+
consentedCapabilityHash: string;
|
|
13386
|
+
status: string;
|
|
11581
13387
|
createdAt: string;
|
|
13388
|
+
}>;
|
|
13389
|
+
};
|
|
13390
|
+
export type MarketplaceGridClientModsQueryVariables = Exact<{
|
|
13391
|
+
appId: Scalars['BigInt']['input'];
|
|
13392
|
+
gridId: Scalars['BigInt']['input'];
|
|
13393
|
+
}>;
|
|
13394
|
+
export type MarketplaceGridClientModsQuery = {
|
|
13395
|
+
__typename?: 'Query';
|
|
13396
|
+
gridClientMods: Array<{
|
|
13397
|
+
__typename?: 'GridClientMod';
|
|
13398
|
+
attachmentId: string;
|
|
13399
|
+
listingId: string;
|
|
13400
|
+
listingName: string;
|
|
13401
|
+
versionId: string;
|
|
13402
|
+
gridId: string;
|
|
13403
|
+
capabilitySummaryJson: string;
|
|
13404
|
+
capabilityHash: string;
|
|
13405
|
+
callerConsented: boolean;
|
|
13406
|
+
}>;
|
|
13407
|
+
};
|
|
13408
|
+
export type MarketplaceClientArtifactQueryVariables = Exact<{
|
|
13409
|
+
appId: Scalars['BigInt']['input'];
|
|
13410
|
+
listingId: Scalars['String']['input'];
|
|
13411
|
+
versionId?: InputMaybe<Scalars['String']['input']>;
|
|
13412
|
+
}>;
|
|
13413
|
+
export type MarketplaceClientArtifactQuery = {
|
|
13414
|
+
__typename?: 'Query';
|
|
13415
|
+
playerCodeClientArtifact: {
|
|
13416
|
+
__typename?: 'PlayerClientArtifact';
|
|
13417
|
+
versionId: string;
|
|
13418
|
+
artifactHash: string;
|
|
13419
|
+
artifactBase64: string;
|
|
13420
|
+
sizeBytes: number;
|
|
13421
|
+
abiVersion: number;
|
|
13422
|
+
contractJson: string | null;
|
|
13423
|
+
clientFuelPerDispatch: string;
|
|
11582
13424
|
};
|
|
11583
13425
|
};
|
|
11584
|
-
export type
|
|
11585
|
-
input:
|
|
13426
|
+
export type MarketplacePublishListingMutationVariables = Exact<{
|
|
13427
|
+
input: PublishPlayerCodeInput;
|
|
11586
13428
|
}>;
|
|
11587
|
-
export type
|
|
13429
|
+
export type MarketplacePublishListingMutation = {
|
|
11588
13430
|
__typename?: 'Mutation';
|
|
11589
|
-
|
|
11590
|
-
__typename?: '
|
|
11591
|
-
|
|
13431
|
+
publishPlayerCode: {
|
|
13432
|
+
__typename?: 'PlayerCodeListing';
|
|
13433
|
+
admissionState: PlayerCodeAdmissionState;
|
|
13434
|
+
latestVersionId: string | null;
|
|
13435
|
+
listingId: string;
|
|
13436
|
+
appId: string;
|
|
13437
|
+
ownerKind: PlayerCodeOwnerKind;
|
|
13438
|
+
ownerRef: string;
|
|
11592
13439
|
name: string;
|
|
11593
|
-
|
|
11594
|
-
|
|
11595
|
-
|
|
13440
|
+
description: string;
|
|
13441
|
+
mediaJson: string;
|
|
13442
|
+
licenseMode: PlayerCodeLicenseMode;
|
|
13443
|
+
acquisitionMode: PlayerCodeAcquisitionMode;
|
|
13444
|
+
priceCents: number | null;
|
|
13445
|
+
rentIntervalDays: number | null;
|
|
13446
|
+
windowDays: number | null;
|
|
13447
|
+
unitBudget: string | null;
|
|
13448
|
+
status: PlayerCodeListingStatus;
|
|
11596
13449
|
createdAt: string;
|
|
11597
|
-
updatedAt: string;
|
|
11598
13450
|
};
|
|
11599
13451
|
};
|
|
11600
|
-
export type
|
|
11601
|
-
|
|
13452
|
+
export type MarketplacePublishVersionMutationVariables = Exact<{
|
|
13453
|
+
input: PublishPlayerCodeVersionInput;
|
|
11602
13454
|
}>;
|
|
11603
|
-
export type
|
|
13455
|
+
export type MarketplacePublishVersionMutation = {
|
|
11604
13456
|
__typename?: 'Mutation';
|
|
11605
|
-
|
|
13457
|
+
publishPlayerCodeVersion: {
|
|
13458
|
+
__typename?: 'PlayerCodeListingVersion';
|
|
13459
|
+
versionId: string;
|
|
13460
|
+
listingId: string;
|
|
13461
|
+
versionNo: number;
|
|
13462
|
+
serverArtifactHashes: Array<string>;
|
|
13463
|
+
clientArtifactHashes: Array<string>;
|
|
13464
|
+
capabilitySummaryJson: string;
|
|
13465
|
+
capabilityHash: string;
|
|
13466
|
+
openSource: boolean;
|
|
13467
|
+
licenseText: string | null;
|
|
13468
|
+
createdAt: string | null;
|
|
13469
|
+
};
|
|
11606
13470
|
};
|
|
11607
|
-
export type
|
|
11608
|
-
|
|
13471
|
+
export type MarketplaceAcquireMutationVariables = Exact<{
|
|
13472
|
+
appId: Scalars['BigInt']['input'];
|
|
13473
|
+
listingId: Scalars['String']['input'];
|
|
11609
13474
|
}>;
|
|
11610
|
-
export type
|
|
13475
|
+
export type MarketplaceAcquireMutation = {
|
|
11611
13476
|
__typename?: 'Mutation';
|
|
11612
|
-
|
|
11613
|
-
__typename?: '
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
13477
|
+
acquirePlayerCode: {
|
|
13478
|
+
__typename?: 'PlayerCodeAcquisition';
|
|
13479
|
+
acquisitionId: string;
|
|
13480
|
+
listingId: string;
|
|
13481
|
+
appId: string;
|
|
13482
|
+
mode: PlayerCodeAcquisitionMode;
|
|
13483
|
+
status: string;
|
|
13484
|
+
expiresAt: string | null;
|
|
13485
|
+
unitBudget: string | null;
|
|
13486
|
+
unitsConsumed: string;
|
|
13487
|
+
acquiredAt: string;
|
|
13488
|
+
};
|
|
13489
|
+
};
|
|
13490
|
+
export type MarketplaceInstallMutationVariables = Exact<{
|
|
13491
|
+
appId: Scalars['BigInt']['input'];
|
|
13492
|
+
acquisitionId: Scalars['String']['input'];
|
|
13493
|
+
consentCapabilityHash: Scalars['String']['input'];
|
|
13494
|
+
gridId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
13495
|
+
versionId?: InputMaybe<Scalars['String']['input']>;
|
|
13496
|
+
}>;
|
|
13497
|
+
export type MarketplaceInstallMutation = {
|
|
13498
|
+
__typename?: 'Mutation';
|
|
13499
|
+
installPlayerCode: {
|
|
13500
|
+
__typename?: 'PlayerCodeInstall';
|
|
13501
|
+
installId: string;
|
|
13502
|
+
acquisitionId: string;
|
|
13503
|
+
listingId: string;
|
|
13504
|
+
appId: string;
|
|
13505
|
+
pinnedVersionId: string;
|
|
13506
|
+
targetGridId: string | null;
|
|
13507
|
+
consentedCapabilityHash: string;
|
|
11617
13508
|
status: string;
|
|
11618
13509
|
createdAt: string;
|
|
11619
|
-
updatedAt: string;
|
|
11620
13510
|
};
|
|
11621
13511
|
};
|
|
11622
|
-
export type
|
|
11623
|
-
|
|
13512
|
+
export type MarketplaceUninstallMutationVariables = Exact<{
|
|
13513
|
+
appId: Scalars['BigInt']['input'];
|
|
13514
|
+
installId: Scalars['String']['input'];
|
|
11624
13515
|
}>;
|
|
11625
|
-
export type
|
|
13516
|
+
export type MarketplaceUninstallMutation = {
|
|
13517
|
+
__typename?: 'Mutation';
|
|
13518
|
+
uninstallPlayerCode: boolean;
|
|
13519
|
+
};
|
|
13520
|
+
export type MarketplaceConsentGridClientModMutationVariables = Exact<{
|
|
13521
|
+
appId: Scalars['BigInt']['input'];
|
|
13522
|
+
attachmentId: Scalars['String']['input'];
|
|
13523
|
+
consentCapabilityHash: Scalars['String']['input'];
|
|
13524
|
+
}>;
|
|
13525
|
+
export type MarketplaceConsentGridClientModMutation = {
|
|
13526
|
+
__typename?: 'Mutation';
|
|
13527
|
+
consentGridClientMod: boolean;
|
|
13528
|
+
};
|
|
13529
|
+
export type MarketplaceGridClaimPolicyQueryVariables = Exact<{
|
|
13530
|
+
appId: Scalars['BigInt']['input'];
|
|
13531
|
+
}>;
|
|
13532
|
+
export type MarketplaceGridClaimPolicyQuery = {
|
|
11626
13533
|
__typename?: 'Query';
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
13534
|
+
gridClaimPolicy: GridClaimPolicy;
|
|
13535
|
+
};
|
|
13536
|
+
export type MarketplaceGridClaimRequestsQueryVariables = Exact<{
|
|
13537
|
+
appId: Scalars['BigInt']['input'];
|
|
13538
|
+
}>;
|
|
13539
|
+
export type MarketplaceGridClaimRequestsQuery = {
|
|
13540
|
+
__typename?: 'Query';
|
|
13541
|
+
gridClaimRequests: Array<{
|
|
13542
|
+
__typename?: 'GridClaimRequest';
|
|
13543
|
+
requestId: string;
|
|
13544
|
+
appId: string;
|
|
13545
|
+
gridId: string;
|
|
13546
|
+
requesterUserId: string;
|
|
13547
|
+
status: string;
|
|
13548
|
+
createdAt: string;
|
|
11635
13549
|
}>;
|
|
11636
13550
|
};
|
|
11637
|
-
export type
|
|
11638
|
-
|
|
13551
|
+
export type MarketplaceClaimGridOwnershipMutationVariables = Exact<{
|
|
13552
|
+
appId: Scalars['BigInt']['input'];
|
|
13553
|
+
gridId: Scalars['BigInt']['input'];
|
|
11639
13554
|
}>;
|
|
11640
|
-
export type
|
|
13555
|
+
export type MarketplaceClaimGridOwnershipMutation = {
|
|
13556
|
+
__typename?: 'Mutation';
|
|
13557
|
+
claimGridOwnership: {
|
|
13558
|
+
__typename?: 'GridClaimResult';
|
|
13559
|
+
policy: GridClaimPolicy;
|
|
13560
|
+
ownershipAssigned: boolean;
|
|
13561
|
+
claimRequestId: string | null;
|
|
13562
|
+
};
|
|
13563
|
+
};
|
|
13564
|
+
export type MarketplaceDecideGridClaimMutationVariables = Exact<{
|
|
13565
|
+
appId: Scalars['BigInt']['input'];
|
|
13566
|
+
requestId: Scalars['String']['input'];
|
|
13567
|
+
approve: Scalars['Boolean']['input'];
|
|
13568
|
+
}>;
|
|
13569
|
+
export type MarketplaceDecideGridClaimMutation = {
|
|
13570
|
+
__typename?: 'Mutation';
|
|
13571
|
+
decideGridClaim: {
|
|
13572
|
+
__typename?: 'GridClaimRequest';
|
|
13573
|
+
requestId: string;
|
|
13574
|
+
appId: string;
|
|
13575
|
+
gridId: string;
|
|
13576
|
+
requesterUserId: string;
|
|
13577
|
+
status: string;
|
|
13578
|
+
createdAt: string;
|
|
13579
|
+
};
|
|
13580
|
+
};
|
|
13581
|
+
export type MarketplaceIssueGridClaimInviteMutationVariables = Exact<{
|
|
13582
|
+
appId: Scalars['BigInt']['input'];
|
|
13583
|
+
gridId: Scalars['BigInt']['input'];
|
|
13584
|
+
inviteeUserId: Scalars['BigInt']['input'];
|
|
13585
|
+
}>;
|
|
13586
|
+
export type MarketplaceIssueGridClaimInviteMutation = {
|
|
13587
|
+
__typename?: 'Mutation';
|
|
13588
|
+
issueGridClaimInvite: boolean;
|
|
13589
|
+
};
|
|
13590
|
+
export type MarketplaceAdmissionQueueQueryVariables = Exact<{
|
|
13591
|
+
appId: Scalars['BigInt']['input'];
|
|
13592
|
+
}>;
|
|
13593
|
+
export type MarketplaceAdmissionQueueQuery = {
|
|
11641
13594
|
__typename?: 'Query';
|
|
11642
|
-
|
|
11643
|
-
__typename?: '
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
13595
|
+
appCodeAdmissionQueue: Array<{
|
|
13596
|
+
__typename?: 'PlayerCodeAdmissionQueueEntry';
|
|
13597
|
+
admissionState: PlayerCodeAdmissionState;
|
|
13598
|
+
admissionId: string | null;
|
|
13599
|
+
matchedSubjectKind: string | null;
|
|
13600
|
+
listing: {
|
|
13601
|
+
__typename?: 'PlayerCodeListing';
|
|
13602
|
+
listingId: string;
|
|
13603
|
+
appId: string;
|
|
13604
|
+
ownerKind: PlayerCodeOwnerKind;
|
|
13605
|
+
ownerRef: string;
|
|
11650
13606
|
name: string;
|
|
11651
|
-
|
|
11652
|
-
|
|
13607
|
+
description: string;
|
|
13608
|
+
mediaJson: string;
|
|
13609
|
+
licenseMode: PlayerCodeLicenseMode;
|
|
13610
|
+
acquisitionMode: PlayerCodeAcquisitionMode;
|
|
13611
|
+
priceCents: number | null;
|
|
13612
|
+
rentIntervalDays: number | null;
|
|
13613
|
+
windowDays: number | null;
|
|
13614
|
+
unitBudget: string | null;
|
|
13615
|
+
status: PlayerCodeListingStatus;
|
|
11653
13616
|
createdAt: string;
|
|
11654
|
-
updatedAt: string;
|
|
11655
13617
|
};
|
|
11656
|
-
roles: Array<{
|
|
11657
|
-
__typename?: 'OrgRole';
|
|
11658
|
-
orgRoleId: string;
|
|
11659
|
-
orgId: string;
|
|
11660
|
-
roleName: string;
|
|
11661
|
-
isSystem: boolean;
|
|
11662
|
-
permissions: Array<string>;
|
|
11663
|
-
}>;
|
|
11664
13618
|
}>;
|
|
11665
13619
|
};
|
|
11666
|
-
export type
|
|
11667
|
-
|
|
13620
|
+
export type MarketplaceAppListingsQueryVariables = Exact<{
|
|
13621
|
+
appId: Scalars['BigInt']['input'];
|
|
13622
|
+
includeDelisted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
11668
13623
|
}>;
|
|
11669
|
-
export type
|
|
13624
|
+
export type MarketplaceAppListingsQuery = {
|
|
11670
13625
|
__typename?: 'Query';
|
|
11671
|
-
|
|
11672
|
-
__typename?: '
|
|
11673
|
-
orgMemberId: string;
|
|
11674
|
-
orgId: string;
|
|
11675
|
-
userId: string;
|
|
11676
|
-
status: string;
|
|
11677
|
-
createdAt: string;
|
|
13626
|
+
appPlayerCodeListings: Array<{
|
|
13627
|
+
__typename?: 'PlayerCodeListing';
|
|
11678
13628
|
updatedAt: string;
|
|
13629
|
+
listingId: string;
|
|
13630
|
+
appId: string;
|
|
13631
|
+
ownerKind: PlayerCodeOwnerKind;
|
|
13632
|
+
ownerRef: string;
|
|
13633
|
+
name: string;
|
|
13634
|
+
description: string;
|
|
13635
|
+
mediaJson: string;
|
|
13636
|
+
licenseMode: PlayerCodeLicenseMode;
|
|
13637
|
+
acquisitionMode: PlayerCodeAcquisitionMode;
|
|
13638
|
+
priceCents: number | null;
|
|
13639
|
+
rentIntervalDays: number | null;
|
|
13640
|
+
windowDays: number | null;
|
|
13641
|
+
unitBudget: string | null;
|
|
13642
|
+
status: PlayerCodeListingStatus;
|
|
13643
|
+
createdAt: string;
|
|
11679
13644
|
}>;
|
|
11680
13645
|
};
|
|
11681
|
-
export type
|
|
11682
|
-
|
|
13646
|
+
export type MarketplaceAppAcquisitionsQueryVariables = Exact<{
|
|
13647
|
+
appId: Scalars['BigInt']['input'];
|
|
11683
13648
|
}>;
|
|
11684
|
-
export type
|
|
13649
|
+
export type MarketplaceAppAcquisitionsQuery = {
|
|
11685
13650
|
__typename?: 'Query';
|
|
11686
|
-
|
|
11687
|
-
__typename?: '
|
|
11688
|
-
|
|
11689
|
-
|
|
11690
|
-
|
|
13651
|
+
appPlayerCodeAcquisitions: Array<{
|
|
13652
|
+
__typename?: 'PlayerCodeAcquisition';
|
|
13653
|
+
acquirerUserId: string;
|
|
13654
|
+
revokedAt: string | null;
|
|
13655
|
+
acquisitionId: string;
|
|
13656
|
+
listingId: string;
|
|
13657
|
+
appId: string;
|
|
13658
|
+
mode: PlayerCodeAcquisitionMode;
|
|
13659
|
+
status: string;
|
|
13660
|
+
expiresAt: string | null;
|
|
13661
|
+
unitBudget: string | null;
|
|
13662
|
+
unitsConsumed: string;
|
|
13663
|
+
acquiredAt: string;
|
|
11691
13664
|
}>;
|
|
11692
13665
|
};
|
|
11693
|
-
export type
|
|
11694
|
-
|
|
13666
|
+
export type MarketplaceTransferListingMutationVariables = Exact<{
|
|
13667
|
+
input: TransferPlayerCodeListingInput;
|
|
11695
13668
|
}>;
|
|
11696
|
-
export type
|
|
11697
|
-
__typename?: '
|
|
11698
|
-
|
|
11699
|
-
__typename?: '
|
|
11700
|
-
|
|
11701
|
-
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
|
|
11706
|
-
|
|
13669
|
+
export type MarketplaceTransferListingMutation = {
|
|
13670
|
+
__typename?: 'Mutation';
|
|
13671
|
+
transferPlayerCodeListing: {
|
|
13672
|
+
__typename?: 'PlayerCodeListing';
|
|
13673
|
+
updatedAt: string;
|
|
13674
|
+
listingId: string;
|
|
13675
|
+
appId: string;
|
|
13676
|
+
ownerKind: PlayerCodeOwnerKind;
|
|
13677
|
+
ownerRef: string;
|
|
13678
|
+
name: string;
|
|
13679
|
+
description: string;
|
|
13680
|
+
mediaJson: string;
|
|
13681
|
+
licenseMode: PlayerCodeLicenseMode;
|
|
13682
|
+
acquisitionMode: PlayerCodeAcquisitionMode;
|
|
13683
|
+
priceCents: number | null;
|
|
13684
|
+
rentIntervalDays: number | null;
|
|
13685
|
+
windowDays: number | null;
|
|
13686
|
+
unitBudget: string | null;
|
|
13687
|
+
status: PlayerCodeListingStatus;
|
|
13688
|
+
createdAt: string;
|
|
13689
|
+
};
|
|
11707
13690
|
};
|
|
11708
|
-
export type
|
|
11709
|
-
|
|
13691
|
+
export type MarketplaceSetListingStatusMutationVariables = Exact<{
|
|
13692
|
+
appId: Scalars['BigInt']['input'];
|
|
13693
|
+
listingId: Scalars['String']['input'];
|
|
13694
|
+
status: PlayerCodeListingStatus;
|
|
11710
13695
|
}>;
|
|
11711
|
-
export type
|
|
11712
|
-
__typename?: '
|
|
11713
|
-
|
|
11714
|
-
__typename?: '
|
|
11715
|
-
orgTokenId: string;
|
|
11716
|
-
orgId: string;
|
|
11717
|
-
label: string | null;
|
|
11718
|
-
isActive: boolean;
|
|
11719
|
-
lastUsedAt: string | null;
|
|
11720
|
-
revokedAt: string | null;
|
|
11721
|
-
expiresAt: string | null;
|
|
11722
|
-
createdAt: string;
|
|
13696
|
+
export type MarketplaceSetListingStatusMutation = {
|
|
13697
|
+
__typename?: 'Mutation';
|
|
13698
|
+
setPlayerCodeListingStatus: {
|
|
13699
|
+
__typename?: 'PlayerCodeListing';
|
|
11723
13700
|
updatedAt: string;
|
|
11724
|
-
|
|
13701
|
+
listingId: string;
|
|
13702
|
+
appId: string;
|
|
13703
|
+
ownerKind: PlayerCodeOwnerKind;
|
|
13704
|
+
ownerRef: string;
|
|
13705
|
+
name: string;
|
|
13706
|
+
description: string;
|
|
13707
|
+
mediaJson: string;
|
|
13708
|
+
licenseMode: PlayerCodeLicenseMode;
|
|
13709
|
+
acquisitionMode: PlayerCodeAcquisitionMode;
|
|
13710
|
+
priceCents: number | null;
|
|
13711
|
+
rentIntervalDays: number | null;
|
|
13712
|
+
windowDays: number | null;
|
|
13713
|
+
unitBudget: string | null;
|
|
13714
|
+
status: PlayerCodeListingStatus;
|
|
13715
|
+
createdAt: string;
|
|
13716
|
+
};
|
|
11725
13717
|
};
|
|
11726
|
-
export type
|
|
11727
|
-
|
|
13718
|
+
export type MarketplaceSetGridClaimPolicyMutationVariables = Exact<{
|
|
13719
|
+
appId: Scalars['BigInt']['input'];
|
|
13720
|
+
policy: GridClaimPolicy;
|
|
13721
|
+
approverUserIds?: InputMaybe<Array<Scalars['BigInt']['input']> | Scalars['BigInt']['input']>;
|
|
11728
13722
|
}>;
|
|
11729
|
-
export type
|
|
11730
|
-
__typename?: '
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11734
|
-
|
|
11735
|
-
|
|
11736
|
-
|
|
13723
|
+
export type MarketplaceSetGridClaimPolicyMutation = {
|
|
13724
|
+
__typename?: 'Mutation';
|
|
13725
|
+
setAppGridClaimPolicy: GridClaimPolicy;
|
|
13726
|
+
};
|
|
13727
|
+
export type MarketplaceRenewAcquisitionMutationVariables = Exact<{
|
|
13728
|
+
appId: Scalars['BigInt']['input'];
|
|
13729
|
+
acquisitionId: Scalars['String']['input'];
|
|
13730
|
+
}>;
|
|
13731
|
+
export type MarketplaceRenewAcquisitionMutation = {
|
|
13732
|
+
__typename?: 'Mutation';
|
|
13733
|
+
renewPlayerCodeAcquisition: {
|
|
13734
|
+
__typename?: 'PlayerCodeAcquisition';
|
|
13735
|
+
acquisitionId: string;
|
|
13736
|
+
listingId: string;
|
|
13737
|
+
appId: string;
|
|
13738
|
+
mode: PlayerCodeAcquisitionMode;
|
|
11737
13739
|
status: string;
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
|
|
13740
|
+
expiresAt: string | null;
|
|
13741
|
+
unitBudget: string | null;
|
|
13742
|
+
unitsConsumed: string;
|
|
13743
|
+
acquiredAt: string;
|
|
13744
|
+
};
|
|
11741
13745
|
};
|
|
11742
|
-
export type
|
|
11743
|
-
|
|
13746
|
+
export type MarketplaceTopUpAcquisitionMutationVariables = Exact<{
|
|
13747
|
+
appId: Scalars['BigInt']['input'];
|
|
13748
|
+
acquisitionId: Scalars['String']['input'];
|
|
11744
13749
|
}>;
|
|
11745
|
-
export type
|
|
13750
|
+
export type MarketplaceTopUpAcquisitionMutation = {
|
|
13751
|
+
__typename?: 'Mutation';
|
|
13752
|
+
topUpPlayerCodeAcquisition: {
|
|
13753
|
+
__typename?: 'PlayerCodeAcquisition';
|
|
13754
|
+
acquisitionId: string;
|
|
13755
|
+
listingId: string;
|
|
13756
|
+
appId: string;
|
|
13757
|
+
mode: PlayerCodeAcquisitionMode;
|
|
13758
|
+
status: string;
|
|
13759
|
+
expiresAt: string | null;
|
|
13760
|
+
unitBudget: string | null;
|
|
13761
|
+
unitsConsumed: string;
|
|
13762
|
+
acquiredAt: string;
|
|
13763
|
+
};
|
|
13764
|
+
};
|
|
13765
|
+
export type MarketplaceRefundAcquisitionMutationVariables = Exact<{
|
|
13766
|
+
appId: Scalars['BigInt']['input'];
|
|
13767
|
+
acquisitionId: Scalars['String']['input'];
|
|
13768
|
+
}>;
|
|
13769
|
+
export type MarketplaceRefundAcquisitionMutation = {
|
|
13770
|
+
__typename?: 'Mutation';
|
|
13771
|
+
refundPlayerCodeAcquisition: number;
|
|
13772
|
+
};
|
|
13773
|
+
export type MarketplaceGridListingsQueryVariables = Exact<{
|
|
13774
|
+
appId: Scalars['BigInt']['input'];
|
|
13775
|
+
}>;
|
|
13776
|
+
export type MarketplaceGridListingsQuery = {
|
|
11746
13777
|
__typename?: 'Query';
|
|
11747
|
-
|
|
11748
|
-
__typename?: '
|
|
11749
|
-
|
|
13778
|
+
gridListings: Array<{
|
|
13779
|
+
__typename?: 'GridListing';
|
|
13780
|
+
gridListingId: string;
|
|
13781
|
+
appId: string;
|
|
13782
|
+
kind: string;
|
|
11750
13783
|
name: string;
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
} | null;
|
|
13784
|
+
description: string;
|
|
13785
|
+
priceCents: number;
|
|
13786
|
+
conferredPermissionKeys: Array<string>;
|
|
13787
|
+
resalePolicy: string;
|
|
13788
|
+
}>;
|
|
11757
13789
|
};
|
|
11758
|
-
export type
|
|
11759
|
-
|
|
11760
|
-
|
|
13790
|
+
export type MarketplacePurchaseGridMutationVariables = Exact<{
|
|
13791
|
+
appId: Scalars['BigInt']['input'];
|
|
13792
|
+
gridListingId: Scalars['String']['input'];
|
|
13793
|
+
chunkX?: InputMaybe<Scalars['Int']['input']>;
|
|
13794
|
+
chunkY?: InputMaybe<Scalars['Int']['input']>;
|
|
13795
|
+
chunkZ?: InputMaybe<Scalars['Int']['input']>;
|
|
11761
13796
|
}>;
|
|
11762
|
-
export type
|
|
13797
|
+
export type MarketplacePurchaseGridMutation = {
|
|
11763
13798
|
__typename?: 'Mutation';
|
|
11764
|
-
|
|
13799
|
+
purchaseGrid: {
|
|
13800
|
+
__typename?: 'GridPurchaseResult';
|
|
13801
|
+
gridId: string;
|
|
13802
|
+
ownershipAssigned: boolean;
|
|
13803
|
+
};
|
|
11765
13804
|
};
|
|
11766
|
-
export type
|
|
11767
|
-
|
|
13805
|
+
export type MarketplaceSetListingPricingMutationVariables = Exact<{
|
|
13806
|
+
input: SetListingPricingInput;
|
|
11768
13807
|
}>;
|
|
11769
|
-
export type
|
|
13808
|
+
export type MarketplaceSetListingPricingMutation = {
|
|
11770
13809
|
__typename?: 'Mutation';
|
|
11771
|
-
|
|
13810
|
+
setListingPricing: boolean;
|
|
11772
13811
|
};
|
|
11773
|
-
export type
|
|
13812
|
+
export type MarketplaceSetOrgShareMutationVariables = Exact<{
|
|
13813
|
+
appId: Scalars['BigInt']['input'];
|
|
13814
|
+
bps: Scalars['Int']['input'];
|
|
13815
|
+
}>;
|
|
13816
|
+
export type MarketplaceSetOrgShareMutation = {
|
|
13817
|
+
__typename?: 'Mutation';
|
|
13818
|
+
setAppMarketplaceOrgShare: number;
|
|
13819
|
+
};
|
|
13820
|
+
export type MarketplaceBeginSellerOnboardingMutationVariables = Exact<{
|
|
13821
|
+
country: Scalars['String']['input'];
|
|
13822
|
+
}>;
|
|
13823
|
+
export type MarketplaceBeginSellerOnboardingMutation = {
|
|
13824
|
+
__typename?: 'Mutation';
|
|
13825
|
+
beginSellerOnboarding: {
|
|
13826
|
+
__typename?: 'SellerOnboardingLink';
|
|
13827
|
+
status: SellerOnboardingStatus;
|
|
13828
|
+
onboardingUrl: string | null;
|
|
13829
|
+
unavailableReason: string | null;
|
|
13830
|
+
};
|
|
13831
|
+
};
|
|
13832
|
+
export type MarketplaceCreateAccountSessionMutationVariables = Exact<{
|
|
13833
|
+
country: Scalars['String']['input'];
|
|
13834
|
+
}>;
|
|
13835
|
+
export type MarketplaceCreateAccountSessionMutation = {
|
|
13836
|
+
__typename?: 'Mutation';
|
|
13837
|
+
createSellerAccountSession: {
|
|
13838
|
+
__typename?: 'SellerAccountSession';
|
|
13839
|
+
clientSecret: string;
|
|
13840
|
+
publishableKey: string | null;
|
|
13841
|
+
accountRef: string;
|
|
13842
|
+
onboardingComplete: boolean;
|
|
13843
|
+
expiresAt: string | null;
|
|
13844
|
+
};
|
|
13845
|
+
};
|
|
13846
|
+
export type MarketplaceCreateOrgAccountSessionMutationVariables = Exact<{
|
|
11774
13847
|
orgId: Scalars['BigInt']['input'];
|
|
11775
|
-
|
|
13848
|
+
country: Scalars['String']['input'];
|
|
11776
13849
|
}>;
|
|
11777
|
-
export type
|
|
13850
|
+
export type MarketplaceCreateOrgAccountSessionMutation = {
|
|
11778
13851
|
__typename?: 'Mutation';
|
|
11779
|
-
|
|
11780
|
-
__typename?: '
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
13852
|
+
createOrgSellerAccountSession: {
|
|
13853
|
+
__typename?: 'SellerAccountSession';
|
|
13854
|
+
clientSecret: string;
|
|
13855
|
+
publishableKey: string | null;
|
|
13856
|
+
accountRef: string;
|
|
13857
|
+
onboardingComplete: boolean;
|
|
13858
|
+
expiresAt: string | null;
|
|
11784
13859
|
};
|
|
11785
13860
|
};
|
|
11786
|
-
export type
|
|
13861
|
+
export type MarketplaceBeginOrgSellerOnboardingMutationVariables = Exact<{
|
|
11787
13862
|
orgId: Scalars['BigInt']['input'];
|
|
11788
|
-
|
|
11789
|
-
roleIds: Array<Scalars['BigInt']['input']> | Scalars['BigInt']['input'];
|
|
13863
|
+
country: Scalars['String']['input'];
|
|
11790
13864
|
}>;
|
|
11791
|
-
export type
|
|
13865
|
+
export type MarketplaceBeginOrgSellerOnboardingMutation = {
|
|
11792
13866
|
__typename?: 'Mutation';
|
|
11793
|
-
|
|
11794
|
-
__typename?: '
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
|
|
13867
|
+
beginOrgSellerOnboarding: {
|
|
13868
|
+
__typename?: 'SellerOnboardingLink';
|
|
13869
|
+
status: SellerOnboardingStatus;
|
|
13870
|
+
onboardingUrl: string | null;
|
|
13871
|
+
unavailableReason: string | null;
|
|
13872
|
+
};
|
|
13873
|
+
};
|
|
13874
|
+
export type MarketplaceMySellerBalanceQueryVariables = Exact<{
|
|
13875
|
+
[key: string]: never;
|
|
13876
|
+
}>;
|
|
13877
|
+
export type MarketplaceMySellerBalanceQuery = {
|
|
13878
|
+
__typename?: 'Query';
|
|
13879
|
+
mySellerPayoutBalance: {
|
|
13880
|
+
__typename?: 'SellerPayoutBalance';
|
|
13881
|
+
partyKind: string;
|
|
13882
|
+
partyRef: string;
|
|
13883
|
+
pendingCents: number;
|
|
13884
|
+
payableCents: number;
|
|
13885
|
+
reservedCents: number;
|
|
13886
|
+
onboardingStatus: SellerOnboardingStatus;
|
|
13887
|
+
payoutsFrozen: boolean;
|
|
13888
|
+
};
|
|
13889
|
+
};
|
|
13890
|
+
export type MarketplaceRequestPayoutMutationVariables = Exact<{
|
|
13891
|
+
[key: string]: never;
|
|
13892
|
+
}>;
|
|
13893
|
+
export type MarketplaceRequestPayoutMutation = {
|
|
13894
|
+
__typename?: 'Mutation';
|
|
13895
|
+
requestSellerPayout: number;
|
|
13896
|
+
};
|
|
13897
|
+
export type MarketplaceSpendPayoutToWalletMutationVariables = Exact<{
|
|
13898
|
+
amountCents: Scalars['Int']['input'];
|
|
13899
|
+
}>;
|
|
13900
|
+
export type MarketplaceSpendPayoutToWalletMutation = {
|
|
13901
|
+
__typename?: 'Mutation';
|
|
13902
|
+
spendPayoutBalanceToWallet: number;
|
|
13903
|
+
};
|
|
13904
|
+
export type MarketplaceCommerceRiskQueueQueryVariables = Exact<{
|
|
13905
|
+
appId: Scalars['BigInt']['input'];
|
|
13906
|
+
}>;
|
|
13907
|
+
export type MarketplaceCommerceRiskQueueQuery = {
|
|
13908
|
+
__typename?: 'Query';
|
|
13909
|
+
commerceRiskQueue: Array<{
|
|
13910
|
+
__typename?: 'CommerceRiskFlag';
|
|
13911
|
+
flagId: string;
|
|
13912
|
+
appId: string;
|
|
13913
|
+
kind: string;
|
|
13914
|
+
orderId: string | null;
|
|
13915
|
+
subjectKind: string;
|
|
13916
|
+
subjectRef: string;
|
|
13917
|
+
detail: string | null;
|
|
13918
|
+
status: string;
|
|
13919
|
+
createdAt: string;
|
|
13920
|
+
}>;
|
|
13921
|
+
};
|
|
13922
|
+
export type MarketplaceDecideRiskFlagMutationVariables = Exact<{
|
|
13923
|
+
appId: Scalars['BigInt']['input'];
|
|
13924
|
+
flagId: Scalars['String']['input'];
|
|
13925
|
+
release: Scalars['Boolean']['input'];
|
|
13926
|
+
}>;
|
|
13927
|
+
export type MarketplaceDecideRiskFlagMutation = {
|
|
13928
|
+
__typename?: 'Mutation';
|
|
13929
|
+
decideCommerceRiskFlag: boolean;
|
|
13930
|
+
};
|
|
13931
|
+
export type MarketplaceCreateGridListingMutationVariables = Exact<{
|
|
13932
|
+
input: CreateGridListingInput;
|
|
13933
|
+
}>;
|
|
13934
|
+
export type MarketplaceCreateGridListingMutation = {
|
|
13935
|
+
__typename?: 'Mutation';
|
|
13936
|
+
createGridListing: {
|
|
13937
|
+
__typename?: 'GridListing';
|
|
13938
|
+
gridListingId: string;
|
|
13939
|
+
appId: string;
|
|
13940
|
+
kind: string;
|
|
13941
|
+
name: string;
|
|
13942
|
+
priceCents: number;
|
|
13943
|
+
resalePolicy: string;
|
|
11798
13944
|
status: string;
|
|
11799
13945
|
};
|
|
11800
13946
|
};
|
|
11801
|
-
export type
|
|
11802
|
-
|
|
11803
|
-
input: UpdateOrgRoleInput;
|
|
13947
|
+
export type CreateOrgRoleMutationVariables = Exact<{
|
|
13948
|
+
input: CreateOrgRoleInput;
|
|
11804
13949
|
}>;
|
|
11805
|
-
export type
|
|
13950
|
+
export type CreateOrgRoleMutation = {
|
|
11806
13951
|
__typename?: 'Mutation';
|
|
11807
|
-
|
|
13952
|
+
createOrgRole: {
|
|
11808
13953
|
__typename?: 'OrgRole';
|
|
11809
13954
|
orgRoleId: string;
|
|
11810
13955
|
orgId: string;
|
|
@@ -11814,63 +13959,312 @@ export type UpdateOrgRoleMutation = {
|
|
|
11814
13959
|
description: string | null;
|
|
11815
13960
|
};
|
|
11816
13961
|
};
|
|
11817
|
-
export type
|
|
11818
|
-
|
|
11819
|
-
input: UpdateOrgTokenInput;
|
|
13962
|
+
export type CreateOrgTokenMutationVariables = Exact<{
|
|
13963
|
+
input: CreateOrgTokenInput;
|
|
11820
13964
|
}>;
|
|
11821
|
-
export type
|
|
13965
|
+
export type CreateOrgTokenMutation = {
|
|
11822
13966
|
__typename?: 'Mutation';
|
|
11823
|
-
|
|
11824
|
-
__typename?: '
|
|
13967
|
+
createOrgToken: {
|
|
13968
|
+
__typename?: 'OrgTokenWithSecret';
|
|
11825
13969
|
orgTokenId: string;
|
|
13970
|
+
orgId: string;
|
|
13971
|
+
token: string;
|
|
11826
13972
|
label: string | null;
|
|
11827
13973
|
isActive: boolean;
|
|
11828
13974
|
expiresAt: string | null;
|
|
11829
|
-
|
|
13975
|
+
createdAt: string;
|
|
13976
|
+
};
|
|
13977
|
+
};
|
|
13978
|
+
export type CreateOrganizationMutationVariables = Exact<{
|
|
13979
|
+
input: CreateOrganizationInput;
|
|
13980
|
+
}>;
|
|
13981
|
+
export type CreateOrganizationMutation = {
|
|
13982
|
+
__typename?: 'Mutation';
|
|
13983
|
+
createOrganization: {
|
|
13984
|
+
__typename?: 'Organization';
|
|
13985
|
+
orgId: string;
|
|
13986
|
+
name: string;
|
|
13987
|
+
slug: string;
|
|
13988
|
+
ownerUserId: string;
|
|
13989
|
+
status: string;
|
|
13990
|
+
createdAt: string;
|
|
11830
13991
|
updatedAt: string;
|
|
11831
13992
|
};
|
|
11832
13993
|
};
|
|
11833
|
-
export type
|
|
11834
|
-
|
|
11835
|
-
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
13994
|
+
export type DeleteOrgRoleMutationVariables = Exact<{
|
|
13995
|
+
orgRoleId: Scalars['BigInt']['input'];
|
|
11836
13996
|
}>;
|
|
11837
|
-
export type
|
|
13997
|
+
export type DeleteOrgRoleMutation = {
|
|
11838
13998
|
__typename?: 'Mutation';
|
|
11839
|
-
|
|
11840
|
-
|
|
11841
|
-
|
|
13999
|
+
deleteOrgRole: boolean;
|
|
14000
|
+
};
|
|
14001
|
+
export type InviteOrgMemberMutationVariables = Exact<{
|
|
14002
|
+
input: InviteOrgMemberInput;
|
|
14003
|
+
}>;
|
|
14004
|
+
export type InviteOrgMemberMutation = {
|
|
14005
|
+
__typename?: 'Mutation';
|
|
14006
|
+
inviteOrgMember: {
|
|
14007
|
+
__typename?: 'OrgMember';
|
|
14008
|
+
orgMemberId: string;
|
|
14009
|
+
orgId: string;
|
|
11842
14010
|
userId: string;
|
|
11843
|
-
|
|
11844
|
-
purpose: CheckoutPurpose;
|
|
11845
|
-
status: CheckoutStatus;
|
|
11846
|
-
amountCents: string | null;
|
|
11847
|
-
currency: string | null;
|
|
11848
|
-
externalId: string;
|
|
11849
|
-
externalUrl: string;
|
|
11850
|
-
orgId: string | null;
|
|
11851
|
-
appId: string | null;
|
|
11852
|
-
tierId: string | null;
|
|
11853
|
-
error: string | null;
|
|
14011
|
+
status: string;
|
|
11854
14012
|
createdAt: string;
|
|
11855
|
-
|
|
11856
|
-
expiresAt: string | null;
|
|
14013
|
+
updatedAt: string;
|
|
11857
14014
|
};
|
|
11858
14015
|
};
|
|
11859
|
-
export type
|
|
11860
|
-
|
|
11861
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
11862
|
-
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
14016
|
+
export type MemberRolesQueryVariables = Exact<{
|
|
14017
|
+
orgMemberId: Scalars['BigInt']['input'];
|
|
11863
14018
|
}>;
|
|
11864
|
-
export type
|
|
14019
|
+
export type MemberRolesQuery = {
|
|
11865
14020
|
__typename?: 'Query';
|
|
11866
|
-
|
|
11867
|
-
__typename?: '
|
|
11868
|
-
|
|
11869
|
-
|
|
11870
|
-
|
|
11871
|
-
|
|
11872
|
-
|
|
11873
|
-
|
|
14021
|
+
memberRoles: Array<{
|
|
14022
|
+
__typename?: 'OrgRole';
|
|
14023
|
+
orgRoleId: string;
|
|
14024
|
+
orgId: string;
|
|
14025
|
+
roleName: string;
|
|
14026
|
+
isSystem: boolean;
|
|
14027
|
+
permissions: Array<string>;
|
|
14028
|
+
description: string | null;
|
|
14029
|
+
}>;
|
|
14030
|
+
};
|
|
14031
|
+
export type MyOrganizationsQueryVariables = Exact<{
|
|
14032
|
+
[key: string]: never;
|
|
14033
|
+
}>;
|
|
14034
|
+
export type MyOrganizationsQuery = {
|
|
14035
|
+
__typename?: 'Query';
|
|
14036
|
+
myOrganizations: Array<{
|
|
14037
|
+
__typename?: 'OrgMembership';
|
|
14038
|
+
permissions: Array<string>;
|
|
14039
|
+
joinedAt: string;
|
|
14040
|
+
org: {
|
|
14041
|
+
__typename?: 'Organization';
|
|
14042
|
+
orgId: string;
|
|
14043
|
+
slug: string;
|
|
14044
|
+
name: string;
|
|
14045
|
+
ownerUserId: string;
|
|
14046
|
+
status: string;
|
|
14047
|
+
createdAt: string;
|
|
14048
|
+
updatedAt: string;
|
|
14049
|
+
};
|
|
14050
|
+
roles: Array<{
|
|
14051
|
+
__typename?: 'OrgRole';
|
|
14052
|
+
orgRoleId: string;
|
|
14053
|
+
orgId: string;
|
|
14054
|
+
roleName: string;
|
|
14055
|
+
isSystem: boolean;
|
|
14056
|
+
permissions: Array<string>;
|
|
14057
|
+
}>;
|
|
14058
|
+
}>;
|
|
14059
|
+
};
|
|
14060
|
+
export type OrgMembersQueryVariables = Exact<{
|
|
14061
|
+
orgId: Scalars['BigInt']['input'];
|
|
14062
|
+
}>;
|
|
14063
|
+
export type OrgMembersQuery = {
|
|
14064
|
+
__typename?: 'Query';
|
|
14065
|
+
orgMembers: Array<{
|
|
14066
|
+
__typename?: 'OrgMember';
|
|
14067
|
+
orgMemberId: string;
|
|
14068
|
+
orgId: string;
|
|
14069
|
+
userId: string;
|
|
14070
|
+
status: string;
|
|
14071
|
+
createdAt: string;
|
|
14072
|
+
updatedAt: string;
|
|
14073
|
+
}>;
|
|
14074
|
+
};
|
|
14075
|
+
export type OrgPermissionsQueryVariables = Exact<{
|
|
14076
|
+
[key: string]: never;
|
|
14077
|
+
}>;
|
|
14078
|
+
export type OrgPermissionsQuery = {
|
|
14079
|
+
__typename?: 'Query';
|
|
14080
|
+
orgPermissions: Array<{
|
|
14081
|
+
__typename?: 'OrgPermission';
|
|
14082
|
+
permissionKey: string;
|
|
14083
|
+
description: string | null;
|
|
14084
|
+
category: string | null;
|
|
14085
|
+
}>;
|
|
14086
|
+
};
|
|
14087
|
+
export type OrgRolesQueryVariables = Exact<{
|
|
14088
|
+
orgId: Scalars['BigInt']['input'];
|
|
14089
|
+
}>;
|
|
14090
|
+
export type OrgRolesQuery = {
|
|
14091
|
+
__typename?: 'Query';
|
|
14092
|
+
orgRoles: Array<{
|
|
14093
|
+
__typename?: 'OrgRole';
|
|
14094
|
+
orgRoleId: string;
|
|
14095
|
+
orgId: string;
|
|
14096
|
+
roleName: string;
|
|
14097
|
+
isSystem: boolean;
|
|
14098
|
+
permissions: Array<string>;
|
|
14099
|
+
description: string | null;
|
|
14100
|
+
}>;
|
|
14101
|
+
};
|
|
14102
|
+
export type OrgTokensQueryVariables = Exact<{
|
|
14103
|
+
orgId: Scalars['BigInt']['input'];
|
|
14104
|
+
}>;
|
|
14105
|
+
export type OrgTokensQuery = {
|
|
14106
|
+
__typename?: 'Query';
|
|
14107
|
+
orgTokens: Array<{
|
|
14108
|
+
__typename?: 'OrgToken';
|
|
14109
|
+
orgTokenId: string;
|
|
14110
|
+
orgId: string;
|
|
14111
|
+
label: string | null;
|
|
14112
|
+
isActive: boolean;
|
|
14113
|
+
lastUsedAt: string | null;
|
|
14114
|
+
revokedAt: string | null;
|
|
14115
|
+
expiresAt: string | null;
|
|
14116
|
+
createdAt: string;
|
|
14117
|
+
updatedAt: string;
|
|
14118
|
+
}>;
|
|
14119
|
+
};
|
|
14120
|
+
export type OrganizationQueryVariables = Exact<{
|
|
14121
|
+
id: Scalars['BigInt']['input'];
|
|
14122
|
+
}>;
|
|
14123
|
+
export type OrganizationQuery = {
|
|
14124
|
+
__typename?: 'Query';
|
|
14125
|
+
organization: {
|
|
14126
|
+
__typename?: 'Organization';
|
|
14127
|
+
orgId: string;
|
|
14128
|
+
name: string;
|
|
14129
|
+
slug: string;
|
|
14130
|
+
ownerUserId: string;
|
|
14131
|
+
status: string;
|
|
14132
|
+
createdAt: string;
|
|
14133
|
+
updatedAt: string;
|
|
14134
|
+
} | null;
|
|
14135
|
+
};
|
|
14136
|
+
export type OrganizationBySlugQueryVariables = Exact<{
|
|
14137
|
+
slug: Scalars['String']['input'];
|
|
14138
|
+
}>;
|
|
14139
|
+
export type OrganizationBySlugQuery = {
|
|
14140
|
+
__typename?: 'Query';
|
|
14141
|
+
organizationBySlug: {
|
|
14142
|
+
__typename?: 'Organization';
|
|
14143
|
+
orgId: string;
|
|
14144
|
+
name: string;
|
|
14145
|
+
slug: string;
|
|
14146
|
+
ownerUserId: string;
|
|
14147
|
+
status: string;
|
|
14148
|
+
createdAt: string;
|
|
14149
|
+
updatedAt: string;
|
|
14150
|
+
} | null;
|
|
14151
|
+
};
|
|
14152
|
+
export type RemoveOrgMemberMutationVariables = Exact<{
|
|
14153
|
+
orgId: Scalars['BigInt']['input'];
|
|
14154
|
+
userId: Scalars['BigInt']['input'];
|
|
14155
|
+
}>;
|
|
14156
|
+
export type RemoveOrgMemberMutation = {
|
|
14157
|
+
__typename?: 'Mutation';
|
|
14158
|
+
removeOrgMember: boolean;
|
|
14159
|
+
};
|
|
14160
|
+
export type RevokeOrgTokenMutationVariables = Exact<{
|
|
14161
|
+
orgTokenId: Scalars['BigInt']['input'];
|
|
14162
|
+
}>;
|
|
14163
|
+
export type RevokeOrgTokenMutation = {
|
|
14164
|
+
__typename?: 'Mutation';
|
|
14165
|
+
revokeOrgToken: boolean;
|
|
14166
|
+
};
|
|
14167
|
+
export type SetOrgStatusMutationVariables = Exact<{
|
|
14168
|
+
orgId: Scalars['BigInt']['input'];
|
|
14169
|
+
status: Scalars['String']['input'];
|
|
14170
|
+
}>;
|
|
14171
|
+
export type SetOrgStatusMutation = {
|
|
14172
|
+
__typename?: 'Mutation';
|
|
14173
|
+
setOrgStatus: {
|
|
14174
|
+
__typename?: 'Organization';
|
|
14175
|
+
orgId: string;
|
|
14176
|
+
status: string;
|
|
14177
|
+
updatedAt: string;
|
|
14178
|
+
};
|
|
14179
|
+
};
|
|
14180
|
+
export type UpdateOrgMemberRolesMutationVariables = Exact<{
|
|
14181
|
+
orgId: Scalars['BigInt']['input'];
|
|
14182
|
+
userId: Scalars['BigInt']['input'];
|
|
14183
|
+
roleIds: Array<Scalars['BigInt']['input']> | Scalars['BigInt']['input'];
|
|
14184
|
+
}>;
|
|
14185
|
+
export type UpdateOrgMemberRolesMutation = {
|
|
14186
|
+
__typename?: 'Mutation';
|
|
14187
|
+
updateOrgMemberRoles: {
|
|
14188
|
+
__typename?: 'OrgMember';
|
|
14189
|
+
orgMemberId: string;
|
|
14190
|
+
orgId: string;
|
|
14191
|
+
userId: string;
|
|
14192
|
+
status: string;
|
|
14193
|
+
};
|
|
14194
|
+
};
|
|
14195
|
+
export type UpdateOrgRoleMutationVariables = Exact<{
|
|
14196
|
+
orgRoleId: Scalars['BigInt']['input'];
|
|
14197
|
+
input: UpdateOrgRoleInput;
|
|
14198
|
+
}>;
|
|
14199
|
+
export type UpdateOrgRoleMutation = {
|
|
14200
|
+
__typename?: 'Mutation';
|
|
14201
|
+
updateOrgRole: {
|
|
14202
|
+
__typename?: 'OrgRole';
|
|
14203
|
+
orgRoleId: string;
|
|
14204
|
+
orgId: string;
|
|
14205
|
+
roleName: string;
|
|
14206
|
+
isSystem: boolean;
|
|
14207
|
+
permissions: Array<string>;
|
|
14208
|
+
description: string | null;
|
|
14209
|
+
};
|
|
14210
|
+
};
|
|
14211
|
+
export type UpdateOrgTokenMutationVariables = Exact<{
|
|
14212
|
+
orgTokenId: Scalars['BigInt']['input'];
|
|
14213
|
+
input: UpdateOrgTokenInput;
|
|
14214
|
+
}>;
|
|
14215
|
+
export type UpdateOrgTokenMutation = {
|
|
14216
|
+
__typename?: 'Mutation';
|
|
14217
|
+
updateOrgToken: {
|
|
14218
|
+
__typename?: 'OrgToken';
|
|
14219
|
+
orgTokenId: string;
|
|
14220
|
+
label: string | null;
|
|
14221
|
+
isActive: boolean;
|
|
14222
|
+
expiresAt: string | null;
|
|
14223
|
+
revokedAt: string | null;
|
|
14224
|
+
updatedAt: string;
|
|
14225
|
+
};
|
|
14226
|
+
};
|
|
14227
|
+
export type CapturePaypalCheckoutMutationVariables = Exact<{
|
|
14228
|
+
orderId: Scalars['String']['input'];
|
|
14229
|
+
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
|
14230
|
+
}>;
|
|
14231
|
+
export type CapturePaypalCheckoutMutation = {
|
|
14232
|
+
__typename?: 'Mutation';
|
|
14233
|
+
capturePaypalCheckout: {
|
|
14234
|
+
__typename?: 'Checkout';
|
|
14235
|
+
checkoutId: string;
|
|
14236
|
+
userId: string;
|
|
14237
|
+
provider: PaymentProvider;
|
|
14238
|
+
purpose: CheckoutPurpose;
|
|
14239
|
+
status: CheckoutStatus;
|
|
14240
|
+
amountCents: string | null;
|
|
14241
|
+
currency: string | null;
|
|
14242
|
+
externalId: string;
|
|
14243
|
+
externalUrl: string;
|
|
14244
|
+
orgId: string | null;
|
|
14245
|
+
appId: string | null;
|
|
14246
|
+
tierId: string | null;
|
|
14247
|
+
error: string | null;
|
|
14248
|
+
createdAt: string;
|
|
14249
|
+
completedAt: string | null;
|
|
14250
|
+
expiresAt: string | null;
|
|
14251
|
+
};
|
|
14252
|
+
};
|
|
14253
|
+
export type CheckoutsQueryVariables = Exact<{
|
|
14254
|
+
filter?: InputMaybe<CheckoutFilterInput>;
|
|
14255
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
14256
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
14257
|
+
}>;
|
|
14258
|
+
export type CheckoutsQuery = {
|
|
14259
|
+
__typename?: 'Query';
|
|
14260
|
+
checkouts: {
|
|
14261
|
+
__typename?: 'CheckoutsPage';
|
|
14262
|
+
items: Array<{
|
|
14263
|
+
__typename?: 'Checkout';
|
|
14264
|
+
checkoutId: string;
|
|
14265
|
+
userId: string;
|
|
14266
|
+
provider: PaymentProvider;
|
|
14267
|
+
purpose: CheckoutPurpose;
|
|
11874
14268
|
status: CheckoutStatus;
|
|
11875
14269
|
amountCents: string | null;
|
|
11876
14270
|
currency: string | null;
|
|
@@ -12106,6 +14500,799 @@ export type PlatformConfigQuery = {
|
|
|
12106
14500
|
freeAppsPerOrg: number;
|
|
12107
14501
|
};
|
|
12108
14502
|
};
|
|
14503
|
+
export type PlayerWasmModuleFieldsFragment = {
|
|
14504
|
+
__typename?: 'PlayerWasmModule';
|
|
14505
|
+
moduleId: string;
|
|
14506
|
+
appId: string;
|
|
14507
|
+
gridId: string;
|
|
14508
|
+
name: string;
|
|
14509
|
+
description: string | null;
|
|
14510
|
+
authorUserId: string | null;
|
|
14511
|
+
authorOrgId: string | null;
|
|
14512
|
+
enabled: boolean;
|
|
14513
|
+
draft: boolean;
|
|
14514
|
+
currentVersionId: string | null;
|
|
14515
|
+
circuitState: string;
|
|
14516
|
+
lastError: string | null;
|
|
14517
|
+
createdAt: string;
|
|
14518
|
+
updatedAt: string;
|
|
14519
|
+
};
|
|
14520
|
+
export type PlayerWasmModuleVersionFieldsFragment = {
|
|
14521
|
+
__typename?: 'PlayerWasmModuleVersion';
|
|
14522
|
+
versionId: string;
|
|
14523
|
+
moduleId: string;
|
|
14524
|
+
versionNo: number;
|
|
14525
|
+
target: PlayerComputeTarget;
|
|
14526
|
+
sourceFilesJson: string | null;
|
|
14527
|
+
openSource: boolean;
|
|
14528
|
+
compileStatus: string;
|
|
14529
|
+
compileLog: string | null;
|
|
14530
|
+
compiledSizeBytes: string | null;
|
|
14531
|
+
createdAt: string;
|
|
14532
|
+
};
|
|
14533
|
+
export type PlayerComputeDeployMutationVariables = Exact<{
|
|
14534
|
+
input: DeployPlayerComputeInput;
|
|
14535
|
+
}>;
|
|
14536
|
+
export type PlayerComputeDeployMutation = {
|
|
14537
|
+
__typename?: 'Mutation';
|
|
14538
|
+
playerComputeDeploy: {
|
|
14539
|
+
__typename?: 'PlayerWasmModuleVersion';
|
|
14540
|
+
versionId: string;
|
|
14541
|
+
moduleId: string;
|
|
14542
|
+
versionNo: number;
|
|
14543
|
+
target: PlayerComputeTarget;
|
|
14544
|
+
sourceFilesJson: string | null;
|
|
14545
|
+
openSource: boolean;
|
|
14546
|
+
compileStatus: string;
|
|
14547
|
+
compileLog: string | null;
|
|
14548
|
+
compiledSizeBytes: string | null;
|
|
14549
|
+
createdAt: string;
|
|
14550
|
+
};
|
|
14551
|
+
};
|
|
14552
|
+
export type PlayerComputeSetEnabledMutationVariables = Exact<{
|
|
14553
|
+
appId: Scalars['BigInt']['input'];
|
|
14554
|
+
gridId: Scalars['BigInt']['input'];
|
|
14555
|
+
name: Scalars['String']['input'];
|
|
14556
|
+
enabled: Scalars['Boolean']['input'];
|
|
14557
|
+
}>;
|
|
14558
|
+
export type PlayerComputeSetEnabledMutation = {
|
|
14559
|
+
__typename?: 'Mutation';
|
|
14560
|
+
playerComputeSetEnabled: {
|
|
14561
|
+
__typename?: 'PlayerWasmModule';
|
|
14562
|
+
moduleId: string;
|
|
14563
|
+
appId: string;
|
|
14564
|
+
gridId: string;
|
|
14565
|
+
name: string;
|
|
14566
|
+
description: string | null;
|
|
14567
|
+
authorUserId: string | null;
|
|
14568
|
+
authorOrgId: string | null;
|
|
14569
|
+
enabled: boolean;
|
|
14570
|
+
draft: boolean;
|
|
14571
|
+
currentVersionId: string | null;
|
|
14572
|
+
circuitState: string;
|
|
14573
|
+
lastError: string | null;
|
|
14574
|
+
createdAt: string;
|
|
14575
|
+
updatedAt: string;
|
|
14576
|
+
};
|
|
14577
|
+
};
|
|
14578
|
+
export type PlayerComputeMyModulesQueryVariables = Exact<{
|
|
14579
|
+
appId: Scalars['BigInt']['input'];
|
|
14580
|
+
}>;
|
|
14581
|
+
export type PlayerComputeMyModulesQuery = {
|
|
14582
|
+
__typename?: 'Query';
|
|
14583
|
+
playerComputeMyModules: Array<{
|
|
14584
|
+
__typename?: 'PlayerWasmModule';
|
|
14585
|
+
moduleId: string;
|
|
14586
|
+
appId: string;
|
|
14587
|
+
gridId: string;
|
|
14588
|
+
name: string;
|
|
14589
|
+
description: string | null;
|
|
14590
|
+
authorUserId: string | null;
|
|
14591
|
+
authorOrgId: string | null;
|
|
14592
|
+
enabled: boolean;
|
|
14593
|
+
draft: boolean;
|
|
14594
|
+
currentVersionId: string | null;
|
|
14595
|
+
circuitState: string;
|
|
14596
|
+
lastError: string | null;
|
|
14597
|
+
createdAt: string;
|
|
14598
|
+
updatedAt: string;
|
|
14599
|
+
}>;
|
|
14600
|
+
};
|
|
14601
|
+
export type PlayerComputeVersionsQueryVariables = Exact<{
|
|
14602
|
+
appId: Scalars['BigInt']['input'];
|
|
14603
|
+
gridId: Scalars['BigInt']['input'];
|
|
14604
|
+
name: Scalars['String']['input'];
|
|
14605
|
+
}>;
|
|
14606
|
+
export type PlayerComputeVersionsQuery = {
|
|
14607
|
+
__typename?: 'Query';
|
|
14608
|
+
playerComputeVersions: Array<{
|
|
14609
|
+
__typename?: 'PlayerWasmModuleVersion';
|
|
14610
|
+
versionId: string;
|
|
14611
|
+
moduleId: string;
|
|
14612
|
+
versionNo: number;
|
|
14613
|
+
target: PlayerComputeTarget;
|
|
14614
|
+
sourceFilesJson: string | null;
|
|
14615
|
+
openSource: boolean;
|
|
14616
|
+
compileStatus: string;
|
|
14617
|
+
compileLog: string | null;
|
|
14618
|
+
compiledSizeBytes: string | null;
|
|
14619
|
+
createdAt: string;
|
|
14620
|
+
}>;
|
|
14621
|
+
};
|
|
14622
|
+
export type PlayerComputeDeleteMutationVariables = Exact<{
|
|
14623
|
+
appId: Scalars['BigInt']['input'];
|
|
14624
|
+
gridId: Scalars['BigInt']['input'];
|
|
14625
|
+
name: Scalars['String']['input'];
|
|
14626
|
+
}>;
|
|
14627
|
+
export type PlayerComputeDeleteMutation = {
|
|
14628
|
+
__typename?: 'Mutation';
|
|
14629
|
+
playerComputeDelete: boolean;
|
|
14630
|
+
};
|
|
14631
|
+
export type PlayerComputeInvokeMutationVariables = Exact<{
|
|
14632
|
+
appId: Scalars['BigInt']['input'];
|
|
14633
|
+
gridId: Scalars['BigInt']['input'];
|
|
14634
|
+
moduleName: Scalars['String']['input'];
|
|
14635
|
+
exportName: Scalars['String']['input'];
|
|
14636
|
+
paramsJson?: InputMaybe<Scalars['String']['input']>;
|
|
14637
|
+
}>;
|
|
14638
|
+
export type PlayerComputeInvokeMutation = {
|
|
14639
|
+
__typename?: 'Mutation';
|
|
14640
|
+
playerComputeInvoke: {
|
|
14641
|
+
__typename?: 'PlayerComputeInvokeResult';
|
|
14642
|
+
resultBase64: string;
|
|
14643
|
+
resultJson: string | null;
|
|
14644
|
+
fuelUsed: string;
|
|
14645
|
+
durationUs: number;
|
|
14646
|
+
};
|
|
14647
|
+
};
|
|
14648
|
+
export type PlayerWasmModuleRunFieldsFragment = {
|
|
14649
|
+
__typename?: 'PlayerWasmModuleRun';
|
|
14650
|
+
runId: string;
|
|
14651
|
+
appId: string;
|
|
14652
|
+
gridId: string;
|
|
14653
|
+
moduleId: string;
|
|
14654
|
+
moduleName: string;
|
|
14655
|
+
executedAsUserId: string;
|
|
14656
|
+
flowId: string | null;
|
|
14657
|
+
triggerSource: string;
|
|
14658
|
+
startedAt: string;
|
|
14659
|
+
durationUs: number;
|
|
14660
|
+
fuelUsed: string;
|
|
14661
|
+
success: boolean;
|
|
14662
|
+
errorMessage: string | null;
|
|
14663
|
+
};
|
|
14664
|
+
export type PlayerComputeUsageQueryVariables = Exact<{
|
|
14665
|
+
appId: Scalars['BigInt']['input'];
|
|
14666
|
+
}>;
|
|
14667
|
+
export type PlayerComputeUsageQuery = {
|
|
14668
|
+
__typename?: 'Query';
|
|
14669
|
+
playerComputeUsage: {
|
|
14670
|
+
__typename?: 'PlayerComputeUsage';
|
|
14671
|
+
appId: string;
|
|
14672
|
+
hourUnitsUsed: string;
|
|
14673
|
+
dayUnitsUsed: string;
|
|
14674
|
+
unitsPerHour: string | null;
|
|
14675
|
+
unitsPerDay: string | null;
|
|
14676
|
+
compilesThisHour: number;
|
|
14677
|
+
maxCompilesPerHour: number;
|
|
14678
|
+
gateStatus: string;
|
|
14679
|
+
gateReason: string | null;
|
|
14680
|
+
};
|
|
14681
|
+
};
|
|
14682
|
+
export type PlayerComputeRunsQueryVariables = Exact<{
|
|
14683
|
+
appId: Scalars['BigInt']['input'];
|
|
14684
|
+
gridId: Scalars['BigInt']['input'];
|
|
14685
|
+
moduleName?: InputMaybe<Scalars['String']['input']>;
|
|
14686
|
+
success?: InputMaybe<Scalars['Boolean']['input']>;
|
|
14687
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
14688
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
14689
|
+
}>;
|
|
14690
|
+
export type PlayerComputeRunsQuery = {
|
|
14691
|
+
__typename?: 'Query';
|
|
14692
|
+
playerComputeRuns: Array<{
|
|
14693
|
+
__typename?: 'PlayerWasmModuleRun';
|
|
14694
|
+
runId: string;
|
|
14695
|
+
appId: string;
|
|
14696
|
+
gridId: string;
|
|
14697
|
+
moduleId: string;
|
|
14698
|
+
moduleName: string;
|
|
14699
|
+
executedAsUserId: string;
|
|
14700
|
+
flowId: string | null;
|
|
14701
|
+
triggerSource: string;
|
|
14702
|
+
startedAt: string;
|
|
14703
|
+
durationUs: number;
|
|
14704
|
+
fuelUsed: string;
|
|
14705
|
+
success: boolean;
|
|
14706
|
+
errorMessage: string | null;
|
|
14707
|
+
}>;
|
|
14708
|
+
};
|
|
14709
|
+
export type PlayerComputeLogsQueryVariables = Exact<{
|
|
14710
|
+
appId: Scalars['BigInt']['input'];
|
|
14711
|
+
gridId: Scalars['BigInt']['input'];
|
|
14712
|
+
moduleName?: InputMaybe<Scalars['String']['input']>;
|
|
14713
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
14714
|
+
}>;
|
|
14715
|
+
export type PlayerComputeLogsQuery = {
|
|
14716
|
+
__typename?: 'Query';
|
|
14717
|
+
playerComputeLogs: Array<{
|
|
14718
|
+
__typename?: 'PlayerWasmModuleRun';
|
|
14719
|
+
runId: string;
|
|
14720
|
+
appId: string;
|
|
14721
|
+
gridId: string;
|
|
14722
|
+
moduleId: string;
|
|
14723
|
+
moduleName: string;
|
|
14724
|
+
executedAsUserId: string;
|
|
14725
|
+
flowId: string | null;
|
|
14726
|
+
triggerSource: string;
|
|
14727
|
+
startedAt: string;
|
|
14728
|
+
durationUs: number;
|
|
14729
|
+
fuelUsed: string;
|
|
14730
|
+
success: boolean;
|
|
14731
|
+
errorMessage: string | null;
|
|
14732
|
+
}>;
|
|
14733
|
+
};
|
|
14734
|
+
export type PlayerComputeSetSwitchMutationVariables = Exact<{
|
|
14735
|
+
appId: Scalars['BigInt']['input'];
|
|
14736
|
+
scope: Scalars['String']['input'];
|
|
14737
|
+
disabled: Scalars['Boolean']['input'];
|
|
14738
|
+
scopeRef?: InputMaybe<Scalars['BigInt']['input']>;
|
|
14739
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
14740
|
+
listingRef?: InputMaybe<Scalars['String']['input']>;
|
|
14741
|
+
}>;
|
|
14742
|
+
export type PlayerComputeSetSwitchMutation = {
|
|
14743
|
+
__typename?: 'Mutation';
|
|
14744
|
+
playerComputeSetSwitch: boolean;
|
|
14745
|
+
};
|
|
14746
|
+
export type PlayerComputeSwitchesQueryVariables = Exact<{
|
|
14747
|
+
appId: Scalars['BigInt']['input'];
|
|
14748
|
+
}>;
|
|
14749
|
+
export type PlayerComputeSwitchesQuery = {
|
|
14750
|
+
__typename?: 'Query';
|
|
14751
|
+
playerComputeSwitches: Array<{
|
|
14752
|
+
__typename?: 'PlayerComputeSwitch';
|
|
14753
|
+
switchId: string;
|
|
14754
|
+
appId: string;
|
|
14755
|
+
scope: string;
|
|
14756
|
+
scopeRef: string | null;
|
|
14757
|
+
listingRef: string | null;
|
|
14758
|
+
reason: string | null;
|
|
14759
|
+
disabledAt: string;
|
|
14760
|
+
}>;
|
|
14761
|
+
};
|
|
14762
|
+
export type PlayerComputeArtifactQueryVariables = Exact<{
|
|
14763
|
+
appId: Scalars['BigInt']['input'];
|
|
14764
|
+
gridId: Scalars['BigInt']['input'];
|
|
14765
|
+
name: Scalars['String']['input'];
|
|
14766
|
+
versionId?: InputMaybe<Scalars['String']['input']>;
|
|
14767
|
+
}>;
|
|
14768
|
+
export type PlayerComputeArtifactQuery = {
|
|
14769
|
+
__typename?: 'Query';
|
|
14770
|
+
playerComputeArtifact: {
|
|
14771
|
+
__typename?: 'PlayerClientArtifact';
|
|
14772
|
+
versionId: string;
|
|
14773
|
+
artifactHash: string;
|
|
14774
|
+
artifactBase64: string;
|
|
14775
|
+
sizeBytes: number;
|
|
14776
|
+
abiVersion: number;
|
|
14777
|
+
contractJson: string | null;
|
|
14778
|
+
clientFuelPerDispatch: string;
|
|
14779
|
+
};
|
|
14780
|
+
};
|
|
14781
|
+
export type PlayerModelContainersQueryVariables = Exact<{
|
|
14782
|
+
appId: Scalars['BigInt']['input'];
|
|
14783
|
+
gridId: Scalars['BigInt']['input'];
|
|
14784
|
+
}>;
|
|
14785
|
+
export type PlayerModelContainersQuery = {
|
|
14786
|
+
__typename?: 'Query';
|
|
14787
|
+
playerModelContainers: Array<{
|
|
14788
|
+
__typename?: 'PlayerModelContainer';
|
|
14789
|
+
containerId: string;
|
|
14790
|
+
appId: string;
|
|
14791
|
+
gridId: string;
|
|
14792
|
+
ownerUserId: string;
|
|
14793
|
+
typeKey: string;
|
|
14794
|
+
displayName: string | null;
|
|
14795
|
+
stateJson: string;
|
|
14796
|
+
propertiesJson: string;
|
|
14797
|
+
createdAt: string;
|
|
14798
|
+
updatedAt: string;
|
|
14799
|
+
}>;
|
|
14800
|
+
};
|
|
14801
|
+
export type PlayerModelContainerQueryVariables = Exact<{
|
|
14802
|
+
input: PlayerModelContainerRefInput;
|
|
14803
|
+
}>;
|
|
14804
|
+
export type PlayerModelContainerQuery = {
|
|
14805
|
+
__typename?: 'Query';
|
|
14806
|
+
playerModelContainer: {
|
|
14807
|
+
__typename?: 'PlayerModelContainer';
|
|
14808
|
+
containerId: string;
|
|
14809
|
+
appId: string;
|
|
14810
|
+
gridId: string;
|
|
14811
|
+
ownerUserId: string;
|
|
14812
|
+
typeKey: string;
|
|
14813
|
+
displayName: string | null;
|
|
14814
|
+
stateJson: string;
|
|
14815
|
+
propertiesJson: string;
|
|
14816
|
+
createdAt: string;
|
|
14817
|
+
updatedAt: string;
|
|
14818
|
+
} | null;
|
|
14819
|
+
};
|
|
14820
|
+
export type PlayerModelCreateContainerMutationVariables = Exact<{
|
|
14821
|
+
input: CreatePlayerModelContainerInput;
|
|
14822
|
+
}>;
|
|
14823
|
+
export type PlayerModelCreateContainerMutation = {
|
|
14824
|
+
__typename?: 'Mutation';
|
|
14825
|
+
playerModelCreateContainer: {
|
|
14826
|
+
__typename?: 'PlayerModelContainer';
|
|
14827
|
+
containerId: string;
|
|
14828
|
+
appId: string;
|
|
14829
|
+
gridId: string;
|
|
14830
|
+
ownerUserId: string;
|
|
14831
|
+
typeKey: string;
|
|
14832
|
+
displayName: string | null;
|
|
14833
|
+
stateJson: string;
|
|
14834
|
+
propertiesJson: string;
|
|
14835
|
+
createdAt: string;
|
|
14836
|
+
updatedAt: string;
|
|
14837
|
+
};
|
|
14838
|
+
};
|
|
14839
|
+
export type PlayerModelSetPropertyMutationVariables = Exact<{
|
|
14840
|
+
input: SetPlayerModelPropertyInput;
|
|
14841
|
+
}>;
|
|
14842
|
+
export type PlayerModelSetPropertyMutation = {
|
|
14843
|
+
__typename?: 'Mutation';
|
|
14844
|
+
playerModelSetProperty: {
|
|
14845
|
+
__typename?: 'PlayerModelContainer';
|
|
14846
|
+
containerId: string;
|
|
14847
|
+
appId: string;
|
|
14848
|
+
gridId: string;
|
|
14849
|
+
ownerUserId: string;
|
|
14850
|
+
typeKey: string;
|
|
14851
|
+
displayName: string | null;
|
|
14852
|
+
stateJson: string;
|
|
14853
|
+
propertiesJson: string;
|
|
14854
|
+
createdAt: string;
|
|
14855
|
+
updatedAt: string;
|
|
14856
|
+
};
|
|
14857
|
+
};
|
|
14858
|
+
export type PlayerModelDeleteContainerMutationVariables = Exact<{
|
|
14859
|
+
input: PlayerModelContainerRefInput;
|
|
14860
|
+
}>;
|
|
14861
|
+
export type PlayerModelDeleteContainerMutation = {
|
|
14862
|
+
__typename?: 'Mutation';
|
|
14863
|
+
playerModelDeleteContainer: boolean;
|
|
14864
|
+
};
|
|
14865
|
+
export type PlayerAutomationsQueryVariables = Exact<{
|
|
14866
|
+
appId: Scalars['BigInt']['input'];
|
|
14867
|
+
gridId: Scalars['BigInt']['input'];
|
|
14868
|
+
}>;
|
|
14869
|
+
export type PlayerAutomationsQuery = {
|
|
14870
|
+
__typename?: 'Query';
|
|
14871
|
+
playerAutomations: Array<{
|
|
14872
|
+
__typename?: 'PlayerAutomation';
|
|
14873
|
+
automationId: string;
|
|
14874
|
+
appId: string;
|
|
14875
|
+
gridId: string;
|
|
14876
|
+
ownerUserId: string;
|
|
14877
|
+
name: string;
|
|
14878
|
+
description: string | null;
|
|
14879
|
+
enabled: boolean;
|
|
14880
|
+
triggerJson: string;
|
|
14881
|
+
actionJson: string;
|
|
14882
|
+
maxRunsPerMinute: number;
|
|
14883
|
+
failureThreshold: number;
|
|
14884
|
+
cooldownMs: number;
|
|
14885
|
+
circuitState: string;
|
|
14886
|
+
consecutiveFailures: number;
|
|
14887
|
+
pausedUntil: string | null;
|
|
14888
|
+
lastError: string | null;
|
|
14889
|
+
lastRunAt: string | null;
|
|
14890
|
+
nextRunAt: string | null;
|
|
14891
|
+
createdAt: string;
|
|
14892
|
+
updatedAt: string;
|
|
14893
|
+
}>;
|
|
14894
|
+
};
|
|
14895
|
+
export type PlayerAutomationCreateMutationVariables = Exact<{
|
|
14896
|
+
input: CreatePlayerAutomationInput;
|
|
14897
|
+
}>;
|
|
14898
|
+
export type PlayerAutomationCreateMutation = {
|
|
14899
|
+
__typename?: 'Mutation';
|
|
14900
|
+
playerAutomationCreate: {
|
|
14901
|
+
__typename?: 'PlayerAutomation';
|
|
14902
|
+
automationId: string;
|
|
14903
|
+
appId: string;
|
|
14904
|
+
gridId: string;
|
|
14905
|
+
ownerUserId: string;
|
|
14906
|
+
name: string;
|
|
14907
|
+
description: string | null;
|
|
14908
|
+
enabled: boolean;
|
|
14909
|
+
triggerJson: string;
|
|
14910
|
+
actionJson: string;
|
|
14911
|
+
maxRunsPerMinute: number;
|
|
14912
|
+
failureThreshold: number;
|
|
14913
|
+
cooldownMs: number;
|
|
14914
|
+
circuitState: string;
|
|
14915
|
+
consecutiveFailures: number;
|
|
14916
|
+
pausedUntil: string | null;
|
|
14917
|
+
lastError: string | null;
|
|
14918
|
+
lastRunAt: string | null;
|
|
14919
|
+
nextRunAt: string | null;
|
|
14920
|
+
createdAt: string;
|
|
14921
|
+
updatedAt: string;
|
|
14922
|
+
};
|
|
14923
|
+
};
|
|
14924
|
+
export type PlayerAutomationSetEnabledMutationVariables = Exact<{
|
|
14925
|
+
input: SetPlayerAutomationEnabledInput;
|
|
14926
|
+
}>;
|
|
14927
|
+
export type PlayerAutomationSetEnabledMutation = {
|
|
14928
|
+
__typename?: 'Mutation';
|
|
14929
|
+
playerAutomationSetEnabled: {
|
|
14930
|
+
__typename?: 'PlayerAutomation';
|
|
14931
|
+
automationId: string;
|
|
14932
|
+
appId: string;
|
|
14933
|
+
gridId: string;
|
|
14934
|
+
ownerUserId: string;
|
|
14935
|
+
name: string;
|
|
14936
|
+
description: string | null;
|
|
14937
|
+
enabled: boolean;
|
|
14938
|
+
triggerJson: string;
|
|
14939
|
+
actionJson: string;
|
|
14940
|
+
maxRunsPerMinute: number;
|
|
14941
|
+
failureThreshold: number;
|
|
14942
|
+
cooldownMs: number;
|
|
14943
|
+
circuitState: string;
|
|
14944
|
+
consecutiveFailures: number;
|
|
14945
|
+
pausedUntil: string | null;
|
|
14946
|
+
lastError: string | null;
|
|
14947
|
+
lastRunAt: string | null;
|
|
14948
|
+
nextRunAt: string | null;
|
|
14949
|
+
createdAt: string;
|
|
14950
|
+
updatedAt: string;
|
|
14951
|
+
};
|
|
14952
|
+
};
|
|
14953
|
+
export type PlayerAutomationDeleteMutationVariables = Exact<{
|
|
14954
|
+
input: PlayerAutomationRefInput;
|
|
14955
|
+
}>;
|
|
14956
|
+
export type PlayerAutomationDeleteMutation = {
|
|
14957
|
+
__typename?: 'Mutation';
|
|
14958
|
+
playerAutomationDelete: boolean;
|
|
14959
|
+
};
|
|
14960
|
+
export type PlayerWalletFieldsFragment = {
|
|
14961
|
+
__typename?: 'PlayerWallet';
|
|
14962
|
+
walletId: string;
|
|
14963
|
+
userId: string;
|
|
14964
|
+
balanceCents: string;
|
|
14965
|
+
currency: string;
|
|
14966
|
+
createdAt: string;
|
|
14967
|
+
};
|
|
14968
|
+
export type PlayerWalletTransactionFieldsFragment = {
|
|
14969
|
+
__typename?: 'PlayerWalletTransaction';
|
|
14970
|
+
transactionId: string;
|
|
14971
|
+
walletId: string;
|
|
14972
|
+
userId: string;
|
|
14973
|
+
amountCents: string;
|
|
14974
|
+
balanceAfter: string;
|
|
14975
|
+
transactionType: string;
|
|
14976
|
+
description: string | null;
|
|
14977
|
+
referenceId: string | null;
|
|
14978
|
+
appId: string | null;
|
|
14979
|
+
createdAt: string;
|
|
14980
|
+
};
|
|
14981
|
+
export type PlayerSpendCapFieldsFragment = {
|
|
14982
|
+
__typename?: 'PlayerSpendCap';
|
|
14983
|
+
userId: string;
|
|
14984
|
+
scope: string;
|
|
14985
|
+
scopeRef: string | null;
|
|
14986
|
+
dailyLimitCents: string | null;
|
|
14987
|
+
monthlyLimitCents: string | null;
|
|
14988
|
+
currentDayUsageCents: string;
|
|
14989
|
+
currentMonthUsageCents: string;
|
|
14990
|
+
};
|
|
14991
|
+
export type PlayerAutoBillingFieldsFragment = {
|
|
14992
|
+
__typename?: 'PlayerAutoBilling';
|
|
14993
|
+
userId: string;
|
|
14994
|
+
enabled: boolean;
|
|
14995
|
+
limitCents: string | null;
|
|
14996
|
+
autoBilledThisPeriodCents: string;
|
|
14997
|
+
rechargeAmountCents: string;
|
|
14998
|
+
lowWaterThresholdCents: string;
|
|
14999
|
+
hasPaymentMethod: boolean;
|
|
15000
|
+
lastError: string | null;
|
|
15001
|
+
};
|
|
15002
|
+
export type PlayerUsageChargeFieldsFragment = {
|
|
15003
|
+
__typename?: 'PlayerUsageCharge';
|
|
15004
|
+
chargeId: string;
|
|
15005
|
+
userId: string;
|
|
15006
|
+
appId: string;
|
|
15007
|
+
periodStart: string;
|
|
15008
|
+
periodEnd: string;
|
|
15009
|
+
amountCents: string;
|
|
15010
|
+
platformCents: string;
|
|
15011
|
+
markupCents: string;
|
|
15012
|
+
currency: string;
|
|
15013
|
+
usageSnapshotJson: string;
|
|
15014
|
+
createdAt: string;
|
|
15015
|
+
};
|
|
15016
|
+
export type PlayerWasmPolicyFieldsFragment = {
|
|
15017
|
+
__typename?: 'PlayerWasmPolicy';
|
|
15018
|
+
policyId: string;
|
|
15019
|
+
appId: string;
|
|
15020
|
+
scope: string;
|
|
15021
|
+
scopeRef: string | null;
|
|
15022
|
+
enabled: boolean;
|
|
15023
|
+
maxModulesPerGrid: number;
|
|
15024
|
+
maxModulesTotal: number;
|
|
15025
|
+
maxTickHz: number;
|
|
15026
|
+
fuelPerTick: string;
|
|
15027
|
+
fuelPerInvoke: string;
|
|
15028
|
+
maxMemoryMb: number;
|
|
15029
|
+
maxRunMs: number;
|
|
15030
|
+
maxDbOpsPerTick: number;
|
|
15031
|
+
maxEgressMsgsPerMin: number;
|
|
15032
|
+
maxEgressBytesPerMin: string;
|
|
15033
|
+
unitsPerHour: string | null;
|
|
15034
|
+
unitsPerDay: string | null;
|
|
15035
|
+
maxCompilesPerHour: number;
|
|
15036
|
+
maxContainerCreatesDay: number;
|
|
15037
|
+
clientFuelPerDispatch: string;
|
|
15038
|
+
};
|
|
15039
|
+
export type PlayerWalletBalanceQueryVariables = Exact<{
|
|
15040
|
+
[key: string]: never;
|
|
15041
|
+
}>;
|
|
15042
|
+
export type PlayerWalletBalanceQuery = {
|
|
15043
|
+
__typename?: 'Query';
|
|
15044
|
+
playerWalletBalance: {
|
|
15045
|
+
__typename?: 'PlayerWallet';
|
|
15046
|
+
walletId: string;
|
|
15047
|
+
userId: string;
|
|
15048
|
+
balanceCents: string;
|
|
15049
|
+
currency: string;
|
|
15050
|
+
createdAt: string;
|
|
15051
|
+
};
|
|
15052
|
+
};
|
|
15053
|
+
export type PlayerWalletTransactionsQueryVariables = Exact<{
|
|
15054
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
15055
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
15056
|
+
}>;
|
|
15057
|
+
export type PlayerWalletTransactionsQuery = {
|
|
15058
|
+
__typename?: 'Query';
|
|
15059
|
+
playerWalletTransactions: Array<{
|
|
15060
|
+
__typename?: 'PlayerWalletTransaction';
|
|
15061
|
+
transactionId: string;
|
|
15062
|
+
walletId: string;
|
|
15063
|
+
userId: string;
|
|
15064
|
+
amountCents: string;
|
|
15065
|
+
balanceAfter: string;
|
|
15066
|
+
transactionType: string;
|
|
15067
|
+
description: string | null;
|
|
15068
|
+
referenceId: string | null;
|
|
15069
|
+
appId: string | null;
|
|
15070
|
+
createdAt: string;
|
|
15071
|
+
}>;
|
|
15072
|
+
};
|
|
15073
|
+
export type PlayerUsageChargesQueryVariables = Exact<{
|
|
15074
|
+
appId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
15075
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
15076
|
+
}>;
|
|
15077
|
+
export type PlayerUsageChargesQuery = {
|
|
15078
|
+
__typename?: 'Query';
|
|
15079
|
+
playerUsageCharges: Array<{
|
|
15080
|
+
__typename?: 'PlayerUsageCharge';
|
|
15081
|
+
chargeId: string;
|
|
15082
|
+
userId: string;
|
|
15083
|
+
appId: string;
|
|
15084
|
+
periodStart: string;
|
|
15085
|
+
periodEnd: string;
|
|
15086
|
+
amountCents: string;
|
|
15087
|
+
platformCents: string;
|
|
15088
|
+
markupCents: string;
|
|
15089
|
+
currency: string;
|
|
15090
|
+
usageSnapshotJson: string;
|
|
15091
|
+
createdAt: string;
|
|
15092
|
+
}>;
|
|
15093
|
+
};
|
|
15094
|
+
export type PlayerSpendCapsQueryVariables = Exact<{
|
|
15095
|
+
[key: string]: never;
|
|
15096
|
+
}>;
|
|
15097
|
+
export type PlayerSpendCapsQuery = {
|
|
15098
|
+
__typename?: 'Query';
|
|
15099
|
+
playerSpendCaps: Array<{
|
|
15100
|
+
__typename?: 'PlayerSpendCap';
|
|
15101
|
+
userId: string;
|
|
15102
|
+
scope: string;
|
|
15103
|
+
scopeRef: string | null;
|
|
15104
|
+
dailyLimitCents: string | null;
|
|
15105
|
+
monthlyLimitCents: string | null;
|
|
15106
|
+
currentDayUsageCents: string;
|
|
15107
|
+
currentMonthUsageCents: string;
|
|
15108
|
+
}>;
|
|
15109
|
+
};
|
|
15110
|
+
export type SetPlayerSpendCapMutationVariables = Exact<{
|
|
15111
|
+
scope: Scalars['String']['input'];
|
|
15112
|
+
appId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
15113
|
+
dailyLimitCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
15114
|
+
monthlyLimitCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
15115
|
+
}>;
|
|
15116
|
+
export type SetPlayerSpendCapMutation = {
|
|
15117
|
+
__typename?: 'Mutation';
|
|
15118
|
+
setPlayerSpendCap: Array<{
|
|
15119
|
+
__typename?: 'PlayerSpendCap';
|
|
15120
|
+
userId: string;
|
|
15121
|
+
scope: string;
|
|
15122
|
+
scopeRef: string | null;
|
|
15123
|
+
dailyLimitCents: string | null;
|
|
15124
|
+
monthlyLimitCents: string | null;
|
|
15125
|
+
currentDayUsageCents: string;
|
|
15126
|
+
currentMonthUsageCents: string;
|
|
15127
|
+
}>;
|
|
15128
|
+
};
|
|
15129
|
+
export type PlayerAutoBillingQueryVariables = Exact<{
|
|
15130
|
+
[key: string]: never;
|
|
15131
|
+
}>;
|
|
15132
|
+
export type PlayerAutoBillingQuery = {
|
|
15133
|
+
__typename?: 'Query';
|
|
15134
|
+
playerAutoBilling: {
|
|
15135
|
+
__typename?: 'PlayerAutoBilling';
|
|
15136
|
+
userId: string;
|
|
15137
|
+
enabled: boolean;
|
|
15138
|
+
limitCents: string | null;
|
|
15139
|
+
autoBilledThisPeriodCents: string;
|
|
15140
|
+
rechargeAmountCents: string;
|
|
15141
|
+
lowWaterThresholdCents: string;
|
|
15142
|
+
hasPaymentMethod: boolean;
|
|
15143
|
+
lastError: string | null;
|
|
15144
|
+
};
|
|
15145
|
+
};
|
|
15146
|
+
export type BeginPlayerCardSetupMutationVariables = Exact<{
|
|
15147
|
+
[key: string]: never;
|
|
15148
|
+
}>;
|
|
15149
|
+
export type BeginPlayerCardSetupMutation = {
|
|
15150
|
+
__typename?: 'Mutation';
|
|
15151
|
+
beginPlayerCardSetup: {
|
|
15152
|
+
__typename?: 'PlayerCardSetup';
|
|
15153
|
+
clientSecret: string | null;
|
|
15154
|
+
publishableKey: string | null;
|
|
15155
|
+
externalCustomerId: string;
|
|
15156
|
+
};
|
|
15157
|
+
};
|
|
15158
|
+
export type SetPlayerAutoBillingMutationVariables = Exact<{
|
|
15159
|
+
enabled: Scalars['Boolean']['input'];
|
|
15160
|
+
limitCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
15161
|
+
rechargeAmountCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
15162
|
+
lowWaterThresholdCents?: InputMaybe<Scalars['BigInt']['input']>;
|
|
15163
|
+
}>;
|
|
15164
|
+
export type SetPlayerAutoBillingMutation = {
|
|
15165
|
+
__typename?: 'Mutation';
|
|
15166
|
+
setPlayerAutoBilling: {
|
|
15167
|
+
__typename?: 'PlayerAutoBilling';
|
|
15168
|
+
userId: string;
|
|
15169
|
+
enabled: boolean;
|
|
15170
|
+
limitCents: string | null;
|
|
15171
|
+
autoBilledThisPeriodCents: string;
|
|
15172
|
+
rechargeAmountCents: string;
|
|
15173
|
+
lowWaterThresholdCents: string;
|
|
15174
|
+
hasPaymentMethod: boolean;
|
|
15175
|
+
lastError: string | null;
|
|
15176
|
+
};
|
|
15177
|
+
};
|
|
15178
|
+
export type PlayerRuntimeStatesQueryVariables = Exact<{
|
|
15179
|
+
[key: string]: never;
|
|
15180
|
+
}>;
|
|
15181
|
+
export type PlayerRuntimeStatesQuery = {
|
|
15182
|
+
__typename?: 'Query';
|
|
15183
|
+
playerRuntimeStates: Array<{
|
|
15184
|
+
__typename?: 'PlayerRuntimeState';
|
|
15185
|
+
userId: string;
|
|
15186
|
+
appId: string;
|
|
15187
|
+
status: string;
|
|
15188
|
+
reason: string | null;
|
|
15189
|
+
updatedAt: string;
|
|
15190
|
+
}>;
|
|
15191
|
+
};
|
|
15192
|
+
export type PlayerWasmPoliciesQueryVariables = Exact<{
|
|
15193
|
+
appId: Scalars['BigInt']['input'];
|
|
15194
|
+
}>;
|
|
15195
|
+
export type PlayerWasmPoliciesQuery = {
|
|
15196
|
+
__typename?: 'Query';
|
|
15197
|
+
playerWasmPolicies: Array<{
|
|
15198
|
+
__typename?: 'PlayerWasmPolicy';
|
|
15199
|
+
policyId: string;
|
|
15200
|
+
appId: string;
|
|
15201
|
+
scope: string;
|
|
15202
|
+
scopeRef: string | null;
|
|
15203
|
+
enabled: boolean;
|
|
15204
|
+
maxModulesPerGrid: number;
|
|
15205
|
+
maxModulesTotal: number;
|
|
15206
|
+
maxTickHz: number;
|
|
15207
|
+
fuelPerTick: string;
|
|
15208
|
+
fuelPerInvoke: string;
|
|
15209
|
+
maxMemoryMb: number;
|
|
15210
|
+
maxRunMs: number;
|
|
15211
|
+
maxDbOpsPerTick: number;
|
|
15212
|
+
maxEgressMsgsPerMin: number;
|
|
15213
|
+
maxEgressBytesPerMin: string;
|
|
15214
|
+
unitsPerHour: string | null;
|
|
15215
|
+
unitsPerDay: string | null;
|
|
15216
|
+
maxCompilesPerHour: number;
|
|
15217
|
+
maxContainerCreatesDay: number;
|
|
15218
|
+
clientFuelPerDispatch: string;
|
|
15219
|
+
}>;
|
|
15220
|
+
};
|
|
15221
|
+
export type SetPlayerWasmPolicyMutationVariables = Exact<{
|
|
15222
|
+
input: SetPlayerWasmPolicyInput;
|
|
15223
|
+
}>;
|
|
15224
|
+
export type SetPlayerWasmPolicyMutation = {
|
|
15225
|
+
__typename?: 'Mutation';
|
|
15226
|
+
setPlayerWasmPolicy: {
|
|
15227
|
+
__typename?: 'PlayerWasmPolicy';
|
|
15228
|
+
policyId: string;
|
|
15229
|
+
appId: string;
|
|
15230
|
+
scope: string;
|
|
15231
|
+
scopeRef: string | null;
|
|
15232
|
+
enabled: boolean;
|
|
15233
|
+
maxModulesPerGrid: number;
|
|
15234
|
+
maxModulesTotal: number;
|
|
15235
|
+
maxTickHz: number;
|
|
15236
|
+
fuelPerTick: string;
|
|
15237
|
+
fuelPerInvoke: string;
|
|
15238
|
+
maxMemoryMb: number;
|
|
15239
|
+
maxRunMs: number;
|
|
15240
|
+
maxDbOpsPerTick: number;
|
|
15241
|
+
maxEgressMsgsPerMin: number;
|
|
15242
|
+
maxEgressBytesPerMin: string;
|
|
15243
|
+
unitsPerHour: string | null;
|
|
15244
|
+
unitsPerDay: string | null;
|
|
15245
|
+
maxCompilesPerHour: number;
|
|
15246
|
+
maxContainerCreatesDay: number;
|
|
15247
|
+
clientFuelPerDispatch: string;
|
|
15248
|
+
};
|
|
15249
|
+
};
|
|
15250
|
+
export type DeletePlayerWasmPolicyMutationVariables = Exact<{
|
|
15251
|
+
appId: Scalars['BigInt']['input'];
|
|
15252
|
+
scope: Scalars['String']['input'];
|
|
15253
|
+
scopeRef?: InputMaybe<Scalars['BigInt']['input']>;
|
|
15254
|
+
}>;
|
|
15255
|
+
export type DeletePlayerWasmPolicyMutation = {
|
|
15256
|
+
__typename?: 'Mutation';
|
|
15257
|
+
deletePlayerWasmPolicy: boolean;
|
|
15258
|
+
};
|
|
15259
|
+
export type PlayerRateMarkupQueryVariables = Exact<{
|
|
15260
|
+
appId: Scalars['BigInt']['input'];
|
|
15261
|
+
}>;
|
|
15262
|
+
export type PlayerRateMarkupQuery = {
|
|
15263
|
+
__typename?: 'Query';
|
|
15264
|
+
playerRateMarkup: number;
|
|
15265
|
+
};
|
|
15266
|
+
export type SetPlayerRateMarkupMutationVariables = Exact<{
|
|
15267
|
+
appId: Scalars['BigInt']['input'];
|
|
15268
|
+
markupBps: Scalars['Int']['input'];
|
|
15269
|
+
}>;
|
|
15270
|
+
export type SetPlayerRateMarkupMutation = {
|
|
15271
|
+
__typename?: 'Mutation';
|
|
15272
|
+
setPlayerRateMarkup: number;
|
|
15273
|
+
};
|
|
15274
|
+
export type AppPlayerUsageQueryVariables = Exact<{
|
|
15275
|
+
appId: Scalars['BigInt']['input'];
|
|
15276
|
+
hours?: InputMaybe<Scalars['Int']['input']>;
|
|
15277
|
+
}>;
|
|
15278
|
+
export type AppPlayerUsageQuery = {
|
|
15279
|
+
__typename?: 'Query';
|
|
15280
|
+
appPlayerUsage: Array<{
|
|
15281
|
+
__typename?: 'AppPlayerUsageRow';
|
|
15282
|
+
userId: string;
|
|
15283
|
+
computeUnits: string;
|
|
15284
|
+
automationUnits: string;
|
|
15285
|
+
compileCount: number;
|
|
15286
|
+
chargedCents: string;
|
|
15287
|
+
}>;
|
|
15288
|
+
};
|
|
15289
|
+
export type AppPlayerMarkupAccruedQueryVariables = Exact<{
|
|
15290
|
+
appId: Scalars['BigInt']['input'];
|
|
15291
|
+
}>;
|
|
15292
|
+
export type AppPlayerMarkupAccruedQuery = {
|
|
15293
|
+
__typename?: 'Query';
|
|
15294
|
+
appPlayerMarkupAccrued: string;
|
|
15295
|
+
};
|
|
12109
15296
|
export type DeleteQuotaMutationVariables = Exact<{
|
|
12110
15297
|
quotaId: Scalars['BigInt']['input'];
|
|
12111
15298
|
}>;
|
|
@@ -13678,11 +16865,13 @@ export type VoxelUpdateHistoryConnectionQuery = {
|
|
|
13678
16865
|
};
|
|
13679
16866
|
};
|
|
13680
16867
|
};
|
|
16868
|
+
export declare const AppCodeAdmissionFieldsFragmentDoc: DocumentNode<AppCodeAdmissionFieldsFragment, unknown>;
|
|
13681
16869
|
export declare const ComputeModuleFieldsFragmentDoc: DocumentNode<ComputeModuleFieldsFragment, unknown>;
|
|
13682
16870
|
export declare const ComputeVersionFieldsFragmentDoc: DocumentNode<ComputeVersionFieldsFragment, unknown>;
|
|
13683
16871
|
export declare const ComputeTriggerFieldsFragmentDoc: DocumentNode<ComputeTriggerFieldsFragment, unknown>;
|
|
13684
16872
|
export declare const ComputePolicyFieldsFragmentDoc: DocumentNode<ComputePolicyFieldsFragment, unknown>;
|
|
13685
16873
|
export declare const ComputeRunFieldsFragmentDoc: DocumentNode<ComputeRunFieldsFragment, unknown>;
|
|
16874
|
+
export declare const GridOwnershipFieldsFragmentDoc: DocumentNode<GridOwnershipFieldsFragment, unknown>;
|
|
13686
16875
|
export declare const GmAutomationFieldsFragmentDoc: DocumentNode<GmAutomationFieldsFragment, unknown>;
|
|
13687
16876
|
export declare const GmAutomationTriggerFieldsFragmentDoc: DocumentNode<GmAutomationTriggerFieldsFragment, unknown>;
|
|
13688
16877
|
export declare const GmAutomationPolicyFieldsFragmentDoc: DocumentNode<GmAutomationPolicyFieldsFragment, unknown>;
|
|
@@ -13692,6 +16881,20 @@ export declare const GmContainerFieldsFragmentDoc: DocumentNode<GmContainerField
|
|
|
13692
16881
|
export declare const GmInvokeResultFieldsFragmentDoc: DocumentNode<GmInvokeResultFieldsFragment, unknown>;
|
|
13693
16882
|
export declare const GmFunctionFieldsFragmentDoc: DocumentNode<GmFunctionFieldsFragment, unknown>;
|
|
13694
16883
|
export declare const GmPropertyDefFieldsFragmentDoc: DocumentNode<GmPropertyDefFieldsFragment, unknown>;
|
|
16884
|
+
export declare const PlayerCodeListingFieldsFragmentDoc: DocumentNode<PlayerCodeListingFieldsFragment, unknown>;
|
|
16885
|
+
export declare const PlayerCodeListingVersionFieldsFragmentDoc: DocumentNode<PlayerCodeListingVersionFieldsFragment, unknown>;
|
|
16886
|
+
export declare const PlayerCodeAcquisitionFieldsFragmentDoc: DocumentNode<PlayerCodeAcquisitionFieldsFragment, unknown>;
|
|
16887
|
+
export declare const PlayerCodeInstallFieldsFragmentDoc: DocumentNode<PlayerCodeInstallFieldsFragment, unknown>;
|
|
16888
|
+
export declare const GridClaimRequestFieldsFragmentDoc: DocumentNode<GridClaimRequestFieldsFragment, unknown>;
|
|
16889
|
+
export declare const PlayerWasmModuleFieldsFragmentDoc: DocumentNode<PlayerWasmModuleFieldsFragment, unknown>;
|
|
16890
|
+
export declare const PlayerWasmModuleVersionFieldsFragmentDoc: DocumentNode<PlayerWasmModuleVersionFieldsFragment, unknown>;
|
|
16891
|
+
export declare const PlayerWasmModuleRunFieldsFragmentDoc: DocumentNode<PlayerWasmModuleRunFieldsFragment, unknown>;
|
|
16892
|
+
export declare const PlayerWalletFieldsFragmentDoc: DocumentNode<PlayerWalletFieldsFragment, unknown>;
|
|
16893
|
+
export declare const PlayerWalletTransactionFieldsFragmentDoc: DocumentNode<PlayerWalletTransactionFieldsFragment, unknown>;
|
|
16894
|
+
export declare const PlayerSpendCapFieldsFragmentDoc: DocumentNode<PlayerSpendCapFieldsFragment, unknown>;
|
|
16895
|
+
export declare const PlayerAutoBillingFieldsFragmentDoc: DocumentNode<PlayerAutoBillingFieldsFragment, unknown>;
|
|
16896
|
+
export declare const PlayerUsageChargeFieldsFragmentDoc: DocumentNode<PlayerUsageChargeFieldsFragment, unknown>;
|
|
16897
|
+
export declare const PlayerWasmPolicyFieldsFragmentDoc: DocumentNode<PlayerWasmPolicyFieldsFragment, unknown>;
|
|
13695
16898
|
export declare const ActorDocument: DocumentNode<ActorQuery, ActorQueryVariables>;
|
|
13696
16899
|
export declare const ActorsDocument: DocumentNode<ActorsQuery, ActorsQueryVariables>;
|
|
13697
16900
|
export declare const ActorsConnectionDocument: DocumentNode<ActorsConnectionQuery, ActorsConnectionQueryVariables>;
|
|
@@ -13717,6 +16920,11 @@ export declare const AppDocument: DocumentNode<AppQuery, AppQueryVariables>;
|
|
|
13717
16920
|
export declare const AppBySlugDocument: DocumentNode<AppBySlugQuery, AppBySlugQueryVariables>;
|
|
13718
16921
|
export declare const AppsForOrgDocument: DocumentNode<AppsForOrgQuery, AppsForOrgQueryVariables>;
|
|
13719
16922
|
export declare const ArchiveAppDocument: DocumentNode<ArchiveAppMutation, ArchiveAppMutationVariables>;
|
|
16923
|
+
export declare const AppCodeAdmissionModeDocument: DocumentNode<AppCodeAdmissionModeQuery, AppCodeAdmissionModeQueryVariables>;
|
|
16924
|
+
export declare const AppCodeAdmissionsDocument: DocumentNode<AppCodeAdmissionsQuery, AppCodeAdmissionsQueryVariables>;
|
|
16925
|
+
export declare const SetAppCodeAdmissionModeDocument: DocumentNode<SetAppCodeAdmissionModeMutation, SetAppCodeAdmissionModeMutationVariables>;
|
|
16926
|
+
export declare const AdmitAppCodeDocument: DocumentNode<AdmitAppCodeMutation, AdmitAppCodeMutationVariables>;
|
|
16927
|
+
export declare const RevokeAppCodeAdmissionDocument: DocumentNode<RevokeAppCodeAdmissionMutation, RevokeAppCodeAdmissionMutationVariables>;
|
|
13720
16928
|
export declare const CreateAppDocument: DocumentNode<CreateAppMutation, CreateAppMutationVariables>;
|
|
13721
16929
|
export declare const MarketplaceAppsDocument: DocumentNode<MarketplaceAppsQuery, MarketplaceAppsQueryVariables>;
|
|
13722
16930
|
export declare const AppsConnectionDocument: DocumentNode<AppsConnectionQuery, AppsConnectionQueryVariables>;
|
|
@@ -13827,6 +17035,9 @@ export declare const RestartEnvironmentServicesDocument: DocumentNode<RestartEnv
|
|
|
13827
17035
|
export declare const ResumeEnvironmentDocument: DocumentNode<ResumeEnvironmentMutation, ResumeEnvironmentMutationVariables>;
|
|
13828
17036
|
export declare const UpdateEnvironmentBillingTiersDocument: DocumentNode<UpdateEnvironmentBillingTiersMutation, UpdateEnvironmentBillingTiersMutationVariables>;
|
|
13829
17037
|
export declare const UpdateEnvironmentScalingDocument: DocumentNode<UpdateEnvironmentScalingMutation, UpdateEnvironmentScalingMutationVariables>;
|
|
17038
|
+
export declare const GridOwnershipDocument: DocumentNode<GridOwnershipQuery, GridOwnershipQueryVariables>;
|
|
17039
|
+
export declare const AssignGridOwnershipDocument: DocumentNode<AssignGridOwnershipMutation, AssignGridOwnershipMutationVariables>;
|
|
17040
|
+
export declare const TransferGridOwnershipDocument: DocumentNode<TransferGridOwnershipMutation, TransferGridOwnershipMutationVariables>;
|
|
13830
17041
|
export declare const GridUserPermissionsDocument: DocumentNode<GridUserPermissionsQuery, GridUserPermissionsQueryVariables>;
|
|
13831
17042
|
export declare const NearbyGridPermissionsDocument: DocumentNode<NearbyGridPermissionsQuery, NearbyGridPermissionsQueryVariables>;
|
|
13832
17043
|
export declare const GridPermissionLimitsDocument: DocumentNode<GridPermissionLimitsQuery, GridPermissionLimitsQueryVariables>;
|
|
@@ -13893,6 +17104,46 @@ export declare const GameModelRevokeTierFeatureDocument: DocumentNode<GameModelR
|
|
|
13893
17104
|
export declare const GameHostDocument: DocumentNode<GameHostQuery, GameHostQueryVariables>;
|
|
13894
17105
|
export declare const AmIGameHostDocument: DocumentNode<AmIGameHostQuery, AmIGameHostQueryVariables>;
|
|
13895
17106
|
export declare const ActorHeartbeatDocument: DocumentNode<ActorHeartbeatMutation, ActorHeartbeatMutationVariables>;
|
|
17107
|
+
export declare const MarketplaceListingsDocument: DocumentNode<MarketplaceListingsQuery, MarketplaceListingsQueryVariables>;
|
|
17108
|
+
export declare const MarketplaceListingVersionsDocument: DocumentNode<MarketplaceListingVersionsQuery, MarketplaceListingVersionsQueryVariables>;
|
|
17109
|
+
export declare const MarketplaceMyAcquisitionsDocument: DocumentNode<MarketplaceMyAcquisitionsQuery, MarketplaceMyAcquisitionsQueryVariables>;
|
|
17110
|
+
export declare const MarketplaceMyInstallsDocument: DocumentNode<MarketplaceMyInstallsQuery, MarketplaceMyInstallsQueryVariables>;
|
|
17111
|
+
export declare const MarketplaceGridClientModsDocument: DocumentNode<MarketplaceGridClientModsQuery, MarketplaceGridClientModsQueryVariables>;
|
|
17112
|
+
export declare const MarketplaceClientArtifactDocument: DocumentNode<MarketplaceClientArtifactQuery, MarketplaceClientArtifactQueryVariables>;
|
|
17113
|
+
export declare const MarketplacePublishListingDocument: DocumentNode<MarketplacePublishListingMutation, MarketplacePublishListingMutationVariables>;
|
|
17114
|
+
export declare const MarketplacePublishVersionDocument: DocumentNode<MarketplacePublishVersionMutation, MarketplacePublishVersionMutationVariables>;
|
|
17115
|
+
export declare const MarketplaceAcquireDocument: DocumentNode<MarketplaceAcquireMutation, MarketplaceAcquireMutationVariables>;
|
|
17116
|
+
export declare const MarketplaceInstallDocument: DocumentNode<MarketplaceInstallMutation, MarketplaceInstallMutationVariables>;
|
|
17117
|
+
export declare const MarketplaceUninstallDocument: DocumentNode<MarketplaceUninstallMutation, MarketplaceUninstallMutationVariables>;
|
|
17118
|
+
export declare const MarketplaceConsentGridClientModDocument: DocumentNode<MarketplaceConsentGridClientModMutation, MarketplaceConsentGridClientModMutationVariables>;
|
|
17119
|
+
export declare const MarketplaceGridClaimPolicyDocument: DocumentNode<MarketplaceGridClaimPolicyQuery, MarketplaceGridClaimPolicyQueryVariables>;
|
|
17120
|
+
export declare const MarketplaceGridClaimRequestsDocument: DocumentNode<MarketplaceGridClaimRequestsQuery, MarketplaceGridClaimRequestsQueryVariables>;
|
|
17121
|
+
export declare const MarketplaceClaimGridOwnershipDocument: DocumentNode<MarketplaceClaimGridOwnershipMutation, MarketplaceClaimGridOwnershipMutationVariables>;
|
|
17122
|
+
export declare const MarketplaceDecideGridClaimDocument: DocumentNode<MarketplaceDecideGridClaimMutation, MarketplaceDecideGridClaimMutationVariables>;
|
|
17123
|
+
export declare const MarketplaceIssueGridClaimInviteDocument: DocumentNode<MarketplaceIssueGridClaimInviteMutation, MarketplaceIssueGridClaimInviteMutationVariables>;
|
|
17124
|
+
export declare const MarketplaceAdmissionQueueDocument: DocumentNode<MarketplaceAdmissionQueueQuery, MarketplaceAdmissionQueueQueryVariables>;
|
|
17125
|
+
export declare const MarketplaceAppListingsDocument: DocumentNode<MarketplaceAppListingsQuery, MarketplaceAppListingsQueryVariables>;
|
|
17126
|
+
export declare const MarketplaceAppAcquisitionsDocument: DocumentNode<MarketplaceAppAcquisitionsQuery, MarketplaceAppAcquisitionsQueryVariables>;
|
|
17127
|
+
export declare const MarketplaceTransferListingDocument: DocumentNode<MarketplaceTransferListingMutation, MarketplaceTransferListingMutationVariables>;
|
|
17128
|
+
export declare const MarketplaceSetListingStatusDocument: DocumentNode<MarketplaceSetListingStatusMutation, MarketplaceSetListingStatusMutationVariables>;
|
|
17129
|
+
export declare const MarketplaceSetGridClaimPolicyDocument: DocumentNode<MarketplaceSetGridClaimPolicyMutation, MarketplaceSetGridClaimPolicyMutationVariables>;
|
|
17130
|
+
export declare const MarketplaceRenewAcquisitionDocument: DocumentNode<MarketplaceRenewAcquisitionMutation, MarketplaceRenewAcquisitionMutationVariables>;
|
|
17131
|
+
export declare const MarketplaceTopUpAcquisitionDocument: DocumentNode<MarketplaceTopUpAcquisitionMutation, MarketplaceTopUpAcquisitionMutationVariables>;
|
|
17132
|
+
export declare const MarketplaceRefundAcquisitionDocument: DocumentNode<MarketplaceRefundAcquisitionMutation, MarketplaceRefundAcquisitionMutationVariables>;
|
|
17133
|
+
export declare const MarketplaceGridListingsDocument: DocumentNode<MarketplaceGridListingsQuery, MarketplaceGridListingsQueryVariables>;
|
|
17134
|
+
export declare const MarketplacePurchaseGridDocument: DocumentNode<MarketplacePurchaseGridMutation, MarketplacePurchaseGridMutationVariables>;
|
|
17135
|
+
export declare const MarketplaceSetListingPricingDocument: DocumentNode<MarketplaceSetListingPricingMutation, MarketplaceSetListingPricingMutationVariables>;
|
|
17136
|
+
export declare const MarketplaceSetOrgShareDocument: DocumentNode<MarketplaceSetOrgShareMutation, MarketplaceSetOrgShareMutationVariables>;
|
|
17137
|
+
export declare const MarketplaceBeginSellerOnboardingDocument: DocumentNode<MarketplaceBeginSellerOnboardingMutation, MarketplaceBeginSellerOnboardingMutationVariables>;
|
|
17138
|
+
export declare const MarketplaceCreateAccountSessionDocument: DocumentNode<MarketplaceCreateAccountSessionMutation, MarketplaceCreateAccountSessionMutationVariables>;
|
|
17139
|
+
export declare const MarketplaceCreateOrgAccountSessionDocument: DocumentNode<MarketplaceCreateOrgAccountSessionMutation, MarketplaceCreateOrgAccountSessionMutationVariables>;
|
|
17140
|
+
export declare const MarketplaceBeginOrgSellerOnboardingDocument: DocumentNode<MarketplaceBeginOrgSellerOnboardingMutation, MarketplaceBeginOrgSellerOnboardingMutationVariables>;
|
|
17141
|
+
export declare const MarketplaceMySellerBalanceDocument: DocumentNode<MarketplaceMySellerBalanceQuery, MarketplaceMySellerBalanceQueryVariables>;
|
|
17142
|
+
export declare const MarketplaceRequestPayoutDocument: DocumentNode<MarketplaceRequestPayoutMutation, MarketplaceRequestPayoutMutationVariables>;
|
|
17143
|
+
export declare const MarketplaceSpendPayoutToWalletDocument: DocumentNode<MarketplaceSpendPayoutToWalletMutation, MarketplaceSpendPayoutToWalletMutationVariables>;
|
|
17144
|
+
export declare const MarketplaceCommerceRiskQueueDocument: DocumentNode<MarketplaceCommerceRiskQueueQuery, MarketplaceCommerceRiskQueueQueryVariables>;
|
|
17145
|
+
export declare const MarketplaceDecideRiskFlagDocument: DocumentNode<MarketplaceDecideRiskFlagMutation, MarketplaceDecideRiskFlagMutationVariables>;
|
|
17146
|
+
export declare const MarketplaceCreateGridListingDocument: DocumentNode<MarketplaceCreateGridListingMutation, MarketplaceCreateGridListingMutationVariables>;
|
|
13896
17147
|
export declare const CreateOrgRoleDocument: DocumentNode<CreateOrgRoleMutation, CreateOrgRoleMutationVariables>;
|
|
13897
17148
|
export declare const CreateOrgTokenDocument: DocumentNode<CreateOrgTokenMutation, CreateOrgTokenMutationVariables>;
|
|
13898
17149
|
export declare const CreateOrganizationDocument: DocumentNode<CreateOrganizationMutation, CreateOrganizationMutationVariables>;
|
|
@@ -13921,6 +17172,43 @@ export declare const MyCheckoutsConnectionDocument: DocumentNode<MyCheckoutsConn
|
|
|
13921
17172
|
export declare const PaymentEventsDocument: DocumentNode<PaymentEventsQuery, PaymentEventsQueryVariables>;
|
|
13922
17173
|
export declare const PaymentEventsConnectionDocument: DocumentNode<PaymentEventsConnectionQuery, PaymentEventsConnectionQueryVariables>;
|
|
13923
17174
|
export declare const PlatformConfigDocument: DocumentNode<PlatformConfigQuery, PlatformConfigQueryVariables>;
|
|
17175
|
+
export declare const PlayerComputeDeployDocument: DocumentNode<PlayerComputeDeployMutation, PlayerComputeDeployMutationVariables>;
|
|
17176
|
+
export declare const PlayerComputeSetEnabledDocument: DocumentNode<PlayerComputeSetEnabledMutation, PlayerComputeSetEnabledMutationVariables>;
|
|
17177
|
+
export declare const PlayerComputeMyModulesDocument: DocumentNode<PlayerComputeMyModulesQuery, PlayerComputeMyModulesQueryVariables>;
|
|
17178
|
+
export declare const PlayerComputeVersionsDocument: DocumentNode<PlayerComputeVersionsQuery, PlayerComputeVersionsQueryVariables>;
|
|
17179
|
+
export declare const PlayerComputeDeleteDocument: DocumentNode<PlayerComputeDeleteMutation, PlayerComputeDeleteMutationVariables>;
|
|
17180
|
+
export declare const PlayerComputeInvokeDocument: DocumentNode<PlayerComputeInvokeMutation, PlayerComputeInvokeMutationVariables>;
|
|
17181
|
+
export declare const PlayerComputeUsageDocument: DocumentNode<PlayerComputeUsageQuery, PlayerComputeUsageQueryVariables>;
|
|
17182
|
+
export declare const PlayerComputeRunsDocument: DocumentNode<PlayerComputeRunsQuery, PlayerComputeRunsQueryVariables>;
|
|
17183
|
+
export declare const PlayerComputeLogsDocument: DocumentNode<PlayerComputeLogsQuery, PlayerComputeLogsQueryVariables>;
|
|
17184
|
+
export declare const PlayerComputeSetSwitchDocument: DocumentNode<PlayerComputeSetSwitchMutation, PlayerComputeSetSwitchMutationVariables>;
|
|
17185
|
+
export declare const PlayerComputeSwitchesDocument: DocumentNode<PlayerComputeSwitchesQuery, PlayerComputeSwitchesQueryVariables>;
|
|
17186
|
+
export declare const PlayerComputeArtifactDocument: DocumentNode<PlayerComputeArtifactQuery, PlayerComputeArtifactQueryVariables>;
|
|
17187
|
+
export declare const PlayerModelContainersDocument: DocumentNode<PlayerModelContainersQuery, PlayerModelContainersQueryVariables>;
|
|
17188
|
+
export declare const PlayerModelContainerDocument: DocumentNode<PlayerModelContainerQuery, PlayerModelContainerQueryVariables>;
|
|
17189
|
+
export declare const PlayerModelCreateContainerDocument: DocumentNode<PlayerModelCreateContainerMutation, PlayerModelCreateContainerMutationVariables>;
|
|
17190
|
+
export declare const PlayerModelSetPropertyDocument: DocumentNode<PlayerModelSetPropertyMutation, PlayerModelSetPropertyMutationVariables>;
|
|
17191
|
+
export declare const PlayerModelDeleteContainerDocument: DocumentNode<PlayerModelDeleteContainerMutation, PlayerModelDeleteContainerMutationVariables>;
|
|
17192
|
+
export declare const PlayerAutomationsDocument: DocumentNode<PlayerAutomationsQuery, PlayerAutomationsQueryVariables>;
|
|
17193
|
+
export declare const PlayerAutomationCreateDocument: DocumentNode<PlayerAutomationCreateMutation, PlayerAutomationCreateMutationVariables>;
|
|
17194
|
+
export declare const PlayerAutomationSetEnabledDocument: DocumentNode<PlayerAutomationSetEnabledMutation, PlayerAutomationSetEnabledMutationVariables>;
|
|
17195
|
+
export declare const PlayerAutomationDeleteDocument: DocumentNode<PlayerAutomationDeleteMutation, PlayerAutomationDeleteMutationVariables>;
|
|
17196
|
+
export declare const PlayerWalletBalanceDocument: DocumentNode<PlayerWalletBalanceQuery, PlayerWalletBalanceQueryVariables>;
|
|
17197
|
+
export declare const PlayerWalletTransactionsDocument: DocumentNode<PlayerWalletTransactionsQuery, PlayerWalletTransactionsQueryVariables>;
|
|
17198
|
+
export declare const PlayerUsageChargesDocument: DocumentNode<PlayerUsageChargesQuery, PlayerUsageChargesQueryVariables>;
|
|
17199
|
+
export declare const PlayerSpendCapsDocument: DocumentNode<PlayerSpendCapsQuery, PlayerSpendCapsQueryVariables>;
|
|
17200
|
+
export declare const SetPlayerSpendCapDocument: DocumentNode<SetPlayerSpendCapMutation, SetPlayerSpendCapMutationVariables>;
|
|
17201
|
+
export declare const PlayerAutoBillingDocument: DocumentNode<PlayerAutoBillingQuery, PlayerAutoBillingQueryVariables>;
|
|
17202
|
+
export declare const BeginPlayerCardSetupDocument: DocumentNode<BeginPlayerCardSetupMutation, BeginPlayerCardSetupMutationVariables>;
|
|
17203
|
+
export declare const SetPlayerAutoBillingDocument: DocumentNode<SetPlayerAutoBillingMutation, SetPlayerAutoBillingMutationVariables>;
|
|
17204
|
+
export declare const PlayerRuntimeStatesDocument: DocumentNode<PlayerRuntimeStatesQuery, PlayerRuntimeStatesQueryVariables>;
|
|
17205
|
+
export declare const PlayerWasmPoliciesDocument: DocumentNode<PlayerWasmPoliciesQuery, PlayerWasmPoliciesQueryVariables>;
|
|
17206
|
+
export declare const SetPlayerWasmPolicyDocument: DocumentNode<SetPlayerWasmPolicyMutation, SetPlayerWasmPolicyMutationVariables>;
|
|
17207
|
+
export declare const DeletePlayerWasmPolicyDocument: DocumentNode<DeletePlayerWasmPolicyMutation, DeletePlayerWasmPolicyMutationVariables>;
|
|
17208
|
+
export declare const PlayerRateMarkupDocument: DocumentNode<PlayerRateMarkupQuery, PlayerRateMarkupQueryVariables>;
|
|
17209
|
+
export declare const SetPlayerRateMarkupDocument: DocumentNode<SetPlayerRateMarkupMutation, SetPlayerRateMarkupMutationVariables>;
|
|
17210
|
+
export declare const AppPlayerUsageDocument: DocumentNode<AppPlayerUsageQuery, AppPlayerUsageQueryVariables>;
|
|
17211
|
+
export declare const AppPlayerMarkupAccruedDocument: DocumentNode<AppPlayerMarkupAccruedQuery, AppPlayerMarkupAccruedQueryVariables>;
|
|
13924
17212
|
export declare const DeleteQuotaDocument: DocumentNode<DeleteQuotaMutation, DeleteQuotaMutationVariables>;
|
|
13925
17213
|
export declare const EffectiveQuotaDocument: DocumentNode<EffectiveQuotaQuery, EffectiveQuotaQueryVariables>;
|
|
13926
17214
|
export declare const QuotasForAppDocument: DocumentNode<QuotasForAppQuery, QuotasForAppQueryVariables>;
|