@burdenoff/microfe-botmanor 2026.1203.4 → 2026.1203.6

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.
Files changed (135) hide show
  1. package/dist/botlit/BotlitRoutes.js +0 -1
  2. package/dist/botlit/BotlitRoutes.js.map +1 -1
  3. package/dist/botlit/components/A2ACardVerificationCard.js +0 -1
  4. package/dist/botlit/components/A2ACardVerificationCard.js.map +1 -1
  5. package/dist/botlit/components/AgentA2APanel.js +20 -21
  6. package/dist/botlit/components/AgentA2APanel.js.map +1 -1
  7. package/dist/botlit/components/AgentApprovalPanel.js +22 -23
  8. package/dist/botlit/components/AgentApprovalPanel.js.map +1 -1
  9. package/dist/botlit/components/AgentBindingsPanel.js +66 -68
  10. package/dist/botlit/components/AgentBindingsPanel.js.map +1 -1
  11. package/dist/botlit/components/AiOperationsPanel.js +34 -35
  12. package/dist/botlit/components/AiOperationsPanel.js.map +1 -1
  13. package/dist/botlit/components/BotAgentsPanel.js +59 -60
  14. package/dist/botlit/components/BotAgentsPanel.js.map +1 -1
  15. package/dist/botlit/components/BotVersionHistoryPanel.js +19 -20
  16. package/dist/botlit/components/BotVersionHistoryPanel.js.map +1 -1
  17. package/dist/botlit/components/BucketDialogs.js +0 -1
  18. package/dist/botlit/components/BucketDialogs.js.map +1 -1
  19. package/dist/botlit/components/ChannelRoutesPanel.js +82 -84
  20. package/dist/botlit/components/ChannelRoutesPanel.js.map +1 -1
  21. package/dist/botlit/components/CreateChannelRouteDialog.js +4 -5
  22. package/dist/botlit/components/CreateChannelRouteDialog.js.map +1 -1
  23. package/dist/botlit/components/DescribeBotDialog.js +0 -1
  24. package/dist/botlit/components/DescribeBotDialog.js.map +1 -1
  25. package/dist/botlit/components/GettingStartedChecklist.js +9 -10
  26. package/dist/botlit/components/GettingStartedChecklist.js.map +1 -1
  27. package/dist/botlit/components/HandoffConfigPanel.js +0 -1
  28. package/dist/botlit/components/HandoffConfigPanel.js.map +1 -1
  29. package/dist/botlit/components/RetentionStatusPanel.js +10 -12
  30. package/dist/botlit/components/RetentionStatusPanel.js.map +1 -1
  31. package/dist/botlit/components/StewardApprovalsInbox.js +201 -212
  32. package/dist/botlit/components/StewardApprovalsInbox.js.map +1 -1
  33. package/dist/botlit/components/StoreOwnPackagesCard.js +21 -22
  34. package/dist/botlit/components/StoreOwnPackagesCard.js.map +1 -1
  35. package/dist/botlit/components/StorePackageDraftCard.js +38 -39
  36. package/dist/botlit/components/StorePackageDraftCard.js.map +1 -1
  37. package/dist/botlit/components/StorePolicyBundleCard.js +27 -29
  38. package/dist/botlit/components/StorePolicyBundleCard.js.map +1 -1
  39. package/dist/botlit/components/StoreSubmissionsCard.js +64 -65
  40. package/dist/botlit/components/StoreSubmissionsCard.js.map +1 -1
  41. package/dist/botlit/components/VersionHistoryPanel.js +18 -19
  42. package/dist/botlit/components/VersionHistoryPanel.js.map +1 -1
  43. package/dist/botlit/hooks/internal/workspaceGateway.d.ts +6 -0
  44. package/dist/botlit/hooks/internal/workspaceGateway.js +40 -40
  45. package/dist/botlit/hooks/internal/workspaceGateway.js.map +1 -1
  46. package/dist/botlit/hooks/useChannels.js +2 -0
  47. package/dist/botlit/hooks/useChannels.js.map +1 -1
  48. package/dist/botlit/hooks/useToolApprovals.d.ts +8 -3
  49. package/dist/botlit/hooks/useToolApprovals.js +68 -73
  50. package/dist/botlit/hooks/useToolApprovals.js.map +1 -1
  51. package/dist/botlit/pages/A2AAgentDetailPage.js +331 -332
  52. package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
  53. package/dist/botlit/pages/A2ARegistryPage.js +39 -41
  54. package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
  55. package/dist/botlit/pages/AgentApprovalsPage.js +24 -25
  56. package/dist/botlit/pages/AgentApprovalsPage.js.map +1 -1
  57. package/dist/botlit/pages/AgentBuilderPage.js +470 -471
  58. package/dist/botlit/pages/AgentBuilderPage.js.map +1 -1
  59. package/dist/botlit/pages/AgentDetailPage.js +68 -69
  60. package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
  61. package/dist/botlit/pages/AgentsListPage.js +277 -278
  62. package/dist/botlit/pages/AgentsListPage.js.map +1 -1
  63. package/dist/botlit/pages/AiOperationsPage.js +44 -46
  64. package/dist/botlit/pages/AiOperationsPage.js.map +1 -1
  65. package/dist/botlit/pages/BotChannelsTab.js +354 -356
  66. package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
  67. package/dist/botlit/pages/BotDetailPage.js +138 -139
  68. package/dist/botlit/pages/BotDetailPage.js.map +1 -1
  69. package/dist/botlit/pages/BotWorkflowTab.js +23 -24
  70. package/dist/botlit/pages/BotWorkflowTab.js.map +1 -1
  71. package/dist/botlit/pages/BotsListPage.js +32 -33
  72. package/dist/botlit/pages/BotsListPage.js.map +1 -1
  73. package/dist/botlit/pages/BucketDetailPage.js +110 -112
  74. package/dist/botlit/pages/BucketDetailPage.js.map +1 -1
  75. package/dist/botlit/pages/BucketsPage.js +115 -117
  76. package/dist/botlit/pages/BucketsPage.js.map +1 -1
  77. package/dist/botlit/pages/ChannelDetailPage.js +105 -107
  78. package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
  79. package/dist/botlit/pages/ChannelsPage.js +38 -40
  80. package/dist/botlit/pages/ChannelsPage.js.map +1 -1
  81. package/dist/botlit/pages/DashboardPage.js +26 -27
  82. package/dist/botlit/pages/DashboardPage.js.map +1 -1
  83. package/dist/botlit/pages/ExecutionDetailPage.js +70 -71
  84. package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -1
  85. package/dist/botlit/pages/ExecutionsPage.js +219 -220
  86. package/dist/botlit/pages/ExecutionsPage.js.map +1 -1
  87. package/dist/botlit/pages/HandoffsPage.js +208 -210
  88. package/dist/botlit/pages/HandoffsPage.js.map +1 -1
  89. package/dist/botlit/pages/InstalledPackagesPage.js +179 -181
  90. package/dist/botlit/pages/InstalledPackagesPage.js.map +1 -1
  91. package/dist/botlit/pages/KnowledgeBaseDetailPage.js +194 -195
  92. package/dist/botlit/pages/KnowledgeBaseDetailPage.js.map +1 -1
  93. package/dist/botlit/pages/KnowledgeBasesPage.js +38 -39
  94. package/dist/botlit/pages/KnowledgeBasesPage.js.map +1 -1
  95. package/dist/botlit/pages/MCPServerDetailPage.js +178 -180
  96. package/dist/botlit/pages/MCPServerDetailPage.js.map +1 -1
  97. package/dist/botlit/pages/MCPServersPage.js +42 -43
  98. package/dist/botlit/pages/MCPServersPage.js.map +1 -1
  99. package/dist/botlit/pages/PoliciesPage.js +77 -78
  100. package/dist/botlit/pages/PoliciesPage.js.map +1 -1
  101. package/dist/botlit/pages/PolicyDetailPage.js +517 -519
  102. package/dist/botlit/pages/PolicyDetailPage.js.map +1 -1
  103. package/dist/botlit/pages/PromptStudioPage.js +81 -83
  104. package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
  105. package/dist/botlit/pages/PromptTemplateDetailPage.js +137 -139
  106. package/dist/botlit/pages/PromptTemplateDetailPage.js.map +1 -1
  107. package/dist/botlit/pages/PromptTemplatesPage.js +28 -30
  108. package/dist/botlit/pages/PromptTemplatesPage.js.map +1 -1
  109. package/dist/botlit/pages/RetrievalProfileDetailPage.js +64 -65
  110. package/dist/botlit/pages/RetrievalProfileDetailPage.js.map +1 -1
  111. package/dist/botlit/pages/RetrievalProfilesPage.js +59 -60
  112. package/dist/botlit/pages/RetrievalProfilesPage.js.map +1 -1
  113. package/dist/botlit/pages/SettingsPage.js +30 -31
  114. package/dist/botlit/pages/SettingsPage.js.map +1 -1
  115. package/dist/botlit/pages/SkillDetailPage.js +205 -207
  116. package/dist/botlit/pages/SkillDetailPage.js.map +1 -1
  117. package/dist/botlit/pages/SkillsPage.js +68 -69
  118. package/dist/botlit/pages/SkillsPage.js.map +1 -1
  119. package/dist/botlit/pages/StorePackageDetailPage.js +39 -41
  120. package/dist/botlit/pages/StorePackageDetailPage.js.map +1 -1
  121. package/dist/botlit/pages/StorePage.js +169 -171
  122. package/dist/botlit/pages/StorePage.js.map +1 -1
  123. package/dist/botlit/pages/ToolApprovalsPage.js +61 -62
  124. package/dist/botlit/pages/ToolApprovalsPage.js.map +1 -1
  125. package/dist/generated/global-types.d.ts +540 -171
  126. package/dist/generated/global-types.js.map +1 -1
  127. package/dist/generated/wspace-operations.d.ts +38 -4
  128. package/dist/generated/wspace-operations.js.map +1 -1
  129. package/dist/generated/wspace-types.d.ts +9539 -686
  130. package/dist/generated/wspace-types.js.map +1 -1
  131. package/dist/index.js +0 -1
  132. package/package.json +4 -1
  133. package/dist/botlit/hooks/index.js +0 -21
  134. package/dist/botlit/index.js +0 -12
  135. package/dist/botlit/permissions/index.js +0 -4
