@crowdedkingdoms/crowdyjs 16.0.0 → 16.2.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/default-origin.d.ts +6 -6
- package/dist/default-origin.d.ts.map +1 -1
- package/dist/default-origin.js +6 -6
- package/dist/domains/billing.d.ts +10 -4
- package/dist/domains/billing.d.ts.map +1 -1
- package/dist/domains/billing.js +10 -4
- package/dist/domains/playerWallet.d.ts +30 -20
- package/dist/domains/playerWallet.d.ts.map +1 -1
- package/dist/domains/playerWallet.js +16 -3
- package/dist/generated/graphql.d.ts +175 -8
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +9 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/kit/npcs.d.ts.map +1 -1
- package/dist/kit/social.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1145,8 +1145,13 @@ export type AppPlayerUsageRow = {
|
|
|
1145
1145
|
__typename?: 'AppPlayerUsageRow';
|
|
1146
1146
|
/** Player automation units used. */
|
|
1147
1147
|
automationUnits: Scalars['BigInt']['output'];
|
|
1148
|
-
/**
|
|
1148
|
+
/**
|
|
1149
|
+
* DEPRECATED. chargedMicrousd / 10,000 truncated toward zero.
|
|
1150
|
+
* @deprecated Derived from chargedMicrousd (truncated). Read chargedMicrousd.
|
|
1151
|
+
*/
|
|
1149
1152
|
chargedCents: Scalars['BigInt']['output'];
|
|
1153
|
+
/** Micro-USD charged to the player for this app in the window (exact). */
|
|
1154
|
+
chargedMicrousd: Scalars['BigInt']['output'];
|
|
1150
1155
|
/** Compile submissions. */
|
|
1151
1156
|
compileCount: Scalars['Int']['output'];
|
|
1152
1157
|
/** Player compute units used. */
|
|
@@ -1435,6 +1440,29 @@ export type BatchActorLookupInput = {
|
|
|
1435
1440
|
/** Actor ids to look up. Each is exactly 32 ASCII characters (the UDP-wire actor id), NOT a hyphenated RFC-4122 UUID. Must be non-empty; unknown ids are silently omitted from the result. */
|
|
1436
1441
|
uuids: Array<Scalars['String']['input']>;
|
|
1437
1442
|
};
|
|
1443
|
+
/** One settlement unit of the lossless ledger: a (payer, meter, period) for a continuous meter, or one request for a request-priced meter. Amounts in micro-USD; nothing is rounded. */
|
|
1444
|
+
export type BillingCharge = {
|
|
1445
|
+
__typename?: 'BillingCharge';
|
|
1446
|
+
appId: Scalars['BigInt']['output'];
|
|
1447
|
+
billedMicrousd: Scalars['BigInt']['output'];
|
|
1448
|
+
chargeId: Scalars['String']['output'];
|
|
1449
|
+
heldMicrousd: Scalars['BigInt']['output'];
|
|
1450
|
+
meter: Scalars['String']['output'];
|
|
1451
|
+
payerId: Scalars['BigInt']['output'];
|
|
1452
|
+
payerKind: Scalars['String']['output'];
|
|
1453
|
+
periodStart: Maybe<Scalars['DateTime']['output']>;
|
|
1454
|
+
pricedTotalMicrousd: Scalars['BigInt']['output'];
|
|
1455
|
+
quantityFree: Scalars['BigInt']['output'];
|
|
1456
|
+
quantityTotal: Scalars['BigInt']['output'];
|
|
1457
|
+
settlementRef: Scalars['String']['output'];
|
|
1458
|
+
state: Scalars['String']['output'];
|
|
1459
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1460
|
+
writtenOffMicrousd: Scalars['BigInt']['output'];
|
|
1461
|
+
};
|
|
1462
|
+
export type BillingCreditResult = {
|
|
1463
|
+
__typename?: 'BillingCreditResult';
|
|
1464
|
+
creditedMicrousd: Scalars['BigInt']['output'];
|
|
1465
|
+
};
|
|
1438
1466
|
/** An organization whose wallet is not debited and whose apps are not denied for funds. Usage is still metered; waived amounts are in org_billing_waivers. */
|
|
1439
1467
|
export type BillingExemptOrgType = {
|
|
1440
1468
|
__typename?: 'BillingExemptOrgType';
|
|
@@ -1451,6 +1479,45 @@ export type BillingExemptOrgType = {
|
|
|
1451
1479
|
/** Organization slug. */
|
|
1452
1480
|
slug: Scalars['String']['output'];
|
|
1453
1481
|
};
|
|
1482
|
+
/** One run of the ledger invariant checks. */
|
|
1483
|
+
export type BillingInvariantRun = {
|
|
1484
|
+
__typename?: 'BillingInvariantRun';
|
|
1485
|
+
/** JSON text. */
|
|
1486
|
+
detail: Maybe<Scalars['String']['output']>;
|
|
1487
|
+
ok: Scalars['Boolean']['output'];
|
|
1488
|
+
ranAt: Scalars['DateTime']['output'];
|
|
1489
|
+
residueMicrousd: Scalars['BigInt']['output'];
|
|
1490
|
+
runId: Scalars['String']['output'];
|
|
1491
|
+
/** JSON text. */
|
|
1492
|
+
sums: Scalars['String']['output'];
|
|
1493
|
+
};
|
|
1494
|
+
/** Ledger versus provider for one UTC day. */
|
|
1495
|
+
export type BillingReconciliation = {
|
|
1496
|
+
__typename?: 'BillingReconciliation';
|
|
1497
|
+
day: Scalars['String']['output'];
|
|
1498
|
+
deltaMicrousd: Maybe<Scalars['BigInt']['output']>;
|
|
1499
|
+
/** JSON text. */
|
|
1500
|
+
detail: Maybe<Scalars['String']['output']>;
|
|
1501
|
+
expectedMicrousd: Scalars['BigInt']['output'];
|
|
1502
|
+
provider: Scalars['String']['output'];
|
|
1503
|
+
providerReportedMicrousd: Maybe<Scalars['BigInt']['output']>;
|
|
1504
|
+
status: Scalars['String']['output'];
|
|
1505
|
+
};
|
|
1506
|
+
/** A billable amount that could not be billed, with the reason. */
|
|
1507
|
+
export type BillingWriteOff = {
|
|
1508
|
+
__typename?: 'BillingWriteOff';
|
|
1509
|
+
amountMicrousd: Scalars['BigInt']['output'];
|
|
1510
|
+
appId: Maybe<Scalars['BigInt']['output']>;
|
|
1511
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1512
|
+
/** JSON text. */
|
|
1513
|
+
evidence: Maybe<Scalars['String']['output']>;
|
|
1514
|
+
meter: Scalars['String']['output'];
|
|
1515
|
+
payerId: Scalars['BigInt']['output'];
|
|
1516
|
+
payerKind: Scalars['String']['output'];
|
|
1517
|
+
quantity: Scalars['BigInt']['output'];
|
|
1518
|
+
reason: Scalars['String']['output'];
|
|
1519
|
+
writeOffId: Scalars['String']['output'];
|
|
1520
|
+
};
|
|
1454
1521
|
export type BindCrowdyStudioGitHubInput = {
|
|
1455
1522
|
appId: Scalars['BigInt']['input'];
|
|
1456
1523
|
branch?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4964,6 +5031,8 @@ export type Mutation = {
|
|
|
4964
5031
|
connectUdpProxy: UdpProxyConnectionStatus;
|
|
4965
5032
|
/** Consent to run a grid-attached client mod (D2): acknowledges the attachment's exact capability hash. A newer version with a widened summary carries a different hash, so stale consents fail closed — re-consent is always explicit. Consent is per player per attachment. */
|
|
4966
5033
|
consentGridClientMod: Scalars['Boolean']['output'];
|
|
5034
|
+
/** Operator only. Credit the payer of an over-billed charge (an I3 finding: an allowance or rate was raised after the charge landed) the difference, and close the charge row. Idempotent per charge state. SIDE EFFECT: a wallet credit and a CREDIT event. */
|
|
5035
|
+
cpBillingCreditOverbill: BillingCreditResult;
|
|
4967
5036
|
/** Operator only (is_operator). Patches the platform compute ceilings: omitted fields stay unchanged, an explicit null clears that override (game-api falls back to env/default), a value (> 0) sets it. SIDE EFFECTS: fans a replica notify out to every game-api so the new ceilings clamp computeSetPolicy within ~30 seconds without a restart, and writes an audit entry. Lowering a ceiling does not shrink already-stored per-app policies; it rejects future computeSetPolicy values above the new ceiling. Returns the updated ceilings row. */
|
|
4968
5037
|
cpSetComputePlatformCeilings: CpComputePlatformCeilings;
|
|
4969
5038
|
/** Operator only (is_operator or is_super_admin). Publish or release an emergency kill for one app. This state is separate from the app's own kill and always takes precedence in Management's effective envelope; app users cannot clear it. SIDE EFFECTS: revision increment and a sanitized audit event. NOTHING IS PUSHED TO GAME API: preemption takes effect when its runtime next pulls this app's crowdy.studio-agent-policy/1 replica, which is within about a minute for an app already holding one and not at all for an app that does not until a permitted caller asks. Releasing the operator kill does not enable the app or clear its own kill. Stable errors: AGENT_POLICY_INVALID, AGENT_POLICY_REVISION_CONFLICT, IDEMPOTENCY_CONFLICT. */
|
|
@@ -5482,6 +5551,11 @@ export type MutationConsentGridClientModArgs = {
|
|
|
5482
5551
|
attachmentId: Scalars['String']['input'];
|
|
5483
5552
|
consentCapabilityHash: Scalars['String']['input'];
|
|
5484
5553
|
};
|
|
5554
|
+
export type MutationCpBillingCreditOverbillArgs = {
|
|
5555
|
+
appId: Scalars['BigInt']['input'];
|
|
5556
|
+
chargeId: Scalars['String']['input'];
|
|
5557
|
+
reason: Scalars['String']['input'];
|
|
5558
|
+
};
|
|
5485
5559
|
export type MutationCpSetComputePlatformCeilingsArgs = {
|
|
5486
5560
|
input: CpSetComputePlatformCeilingsInput;
|
|
5487
5561
|
};
|
|
@@ -6442,12 +6516,19 @@ export type OrgUsageSummary = {
|
|
|
6442
6516
|
};
|
|
6443
6517
|
export type OrgWallet = {
|
|
6444
6518
|
__typename?: 'OrgWallet';
|
|
6445
|
-
/**
|
|
6519
|
+
/**
|
|
6520
|
+
* DEPRECATED. balanceMicrousd / 10,000 truncated toward zero, as a BigInt decimal string.
|
|
6521
|
+
* @deprecated Cents are a display convenience derived from balanceMicrousd (truncated toward zero). Read balanceMicrousd.
|
|
6522
|
+
*/
|
|
6446
6523
|
balanceCents: Scalars['BigInt']['output'];
|
|
6524
|
+
/** Current wallet balance in MICRO-USD (1 USD = 1,000,000), as a BigInt decimal string. The unit of account since 2026-09-11: every charge is recorded to the micro-USD and nothing is rounded. May be negative when accrued usage settled against an empty wallet. */
|
|
6525
|
+
balanceMicrousd: Scalars['BigInt']['output'];
|
|
6447
6526
|
/** When the wallet was created (ISO-8601 UTC timestamp). */
|
|
6448
6527
|
createdAt: Scalars['DateTime']['output'];
|
|
6449
6528
|
/** ISO-4217 currency code for `balanceCents`, lowercase (e.g. "usd"). Defaults to "usd". */
|
|
6450
6529
|
currency: Scalars['String']['output'];
|
|
6530
|
+
/** Micro-USD currently held against in-flight request-priced usage (a model turn reserves its worst case here before it runs and releases the difference when it settles). Spendable balance is balanceMicrousd - holdsMicrousd. */
|
|
6531
|
+
holdsMicrousd: Scalars['BigInt']['output'];
|
|
6451
6532
|
/** Organization that owns this wallet (BigInt as a decimal string). There is exactly one wallet per organization. */
|
|
6452
6533
|
orgId: Scalars['BigInt']['output'];
|
|
6453
6534
|
/** When the wallet was last modified, e.g. on balance change (ISO-8601 UTC timestamp). */
|
|
@@ -7086,12 +7167,19 @@ export type PlayerUsageCharge = {
|
|
|
7086
7167
|
/** The caller's player wallet (player compute P2, DN-5): a platform-scoped balance funding that player's grid compute across every org/app they play in. Out-of-band from org wallets — player usage never touches an org's money. */
|
|
7087
7168
|
export type PlayerWallet = {
|
|
7088
7169
|
__typename?: 'PlayerWallet';
|
|
7089
|
-
/**
|
|
7170
|
+
/**
|
|
7171
|
+
* DEPRECATED. balanceMicrousd / 10,000 truncated toward zero.
|
|
7172
|
+
* @deprecated Derived from balanceMicrousd (truncated toward zero). Read balanceMicrousd.
|
|
7173
|
+
*/
|
|
7090
7174
|
balanceCents: Scalars['BigInt']['output'];
|
|
7175
|
+
/** Current balance in MICRO-USD (1 USD = 1,000,000). The unit of account since 2026-09-11; nothing is rounded. May go negative when accrued usage settles against an empty wallet. */
|
|
7176
|
+
balanceMicrousd: Scalars['BigInt']['output'];
|
|
7091
7177
|
/** Wallet creation time. */
|
|
7092
7178
|
createdAt: Scalars['DateTime']['output'];
|
|
7093
7179
|
/** ISO currency code (lowercase). */
|
|
7094
7180
|
currency: Scalars['String']['output'];
|
|
7181
|
+
/** Micro-USD held against in-flight request-priced usage (a model turn reserves its worst case before it runs). Spendable = balanceMicrousd - holdsMicrousd. */
|
|
7182
|
+
holdsMicrousd: Scalars['BigInt']['output'];
|
|
7095
7183
|
/** The owning player user id. */
|
|
7096
7184
|
userId: Scalars['BigInt']['output'];
|
|
7097
7185
|
/** Wallet id. */
|
|
@@ -7100,12 +7188,22 @@ export type PlayerWallet = {
|
|
|
7100
7188
|
/** One player-wallet ledger entry: top-ups, hourly usage debits, auto-recharges, refunds, and adjustments. Usage debits carry the app and reference the hour's charge row, whose snapshot splits platform vs studio-markup components. */
|
|
7101
7189
|
export type PlayerWalletTransaction = {
|
|
7102
7190
|
__typename?: 'PlayerWalletTransaction';
|
|
7103
|
-
/**
|
|
7191
|
+
/**
|
|
7192
|
+
* DEPRECATED. amountMicrousd / 10,000 truncated toward zero.
|
|
7193
|
+
* @deprecated Derived from amountMicrousd (truncated toward zero). Read amountMicrousd.
|
|
7194
|
+
*/
|
|
7104
7195
|
amountCents: Scalars['BigInt']['output'];
|
|
7196
|
+
/** Signed amount in micro-USD (debits negative). Exact. */
|
|
7197
|
+
amountMicrousd: Scalars['BigInt']['output'];
|
|
7105
7198
|
/** The app a usage debit covers; null for wallet-level entries. */
|
|
7106
7199
|
appId: Maybe<Scalars['BigInt']['output']>;
|
|
7107
|
-
/**
|
|
7200
|
+
/**
|
|
7201
|
+
* DEPRECATED. balanceAfterMicrousd / 10,000 truncated toward zero.
|
|
7202
|
+
* @deprecated Derived from balanceAfterMicrousd. Read balanceAfterMicrousd.
|
|
7203
|
+
*/
|
|
7108
7204
|
balanceAfter: Scalars['BigInt']['output'];
|
|
7205
|
+
/** Balance in micro-USD after this entry. */
|
|
7206
|
+
balanceAfterMicrousd: Scalars['BigInt']['output'];
|
|
7109
7207
|
/** Entry time. */
|
|
7110
7208
|
createdAt: Scalars['DateTime']['output'];
|
|
7111
7209
|
/** Human description. */
|
|
@@ -7407,8 +7505,13 @@ export type Query = {
|
|
|
7407
7505
|
appPlayerCodeListingVersions: Array<PlayerCodeVersion>;
|
|
7408
7506
|
/** List an app's marketplace code listings (studio administration view), newest first. Requires 'view_compute_diagnostics'. includeDelisted adds delisted/killed rows for moderation history. */
|
|
7409
7507
|
appPlayerCodeListings: Array<PlayerCodeListing>;
|
|
7410
|
-
/**
|
|
7508
|
+
/**
|
|
7509
|
+
* DEPRECATED (cents, truncated): read appPlayerMarkupAccruedMicrousd. Total player rate-card markup credited to this app's org wallet, in cents. Requires 'view_billing'.
|
|
7510
|
+
* @deprecated Cents truncate; appPlayerMarkupAccruedMicrousd carries the exact amount.
|
|
7511
|
+
*/
|
|
7411
7512
|
appPlayerMarkupAccrued: Scalars['BigInt']['output'];
|
|
7513
|
+
/** Total player rate-card markup credited to this app's org wallet (`markup_payout` rows, mirrored as CREDIT events on the ledger), in micro-USD, exact. Cents-era accruals from before the ledger are included. Requires 'view_billing'. */
|
|
7514
|
+
appPlayerMarkupAccruedMicrousd: Scalars['BigInt']['output'];
|
|
7412
7515
|
/** Per-player usage aggregate for an app over a trailing window (top spenders / quota utilization, 06 §5): compute units, automation units, compiles, and cents charged per player. Requires 'view_compute_diagnostics'. */
|
|
7413
7516
|
appPlayerUsage: Array<AppPlayerUsageRow>;
|
|
7414
7517
|
/** Shared-environment runtime gate decision plus current hour/day billing-window usage for an app. Read this to learn why an app is not running (runtimeDenialReason). Caller must be a member of the app's org. */
|
|
@@ -7439,10 +7542,14 @@ export type Query = {
|
|
|
7439
7542
|
avatarAppStates: Array<AppAvatarState>;
|
|
7440
7543
|
/** Bulk-fetches actors by a list of 32-character ASCII uuids in one round-trip. Requires a valid game token. PUBLIC-STATE ONLY: `privateState` is stripped (null) for every result regardless of ownership. Unknown uuids are silently omitted. Use this to resolve many actors at once; use `actor` for a single owner-scoped fetch. */
|
|
7441
7544
|
batchLookupActors: Array<Actor>;
|
|
7545
|
+
/** The lossless ledger's charge rows for one app: every (payer, meter, period) or request that has been priced, with what was billed, held and written off, in micro-USD. Requires 'view_billing' on the org. */
|
|
7546
|
+
billingCharges: Array<BillingCharge>;
|
|
7442
7547
|
/** OPERATOR ONLY. Every organization currently marked billing_exempt. An exemption nobody can enumerate is an exemption that outlives its reason. */
|
|
7443
7548
|
billingExemptOrgs: Array<BillingExemptOrgType>;
|
|
7444
7549
|
/** OPERATOR ONLY. The metered rate card for a scope: every priced dimension with its unit, price and hourly free allowance. SHARED is organization usage billed to the org wallet as "shared_usage"; PLAYER is player compute billed to the player wallet as "usage_debit". A dimension priced at 0 is metered but not charged. Read-only. Customers read the same rates through `meteredRateCard`, which is public and omits the operator note. */
|
|
7445
7550
|
billingRateCard: Array<RateCardEntryType>;
|
|
7551
|
+
/** Amounts the platform could not bill this org for, with the reason (an exempt org, a provider with no generation record, a process that died with metered usage in memory). Requires 'view_billing' on the org. */
|
|
7552
|
+
billingWriteOffs: Array<BillingWriteOff>;
|
|
7446
7553
|
/** Fetch one channel by id. Errors if the id is not a channel. */
|
|
7447
7554
|
channel: Group;
|
|
7448
7555
|
/** List the members of a channel (the subscriber set, including pending requests), each with their status and roles. */
|
|
@@ -7479,6 +7586,12 @@ export type Query = {
|
|
|
7479
7586
|
computeModules: Array<WasmModule>;
|
|
7480
7587
|
/** The platform's engine-template registry: ready-made compute engines (mob/world/match/deck/instance/director/matchmaking/market/board/minigame/abilities/movement-warden/territory/racing/...) deployable by name with computeDeployTemplate. Requires the org 'manage_compute' permission. */
|
|
7481
7588
|
computeTemplates: Array<ComputeTemplateInfo>;
|
|
7589
|
+
/** Operator only. The ledger invariant runs, newest first: whether the sums closed and, when they did not, which check failed and by how much. */
|
|
7590
|
+
cpBillingInvariantRuns: Array<BillingInvariantRun>;
|
|
7591
|
+
/** Operator only. Ledger-versus-provider reconciliation, one row per provider per UTC day. */
|
|
7592
|
+
cpBillingReconciliations: Array<BillingReconciliation>;
|
|
7593
|
+
/** Operator only (is_operator or is_super_admin). Every write-off, newest first. */
|
|
7594
|
+
cpBillingWriteOffs: Array<BillingWriteOff>;
|
|
7482
7595
|
/** Operator only (is_operator). The stored platform ceilings for the per-app WASM compute policy (the knobs computeSetPolicy clamps against). Null fields mean no operator override: game-api uses its COMPUTE_PLATFORM_MAX_* env var, then the code default. Read-only. */
|
|
7483
7596
|
cpComputePlatformCeilings: CpComputePlatformCeilings;
|
|
7484
7597
|
/** Operator only (is_operator or is_super_admin). What the ANSWERING ck-api instance carries for Agentic Studio: allowlisted models with their pinned micro-USD prices, the implemented crowdy.agent-tools/1 tools with risk classes, and the complete mode and risk-class value sets a policy may draw from. It is deployed configuration read from that one process, not stored policy and not a fleet-wide claim, so it reports which instance and datacenter answered. A platform policy may name a model or tool absent here: the write succeeds, the value is stored and echoed back, and no run can use it. */
|
|
@@ -7857,6 +7970,9 @@ export type QueryAppPlayerCodeListingsArgs = {
|
|
|
7857
7970
|
export type QueryAppPlayerMarkupAccruedArgs = {
|
|
7858
7971
|
appId: Scalars['BigInt']['input'];
|
|
7859
7972
|
};
|
|
7973
|
+
export type QueryAppPlayerMarkupAccruedMicrousdArgs = {
|
|
7974
|
+
appId: Scalars['BigInt']['input'];
|
|
7975
|
+
};
|
|
7860
7976
|
export type QueryAppPlayerUsageArgs = {
|
|
7861
7977
|
appId: Scalars['BigInt']['input'];
|
|
7862
7978
|
hours?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7916,9 +8032,18 @@ export type QueryAvatarAppStatesArgs = {
|
|
|
7916
8032
|
export type QueryBatchLookupActorsArgs = {
|
|
7917
8033
|
input: BatchActorLookupInput;
|
|
7918
8034
|
};
|
|
8035
|
+
export type QueryBillingChargesArgs = {
|
|
8036
|
+
appId: Scalars['BigInt']['input'];
|
|
8037
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
8038
|
+
orgId: Scalars['BigInt']['input'];
|
|
8039
|
+
};
|
|
7919
8040
|
export type QueryBillingRateCardArgs = {
|
|
7920
8041
|
scope: RateScope;
|
|
7921
8042
|
};
|
|
8043
|
+
export type QueryBillingWriteOffsArgs = {
|
|
8044
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
8045
|
+
orgId: Scalars['BigInt']['input'];
|
|
8046
|
+
};
|
|
7922
8047
|
export type QueryChannelArgs = {
|
|
7923
8048
|
groupId: Scalars['BigInt']['input'];
|
|
7924
8049
|
};
|
|
@@ -7988,6 +8113,15 @@ export type QueryComputeModulesArgs = {
|
|
|
7988
8113
|
export type QueryComputeTemplatesArgs = {
|
|
7989
8114
|
appId: Scalars['BigInt']['input'];
|
|
7990
8115
|
};
|
|
8116
|
+
export type QueryCpBillingInvariantRunsArgs = {
|
|
8117
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
8118
|
+
};
|
|
8119
|
+
export type QueryCpBillingReconciliationsArgs = {
|
|
8120
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
8121
|
+
};
|
|
8122
|
+
export type QueryCpBillingWriteOffsArgs = {
|
|
8123
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
8124
|
+
};
|
|
7991
8125
|
export type QueryCrowdyStudioAgentEffectivePolicyArgs = {
|
|
7992
8126
|
appId: Scalars['BigInt']['input'];
|
|
7993
8127
|
};
|
|
@@ -10398,12 +10532,22 @@ export type VoxelUpdatesByDistanceResponse = {
|
|
|
10398
10532
|
};
|
|
10399
10533
|
export type WalletTransaction = {
|
|
10400
10534
|
__typename?: 'WalletTransaction';
|
|
10401
|
-
/**
|
|
10535
|
+
/**
|
|
10536
|
+
* DEPRECATED. amountMicrousd / 10,000 truncated toward zero.
|
|
10537
|
+
* @deprecated Derived from amountMicrousd (truncated toward zero). Read amountMicrousd.
|
|
10538
|
+
*/
|
|
10402
10539
|
amountCents: Scalars['BigInt']['output'];
|
|
10540
|
+
/** Signed change applied to the wallet in MICRO-USD, as a BigInt decimal string: positive credits funds, negative debits funds. Exact; nothing is rounded. */
|
|
10541
|
+
amountMicrousd: Scalars['BigInt']['output'];
|
|
10403
10542
|
/** App that incurred the charge (BigInt as a decimal string), set on usage-type transactions; null for org-level credits such as top-ups. */
|
|
10404
10543
|
appId: Maybe<Scalars['BigInt']['output']>;
|
|
10405
|
-
/**
|
|
10544
|
+
/**
|
|
10545
|
+
* DEPRECATED. balanceAfterMicrousd / 10,000 truncated toward zero.
|
|
10546
|
+
* @deprecated Derived from balanceAfterMicrousd (truncated toward zero). Read balanceAfterMicrousd.
|
|
10547
|
+
*/
|
|
10406
10548
|
balanceAfter: Scalars['BigInt']['output'];
|
|
10549
|
+
/** Wallet balance in micro-USD immediately after this transaction was applied, as a BigInt decimal string. */
|
|
10550
|
+
balanceAfterMicrousd: Scalars['BigInt']['output'];
|
|
10407
10551
|
/** When the transaction was recorded (ISO-8601 UTC timestamp). */
|
|
10408
10552
|
createdAt: Scalars['DateTime']['output'];
|
|
10409
10553
|
/** Optional human-readable note describing the transaction; null when not set. */
|
|
@@ -11730,6 +11874,8 @@ export type WalletBalanceQuery = {
|
|
|
11730
11874
|
__typename?: 'OrgWallet';
|
|
11731
11875
|
walletId: string;
|
|
11732
11876
|
orgId: string;
|
|
11877
|
+
balanceMicrousd: string;
|
|
11878
|
+
holdsMicrousd: string;
|
|
11733
11879
|
balanceCents: string;
|
|
11734
11880
|
currency: string;
|
|
11735
11881
|
createdAt: string;
|
|
@@ -11748,6 +11894,8 @@ export type WalletTransactionsQuery = {
|
|
|
11748
11894
|
transactionId: string;
|
|
11749
11895
|
walletId: string;
|
|
11750
11896
|
orgId: string;
|
|
11897
|
+
amountMicrousd: string;
|
|
11898
|
+
balanceAfterMicrousd: string;
|
|
11751
11899
|
amountCents: string;
|
|
11752
11900
|
balanceAfter: string;
|
|
11753
11901
|
transactionType: string;
|
|
@@ -11775,6 +11923,8 @@ export type WalletTransactionsConnectionQuery = {
|
|
|
11775
11923
|
transactionId: string;
|
|
11776
11924
|
walletId: string;
|
|
11777
11925
|
orgId: string;
|
|
11926
|
+
amountMicrousd: string;
|
|
11927
|
+
balanceAfterMicrousd: string;
|
|
11778
11928
|
amountCents: string;
|
|
11779
11929
|
balanceAfter: string;
|
|
11780
11930
|
transactionType: string;
|
|
@@ -16673,6 +16823,8 @@ export type PlayerWalletFieldsFragment = {
|
|
|
16673
16823
|
__typename?: 'PlayerWallet';
|
|
16674
16824
|
walletId: string;
|
|
16675
16825
|
userId: string;
|
|
16826
|
+
balanceMicrousd: string;
|
|
16827
|
+
holdsMicrousd: string;
|
|
16676
16828
|
balanceCents: string;
|
|
16677
16829
|
currency: string;
|
|
16678
16830
|
createdAt: string;
|
|
@@ -16682,6 +16834,8 @@ export type PlayerWalletTransactionFieldsFragment = {
|
|
|
16682
16834
|
transactionId: string;
|
|
16683
16835
|
walletId: string;
|
|
16684
16836
|
userId: string;
|
|
16837
|
+
amountMicrousd: string;
|
|
16838
|
+
balanceAfterMicrousd: string;
|
|
16685
16839
|
amountCents: string;
|
|
16686
16840
|
balanceAfter: string;
|
|
16687
16841
|
transactionType: string;
|
|
@@ -16757,6 +16911,8 @@ export type PlayerWalletBalanceQuery = {
|
|
|
16757
16911
|
__typename?: 'PlayerWallet';
|
|
16758
16912
|
walletId: string;
|
|
16759
16913
|
userId: string;
|
|
16914
|
+
balanceMicrousd: string;
|
|
16915
|
+
holdsMicrousd: string;
|
|
16760
16916
|
balanceCents: string;
|
|
16761
16917
|
currency: string;
|
|
16762
16918
|
createdAt: string;
|
|
@@ -16773,6 +16929,8 @@ export type PlayerWalletTransactionsQuery = {
|
|
|
16773
16929
|
transactionId: string;
|
|
16774
16930
|
walletId: string;
|
|
16775
16931
|
userId: string;
|
|
16932
|
+
amountMicrousd: string;
|
|
16933
|
+
balanceAfterMicrousd: string;
|
|
16776
16934
|
amountCents: string;
|
|
16777
16935
|
balanceAfter: string;
|
|
16778
16936
|
transactionType: string;
|
|
@@ -16995,6 +17153,7 @@ export type AppPlayerUsageQuery = {
|
|
|
16995
17153
|
computeUnits: string;
|
|
16996
17154
|
automationUnits: string;
|
|
16997
17155
|
compileCount: number;
|
|
17156
|
+
chargedMicrousd: string;
|
|
16998
17157
|
chargedCents: string;
|
|
16999
17158
|
}>;
|
|
17000
17159
|
};
|
|
@@ -17005,6 +17164,13 @@ export type AppPlayerMarkupAccruedQuery = {
|
|
|
17005
17164
|
__typename?: 'Query';
|
|
17006
17165
|
appPlayerMarkupAccrued: string;
|
|
17007
17166
|
};
|
|
17167
|
+
export type AppPlayerMarkupAccruedMicrousdQueryVariables = Exact<{
|
|
17168
|
+
appId: Scalars['BigInt']['input'];
|
|
17169
|
+
}>;
|
|
17170
|
+
export type AppPlayerMarkupAccruedMicrousdQuery = {
|
|
17171
|
+
__typename?: 'Query';
|
|
17172
|
+
appPlayerMarkupAccruedMicrousd: string;
|
|
17173
|
+
};
|
|
17008
17174
|
export type DeleteQuotaMutationVariables = Exact<{
|
|
17009
17175
|
quotaId: Scalars['BigInt']['input'];
|
|
17010
17176
|
}>;
|
|
@@ -18861,6 +19027,7 @@ export declare const PlayerRateMarkupDocument: DocumentNode<PlayerRateMarkupQuer
|
|
|
18861
19027
|
export declare const SetPlayerRateMarkupDocument: DocumentNode<SetPlayerRateMarkupMutation, SetPlayerRateMarkupMutationVariables>;
|
|
18862
19028
|
export declare const AppPlayerUsageDocument: DocumentNode<AppPlayerUsageQuery, AppPlayerUsageQueryVariables>;
|
|
18863
19029
|
export declare const AppPlayerMarkupAccruedDocument: DocumentNode<AppPlayerMarkupAccruedQuery, AppPlayerMarkupAccruedQueryVariables>;
|
|
19030
|
+
export declare const AppPlayerMarkupAccruedMicrousdDocument: DocumentNode<AppPlayerMarkupAccruedMicrousdQuery, AppPlayerMarkupAccruedMicrousdQueryVariables>;
|
|
18864
19031
|
export declare const DeleteQuotaDocument: DocumentNode<DeleteQuotaMutation, DeleteQuotaMutationVariables>;
|
|
18865
19032
|
export declare const EffectiveQuotaDocument: DocumentNode<EffectiveQuotaQuery, EffectiveQuotaQueryVariables>;
|
|
18866
19033
|
export declare const QuotasForAppDocument: DocumentNode<QuotasForAppQuery, QuotasForAppQueryVariables>;
|