@crowdedkingdoms/crowdyjs 16.1.0-dev.1 → 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.
@@ -1,5 +1,5 @@
1
- import type { GraphQLClient } from '../client.js';
2
- import { type BeginPlayerCardSetupMutation, type PlayerWalletBalanceQuery, type PlayerWalletTransactionsQuery, type PlayerWalletTransactionsQueryVariables, type PlayerUsageChargesQuery, type PlayerUsageChargesQueryVariables, type PlayerSpendCapsQuery, type SetPlayerSpendCapMutation, type SetPlayerSpendCapMutationVariables, type PlayerAutoBillingQuery, type SetPlayerAutoBillingMutation, type SetPlayerAutoBillingMutationVariables, type PlayerRuntimeStatesQuery, type PlayerWasmPoliciesQuery, type PlayerWasmPoliciesQueryVariables, type SetPlayerWasmPolicyMutation, type SetPlayerWasmPolicyMutationVariables, type DeletePlayerWasmPolicyMutation, type DeletePlayerWasmPolicyMutationVariables, type PlayerRateMarkupQuery, type PlayerRateMarkupQueryVariables, type SetPlayerRateMarkupMutation, type SetPlayerRateMarkupMutationVariables, type AppPlayerUsageQuery, type AppPlayerUsageQueryVariables, type AppPlayerMarkupAccruedQuery, type AppPlayerMarkupAccruedQueryVariables } from '../generated/graphql.js';
1
+ import type { GraphQLClient } from "../client.js";
2
+ import { type BeginPlayerCardSetupMutation, type PlayerWalletBalanceQuery, type PlayerWalletTransactionsQuery, type PlayerWalletTransactionsQueryVariables, type PlayerUsageChargesQuery, type PlayerUsageChargesQueryVariables, type PlayerSpendCapsQuery, type SetPlayerSpendCapMutation, type SetPlayerSpendCapMutationVariables, type PlayerAutoBillingQuery, type SetPlayerAutoBillingMutation, type SetPlayerAutoBillingMutationVariables, type PlayerRuntimeStatesQuery, type PlayerWasmPoliciesQuery, type PlayerWasmPoliciesQueryVariables, type SetPlayerWasmPolicyMutation, type SetPlayerWasmPolicyMutationVariables, type DeletePlayerWasmPolicyMutation, type DeletePlayerWasmPolicyMutationVariables, type PlayerRateMarkupQuery, type PlayerRateMarkupQueryVariables, type SetPlayerRateMarkupMutation, type SetPlayerRateMarkupMutationVariables, type AppPlayerUsageQuery, type AppPlayerUsageQueryVariables, type AppPlayerMarkupAccruedQuery, type AppPlayerMarkupAccruedQueryVariables, type AppPlayerMarkupAccruedMicrousdQuery, type AppPlayerMarkupAccruedMicrousdQueryVariables } from "../generated/graphql.js";
3
3
  /**
4
4
  * The player wallet and player-billing surface (player compute P2, DN-5) —
5
5
  * exposed as `client.playerWallet` and routed to the Management API.
@@ -22,43 +22,48 @@ export declare class PlayerWalletAPI {
22
22
  * decimal strings; spendable = balance − holds (a model turn holds its
23
23
  * worst case while it runs). `balanceCents` is the deprecated truncation.
24
24
  */
25
- balance(): Promise<PlayerWalletBalanceQuery['playerWalletBalance']>;
25
+ balance(): Promise<PlayerWalletBalanceQuery["playerWalletBalance"]>;
26
26
  /** The caller's wallet ledger, newest first. */
27
- transactions(variables?: PlayerWalletTransactionsQueryVariables): Promise<PlayerWalletTransactionsQuery['playerWalletTransactions']>;
27
+ transactions(variables?: PlayerWalletTransactionsQueryVariables): Promise<PlayerWalletTransactionsQuery["playerWalletTransactions"]>;
28
28
  /**
29
29
  * The caller's posted hourly usage charges; each splits platformCents vs
30
30
  * markupCents with a per-metric snapshot ("what is this grid costing me").
31
31
  */
32
- charges(variables?: PlayerUsageChargesQueryVariables): Promise<PlayerUsageChargesQuery['playerUsageCharges']>;
32
+ charges(variables?: PlayerUsageChargesQueryVariables): Promise<PlayerUsageChargesQuery["playerUsageCharges"]>;
33
33
  /** The caller's self-set spend caps with running counters. */
34
- spendCaps(): Promise<PlayerSpendCapsQuery['playerSpendCaps']>;
34
+ spendCaps(): Promise<PlayerSpendCapsQuery["playerSpendCaps"]>;
35
35
  /** Set (or clear with null limits) a global or per-app self spend cap. */
