@crowdedkingdoms/crowdy-dsh 0.4.11 → 0.4.12-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dsh-web/BUILD.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@crowdedkingdoms/crowdy-dsh",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"builtAt": "2026-10-
|
|
3
|
+
"version": "0.4.12",
|
|
4
|
+
"builtAt": "2026-10-24T05:13:40.430Z",
|
|
5
5
|
"source": {
|
|
6
6
|
"repository": "CrowdedKingdoms/crowdy-dsh",
|
|
7
|
-
"commit": "
|
|
7
|
+
"commit": "647f0a3b1987a68779c3aaf3712ff2f31377645c",
|
|
8
8
|
"dirty": false
|
|
9
9
|
},
|
|
10
10
|
"upstream": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"crowdyjs": {
|
|
17
17
|
"name": "@crowdedkingdoms/crowdyjs",
|
|
18
|
-
"version": "18.
|
|
18
|
+
"version": "18.19.0-dev.1",
|
|
19
19
|
"source": "node_modules"
|
|
20
20
|
},
|
|
21
21
|
"files": {
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"manifest.webmanifest": "sha256:9b54d57eea00f2fdd1affe6e7999a4209a515755f12ac1a3299da2d55e178d4c",
|
|
113
113
|
"preview/bootstrap-CYECZNXt.js": "sha256:9f303a0485c0badfdd19fad0c357ef050c5b9a343744ab5bf0c70015e7d95092",
|
|
114
114
|
"preview/crowdy-boot-Cklh1qNl.js": "sha256:b21e8eb126e1cd8a52159d2d577e610df6c8af36a436f9ed5028cfabd11a85ff",
|
|
115
|
-
"preview/vfs-image.tar.gz": "sha256:
|
|
115
|
+
"preview/vfs-image.tar.gz": "sha256:5063f3bc0c38d10c62ab96b45bed2583222b133fbf0b2cc6359d6de397666399",
|
|
116
116
|
"preview/worker-C8-_ANaz.js": "sha256:81099e5732dfe0c32bacd5897316b7956c5a0a22da01b4a0c6e21d0a3b9d9aa1"
|
|
117
117
|
}
|
|
118
118
|
}
|
|
Binary file
|
|
@@ -4010,14 +4010,23 @@ var LbCookieStore = class {
|
|
|
4010
4010
|
headerValue() {
|
|
4011
4011
|
return this.value ? `${CKS_GA_NAME}=${this.value}` : null;
|
|
4012
4012
|
}
|
|
4013
|
-
/**
|
|
4013
|
+
/** Forget the affinity: the next balancer request is placed afresh. */
|
|
4014
|
+
clear() {
|
|
4015
|
+
this.value = null;
|
|
4016
|
+
}
|
|
4017
|
+
/**
|
|
4018
|
+
* Parse `Set-Cookie` response headers: retain `cks_ga` when present, forget it
|
|
4019
|
+
* when the response expires it (an empty value, `Max-Age` of zero or less, or
|
|
4020
|
+
* an `Expires` in the past).
|
|
4021
|
+
*/
|
|
4014
4022
|
ingestSetCookie(headers) {
|
|
4015
4023
|
const setCookies = typeof headers.getSetCookie === "function" ? headers.getSetCookie() : parseSetCookieFallback(headers.get("set-cookie"));
|
|
4016
4024
|
for (const raw of setCookies) {
|
|
4017
4025
|
const pair = raw.split(";", 1)[0]?.trim();
|
|
4018
4026
|
if (!pair?.startsWith(`${CKS_GA_NAME}=`))
|
|
4019
4027
|
continue;
|
|
4020
|
-
|
|
4028
|
+
const value = pair.slice(CKS_GA_NAME.length + 1);
|
|
4029
|
+
this.value = value === "" || isExpired(raw) ? null : value;
|
|
4021
4030
|
}
|
|
4022
4031
|
}
|
|
4023
4032
|
/** @internal test helper */
|
|
@@ -4069,6 +4078,25 @@ function isAbortError(error) {
|
|
|
4069
4078
|
const name = error.name;
|
|
4070
4079
|
return name === "AbortError" || name === "TimeoutError";
|
|
4071
4080
|
}
|
|
4081
|
+
function isExpired(setCookie, now = Date.now()) {
|
|
4082
|
+
for (const part of setCookie.split(";").slice(1)) {
|
|
4083
|
+
const eq = part.indexOf("=");
|
|
4084
|
+
if (eq < 0)
|
|
4085
|
+
continue;
|
|
4086
|
+
const name = part.slice(0, eq).trim().toLowerCase();
|
|
4087
|
+
const value = part.slice(eq + 1).trim();
|
|
4088
|
+
if (name === "max-age") {
|
|
4089
|
+
const seconds = Number.parseInt(value, 10);
|
|
4090
|
+
if (Number.isFinite(seconds) && seconds <= 0)
|
|
4091
|
+
return true;
|
|
4092
|
+
} else if (name === "expires") {
|
|
4093
|
+
const at = Date.parse(value);
|
|
4094
|
+
if (Number.isFinite(at) && at <= now)
|
|
4095
|
+
return true;
|
|
4096
|
+
}
|
|
4097
|
+
}
|
|
4098
|
+
return false;
|
|
4099
|
+
}
|
|
4072
4100
|
function parseSetCookieFallback(header) {
|
|
4073
4101
|
if (!header)
|
|
4074
4102
|
return [];
|
|
@@ -5536,6 +5564,18 @@ var AbandonGamePublishDocument = { "kind": "Document", "definitions": [{ "kind":
|
|
|
5536
5564
|
var SetHostedGameEnabledDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SetHostedGameEnabled" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SetHostedGameEnabledInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "setHostedGameEnabled" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
|
|
5537
5565
|
var InputLogMessagesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "InputLogMessages" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "gameTokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "InputLogMessageFilter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "inputLogMessages" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "gameTokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "gameTokenId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "receivedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedAtMicros" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "messageType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "seq" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromBundle" } }, { "kind": "Field", "name": { "kind": "Name", "value": "signed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sizeBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "body" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actorUuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "channelId" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }] } }] } }] };
|
|
5538
5566
|
var InputLogSessionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "InputLogSessions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "InputLogSessionFilter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "inputLogSessions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "datacenter" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastSeenAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "messageCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "byteCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "missingRecords" } }, { "kind": "Field", "name": { "kind": "Name", "value": "messageTypes" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }] } }] } }] };
|
|
5567
|
+
var AppManagedPlayerModsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppManagedPlayerMods" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "app" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "managedPlayerModsEnabled" } }] } }] } }] };
|
|
5568
|
+
var DeleteManagedPlayerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "DeleteManagedPlayer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "externalId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "deleteManagedPlayer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "externalId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "externalId" } } }] }] } }] };
|
|
5569
|
+
var EndManagedPlayerSessionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "EndManagedPlayerSessions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "externalId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endManagedPlayerSessions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "externalId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "externalId" } } }] }] } }] };
|
|
5570
|
+
var ManagedPlayerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ManagedPlayer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "externalId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "managedPlayer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "externalId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "externalId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ManagedPlayerFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ManagedPlayerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ManagedPlayer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gamertag" } }, { "kind": "Field", "name": { "kind": "Name", "value": "disambiguation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "disabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
|
|
5571
|
+
var ManagedPlayersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ManagedPlayers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "search" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "managedPlayers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "search" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "search" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "players" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ManagedPlayerFields" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "nextCursor" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ManagedPlayerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ManagedPlayer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gamertag" } }, { "kind": "Field", "name": { "kind": "Name", "value": "disambiguation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "disabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
|
|
5572
|
+
var OrgManagedPlayerSettingsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "OrgManagedPlayerSettings" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgManagedPlayerSettings" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPlayers" } }, { "kind": "Field", "name": { "kind": "Name", "value": "playerCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mintsPerMinute" } }, { "kind": "Field", "name": { "kind": "Name", "value": "defaultSessionTtlSeconds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxSessionTtlSeconds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "termsVersion" } }, { "kind": "Field", "name": { "kind": "Name", "value": "termsUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "termsAccepted" } }, { "kind": "Field", "name": { "kind": "Name", "value": "termsAcceptedVersion" } }, { "kind": "Field", "name": { "kind": "Name", "value": "termsAcceptedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "termsAcceptedByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "viewerMayAcceptTerms" } }] } }] } }] };
|
|
5573
|
+
var OrgSigningKeysDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "OrgSigningKeys" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgSigningKeys" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "OrgSigningKeyFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "OrgSigningKeyFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrgSigningKey" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "keyId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "kid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "algorithm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publicJwk" } }, { "kind": "Field", "name": { "kind": "Name", "value": "issuer" } }, { "kind": "Field", "name": { "kind": "Name", "value": "audience" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revokedAt" } }] } }] };
|
|
5574
|
+
var ProvisionManagedPlayersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ProvisionManagedPlayers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ProvisionManagedPlayersInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "provisionManagedPlayers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "created" } }, { "kind": "Field", "name": { "kind": "Name", "value": "existing" } }, { "kind": "Field", "name": { "kind": "Name", "value": "players" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ManagedPlayerFields" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ManagedPlayerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ManagedPlayer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gamertag" } }, { "kind": "Field", "name": { "kind": "Name", "value": "disambiguation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "disabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
|
|
5575
|
+
var RegisterOrgSigningKeyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RegisterOrgSigningKey" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RegisterOrgSigningKeyInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "registerOrgSigningKey" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "OrgSigningKeyFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "OrgSigningKeyFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrgSigningKey" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "keyId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "kid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "algorithm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publicJwk" } }, { "kind": "Field", "name": { "kind": "Name", "value": "issuer" } }, { "kind": "Field", "name": { "kind": "Name", "value": "audience" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revokedAt" } }] } }] };
|
|
5576
|
+
var RevokeOrgSigningKeyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RevokeOrgSigningKey" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "keyId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "revokeOrgSigningKey" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "keyId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "keyId" } } }] }] } }] };
|
|
5577
|
+
var SetAppManagedPlayerModsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SetAppManagedPlayerMods" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "enabled" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "setAppManagedPlayerMods" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "enabled" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "enabled" } } }] }] } }] };
|
|
5578
|
+
var UpdateManagedPlayerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateManagedPlayer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateManagedPlayerInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateManagedPlayer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ManagedPlayerFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ManagedPlayerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ManagedPlayer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gamertag" } }, { "kind": "Field", "name": { "kind": "Name", "value": "disambiguation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "disabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
|
|
5539
5579
|
var MarketplaceGridClaimPolicyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MarketplaceGridClaimPolicy" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gridClaimPolicy" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }] }] } }] };
|
|
5540
5580
|
var MarketplaceGridClaimRequestsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MarketplaceGridClaimRequests" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gridClaimRequests" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GridClaimRequestFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GridClaimRequestFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GridClaimRequest" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "requestId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gridId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "requesterUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
|
|
5541
5581
|
var MarketplaceClaimGridOwnershipDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "MarketplaceClaimGridOwnership" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "claimGridOwnership" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "gridId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "policy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownershipAssigned" } }, { "kind": "Field", "name": { "kind": "Name", "value": "claimRequestId" } }] } }] } }] };
|
|
@@ -5550,7 +5590,7 @@ var MarketplaceTransferListingDocument = { "kind": "Document", "definitions": [{
|
|
|
5550
5590
|
var MarketplaceSetListingStatusDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "MarketplaceSetListingStatus" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "listingId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PlayerCodeListingStatus" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "setPlayerCodeListingStatus" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "listingId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "listingId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "status" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "PlayerCodeListingFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "PlayerCodeListingFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PlayerCodeListing" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "listingId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerRef" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mediaJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "licenseMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "acquisitionMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rentIntervalDays" } }, { "kind": "Field", "name": { "kind": "Name", "value": "windowDays" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unitBudget" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
|
|
5551
5591
|
var MarketplaceSetGridClaimPolicyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "MarketplaceSetGridClaimPolicy" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "policy" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GridClaimPolicy" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "approverUserIds" } }, "type": { "kind": "ListType", "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "setAppGridClaimPolicy" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "policy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "policy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "approverUserIds" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "approverUserIds" } } }] }] } }] };
|
|
5552
5592
|
var CreateOrgRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateOrgRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateOrgRoleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createOrgRole" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }] } }] } }] };
|
|
5553
|
-
var CreateOrgTokenDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateOrgToken" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateOrgTokenInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createOrgToken" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
|
|
5593
|
+
var CreateOrgTokenDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateOrgToken" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateOrgTokenInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createOrgToken" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "scopes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
|
|
5554
5594
|
var CreateOrganizationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateOrganization" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateOrganizationInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createOrganization" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
5555
5595
|
var DeleteOrgRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "DeleteOrgRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgRoleId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "deleteOrgRole" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgRoleId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgRoleId" } } }] }] } }] };
|
|
5556
5596
|
var InviteOrgMemberDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "InviteOrgMember" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "InviteOrgMemberInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "inviteOrgMember" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgMemberId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
@@ -5559,14 +5599,14 @@ var MyOrganizationsDocument = { "kind": "Document", "definitions": [{ "kind": "O
|
|
|
5559
5599
|
var OrgMembersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "OrgMembers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgMembers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgMemberId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
5560
5600
|
var OrgPermissionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "OrgPermissions" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgPermissions" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "permissionKey" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "category" } }] } }] } }] };
|
|
5561
5601
|
var OrgRolesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "OrgRoles" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgRoles" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }] } }] } }] };
|
|
5562
|
-
var OrgTokensDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "OrgTokens" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgTokens" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastUsedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revokedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
5602
|
+
var OrgTokensDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "OrgTokens" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgTokens" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "scopes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastUsedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revokedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
5563
5603
|
var OrganizationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "Organization" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "organization" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
5564
5604
|
var OrganizationBySlugDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "OrganizationBySlug" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "organizationBySlug" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "slug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
5565
5605
|
var RemoveOrgMemberDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RemoveOrgMember" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "removeOrgMember" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "userId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } } }] }] } }] };
|
|
5566
|
-
var RevokeOrgTokenDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RevokeOrgToken" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgTokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "revokeOrgToken" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgTokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgTokenId" } } }] }] } }] };
|
|
5606
|
+
var RevokeOrgTokenDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RevokeOrgToken" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgTokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "endSessions" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "revokeOrgToken" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgTokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgTokenId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "endSessions" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "endSessions" } } }] }] } }] };
|
|
5567
5607
|
var UpdateOrgMemberRolesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateOrgMemberRoles" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "roleIds" } }, "type": { "kind": "NonNullType", "type": { "kind": "ListType", "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateOrgMemberRoles" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "userId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "roleIds" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "roleIds" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgMemberId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }] } }] } }] };
|
|
5568
5608
|
var UpdateOrgRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateOrgRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgRoleId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateOrgRoleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateOrgRole" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgRoleId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgRoleId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }] } }] } }] };
|
|
5569
|
-
var UpdateOrgTokenDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateOrgToken" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgTokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateOrgTokenInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateOrgToken" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgTokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgTokenId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revokedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
5609
|
+
var UpdateOrgTokenDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateOrgToken" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgTokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateOrgTokenInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateOrgToken" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgTokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgTokenId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "scopes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revokedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
5570
5610
|
var CapturePaypalCheckoutDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CapturePaypalCheckout" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "idempotencyKey" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "capturePaypalCheckout" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orderId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "idempotencyKey" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "idempotencyKey" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "checkoutId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "provider" } }, { "kind": "Field", "name": { "kind": "Name", "value": "purpose" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amountCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currency" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tierId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }] } }] } }] };
|
|
5571
5611
|
var CreateCheckoutDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateCheckout" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateCheckoutInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createCheckout" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "checkoutId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "provider" } }, { "kind": "Field", "name": { "kind": "Name", "value": "purpose" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amountCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currency" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tierId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }] } }] } }] };
|
|
5572
5612
|
var MyCheckoutsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MyCheckouts" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "myCheckouts" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "checkoutId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "provider" } }, { "kind": "Field", "name": { "kind": "Name", "value": "purpose" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amountCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currency" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tierId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "limit" } }, { "kind": "Field", "name": { "kind": "Name", "value": "offset" } }] } }] } }] } }] };
|
|
@@ -7178,7 +7218,7 @@ var RealtimeClient = class {
|
|
|
7178
7218
|
void this.handleBinaryRelayUnavailable();
|
|
7179
7219
|
},
|
|
7180
7220
|
onReconnectDirective: (target) => {
|
|
7181
|
-
this.
|
|
7221
|
+
this.onRelayReconnectDirective(target);
|
|
7182
7222
|
}
|
|
7183
7223
|
});
|
|
7184
7224
|
}
|
|
@@ -7208,7 +7248,7 @@ var RealtimeClient = class {
|
|
|
7208
7248
|
* that prompted the call, and the existing backoff keeps retrying the URL we
|
|
7209
7249
|
* already have.
|
|
7210
7250
|
*/
|
|
7211
|
-
async rediscoverEndpoint(reason) {
|
|
7251
|
+
async rediscoverEndpoint(reason, opts = {}) {
|
|
7212
7252
|
if (!this.rediscover)
|
|
7213
7253
|
return;
|
|
7214
7254
|
if (this.rediscovering)
|
|
@@ -7226,6 +7266,8 @@ var RealtimeClient = class {
|
|
|
7226
7266
|
this.binaryRelayUrl = deriveBinaryRelayUrl(wsUrl);
|
|
7227
7267
|
this.connectFailures = 0;
|
|
7228
7268
|
this.restartBinaryRelay();
|
|
7269
|
+
if (opts.moveNow)
|
|
7270
|
+
this.restartGraphqlSubscription();
|
|
7229
7271
|
} catch (error) {
|
|
7230
7272
|
this.logger.warn?.(`Re-discovery (${reason}) failed; continuing with ${this.wsUrl}`, error);
|
|
7231
7273
|
} finally {
|
|
@@ -7284,6 +7326,31 @@ var RealtimeClient = class {
|
|
|
7284
7326
|
reason: target.datacenter ? `app is served from '${target.datacenter}'` : "app is served from another datacenter"
|
|
7285
7327
|
});
|
|
7286
7328
|
}
|
|
7329
|
+
/**
|
|
7330
|
+
* The relay asked this client to move. A draining instance's request also ends
|
|
7331
|
+
* the balancer affinity: the cookie still names the instance that is going
|
|
7332
|
+
* away, and a later balancer request carrying it would be routed back there.
|
|
7333
|
+
*/
|
|
7334
|
+
onRelayReconnectDirective(target) {
|
|
7335
|
+
if (target.reason === "draining")
|
|
7336
|
+
this.lbCookieStore?.clear();
|
|
7337
|
+
this.moveToDirectedEndpoint(target);
|
|
7338
|
+
}
|
|
7339
|
+
/**
|
|
7340
|
+
* Reopen the GraphQL websocket against the current URL. Only for a move the
|
|
7341
|
+
* server asked for: the socket is still open, so nothing else would make it
|
|
7342
|
+
* follow HTTP to the new instance.
|
|
7343
|
+
*/
|
|
7344
|
+
restartGraphqlSubscription() {
|
|
7345
|
+
if (this.usingBinaryTransport() || !this.client)
|
|
7346
|
+
return;
|
|
7347
|
+
this.release?.();
|
|
7348
|
+
this.release = null;
|
|
7349
|
+
this.client.dispose();
|
|
7350
|
+
this.client = null;
|
|
7351
|
+
if (this.desired)
|
|
7352
|
+
this.ensureSubscription();
|
|
7353
|
+
}
|
|
7287
7354
|
moveToDirectedEndpoint(target) {
|
|
7288
7355
|
if (target.wsUrl === this.wsUrl)
|
|
7289
7356
|
return;
|
|
@@ -7342,7 +7409,8 @@ var RealtimeClient = class {
|
|
|
7342
7409
|
this.resolvePending(notification);
|
|
7343
7410
|
if (notification.__typename === "RealtimeConnectionEvent" && notification.code === SERVER_DRAINING_CODE) {
|
|
7344
7411
|
this.logger.warn?.("Server is draining; re-discovering a realtime endpoint");
|
|
7345
|
-
|
|
7412
|
+
this.lbCookieStore?.clear();
|
|
7413
|
+
void this.rediscoverEndpoint("server draining", { moveNow: true });
|
|
7346
7414
|
}
|
|
7347
7415
|
if (notification.__typename === "RealtimeConnectionEvent" && notification.retryable === false) {
|
|
7348
7416
|
this.desired = false;
|
|
@@ -7700,7 +7768,8 @@ var ActorClient = class {
|
|
|
7700
7768
|
* @throws {CrowdyGraphQLError} if the underlying send is rejected.
|
|
7701
7769
|
* @throws {CrowdyTimeoutError} if the HTTP send leg times out.
|
|
7702
7770
|
* @throws {CrowdyRealtimeError} on timeout (`code === 'UDP_SEQUENCE_TIMEOUT'`)
|
|
7703
|
-
* or a matching `GenericErrorResponse
|
|
7771
|
+
* or a matching `GenericErrorResponse` (`UNAUTHORIZED` without the
|
|
7772
|
+
* `use_text_chat` runtime permission, Game API v2.55.0).
|
|
7704
7773
|
*/
|
|
7705
7774
|
async sendText(text, input = {}) {
|
|
7706
7775
|
const chunk = input.chunk ?? this.chunk;
|
|
@@ -7770,7 +7839,9 @@ var ActorClient = class {
|
|
|
7770
7839
|
* @param options - `sequenceNumber`: optional uint8 (0-255) correlation id
|
|
7771
7840
|
* (used only to correlate a `GenericErrorResponse`).
|
|
7772
7841
|
* @returns `true` when the datagram was accepted for sending — **not**
|
|
7773
|
-
* confirmation of delivery.
|
|
7842
|
+
* confirmation of delivery. Without the `use_direct_messages` runtime
|
|
7843
|
+
* permission (Game API v2.55.0) the server answers `UNAUTHORIZED` as a
|
|
7844
|
+
* `genericError` notification.
|
|
7774
7845
|
* @throws {CrowdyProtocolError} if `targetUuid` is not exactly 32 bytes, or
|
|
7775
7846
|
* `targetChunk` is outside signed int64 range.
|
|
7776
7847
|
* @throws {CrowdyGraphQLError} on auth/validation failures.
|
|
@@ -13696,6 +13767,8 @@ var CreatePortalAuthorizationCodeDocument = parse(`mutation CreatePortalAuthoriz
|
|
|
13696
13767
|
var ExchangePortalCodeDocument = parse(`mutation ExchangePortalCode($input: ExchangePortalCodeInput!) { exchangePortalCode(input: $input) { ${APP_TOKEN_FIELDS} } }`);
|
|
13697
13768
|
var RefreshAppTokenDocument = parse(`mutation RefreshAppToken { refreshAppToken { ${APP_TOKEN_FIELDS} } }`);
|
|
13698
13769
|
var RefreshAppTokenOnServerDocument = parse(`mutation RefreshAppTokenOnServer($currentServer: CurrentServerInput) { refreshAppToken(currentServer: $currentServer) { ${APP_TOKEN_FIELDS} authorizedServer { ip4 clientPort } } }`);
|
|
13770
|
+
var ExchangeManagedPlayerAssertionDocument = parse(`mutation ExchangeManagedPlayerAssertion($input: ExchangeManagedPlayerAssertionInput!) { exchangeManagedPlayerAssertion(input: $input) { ${APP_TOKEN_FIELDS} } }`);
|
|
13771
|
+
var ORG_TOKEN_PREFIX = "cko_";
|
|
13699
13772
|
var PortalConsentRequiredError = class extends Error {
|
|
13700
13773
|
constructor(appId, appName) {
|
|
13701
13774
|
super(`Consent required for app ${appId}`);
|
|
@@ -13782,6 +13855,53 @@ var PortalAPI = class {
|
|
|
13782
13855
|
this.session.setToken(data.refreshAppToken.token);
|
|
13783
13856
|
return data.refreshAppToken;
|
|
13784
13857
|
}
|
|
13858
|
+
// ----- Org-managed players ---------------------------------------------------
|
|
13859
|
+
/**
|
|
13860
|
+
* Store an app token the player's organization minted for it, so this client plays with
|
|
13861
|
+
* it and {@link refresh} rotates it. For an org-managed player: the organization's server
|
|
13862
|
+
* calls `mintManagedPlayerToken` with its org token and sends the response to the
|
|
13863
|
+
* player's device, which passes it here. Returns the response unchanged; point the game
|
|
13864
|
+
* client at its `gameApiUrl` / `gameApiWsUrl` as after any mint.
|
|
13865
|
+
*
|
|
13866
|
+
* The token refreshes until the sign-in's lifetime (the organization's setting) ends;
|
|
13867
|
+
* after that `refresh()` is refused and the device gets a new token from its organization.
|
|
13868
|
+
* A refresh is also refused with `ORG_LEGAL_ACCEPTANCE_REQUIRED`
|
|
13869
|
+
* ({@link orgLegalAcceptanceRequiredOf}) while the organization has not accepted the
|
|
13870
|
+
* current Org-Managed Players Addendum; only an admin of the organization can fix that.
|
|
13871
|
+
*
|
|
13872
|
+
* Refuses an org token (`cko_…`). That is the organization's server credential: it signs
|
|
13873
|
+
* in any of the organization's players, so a device must never hold one.
|
|
13874
|
+
*/
|
|
13875
|
+
adoptAppToken(response) {
|
|
13876
|
+
const token = response?.token;
|
|
13877
|
+
if (typeof token !== "string" || token.length === 0) {
|
|
13878
|
+
throw new TypeError("adoptAppToken: the response has no token");
|
|
13879
|
+
}
|
|
13880
|
+
if (token.startsWith(ORG_TOKEN_PREFIX)) {
|
|
13881
|
+
throw new TypeError("adoptAppToken: that is an org token, your organization's server credential. Give the device the app token mintManagedPlayerToken returns, never the org token.");
|
|
13882
|
+
}
|
|
13883
|
+
this.session.setToken(token);
|
|
13884
|
+
return response;
|
|
13885
|
+
}
|
|
13886
|
+
/**
|
|
13887
|
+
* Trade an assertion the player's organization signed for the player's app token, and
|
|
13888
|
+
* store it (as {@link adoptAppToken} does). For an org-managed player whose organization
|
|
13889
|
+
* registered a signing key: its sign-in service signs a short JWS for the player and the
|
|
13890
|
+
* device brings it here. Public: needs no session and no org token.
|
|
13891
|
+
*
|
|
13892
|
+
* Each assertion works once. A refusal is `ASSERTION_REJECTED`, with the failed check in
|
|
13893
|
+
* `extensions.reason` ({@link assertionRejectedOf}); resending the same assertion cannot
|
|
13894
|
+
* succeed, so ask the sign-in service for a new one. A valid assertion is refused with
|
|
13895
|
+
* `ORG_LEGAL_ACCEPTANCE_REQUIRED` ({@link orgLegalAcceptanceRequiredOf}) while the
|
|
13896
|
+
* organization has not accepted the current Org-Managed Players Addendum.
|
|
13897
|
+
*/
|
|
13898
|
+
async exchangeManagedPlayerAssertion(params) {
|
|
13899
|
+
const data = await this.api.request(ExchangeManagedPlayerAssertionDocument, {
|
|
13900
|
+
input: { appId: params.appId, assertion: params.assertion }
|
|
13901
|
+
});
|
|
13902
|
+
this.session.setToken(data.exchangeManagedPlayerAssertion.token);
|
|
13903
|
+
return data.exchangeManagedPlayerAssertion;
|
|
13904
|
+
}
|
|
13785
13905
|
// ----- Consent + connected apps ------------------------------------------
|
|
13786
13906
|
/** Whether portaling into an app needs a consent prompt (Overworld side). */
|
|
13787
13907
|
async getConsent(appId) {
|
|
@@ -14105,10 +14225,14 @@ var OrganizationsAPI = class {
|
|
|
14105
14225
|
}
|
|
14106
14226
|
/**
|
|
14107
14227
|
* Mint a new org API token (for server-side studio backends). Requires the
|
|
14108
|
-
* `manage_tokens` org permission. The plaintext secret is returned
|
|
14228
|
+
* `manage_tokens` org permission. The plaintext secret (`cko_…`) is returned
|
|
14229
|
+
* **once**. Keep it on the organization's server: the API refuses a request
|
|
14230
|
+
* that carries it with an `Origin` header.
|
|
14109
14231
|
*
|
|
14110
14232
|
* @param input - {@link CreateOrgTokenInput}: `orgId`, optional `label` and
|
|
14111
|
-
* `expiresAt
|
|
14233
|
+
* `expiresAt`; for org-managed players, `scopes`
|
|
14234
|
+
* (`players:mint`, `players:manage`) and `appIds` (limit the token to some
|
|
14235
|
+
* of the org's apps). A token with no scope can do nothing.
|
|
14112
14236
|
* @returns The created token including its one-time plaintext secret.
|
|
14113
14237
|
*/
|
|
14114
14238
|
async createToken(input) {
|
|
@@ -14136,11 +14260,15 @@ var OrganizationsAPI = class {
|
|
|
14136
14260
|
* Revoke (disable) an org token. Requires the `manage_tokens` org permission.
|
|
14137
14261
|
*
|
|
14138
14262
|
* @param orgTokenId - Numeric token id.
|
|
14263
|
+
* @param options - `endSessions: true` also ends every session the token signed
|
|
14264
|
+
* org-managed players in with, so their devices stop now rather than at
|
|
14265
|
+
* their sessions' end.
|
|
14139
14266
|
* @returns `true` on success.
|
|
14140
14267
|
*/
|
|
14141
|
-
async revokeToken(orgTokenId) {
|
|
14268
|
+
async revokeToken(orgTokenId, options = {}) {
|
|
14142
14269
|
const data = await this.api.request(RevokeOrgTokenDocument, {
|
|
14143
|
-
orgTokenId
|
|
14270
|
+
orgTokenId,
|
|
14271
|
+
...options.endSessions === void 0 ? {} : { endSessions: options.endSessions }
|
|
14144
14272
|
});
|
|
14145
14273
|
return data.revokeOrgToken;
|
|
14146
14274
|
}
|
|
@@ -14233,6 +14361,134 @@ var OrganizationsAPI = class {
|
|
|
14233
14361
|
}
|
|
14234
14362
|
};
|
|
14235
14363
|
|
|
14364
|
+
var PRIVATE_JWK_MEMBERS = ["d", "p", "q", "dp", "dq", "qi", "oth", "k"];
|
|
14365
|
+
function privateJwkMember(json) {
|
|
14366
|
+
let parsed;
|
|
14367
|
+
try {
|
|
14368
|
+
parsed = JSON.parse(json);
|
|
14369
|
+
} catch {
|
|
14370
|
+
return null;
|
|
14371
|
+
}
|
|
14372
|
+
if (!parsed || typeof parsed !== "object")
|
|
14373
|
+
return null;
|
|
14374
|
+
return PRIVATE_JWK_MEMBERS.find((m) => m in parsed) ?? null;
|
|
14375
|
+
}
|
|
14376
|
+
var ManagedPlayersAPI = class {
|
|
14377
|
+
constructor(api) {
|
|
14378
|
+
this.api = api;
|
|
14379
|
+
}
|
|
14380
|
+
/**
|
|
14381
|
+
* The organization's players in the order they were created, a page at a time (`first`
|
|
14382
|
+
* defaults to 50, at most 200). `search` matches the start of an external id (exactly) or
|
|
14383
|
+
* of a gamertag (any case). Pass `nextCursor` back as `after` for the next page; it is
|
|
14384
|
+
* null on the last.
|
|
14385
|
+
*/
|
|
14386
|
+
async list(orgId, options = {}) {
|
|
14387
|
+
const data = await this.api.request(ManagedPlayersDocument, { orgId, ...options });
|
|
14388
|
+
return data.managedPlayers;
|
|
14389
|
+
}
|
|
14390
|
+
/** One player by the id the organization knows it by, or null. */
|
|
14391
|
+
async get(orgId, externalId) {
|
|
14392
|
+
const data = await this.api.request(ManagedPlayerDocument, { orgId, externalId });
|
|
14393
|
+
return data.managedPlayer;
|
|
14394
|
+
}
|
|
14395
|
+
/**
|
|
14396
|
+
* Create players ahead of their first sign-in, up to 500 per call (one statement, much
|
|
14397
|
+
* faster than first sign-ins one at a time: pre-provision before a launch). A player
|
|
14398
|
+
* that already exists is left as it is and counted in `existing`. Refused with
|
|
14399
|
+
* `ORG_LEGAL_ACCEPTANCE_REQUIRED` until the organization has accepted the current
|
|
14400
|
+
* Org-Managed Players Addendum.
|
|
14401
|
+
*/
|
|
14402
|
+
async provision(input) {
|
|
14403
|
+
const data = await this.api.request(ProvisionManagedPlayersDocument, { input });
|
|
14404
|
+
return data.provisionManagedPlayers;
|
|
14405
|
+
}
|
|
14406
|
+
/**
|
|
14407
|
+
* Rename a player, or disable or enable it. Disabling ends every session the player has
|
|
14408
|
+
* (its devices stop at once) and refuses its sign-ins until enabled again. A block a
|
|
14409
|
+
* platform operator set also reads as disabled, and only an operator lifts it.
|
|
14410
|
+
*/
|
|
14411
|
+
async update(input) {
|
|
14412
|
+
const data = await this.api.request(UpdateManagedPlayerDocument, { input });
|
|
14413
|
+
return data.updateManagedPlayer;
|
|
14414
|
+
}
|
|
14415
|
+
/** End every session of a player now (sign it out everywhere); it can sign in again. */
|
|
14416
|
+
async endSessions(orgId, externalId) {
|
|
14417
|
+
const data = await this.api.request(EndManagedPlayerSessionsDocument, { orgId, externalId });
|
|
14418
|
+
return data.endManagedPlayerSessions;
|
|
14419
|
+
}
|
|
14420
|
+
/**
|
|
14421
|
+
* Delete a player: its sessions end and its account is scrubbed. The external id is free
|
|
14422
|
+
* again, so a later sign-in with it creates a new player. Since Game API v2.54.0 its
|
|
14423
|
+
* player-side content is erased within minutes (usage and billing records and world edits
|
|
14424
|
+
* stay), and a legal hold on the player or its organization refuses the delete with
|
|
14425
|
+
* `LEGAL_HOLD`; the player stays as it was.
|
|
14426
|
+
*/
|
|
14427
|
+
async delete(orgId, externalId) {
|
|
14428
|
+
const data = await this.api.request(DeleteManagedPlayerDocument, { orgId, externalId });
|
|
14429
|
+
return data.deleteManagedPlayer;
|
|
14430
|
+
}
|
|
14431
|
+
/**
|
|
14432
|
+
* Whether an operator has turned managed players on for the organization, and its limits:
|
|
14433
|
+
* the player cap, sign-ins per minute and the session lengths. Also where the organization
|
|
14434
|
+
* stands on the Org-Managed Players Addendum: the current `termsVersion` and `termsUrl`,
|
|
14435
|
+
* `termsAccepted`, the latest acceptance, and `viewerMayAcceptTerms` (whether the signed-in
|
|
14436
|
+
* user is an admin of the organization who may accept it, in Studio). Read-only here.
|
|
14437
|
+
*/
|
|
14438
|
+
async settings(orgId) {
|
|
14439
|
+
const data = await this.api.request(OrgManagedPlayerSettingsDocument, { orgId });
|
|
14440
|
+
return data.orgManagedPlayerSettings;
|
|
14441
|
+
}
|
|
14442
|
+
/** The organization's assertion signing keys, revoked ones included. */
|
|
14443
|
+
async signingKeys(orgId) {
|
|
14444
|
+
const data = await this.api.request(OrgSigningKeysDocument, { orgId });
|
|
14445
|
+
return data.orgSigningKeys;
|
|
14446
|
+
}
|
|
14447
|
+
/**
|
|
14448
|
+
* Register a PUBLIC key the organization's sign-in service signs player assertions with:
|
|
14449
|
+
* `EdDSA` (Ed25519), `ES256` (P-256) or `RS256` (RSA, 2048 bits or more). `publicJwk` may be
|
|
14450
|
+
* the JWK object (for example `publicKey.export({ format: 'jwk' })` in Node) or its JSON.
|
|
14451
|
+
* A JWK with private members is refused. `appIds` limits the key to some of the
|
|
14452
|
+
* organization's apps; `audience` replaces the default `ck:app:<appId>` when the
|
|
14453
|
+
* organization's identity provider sets its own.
|
|
14454
|
+
*/
|
|
14455
|
+
async registerSigningKey(input) {
|
|
14456
|
+
const publicJwk = typeof input.publicJwk === "string" ? input.publicJwk : JSON.stringify(input.publicJwk);
|
|
14457
|
+
const privateMember = privateJwkMember(publicJwk);
|
|
14458
|
+
if (privateMember) {
|
|
14459
|
+
throw new TypeError(`registerSigningKey: the JWK carries the private member '${privateMember}'. Register the PUBLIC key only.`);
|
|
14460
|
+
}
|
|
14461
|
+
const data = await this.api.request(RegisterOrgSigningKeyDocument, {
|
|
14462
|
+
input: { ...input, publicJwk }
|
|
14463
|
+
});
|
|
14464
|
+
return data.registerOrgSigningKey;
|
|
14465
|
+
}
|
|
14466
|
+
/** Revoke a signing key: assertions it signed are refused from now on. */
|
|
14467
|
+
async revokeSigningKey(orgId, keyId) {
|
|
14468
|
+
const data = await this.api.request(RevokeOrgSigningKeyDocument, { orgId, keyId });
|
|
14469
|
+
return data.revokeOrgSigningKey;
|
|
14470
|
+
}
|
|
14471
|
+
/**
|
|
14472
|
+
* Whether the organization pays for its managed players' mods in this app. A managed
|
|
14473
|
+
* player has no wallet, so with this off its mods, its Crowdy Studio writes and its use
|
|
14474
|
+
* of the Studio agent are refused with `MANAGED_PLAYER_NOT_ALLOWED`. False for an app the
|
|
14475
|
+
* caller cannot see.
|
|
14476
|
+
*/
|
|
14477
|
+
async appModsEnabled(appId) {
|
|
14478
|
+
const data = await this.api.request(AppManagedPlayerModsDocument, { appId });
|
|
14479
|
+
return data.app?.managedPlayerModsEnabled ?? false;
|
|
14480
|
+
}
|
|
14481
|
+
/**
|
|
14482
|
+
* Switch the organization paying for its managed players' mods in this app on or off
|
|
14483
|
+
* (`manage_billing` on the app). On, their mods' compute, storage and agent use are billed
|
|
14484
|
+
* to the organization; off, those mods are switched off at once.
|
|
14485
|
+
*/
|
|
14486
|
+
async setAppMods(appId, enabled) {
|
|
14487
|
+
const data = await this.api.request(SetAppManagedPlayerModsDocument, { appId, enabled });
|
|
14488
|
+
return data.setAppManagedPlayerMods;
|
|
14489
|
+
}
|
|
14490
|
+
};
|
|
14491
|
+
|
|
14236
14492
|
var AppAccessAPI = class {
|
|
14237
14493
|
constructor(api) {
|
|
14238
14494
|
this.api = api;
|
|
@@ -14996,6 +15252,7 @@ var SharedEnvironmentAPI = class {
|
|
|
14996
15252
|
var AdminAPI = class {
|
|
14997
15253
|
constructor(deps) {
|
|
14998
15254
|
this.organizations = deps.organizations;
|
|
15255
|
+
this.managedPlayers = deps.managedPlayers;
|
|
14999
15256
|
this.apps = deps.apps;
|
|
15000
15257
|
this.appAccess = deps.appAccess;
|
|
15001
15258
|
this.billing = deps.billing;
|
|
@@ -17337,7 +17594,10 @@ var UdpAPI = class {
|
|
|
17337
17594
|
* Send a spatial text/chat packet, fanned out to nearby actors as a
|
|
17338
17595
|
* `ClientTextNotification`. Fire-and-forget; opens a UDP proxy session
|
|
17339
17596
|
* automatically. The sender receives no success echo; failures arrive
|
|
17340
|
-
* asynchronously as `GenericErrorResponse` on {@link subscribe}.
|
|
17597
|
+
* asynchronously as `GenericErrorResponse` on {@link subscribe}. Needs the
|
|
17598
|
+
* `use_text_chat` runtime permission on the app (Game API v2.55.0; every tier
|
|
17599
|
+
* that grants `access` has it unless the app took it away): without it the
|
|
17600
|
+
* server answers `UNAUTHORIZED`.
|
|
17341
17601
|
*
|
|
17342
17602
|
* @param input - {@link ClientTextPacketInput}:
|
|
17343
17603
|
* - `appId` — owning app id (`BigInt` as a decimal string).
|
|
@@ -17456,6 +17716,9 @@ var UdpAPI = class {
|
|
|
17456
17716
|
* Fire-and-forget: the sender receives no echo, so there is no
|
|
17457
17717
|
* `sendSingleActorMessageAndWait` variant. The target receives a
|
|
17458
17718
|
* `SingleActorMessageNotification` on its `udpNotifications` subscription.
|
|
17719
|
+
* Needs the `use_direct_messages` runtime permission on the app (Game API
|
|
17720
|
+
* v2.55.0; every tier that grants `access` has it unless the app took it
|
|
17721
|
+
* away): without it the server answers `UNAUTHORIZED`.
|
|
17459
17722
|
*
|
|
17460
17723
|
* @param input - {@link SingleActorMessageInput}:
|
|
17461
17724
|
* - `appId` — the destination actor's app id (`BigInt` as a decimal string).
|
|
@@ -17523,8 +17786,10 @@ var UdpAPI = class {
|
|
|
17523
17786
|
* Publish a message to a channel. Delivered to every active member of the
|
|
17524
17787
|
* channel (regardless of location) as a `ChannelMessageNotification` on their
|
|
17525
17788
|
* `udpNotifications` subscription. Requires the channel `send_messages`
|
|
17526
|
-
* permission
|
|
17527
|
-
*
|
|
17789
|
+
* permission and, from Game API v2.55.0, the `use_text_chat` runtime
|
|
17790
|
+
* permission on the channel's app; without either the server answers
|
|
17791
|
+
* `UNAUTHORIZED` on {@link subscribe}. Fire-and-forget: the sender receives
|
|
17792
|
+
* no echo.
|
|
17528
17793
|
*
|
|
17529
17794
|
* @param input - {@link ChannelMessageInput}:
|
|
17530
17795
|
* - `channelId` — the channel id (`groups.group_id`) as a `BigInt` decimal
|
|
@@ -17535,8 +17800,9 @@ var UdpAPI = class {
|
|
|
17535
17800
|
* 1024 bytes.
|
|
17536
17801
|
* - `sequenceNumber` — optional uint8 (0-255) correlation id.
|
|
17537
17802
|
* @returns `true` when accepted for sending — **not** confirmation of
|
|
17538
|
-
* delivery;
|
|
17539
|
-
*
|
|
17803
|
+
* delivery; a message refused for a missing `send_messages` or
|
|
17804
|
+
* `use_text_chat` still returns `true` (the refusal arrives as a
|
|
17805
|
+
* `genericError` notification).
|
|
17540
17806
|
* @throws {CrowdyGraphQLError} on auth/validation failures.
|
|
17541
17807
|
*/
|
|
17542
17808
|
async sendChannelMessage(input) {
|
|
@@ -17584,8 +17850,8 @@ var UdpAPI = class {
|
|
|
17584
17850
|
* {@link sendChannelMessage}, when one of its live actors is in `appId`
|
|
17585
17851
|
* within `maxDistance` chunks of `chunk`, measured as the straight-line
|
|
17586
17852
|
* distance between chunk coordinates, boundary included. A member with no
|
|
17587
|
-
* live actor does not receive it. Same send right
|
|
17588
|
-
* the sender receives no echo.
|
|
17853
|
+
* live actor does not receive it. Same send right and `use_text_chat` as
|
|
17854
|
+
* `sendChannelMessage`; the sender receives no echo.
|
|
17589
17855
|
*
|
|
17590
17856
|
* @param input - {@link RangedChannelMessageInput}:
|
|
17591
17857
|
* - `channelId` — the channel id (`groups.group_id`) as a `BigInt` decimal
|
|
@@ -17600,8 +17866,9 @@ var UdpAPI = class {
|
|
|
17600
17866
|
* 2147483647. Not the 0-8 Chebyshev ring count spatial sends take.
|
|
17601
17867
|
* - `sequenceNumber` — optional uint8 (0-255) correlation id.
|
|
17602
17868
|
* @returns `true` when accepted for sending — **not** confirmation of
|
|
17603
|
-
* delivery. A refusal (no send right
|
|
17604
|
-
* `INVALID_APP_ID`) arrives as a
|
|
17869
|
+
* delivery. A refusal (no send right or no `use_text_chat`:
|
|
17870
|
+
* `UNAUTHORIZED`; another app: `INVALID_APP_ID`) arrives as a
|
|
17871
|
+
* `genericError` notification.
|
|
17605
17872
|
* @throws {CrowdyGraphQLError} on auth/validation failures.
|
|
17606
17873
|
*/
|
|
17607
17874
|
async sendRangedChannelMessage(input) {
|
|
@@ -18533,6 +18800,7 @@ var CrowdyClient = class {
|
|
|
18533
18800
|
this.discovery = new DiscoveryDomain(this.graphql);
|
|
18534
18801
|
this.platform = new PlatformAPI(this.graphql);
|
|
18535
18802
|
this.organizations = new OrganizationsAPI(this.graphql);
|
|
18803
|
+
this.managedPlayers = new ManagedPlayersAPI(this.graphql);
|
|
18536
18804
|
this.appAccess = new AppAccessAPI(this.graphql);
|
|
18537
18805
|
this.billing = new BillingAPI(this.graphql);
|
|
18538
18806
|
this.payments = new PaymentsAPI(this.graphql);
|
|
@@ -18560,6 +18828,7 @@ var CrowdyClient = class {
|
|
|
18560
18828
|
this.gameApps = new GameAppsAPI(this.graphql);
|
|
18561
18829
|
this.admin = new AdminAPI({
|
|
18562
18830
|
organizations: this.organizations,
|
|
18831
|
+
managedPlayers: this.managedPlayers,
|
|
18563
18832
|
apps: this.apps,
|
|
18564
18833
|
appAccess: this.appAccess,
|
|
18565
18834
|
billing: this.billing,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crowdedkingdoms/crowdy-dsh",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.12-dev.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
"crowdyDsh": {
|
|
95
95
|
"build": {
|
|
96
96
|
"package": "@crowdedkingdoms/crowdy-dsh",
|
|
97
|
-
"version": "0.4.
|
|
98
|
-
"builtAt": "2026-10-
|
|
97
|
+
"version": "0.4.12",
|
|
98
|
+
"builtAt": "2026-10-24T05:13:40.430Z",
|
|
99
99
|
"source": {
|
|
100
100
|
"repository": "CrowdedKingdoms/crowdy-dsh",
|
|
101
|
-
"commit": "
|
|
101
|
+
"commit": "647f0a3b1987a68779c3aaf3712ff2f31377645c",
|
|
102
102
|
"dirty": false
|
|
103
103
|
},
|
|
104
104
|
"upstream": {
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
},
|
|
110
110
|
"crowdyjs": {
|
|
111
111
|
"name": "@crowdedkingdoms/crowdyjs",
|
|
112
|
-
"version": "18.
|
|
112
|
+
"version": "18.19.0-dev.1",
|
|
113
113
|
"source": "node_modules"
|
|
114
114
|
},
|
|
115
115
|
"files": {
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"manifest.webmanifest": "sha256:9b54d57eea00f2fdd1affe6e7999a4209a515755f12ac1a3299da2d55e178d4c",
|
|
207
207
|
"preview/bootstrap-CYECZNXt.js": "sha256:9f303a0485c0badfdd19fad0c357ef050c5b9a343744ab5bf0c70015e7d95092",
|
|
208
208
|
"preview/crowdy-boot-Cklh1qNl.js": "sha256:b21e8eb126e1cd8a52159d2d577e610df6c8af36a436f9ed5028cfabd11a85ff",
|
|
209
|
-
"preview/vfs-image.tar.gz": "sha256:
|
|
209
|
+
"preview/vfs-image.tar.gz": "sha256:5063f3bc0c38d10c62ab96b45bed2583222b133fbf0b2cc6359d6de397666399",
|
|
210
210
|
"preview/worker-C8-_ANaz.js": "sha256:81099e5732dfe0c32bacd5897316b7956c5a0a22da01b4a0c6e21d0a3b9d9aa1"
|
|
211
211
|
}
|
|
212
212
|
}
|