@burdenoff/microfe-support 2026.1014.10 → 2026.1029.2

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.
@@ -172,6 +172,10 @@ export declare enum ActivityAction {
172
172
  export type ActivityFilterInput = {
173
173
  action?: InputMaybe<Scalars['String']['input']>;
174
174
  actorId?: InputMaybe<Scalars['String']['input']>;
175
+ /** Only rows made by this kind of actor origin (BOFF-9649). The only recorded origin is `ai_assistant`: a change an AI assistant session made for its owner. */
176
+ actorOrigin?: InputMaybe<Scalars['String']['input']>;
177
+ /** Only rows made by this AI assistant session (BOFF-9649). */
178
+ assistantSessionId?: InputMaybe<Scalars['String']['input']>;
175
179
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
176
180
  resource?: InputMaybe<Scalars['String']['input']>;
177
181
  resourceId?: InputMaybe<Scalars['String']['input']>;
@@ -185,6 +189,12 @@ export type ActivityLog = {
185
189
  __typename?: 'ActivityLog';
186
190
  action: Scalars['String']['output'];
187
191
  actorId?: Maybe<Scalars['String']['output']>;
192
+ /** `ai_assistant` when an AI assistant session made the change; null for a human-made change. */
193
+ actorOrigin?: Maybe<Scalars['String']['output']>;
194
+ /** Proposal / idempotency key the assistant mutation ran under, when it had one. */
195
+ assistantCorrelationId?: Maybe<Scalars['String']['output']>;
196
+ /** Relay session (assistant sandbox) that made the change, when an assistant made it. */
197
+ assistantSessionId?: Maybe<Scalars['String']['output']>;
188
198
  createdAt: Scalars['DateTime']['output'];
189
199
  description?: Maybe<Scalars['String']['output']>;
190
200
  id: Scalars['ID']['output'];
@@ -416,9 +426,22 @@ export type Addon = {
416
426
  priceHistory: Array<AddonPriceHistory>;
417
427
  /** Product ID the addon belongs to (reference to product microservice) */
418
428
  productID?: Maybe<Scalars['String']['output']>;
429
+ /** Whether buying this add-on requires a paid subscription to its product (the catalogs' "Free tier exclusion" rule, BOFF-9889). False for items sold to Free users on purpose. */
430
+ requiresPaidSubscription?: Maybe<Scalars['Boolean']['output']>;
419
431
  /** The timestamp when the addon was last updated. */
420
432
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
421
433
  };
434
+ /** Why an add-on can or cannot be bought by the caller's billing account(s). */
435
+ export declare enum AddonEligibilityReason {
436
+ /** The add-on can be bought. */
437
+ Eligible = "ELIGIBLE",
438
+ /** No add-on with this id exists. */
439
+ NotFound = "NOT_FOUND",
440
+ /** The add-on requires a paid subscription to its product and none is active. */
441
+ PaidSubscriptionRequired = "PAID_SUBSCRIPTION_REQUIRED",
442
+ /** The chosen subscription is not a paid plan of the add-on's product. */
443
+ SubscriptionNotEligible = "SUBSCRIPTION_NOT_ELIGIBLE"
444
+ }
422
445
  /** Tracks historical price changes for an Addon. A new record is created whenever an addon's price is updated. */
423
446
  export type AddonPriceHistory = {
424
447
  __typename?: 'AddonPriceHistory';
@@ -439,6 +462,17 @@ export type AddonPriceHistory = {
439
462
  /** Optional reason for the price change */
440
463
  reason?: Maybe<Scalars['String']['output']>;
441
464
  };
465
+ /** Purchase eligibility of one add-on (BOFF-9889). */
466
+ export type AddonPurchaseEligibility = {
467
+ __typename?: 'AddonPurchaseEligibility';
468
+ addonId: Scalars['ID']['output'];
469
+ eligible: Scalars['Boolean']['output'];
470
+ /** Active paid subscriptions of the add-on's product the add-on may be attached to. */
471
+ eligibleSubscriptionIds: Array<Scalars['ID']['output']>;
472
+ productId?: Maybe<Scalars['String']['output']>;
473
+ reason: AddonEligibilityReason;
474
+ requiresPaidSubscription: Scalars['Boolean']['output'];
475
+ };
442
476
  export type AddonSubscription = {
443
477
  __typename?: 'AddonSubscription';
444
478
  /** The addon linked to this subscription. */
@@ -748,10 +782,14 @@ export declare enum AgentStatus {
748
782
  /** Per-model LLM token prices (USD per 1M tokens) used to weight AI-credit charges. */
749
783
  export type AiModelPrice = {
750
784
  __typename?: 'AiModelPrice';
785
+ cacheReadMultiplier: Scalars['Float']['output'];
786
+ cacheWriteMultiplier: Scalars['Float']['output'];
751
787
  inputPer1M: Scalars['Float']['output'];
752
788
  isActive: Scalars['Boolean']['output'];
753
789
  model: Scalars['String']['output'];
754
790
  outputPer1M: Scalars['Float']['output'];
791
+ /** When this price row last changed. Ledger cost estimates cite it in their pricing reference (wspace-prompts-svc, BOFF-9935) so a cost stays traceable to the exact price version that produced it. */
792
+ updatedAt: Scalars['DateTime']['output'];
755
793
  };
756
794
  /** Amount range filter for queries */
757
795
  export type AmountRangeInput = {
@@ -1566,6 +1604,82 @@ export type AutomationSubscriber = {
1566
1604
  status: AutomationStatus;
1567
1605
  subscriberId: Scalars['String']['output'];
1568
1606
  };
1607
+ /** A workspace's avatar credits, in one person's view when actorId is given (contract v2). Whole credits, 0 or more. */
1608
+ export type AvatarMinutesBalance = {
1609
+ __typename?: 'AvatarMinutesBalance';
1610
+ /** Credits left for this person now: carried + free within the person's ceiling + plan. */
1611
+ availableMinutes: Scalars['Int']['output'];
1612
+ /** Carried credits left. */
1613
+ carriedRemaining: Scalars['Int']['output'];
1614
+ /** Always 2. */
1615
+ contractVersion: Scalars['Int']['output'];
1616
+ /** The counted free row's amount; 0 without one. */
1617
+ freeMinutesPerMonth: Scalars['Int']['output'];
1618
+ /** Free credits left in this workspace this month, before the person's ceiling. */
1619
+ freeRemaining: Scalars['Int']['output'];
1620
+ /** This person's own open holds that block them; null without actorId. */
1621
+ heldByActorMinutes?: Maybe<Scalars['Int']['output']>;
1622
+ /** Credits reserved by open sessions in this workspace. */
1623
+ heldMinutes: Scalars['Int']['output'];
1624
+ /** Whether a plan with more credits exists for the product. Display only, never an entitlement. */
1625
+ morePlanCreditsAvailable: Scalars['Boolean']['output'];
1626
+ /** The per-person free ceiling; null when off. */
1627
+ personFreeCeiling?: Maybe<Scalars['Int']['output']>;
1628
+ /** The person's free credits left this UTC month; null when the ceiling is off or without actorId. */
1629
+ personFreeRemaining?: Maybe<Scalars['Int']['output']>;
1630
+ /** The counted plans' amounts, summed. */
1631
+ planMinutesPerMonth: Scalars['Int']['output'];
1632
+ /** Plan credits left in this workspace this month. */
1633
+ planRemaining: Scalars['Int']['output'];
1634
+ reason?: Maybe<AvatarMinutesReason>;
1635
+ /** The next 1st, 00:00 UTC (ISO-8601 with milliseconds). */
1636
+ resetsAt: Scalars['String']['output'];
1637
+ state: AvatarMinutesState;
1638
+ };
1639
+ export declare enum AvatarMinutesEndClass {
1640
+ Exact = "EXACT",
1641
+ None = "NONE",
1642
+ Uncertain = "UNCERTAIN"
1643
+ }
1644
+ export declare enum AvatarMinutesMode {
1645
+ Enforce = "ENFORCE",
1646
+ Observe = "OBSERVE"
1647
+ }
1648
+ export declare enum AvatarMinutesReason {
1649
+ FreeCeiling = "FREE_CEILING",
1650
+ NotIncluded = "NOT_INCLUDED",
1651
+ OwnSession = "OWN_SESSION",
1652
+ ZeroSessionLimit = "ZERO_SESSION_LIMIT"
1653
+ }
1654
+ export type AvatarMinutesReservation = {
1655
+ __typename?: 'AvatarMinutesReservation';
1656
+ chargedMinutes?: Maybe<Scalars['Int']['output']>;
1657
+ /** AVATAR, SWEEPER or SUPERSEDE. */
1658
+ closedBy?: Maybe<Scalars['String']['output']>;
1659
+ reservedMinutes: Scalars['Int']['output'];
1660
+ sessionId: Scalars['ID']['output'];
1661
+ /** RESERVED, ACTIVE, SETTLED, RELEASED or EXPIRED. */
1662
+ state: Scalars['String']['output'];
1663
+ };
1664
+ /** HMAC-SHA256 envelope of a signed avatar-minutes call (DESIGN 3.7): the key id (environment-prefixed), the signing instant (strict ISO-8601 UTC with milliseconds) and the MAC (64 lowercase hex). */
1665
+ export type AvatarMinutesSignature = {
1666
+ issuedAt: Scalars['String']['input'];
1667
+ kid: Scalars['String']['input'];
1668
+ value: Scalars['String']['input'];
1669
+ };
1670
+ export declare enum AvatarMinutesState {
1671
+ Available = "AVAILABLE",
1672
+ Exhausted = "EXHAUSTED",
1673
+ InUse = "IN_USE"
1674
+ }
1675
+ /** The provider's session status at settle, noted once on the SETTLED reservation (P-27). */
1676
+ export declare enum AvatarProviderSessionStatus {
1677
+ Canceled = "CANCELED",
1678
+ Ended = "ENDED",
1679
+ Ending = "ENDING",
1680
+ Failed = "FAILED",
1681
+ Other = "OTHER"
1682
+ }
1569
1683
  export declare enum BackoffStrategy {
1570
1684
  Exponential = "EXPONENTIAL",
1571
1685
  ExponentialWithJitter = "EXPONENTIAL_WITH_JITTER",
@@ -1797,13 +1911,17 @@ export type BillingSubscription = {
1797
1911
  };
1798
1912
  export type BillingWebhookLog = {
1799
1913
  __typename?: 'BillingWebhookLog';
1914
+ attemptCount: Scalars['Int']['output'];
1800
1915
  context?: Maybe<Scalars['JSON']['output']>;
1801
1916
  createdAt: Scalars['DateTime']['output'];
1917
+ deadLetteredAt?: Maybe<Scalars['DateTime']['output']>;
1802
1918
  error?: Maybe<Scalars['String']['output']>;
1803
1919
  event: Scalars['String']['output'];
1804
1920
  id: Scalars['ID']['output'];
1921
+ nextAttemptAt?: Maybe<Scalars['DateTime']['output']>;
1805
1922
  payload: Scalars['JSON']['output'];
1806
1923
  processed: Scalars['Boolean']['output'];
1924
+ processingStartedAt?: Maybe<Scalars['DateTime']['output']>;
1807
1925
  provider: Scalars['String']['output'];
1808
1926
  };
1809
1927
  /** Paginated page of BillingWebhookLog rows, for the admin webhook-log viewer — unlike getUnprocessedFailedWebhooks, not restricted to the payment-succeeded event types eligible for refund creation. */
@@ -2920,6 +3038,20 @@ export declare enum CircuitState {
2920
3038
  HalfOpen = "HALF_OPEN",
2921
3039
  Open = "OPEN"
2922
3040
  }
3041
+ export type CloseAvatarMinutesInput = {
3042
+ /** The decider's wall-clock time; audit only. */
3043
+ decidedAt: Scalars['String']['input'];
3044
+ endClass: AvatarMinutesEndClass;
3045
+ /** Sets the rounding by the exhaustive table in DESIGN 3.1. */
3046
+ endReason: Scalars['String']['input'];
3047
+ ownerDecided: Scalars['Boolean']['input'];
3048
+ /** Anchors the lease; absent for a failed start. */
3049
+ readyAt?: InputMaybe<Scalars['String']['input']>;
3050
+ sessionId: Scalars['ID']['input'];
3051
+ /** The decision's span (DESIGN 3.1), whole milliseconds; 0 when not confirmed. */
3052
+ spanMs: Scalars['Int']['input'];
3053
+ workspaceId: Scalars['ID']['input'];
3054
+ };
2923
3055
  export type ComplaintStats = {
2924
3056
  __typename?: 'ComplaintStats';
2925
3057
  complaintRate: Scalars['Float']['output'];
@@ -3470,6 +3602,8 @@ export type CreateContentPageInput = {
3470
3602
  category?: InputMaybe<Scalars['String']['input']>;
3471
3603
  content: Scalars['String']['input'];
3472
3604
  contentFormat?: InputMaybe<Scalars['String']['input']>;
3605
+ /** Customer approval for a case study. All three fields are required, and signedAt may not be in the future. */
3606
+ customerSignOff?: InputMaybe<CustomerSignOffInput>;
3473
3607
  excerpt?: InputMaybe<Scalars['String']['input']>;
3474
3608
  featured?: InputMaybe<Scalars['Boolean']['input']>;
3475
3609
  isPublished?: InputMaybe<Scalars['Boolean']['input']>;
@@ -4675,6 +4809,22 @@ export type CustomerSatisfactionSurveyFilterInput = {
4675
4809
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
4676
4810
  ticketId?: InputMaybe<Scalars['String']['input']>;
4677
4811
  };
4812
+ /** Who at the customer approved a case study, when, and where the written approval is kept. Never invent one: it is the only thing that lets a case study appear on a public website. */
4813
+ export type CustomerSignOff = {
4814
+ __typename?: 'CustomerSignOff';
4815
+ /** Reference to the stored written approval (document id, ticket or file URL). Only returned to callers who manage content pages; null for public visitors. */
4816
+ documentRef?: Maybe<Scalars['String']['output']>;
4817
+ /** When the customer approved the story */
4818
+ signedAt: Scalars['DateTime']['output'];
4819
+ /** Name and role of the approving person at the customer. Only returned to callers who manage content pages; null for public visitors. */
4820
+ signedBy?: Maybe<Scalars['String']['output']>;
4821
+ };
4822
+ /** Customer approval for a case study (see CustomerSignOff) */
4823
+ export type CustomerSignOffInput = {
4824
+ documentRef: Scalars['String']['input'];
4825
+ signedAt: Scalars['DateTime']['input'];
4826
+ signedBy: Scalars['String']['input'];
4827
+ };
4678
4828
  export declare enum DlqStatus {
4679
4829
  Discarded = "DISCARDED",
4680
4830
  Investigating = "INVESTIGATING",
@@ -5499,6 +5649,15 @@ export type EarnCreditsInput = {
5499
5649
  productId?: InputMaybe<Scalars['String']['input']>;
5500
5650
  sourceReferenceId?: InputMaybe<Scalars['String']['input']>;
5501
5651
  };
5652
+ /** Outcome of serviceReverseEarning. */
5653
+ export declare enum EarningReversalOutcome {
5654
+ /** An earlier call already reversed the entry (idempotent replay). */
5655
+ AlreadyReversed = "ALREADY_REVERSED",
5656
+ /** The entry is RESERVED for, or PAID by, a payout and was left unchanged. */
5657
+ NotReversible = "NOT_REVERSIBLE",
5658
+ /** The entry was AVAILABLE and is now REVERSED. */
5659
+ Reversed = "REVERSED"
5660
+ }
5502
5661
  export declare enum EarningUnitType {
5503
5662
  Credits = "CREDITS",
5504
5663
  Money = "MONEY"
@@ -5524,6 +5683,9 @@ export type EarningsEntry = {
5524
5683
  paidAt?: Maybe<Scalars['DateTime']['output']>;
5525
5684
  payoutRequestId?: Maybe<Scalars['ID']['output']>;
5526
5685
  reservedAt?: Maybe<Scalars['DateTime']['output']>;
5686
+ reversalReason?: Maybe<Scalars['String']['output']>;
5687
+ /** When the entry was reversed (its source sale was refunded), if it was. */
5688
+ reversedAt?: Maybe<Scalars['DateTime']['output']>;
5527
5689
  sourceCategory: EarningsSourceCategory;
5528
5690
  sourceEventId?: Maybe<Scalars['String']['output']>;
5529
5691
  sourceReferenceId?: Maybe<Scalars['String']['output']>;
@@ -5558,13 +5720,18 @@ export declare enum EarningsSourceCategory {
5558
5720
  }
5559
5721
  export type EarningsSummary = {
5560
5722
  __typename?: 'EarningsSummary';
5723
+ /** Earned, past its hold window and not yet reserved for a payout. */
5561
5724
  availableAmount: Scalars['Float']['output'];
5562
5725
  categoryBreakdown: Array<EarningsCategoryBreakdown>;
5563
5726
  creditsAmount: Scalars['Float']['output'];
5564
5727
  moneyAmount: Scalars['Float']['output'];
5565
5728
  paidAmount: Scalars['Float']['output'];
5729
+ /** Earned but still inside its hold window (availableAt in the future), so not payable yet. */
5566
5730
  pendingAmount: Scalars['Float']['output'];
5567
5731
  reservedAmount: Scalars['Float']['output'];
5732
+ /** Entries reversed because their source sale was refunded. Not part of any other total. */
5733
+ reversedAmount: Scalars['Float']['output'];
5734
+ /** Everything earned, excluding reversed entries. */
5568
5735
  totalLifetimeAmount: Scalars['Float']['output'];
5569
5736
  };
5570
5737
  export type EditorialCollection = {
@@ -5983,6 +6150,17 @@ export type ExploreConversation = {
5983
6150
  token: Scalars['String']['output'];
5984
6151
  turnCount: Scalars['Int']['output'];
5985
6152
  };
6153
+ /** What a conversation token reveals about its own conversation, and nothing more. Deliberately a separate type from `ExploreConversation`: that one carries the bearer secret and is only ever handed to the caller that already holds it, while this one is a plain read. It has no token, no IP hash and no stored metadata, and it can never describe a conversation other than the one the caller's token owns. */
6154
+ export type ExploreConversationInfo = {
6155
+ __typename?: 'ExploreConversationInfo';
6156
+ createdAt: Scalars['DateTime']['output'];
6157
+ /** The visitor's language: one of `en` `zh` `hi` `es` `ar` `ta`, or null. Null when none was sent, when it was not one of those, and for a conversation stored before the value was checked — never a raw string. */
6158
+ locale?: Maybe<Scalars['String']['output']>;
6159
+ /** Every message the conversation holds, whatever its status. Compare it with the length of an `exploreConversationMessages` read (which is capped at 100) to know whether that read was the whole thread. */
6160
+ messageCount: Scalars['Int']['output'];
6161
+ /** Slug of the product website the conversation started on, as stored. Null when the visitor did not say. */
6162
+ productSlug?: Maybe<Scalars['String']['output']>;
6163
+ };
5986
6164
  /** A call-to-action button derived from a cited link. `kind` is one of: CONTACT PARTNERS PRICING SERVICES WAITLIST STORE APP DOCS OTHER. */
5987
6165
  export type ExploreCta = {
5988
6166
  __typename?: 'ExploreCta';
@@ -6242,6 +6420,12 @@ export type ExternalOidcConfigurationInput = {
6242
6420
  redirectUri?: InputMaybe<Scalars['String']['input']>;
6243
6421
  scopes?: InputMaybe<Array<Scalars['String']['input']>>;
6244
6422
  };
6423
+ export type ExternalRefundResult = {
6424
+ __typename?: 'ExternalRefundResult';
6425
+ alreadyRecorded: Scalars['Boolean']['output'];
6426
+ chargeId: Scalars['ID']['output'];
6427
+ refundId: Scalars['ID']['output'];
6428
+ };
6245
6429
  export type ExternalSettlementResult = {
6246
6430
  __typename?: 'ExternalSettlementResult';
6247
6431
  /** True when the externalRef already had a settlement (idempotent replay). */
@@ -6494,6 +6678,8 @@ export type GetStoreProductTagsInput = {
6494
6678
  export type GrantAppDelegationInternalInput = {
6495
6679
  /** Client ID of the first-party system app (e.g. burdenoff_integration_core). */
6496
6680
  clientId: Scalars['String']['input'];
6681
+ /** When the delegation lapses (BOFF-9962). Must be in the future. Omit for a delegation without an expiry; a re-grant without it keeps no expiry. */
6682
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
6497
6683
  /** Scopes the delegation must keep for other grants that share it (e.g. the user's other integration connections). A retained scope is kept only while the existing delegation is ACTIVE and already holds it, and only while the app still allows it; otherwise it is dropped, never rejected. A grant therefore never restores or adds a scope beyond the requested scopes. */
6498
6684
  retainedScopes?: InputMaybe<Array<Scalars['String']['input']>>;
6499
6685
  /** Workspaces the delegation must keep for other grants that share it. Kept only while the existing delegation is ACTIVE and already covers them: restoring a REVOKED or EXPIRED delegation covers only workspaceIds. Ignored when workspaceIds is empty (unrestricted). */
@@ -6834,6 +7020,8 @@ export type InitiatePaymentInput = {
6834
7020
  quantity?: InputMaybe<Scalars['Int']['input']>;
6835
7021
  /** Whether to save the card for future purchases (only for new card payments) */
6836
7022
  saveCard?: InputMaybe<Scalars['Boolean']['input']>;
7023
+ /** For PLAN purchase of a PER_SEAT plan: the number of seats to charge for. Clamped server-side to [plan.minSeats, plan.maxSeats]; defaults to plan.minSeats (or 1) when omitted. Ignored for FLAT_RATE plans. */
7024
+ seatCount?: InputMaybe<Scalars['Int']['input']>;
6837
7025
  /** For ADDON purchase: subscription ID to attach addon to. Required if billing account has multiple active subscriptions. If only one active subscription exists, it will be auto-selected. */
6838
7026
  subscriptionId?: InputMaybe<Scalars['ID']['input']>;
6839
7027
  /** For PLAN upgrade: the subscription ID being upgraded from. If provided, this is an upgrade - old quotas will be moved to new subscription. */
@@ -6854,6 +7042,8 @@ export type InitiatePaymentResponse = {
6854
7042
  discountType?: Maybe<Scalars['String']['output']>;
6855
7043
  /** Error message if failed */
6856
7044
  error?: Maybe<Scalars['String']['output']>;
7045
+ /** Machine-readable error code when the initiation failed, e.g. PAID_SUBSCRIPTION_REQUIRED when an add-on needs a paid plan (BOFF-9889). */
7046
+ errorCode?: Maybe<Scalars['String']['output']>;
6857
7047
  /** Tax jurisdiction */
6858
7048
  jurisdiction: Scalars['String']['output'];
6859
7049
  /** Razorpay order ID (for Razorpay payments) */
@@ -8041,6 +8231,8 @@ export type Mutation = {
8041
8231
  /** Accept an organization invite (must be logged in as the invited user) */
8042
8232
  acceptOrganizationInvite: OrganizationMember;
8043
8233
  acceptSourcingOffer: SourcingOrderSummary;
8234
+ /** Signed (DESIGN 3.7). The provider is ready: RESERVED to ACTIVE. */
8235
+ activateAvatarMinutes: AvatarMinutesReservation;
8044
8236
  /** Activate a channel */
8045
8237
  activateChannel: Channel;
8046
8238
  /** Activate a connection */
@@ -8217,6 +8409,8 @@ export type Mutation = {
8217
8409
  /** Clear all items from the cart */
8218
8410
  clearCart: CartPayload;
8219
8411
  cloneSchedule: ScheduledJob;
8412
+ /** Signed (DESIGN 3.7). The avatar's end decision: SETTLED with the charge, or RELEASED. */
8413
+ closeAvatarMinutes: AvatarMinutesReservation;
8220
8414
  closeSupportTicket: SupportTicket;
8221
8415
  /** Complete the OAuth flow after the user returns from the developer's OAuth page. Exchanges the authorization code for tokens and activates the integration connection. */
8222
8416
  completeAppOAuth: AppInstallation;
@@ -8429,6 +8623,8 @@ export type Mutation = {
8429
8623
  deactivateResource: Scalars['Boolean']['output'];
8430
8624
  /** Deactivate a tour schedule */
8431
8625
  deactivateTourSchedule: TourSchedule;
8626
+ /** Stops a subject from firing webhooks. The row is kept so a later registration reactivates it. Same ownership rule as registration. */
8627
+ deactivateWebhookEventSubject: WebhookEventSubject;
8432
8628
  /** Pure quota decrement — called by wspace-activity-svc after writing a UsageRecord. Only decrements QuotaAssignment.limits.value. Does NOT write back to activity-svc. Requires the quotaAssignmentId already resolved by checkQuotaExhausted. */
8433
8629
  decrementQuota: Scalars['Boolean']['output'];
8434
8630
  /** Delete current user's account permanently Requires password confirmation */
@@ -8662,7 +8858,15 @@ export type Mutation = {
8662
8858
  /** Generate challenge message for wallet signature */
8663
8859
  generateWalletChallenge: WalletChallengeResult;
8664
8860
  getSupportAttachmentPartUploadUrls: Array<SupportAttachmentPresignedPart>;
8665
- /** Service-trusted internal grant of a first-party self-delegation, keyed by the app's client id. Lets a trusted backend record the consent created when a user adds a first-party integration, without the workspace-admin gate that the public grantDelegation enforces. Gated to internal service / super_admin callers and restricted to first-party system apps. */
8861
+ /** Discard a reply draft without sending it. */
8862
+ globalDiscardTicketReplyDraft: Scalars['Boolean']['output'];
8863
+ /** Draft a reply from published knowledge-base articles, FAQs and canned responses, with citations. Saved as an internal draft, never sent. Fails with GROUNDING_INSUFFICIENT when no article or FAQ covers the ticket. */
8864
+ globalDraftTicketReply: SupportMessage;
8865
+ /** Send a reply draft to the customer as an agent reply, optionally edited. This is the only way a draft reaches a customer. */
8866
+ globalSendTicketReplyDraft: SupportMessage;
8867
+ /** Triage a ticket now: fill an empty category, raise the priority if the evidence calls for it, select the SLA policy and suggest an agent. */
8868
+ globalTriageTicket: SupportTriageDecision;
8869
+ /** Service-trusted internal grant of a first-party self-delegation, keyed by the app's client id. Lets a trusted backend record the consent created when a user adds a first-party integration, without the workspace-admin gate that the public grantDelegation enforces. Gated to internal service / super_admin callers and restricted to first-party system apps, or to service-managed apps for their managing service (BOFF-9962). */
8666
8870
  grantAppDelegationInternal: AppUserDelegation;
8667
8871
  /** Grant an app access to act on a specific workspace. Idempotent: re-granting an ACTIVE authorization updates its scopes; re-granting a REVOKED one flips it back to ACTIVE and clears the revoke fields. */
8668
8872
  grantAppWorkspaceAccess: AppWorkspaceAuthorization;
@@ -8690,7 +8894,7 @@ export type Mutation = {
8690
8894
  initiateNTLMChallenge: NtlmChallengeResult;
8691
8895
  /** Initiate a payment for credits, plans, or addons This creates a Stripe PaymentIntent or Razorpay Order with tax included Returns client secret (Stripe) or order ID (Razorpay) for frontend to complete payment */
8692
8896
  initiatePayment: InitiatePaymentResponse;
8693
- /** Install an application */
8897
+ /** Install an application. For a workspace-private custom node, installing a newer version published to the organization over an active installation updates it (BOFF-9766); the previous version stays installed in the workspace so workflows pinned to it keep running, and uninstall removes every version. */
8694
8898
  installApp: AppInstallation;
8695
8899
  /** Install a purchased app to a workspace. Validates that the product was purchased before allowing installation. If orderId is not provided, will find the most recent processed order for this product. version: optional specific version to install (e.g. "1.2.0"), resolved against the linked devportal Application's published/deprecated versions. Omit to install the product's current latest version (default behavior). */
8696
8900
  installPurchasedApp: InstallPurchasedAppResult;
@@ -8698,7 +8902,7 @@ export type Mutation = {
8698
8902
  inviteDeveloperOrgMember: DeveloperOrgInvitationCreated;
8699
8903
  /** Invite a user to an organization by email */
8700
8904
  inviteOrganizationMember: OrganizationInvite;
8701
- /** Service-trusted internal mint of an app-as-user token for a named first-party app. Lets a trusted backend (e.g. wspace-integrations-svc) mint a token for a secret-less system app without holding client credentials. Gated to internal service / super_admin callers; still requires an ACTIVE AppUserDelegation for (clientId, targetUserId), so a user must have granted access first. */
8905
+ /** Service-trusted internal mint of an app-as-user token for a named first-party app. Lets a trusted backend (e.g. wspace-integrations-svc) mint a token for a secret-less system app without holding client credentials. Gated to internal service / super_admin callers; still requires an ACTIVE AppUserDelegation for (clientId, targetUserId), so a user must have granted access first. A service-managed app (BOFF-9962) is minted only by its managing service, always bound to one workspace, for at most 15 minutes and never past the grant. */
8702
8906
  issueAppAsUserTokenInternal: AppAsUserTokenResponse;
8703
8907
  /** Public endpoint — no authentication required. Email is normalized (trimmed, lowercased). Must be protected by API gateway rate limiting (recommended: 5 req/min per IP). */
8704
8908
  joinWaitlist: NewsletterWaitlist;
@@ -8737,6 +8941,8 @@ export type Mutation = {
8737
8941
  newsletterEraseSubject: NewsletterEraseResult;
8738
8942
  /** Export the subject's newsletter data: subscriber rows, per-list memberships, consent ledger entries, automation enrolments, waitlist entries. */
8739
8943
  newsletterExportSubject: Scalars['JSON']['output'];
8944
+ /** Signed (P-27). The settle owner's provider-status note for the fault list; writes no credits. */
8945
+ noteAvatarSessionProviderStatus: Scalars['Boolean']['output'];
8740
8946
  /** Notify candidates who have more than one application on file (and so may have received more than one take-home assignment email as a result of a since-fixed missing duplicate-email check) that they only need to complete ONE of the assignments they received (admin). Grouped by email address — sends exactly one notice per unique candidate email, never one per duplicate application/round, and re-running this is safe: an email already notified is skipped unless `force` is set. */
8741
8947
  notifyDuplicateApplicants: DuplicateNoticeResult;
8742
8948
  openCircuitBreaker: CircuitBreakerState;
@@ -8764,11 +8970,15 @@ export type Mutation = {
8764
8970
  provisionDedicatedTenant: Tenant;
8765
8971
  /** Provision Free-tier WORKSPACE-scoped quota assignments for a specific workspace (BOFF-5656). Service-to-service only — called by wspace-layer services' workspace.created event consumers (Redis Streams do not cross the wspace/global layer network boundary, so the wspace-side consumer calls this mutation cross-layer instead of billing consuming the event directly). Reuses the org's existing (or lazily-created) default billing account and every active Free ($0, isActive) subscription on it. Idempotent — safe to call repeatedly for the same workspace. Never creates a Plan/Subscription for a product with no registered Free plan; such products are silently skipped, not errored. */
8766
8972
  provisionFreeTierForWorkspace: ProvisionFreeTierForWorkspaceResult;
8973
+ /** Provision a service-managed app (BOFF-9962): an app a backend service owns for a principal of its own, such as a FluidGrids agent. The calling service becomes the app's manager and owner. The app has no usable client secret, so the only way to act as it is issueAppAsUserTokenInternal, by its managing service, for a user who granted it a delegation. Service actors only. */
8974
+ provisionManagedAppInternal: App;
8767
8975
  /** Public unsubscribe via HMAC-signed token from email link. No authentication required. */
8768
8976
  publicUnsubscribeByToken: Scalars['Boolean']['output'];
8769
8977
  publishApplication: Application;
8770
8978
  /** Developer action: submit a draft (or rejected) version for platform review. Status becomes pending_review. The store is NOT updated until an admin approves. */
8771
8979
  publishApplicationVersion: ApplicationVersion;
8980
+ /** Developer-organization admin action (BOFF-9657): publish a draft (or rejected) version of a PRIVATE NODE application straight to the workspaces of your organization, without platform review. The version must carry a package whose validation passed, a READY sandbox image and no failed or running operation smoke test. `workspaceId` is a workspace you administer; its organization becomes the node's owning organization on the first publish, and every later publish must come from that organization. The version is never listed in the public Node Store; it is installable only into workspaces of the owning organization. Authorization is enforced in the resolver: the caller must be an OWNER or ADMIN of the application's developer organization (or own a personal application) and an admin of `workspaceId`. The gateway's organization scope cannot evaluate this today because user sessions carry no verified organization claim, so the directive declares the permission and authenticates the caller. */
8981
+ publishApplicationVersionToOrganization: ApplicationVersion;
8772
8982
  /** Publish ONE curated catalog node version (from the fluidgrids-nodes repo) to every enabled sandbox provider — the same PublishOrchestrator the devportal path uses, so the two cannot drift. That drift is not hypothetical: the catalog previously had no publish trigger at all, so nodes were built and pinned by hand and 14 of 31 prod-bound nodes ended up running code older than fluidgrids-nodes main. One entrypoint, two triggers (devportal publish, catalog CI) is the fix. NOT actor-authenticated: the caller is CI, not a platform user or app, so this verifies a shared secret in the resolver (checked against DEVPORTAL_CALLBACK_SECRET, or CALLBACK_SECRET as shipped by the Secrets Manager bundle) exactly as reportNodeSandboxBuildStatus does. Sent as an argument rather than a header because global-public-gateway forwards only a fixed header allowlist to subgraphs. `zipUrl` must be fetchable by this service — CI uploads the packaged node and passes a presigned URL. `isFirstPublish` tells the orchestrator whether this node type has ever been built before, which is what lets it annotate a provider that cannot self-onboard (Cloudflare) instead of reporting a mystery failure. Defaults to false: a catalog node already running on Cloudflare has a Durable Object class, so only a genuinely new node should pass true. Returns a JSON array of per-provider outcomes so CI can log them and fail the job when nothing could build. */
8773
8983
  publishCatalogNodeVersion: Scalars['JSON']['output'];
8774
8984
  publishFAQ: Faq;
@@ -8808,6 +9018,8 @@ export type Mutation = {
8808
9018
  recordEarningEntry: EarningsEntry;
8809
9019
  /** Record that a visitor followed a link the answer offered. Fire-and-forget from the browser: a click must never be blocked or delayed by analytics, so this reports `recorded: false` rather than throwing when the click cannot be attributed. */
8810
9020
  recordExploreClick: RecordExploreClickResult;
9021
+ /** Record a completed external refund without invoking a payment provider. */
9022
+ recordExternalRefund: ExternalRefundResult;
8811
9023
  /** Record a SETTLED (or pending/failed) external/manual Charge + Transaction on behalf of a workspace/org by explicit id. Service/super_admin only — routed through the internal gateway. Bypasses the Stripe/Razorpay sync path. */
8812
9024
  recordExternalSettlement: ExternalSettlementResult;
8813
9025
  recordFAQView: Faq;
@@ -8840,6 +9052,8 @@ export type Mutation = {
8840
9052
  /** Register a resource with custom RBAC configurations. */
8841
9053
  registerResource: Resource;
8842
9054
  registerSupportAttachmentPart: Scalars['Boolean']['output'];
9055
+ /** Creates or updates subject mappings for a product. Idempotent: a product's service can call it on every deploy. An existing mapping can only be changed by the actor that registered it, or by a super admin. */
9056
+ registerWebhookEventSubjects: Array<WebhookEventSubject>;
8843
9057
  reinstatePublisher: Publisher;
8844
9058
  rejectApplication: Application;
8845
9059
  /** Platform admin only: reject a pending_review version with a reason. The developer can fix their submission and re-submit. */
@@ -8920,6 +9134,8 @@ export type Mutation = {
8920
9134
  replaceChannelTags: Array<ChannelTagAssignment>;
8921
9135
  /** Replace all tags on a store product */
8922
9136
  replaceStoreProductTags: Array<StoreProductTagAssignment>;
9137
+ /** Replay one dead-lettered provider webhook through the durable worker. */
9138
+ replayBillingWebhook?: Maybe<BillingWebhookLog>;
8923
9139
  /** Send an email reply to a contact inquiry. The reply is sent via the notification pipeline (notification-svc → channel-svc → email provider). Auto-updates status to REVIEWED. */
8924
9140
  replyToContactInquiry: ContactInquiryReplyResult;
8925
9141
  /** Send a branded email reply to an applicant (admin). Delivered to the applicant's email via the notification pipeline. Does not change status — the admin controls status explicitly. `message` is rich-text HTML from the admin's editor; it is sanitized to an allowlist before it reaches the email. */
@@ -8958,6 +9174,8 @@ export type Mutation = {
8958
9174
  resendSurvey: CustomerSatisfactionSurvey;
8959
9175
  resendVerificationEmail: ResendVerificationResult;
8960
9176
  reserveAssistantAccountBudget: AssistantBudgetReceipt;
9177
+ /** Signed (DESIGN 3.7). Reserves credits for a session (ENFORCE) or records its shadow (OBSERVE). */
9178
+ reserveAvatarMinutes: AvatarMinutesReservation;
8961
9179
  resetCircuitBreaker: CircuitBreakerState;
8962
9180
  /** Reset password using token from email */
8963
9181
  resetPassword: Scalars['Boolean']['output'];
@@ -8987,6 +9205,8 @@ export type Mutation = {
8987
9205
  resumeDeveloperOrgSubscription: DeveloperOrgSubscription;
8988
9206
  resumeSLA: SupportTicket;
8989
9207
  resumeScheduledJob: ScheduledJob;
9208
+ /** Retire a service-managed app (BOFF-9962): mark it REVOKED and withdraw every delegation it holds. Only its managing service may call it. Idempotent: returns false when the app was already retired. */
9209
+ retireManagedAppInternal: Scalars['Boolean']['output'];
8990
9210
  /** Retire one push registration the transport has reported permanently dead. Called by global-channel-svc after a send fails with a code that means the token itself is gone: FCM's `UNREGISTERED`, or an `INVALID_ARGUMENT` whose message names the registration token. Without it the registry accumulates tokens no push can ever reach, and every later fan-out keeps paying for uninstalled apps. Keyed on the token — that is what the transport rejected, it is unique in this registry, and a service acting on a transport report has no calling actor to scope by. That is precisely why this is service-gated rather than `scopeType: "self"`. `errorCode` is recorded for traceability; the delivery side owns the policy of which codes are terminal (a routing or credential fault must never retire a device — retiring one hides the misconfiguration and destroys the evidence). Returns true if a registration was removed. */
8991
9211
  retirePushDeviceInternal: Scalars['Boolean']['output'];
8992
9212
  retireSubprocessor: Subprocessor;
@@ -9040,7 +9260,7 @@ export type Mutation = {
9040
9260
  rotateConnectionCredentials: ChannelConnection;
9041
9261
  /** Run health check on a channel */
9042
9262
  runChannelHealthCheck: ChannelHealthCheck;
9043
- /** Admin/service-initiated DSAR for an arbitrary subject (e.g. a support-filed or regulator-filed request, or a same-layer service driving the flow on a subject's behalf). Restricted to super_admin and service actors only — never reachable by a regular user for another person's data. */
9263
+ /** Admin/service-initiated DSAR for an arbitrary subject (e.g. a support-filed or regulator-filed request, or a same-layer service driving the flow on a subject's behalf). Restricted to super_admin and service actors only — never reachable by a regular user for another person's data. `subjectEmail` is optional and additive: it lets the fan-out also reach records that are keyed by email only (e.g. a guest contact-inquiry or a newsletter signup with no account), such as `ContactInquiry`, `NewsletterWaitlist`, and `NewsletterSuppression`. Omit it for a subject who only has account-linked records. */
9044
9264
  runDsarRequestForSubject: DsarOrchestrationResult;
9045
9265
  runMonthlyPayouts: PayoutRunLog;
9046
9266
  /** Self-service DSAR: export or erase the CALLING actor's own data across every fan-out target. Self-scoped (Type-A pattern) — subjectId is always the calling actor's own id; there is no identity argument, so this can never be used to act on someone else's data. */
@@ -9092,12 +9312,18 @@ export type Mutation = {
9092
9312
  sendTestNewsletter: TestNewsletterResult;
9093
9313
  /** Record an EarningsEntry on behalf of an org/user by explicit billingAccountId. Service/super_admin only — internal gateway. */
9094
9314
  serviceRecordEarning: EarningsEntry;
9315
+ /** Refund all or part of a payment on behalf of the service that charged it. Idempotent per sourceIdempotencyKey. Service/super_admin only. */
9316
+ serviceRefundPayment: ServiceRefundPaymentResult;
9095
9317
  /** Request a payout drawn from a user's AVAILABLE earnings on an explicit billing account. Reserves matching earnings and creates a PayoutRequest that the existing approval/processing workflow drives to completion. Service/super_admin only — internal gateway. */
9096
9318
  serviceRequestPayout: PayoutRequest;
9097
9319
  /** Resolve (or create) a canonical default PayoutAccount for a publisher/org owner so a service caller can obtain a `payoutAccountId` for `serviceRequestPayout` without the user-only `addPayoutAccount` path. Idempotent / self-healing: repeated calls return the SAME account (no duplicates). Prefers an existing user-registered account; otherwise creates a placeholder that can be referenced but against which NO money moves until the user completes real payment setup. Service/super_admin only — internal gateway. */
9098
9320
  serviceResolvePayoutAccount: PayoutAccount;
9321
+ /** Reverse an earnings entry (by the source key it was recorded with) whose source sale was refunded. Only an AVAILABLE entry (not reserved for, or paid by, a payout) is reversed; the outcome says what happened. Idempotent. Service/super_admin only — internal gateway. */
9322
+ serviceReverseEarning: ServiceEarningReversal;
9099
9323
  /** Mirror a billing PayoutRequest status change back onto the DeveloperOrgPayout it originated from (BOFF-7192). Billing owns the payout system-of-record and is where admins approve/reject/mark-paid; this keeps devportal's own payout history in sync so it doesn't stay stuck showing a stale status forever. Looked up by sourceIdempotencyKey ("devportal:payout:<id>", set when the request was originally mirrored to billing) — a no-op if the key isn't a devportal-originated one, or no matching local payout exists. Service/super_admin only — internal gateway. */
9100
9324
  serviceSyncPayoutStatus?: Maybe<DeveloperOrgPayout>;
9325
+ /** M2M: create or update the calling service's catalogue listing for an item that service sells through its own checkout (BOFF-3430), for cross-product discovery. Idempotent on (calling service identity, input.externalId): call it on every change of the source item. The owning service is always the verified service identity of the caller, never an input field. Set status ARCHIVED to take the listing down. A listing an admin has delisted or rejected stays off display until an admin restores it. Service-actor only. */
9326
+ serviceUpsertExternalListing: StoreProduct;
9101
9327
  setAgentAway: AgentProfile;
9102
9328
  setAgentOffline: AgentProfile;
9103
9329
  setAgentOnline: AgentProfile;
@@ -9187,6 +9413,8 @@ export type Mutation = {
9187
9413
  syncStoreSubmissionStatus: Scalars['Boolean']['output'];
9188
9414
  /** Sync tour steps (smart update in ONE call) Send all desired steps, backend handles: update existing, create new, delete removed */
9189
9415
  syncTourSteps: Array<TourStep>;
9416
+ /** Mirror a workspace deletion from the workspace layer to the global layer. Called by wspace-workspace-svc after its deleteWorkspace soft-deletes the workspace, so the global registry (myWorkspaces, the context switcher, routing) stops listing it as ACTIVE. Marks the global row DELETED and keeps it for audit. Idempotent: an unknown or already-deleted workspace succeeds without changes. */
9417
+ syncWorkspaceDeletionFromWspace: SyncWorkspaceFromWspaceResponse;
9190
9418
  /** Sync workspace metadata from workspace layer to global layer. Called by wspace-workspace-svc when a workspace is created directly via workspace layer. This is the reverse of syncFromGlobal - it syncs global ← wspace. Creates workspace metadata + owner membership in global-tenant-svc. */
9191
9419
  syncWorkspaceFromWspace: SyncWorkspaceFromWspaceResponse;
9192
9420
  tagChannel: ChannelTagAssignment;
@@ -9481,6 +9709,13 @@ export type MutationAcceptSourcingOfferArgs = {
9481
9709
  offerId: Scalars['ID']['input'];
9482
9710
  };
9483
9711
  /** Root mutation type */
9712
+ export type MutationActivateAvatarMinutesArgs = {
9713
+ readyAt: Scalars['String']['input'];
9714
+ sessionId: Scalars['ID']['input'];
9715
+ signature: AvatarMinutesSignature;
9716
+ workspaceId: Scalars['ID']['input'];
9717
+ };
9718
+ /** Root mutation type */
9484
9719
  export type MutationActivateChannelArgs = {
9485
9720
  id: Scalars['ID']['input'];
9486
9721
  };
@@ -9771,10 +10006,12 @@ export type MutationAttachMediaToStepArgs = {
9771
10006
  /** Root mutation type */
9772
10007
  export type MutationAuthEraseSubjectArgs = {
9773
10008
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
10009
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
9774
10010
  subjectId: Scalars['ID']['input'];
9775
10011
  };
9776
10012
  /** Root mutation type */
9777
10013
  export type MutationAuthExportSubjectArgs = {
10014
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
9778
10015
  subjectId: Scalars['ID']['input'];
9779
10016
  };
9780
10017
  /** Root mutation type */
@@ -9992,6 +10229,11 @@ export type MutationCloneScheduleArgs = {
9992
10229
  sourceId: Scalars['ID']['input'];
9993
10230
  };
9994
10231
  /** Root mutation type */
10232
+ export type MutationCloseAvatarMinutesArgs = {
10233
+ input: CloseAvatarMinutesInput;
10234
+ signature: AvatarMinutesSignature;
10235
+ };
10236
+ /** Root mutation type */
9995
10237
  export type MutationCloseSupportTicketArgs = {
9996
10238
  id: Scalars['ID']['input'];
9997
10239
  };
@@ -10600,6 +10842,10 @@ export type MutationDeactivateTourScheduleArgs = {
10600
10842
  id: Scalars['ID']['input'];
10601
10843
  };
10602
10844
  /** Root mutation type */
10845
+ export type MutationDeactivateWebhookEventSubjectArgs = {
10846
+ subject: Scalars['String']['input'];
10847
+ };
10848
+ /** Root mutation type */
10603
10849
  export type MutationDecrementQuotaArgs = {
10604
10850
  amount: Scalars['Int']['input'];
10605
10851
  billingAccountId: Scalars['ID']['input'];
@@ -11064,6 +11310,7 @@ export type MutationEnsureStoreOrderBillingOrderArgs = {
11064
11310
  /** Root mutation type */
11065
11311
  export type MutationEraseSubjectArgs = {
11066
11312
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
11313
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
11067
11314
  subjectId: Scalars['ID']['input'];
11068
11315
  };
11069
11316
  /** Root mutation type */
@@ -11129,6 +11376,7 @@ export type MutationExportRevenueArgs = {
11129
11376
  };
11130
11377
  /** Root mutation type */
11131
11378
  export type MutationExportSubjectArgs = {
11379
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
11132
11380
  subjectId: Scalars['ID']['input'];
11133
11381
  };
11134
11382
  /** Root mutation type */
@@ -11226,6 +11474,23 @@ export type MutationGetSupportAttachmentPartUploadUrlsArgs = {
11226
11474
  ticketId: Scalars['ID']['input'];
11227
11475
  };
11228
11476
  /** Root mutation type */
11477
+ export type MutationGlobalDiscardTicketReplyDraftArgs = {
11478
+ id: Scalars['ID']['input'];
11479
+ };
11480
+ /** Root mutation type */
11481
+ export type MutationGlobalDraftTicketReplyArgs = {
11482
+ ticketId: Scalars['ID']['input'];
11483
+ };
11484
+ /** Root mutation type */
11485
+ export type MutationGlobalSendTicketReplyDraftArgs = {
11486
+ id: Scalars['ID']['input'];
11487
+ message?: InputMaybe<Scalars['String']['input']>;
11488
+ };
11489
+ /** Root mutation type */
11490
+ export type MutationGlobalTriageTicketArgs = {
11491
+ id: Scalars['ID']['input'];
11492
+ };
11493
+ /** Root mutation type */
11229
11494
  export type MutationGrantAppDelegationInternalArgs = {
11230
11495
  input: GrantAppDelegationInternalInput;
11231
11496
  };
@@ -11416,6 +11681,12 @@ export type MutationNewsletterExportSubjectArgs = {
11416
11681
  subjectId: Scalars['ID']['input'];
11417
11682
  };
11418
11683
  /** Root mutation type */
11684
+ export type MutationNoteAvatarSessionProviderStatusArgs = {
11685
+ sessionId: Scalars['ID']['input'];
11686
+ signature: AvatarMinutesSignature;
11687
+ status: AvatarProviderSessionStatus;
11688
+ };
11689
+ /** Root mutation type */
11419
11690
  export type MutationNotifyDuplicateApplicantsArgs = {
11420
11691
  input: NotifyDuplicateApplicantsInput;
11421
11692
  };
@@ -11488,6 +11759,10 @@ export type MutationProvisionFreeTierForWorkspaceArgs = {
11488
11759
  workspaceId: Scalars['ID']['input'];
11489
11760
  };
11490
11761
  /** Root mutation type */
11762
+ export type MutationProvisionManagedAppInternalArgs = {
11763
+ input: ProvisionManagedAppInternalInput;
11764
+ };
11765
+ /** Root mutation type */
11491
11766
  export type MutationPublicUnsubscribeByTokenArgs = {
11492
11767
  token: Scalars['String']['input'];
11493
11768
  };
@@ -11500,6 +11775,11 @@ export type MutationPublishApplicationVersionArgs = {
11500
11775
  id: Scalars['ID']['input'];
11501
11776
  };
11502
11777
  /** Root mutation type */
11778
+ export type MutationPublishApplicationVersionToOrganizationArgs = {
11779
+ id: Scalars['ID']['input'];
11780
+ workspaceId: Scalars['ID']['input'];
11781
+ };
11782
+ /** Root mutation type */
11503
11783
  export type MutationPublishCatalogNodeVersionArgs = {
11504
11784
  isFirstPublish?: InputMaybe<Scalars['Boolean']['input']>;
11505
11785
  nodeType: Scalars['String']['input'];
@@ -11631,6 +11911,10 @@ export type MutationRecordExploreClickArgs = {
11631
11911
  input: RecordExploreClickInput;
11632
11912
  };
11633
11913
  /** Root mutation type */
11914
+ export type MutationRecordExternalRefundArgs = {
11915
+ input: RecordExternalRefundInput;
11916
+ };
11917
+ /** Root mutation type */
11634
11918
  export type MutationRecordExternalSettlementArgs = {
11635
11919
  input: RecordExternalSettlementInput;
11636
11920
  };
@@ -11718,6 +12002,10 @@ export type MutationRegisterSupportAttachmentPartArgs = {
11718
12002
  input: RegisterSupportAttachmentPartInput;
11719
12003
  };
11720
12004
  /** Root mutation type */
12005
+ export type MutationRegisterWebhookEventSubjectsArgs = {
12006
+ input: RegisterWebhookEventSubjectsInput;
12007
+ };
12008
+ /** Root mutation type */
11721
12009
  export type MutationReinstatePublisherArgs = {
11722
12010
  id: Scalars['ID']['input'];
11723
12011
  };
@@ -11940,6 +12228,10 @@ export type MutationReplaceStoreProductTagsArgs = {
11940
12228
  input: ReplaceStoreProductTagsInput;
11941
12229
  };
11942
12230
  /** Root mutation type */
12231
+ export type MutationReplayBillingWebhookArgs = {
12232
+ logId: Scalars['ID']['input'];
12233
+ };
12234
+ /** Root mutation type */
11943
12235
  export type MutationReplyToContactInquiryArgs = {
11944
12236
  id: Scalars['ID']['input'];
11945
12237
  message: Scalars['String']['input'];
@@ -12043,6 +12335,11 @@ export type MutationReserveAssistantAccountBudgetArgs = {
12043
12335
  input: ReserveAssistantBudgetInput;
12044
12336
  };
12045
12337
  /** Root mutation type */
12338
+ export type MutationReserveAvatarMinutesArgs = {
12339
+ input: ReserveAvatarMinutesInput;
12340
+ signature: AvatarMinutesSignature;
12341
+ };
12342
+ /** Root mutation type */
12046
12343
  export type MutationResetCircuitBreakerArgs = {
12047
12344
  scope: Scalars['String']['input'];
12048
12345
  scopeValue: Scalars['String']['input'];
@@ -12130,6 +12427,11 @@ export type MutationResumeScheduledJobArgs = {
12130
12427
  id: Scalars['ID']['input'];
12131
12428
  };
12132
12429
  /** Root mutation type */
12430
+ export type MutationRetireManagedAppInternalArgs = {
12431
+ clientId: Scalars['String']['input'];
12432
+ reason?: InputMaybe<Scalars['String']['input']>;
12433
+ };
12434
+ /** Root mutation type */
12133
12435
  export type MutationRetirePushDeviceInternalArgs = {
12134
12436
  errorCode: Scalars['String']['input'];
12135
12437
  token: Scalars['String']['input'];
@@ -12276,6 +12578,7 @@ export type MutationRunChannelHealthCheckArgs = {
12276
12578
  export type MutationRunDsarRequestForSubjectArgs = {
12277
12579
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
12278
12580
  mode: DsarMode;
12581
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
12279
12582
  subjectId: Scalars['ID']['input'];
12280
12583
  };
12281
12584
  /** Root mutation type */
@@ -12361,6 +12664,10 @@ export type MutationServiceRecordEarningArgs = {
12361
12664
  input: ServiceRecordEarningInput;
12362
12665
  };
12363
12666
  /** Root mutation type */
12667
+ export type MutationServiceRefundPaymentArgs = {
12668
+ input: ServiceRefundPaymentInput;
12669
+ };
12670
+ /** Root mutation type */
12364
12671
  export type MutationServiceRequestPayoutArgs = {
12365
12672
  input: ServiceRequestPayoutInput;
12366
12673
  };
@@ -12369,10 +12676,18 @@ export type MutationServiceResolvePayoutAccountArgs = {
12369
12676
  input: ServiceResolvePayoutAccountInput;
12370
12677
  };
12371
12678
  /** Root mutation type */
12679
+ export type MutationServiceReverseEarningArgs = {
12680
+ input: ServiceReverseEarningInput;
12681
+ };
12682
+ /** Root mutation type */
12372
12683
  export type MutationServiceSyncPayoutStatusArgs = {
12373
12684
  input: ServiceSyncPayoutStatusInput;
12374
12685
  };
12375
12686
  /** Root mutation type */
12687
+ export type MutationServiceUpsertExternalListingArgs = {
12688
+ input: ServiceUpsertExternalListingInput;
12689
+ };
12690
+ /** Root mutation type */
12376
12691
  export type MutationSetAgentAwayArgs = {
12377
12692
  message?: InputMaybe<Scalars['String']['input']>;
12378
12693
  };
@@ -12560,10 +12875,12 @@ export type MutationSubscribeToStoreArgs = {
12560
12875
  /** Root mutation type */
12561
12876
  export type MutationSupportEraseSubjectArgs = {
12562
12877
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
12878
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
12563
12879
  subjectId: Scalars['ID']['input'];
12564
12880
  };
12565
12881
  /** Root mutation type */
12566
12882
  export type MutationSupportExportSubjectArgs = {
12883
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
12567
12884
  subjectId: Scalars['ID']['input'];
12568
12885
  };
12569
12886
  /** Root mutation type */
@@ -12607,6 +12924,10 @@ export type MutationSyncTourStepsArgs = {
12607
12924
  tourId: Scalars['ID']['input'];
12608
12925
  };
12609
12926
  /** Root mutation type */
12927
+ export type MutationSyncWorkspaceDeletionFromWspaceArgs = {
12928
+ workspaceId: Scalars['ID']['input'];
12929
+ };
12930
+ /** Root mutation type */
12610
12931
  export type MutationSyncWorkspaceFromWspaceArgs = {
12611
12932
  input: SyncWorkspaceFromWspaceInput;
12612
12933
  };
@@ -14157,6 +14478,14 @@ export type NotificationReadFilterInput = {
14157
14478
  type?: InputMaybe<NotificationType>;
14158
14479
  userId: Scalars['ID']['input'];
14159
14480
  };
14481
+ /** Sender-owned processing status only; provider acknowledgement is not delivery certification. */
14482
+ export type NotificationSendStatus = {
14483
+ __typename?: 'NotificationSendStatus';
14484
+ deliveryStatus?: Maybe<NotificationDeliveryStatus>;
14485
+ id: Scalars['ID']['output'];
14486
+ status: NotificationStatus;
14487
+ triggerStatus: TriggerStatus;
14488
+ };
14160
14489
  export type NotificationStats = {
14161
14490
  __typename?: 'NotificationStats';
14162
14491
  byChannel: Scalars['JSON']['output'];
@@ -14654,6 +14983,41 @@ export type OrganizationMemberList = {
14654
14983
  offset: Scalars['Int']['output'];
14655
14984
  total: Scalars['Int']['output'];
14656
14985
  };
14986
+ /** A workspace-private custom node of a workspace's organization (BOFF-9766). */
14987
+ export type OrganizationPrivateNode = {
14988
+ __typename?: 'OrganizationPrivateNode';
14989
+ applicationId: Scalars['ID']['output'];
14990
+ iconUrl?: Maybe<Scalars['String']['output']>;
14991
+ /** This workspace's active installation. Pass it to uninstallApp to remove the node. */
14992
+ installationId?: Maybe<Scalars['ID']['output']>;
14993
+ /** True when this workspace has an active installation of the node. */
14994
+ installed: Scalars['Boolean']['output'];
14995
+ /** The version this workspace has installed, when installed. */
14996
+ installedVersion?: Maybe<Scalars['String']['output']>;
14997
+ name: Scalars['String']['output'];
14998
+ /** Workflow node type from the version's manifest, e.g. custom/word_counter. */
14999
+ nodeType?: Maybe<Scalars['String']['output']>;
15000
+ nodeVersion?: Maybe<Scalars['String']['output']>;
15001
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
15002
+ shortDescription?: Maybe<Scalars['String']['output']>;
15003
+ slug: Scalars['String']['output'];
15004
+ /** Installed, and the organization has since published a newer version. */
15005
+ updateAvailable: Scalars['Boolean']['output'];
15006
+ /** Latest version published to the organization. Pass it to installApp. */
15007
+ version: Scalars['String']['output'];
15008
+ /** Id of the latest version published to the organization. */
15009
+ versionId: Scalars['ID']['output'];
15010
+ };
15011
+ /** The private custom nodes a workspace's organization has published, as seen from one workspace (BOFF-9766). */
15012
+ export type OrganizationPrivateNodeListing = {
15013
+ __typename?: 'OrganizationPrivateNodeListing';
15014
+ /** True when the caller administers the workspace and so may install or uninstall. */
15015
+ canManage: Scalars['Boolean']['output'];
15016
+ nodes: Array<OrganizationPrivateNode>;
15017
+ /** Organization the workspace belongs to; null when the caller is not a member or the workspace has no organization. */
15018
+ organizationId?: Maybe<Scalars['ID']['output']>;
15019
+ workspaceId: Scalars['ID']['output'];
15020
+ };
14657
15021
  export type OrganizationScheduleQuotas = {
14658
15022
  __typename?: 'OrganizationScheduleQuotas';
14659
15023
  currentActiveSchedules: Scalars['Int']['output'];
@@ -15562,6 +15926,8 @@ export type ProductContentPage = {
15562
15926
  content: Scalars['String']['output'];
15563
15927
  contentFormat: Scalars['String']['output'];
15564
15928
  createdAt: Scalars['DateTime']['output'];
15929
+ /** The customer's written approval of a case study and its numbers. A page tagged "case-study" is returned by the public content-page queries only when this is set. Null for every other page and for unapproved case studies. */
15930
+ customerSignOff?: Maybe<CustomerSignOff>;
15565
15931
  /** Blog/article fields */
15566
15932
  excerpt?: Maybe<Scalars['String']['output']>;
15567
15933
  featured: Scalars['Boolean']['output'];
@@ -15899,6 +16265,17 @@ export type ProvisionFreeTierForWorkspaceResult = {
15899
16265
  /** Product IDs the assigned quotas belong to. */
15900
16266
  productIds: Array<Scalars['String']['output']>;
15901
16267
  };
16268
+ /** Input for a service-managed app (BOFF-9962). */
16269
+ export type ProvisionManagedAppInternalInput = {
16270
+ description?: InputMaybe<Scalars['String']['input']>;
16271
+ /** Display name, 1 to 200 characters. */
16272
+ name: Scalars['String']['input'];
16273
+ /** Scopes a delegation to the app may carry; at least one. */
16274
+ scopes: Array<Scalars['String']['input']>;
16275
+ tenantId?: InputMaybe<Scalars['String']['input']>;
16276
+ /** BOT (default), ASSISTANT, AUTOMATION or WORKFLOW. */
16277
+ type?: InputMaybe<AppType>;
16278
+ };
15902
16279
  /** Response for createUserTenantStructure mutation */
15903
16280
  export declare enum ProvisioningStatus {
15904
16281
  Ok = "OK",
@@ -16121,6 +16498,8 @@ export type Query = {
16121
16498
  actorRoleAssignments: Array<ActorRoleAssignment>;
16122
16499
  /** List actors with RBAC context in a scope */
16123
16500
  actors: Array<ActorRbacSummary>;
16501
+ /** Whether the caller's organization can buy each add-on (BOFF-9889: add-ons require a paid subscription to their product unless flagged otherwise). With billingAccountId, only that billing account is checked (it must belong to the caller's organization) and subscriptionId, when given, must be one of its paid subscriptions of the add-on's product. Without it, every active billing account of the organization counts. Organization-scoped like getAllAddOns. */
16502
+ addonPurchaseEligibility: Array<AddonPurchaseEligibility>;
16124
16503
  adminAffiliateAnalytics: AffiliateAdminAnalytics;
16125
16504
  adminPayoutRequests: PayoutRequestConnection;
16126
16505
  adminPayoutSummary: PayoutAdminSummary;
@@ -16136,6 +16515,8 @@ export type Query = {
16136
16515
  agentProfile?: Maybe<AgentProfile>;
16137
16516
  agentProfileByUserId?: Maybe<AgentProfile>;
16138
16517
  agentProfiles: AgentProfileConnection;
16518
+ /** Schema capability for optional cache counts. Older callers keep input/output-only pricing. */
16519
+ aiCacheTokenPricingSupported: Scalars['Boolean']['output'];
16139
16520
  /** Active per-model LLM token prices (USD per 1M tokens) used for AI-credit weighting. */
16140
16521
  aiModelPrices: Array<AiModelPrice>;
16141
16522
  /** Admin query: list all organizations in the platform (optionally filtered). Requires global 'organization:read' permission — super admins and platform admins only. For end-user "my orgs" access use myOrganizations instead. */
@@ -16185,6 +16566,8 @@ export type Query = {
16185
16566
  availableAuthMethods: Array<AuthMethod>;
16186
16567
  /** Get available preview features the user can opt-in to within a workspace. Returns only flags that are previewable, active, and allowed by workspace admin. When `productSlug` is provided (each product app shell passes its own slug), the result is scoped to that product's previewable flags PLUS platform-wide previewable flags — so a product's Feature Previews page never surfaces other products' flags. Omit `productSlug` to get every available preview. Bounded by limit/offset to avoid unbounded fetches. */
16187
16568
  availableFeaturePreviews: Array<FeatureFlag>;
16569
+ /** Signed (DESIGN 3.7). The workspace's balance, in the person's view when actorId is given. */
16570
+ avatarMinutesForService: AvatarMinutesBalance;
16188
16571
  bounceStats: BounceStats;
16189
16572
  /** Browse store products with unified filtering, sorting, and pagination. Search is treated as a filter - all filters combine with AND logic. Example usage: ```graphql query { browseStore(input: { filter: { search: "ai notification" type: NODE pricingModel: FREE minRating: 4.0 compatibleWith: "workspaces" } sortBy: RELEVANCE pagination: { limit: 20, offset: 0 } }) { products { id name rating downloads } totalCount hasMore facets { categories { value count } } } } ``` */
16190
16573
  browseStore: BrowseStoreResult;
@@ -16331,6 +16714,8 @@ export type Query = {
16331
16714
  exploreAgentJob?: Maybe<ExploreAgentJob>;
16332
16715
  /** Products, example prompts, welcome copy and limits for the `/explore` page. Never throws — an unreachable agent yields `enabled: false`. */
16333
16716
  exploreCatalog: ExploreCatalog;
16717
+ /** Product site, language and size of the conversation the token owns. Scoped exactly like `exploreConversationMessages`: a token that owns nothing, or that owns a different conversation, is reported as NOT_FOUND, never FORBIDDEN. */
16718
+ exploreConversationInfo: ExploreConversationInfo;
16334
16719
  /** The conversation's messages, oldest first. */
16335
16720
  exploreConversationMessages: Array<ExploreMessage>;
16336
16721
  /** Poll one message. Scoped by `conversationToken`; a token that does not own the message is reported as NOT_FOUND, never FORBIDDEN. */
@@ -16551,6 +16936,8 @@ export type Query = {
16551
16936
  getWebhookEvent?: Maybe<WebhookEvent>;
16552
16937
  /** Get webhook statistics for a channel */
16553
16938
  getWebhookStats: WebhookStats;
16939
+ /** Measure the triage engine against historical human categorisation. Support admins see their tenant; super admins see every tenant. Read-only. */
16940
+ globalTriageEvaluation: SupportTriageEvaluation;
16554
16941
  /** Health check endpoint */
16555
16942
  health: HealthStatus;
16556
16943
  /** Get grouped products for homepage. Optionally filter by compatible product (e.g., "bigconsole", "fluidgrids"). */
@@ -16570,6 +16957,8 @@ export type Query = {
16570
16957
  /** Public listing of an application's installable versions (published or deprecated only — draft/pending_review/rejected versions are never returned here, to avoid exposing unreviewed versions). Used by the Store to let buyers pick a specific version at install time, and by global-store-svc (service actor) to resolve a chosen version's manifest when installing. */
16571
16958
  installableApplicationVersions: Array<ApplicationVersion>;
16572
16959
  installationPermissions?: Maybe<Scalars['JSON']['output']>;
16960
+ /** Runtime routing metadata for an active node installation in the gateway-authenticated workspace. Candidate node types are ordered, with the requested spelling before compatibility aliases. Legacy installation versions are not treated as node runtime versions. */
16961
+ installedStoreNodeRuntime?: Maybe<StoreInstalledNodeRuntime>;
16573
16962
  /** Get a single interview round by ID (admin). */
16574
16963
  interviewRound?: Maybe<InterviewRound>;
16575
16964
  /** Get a single interviewer by ID (admin). */
@@ -16631,6 +17020,8 @@ export type Query = {
16631
17020
  listUserShippingAddresses: Array<ShippingAddress>;
16632
17021
  lookupAffiliateCode?: Maybe<AffiliateCodeLookup>;
16633
17022
  lowStockProducts: Array<LowStockProduct>;
17023
+ /** ACTIVE delegations of a service-managed app (BOFF-9962). Only the service that provisioned the app may list them; any other caller gets NOT_FOUND. */
17024
+ managedAppDelegationsInternal: Array<AppUserDelegation>;
16634
17025
  /** Returns products the current user can access based on their actor type, email domain, and waitlist approval status. Used by app shells for nav. */
16635
17026
  myAccessibleProducts: PlatformProductList;
16636
17027
  myActivityLogs: ActivityLogConnection;
@@ -16663,6 +17054,8 @@ export type Query = {
16663
17054
  myNotificationCountsByApp: Scalars['JSON']['output'];
16664
17055
  /** Get notification counts by channel for authenticated user */
16665
17056
  myNotificationCountsByChannel: NotificationChannelCounts;
17057
+ /** Status of a notification created by the authenticated sender in the current tenant. */
17058
+ myNotificationSendStatus: NotificationSendStatus;
16666
17059
  /** Get all orders for the authenticated user */
16667
17060
  myOrders: Array<StoreOrder>;
16668
17061
  /** Get a SINGLE invite addressed to the current authenticated user, by id. Backs the per-invite acceptance page reached from the invite email link. Self-scoped: the resolver only returns an invite addressed to the caller's own email (or already resolved to their userId); otherwise it returns NOT_FOUND (existence of another account's invite is never revealed). */
@@ -16780,6 +17173,8 @@ export type Query = {
16780
17173
  organizationMembers: OrganizationMemberList;
16781
17174
  /** M2M lookup for global-store-svc's shipping-cost quote pipeline: the org's active pickup postal code — the default DeveloperOrgPickupAddress's postalCode, falling back to the legacy pickupPostalCode scalar for orgs that set one before DeveloperOrgPickupAddress existed, then null (caller falls back to the linked billing account's address, then a platform-wide default). */
16782
17175
  organizationPickupPostalCode?: Maybe<Scalars['String']['output']>;
17176
+ /** The workspace-private custom nodes of a workspace's organization (BOFF-9766): every PRIVATE NODE application bound to the organization the workspace belongs to, with its latest version published to that organization and whether this workspace has it installed. Feeds the "Your organization" section of the FluidGrids Node Store, where a workspace admin installs or updates one with `installApp` and removes it with `uninstallApp`. Self-scoped (Type B): the gateway only authenticates the caller. The resolver lists nothing unless the caller is a member of `workspaceId`, and it only ever lists applications bound to that workspace's own organization, so a workspace of another organization sees none of them. */
17177
+ organizationPrivateNodes: OrganizationPrivateNodeListing;
16783
17178
  organizationScheduleQuotas: OrganizationScheduleQuotas;
16784
17179
  payoutRunHistory: Array<PayoutRunLog>;
16785
17180
  pendingDeveloperOrganizationVerifications: DeveloperOrganizationConnection;
@@ -17046,6 +17441,10 @@ export type Query = {
17046
17441
  webhook?: Maybe<Webhook>;
17047
17442
  webhookDeliveries: WebhookDeliveryConnection;
17048
17443
  webhookDelivery?: Maybe<WebhookDelivery>;
17444
+ /** Every webhook event type currently deliverable, for the webhook event picker. Optionally narrowed to one product. */
17445
+ webhookEventCatalog: Array<WebhookEventCatalogEntry>;
17446
+ /** Registered subject mappings. Platform services and super admins only. */
17447
+ webhookEventSubjects: Array<WebhookEventSubject>;
17049
17448
  webhooks: Array<Webhook>;
17050
17449
  /** Get a single workspace by ID */
17051
17450
  workspace?: Maybe<Workspace>;
@@ -17116,6 +17515,12 @@ export type QueryActorsArgs = {
17116
17515
  scopeId: Scalars['String']['input'];
17117
17516
  };
17118
17517
  /** Root query type */
17518
+ export type QueryAddonPurchaseEligibilityArgs = {
17519
+ addonIds: Array<Scalars['ID']['input']>;
17520
+ billingAccountId?: InputMaybe<Scalars['ID']['input']>;
17521
+ subscriptionId?: InputMaybe<Scalars['ID']['input']>;
17522
+ };
17523
+ /** Root query type */
17119
17524
  export type QueryAdminAffiliateAnalyticsArgs = {
17120
17525
  filter?: InputMaybe<AffiliateAnalyticsFilterInput>;
17121
17526
  };
@@ -17348,6 +17753,13 @@ export type QueryAvailableFeaturePreviewsArgs = {
17348
17753
  workspaceId: Scalars['String']['input'];
17349
17754
  };
17350
17755
  /** Root query type */
17756
+ export type QueryAvatarMinutesForServiceArgs = {
17757
+ actorId?: InputMaybe<Scalars['ID']['input']>;
17758
+ productId: Scalars['String']['input'];
17759
+ signature: AvatarMinutesSignature;
17760
+ workspaceId: Scalars['ID']['input'];
17761
+ };
17762
+ /** Root query type */
17351
17763
  export type QueryBounceStatsArgs = {
17352
17764
  campaignId: Scalars['ID']['input'];
17353
17765
  };
@@ -17773,6 +18185,10 @@ export type QueryExploreCatalogArgs = {
17773
18185
  productSlug?: InputMaybe<Scalars['String']['input']>;
17774
18186
  };
17775
18187
  /** Root query type */
18188
+ export type QueryExploreConversationInfoArgs = {
18189
+ conversationToken: Scalars['String']['input'];
18190
+ };
18191
+ /** Root query type */
17776
18192
  export type QueryExploreConversationMessagesArgs = {
17777
18193
  conversationToken: Scalars['String']['input'];
17778
18194
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -18349,6 +18765,10 @@ export type QueryGetWebhookStatsArgs = {
18349
18765
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
18350
18766
  };
18351
18767
  /** Root query type */
18768
+ export type QueryGlobalTriageEvaluationArgs = {
18769
+ sampleSize?: InputMaybe<Scalars['Int']['input']>;
18770
+ };
18771
+ /** Root query type */
18352
18772
  export type QueryHomeGroupedProductsArgs = {
18353
18773
  compatibleWith?: InputMaybe<Scalars['String']['input']>;
18354
18774
  };
@@ -18413,6 +18833,11 @@ export type QueryInstallationPermissionsArgs = {
18413
18833
  installationId: Scalars['ID']['input'];
18414
18834
  };
18415
18835
  /** Root query type */
18836
+ export type QueryInstalledStoreNodeRuntimeArgs = {
18837
+ nodeTypes: Array<Scalars['String']['input']>;
18838
+ nodeVersion?: InputMaybe<Scalars['String']['input']>;
18839
+ };
18840
+ /** Root query type */
18416
18841
  export type QueryInterviewRoundArgs = {
18417
18842
  id: Scalars['ID']['input'];
18418
18843
  };
@@ -18601,6 +19026,10 @@ export type QueryLowStockProductsArgs = {
18601
19026
  storeId?: InputMaybe<Scalars['ID']['input']>;
18602
19027
  };
18603
19028
  /** Root query type */
19029
+ export type QueryManagedAppDelegationsInternalArgs = {
19030
+ clientId: Scalars['String']['input'];
19031
+ };
19032
+ /** Root query type */
18604
19033
  export type QueryMyAccessibleProductsArgs = {
18605
19034
  limit?: InputMaybe<Scalars['Int']['input']>;
18606
19035
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18659,6 +19088,10 @@ export type QueryMyEntitlementsArgs = {
18659
19088
  offset?: InputMaybe<Scalars['Int']['input']>;
18660
19089
  };
18661
19090
  /** Root query type */
19091
+ export type QueryMyNotificationSendStatusArgs = {
19092
+ id: Scalars['ID']['input'];
19093
+ };
19094
+ /** Root query type */
18662
19095
  export type QueryMyOrdersArgs = {
18663
19096
  limit?: InputMaybe<Scalars['Int']['input']>;
18664
19097
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18971,6 +19404,10 @@ export type QueryOrganizationPickupPostalCodeArgs = {
18971
19404
  id: Scalars['ID']['input'];
18972
19405
  };
18973
19406
  /** Root query type */
19407
+ export type QueryOrganizationPrivateNodesArgs = {
19408
+ workspaceId: Scalars['ID']['input'];
19409
+ };
19410
+ /** Root query type */
18974
19411
  export type QueryPendingDeveloperOrganizationVerificationsArgs = {
18975
19412
  limit?: InputMaybe<Scalars['Int']['input']>;
18976
19413
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -19200,6 +19637,8 @@ export type QueryPushDevicesForUserInternalArgs = {
19200
19637
  };
19201
19638
  /** Root query type */
19202
19639
  export type QueryQuoteAiCreditsArgs = {
19640
+ cacheReadTokens?: InputMaybe<Scalars['Int']['input']>;
19641
+ cacheWriteTokens?: InputMaybe<Scalars['Int']['input']>;
19203
19642
  inputTokens: Scalars['Int']['input'];
19204
19643
  model: Scalars['String']['input'];
19205
19644
  outputTokens: Scalars['Int']['input'];
@@ -19783,6 +20222,15 @@ export type QueryWebhookDeliveryArgs = {
19783
20222
  id: Scalars['ID']['input'];
19784
20223
  };
19785
20224
  /** Root query type */
20225
+ export type QueryWebhookEventCatalogArgs = {
20226
+ productSlug?: InputMaybe<Scalars['String']['input']>;
20227
+ };
20228
+ /** Root query type */
20229
+ export type QueryWebhookEventSubjectsArgs = {
20230
+ includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
20231
+ productSlug?: InputMaybe<Scalars['String']['input']>;
20232
+ };
20233
+ /** Root query type */
19786
20234
  export type QueryWebhooksArgs = {
19787
20235
  applicationId: Scalars['ID']['input'];
19788
20236
  };
@@ -20148,6 +20596,12 @@ export type RecipientInput = {
20148
20596
  export type RecordActivityInput = {
20149
20597
  action: Scalars['String']['input'];
20150
20598
  actorId?: InputMaybe<Scalars['String']['input']>;
20599
+ /** `ai_assistant` when an AI assistant session made the change (BOFF-9649). Honoured only from a service caller relaying a gateway-verified assistant-session marker (the be-sdk tracker); ignored for any other caller, so a user cannot tag or untag their own rows. */
20600
+ actorOrigin?: InputMaybe<Scalars['String']['input']>;
20601
+ /** Proposal / idempotency key the assistant mutation ran under. Same trust rule as actorOrigin. */
20602
+ assistantCorrelationId?: InputMaybe<Scalars['String']['input']>;
20603
+ /** Relay session (assistant sandbox) that made the change. Same trust rule as actorOrigin. */
20604
+ assistantSessionId?: InputMaybe<Scalars['String']['input']>;
20151
20605
  /** Optional idempotency key for backfill/import (audit phase-2). Derive a STABLE key from the source row (e.g. `global_auth_audit:<rowId>`). When set, the write UPSERTs on this key: if a row with the same `dedupeKey` already exists it is returned unchanged (no duplicate, no double-count), so a service can replay ALL of its historical audit rows any number of times and converge to exactly one activity_logs row each — including rows already dual-written in phase-1 (give the dual-write the SAME key so backfill and dual-write converge). When null, behaves exactly as before (plain insert). */
20152
20606
  dedupeKey?: InputMaybe<Scalars['String']['input']>;
20153
20607
  description?: InputMaybe<Scalars['String']['input']>;
@@ -20256,6 +20710,15 @@ export type RecordExploreClickResult = {
20256
20710
  __typename?: 'RecordExploreClickResult';
20257
20711
  recorded: Scalars['Boolean']['output'];
20258
20712
  };
20713
+ export type RecordExternalRefundInput = {
20714
+ amount: Scalars['Float']['input'];
20715
+ chargeId: Scalars['ID']['input'];
20716
+ currency: Scalars['String']['input'];
20717
+ externalRef: Scalars['String']['input'];
20718
+ orgId: Scalars['ID']['input'];
20719
+ reason?: InputMaybe<Scalars['String']['input']>;
20720
+ workspaceId?: InputMaybe<Scalars['ID']['input']>;
20721
+ };
20259
20722
  export type RecordExternalSettlementInput = {
20260
20723
  /** Settlement amount in whole currency units (must be > 0). */
20261
20724
  amount: Scalars['Float']['input'];
@@ -20587,6 +21050,12 @@ export type RegisterSupportAttachmentPartInput = {
20587
21050
  sessionId: Scalars['ID']['input'];
20588
21051
  ticketId: Scalars['ID']['input'];
20589
21052
  };
21053
+ export type RegisterWebhookEventSubjectsInput = {
21054
+ /** Product slug that owns the subjects (e.g. `vibecontrols`, `fluidgrids`). */
21055
+ productSlug: Scalars['String']['input'];
21056
+ /** Mappings to create or update (at most 100 per call). */
21057
+ subjects: Array<WebhookEventSubjectInput>;
21058
+ };
20590
21059
  export type RejectWaitlistInput = {
20591
21060
  id: Scalars['ID']['input'];
20592
21061
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -20685,6 +21154,17 @@ export type ReserveAssistantBudgetInput = {
20685
21154
  outputTokens: Scalars['Int']['input'];
20686
21155
  workspaceId: Scalars['ID']['input'];
20687
21156
  };
21157
+ export type ReserveAvatarMinutesInput = {
21158
+ actorId: Scalars['ID']['input'];
21159
+ mode: AvatarMinutesMode;
21160
+ productId: Scalars['String']['input'];
21161
+ /** 1 to 60; billing reserves min(available, requested, AVATAR_MINUTES_MAX_PER_SESSION). */
21162
+ requestedMinutes: Scalars['Int']['input'];
21163
+ sessionId: Scalars['ID']['input'];
21164
+ supersedesSessionId?: InputMaybe<Scalars['ID']['input']>;
21165
+ surface: Scalars['String']['input'];
21166
+ workspaceId: Scalars['ID']['input'];
21167
+ };
20688
21168
  /** Input for resolving (or creating) the default billing account for a user/org. At least one of `orgId` or `ownerUserId` MUST be supplied: - `orgId` present → resolve-or-create the org's default billing account. - `ownerUserId` only → resolve an EXISTING billing account already associated with that user's earnings/payout accounts. Creation requires an `orgId` anchor because a billing account is always org-scoped. */
20689
21169
  export type ResolveBillingAccountInput = {
20690
21170
  /** Opaque org id that anchors the billing account. When present the org's default billing account is resolved-or-created. */
@@ -21455,7 +21935,7 @@ export type SendExploreMessageInput = {
21455
21935
  attachments?: InputMaybe<Array<ExploreAttachmentInput>>;
21456
21936
  /** Omit to start a new conversation. The result's `conversation.token` is the secret to send back on every following turn. */
21457
21937
  conversationToken?: InputMaybe<Scalars['String']['input']>;
21458
- /** BCP-47 locale of the page (e.g. "en-US"). */
21938
+ /** BCP-47 locale of the page (e.g. "en-US"). Only the language is kept, and only if it is one of `en` `zh` `hi` `es` `ar` `ta` (any case, with or without region or script subtags such as `en-US` or `zh-Hans-CN`). Anything else is treated as not sent — never an error, so a page with an unexpected locale still gets its answer. */
21459
21939
  locale?: InputMaybe<Scalars['String']['input']>;
21460
21940
  /** The visitor's question. */
21461
21941
  message: Scalars['String']['input'];
@@ -21500,6 +21980,11 @@ export type SendRoundMessageToCandidateInput = {
21500
21980
  message: Scalars['String']['input'];
21501
21981
  roundId: Scalars['ID']['input'];
21502
21982
  };
21983
+ export type ServiceEarningReversal = {
21984
+ __typename?: 'ServiceEarningReversal';
21985
+ entry: EarningsEntry;
21986
+ outcome: EarningReversalOutcome;
21987
+ };
21503
21988
  /** Consolidated earnings + payout-request status for a billing account, optionally scoped to a single earnings owner. Lets a delegating service poll the outcome of money-movement it handed to billing. */
21504
21989
  export type ServicePayoutStatus = {
21505
21990
  __typename?: 'ServicePayoutStatus';
@@ -21533,6 +22018,37 @@ export type ServiceRecordEarningInput = {
21533
22018
  sourceSubcategory?: InputMaybe<Scalars['String']['input']>;
21534
22019
  unitType?: InputMaybe<EarningUnitType>;
21535
22020
  };
22021
+ export type ServiceRefundPaymentInput = {
22022
+ /** Amount to refund in whole currency units. Partial refunds are allowed; the sum of a payment's refunds can never exceed the captured amount. */
22023
+ amount: Scalars['Float']['input'];
22024
+ /** Billing account the payment was charged on (through its BillingOrder or subscription). */
22025
+ billingAccountId: Scalars['ID']['input'];
22026
+ /** Optional; must match the payment currency when given. */
22027
+ currency?: InputMaybe<Scalars['String']['input']>;
22028
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
22029
+ /** Billing Payment id (not the provider's payment id). */
22030
+ paymentId: Scalars['ID']['input'];
22031
+ reason: Scalars['String']['input'];
22032
+ /** Caller-owned idempotency key (e.g. "coolandlovely:refund:<orderId>:<brandId>"), unique per billing account. A replay returns the existing refund; a failed one is retried. */
22033
+ sourceIdempotencyKey: Scalars['String']['input'];
22034
+ };
22035
+ export type ServiceRefundPaymentResult = {
22036
+ __typename?: 'ServiceRefundPaymentResult';
22037
+ /** True when the key already had a refund and this call did not process it again. */
22038
+ alreadyProcessed: Scalars['Boolean']['output'];
22039
+ amount: Scalars['Float']['output'];
22040
+ currency: Scalars['String']['output'];
22041
+ error?: Maybe<Scalars['String']['output']>;
22042
+ gatewayRefundId?: Maybe<Scalars['String']['output']>;
22043
+ refundId: Scalars['ID']['output'];
22044
+ /** What is still refundable on the payment after this call. */
22045
+ refundableRemaining: Scalars['Float']['output'];
22046
+ /** Sum of the payment's pending, processing and completed refunds after this call. */
22047
+ refundedTotal: Scalars['Float']['output'];
22048
+ status: RefundRecordStatus;
22049
+ /** True when the provider accepted the refund (now or on an earlier call with the same key). */
22050
+ success: Scalars['Boolean']['output'];
22051
+ };
21536
22052
  export type ServiceRequestPayoutInput = {
21537
22053
  amount: Scalars['Float']['input'];
21538
22054
  /** Explicit billing account the payout is drawn from. */
@@ -21561,6 +22077,14 @@ export type ServiceResolvePayoutAccountInput = {
21561
22077
  /** Destination type for a newly-created placeholder account (defaults to BANK_ACCOUNT). */
21562
22078
  type?: InputMaybe<PayoutAccountType>;
21563
22079
  };
22080
+ export type ServiceReverseEarningInput = {
22081
+ /** Billing account the earning was recorded on. */
22082
+ billingAccountId: Scalars['ID']['input'];
22083
+ /** Why the earning is reversed (e.g. "Order COO-20261024-7F3A9C refunded"). */
22084
+ reason: Scalars['String']['input'];
22085
+ /** The sourceIdempotencyKey the earning was recorded with (serviceRecordEarning). */
22086
+ sourceIdempotencyKey: Scalars['String']['input'];
22087
+ };
21564
22088
  export type ServiceSyncPayoutStatusInput = {
21565
22089
  externalReference?: InputMaybe<Scalars['String']['input']>;
21566
22090
  failureReason?: InputMaybe<Scalars['String']['input']>;
@@ -21569,6 +22093,31 @@ export type ServiceSyncPayoutStatusInput = {
21569
22093
  /** The billing PayoutRequestStatus after the change (e.g. APPROVED, REJECTED, PAID, FAILED). */
21570
22094
  status: Scalars['String']['input'];
21571
22095
  };
22096
+ /** Input for serviceUpsertExternalListing (BOFF-3430). */
22097
+ export type ServiceUpsertExternalListingInput = {
22098
+ /** Brand or maker shown on the listing. */
22099
+ brand?: InputMaybe<Scalars['String']['input']>;
22100
+ category?: InputMaybe<Scalars['String']['input']>;
22101
+ /** ISO 4217 currency code, upper case. */
22102
+ currency: Scalars['String']['input'];
22103
+ description?: InputMaybe<Scalars['String']['input']>;
22104
+ /** The item's id in the calling service. Together with the caller's service identity it identifies the listing. */
22105
+ externalId: Scalars['String']['input'];
22106
+ /** Absolute https URL of the item's page in the owning product. */
22107
+ externalUrl: Scalars['String']['input'];
22108
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
22109
+ name: Scalars['String']['input'];
22110
+ price: Scalars['Float']['input'];
22111
+ /** Platform product key of the caller (for example "coolandlovely"). Used as the listing's compatible product and as its slug prefix. */
22112
+ productKey: Scalars['String']['input'];
22113
+ /** Display name for the caller's publisher profile, created on its first listing. */
22114
+ publisherName: Scalars['String']['input'];
22115
+ /** PUBLISHED (shown in discovery), UNLISTED (kept but hidden) or ARCHIVED (taken down). */
22116
+ status: ProductStatus;
22117
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
22118
+ /** A physical product type (MERCHANDISE, HARDWARE, ACCESSORY, BOOK, EQUIPMENT, APPAREL, COLLECTIBLE or CONSUMABLE). */
22119
+ type: ProductType;
22120
+ };
21572
22121
  /** An active user session (login instance) */
21573
22122
  export type Session = {
21574
22123
  __typename?: 'Session';
@@ -22136,6 +22685,12 @@ export declare enum StoreInstallationStatus {
22136
22685
  Pending = "PENDING",
22137
22686
  Uninstalled = "UNINSTALLED"
22138
22687
  }
22688
+ export type StoreInstalledNodeRuntime = {
22689
+ __typename?: 'StoreInstalledNodeRuntime';
22690
+ endpointUrl: Scalars['String']['output'];
22691
+ nodeType: Scalars['String']['output'];
22692
+ nodeVersion?: Maybe<Scalars['String']['output']>;
22693
+ };
22139
22694
  /** StoreItem entity reference. The actual StoreItem is defined in the Store service. In Federation 2 setup, this will be marked with @key directive. For now, this is a reference type that returns the itemId for the Gateway to resolve. */
22140
22695
  export type StoreItem = {
22141
22696
  __typename?: 'StoreItem';
@@ -22267,6 +22822,12 @@ export type StoreProduct = {
22267
22822
  documentationUrl?: Maybe<Scalars['String']['output']>;
22268
22823
  downloads: Scalars['Int']['output'];
22269
22824
  entitlements: Array<ProductEntitlement>;
22825
+ /** The item's id in the owning product backend (only set with externalService). */
22826
+ externalId?: Maybe<Scalars['String']['output']>;
22827
+ /** Service identity of the product backend that owns this listing when the item is sold by that product's own checkout (for example wspace-coolandlovely-svc). Null for products the store sells itself. Such a listing cannot be added to a store cart or ordered here; send buyers to externalUrl instead. */
22828
+ externalService?: Maybe<Scalars['String']['output']>;
22829
+ /** Page in the owning product where the item can be viewed and bought (only set with externalService). */
22830
+ externalUrl?: Maybe<Scalars['String']['output']>;
22270
22831
  featured: Scalars['Boolean']['output'];
22271
22832
  /** Product height (physical products) */
22272
22833
  height?: Maybe<Scalars['Float']['output']>;
@@ -23049,6 +23610,19 @@ export type SupportContextInput = {
23049
23610
  userId?: InputMaybe<Scalars['ID']['input']>;
23050
23611
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
23051
23612
  };
23613
+ /** A knowledge row a reply draft was built from. */
23614
+ export type SupportDraftCitation = {
23615
+ __typename?: 'SupportDraftCitation';
23616
+ id: Scalars['ID']['output'];
23617
+ kind: SupportDraftCitationKind;
23618
+ score: Scalars['Float']['output'];
23619
+ title: Scalars['String']['output'];
23620
+ };
23621
+ export declare enum SupportDraftCitationKind {
23622
+ CannedResponse = "CANNED_RESPONSE",
23623
+ Faq = "FAQ",
23624
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE"
23625
+ }
23052
23626
  export type SupportEraseResult = {
23053
23627
  __typename?: 'SupportEraseResult';
23054
23628
  anonymised: Scalars['Int']['output'];
@@ -23075,7 +23649,15 @@ export type SupportMessage = {
23075
23649
  /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */
23076
23650
  context?: Maybe<SupportContext>;
23077
23651
  createdAt: Scalars['DateTime']['output'];
23078
- id: Scalars['ID']['output'];
23652
+ /** The knowledge-base articles, FAQs and canned responses a draft was built from. Empty for every message that is not a draft. */
23653
+ draftCitations: Array<SupportDraftCitation>;
23654
+ /** When the draft was sent or discarded. */
23655
+ draftResolvedAt?: Maybe<Scalars['DateTime']['output']>;
23656
+ /** The agent reply that was sent from this draft, once sent. */
23657
+ draftSentMessageId?: Maybe<Scalars['String']['output']>;
23658
+ id: Scalars['ID']['output'];
23659
+ /** True for a reply drafted from the knowledge base that waits for an agent (BOFF-3646). Drafts are always internal and are never sent on their own. */
23660
+ isDraft: Scalars['Boolean']['output'];
23079
23661
  isInternal: Scalars['Boolean']['output'];
23080
23662
  message: Scalars['String']['output'];
23081
23663
  ticket: SupportTicket;
@@ -23124,6 +23706,8 @@ export type SupportTicket = {
23124
23706
  metadata?: Maybe<Scalars['JSON']['output']>;
23125
23707
  priority: SupportTicketPriority;
23126
23708
  reopenedAt?: Maybe<Scalars['DateTime']['output']>;
23709
+ /** The open reply draft for this ticket, if any. Support staff only. */
23710
+ replyDraft?: Maybe<SupportMessage>;
23127
23711
  resolutionDue?: Maybe<Scalars['DateTime']['output']>;
23128
23712
  resolvedAt?: Maybe<Scalars['DateTime']['output']>;
23129
23713
  slaBreachStatus: SlaBreachStatus;
@@ -23139,6 +23723,8 @@ export type SupportTicket = {
23139
23723
  tenantId?: Maybe<Scalars['String']['output']>;
23140
23724
  ticketCategory?: Maybe<TicketCategory>;
23141
23725
  ticketNumber: Scalars['String']['output'];
23726
+ /** The triage engine's latest decision for this ticket, with its evidence (BOFF-3646). Null when the ticket was never triaged, and always null for viewers who cannot read internal notes — the evidence names other tickets. */
23727
+ triageDecision?: Maybe<SupportTriageDecision>;
23142
23728
  updatedAt: Scalars['DateTime']['output'];
23143
23729
  user: User;
23144
23730
  userId: Scalars['String']['output'];
@@ -23189,6 +23775,99 @@ export declare enum SupportTicketStatus {
23189
23775
  Resolved = "RESOLVED",
23190
23776
  WaitingCustomer = "WAITING_CUSTOMER"
23191
23777
  }
23778
+ /** An agent the engine suggests for the ticket. A suggestion only: triage never assigns. */
23779
+ export type SupportTriageAssigneeSuggestion = {
23780
+ __typename?: 'SupportTriageAssigneeSuggestion';
23781
+ agentProfileId: Scalars['ID']['output'];
23782
+ /** Current tickets divided by the agent's ticket capacity. */
23783
+ load: Scalars['Float']['output'];
23784
+ /** Agent skills that matched the ticket's category and tags. */
23785
+ matchedSkills: Array<Scalars['String']['output']>;
23786
+ userId: Scalars['String']['output'];
23787
+ };
23788
+ /** One triage decision, with what it replaced so a person can see and undo it. The engine only fills an empty category and only raises a priority. */
23789
+ export type SupportTriageDecision = {
23790
+ __typename?: 'SupportTriageDecision';
23791
+ category: SupportTicketCategory;
23792
+ /** True when triage set the category. */
23793
+ categoryApplied: Scalars['Boolean']['output'];
23794
+ /** Share of the evidence weight behind the proposed category (0–1). */
23795
+ categoryConfidence: Scalars['Float']['output'];
23796
+ /** Category the ticket has after triage. */
23797
+ categoryId?: Maybe<Scalars['String']['output']>;
23798
+ decidedAt: Scalars['DateTime']['output'];
23799
+ /** Actor who ran it; system:support-triage for automatic runs. */
23800
+ decidedBy: Scalars['String']['output'];
23801
+ /** Engine name and version that made the decision. */
23802
+ engine: Scalars['String']['output'];
23803
+ evidence: Array<SupportTriageEvidence>;
23804
+ /** Plain-language reasons for anything the engine left alone. */
23805
+ notes: Array<Scalars['String']['output']>;
23806
+ previousCategory: SupportTicketCategory;
23807
+ previousCategoryId?: Maybe<Scalars['String']['output']>;
23808
+ previousPriority: SupportTicketPriority;
23809
+ previousSlaPolicyId?: Maybe<Scalars['String']['output']>;
23810
+ priority: SupportTicketPriority;
23811
+ /** Phrases and similar-ticket votes that set the priority. */
23812
+ prioritySignals: Array<Scalars['String']['output']>;
23813
+ /** Category the evidence pointed to, applied or not. */
23814
+ proposedCategoryId?: Maybe<Scalars['String']['output']>;
23815
+ /** True when triage changed the SLA policy. */
23816
+ slaApplied: Scalars['Boolean']['output'];
23817
+ slaPolicyId?: Maybe<Scalars['String']['output']>;
23818
+ suggestedAssignee?: Maybe<SupportTriageAssigneeSuggestion>;
23819
+ trigger: SupportTriageTrigger;
23820
+ };
23821
+ /** The engine replayed over recent tickets people categorised and resolved, using only older tickets as evidence for each. */
23822
+ export type SupportTriageEvaluation = {
23823
+ __typename?: 'SupportTriageEvaluation';
23824
+ cases: Array<SupportTriageEvaluationCase>;
23825
+ /** Share of cases where the engine would apply a category. */
23826
+ categoryCoverage: Scalars['Float']['output'];
23827
+ /** Share of applied categories that match the person's choice. */
23828
+ categoryPrecision: Scalars['Float']['output'];
23829
+ correctCount: Scalars['Int']['output'];
23830
+ decidedCount: Scalars['Int']['output'];
23831
+ engine: Scalars['String']['output'];
23832
+ /** Share of cases where the engine's priority matches the final priority. */
23833
+ priorityAgreement: Scalars['Float']['output'];
23834
+ sampleSize: Scalars['Int']['output'];
23835
+ };
23836
+ /** One replayed ticket in a triage evaluation. */
23837
+ export type SupportTriageEvaluationCase = {
23838
+ __typename?: 'SupportTriageEvaluationCase';
23839
+ confidence: Scalars['Float']['output'];
23840
+ correct: Scalars['Boolean']['output'];
23841
+ decided: Scalars['Boolean']['output'];
23842
+ /** The category a person gave the ticket. */
23843
+ expectedCategoryId: Scalars['String']['output'];
23844
+ expectedPriority: SupportTicketPriority;
23845
+ /** The category the engine would have applied, or null when it would abstain. */
23846
+ predictedCategoryId?: Maybe<Scalars['String']['output']>;
23847
+ predictedPriority: SupportTicketPriority;
23848
+ ticketId: Scalars['ID']['output'];
23849
+ ticketNumber: Scalars['String']['output'];
23850
+ };
23851
+ /** A row the triage engine weighed: a similar resolved ticket or a published knowledge-base article. */
23852
+ export type SupportTriageEvidence = {
23853
+ __typename?: 'SupportTriageEvidence';
23854
+ id: Scalars['ID']['output'];
23855
+ kind: SupportTriageEvidenceKind;
23856
+ /** Ticket number for tickets, title for articles. */
23857
+ label: Scalars['String']['output'];
23858
+ /** Full-text relevance score (Postgres ts_rank). */
23859
+ score: Scalars['Float']['output'];
23860
+ };
23861
+ export declare enum SupportTriageEvidenceKind {
23862
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE",
23863
+ Ticket = "TICKET"
23864
+ }
23865
+ export declare enum SupportTriageTrigger {
23866
+ /** Run on demand by a support agent. */
23867
+ Manual = "MANUAL",
23868
+ /** Run automatically when the ticket was created. */
23869
+ TicketCreated = "TICKET_CREATED"
23870
+ }
23192
23871
  export type SuppressIdentifierInput = {
23193
23872
  channel: SuppressionChannel;
23194
23873
  expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -24485,6 +25164,8 @@ export type UpdateContentPageInput = {
24485
25164
  category?: InputMaybe<Scalars['String']['input']>;
24486
25165
  content?: InputMaybe<Scalars['String']['input']>;
24487
25166
  contentFormat?: InputMaybe<Scalars['String']['input']>;
25167
+ /** Set, replace or (with null) withdraw the customer approval. Withdrawing it removes a case study from the public queries. */
25168
+ customerSignOff?: InputMaybe<CustomerSignOffInput>;
24488
25169
  excerpt?: InputMaybe<Scalars['String']['input']>;
24489
25170
  featured?: InputMaybe<Scalars['Boolean']['input']>;
24490
25171
  isPublished?: InputMaybe<Scalars['Boolean']['input']>;
@@ -24500,6 +25181,8 @@ export type UpdateContentPageInput = {
24500
25181
  visibility?: InputMaybe<ContentVisibility>;
24501
25182
  };
24502
25183
  export type UpdateCouponInput = {
25184
+ applicableEntityTypes?: InputMaybe<Array<CouponEntityType>>;
25185
+ applicableProductIds?: InputMaybe<Array<Scalars['String']['input']>>;
24503
25186
  description?: InputMaybe<Scalars['String']['input']>;
24504
25187
  maxTotalUses?: InputMaybe<Scalars['Int']['input']>;
24505
25188
  maxUsesPerUser?: InputMaybe<Scalars['Int']['input']>;
@@ -26120,6 +26803,16 @@ export type WebhookEvent = {
26120
26803
  /** Last update timestamp */
26121
26804
  updatedAt: Scalars['DateTime']['output'];
26122
26805
  };
26806
+ /** A webhook event type a developer application can subscribe a webhook to. */
26807
+ export type WebhookEventCatalogEntry = {
26808
+ __typename?: 'WebhookEventCatalogEntry';
26809
+ description?: Maybe<Scalars['String']['output']>;
26810
+ /** Event type, sent as the X-Event-Type header and the payload `event` field. */
26811
+ eventType: Scalars['String']['output'];
26812
+ /** Product that emits the event (`devportal` for portal lifecycle events). */
26813
+ productSlug: Scalars['String']['output'];
26814
+ source: WebhookEventSource;
26815
+ };
26123
26816
  /** Paginated list of webhook events with cursor support. Pass `nextCursor` from a previous response as `cursor` in the next call. */
26124
26817
  export type WebhookEventList = {
26125
26818
  __typename?: 'WebhookEventList';
@@ -26128,6 +26821,33 @@ export type WebhookEventList = {
26128
26821
  nextCursor?: Maybe<Scalars['String']['output']>;
26129
26822
  total: Scalars['Int']['output'];
26130
26823
  };
26824
+ /** Where a webhook event type originates. */
26825
+ export declare enum WebhookEventSource {
26826
+ /** Fired by the developer portal itself (application and installation lifecycle). */
26827
+ Devportal = "DEVPORTAL",
26828
+ /** Fired from a workspace entity change, through a registered subject mapping. */
26829
+ Workspace = "WORKSPACE"
26830
+ }
26831
+ /** Maps a workspace graph-event subject to the webhook event type it fires. */
26832
+ export type WebhookEventSubject = {
26833
+ __typename?: 'WebhookEventSubject';
26834
+ createdAt: Scalars['DateTime']['output'];
26835
+ description?: Maybe<Scalars['String']['output']>;
26836
+ eventType: Scalars['String']['output'];
26837
+ id: Scalars['ID']['output'];
26838
+ isActive: Scalars['Boolean']['output'];
26839
+ productSlug: Scalars['String']['output'];
26840
+ /** Graph-event subject, `graph.<module>.<Entity>.<action>`. */
26841
+ subject: Scalars['String']['output'];
26842
+ updatedAt: Scalars['DateTime']['output'];
26843
+ };
26844
+ export type WebhookEventSubjectInput = {
26845
+ description?: InputMaybe<Scalars['String']['input']>;
26846
+ /** Dotted lower-case event type, e.g. `vibe.created`. The `application.` and `installation.` namespaces are reserved for the developer portal. */
26847
+ eventType: Scalars['String']['input'];
26848
+ /** Graph-event subject, `graph.<module>.<Entity>.<action>`. */
26849
+ subject: Scalars['String']['input'];
26850
+ };
26131
26851
  /** Webhook processing result */
26132
26852
  export type WebhookProcessingResult = {
26133
26853
  __typename?: 'WebhookProcessingResult';
@@ -26390,6 +27110,8 @@ export type CreateAddOnsInput = {
26390
27110
  price: Scalars['Float']['input'];
26391
27111
  productId: Scalars['String']['input'];
26392
27112
  quotas: Array<AddonQuotaInput>;
27113
+ /** Whether buying this add-on requires a paid subscription to its product. Defaults to true; set false only for items sold to Free users on purpose. */
27114
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26393
27115
  };
26394
27116
  export type CreatePlanInput = {
26395
27117
  currency?: InputMaybe<Scalars['String']['input']>;
@@ -26428,6 +27150,8 @@ export type UpdateAddOnsInput = {
26428
27150
  name?: InputMaybe<Scalars['String']['input']>;
26429
27151
  price?: InputMaybe<Scalars['Float']['input']>;
26430
27152
  quotas: Array<AddonQuotaInput>;
27153
+ /** Whether buying this add-on requires a paid subscription to its product. Omit to leave unchanged. */
27154
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26431
27155
  };
26432
27156
  export type UpdatePlanInput = {
26433
27157
  /** Immutable once set — see `price`. Throws CURRENCY_CHANGE_NOT_ALLOWED on an actual change. */