@burdenoff/microfe-planmagnet 2026.1014.2 → 2026.1101.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.
Files changed (47) hide show
  1. package/dist/generated/global-types.d.ts +1164 -14
  2. package/dist/generated/wspace-types.d.ts +1333 -9
  3. package/dist/planmagnet/PlanMagnetRoot.js +111 -117
  4. package/dist/planmagnet/automation/AutomationExecutionsPanel.d.ts +2 -0
  5. package/dist/planmagnet/automation/AutomationExecutionsPanel.js +26 -14
  6. package/dist/planmagnet/automation/AutomationRuleFields.d.ts +3 -2
  7. package/dist/planmagnet/automation/AutomationRuleFields.js +120 -117
  8. package/dist/planmagnet/automation/WorkflowSelect.d.ts +5 -0
  9. package/dist/planmagnet/automation/WorkflowSelect.js +74 -0
  10. package/dist/planmagnet/automation/automationRuleTypes.d.ts +16 -10
  11. package/dist/planmagnet/automation/automationRuleTypes.js +38 -32
  12. package/dist/planmagnet/controls/AutomationRuleControls.d.ts +3 -1
  13. package/dist/planmagnet/controls/AutomationRuleControls.js +23 -23
  14. package/dist/planmagnet/controls/FeatureTriage.d.ts +2 -2
  15. package/dist/planmagnet/dependency/DependencyPanel.js +1 -1
  16. package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +17 -17
  17. package/dist/planmagnet/pages/AutomationAutomationRuleDetailPagePage.js +80 -79
  18. package/dist/planmagnet/pages/DashboardDashboardPagePage.js +6 -6
  19. package/dist/planmagnet/pages/GoalsCreateObjectivePagePage.js +1 -1
  20. package/dist/planmagnet/pages/GoalsGoalsPagePage.js +6 -6
  21. package/dist/planmagnet/pages/GoalsObjectiveDetailPagePage.js +5 -5
  22. package/dist/planmagnet/pages/ProductsFeatureAnalyticsPagePage.js +9 -9
  23. package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js +16 -13
  24. package/dist/planmagnet/pages/ProductsFeaturesPagePage.js +10 -10
  25. package/dist/planmagnet/pages/ProductsProductsPagePage.js +3 -3
  26. package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.js +9 -9
  27. package/dist/planmagnet/pages/ProductsReleasesPagePage.js +9 -9
  28. package/dist/planmagnet/pages/ProductsRoadmapAnalyticsPagePage.js +15 -15
  29. package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +7 -7
  30. package/dist/planmagnet/pages/ProjectsActiveProjectsPagePage.js +1 -1
  31. package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.js +1 -1
  32. package/dist/planmagnet/pages/ProjectsCustomFieldsPagePage.js +1 -1
  33. package/dist/planmagnet/pages/ProjectsGanttPagePage.js +1 -1
  34. package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.js +13 -10
  35. package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js +6 -6
  36. package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.js +3 -3
  37. package/dist/planmagnet/pages/ProjectsPlanningPagePage.js +8 -8
  38. package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +26 -23
  39. package/dist/planmagnet/pages/ProjectsProjectsPagePage.js +8 -8
  40. package/dist/planmagnet/pages/RisksRiskDetailPagePage.js +7 -7
  41. package/dist/planmagnet/pages/RisksRiskRegisterPagePage.js +13 -13
  42. package/dist/planmagnet/pages/SprintsStartSprintPagePage.js +1 -1
  43. package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +5 -5
  44. package/dist/planmagnet/pages/TasksTasksPagePage.js +16 -16
  45. package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +6 -6
  46. package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js +5 -5
  47. package/package.json +1 -1
@@ -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",
@@ -5446,6 +5596,19 @@ export declare enum DimensionUnit {
5446
5596
  Inch = "INCH",
5447
5597
  Meter = "METER"
5448
5598
  }
5599
+ /** Input for the M2M dispatchWebhookEvent mutation */
5600
+ export type DispatchWebhookEventInput = {
5601
+ /** Caller-supplied event ID; enables idempotent redispatch per subscription */
5602
+ eventId?: InputMaybe<Scalars['String']['input']>;
5603
+ /** Event type being dispatched */
5604
+ eventType: Scalars['String']['input'];
5605
+ /** Owner identifier of the event stream (e.g. platform product id) */
5606
+ ownerId: Scalars['String']['input'];
5607
+ /** Owner namespace of the event stream (e.g. "newsletter-product") */
5608
+ ownerType: Scalars['String']['input'];
5609
+ /** Event payload; wrapped in the signed envelope as `data` */
5610
+ payload: Scalars['JSON']['input'];
5611
+ };
5449
5612
  /** DSAR mode — GDPR Art. 15 (access/export) or Art. 17 (erasure). */
