@burdenoff/microfe-planmagnet 2026.1014.2 → 2026.1031.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 */
@@ -8181,7 +8373,7 @@ export type Mutation = {
8181
8373
  bulkSendCustomEmail: BulkCustomEmailResult;
8182
8374
  /** Send the same free-text message to multiple candidate rounds at once (admin). Each item is processed independently — a round already messaged is skipped unless `force` is set, and one item failing does not abort the rest. */
8183
8375
  bulkSendRoundMessage: BulkSendResult;
8184
- /** Bulk set user's opt-in/out preference for multiple feature flags. RBAC is scoped to the target workspace via `input.workspaceId`. */
8376
+ /** Bulk set the calling user's opt-in/out preference for multiple feature flags. Self-scoped: rows are keyed by the caller's user id and the resolver requires membership of `input.workspaceId`. */
8185
8377
  bulkSetUserFeatureFlagPreferences: Array<UserFeatureFlagPreference>;
8186
8378
  /** Update status for a batch of applications at once (admin) — e.g. marking everyone a bulk email just went to as EMAIL_SENT so a later bulk-send doesn't re-email the same people, then moving them back to whatever status applies once the outcome is decided. One item failing (e.g. a deleted application) does not abort the rest. */
8187
8379
  bulkUpdateApplicationStatus: BulkUpdateApplicationStatusResult;
@@ -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. */
@@ -8894,7 +9108,7 @@ export type Mutation = {
8894
9108
  /** Revoke a previously-granted tenant-member row. Idempotent on the missing row (returns false). Cascade-removing the user's existing org/workspace memberships under the tenant is NOT performed here — those rows survive and would need to be removed separately if the intent is full ejection. (BOFF-2652) */
8895
9109
  removeTenantMember: Scalars['Boolean']['output'];
8896
9110
  removeTicketTags: SupportTicket;
8897
- /** Remove user's preference for a feature flag (reverts to default). RBAC is scoped to the target workspace. */
9111
+ /** Remove the calling user's preference for a feature flag (reverts to default). Self-scoped: the row is keyed by the caller's user id and the resolver requires membership of `workspaceId`. */
8898
9112
  removeUserFeatureFlagPreference: Scalars['Boolean']['output'];
8899
9113
  /** Remove a visibility rule */
8900
9114
  removeVisibilityRule: Scalars['Boolean']['output'];
@@ -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. */
@@ -9056,7 +9276,7 @@ export type Mutation = {
9056
9276
  seedAtheleteBridgeUserTours: SeedAtheleteBridgeUserToursResult;
9057
9277
  /** Overwrite the service-owned BigConsole onboarding tours. Repeated calls update the same slugs. */
9058
9278
  seedBigconsoleUserTours: SeedBigconsoleUserToursResult;
9059
- /** Overwrite the built-in Buildmyiq user-facing dashboard tour from the service-owned seed file. */
9279
+ /** Overwrite the built-in Buildmyiq user-facing tours (dashboard with the getting-started checklist, authoring, and my learning) from the service-owned seed file. */
9060
9280
  seedBuildmyiqUserTours: SeedBuildmyiqUserToursResult;
9061
9281
  /** Overwrite the built-in CollabKin user-facing dashboard tour from the service-owned seed file. */
9062
9282
  seedCollabkinUserTours: SeedCollabkinUserToursResult;
@@ -9068,8 +9288,12 @@ export type Mutation = {
9068
9288
  seedDefaultShortcuts: Scalars['Int']['output'];
9069
9289
  /** Overwrite the built-in FluidGrids user-facing workflow-builder tour from the service-owned seed file. */
9070
9290
  seedFluidgridsUserTours: SeedFluidgridsUserToursResult;
9291
+ /** Overwrite the built-in HookMovies user-facing tours (overview with the getting-started checklist, catalog, productions and auditions) from the service-owned seed file. */
9292
+ seedHookmoviesUserTours: SeedHookmoviesUserToursResult;
9071
9293
  /** Overwrite the built-in IntelWatchtower user-facing tours for the intelligence workflow. */
9072
9294
  seedIntelWatchtowerUserTours: SeedIntelWatchtowerUserToursResult;
9295
+ /** Overwrite the built-in SemanticFed user-facing tours (first-login getting started, empty workspace, query console and policies) from the service-owned seed file. */
9296
+ seedSemanticFedUserTours: SeedSemanticFedUserToursResult;
9073
9297
  /** Overwrite the built-in TheCulturePost user-facing tours from the service-owned seed file. */
9074
9298
  seedTheCulturePostUserTours: SeedTheCulturePostUserToursResult;
9075
9299
  /** Overwrite the built-in VibeControls user-facing tours for Support, Notifications, and Conversations from the service-owned seed file. */
@@ -9092,12 +9316,18 @@ export type Mutation = {
9092
9316
  sendTestNewsletter: TestNewsletterResult;
9093
9317
  /** Record an EarningsEntry on behalf of an org/user by explicit billingAccountId. Service/super_admin only — internal gateway. */
9094
9318
  serviceRecordEarning: EarningsEntry;
9319
+ /** Refund all or part of a payment on behalf of the service that charged it. Idempotent per sourceIdempotencyKey. Service/super_admin only. */
9320
+ serviceRefundPayment: ServiceRefundPaymentResult;
9095
9321
  /** 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
9322
  serviceRequestPayout: PayoutRequest;
9097
9323
  /** 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
9324
  serviceResolvePayoutAccount: PayoutAccount;
9325
+ /** 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. */
9326
+ serviceReverseEarning: ServiceEarningReversal;
9099
9327
  /** 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
9328
  serviceSyncPayoutStatus?: Maybe<DeveloperOrgPayout>;
9329
+ /** 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. */
9330
+ serviceUpsertExternalListing: StoreProduct;
9101
9331
  setAgentAway: AgentProfile;
9102
9332
  setAgentOffline: AgentProfile;
9103
9333
  setAgentOnline: AgentProfile;
@@ -9122,7 +9352,7 @@ export type Mutation = {
9122
9352
  setStoreOrderShipping: StoreOrder;
9123
9353
  /** Set or update the endpoint URL for a DEDICATED tenant. Transitions PROVISIONING → ACTIVE when endpoint is set. */
9124
9354
  setTenantEndpoint: Tenant;
9125
- /** Set user's opt-in/out preference for a previewable feature flag. RBAC is scoped to the target workspace via `input.workspaceId`. */
9355
+ /** Set the calling user's opt-in/out preference for a previewable feature flag. Self-scoped: the row is keyed by the caller's user id and the resolver requires membership of `input.workspaceId`. */
9126
9356
  setUserFeatureFlagPreference: UserFeatureFlagPreference;
9127
9357
  setUserLanguagePreference: UserLanguagePreference;
9128
9358
  /** Set workspace-level override for a feature flag (super admin or workspace admin). RBAC is scoped to the target workspace via `input.workspaceId`. */
@@ -9165,6 +9395,8 @@ export type Mutation = {
9165
9395
  submitProduct: StoreProduct;
9166
9396
  submitPublisherVerification: Publisher;
9167
9397
  submitSatisfactionSurvey: CustomerSatisfactionSurvey;
9398
+ /** Publish a workflow as a community template (or resubmit one of yours after a rejection). The template is reviewed by a store admin before it is listed. */
9399
+ submitWorkflowTemplate: WorkflowTemplateSubmission;
9168
9400
  /** Public endpoint — no authentication required for website newsletter signup. Email is normalized (trimmed, lowercased) and validated in the provider. Protected by rate limiting (5 req/min per IP) and optional reCAPTCHA at the resolver. */
9169
9401
  subscribe: NewsletterSubscriber;
9170
9402
  subscribeToStore: UserStoreSubscription;
@@ -9187,6 +9419,8 @@ export type Mutation = {
9187
9419
  syncStoreSubmissionStatus: Scalars['Boolean']['output'];
9188
9420
  /** Sync tour steps (smart update in ONE call) Send all desired steps, backend handles: update existing, create new, delete removed */
9189
9421
  syncTourSteps: Array<TourStep>;
9422
+ /** 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. */
9423
+ syncWorkspaceDeletionFromWspace: SyncWorkspaceFromWspaceResponse;
9190
9424
  /** 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
9425
  syncWorkspaceFromWspace: SyncWorkspaceFromWspaceResponse;
9192
9426
  tagChannel: ChannelTagAssignment;
@@ -9466,6 +9700,8 @@ export type Mutation = {
9466
9700
  /** Vote on a review (helpful/not helpful) */
9467
9701
  voteOnAppReview: AppReviewVote;
9468
9702
  withdrawConsent: ConsentRecord;
9703
+ /** Withdraw one of your templates. A published template is taken off the store first; anything not live is deleted. */
9704
+ withdrawWorkflowTemplateSubmission: WithdrawWorkflowTemplateSubmissionResult;
9469
9705
  };
9470
9706
  /** Root mutation type */
9471
9707
  export type MutationAcceptDeveloperOrgInvitationArgs = {
@@ -9481,6 +9717,13 @@ export type MutationAcceptSourcingOfferArgs = {
9481
9717
  offerId: Scalars['ID']['input'];
9482
9718
  };
9483
9719
  /** Root mutation type */
9720
+ export type MutationActivateAvatarMinutesArgs = {
9721
+ readyAt: Scalars['String']['input'];
9722
+ sessionId: Scalars['ID']['input'];
9723
+ signature: AvatarMinutesSignature;
9724
+ workspaceId: Scalars['ID']['input'];
9725
+ };
9726
+ /** Root mutation type */
9484
9727
  export type MutationActivateChannelArgs = {
9485
9728
  id: Scalars['ID']['input'];
9486
9729
  };
@@ -9771,10 +10014,12 @@ export type MutationAttachMediaToStepArgs = {
9771
10014
  /** Root mutation type */
9772
10015
  export type MutationAuthEraseSubjectArgs = {
9773
10016
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
10017
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
9774
10018
  subjectId: Scalars['ID']['input'];
9775
10019
  };
9776
10020
  /** Root mutation type */
9777
10021
  export type MutationAuthExportSubjectArgs = {
10022
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
9778
10023
  subjectId: Scalars['ID']['input'];
9779
10024
  };
9780
10025
  /** Root mutation type */
@@ -9992,6 +10237,11 @@ export type MutationCloneScheduleArgs = {
9992
10237
  sourceId: Scalars['ID']['input'];
9993
10238
  };
9994
10239
  /** Root mutation type */
10240
+ export type MutationCloseAvatarMinutesArgs = {
10241
+ input: CloseAvatarMinutesInput;
10242
+ signature: AvatarMinutesSignature;
10243
+ };
10244
+ /** Root mutation type */
9995
10245
  export type MutationCloseSupportTicketArgs = {
9996
10246
  id: Scalars['ID']['input'];
9997
10247
  };
@@ -10600,6 +10850,10 @@ export type MutationDeactivateTourScheduleArgs = {
10600
10850
  id: Scalars['ID']['input'];
10601
10851
  };
10602
10852
  /** Root mutation type */
10853
+ export type MutationDeactivateWebhookEventSubjectArgs = {
10854
+ subject: Scalars['String']['input'];
10855
+ };
10856
+ /** Root mutation type */
10603
10857
  export type MutationDecrementQuotaArgs = {
10604
10858
  amount: Scalars['Int']['input'];
10605
10859
  billingAccountId: Scalars['ID']['input'];
@@ -11064,6 +11318,7 @@ export type MutationEnsureStoreOrderBillingOrderArgs = {
11064
11318
  /** Root mutation type */
11065
11319
  export type MutationEraseSubjectArgs = {
11066
11320
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
11321
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
11067
11322
  subjectId: Scalars['ID']['input'];
11068
11323
  };
11069
11324
  /** Root mutation type */
@@ -11129,6 +11384,7 @@ export type MutationExportRevenueArgs = {
11129
11384
  };
11130
11385
  /** Root mutation type */
11131
11386
  export type MutationExportSubjectArgs = {
11387
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
11132
11388
  subjectId: Scalars['ID']['input'];
11133
11389
  };
11134
11390
  /** Root mutation type */
@@ -11226,6 +11482,23 @@ export type MutationGetSupportAttachmentPartUploadUrlsArgs = {
11226
11482
  ticketId: Scalars['ID']['input'];
11227
11483
  };
11228
11484
  /** Root mutation type */
11485
+ export type MutationGlobalDiscardTicketReplyDraftArgs = {
11486
+ id: Scalars['ID']['input'];
11487
+ };
11488
+ /** Root mutation type */
11489
+ export type MutationGlobalDraftTicketReplyArgs = {
11490
+ ticketId: Scalars['ID']['input'];
11491
+ };
11492
+ /** Root mutation type */
11493
+ export type MutationGlobalSendTicketReplyDraftArgs = {
11494
+ id: Scalars['ID']['input'];
11495
+ message?: InputMaybe<Scalars['String']['input']>;
11496
+ };
11497
+ /** Root mutation type */
11498
+ export type MutationGlobalTriageTicketArgs = {
11499
+ id: Scalars['ID']['input'];
11500
+ };
11501
+ /** Root mutation type */
11229
11502
  export type MutationGrantAppDelegationInternalArgs = {
11230
11503
  input: GrantAppDelegationInternalInput;
11231
11504
  };
@@ -11416,6 +11689,12 @@ export type MutationNewsletterExportSubjectArgs = {
11416
11689
  subjectId: Scalars['ID']['input'];
11417
11690
  };
11418
11691
  /** Root mutation type */
11692
+ export type MutationNoteAvatarSessionProviderStatusArgs = {
11693
+ sessionId: Scalars['ID']['input'];
11694
+ signature: AvatarMinutesSignature;
11695
+ status: AvatarProviderSessionStatus;
11696
+ };
11697
+ /** Root mutation type */
11419
11698
  export type MutationNotifyDuplicateApplicantsArgs = {
11420
11699
  input: NotifyDuplicateApplicantsInput;
11421
11700
  };
@@ -11488,6 +11767,10 @@ export type MutationProvisionFreeTierForWorkspaceArgs = {
11488
11767
  workspaceId: Scalars['ID']['input'];
11489
11768
  };
11490
11769
  /** Root mutation type */
11770
+ export type MutationProvisionManagedAppInternalArgs = {
11771
+ input: ProvisionManagedAppInternalInput;
11772
+ };
11773
+ /** Root mutation type */
11491
11774
  export type MutationPublicUnsubscribeByTokenArgs = {
11492
11775
  token: Scalars['String']['input'];
11493
11776
  };
@@ -11500,6 +11783,11 @@ export type MutationPublishApplicationVersionArgs = {
11500
11783
  id: Scalars['ID']['input'];
11501
11784
  };
11502
11785
  /** Root mutation type */
11786
+ export type MutationPublishApplicationVersionToOrganizationArgs = {
11787
+ id: Scalars['ID']['input'];
11788
+ workspaceId: Scalars['ID']['input'];
11789
+ };
11790
+ /** Root mutation type */
11503
11791
  export type MutationPublishCatalogNodeVersionArgs = {
11504
11792
  isFirstPublish?: InputMaybe<Scalars['Boolean']['input']>;
11505
11793
  nodeType: Scalars['String']['input'];
@@ -11631,6 +11919,10 @@ export type MutationRecordExploreClickArgs = {
11631
11919
  input: RecordExploreClickInput;
11632
11920
  };
11633
11921
  /** Root mutation type */
11922
+ export type MutationRecordExternalRefundArgs = {
11923
+ input: RecordExternalRefundInput;
11924
+ };
11925
+ /** Root mutation type */
11634
11926
  export type MutationRecordExternalSettlementArgs = {
11635
11927
  input: RecordExternalSettlementInput;
11636
11928
  };
@@ -11718,6 +12010,10 @@ export type MutationRegisterSupportAttachmentPartArgs = {
11718
12010
  input: RegisterSupportAttachmentPartInput;
11719
12011
  };
11720
12012
  /** Root mutation type */
12013
+ export type MutationRegisterWebhookEventSubjectsArgs = {
12014
+ input: RegisterWebhookEventSubjectsInput;
12015
+ };
12016
+ /** Root mutation type */
11721
12017
  export type MutationReinstatePublisherArgs = {
11722
12018
  id: Scalars['ID']['input'];
11723
12019
  };
@@ -11940,6 +12236,10 @@ export type MutationReplaceStoreProductTagsArgs = {
11940
12236
  input: ReplaceStoreProductTagsInput;
11941
12237
  };
11942
12238
  /** Root mutation type */
12239
+ export type MutationReplayBillingWebhookArgs = {
12240
+ logId: Scalars['ID']['input'];
12241
+ };
12242
+ /** Root mutation type */
11943
12243
  export type MutationReplyToContactInquiryArgs = {
11944
12244
  id: Scalars['ID']['input'];
11945
12245
  message: Scalars['String']['input'];
@@ -12043,6 +12343,11 @@ export type MutationReserveAssistantAccountBudgetArgs = {
12043
12343
  input: ReserveAssistantBudgetInput;
12044
12344
  };
12045
12345
  /** Root mutation type */
12346
+ export type MutationReserveAvatarMinutesArgs = {
12347
+ input: ReserveAvatarMinutesInput;
12348
+ signature: AvatarMinutesSignature;
12349
+ };
12350
+ /** Root mutation type */
12046
12351
  export type MutationResetCircuitBreakerArgs = {
12047
12352
  scope: Scalars['String']['input'];
12048
12353
  scopeValue: Scalars['String']['input'];
@@ -12130,6 +12435,11 @@ export type MutationResumeScheduledJobArgs = {
12130
12435
  id: Scalars['ID']['input'];
12131
12436
  };
12132
12437
  /** Root mutation type */
12438
+ export type MutationRetireManagedAppInternalArgs = {
12439
+ clientId: Scalars['String']['input'];
12440
+ reason?: InputMaybe<Scalars['String']['input']>;
12441
+ };
12442
+ /** Root mutation type */
12133
12443
  export type MutationRetirePushDeviceInternalArgs = {
12134
12444
  errorCode: Scalars['String']['input'];
12135
12445
  token: Scalars['String']['input'];
@@ -12276,6 +12586,7 @@ export type MutationRunChannelHealthCheckArgs = {
12276
12586
  export type MutationRunDsarRequestForSubjectArgs = {
12277
12587
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
12278
12588
  mode: DsarMode;
12589
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
12279
12590
  subjectId: Scalars['ID']['input'];
12280
12591
  };
12281
12592
  /** Root mutation type */
@@ -12361,6 +12672,10 @@ export type MutationServiceRecordEarningArgs = {
12361
12672
  input: ServiceRecordEarningInput;
12362
12673
  };
12363
12674
  /** Root mutation type */
12675
+ export type MutationServiceRefundPaymentArgs = {
12676
+ input: ServiceRefundPaymentInput;
12677
+ };
12678
+ /** Root mutation type */
12364
12679
  export type MutationServiceRequestPayoutArgs = {
12365
12680
  input: ServiceRequestPayoutInput;
12366
12681
  };
@@ -12369,10 +12684,18 @@ export type MutationServiceResolvePayoutAccountArgs = {
12369
12684
  input: ServiceResolvePayoutAccountInput;
12370
12685
  };
12371
12686
  /** Root mutation type */
12687
+ export type MutationServiceReverseEarningArgs = {
12688
+ input: ServiceReverseEarningInput;
12689
+ };
12690
+ /** Root mutation type */
12372
12691
  export type MutationServiceSyncPayoutStatusArgs = {
12373
12692
  input: ServiceSyncPayoutStatusInput;
12374
12693
  };
12375
12694
  /** Root mutation type */
12695
+ export type MutationServiceUpsertExternalListingArgs = {
12696
+ input: ServiceUpsertExternalListingInput;
12697
+ };
12698
+ /** Root mutation type */
12376
12699
  export type MutationSetAgentAwayArgs = {
12377
12700
  message?: InputMaybe<Scalars['String']['input']>;
12378
12701
  };
@@ -12550,6 +12873,10 @@ export type MutationSubmitSatisfactionSurveyArgs = {
12550
12873
  input: SubmitSatisfactionSurveyInput;
12551
12874
  };
12552
12875
  /** Root mutation type */
12876
+ export type MutationSubmitWorkflowTemplateArgs = {
12877
+ input: SubmitWorkflowTemplateInput;
12878
+ };
12879
+ /** Root mutation type */
12553
12880
  export type MutationSubscribeArgs = {
12554
12881
  input: SubscribeInput;
12555
12882
  };
@@ -12560,10 +12887,12 @@ export type MutationSubscribeToStoreArgs = {
12560
12887
  /** Root mutation type */
12561
12888
  export type MutationSupportEraseSubjectArgs = {
12562
12889
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
12890
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
12563
12891
  subjectId: Scalars['ID']['input'];
12564
12892
  };
12565
12893
  /** Root mutation type */
12566
12894
  export type MutationSupportExportSubjectArgs = {
12895
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
12567
12896
  subjectId: Scalars['ID']['input'];
12568
12897
  };
12569
12898
  /** Root mutation type */
@@ -12607,6 +12936,10 @@ export type MutationSyncTourStepsArgs = {
12607
12936
  tourId: Scalars['ID']['input'];
12608
12937
  };
12609
12938
  /** Root mutation type */
12939
+ export type MutationSyncWorkspaceDeletionFromWspaceArgs = {
12940
+ workspaceId: Scalars['ID']['input'];
12941
+ };
12942
+ /** Root mutation type */
12610
12943
  export type MutationSyncWorkspaceFromWspaceArgs = {
12611
12944
  input: SyncWorkspaceFromWspaceInput;
12612
12945
  };
@@ -13481,6 +13814,10 @@ export type MutationVoteOnAppReviewArgs = {
13481
13814
  export type MutationWithdrawConsentArgs = {
13482
13815
  input: WithdrawConsentInput;
13483
13816
  };
13817
+ /** Root mutation type */
13818
+ export type MutationWithdrawWorkflowTemplateSubmissionArgs = {
13819
+ id: Scalars['ID']['input'];
13820
+ };
13484
13821
  /** Filter inputs for `myContactInquiries`. Search and email-filter are deliberately not exposed — the query is already scoped to the caller's email, so a full-text search across `name`/`subject` would only surface inquiries the caller already owns. */
13485
13822
  export type MyContactInquiryFilterInput = {
13486
13823
  /** Filter by inquiry category (exact match against the stored string). */
@@ -14157,6 +14494,14 @@ export type NotificationReadFilterInput = {
14157
14494
  type?: InputMaybe<NotificationType>;
14158
14495
  userId: Scalars['ID']['input'];
14159
14496
  };
14497
+ /** Sender-owned processing status only; provider acknowledgement is not delivery certification. */
14498
+ export type NotificationSendStatus = {
14499
+ __typename?: 'NotificationSendStatus';
14500
+ deliveryStatus?: Maybe<NotificationDeliveryStatus>;
14501
+ id: Scalars['ID']['output'];
14502
+ status: NotificationStatus;
14503
+ triggerStatus: TriggerStatus;
14504
+ };
14160
14505
  export type NotificationStats = {
14161
14506
  __typename?: 'NotificationStats';
14162
14507
  byChannel: Scalars['JSON']['output'];
@@ -14654,6 +14999,41 @@ export type OrganizationMemberList = {
14654
14999
  offset: Scalars['Int']['output'];
14655
15000
  total: Scalars['Int']['output'];
14656
15001
  };
15002
+ /** A workspace-private custom node of a workspace's organization (BOFF-9766). */
15003
+ export type OrganizationPrivateNode = {
15004
+ __typename?: 'OrganizationPrivateNode';
15005
+ applicationId: Scalars['ID']['output'];
15006
+ iconUrl?: Maybe<Scalars['String']['output']>;
15007
+ /** This workspace's active installation. Pass it to uninstallApp to remove the node. */
15008
+ installationId?: Maybe<Scalars['ID']['output']>;
15009
+ /** True when this workspace has an active installation of the node. */
15010
+ installed: Scalars['Boolean']['output'];
15011
+ /** The version this workspace has installed, when installed. */
15012
+ installedVersion?: Maybe<Scalars['String']['output']>;
15013
+ name: Scalars['String']['output'];
15014
+ /** Workflow node type from the version's manifest, e.g. custom/word_counter. */
15015
+ nodeType?: Maybe<Scalars['String']['output']>;
15016
+ nodeVersion?: Maybe<Scalars['String']['output']>;
15017
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
15018
+ shortDescription?: Maybe<Scalars['String']['output']>;
15019
+ slug: Scalars['String']['output'];
15020
+ /** Installed, and the organization has since published a newer version. */
15021
+ updateAvailable: Scalars['Boolean']['output'];
15022
+ /** Latest version published to the organization. Pass it to installApp. */
15023
+ version: Scalars['String']['output'];
15024
+ /** Id of the latest version published to the organization. */
15025
+ versionId: Scalars['ID']['output'];
15026
+ };
15027
+ /** The private custom nodes a workspace's organization has published, as seen from one workspace (BOFF-9766). */
15028
+ export type OrganizationPrivateNodeListing = {
15029
+ __typename?: 'OrganizationPrivateNodeListing';
15030
+ /** True when the caller administers the workspace and so may install or uninstall. */
15031
+ canManage: Scalars['Boolean']['output'];
15032
+ nodes: Array<OrganizationPrivateNode>;
15033
+ /** Organization the workspace belongs to; null when the caller is not a member or the workspace has no organization. */
15034
+ organizationId?: Maybe<Scalars['ID']['output']>;
15035
+ workspaceId: Scalars['ID']['output'];
15036
+ };
14657
15037
  export type OrganizationScheduleQuotas = {
14658
15038
  __typename?: 'OrganizationScheduleQuotas';
14659
15039
  currentActiveSchedules: Scalars['Int']['output'];
@@ -15562,6 +15942,8 @@ export type ProductContentPage = {
15562
15942
  content: Scalars['String']['output'];
15563
15943
  contentFormat: Scalars['String']['output'];
15564
15944
  createdAt: Scalars['DateTime']['output'];
15945
+ /** 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. */
15946
+ customerSignOff?: Maybe<CustomerSignOff>;
15565
15947
  /** Blog/article fields */
15566
15948
  excerpt?: Maybe<Scalars['String']['output']>;
15567
15949
  featured: Scalars['Boolean']['output'];
@@ -15898,6 +16280,19 @@ export type ProvisionFreeTierForWorkspaceResult = {
15898
16280
  hasBillingAccount: Scalars['Boolean']['output'];
15899
16281
  /** Product IDs the assigned quotas belong to. */
15900
16282
  productIds: Array<Scalars['String']['output']>;
16283
+ /** Free-plan product IDs this workspace received no quotas from because every active free subscription for that product is already activated on plan.maxWorkspaces other workspaces of the org. Empty when nothing was capped. A non-empty list explains an assignedQuotas of 0: activate a plan with spare workspace capacity (activateSubscriptionForWorkspace) or upgrade the plan. */
16284
+ skippedAtCapProductIds: Array<Scalars['String']['output']>;
16285
+ };
16286
+ /** Input for a service-managed app (BOFF-9962). */
16287
+ export type ProvisionManagedAppInternalInput = {
16288
+ description?: InputMaybe<Scalars['String']['input']>;
16289
+ /** Display name, 1 to 200 characters. */
16290
+ name: Scalars['String']['input'];
16291
+ /** Scopes a delegation to the app may carry; at least one. */
16292
+ scopes: Array<Scalars['String']['input']>;
16293
+ tenantId?: InputMaybe<Scalars['String']['input']>;
16294
+ /** BOT (default), ASSISTANT, AUTOMATION or WORKFLOW. */
16295
+ type?: InputMaybe<AppType>;
15901
16296
  };
15902
16297
  /** Response for createUserTenantStructure mutation */
15903
16298
  export declare enum ProvisioningStatus {
@@ -16121,6 +16516,8 @@ export type Query = {
16121
16516
  actorRoleAssignments: Array<ActorRoleAssignment>;
16122
16517
  /** List actors with RBAC context in a scope */
16123
16518
  actors: Array<ActorRbacSummary>;
16519
+ /** 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. */
16520
+ addonPurchaseEligibility: Array<AddonPurchaseEligibility>;
16124
16521
  adminAffiliateAnalytics: AffiliateAdminAnalytics;
16125
16522
  adminPayoutRequests: PayoutRequestConnection;
16126
16523
  adminPayoutSummary: PayoutAdminSummary;
@@ -16136,6 +16533,8 @@ export type Query = {
16136
16533
  agentProfile?: Maybe<AgentProfile>;
16137
16534
  agentProfileByUserId?: Maybe<AgentProfile>;
16138
16535
  agentProfiles: AgentProfileConnection;
16536
+ /** Schema capability for optional cache counts. Older callers keep input/output-only pricing. */
16537
+ aiCacheTokenPricingSupported: Scalars['Boolean']['output'];
16139
16538
  /** Active per-model LLM token prices (USD per 1M tokens) used for AI-credit weighting. */
16140
16539
  aiModelPrices: Array<AiModelPrice>;
16141
16540
  /** 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. */
@@ -16183,8 +16582,10 @@ export type Query = {
16183
16582
  automationSubscribers: Array<AutomationSubscriber>;
16184
16583
  availableAgents: Array<AgentProfile>;
16185
16584
  availableAuthMethods: Array<AuthMethod>;
16186
- /** 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. */
16585
+ /** 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. Self-scoped: every workspace member loads this, so the gateway only requires an authenticated actor and the resolver requires membership of `workspaceId`. Bounded by limit/offset to avoid unbounded fetches. */
16187
16586
  availableFeaturePreviews: Array<FeatureFlag>;
16587
+ /** Signed (DESIGN 3.7). The workspace's balance, in the person's view when actorId is given. */
16588
+ avatarMinutesForService: AvatarMinutesBalance;
16188
16589
  bounceStats: BounceStats;
16189
16590
  /** 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
16591
  browseStore: BrowseStoreResult;
@@ -16317,7 +16718,7 @@ export type Query = {
16317
16718
  estimateNewsletterRecipients: NewsletterRecipientEstimate;
16318
16719
  /** Estimate shipping for an order with a specific method */
16319
16720
  estimateOrderShipping: OrderShippingEstimate;
16320
- /** Evaluate feature flags for the current actor in a workspace context. Used by frontend providers for bulk flag evaluation. Returns OpenFeature-compatible ResolutionDetails for each flag. RBAC is scoped to the target workspace via `input.workspaceId`. */
16721
+ /** Evaluate feature flags for the current actor in a workspace context. Used by frontend providers for bulk flag evaluation. Returns OpenFeature-compatible ResolutionDetails for each flag. Self-scoped: every page evaluates flags, so the gateway only requires an authenticated actor and the resolver requires membership of `input.workspaceId`. */
16321
16722
  evaluateFeatureFlags: FeatureFlagBulkEvaluation;
16322
16723
  /** One conversation with its full transcript, references, CTAs and clicks. Superadmin only. */
16323
16724
  exploreAdminConversation?: Maybe<ExploreAdminConversation>;
@@ -16331,6 +16732,8 @@ export type Query = {
16331
16732
  exploreAgentJob?: Maybe<ExploreAgentJob>;
16332
16733
  /** Products, example prompts, welcome copy and limits for the `/explore` page. Never throws — an unreachable agent yields `enabled: false`. */
16333
16734
  exploreCatalog: ExploreCatalog;
16735
+ /** 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. */
16736
+ exploreConversationInfo: ExploreConversationInfo;
16334
16737
  /** The conversation's messages, oldest first. */
16335
16738
  exploreConversationMessages: Array<ExploreMessage>;
16336
16739
  /** Poll one message. Scoped by `conversationToken`; a token that does not own the message is reported as NOT_FOUND, never FORBIDDEN. */
@@ -16551,6 +16954,8 @@ export type Query = {
16551
16954
  getWebhookEvent?: Maybe<WebhookEvent>;
16552
16955
  /** Get webhook statistics for a channel */
16553
16956
  getWebhookStats: WebhookStats;
16957
+ /** Measure the triage engine against historical human categorisation. Support admins see their tenant; super admins see every tenant. Read-only. */
16958
+ globalTriageEvaluation: SupportTriageEvaluation;
16554
16959
  /** Health check endpoint */
16555
16960
  health: HealthStatus;
16556
16961
  /** Get grouped products for homepage. Optionally filter by compatible product (e.g., "bigconsole", "fluidgrids"). */
@@ -16570,6 +16975,8 @@ export type Query = {
16570
16975
  /** 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
16976
  installableApplicationVersions: Array<ApplicationVersion>;
16572
16977
  installationPermissions?: Maybe<Scalars['JSON']['output']>;
16978
+ /** 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. */
16979
+ installedStoreNodeRuntime?: Maybe<StoreInstalledNodeRuntime>;
16573
16980
  /** Get a single interview round by ID (admin). */
16574
16981
  interviewRound?: Maybe<InterviewRound>;
16575
16982
  /** Get a single interviewer by ID (admin). */
@@ -16631,6 +17038,8 @@ export type Query = {
16631
17038
  listUserShippingAddresses: Array<ShippingAddress>;
16632
17039
  lookupAffiliateCode?: Maybe<AffiliateCodeLookup>;
16633
17040
  lowStockProducts: Array<LowStockProduct>;
17041
+ /** 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. */
17042
+ managedAppDelegationsInternal: Array<AppUserDelegation>;
16634
17043
  /** 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
17044
  myAccessibleProducts: PlatformProductList;
16636
17045
  myActivityLogs: ActivityLogConnection;
@@ -16663,6 +17072,8 @@ export type Query = {
16663
17072
  myNotificationCountsByApp: Scalars['JSON']['output'];
16664
17073
  /** Get notification counts by channel for authenticated user */
16665
17074
  myNotificationCountsByChannel: NotificationChannelCounts;
17075
+ /** Status of a notification created by the authenticated sender in the current tenant. */
17076
+ myNotificationSendStatus: NotificationSendStatus;
16666
17077
  /** Get all orders for the authenticated user */
16667
17078
  myOrders: Array<StoreOrder>;
16668
17079
  /** 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). */
@@ -16711,6 +17122,8 @@ export type Query = {
16711
17122
  /** List user's linked wallets */
16712
17123
  myWallets: Array<WalletInfo>;
16713
17124
  myWishlist: Array<UserWishlist>;
17125
+ /** Your own community workflow templates, newest first. */
17126
+ myWorkflowTemplateSubmissions: WorkflowTemplateSubmissionList;
16714
17127
  /** Get workspaces where the current user is a member (owned + added to). Membership-scoped: the resolver filters by actorId, so the returned set IS the access list. Any authenticated user may call this; no RBAC permission is checked. */
16715
17128
  myWorkspaces: WorkspaceList;
16716
17129
  newsletter?: Maybe<Newsletter>;
@@ -16780,6 +17193,8 @@ export type Query = {
16780
17193
  organizationMembers: OrganizationMemberList;
16781
17194
  /** 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
17195
  organizationPickupPostalCode?: Maybe<Scalars['String']['output']>;
17196
+ /** 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. */
17197
+ organizationPrivateNodes: OrganizationPrivateNodeListing;
16783
17198
  organizationScheduleQuotas: OrganizationScheduleQuotas;
16784
17199
  payoutRunHistory: Array<PayoutRunLog>;
16785
17200
  pendingDeveloperOrganizationVerifications: DeveloperOrganizationConnection;
@@ -17021,7 +17436,7 @@ export type Query = {
17021
17436
  userBillingPlan: UserBillingPlan;
17022
17437
  /** Get total count of users (for analytics) */
17023
17438
  userCount: Scalars['Int']['output'];
17024
- /** Get a user's feature flag preferences in a workspace. Bounded by limit/offset to avoid unbounded fetches. */
17439
+ /** Get the calling user's own feature flag preferences in a workspace. Self-scoped: the resolver filters rows by the caller's user id, so the result is the access control. Bounded by limit/offset to avoid unbounded fetches. */
17025
17440
  userFeatureFlagPreferences: Array<UserFeatureFlagPreference>;
17026
17441
  userLanguagePreference?: Maybe<UserLanguagePreference>;
17027
17442
  /** Check if the current user has reviewed a specific product */
@@ -17046,6 +17461,10 @@ export type Query = {
17046
17461
  webhook?: Maybe<Webhook>;
17047
17462
  webhookDeliveries: WebhookDeliveryConnection;
17048
17463
  webhookDelivery?: Maybe<WebhookDelivery>;
17464
+ /** Every webhook event type currently deliverable, for the webhook event picker. Optionally narrowed to one product. */
17465
+ webhookEventCatalog: Array<WebhookEventCatalogEntry>;
17466
+ /** Registered subject mappings. Platform services and super admins only. */
17467
+ webhookEventSubjects: Array<WebhookEventSubject>;
17049
17468
  webhooks: Array<Webhook>;
17050
17469
  /** Get a single workspace by ID */
17051
17470
  workspace?: Maybe<Workspace>;
@@ -17116,6 +17535,12 @@ export type QueryActorsArgs = {
17116
17535
  scopeId: Scalars['String']['input'];
17117
17536
  };
17118
17537
  /** Root query type */
17538
+ export type QueryAddonPurchaseEligibilityArgs = {
17539
+ addonIds: Array<Scalars['ID']['input']>;
17540
+ billingAccountId?: InputMaybe<Scalars['ID']['input']>;
17541
+ subscriptionId?: InputMaybe<Scalars['ID']['input']>;
17542
+ };
17543
+ /** Root query type */
17119
17544
  export type QueryAdminAffiliateAnalyticsArgs = {
17120
17545
  filter?: InputMaybe<AffiliateAnalyticsFilterInput>;
17121
17546
  };
@@ -17348,6 +17773,13 @@ export type QueryAvailableFeaturePreviewsArgs = {
17348
17773
  workspaceId: Scalars['String']['input'];
17349
17774
  };
17350
17775
  /** Root query type */
17776
+ export type QueryAvatarMinutesForServiceArgs = {
17777
+ actorId?: InputMaybe<Scalars['ID']['input']>;
17778
+ productId: Scalars['String']['input'];
17779
+ signature: AvatarMinutesSignature;
17780
+ workspaceId: Scalars['ID']['input'];
17781
+ };
17782
+ /** Root query type */
17351
17783
  export type QueryBounceStatsArgs = {
17352
17784
  campaignId: Scalars['ID']['input'];
17353
17785
  };
@@ -17773,6 +18205,10 @@ export type QueryExploreCatalogArgs = {
17773
18205
  productSlug?: InputMaybe<Scalars['String']['input']>;
17774
18206
  };
17775
18207
  /** Root query type */
18208
+ export type QueryExploreConversationInfoArgs = {
18209
+ conversationToken: Scalars['String']['input'];
18210
+ };
18211
+ /** Root query type */
17776
18212
  export type QueryExploreConversationMessagesArgs = {
17777
18213
  conversationToken: Scalars['String']['input'];
17778
18214
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -18349,6 +18785,10 @@ export type QueryGetWebhookStatsArgs = {
18349
18785
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
18350
18786
  };
18351
18787
  /** Root query type */
18788
+ export type QueryGlobalTriageEvaluationArgs = {
18789
+ sampleSize?: InputMaybe<Scalars['Int']['input']>;
18790
+ };
18791
+ /** Root query type */
18352
18792
  export type QueryHomeGroupedProductsArgs = {
18353
18793
  compatibleWith?: InputMaybe<Scalars['String']['input']>;
18354
18794
  };
@@ -18413,6 +18853,11 @@ export type QueryInstallationPermissionsArgs = {
18413
18853
  installationId: Scalars['ID']['input'];
18414
18854
  };
18415
18855
  /** Root query type */
18856
+ export type QueryInstalledStoreNodeRuntimeArgs = {
18857
+ nodeTypes: Array<Scalars['String']['input']>;
18858
+ nodeVersion?: InputMaybe<Scalars['String']['input']>;
18859
+ };
18860
+ /** Root query type */
18416
18861
  export type QueryInterviewRoundArgs = {
18417
18862
  id: Scalars['ID']['input'];
18418
18863
  };
@@ -18601,6 +19046,10 @@ export type QueryLowStockProductsArgs = {
18601
19046
  storeId?: InputMaybe<Scalars['ID']['input']>;
18602
19047
  };
18603
19048
  /** Root query type */
19049
+ export type QueryManagedAppDelegationsInternalArgs = {
19050
+ clientId: Scalars['String']['input'];
19051
+ };
19052
+ /** Root query type */
18604
19053
  export type QueryMyAccessibleProductsArgs = {
18605
19054
  limit?: InputMaybe<Scalars['Int']['input']>;
18606
19055
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18659,6 +19108,10 @@ export type QueryMyEntitlementsArgs = {
18659
19108
  offset?: InputMaybe<Scalars['Int']['input']>;
18660
19109
  };
18661
19110
  /** Root query type */
19111
+ export type QueryMyNotificationSendStatusArgs = {
19112
+ id: Scalars['ID']['input'];
19113
+ };
19114
+ /** Root query type */
18662
19115
  export type QueryMyOrdersArgs = {
18663
19116
  limit?: InputMaybe<Scalars['Int']['input']>;
18664
19117
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18770,6 +19223,12 @@ export type QueryMyWalletsArgs = {
18770
19223
  pagination?: InputMaybe<PaginationInput>;
18771
19224
  };
18772
19225
  /** Root query type */
19226
+ export type QueryMyWorkflowTemplateSubmissionsArgs = {
19227
+ limit?: InputMaybe<Scalars['Int']['input']>;
19228
+ offset?: InputMaybe<Scalars['Int']['input']>;
19229
+ status?: InputMaybe<ProductStatus>;
19230
+ };
19231
+ /** Root query type */
18773
19232
  export type QueryMyWorkspacesArgs = {
18774
19233
  limit?: InputMaybe<Scalars['Int']['input']>;
18775
19234
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18971,6 +19430,10 @@ export type QueryOrganizationPickupPostalCodeArgs = {
18971
19430
  id: Scalars['ID']['input'];
18972
19431
  };
18973
19432
  /** Root query type */
19433
+ export type QueryOrganizationPrivateNodesArgs = {
19434
+ workspaceId: Scalars['ID']['input'];
19435
+ };
19436
+ /** Root query type */
18974
19437
  export type QueryPendingDeveloperOrganizationVerificationsArgs = {
18975
19438
  limit?: InputMaybe<Scalars['Int']['input']>;
18976
19439
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -19200,6 +19663,8 @@ export type QueryPushDevicesForUserInternalArgs = {
19200
19663
  };
19201
19664
  /** Root query type */
19202
19665
  export type QueryQuoteAiCreditsArgs = {
19666
+ cacheReadTokens?: InputMaybe<Scalars['Int']['input']>;
19667
+ cacheWriteTokens?: InputMaybe<Scalars['Int']['input']>;
19203
19668
  inputTokens: Scalars['Int']['input'];
19204
19669
  model: Scalars['String']['input'];
19205
19670
  outputTokens: Scalars['Int']['input'];
@@ -19783,6 +20248,15 @@ export type QueryWebhookDeliveryArgs = {
19783
20248
  id: Scalars['ID']['input'];
19784
20249
  };
19785
20250
  /** Root query type */
20251
+ export type QueryWebhookEventCatalogArgs = {
20252
+ productSlug?: InputMaybe<Scalars['String']['input']>;
20253
+ };
20254
+ /** Root query type */
20255
+ export type QueryWebhookEventSubjectsArgs = {
20256
+ includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
20257
+ productSlug?: InputMaybe<Scalars['String']['input']>;
20258
+ };
20259
+ /** Root query type */
19786
20260
  export type QueryWebhooksArgs = {
19787
20261
  applicationId: Scalars['ID']['input'];
19788
20262
  };
@@ -20148,6 +20622,12 @@ export type RecipientInput = {
20148
20622
  export type RecordActivityInput = {
20149
20623
  action: Scalars['String']['input'];
20150
20624
  actorId?: InputMaybe<Scalars['String']['input']>;
20625
+ /** `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. */
20626
+ actorOrigin?: InputMaybe<Scalars['String']['input']>;
20627
+ /** Proposal / idempotency key the assistant mutation ran under. Same trust rule as actorOrigin. */
20628
+ assistantCorrelationId?: InputMaybe<Scalars['String']['input']>;
20629
+ /** Relay session (assistant sandbox) that made the change. Same trust rule as actorOrigin. */
20630
+ assistantSessionId?: InputMaybe<Scalars['String']['input']>;
20151
20631
  /** 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
20632
  dedupeKey?: InputMaybe<Scalars['String']['input']>;
20153
20633
  description?: InputMaybe<Scalars['String']['input']>;
@@ -20256,6 +20736,15 @@ export type RecordExploreClickResult = {
20256
20736
  __typename?: 'RecordExploreClickResult';
20257
20737
  recorded: Scalars['Boolean']['output'];
20258
20738
  };
20739
+ export type RecordExternalRefundInput = {
20740
+ amount: Scalars['Float']['input'];
20741
+ chargeId: Scalars['ID']['input'];
20742
+ currency: Scalars['String']['input'];
20743
+ externalRef: Scalars['String']['input'];
20744
+ orgId: Scalars['ID']['input'];
20745
+ reason?: InputMaybe<Scalars['String']['input']>;
20746
+ workspaceId?: InputMaybe<Scalars['ID']['input']>;
20747
+ };
20259
20748
  export type RecordExternalSettlementInput = {
20260
20749
  /** Settlement amount in whole currency units (must be > 0). */
20261
20750
  amount: Scalars['Float']['input'];
@@ -20587,6 +21076,12 @@ export type RegisterSupportAttachmentPartInput = {
20587
21076
  sessionId: Scalars['ID']['input'];
20588
21077
  ticketId: Scalars['ID']['input'];
20589
21078
  };
21079
+ export type RegisterWebhookEventSubjectsInput = {
21080
+ /** Product slug that owns the subjects (e.g. `vibecontrols`, `fluidgrids`). */
21081
+ productSlug: Scalars['String']['input'];
21082
+ /** Mappings to create or update (at most 100 per call). */
21083
+ subjects: Array<WebhookEventSubjectInput>;
21084
+ };
20590
21085
  export type RejectWaitlistInput = {
20591
21086
  id: Scalars['ID']['input'];
20592
21087
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -20685,6 +21180,17 @@ export type ReserveAssistantBudgetInput = {
20685
21180
  outputTokens: Scalars['Int']['input'];
20686
21181
  workspaceId: Scalars['ID']['input'];
20687
21182
  };
21183
+ export type ReserveAvatarMinutesInput = {
21184
+ actorId: Scalars['ID']['input'];
21185
+ mode: AvatarMinutesMode;
21186
+ productId: Scalars['String']['input'];
21187
+ /** 1 to 60; billing reserves min(available, requested, AVATAR_MINUTES_MAX_PER_SESSION). */
21188
+ requestedMinutes: Scalars['Int']['input'];
21189
+ sessionId: Scalars['ID']['input'];
21190
+ supersedesSessionId?: InputMaybe<Scalars['ID']['input']>;
21191
+ surface: Scalars['String']['input'];
21192
+ workspaceId: Scalars['ID']['input'];
21193
+ };
20688
21194
  /** 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
21195
  export type ResolveBillingAccountInput = {
20690
21196
  /** Opaque org id that anchors the billing account. When present the org's default billing account is resolved-or-created. */
@@ -21393,6 +21899,15 @@ export type SeedFluidgridsUserToursResult = {
21393
21899
  updatedCount: Scalars['Int']['output'];
21394
21900
  workspaceId: Scalars['String']['output'];
21395
21901
  };
21902
+ export type SeedHookmoviesUserToursResult = {
21903
+ __typename?: 'SeedHookmoviesUserToursResult';
21904
+ createdCount: Scalars['Int']['output'];
21905
+ productId: Scalars['String']['output'];
21906
+ totalCount: Scalars['Int']['output'];
21907
+ tours: Array<SeededUserTourResult>;
21908
+ updatedCount: Scalars['Int']['output'];
21909
+ workspaceId: Scalars['String']['output'];
21910
+ };
21396
21911
  export type SeedIntelWatchtowerUserToursResult = {
21397
21912
  __typename?: 'SeedIntelWatchtowerUserToursResult';
21398
21913
  createdCount: Scalars['Int']['output'];
@@ -21402,6 +21917,15 @@ export type SeedIntelWatchtowerUserToursResult = {
21402
21917
  updatedCount: Scalars['Int']['output'];
21403
21918
  workspaceId: Scalars['String']['output'];
21404
21919
  };
21920
+ export type SeedSemanticFedUserToursResult = {
21921
+ __typename?: 'SeedSemanticFedUserToursResult';
21922
+ createdCount: Scalars['Int']['output'];
21923
+ productId: Scalars['String']['output'];
21924
+ totalCount: Scalars['Int']['output'];
21925
+ tours: Array<SeededUserTourResult>;
21926
+ updatedCount: Scalars['Int']['output'];
21927
+ workspaceId: Scalars['String']['output'];
21928
+ };
21405
21929
  export type SeedTheCulturePostUserToursResult = {
21406
21930
  __typename?: 'SeedTheCulturePostUserToursResult';
21407
21931
  createdCount: Scalars['Int']['output'];
@@ -21455,7 +21979,7 @@ export type SendExploreMessageInput = {
21455
21979
  attachments?: InputMaybe<Array<ExploreAttachmentInput>>;
21456
21980
  /** Omit to start a new conversation. The result's `conversation.token` is the secret to send back on every following turn. */
21457
21981
  conversationToken?: InputMaybe<Scalars['String']['input']>;
21458
- /** BCP-47 locale of the page (e.g. "en-US"). */
21982
+ /** 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
21983
  locale?: InputMaybe<Scalars['String']['input']>;
21460
21984
  /** The visitor's question. */
21461
21985
  message: Scalars['String']['input'];
@@ -21500,6 +22024,11 @@ export type SendRoundMessageToCandidateInput = {
21500
22024
  message: Scalars['String']['input'];
21501
22025
  roundId: Scalars['ID']['input'];
21502
22026
  };
22027
+ export type ServiceEarningReversal = {
22028
+ __typename?: 'ServiceEarningReversal';
22029
+ entry: EarningsEntry;
22030
+ outcome: EarningReversalOutcome;
22031
+ };
21503
22032
  /** 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
22033
  export type ServicePayoutStatus = {
21505
22034
  __typename?: 'ServicePayoutStatus';
@@ -21533,6 +22062,37 @@ export type ServiceRecordEarningInput = {
21533
22062
  sourceSubcategory?: InputMaybe<Scalars['String']['input']>;
21534
22063
  unitType?: InputMaybe<EarningUnitType>;
21535
22064
  };
22065
+ export type ServiceRefundPaymentInput = {
22066
+ /** Amount to refund in whole currency units. Partial refunds are allowed; the sum of a payment's refunds can never exceed the captured amount. */
22067
+ amount: Scalars['Float']['input'];
22068
+ /** Billing account the payment was charged on (through its BillingOrder or subscription). */
22069
+ billingAccountId: Scalars['ID']['input'];
22070
+ /** Optional; must match the payment currency when given. */
22071
+ currency?: InputMaybe<Scalars['String']['input']>;
22072
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
22073
+ /** Billing Payment id (not the provider's payment id). */
22074
+ paymentId: Scalars['ID']['input'];
22075
+ reason: Scalars['String']['input'];
22076
+ /** 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. */
22077
+ sourceIdempotencyKey: Scalars['String']['input'];
22078
+ };
22079
+ export type ServiceRefundPaymentResult = {
22080
+ __typename?: 'ServiceRefundPaymentResult';
22081
+ /** True when the key already had a refund and this call did not process it again. */
22082
+ alreadyProcessed: Scalars['Boolean']['output'];
22083
+ amount: Scalars['Float']['output'];
22084
+ currency: Scalars['String']['output'];
22085
+ error?: Maybe<Scalars['String']['output']>;
22086
+ gatewayRefundId?: Maybe<Scalars['String']['output']>;
22087
+ refundId: Scalars['ID']['output'];
22088
+ /** What is still refundable on the payment after this call. */
22089
+ refundableRemaining: Scalars['Float']['output'];
22090
+ /** Sum of the payment's pending, processing and completed refunds after this call. */
22091
+ refundedTotal: Scalars['Float']['output'];
22092
+ status: RefundRecordStatus;
22093
+ /** True when the provider accepted the refund (now or on an earlier call with the same key). */
22094
+ success: Scalars['Boolean']['output'];
22095
+ };
21536
22096
  export type ServiceRequestPayoutInput = {
21537
22097
  amount: Scalars['Float']['input'];
21538
22098
  /** Explicit billing account the payout is drawn from. */
@@ -21561,6 +22121,14 @@ export type ServiceResolvePayoutAccountInput = {
21561
22121
  /** Destination type for a newly-created placeholder account (defaults to BANK_ACCOUNT). */
21562
22122
  type?: InputMaybe<PayoutAccountType>;
21563
22123
  };
22124
+ export type ServiceReverseEarningInput = {
22125
+ /** Billing account the earning was recorded on. */
22126
+ billingAccountId: Scalars['ID']['input'];
22127
+ /** Why the earning is reversed (e.g. "Order COO-20261024-7F3A9C refunded"). */
22128
+ reason: Scalars['String']['input'];
22129
+ /** The sourceIdempotencyKey the earning was recorded with (serviceRecordEarning). */
22130
+ sourceIdempotencyKey: Scalars['String']['input'];
22131
+ };
21564
22132
  export type ServiceSyncPayoutStatusInput = {
21565
22133
  externalReference?: InputMaybe<Scalars['String']['input']>;
21566
22134
  failureReason?: InputMaybe<Scalars['String']['input']>;
@@ -21569,6 +22137,31 @@ export type ServiceSyncPayoutStatusInput = {
21569
22137
  /** The billing PayoutRequestStatus after the change (e.g. APPROVED, REJECTED, PAID, FAILED). */
21570
22138
  status: Scalars['String']['input'];
21571
22139
  };
22140
+ /** Input for serviceUpsertExternalListing (BOFF-3430). */
22141
+ export type ServiceUpsertExternalListingInput = {
22142
+ /** Brand or maker shown on the listing. */
22143
+ brand?: InputMaybe<Scalars['String']['input']>;
22144
+ category?: InputMaybe<Scalars['String']['input']>;
22145
+ /** ISO 4217 currency code, upper case. */
22146
+ currency: Scalars['String']['input'];
22147
+ description?: InputMaybe<Scalars['String']['input']>;
22148
+ /** The item's id in the calling service. Together with the caller's service identity it identifies the listing. */
22149
+ externalId: Scalars['String']['input'];
22150
+ /** Absolute https URL of the item's page in the owning product. */
22151
+ externalUrl: Scalars['String']['input'];
22152
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
22153
+ name: Scalars['String']['input'];
22154
+ price: Scalars['Float']['input'];
22155
+ /** Platform product key of the caller (for example "coolandlovely"). Used as the listing's compatible product and as its slug prefix. */
22156
+ productKey: Scalars['String']['input'];
22157
+ /** Display name for the caller's publisher profile, created on its first listing. */
22158
+ publisherName: Scalars['String']['input'];
22159
+ /** PUBLISHED (shown in discovery), UNLISTED (kept but hidden) or ARCHIVED (taken down). */
22160
+ status: ProductStatus;
22161
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
22162
+ /** A physical product type (MERCHANDISE, HARDWARE, ACCESSORY, BOOK, EQUIPMENT, APPAREL, COLLECTIBLE or CONSUMABLE). */
22163
+ type: ProductType;
22164
+ };
21572
22165
  /** An active user session (login instance) */
21573
22166
  export type Session = {
21574
22167
  __typename?: 'Session';
@@ -22136,6 +22729,12 @@ export declare enum StoreInstallationStatus {
22136
22729
  Pending = "PENDING",
22137
22730
  Uninstalled = "UNINSTALLED"
22138
22731
  }
22732
+ export type StoreInstalledNodeRuntime = {
22733
+ __typename?: 'StoreInstalledNodeRuntime';
22734
+ endpointUrl: Scalars['String']['output'];
22735
+ nodeType: Scalars['String']['output'];
22736
+ nodeVersion?: Maybe<Scalars['String']['output']>;
22737
+ };
22139
22738
  /** 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
22739
  export type StoreItem = {
22141
22740
  __typename?: 'StoreItem';
@@ -22267,6 +22866,12 @@ export type StoreProduct = {
22267
22866
  documentationUrl?: Maybe<Scalars['String']['output']>;
22268
22867
  downloads: Scalars['Int']['output'];
22269
22868
  entitlements: Array<ProductEntitlement>;
22869
+ /** The item's id in the owning product backend (only set with externalService). */
22870
+ externalId?: Maybe<Scalars['String']['output']>;
22871
+ /** 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. */
22872
+ externalService?: Maybe<Scalars['String']['output']>;
22873
+ /** Page in the owning product where the item can be viewed and bought (only set with externalService). */
22874
+ externalUrl?: Maybe<Scalars['String']['output']>;
22270
22875
  featured: Scalars['Boolean']['output'];
22271
22876
  /** Product height (physical products) */
22272
22877
  height?: Maybe<Scalars['Float']['output']>;
@@ -22581,6 +23186,37 @@ export type SubmitSatisfactionSurveyInput = {
22581
23186
  rating: Scalars['Int']['input'];
22582
23187
  surveyId: Scalars['ID']['input'];
22583
23188
  };
23189
+ /** Publish a workspace workflow to the public store as a community template. */
23190
+ export type SubmitWorkflowTemplateInput = {
23191
+ /** Author name shown on the template. Required for your first template, when it also names your publisher profile; defaults to your publisher name afterwards. */
23192
+ authorName?: InputMaybe<Scalars['String']['input']>;
23193
+ /** Store category: automation, integration, data-processing, ai-ml, communication, devops, marketing, sales, support, productivity or finance. */
23194
+ category: Scalars['String']['input'];
23195
+ /** The workflow definition (definitionJson) to publish. Connection bindings, pinned run data and literal secrets are removed before it is stored. */
23196
+ definitionJson: Scalars['JSON']['input'];
23197
+ /** One-line summary shown on the template card (at most 500 characters). */
23198
+ description: Scalars['String']['input'];
23199
+ /** easy, medium or hard. */
23200
+ difficultyLevel?: InputMaybe<Scalars['String']['input']>;
23201
+ /** Estimated minutes to set the template up (1 to 1440). */
23202
+ estimatedTimeMinutes?: InputMaybe<Scalars['Int']['input']>;
23203
+ /** Iconify icon name, for example mdi:robot. */
23204
+ icon?: InputMaybe<Scalars['String']['input']>;
23205
+ /** Longer description (markdown) shown on the template page. */
23206
+ longDescription?: InputMaybe<Scalars['String']['input']>;
23207
+ /** Template name shown in the store (at most 120 characters). */
23208
+ name: Scalars['String']['input'];
23209
+ /** A note for the store reviewer. */
23210
+ notes?: InputMaybe<Scalars['String']['input']>;
23211
+ /** Resubmit one of your own DRAFT, REJECTED or UNLISTED templates instead of creating a new one. The template keeps its id and slug and its version goes up by one. */
23212
+ productId?: InputMaybe<Scalars['ID']['input']>;
23213
+ /** Workflow key the template was published from (lineage). */
23214
+ sourceWorkflowKey?: InputMaybe<Scalars['String']['input']>;
23215
+ /** Workflow version the template was published from (lineage). */
23216
+ sourceWorkflowVersion?: InputMaybe<Scalars['String']['input']>;
23217
+ /** Up to 10 search tags. */
23218
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
23219
+ };
22584
23220
  export type Subprocessor = {
22585
23221
  __typename?: 'Subprocessor';
22586
23222
  activatedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -23049,6 +23685,19 @@ export type SupportContextInput = {
23049
23685
  userId?: InputMaybe<Scalars['ID']['input']>;
23050
23686
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
23051
23687
  };
23688
+ /** A knowledge row a reply draft was built from. */
23689
+ export type SupportDraftCitation = {
23690
+ __typename?: 'SupportDraftCitation';
23691
+ id: Scalars['ID']['output'];
23692
+ kind: SupportDraftCitationKind;
23693
+ score: Scalars['Float']['output'];
23694
+ title: Scalars['String']['output'];
23695
+ };
23696
+ export declare enum SupportDraftCitationKind {
23697
+ CannedResponse = "CANNED_RESPONSE",
23698
+ Faq = "FAQ",
23699
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE"
23700
+ }
23052
23701
  export type SupportEraseResult = {
23053
23702
  __typename?: 'SupportEraseResult';
23054
23703
  anonymised: Scalars['Int']['output'];
@@ -23075,7 +23724,15 @@ export type SupportMessage = {
23075
23724
  /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */
23076
23725
  context?: Maybe<SupportContext>;
23077
23726
  createdAt: Scalars['DateTime']['output'];
23078
- id: Scalars['ID']['output'];
23727
+ /** The knowledge-base articles, FAQs and canned responses a draft was built from. Empty for every message that is not a draft. */
23728
+ draftCitations: Array<SupportDraftCitation>;
23729
+ /** When the draft was sent or discarded. */
23730
+ draftResolvedAt?: Maybe<Scalars['DateTime']['output']>;
23731
+ /** The agent reply that was sent from this draft, once sent. */
23732
+ draftSentMessageId?: Maybe<Scalars['String']['output']>;
23733
+ id: Scalars['ID']['output'];
23734
+ /** 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. */
23735
+ isDraft: Scalars['Boolean']['output'];
23079
23736
  isInternal: Scalars['Boolean']['output'];
23080
23737
  message: Scalars['String']['output'];
23081
23738
  ticket: SupportTicket;
@@ -23124,6 +23781,8 @@ export type SupportTicket = {
23124
23781
  metadata?: Maybe<Scalars['JSON']['output']>;
23125
23782
  priority: SupportTicketPriority;
23126
23783
  reopenedAt?: Maybe<Scalars['DateTime']['output']>;
23784
+ /** The open reply draft for this ticket, if any. Support staff only. */
23785
+ replyDraft?: Maybe<SupportMessage>;
23127
23786
  resolutionDue?: Maybe<Scalars['DateTime']['output']>;
23128
23787
  resolvedAt?: Maybe<Scalars['DateTime']['output']>;
23129
23788
  slaBreachStatus: SlaBreachStatus;
@@ -23139,6 +23798,8 @@ export type SupportTicket = {
23139
23798
  tenantId?: Maybe<Scalars['String']['output']>;
23140
23799
  ticketCategory?: Maybe<TicketCategory>;
23141
23800
  ticketNumber: Scalars['String']['output'];
23801
+ /** 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. */
23802
+ triageDecision?: Maybe<SupportTriageDecision>;
23142
23803
  updatedAt: Scalars['DateTime']['output'];
23143
23804
  user: User;
23144
23805
  userId: Scalars['String']['output'];
@@ -23189,6 +23850,99 @@ export declare enum SupportTicketStatus {
23189
23850
  Resolved = "RESOLVED",
23190
23851
  WaitingCustomer = "WAITING_CUSTOMER"
23191
23852
  }
23853
+ /** An agent the engine suggests for the ticket. A suggestion only: triage never assigns. */
23854
+ export type SupportTriageAssigneeSuggestion = {
23855
+ __typename?: 'SupportTriageAssigneeSuggestion';
23856
+ agentProfileId: Scalars['ID']['output'];
23857
+ /** Current tickets divided by the agent's ticket capacity. */
23858
+ load: Scalars['Float']['output'];
23859
+ /** Agent skills that matched the ticket's category and tags. */
23860
+ matchedSkills: Array<Scalars['String']['output']>;
23861
+ userId: Scalars['String']['output'];
23862
+ };
23863
+ /** 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. */
23864
+ export type SupportTriageDecision = {
23865
+ __typename?: 'SupportTriageDecision';
23866
+ category: SupportTicketCategory;
23867
+ /** True when triage set the category. */
23868
+ categoryApplied: Scalars['Boolean']['output'];
23869
+ /** Share of the evidence weight behind the proposed category (0–1). */
23870
+ categoryConfidence: Scalars['Float']['output'];
23871
+ /** Category the ticket has after triage. */
23872
+ categoryId?: Maybe<Scalars['String']['output']>;
23873
+ decidedAt: Scalars['DateTime']['output'];
23874
+ /** Actor who ran it; system:support-triage for automatic runs. */
23875
+ decidedBy: Scalars['String']['output'];
23876
+ /** Engine name and version that made the decision. */
23877
+ engine: Scalars['String']['output'];
23878
+ evidence: Array<SupportTriageEvidence>;
23879
+ /** Plain-language reasons for anything the engine left alone. */
23880
+ notes: Array<Scalars['String']['output']>;
23881
+ previousCategory: SupportTicketCategory;
23882
+ previousCategoryId?: Maybe<Scalars['String']['output']>;
23883
+ previousPriority: SupportTicketPriority;
23884
+ previousSlaPolicyId?: Maybe<Scalars['String']['output']>;
23885
+ priority: SupportTicketPriority;
23886
+ /** Phrases and similar-ticket votes that set the priority. */
23887
+ prioritySignals: Array<Scalars['String']['output']>;
23888
+ /** Category the evidence pointed to, applied or not. */
23889
+ proposedCategoryId?: Maybe<Scalars['String']['output']>;
23890
+ /** True when triage changed the SLA policy. */
23891
+ slaApplied: Scalars['Boolean']['output'];
23892
+ slaPolicyId?: Maybe<Scalars['String']['output']>;
23893
+ suggestedAssignee?: Maybe<SupportTriageAssigneeSuggestion>;
23894
+ trigger: SupportTriageTrigger;
23895
+ };
23896
+ /** The engine replayed over recent tickets people categorised and resolved, using only older tickets as evidence for each. */
23897
+ export type SupportTriageEvaluation = {
23898
+ __typename?: 'SupportTriageEvaluation';
23899
+ cases: Array<SupportTriageEvaluationCase>;
23900
+ /** Share of cases where the engine would apply a category. */
23901
+ categoryCoverage: Scalars['Float']['output'];
23902
+ /** Share of applied categories that match the person's choice. */
23903
+ categoryPrecision: Scalars['Float']['output'];
23904
+ correctCount: Scalars['Int']['output'];
23905
+ decidedCount: Scalars['Int']['output'];
23906
+ engine: Scalars['String']['output'];
23907
+ /** Share of cases where the engine's priority matches the final priority. */
23908
+ priorityAgreement: Scalars['Float']['output'];
23909
+ sampleSize: Scalars['Int']['output'];
23910
+ };
23911
+ /** One replayed ticket in a triage evaluation. */
23912
+ export type SupportTriageEvaluationCase = {
23913
+ __typename?: 'SupportTriageEvaluationCase';
23914
+ confidence: Scalars['Float']['output'];
23915
+ correct: Scalars['Boolean']['output'];
23916
+ decided: Scalars['Boolean']['output'];
23917
+ /** The category a person gave the ticket. */
23918
+ expectedCategoryId: Scalars['String']['output'];
23919
+ expectedPriority: SupportTicketPriority;
23920
+ /** The category the engine would have applied, or null when it would abstain. */
23921
+ predictedCategoryId?: Maybe<Scalars['String']['output']>;
23922
+ predictedPriority: SupportTicketPriority;
23923
+ ticketId: Scalars['ID']['output'];
23924
+ ticketNumber: Scalars['String']['output'];
23925
+ };
23926
+ /** A row the triage engine weighed: a similar resolved ticket or a published knowledge-base article. */
23927
+ export type SupportTriageEvidence = {
23928
+ __typename?: 'SupportTriageEvidence';
23929
+ id: Scalars['ID']['output'];
23930
+ kind: SupportTriageEvidenceKind;
23931
+ /** Ticket number for tickets, title for articles. */
23932
+ label: Scalars['String']['output'];
23933
+ /** Full-text relevance score (Postgres ts_rank). */
23934
+ score: Scalars['Float']['output'];
23935
+ };
23936
+ export declare enum SupportTriageEvidenceKind {
23937
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE",
23938
+ Ticket = "TICKET"
23939
+ }
23940
+ export declare enum SupportTriageTrigger {
23941
+ /** Run on demand by a support agent. */
23942
+ Manual = "MANUAL",
23943
+ /** Run automatically when the ticket was created. */
23944
+ TicketCreated = "TICKET_CREATED"
23945
+ }
23192
23946
  export type SuppressIdentifierInput = {
23193
23947
  channel: SuppressionChannel;
23194
23948
  expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -24485,6 +25239,8 @@ export type UpdateContentPageInput = {
24485
25239
  category?: InputMaybe<Scalars['String']['input']>;
24486
25240
  content?: InputMaybe<Scalars['String']['input']>;
24487
25241
  contentFormat?: InputMaybe<Scalars['String']['input']>;
25242
+ /** Set, replace or (with null) withdraw the customer approval. Withdrawing it removes a case study from the public queries. */
25243
+ customerSignOff?: InputMaybe<CustomerSignOffInput>;
24488
25244
  excerpt?: InputMaybe<Scalars['String']['input']>;
24489
25245
  featured?: InputMaybe<Scalars['Boolean']['input']>;
24490
25246
  isPublished?: InputMaybe<Scalars['Boolean']['input']>;
@@ -24500,6 +25256,8 @@ export type UpdateContentPageInput = {
24500
25256
  visibility?: InputMaybe<ContentVisibility>;
24501
25257
  };
24502
25258
  export type UpdateCouponInput = {
25259
+ applicableEntityTypes?: InputMaybe<Array<CouponEntityType>>;
25260
+ applicableProductIds?: InputMaybe<Array<Scalars['String']['input']>>;
24503
25261
  description?: InputMaybe<Scalars['String']['input']>;
24504
25262
  maxTotalUses?: InputMaybe<Scalars['Int']['input']>;
24505
25263
  maxUsesPerUser?: InputMaybe<Scalars['Int']['input']>;
@@ -26120,6 +26878,16 @@ export type WebhookEvent = {
26120
26878
  /** Last update timestamp */
26121
26879
  updatedAt: Scalars['DateTime']['output'];
26122
26880
  };
26881
+ /** A webhook event type a developer application can subscribe a webhook to. */
26882
+ export type WebhookEventCatalogEntry = {
26883
+ __typename?: 'WebhookEventCatalogEntry';
26884
+ description?: Maybe<Scalars['String']['output']>;
26885
+ /** Event type, sent as the X-Event-Type header and the payload `event` field. */
26886
+ eventType: Scalars['String']['output'];
26887
+ /** Product that emits the event (`devportal` for portal lifecycle events). */
26888
+ productSlug: Scalars['String']['output'];
26889
+ source: WebhookEventSource;
26890
+ };
26123
26891
  /** Paginated list of webhook events with cursor support. Pass `nextCursor` from a previous response as `cursor` in the next call. */
26124
26892
  export type WebhookEventList = {
26125
26893
  __typename?: 'WebhookEventList';
@@ -26128,6 +26896,33 @@ export type WebhookEventList = {
26128
26896
  nextCursor?: Maybe<Scalars['String']['output']>;
26129
26897
  total: Scalars['Int']['output'];
26130
26898
  };
26899
+ /** Where a webhook event type originates. */
26900
+ export declare enum WebhookEventSource {
26901
+ /** Fired by the developer portal itself (application and installation lifecycle). */
26902
+ Devportal = "DEVPORTAL",
26903
+ /** Fired from a workspace entity change, through a registered subject mapping. */
26904
+ Workspace = "WORKSPACE"
26905
+ }
26906
+ /** Maps a workspace graph-event subject to the webhook event type it fires. */
26907
+ export type WebhookEventSubject = {
26908
+ __typename?: 'WebhookEventSubject';
26909
+ createdAt: Scalars['DateTime']['output'];
26910
+ description?: Maybe<Scalars['String']['output']>;
26911
+ eventType: Scalars['String']['output'];
26912
+ id: Scalars['ID']['output'];
26913
+ isActive: Scalars['Boolean']['output'];
26914
+ productSlug: Scalars['String']['output'];
26915
+ /** Graph-event subject, `graph.<module>.<Entity>.<action>`. */
26916
+ subject: Scalars['String']['output'];
26917
+ updatedAt: Scalars['DateTime']['output'];
26918
+ };
26919
+ export type WebhookEventSubjectInput = {
26920
+ description?: InputMaybe<Scalars['String']['input']>;
26921
+ /** Dotted lower-case event type, e.g. `vibe.created`. The `application.` and `installation.` namespaces are reserved for the developer portal. */
26922
+ eventType: Scalars['String']['input'];
26923
+ /** Graph-event subject, `graph.<module>.<Entity>.<action>`. */
26924
+ subject: Scalars['String']['input'];
26925
+ };
26131
26926
  /** Webhook processing result */
26132
26927
  export type WebhookProcessingResult = {
26133
26928
  __typename?: 'WebhookProcessingResult';
@@ -26235,6 +27030,52 @@ export type WithdrawConsentInput = {
26235
27030
  subjectId: Scalars['ID']['input'];
26236
27031
  subjectType: Scalars['String']['input'];
26237
27032
  };
27033
+ /** Result of withdrawing a template. */
27034
+ export type WithdrawWorkflowTemplateSubmissionResult = {
27035
+ __typename?: 'WithdrawWorkflowTemplateSubmissionResult';
27036
+ id: Scalars['ID']['output'];
27037
+ /** True when the template was deleted; false when it was only taken off the store. */
27038
+ removed: Scalars['Boolean']['output'];
27039
+ /** The template's status when it was kept (UNLISTED), null when removed. */
27040
+ status?: Maybe<ProductStatus>;
27041
+ };
27042
+ /** One of your community workflow templates and where it is in review. */
27043
+ export type WorkflowTemplateSubmission = {
27044
+ __typename?: 'WorkflowTemplateSubmission';
27045
+ authorName?: Maybe<Scalars['String']['output']>;
27046
+ category?: Maybe<Scalars['String']['output']>;
27047
+ createdAt: Scalars['DateTime']['output'];
27048
+ description?: Maybe<Scalars['String']['output']>;
27049
+ /** Times the template has been imported. */
27050
+ downloads: Scalars['Int']['output'];
27051
+ icon?: Maybe<Scalars['String']['output']>;
27052
+ /** Store product id of the template. */
27053
+ id: Scalars['ID']['output'];
27054
+ name: Scalars['String']['output'];
27055
+ /** Number of distinct node types the template uses. */
27056
+ nodeCount: Scalars['Int']['output'];
27057
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
27058
+ rejectedReason?: Maybe<Scalars['String']['output']>;
27059
+ reviewNotes?: Maybe<Scalars['String']['output']>;
27060
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
27061
+ /** How many times the template has been submitted. */
27062
+ revision: Scalars['Int']['output'];
27063
+ slug: Scalars['String']['output'];
27064
+ sourceWorkflowKey?: Maybe<Scalars['String']['output']>;
27065
+ sourceWorkflowVersion?: Maybe<Scalars['String']['output']>;
27066
+ /** PENDING_REVIEW while a store admin reviews it, PUBLISHED once approved, REJECTED with a reason, UNLISTED once taken off the store. */
27067
+ status: ProductStatus;
27068
+ submittedAt?: Maybe<Scalars['DateTime']['output']>;
27069
+ tags: Array<Scalars['String']['output']>;
27070
+ updatedAt: Scalars['DateTime']['output'];
27071
+ /** Template version (1.0.0 for the first submission, 1.1.0 for the second, ...). */
27072
+ version: Scalars['String']['output'];
27073
+ };
27074
+ export type WorkflowTemplateSubmissionList = {
27075
+ __typename?: 'WorkflowTemplateSubmissionList';
27076
+ items: Array<WorkflowTemplateSubmission>;
27077
+ totalCount: Scalars['Int']['output'];
27078
+ };
26238
27079
  /** Workspace type stub - represents a workspace entity from the workspace service This service doesn't own the Workspace model, but references it */
26239
27080
  export type Workspace = {
26240
27081
  __typename?: 'Workspace';
@@ -26390,6 +27231,8 @@ export type CreateAddOnsInput = {
26390
27231
  price: Scalars['Float']['input'];
26391
27232
  productId: Scalars['String']['input'];
26392
27233
  quotas: Array<AddonQuotaInput>;
27234
+ /** 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. */
27235
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26393
27236
  };
26394
27237
  export type CreatePlanInput = {
26395
27238
  currency?: InputMaybe<Scalars['String']['input']>;
@@ -26428,6 +27271,8 @@ export type UpdateAddOnsInput = {
26428
27271
  name?: InputMaybe<Scalars['String']['input']>;
26429
27272
  price?: InputMaybe<Scalars['Float']['input']>;
26430
27273
  quotas: Array<AddonQuotaInput>;
27274
+ /** Whether buying this add-on requires a paid subscription to its product. Omit to leave unchanged. */
27275
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26431
27276
  };
26432
27277
  export type UpdatePlanInput = {
26433
27278
  /** Immutable once set — see `price`. Throws CURRENCY_CHANGE_NOT_ALLOWED on an actual change. */