@@ -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'];
@@ -1126,6 +1132,7 @@ export type AppInstallation = {
1126
1132
  scope: InstallationScope;
1127
1133
  status: InstallationStatus;
1128
1134
  statusReason?: Maybe<Scalars['String']['output']>;
1135
+ storeInstallationId?: Maybe<Scalars['ID']['output']>;
1129
1136
  subscriptionId?: Maybe<Scalars['ID']['output']>;
1130
1137
  suspendedAt?: Maybe<Scalars['DateTime']['output']>;
1131
1138
  tenantId: Scalars['ID']['output'];
@@ -1375,11 +1382,15 @@ export type AppleReauthInput = {
1375
1382
  authorizationCode: Scalars['String']['input'];
1376
1383
  identityToken: Scalars['String']['input'];
1377
1384
  nonce: Scalars['String']['input'];
1385
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
1378
1386
  };
1379
1387
  /**
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.
1388
+ * Credentials from Sign in with Apple: native (ASAuthorization) in the iOS app or
1389
+ * Sign in with Apple JS on the web. The client gives Apple the SHA-256 hex digest
1390
+ * of nonce and sends the raw nonce here. givenName and familyName are only
1391
+ * present on the first sign-in. redirectUri is the return URL a web page gave
1392
+ * Apple; it must be one registered for the web Services ID. Native sign-ins
1393
+ * leave it out.
1383
1394
  */
1384
1395
  export type AppleSignInInput = {
1385
1396
  authorizationCode: Scalars['String']['input'];
@@ -1387,6 +1398,7 @@ export type AppleSignInInput = {
1387
1398
  givenName?: InputMaybe<Scalars['String']['input']>;
1388
1399
  identityToken: Scalars['String']['input'];
1389
1400
  nonce: Scalars['String']['input'];
1401
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
1390
1402
  };
1391
1403
  /** Application type - represents a developer application or integration */
1392
1404
  export type Application = {
@@ -2095,11 +2107,6 @@ export type BillingDiscount = {
2095
2107
  validUntil?: Maybe<Scalars['DateTime']['output']>;
2096
2108
  value: Scalars['Float']['output'];
2097
2109
  };
2098
- export declare enum BillingInterval {
2099
- Monthly = "MONTHLY",
2100
- Quarterly = "QUARTERLY",
2101
- Yearly = "YEARLY"
2102
- }
2103
2110
  export type BillingOrder = {
2104
2111
  __typename?: 'BillingOrder';
2105
2112
  billingAccountId?: Maybe<Scalars['String']['output']>;
@@ -2163,6 +2170,15 @@ export type BillingPaginationInput = {
2163
2170
  /** Page number for offset-based pagination */
2164
2171
  page?: InputMaybe<Scalars['Int']['input']>;
2165
2172
  };
2173
+ /** The channel a plan is bought and billed through. */
2174
+ export declare enum BillingPurchaseChannel {
2175
+ /** The App Store (Apple in-app purchase). Only the customer can cancel it, on their device. */
2176
+ AppleIap = "APPLE_IAP",
2177
+ /** Google Play billing. Only the customer can cancel it, on their device. */
2178
+ GooglePlay = "GOOGLE_PLAY",
2179
+ /** Web checkout: Razorpay, Stripe, credits or any non-store payment. Billing can cancel it. */
2180
+ Web = "WEB"
2181
+ }
2166
2182
  export type BillingSubscription = {
2167
2183
  __typename?: 'BillingSubscription';
2168
2184
  /**
@@ -2174,6 +2190,13 @@ export type BillingSubscription = {
2174
2190
  addonSubscriptions: Array<AddonSubscription>;
2175
2191
  assignedWorkspaceId?: Maybe<Scalars['ID']['output']>;
2176
2192
  autoRenewal?: Maybe<Scalars['Boolean']['output']>;
2193
+ /**
2194
+ * What the customer pays per billing period when an app store bills the
2195
+ * subscription (App Store / Google Play): the amount and currency of its
2196
+ * latest successful store charge, in the customer's store currency. Null for
2197
+ * subscriptions billing charges itself; their price is the plan's price.
2198
+ */
2199
+ billedPrice?: Maybe<SubscriptionBilledPrice>;
2177
2200
  billingAccount?: Maybe<BillingAccount>;
2178
2201
  billingAccountId: Scalars['ID']['output'];
2179
2202
  bonusRenewalsGranted: Scalars['Int']['output'];
@@ -2186,6 +2209,12 @@ export type BillingSubscription = {
2186
2209
  endDate: Scalars['DateTime']['output'];
2187
2210
  history: Array<SubscriptionHistory>;
2188
2211
  id: Scalars['ID']['output'];
2212
+ /**
2213
+ * Bought with a store sandbox / test purchase (App Review, testers, alpha).
2214
+ * Not revenue; a sandbox subscription renews on Apple's or Google's
2215
+ * accelerated test schedule.
2216
+ */
2217
+ isTestPurchase: Scalars['Boolean']['output'];
2189
2218
  lastBillingDate?: Maybe<Scalars['DateTime']['output']>;
2190
2219
  lastRenewalDate?: Maybe<Scalars['DateTime']['output']>;
2191
2220
  lastSeatChangeAt?: Maybe<Scalars['DateTime']['output']>;
@@ -4122,6 +4151,15 @@ export type CreateBillingAccountInput = {
4122
4151
  metadata?: InputMaybe<Scalars['JSON']['input']>;
4123
4152
  /** Name of the billing account */
4124
4153
  name: Scalars['String']['input'];
4154
+ /**
4155
+ * Human user id that receives the auto-cloned Billing Admin role (BOFF-2657).
4156
+ * Required for service actors (signup provisioning): without it the role would
4157
+ * land on the service identity and the real user would be locked out of their
4158
+ * billing. Superadmins may also set it to provision on behalf of a user.
4159
+ * Regular users cannot set it to another actor: they always own the account
4160
+ * themselves.
4161
+ */
4162
+ ownerActorId?: InputMaybe<Scalars['String']['input']>;
4125
4163
  /** Tax ID / VAT number (optional) */
4126
4164
  taxId?: InputMaybe<Scalars['String']['input']>;
4127
4165
  /** Workspace ID to auto-assign workspace-scoped free-plan quotas (optional, 1-workspace orgs only) */
@@ -4318,6 +4356,11 @@ export type CreateEmbedTokenInput = {
4318
4356
  label: Scalars['String']['input'];
4319
4357
  /** Sessions the token can open in total: 1 to 5000. Defaults to 500. */
4320
4358
  maxExchanges?: InputMaybe<Scalars['Int']['input']>;
4359
+ /**
4360
+ * Steward runs the token's sessions may start per day: 1 to 500. Defaults to 20.
4361
+ * The token sits in the third-party page, so this caps what a copied token can spend.
4362
+ */
4363
+ maxRunsPerDay?: InputMaybe<Scalars['Int']['input']>;
4321
4364
  product: EmbedProduct;
4322
4365
  /** Pin the token to one resource, for example a Steward id. */
4323
4366
  resourceId?: InputMaybe<Scalars['ID']['input']>;
@@ -4384,10 +4427,27 @@ export type CreateI18nProductInput = {
4384
4427
  name: Scalars['String']['input'];
4385
4428
  };
4386
4429
  export type CreateImportJobInput = {
4430
+ /**
4431
+ * The file itself (BOFF-17795): text for JSON, CSV, PO and XLIFF, base64 for
4432
+ * XLSX. At most 5 MB (after decoding) and 50,000 rows. The service runs the
4433
+ * job: only keys the product has are filled, and each row's outcome is
4434
+ * counted on the job.
4435
+ */
4436
+ content?: InputMaybe<Scalars['String']['input']>;
4387
4437
  fileName: Scalars['String']['input'];
4438
+ /** Ignored when `content` is given: the size is measured from it. */
4388
4439
  fileSize: Scalars['Int']['input'];
4440
+ /** Not read by the service. A job without `content` fails with a message. */
4389
4441
  fileUrl?: InputMaybe<Scalars['String']['input']>;
4390
4442
  format: ImportJobFormat;
4443
+ /** The language the file's words are in. Required with `content` (BOFF-17795). */
4444
+ languageCode?: InputMaybe<Scalars['String']['input']>;
4445
+ /**
4446
+ * `overwriteExisting` (boolean, default false): replace translations that
4447
+ * exist. `publish` (boolean, default false): land the words PUBLISHED instead
4448
+ * of PENDING_REVIEW, honoured for i18n admins only. A live (PUBLISHED) word is
4449
+ * replaced only by a publishing import (BOFF-17795).
4450
+ */
4391
4451
  options?: InputMaybe<Scalars['JSON']['input']>;
4392
4452
  productId: Scalars['String']['input'];
4393
4453
  };
@@ -4513,14 +4573,32 @@ export type CreateKnowledgeBaseArticleInput = {
4513
4573
  };
4514
4574
  export type CreateLanguageInput = {
4515
4575
  code: Scalars['String']['input'];
4576
+ /**
4577
+ * How the language writes an amount of money: 1234567.89 written its way with
4578
+ * `¤` where the currency symbol goes, for example `¤1,234,567.89` or
4579
+ * `1.234.567,89 ¤`. Null follows the language's own convention (BOFF-17795).
4580
+ */
4581
+ currencyFormat?: InputMaybe<Scalars['String']['input']>;
4516
4582
  dateFormat?: InputMaybe<Scalars['String']['input']>;
4517
4583
  direction?: InputMaybe<LanguageDirection>;
4518
4584
  fallbackCode?: InputMaybe<Scalars['String']['input']>;
4519
4585
  metadata?: InputMaybe<Scalars['JSON']['input']>;
4520
4586
  name: Scalars['String']['input'];
4521
4587
  nativeName: Scalars['String']['input'];
4588
+ /**
4589
+ * How the language writes numbers: 1234567.89 written its way, for example
4590
+ * `1,234,567.89`, `1.234.567,89`, `1 234 567,89` or `12,34,567.89`. Null
4591
+ * follows the language's own convention (BOFF-17795).
4592
+ */
4593
+ numberFormat?: InputMaybe<Scalars['String']['input']>;
4522
4594
  pluralRules?: InputMaybe<Scalars['JSON']['input']>;
4523
4595
  region?: InputMaybe<Scalars['String']['input']>;
4596
+ /**
4597
+ * ACTIVE (the default) offers the language to everyone at once. DRAFT keeps it
4598
+ * unpublished while its words are translated. DEPRECATED is refused
4599
+ * (BOFF-17795).
4600
+ */
4601
+ status?: InputMaybe<LanguageStatus>;
4524
4602
  timeFormat?: InputMaybe<Scalars['String']['input']>;
4525
4603
  };
4526
4604
  export type CreateNewsletterInput = {
@@ -5129,16 +5207,11 @@ export type CreateStoreOrderInput = {
5129
5207
  total?: InputMaybe<Scalars['Float']['input']>;
5130
5208
  };
5131
5209
  export type CreateSubscriptionInput = {
5132
- amount: Scalars['Float']['input'];
5133
5210
  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']>;
5211
+ billingSubscriptionId: Scalars['ID']['input'];
5212
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
5139
5213
  subscriptionType: Scalars['String']['input'];
5140
5214
  tier?: InputMaybe<DeveloperOrgTier>;
5141
- trialDays?: InputMaybe<Scalars['Int']['input']>;
5142
5215
  };
5143
5216
  export type CreateSupportMessageInput = {
5144
5217
  attachments?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -5872,15 +5945,6 @@ export declare enum DevPortalPricingModel {
5872
5945
  Subscription = "SUBSCRIPTION",
5873
5946
  UsageBased = "USAGE_BASED"
5874
5947
  }
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
5948
  /**
5885
5949
  * Developer earnings dashboard. Order amounts in different currencies are never
5886
5950
  * added together: byCurrency has one entry per order currency. totalEarnings and
@@ -6210,43 +6274,24 @@ export type DeveloperOrgSaleEdge = {
6210
6274
  cursor: Scalars['String']['output'];
6211
6275
  node: DeveloperOrgSale;
6212
6276
  };
6213
- /** Developer Organization Subscription - platform tier or app subscriptions */
6277
+ /**
6278
+ * Developer Organization Subscription - domain-context wrapper over a canonical
6279
+ * global-billing-svc BillingSubscription.
6280
+ */
6214
6281
  export type DeveloperOrgSubscription = {
6215
6282
  __typename?: 'DeveloperOrgSubscription';
6216
- amount: Scalars['Float']['output'];
6217
6283
  applicationId?: Maybe<Scalars['ID']['output']>;
6218
- cancelAtPeriodEnd: Scalars['Boolean']['output'];
6219
- cancelReason?: Maybe<Scalars['String']['output']>;
6220
- cancelledAt?: Maybe<Scalars['DateTime']['output']>;
6284
+ billingSubscription?: Maybe<BillingSubscription>;
6285
+ billingSubscriptionId: Scalars['ID']['output'];
6221
6286
  context?: Maybe<Scalars['JSON']['output']>;
6222
- couponCode?: Maybe<Scalars['String']['output']>;
6223
6287
  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
6288
  id: Scalars['ID']['output'];
6230
- interval: BillingInterval;
6231
6289
  metadata?: Maybe<Scalars['JSON']['output']>;
6232
- nextInvoiceAmount?: Maybe<Scalars['Float']['output']>;
6233
- nextInvoiceAt?: Maybe<Scalars['DateTime']['output']>;
6234
6290
  organization: DeveloperOrganization;
6235
6291
  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
6292
  subscriptionType: Scalars['String']['output'];
6244
6293
  tier?: Maybe<DeveloperOrgTier>;
6245
- trialEnd?: Maybe<Scalars['DateTime']['output']>;
6246
- trialStart?: Maybe<Scalars['DateTime']['output']>;
6247
6294
  updatedAt: Scalars['DateTime']['output'];
6248
- usageLimit?: Maybe<Scalars['Int']['output']>;
6249
- usageQuantity?: Maybe<Scalars['Int']['output']>;
6250
6295
  };
6251
6296
  export type DeveloperOrgSubscriptionConnection = {
6252
6297
  __typename?: 'DeveloperOrgSubscriptionConnection';
@@ -6472,14 +6517,6 @@ export declare enum DevportalExportStatus {
6472
6517
  /** Job is currently materialising the export payload. */
6473
6518
  Running = "RUNNING"
6474
6519
  }
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
6520
  export declare enum DimensionUnit {
6484
6521
  Centimeter = "CENTIMETER",
6485
6522
  Inch = "INCH",
@@ -6794,6 +6831,19 @@ export declare enum EmbedScope {
6794
6831
  /** See a Steward, its runs and its Daybook. */
6795
6832
  StewardView = "STEWARD_VIEW"
6796
6833
  }
6834
+ /**
6835
+ * A live embed session, resolved by the gateway on each request the embedded
6836
+ * frame makes. The embed acts with the issuing admin's permissions, narrowed by
6837
+ * the gateway to the operations the session's scopes allow.
6838
+ */
6839
+ export type EmbedSessionActor = {
6840
+ __typename?: 'EmbedSessionActor';
6841
+ claims: EmbedSessionClaims;
6842
+ /** The workspace admin who issued the token, still a workspace admin now. */
6843
+ issuedBy: Scalars['ID']['output'];
6844
+ /** The embed token the session was opened with. */
6845
+ tokenId: Scalars['ID']['output'];
6846
+ };
6797
6847
  /** What an embed session is allowed to do and where. */
6798
6848
  export type EmbedSessionClaims = {
6799
6849
  __typename?: 'EmbedSessionClaims';
@@ -6821,6 +6871,8 @@ export type EmbedToken = {
6821
6871
  id: Scalars['ID']['output'];
6822
6872
  label: Scalars['String']['output'];
6823
6873
  lastUsedAt?: Maybe<Scalars['DateTime']['output']>;
6874
+ /** Steward runs the token's sessions may start per day. */
6875
+ maxRunsPerDay: Scalars['Int']['output'];
6824
6876
  product: EmbedProduct;
6825
6877
  /** How many sessions the token can still open. */
6826
6878
  remainingExchanges: Scalars['Int']['output'];
@@ -8383,6 +8435,12 @@ export type ImportJob = {
8383
8435
  completedAt?: Maybe<Scalars['DateTime']['output']>;
8384
8436
  createdAt: Scalars['DateTime']['output'];
8385
8437
  createdBy: Scalars['String']['output'];
8438
+ /**
8439
+ * The job's errors (BOFF-17795): a list of { key?, error, i18nKey }. `key` names
8440
+ * the row's translation key (never its value), `error` is in English and
8441
+ * `i18nKey` lets a client show it in its own language. At most the first 100
8442
+ * row errors are kept; `failedKeys` counts them all.
8443
+ */
8386
8444
  errors?: Maybe<Scalars['JSON']['output']>;
8387
8445
  estimatedDuration?: Maybe<Scalars['Int']['output']>;
8388
8446
  failedKeys: Scalars['Int']['output'];
@@ -8391,6 +8449,8 @@ export type ImportJob = {
8391
8449
  fileUrl?: Maybe<Scalars['String']['output']>;
8392
8450
  format: ImportJobFormat;
8393
8451
  id: Scalars['ID']['output'];
8452
+ /** The language the file's words are in (BOFF-17795). */
8453
+ languageCode?: Maybe<Scalars['String']['output']>;
8394
8454
  options?: Maybe<Scalars['JSON']['output']>;
8395
8455
  processedKeys: Scalars['Int']['output'];
8396
8456
  productId: Scalars['String']['output'];
@@ -9435,6 +9495,12 @@ export type Language = {
9435
9495
  code: Scalars['String']['output'];
9436
9496
  createdAt: Scalars['DateTime']['output'];
9437
9497
  createdBy?: Maybe<Scalars['String']['output']>;
9498
+ /**
9499
+ * How the language writes an amount of money: 1234567.89 written its way with
9500
+ * `¤` where the currency symbol goes, for example `¤1,234,567.89` or
9501
+ * `1.234.567,89 ¤`. Null follows the language's own convention (BOFF-17795).
9502
+ */
9503
+ currencyFormat?: Maybe<Scalars['String']['output']>;
9438
9504
  dateFormat: Scalars['String']['output'];
9439
9505
  direction: LanguageDirection;
9440
9506
  fallbackCode?: Maybe<Scalars['String']['output']>;
@@ -9443,6 +9509,12 @@ export type Language = {
9443
9509
  metadata?: Maybe<Scalars['JSON']['output']>;
9444
9510
  name: Scalars['String']['output'];
9445
9511
  nativeName: Scalars['String']['output'];
9512
+ /**
9513
+ * How the language writes numbers: 1234567.89 written its way, for example
9514
+ * `1,234,567.89`, `1.234.567,89`, `1 234 567,89` or `12,34,567.89`. Null
9515
+ * follows the language's own convention (BOFF-17795).
9516
+ */
9517
+ numberFormat?: Maybe<Scalars['String']['output']>;
9446
9518
  pluralRules?: Maybe<Scalars['JSON']['output']>;
9447
9519
  region?: Maybe<Scalars['String']['output']>;
9448
9520
  status: LanguageStatus;
@@ -9997,8 +10069,6 @@ export type Mutation = {
9997
10069
  /** Apply a billing discount code */
9998
10070
  applyBillingDiscount: BillingDiscount;
9999
10071
  applySLAPolicy: SupportTicket;
10000
- /** Apply a coupon to a subscription */
10001
- applySubscriptionCoupon: DeveloperOrgSubscription;
10002
10072
  approveApplication: Application;
10003
10073
  /**
10004
10074
  * Platform admin only: approve a pending_review version, making it live in the store.
@@ -10119,15 +10189,11 @@ export type Mutation = {
10119
10189
  authenticateApple: AuthResult;
10120
10190
  /** Authenticate using HTTP Basic Auth (base64 encoded username:password) */
10121
10191
  authenticateBasicAuth: AuthResult;
10122
- /** Authenticate using HTTP Digest credentials */
10123
- authenticateDigest: AuthResult;
10124
10192
  /** Authenticate with Kerberos SPNEGO token */
10125
10193
  authenticateKerberos: AuthResult;
10126
10194
  /** Authenticate using LDAP credentials */
10127
10195
  authenticateLDAP: AuthResult;
10128
10196
  authenticateMagicLink: AuthResult;
10129
- /** Complete NTLM authentication with Type 3 message */
10130
- authenticateNTLM: AuthResult;
10131
10197
  authenticateOAuth: AuthResult;
10132
10198
  /** Complete OIDC SSO authentication by exchanging authorization code */
10133
10199
  authenticateOIDC: AuthPayload;
@@ -10200,7 +10266,7 @@ export type Mutation = {
10200
10266
  cancelDelivery: Scalars['Boolean']['output'];
10201
10267
  /** Cancel an organization invitation */
10202
10268
  cancelDeveloperOrgInvitation: Scalars['Boolean']['output'];
10203
- /** Cancel a subscription */
10269
+ /** Cancel a developer organization subscription by delegating to global-billing-svc */
10204
10270
  cancelDeveloperOrgSubscription: DeveloperOrgSubscription;
10205
10271
  cancelImportJob: ImportJob;
10206
10272
  cancelNewsletter: Newsletter;
@@ -10239,6 +10305,14 @@ export type Mutation = {
10239
10305
  checkPushMFAStatus: PushMfaStatus;
10240
10306
  /** Checkout and create an order from the cart */
10241
10307
  checkout: CheckoutPayload;
10308
+ /**
10309
+ * Spends one run of the session's token's daily budget before the gateway starts
10310
+ * a Steward run for an embed, and returns the session as embedSessionActor does.
10311
+ * Refused with EMBED_RUN_LIMIT once the budget is spent, EMBED_SCOPE_DENIED when
10312
+ * the token lacks STEWARD_RUN, and EMBED_SESSION_INVALID as embedSessionActor.
10313
+ * Gateway (service) actors only.
10314
+ */
10315
+ claimEmbedRun: EmbedSessionActor;
10242
10316
  /** Clear all items from the cart */
10243
10317
  clearCart: CartPayload;
10244
10318
  cloneSchedule: ScheduledJob;
@@ -10305,7 +10379,7 @@ export type Mutation = {
10305
10379
  createCoupon: Coupon;
10306
10380
  /** Create a credit note (platform admin or service actor only) */
10307
10381
  createCreditNote: CreditNote;
10308
- /** Create a subscription */
10382
+ /** Link a billing-owned BillingSubscription to a developer organization with devportal context */
10309
10383
  createDeveloperOrgSubscription: DeveloperOrgSubscription;
10310
10384
  /** Create a new developer organization */
10311
10385
  createDeveloperOrganization: DeveloperOrganization;
@@ -10452,8 +10526,6 @@ export type Mutation = {
10452
10526
  */
10453
10527
  createStoreOrder: StoreOrder;
10454
10528
  createSubprocessor: Subprocessor;
10455
- /** Link a subscription plan to a store product granting FREE_ACCESS or DISCOUNT. */
10456
- createSubscriptionEntitlement: StoreSubscriptionEntitlement;
10457
10529
  createSupportMessage: SupportMessage;
10458
10530
  createSupportTicket: SupportTicket;
10459
10531
  /** Create a tax rate */
@@ -10640,8 +10712,6 @@ export type Mutation = {
10640
10712
  deleteShippingAddress: Scalars['Boolean']['output'];
10641
10713
  deleteStore: Scalars['Boolean']['output'];
10642
10714
  deleteSubscriber: Scalars['Boolean']['output'];
10643
- /** Remove a plan→product subscription entitlement. */
10644
- deleteSubscriptionEntitlement: Scalars['Boolean']['output'];
10645
10715
  deleteSupportMessage: Scalars['Boolean']['output'];
10646
10716
  deleteSupportTicket: Scalars['Boolean']['output'];
10647
10717
  /** Delete a tax rate */
@@ -10930,6 +11000,17 @@ export type Mutation = {
10930
11000
  * GROUNDING_INSUFFICIENT when no article or FAQ covers the ticket.
10931
11001
  */
10932
11002
  globalDraftTicketReply: SupportMessage;
11003
+ /**
11004
+ * Bounded batch scoring of active tenants invoked nightly by global-scheduler-svc
11005
+ * (BOFF-3658). Classified REVERSIBLE_WRITE: strictly recommend-only.
11006
+ */
11007
+ globalScoreActiveTenantsHealth: TenantHealthBatchResult;
11008
+ /**
11009
+ * Compute and record a tenant's health & lifecycle score from deterministic SQL
11010
+ * and internal-gateway aggregates (BOFF-3658). Classified REVERSIBLE_WRITE:
11011
+ * strictly recommend-only and never mutates tenant, membership, or billing state.
11012
+ */
11013
+ globalScoreTenantHealth: TenantHealthScore;
10933
11014
  /**
10934
11015
  * Send a reply draft to the customer as an agent reply, optionally edited.
10935
11016
  * This is the only way a draft reaches a customer.
@@ -10999,8 +11080,6 @@ export type Mutation = {
10999
11080
  initiateAppOAuth: AppOAuthInitiation;
11000
11081
  /** Initiate Kerberos SPNEGO authentication */
11001
11082
  initiateKerberosAuth: KerberosChallengeResult;
11002
- /** Initiate NTLM authentication (returns Type 2 challenge) */
11003
- initiateNTLMChallenge: NtlmChallengeResult;
11004
11083
  /**
11005
11084
  * Initiate a payment for credits, plans, or addons
11006
11085
  * This creates a Stripe PaymentIntent or Razorpay Order with tax included
@@ -11123,8 +11202,6 @@ export type Mutation = {
11123
11202
  */
11124
11203
  notifyDuplicateApplicants: DuplicateNoticeResult;
11125
11204
  openCircuitBreaker: CircuitBreakerState;
11126
- /** Pause a subscription */
11127
- pauseDeveloperOrgSubscription: DeveloperOrgSubscription;
11128
11205
  pauseSLA: SupportTicket;
11129
11206
  pauseScheduledJob: ScheduledJob;
11130
11207
  /** Pay an invoice using a payment method */
@@ -11183,6 +11260,11 @@ export type Mutation = {
11183
11260
  * call repeatedly for the same workspace. Never creates a Plan/Subscription
11184
11261
  * for a product with no registered Free plan; such products are silently
11185
11262
  * skipped, not errored.
11263
+ *
11264
+ * `ownerId` (optional, BOFF-2657) is the human user id that receives the
11265
+ * Billing Admin role when this call lazily creates the org's first billing
11266
+ * account. Service callers should pass the workspace owner's user id; without
11267
+ * it, role initialization waits for the first human billing read.
11186
11268
  */
11187
11269
  provisionFreeTierForWorkspace: ProvisionFreeTierForWorkspaceResult;
11188
11270
  /**
@@ -11474,6 +11556,7 @@ export type Mutation = {
11474
11556
  /** Admin rejects a pending payout method with a reason the publisher can act on. */
11475
11557
  rejectPublisherPayoutMethod: PublisherPayoutMethod;
11476
11558
  rejectReview: ProductReview;
11559
+ rejectTranslation: Translation;
11477
11560
  rejectWaitlist: NewsletterWaitlist;
11478
11561
  /**
11479
11562
  * Admin rejects a pending template revision with a reason the author sees. The
@@ -11615,7 +11698,7 @@ export type Mutation = {
11615
11698
  * verifyDSARIdentity.
11616
11699
  */
11617
11700
  requestDSARIdentityVerification: DsarRequest;
11618
- /** Request a manual payout (devportal legacy alias) */
11701
+ /** Request a manual payout for a developer organization (delegated/mirrored to global-billing-svc) */
11619
11702
  requestDeveloperOrgPayout: DeveloperOrgPayout;
11620
11703
  /**
11621
11704
  * Make sure a published node image holds an architecture (BOFF-14898).
@@ -11646,8 +11729,6 @@ export type Mutation = {
11646
11729
  requestOrgVerification: DeveloperOrganization;
11647
11730
  /** Request a password reset - sends reset email */
11648
11731
  requestPasswordReset: PasswordResetRequestResult;
11649
- /** Request a manual payout */
11650
- requestPayout: DeveloperOrgPayout;
11651
11732
  /**
11652
11733
  * Request a reactivation link by email — for password-less (OAuth-only)
11653
11734
  * self-deactivated accounts. Always returns a generic success (never reveals
@@ -11728,8 +11809,6 @@ export type Mutation = {
11728
11809
  * exists; does not leak which side of the check failed.
11729
11810
  */
11730
11811
  resubscribe: NewsletterSubscriber;
11731
- /** Resume a paused subscription */
11732
- resumeDeveloperOrgSubscription: DeveloperOrgSubscription;
11733
11812
  resumeSLA: SupportTicket;
11734
11813
  resumeScheduledJob: ScheduledJob;
11735
11814
  /**
@@ -11944,6 +12023,11 @@ export type Mutation = {
11944
12023
  seedDefaultShortcuts: Scalars['Int']['output'];
11945
12024
  /** Overwrite the built-in FluidGrids user-facing workflow-builder tour from the service-owned seed file. */
11946
12025
  seedFluidgridsUserTours: SeedFluidgridsUserToursResult;
12026
+ /**
12027
+ * Overwrite the built-in HeadshotMarketing user-facing onboarding tours (overview,
12028
+ * campaigns, audiences, contacts, content library and automation) from the service-owned seed file.
12029
+ */
12030
+ seedHeadshotmarketingUserTours: SeedHeadshotmarketingUserToursResult;
11947
12031
  /**
11948
12032
  * Overwrite the built-in HookMovies user-facing tours (overview with the getting-started
11949
12033
  * checklist, catalog, productions and auditions) from the service-owned seed file.
@@ -12085,6 +12169,13 @@ export type Mutation = {
12085
12169
  setAgentOnline: AgentProfile;
12086
12170
  /** Set (create or update) the license for an application, including optional workspace cap */
12087
12171
  setAppLicense: AppLicense;
12172
+ /**
12173
+ * Set the OAuth client ID and secret the platform uses to connect installs of
12174
+ * this application to its own OAuth service. Call it after the application is
12175
+ * approved. The secret is passed straight to the integrations service and is
12176
+ * never stored or returned here.
12177
+ */
12178
+ setApplicationOAuthCredentials: Application;
12088
12179
  /** Set or update billing address for a billing account */
12089
12180
  setBillingAddress: BillingAddress;
12090
12181
  /**
@@ -12492,7 +12583,7 @@ export type Mutation = {
12492
12583
  updateDeveloperOrgMemberRole: DeveloperOrgMember;
12493
12584
  /** Update a payment method */
12494
12585
  updateDeveloperOrgPaymentMethod: DeveloperOrgPaymentMethod;
12495
- /** Update a subscription */
12586
+ /** Update devportal-specific context on a subscription wrapper */
12496
12587
  updateDeveloperOrgSubscription: DeveloperOrgSubscription;
12497
12588
  /** Update a developer organization */
12498
12589
  updateDeveloperOrganization: DeveloperOrganization;
@@ -12610,8 +12701,6 @@ export type Mutation = {
12610
12701
  updateStoreOrderPaymentStatus: UpdateStoreOrderPaymentStatusResponse;
12611
12702
  updateSubprocessor: Subprocessor;
12612
12703
  updateSubscriber: NewsletterSubscriber;
12613
- /** Update access type or discount percentage on an existing subscription entitlement. */
12614
- updateSubscriptionEntitlement: StoreSubscriptionEntitlement;
12615
12704
  /**
12616
12705
  * Update the seat count on an active PER_SEAT subscription.
12617
12706
  * Syncs quantity to the payment gateway and updates the seat quota ceiling.
@@ -12935,11 +13024,6 @@ export type MutationApplySlaPolicyArgs = {
12935
13024
  ticketId: Scalars['ID']['input'];
12936
13025
  };
12937
13026
  /** Root mutation type */
12938
- export type MutationApplySubscriptionCouponArgs = {
12939
- couponCode: Scalars['String']['input'];
12940
- id: Scalars['ID']['input'];
12941
- };
12942
- /** Root mutation type */
12943
13027
  export type MutationApproveApplicationArgs = {
12944
13028
  id: Scalars['ID']['input'];
12945
13029
  notes?: InputMaybe<Scalars['String']['input']>;
@@ -13119,18 +13203,7 @@ export type MutationAuthenticateAppleArgs = {
13119
13203
  /** Root mutation type */
13120
13204
  export type MutationAuthenticateBasicAuthArgs = {
13121
13205
  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'];
13206
+ recaptchaToken?: InputMaybe<Scalars['String']['input']>;
13134
13207
  };
13135
13208
  /** Root mutation type */
13136
13209
  export type MutationAuthenticateKerberosArgs = {
@@ -13140,6 +13213,7 @@ export type MutationAuthenticateKerberosArgs = {
13140
13213
  /** Root mutation type */
13141
13214
  export type MutationAuthenticateLdapArgs = {
13142
13215
  password: Scalars['String']['input'];
13216
+ recaptchaToken?: InputMaybe<Scalars['String']['input']>;
13143
13217
  tenantId: Scalars['String']['input'];
13144
13218
  username: Scalars['String']['input'];
13145
13219
  };
@@ -13148,11 +13222,6 @@ export type MutationAuthenticateMagicLinkArgs = {
13148
13222
  token: Scalars['String']['input'];
13149
13223
  };
13150
13224
  /** Root mutation type */
13151
- export type MutationAuthenticateNtlmArgs = {
13152
- authenticateMessage: Scalars['String']['input'];
13153
- challengeId: Scalars['ID']['input'];
13154
- };
13155
- /** Root mutation type */
13156
13225
  export type MutationAuthenticateOAuthArgs = {
13157
13226
  input: OAuthInput;
13158
13227
  };
@@ -13163,6 +13232,7 @@ export type MutationAuthenticateOidcArgs = {
13163
13232
  /** Root mutation type */
13164
13233
  export type MutationAuthenticateRadiusArgs = {
13165
13234
  password: Scalars['String']['input'];
13235
+ recaptchaToken?: InputMaybe<Scalars['String']['input']>;
13166
13236
  tenantId: Scalars['String']['input'];
13167
13237
  username: Scalars['String']['input'];
13168
13238
  };
@@ -13321,6 +13391,10 @@ export type MutationCheckoutArgs = {
13321
13391
  input: CheckoutInput;
13322
13392
  };
13323
13393
  /** Root mutation type */
13394
+ export type MutationClaimEmbedRunArgs = {
13395
+ sessionToken: Scalars['String']['input'];
13396
+ };
13397
+ /** Root mutation type */
13324
13398
  export type MutationCloneScheduleArgs = {
13325
13399
  newOrganizationId?: InputMaybe<Scalars['ID']['input']>;
13326
13400
  overrides?: InputMaybe<CreateScheduledJobInput>;
@@ -13812,11 +13886,6 @@ export type MutationCreateSubprocessorArgs = {
13812
13886
  input: SubprocessorInput;
13813
13887
  };
13814
13888
  /** Root mutation type */
13815
- export type MutationCreateSubscriptionEntitlementArgs = {
13816
- input: StoreSubscriptionEntitlementInput;
13817
- storeProductId: Scalars['ID']['input'];
13818
- };
13819
- /** Root mutation type */
13820
13889
  export type MutationCreateSupportMessageArgs = {
13821
13890
  input: CreateSupportMessageInput;
13822
13891
  };
@@ -14230,10 +14299,6 @@ export type MutationDeleteSubscriberArgs = {
14230
14299
  id: Scalars['ID']['input'];
14231
14300
  };
14232
14301
  /** Root mutation type */
14233
- export type MutationDeleteSubscriptionEntitlementArgs = {
14234
- id: Scalars['ID']['input'];
14235
- };
14236
- /** Root mutation type */
14237
14302
  export type MutationDeleteSupportMessageArgs = {
14238
14303
  id: Scalars['ID']['input'];
14239
14304
  };
@@ -14624,6 +14689,16 @@ export type MutationGlobalDraftTicketReplyArgs = {
14624
14689
  ticketId: Scalars['ID']['input'];
14625
14690
  };
14626
14691
  /** Root mutation type */
14692
+ export type MutationGlobalScoreActiveTenantsHealthArgs = {
14693
+ limit?: InputMaybe<Scalars['Int']['input']>;
14694
+ trigger?: InputMaybe<TenantHealthTrigger>;
14695
+ };
14696
+ /** Root mutation type */
14697
+ export type MutationGlobalScoreTenantHealthArgs = {
14698
+ tenantId: Scalars['ID']['input'];
14699
+ trigger?: InputMaybe<TenantHealthTrigger>;
14700
+ };
14701
+ /** Root mutation type */
14627
14702
  export type MutationGlobalSendTicketReplyDraftArgs = {
14628
14703
  id: Scalars['ID']['input'];
14629
14704
  message?: InputMaybe<Scalars['String']['input']>;
@@ -14701,10 +14776,6 @@ export type MutationInitiateKerberosAuthArgs = {
14701
14776
  tenantId: Scalars['String']['input'];
14702
14777
  };
14703
14778
  /** Root mutation type */
14704
- export type MutationInitiateNtlmChallengeArgs = {
14705
- negotiateMessage: Scalars['String']['input'];
14706
- };
14707
- /** Root mutation type */
14708
14779
  export type MutationInitiatePaymentArgs = {
14709
14780
  input: InitiatePaymentInput;
14710
14781
  };
@@ -14853,10 +14924,6 @@ export type MutationOpenCircuitBreakerArgs = {
14853
14924
  scopeValue: Scalars['String']['input'];
14854
14925
  };
14855
14926
  /** Root mutation type */
14856
- export type MutationPauseDeveloperOrgSubscriptionArgs = {
14857
- id: Scalars['ID']['input'];
14858
- };
14859
- /** Root mutation type */
14860
14927
  export type MutationPauseSlaArgs = {
14861
14928
  reason?: InputMaybe<Scalars['String']['input']>;
14862
14929
  ticketId: Scalars['ID']['input'];
@@ -14921,6 +14988,7 @@ export type MutationProvisionDedicatedTenantArgs = {
14921
14988
  /** Root mutation type */
14922
14989
  export type MutationProvisionFreeTierForWorkspaceArgs = {
14923
14990
  orgId: Scalars['ID']['input'];
14991
+ ownerId?: InputMaybe<Scalars['ID']['input']>;
14924
14992
  workspaceId: Scalars['ID']['input'];
14925
14993
  };
14926
14994
  /** Root mutation type */
@@ -15275,6 +15343,11 @@ export type MutationRejectReviewArgs = {
15275
15343
  id: Scalars['ID']['input'];
15276
15344
  };
15277
15345
  /** Root mutation type */
15346
+ export type MutationRejectTranslationArgs = {
15347
+ id: Scalars['ID']['input'];
15348
+ reason: Scalars['String']['input'];
15349
+ };
15350
+ /** Root mutation type */
15278
15351
  export type MutationRejectWaitlistArgs = {
15279
15352
  input: RejectWaitlistInput;
15280
15353
  };
@@ -15550,11 +15623,6 @@ export type MutationRequestPasswordResetArgs = {
15550
15623
  recaptchaToken?: InputMaybe<Scalars['String']['input']>;
15551
15624
  };
15552
15625
  /** Root mutation type */
15553
- export type MutationRequestPayoutArgs = {
15554
- organizationId: Scalars['ID']['input'];
15555
- paymentMethodId?: InputMaybe<Scalars['ID']['input']>;
15556
- };
15557
- /** Root mutation type */
15558
15626
  export type MutationRequestReactivationArgs = {
15559
15627
  email: Scalars['String']['input'];
15560
15628
  };
@@ -15679,10 +15747,6 @@ export type MutationResubscribeArgs = {
15679
15747
  platformProductId?: InputMaybe<Scalars['String']['input']>;
15680
15748
  };
15681
15749
  /** Root mutation type */
15682
- export type MutationResumeDeveloperOrgSubscriptionArgs = {
15683
- id: Scalars['ID']['input'];
15684
- };
15685
- /** Root mutation type */
15686
15750
  export type MutationResumeSlaArgs = {
15687
15751
  ticketId: Scalars['ID']['input'];
15688
15752
  };
@@ -16004,6 +16068,12 @@ export type MutationSetAppLicenseArgs = {
16004
16068
  workspaceCap?: InputMaybe<Scalars['Int']['input']>;
16005
16069
  };
16006
16070
  /** Root mutation type */
16071
+ export type MutationSetApplicationOAuthCredentialsArgs = {
16072
+ clientId: Scalars['String']['input'];
16073
+ clientSecret: Scalars['String']['input'];
16074
+ id: Scalars['ID']['input'];
16075
+ };
16076
+ /** Root mutation type */
16007
16077
  export type MutationSetBillingAddressArgs = {
16008
16078
  input: SetBillingAddressInput;
16009
16079
  };
@@ -16925,11 +16995,6 @@ export type MutationUpdateSubscriberArgs = {
16925
16995
  input: UpdateSubscriberInput;
16926
16996
  };
16927
16997
  /** Root mutation type */
16928
- export type MutationUpdateSubscriptionEntitlementArgs = {
16929
- id: Scalars['ID']['input'];
16930
- input: UpdateSubscriptionEntitlementInput;
16931
- };
16932
- /** Root mutation type */
16933
16998
  export type MutationUpdateSubscriptionSeatsArgs = {
16934
16999
  input: UpdateSubscriptionSeatsInput;
16935
17000
  };
@@ -17219,11 +17284,6 @@ export type MyRolesResult = {
17219
17284
  /** Roles assigned to the actor */
17220
17285
  roles: Array<RoleInfo>;
17221
17286
  };
17222
- export type NtlmChallengeResult = {
17223
- __typename?: 'NTLMChallengeResult';
17224
- challenge: Scalars['String']['output'];
17225
- challengeId: Scalars['ID']['output'];
17226
- };
17227
17287
  export type Newsletter = {
17228
17288
  __typename?: 'Newsletter';
17229
17289
  clickRate?: Maybe<Scalars['Float']['output']>;
@@ -17816,6 +17876,8 @@ export type NotificationFilterInput = {
17816
17876
  /** Also return notifications snoozed into the future (hidden by default) */
17817
17877
  includeSnoozed?: InputMaybe<Scalars['Boolean']['input']>;
17818
17878
  isRead?: InputMaybe<Scalars['Boolean']['input']>;
17879
+ /** Optional explicit organization scope (membership-verified for user callers; BOFF-10499) */
17880
+ organizationId?: InputMaybe<Scalars['ID']['input']>;
17819
17881
  priority?: InputMaybe<NotificationPriority>;
17820
17882
  search?: InputMaybe<Scalars['String']['input']>;
17821
17883
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -19355,6 +19417,74 @@ export declare enum PlanPricingModel {
19355
19417
  /** Price × seatCount per billing cycle. Maps to quantity on Stripe/Razorpay subscription items. */
19356
19418
  PerSeat = "PER_SEAT"
19357
19419
  }
19420
+ /** Whether a billing account may buy a plan through a channel now. */
19421
+ export type PlanPurchaseEligibility = {
19422
+ __typename?: 'PlanPurchaseEligibility';
19423
+ /** True when the purchase may go ahead. */
19424
+ allowed: Scalars['Boolean']['output'];
19425
+ /** The channel that bills the blocking subscription. */
19426
+ conflictingChannel?: Maybe<BillingPurchaseChannel>;
19427
+ /** When the blocking subscription's current period ends. */
19428
+ conflictingPeriodEnd?: Maybe<Scalars['DateTime']['output']>;
19429
+ /** The blocking subscription's plan name. */
19430
+ conflictingPlanName?: Maybe<Scalars['String']['output']>;
19431
+ /** The blocking subscription. */
19432
+ conflictingSubscriptionId?: Maybe<Scalars['ID']['output']>;
19433
+ /**
19434
+ * STORE_SUBSCRIPTION_LINKED_TO_OTHER_ACCOUNT: the billing account that owns the
19435
+ * device's store subscription, only when the caller may access it; null
19436
+ * otherwise ("another billing account").
19437
+ */
19438
+ linkedBillingAccountId?: Maybe<Scalars['ID']['output']>;
19439
+ /** The name of that billing account, under the same rule. */
19440
+ linkedBillingAccountName?: Maybe<Scalars['String']['output']>;
19441
+ /** Where the customer manages the blocking subscription. */
19442
+ manageHint?: Maybe<PlanPurchaseManageHint>;
19443
+ /**
19444
+ * The store's subscription settings page (App Store / Google Play). Null for a
19445
+ * web subscription: the app links its own billing page.
19446
+ */
19447
+ manageUrl?: Maybe<Scalars['String']['output']>;
19448
+ /** Why it may not; null when allowed. */
19449
+ reason?: Maybe<PlanPurchaseIneligibilityReason>;
19450
+ /**
19451
+ * Google Play, when allowed: the purchase token of the device's subscription of
19452
+ * the product that this billing account already owns. Buying the plan replaces
19453
+ * it (a plan switch), so the app passes it as the old purchase token. Null for a
19454
+ * new subscription. It is one of the tokens the app sent.
19455
+ */
19456
+ replacesStoreSubscriptionId?: Maybe<Scalars['ID']['output']>;
19457
+ /**
19458
+ * Whether that switch is an upgrade or a downgrade (price per month). Null
19459
+ * without one.
19460
+ */
19461
+ storePlanChange?: Maybe<StorePlanChangeDirection>;
19462
+ };
19463
+ /** Why a plan purchase is not allowed. */
19464
+ export declare enum PlanPurchaseIneligibilityReason {
19465
+ /**
19466
+ * Another channel still bills a paid plan of the same product (active, trialing
19467
+ * or past due, and renewing). Buying here would charge the customer twice.
19468
+ */
19469
+ ActiveSubscriptionOtherChannel = "ACTIVE_SUBSCRIPTION_OTHER_CHANNEL",
19470
+ /**
19471
+ * The device's App Store / Google Play account already has an active
19472
+ * subscription of this product that is linked to another billing account. The
19473
+ * store would apply this purchase to that subscription (and that account), so
19474
+ * the store sheet must not open. Buy on the web for this billing account, or
19475
+ * switch to the account that owns the subscription.
19476
+ */
19477
+ StoreSubscriptionLinkedToOtherAccount = "STORE_SUBSCRIPTION_LINKED_TO_OTHER_ACCOUNT"
19478
+ }
19479
+ /** Where the customer manages the subscription that blocks the purchase. */
19480
+ export declare enum PlanPurchaseManageHint {
19481
+ /** In the device's App Store subscription settings. */
19482
+ ManageInAppStore = "MANAGE_IN_APP_STORE",
19483
+ /** In the device's Google Play subscription settings. */
19484
+ ManageInGooglePlay = "MANAGE_IN_GOOGLE_PLAY",
19485
+ /** On the web billing page of the product. */
19486
+ ManageOnWeb = "MANAGE_ON_WEB"
19487
+ }
19358
19488
  export type PlanQuotaInput = {
19359
19489
  quantity: Scalars['Float']['input'];
19360
19490
  quotaId: Scalars['ID']['input'];
@@ -19800,6 +19930,21 @@ export type ProductFilterInput = {
19800
19930
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
19801
19931
  type?: InputMaybe<ProductType>;
19802
19932
  };
19933
+ /**
19934
+ * One product's translation progress in one language, as
19935
+ * `translationCoverageSummary` returns it: the counts of `TranslationCoverage`
19936
+ * without the missing-key list (BOFF-17795).
19937
+ */
19938
+ export type ProductLanguageCoverage = {
19939
+ __typename?: 'ProductLanguageCoverage';
19940
+ coverage: Scalars['Float']['output'];
19941
+ languageCode: Scalars['String']['output'];
19942
+ missingCount: Scalars['Int']['output'];
19943
+ pendingReviewKeys: Scalars['Int']['output'];
19944
+ productId: Scalars['String']['output'];
19945
+ totalKeys: Scalars['Int']['output'];
19946
+ translatedKeys: Scalars['Int']['output'];
19947
+ };
19803
19948
  export declare enum ProductNature {
19804
19949
  Digital = "DIGITAL",
19805
19950
  Physical = "PHYSICAL"
@@ -20935,6 +21080,13 @@ export type Query = {
20935
21080
  effectiveConsent?: Maybe<ConsentRecord>;
20936
21081
  /** Get effective permissions for an actor in a scope */
20937
21082
  effectivePermissions: EffectivePermissions;
21083
+ /**
21084
+ * Resolves an embed session secret to its claims and issuer. Refused with
21085
+ * EMBED_SESSION_INVALID when the session is unknown or expired, its token is
21086
+ * revoked or expired, or the issuer is no longer a workspace admin. Gateway
21087
+ * (service) actors only.
21088
+ */
21089
+ embedSessionActor: EmbedSessionActor;
20938
21090
  /**
20939
21091
  * The embed tokens of a workspace, newest first. Workspace admins only.
20940
21092
  * Secrets are never returned.
@@ -21397,8 +21549,6 @@ export type Query = {
21397
21549
  importJobs: ImportJobList;
21398
21550
  /** Look up a committed in-app receipt for the calling service and organization. */
21399
21551
  inAppNotificationReceipt?: Maybe<InAppNotificationReceipt>;
21400
- /** Initiate HTTP Digest auth challenge */
21401
- initiateDigestChallenge: DigestChallengeResult;
21402
21552
  /**
21403
21553
  * Public listing of an application's installable versions: published
21404
21554
  * versions, plus deprecated versions that were once published and were not
@@ -21866,6 +22016,17 @@ export type Query = {
21866
22016
  pendingWorkflowTemplateRevisions: WorkflowTemplateRevisionList;
21867
22017
  /** Get permission check audit log */
21868
22018
  permissionAuditLog: Array<PermissionAuditLog>;
22019
+ /**
22020
+ * Whether the billing account may buy the plan through the channel now. Call
22021
+ * it before opening a payment sheet. A paid plan is refused while another
22022
+ * channel still bills a paid plan of the same product
22023
+ * (ACTIVE_SUBSCRIPTION_OTHER_CHANNEL); a plan canceled at the end of its period
22024
+ * does not block. Free plans and a switch within the same channel are always
22025
+ * allowed. For APPLE_IAP / GOOGLE_PLAY the app may pass the device's active
22026
+ * store subscriptions: one of the product's that another billing account owns
22027
+ * refuses the purchase (STORE_SUBSCRIPTION_LINKED_TO_OTHER_ACCOUNT). Read-only.
22028
+ */
22029
+ planPurchaseEligibility: PlanPurchaseEligibility;
21869
22030
  /**
21870
22031
  * Get a single platform product by ID (admin/catalog read).
21871
22032
  * Returns the full PlatformProduct including DRAFT products and internal
@@ -22227,6 +22388,12 @@ export type Query = {
22227
22388
  tenantAuditLogs: TenantAuditLogPage;
22228
22389
  /** Get a tenant by slug */
22229
22390
  tenantBySlug?: Maybe<Tenant>;
22391
+ /** Historical health scores for a tenant, newest first (BOFF-3658). */
22392
+ tenantHealthHistory: Array<TenantHealthScore>;
22393
+ /** Latest health & lifecycle score for a tenant (BOFF-3658). */
22394
+ tenantHealthScore?: Maybe<TenantHealthScore>;
22395
+ /** Latest health scores across tenants, optionally filtered by band (BOFF-3658). */
22396
+ tenantHealthScores: Array<TenantHealthScore>;
22230
22397
  /**
22231
22398
  * List explicit tenant-member grants for a given tenant. Super-admin view used
22232
22399
  * by the admin console to manage tenant access. SHARED-tenant access is
@@ -22303,6 +22470,7 @@ export type Query = {
22303
22470
  translationAudit: TranslationAuditList;
22304
22471
  translationByKey?: Maybe<Translation>;
22305
22472
  translationCoverage: Array<TranslationCoverage>;
22473
+ translationCoverageSummary: Array<ProductLanguageCoverage>;
22306
22474
  translationKey?: Maybe<TranslationKey>;
22307
22475
  translationKeyByKey?: Maybe<TranslationKey>;
22308
22476
  translationKeys: TranslationKeyList;
@@ -23058,7 +23226,6 @@ export type QueryDeveloperOrgSubscriptionsArgs = {
23058
23226
  limit?: InputMaybe<Scalars['Int']['input']>;
23059
23227
  offset?: InputMaybe<Scalars['Int']['input']>;
23060
23228
  organizationId: Scalars['ID']['input'];
23061
- status?: InputMaybe<DevPortalSubscriptionStatus>;
23062
23229
  subscriptionType?: InputMaybe<Scalars['String']['input']>;
23063
23230
  };
23064
23231
  /** Root query type */
@@ -23112,6 +23279,10 @@ export type QueryEffectivePermissionsArgs = {
23112
23279
  scopeId: Scalars['String']['input'];
23113
23280
  };
23114
23281
  /** Root query type */
23282
+ export type QueryEmbedSessionActorArgs = {
23283
+ sessionToken: Scalars['String']['input'];
23284
+ };
23285
+ /** Root query type */
23115
23286
  export type QueryEmbedTokensArgs = {
23116
23287
  includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
23117
23288
  workspaceId: Scalars['ID']['input'];
@@ -23225,6 +23396,7 @@ export type QueryExportTranslationsArgs = {
23225
23396
  format: ImportJobFormat;
23226
23397
  languageCode?: InputMaybe<Scalars['String']['input']>;
23227
23398
  productId: Scalars['String']['input'];
23399
+ spreadsheetSafe?: InputMaybe<Scalars['Boolean']['input']>;
23228
23400
  };
23229
23401
  /** Root query type */
23230
23402
  export type QueryFaqArgs = {
@@ -23825,10 +23997,6 @@ export type QueryInAppNotificationReceiptArgs = {
23825
23997
  deliveryKey: Scalars['ID']['input'];
23826
23998
  };
23827
23999
  /** Root query type */
23828
- export type QueryInitiateDigestChallengeArgs = {
23829
- realm?: InputMaybe<Scalars['String']['input']>;
23830
- };
23831
- /** Root query type */
23832
24000
  export type QueryInstallableApplicationVersionsArgs = {
23833
24001
  applicationId: Scalars['ID']['input'];
23834
24002
  };
@@ -24494,6 +24662,13 @@ export type QueryPermissionAuditLogArgs = {
24494
24662
  scopeId: Scalars['String']['input'];
24495
24663
  };
24496
24664
  /** Root query type */
24665
+ export type QueryPlanPurchaseEligibilityArgs = {
24666
+ billingAccountId: Scalars['ID']['input'];
24667
+ channel: BillingPurchaseChannel;
24668
+ planId: Scalars['ID']['input'];
24669
+ storeSubscriptions?: InputMaybe<Array<StoreSubscriptionProofInput>>;
24670
+ };
24671
+ /** Root query type */
24497
24672
  export type QueryPlatformProductArgs = {
24498
24673
  id: Scalars['ID']['input'];
24499
24674
  };
@@ -25146,6 +25321,20 @@ export type QueryTenantBySlugArgs = {
25146
25321
  slug: Scalars['String']['input'];
25147
25322
  };
25148
25323
  /** Root query type */
25324
+ export type QueryTenantHealthHistoryArgs = {
25325
+ limit?: InputMaybe<Scalars['Int']['input']>;
25326
+ tenantId: Scalars['ID']['input'];
25327
+ };
25328
+ /** Root query type */
25329
+ export type QueryTenantHealthScoreArgs = {
25330
+ tenantId: Scalars['ID']['input'];
25331
+ };
25332
+ /** Root query type */
25333
+ export type QueryTenantHealthScoresArgs = {
25334
+ band?: InputMaybe<TenantHealthBand>;
25335
+ limit?: InputMaybe<Scalars['Int']['input']>;
25336
+ };
25337
+ /** Root query type */
25149
25338
  export type QueryTenantMembersArgs = {
25150
25339
  limit?: InputMaybe<Scalars['Int']['input']>;
25151
25340
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -25290,6 +25479,10 @@ export type QueryTranslationCoverageArgs = {
25290
25479
  productId: Scalars['String']['input'];
25291
25480
  };
25292
25481
  /** Root query type */
25482
+ export type QueryTranslationCoverageSummaryArgs = {
25483
+ productIds: Array<Scalars['String']['input']>;
25484
+ };
25485
+ /** Root query type */
25293
25486
  export type QueryTranslationKeyArgs = {
25294
25487
  id: Scalars['ID']['input'];
25295
25488
  };
@@ -25842,10 +26035,18 @@ export type RecordActivityInput = {
25842
26035
  * for any other caller, so a user cannot tag or untag their own rows.
25843
26036
  */
25844
26037
  actorOrigin?: InputMaybe<Scalars['String']['input']>;
26038
+ /**
26039
+ * Kind of actor that performed the action (`user`, `app`, `service`, `super_admin`). Honoured only
26040
+ * from a relaying `service` caller; for any other caller the gateway-authenticated actor kind is
26041
+ * recorded instead.
26042
+ */
26043
+ actorType?: InputMaybe<Scalars['String']['input']>;
25845
26044
  /** Proposal / idempotency key the assistant mutation ran under. Same trust rule as actorOrigin. */
25846
26045
  assistantCorrelationId?: InputMaybe<Scalars['String']['input']>;
25847
26046
  /** Relay session (assistant sandbox) that made the change. Same trust rule as actorOrigin. */
25848
26047
  assistantSessionId?: InputMaybe<Scalars['String']['input']>;
26048
+ /** Optional structured before/after diff payload for audit events (OVL-01). */
26049
+ changes?: InputMaybe<Scalars['JSON']['input']>;
25849
26050
  /**
25850
26051
  * Optional idempotency key for backfill/import (audit phase-2). Derive a STABLE key from the
25851
26052
  * source row (e.g. `global_auth_audit:<rowId>`). When set, the write UPSERTs on this key: if a row
@@ -27472,6 +27673,15 @@ export type SeedFluidgridsUserToursResult = {
27472
27673
  updatedCount: Scalars['Int']['output'];
27473
27674
  workspaceId: Scalars['String']['output'];
27474
27675
  };
27676
+ export type SeedHeadshotmarketingUserToursResult = {
27677
+ __typename?: 'SeedHeadshotmarketingUserToursResult';
27678
+ createdCount: Scalars['Int']['output'];
27679
+ productId: Scalars['String']['output'];
27680
+ totalCount: Scalars['Int']['output'];
27681
+ tours: Array<SeededUserTourResult>;
27682
+ updatedCount: Scalars['Int']['output'];
27683
+ workspaceId: Scalars['String']['output'];
27684
+ };
27475
27685
  export type SeedHookmoviesUserToursResult = {
27476
27686
  __typename?: 'SeedHookmoviesUserToursResult';
27477
27687
  createdCount: Scalars['Int']['output'];
@@ -28927,6 +29137,19 @@ export type StorePaginationInput = {
28927
29137
  /** Number of items to skip (for offset pagination) */
28928
29138
  offset?: InputMaybe<Scalars['Int']['input']>;
28929
29139
  };
29140
+ /** A store plan switch of a subscription, compared by price per month. */
29141
+ export declare enum StorePlanChangeDirection {
29142
+ /**
29143
+ * The plan costs the same or less per month: the store switches at the next
29144
+ * renewal.
29145
+ */
29146
+ Downgrade = "DOWNGRADE",
29147
+ /**
29148
+ * The plan costs more per month: Google Play replaces it now and charges the
29149
+ * prorated difference.
29150
+ */
29151
+ Upgrade = "UPGRADE"
29152
+ }
28930
29153
  /**
28931
29154
  * External entity stub for StoreProduct from store-svc.
28932
29155
  * Federation gateway will resolve full StoreProduct data from store-svc.
@@ -29093,7 +29316,6 @@ export type StoreProduct = {
29093
29316
  subType?: Maybe<Scalars['String']['output']>;
29094
29317
  submittedAt?: Maybe<Scalars['DateTime']['output']>;
29095
29318
  submittedBy?: Maybe<Scalars['String']['output']>;
29096
- subscriptionEntitlements: Array<StoreSubscriptionEntitlement>;
29097
29319
  /** Structured tag assignments via wspace-tags-svc */
29098
29320
  tagAssignments: Array<StoreProductTagAssignment>;
29099
29321
  tags: Array<Scalars['String']['output']>;
@@ -29206,24 +29428,18 @@ export declare enum StoreSortBy {
29206
29428
  Rating = "RATING",
29207
29429
  Relevance = "RELEVANCE"
29208
29430
  }
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'];
29431
+ /**
29432
+ * One active store subscription of the device, as the app reads it from the
29433
+ * store (StoreKit 2 current entitlements / Google Play purchases).
29434
+ */
29435
+ export type StoreSubscriptionProofInput = {
29436
+ /**
29437
+ * App Store: the signed StoreKit 2 transaction (jwsRepresentation). Verified
29438
+ * by billing; an unverifiable one is ignored.
29439
+ */
29440
+ jwsRepresentation?: InputMaybe<Scalars['String']['input']>;
29441
+ /** Google Play: the subscription's purchase token. */
29442
+ purchaseToken?: InputMaybe<Scalars['String']['input']>;
29227
29443
  };
29228
29444
  export declare enum StoreType {
29229
29445
  Enterprise = "ENTERPRISE",
@@ -29825,6 +30041,18 @@ export type SubscriptionWebhookDeliveryUpdatedArgs = {
29825
30041
  export type SubscriptionWebhookReceivedArgs = {
29826
30042
  channelId: Scalars['ID']['input'];
29827
30043
  };
30044
+ /** The price an app store charges for a subscription (BOFF-17961). */
30045
+ export type SubscriptionBilledPrice = {
30046
+ __typename?: 'SubscriptionBilledPrice';
30047
+ /** Amount of the latest successful store charge, tax included by the store. */
30048
+ amount: Scalars['Float']['output'];
30049
+ /** The store that bills it: APPLE_IAP or GOOGLE_PLAY. */
30050
+ billedBy: Scalars['String']['output'];
30051
+ /** ISO 4217 currency of the charge (the customer's store currency). */
30052
+ currency: Scalars['String']['output'];
30053
+ /** The store's id of that charge (Apple transaction id, Google order id). */
30054
+ storeTransactionId?: Maybe<Scalars['String']['output']>;
30055
+ };
29828
30056
  /**
29829
30057
  * SubscriptionEntitlement defines what store items a plan grants access to.
29830
30058
  * This allows plans to provide discounts or free access to store items.
@@ -30616,6 +30844,11 @@ export type Tenant = {
30616
30844
  */
30617
30845
  endpoint?: Maybe<Scalars['String']['output']>;
30618
30846
  id: Scalars['ID']['output'];
30847
+ /**
30848
+ * Most recent tenant health & lifecycle score (BOFF-3658).
30849
+ * Super admins and services only; null for anyone else.
30850
+ */
30851
+ latestHealthScore?: Maybe<TenantHealthScore>;
30619
30852
  metadata?: Maybe<Scalars['JSON']['output']>;
30620
30853
  name: Scalars['String']['output'];
30621
30854
  /** Organizations belonging to this tenant */
@@ -30688,6 +30921,113 @@ export type TenantFilterInput = {
30688
30921
  status?: InputMaybe<TenantStatus>;
30689
30922
  type?: InputMaybe<TenantType>;
30690
30923
  };
30924
+ /** Health band derived deterministically from the 0-100 tenant health score. */
30925
+ export declare enum TenantHealthBand {
30926
+ AtRisk = "AT_RISK",
30927
+ Critical = "CRITICAL",
30928
+ Healthy = "HEALTHY",
30929
+ Watch = "WATCH"
30930
+ }
30931
+ /** Failure item reported by a batch tenant health scoring run. */
30932
+ export type TenantHealthBatchError = {
30933
+ __typename?: 'TenantHealthBatchError';
30934
+ message: Scalars['String']['output'];
30935
+ tenantId: Scalars['ID']['output'];
30936
+ };
30937
+ /** Summary returned by `globalScoreActiveTenantsHealth` (nightly scheduler batch). */
30938
+ export type TenantHealthBatchResult = {
30939
+ __typename?: 'TenantHealthBatchResult';
30940
+ budgetCapHit: Scalars['Boolean']['output'];
30941
+ errors: Array<TenantHealthBatchError>;
30942
+ failedCount: Scalars['Int']['output'];
30943
+ scoredCount: Scalars['Int']['output'];
30944
+ scores: Array<TenantHealthScore>;
30945
+ skippedCount: Scalars['Int']['output'];
30946
+ totalEstimatedCredits: Scalars['Int']['output'];
30947
+ totalTokensUsed: Scalars['Int']['output'];
30948
+ };
30949
+ /** Exact evidence citation backing a deterministic signal. */
30950
+ export type TenantHealthEvidenceRef = {
30951
+ __typename?: 'TenantHealthEvidenceRef';
30952
+ entityId: Scalars['String']['output'];
30953
+ entityType: Scalars['String']['output'];
30954
+ metric: Scalars['String']['output'];
30955
+ recordedAt: Scalars['String']['output'];
30956
+ source: Scalars['String']['output'];
30957
+ value: Scalars['String']['output'];
30958
+ };
30959
+ /**
30960
+ * Advisory-only lifecycle recommendation produced by the tenant health engine.
30961
+ * The engine never acts on its own recommendation.
30962
+ */
30963
+ export declare enum TenantHealthRecommendedAction {
30964
+ ExpansionCheckin = "EXPANSION_CHECKIN",
30965
+ Monitor = "MONITOR",
30966
+ None = "NONE",
30967
+ OnboardingNudge = "ONBOARDING_NUDGE",
30968
+ ProactiveOutreach = "PROACTIVE_OUTREACH",
30969
+ SupportEscalation = "SUPPORT_ESCALATION"
30970
+ }
30971
+ /** Per-tenant health & lifecycle decision record (BOFF-3658). */
30972
+ export type TenantHealthScore = {
30973
+ __typename?: 'TenantHealthScore';
30974
+ accountingWorkspaceId?: Maybe<Scalars['ID']['output']>;
30975
+ actorId: Scalars['String']['output'];
30976
+ band: TenantHealthBand;
30977
+ costMicroUsd?: Maybe<Scalars['String']['output']>;
30978
+ createdAt: Scalars['DateTime']['output'];
30979
+ engine: Scalars['String']['output'];
30980
+ estimatedCredits: Scalars['Int']['output'];
30981
+ evidenceRefs: Array<TenantHealthEvidenceRef>;
30982
+ id: Scalars['ID']['output'];
30983
+ inputTokens: Scalars['Int']['output'];
30984
+ ledgerAttemptKey?: Maybe<Scalars['String']['output']>;
30985
+ ledgerOperationKey?: Maybe<Scalars['String']['output']>;
30986
+ modelKey?: Maybe<Scalars['String']['output']>;
30987
+ outputTokens: Scalars['Int']['output'];
30988
+ previousScore?: Maybe<Scalars['Int']['output']>;
30989
+ recommendedAction: TenantHealthRecommendedAction;
30990
+ score: Scalars['Int']['output'];
30991
+ scoreDelta?: Maybe<Scalars['Int']['output']>;
30992
+ scoredAt: Scalars['DateTime']['output'];
30993
+ signals: Array<TenantHealthSignal>;
30994
+ summary: Scalars['String']['output'];
30995
+ tenantId: Scalars['ID']['output'];
30996
+ trajectory: TenantHealthTrajectory;
30997
+ trigger: TenantHealthTrigger;
30998
+ };
30999
+ /** One deterministic contributing signal in a tenant health score. */
31000
+ export type TenantHealthSignal = {
31001
+ __typename?: 'TenantHealthSignal';
31002
+ category: Scalars['String']['output'];
31003
+ detail: Scalars['String']['output'];
31004
+ evidenceRefs: Array<TenantHealthEvidenceRef>;
31005
+ impact: Scalars['Int']['output'];
31006
+ key: Scalars['String']['output'];
31007
+ label: Scalars['String']['output'];
31008
+ status: TenantHealthSignalStatus;
31009
+ value: Scalars['String']['output'];
31010
+ weight: Scalars['Int']['output'];
31011
+ };
31012
+ /** Signal polarity for UI rendering and triage. */
31013
+ export declare enum TenantHealthSignalStatus {
31014
+ Critical = "CRITICAL",
31015
+ Neutral = "NEUTRAL",
31016
+ Positive = "POSITIVE",
31017
+ Warning = "WARNING"
31018
+ }
31019
+ /** Direction of score movement compared to the previous score for the same tenant. */
31020
+ export declare enum TenantHealthTrajectory {
31021
+ Declining = "DECLINING",
31022
+ Improving = "IMPROVING",
31023
+ New = "NEW",
31024
+ Stable = "STABLE"
31025
+ }
31026
+ /** What triggered a tenant health evaluation. */
31027
+ export declare enum TenantHealthTrigger {
31028
+ Manual = "MANUAL",
31029
+ Scheduled = "SCHEDULED"
31030
+ }
30691
31031
  /** Paginated list of tenants */
30692
31032
  export type TenantList = {
30693
31033
  __typename?: 'TenantList';
@@ -31333,6 +31673,11 @@ export type Translation = {
31333
31673
  pluralForms?: Maybe<Scalars['JSON']['output']>;
31334
31674
  publishedAt?: Maybe<Scalars['DateTime']['output']>;
31335
31675
  publishedBy?: Maybe<Scalars['String']['output']>;
31676
+ /**
31677
+ * Why the last reviewer sent it back to its translator (`rejectTranslation`),
31678
+ * until it is approved (BOFF-17795).
31679
+ */
31680
+ reviewNote?: Maybe<Scalars['String']['output']>;
31336
31681
  reviewedAt?: Maybe<Scalars['DateTime']['output']>;
31337
31682
  reviewedBy?: Maybe<Scalars['String']['output']>;
31338
31683
  status: TranslationStatus;
@@ -31369,6 +31714,10 @@ export type TranslationCoverage = {
31369
31714
  languageCode: Scalars['String']['output'];
31370
31715
  /** How many keys are still to translate: the length of missingKeys. */
31371
31716
  missingCount: Scalars['Int']['output'];
31717
+ /**
31718
+ * The keys still to translate, in key order. Built only when selected: a caller
31719
+ * that needs only the counts leaves it out (BOFF-17795).
31720
+ */
31372
31721
  missingKeys: Array<Scalars['String']['output']>;
31373
31722
  /** How many keys have a translation in this language waiting for review. */
31374
31723
  pendingReviewKeys: Scalars['Int']['output'];
@@ -31379,7 +31728,18 @@ export type TranslationFilterInput = {
31379
31728
  keyId?: InputMaybe<Scalars['String']['input']>;
31380
31729
  languageCode?: InputMaybe<Scalars['String']['input']>;
31381
31730
  search?: InputMaybe<Scalars['String']['input']>;
31731
+ /**
31732
+ * Honoured for i18n admins: super admins, services, and holders of the i18n
31733
+ * review permission (`i18n-translation` `review`). Everyone else gets
31734
+ * PUBLISHED rows whatever is asked for. Without it, every caller gets
31735
+ * PUBLISHED rows (BOFF-17795).
31736
+ */
31382
31737
  status?: InputMaybe<TranslationStatus>;
31738
+ /**
31739
+ * Ignored: the tenant comes from the caller's context. A caller with a tenant
31740
+ * sees its own translations and the shared ones it has not replaced; a caller
31741
+ * without one sees the shared ones (BOFF-17795).
31742
+ */
31383
31743
  tenantId?: InputMaybe<Scalars['String']['input']>;
31384
31744
  };
31385
31745
  export type TranslationKey = {
@@ -32060,12 +32420,24 @@ export type UpdateKnowledgeBaseArticleInput = {
32060
32420
  title?: InputMaybe<Scalars['String']['input']>;
32061
32421
  };
32062
32422
  export type UpdateLanguageInput = {
32423
+ /**
32424
+ * How the language writes an amount of money: 1234567.89 written its way with
32425
+ * `¤` where the currency symbol goes, for example `¤1,234,567.89` or
32426
+ * `1.234.567,89 ¤`. Null clears it and follows the language's own convention (BOFF-17795).
32427
+ */
32428
+ currencyFormat?: InputMaybe<Scalars['String']['input']>;
32063
32429
  dateFormat?: InputMaybe<Scalars['String']['input']>;
32064
32430
  direction?: InputMaybe<LanguageDirection>;
32065
32431
  fallbackCode?: InputMaybe<Scalars['String']['input']>;
32066
32432
  metadata?: InputMaybe<Scalars['JSON']['input']>;
32067
32433
  name?: InputMaybe<Scalars['String']['input']>;
32068
32434
  nativeName?: InputMaybe<Scalars['String']['input']>;
32435
+ /**
32436
+ * How the language writes numbers: 1234567.89 written its way, for example
32437
+ * `1,234,567.89`, `1.234.567,89`, `1 234 567,89` or `12,34,567.89`. Null clears it and
32438
+ * follows the language's own convention (BOFF-17795).
32439
+ */
32440
+ numberFormat?: InputMaybe<Scalars['String']['input']>;
32069
32441
  pluralRules?: InputMaybe<Scalars['JSON']['input']>;
32070
32442
  region?: InputMaybe<Scalars['String']['input']>;
32071
32443
  status?: InputMaybe<LanguageStatus>;
@@ -32526,13 +32898,10 @@ export type UpdateSubscriberInput = {
32526
32898
  metadata?: InputMaybe<Scalars['JSON']['input']>;
32527
32899
  userId?: InputMaybe<Scalars['String']['input']>;
32528
32900
  };
32529
- export type UpdateSubscriptionEntitlementInput = {
32530
- accessType?: InputMaybe<EntitlementAccessType>;
32531
- discountPercentage?: InputMaybe<Scalars['Float']['input']>;
32532
- };
32533
32901
  export type UpdateSubscriptionInput = {
32534
- planId?: InputMaybe<Scalars['ID']['input']>;
32535
- planName?: InputMaybe<Scalars['String']['input']>;
32902
+ applicationId?: InputMaybe<Scalars['ID']['input']>;
32903
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
32904
+ tier?: InputMaybe<DeveloperOrgTier>;
32536
32905
  };
32537
32906
  export type UpdateSubscriptionSeatsInput = {
32538
32907
  /** Billing account that owns this subscription. */