@burdenoff/microfe-stewards 2026.1204.4 → 2026.1205.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.
@@ -164,6 +164,8 @@ export type ActivityFilterInput = {
164
164
  * `ai_assistant`: a change an AI assistant session made for its owner.
165
165
  */
166
166
  actorOrigin?: InputMaybe<Scalars['String']['input']>;
167
+ /** Only rows performed by this kind of actor (`user`, `app`, `service`, `super_admin`). */
168
+ actorType?: InputMaybe<Scalars['String']['input']>;
167
169
  /** Only rows made by this AI assistant session (BOFF-9649). */
168
170
  assistantSessionId?: InputMaybe<Scalars['String']['input']>;
169
171
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -181,10 +183,14 @@ export type ActivityLog = {
181
183
  actorId?: Maybe<Scalars['String']['output']>;
182
184
  /** `ai_assistant` when an AI assistant session made the change; null for a human-made change. */
183
185
  actorOrigin?: Maybe<Scalars['String']['output']>;
186
+ /** Kind of actor that performed the action: `user`, `app`, `service`, or `super_admin`. */
187
+ actorType?: Maybe<Scalars['String']['output']>;
184
188
  /** Proposal / idempotency key the assistant mutation ran under, when it had one. */
185
189
  assistantCorrelationId?: Maybe<Scalars['String']['output']>;
186
190
  /** Relay session (assistant sandbox) that made the change, when an assistant made it. */
187
191
  assistantSessionId?: Maybe<Scalars['String']['output']>;
192
+ /** Structured before/after diff for mutation audit events, when captured by the producer. */
193
+ changes?: Maybe<Scalars['JSON']['output']>;
188
194
  createdAt: Scalars['DateTime']['output'];
189
195
  description?: Maybe<Scalars['String']['output']>;
190
196
  id: Scalars['ID']['output'];
@@ -369,11 +375,14 @@ export type AddPayoutAccountInput = {
369
375
  currency: Scalars['String']['input'];
370
376
  iban?: InputMaybe<Scalars['String']['input']>;
371
377
  ifsc?: InputMaybe<Scalars['String']['input']>;
378
+ isDefault?: InputMaybe<Scalars['Boolean']['input']>;
372
379
  label: Scalars['String']['input'];
373
380
  metadata?: InputMaybe<Scalars['JSON']['input']>;
374
381
  providerPreference?: InputMaybe<PayoutProvider>;
375
382
  routingNumber?: InputMaybe<Scalars['String']['input']>;
376
383
  swift?: InputMaybe<Scalars['String']['input']>;
384
+ taxFormType?: InputMaybe<Scalars['String']['input']>;
385
+ taxFormUrl?: InputMaybe<Scalars['String']['input']>;
377
386
  type: PayoutAccountType;
378
387
  upiId?: InputMaybe<Scalars['String']['input']>;
379
388
  walletHandle?: InputMaybe<Scalars['String']['input']>;
@@ -1126,6 +1135,7 @@ export type AppInstallation = {
1126
1135
  scope: InstallationScope;
1127
1136
  status: InstallationStatus;
1128
1137
  statusReason?: Maybe<Scalars['String']['output']>;
1138
+ storeInstallationId?: Maybe<Scalars['ID']['output']>;
1129
1139
  subscriptionId?: Maybe<Scalars['ID']['output']>;
1130
1140
  suspendedAt?: Maybe<Scalars['DateTime']['output']>;
1131
1141
  tenantId: Scalars['ID']['output'];
@@ -1375,11 +1385,15 @@ export type AppleReauthInput = {
1375
1385
  authorizationCode: Scalars['String']['input'];
1376
1386
  identityToken: Scalars['String']['input'];
1377
1387
  nonce: Scalars['String']['input'];
1388
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
1378
1389
  };
1379
1390
  /**
1380
- * Credentials from a native Sign in with Apple (ASAuthorization). The app gives
1381
- * Apple the SHA-256 hex digest of nonce and sends the raw nonce here. givenName
1382
- * and familyName are only present on the first sign-in.
1391
+ * Credentials from Sign in with Apple: native (ASAuthorization) in the iOS app or
1392
+ * Sign in with Apple JS on the web. The client gives Apple the SHA-256 hex digest
1393
+ * of nonce and sends the raw nonce here. givenName and familyName are only
1394
+ * present on the first sign-in. redirectUri is the return URL a web page gave
1395
+ * Apple; it must be one registered for the web Services ID. Native sign-ins
1396
+ * leave it out.
1383
1397
  */
1384
1398
  export type AppleSignInInput = {
1385
1399
  authorizationCode: Scalars['String']['input'];
@@ -1387,6 +1401,7 @@ export type AppleSignInInput = {
1387
1401
  givenName?: InputMaybe<Scalars['String']['input']>;
1388
1402
  identityToken: Scalars['String']['input'];
1389
1403
  nonce: Scalars['String']['input'];
1404
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
1390
1405
  };
1391
1406
  /** Application type - represents a developer application or integration */
1392
1407
  export type Application = {
@@ -2095,11 +2110,6 @@ export type BillingDiscount = {
2095
2110
  validUntil?: Maybe<Scalars['DateTime']['output']>;
2096
2111
  value: Scalars['Float']['output'];
2097
2112
  };
2098
- export declare enum BillingInterval {
2099
- Monthly = "MONTHLY",
2100
- Quarterly = "QUARTERLY",
2101
- Yearly = "YEARLY"
2102
- }
2103
2113
  export type BillingOrder = {
2104
2114
  __typename?: 'BillingOrder';
2105
2115
  billingAccountId?: Maybe<Scalars['String']['output']>;
@@ -2163,6 +2173,15 @@ export type BillingPaginationInput = {
2163
2173
  /** Page number for offset-based pagination */
2164
2174
  page?: InputMaybe<Scalars['Int']['input']>;
2165
2175
  };
2176
+ /** The channel a plan is bought and billed through. */
2177
+ export declare enum BillingPurchaseChannel {
2178
+ /** The App Store (Apple in-app purchase). Only the customer can cancel it, on their device. */
2179
+ AppleIap = "APPLE_IAP",
2180
+ /** Google Play billing. Only the customer can cancel it, on their device. */
2181
+ GooglePlay = "GOOGLE_PLAY",
2182
+ /** Web checkout: Razorpay, Stripe, credits or any non-store payment. Billing can cancel it. */
2183
+ Web = "WEB"
2184
+ }
2166
2185
  export type BillingSubscription = {
2167
2186
  __typename?: 'BillingSubscription';
2168
2187
  /**
@@ -2174,6 +2193,13 @@ export type BillingSubscription = {
2174
2193
  addonSubscriptions: Array<AddonSubscription>;
2175
2194
  assignedWorkspaceId?: Maybe<Scalars['ID']['output']>;
2176
2195
  autoRenewal?: Maybe<Scalars['Boolean']['output']>;
2196
+ /**
2197
+ * What the customer pays per billing period when an app store bills the
2198
+ * subscription (App Store / Google Play): the amount and currency of its
2199
+ * latest successful store charge, in the customer's store currency. Null for
2200
+ * subscriptions billing charges itself; their price is the plan's price.
2201
+ */
2202
+ billedPrice?: Maybe<SubscriptionBilledPrice>;
2177
2203
  billingAccount?: Maybe<BillingAccount>;
2178
2204
  billingAccountId: Scalars['ID']['output'];
2179
2205
  bonusRenewalsGranted: Scalars['Int']['output'];
@@ -2186,6 +2212,12 @@ export type BillingSubscription = {
2186
2212
  endDate: Scalars['DateTime']['output'];
2187
2213
  history: Array<SubscriptionHistory>;
2188
2214
  id: Scalars['ID']['output'];
2215
+ /**
2216
+ * Bought with a store sandbox / test purchase (App Review, testers, alpha).
2217
+ * Not revenue; a sandbox subscription renews on Apple's or Google's
2218
+ * accelerated test schedule.
2219
+ */
2220
+ isTestPurchase: Scalars['Boolean']['output'];
2189
2221
  lastBillingDate?: Maybe<Scalars['DateTime']['output']>;
2190
2222
  lastRenewalDate?: Maybe<Scalars['DateTime']['output']>;
2191
2223
  lastSeatChangeAt?: Maybe<Scalars['DateTime']['output']>;
@@ -4122,6 +4154,15 @@ export type CreateBillingAccountInput = {
4122
4154
  metadata?: InputMaybe<Scalars['JSON']['input']>;
4123
4155
  /** Name of the billing account */
4124
4156
  name: Scalars['String']['input'];
4157
+ /**
4158
+ * Human user id that receives the auto-cloned Billing Admin role (BOFF-2657).
4159
+ * Required for service actors (signup provisioning): without it the role would
4160
+ * land on the service identity and the real user would be locked out of their
4161
+ * billing. Superadmins may also set it to provision on behalf of a user.
4162
+ * Regular users cannot set it to another actor: they always own the account
4163
+ * themselves.
4164
+ */
4165
+ ownerActorId?: InputMaybe<Scalars['String']['input']>;
4125
4166
  /** Tax ID / VAT number (optional) */
4126
4167
  taxId?: InputMaybe<Scalars['String']['input']>;
4127
4168
  /** Workspace ID to auto-assign workspace-scoped free-plan quotas (optional, 1-workspace orgs only) */
@@ -4318,6 +4359,11 @@ export type CreateEmbedTokenInput = {
4318
4359
  label: Scalars['String']['input'];
4319
4360
  /** Sessions the token can open in total: 1 to 5000. Defaults to 500. */
4320
4361
  maxExchanges?: InputMaybe<Scalars['Int']['input']>;
4362
+ /**
4363
+ * Steward runs the token's sessions may start per day: 1 to 500. Defaults to 20.
4364
+ * The token sits in the third-party page, so this caps what a copied token can spend.
4365
+ */
4366
+ maxRunsPerDay?: InputMaybe<Scalars['Int']['input']>;
4321
4367
  product: EmbedProduct;
4322
4368
  /** Pin the token to one resource, for example a Steward id. */
4323
4369
  resourceId?: InputMaybe<Scalars['ID']['input']>;
@@ -4384,10 +4430,27 @@ export type CreateI18nProductInput = {
4384
4430
  name: Scalars['String']['input'];
4385
4431
  };
4386
4432
  export type CreateImportJobInput = {
4433
+ /**
4434
+ * The file itself (BOFF-17795): text for JSON, CSV, PO and XLIFF, base64 for
4435
+ * XLSX. At most 5 MB (after decoding) and 50,000 rows. The service runs the
4436
+ * job: only keys the product has are filled, and each row's outcome is
4437
+ * counted on the job.
4438
+ */
4439
+ content?: InputMaybe<Scalars['String']['input']>;
4387
4440
  fileName: Scalars['String']['input'];
4441
+ /** Ignored when `content` is given: the size is measured from it. */
4388
4442
  fileSize: Scalars['Int']['input'];
4443
+ /** Not read by the service. A job without `content` fails with a message. */
4389
4444
  fileUrl?: InputMaybe<Scalars['String']['input']>;
4390
4445
  format: ImportJobFormat;
4446
+ /** The language the file's words are in. Required with `content` (BOFF-17795). */
4447
+ languageCode?: InputMaybe<Scalars['String']['input']>;
4448
+ /**
4449
+ * `overwriteExisting` (boolean, default false): replace translations that
4450
+ * exist. `publish` (boolean, default false): land the words PUBLISHED instead
4451
+ * of PENDING_REVIEW, honoured for i18n admins only. A live (PUBLISHED) word is
4452
+ * replaced only by a publishing import (BOFF-17795).
4453
+ */
4391
4454
  options?: InputMaybe<Scalars['JSON']['input']>;
4392
4455
  productId: Scalars['String']['input'];
4393
4456
  };
@@ -4513,14 +4576,32 @@ export type CreateKnowledgeBaseArticleInput = {
4513
4576
  };
4514
4577
  export type CreateLanguageInput = {
4515
4578
  code: Scalars['String']['input'];
4579
+ /**
4580
+ * How the language writes an amount of money: 1234567.89 written its way with
4581
+ * `¤` where the currency symbol goes, for example `¤1,234,567.89` or
4582
+ * `1.234.567,89 ¤`. Null follows the language's own convention (BOFF-17795).
4583
+ */
4584
+ currencyFormat?: InputMaybe<Scalars['String']['input']>;
4516
4585
  dateFormat?: InputMaybe<Scalars['String']['input']>;
4517
4586
  direction?: InputMaybe<LanguageDirection>;
4518
4587
  fallbackCode?: InputMaybe<Scalars['String']['input']>;
4519
4588
  metadata?: InputMaybe<Scalars['JSON']['input']>;
4520
4589
  name: Scalars['String']['input'];
4521
4590
  nativeName: Scalars['String']['input'];
4591
+ /**
4592
+ * How the language writes numbers: 1234567.89 written its way, for example
4593
+ * `1,234,567.89`, `1.234.567,89`, `1 234 567,89` or `12,34,567.89`. Null
4594
+ * follows the language's own convention (BOFF-17795).
4595
+ */
4596
+ numberFormat?: InputMaybe<Scalars['String']['input']>;
4522
4597
  pluralRules?: InputMaybe<Scalars['JSON']['input']>;
4523
4598
  region?: InputMaybe<Scalars['String']['input']>;
4599
+ /**
4600
+ * ACTIVE (the default) offers the language to everyone at once. DRAFT keeps it
4601
+ * unpublished while its words are translated. DEPRECATED is refused
4602
+ * (BOFF-17795).
4603
+ */
4604
+ status?: InputMaybe<LanguageStatus>;
4524
4605
  timeFormat?: InputMaybe<Scalars['String']['input']>;
4525
4606
  };
4526
4607
  export type CreateNewsletterInput = {
@@ -5129,16 +5210,11 @@ export type CreateStoreOrderInput = {
5129
5210
  total?: InputMaybe<Scalars['Float']['input']>;
5130
5211
  };
5131
5212
  export type CreateSubscriptionInput = {
5132
- amount: Scalars['Float']['input'];
5133
5213
  applicationId?: InputMaybe<Scalars['ID']['input']>;
5134
- couponCode?: InputMaybe<Scalars['String']['input']>;
5135
- currency?: InputMaybe<Scalars['String']['input']>;
5136
- interval: BillingInterval;
5137
- planId?: InputMaybe<Scalars['ID']['input']>;
5138
- planName?: InputMaybe<Scalars['String']['input']>;
5214
+ billingSubscriptionId: Scalars['ID']['input'];
5215
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
5139
5216
  subscriptionType: Scalars['String']['input'];
5140
5217
  tier?: InputMaybe<DeveloperOrgTier>;
5141
- trialDays?: InputMaybe<Scalars['Int']['input']>;
5142
5218
  };
5143
5219
  export type CreateSupportMessageInput = {
5144
5220
  attachments?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -5872,15 +5948,6 @@ export declare enum DevPortalPricingModel {
5872
5948
  Subscription = "SUBSCRIPTION",
5873
5949
  UsageBased = "USAGE_BASED"
5874
5950
  }
5875
- export declare enum DevPortalSubscriptionStatus {
5876
- Active = "ACTIVE",
5877
- Cancelled = "CANCELLED",
5878
- Expired = "EXPIRED",
5879
- PastDue = "PAST_DUE",
5880
- Paused = "PAUSED",
5881
- Trialing = "TRIALING",
5882
- Unpaid = "UNPAID"
5883
- }
5884
5951
  /**
5885
5952
  * Developer earnings dashboard. Order amounts in different currencies are never
5886
5953
  * added together: byCurrency has one entry per order currency. totalEarnings and
@@ -6210,43 +6277,24 @@ export type DeveloperOrgSaleEdge = {
6210
6277
  cursor: Scalars['String']['output'];
6211
6278
  node: DeveloperOrgSale;
6212
6279
  };
6213
- /** Developer Organization Subscription - platform tier or app subscriptions */
6280
+ /**
6281
+ * Developer Organization Subscription - domain-context wrapper over a canonical
6282
+ * global-billing-svc BillingSubscription.
6283
+ */
6214
6284
  export type DeveloperOrgSubscription = {
6215
6285
  __typename?: 'DeveloperOrgSubscription';
6216
- amount: Scalars['Float']['output'];
6217
6286
  applicationId?: Maybe<Scalars['ID']['output']>;
6218
- cancelAtPeriodEnd: Scalars['Boolean']['output'];
6219
- cancelReason?: Maybe<Scalars['String']['output']>;
6220
- cancelledAt?: Maybe<Scalars['DateTime']['output']>;
6287
+ billingSubscription?: Maybe<BillingSubscription>;
6288
+ billingSubscriptionId: Scalars['ID']['output'];
6221
6289
  context?: Maybe<Scalars['JSON']['output']>;
6222
- couponCode?: Maybe<Scalars['String']['output']>;
6223
6290
  createdAt: Scalars['DateTime']['output'];
6224
- currency: Scalars['String']['output'];
6225
- currentPeriodEnd: Scalars['DateTime']['output'];
6226
- currentPeriodStart: Scalars['DateTime']['output'];
6227
- discountEndsAt?: Maybe<Scalars['DateTime']['output']>;
6228
- discountPercent?: Maybe<Scalars['Float']['output']>;
6229
6291
  id: Scalars['ID']['output'];
6230
- interval: BillingInterval;
6231
6292
  metadata?: Maybe<Scalars['JSON']['output']>;
6232
- nextInvoiceAmount?: Maybe<Scalars['Float']['output']>;
6233
- nextInvoiceAt?: Maybe<Scalars['DateTime']['output']>;
6234
6293
  organization: DeveloperOrganization;
6235
6294
  organizationId: Scalars['ID']['output'];
6236
- planId?: Maybe<Scalars['ID']['output']>;
6237
- planName?: Maybe<Scalars['String']['output']>;
6238
- status: DevPortalSubscriptionStatus;
6239
- stripeCustomerId?: Maybe<Scalars['ID']['output']>;
6240
- stripePaymentMethodId?: Maybe<Scalars['ID']['output']>;
6241
- stripePriceId?: Maybe<Scalars['ID']['output']>;
6242
- stripeSubscriptionId?: Maybe<Scalars['ID']['output']>;
6243
6295
  subscriptionType: Scalars['String']['output'];
6244
6296
  tier?: Maybe<DeveloperOrgTier>;
6245
- trialEnd?: Maybe<Scalars['DateTime']['output']>;
6246
- trialStart?: Maybe<Scalars['DateTime']['output']>;
6247
6297
  updatedAt: Scalars['DateTime']['output'];
6248
- usageLimit?: Maybe<Scalars['Int']['output']>;
6249
- usageQuantity?: Maybe<Scalars['Int']['output']>;
6250
6298
  };
6251
6299
  export type DeveloperOrgSubscriptionConnection = {
6252
6300
  __typename?: 'DeveloperOrgSubscriptionConnection';
@@ -6472,14 +6520,6 @@ export declare enum DevportalExportStatus {
6472
6520
  /** Job is currently materialising the export payload. */
6473
6521
  Running = "RUNNING"
6474
6522
  }
6475
- export type DigestChallengeResult = {
6476
- __typename?: 'DigestChallengeResult';
6477
- algorithm: Scalars['String']['output'];
6478
- nonce: Scalars['String']['output'];
6479
- opaque: Scalars['String']['output'];
6480
- qop: Scalars['String']['output'];
6481
- realm: Scalars['String']['output'];
6482
- };
6483
6523
  export declare enum DimensionUnit {
6484
6524
  Centimeter = "CENTIMETER",
6485
6525
  Inch = "INCH",
@@ -6794,6 +6834,19 @@ export declare enum EmbedScope {
6794
6834
  /** See a Steward, its runs and its Daybook. */
6795
6835
  StewardView = "STEWARD_VIEW"
6796
6836
  }
6837
+ /**
6838
+ * A live embed session, resolved by the gateway on each request the embedded
6839
+ * frame makes. The embed acts with the issuing admin's permissions, narrowed by
6840
+ * the gateway to the operations the session's scopes allow.
6841
+ */
6842
+ export type EmbedSessionActor = {
6843
+ __typename?: 'EmbedSessionActor';
6844
+ claims: EmbedSessionClaims;
6845
+ /** The workspace admin who issued the token, still a workspace admin now. */
6846
+ issuedBy: Scalars['ID']['output'];
6847
+ /** The embed token the session was opened with. */
6848
+ tokenId: Scalars['ID']['output'];
6849
+ };
6797
6850
  /** What an embed session is allowed to do and where. */
6798
6851
  export type EmbedSessionClaims = {
6799
6852
  __typename?: 'EmbedSessionClaims';
@@ -6821,6 +6874,8 @@ export type EmbedToken = {
6821
6874
  id: Scalars['ID']['output'];
6822
6875
  label: Scalars['String']['output'];
6823
6876
  lastUsedAt?: Maybe<Scalars['DateTime']['output']>;
6877
+ /** Steward runs the token's sessions may start per day. */
6878
+ maxRunsPerDay: Scalars['Int']['output'];
6824
6879
  product: EmbedProduct;
6825
6880
  /** How many sessions the token can still open. */
6826
6881
  remainingExchanges: Scalars['Int']['output'];
@@ -8383,6 +8438,12 @@ export type ImportJob = {
8383
8438
  completedAt?: Maybe<Scalars['DateTime']['output']>;
8384
8439
  createdAt: Scalars['DateTime']['output'];
8385
8440
  createdBy: Scalars['String']['output'];
8441
+ /**
8442
+ * The job's errors (BOFF-17795): a list of { key?, error, i18nKey }. `key` names
8443
+ * the row's translation key (never its value), `error` is in English and
8444
+ * `i18nKey` lets a client show it in its own language. At most the first 100
8445
+ * row errors are kept; `failedKeys` counts them all.
8446
+ */
8386
8447
  errors?: Maybe<Scalars['JSON']['output']>;
8387
8448
  estimatedDuration?: Maybe<Scalars['Int']['output']>;
8388
8449
  failedKeys: Scalars['Int']['output'];
@@ -8391,6 +8452,8 @@ export type ImportJob = {
8391
8452
  fileUrl?: Maybe<Scalars['String']['output']>;
8392
8453
  format: ImportJobFormat;
8393
8454
  id: Scalars['ID']['output'];
8455
+ /** The language the file's words are in (BOFF-17795). */
8456
+ languageCode?: Maybe<Scalars['String']['output']>;
8394
8457
  options?: Maybe<Scalars['JSON']['output']>;
8395
8458
  processedKeys: Scalars['Int']['output'];
8396
8459
  productId: Scalars['String']['output'];
@@ -9435,6 +9498,12 @@ export type Language = {
9435
9498
  code: Scalars['String']['output'];
9436
9499
  createdAt: Scalars['DateTime']['output'];
9437
9500
  createdBy?: Maybe<Scalars['String']['output']>;
9501
+ /**
9502
+ * How the language writes an amount of money: 1234567.89 written its way with
9503
+ * `¤` where the currency symbol goes, for example `¤1,234,567.89` or
9504
+ * `1.234.567,89 ¤`. Null follows the language's own convention (BOFF-17795).
9505
+ */
9506
+ currencyFormat?: Maybe<Scalars['String']['output']>;
9438
9507
  dateFormat: Scalars['String']['output'];
9439
9508
  direction: LanguageDirection;
9440
9509
  fallbackCode?: Maybe<Scalars['String']['output']>;
@@ -9443,6 +9512,12 @@ export type Language = {
9443
9512
  metadata?: Maybe<Scalars['JSON']['output']>;
9444
9513
  name: Scalars['String']['output'];
9445
9514
  nativeName: Scalars['String']['output'];
9515
+ /**
9516
+ * How the language writes numbers: 1234567.89 written its way, for example
9517
+ * `1,234,567.89`, `1.234.567,89`, `1 234 567,89` or `12,34,567.89`. Null
9518
+ * follows the language's own convention (BOFF-17795).
9519
+ */
9520
+ numberFormat?: Maybe<Scalars['String']['output']>;
9446
9521
  pluralRules?: Maybe<Scalars['JSON']['output']>;
9447
9522
  region?: Maybe<Scalars['String']['output']>;
9448
9523
  status: LanguageStatus;
@@ -9997,8 +10072,6 @@ export type Mutation = {
9997
10072
  /** Apply a billing discount code */
9998
10073
  applyBillingDiscount: BillingDiscount;
9999
10074
  applySLAPolicy: SupportTicket;
10000
- /** Apply a coupon to a subscription */
10001
- applySubscriptionCoupon: DeveloperOrgSubscription;
10002
10075
  approveApplication: Application;
10003
10076
  /**
10004
10077
  * Platform admin only: approve a pending_review version, making it live in the store.
@@ -10119,15 +10192,11 @@ export type Mutation = {
10119
10192
  authenticateApple: AuthResult;
10120
10193
  /** Authenticate using HTTP Basic Auth (base64 encoded username:password) */
10121
10194
  authenticateBasicAuth: AuthResult;
10122
- /** Authenticate using HTTP Digest credentials */
10123
- authenticateDigest: AuthResult;
10124
10195
  /** Authenticate with Kerberos SPNEGO token */
10125
10196
  authenticateKerberos: AuthResult;
10126
10197
  /** Authenticate using LDAP credentials */
10127
10198
  authenticateLDAP: AuthResult;
10128
10199
  authenticateMagicLink: AuthResult;
10129
- /** Complete NTLM authentication with Type 3 message */
10130
- authenticateNTLM: AuthResult;
10131
10200
  authenticateOAuth: AuthResult;
10132
10201
  /** Complete OIDC SSO authentication by exchanging authorization code */
10133
10202
  authenticateOIDC: AuthPayload;
@@ -10200,7 +10269,7 @@ export type Mutation = {
10200
10269
  cancelDelivery: Scalars['Boolean']['output'];
10201
10270
  /** Cancel an organization invitation */
10202
10271
  cancelDeveloperOrgInvitation: Scalars['Boolean']['output'];
10203
- /** Cancel a subscription */
10272
+ /** Cancel a developer organization subscription by delegating to global-billing-svc */
10204
10273
  cancelDeveloperOrgSubscription: DeveloperOrgSubscription;
10205
10274
  cancelImportJob: ImportJob;
10206
10275
  cancelNewsletter: Newsletter;
@@ -10239,6 +10308,14 @@ export type Mutation = {
10239
10308
  checkPushMFAStatus: PushMfaStatus;
10240
10309
  /** Checkout and create an order from the cart */
10241
10310
  checkout: CheckoutPayload;
10311
+ /**
10312
+ * Spends one run of the session's token's daily budget before the gateway starts
10313
+ * a Steward run for an embed, and returns the session as embedSessionActor does.
10314
+ * Refused with EMBED_RUN_LIMIT once the budget is spent, EMBED_SCOPE_DENIED when
10315
+ * the token lacks STEWARD_RUN, and EMBED_SESSION_INVALID as embedSessionActor.
10316
+ * Gateway (service) actors only.
10317
+ */
10318
+ claimEmbedRun: EmbedSessionActor;
10242
10319
  /** Clear all items from the cart */
10243
10320
  clearCart: CartPayload;
10244
10321
  cloneSchedule: ScheduledJob;
@@ -10305,7 +10382,7 @@ export type Mutation = {
10305
10382
  createCoupon: Coupon;
10306
10383
  /** Create a credit note (platform admin or service actor only) */
10307
10384
  createCreditNote: CreditNote;
10308
- /** Create a subscription */
10385
+ /** Link a billing-owned BillingSubscription to a developer organization with devportal context */
10309
10386
  createDeveloperOrgSubscription: DeveloperOrgSubscription;
10310
10387
  /** Create a new developer organization */
10311
10388
  createDeveloperOrganization: DeveloperOrganization;
@@ -10452,8 +10529,6 @@ export type Mutation = {
10452
10529
  */
10453
10530
  createStoreOrder: StoreOrder;
10454
10531
  createSubprocessor: Subprocessor;
10455
- /** Link a subscription plan to a store product granting FREE_ACCESS or DISCOUNT. */
10456
- createSubscriptionEntitlement: StoreSubscriptionEntitlement;
10457
10532
  createSupportMessage: SupportMessage;
10458
10533
  createSupportTicket: SupportTicket;
10459
10534
  /** Create a tax rate */
@@ -10640,8 +10715,6 @@ export type Mutation = {
10640
10715
  deleteShippingAddress: Scalars['Boolean']['output'];
10641
10716
  deleteStore: Scalars['Boolean']['output'];
10642
10717
  deleteSubscriber: Scalars['Boolean']['output'];
10643
- /** Remove a plan→product subscription entitlement. */
10644
- deleteSubscriptionEntitlement: Scalars['Boolean']['output'];
10645
10718
  deleteSupportMessage: Scalars['Boolean']['output'];
10646
10719
  deleteSupportTicket: Scalars['Boolean']['output'];
10647
10720
  /** Delete a tax rate */
@@ -10930,6 +11003,17 @@ export type Mutation = {
10930
11003
  * GROUNDING_INSUFFICIENT when no article or FAQ covers the ticket.
10931
11004
  */
10932
11005
  globalDraftTicketReply: SupportMessage;
11006
+ /**
11007
+ * Bounded batch scoring of active tenants invoked nightly by global-scheduler-svc
11008
+ * (BOFF-3658). Classified REVERSIBLE_WRITE: strictly recommend-only.
11009
+ */
11010
+ globalScoreActiveTenantsHealth: TenantHealthBatchResult;
11011
+ /**
11012
+ * Compute and record a tenant's health & lifecycle score from deterministic SQL
11013
+ * and internal-gateway aggregates (BOFF-3658). Classified REVERSIBLE_WRITE:
11014
+ * strictly recommend-only and never mutates tenant, membership, or billing state.
11015
+ */
11016
+ globalScoreTenantHealth: TenantHealthScore;
10933
11017
  /**
10934
11018
  * Send a reply draft to the customer as an agent reply, optionally edited.
10935
11019
  * This is the only way a draft reaches a customer.
@@ -10999,8 +11083,6 @@ export type Mutation = {
10999
11083
  initiateAppOAuth: AppOAuthInitiation;
11000
11084
  /** Initiate Kerberos SPNEGO authentication */
11001
11085
  initiateKerberosAuth: KerberosChallengeResult;
11002
- /** Initiate NTLM authentication (returns Type 2 challenge) */
11003
- initiateNTLMChallenge: NtlmChallengeResult;
11004
11086
  /**
11005
11087
  * Initiate a payment for credits, plans, or addons
11006
11088
  * This creates a Stripe PaymentIntent or Razorpay Order with tax included
@@ -11123,8 +11205,6 @@ export type Mutation = {
11123
11205
  */
11124
11206
  notifyDuplicateApplicants: DuplicateNoticeResult;
11125
11207
  openCircuitBreaker: CircuitBreakerState;
11126
- /** Pause a subscription */
11127
- pauseDeveloperOrgSubscription: DeveloperOrgSubscription;
11128
11208
  pauseSLA: SupportTicket;
11129
11209
  pauseScheduledJob: ScheduledJob;
11130
11210
  /** Pay an invoice using a payment method */
@@ -11183,6 +11263,11 @@ export type Mutation = {
11183
11263
  * call repeatedly for the same workspace. Never creates a Plan/Subscription
11184
11264
  * for a product with no registered Free plan; such products are silently
11185
11265
  * skipped, not errored.
11266
+ *
11267
+ * `ownerId` (optional, BOFF-2657) is the human user id that receives the
11268
+ * Billing Admin role when this call lazily creates the org's first billing
11269
+ * account. Service callers should pass the workspace owner's user id; without
11270
+ * it, role initialization waits for the first human billing read.
11186
11271
  */
11187
11272
  provisionFreeTierForWorkspace: ProvisionFreeTierForWorkspaceResult;
11188
11273
  /**
@@ -11474,6 +11559,7 @@ export type Mutation = {
11474
11559
  /** Admin rejects a pending payout method with a reason the publisher can act on. */
11475
11560
  rejectPublisherPayoutMethod: PublisherPayoutMethod;
11476
11561
  rejectReview: ProductReview;
11562
+ rejectTranslation: Translation;
11477
11563
  rejectWaitlist: NewsletterWaitlist;
11478
11564
  /**
11479
11565
  * Admin rejects a pending template revision with a reason the author sees. The
@@ -11615,7 +11701,7 @@ export type Mutation = {
11615
11701
  * verifyDSARIdentity.
11616
11702
  */
11617
11703
  requestDSARIdentityVerification: DsarRequest;
11618
- /** Request a manual payout (devportal legacy alias) */
11704
+ /** Request a manual payout for a developer organization (delegated/mirrored to global-billing-svc) */
11619
11705
  requestDeveloperOrgPayout: DeveloperOrgPayout;
11620
11706
  /**
11621
11707
  * Make sure a published node image holds an architecture (BOFF-14898).
@@ -11646,8 +11732,6 @@ export type Mutation = {
11646
11732
  requestOrgVerification: DeveloperOrganization;
11647
11733
  /** Request a password reset - sends reset email */
11648
11734
  requestPasswordReset: PasswordResetRequestResult;
11649
- /** Request a manual payout */
11650
- requestPayout: DeveloperOrgPayout;
11651
11735
  /**
11652
11736
  * Request a reactivation link by email — for password-less (OAuth-only)
11653
11737
  * self-deactivated accounts. Always returns a generic success (never reveals
@@ -11728,8 +11812,6 @@ export type Mutation = {
11728
11812
  * exists; does not leak which side of the check failed.
11729
11813
  */
11730
11814
  resubscribe: NewsletterSubscriber;
11731
- /** Resume a paused subscription */
11732
- resumeDeveloperOrgSubscription: DeveloperOrgSubscription;
11733
11815
  resumeSLA: SupportTicket;
11734
11816
  resumeScheduledJob: ScheduledJob;
11735
11817
  /**
@@ -11944,6 +12026,11 @@ export type Mutation = {
11944
12026
  seedDefaultShortcuts: Scalars['Int']['output'];
11945
12027
  /** Overwrite the built-in FluidGrids user-facing workflow-builder tour from the service-owned seed file. */
11946
12028
  seedFluidgridsUserTours: SeedFluidgridsUserToursResult;
12029
+ /**
12030
+ * Overwrite the built-in HeadshotMarketing user-facing onboarding tours (overview,
12031
+ * campaigns, audiences, contacts, content library and automation) from the service-owned seed file.
12032
+ */
12033
+ seedHeadshotmarketingUserTours: SeedHeadshotmarketingUserToursResult;
11947
12034
  /**
11948
12035
  * Overwrite the built-in HookMovies user-facing tours (overview with the getting-started
11949
12036
  * checklist, catalog, productions and auditions) from the service-owned seed file.
@@ -12001,6 +12088,12 @@ export type Mutation = {
12001
12088
  sendSurvey: CustomerSatisfactionSurvey;
12002
12089
  sendTestNewsletter: TestNewsletterResult;
12003
12090
  serviceCreateAffiliateCode: AffiliateCode;
12091
+ /**
12092
+ * Idempotently backfill a legacy devportal payment method into a canonical
12093
+ * PayoutAccount keyed on (billingAccountId, resolveKey). Service/super_admin
12094
+ * only — internal gateway (BOFF-5274).
12095
+ */
12096
+ serviceMigratePayoutAccount: PayoutAccount;
12004
12097
  /**
12005
12098
  * Disburse a store publisher payout request (sourceIdempotencyKey `store:payout:*`):
12006
12099
  * approve it and send it to its processor (Stripe Connect transfer or RazorpayX
@@ -12085,6 +12178,13 @@ export type Mutation = {
12085
12178
  setAgentOnline: AgentProfile;
12086
12179
  /** Set (create or update) the license for an application, including optional workspace cap */
12087
12180
  setAppLicense: AppLicense;
12181
+ /**
12182
+ * Set the OAuth client ID and secret the platform uses to connect installs of
12183
+ * this application to its own OAuth service. Call it after the application is
12184
+ * approved. The secret is passed straight to the integrations service and is
12185
+ * never stored or returned here.
12186
+ */
12187
+ setApplicationOAuthCredentials: Application;
12088
12188
  /** Set or update billing address for a billing account */
12089
12189
  setBillingAddress: BillingAddress;
12090
12190
  /**
@@ -12492,7 +12592,7 @@ export type Mutation = {
12492
12592
  updateDeveloperOrgMemberRole: DeveloperOrgMember;
12493
12593
  /** Update a payment method */
12494
12594
  updateDeveloperOrgPaymentMethod: DeveloperOrgPaymentMethod;
12495
- /** Update a subscription */
12595
+ /** Update devportal-specific context on a subscription wrapper */
12496
12596
  updateDeveloperOrgSubscription: DeveloperOrgSubscription;
12497
12597
  /** Update a developer organization */
12498
12598
  updateDeveloperOrganization: DeveloperOrganization;
@@ -12610,8 +12710,6 @@ export type Mutation = {
12610
12710
  updateStoreOrderPaymentStatus: UpdateStoreOrderPaymentStatusResponse;
12611
12711
  updateSubprocessor: Subprocessor;
12612
12712
  updateSubscriber: NewsletterSubscriber;
12613
- /** Update access type or discount percentage on an existing subscription entitlement. */
12614
- updateSubscriptionEntitlement: StoreSubscriptionEntitlement;
12615
12713
  /**
12616
12714
  * Update the seat count on an active PER_SEAT subscription.
12617
12715
  * Syncs quantity to the payment gateway and updates the seat quota ceiling.
@@ -12659,6 +12757,7 @@ export type Mutation = {
12659
12757
  upgradeFromTrial: AppInstallation;
12660
12758
  /** Upgrade organization tier (verified billing service or platform administrator only) */
12661
12759
  upgradeOrgTier: DeveloperOrganization;
12760
+ uploadPayoutAccountTaxForm: PayoutAccount;
12662
12761
  /** Upload tax form for a payment method */
12663
12762
  uploadTaxForm: DeveloperOrgPaymentMethod;
12664
12763
  upsertComplianceSettings: NewsletterComplianceSettings;
@@ -12935,11 +13034,6 @@ export type MutationApplySlaPolicyArgs = {
12935
13034
  ticketId: Scalars['ID']['input'];
12936
13035
  };
12937
13036
  /** Root mutation type */
12938
- export type MutationApplySubscriptionCouponArgs = {
12939
- couponCode: Scalars['String']['input'];
12940
- id: Scalars['ID']['input'];
12941
- };
12942
- /** Root mutation type */
12943
13037
  export type MutationApproveApplicationArgs = {
12944
13038
  id: Scalars['ID']['input'];
12945
13039
  notes?: InputMaybe<Scalars['String']['input']>;
@@ -13119,18 +13213,7 @@ export type MutationAuthenticateAppleArgs = {
13119
13213
  /** Root mutation type */
13120
13214
  export type MutationAuthenticateBasicAuthArgs = {
13121
13215
  credentials: Scalars['String']['input'];
13122
- };
13123
- /** Root mutation type */
13124
- export type MutationAuthenticateDigestArgs = {
13125
- cnonce?: InputMaybe<Scalars['String']['input']>;
13126
- nc?: InputMaybe<Scalars['String']['input']>;
13127
- nonce: Scalars['String']['input'];
13128
- opaque: Scalars['String']['input'];
13129
- qop?: InputMaybe<Scalars['String']['input']>;
13130
- realm: Scalars['String']['input'];
13131
- response: Scalars['String']['input'];
13132
- uri: Scalars['String']['input'];
13133
- username: Scalars['String']['input'];
13216
+ recaptchaToken?: InputMaybe<Scalars['String']['input']>;
13134
13217
  };
13135
13218
  /** Root mutation type */
13136
13219
  export type MutationAuthenticateKerberosArgs = {
@@ -13140,6 +13223,7 @@ export type MutationAuthenticateKerberosArgs = {
13140
13223
  /** Root mutation type */
13141
13224
  export type MutationAuthenticateLdapArgs = {
13142
13225
  password: Scalars['String']['input'];
13226
+ recaptchaToken?: InputMaybe<Scalars['String']['input']>;
13143
13227
  tenantId: Scalars['String']['input'];
13144
13228
  username: Scalars['String']['input'];
13145
13229
  };
@@ -13148,11 +13232,6 @@ export type MutationAuthenticateMagicLinkArgs = {
13148
13232
  token: Scalars['String']['input'];
13149
13233
  };
13150
13234
  /** Root mutation type */
13151
- export type MutationAuthenticateNtlmArgs = {
13152
- authenticateMessage: Scalars['String']['input'];
13153
- challengeId: Scalars['ID']['input'];
13154
- };
13155
- /** Root mutation type */
13156
13235
  export type MutationAuthenticateOAuthArgs = {
13157
13236
  input: OAuthInput;
13158
13237
  };
@@ -13163,6 +13242,7 @@ export type MutationAuthenticateOidcArgs = {
13163
13242
  /** Root mutation type */
13164
13243
  export type MutationAuthenticateRadiusArgs = {
13165
13244
  password: Scalars['String']['input'];
13245
+ recaptchaToken?: InputMaybe<Scalars['String']['input']>;
13166
13246
  tenantId: Scalars['String']['input'];
13167
13247
  username: Scalars['String']['input'];
13168
13248
  };
@@ -13321,6 +13401,10 @@ export type MutationCheckoutArgs = {
13321
13401
  input: CheckoutInput;
13322
13402
  };
13323
13403
  /** Root mutation type */
13404
+ export type MutationClaimEmbedRunArgs = {
13405
+ sessionToken: Scalars['String']['input'];
13406
+ };
13407
+ /** Root mutation type */
13324
13408
  export type MutationCloneScheduleArgs = {
13325
13409
  newOrganizationId?: InputMaybe<Scalars['ID']['input']>;
13326
13410
  overrides?: InputMaybe<CreateScheduledJobInput>;
@@ -13812,11 +13896,6 @@ export type MutationCreateSubprocessorArgs = {
13812
13896
  input: SubprocessorInput;
13813
13897
  };
13814
13898
  /** Root mutation type */
13815
- export type MutationCreateSubscriptionEntitlementArgs = {
13816
- input: StoreSubscriptionEntitlementInput;
13817
- storeProductId: Scalars['ID']['input'];
13818
- };
13819
- /** Root mutation type */
13820
13899
  export type MutationCreateSupportMessageArgs = {
13821
13900
  input: CreateSupportMessageInput;
13822
13901
  };
@@ -14230,10 +14309,6 @@ export type MutationDeleteSubscriberArgs = {
14230
14309
  id: Scalars['ID']['input'];
14231
14310
  };
14232
14311
  /** Root mutation type */
14233
- export type MutationDeleteSubscriptionEntitlementArgs = {
14234
- id: Scalars['ID']['input'];
14235
- };
14236
- /** Root mutation type */
14237
14312
  export type MutationDeleteSupportMessageArgs = {
14238
14313
  id: Scalars['ID']['input'];
14239
14314
  };
@@ -14624,6 +14699,16 @@ export type MutationGlobalDraftTicketReplyArgs = {
14624
14699
  ticketId: Scalars['ID']['input'];
14625
14700
  };
14626
14701
  /** Root mutation type */
14702
+ export type MutationGlobalScoreActiveTenantsHealthArgs = {
14703
+ limit?: InputMaybe<Scalars['Int']['input']>;
14704
+ trigger?: InputMaybe<TenantHealthTrigger>;
14705
+ };
14706
+ /** Root mutation type */
14707
+ export type MutationGlobalScoreTenantHealthArgs = {
14708
+ tenantId: Scalars['ID']['input'];
14709
+ trigger?: InputMaybe<TenantHealthTrigger>;
14710
+ };
14711
+ /** Root mutation type */
14627
14712
  export type MutationGlobalSendTicketReplyDraftArgs = {
14628
14713
  id: Scalars['ID']['input'];
14629
14714
  message?: InputMaybe<Scalars['String']['input']>;
@@ -14701,10 +14786,6 @@ export type MutationInitiateKerberosAuthArgs = {
14701
14786
  tenantId: Scalars['String']['input'];
14702
14787
  };
14703
14788
  /** Root mutation type */
14704
- export type MutationInitiateNtlmChallengeArgs = {
14705
- negotiateMessage: Scalars['String']['input'];
14706
- };
14707
- /** Root mutation type */
14708
14789
  export type MutationInitiatePaymentArgs = {
14709
14790
  input: InitiatePaymentInput;
14710
14791
  };
@@ -14853,10 +14934,6 @@ export type MutationOpenCircuitBreakerArgs = {
14853
14934
  scopeValue: Scalars['String']['input'];
14854
14935
  };
14855
14936
  /** Root mutation type */
14856
- export type MutationPauseDeveloperOrgSubscriptionArgs = {
14857
- id: Scalars['ID']['input'];
14858
- };
14859
- /** Root mutation type */
14860
14937
  export type MutationPauseSlaArgs = {
14861
14938
  reason?: InputMaybe<Scalars['String']['input']>;
14862
14939
  ticketId: Scalars['ID']['input'];
@@ -14921,6 +14998,7 @@ export type MutationProvisionDedicatedTenantArgs = {
14921
14998
  /** Root mutation type */
14922
14999
  export type MutationProvisionFreeTierForWorkspaceArgs = {
14923
15000
  orgId: Scalars['ID']['input'];
15001
+ ownerId?: InputMaybe<Scalars['ID']['input']>;
14924
15002
  workspaceId: Scalars['ID']['input'];
14925
15003
  };
14926
15004
  /** Root mutation type */
@@ -15275,6 +15353,11 @@ export type MutationRejectReviewArgs = {
15275
15353
  id: Scalars['ID']['input'];
15276
15354
  };
15277
15355
  /** Root mutation type */
15356
+ export type MutationRejectTranslationArgs = {
15357
+ id: Scalars['ID']['input'];
15358
+ reason: Scalars['String']['input'];
15359
+ };
15360
+ /** Root mutation type */
15278
15361
  export type MutationRejectWaitlistArgs = {
15279
15362
  input: RejectWaitlistInput;
15280
15363
  };
@@ -15550,11 +15633,6 @@ export type MutationRequestPasswordResetArgs = {
15550
15633
  recaptchaToken?: InputMaybe<Scalars['String']['input']>;
15551
15634
  };
15552
15635
  /** Root mutation type */
15553
- export type MutationRequestPayoutArgs = {
15554
- organizationId: Scalars['ID']['input'];
15555
- paymentMethodId?: InputMaybe<Scalars['ID']['input']>;
15556
- };
15557
- /** Root mutation type */
15558
15636
  export type MutationRequestReactivationArgs = {
15559
15637
  email: Scalars['String']['input'];
15560
15638
  };
@@ -15679,10 +15757,6 @@ export type MutationResubscribeArgs = {
15679
15757
  platformProductId?: InputMaybe<Scalars['String']['input']>;
15680
15758
  };
15681
15759
  /** Root mutation type */
15682
- export type MutationResumeDeveloperOrgSubscriptionArgs = {
15683
- id: Scalars['ID']['input'];
15684
- };
15685
- /** Root mutation type */
15686
15760
  export type MutationResumeSlaArgs = {
15687
15761
  ticketId: Scalars['ID']['input'];
15688
15762
  };
@@ -15954,6 +16028,10 @@ export type MutationServiceCreateAffiliateCodeArgs = {
15954
16028
  input: ServiceCreateAffiliateCodeInput;
15955
16029
  };
15956
16030
  /** Root mutation type */
16031
+ export type MutationServiceMigratePayoutAccountArgs = {
16032
+ input: ServiceMigratePayoutAccountInput;
16033
+ };
16034
+ /** Root mutation type */
15957
16035
  export type MutationServiceProcessPayoutRequestArgs = {
15958
16036
  id: Scalars['ID']['input'];
15959
16037
  };
@@ -16004,6 +16082,12 @@ export type MutationSetAppLicenseArgs = {
16004
16082
  workspaceCap?: InputMaybe<Scalars['Int']['input']>;
16005
16083
  };
16006
16084
  /** Root mutation type */
16085
+ export type MutationSetApplicationOAuthCredentialsArgs = {
16086
+ clientId: Scalars['String']['input'];
16087
+ clientSecret: Scalars['String']['input'];
16088
+ id: Scalars['ID']['input'];
16089
+ };
16090
+ /** Root mutation type */
16007
16091
  export type MutationSetBillingAddressArgs = {
16008
16092
  input: SetBillingAddressInput;
16009
16093
  };
@@ -16925,11 +17009,6 @@ export type MutationUpdateSubscriberArgs = {
16925
17009
  input: UpdateSubscriberInput;
16926
17010
  };
16927
17011
  /** Root mutation type */
16928
- export type MutationUpdateSubscriptionEntitlementArgs = {
16929
- id: Scalars['ID']['input'];
16930
- input: UpdateSubscriptionEntitlementInput;
16931
- };
16932
- /** Root mutation type */
16933
17012
  export type MutationUpdateSubscriptionSeatsArgs = {
16934
17013
  input: UpdateSubscriptionSeatsInput;
16935
17014
  };
@@ -17058,6 +17137,13 @@ export type MutationUpgradeOrgTierArgs = {
17058
17137
  tier: DeveloperOrgTier;
17059
17138
  };
17060
17139
  /** Root mutation type */
17140
+ export type MutationUploadPayoutAccountTaxFormArgs = {
17141
+ billingAccountId: Scalars['ID']['input'];
17142
+ formType: Scalars['String']['input'];
17143
+ formUrl: Scalars['String']['input'];
17144
+ id: Scalars['ID']['input'];
17145
+ };
17146
+ /** Root mutation type */
17061
17147
  export type MutationUploadTaxFormArgs = {
17062
17148
  formType: Scalars['String']['input'];
17063
17149
  formUrl: Scalars['String']['input'];
@@ -17219,11 +17305,6 @@ export type MyRolesResult = {
17219
17305
  /** Roles assigned to the actor */
17220
17306
  roles: Array<RoleInfo>;
17221
17307
  };
17222
- export type NtlmChallengeResult = {
17223
- __typename?: 'NTLMChallengeResult';
17224
- challenge: Scalars['String']['output'];
17225
- challengeId: Scalars['ID']['output'];
17226
- };
17227
17308
  export type Newsletter = {
17228
17309
  __typename?: 'Newsletter';
17229
17310
  clickRate?: Maybe<Scalars['Float']['output']>;
@@ -17816,6 +17897,8 @@ export type NotificationFilterInput = {
17816
17897
  /** Also return notifications snoozed into the future (hidden by default) */
17817
17898
  includeSnoozed?: InputMaybe<Scalars['Boolean']['input']>;
17818
17899
  isRead?: InputMaybe<Scalars['Boolean']['input']>;
17900
+ /** Optional explicit organization scope (membership-verified for user callers; BOFF-10499) */
17901
+ organizationId?: InputMaybe<Scalars['ID']['input']>;
17819
17902
  priority?: InputMaybe<NotificationPriority>;
17820
17903
  search?: InputMaybe<Scalars['String']['input']>;
17821
17904
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -18949,9 +19032,15 @@ export type PayoutAccount = {
18949
19032
  isDefault: Scalars['Boolean']['output'];
18950
19033
  label: Scalars['String']['output'];
18951
19034
  metadata?: Maybe<Scalars['JSON']['output']>;
19035
+ microDepositSentAt?: Maybe<Scalars['DateTime']['output']>;
19036
+ microDepositVerified: Scalars['Boolean']['output'];
18952
19037
  ownerUserId?: Maybe<Scalars['String']['output']>;
18953
19038
  providerPreference: PayoutProvider;
18954
19039
  status: PayoutAccountStatus;
19040
+ taxFormType?: Maybe<Scalars['String']['output']>;
19041
+ taxFormUrl?: Maybe<Scalars['String']['output']>;
19042
+ taxFormVerified: Scalars['Boolean']['output'];
19043
+ taxFormVerifiedAt?: Maybe<Scalars['DateTime']['output']>;
18955
19044
  type: PayoutAccountType;
18956
19045
  updatedAt: Scalars['DateTime']['output'];
18957
19046
  verificationMethod?: Maybe<Scalars['String']['output']>;
@@ -19355,6 +19444,86 @@ export declare enum PlanPricingModel {
19355
19444
  /** Price × seatCount per billing cycle. Maps to quantity on Stripe/Razorpay subscription items. */
19356
19445
  PerSeat = "PER_SEAT"
19357
19446
  }
19447
+ /** Whether a billing account may buy a plan through a channel now. */
19448
+ export type PlanPurchaseEligibility = {
19449
+ __typename?: 'PlanPurchaseEligibility';
19450
+ /** True when the purchase may go ahead. */
19451
+ allowed: Scalars['Boolean']['output'];
19452
+ /** The channel that bills the blocking subscription. */
19453
+ conflictingChannel?: Maybe<BillingPurchaseChannel>;
19454
+ /** When the blocking subscription's current period ends. */
19455
+ conflictingPeriodEnd?: Maybe<Scalars['DateTime']['output']>;
19456
+ /** The blocking subscription's plan name. */
19457
+ conflictingPlanName?: Maybe<Scalars['String']['output']>;
19458
+ /** The blocking subscription. */
19459
+ conflictingSubscriptionId?: Maybe<Scalars['ID']['output']>;
19460
+ /**
19461
+ * STORE_SUBSCRIPTION_LINKED_TO_OTHER_ACCOUNT: the billing account that owns the
19462
+ * device's store subscription, only when the caller may access it; null
19463
+ * otherwise ("another billing account").
19464
+ */
19465
+ linkedBillingAccountId?: Maybe<Scalars['ID']['output']>;
19466
+ /** The name of that billing account, under the same rule. */
19467
+ linkedBillingAccountName?: Maybe<Scalars['String']['output']>;
19468
+ /** Where the customer manages the blocking subscription. */
19469
+ manageHint?: Maybe<PlanPurchaseManageHint>;
19470
+ /**
19471
+ * The store's subscription settings page (App Store / Google Play). Null for a
19472
+ * web subscription: the app links its own billing page.
19473
+ */
19474
+ manageUrl?: Maybe<Scalars['String']['output']>;
19475
+ /** Why it may not; null when allowed. */
19476
+ reason?: Maybe<PlanPurchaseIneligibilityReason>;
19477
+ /**
19478
+ * Google Play, when allowed: the purchase token of the device's subscription of
19479
+ * the product that this billing account already owns. Buying the plan replaces
19480
+ * it (a plan switch), so the app passes it as the old purchase token. Null for a
19481
+ * new subscription. It is one of the tokens the app sent.
19482
+ */
19483
+ replacesStoreSubscriptionId?: Maybe<Scalars['ID']['output']>;
19484
+ /**
19485
+ * Whether that switch is an upgrade or a downgrade (price per month). Null
19486
+ * without one.
19487
+ */
19488
+ storePlanChange?: Maybe<StorePlanChangeDirection>;
19489
+ };
19490
+ /** Why a plan purchase is not allowed. */
19491
+ export declare enum PlanPurchaseIneligibilityReason {
19492
+ /**
19493
+ * Another channel still bills a paid plan of the same product (active, trialing
19494
+ * or past due, and renewing). Buying here would charge the customer twice.
19495
+ */
19496
+ ActiveSubscriptionOtherChannel = "ACTIVE_SUBSCRIPTION_OTHER_CHANNEL",
19497
+ /**
19498
+ * The billing account already has this plan (active, trialing, paused or past
19499
+ * due). Buying it again would charge twice for the same plan; manage the
19500
+ * current plan instead. Monthly and yearly of a tier are different plans.
19501
+ * conflictingSubscriptionId is the subscription that has it.
19502
+ */
19503
+ PlanAlreadyActive = "PLAN_ALREADY_ACTIVE",
19504
+ /**
19505
+ * The billing account's plan of this product is already scheduled to switch to
19506
+ * this plan; conflictingPeriodEnd is when the switch applies.
19507
+ */
19508
+ PlanChangeAlreadyScheduled = "PLAN_CHANGE_ALREADY_SCHEDULED",
19509
+ /**
19510
+ * The device's App Store / Google Play account already has an active
19511
+ * subscription of this product that is linked to another billing account. The
19512
+ * store would apply this purchase to that subscription (and that account), so
19513
+ * the store sheet must not open. Buy on the web for this billing account, or
19514
+ * switch to the account that owns the subscription.
19515
+ */
19516
+ StoreSubscriptionLinkedToOtherAccount = "STORE_SUBSCRIPTION_LINKED_TO_OTHER_ACCOUNT"
19517
+ }
19518
+ /** Where the customer manages the subscription that blocks the purchase. */
19519
+ export declare enum PlanPurchaseManageHint {
19520
+ /** In the device's App Store subscription settings. */
19521
+ ManageInAppStore = "MANAGE_IN_APP_STORE",
19522
+ /** In the device's Google Play subscription settings. */
19523
+ ManageInGooglePlay = "MANAGE_IN_GOOGLE_PLAY",
19524
+ /** On the web billing page of the product. */
19525
+ ManageOnWeb = "MANAGE_ON_WEB"
19526
+ }
19358
19527
  export type PlanQuotaInput = {
19359
19528
  quantity: Scalars['Float']['input'];
19360
19529
  quotaId: Scalars['ID']['input'];
@@ -19800,6 +19969,21 @@ export type ProductFilterInput = {
19800
19969
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
19801
19970
  type?: InputMaybe<ProductType>;
19802
19971
  };
19972
+ /**
19973
+ * One product's translation progress in one language, as
19974
+ * `translationCoverageSummary` returns it: the counts of `TranslationCoverage`
19975
+ * without the missing-key list (BOFF-17795).
19976
+ */
19977
+ export type ProductLanguageCoverage = {
19978
+ __typename?: 'ProductLanguageCoverage';
19979
+ coverage: Scalars['Float']['output'];
19980
+ languageCode: Scalars['String']['output'];
19981
+ missingCount: Scalars['Int']['output'];
19982
+ pendingReviewKeys: Scalars['Int']['output'];
19983
+ productId: Scalars['String']['output'];
19984
+ totalKeys: Scalars['Int']['output'];
19985
+ translatedKeys: Scalars['Int']['output'];
19986
+ };
19803
19987
  export declare enum ProductNature {
19804
19988
  Digital = "DIGITAL",
19805
19989
  Physical = "PHYSICAL"
@@ -20935,6 +21119,13 @@ export type Query = {
20935
21119
  effectiveConsent?: Maybe<ConsentRecord>;
20936
21120
  /** Get effective permissions for an actor in a scope */
20937
21121
  effectivePermissions: EffectivePermissions;
21122
+ /**
21123
+ * Resolves an embed session secret to its claims and issuer. Refused with
21124
+ * EMBED_SESSION_INVALID when the session is unknown or expired, its token is
21125
+ * revoked or expired, or the issuer is no longer a workspace admin. Gateway
21126
+ * (service) actors only.
21127
+ */
21128
+ embedSessionActor: EmbedSessionActor;
20938
21129
  /**
20939
21130
  * The embed tokens of a workspace, newest first. Workspace admins only.
20940
21131
  * Secrets are never returned.
@@ -21397,8 +21588,6 @@ export type Query = {
21397
21588
  importJobs: ImportJobList;
21398
21589
  /** Look up a committed in-app receipt for the calling service and organization. */
21399
21590
  inAppNotificationReceipt?: Maybe<InAppNotificationReceipt>;
21400
- /** Initiate HTTP Digest auth challenge */
21401
- initiateDigestChallenge: DigestChallengeResult;
21402
21591
  /**
21403
21592
  * Public listing of an application's installable versions: published
21404
21593
  * versions, plus deprecated versions that were once published and were not
@@ -21866,6 +22055,19 @@ export type Query = {
21866
22055
  pendingWorkflowTemplateRevisions: WorkflowTemplateRevisionList;
21867
22056
  /** Get permission check audit log */
21868
22057
  permissionAuditLog: Array<PermissionAuditLog>;
22058
+ /**
22059
+ * Whether the billing account may buy the plan through the channel now. Call
22060
+ * it before opening a payment sheet. A paid plan is refused while another
22061
+ * channel still bills a paid plan of the same product
22062
+ * (ACTIVE_SUBSCRIPTION_OTHER_CHANNEL); a plan canceled at the end of its period
22063
+ * does not block. A paid plan the account already has is refused
22064
+ * (PLAN_ALREADY_ACTIVE), as is the plan its plan is already scheduled to switch
22065
+ * to (PLAN_CHANGE_ALREADY_SCHEDULED). Free plans and a switch to another plan
22066
+ * within the same channel are allowed. For APPLE_IAP / GOOGLE_PLAY the app may pass the device's active
22067
+ * store subscriptions: one of the product's that another billing account owns
22068
+ * refuses the purchase (STORE_SUBSCRIPTION_LINKED_TO_OTHER_ACCOUNT). Read-only.
22069
+ */
22070
+ planPurchaseEligibility: PlanPurchaseEligibility;
21869
22071
  /**
21870
22072
  * Get a single platform product by ID (admin/catalog read).
21871
22073
  * Returns the full PlatformProduct including DRAFT products and internal
@@ -22227,6 +22429,12 @@ export type Query = {
22227
22429
  tenantAuditLogs: TenantAuditLogPage;
22228
22430
  /** Get a tenant by slug */
22229
22431
  tenantBySlug?: Maybe<Tenant>;
22432
+ /** Historical health scores for a tenant, newest first (BOFF-3658). */
22433
+ tenantHealthHistory: Array<TenantHealthScore>;
22434
+ /** Latest health & lifecycle score for a tenant (BOFF-3658). */
22435
+ tenantHealthScore?: Maybe<TenantHealthScore>;
22436
+ /** Latest health scores across tenants, optionally filtered by band (BOFF-3658). */
22437
+ tenantHealthScores: Array<TenantHealthScore>;
22230
22438
  /**
22231
22439
  * List explicit tenant-member grants for a given tenant. Super-admin view used
22232
22440
  * by the admin console to manage tenant access. SHARED-tenant access is
@@ -22303,6 +22511,7 @@ export type Query = {
22303
22511
  translationAudit: TranslationAuditList;
22304
22512
  translationByKey?: Maybe<Translation>;
22305
22513
  translationCoverage: Array<TranslationCoverage>;
22514
+ translationCoverageSummary: Array<ProductLanguageCoverage>;
22306
22515
  translationKey?: Maybe<TranslationKey>;
22307
22516
  translationKeyByKey?: Maybe<TranslationKey>;
22308
22517
  translationKeys: TranslationKeyList;
@@ -23058,7 +23267,6 @@ export type QueryDeveloperOrgSubscriptionsArgs = {
23058
23267
  limit?: InputMaybe<Scalars['Int']['input']>;
23059
23268
  offset?: InputMaybe<Scalars['Int']['input']>;
23060
23269
  organizationId: Scalars['ID']['input'];
23061
- status?: InputMaybe<DevPortalSubscriptionStatus>;
23062
23270
  subscriptionType?: InputMaybe<Scalars['String']['input']>;
23063
23271
  };
23064
23272
  /** Root query type */
@@ -23112,6 +23320,10 @@ export type QueryEffectivePermissionsArgs = {
23112
23320
  scopeId: Scalars['String']['input'];
23113
23321
  };
23114
23322
  /** Root query type */
23323
+ export type QueryEmbedSessionActorArgs = {
23324
+ sessionToken: Scalars['String']['input'];
23325
+ };
23326
+ /** Root query type */
23115
23327
  export type QueryEmbedTokensArgs = {
23116
23328
  includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
23117
23329
  workspaceId: Scalars['ID']['input'];
@@ -23225,6 +23437,7 @@ export type QueryExportTranslationsArgs = {
23225
23437
  format: ImportJobFormat;
23226
23438
  languageCode?: InputMaybe<Scalars['String']['input']>;
23227
23439
  productId: Scalars['String']['input'];
23440
+ spreadsheetSafe?: InputMaybe<Scalars['Boolean']['input']>;
23228
23441
  };
23229
23442
  /** Root query type */
23230
23443
  export type QueryFaqArgs = {
@@ -23825,10 +24038,6 @@ export type QueryInAppNotificationReceiptArgs = {
23825
24038
  deliveryKey: Scalars['ID']['input'];
23826
24039
  };
23827
24040
  /** Root query type */
23828
- export type QueryInitiateDigestChallengeArgs = {
23829
- realm?: InputMaybe<Scalars['String']['input']>;
23830
- };
23831
- /** Root query type */
23832
24041
  export type QueryInstallableApplicationVersionsArgs = {
23833
24042
  applicationId: Scalars['ID']['input'];
23834
24043
  };
@@ -24494,6 +24703,13 @@ export type QueryPermissionAuditLogArgs = {
24494
24703
  scopeId: Scalars['String']['input'];
24495
24704
  };
24496
24705
  /** Root query type */
24706
+ export type QueryPlanPurchaseEligibilityArgs = {
24707
+ billingAccountId: Scalars['ID']['input'];
24708
+ channel: BillingPurchaseChannel;
24709
+ planId: Scalars['ID']['input'];
24710
+ storeSubscriptions?: InputMaybe<Array<StoreSubscriptionProofInput>>;
24711
+ };
24712
+ /** Root query type */
24497
24713
  export type QueryPlatformProductArgs = {
24498
24714
  id: Scalars['ID']['input'];
24499
24715
  };
@@ -25146,6 +25362,20 @@ export type QueryTenantBySlugArgs = {
25146
25362
  slug: Scalars['String']['input'];
25147
25363
  };
25148
25364
  /** Root query type */
25365
+ export type QueryTenantHealthHistoryArgs = {
25366
+ limit?: InputMaybe<Scalars['Int']['input']>;
25367
+ tenantId: Scalars['ID']['input'];
25368
+ };
25369
+ /** Root query type */
25370
+ export type QueryTenantHealthScoreArgs = {
25371
+ tenantId: Scalars['ID']['input'];
25372
+ };
25373
+ /** Root query type */
25374
+ export type QueryTenantHealthScoresArgs = {
25375
+ band?: InputMaybe<TenantHealthBand>;
25376
+ limit?: InputMaybe<Scalars['Int']['input']>;
25377
+ };
25378
+ /** Root query type */
25149
25379
  export type QueryTenantMembersArgs = {
25150
25380
  limit?: InputMaybe<Scalars['Int']['input']>;
25151
25381
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -25290,6 +25520,10 @@ export type QueryTranslationCoverageArgs = {
25290
25520
  productId: Scalars['String']['input'];
25291
25521
  };
25292
25522
  /** Root query type */
25523
+ export type QueryTranslationCoverageSummaryArgs = {
25524
+ productIds: Array<Scalars['String']['input']>;
25525
+ };
25526
+ /** Root query type */
25293
25527
  export type QueryTranslationKeyArgs = {
25294
25528
  id: Scalars['ID']['input'];
25295
25529
  };
@@ -25842,10 +26076,18 @@ export type RecordActivityInput = {
25842
26076
  * for any other caller, so a user cannot tag or untag their own rows.
25843
26077
  */
25844
26078
  actorOrigin?: InputMaybe<Scalars['String']['input']>;
26079
+ /**
26080
+ * Kind of actor that performed the action (`user`, `app`, `service`, `super_admin`). Honoured only
26081
+ * from a relaying `service` caller; for any other caller the gateway-authenticated actor kind is
26082
+ * recorded instead.
26083
+ */
26084
+ actorType?: InputMaybe<Scalars['String']['input']>;
25845
26085
  /** Proposal / idempotency key the assistant mutation ran under. Same trust rule as actorOrigin. */
25846
26086
  assistantCorrelationId?: InputMaybe<Scalars['String']['input']>;
25847
26087
  /** Relay session (assistant sandbox) that made the change. Same trust rule as actorOrigin. */
25848
26088
  assistantSessionId?: InputMaybe<Scalars['String']['input']>;
26089
+ /** Optional structured before/after diff payload for audit events (OVL-01). */
26090
+ changes?: InputMaybe<Scalars['JSON']['input']>;
25849
26091
  /**
25850
26092
  * Optional idempotency key for backfill/import (audit phase-2). Derive a STABLE key from the
25851
26093
  * source row (e.g. `global_auth_audit:<rowId>`). When set, the write UPSERTs on this key: if a row
@@ -27472,6 +27714,15 @@ export type SeedFluidgridsUserToursResult = {
27472
27714
  updatedCount: Scalars['Int']['output'];
27473
27715
  workspaceId: Scalars['String']['output'];
27474
27716
  };
27717
+ export type SeedHeadshotmarketingUserToursResult = {
27718
+ __typename?: 'SeedHeadshotmarketingUserToursResult';
27719
+ createdCount: Scalars['Int']['output'];
27720
+ productId: Scalars['String']['output'];
27721
+ totalCount: Scalars['Int']['output'];
27722
+ tours: Array<SeededUserTourResult>;
27723
+ updatedCount: Scalars['Int']['output'];
27724
+ workspaceId: Scalars['String']['output'];
27725
+ };
27475
27726
  export type SeedHookmoviesUserToursResult = {
27476
27727
  __typename?: 'SeedHookmoviesUserToursResult';
27477
27728
  createdCount: Scalars['Int']['output'];
@@ -27725,6 +27976,34 @@ export type ServiceEarningReversal = {
27725
27976
  entry: EarningsEntry;
27726
27977
  outcome: EarningReversalOutcome;
27727
27978
  };
27979
+ /**
27980
+ * Idempotent M2M backfill input for migrating a legacy developer-portal
27981
+ * payment method onto a canonical billing PayoutAccount (BOFF-5274).
27982
+ * Keyed on (billingAccountId, resolveKey) so replays converge cleanly.
27983
+ */
27984
+ export type ServiceMigratePayoutAccountInput = {
27985
+ accountLast4?: InputMaybe<Scalars['String']['input']>;
27986
+ billingAccountId: Scalars['ID']['input'];
27987
+ country?: InputMaybe<Scalars['String']['input']>;
27988
+ currency?: InputMaybe<Scalars['String']['input']>;
27989
+ displayName?: InputMaybe<Scalars['String']['input']>;
27990
+ isActive?: InputMaybe<Scalars['Boolean']['input']>;
27991
+ isDefault?: InputMaybe<Scalars['Boolean']['input']>;
27992
+ label: Scalars['String']['input'];
27993
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
27994
+ microDepositSentAt?: InputMaybe<Scalars['DateTime']['input']>;
27995
+ microDepositVerified?: InputMaybe<Scalars['Boolean']['input']>;
27996
+ ownerUserId: Scalars['String']['input'];
27997
+ resolveKey: Scalars['String']['input'];
27998
+ status?: InputMaybe<PayoutAccountStatus>;
27999
+ taxFormType?: InputMaybe<Scalars['String']['input']>;
28000
+ taxFormUrl?: InputMaybe<Scalars['String']['input']>;
28001
+ taxFormVerified?: InputMaybe<Scalars['Boolean']['input']>;
28002
+ taxFormVerifiedAt?: InputMaybe<Scalars['DateTime']['input']>;
28003
+ type: PayoutAccountType;
28004
+ verificationMethod?: InputMaybe<Scalars['String']['input']>;
28005
+ verifiedAt?: InputMaybe<Scalars['DateTime']['input']>;
28006
+ };
27728
28007
  /**
27729
28008
  * Consolidated earnings + payout-request status for a billing account, optionally
27730
28009
  * scoped to a single earnings owner. Lets a delegating service poll the outcome of
@@ -28927,6 +29206,19 @@ export type StorePaginationInput = {
28927
29206
  /** Number of items to skip (for offset pagination) */
28928
29207
  offset?: InputMaybe<Scalars['Int']['input']>;
28929
29208
  };
29209
+ /** A store plan switch of a subscription, compared by price per month. */
29210
+ export declare enum StorePlanChangeDirection {
29211
+ /**
29212
+ * The plan costs the same or less per month: the store switches at the next
29213
+ * renewal.
29214
+ */
29215
+ Downgrade = "DOWNGRADE",
29216
+ /**
29217
+ * The plan costs more per month: Google Play replaces it now and charges the
29218
+ * prorated difference.
29219
+ */
29220
+ Upgrade = "UPGRADE"
29221
+ }
28930
29222
  /**
28931
29223
  * External entity stub for StoreProduct from store-svc.
28932
29224
  * Federation gateway will resolve full StoreProduct data from store-svc.
@@ -29093,7 +29385,6 @@ export type StoreProduct = {
29093
29385
  subType?: Maybe<Scalars['String']['output']>;
29094
29386
  submittedAt?: Maybe<Scalars['DateTime']['output']>;
29095
29387
  submittedBy?: Maybe<Scalars['String']['output']>;
29096
- subscriptionEntitlements: Array<StoreSubscriptionEntitlement>;
29097
29388
  /** Structured tag assignments via wspace-tags-svc */
29098
29389
  tagAssignments: Array<StoreProductTagAssignment>;
29099
29390
  tags: Array<Scalars['String']['output']>;
@@ -29206,24 +29497,18 @@ export declare enum StoreSortBy {
29206
29497
  Rating = "RATING",
29207
29498
  Relevance = "RELEVANCE"
29208
29499
  }
29209
- /** Links a store product to a subscription plan for entitlements */
29210
- export type StoreSubscriptionEntitlement = {
29211
- __typename?: 'StoreSubscriptionEntitlement';
29212
- accessType: EntitlementAccessType;
29213
- context?: Maybe<Scalars['JSON']['output']>;
29214
- createdAt: Scalars['DateTime']['output'];
29215
- discountPercentage?: Maybe<Scalars['Float']['output']>;
29216
- id: Scalars['ID']['output'];
29217
- metadata?: Maybe<Scalars['JSON']['output']>;
29218
- planId: Scalars['String']['output'];
29219
- storeProduct?: Maybe<StoreProduct>;
29220
- storeProductId: Scalars['String']['output'];
29221
- updatedAt: Scalars['DateTime']['output'];
29222
- };
29223
- export type StoreSubscriptionEntitlementInput = {
29224
- accessType: EntitlementAccessType;
29225
- discountPercentage?: InputMaybe<Scalars['Float']['input']>;
29226
- planId: Scalars['String']['input'];
29500
+ /**
29501
+ * One active store subscription of the device, as the app reads it from the
29502
+ * store (StoreKit 2 current entitlements / Google Play purchases).
29503
+ */
29504
+ export type StoreSubscriptionProofInput = {
29505
+ /**
29506
+ * App Store: the signed StoreKit 2 transaction (jwsRepresentation). Verified
29507
+ * by billing; an unverifiable one is ignored.
29508
+ */
29509
+ jwsRepresentation?: InputMaybe<Scalars['String']['input']>;
29510
+ /** Google Play: the subscription's purchase token. */
29511
+ purchaseToken?: InputMaybe<Scalars['String']['input']>;
29227
29512
  };
29228
29513
  export declare enum StoreType {
29229
29514
  Enterprise = "ENTERPRISE",
@@ -29825,6 +30110,18 @@ export type SubscriptionWebhookDeliveryUpdatedArgs = {
29825
30110
  export type SubscriptionWebhookReceivedArgs = {
29826
30111
  channelId: Scalars['ID']['input'];
29827
30112
  };
30113
+ /** The price an app store charges for a subscription (BOFF-17961). */
30114
+ export type SubscriptionBilledPrice = {
30115
+ __typename?: 'SubscriptionBilledPrice';
30116
+ /** Amount of the latest successful store charge, tax included by the store. */
30117
+ amount: Scalars['Float']['output'];
30118
+ /** The store that bills it: APPLE_IAP or GOOGLE_PLAY. */
30119
+ billedBy: Scalars['String']['output'];
30120
+ /** ISO 4217 currency of the charge (the customer's store currency). */
30121
+ currency: Scalars['String']['output'];
30122
+ /** The store's id of that charge (Apple transaction id, Google order id). */
30123
+ storeTransactionId?: Maybe<Scalars['String']['output']>;
30124
+ };
29828
30125
  /**
29829
30126
  * SubscriptionEntitlement defines what store items a plan grants access to.
29830
30127
  * This allows plans to provide discounts or free access to store items.
@@ -30616,6 +30913,11 @@ export type Tenant = {
30616
30913
  */
30617
30914
  endpoint?: Maybe<Scalars['String']['output']>;
30618
30915
  id: Scalars['ID']['output'];
30916
+ /**
30917
+ * Most recent tenant health & lifecycle score (BOFF-3658).
30918
+ * Super admins and services only; null for anyone else.
30919
+ */
30920
+ latestHealthScore?: Maybe<TenantHealthScore>;
30619
30921
  metadata?: Maybe<Scalars['JSON']['output']>;
30620
30922
  name: Scalars['String']['output'];
30621
30923
  /** Organizations belonging to this tenant */
@@ -30688,6 +30990,113 @@ export type TenantFilterInput = {
30688
30990
  status?: InputMaybe<TenantStatus>;
30689
30991
  type?: InputMaybe<TenantType>;
30690
30992
  };
30993
+ /** Health band derived deterministically from the 0-100 tenant health score. */
30994
+ export declare enum TenantHealthBand {
30995
+ AtRisk = "AT_RISK",
30996
+ Critical = "CRITICAL",
30997
+ Healthy = "HEALTHY",
30998
+ Watch = "WATCH"
30999
+ }
31000
+ /** Failure item reported by a batch tenant health scoring run. */
31001
+ export type TenantHealthBatchError = {
31002
+ __typename?: 'TenantHealthBatchError';
31003
+ message: Scalars['String']['output'];
31004
+ tenantId: Scalars['ID']['output'];
31005
+ };
31006
+ /** Summary returned by `globalScoreActiveTenantsHealth` (nightly scheduler batch). */
31007
+ export type TenantHealthBatchResult = {
31008
+ __typename?: 'TenantHealthBatchResult';
31009
+ budgetCapHit: Scalars['Boolean']['output'];
31010
+ errors: Array<TenantHealthBatchError>;
31011
+ failedCount: Scalars['Int']['output'];
31012
+ scoredCount: Scalars['Int']['output'];
31013
+ scores: Array<TenantHealthScore>;
31014
+ skippedCount: Scalars['Int']['output'];
31015
+ totalEstimatedCredits: Scalars['Int']['output'];
31016
+ totalTokensUsed: Scalars['Int']['output'];
31017
+ };
31018
+ /** Exact evidence citation backing a deterministic signal. */
31019
+ export type TenantHealthEvidenceRef = {
31020
+ __typename?: 'TenantHealthEvidenceRef';
31021
+ entityId: Scalars['String']['output'];
31022
+ entityType: Scalars['String']['output'];
31023
+ metric: Scalars['String']['output'];
31024
+ recordedAt: Scalars['String']['output'];
31025
+ source: Scalars['String']['output'];
31026
+ value: Scalars['String']['output'];
31027
+ };
31028
+ /**
31029
+ * Advisory-only lifecycle recommendation produced by the tenant health engine.
31030
+ * The engine never acts on its own recommendation.
31031
+ */
31032
+ export declare enum TenantHealthRecommendedAction {
31033
+ ExpansionCheckin = "EXPANSION_CHECKIN",
31034
+ Monitor = "MONITOR",
31035
+ None = "NONE",
31036
+ OnboardingNudge = "ONBOARDING_NUDGE",
31037
+ ProactiveOutreach = "PROACTIVE_OUTREACH",
31038
+ SupportEscalation = "SUPPORT_ESCALATION"
31039
+ }
31040
+ /** Per-tenant health & lifecycle decision record (BOFF-3658). */
31041
+ export type TenantHealthScore = {
31042
+ __typename?: 'TenantHealthScore';
31043
+ accountingWorkspaceId?: Maybe<Scalars['ID']['output']>;
31044
+ actorId: Scalars['String']['output'];
31045
+ band: TenantHealthBand;
31046
+ costMicroUsd?: Maybe<Scalars['String']['output']>;
31047
+ createdAt: Scalars['DateTime']['output'];
31048
+ engine: Scalars['String']['output'];
31049
+ estimatedCredits: Scalars['Int']['output'];
31050
+ evidenceRefs: Array<TenantHealthEvidenceRef>;
31051
+ id: Scalars['ID']['output'];
31052
+ inputTokens: Scalars['Int']['output'];
31053
+ ledgerAttemptKey?: Maybe<Scalars['String']['output']>;
31054
+ ledgerOperationKey?: Maybe<Scalars['String']['output']>;
31055
+ modelKey?: Maybe<Scalars['String']['output']>;
31056
+ outputTokens: Scalars['Int']['output'];
31057
+ previousScore?: Maybe<Scalars['Int']['output']>;
31058
+ recommendedAction: TenantHealthRecommendedAction;
31059
+ score: Scalars['Int']['output'];
31060
+ scoreDelta?: Maybe<Scalars['Int']['output']>;
31061
+ scoredAt: Scalars['DateTime']['output'];
31062
+ signals: Array<TenantHealthSignal>;
31063
+ summary: Scalars['String']['output'];
31064
+ tenantId: Scalars['ID']['output'];
31065
+ trajectory: TenantHealthTrajectory;
31066
+ trigger: TenantHealthTrigger;
31067
+ };
31068
+ /** One deterministic contributing signal in a tenant health score. */
31069
+ export type TenantHealthSignal = {
31070
+ __typename?: 'TenantHealthSignal';
31071
+ category: Scalars['String']['output'];
31072
+ detail: Scalars['String']['output'];
31073
+ evidenceRefs: Array<TenantHealthEvidenceRef>;
31074
+ impact: Scalars['Int']['output'];
31075
+ key: Scalars['String']['output'];
31076
+ label: Scalars['String']['output'];
31077
+ status: TenantHealthSignalStatus;
31078
+ value: Scalars['String']['output'];
31079
+ weight: Scalars['Int']['output'];
31080
+ };
31081
+ /** Signal polarity for UI rendering and triage. */
31082
+ export declare enum TenantHealthSignalStatus {
31083
+ Critical = "CRITICAL",
31084
+ Neutral = "NEUTRAL",
31085
+ Positive = "POSITIVE",
31086
+ Warning = "WARNING"
31087
+ }
31088
+ /** Direction of score movement compared to the previous score for the same tenant. */
31089
+ export declare enum TenantHealthTrajectory {
31090
+ Declining = "DECLINING",
31091
+ Improving = "IMPROVING",
31092
+ New = "NEW",
31093
+ Stable = "STABLE"
31094
+ }
31095
+ /** What triggered a tenant health evaluation. */
31096
+ export declare enum TenantHealthTrigger {
31097
+ Manual = "MANUAL",
31098
+ Scheduled = "SCHEDULED"
31099
+ }
30691
31100
  /** Paginated list of tenants */
30692
31101
  export type TenantList = {
30693
31102
  __typename?: 'TenantList';
@@ -31333,6 +31742,11 @@ export type Translation = {
31333
31742
  pluralForms?: Maybe<Scalars['JSON']['output']>;
31334
31743
  publishedAt?: Maybe<Scalars['DateTime']['output']>;
31335
31744
  publishedBy?: Maybe<Scalars['String']['output']>;
31745
+ /**
31746
+ * Why the last reviewer sent it back to its translator (`rejectTranslation`),
31747
+ * until it is approved (BOFF-17795).
31748
+ */
31749
+ reviewNote?: Maybe<Scalars['String']['output']>;
31336
31750
  reviewedAt?: Maybe<Scalars['DateTime']['output']>;
31337
31751
  reviewedBy?: Maybe<Scalars['String']['output']>;
31338
31752
  status: TranslationStatus;
@@ -31369,6 +31783,10 @@ export type TranslationCoverage = {
31369
31783
  languageCode: Scalars['String']['output'];
31370
31784
  /** How many keys are still to translate: the length of missingKeys. */
31371
31785
  missingCount: Scalars['Int']['output'];
31786
+ /**
31787
+ * The keys still to translate, in key order. Built only when selected: a caller
31788
+ * that needs only the counts leaves it out (BOFF-17795).
31789
+ */
31372
31790
  missingKeys: Array<Scalars['String']['output']>;
31373
31791
  /** How many keys have a translation in this language waiting for review. */
31374
31792
  pendingReviewKeys: Scalars['Int']['output'];
@@ -31379,7 +31797,18 @@ export type TranslationFilterInput = {
31379
31797
  keyId?: InputMaybe<Scalars['String']['input']>;
31380
31798
  languageCode?: InputMaybe<Scalars['String']['input']>;
31381
31799
  search?: InputMaybe<Scalars['String']['input']>;
31800
+ /**
31801
+ * Honoured for i18n admins: super admins, services, and holders of the i18n
31802
+ * review permission (`i18n-translation` `review`). Everyone else gets
31803
+ * PUBLISHED rows whatever is asked for. Without it, every caller gets
31804
+ * PUBLISHED rows (BOFF-17795).
31805
+ */
31382
31806
  status?: InputMaybe<TranslationStatus>;
31807
+ /**
31808
+ * Ignored: the tenant comes from the caller's context. A caller with a tenant
31809
+ * sees its own translations and the shared ones it has not replaced; a caller
31810
+ * without one sees the shared ones (BOFF-17795).
31811
+ */
31383
31812
  tenantId?: InputMaybe<Scalars['String']['input']>;
31384
31813
  };
31385
31814
  export type TranslationKey = {
@@ -32060,12 +32489,24 @@ export type UpdateKnowledgeBaseArticleInput = {
32060
32489
  title?: InputMaybe<Scalars['String']['input']>;
32061
32490
  };
32062
32491
  export type UpdateLanguageInput = {
32492
+ /**
32493
+ * How the language writes an amount of money: 1234567.89 written its way with
32494
+ * `¤` where the currency symbol goes, for example `¤1,234,567.89` or
32495
+ * `1.234.567,89 ¤`. Null clears it and follows the language's own convention (BOFF-17795).
32496
+ */
32497
+ currencyFormat?: InputMaybe<Scalars['String']['input']>;
32063
32498
  dateFormat?: InputMaybe<Scalars['String']['input']>;
32064
32499
  direction?: InputMaybe<LanguageDirection>;
32065
32500
  fallbackCode?: InputMaybe<Scalars['String']['input']>;
32066
32501
  metadata?: InputMaybe<Scalars['JSON']['input']>;
32067
32502
  name?: InputMaybe<Scalars['String']['input']>;
32068
32503
  nativeName?: InputMaybe<Scalars['String']['input']>;
32504
+ /**
32505
+ * How the language writes numbers: 1234567.89 written its way, for example
32506
+ * `1,234,567.89`, `1.234.567,89`, `1 234 567,89` or `12,34,567.89`. Null clears it and
32507
+ * follows the language's own convention (BOFF-17795).
32508
+ */
32509
+ numberFormat?: InputMaybe<Scalars['String']['input']>;
32069
32510
  pluralRules?: InputMaybe<Scalars['JSON']['input']>;
32070
32511
  region?: InputMaybe<Scalars['String']['input']>;
32071
32512
  status?: InputMaybe<LanguageStatus>;
@@ -32203,6 +32644,8 @@ export type UpdatePayoutAccountInput = {
32203
32644
  providerPreference?: InputMaybe<PayoutProvider>;
32204
32645
  routingNumber?: InputMaybe<Scalars['String']['input']>;
32205
32646
  swift?: InputMaybe<Scalars['String']['input']>;
32647
+ taxFormType?: InputMaybe<Scalars['String']['input']>;
32648
+ taxFormUrl?: InputMaybe<Scalars['String']['input']>;
32206
32649
  upiId?: InputMaybe<Scalars['String']['input']>;
32207
32650
  walletHandle?: InputMaybe<Scalars['String']['input']>;
32208
32651
  walletProvider?: InputMaybe<Scalars['String']['input']>;
@@ -32526,13 +32969,10 @@ export type UpdateSubscriberInput = {
32526
32969
  metadata?: InputMaybe<Scalars['JSON']['input']>;
32527
32970
  userId?: InputMaybe<Scalars['String']['input']>;
32528
32971
  };
32529
- export type UpdateSubscriptionEntitlementInput = {
32530
- accessType?: InputMaybe<EntitlementAccessType>;
32531
- discountPercentage?: InputMaybe<Scalars['Float']['input']>;
32532
- };
32533
32972
  export type UpdateSubscriptionInput = {
32534
- planId?: InputMaybe<Scalars['ID']['input']>;
32535
- planName?: InputMaybe<Scalars['String']['input']>;
32973
+ applicationId?: InputMaybe<Scalars['ID']['input']>;
32974
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
32975
+ tier?: InputMaybe<DeveloperOrgTier>;
32536
32976
  };
32537
32977
  export type UpdateSubscriptionSeatsInput = {
32538
32978
  /** Billing account that owns this subscription. */