5450
5613
  export declare enum DsarMode {
5451
5614
  Erase = "ERASE",
@@ -5499,6 +5662,15 @@ export type EarnCreditsInput = {
5499
5662
  productId?: InputMaybe<Scalars['String']['input']>;
5500
5663
  sourceReferenceId?: InputMaybe<Scalars['String']['input']>;
5501
5664
  };
5665
+ /** Outcome of serviceReverseEarning. */
5666
+ export declare enum EarningReversalOutcome {
5667
+ /** An earlier call already reversed the entry (idempotent replay). */
5668
+ AlreadyReversed = "ALREADY_REVERSED",
5669
+ /** The entry is RESERVED for, or PAID by, a payout and was left unchanged. */
5670
+ NotReversible = "NOT_REVERSIBLE",
5671
+ /** The entry was AVAILABLE and is now REVERSED. */
5672
+ Reversed = "REVERSED"
5673
+ }
5502
5674
  export declare enum EarningUnitType {
5503
5675
  Credits = "CREDITS",
5504
5676
  Money = "MONEY"
@@ -5524,6 +5696,9 @@ export type EarningsEntry = {
5524
5696
  paidAt?: Maybe<Scalars['DateTime']['output']>;
5525
5697
  payoutRequestId?: Maybe<Scalars['ID']['output']>;
5526
5698
  reservedAt?: Maybe<Scalars['DateTime']['output']>;
5699
+ reversalReason?: Maybe<Scalars['String']['output']>;
5700
+ /** When the entry was reversed (its source sale was refunded), if it was. */
5701
+ reversedAt?: Maybe<Scalars['DateTime']['output']>;
5527
5702
  sourceCategory: EarningsSourceCategory;
5528
5703
  sourceEventId?: Maybe<Scalars['String']['output']>;
5529
5704
  sourceReferenceId?: Maybe<Scalars['String']['output']>;
@@ -5558,13 +5733,18 @@ export declare enum EarningsSourceCategory {
5558
5733
  }
5559
5734
  export type EarningsSummary = {
5560
5735
  __typename?: 'EarningsSummary';
5736
+ /** Earned, past its hold window and not yet reserved for a payout. */
5561
5737
  availableAmount: Scalars['Float']['output'];
5562
5738
  categoryBreakdown: Array<EarningsCategoryBreakdown>;
5563
5739
  creditsAmount: Scalars['Float']['output'];
5564
5740
  moneyAmount: Scalars['Float']['output'];
5565
5741
  paidAmount: Scalars['Float']['output'];
5742
+ /** Earned but still inside its hold window (availableAt in the future), so not payable yet. */
5566
5743
  pendingAmount: Scalars['Float']['output'];
5567
5744
  reservedAmount: Scalars['Float']['output'];
5745
+ /** Entries reversed because their source sale was refunded. Not part of any other total. */
5746
+ reversedAmount: Scalars['Float']['output'];
5747
+ /** Everything earned, excluding reversed entries. */
5568
5748
  totalLifetimeAmount: Scalars['Float']['output'];
5569
5749
  };
5570
5750
  export type EditorialCollection = {
@@ -5983,6 +6163,17 @@ export type ExploreConversation = {
5983
6163
  token: Scalars['String']['output'];
5984
6164
  turnCount: Scalars['Int']['output'];
5985
6165
  };
6166
+ /** 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. */
6167
+ export type ExploreConversationInfo = {
6168
+ __typename?: 'ExploreConversationInfo';
6169
+ createdAt: Scalars['DateTime']['output'];
6170
+ /** 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. */
6171
+ locale?: Maybe<Scalars['String']['output']>;
6172
+ /** 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. */
6173
+ messageCount: Scalars['Int']['output'];
6174
+ /** Slug of the product website the conversation started on, as stored. Null when the visitor did not say. */
6175
+ productSlug?: Maybe<Scalars['String']['output']>;
6176
+ };
5986
6177
  /** A call-to-action button derived from a cited link. `kind` is one of: CONTACT PARTNERS PRICING SERVICES WAITLIST STORE APP DOCS OTHER. */
5987
6178
  export type ExploreCta = {
5988
6179
  __typename?: 'ExploreCta';
@@ -6242,6 +6433,12 @@ export type ExternalOidcConfigurationInput = {
6242
6433
  redirectUri?: InputMaybe<Scalars['String']['input']>;
6243
6434
  scopes?: InputMaybe<Array<Scalars['String']['input']>>;
6244
6435
  };
6436
+ export type ExternalRefundResult = {
6437
+ __typename?: 'ExternalRefundResult';
6438
+ alreadyRecorded: Scalars['Boolean']['output'];
6439
+ chargeId: Scalars['ID']['output'];
6440
+ refundId: Scalars['ID']['output'];
6441
+ };
6245
6442
  export type ExternalSettlementResult = {
6246
6443
  __typename?: 'ExternalSettlementResult';
6247
6444
  /** True when the externalRef already had a settlement (idempotent replay). */
@@ -6494,6 +6691,8 @@ export type GetStoreProductTagsInput = {
6494
6691
  export type GrantAppDelegationInternalInput = {
6495
6692
  /** Client ID of the first-party system app (e.g. burdenoff_integration_core). */
6496
6693
  clientId: Scalars['String']['input'];
6694
+ /** 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. */
6695
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
6497
6696
  /** 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
6697
  retainedScopes?: InputMaybe<Array<Scalars['String']['input']>>;
6499
6698
  /** 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 +7033,8 @@ export type InitiatePaymentInput = {
6834
7033
  quantity?: InputMaybe<Scalars['Int']['input']>;
6835
7034
  /** Whether to save the card for future purchases (only for new card payments) */
6836
7035
  saveCard?: InputMaybe<Scalars['Boolean']['input']>;
7036
+ /** 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. */
7037
+ seatCount?: InputMaybe<Scalars['Int']['input']>;
6837
7038
  /** 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
7039
  subscriptionId?: InputMaybe<Scalars['ID']['input']>;
6839
7040
  /** 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 +7055,8 @@ export type InitiatePaymentResponse = {
6854
7055
  discountType?: Maybe<Scalars['String']['output']>;
6855
7056
  /** Error message if failed */
6856
7057
  error?: Maybe<Scalars['String']['output']>;
7058
+ /** Machine-readable error code when the initiation failed, e.g. PAID_SUBSCRIPTION_REQUIRED when an add-on needs a paid plan (BOFF-9889). */
7059
+ errorCode?: Maybe<Scalars['String']['output']>;
6857
7060
  /** Tax jurisdiction */
6858
7061
  jurisdiction: Scalars['String']['output'];
6859
7062
  /** Razorpay order ID (for Razorpay payments) */
@@ -8041,6 +8244,8 @@ export type Mutation = {
8041
8244
  /** Accept an organization invite (must be logged in as the invited user) */
8042
8245
  acceptOrganizationInvite: OrganizationMember;
8043
8246
  acceptSourcingOffer: SourcingOrderSummary;
8247
+ /** Signed (DESIGN 3.7). The provider is ready: RESERVED to ACTIVE. */
8248
+ activateAvatarMinutes: AvatarMinutesReservation;
8044
8249
  /** Activate a channel */
8045
8250
  activateChannel: Channel;
8046
8251
  /** Activate a connection */
@@ -8107,6 +8312,8 @@ export type Mutation = {
8107
8312
  approveReview: ProductReview;
8108
8313
  approveTranslation: Translation;
8109
8314
  approveWaitlist: NewsletterWaitlist;
8315
+ /** Admin approves a pending template revision: it becomes the live version of the template (the version goes up) and the revision is removed. */
8316
+ approveWorkflowTemplateRevision: WorkflowTemplateSubmission;
8110
8317
  /** Soft archive a billing account. Financial history is preserved and the account is removed from active billing operations. */
8111
8318
  archiveBillingAccount: BillingAccount;
8112
8319
  /** Archive a channel */
@@ -8181,7 +8388,7 @@ export type Mutation = {
8181
8388
  bulkSendCustomEmail: BulkCustomEmailResult;
8182
8389
  /** 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
8390
  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`. */
8391
+ /** 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
8392
  bulkSetUserFeatureFlagPreferences: Array<UserFeatureFlagPreference>;
8186
8393
  /** 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
8394
  bulkUpdateApplicationStatus: BulkUpdateApplicationStatusResult;
@@ -8217,6 +8424,8 @@ export type Mutation = {
8217
8424
  /** Clear all items from the cart */
8218
8425
  clearCart: CartPayload;
8219
8426
  cloneSchedule: ScheduledJob;
8427
+ /** Signed (DESIGN 3.7). The avatar's end decision: SETTLED with the charge, or RELEASED. */
8428
+ closeAvatarMinutes: AvatarMinutesReservation;
8220
8429
  closeSupportTicket: SupportTicket;
8221
8430
  /** 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
8431
  completeAppOAuth: AppInstallation;
@@ -8429,6 +8638,8 @@ export type Mutation = {
8429
8638
  deactivateResource: Scalars['Boolean']['output'];
8430
8639
  /** Deactivate a tour schedule */
8431
8640
  deactivateTourSchedule: TourSchedule;
8641
+ /** Stops a subject from firing webhooks. The row is kept so a later registration reactivates it. Same ownership rule as registration. */
8642
+ deactivateWebhookEventSubject: WebhookEventSubject;
8432
8643
  /** 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
8644
  decrementQuota: Scalars['Boolean']['output'];
8434
8645
  /** Delete current user's account permanently Requires password confirmation */
@@ -8568,6 +8779,8 @@ export type Mutation = {
8568
8779
  /** M2M: delete a ShippingAddress owned by an explicit user, on behalf of a calling service. Returns false when no matching row exists for that user. Service-actor only. */
8569
8780
  deleteUserShippingAddress: Scalars['Boolean']['output'];
8570
8781
  deleteWebhook: Scalars['Boolean']['output'];
8782
+ /** Delete a webhook subscription and its delivery log */
8783
+ deleteWebhookSubscription: Scalars['Boolean']['output'];
8571
8784
  /** Admin delists a published product — removes it from store discovery for new users while preserving access for anyone who already installed it. */
8572
8785
  delistProduct: StoreProduct;
8573
8786
  /** Deliver the same notification to multiple recipients in bulk. More efficient than multiple single calls for broadcast scenarios. */
@@ -8590,6 +8803,8 @@ export type Mutation = {
8590
8803
  discardDLQEntry: Scalars['Boolean']['output'];
8591
8804
  /** Dismiss a tour for a user (with option to dismiss permanently) */
8592
8805
  dismissTour: TourUserProgress;
8806
+ /** Dispatch an event to every matching webhook subscription of an owner. M2M only — service / super_admin actors; called by the owning service over the internal gateway. Delivery is HMAC-SHA256 signed with retry/backoff and idempotent per caller-supplied eventId. */
8807
+ dispatchWebhookEvent: WebhookDispatchSummary;
8593
8808
  duplicateNewsletter: Newsletter;
8594
8809
  /** Duplicate a tour with all its steps */
8595
8810
  duplicateTour: Tour;
@@ -8662,7 +8877,15 @@ export type Mutation = {
8662
8877
  /** Generate challenge message for wallet signature */
8663
8878
  generateWalletChallenge: WalletChallengeResult;
8664
8879
  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. */
8880
+ /** Discard a reply draft without sending it. */
8881
+ globalDiscardTicketReplyDraft: Scalars['Boolean']['output'];
8882
+ /** 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. */
8883
+ globalDraftTicketReply: SupportMessage;
8884
+ /** Send a reply draft to the customer as an agent reply, optionally edited. This is the only way a draft reaches a customer. */
8885
+ globalSendTicketReplyDraft: SupportMessage;
8886
+ /** 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. */
8887
+ globalTriageTicket: SupportTriageDecision;
8888
+ /** 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
8889
  grantAppDelegationInternal: AppUserDelegation;
8667
8890
  /** 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
8891
  grantAppWorkspaceAccess: AppWorkspaceAuthorization;
@@ -8690,7 +8913,7 @@ export type Mutation = {
8690
8913
  initiateNTLMChallenge: NtlmChallengeResult;
8691
8914
  /** 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
8915
  initiatePayment: InitiatePaymentResponse;
8693
- /** Install an application */
8916
+ /** 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
8917
  installApp: AppInstallation;
8695
8918
  /** 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
8919
  installPurchasedApp: InstallPurchasedAppResult;
@@ -8698,7 +8921,7 @@ export type Mutation = {
8698
8921
  inviteDeveloperOrgMember: DeveloperOrgInvitationCreated;
8699
8922
  /** Invite a user to an organization by email */
8700
8923
  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. */
8924
+ /** 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
8925
  issueAppAsUserTokenInternal: AppAsUserTokenResponse;
8703
8926
  /** 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
8927
  joinWaitlist: NewsletterWaitlist;
@@ -8737,6 +8960,8 @@ export type Mutation = {
8737
8960
  newsletterEraseSubject: NewsletterEraseResult;
8738
8961
  /** Export the subject's newsletter data: subscriber rows, per-list memberships, consent ledger entries, automation enrolments, waitlist entries. */
8739
8962
  newsletterExportSubject: Scalars['JSON']['output'];
8963
+ /** Signed (P-27). The settle owner's provider-status note for the fault list; writes no credits. */
8964
+ noteAvatarSessionProviderStatus: Scalars['Boolean']['output'];
8740
8965
  /** 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
8966
  notifyDuplicateApplicants: DuplicateNoticeResult;
8742
8967
  openCircuitBreaker: CircuitBreakerState;
@@ -8764,11 +8989,15 @@ export type Mutation = {
8764
8989
  provisionDedicatedTenant: Tenant;
8765
8990
  /** 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
8991
  provisionFreeTierForWorkspace: ProvisionFreeTierForWorkspaceResult;
8992
+ /** 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. */
8993
+ provisionManagedAppInternal: App;
8767
8994
  /** Public unsubscribe via HMAC-signed token from email link. No authentication required. */
8768
8995
  publicUnsubscribeByToken: Scalars['Boolean']['output'];
8769
8996
  publishApplication: Application;
8770
8997
  /** 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
8998
  publishApplicationVersion: ApplicationVersion;
8999
+ /** 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. */
9000
+ publishApplicationVersionToOrganization: ApplicationVersion;
8772
9001
  /** 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
9002
  publishCatalogNodeVersion: Scalars['JSON']['output'];
8774
9003
  publishFAQ: Faq;
@@ -8808,6 +9037,8 @@ export type Mutation = {
8808
9037
  recordEarningEntry: EarningsEntry;
8809
9038
  /** 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
9039
  recordExploreClick: RecordExploreClickResult;
9040
+ /** Record a completed external refund without invoking a payment provider. */
9041
+ recordExternalRefund: ExternalRefundResult;
8811
9042
  /** 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
9043
  recordExternalSettlement: ExternalSettlementResult;
8813
9044
  recordFAQView: Faq;
@@ -8840,6 +9071,10 @@ export type Mutation = {
8840
9071
  /** Register a resource with custom RBAC configurations. */
8841
9072
  registerResource: Resource;
8842
9073
  registerSupportAttachmentPart: Scalars['Boolean']['output'];
9074
+ /** 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. */
9075
+ registerWebhookEventSubjects: Array<WebhookEventSubject>;
9076
+ /** Register an outbound webhook endpoint for an owner */
9077
+ registerWebhookSubscription: WebhookSubscription;
8843
9078
  reinstatePublisher: Publisher;
8844
9079
  rejectApplication: Application;
8845
9080
  /** Platform admin only: reject a pending_review version with a reason. The developer can fix their submission and re-submit. */
@@ -8855,6 +9090,8 @@ export type Mutation = {
8855
9090
  rejectPublisher: Publisher;
8856
9091
  rejectReview: ProductReview;
8857
9092
  rejectWaitlist: NewsletterWaitlist;
9093
+ /** Admin rejects a pending template revision with a reason the author sees. The live version stays listed unchanged. */
9094
+ rejectWorkflowTemplateRevision: WorkflowTemplateRevision;
8858
9095
  releaseLegalHold: LegalHold;
8859
9096
  releaseSuppression: SuppressionEntry;
8860
9097
  removeAgentSkills: AgentProfile;
@@ -8894,7 +9131,7 @@ export type Mutation = {
8894
9131
  /** 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
9132
  removeTenantMember: Scalars['Boolean']['output'];
8896
9133
  removeTicketTags: SupportTicket;
8897
- /** Remove user's preference for a feature flag (reverts to default). RBAC is scoped to the target workspace. */
9134
+ /** 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
9135
  removeUserFeatureFlagPreference: Scalars['Boolean']['output'];
8899
9136
  /** Remove a visibility rule */
8900
9137
  removeVisibilityRule: Scalars['Boolean']['output'];
@@ -8920,6 +9157,8 @@ export type Mutation = {
8920
9157
  replaceChannelTags: Array<ChannelTagAssignment>;
8921
9158
  /** Replace all tags on a store product */
8922
9159
  replaceStoreProductTags: Array<StoreProductTagAssignment>;
9160
+ /** Replay one dead-lettered provider webhook through the durable worker. */
9161
+ replayBillingWebhook?: Maybe<BillingWebhookLog>;
8923
9162
  /** 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
9163
  replyToContactInquiry: ContactInquiryReplyResult;
8925
9164
  /** 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 +9197,8 @@ export type Mutation = {
8958
9197
  resendSurvey: CustomerSatisfactionSurvey;
8959
9198
  resendVerificationEmail: ResendVerificationResult;
8960
9199
  reserveAssistantAccountBudget: AssistantBudgetReceipt;
9200
+ /** Signed (DESIGN 3.7). Reserves credits for a session (ENFORCE) or records its shadow (OBSERVE). */
9201
+ reserveAvatarMinutes: AvatarMinutesReservation;
8961
9202
  resetCircuitBreaker: CircuitBreakerState;
8962
9203
  /** Reset password using token from email */
8963
9204
  resetPassword: Scalars['Boolean']['output'];
@@ -8987,6 +9228,8 @@ export type Mutation = {
8987
9228
  resumeDeveloperOrgSubscription: DeveloperOrgSubscription;
8988
9229
  resumeSLA: SupportTicket;
8989
9230
  resumeScheduledJob: ScheduledJob;
9231
+ /** 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. */
9232
+ retireManagedAppInternal: Scalars['Boolean']['output'];
8990
9233
  /** 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
9234
  retirePushDeviceInternal: Scalars['Boolean']['output'];
8992
9235
  retireSubprocessor: Subprocessor;
@@ -9040,7 +9283,7 @@ export type Mutation = {
9040
9283
  rotateConnectionCredentials: ChannelConnection;
9041
9284
  /** Run health check on a channel */
9042
9285
  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. */
9286
+ /** 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
9287
  runDsarRequestForSubject: DsarOrchestrationResult;
9045
9288
  runMonthlyPayouts: PayoutRunLog;
9046
9289
  /** 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 +9299,7 @@ export type Mutation = {
9056
9299
  seedAtheleteBridgeUserTours: SeedAtheleteBridgeUserToursResult;
9057
9300
  /** Overwrite the service-owned BigConsole onboarding tours. Repeated calls update the same slugs. */
9058
9301
  seedBigconsoleUserTours: SeedBigconsoleUserToursResult;
9059
- /** Overwrite the built-in Buildmyiq user-facing dashboard tour from the service-owned seed file. */
9302
+ /** 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
9303
  seedBuildmyiqUserTours: SeedBuildmyiqUserToursResult;
9061
9304
  /** Overwrite the built-in CollabKin user-facing dashboard tour from the service-owned seed file. */
9062
9305
  seedCollabkinUserTours: SeedCollabkinUserToursResult;
@@ -9068,8 +9311,12 @@ export type Mutation = {
9068
9311
  seedDefaultShortcuts: Scalars['Int']['output'];
9069
9312
  /** Overwrite the built-in FluidGrids user-facing workflow-builder tour from the service-owned seed file. */
9070
9313
  seedFluidgridsUserTours: SeedFluidgridsUserToursResult;
9314
+ /** Overwrite the built-in HookMovies user-facing tours (overview with the getting-started checklist, catalog, productions and auditions) from the service-owned seed file. */
9315
+ seedHookmoviesUserTours: SeedHookmoviesUserToursResult;
9071
9316
  /** Overwrite the built-in IntelWatchtower user-facing tours for the intelligence workflow. */
9072
9317
  seedIntelWatchtowerUserTours: SeedIntelWatchtowerUserToursResult;
9318
+ /** Overwrite the built-in SemanticFed user-facing tours (first-login getting started, empty workspace, query console and policies) from the service-owned seed file. */
9319
+ seedSemanticFedUserTours: SeedSemanticFedUserToursResult;
9073
9320
  /** Overwrite the built-in TheCulturePost user-facing tours from the service-owned seed file. */
9074
9321
  seedTheCulturePostUserTours: SeedTheCulturePostUserToursResult;
9075
9322
  /** Overwrite the built-in VibeControls user-facing tours for Support, Notifications, and Conversations from the service-owned seed file. */
@@ -9092,12 +9339,18 @@ export type Mutation = {
9092
9339
  sendTestNewsletter: TestNewsletterResult;
9093
9340
  /** Record an EarningsEntry on behalf of an org/user by explicit billingAccountId. Service/super_admin only — internal gateway. */
9094
9341
  serviceRecordEarning: EarningsEntry;
9342
+ /** Refund all or part of a payment on behalf of the service that charged it. Idempotent per sourceIdempotencyKey. Service/super_admin only. */
9343
+ serviceRefundPayment: ServiceRefundPaymentResult;
9095
9344
  /** 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
9345
  serviceRequestPayout: PayoutRequest;
9097
9346
  /** 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
9347
  serviceResolvePayoutAccount: PayoutAccount;
9348
+ /** 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. */
9349
+ serviceReverseEarning: ServiceEarningReversal;
9099
9350
  /** 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
9351
  serviceSyncPayoutStatus?: Maybe<DeveloperOrgPayout>;
9352
+ /** 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. */
9353
+ serviceUpsertExternalListing: StoreProduct;
9101
9354
  setAgentAway: AgentProfile;
9102
9355
  setAgentOffline: AgentProfile;
9103
9356
  setAgentOnline: AgentProfile;
@@ -9122,7 +9375,7 @@ export type Mutation = {
9122
9375
  setStoreOrderShipping: StoreOrder;
9123
9376
  /** Set or update the endpoint URL for a DEDICATED tenant. Transitions PROVISIONING → ACTIVE when endpoint is set. */
9124
9377
  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`. */
9378
+ /** 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
9379
  setUserFeatureFlagPreference: UserFeatureFlagPreference;
9127
9380
  setUserLanguagePreference: UserLanguagePreference;
9128
9381
  /** 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 +9418,8 @@ export type Mutation = {
9165
9418
  submitProduct: StoreProduct;
9166
9419
  submitPublisherVerification: Publisher;
9167
9420
  submitSatisfactionSurvey: CustomerSatisfactionSurvey;
9421
+ /** 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. */
9422
+ submitWorkflowTemplate: WorkflowTemplateSubmission;
9168
9423
  /** 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
9424
  subscribe: NewsletterSubscriber;
9170
9425
  subscribeToStore: UserStoreSubscription;
@@ -9187,6 +9442,8 @@ export type Mutation = {
9187
9442
  syncStoreSubmissionStatus: Scalars['Boolean']['output'];
9188
9443
  /** Sync tour steps (smart update in ONE call) Send all desired steps, backend handles: update existing, create new, delete removed */
9189
9444
  syncTourSteps: Array<TourStep>;
9445
+ /** 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. */
9446
+ syncWorkspaceDeletionFromWspace: SyncWorkspaceFromWspaceResponse;
9190
9447
  /** 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
9448
  syncWorkspaceFromWspace: SyncWorkspaceFromWspaceResponse;
9192
9449
  tagChannel: ChannelTagAssignment;
@@ -9200,6 +9457,8 @@ export type Mutation = {
9200
9457
  /** Test RADIUS connection */
9201
9458
  testRADIUSConnection: Scalars['Boolean']['output'];
9202
9459
  testWebhook: WebhookTestResult;
9460
+ /** Send a synthetic test event to a webhook subscription and report the result */
9461
+ testWebhookSubscription: WebhookDispatchResult;
9203
9462
  toggleAddOn: Scalars['Boolean']['output'];
9204
9463
  /** Toggle the featured state of a store product (admin) */
9205
9464
  toggleFeatured: Scalars['Boolean']['output'];
@@ -9420,6 +9679,8 @@ export type Mutation = {
9420
9679
  updateUserPlatformConnectionNotifications: UserPlatformConnection;
9421
9680
  updateVariantStats: NewsletterVariant;
9422
9681
  updateWebhook: Webhook;
9682
+ /** Update a webhook subscription (URL, secret, events, enabled, description) */
9683
+ updateWebhookSubscription: WebhookSubscription;
9423
9684
  /** Update an existing workspace */
9424
9685
  updateWorkspace: Workspace;
9425
9686
  /** Update a workspace member's role */
@@ -9466,6 +9727,10 @@ export type Mutation = {
9466
9727
  /** Vote on a review (helpful/not helpful) */
9467
9728
  voteOnAppReview: AppReviewVote;
9468
9729
  withdrawConsent: ConsentRecord;
9730
+ /** Withdraw the pending (or rejected) new version of one of your published templates. The live version is not affected. Takes the template's product id. */
9731
+ withdrawWorkflowTemplateRevision: WorkflowTemplateSubmission;
9732
+ /** Withdraw one of your templates. A published template is taken off the store first; anything not live is deleted. */
9733
+ withdrawWorkflowTemplateSubmission: WithdrawWorkflowTemplateSubmissionResult;
9469
9734
  };
9470
9735
  /** Root mutation type */
9471
9736
  export type MutationAcceptDeveloperOrgInvitationArgs = {
@@ -9481,6 +9746,13 @@ export type MutationAcceptSourcingOfferArgs = {
9481
9746
  offerId: Scalars['ID']['input'];
9482
9747
  };
9483
9748
  /** Root mutation type */
9749
+ export type MutationActivateAvatarMinutesArgs = {
9750
+ readyAt: Scalars['String']['input'];
9751
+ sessionId: Scalars['ID']['input'];
9752
+ signature: AvatarMinutesSignature;
9753
+ workspaceId: Scalars['ID']['input'];
9754
+ };
9755
+ /** Root mutation type */
9484
9756
  export type MutationActivateChannelArgs = {
9485
9757
  id: Scalars['ID']['input'];
9486
9758
  };
@@ -9685,6 +9957,11 @@ export type MutationApproveWaitlistArgs = {
9685
9957
  input: ApproveWaitlistInput;
9686
9958
  };
9687
9959
  /** Root mutation type */
9960
+ export type MutationApproveWorkflowTemplateRevisionArgs = {
9961
+ id: Scalars['ID']['input'];
9962
+ notes?: InputMaybe<Scalars['String']['input']>;
9963
+ };
9964
+ /** Root mutation type */
9688
9965
  export type MutationArchiveBillingAccountArgs = {
9689
9966
  id: Scalars['ID']['input'];
9690
9967
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -9771,10 +10048,12 @@ export type MutationAttachMediaToStepArgs = {
9771
10048
  /** Root mutation type */
9772
10049
  export type MutationAuthEraseSubjectArgs = {
9773
10050
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
10051
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
9774
10052
  subjectId: Scalars['ID']['input'];
9775
10053
  };
9776
10054
  /** Root mutation type */
9777
10055
  export type MutationAuthExportSubjectArgs = {
10056
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
9778
10057
  subjectId: Scalars['ID']['input'];
9779
10058
  };
9780
10059
  /** Root mutation type */
@@ -9992,6 +10271,11 @@ export type MutationCloneScheduleArgs = {
9992
10271
  sourceId: Scalars['ID']['input'];
9993
10272
  };
9994
10273
  /** Root mutation type */
10274
+ export type MutationCloseAvatarMinutesArgs = {
10275
+ input: CloseAvatarMinutesInput;
10276
+ signature: AvatarMinutesSignature;
10277
+ };
10278
+ /** Root mutation type */
9995
10279
  export type MutationCloseSupportTicketArgs = {
9996
10280
  id: Scalars['ID']['input'];
9997
10281
  };
@@ -10600,6 +10884,10 @@ export type MutationDeactivateTourScheduleArgs = {
10600
10884
  id: Scalars['ID']['input'];
10601
10885
  };
10602
10886
  /** Root mutation type */
10887
+ export type MutationDeactivateWebhookEventSubjectArgs = {
10888
+ subject: Scalars['String']['input'];
10889
+ };
10890
+ /** Root mutation type */
10603
10891
  export type MutationDecrementQuotaArgs = {
10604
10892
  amount: Scalars['Int']['input'];
10605
10893
  billingAccountId: Scalars['ID']['input'];
@@ -10959,6 +11247,10 @@ export type MutationDeleteWebhookArgs = {
10959
11247
  id: Scalars['ID']['input'];
10960
11248
  };
10961
11249
  /** Root mutation type */
11250
+ export type MutationDeleteWebhookSubscriptionArgs = {
11251
+ id: Scalars['ID']['input'];
11252
+ };
11253
+ /** Root mutation type */
10962
11254
  export type MutationDelistProductArgs = {
10963
11255
  id: Scalars['ID']['input'];
10964
11256
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -11018,6 +11310,10 @@ export type MutationDismissTourArgs = {
11018
11310
  userId: Scalars['ID']['input'];
11019
11311
  };
11020
11312
  /** Root mutation type */
11313
+ export type MutationDispatchWebhookEventArgs = {
11314
+ input: DispatchWebhookEventInput;
11315
+ };
11316
+ /** Root mutation type */
11021
11317
  export type MutationDuplicateNewsletterArgs = {
11022
11318
  id: Scalars['ID']['input'];
11023
11319
  newSlug: Scalars['String']['input'];
@@ -11064,6 +11360,7 @@ export type MutationEnsureStoreOrderBillingOrderArgs = {
11064
11360
  /** Root mutation type */
11065
11361
  export type MutationEraseSubjectArgs = {
11066
11362
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
11363
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
11067
11364
  subjectId: Scalars['ID']['input'];
11068
11365
  };
11069
11366
  /** Root mutation type */
@@ -11129,6 +11426,7 @@ export type MutationExportRevenueArgs = {
11129
11426
  };
11130
11427
  /** Root mutation type */
11131
11428
  export type MutationExportSubjectArgs = {
11429
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
11132
11430
  subjectId: Scalars['ID']['input'];
11133
11431
  };
11134
11432
  /** Root mutation type */
@@ -11226,6 +11524,23 @@ export type MutationGetSupportAttachmentPartUploadUrlsArgs = {
11226
11524
  ticketId: Scalars['ID']['input'];
11227
11525
  };
11228
11526
  /** Root mutation type */
11527
+ export type MutationGlobalDiscardTicketReplyDraftArgs = {
11528
+ id: Scalars['ID']['input'];
11529
+ };
11530
+ /** Root mutation type */
11531
+ export type MutationGlobalDraftTicketReplyArgs = {
11532
+ ticketId: Scalars['ID']['input'];
11533
+ };
11534
+ /** Root mutation type */
11535
+ export type MutationGlobalSendTicketReplyDraftArgs = {
11536
+ id: Scalars['ID']['input'];
11537
+ message?: InputMaybe<Scalars['String']['input']>;
11538
+ };
11539
+ /** Root mutation type */
11540
+ export type MutationGlobalTriageTicketArgs = {
11541
+ id: Scalars['ID']['input'];
11542
+ };
11543
+ /** Root mutation type */
11229
11544
  export type MutationGrantAppDelegationInternalArgs = {
11230
11545
  input: GrantAppDelegationInternalInput;
11231
11546
  };
@@ -11416,6 +11731,12 @@ export type MutationNewsletterExportSubjectArgs = {
11416
11731
  subjectId: Scalars['ID']['input'];
11417
11732
  };
11418
11733
  /** Root mutation type */
11734
+ export type MutationNoteAvatarSessionProviderStatusArgs = {
11735
+ sessionId: Scalars['ID']['input'];
11736
+ signature: AvatarMinutesSignature;
11737
+ status: AvatarProviderSessionStatus;
11738
+ };
11739
+ /** Root mutation type */
11419
11740
  export type MutationNotifyDuplicateApplicantsArgs = {
11420
11741
  input: NotifyDuplicateApplicantsInput;
11421
11742
  };
@@ -11488,6 +11809,10 @@ export type MutationProvisionFreeTierForWorkspaceArgs = {
11488
11809
  workspaceId: Scalars['ID']['input'];
11489
11810
  };
11490
11811
  /** Root mutation type */
11812
+ export type MutationProvisionManagedAppInternalArgs = {
11813
+ input: ProvisionManagedAppInternalInput;
11814
+ };
11815
+ /** Root mutation type */
11491
11816
  export type MutationPublicUnsubscribeByTokenArgs = {
11492
11817
  token: Scalars['String']['input'];
11493
11818
  };
@@ -11500,6 +11825,11 @@ export type MutationPublishApplicationVersionArgs = {
11500
11825
  id: Scalars['ID']['input'];
11501
11826
  };
11502
11827
  /** Root mutation type */
11828
+ export type MutationPublishApplicationVersionToOrganizationArgs = {
11829
+ id: Scalars['ID']['input'];
11830
+ workspaceId: Scalars['ID']['input'];
11831
+ };
11832
+ /** Root mutation type */
11503
11833
  export type MutationPublishCatalogNodeVersionArgs = {
11504
11834
  isFirstPublish?: InputMaybe<Scalars['Boolean']['input']>;
11505
11835
  nodeType: Scalars['String']['input'];
@@ -11631,6 +11961,10 @@ export type MutationRecordExploreClickArgs = {
11631
11961
  input: RecordExploreClickInput;
11632
11962
  };
11633
11963
  /** Root mutation type */
11964
+ export type MutationRecordExternalRefundArgs = {
11965
+ input: RecordExternalRefundInput;
11966
+ };
11967
+ /** Root mutation type */
11634
11968
  export type MutationRecordExternalSettlementArgs = {
11635
11969
  input: RecordExternalSettlementInput;
11636
11970
  };
@@ -11718,6 +12052,14 @@ export type MutationRegisterSupportAttachmentPartArgs = {
11718
12052
  input: RegisterSupportAttachmentPartInput;
11719
12053
  };
11720
12054
  /** Root mutation type */
12055
+ export type MutationRegisterWebhookEventSubjectsArgs = {
12056
+ input: RegisterWebhookEventSubjectsInput;
12057
+ };
12058
+ /** Root mutation type */
12059
+ export type MutationRegisterWebhookSubscriptionArgs = {
12060
+ input: RegisterWebhookSubscriptionInput;
12061
+ };
12062
+ /** Root mutation type */
11721
12063
  export type MutationReinstatePublisherArgs = {
11722
12064
  id: Scalars['ID']['input'];
11723
12065
  };
@@ -11769,6 +12111,11 @@ export type MutationRejectWaitlistArgs = {
11769
12111
  input: RejectWaitlistInput;
11770
12112
  };
11771
12113
  /** Root mutation type */
12114
+ export type MutationRejectWorkflowTemplateRevisionArgs = {
12115
+ id: Scalars['ID']['input'];
12116
+ reason: Scalars['String']['input'];
12117
+ };
12118
+ /** Root mutation type */
11772
12119
  export type MutationReleaseLegalHoldArgs = {
11773
12120
  id: Scalars['ID']['input'];
11774
12121
  };
@@ -11940,6 +12287,10 @@ export type MutationReplaceStoreProductTagsArgs = {
11940
12287
  input: ReplaceStoreProductTagsInput;
11941
12288
  };
11942
12289
  /** Root mutation type */
12290
+ export type MutationReplayBillingWebhookArgs = {
12291
+ logId: Scalars['ID']['input'];
12292
+ };
12293
+ /** Root mutation type */
11943
12294
  export type MutationReplyToContactInquiryArgs = {
11944
12295
  id: Scalars['ID']['input'];
11945
12296
  message: Scalars['String']['input'];
@@ -12043,6 +12394,11 @@ export type MutationReserveAssistantAccountBudgetArgs = {
12043
12394
  input: ReserveAssistantBudgetInput;
12044
12395
  };
12045
12396
  /** Root mutation type */
12397
+ export type MutationReserveAvatarMinutesArgs = {
12398
+ input: ReserveAvatarMinutesInput;
12399
+ signature: AvatarMinutesSignature;
12400
+ };
12401
+ /** Root mutation type */
12046
12402
  export type MutationResetCircuitBreakerArgs = {
12047
12403
  scope: Scalars['String']['input'];
12048
12404
  scopeValue: Scalars['String']['input'];
@@ -12130,6 +12486,11 @@ export type MutationResumeScheduledJobArgs = {
12130
12486
  id: Scalars['ID']['input'];
12131
12487
  };
12132
12488
  /** Root mutation type */
12489
+ export type MutationRetireManagedAppInternalArgs = {
12490
+ clientId: Scalars['String']['input'];
12491
+ reason?: InputMaybe<Scalars['String']['input']>;
12492
+ };
12493
+ /** Root mutation type */
12133
12494
  export type MutationRetirePushDeviceInternalArgs = {
12134
12495
  errorCode: Scalars['String']['input'];
12135
12496
  token: Scalars['String']['input'];
@@ -12276,6 +12637,7 @@ export type MutationRunChannelHealthCheckArgs = {
12276
12637
  export type MutationRunDsarRequestForSubjectArgs = {
12277
12638
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
12278
12639
  mode: DsarMode;
12640
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
12279
12641
  subjectId: Scalars['ID']['input'];
12280
12642
  };
12281
12643
  /** Root mutation type */
@@ -12361,6 +12723,10 @@ export type MutationServiceRecordEarningArgs = {
12361
12723
  input: ServiceRecordEarningInput;
12362
12724
  };
12363
12725
  /** Root mutation type */
12726
+ export type MutationServiceRefundPaymentArgs = {
12727
+ input: ServiceRefundPaymentInput;
12728
+ };
12729
+ /** Root mutation type */
12364
12730
  export type MutationServiceRequestPayoutArgs = {
12365
12731
  input: ServiceRequestPayoutInput;
12366
12732
  };
@@ -12369,10 +12735,18 @@ export type MutationServiceResolvePayoutAccountArgs = {
12369
12735
  input: ServiceResolvePayoutAccountInput;
12370
12736
  };
12371
12737
  /** Root mutation type */
12738
+ export type MutationServiceReverseEarningArgs = {
12739
+ input: ServiceReverseEarningInput;
12740
+ };
12741
+ /** Root mutation type */
12372
12742
  export type MutationServiceSyncPayoutStatusArgs = {
12373
12743
  input: ServiceSyncPayoutStatusInput;
12374
12744
  };
12375
12745
  /** Root mutation type */
12746
+ export type MutationServiceUpsertExternalListingArgs = {
12747
+ input: ServiceUpsertExternalListingInput;
12748
+ };
12749
+ /** Root mutation type */
12376
12750
  export type MutationSetAgentAwayArgs = {
12377
12751
  message?: InputMaybe<Scalars['String']['input']>;
12378
12752
  };
@@ -12550,6 +12924,10 @@ export type MutationSubmitSatisfactionSurveyArgs = {
12550
12924
  input: SubmitSatisfactionSurveyInput;
12551
12925
  };
12552
12926
  /** Root mutation type */
12927
+ export type MutationSubmitWorkflowTemplateArgs = {
12928
+ input: SubmitWorkflowTemplateInput;
12929
+ };
12930
+ /** Root mutation type */
12553
12931
  export type MutationSubscribeArgs = {
12554
12932
  input: SubscribeInput;
12555
12933
  };
@@ -12560,10 +12938,12 @@ export type MutationSubscribeToStoreArgs = {
12560
12938
  /** Root mutation type */
12561
12939
  export type MutationSupportEraseSubjectArgs = {
12562
12940
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
12941
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
12563
12942
  subjectId: Scalars['ID']['input'];
12564
12943
  };
12565
12944
  /** Root mutation type */
12566
12945
  export type MutationSupportExportSubjectArgs = {
12946
+ subjectEmail?: InputMaybe<Scalars['String']['input']>;
12567
12947
  subjectId: Scalars['ID']['input'];
12568
12948
  };
12569
12949
  /** Root mutation type */
@@ -12607,6 +12987,10 @@ export type MutationSyncTourStepsArgs = {
12607
12987
  tourId: Scalars['ID']['input'];
12608
12988
  };
12609
12989
  /** Root mutation type */
12990
+ export type MutationSyncWorkspaceDeletionFromWspaceArgs = {
12991
+ workspaceId: Scalars['ID']['input'];
12992
+ };
12993
+ /** Root mutation type */
12610
12994
  export type MutationSyncWorkspaceFromWspaceArgs = {
12611
12995
  input: SyncWorkspaceFromWspaceInput;
12612
12996
  };
@@ -12640,6 +13024,10 @@ export type MutationTestWebhookArgs = {
12640
13024
  id: Scalars['ID']['input'];
12641
13025
  };
12642
13026
  /** Root mutation type */
13027
+ export type MutationTestWebhookSubscriptionArgs = {
13028
+ id: Scalars['ID']['input'];
13029
+ };
13030
+ /** Root mutation type */
12643
13031
  export type MutationToggleAddOnArgs = {
12644
13032
  id: Scalars['ID']['input'];
12645
13033
  status: Scalars['Boolean']['input'];
@@ -13347,6 +13735,11 @@ export type MutationUpdateWebhookArgs = {
13347
13735
  input: UpdateWebhookInput;
13348
13736
  };
13349
13737
  /** Root mutation type */
13738
+ export type MutationUpdateWebhookSubscriptionArgs = {
13739
+ id: Scalars['ID']['input'];
13740
+ input: UpdateWebhookSubscriptionInput;
13741
+ };
13742
+ /** Root mutation type */
13350
13743
  export type MutationUpdateWorkspaceArgs = {
13351
13744
  id: Scalars['ID']['input'];
13352
13745
  input: UpdateWorkspaceInput;
@@ -13481,6 +13874,14 @@ export type MutationVoteOnAppReviewArgs = {
13481
13874
  export type MutationWithdrawConsentArgs = {
13482
13875
  input: WithdrawConsentInput;
13483
13876
  };
13877
+ /** Root mutation type */
13878
+ export type MutationWithdrawWorkflowTemplateRevisionArgs = {
13879
+ productId: Scalars['ID']['input'];
13880
+ };
13881
+ /** Root mutation type */
13882
+ export type MutationWithdrawWorkflowTemplateSubmissionArgs = {
13883
+ id: Scalars['ID']['input'];
13884
+ };
13484
13885
  /** 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
13886
  export type MyContactInquiryFilterInput = {
13486
13887
  /** Filter by inquiry category (exact match against the stored string). */
@@ -14157,6 +14558,14 @@ export type NotificationReadFilterInput = {
14157
14558
  type?: InputMaybe<NotificationType>;
14158
14559
  userId: Scalars['ID']['input'];
14159
14560
  };
14561
+ /** Sender-owned processing status only; provider acknowledgement is not delivery certification. */
14562
+ export type NotificationSendStatus = {
14563
+ __typename?: 'NotificationSendStatus';
14564
+ deliveryStatus?: Maybe<NotificationDeliveryStatus>;
14565
+ id: Scalars['ID']['output'];
14566
+ status: NotificationStatus;
14567
+ triggerStatus: TriggerStatus;
14568
+ };
14160
14569
  export type NotificationStats = {
14161
14570
  __typename?: 'NotificationStats';
14162
14571
  byChannel: Scalars['JSON']['output'];
@@ -14654,6 +15063,41 @@ export type OrganizationMemberList = {
14654
15063
  offset: Scalars['Int']['output'];
14655
15064
  total: Scalars['Int']['output'];
14656
15065
  };
15066
+ /** A workspace-private custom node of a workspace's organization (BOFF-9766). */
15067
+ export type OrganizationPrivateNode = {
15068
+ __typename?: 'OrganizationPrivateNode';
15069
+ applicationId: Scalars['ID']['output'];
15070
+ iconUrl?: Maybe<Scalars['String']['output']>;
15071
+ /** This workspace's active installation. Pass it to uninstallApp to remove the node. */
15072
+ installationId?: Maybe<Scalars['ID']['output']>;
15073
+ /** True when this workspace has an active installation of the node. */
15074
+ installed: Scalars['Boolean']['output'];
15075
+ /** The version this workspace has installed, when installed. */
15076
+ installedVersion?: Maybe<Scalars['String']['output']>;
15077
+ name: Scalars['String']['output'];
15078
+ /** Workflow node type from the version's manifest, e.g. custom/word_counter. */
15079
+ nodeType?: Maybe<Scalars['String']['output']>;
15080
+ nodeVersion?: Maybe<Scalars['String']['output']>;
15081
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
15082
+ shortDescription?: Maybe<Scalars['String']['output']>;
15083
+ slug: Scalars['String']['output'];
15084
+ /** Installed, and the organization has since published a newer version. */
15085
+ updateAvailable: Scalars['Boolean']['output'];
15086
+ /** Latest version published to the organization. Pass it to installApp. */
15087
+ version: Scalars['String']['output'];
15088
+ /** Id of the latest version published to the organization. */
15089
+ versionId: Scalars['ID']['output'];
15090
+ };
15091
+ /** The private custom nodes a workspace's organization has published, as seen from one workspace (BOFF-9766). */
15092
+ export type OrganizationPrivateNodeListing = {
15093
+ __typename?: 'OrganizationPrivateNodeListing';
15094
+ /** True when the caller administers the workspace and so may install or uninstall. */
15095
+ canManage: Scalars['Boolean']['output'];
15096
+ nodes: Array<OrganizationPrivateNode>;
15097
+ /** Organization the workspace belongs to; null when the caller is not a member or the workspace has no organization. */
15098
+ organizationId?: Maybe<Scalars['ID']['output']>;
15099
+ workspaceId: Scalars['ID']['output'];
15100
+ };
14657
15101
  export type OrganizationScheduleQuotas = {
14658
15102
  __typename?: 'OrganizationScheduleQuotas';
14659
15103
  currentActiveSchedules: Scalars['Int']['output'];
@@ -15562,6 +16006,8 @@ export type ProductContentPage = {
15562
16006
  content: Scalars['String']['output'];
15563
16007
  contentFormat: Scalars['String']['output'];
15564
16008
  createdAt: Scalars['DateTime']['output'];
16009
+ /** 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. */
16010
+ customerSignOff?: Maybe<CustomerSignOff>;
15565
16011
  /** Blog/article fields */
15566
16012
  excerpt?: Maybe<Scalars['String']['output']>;
15567
16013
  featured: Scalars['Boolean']['output'];
@@ -15898,6 +16344,19 @@ export type ProvisionFreeTierForWorkspaceResult = {
15898
16344
  hasBillingAccount: Scalars['Boolean']['output'];
15899
16345
  /** Product IDs the assigned quotas belong to. */
15900
16346
  productIds: Array<Scalars['String']['output']>;
16347
+ /** 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. */
16348
+ skippedAtCapProductIds: Array<Scalars['String']['output']>;
16349
+ };
16350
+ /** Input for a service-managed app (BOFF-9962). */
16351
+ export type ProvisionManagedAppInternalInput = {
16352
+ description?: InputMaybe<Scalars['String']['input']>;
16353
+ /** Display name, 1 to 200 characters. */
16354
+ name: Scalars['String']['input'];
16355
+ /** Scopes a delegation to the app may carry; at least one. */
16356
+ scopes: Array<Scalars['String']['input']>;
16357
+ tenantId?: InputMaybe<Scalars['String']['input']>;
16358
+ /** BOT (default), ASSISTANT, AUTOMATION or WORKFLOW. */
16359
+ type?: InputMaybe<AppType>;
15901
16360
  };
15902
16361
  /** Response for createUserTenantStructure mutation */
15903
16362
  export declare enum ProvisioningStatus {
@@ -16121,6 +16580,8 @@ export type Query = {
16121
16580
  actorRoleAssignments: Array<ActorRoleAssignment>;
16122
16581
  /** List actors with RBAC context in a scope */
16123
16582
  actors: Array<ActorRbacSummary>;
16583
+ /** 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. */
16584
+ addonPurchaseEligibility: Array<AddonPurchaseEligibility>;
16124
16585
  adminAffiliateAnalytics: AffiliateAdminAnalytics;
16125
16586
  adminPayoutRequests: PayoutRequestConnection;
16126
16587
  adminPayoutSummary: PayoutAdminSummary;
@@ -16136,6 +16597,8 @@ export type Query = {
16136
16597
  agentProfile?: Maybe<AgentProfile>;
16137
16598
  agentProfileByUserId?: Maybe<AgentProfile>;
16138
16599
  agentProfiles: AgentProfileConnection;
16600
+ /** Schema capability for optional cache counts. Older callers keep input/output-only pricing. */
16601
+ aiCacheTokenPricingSupported: Scalars['Boolean']['output'];
16139
16602
  /** Active per-model LLM token prices (USD per 1M tokens) used for AI-credit weighting. */
16140
16603
  aiModelPrices: Array<AiModelPrice>;
16141
16604
  /** 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 +16646,10 @@ export type Query = {
16183
16646
  automationSubscribers: Array<AutomationSubscriber>;
16184
16647
  availableAgents: Array<AgentProfile>;
16185
16648
  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. */
16649
+ /** 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
16650
  availableFeaturePreviews: Array<FeatureFlag>;
16651
+ /** Signed (DESIGN 3.7). The workspace's balance, in the person's view when actorId is given. */
16652
+ avatarMinutesForService: AvatarMinutesBalance;
16188
16653
  bounceStats: BounceStats;
16189
16654
  /** 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
16655
  browseStore: BrowseStoreResult;
@@ -16317,7 +16782,7 @@ export type Query = {
16317
16782
  estimateNewsletterRecipients: NewsletterRecipientEstimate;
16318
16783
  /** Estimate shipping for an order with a specific method */
16319
16784
  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`. */
16785
+ /** 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
16786
  evaluateFeatureFlags: FeatureFlagBulkEvaluation;
16322
16787
  /** One conversation with its full transcript, references, CTAs and clicks. Superadmin only. */
16323
16788
  exploreAdminConversation?: Maybe<ExploreAdminConversation>;
@@ -16331,6 +16796,8 @@ export type Query = {
16331
16796
  exploreAgentJob?: Maybe<ExploreAgentJob>;
16332
16797
  /** Products, example prompts, welcome copy and limits for the `/explore` page. Never throws — an unreachable agent yields `enabled: false`. */
16333
16798
  exploreCatalog: ExploreCatalog;
16799
+ /** 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. */
16800
+ exploreConversationInfo: ExploreConversationInfo;
16334
16801
  /** The conversation's messages, oldest first. */
16335
16802
  exploreConversationMessages: Array<ExploreMessage>;
16336
16803
  /** Poll one message. Scoped by `conversationToken`; a token that does not own the message is reported as NOT_FOUND, never FORBIDDEN. */
@@ -16366,6 +16833,7 @@ export type Query = {
16366
16833
  /** Browse the plan catalog (e.g. the upgrade-subscription flow). Self-scoped — any authenticated actor may read it; the catalog itself isn't actor-owned data, so there's nothing further to scope. Previously scopeType "global", which no regular user role is ever assigned at (only Authenticated User — billing:NONE — and Platform Superadmin hold a global-scoped role), so this field was unreachable for every non-superadmin user (BOFF-6512). */
16367
16834
  getAllPlans: Array<Plan>;
16368
16835
  getAllQuotas: Array<Quota>;
16836
+ /** List account quotas. Date bounds are inclusive on assignment createdAt; amount bounds are inclusive on activity-backed currentUsageSum, before pagination. Status uses remaining limits (WARNING >=75%, CRITICAL >=90%, EXHAUSTED <=0); expired assignments are INACTIVE and non-numeric unlimited quotas are HEALTHY. Both number and legacy numeric limit types are finite. Percentage thresholds use originalValue; when absent, the remaining value is the fallback baseline. Empty status lists apply no status filter. Pages are capped at 100 rows. Amount-filtered requests fail explicitly above 1000 usage lookups; narrow searchQuery or createdAt bounds rather than relying on partial counts. Derived-filter scans also fail above 10000 assignments, without partial counts. */
16369
16837
  getAllQuotasAssignment: PaginatedQuotaAssignments;
16370
16838
  getAllQuotasOfSub: Array<QuotaAssignment>;
16371
16839
  getAllRecurringBillingPlans: Array<RecurringBillingPlan>;
@@ -16500,7 +16968,7 @@ export type Query = {
16500
16968
  getPromotion?: Maybe<Promotion>;
16501
16969
  /** Get usage analytics for a specific quota assignment */
16502
16970
  getQuotaAnalytics: QuotaUsageAnalytics;
16503
- /** Enhanced quota assignment query with analytics, pagination and filtering */
16971
+ /** The same status, inclusive createdAt and currentUsageSum filters as getAllQuotasAssignment, with analytics for the filtered page. */
16504
16972
  getQuotaAssignmentsWithAnalytics: PaginatedQuotaAssignmentsWithAnalytics;
16505
16973
  getQuotaUsageAndLimit: QuotaUsageAndLimit;
16506
16974
  getQuotaUsageDetails?: Maybe<PaginatedUsages>;
@@ -16551,6 +17019,8 @@ export type Query = {
16551
17019
  getWebhookEvent?: Maybe<WebhookEvent>;
16552
17020
  /** Get webhook statistics for a channel */
16553
17021
  getWebhookStats: WebhookStats;
17022
+ /** Measure the triage engine against historical human categorisation. Support admins see their tenant; super admins see every tenant. Read-only. */
17023
+ globalTriageEvaluation: SupportTriageEvaluation;
16554
17024
  /** Health check endpoint */
16555
17025
  health: HealthStatus;
16556
17026
  /** Get grouped products for homepage. Optionally filter by compatible product (e.g., "bigconsole", "fluidgrids"). */
@@ -16570,6 +17040,8 @@ export type Query = {
16570
17040
  /** 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
17041
  installableApplicationVersions: Array<ApplicationVersion>;
16572
17042
  installationPermissions?: Maybe<Scalars['JSON']['output']>;
17043
+ /** 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. */
17044
+ installedStoreNodeRuntime?: Maybe<StoreInstalledNodeRuntime>;
16573
17045
  /** Get a single interview round by ID (admin). */
16574
17046
  interviewRound?: Maybe<InterviewRound>;
16575
17047
  /** Get a single interviewer by ID (admin). */
@@ -16631,6 +17103,8 @@ export type Query = {
16631
17103
  listUserShippingAddresses: Array<ShippingAddress>;
16632
17104
  lookupAffiliateCode?: Maybe<AffiliateCodeLookup>;
16633
17105
  lowStockProducts: Array<LowStockProduct>;
17106
+ /** 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. */
17107
+ managedAppDelegationsInternal: Array<AppUserDelegation>;
16634
17108
  /** 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
17109
  myAccessibleProducts: PlatformProductList;
16636
17110
  myActivityLogs: ActivityLogConnection;
@@ -16663,6 +17137,8 @@ export type Query = {
16663
17137
  myNotificationCountsByApp: Scalars['JSON']['output'];
16664
17138
  /** Get notification counts by channel for authenticated user */
16665
17139
  myNotificationCountsByChannel: NotificationChannelCounts;
17140
+ /** Status of a notification created by the authenticated sender in the current tenant. */
17141
+ myNotificationSendStatus: NotificationSendStatus;
16666
17142
  /** Get all orders for the authenticated user */
16667
17143
  myOrders: Array<StoreOrder>;
16668
17144
  /** 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 +17187,8 @@ export type Query = {
16711
17187
  /** List user's linked wallets */
16712
17188
  myWallets: Array<WalletInfo>;
16713
17189
  myWishlist: Array<UserWishlist>;
17190
+ /** Your own community workflow templates, newest first. */
17191
+ myWorkflowTemplateSubmissions: WorkflowTemplateSubmissionList;
16714
17192
  /** 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
17193
  myWorkspaces: WorkspaceList;
16716
17194
  newsletter?: Maybe<Newsletter>;
@@ -16780,6 +17258,8 @@ export type Query = {
16780
17258
  organizationMembers: OrganizationMemberList;
16781
17259
  /** 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
17260
  organizationPickupPostalCode?: Maybe<Scalars['String']['output']>;
17261
+ /** 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. */
17262
+ organizationPrivateNodes: OrganizationPrivateNodeListing;
16783
17263
  organizationScheduleQuotas: OrganizationScheduleQuotas;
16784
17264
  payoutRunHistory: Array<PayoutRunLog>;
16785
17265
  pendingDeveloperOrganizationVerifications: DeveloperOrganizationConnection;
@@ -16790,6 +17270,8 @@ export type Query = {
16790
17270
  /** Get pending scheduled notifications that are due for triggering */
16791
17271
  pendingScheduledNotifications: Array<ScheduledNotification>;
16792
17272
  pendingSurveys: CustomerSatisfactionSurveyConnection;
17273
+ /** Admin queue: new versions of published templates, oldest first. */
17274
+ pendingWorkflowTemplateRevisions: WorkflowTemplateRevisionList;
16793
17275
  /** Get permission check audit log */
16794
17276
  permissionAuditLog: Array<PermissionAuditLog>;
16795
17277
  /** Get a single platform product by ID (admin/catalog read). Returns the full PlatformProduct including DRAFT products and internal operational metrics, so it is gated as a global-scope catalog read. Unauthenticated/marketing callers must use publicProduct(slug), which filters to ACTIVE/WAITLIST/COMING_SOON and strips internal fields. */
@@ -17021,7 +17503,7 @@ export type Query = {
17021
17503
  userBillingPlan: UserBillingPlan;
17022
17504
  /** Get total count of users (for analytics) */
17023
17505
  userCount: Scalars['Int']['output'];
17024
- /** Get a user's feature flag preferences in a workspace. Bounded by limit/offset to avoid unbounded fetches. */
17506
+ /** 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
17507
  userFeatureFlagPreferences: Array<UserFeatureFlagPreference>;
17026
17508
  userLanguagePreference?: Maybe<UserLanguagePreference>;
17027
17509
  /** Check if the current user has reviewed a specific product */
@@ -17046,6 +17528,14 @@ export type Query = {
17046
17528
  webhook?: Maybe<Webhook>;
17047
17529
  webhookDeliveries: WebhookDeliveryConnection;
17048
17530
  webhookDelivery?: Maybe<WebhookDelivery>;
17531
+ /** Every webhook event type currently deliverable, for the webhook event picker. Optionally narrowed to one product. */
17532
+ webhookEventCatalog: Array<WebhookEventCatalogEntry>;
17533
+ /** Registered subject mappings. Platform services and super admins only. */
17534
+ webhookEventSubjects: Array<WebhookEventSubject>;
17535
+ /** Fetch a single webhook subscription by ID */
17536
+ webhookSubscription?: Maybe<WebhookSubscription>;
17537
+ /** List webhook subscriptions for an owner (newest first) */
17538
+ webhookSubscriptions: Array<WebhookSubscription>;
17049
17539
  webhooks: Array<Webhook>;
17050
17540
  /** Get a single workspace by ID */
17051
17541
  workspace?: Maybe<Workspace>;
@@ -17116,6 +17606,12 @@ export type QueryActorsArgs = {
17116
17606
  scopeId: Scalars['String']['input'];
17117
17607
  };
17118
17608
  /** Root query type */
17609
+ export type QueryAddonPurchaseEligibilityArgs = {
17610
+ addonIds: Array<Scalars['ID']['input']>;
17611
+ billingAccountId?: InputMaybe<Scalars['ID']['input']>;
17612
+ subscriptionId?: InputMaybe<Scalars['ID']['input']>;
17613
+ };
17614
+ /** Root query type */
17119
17615
  export type QueryAdminAffiliateAnalyticsArgs = {
17120
17616
  filter?: InputMaybe<AffiliateAnalyticsFilterInput>;
17121
17617
  };
@@ -17348,6 +17844,13 @@ export type QueryAvailableFeaturePreviewsArgs = {
17348
17844
  workspaceId: Scalars['String']['input'];
17349
17845
  };
17350
17846
  /** Root query type */
17847
+ export type QueryAvatarMinutesForServiceArgs = {
17848
+ actorId?: InputMaybe<Scalars['ID']['input']>;
17849
+ productId: Scalars['String']['input'];
17850
+ signature: AvatarMinutesSignature;
17851
+ workspaceId: Scalars['ID']['input'];
17852
+ };
17853
+ /** Root query type */
17351
17854
  export type QueryBounceStatsArgs = {
17352
17855
  campaignId: Scalars['ID']['input'];
17353
17856
  };
@@ -17773,6 +18276,10 @@ export type QueryExploreCatalogArgs = {
17773
18276
  productSlug?: InputMaybe<Scalars['String']['input']>;
17774
18277
  };
17775
18278
  /** Root query type */
18279
+ export type QueryExploreConversationInfoArgs = {
18280
+ conversationToken: Scalars['String']['input'];
18281
+ };
18282
+ /** Root query type */
17776
18283
  export type QueryExploreConversationMessagesArgs = {
17777
18284
  conversationToken: Scalars['String']['input'];
17778
18285
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -18349,6 +18856,10 @@ export type QueryGetWebhookStatsArgs = {
18349
18856
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
18350
18857
  };
18351
18858
  /** Root query type */
18859
+ export type QueryGlobalTriageEvaluationArgs = {
18860
+ sampleSize?: InputMaybe<Scalars['Int']['input']>;
18861
+ };
18862
+ /** Root query type */
18352
18863
  export type QueryHomeGroupedProductsArgs = {
18353
18864
  compatibleWith?: InputMaybe<Scalars['String']['input']>;
18354
18865
  };
@@ -18413,6 +18924,11 @@ export type QueryInstallationPermissionsArgs = {
18413
18924
  installationId: Scalars['ID']['input'];
18414
18925
  };
18415
18926
  /** Root query type */
18927
+ export type QueryInstalledStoreNodeRuntimeArgs = {
18928
+ nodeTypes: Array<Scalars['String']['input']>;
18929
+ nodeVersion?: InputMaybe<Scalars['String']['input']>;
18930
+ };
18931
+ /** Root query type */
18416
18932
  export type QueryInterviewRoundArgs = {
18417
18933
  id: Scalars['ID']['input'];
18418
18934
  };
@@ -18601,6 +19117,10 @@ export type QueryLowStockProductsArgs = {
18601
19117
  storeId?: InputMaybe<Scalars['ID']['input']>;
18602
19118
  };
18603
19119
  /** Root query type */
19120
+ export type QueryManagedAppDelegationsInternalArgs = {
19121
+ clientId: Scalars['String']['input'];
19122
+ };
19123
+ /** Root query type */
18604
19124
  export type QueryMyAccessibleProductsArgs = {
18605
19125
  limit?: InputMaybe<Scalars['Int']['input']>;
18606
19126
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18659,6 +19179,10 @@ export type QueryMyEntitlementsArgs = {
18659
19179
  offset?: InputMaybe<Scalars['Int']['input']>;
18660
19180
  };
18661
19181
  /** Root query type */
19182
+ export type QueryMyNotificationSendStatusArgs = {
19183
+ id: Scalars['ID']['input'];
19184
+ };
19185
+ /** Root query type */
18662
19186
  export type QueryMyOrdersArgs = {
18663
19187
  limit?: InputMaybe<Scalars['Int']['input']>;
18664
19188
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18770,6 +19294,12 @@ export type QueryMyWalletsArgs = {
18770
19294
  pagination?: InputMaybe<PaginationInput>;
18771
19295
  };
18772
19296
  /** Root query type */
19297
+ export type QueryMyWorkflowTemplateSubmissionsArgs = {
19298
+ limit?: InputMaybe<Scalars['Int']['input']>;
19299
+ offset?: InputMaybe<Scalars['Int']['input']>;
19300
+ status?: InputMaybe<ProductStatus>;
19301
+ };
19302
+ /** Root query type */
18773
19303
  export type QueryMyWorkspacesArgs = {
18774
19304
  limit?: InputMaybe<Scalars['Int']['input']>;
18775
19305
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18971,6 +19501,10 @@ export type QueryOrganizationPickupPostalCodeArgs = {
18971
19501
  id: Scalars['ID']['input'];
18972
19502
  };
18973
19503
  /** Root query type */
19504
+ export type QueryOrganizationPrivateNodesArgs = {
19505
+ workspaceId: Scalars['ID']['input'];
19506
+ };
19507
+ /** Root query type */
18974
19508
  export type QueryPendingDeveloperOrganizationVerificationsArgs = {
18975
19509
  limit?: InputMaybe<Scalars['Int']['input']>;
18976
19510
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18997,6 +19531,12 @@ export type QueryPendingSurveysArgs = {
18997
19531
  offset?: InputMaybe<Scalars['Int']['input']>;
18998
19532
  };
18999
19533
  /** Root query type */
19534
+ export type QueryPendingWorkflowTemplateRevisionsArgs = {
19535
+ limit?: InputMaybe<Scalars['Int']['input']>;
19536
+ offset?: InputMaybe<Scalars['Int']['input']>;
19537
+ status?: InputMaybe<WorkflowTemplateRevisionStatus>;
19538
+ };
19539
+ /** Root query type */
19000
19540
  export type QueryPermissionAuditLogArgs = {
19001
19541
  filter?: InputMaybe<AuditLogFilterInput>;
19002
19542
  pagination?: InputMaybe<PaginationInput>;
@@ -19200,6 +19740,8 @@ export type QueryPushDevicesForUserInternalArgs = {
19200
19740
  };
19201
19741
  /** Root query type */
19202
19742
  export type QueryQuoteAiCreditsArgs = {
19743
+ cacheReadTokens?: InputMaybe<Scalars['Int']['input']>;
19744
+ cacheWriteTokens?: InputMaybe<Scalars['Int']['input']>;
19203
19745
  inputTokens: Scalars['Int']['input'];
19204
19746
  model: Scalars['String']['input'];
19205
19747
  outputTokens: Scalars['Int']['input'];
@@ -19783,6 +20325,24 @@ export type QueryWebhookDeliveryArgs = {
19783
20325
  id: Scalars['ID']['input'];
19784
20326
  };
19785
20327
  /** Root query type */
20328
+ export type QueryWebhookEventCatalogArgs = {
20329
+ productSlug?: InputMaybe<Scalars['String']['input']>;
20330
+ };
20331
+ /** Root query type */
20332
+ export type QueryWebhookEventSubjectsArgs = {
20333
+ includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
20334
+ productSlug?: InputMaybe<Scalars['String']['input']>;
20335
+ };
20336
+ /** Root query type */
20337
+ export type QueryWebhookSubscriptionArgs = {
20338
+ id: Scalars['ID']['input'];
20339
+ };
20340
+ /** Root query type */
20341
+ export type QueryWebhookSubscriptionsArgs = {
20342
+ ownerId?: InputMaybe<Scalars['String']['input']>;
20343
+ ownerType: Scalars['String']['input'];
20344
+ };
20345
+ /** Root query type */
19786
20346
  export type QueryWebhooksArgs = {
19787
20347
  applicationId: Scalars['ID']['input'];
19788
20348
  };
@@ -20148,6 +20708,12 @@ export type RecipientInput = {
20148
20708
  export type RecordActivityInput = {
20149
20709
  action: Scalars['String']['input'];
20150
20710
  actorId?: InputMaybe<Scalars['String']['input']>;
20711
+ /** `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. */
20712
+ actorOrigin?: InputMaybe<Scalars['String']['input']>;
20713
+ /** Proposal / idempotency key the assistant mutation ran under. Same trust rule as actorOrigin. */
20714
+ assistantCorrelationId?: InputMaybe<Scalars['String']['input']>;
20715
+ /** Relay session (assistant sandbox) that made the change. Same trust rule as actorOrigin. */
20716
+ assistantSessionId?: InputMaybe<Scalars['String']['input']>;
20151
20717
  /** 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
20718
  dedupeKey?: InputMaybe<Scalars['String']['input']>;
20153
20719
  description?: InputMaybe<Scalars['String']['input']>;
@@ -20256,6 +20822,15 @@ export type RecordExploreClickResult = {
20256
20822
  __typename?: 'RecordExploreClickResult';
20257
20823
  recorded: Scalars['Boolean']['output'];
20258
20824
  };
20825
+ export type RecordExternalRefundInput = {
20826
+ amount: Scalars['Float']['input'];
20827
+ chargeId: Scalars['ID']['input'];
20828
+ currency: Scalars['String']['input'];
20829
+ externalRef: Scalars['String']['input'];
20830
+ orgId: Scalars['ID']['input'];
20831
+ reason?: InputMaybe<Scalars['String']['input']>;
20832
+ workspaceId?: InputMaybe<Scalars['ID']['input']>;
20833
+ };
20259
20834
  export type RecordExternalSettlementInput = {
20260
20835
  /** Settlement amount in whole currency units (must be > 0). */
20261
20836
  amount: Scalars['Float']['input'];
@@ -20587,6 +21162,29 @@ export type RegisterSupportAttachmentPartInput = {
20587
21162
  sessionId: Scalars['ID']['input'];
20588
21163
  ticketId: Scalars['ID']['input'];
20589
21164
  };
21165
+ export type RegisterWebhookEventSubjectsInput = {
21166
+ /** Product slug that owns the subjects (e.g. `vibecontrols`, `fluidgrids`). */
21167
+ productSlug: Scalars['String']['input'];
21168
+ /** Mappings to create or update (at most 100 per call). */
21169
+ subjects: Array<WebhookEventSubjectInput>;
21170
+ };
21171
+ /** Input for registerWebhookSubscription */
21172
+ export type RegisterWebhookSubscriptionInput = {
21173
+ /** Operator-facing description */
21174
+ description?: InputMaybe<Scalars['String']['input']>;
21175
+ /** Whether delivery is active (default true) */
21176
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
21177
+ /** Event types to receive; empty = all events for the owner */
21178
+ events: Array<Scalars['String']['input']>;
21179
+ /** Owner identifier of the event stream (e.g. platform product id) */
21180
+ ownerId: Scalars['String']['input'];
21181
+ /** Owner namespace of the event stream (e.g. "newsletter-product") */
21182
+ ownerType: Scalars['String']['input'];
21183
+ /** HMAC-SHA256 signing secret (write-only, never returned) */
21184
+ secret: Scalars['String']['input'];
21185
+ /** Delivery URL (HTTPS in production) */
21186
+ url: Scalars['String']['input'];
21187
+ };
20590
21188
  export type RejectWaitlistInput = {
20591
21189
  id: Scalars['ID']['input'];
20592
21190
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -20685,6 +21283,17 @@ export type ReserveAssistantBudgetInput = {
20685
21283
  outputTokens: Scalars['Int']['input'];
20686
21284
  workspaceId: Scalars['ID']['input'];
20687
21285
  };
21286
+ export type ReserveAvatarMinutesInput = {
21287
+ actorId: Scalars['ID']['input'];
21288
+ mode: AvatarMinutesMode;
21289
+ productId: Scalars['String']['input'];
21290
+ /** 1 to 60; billing reserves min(available, requested, AVATAR_MINUTES_MAX_PER_SESSION). */
21291
+ requestedMinutes: Scalars['Int']['input'];
21292
+ sessionId: Scalars['ID']['input'];
21293
+ supersedesSessionId?: InputMaybe<Scalars['ID']['input']>;
21294
+ surface: Scalars['String']['input'];
21295
+ workspaceId: Scalars['ID']['input'];
21296
+ };
20688
21297
  /** 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
21298
  export type ResolveBillingAccountInput = {
20690
21299
  /** Opaque org id that anchors the billing account. When present the org's default billing account is resolved-or-created. */
@@ -21393,6 +22002,15 @@ export type SeedFluidgridsUserToursResult = {
21393
22002
  updatedCount: Scalars['Int']['output'];
21394
22003
  workspaceId: Scalars['String']['output'];
21395
22004
  };
22005
+ export type SeedHookmoviesUserToursResult = {
22006
+ __typename?: 'SeedHookmoviesUserToursResult';
22007
+ createdCount: Scalars['Int']['output'];
22008
+ productId: Scalars['String']['output'];
22009
+ totalCount: Scalars['Int']['output'];
22010
+ tours: Array<SeededUserTourResult>;
22011
+ updatedCount: Scalars['Int']['output'];
22012
+ workspaceId: Scalars['String']['output'];
22013
+ };
21396
22014
  export type SeedIntelWatchtowerUserToursResult = {
21397
22015
  __typename?: 'SeedIntelWatchtowerUserToursResult';
21398
22016
  createdCount: Scalars['Int']['output'];
@@ -21402,6 +22020,15 @@ export type SeedIntelWatchtowerUserToursResult = {
21402
22020
  updatedCount: Scalars['Int']['output'];
21403
22021
  workspaceId: Scalars['String']['output'];
21404
22022
  };
22023
+ export type SeedSemanticFedUserToursResult = {
22024
+ __typename?: 'SeedSemanticFedUserToursResult';
22025
+ createdCount: Scalars['Int']['output'];
22026
+ productId: Scalars['String']['output'];
22027
+ totalCount: Scalars['Int']['output'];
22028
+ tours: Array<SeededUserTourResult>;
22029
+ updatedCount: Scalars['Int']['output'];
22030
+ workspaceId: Scalars['String']['output'];
22031
+ };
21405
22032
  export type SeedTheCulturePostUserToursResult = {
21406
22033
  __typename?: 'SeedTheCulturePostUserToursResult';
21407
22034
  createdCount: Scalars['Int']['output'];
@@ -21455,7 +22082,7 @@ export type SendExploreMessageInput = {
21455
22082
  attachments?: InputMaybe<Array<ExploreAttachmentInput>>;
21456
22083
  /** Omit to start a new conversation. The result's `conversation.token` is the secret to send back on every following turn. */
21457
22084
  conversationToken?: InputMaybe<Scalars['String']['input']>;
21458
- /** BCP-47 locale of the page (e.g. "en-US"). */
22085
+ /** 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
22086
  locale?: InputMaybe<Scalars['String']['input']>;
21460
22087
  /** The visitor's question. */
21461
22088
  message: Scalars['String']['input'];
@@ -21500,6 +22127,11 @@ export type SendRoundMessageToCandidateInput = {
21500
22127
  message: Scalars['String']['input'];
21501
22128
  roundId: Scalars['ID']['input'];
21502
22129
  };
22130
+ export type ServiceEarningReversal = {
22131
+ __typename?: 'ServiceEarningReversal';
22132
+ entry: EarningsEntry;
22133
+ outcome: EarningReversalOutcome;
22134
+ };
21503
22135
  /** 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
22136
  export type ServicePayoutStatus = {
21505
22137
  __typename?: 'ServicePayoutStatus';
@@ -21533,6 +22165,37 @@ export type ServiceRecordEarningInput = {
21533
22165
  sourceSubcategory?: InputMaybe<Scalars['String']['input']>;
21534
22166
  unitType?: InputMaybe<EarningUnitType>;
21535
22167
  };
22168
+ export type ServiceRefundPaymentInput = {
22169
+ /** Amount to refund in whole currency units. Partial refunds are allowed; the sum of a payment's refunds can never exceed the captured amount. */
22170
+ amount: Scalars['Float']['input'];
22171
+ /** Billing account the payment was charged on (through its BillingOrder or subscription). */
22172
+ billingAccountId: Scalars['ID']['input'];
22173
+ /** Optional; must match the payment currency when given. */
22174
+ currency?: InputMaybe<Scalars['String']['input']>;
22175
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
22176
+ /** Billing Payment id (not the provider's payment id). */
22177
+ paymentId: Scalars['ID']['input'];
22178
+ reason: Scalars['String']['input'];
22179
+ /** 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. */
22180
+ sourceIdempotencyKey: Scalars['String']['input'];
22181
+ };
22182
+ export type ServiceRefundPaymentResult = {
22183
+ __typename?: 'ServiceRefundPaymentResult';
22184
+ /** True when the key already had a refund and this call did not process it again. */
22185
+ alreadyProcessed: Scalars['Boolean']['output'];
22186
+ amount: Scalars['Float']['output'];
22187
+ currency: Scalars['String']['output'];
22188
+ error?: Maybe<Scalars['String']['output']>;
22189
+ gatewayRefundId?: Maybe<Scalars['String']['output']>;
22190
+ refundId: Scalars['ID']['output'];
22191
+ /** What is still refundable on the payment after this call. */
22192
+ refundableRemaining: Scalars['Float']['output'];
22193
+ /** Sum of the payment's pending, processing and completed refunds after this call. */
22194
+ refundedTotal: Scalars['Float']['output'];
22195
+ status: RefundRecordStatus;
22196
+ /** True when the provider accepted the refund (now or on an earlier call with the same key). */
22197
+ success: Scalars['Boolean']['output'];
22198
+ };
21536
22199
  export type ServiceRequestPayoutInput = {
21537
22200
  amount: Scalars['Float']['input'];
21538
22201
  /** Explicit billing account the payout is drawn from. */
@@ -21561,6 +22224,14 @@ export type ServiceResolvePayoutAccountInput = {
21561
22224
  /** Destination type for a newly-created placeholder account (defaults to BANK_ACCOUNT). */
21562
22225
  type?: InputMaybe<PayoutAccountType>;
21563
22226
  };
22227
+ export type ServiceReverseEarningInput = {
22228
+ /** Billing account the earning was recorded on. */
22229
+ billingAccountId: Scalars['ID']['input'];
22230
+ /** Why the earning is reversed (e.g. "Order COO-20261024-7F3A9C refunded"). */
22231
+ reason: Scalars['String']['input'];
22232
+ /** The sourceIdempotencyKey the earning was recorded with (serviceRecordEarning). */
22233
+ sourceIdempotencyKey: Scalars['String']['input'];
22234
+ };
21564
22235
  export type ServiceSyncPayoutStatusInput = {
21565
22236
  externalReference?: InputMaybe<Scalars['String']['input']>;
21566
22237
  failureReason?: InputMaybe<Scalars['String']['input']>;
@@ -21569,6 +22240,31 @@ export type ServiceSyncPayoutStatusInput = {
21569
22240
  /** The billing PayoutRequestStatus after the change (e.g. APPROVED, REJECTED, PAID, FAILED). */
21570
22241
  status: Scalars['String']['input'];
21571
22242
  };
22243
+ /** Input for serviceUpsertExternalListing (BOFF-3430). */
22244
+ export type ServiceUpsertExternalListingInput = {
22245
+ /** Brand or maker shown on the listing. */
22246
+ brand?: InputMaybe<Scalars['String']['input']>;
22247
+ category?: InputMaybe<Scalars['String']['input']>;
22248
+ /** ISO 4217 currency code, upper case. */
22249
+ currency: Scalars['String']['input'];
22250
+ description?: InputMaybe<Scalars['String']['input']>;
22251
+ /** The item's id in the calling service. Together with the caller's service identity it identifies the listing. */
22252
+ externalId: Scalars['String']['input'];
22253
+ /** Absolute https URL of the item's page in the owning product. */
22254
+ externalUrl: Scalars['String']['input'];
22255
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
22256
+ name: Scalars['String']['input'];
22257
+ price: Scalars['Float']['input'];
22258
+ /** Platform product key of the caller (for example "coolandlovely"). Used as the listing's compatible product and as its slug prefix. */
22259
+ productKey: Scalars['String']['input'];
22260
+ /** Display name for the caller's publisher profile, created on its first listing. */
22261
+ publisherName: Scalars['String']['input'];
22262
+ /** PUBLISHED (shown in discovery), UNLISTED (kept but hidden) or ARCHIVED (taken down). */
22263
+ status: ProductStatus;
22264
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
22265
+ /** A physical product type (MERCHANDISE, HARDWARE, ACCESSORY, BOOK, EQUIPMENT, APPAREL, COLLECTIBLE or CONSUMABLE). */
22266
+ type: ProductType;
22267
+ };
21572
22268
  /** An active user session (login instance) */
21573
22269
  export type Session = {
21574
22270
  __typename?: 'Session';
@@ -22136,6 +22832,12 @@ export declare enum StoreInstallationStatus {
22136
22832
  Pending = "PENDING",
22137
22833
  Uninstalled = "UNINSTALLED"
22138
22834
  }
22835
+ export type StoreInstalledNodeRuntime = {
22836
+ __typename?: 'StoreInstalledNodeRuntime';
22837
+ endpointUrl: Scalars['String']['output'];
22838
+ nodeType: Scalars['String']['output'];
22839
+ nodeVersion?: Maybe<Scalars['String']['output']>;
22840
+ };
22139
22841
  /** 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
22842
  export type StoreItem = {
22141
22843
  __typename?: 'StoreItem';
@@ -22267,6 +22969,12 @@ export type StoreProduct = {
22267
22969
  documentationUrl?: Maybe<Scalars['String']['output']>;
22268
22970
  downloads: Scalars['Int']['output'];
22269
22971
  entitlements: Array<ProductEntitlement>;
22972
+ /** The item's id in the owning product backend (only set with externalService). */
22973
+ externalId?: Maybe<Scalars['String']['output']>;
22974
+ /** 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. */
22975
+ externalService?: Maybe<Scalars['String']['output']>;
22976
+ /** Page in the owning product where the item can be viewed and bought (only set with externalService). */
22977
+ externalUrl?: Maybe<Scalars['String']['output']>;
22270
22978
  featured: Scalars['Boolean']['output'];
22271
22979
  /** Product height (physical products) */
22272
22980
  height?: Maybe<Scalars['Float']['output']>;
@@ -22350,6 +23058,8 @@ export type StoreProduct = {
22350
23058
  weightUnit?: Maybe<WeightUnit>;
22351
23059
  /** Product width (physical products) */
22352
23060
  width?: Maybe<Scalars['Float']['output']>;
23061
+ /** For a WORKFLOW template: its nodes, required inputs and credentials and the cleaning report recorded at submission. Null for other products. */
23062
+ workflowTemplatePreview?: Maybe<WorkflowTemplatePreview>;
22353
23063
  zipFileUrl?: Maybe<Scalars['String']['output']>;
22354
23064
  };
22355
23065
  /** Input for fetching store product details */
@@ -22581,6 +23291,37 @@ export type SubmitSatisfactionSurveyInput = {
22581
23291
  rating: Scalars['Int']['input'];
22582
23292
  surveyId: Scalars['ID']['input'];
22583
23293
  };
23294
+ /** Publish a workspace workflow to the public store as a community template. */
23295
+ export type SubmitWorkflowTemplateInput = {
23296
+ /** Author name shown on the template. Required for your first template, when it also names your publisher profile; defaults to your publisher name afterwards. */
23297
+ authorName?: InputMaybe<Scalars['String']['input']>;
23298
+ /** Store category: automation, integration, data-processing, ai-ml, communication, devops, marketing, sales, support, productivity or finance. */
23299
+ category: Scalars['String']['input'];
23300
+ /** The workflow definition (definitionJson) to publish. Connection bindings, pinned run data and literal secrets are removed before it is stored. */
23301
+ definitionJson: Scalars['JSON']['input'];
23302
+ /** One-line summary shown on the template card (at most 500 characters). */
23303
+ description: Scalars['String']['input'];
23304
+ /** easy, medium or hard. */
23305
+ difficultyLevel?: InputMaybe<Scalars['String']['input']>;
23306
+ /** Estimated minutes to set the template up (1 to 1440). */
23307
+ estimatedTimeMinutes?: InputMaybe<Scalars['Int']['input']>;
23308
+ /** Iconify icon name, for example mdi:robot. */
23309
+ icon?: InputMaybe<Scalars['String']['input']>;
23310
+ /** Longer description (markdown) shown on the template page. */
23311
+ longDescription?: InputMaybe<Scalars['String']['input']>;
23312
+ /** Template name shown in the store (at most 120 characters). */
23313
+ name: Scalars['String']['input'];
23314
+ /** A note for the store reviewer. */
23315
+ notes?: InputMaybe<Scalars['String']['input']>;
23316
+ /** Resubmit one of your own templates instead of creating a new one. A DRAFT, REJECTED or UNLISTED template is replaced and goes back into review. A PUBLISHED template stays listed unchanged: the submission is kept as its pending revision and replaces the live version only when a reviewer approves it. Either way the template keeps its id and slug and its version goes up by one. */
23317
+ productId?: InputMaybe<Scalars['ID']['input']>;
23318
+ /** Workflow key the template was published from (lineage). */
23319
+ sourceWorkflowKey?: InputMaybe<Scalars['String']['input']>;
23320
+ /** Workflow version the template was published from (lineage). */
23321
+ sourceWorkflowVersion?: InputMaybe<Scalars['String']['input']>;
23322
+ /** Up to 10 search tags. */
23323
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
23324
+ };
22584
23325
  export type Subprocessor = {
22585
23326
  __typename?: 'Subprocessor';
22586
23327
  activatedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -23049,6 +23790,19 @@ export type SupportContextInput = {
23049
23790
  userId?: InputMaybe<Scalars['ID']['input']>;
23050
23791
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
23051
23792
  };
23793
+ /** A knowledge row a reply draft was built from. */
23794
+ export type SupportDraftCitation = {
23795
+ __typename?: 'SupportDraftCitation';
23796
+ id: Scalars['ID']['output'];
23797
+ kind: SupportDraftCitationKind;
23798
+ score: Scalars['Float']['output'];
23799
+ title: Scalars['String']['output'];
23800
+ };
23801
+ export declare enum SupportDraftCitationKind {
23802
+ CannedResponse = "CANNED_RESPONSE",
23803
+ Faq = "FAQ",
23804
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE"
23805
+ }
23052
23806
  export type SupportEraseResult = {
23053
23807
  __typename?: 'SupportEraseResult';
23054
23808
  anonymised: Scalars['Int']['output'];
@@ -23075,7 +23829,15 @@ export type SupportMessage = {
23075
23829
  /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */
23076
23830
  context?: Maybe<SupportContext>;
23077
23831
  createdAt: Scalars['DateTime']['output'];
23078
- id: Scalars['ID']['output'];
23832
+ /** The knowledge-base articles, FAQs and canned responses a draft was built from. Empty for every message that is not a draft. */
23833
+ draftCitations: Array<SupportDraftCitation>;
23834
+ /** When the draft was sent or discarded. */
23835
+ draftResolvedAt?: Maybe<Scalars['DateTime']['output']>;
23836
+ /** The agent reply that was sent from this draft, once sent. */
23837
+ draftSentMessageId?: Maybe<Scalars['String']['output']>;
23838
+ id: Scalars['ID']['output'];
23839
+ /** 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. */
23840
+ isDraft: Scalars['Boolean']['output'];
23079
23841
  isInternal: Scalars['Boolean']['output'];
23080
23842
  message: Scalars['String']['output'];
23081
23843
  ticket: SupportTicket;
@@ -23124,6 +23886,8 @@ export type SupportTicket = {
23124
23886
  metadata?: Maybe<Scalars['JSON']['output']>;
23125
23887
  priority: SupportTicketPriority;
23126
23888
  reopenedAt?: Maybe<Scalars['DateTime']['output']>;
23889
+ /** The open reply draft for this ticket, if any. Support staff only. */
23890
+ replyDraft?: Maybe<SupportMessage>;
23127
23891
  resolutionDue?: Maybe<Scalars['DateTime']['output']>;
23128
23892
  resolvedAt?: Maybe<Scalars['DateTime']['output']>;
23129
23893
  slaBreachStatus: SlaBreachStatus;
@@ -23139,6 +23903,8 @@ export type SupportTicket = {
23139
23903
  tenantId?: Maybe<Scalars['String']['output']>;
23140
23904
  ticketCategory?: Maybe<TicketCategory>;
23141
23905
  ticketNumber: Scalars['String']['output'];
23906
+ /** 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. */
23907
+ triageDecision?: Maybe<SupportTriageDecision>;
23142
23908
  updatedAt: Scalars['DateTime']['output'];
23143
23909
  user: User;
23144
23910
  userId: Scalars['String']['output'];
@@ -23189,6 +23955,99 @@ export declare enum SupportTicketStatus {
23189
23955
  Resolved = "RESOLVED",
23190
23956
  WaitingCustomer = "WAITING_CUSTOMER"
23191
23957
  }
23958
+ /** An agent the engine suggests for the ticket. A suggestion only: triage never assigns. */
23959
+ export type SupportTriageAssigneeSuggestion = {
23960
+ __typename?: 'SupportTriageAssigneeSuggestion';
23961
+ agentProfileId: Scalars['ID']['output'];
23962
+ /** Current tickets divided by the agent's ticket capacity. */
23963
+ load: Scalars['Float']['output'];
23964
+ /** Agent skills that matched the ticket's category and tags. */
23965
+ matchedSkills: Array<Scalars['String']['output']>;
23966
+ userId: Scalars['String']['output'];
23967
+ };
23968
+ /** 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. */
23969
+ export type SupportTriageDecision = {
23970
+ __typename?: 'SupportTriageDecision';
23971
+ category: SupportTicketCategory;
23972
+ /** True when triage set the category. */
23973
+ categoryApplied: Scalars['Boolean']['output'];
23974
+ /** Share of the evidence weight behind the proposed category (0–1). */
23975
+ categoryConfidence: Scalars['Float']['output'];
23976
+ /** Category the ticket has after triage. */
23977
+ categoryId?: Maybe<Scalars['String']['output']>;
23978
+ decidedAt: Scalars['DateTime']['output'];
23979
+ /** Actor who ran it; system:support-triage for automatic runs. */
23980
+ decidedBy: Scalars['String']['output'];
23981
+ /** Engine name and version that made the decision. */
23982
+ engine: Scalars['String']['output'];
23983
+ evidence: Array<SupportTriageEvidence>;
23984
+ /** Plain-language reasons for anything the engine left alone. */
23985
+ notes: Array<Scalars['String']['output']>;
23986
+ previousCategory: SupportTicketCategory;
23987
+ previousCategoryId?: Maybe<Scalars['String']['output']>;
23988
+ previousPriority: SupportTicketPriority;
23989
+ previousSlaPolicyId?: Maybe<Scalars['String']['output']>;
23990
+ priority: SupportTicketPriority;
23991
+ /** Phrases and similar-ticket votes that set the priority. */
23992
+ prioritySignals: Array<Scalars['String']['output']>;
23993
+ /** Category the evidence pointed to, applied or not. */
23994
+ proposedCategoryId?: Maybe<Scalars['String']['output']>;
23995
+ /** True when triage changed the SLA policy. */
23996
+ slaApplied: Scalars['Boolean']['output'];
23997
+ slaPolicyId?: Maybe<Scalars['String']['output']>;
23998
+ suggestedAssignee?: Maybe<SupportTriageAssigneeSuggestion>;
23999
+ trigger: SupportTriageTrigger;
24000
+ };
24001
+ /** The engine replayed over recent tickets people categorised and resolved, using only older tickets as evidence for each. */
24002
+ export type SupportTriageEvaluation = {
24003
+ __typename?: 'SupportTriageEvaluation';
24004
+ cases: Array<SupportTriageEvaluationCase>;
24005
+ /** Share of cases where the engine would apply a category. */
24006
+ categoryCoverage: Scalars['Float']['output'];
24007
+ /** Share of applied categories that match the person's choice. */
24008
+ categoryPrecision: Scalars['Float']['output'];
24009
+ correctCount: Scalars['Int']['output'];
24010
+ decidedCount: Scalars['Int']['output'];
24011
+ engine: Scalars['String']['output'];
24012
+ /** Share of cases where the engine's priority matches the final priority. */
24013
+ priorityAgreement: Scalars['Float']['output'];
24014
+ sampleSize: Scalars['Int']['output'];
24015
+ };
24016
+ /** One replayed ticket in a triage evaluation. */
24017
+ export type SupportTriageEvaluationCase = {
24018
+ __typename?: 'SupportTriageEvaluationCase';
24019
+ confidence: Scalars['Float']['output'];
24020
+ correct: Scalars['Boolean']['output'];
24021
+ decided: Scalars['Boolean']['output'];
24022
+ /** The category a person gave the ticket. */
24023
+ expectedCategoryId: Scalars['String']['output'];
24024
+ expectedPriority: SupportTicketPriority;
24025
+ /** The category the engine would have applied, or null when it would abstain. */
24026
+ predictedCategoryId?: Maybe<Scalars['String']['output']>;
24027
+ predictedPriority: SupportTicketPriority;
24028
+ ticketId: Scalars['ID']['output'];
24029
+ ticketNumber: Scalars['String']['output'];
24030
+ };
24031
+ /** A row the triage engine weighed: a similar resolved ticket or a published knowledge-base article. */
24032
+ export type SupportTriageEvidence = {
24033
+ __typename?: 'SupportTriageEvidence';
24034
+ id: Scalars['ID']['output'];
24035
+ kind: SupportTriageEvidenceKind;
24036
+ /** Ticket number for tickets, title for articles. */
24037
+ label: Scalars['String']['output'];
24038
+ /** Full-text relevance score (Postgres ts_rank). */
24039
+ score: Scalars['Float']['output'];
24040
+ };
24041
+ export declare enum SupportTriageEvidenceKind {
24042
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE",
24043
+ Ticket = "TICKET"
24044
+ }
24045
+ export declare enum SupportTriageTrigger {
24046
+ /** Run on demand by a support agent. */
24047
+ Manual = "MANUAL",
24048
+ /** Run automatically when the ticket was created. */
24049
+ TicketCreated = "TICKET_CREATED"
24050
+ }
23192
24051
  export type SuppressIdentifierInput = {
23193
24052
  channel: SuppressionChannel;
23194
24053
  expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -24485,6 +25344,8 @@ export type UpdateContentPageInput = {
24485
25344
  category?: InputMaybe<Scalars['String']['input']>;
24486
25345
  content?: InputMaybe<Scalars['String']['input']>;
24487
25346
  contentFormat?: InputMaybe<Scalars['String']['input']>;
25347
+ /** Set, replace or (with null) withdraw the customer approval. Withdrawing it removes a case study from the public queries. */
25348
+ customerSignOff?: InputMaybe<CustomerSignOffInput>;
24488
25349
  excerpt?: InputMaybe<Scalars['String']['input']>;
24489
25350
  featured?: InputMaybe<Scalars['Boolean']['input']>;
24490
25351
  isPublished?: InputMaybe<Scalars['Boolean']['input']>;
@@ -24500,6 +25361,8 @@ export type UpdateContentPageInput = {
24500
25361
  visibility?: InputMaybe<ContentVisibility>;
24501
25362
  };
24502
25363
  export type UpdateCouponInput = {
25364
+ applicableEntityTypes?: InputMaybe<Array<CouponEntityType>>;
25365
+ applicableProductIds?: InputMaybe<Array<Scalars['String']['input']>>;
24503
25366
  description?: InputMaybe<Scalars['String']['input']>;
24504
25367
  maxTotalUses?: InputMaybe<Scalars['Int']['input']>;
24505
25368
  maxUsesPerUser?: InputMaybe<Scalars['Int']['input']>;
@@ -25333,6 +26196,19 @@ export type UpdateWebhookInput = {
25333
26196
  retryEnabled?: InputMaybe<Scalars['Boolean']['input']>;
25334
26197
  url?: InputMaybe<Scalars['String']['input']>;
25335
26198
  };
26199
+ /** Input for updateWebhookSubscription — all fields optional, omitted fields unchanged */
26200
+ export type UpdateWebhookSubscriptionInput = {
26201
+ /** Operator-facing description */
26202
+ description?: InputMaybe<Scalars['String']['input']>;
26203
+ /** Whether delivery is active */
26204
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
26205
+ /** Event types to receive; empty = all events for the owner */
26206
+ events?: InputMaybe<Array<Scalars['String']['input']>>;
26207
+ /** HMAC-SHA256 signing secret (write-only, never returned) */
26208
+ secret?: InputMaybe<Scalars['String']['input']>;
26209
+ /** Delivery URL (HTTPS in production) */
26210
+ url?: InputMaybe<Scalars['String']['input']>;
26211
+ };
25336
26212
  /** Input for updating an existing workspace */
25337
26213
  export type UpdateWorkspaceInput = {
25338
26214
  metadata?: InputMaybe<Scalars['JSON']['input']>;
@@ -26077,6 +26953,30 @@ export type WebhookDeliveryEdge = {
26077
26953
  cursor: Scalars['String']['output'];
26078
26954
  node: WebhookDelivery;
26079
26955
  };
26956
+ /** One delivery attempt recorded for a WebhookSubscription. At most one row exists per (subscription, eventId) — a redispatched event updates the row instead of double-delivering. */
26957
+ export type WebhookDeliveryLog = {
26958
+ __typename?: 'WebhookDeliveryLog';
26959
+ /** Number of attempts made */
26960
+ attemptCount: Scalars['Int']['output'];
26961
+ /** When the final attempt finished */
26962
+ deliveredAt: Scalars['DateTime']['output'];
26963
+ /** Error message of the final attempt (null on success) */
26964
+ error?: Maybe<Scalars['String']['output']>;
26965
+ /** Caller-supplied event ID (idempotency key) */
26966
+ eventId: Scalars['String']['output'];
26967
+ /** Event type that was dispatched */
26968
+ eventType: Scalars['String']['output'];
26969
+ /** Unique log row ID */
26970
+ id: Scalars['ID']['output'];
26971
+ /** Envelope payload that was signed and posted */
26972
+ payload: Scalars['JSON']['output'];
26973
+ /** HTTP status code of the final attempt (null on transport error) */
26974
+ statusCode?: Maybe<Scalars['Int']['output']>;
26975
+ /** Owning subscription ID */
26976
+ subscriptionId: Scalars['ID']['output'];
26977
+ /** Whether the final attempt succeeded */
26978
+ success: Scalars['Boolean']['output'];
26979
+ };
26080
26980
  export declare enum WebhookDeliveryStatus {
26081
26981
  Delivered = "DELIVERED",
26082
26982
  Delivering = "DELIVERING",
@@ -26084,6 +26984,30 @@ export declare enum WebhookDeliveryStatus {
26084
26984
  Pending = "PENDING",
26085
26985
  Retrying = "RETRYING"
26086
26986
  }
26987
+ /** Result of a single test delivery */
26988
+ export type WebhookDispatchResult = {
26989
+ __typename?: 'WebhookDispatchResult';
26990
+ /** Number of attempts made */
26991
+ attemptCount: Scalars['Int']['output'];
26992
+ /** Error message of the final attempt (null on success) */
26993
+ error?: Maybe<Scalars['String']['output']>;
26994
+ /** HTTP status code of the final attempt (null on transport error) */
26995
+ statusCode?: Maybe<Scalars['Int']['output']>;
26996
+ /** Whether the delivery succeeded */
26997
+ success: Scalars['Boolean']['output'];
26998
+ };
26999
+ /** Summary returned by the M2M dispatchWebhookEvent mutation */
27000
+ export type WebhookDispatchSummary = {
27001
+ __typename?: 'WebhookDispatchSummary';
27002
+ /** Subscriptions skipped because the event was already delivered (idempotent redispatch) */
27003
+ deduplicated: Scalars['Int']['output'];
27004
+ /** Subscriptions delivered successfully */
27005
+ delivered: Scalars['Int']['output'];
27006
+ /** Subscriptions that failed after all retry attempts */
27007
+ failed: Scalars['Int']['output'];
27008
+ /** Enabled subscriptions matched for the owner + event type */
27009
+ matched: Scalars['Int']['output'];
27010
+ };
26087
27011
  /** WebhookEvent represents a received webhook (transient, 7-day TTL) Used for debugging and monitoring only */
26088
27012
  export type WebhookEvent = {
26089
27013
  __typename?: 'WebhookEvent';
@@ -26120,6 +27044,16 @@ export type WebhookEvent = {
26120
27044
  /** Last update timestamp */
26121
27045
  updatedAt: Scalars['DateTime']['output'];
26122
27046
  };
27047
+ /** A webhook event type a developer application can subscribe a webhook to. */
27048
+ export type WebhookEventCatalogEntry = {
27049
+ __typename?: 'WebhookEventCatalogEntry';
27050
+ description?: Maybe<Scalars['String']['output']>;
27051
+ /** Event type, sent as the X-Event-Type header and the payload `event` field. */
27052
+ eventType: Scalars['String']['output'];
27053
+ /** Product that emits the event (`devportal` for portal lifecycle events). */
27054
+ productSlug: Scalars['String']['output'];
27055
+ source: WebhookEventSource;
27056
+ };
26123
27057
  /** Paginated list of webhook events with cursor support. Pass `nextCursor` from a previous response as `cursor` in the next call. */
26124
27058
  export type WebhookEventList = {
26125
27059
  __typename?: 'WebhookEventList';
@@ -26128,6 +27062,33 @@ export type WebhookEventList = {
26128
27062
  nextCursor?: Maybe<Scalars['String']['output']>;
26129
27063
  total: Scalars['Int']['output'];
26130
27064
  };
27065
+ /** Where a webhook event type originates. */
27066
+ export declare enum WebhookEventSource {
27067
+ /** Fired by the developer portal itself (application and installation lifecycle). */
27068
+ Devportal = "DEVPORTAL",
27069
+ /** Fired from a workspace entity change, through a registered subject mapping. */
27070
+ Workspace = "WORKSPACE"
27071
+ }
27072
+ /** Maps a workspace graph-event subject to the webhook event type it fires. */
27073
+ export type WebhookEventSubject = {
27074
+ __typename?: 'WebhookEventSubject';
27075
+ createdAt: Scalars['DateTime']['output'];
27076
+ description?: Maybe<Scalars['String']['output']>;
27077
+ eventType: Scalars['String']['output'];
27078
+ id: Scalars['ID']['output'];
27079
+ isActive: Scalars['Boolean']['output'];
27080
+ productSlug: Scalars['String']['output'];
27081
+ /** Graph-event subject, `graph.<module>.<Entity>.<action>`. */
27082
+ subject: Scalars['String']['output'];
27083
+ updatedAt: Scalars['DateTime']['output'];
27084
+ };
27085
+ export type WebhookEventSubjectInput = {
27086
+ description?: InputMaybe<Scalars['String']['input']>;
27087
+ /** Dotted lower-case event type, e.g. `vibe.created`. The `application.` and `installation.` namespaces are reserved for the developer portal. */
27088
+ eventType: Scalars['String']['input'];
27089
+ /** Graph-event subject, `graph.<module>.<Entity>.<action>`. */
27090
+ subject: Scalars['String']['input'];
27091
+ };
26131
27092
  /** Webhook processing result */
26132
27093
  export type WebhookProcessingResult = {
26133
27094
  __typename?: 'WebhookProcessingResult';
@@ -26193,6 +27154,34 @@ export declare enum WebhookStatus {
26193
27154
  Failed = "FAILED",
26194
27155
  Paused = "PAUSED"
26195
27156
  }
27157
+ /** A registered outbound webhook endpoint owned by a product or operator. `ownerType` namespaces the event stream (e.g. "newsletter-product"); `ownerId` scopes it (e.g. the platform product id). An empty `events` list means the endpoint receives every event dispatched for the owner. */
27158
+ export type WebhookSubscription = {
27159
+ __typename?: 'WebhookSubscription';
27160
+ /** Creation timestamp */
27161
+ createdAt: Scalars['DateTime']['output'];
27162
+ /** Delivery audit trail (most recent first) */
27163
+ deliveries: Array<WebhookDeliveryLog>;
27164
+ /** Operator-facing description */
27165
+ description?: Maybe<Scalars['String']['output']>;
27166
+ /** Whether delivery is active */
27167
+ enabled: Scalars['Boolean']['output'];
27168
+ /** Event types this endpoint receives; empty = all events for the owner */
27169
+ events: Array<Scalars['String']['output']>;
27170
+ /** Unique subscription ID */
27171
+ id: Scalars['ID']['output'];
27172
+ /** Owner identifier of the event stream (e.g. platform product id) */
27173
+ ownerId: Scalars['String']['output'];
27174
+ /** Owner namespace of the event stream (e.g. "newsletter-product") */
27175
+ ownerType: Scalars['String']['output'];
27176
+ /** Last update timestamp */
27177
+ updatedAt: Scalars['DateTime']['output'];
27178
+ /** Delivery URL (HTTPS in production) */
27179
+ url: Scalars['String']['output'];
27180
+ };
27181
+ /** A registered outbound webhook endpoint owned by a product or operator. `ownerType` namespaces the event stream (e.g. "newsletter-product"); `ownerId` scopes it (e.g. the platform product id). An empty `events` list means the endpoint receives every event dispatched for the owner. */
27182
+ export type WebhookSubscriptionDeliveriesArgs = {
27183
+ limit?: InputMaybe<Scalars['Int']['input']>;
27184
+ };
26196
27185
  export type WebhookTestResult = {
26197
27186
  __typename?: 'WebhookTestResult';
26198
27187
  error?: Maybe<Scalars['String']['output']>;
@@ -26235,6 +27224,163 @@ export type WithdrawConsentInput = {
26235
27224
  subjectId: Scalars['ID']['input'];
26236
27225
  subjectType: Scalars['String']['input'];
26237
27226
  };
27227
+ /** Result of withdrawing a template. */
27228
+ export type WithdrawWorkflowTemplateSubmissionResult = {
27229
+ __typename?: 'WithdrawWorkflowTemplateSubmissionResult';
27230
+ id: Scalars['ID']['output'];
27231
+ /** True when the template was deleted; false when it was only taken off the store. */
27232
+ removed: Scalars['Boolean']['output'];
27233
+ /** The template's status when it was kept (UNLISTED), null when removed. */
27234
+ status?: Maybe<ProductStatus>;
27235
+ };
27236
+ /** What was removed from the author's workflow before it was stored. */
27237
+ export type WorkflowTemplateCleaningReport = {
27238
+ __typename?: 'WorkflowTemplateCleaningReport';
27239
+ /** Where each cleared connection was (up to 200). */
27240
+ clearedConnections: Array<WorkflowTemplateFieldRef>;
27241
+ connectionsCleared: Scalars['Int']['output'];
27242
+ pinnedDataRemoved: Scalars['Boolean']['output'];
27243
+ /** Where each removed secret was (up to 200). */
27244
+ removedSecrets: Array<WorkflowTemplateFieldRef>;
27245
+ secretsRemoved: Scalars['Int']['output'];
27246
+ };
27247
+ /** Where in a template a cleared connection or removed secret was. */
27248
+ export type WorkflowTemplateFieldRef = {
27249
+ __typename?: 'WorkflowTemplateFieldRef';
27250
+ /** Path of the field inside the node, for example data.parameters.apiKey. */
27251
+ field: Scalars['String']['output'];
27252
+ nodeId?: Maybe<Scalars['String']['output']>;
27253
+ nodeLabel?: Maybe<Scalars['String']['output']>;
27254
+ nodeType?: Maybe<Scalars['String']['output']>;
27255
+ };
27256
+ /** A node type a template uses. */
27257
+ export type WorkflowTemplateNodeType = {
27258
+ __typename?: 'WorkflowTemplateNodeType';
27259
+ displayName: Scalars['String']['output'];
27260
+ nodeType: Scalars['String']['output'];
27261
+ nodeVersion: Scalars['String']['output'];
27262
+ /** BUILTIN or STORE. */
27263
+ publishType: Scalars['String']['output'];
27264
+ };
27265
+ /** What a reviewer sees about a workflow template before approving it. */
27266
+ export type WorkflowTemplatePreview = {
27267
+ __typename?: 'WorkflowTemplatePreview';
27268
+ /** Recorded at submission; null for templates stored before reports were kept. */
27269
+ cleaningReport?: Maybe<WorkflowTemplateCleaningReport>;
27270
+ /** The cleaned definition importers receive. */
27271
+ definitionJson?: Maybe<Scalars['JSON']['output']>;
27272
+ edgeCount: Scalars['Int']['output'];
27273
+ /** Nodes in the definition (all of them, not just distinct types). */
27274
+ nodeCount: Scalars['Int']['output'];
27275
+ nodeTypes: Array<WorkflowTemplateNodeType>;
27276
+ requiredCredentials: Array<WorkflowTemplateRequiredCredential>;
27277
+ requiredInputs: Array<WorkflowTemplateRequiredInput>;
27278
+ };
27279
+ /** A credential someone importing the template must connect. */
27280
+ export type WorkflowTemplateRequiredCredential = {
27281
+ __typename?: 'WorkflowTemplateRequiredCredential';
27282
+ /** connection: the node was bound to the author's saved connection, which was cleared at submission. reference: the template reads ${credentials.<name>}. */
27283
+ kind: Scalars['String']['output'];
27284
+ name: Scalars['String']['output'];
27285
+ nodeId?: Maybe<Scalars['String']['output']>;
27286
+ nodeLabel?: Maybe<Scalars['String']['output']>;
27287
+ nodeType?: Maybe<Scalars['String']['output']>;
27288
+ };
27289
+ /** A value someone importing the template must supply (a ${name} variable it reads). */
27290
+ export type WorkflowTemplateRequiredInput = {
27291
+ __typename?: 'WorkflowTemplateRequiredInput';
27292
+ label: Scalars['String']['output'];
27293
+ name: Scalars['String']['output'];
27294
+ required: Scalars['Boolean']['output'];
27295
+ /** secret when it fills a secret field (API key, token, ...), else string. */
27296
+ type: Scalars['String']['output'];
27297
+ /** Nodes that read it. */
27298
+ usedBy: Array<Scalars['String']['output']>;
27299
+ };
27300
+ /** A new version of a PUBLISHED template, kept apart from the live version while it is reviewed. Approval makes it the live version; rejection leaves the live version untouched. */
27301
+ export type WorkflowTemplateRevision = {
27302
+ __typename?: 'WorkflowTemplateRevision';
27303
+ authorName?: Maybe<Scalars['String']['output']>;
27304
+ category: Scalars['String']['output'];
27305
+ createdAt: Scalars['DateTime']['output'];
27306
+ description: Scalars['String']['output'];
27307
+ icon?: Maybe<Scalars['String']['output']>;
27308
+ id: Scalars['ID']['output'];
27309
+ /** Version currently live in the store. */
27310
+ liveVersion: Scalars['String']['output'];
27311
+ name: Scalars['String']['output'];
27312
+ /** Number of distinct node types the revision uses. */
27313
+ nodeCount: Scalars['Int']['output'];
27314
+ /** The author's note for the reviewer. */
27315
+ notes?: Maybe<Scalars['String']['output']>;
27316
+ /** What the revision does: nodes, required inputs and credentials, cleaning report. */
27317
+ preview?: Maybe<WorkflowTemplatePreview>;
27318
+ /** Store product id of the template it revises. */
27319
+ productId: Scalars['ID']['output'];
27320
+ productSlug: Scalars['String']['output'];
27321
+ /** Publisher profile name of the author. */
27322
+ publisherName?: Maybe<Scalars['String']['output']>;
27323
+ rejectedReason?: Maybe<Scalars['String']['output']>;
27324
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
27325
+ revision: Scalars['Int']['output'];
27326
+ status: WorkflowTemplateRevisionStatus;
27327
+ submittedAt: Scalars['DateTime']['output'];
27328
+ /** Actor id of the author who submitted it. */
27329
+ submittedBy: Scalars['String']['output'];
27330
+ tags: Array<Scalars['String']['output']>;
27331
+ updatedAt: Scalars['DateTime']['output'];
27332
+ /** Version this revision becomes when approved. */
27333
+ version: Scalars['String']['output'];
27334
+ };
27335
+ export type WorkflowTemplateRevisionList = {
27336
+ __typename?: 'WorkflowTemplateRevisionList';
27337
+ items: Array<WorkflowTemplateRevision>;
27338
+ totalCount: Scalars['Int']['output'];
27339
+ };
27340
+ /** PENDING_REVIEW while a store admin reviews it; REJECTED with a reason. */
27341
+ export declare enum WorkflowTemplateRevisionStatus {
27342
+ PendingReview = "PENDING_REVIEW",
27343
+ Rejected = "REJECTED"
27344
+ }
27345
+ /** One of your community workflow templates and where it is in review. */
27346
+ export type WorkflowTemplateSubmission = {
27347
+ __typename?: 'WorkflowTemplateSubmission';
27348
+ authorName?: Maybe<Scalars['String']['output']>;
27349
+ category?: Maybe<Scalars['String']['output']>;
27350
+ createdAt: Scalars['DateTime']['output'];
27351
+ description?: Maybe<Scalars['String']['output']>;
27352
+ /** Times the template has been imported. */
27353
+ downloads: Scalars['Int']['output'];
27354
+ icon?: Maybe<Scalars['String']['output']>;
27355
+ /** Store product id of the template. */
27356
+ id: Scalars['ID']['output'];
27357
+ name: Scalars['String']['output'];
27358
+ /** Number of distinct node types the template uses. */
27359
+ nodeCount: Scalars['Int']['output'];
27360
+ /** The new version of this published template that is waiting for review, or that a reviewer rejected (with the reason). Null when there is none. */
27361
+ pendingRevision?: Maybe<WorkflowTemplateRevision>;
27362
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
27363
+ rejectedReason?: Maybe<Scalars['String']['output']>;
27364
+ reviewNotes?: Maybe<Scalars['String']['output']>;
27365
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
27366
+ /** How many times the template has been submitted. */
27367
+ revision: Scalars['Int']['output'];
27368
+ slug: Scalars['String']['output'];
27369
+ sourceWorkflowKey?: Maybe<Scalars['String']['output']>;
27370
+ sourceWorkflowVersion?: Maybe<Scalars['String']['output']>;
27371
+ /** PENDING_REVIEW while a store admin reviews it, PUBLISHED once approved, REJECTED with a reason, UNLISTED once taken off the store. */
27372
+ status: ProductStatus;
27373
+ submittedAt?: Maybe<Scalars['DateTime']['output']>;
27374
+ tags: Array<Scalars['String']['output']>;
27375
+ updatedAt: Scalars['DateTime']['output'];
27376
+ /** Template version (1.0.0 for the first submission, 1.1.0 for the second, ...). */
27377
+ version: Scalars['String']['output'];
27378
+ };
27379
+ export type WorkflowTemplateSubmissionList = {
27380
+ __typename?: 'WorkflowTemplateSubmissionList';
27381
+ items: Array<WorkflowTemplateSubmission>;
27382
+ totalCount: Scalars['Int']['output'];
27383
+ };
26238
27384
  /** Workspace type stub - represents a workspace entity from the workspace service This service doesn't own the Workspace model, but references it */
26239
27385
  export type Workspace = {
26240
27386
  __typename?: 'Workspace';
@@ -26390,6 +27536,8 @@ export type CreateAddOnsInput = {
26390
27536
  price: Scalars['Float']['input'];
26391
27537
  productId: Scalars['String']['input'];
26392
27538
  quotas: Array<AddonQuotaInput>;
27539
+ /** 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. */
27540
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26393
27541
  };
26394
27542
  export type CreatePlanInput = {
26395
27543
  currency?: InputMaybe<Scalars['String']['input']>;
@@ -26428,6 +27576,8 @@ export type UpdateAddOnsInput = {
26428
27576
  name?: InputMaybe<Scalars['String']['input']>;
26429
27577
  price?: InputMaybe<Scalars['Float']['input']>;
26430
27578
  quotas: Array<AddonQuotaInput>;
27579
+ /** Whether buying this add-on requires a paid subscription to its product. Omit to leave unchanged. */
27580
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26431
27581
  };
26432
27582
  export type UpdatePlanInput = {
26433
27583
  /** Immutable once set — see `price`. Throws CURRENCY_CHANGE_NOT_ALLOWED on an actual change. */