36
- setSpendCap(variables: SetPlayerSpendCapMutationVariables): Promise<SetPlayerSpendCapMutation['setPlayerSpendCap']>;
36
+ setSpendCap(variables: SetPlayerSpendCapMutationVariables): Promise<SetPlayerSpendCapMutation["setPlayerSpendCap"]>;
37
37
  /** The caller's auto-recharge settings. */
38
- autoBilling(): Promise<PlayerAutoBillingQuery['playerAutoBilling']>;
38
+ autoBilling(): Promise<PlayerAutoBillingQuery["playerAutoBilling"]>;
39
39
  /** Configure auto-recharge (requires a vaulted payment method to enable). */
40
- setAutoBilling(variables: SetPlayerAutoBillingMutationVariables): Promise<SetPlayerAutoBillingMutation['setPlayerAutoBilling']>;
40
+ setAutoBilling(variables: SetPlayerAutoBillingMutationVariables): Promise<SetPlayerAutoBillingMutation["setPlayerAutoBilling"]>;
41
41
  /**
42
42
  * Begin vaulting a card on the caller's player wallet (P4b): returns the
43
43
  * Stripe SetupIntent client secret + publishable key the browser confirms.
44
44
  * On success the card is saved for wallet auto-recharge and rent auto-renew.
45
45
  */
46
- beginCardSetup(): Promise<BeginPlayerCardSetupMutation['beginPlayerCardSetup']>;
46
+ beginCardSetup(): Promise<BeginPlayerCardSetupMutation["beginPlayerCardSetup"]>;
47
47
  /** The caller's per-app gate states (absence means active). */
48
- runtimeStates(): Promise<PlayerRuntimeStatesQuery['playerRuntimeStates']>;
48
+ runtimeStates(): Promise<PlayerRuntimeStatesQuery["playerRuntimeStates"]>;
49
49
  /** Studio: list an app's player policy rows (`view_compute_diagnostics`). */
50
- policies(variables: PlayerWasmPoliciesQueryVariables): Promise<PlayerWasmPoliciesQuery['playerWasmPolicies']>;
50
+ policies(variables: PlayerWasmPoliciesQueryVariables): Promise<PlayerWasmPoliciesQuery["playerWasmPolicies"]>;
51
51
  /** Studio: upsert a player policy row (`manage_compute`). */
52
- setPolicy(variables: SetPlayerWasmPolicyMutationVariables): Promise<SetPlayerWasmPolicyMutation['setPlayerWasmPolicy']>;
52
+ setPolicy(variables: SetPlayerWasmPolicyMutationVariables): Promise<SetPlayerWasmPolicyMutation["setPlayerWasmPolicy"]>;
53
53
  /** Studio: delete a player policy row (`manage_compute`). */
54
- deletePolicy(variables: DeletePlayerWasmPolicyMutationVariables): Promise<DeletePlayerWasmPolicyMutation['deletePlayerWasmPolicy']>;
54
+ deletePolicy(variables: DeletePlayerWasmPolicyMutationVariables): Promise<DeletePlayerWasmPolicyMutation["deletePlayerWasmPolicy"]>;
55
55
  /** Studio: read the app's player rate-card markup in bps (`view_billing`). */
56
- rateMarkup(variables: PlayerRateMarkupQueryVariables): Promise<PlayerRateMarkupQuery['playerRateMarkup']>;
56
+ rateMarkup(variables: PlayerRateMarkupQueryVariables): Promise<PlayerRateMarkupQuery["playerRateMarkup"]>;
57
57
  /** Studio: set the app's player rate-card markup in bps (`manage_billing`). */
58
- setRateMarkup(variables: SetPlayerRateMarkupMutationVariables): Promise<SetPlayerRateMarkupMutation['setPlayerRateMarkup']>;
58
+ setRateMarkup(variables: SetPlayerRateMarkupMutationVariables): Promise<SetPlayerRateMarkupMutation["setPlayerRateMarkup"]>;
59
59
  /** Studio: per-player usage aggregate (`view_compute_diagnostics`). */
60
- appPlayerUsage(variables: AppPlayerUsageQueryVariables): Promise<AppPlayerUsageQuery['appPlayerUsage']>;
61
- /** Studio: total accrued markup income in cents (`view_billing`). */
62
- appMarkupAccrued(variables: AppPlayerMarkupAccruedQueryVariables): Promise<AppPlayerMarkupAccruedQuery['appPlayerMarkupAccrued']>;
60
+ appPlayerUsage(variables: AppPlayerUsageQueryVariables): Promise<AppPlayerUsageQuery["appPlayerUsage"]>;
61
+ /**
62
+ * Studio: total accrued markup income in cents (`view_billing`).
63
+ * @deprecated Cents truncate; `appMarkupAccruedMicrousd` carries the exact amount.
64
+ */
65
+ appMarkupAccrued(variables: AppPlayerMarkupAccruedQueryVariables): Promise<AppPlayerMarkupAccruedQuery["appPlayerMarkupAccrued"]>;
66
+ /** Studio: total accrued markup income in micro-USD, exact (`view_billing`). */
67
+ appMarkupAccruedMicrousd(variables: AppPlayerMarkupAccruedMicrousdQueryVariables): Promise<AppPlayerMarkupAccruedMicrousdQuery["appPlayerMarkupAccruedMicrousd"]>;
63
68
  }
64
69
  //# sourceMappingURL=playerWallet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"playerWallet.d.ts","sourceRoot":"","sources":["../../src/domains/playerWallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EASL,KAAK,4BAA4B,EASjC,KAAK,wBAAwB,EAC7B,KAAK,6BAA6B,EAClC,KAAK,sCAAsC,EAC3C,KAAK,uBAAuB,EAC5B,KAAK,gCAAgC,EACrC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,KAAK,qCAAqC,EAC1C,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,gCAAgC,EACrC,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EACzC,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,EAC5C,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EACzC,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EAC1C,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;;;;GAYG;AACH,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,aAAa;IAEnD;;;;;OAKG;IACG,OAAO,IAAI,OAAO,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,CAAC;IAKzE,gDAAgD;IAC1C,YAAY,CAChB,SAAS,GAAE,sCAA2C,GACrD,OAAO,CAAC,6BAA6B,CAAC,0BAA0B,CAAC,CAAC;IAQrE;;;OAGG;IACG,OAAO,CACX,SAAS,GAAE,gCAAqC,GAC/C,OAAO,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,CAAC;IAQzD,8DAA8D;IACxD,SAAS,IAAI,OAAO,CAAC,oBAAoB,CAA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B,CAAC,wBAAwB,CAAC,CAAC;IAQjE,gFAAgF;IAC1E,wBAAwB,CAC5B,SAAS,EAAE,4CAA4C,GACtD,OAAO,CACR,mCAAmC,CAAC,gCAAgC,CAAC,CACtE;CAOF"}
@@ -1,4 +1,4 @@
1
- import { PlayerWalletBalanceDocument, PlayerWalletTransactionsDocument, PlayerUsageChargesDocument, PlayerSpendCapsDocument, SetPlayerSpendCapDocument, PlayerAutoBillingDocument, SetPlayerAutoBillingDocument, BeginPlayerCardSetupDocument, PlayerRuntimeStatesDocument, PlayerWasmPoliciesDocument, SetPlayerWasmPolicyDocument, DeletePlayerWasmPolicyDocument, PlayerRateMarkupDocument, SetPlayerRateMarkupDocument, AppPlayerUsageDocument, AppPlayerMarkupAccruedDocument, } from '../generated/graphql.js';
1
+ import { PlayerWalletBalanceDocument, PlayerWalletTransactionsDocument, PlayerUsageChargesDocument, PlayerSpendCapsDocument, SetPlayerSpendCapDocument, PlayerAutoBillingDocument, SetPlayerAutoBillingDocument, BeginPlayerCardSetupDocument, PlayerRuntimeStatesDocument, PlayerWasmPoliciesDocument, SetPlayerWasmPolicyDocument, DeletePlayerWasmPolicyDocument, PlayerRateMarkupDocument, SetPlayerRateMarkupDocument, AppPlayerUsageDocument, AppPlayerMarkupAccruedDocument, AppPlayerMarkupAccruedMicrousdDocument, } from "../generated/graphql.js";
2
2
  /**
3
3
  * The player wallet and player-billing surface (player compute P2, DN-5) —
4
4
  * exposed as `client.playerWallet` and routed to the Management API.
@@ -103,9 +103,17 @@ export class PlayerWalletAPI {
103
103
  const data = await this.graphql.request(AppPlayerUsageDocument, variables);
104
104
  return data.appPlayerUsage;
105
105
  }
106
- /** Studio: total accrued markup income in cents (`view_billing`). */
106
+ /**
107
+ * Studio: total accrued markup income in cents (`view_billing`).
108
+ * @deprecated Cents truncate; `appMarkupAccruedMicrousd` carries the exact amount.
109
+ */
107
110
  async appMarkupAccrued(variables) {
108
111
  const data = await this.graphql.request(AppPlayerMarkupAccruedDocument, variables);
109
112
  return data.appPlayerMarkupAccrued;
110
113
  }
114
+ /** Studio: total accrued markup income in micro-USD, exact (`view_billing`). */
115
+ async appMarkupAccruedMicrousd(variables) {
116
+ const data = await this.graphql.request(AppPlayerMarkupAccruedMicrousdDocument, variables);
117
+ return data.appPlayerMarkupAccruedMicrousd;
118
+ }
111
119
  }
@@ -1145,8 +1145,13 @@ export type AppPlayerUsageRow = {
1145
1145
  __typename?: 'AppPlayerUsageRow';
1146
1146
  /** Player automation units used. */
1147
1147
  automationUnits: Scalars['BigInt']['output'];
1148
- /** Cents charged in the window. */
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. */
@@ -7500,8 +7505,13 @@ export type Query = {
7500
7505
  appPlayerCodeListingVersions: Array<PlayerCodeVersion>;
7501
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. */
7502
7507
  appPlayerCodeListings: Array<PlayerCodeListing>;
7503
- /** Total player rate-card markup accrued to this app's org income line, in cents (payouts arrive with the P4b ledger). Requires 'view_billing'. */
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
+ */
7504
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'];
7505
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'. */
7506
7516
  appPlayerUsage: Array<AppPlayerUsageRow>;
7507
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. */
@@ -7960,6 +7970,9 @@ export type QueryAppPlayerCodeListingsArgs = {
7960
7970
  export type QueryAppPlayerMarkupAccruedArgs = {
7961
7971
  appId: Scalars['BigInt']['input'];
7962
7972
  };
7973
+ export type QueryAppPlayerMarkupAccruedMicrousdArgs = {
7974
+ appId: Scalars['BigInt']['input'];
7975
+ };
7963
7976
  export type QueryAppPlayerUsageArgs = {
7964
7977
  appId: Scalars['BigInt']['input'];
7965
7978
  hours?: InputMaybe<Scalars['Int']['input']>;
@@ -17140,6 +17153,7 @@ export type AppPlayerUsageQuery = {
17140
17153
  computeUnits: string;
17141
17154
  automationUnits: string;
17142
17155
  compileCount: number;
17156
+ chargedMicrousd: string;
17143
17157
  chargedCents: string;
17144
17158
  }>;
17145
17159
  };
@@ -17150,6 +17164,13 @@ export type AppPlayerMarkupAccruedQuery = {
17150
17164
  __typename?: 'Query';
17151
17165
  appPlayerMarkupAccrued: string;
17152
17166
  };
17167
+ export type AppPlayerMarkupAccruedMicrousdQueryVariables = Exact<{
17168
+ appId: Scalars['BigInt']['input'];
17169
+ }>;
17170
+ export type AppPlayerMarkupAccruedMicrousdQuery = {
17171
+ __typename?: 'Query';
17172
+ appPlayerMarkupAccruedMicrousd: string;
17173
+ };
17153
17174
  export type DeleteQuotaMutationVariables = Exact<{
17154
17175
  quotaId: Scalars['BigInt']['input'];
17155
17176
  }>;
@@ -19006,6 +19027,7 @@ export declare const PlayerRateMarkupDocument: DocumentNode<PlayerRateMarkupQuer
19006
19027
  export declare const SetPlayerRateMarkupDocument: DocumentNode<SetPlayerRateMarkupMutation, SetPlayerRateMarkupMutationVariables>;
19007
19028
  export declare const AppPlayerUsageDocument: DocumentNode<AppPlayerUsageQuery, AppPlayerUsageQueryVariables>;
19008
19029
  export declare const AppPlayerMarkupAccruedDocument: DocumentNode<AppPlayerMarkupAccruedQuery, AppPlayerMarkupAccruedQueryVariables>;
19030
+ export declare const AppPlayerMarkupAccruedMicrousdDocument: DocumentNode<AppPlayerMarkupAccruedMicrousdQuery, AppPlayerMarkupAccruedMicrousdQueryVariables>;
19009
19031
  export declare const DeleteQuotaDocument: DocumentNode<DeleteQuotaMutation, DeleteQuotaMutationVariables>;
19010
19032
  export declare const EffectiveQuotaDocument: DocumentNode<EffectiveQuotaQuery, EffectiveQuotaQueryVariables>;
19011
19033
  export declare const QuotasForAppDocument: DocumentNode<QuotasForAppQuery, QuotasForAppQueryVariables>;