@burdenoff/microfe-housingvista 2026.1102.4 → 2026.1103.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 (27) hide show
  1. package/dist/generated/global-types.d.ts +1138 -255
  2. package/dist/generated/global-types.d.ts.map +1 -1
  3. package/dist/generated/wspace-types.d.ts +31085 -3356
  4. package/dist/generated/wspace-types.d.ts.map +1 -1
  5. package/dist/housingvista/components/ManageViewingSlotsDialog.d.ts +11 -0
  6. package/dist/housingvista/components/ManageViewingSlotsDialog.d.ts.map +1 -0
  7. package/dist/housingvista/components/ManageViewingSlotsDialog.js +188 -0
  8. package/dist/housingvista/components/ManageViewingSlotsDialog.js.map +1 -0
  9. package/dist/housingvista/components/ViewingSlotPicker.d.ts +12 -0
  10. package/dist/housingvista/components/ViewingSlotPicker.d.ts.map +1 -0
  11. package/dist/housingvista/components/ViewingSlotPicker.js +33 -0
  12. package/dist/housingvista/components/ViewingSlotPicker.js.map +1 -0
  13. package/dist/housingvista/components/index.d.ts +2 -0
  14. package/dist/housingvista/components/index.d.ts.map +1 -1
  15. package/dist/housingvista/components/index.js +2 -0
  16. package/dist/housingvista/hooks/index.d.ts +45 -1
  17. package/dist/housingvista/hooks/index.d.ts.map +1 -1
  18. package/dist/housingvista/hooks/index.js +247 -171
  19. package/dist/housingvista/hooks/index.js.map +1 -1
  20. package/dist/housingvista/pages/properties/PropertyDetailPage.d.ts.map +1 -1
  21. package/dist/housingvista/pages/properties/PropertyDetailPage.js +395 -357
  22. package/dist/housingvista/pages/properties/PropertyDetailPage.js.map +1 -1
  23. package/dist/housingvista/utils/viewingSlots.d.ts +30 -0
  24. package/dist/housingvista/utils/viewingSlots.d.ts.map +1 -0
  25. package/dist/housingvista/utils/viewingSlots.js +58 -0
  26. package/dist/housingvista/utils/viewingSlots.js.map +1 -0
  27. package/package.json +1 -1
@@ -172,6 +172,13 @@ export declare enum ActivityAction {
172
172
  export type ActivityFilterInput = {
173
173
  action?: InputMaybe<Scalars['String']['input']>;
174
174
  actorId?: InputMaybe<Scalars['String']['input']>;
175
+ /**
176
+ * Only rows made by this kind of actor origin (BOFF-9649). The only recorded origin is
177
+ * `ai_assistant`: a change an AI assistant session made for its owner.
178
+ */
179
+ actorOrigin?: InputMaybe<Scalars['String']['input']>;
180
+ /** Only rows made by this AI assistant session (BOFF-9649). */
181
+ assistantSessionId?: InputMaybe<Scalars['String']['input']>;
175
182
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
176
183
  resource?: InputMaybe<Scalars['String']['input']>;
177
184
  resourceId?: InputMaybe<Scalars['String']['input']>;
@@ -185,6 +192,12 @@ export type ActivityLog = {
185
192
  __typename?: 'ActivityLog';
186
193
  action: Scalars['String']['output'];
187
194
  actorId?: Maybe<Scalars['String']['output']>;
195
+ /** `ai_assistant` when an AI assistant session made the change; null for a human-made change. */
196
+ actorOrigin?: Maybe<Scalars['String']['output']>;
197
+ /** Proposal / idempotency key the assistant mutation ran under, when it had one. */
198
+ assistantCorrelationId?: Maybe<Scalars['String']['output']>;
199
+ /** Relay session (assistant sandbox) that made the change, when an assistant made it. */
200
+ assistantSessionId?: Maybe<Scalars['String']['output']>;
188
201
  createdAt: Scalars['DateTime']['output'];
189
202
  description?: Maybe<Scalars['String']['output']>;
190
203
  id: Scalars['ID']['output'];
@@ -304,6 +317,23 @@ export type AddFulfillmentTrackingEventInput = {
304
317
  occurredAt?: InputMaybe<Scalars['DateTime']['input']>;
305
318
  status: FulfillmentStatus;
306
319
  };
320
+ /** Input for a publisher adding their own payout method. Only masked details are stored: the last four digits of the account plus the bank code. The payout processor (RazorpayX for India, Stripe Connect for international publishers) holds the full account and is referenced through externalAccountId, which an admin confirms or supplies when verifying the method. */
321
+ export type AddMyPublisherPayoutMethodInput = {
322
+ accountHolderName: Scalars['String']['input'];
323
+ /** Last four digits of the bank account (BANK_TRANSFER and RAZORPAY_X). */
324
+ accountNumberLast4?: InputMaybe<Scalars['String']['input']>;
325
+ /** IFSC for Indian accounts, SWIFT/BIC elsewhere (BANK_TRANSFER and RAZORPAY_X). */
326
+ bankCode?: InputMaybe<Scalars['String']['input']>;
327
+ bankName?: InputMaybe<Scalars['String']['input']>;
328
+ /** ISO 3166-1 alpha-2 country of the payout account. */
329
+ country: Scalars['String']['input'];
330
+ /** ISO 4217 payout currency. Defaults to INR for India and USD elsewhere. */
331
+ currency?: InputMaybe<Scalars['String']['input']>;
332
+ /** Processor account reference when the publisher already has one (Stripe acct_..., RazorpayX fa_...). */
333
+ externalAccountId?: InputMaybe<Scalars['String']['input']>;
334
+ isDefault?: InputMaybe<Scalars['Boolean']['input']>;
335
+ type: PayoutMethodType;
336
+ };
307
337
  export type AddOnInputPayment = {
308
338
  id: Scalars['String']['input'];
309
339
  quantity?: InputMaybe<Scalars['Int']['input']>;
@@ -416,9 +446,22 @@ export type Addon = {
416
446
  priceHistory: Array<AddonPriceHistory>;
417
447
  /** Product ID the addon belongs to (reference to product microservice) */
418
448
  productID?: Maybe<Scalars['String']['output']>;
449
+ /** 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. */
450
+ requiresPaidSubscription?: Maybe<Scalars['Boolean']['output']>;
419
451
  /** The timestamp when the addon was last updated. */
420
452
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
421
453
  };
454
+ /** Why an add-on can or cannot be bought by the caller's billing account(s). */
455
+ export declare enum AddonEligibilityReason {
456
+ /** The add-on can be bought. */
457
+ Eligible = "ELIGIBLE",
458
+ /** No add-on with this id exists. */
459
+ NotFound = "NOT_FOUND",
460
+ /** The add-on requires a paid subscription to its product and none is active. */
461
+ PaidSubscriptionRequired = "PAID_SUBSCRIPTION_REQUIRED",
462
+ /** The chosen subscription is not a paid plan of the add-on's product. */
463
+ SubscriptionNotEligible = "SUBSCRIPTION_NOT_ELIGIBLE"
464
+ }
422
465
  /** Tracks historical price changes for an Addon. A new record is created whenever an addon's price is updated. */
423
466
  export type AddonPriceHistory = {
424
467
  __typename?: 'AddonPriceHistory';
@@ -439,6 +482,17 @@ export type AddonPriceHistory = {
439
482
  /** Optional reason for the price change */
440
483
  reason?: Maybe<Scalars['String']['output']>;
441
484
  };
485
+ /** Purchase eligibility of one add-on (BOFF-9889). */
486
+ export type AddonPurchaseEligibility = {
487
+ __typename?: 'AddonPurchaseEligibility';
488
+ addonId: Scalars['ID']['output'];
489
+ eligible: Scalars['Boolean']['output'];
490
+ /** Active paid subscriptions of the add-on's product the add-on may be attached to. */
491
+ eligibleSubscriptionIds: Array<Scalars['ID']['output']>;
492
+ productId?: Maybe<Scalars['String']['output']>;
493
+ reason: AddonEligibilityReason;
494
+ requiresPaidSubscription: Scalars['Boolean']['output'];
495
+ };
442
496
  export type AddonSubscription = {
443
497
  __typename?: 'AddonSubscription';
444
498
  /** The addon linked to this subscription. */
@@ -754,6 +808,8 @@ export type AiModelPrice = {
754
808
  isActive: Scalars['Boolean']['output'];
755
809
  model: Scalars['String']['output'];
756
810
  outputPer1M: Scalars['Float']['output'];
811
+ /** 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. */
812
+ updatedAt: Scalars['DateTime']['output'];
757
813
  };
758
814
  /** Amount range filter for queries */
759
815
  export type AmountRangeInput = {
@@ -2400,8 +2456,6 @@ export type Channel = {
2400
2456
  priority: Scalars['Int']['output'];
2401
2457
  /** Current channel status (admin-controlled: ACTIVE, INACTIVE, etc.) */
2402
2458
  status: ChannelStatus;
2403
- /** Tag assignments for this channel (stub — returns empty until wspace-tags-svc supports org-scoped assignments) */
2404
- tagAssignments: Array<ChannelTagAssignment>;
2405
2459
  /** Number of times this channel has been triggered (e.g., for workflows, automations) */
2406
2460
  triggerCount: Scalars['Int']['output'];
2407
2461
  /** Last update timestamp */
@@ -2494,8 +2548,6 @@ export type ChannelConnection = {
2494
2548
  needsTokenRefresh: Scalars['Boolean']['output'];
2495
2549
  /** Platform-specific metadata (channel IDs, team info, etc.) NOTE: Non-sensitive data only */
2496
2550
  platformMetadata?: Maybe<Scalars['JSON']['output']>;
2497
- /** Tag assignments for this connection (stub — returns empty until wspace-tags-svc supports org-scoped assignments) */
2498
- tagAssignments: Array<ChannelConnectionTagAssignment>;
2499
2551
  /** Connection test status message */
2500
2552
  testStatus?: Maybe<Scalars['String']['output']>;
2501
2553
  /** OAuth token expiration (for OAuth flows) */
@@ -2511,18 +2563,6 @@ export type ChannelConnectionList = {
2511
2563
  nextCursor?: Maybe<Scalars['String']['output']>;
2512
2564
  total: Scalars['Int']['output'];
2513
2565
  };
2514
- export type ChannelConnectionTagAssignment = {
2515
- __typename?: 'ChannelConnectionTagAssignment';
2516
- assignedAt?: Maybe<Scalars['DateTime']['output']>;
2517
- assignedBy?: Maybe<Scalars['ID']['output']>;
2518
- entityId: Scalars['ID']['output'];
2519
- entityType: Scalars['String']['output'];
2520
- id: Scalars['ID']['output'];
2521
- metadata?: Maybe<Scalars['JSON']['output']>;
2522
- source: Scalars['String']['output'];
2523
- tag?: Maybe<UniversalTag>;
2524
- tagId: Scalars['ID']['output'];
2525
- };
2526
2566
  /** Attachment input for channel delivery */
2527
2567
  export type ChannelDeliveryAttachmentInput = {
2528
2568
  /** Content (Base64 encoded) or URL */
@@ -2893,18 +2933,6 @@ export declare enum ChannelStatus {
2893
2933
  /** Channel is suspended (rate limit, violation) */
2894
2934
  Suspended = "SUSPENDED"
2895
2935
  }
2896
- export type ChannelTagAssignment = {
2897
- __typename?: 'ChannelTagAssignment';
2898
- assignedAt?: Maybe<Scalars['DateTime']['output']>;
2899
- assignedBy?: Maybe<Scalars['ID']['output']>;
2900
- entityId: Scalars['ID']['output'];
2901
- entityType: Scalars['String']['output'];
2902
- id: Scalars['ID']['output'];
2903
- metadata?: Maybe<Scalars['JSON']['output']>;
2904
- source: Scalars['String']['output'];
2905
- tag?: Maybe<UniversalTag>;
2906
- tagId: Scalars['ID']['output'];
2907
- };
2908
2936
  /** Channel type discriminator — determines delivery behaviour and webhook handling. NOTIFICATION channels (EMAIL, SMS) are outbound-only: - Support priority-based failover across adapters. - No inbound webhook processing. - No DM conversations. - Recipient resolved via externalEmail (email) or externalUserId (phone). COMMUNICATION channels (SLACK, TEAMS, DISCORD, WHATSAPP, WEBCHAT, INAPP, WEBHOOK) are bi-directional: - Inbound webhooks processed and forwarded to conversations-svc. - DM conversations tracked via dmConversationId. - Recipient resolved via dmConversationId set during OAuth / pairing. */
2909
2937
  export declare enum ChannelType {
2910
2938
  /** Bi-directional platform channels: SLACK, TEAMS, DISCORD, WHATSAPP, WEBCHAT, INAPP, WEBHOOK. Processes inbound webhooks and supports DM conversations. */
@@ -3566,6 +3594,8 @@ export type CreateContentPageInput = {
3566
3594
  category?: InputMaybe<Scalars['String']['input']>;
3567
3595
  content: Scalars['String']['input'];
3568
3596
  contentFormat?: InputMaybe<Scalars['String']['input']>;
3597
+ /** Customer approval for a case study. All three fields are required, and signedAt may not be in the future. */
3598
+ customerSignOff?: InputMaybe<CustomerSignOffInput>;
3569
3599
  excerpt?: InputMaybe<Scalars['String']['input']>;
3570
3600
  featured?: InputMaybe<Scalars['Boolean']['input']>;
3571
3601
  isPublished?: InputMaybe<Scalars['Boolean']['input']>;
@@ -4200,9 +4230,13 @@ export type CreateReleaseTrackInput = {
4200
4230
  };
4201
4231
  export type CreateReviewInput = {
4202
4232
  comment?: InputMaybe<Scalars['String']['input']>;
4233
+ isVerifiedInstall?: InputMaybe<Scalars['Boolean']['input']>;
4234
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
4203
4235
  productId: Scalars['String']['input'];
4204
4236
  rating: Scalars['Int']['input'];
4237
+ status?: InputMaybe<ReviewStatus>;
4205
4238
  title?: InputMaybe<Scalars['String']['input']>;
4239
+ verifiedPurchase?: InputMaybe<Scalars['Boolean']['input']>;
4206
4240
  };
4207
4241
  export type CreateReviewReplyInput = {
4208
4242
  productId: Scalars['ID']['input'];
@@ -4434,11 +4468,6 @@ export type CreateSupportTicketInput = {
4434
4468
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
4435
4469
  workspaceId?: InputMaybe<Scalars['String']['input']>;
4436
4470
  };
4437
- export type CreateTagInput = {
4438
- description?: InputMaybe<Scalars['String']['input']>;
4439
- name: Scalars['String']['input'];
4440
- slug: Scalars['String']['input'];
4441
- };
4442
4471
  export type CreateTemplateInput = {
4443
4472
  bodyTemplate: Scalars['String']['input'];
4444
4473
  /** Default delivery channel for this template (defaults to EMAIL if not specified) */
@@ -4771,6 +4800,22 @@ export type CustomerSatisfactionSurveyFilterInput = {
4771
4800
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
4772
4801
  ticketId?: InputMaybe<Scalars['String']['input']>;
4773
4802
  };
4803
+ /** 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. */
4804
+ export type CustomerSignOff = {
4805
+ __typename?: 'CustomerSignOff';
4806
+ /** Reference to the stored written approval (document id, ticket or file URL). Only returned to callers who manage content pages; null for public visitors. */
4807
+ documentRef?: Maybe<Scalars['String']['output']>;
4808
+ /** When the customer approved the story */
4809
+ signedAt: Scalars['DateTime']['output'];
4810
+ /** Name and role of the approving person at the customer. Only returned to callers who manage content pages; null for public visitors. */
4811
+ signedBy?: Maybe<Scalars['String']['output']>;
4812
+ };
4813
+ /** Customer approval for a case study (see CustomerSignOff) */
4814
+ export type CustomerSignOffInput = {
4815
+ documentRef: Scalars['String']['input'];
4816
+ signedAt: Scalars['DateTime']['input'];
4817
+ signedBy: Scalars['String']['input'];
4818
+ };
4774
4819
  export declare enum DlqStatus {
4775
4820
  Discarded = "DISCARDED",
4776
4821
  Investigating = "INVESTIGATING",
@@ -5542,6 +5587,73 @@ export declare enum DimensionUnit {
5542
5587
  Inch = "INCH",
5543
5588
  Meter = "METER"
5544
5589
  }
5590
+ /** What a directory sync did (or, in a dry run, would do) for one worker. */
5591
+ export declare enum DirectorySyncAction {
5592
+ Conflict = "CONFLICT",
5593
+ Create = "CREATE",
5594
+ Deactivate = "DEACTIVATE",
5595
+ Error = "ERROR",
5596
+ Reactivate = "REACTIVATE",
5597
+ Skip = "SKIP",
5598
+ Unchanged = "UNCHANGED",
5599
+ Update = "UPDATE"
5600
+ }
5601
+ export type DirectorySyncInput = {
5602
+ /** Compute the outcome without writing anything. */
5603
+ dryRun: Scalars['Boolean']['input'];
5604
+ source: DirectorySyncSource;
5605
+ /** The connector that sent the batch (its integration connection id), recorded as the actor on every account it creates, changes or deactivates. */
5606
+ sourceRef: Scalars['String']['input'];
5607
+ /** At most 200 workers per call. */
5608
+ workers: Array<DirectoryWorkerInput>;
5609
+ };
5610
+ export type DirectorySyncItem = {
5611
+ __typename?: 'DirectorySyncItem';
5612
+ action: DirectorySyncAction;
5613
+ detail?: Maybe<Scalars['String']['output']>;
5614
+ email?: Maybe<Scalars['String']['output']>;
5615
+ externalId: Scalars['String']['output'];
5616
+ userId?: Maybe<Scalars['ID']['output']>;
5617
+ };
5618
+ export type DirectorySyncResult = {
5619
+ __typename?: 'DirectorySyncResult';
5620
+ conflicts: Scalars['Int']['output'];
5621
+ created: Scalars['Int']['output'];
5622
+ deactivated: Scalars['Int']['output'];
5623
+ dryRun: Scalars['Boolean']['output'];
5624
+ errors: Scalars['Int']['output'];
5625
+ items: Array<DirectorySyncItem>;
5626
+ reactivated: Scalars['Int']['output'];
5627
+ skipped: Scalars['Int']['output'];
5628
+ unchanged: Scalars['Int']['output'];
5629
+ updated: Scalars['Int']['output'];
5630
+ };
5631
+ /** Where an HR-system directory sync comes from (BOFF-10564). */
5632
+ export declare enum DirectorySyncSource {
5633
+ SapSuccessfactors = "SAP_SUCCESSFACTORS",
5634
+ Workday = "WORKDAY"
5635
+ }
5636
+ /** One worker as the HR system reports it. `externalId` is the HR system's stable worker id; the platform namespaces it by source before storing it. */
5637
+ export type DirectoryWorkerInput = {
5638
+ active: Scalars['Boolean']['input'];
5639
+ email?: InputMaybe<Scalars['String']['input']>;
5640
+ externalId: Scalars['String']['input'];
5641
+ familyName?: InputMaybe<Scalars['String']['input']>;
5642
+ givenName?: InputMaybe<Scalars['String']['input']>;
5643
+ };
5644
+ /** Input for the M2M dispatchWebhookEvent mutation */
5645
+ export type DispatchWebhookEventInput = {
5646
+ /** Caller-supplied event ID; enables idempotent redispatch per subscription */
5647
+ eventId?: InputMaybe<Scalars['String']['input']>;
5648
+ /** Event type being dispatched */
5649
+ eventType: Scalars['String']['input'];
5650
+ /** Owner identifier of the event stream (e.g. platform product id) */
5651
+ ownerId: Scalars['String']['input'];
5652
+ /** Owner namespace of the event stream (e.g. "newsletter-product") */
5653
+ ownerType: Scalars['String']['input'];
5654
+ /** Event payload; wrapped in the signed envelope as `data` */
5655
+ payload: Scalars['JSON']['input'];
5656
+ };
5545
5657
  /** DSAR mode — GDPR Art. 15 (access/export) or Art. 17 (erasure). */
5546
5658
  export declare enum DsarMode {
5547
5659
  Erase = "ERASE",
@@ -5595,6 +5707,15 @@ export type EarnCreditsInput = {
5595
5707
  productId?: InputMaybe<Scalars['String']['input']>;
5596
5708
  sourceReferenceId?: InputMaybe<Scalars['String']['input']>;
5597
5709
  };
5710
+ /** Outcome of serviceReverseEarning. */
5711
+ export declare enum EarningReversalOutcome {
5712
+ /** An earlier call already reversed the entry (idempotent replay). */
5713
+ AlreadyReversed = "ALREADY_REVERSED",
5714
+ /** The entry is RESERVED for, or PAID by, a payout and was left unchanged. */
5715
+ NotReversible = "NOT_REVERSIBLE",
5716
+ /** The entry was AVAILABLE and is now REVERSED. */
5717
+ Reversed = "REVERSED"
5718
+ }
5598
5719
  export declare enum EarningUnitType {
5599
5720
  Credits = "CREDITS",
5600
5721
  Money = "MONEY"
@@ -5620,6 +5741,9 @@ export type EarningsEntry = {
5620
5741
  paidAt?: Maybe<Scalars['DateTime']['output']>;
5621
5742
  payoutRequestId?: Maybe<Scalars['ID']['output']>;
5622
5743
  reservedAt?: Maybe<Scalars['DateTime']['output']>;
5744
+ reversalReason?: Maybe<Scalars['String']['output']>;
5745
+ /** When the entry was reversed (its source sale was refunded), if it was. */
5746
+ reversedAt?: Maybe<Scalars['DateTime']['output']>;
5623
5747
  sourceCategory: EarningsSourceCategory;
5624
5748
  sourceEventId?: Maybe<Scalars['String']['output']>;
5625
5749
  sourceReferenceId?: Maybe<Scalars['String']['output']>;
@@ -5654,13 +5778,18 @@ export declare enum EarningsSourceCategory {
5654
5778
  }
5655
5779
  export type EarningsSummary = {
5656
5780
  __typename?: 'EarningsSummary';
5781
+ /** Earned, past its hold window and not yet reserved for a payout. */
5657
5782
  availableAmount: Scalars['Float']['output'];
5658
5783
  categoryBreakdown: Array<EarningsCategoryBreakdown>;
5659
5784
  creditsAmount: Scalars['Float']['output'];
5660
5785
  moneyAmount: Scalars['Float']['output'];
5661
5786
  paidAmount: Scalars['Float']['output'];
5787
+ /** Earned but still inside its hold window (availableAt in the future), so not payable yet. */
5662
5788
  pendingAmount: Scalars['Float']['output'];
5663
5789
  reservedAmount: Scalars['Float']['output'];
5790
+ /** Entries reversed because their source sale was refunded. Not part of any other total. */
5791
+ reversedAmount: Scalars['Float']['output'];
5792
+ /** Everything earned, excluding reversed entries. */
5664
5793
  totalLifetimeAmount: Scalars['Float']['output'];
5665
5794
  };
5666
5795
  export type EditorialCollection = {
@@ -6017,6 +6146,8 @@ export type ExploreAgentSubmitInput = {
6017
6146
  message: Scalars['String']['input'];
6018
6147
  /** Catalog slug of the website the visitor is on. A hint only. */
6019
6148
  productSlug?: InputMaybe<Scalars['String']['input']>;
6149
+ /** The website avatar asked: the visitor sent this first question from the avatar's own question box (BOFF-9797). A hint only. It may let a typed first question be answered in the shape the avatar can read aloud, when the service's settings allow it; it never changes any other turn. */
6150
+ readAloud?: InputMaybe<Scalars['Boolean']['input']>;
6020
6151
  };
6021
6152
  export type ExploreAgentUsage = {
6022
6153
  __typename?: 'ExploreAgentUsage';
@@ -6079,6 +6210,17 @@ export type ExploreConversation = {
6079
6210
  token: Scalars['String']['output'];
6080
6211
  turnCount: Scalars['Int']['output'];
6081
6212
  };
6213
+ /** 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. */
6214
+ export type ExploreConversationInfo = {
6215
+ __typename?: 'ExploreConversationInfo';
6216
+ createdAt: Scalars['DateTime']['output'];
6217
+ /** 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. */
6218
+ locale?: Maybe<Scalars['String']['output']>;
6219
+ /** 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. */
6220
+ messageCount: Scalars['Int']['output'];
6221
+ /** Slug of the product website the conversation started on, as stored. Null when the visitor did not say. */
6222
+ productSlug?: Maybe<Scalars['String']['output']>;
6223
+ };
6082
6224
  /** A call-to-action button derived from a cited link. `kind` is one of: CONTACT PARTNERS PRICING SERVICES WAITLIST STORE APP DOCS OTHER. */
6083
6225
  export type ExploreCta = {
6084
6226
  __typename?: 'ExploreCta';
@@ -6176,6 +6318,13 @@ export type ExploreShareLink = {
6176
6318
  __typename?: 'ExploreShareLink';
6177
6319
  shareToken: Scalars['String']['output'];
6178
6320
  };
6321
+ /** Where on the website the visitor asked from. A hint about presentation only: it grants nothing and is never stored. */
6322
+ export declare enum ExploreSurface {
6323
+ /** The Avatar tab, whose first answer the live avatar may read aloud. */
6324
+ Avatar = "AVATAR",
6325
+ /** The Chat view of the website assistant (the default when omitted). */
6326
+ Chat = "CHAT"
6327
+ }
6179
6328
  export type ExportApplicationsFilter = {
6180
6329
  appType?: InputMaybe<AppType>;
6181
6330
  category?: InputMaybe<Scalars['String']['input']>;
@@ -6265,37 +6414,6 @@ export type ExportSubscriber = {
6265
6414
  unsubscribedAt?: Maybe<Scalars['DateTime']['output']>;
6266
6415
  userId?: Maybe<Scalars['String']['output']>;
6267
6416
  };
6268
- export type ExportSupportInput = {
6269
- /** Date range filter - end date */
6270
- endDate?: InputMaybe<Scalars['DateTime']['input']>;
6271
- /** Export format (CSV or JSON) */
6272
- format: SupportExportFormat;
6273
- /** Include support messages in export */
6274
- includeMessages?: InputMaybe<Scalars['Boolean']['input']>;
6275
- /** Filter by priority */
6276
- priority?: InputMaybe<Array<SupportTicketPriority>>;
6277
- /** Date range filter - start date */
6278
- startDate?: InputMaybe<Scalars['DateTime']['input']>;
6279
- /** Filter by ticket status */
6280
- status?: InputMaybe<Array<SupportTicketStatus>>;
6281
- /** User ID for which to export support data */
6282
- userId: Scalars['ID']['input'];
6283
- /** Workspace ID (optional) */
6284
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
6285
- };
6286
- export type ExportSupportResponse = {
6287
- __typename?: 'ExportSupportResponse';
6288
- /** Download URL (when ready) */
6289
- downloadUrl?: Maybe<Scalars['String']['output']>;
6290
- /** Estimated number of records */
6291
- estimatedRecords?: Maybe<Scalars['Int']['output']>;
6292
- /** Export job ID */
6293
- jobId: Scalars['ID']['output'];
6294
- /** Message */
6295
- message: Scalars['String']['output'];
6296
- /** Export status */
6297
- status: Scalars['String']['output'];
6298
- };
6299
6417
  /** Filter for webhook event exports */
6300
6418
  export type ExportWebhookEventsFilter = {
6301
6419
  channelId?: InputMaybe<Scalars['ID']['input']>;
@@ -6583,12 +6701,6 @@ export type GeoPricingOverrideInput = {
6583
6701
  export type GetApplicationTagsInput = {
6584
6702
  applicationId: Scalars['ID']['input'];
6585
6703
  };
6586
- export type GetChannelConnectionTagsInput = {
6587
- entityId: Scalars['ID']['input'];
6588
- };
6589
- export type GetChannelTagsInput = {
6590
- entityId: Scalars['ID']['input'];
6591
- };
6592
6704
  export type GetStoreProductTagsInput = {
6593
6705
  entityId: Scalars['ID']['input'];
6594
6706
  };
@@ -6596,6 +6708,8 @@ export type GetStoreProductTagsInput = {
6596
6708
  export type GrantAppDelegationInternalInput = {
6597
6709
  /** Client ID of the first-party system app (e.g. burdenoff_integration_core). */
6598
6710
  clientId: Scalars['String']['input'];
6711
+ /** 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. */
6712
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
6599
6713
  /** 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. */
6600
6714
  retainedScopes?: InputMaybe<Array<Scalars['String']['input']>>;
6601
6715
  /** 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). */
@@ -6958,6 +7072,8 @@ export type InitiatePaymentResponse = {
6958
7072
  discountType?: Maybe<Scalars['String']['output']>;
6959
7073
  /** Error message if failed */
6960
7074
  error?: Maybe<Scalars['String']['output']>;
7075
+ /** Machine-readable error code when the initiation failed, e.g. PAID_SUBSCRIPTION_REQUIRED when an add-on needs a paid plan (BOFF-9889). */
7076
+ errorCode?: Maybe<Scalars['String']['output']>;
6961
7077
  /** Tax jurisdiction */
6962
7078
  jurisdiction: Scalars['String']['output'];
6963
7079
  /** Razorpay order ID (for Razorpay payments) */
@@ -8144,6 +8260,8 @@ export type Mutation = {
8144
8260
  acceptDeveloperOrgInvitation: DeveloperOrgMember;
8145
8261
  /** Accept an organization invite (must be logged in as the invited user) */
8146
8262
  acceptOrganizationInvite: OrganizationMember;
8263
+ /** Accept the current Marketplace & Developer Agreement on the calling user's publisher profile. The version must match the published one. */
8264
+ acceptPublisherDeveloperAgreement: Publisher;
8147
8265
  acceptSourcingOffer: SourcingOrderSummary;
8148
8266
  /** Signed (DESIGN 3.7). The provider is ready: RESERVED to ACTIVE. */
8149
8267
  activateAvatarMinutes: AvatarMinutesReservation;
@@ -8169,6 +8287,8 @@ export type Mutation = {
8169
8287
  addAppsToCollection: AppCollection;
8170
8288
  /** Add a payment method to an organization */
8171
8289
  addDeveloperOrgPaymentMethod: DeveloperOrgPaymentMethod;
8290
+ /** Add a payout method to the calling user's publisher profile. Requires the current developer agreement to be accepted. */
8291
+ addMyPublisherPayoutMethod: PublisherPayoutMethod;
8172
8292
  /** Append a tracking event to fulfillment history (admin) */
8173
8293
  addOrderTrackingEvent: FulfillmentTrackingEvent;
8174
8294
  /** Add a member to an organization */
@@ -8213,6 +8333,8 @@ export type Mutation = {
8213
8333
  approveReview: ProductReview;
8214
8334
  approveTranslation: Translation;
8215
8335
  approveWaitlist: NewsletterWaitlist;
8336
+ /** Admin approves a pending template revision: it becomes the live version of the template (the version goes up) and the revision is removed. */
8337
+ approveWorkflowTemplateRevision: WorkflowTemplateSubmission;
8216
8338
  /** Soft archive a billing account. Financial history is preserved and the account is removed from active billing operations. */
8217
8339
  archiveBillingAccount: BillingAccount;
8218
8340
  /** Archive a channel */
@@ -8287,7 +8409,7 @@ export type Mutation = {
8287
8409
  bulkSendCustomEmail: BulkCustomEmailResult;
8288
8410
  /** 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. */
8289
8411
  bulkSendRoundMessage: BulkSendResult;
8290
- /** Bulk set user's opt-in/out preference for multiple feature flags. RBAC is scoped to the target workspace via `input.workspaceId`. */
8412
+ /** 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`. */
8291
8413
  bulkSetUserFeatureFlagPreferences: Array<UserFeatureFlagPreference>;
8292
8414
  /** 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. */
8293
8415
  bulkUpdateApplicationStatus: BulkUpdateApplicationStatusResult;
@@ -8490,7 +8612,6 @@ export type Mutation = {
8490
8612
  createSubscriptionEntitlement: StoreSubscriptionEntitlement;
8491
8613
  createSupportMessage: SupportMessage;
8492
8614
  createSupportTicket: SupportTicket;
8493
- createTag: ProductTag;
8494
8615
  /** Create a tax rate */
8495
8616
  createTaxRate: TaxRate;
8496
8617
  /** Create a new tenant (requires admin privileges) */
@@ -8651,7 +8772,6 @@ export type Mutation = {
8651
8772
  deleteSubscriptionEntitlement: Scalars['Boolean']['output'];
8652
8773
  deleteSupportMessage: Scalars['Boolean']['output'];
8653
8774
  deleteSupportTicket: Scalars['Boolean']['output'];
8654
- deleteTag: Scalars['Boolean']['output'];
8655
8775
  /** Delete a tax rate */
8656
8776
  deleteTaxRate: Scalars['Boolean']['output'];
8657
8777
  /** Soft delete a tenant */
@@ -8678,6 +8798,8 @@ export type Mutation = {
8678
8798
  /** 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. */
8679
8799
  deleteUserShippingAddress: Scalars['Boolean']['output'];
8680
8800
  deleteWebhook: Scalars['Boolean']['output'];
8801
+ /** Delete a webhook subscription and its delivery log */
8802
+ deleteWebhookSubscription: Scalars['Boolean']['output'];
8681
8803
  /** Admin delists a published product — removes it from store discovery for new users while preserving access for anyone who already installed it. */
8682
8804
  delistProduct: StoreProduct;
8683
8805
  /** Deliver the same notification to multiple recipients in bulk. More efficient than multiple single calls for broadcast scenarios. */
@@ -8700,6 +8822,8 @@ export type Mutation = {
8700
8822
  discardDLQEntry: Scalars['Boolean']['output'];
8701
8823
  /** Dismiss a tour for a user (with option to dismiss permanently) */
8702
8824
  dismissTour: TourUserProgress;
8825
+ /** 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. */
8826
+ dispatchWebhookEvent: WebhookDispatchSummary;
8703
8827
  duplicateNewsletter: Newsletter;
8704
8828
  /** Duplicate a tour with all its steps */
8705
8829
  duplicateTour: Tour;
@@ -8746,6 +8870,7 @@ export type Mutation = {
8746
8870
  exportWebhooks: DevportalExportJob;
8747
8871
  /** Feature a review */
8748
8872
  featureAppReview: AppReview;
8873
+ featureReview: ProductReview;
8749
8874
  fileDSAR: DsarRequest;
8750
8875
  /** Seller reports a problem fulfilling a physical order (out of stock, cannot fulfill, wrong address, etc). The resolver verifies organizationId actually owns a physical line item on this order (real evidence in store-svc's own data) — scopeType: "organization" at the gateway only confirms the actor has SOME org context, not that it's this specific one. */
8751
8876
  flagOrderIssue: OrderIssueFlag;
@@ -8772,7 +8897,15 @@ export type Mutation = {
8772
8897
  /** Generate challenge message for wallet signature */
8773
8898
  generateWalletChallenge: WalletChallengeResult;
8774
8899
  getSupportAttachmentPartUploadUrls: Array<SupportAttachmentPresignedPart>;
8775
- /** 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. */
8900
+ /** Discard a reply draft without sending it. */
8901
+ globalDiscardTicketReplyDraft: Scalars['Boolean']['output'];
8902
+ /** 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. */
8903
+ globalDraftTicketReply: SupportMessage;
8904
+ /** Send a reply draft to the customer as an agent reply, optionally edited. This is the only way a draft reaches a customer. */
8905
+ globalSendTicketReplyDraft: SupportMessage;
8906
+ /** 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. */
8907
+ globalTriageTicket: SupportTriageDecision;
8908
+ /** 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). */
8776
8909
  grantAppDelegationInternal: AppUserDelegation;
8777
8910
  /** 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. */
8778
8911
  grantAppWorkspaceAccess: AppWorkspaceAuthorization;
@@ -8800,7 +8933,7 @@ export type Mutation = {
8800
8933
  initiateNTLMChallenge: NtlmChallengeResult;
8801
8934
  /** 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 */
8802
8935
  initiatePayment: InitiatePaymentResponse;
8803
- /** Install an application */
8936
+ /** 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. */
8804
8937
  installApp: AppInstallation;
8805
8938
  /** 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). */
8806
8939
  installPurchasedApp: InstallPurchasedAppResult;
@@ -8808,7 +8941,7 @@ export type Mutation = {
8808
8941
  inviteDeveloperOrgMember: DeveloperOrgInvitationCreated;
8809
8942
  /** Invite a user to an organization by email */
8810
8943
  inviteOrganizationMember: OrganizationInvite;
8811
- /** 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. */
8944
+ /** 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. */
8812
8945
  issueAppAsUserTokenInternal: AppAsUserTokenResponse;
8813
8946
  /** Public endpoint — no authentication required. Email is normalized (trimmed, lowercased). Must be protected by API gateway rate limiting (recommended: 5 req/min per IP). */
8814
8947
  joinWaitlist: NewsletterWaitlist;
@@ -8843,6 +8976,7 @@ export type Mutation = {
8843
8976
  mintSsoSession: AuthPayload;
8844
8977
  /** Moderate a review (admin) */
8845
8978
  moderateAppReview: AppReview;
8979
+ moderateReview: ProductReview;
8846
8980
  /** Erase newsletter subscriber data. With dryRun=true returns counts. Subscriber + per-list rows + automation enrolments PURGED. Suppression entry ANONYMISED (email hashed) — kept to honour CAN-SPAM unsubscribe permanence. Bounce/complaint/consent-audit rows anonymised but retained for deliverability forensics. */
8847
8981
  newsletterEraseSubject: NewsletterEraseResult;
8848
8982
  /** Export the subject's newsletter data: subscriber rows, per-list memberships, consent ledger entries, automation enrolments, waitlist entries. */
@@ -8876,6 +9010,8 @@ export type Mutation = {
8876
9010
  provisionDedicatedTenant: Tenant;
8877
9011
  /** 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. */
8878
9012
  provisionFreeTierForWorkspace: ProvisionFreeTierForWorkspaceResult;
9013
+ /** 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. */
9014
+ provisionManagedAppInternal: App;
8879
9015
  /** Public unsubscribe via HMAC-signed token from email link. No authentication required. */
8880
9016
  publicUnsubscribeByToken: Scalars['Boolean']['output'];
8881
9017
  publishApplication: Application;
@@ -8958,6 +9094,8 @@ export type Mutation = {
8958
9094
  registerSupportAttachmentPart: Scalars['Boolean']['output'];
8959
9095
  /** 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. */
8960
9096
  registerWebhookEventSubjects: Array<WebhookEventSubject>;
9097
+ /** Register an outbound webhook endpoint for an owner */
9098
+ registerWebhookSubscription: WebhookSubscription;
8961
9099
  reinstatePublisher: Publisher;
8962
9100
  rejectApplication: Application;
8963
9101
  /** Platform admin only: reject a pending_review version with a reason. The developer can fix their submission and re-submit. */
@@ -8971,8 +9109,12 @@ export type Mutation = {
8971
9109
  /** Admin rejects a submitted product with a mandatory reason. Publisher can edit and resubmit afterwards. */
8972
9110
  rejectProduct: StoreProduct;
8973
9111
  rejectPublisher: Publisher;
9112
+ /** Admin rejects a pending payout method with a reason the publisher can act on. */
9113
+ rejectPublisherPayoutMethod: PublisherPayoutMethod;
8974
9114
  rejectReview: ProductReview;
8975
9115
  rejectWaitlist: NewsletterWaitlist;
9116
+ /** Admin rejects a pending template revision with a reason the author sees. The live version stays listed unchanged. */
9117
+ rejectWorkflowTemplateRevision: WorkflowTemplateRevision;
8976
9118
  releaseLegalHold: LegalHold;
8977
9119
  releaseSuppression: SuppressionEntry;
8978
9120
  removeAgentSkills: AgentProfile;
@@ -8991,6 +9133,8 @@ export type Mutation = {
8991
9133
  removeFromWishlist: Scalars['Boolean']['output'];
8992
9134
  /** Remove an interviewer from an interview round (admin). */
8993
9135
  removeInterviewerFromRound: Scalars['Boolean']['output'];
9136
+ /** Close one of the calling user's own payout methods. */
9137
+ removeMyPublisherPayoutMethod: Scalars['Boolean']['output'];
8994
9138
  /** Remove a member from an organization */
8995
9139
  removeOrganizationMember: Scalars['Boolean']['output'];
8996
9140
  /** Remove a passkey */
@@ -9012,7 +9156,7 @@ export type Mutation = {
9012
9156
  /** 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) */
9013
9157
  removeTenantMember: Scalars['Boolean']['output'];
9014
9158
  removeTicketTags: SupportTicket;
9015
- /** Remove user's preference for a feature flag (reverts to default). RBAC is scoped to the target workspace. */
9159
+ /** 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`. */
9016
9160
  removeUserFeatureFlagPreference: Scalars['Boolean']['output'];
9017
9161
  /** Remove a visibility rule */
9018
9162
  removeVisibilityRule: Scalars['Boolean']['output'];
@@ -9034,8 +9178,6 @@ export type Mutation = {
9034
9178
  reorderTourSteps: Array<TourStep>;
9035
9179
  /** Replace the full set of tag bindings on an Application. */
9036
9180
  replaceApplicationTags: Array<ApplicationTagAssignment>;
9037
- replaceChannelConnectionTags: Array<ChannelConnectionTagAssignment>;
9038
- replaceChannelTags: Array<ChannelTagAssignment>;
9039
9181
  /** Replace all tags on a store product */
9040
9182
  replaceStoreProductTags: Array<StoreProductTagAssignment>;
9041
9183
  /** Replay one dead-lettered provider webhook through the durable worker. */
@@ -9049,6 +9191,7 @@ export type Mutation = {
9049
9191
  reportAppReview: AppReviewReport;
9050
9192
  /** Webhook callback from the tool-sandbox-cf-proxy "Deploy Devportal Node" CI pipeline (BOFF-5968) reporting the outcome of a NODE version's sandbox image build+deploy. Not developer-facing, and NOT actor-authenticated — the caller is CI, not a platform user/app, so this verifies a shared secret (the `secret` argument, checked against DEVPORTAL_CALLBACK_SECRET, or CALLBACK_SECRET as shipped by the Secrets Manager bundle) inside the resolver itself rather than going through the actor/RBAC system. Sent as a mutation argument rather than a header because global-public-gateway only forwards a fixed header allowlist to subgraphs and drops custom headers. Persists onto ApplicationVersion.metadata.sandboxBuildStatus (READY/FAILED), which is what gates "Test in Workflow" in the devportal UI. */
9051
9193
  reportNodeSandboxBuildStatus: Scalars['Boolean']['output'];
9194
+ reportReview: ProductReviewReport;
9052
9195
  /** Reprocess a failed webhook event */
9053
9196
  reprocessWebhook: WebhookProcessingResult;
9054
9197
  requestBillingPayout: PayoutRequest;
@@ -9109,6 +9252,8 @@ export type Mutation = {
9109
9252
  resumeDeveloperOrgSubscription: DeveloperOrgSubscription;
9110
9253
  resumeSLA: SupportTicket;
9111
9254
  resumeScheduledJob: ScheduledJob;
9255
+ /** 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. */
9256
+ retireManagedAppInternal: Scalars['Boolean']['output'];
9112
9257
  /** 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. */
9113
9258
  retirePushDeviceInternal: Scalars['Boolean']['output'];
9114
9259
  retireSubprocessor: Subprocessor;
@@ -9178,7 +9323,7 @@ export type Mutation = {
9178
9323
  seedAtheleteBridgeUserTours: SeedAtheleteBridgeUserToursResult;
9179
9324
  /** Overwrite the service-owned BigConsole onboarding tours. Repeated calls update the same slugs. */
9180
9325
  seedBigconsoleUserTours: SeedBigconsoleUserToursResult;
9181
- /** Overwrite the built-in Buildmyiq user-facing dashboard tour from the service-owned seed file. */
9326
+ /** Overwrite the built-in Buildmyiq user-facing tours (dashboard with the getting-started checklist, authoring, and my learning) from the service-owned seed file. */
9182
9327
  seedBuildmyiqUserTours: SeedBuildmyiqUserToursResult;
9183
9328
  /** Overwrite the built-in CollabKin user-facing dashboard tour from the service-owned seed file. */
9184
9329
  seedCollabkinUserTours: SeedCollabkinUserToursResult;
@@ -9190,8 +9335,12 @@ export type Mutation = {
9190
9335
  seedDefaultShortcuts: Scalars['Int']['output'];
9191
9336
  /** Overwrite the built-in FluidGrids user-facing workflow-builder tour from the service-owned seed file. */
9192
9337
  seedFluidgridsUserTours: SeedFluidgridsUserToursResult;
9338
+ /** Overwrite the built-in HookMovies user-facing tours (overview with the getting-started checklist, catalog, productions and auditions) from the service-owned seed file. */
9339
+ seedHookmoviesUserTours: SeedHookmoviesUserToursResult;
9193
9340
  /** Overwrite the built-in IntelWatchtower user-facing tours for the intelligence workflow. */
9194
9341
  seedIntelWatchtowerUserTours: SeedIntelWatchtowerUserToursResult;
9342
+ /** Overwrite the built-in SemanticFed user-facing tours (first-login getting started, empty workspace, query console and policies) from the service-owned seed file. */
9343
+ seedSemanticFedUserTours: SeedSemanticFedUserToursResult;
9195
9344
  /** Overwrite the built-in TheCulturePost user-facing tours from the service-owned seed file. */
9196
9345
  seedTheCulturePostUserTours: SeedTheCulturePostUserToursResult;
9197
9346
  /** Overwrite the built-in VibeControls user-facing tours for Support, Notifications, and Conversations from the service-owned seed file. */
@@ -9204,8 +9353,6 @@ export type Mutation = {
9204
9353
  /** Send a message to a channel */
9205
9354
  sendMessage: MessageDeliveryResult;
9206
9355
  sendNewsletter: Newsletter;
9207
- /** Send a product-specific welcome email to a single recipient. Renders the per-product template (header logo, primary color, body, CTA, resource links) and delivers via EMAIL platform with failover. Idempotent on `idempotencyKey` if provided. */
9208
- sendProductWelcomeEmail: ChannelDeliveryResult;
9209
9356
  /** Send push MFA challenge to user's device */
9210
9357
  sendPushMFAChallenge: PushMfaChallengeResult;
9211
9358
  /** Send a message to the candidate for a specific round and mark it sent (admin). */
@@ -9214,10 +9361,14 @@ export type Mutation = {
9214
9361
  sendTestNewsletter: TestNewsletterResult;
9215
9362
  /** Record an EarningsEntry on behalf of an org/user by explicit billingAccountId. Service/super_admin only — internal gateway. */
9216
9363
  serviceRecordEarning: EarningsEntry;
9364
+ /** Refund all or part of a payment on behalf of the service that charged it. Idempotent per sourceIdempotencyKey. Service/super_admin only. */
9365
+ serviceRefundPayment: ServiceRefundPaymentResult;
9217
9366
  /** 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. */
9218
9367
  serviceRequestPayout: PayoutRequest;
9219
9368
  /** 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. */
9220
9369
  serviceResolvePayoutAccount: PayoutAccount;
9370
+ /** 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. */
9371
+ serviceReverseEarning: ServiceEarningReversal;
9221
9372
  /** 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. */
9222
9373
  serviceSyncPayoutStatus?: Maybe<DeveloperOrgPayout>;
9223
9374
  /** 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. */
@@ -9246,7 +9397,7 @@ export type Mutation = {
9246
9397
  setStoreOrderShipping: StoreOrder;
9247
9398
  /** Set or update the endpoint URL for a DEDICATED tenant. Transitions PROVISIONING → ACTIVE when endpoint is set. */
9248
9399
  setTenantEndpoint: Tenant;
9249
- /** Set user's opt-in/out preference for a previewable feature flag. RBAC is scoped to the target workspace via `input.workspaceId`. */
9400
+ /** 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`. */
9250
9401
  setUserFeatureFlagPreference: UserFeatureFlagPreference;
9251
9402
  setUserLanguagePreference: UserLanguagePreference;
9252
9403
  /** Set workspace-level override for a feature flag (super admin or workspace admin). RBAC is scoped to the target workspace via `input.workspaceId`. */
@@ -9289,6 +9440,8 @@ export type Mutation = {
9289
9440
  submitProduct: StoreProduct;
9290
9441
  submitPublisherVerification: Publisher;
9291
9442
  submitSatisfactionSurvey: CustomerSatisfactionSurvey;
9443
+ /** 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. */
9444
+ submitWorkflowTemplate: WorkflowTemplateSubmission;
9292
9445
  /** 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. */
9293
9446
  subscribe: NewsletterSubscriber;
9294
9447
  subscribeToStore: UserStoreSubscription;
@@ -9307,6 +9460,8 @@ export type Mutation = {
9307
9460
  suspendTenant: Tenant;
9308
9461
  /** Suspend a workspace */
9309
9462
  suspendWorkspace: Workspace;
9463
+ /** Apply one batch of HR-system workers to a workspace with the same outcomes SCIM provisioning produces (BOFF-10564). Internal: only the integrations service's Workday and SAP SuccessFactors connectors may call it, after a workspace administrator configured the connector. */
9464
+ syncDirectoryWorkersInternal: DirectorySyncResult;
9310
9465
  /** Called by global-store-svc (service actor only) when a product submission is approved or rejected. Updates the Application reviewStatus + metadata and fires applicationStoreStatusChanged subscription. */
9311
9466
  syncStoreSubmissionStatus: Scalars['Boolean']['output'];
9312
9467
  /** Sync tour steps (smart update in ONE call) Send all desired steps, backend handles: update existing, create new, delete removed */
@@ -9315,8 +9470,6 @@ export type Mutation = {
9315
9470
  syncWorkspaceDeletionFromWspace: SyncWorkspaceFromWspaceResponse;
9316
9471
  /** 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. */
9317
9472
  syncWorkspaceFromWspace: SyncWorkspaceFromWspaceResponse;
9318
- tagChannel: ChannelTagAssignment;
9319
- tagChannelConnection: ChannelConnectionTagAssignment;
9320
9473
  /** Assign a tag to a store product */
9321
9474
  tagStoreProduct: StoreProductTagAssignment;
9322
9475
  /** Test connection health */
@@ -9326,6 +9479,8 @@ export type Mutation = {
9326
9479
  /** Test RADIUS connection */
9327
9480
  testRADIUSConnection: Scalars['Boolean']['output'];
9328
9481
  testWebhook: WebhookTestResult;
9482
+ /** Send a synthetic test event to a webhook subscription and report the result */
9483
+ testWebhookSubscription: WebhookDispatchResult;
9329
9484
  toggleAddOn: Scalars['Boolean']['output'];
9330
9485
  /** Toggle the featured state of a store product (admin) */
9331
9486
  toggleFeatured: Scalars['Boolean']['output'];
@@ -9368,8 +9523,6 @@ export type Mutation = {
9368
9523
  unshareWorkflow: Application;
9369
9524
  unsubscribe: Scalars['Boolean']['output'];
9370
9525
  unsubscribeFromStore: Scalars['Boolean']['output'];
9371
- untagChannel: Scalars['Boolean']['output'];
9372
- untagChannelConnection: Scalars['Boolean']['output'];
9373
9526
  /** Remove a tag from a store product */
9374
9527
  untagStoreProduct: Scalars['Boolean']['output'];
9375
9528
  updateAPIKey: ApiKey;
@@ -9494,8 +9647,6 @@ export type Mutation = {
9494
9647
  updatePromotion: Promotion;
9495
9648
  updatePublisher: Publisher;
9496
9649
  updateQuota: Scalars['Boolean']['output'];
9497
- /** Update RBAC configuration for a scope */
9498
- updateRbacConfig: RbacConfig;
9499
9650
  updateRecurringBillingPlan: RecurringBillingPlan;
9500
9651
  /** Update a registered resource */
9501
9652
  updateResource: Resource;
@@ -9546,6 +9697,8 @@ export type Mutation = {
9546
9697
  updateUserPlatformConnectionNotifications: UserPlatformConnection;
9547
9698
  updateVariantStats: NewsletterVariant;
9548
9699
  updateWebhook: Webhook;
9700
+ /** Update a webhook subscription (URL, secret, events, enabled, description) */
9701
+ updateWebhookSubscription: WebhookSubscription;
9549
9702
  /** Update an existing workspace */
9550
9703
  updateWorkspace: Workspace;
9551
9704
  /** Update a workspace member's role */
@@ -9584,6 +9737,7 @@ export type Mutation = {
9584
9737
  verifyPasskeyRegistration: PasskeyRegistrationResult;
9585
9738
  /** Verify a payment method (micro-deposits) */
9586
9739
  verifyPaymentMethod: DeveloperOrgPaymentMethod;
9740
+ /** Admin verifies a pending payout method once the processor account is confirmed. externalAccountId is required unless the publisher already supplied one. */
9587
9741
  verifyPublisherPayoutMethod: PublisherPayoutMethod;
9588
9742
  /** Verify a WhatsApp pairing code entered by the user in the dashboard. Called by wspace-integrations-svc during its CUSTOM auth step. Looks up the UserPlatformConnection (source=SEEN) for the channel + phone number, checks the pairing code matches and has not expired, then: - Sets pairingStatus = APPROVED - Sets dmAllowed = true - Sets dmConversationId to the WhatsApp JID format Returns true on success, throws on failure. */
9589
9743
  verifyWhatsAppPairingCode: Scalars['Boolean']['output'];
@@ -9591,7 +9745,12 @@ export type Mutation = {
9591
9745
  voidInvoice: Invoice;
9592
9746
  /** Vote on a review (helpful/not helpful) */
9593
9747
  voteOnAppReview: AppReviewVote;
9748
+ voteOnReview: ProductReviewVote;
9594
9749
  withdrawConsent: ConsentRecord;
9750
+ /** 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. */
9751
+ withdrawWorkflowTemplateRevision: WorkflowTemplateSubmission;
9752
+ /** Withdraw one of your templates. A published template is taken off the store first; anything not live is deleted. */
9753
+ withdrawWorkflowTemplateSubmission: WithdrawWorkflowTemplateSubmissionResult;
9595
9754
  };
9596
9755
  /** Root mutation type */
9597
9756
  export type MutationAcceptDeveloperOrgInvitationArgs = {
@@ -9603,6 +9762,10 @@ export type MutationAcceptOrganizationInviteArgs = {
9603
9762
  recaptchaToken?: InputMaybe<Scalars['String']['input']>;
9604
9763
  };
9605
9764
  /** Root mutation type */
9765
+ export type MutationAcceptPublisherDeveloperAgreementArgs = {
9766
+ version: Scalars['String']['input'];
9767
+ };
9768
+ /** Root mutation type */
9606
9769
  export type MutationAcceptSourcingOfferArgs = {
9607
9770
  offerId: Scalars['ID']['input'];
9608
9771
  };
@@ -9673,6 +9836,10 @@ export type MutationAddDeveloperOrgPaymentMethodArgs = {
9673
9836
  organizationId: Scalars['ID']['input'];
9674
9837
  };
9675
9838
  /** Root mutation type */
9839
+ export type MutationAddMyPublisherPayoutMethodArgs = {
9840
+ input: AddMyPublisherPayoutMethodInput;
9841
+ };
9842
+ /** Root mutation type */
9676
9843
  export type MutationAddOrderTrackingEventArgs = {
9677
9844
  input: AddFulfillmentTrackingEventInput;
9678
9845
  };
@@ -9818,6 +9985,11 @@ export type MutationApproveWaitlistArgs = {
9818
9985
  input: ApproveWaitlistInput;
9819
9986
  };
9820
9987
  /** Root mutation type */
9988
+ export type MutationApproveWorkflowTemplateRevisionArgs = {
9989
+ id: Scalars['ID']['input'];
9990
+ notes?: InputMaybe<Scalars['String']['input']>;
9991
+ };
9992
+ /** Root mutation type */
9821
9993
  export type MutationArchiveBillingAccountArgs = {
9822
9994
  id: Scalars['ID']['input'];
9823
9995
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -10617,10 +10789,6 @@ export type MutationCreateSupportTicketArgs = {
10617
10789
  input: CreateSupportTicketInput;
10618
10790
  };
10619
10791
  /** Root mutation type */
10620
- export type MutationCreateTagArgs = {
10621
- input: CreateTagInput;
10622
- };
10623
- /** Root mutation type */
10624
10792
  export type MutationCreateTaxRateArgs = {
10625
10793
  active?: InputMaybe<Scalars['Boolean']['input']>;
10626
10794
  country: Scalars['String']['input'];
@@ -11033,10 +11201,6 @@ export type MutationDeleteSupportTicketArgs = {
11033
11201
  id: Scalars['ID']['input'];
11034
11202
  };
11035
11203
  /** Root mutation type */
11036
- export type MutationDeleteTagArgs = {
11037
- id: Scalars['ID']['input'];
11038
- };
11039
- /** Root mutation type */
11040
11204
  export type MutationDeleteTaxRateArgs = {
11041
11205
  id: Scalars['ID']['input'];
11042
11206
  };
@@ -11103,6 +11267,10 @@ export type MutationDeleteWebhookArgs = {
11103
11267
  id: Scalars['ID']['input'];
11104
11268
  };
11105
11269
  /** Root mutation type */
11270
+ export type MutationDeleteWebhookSubscriptionArgs = {
11271
+ id: Scalars['ID']['input'];
11272
+ };
11273
+ /** Root mutation type */
11106
11274
  export type MutationDelistProductArgs = {
11107
11275
  id: Scalars['ID']['input'];
11108
11276
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -11162,6 +11330,10 @@ export type MutationDismissTourArgs = {
11162
11330
  userId: Scalars['ID']['input'];
11163
11331
  };
11164
11332
  /** Root mutation type */
11333
+ export type MutationDispatchWebhookEventArgs = {
11334
+ input: DispatchWebhookEventInput;
11335
+ };
11336
+ /** Root mutation type */
11165
11337
  export type MutationDuplicateNewsletterArgs = {
11166
11338
  id: Scalars['ID']['input'];
11167
11339
  newSlug: Scalars['String']['input'];
@@ -11293,6 +11465,11 @@ export type MutationFeatureAppReviewArgs = {
11293
11465
  id: Scalars['ID']['input'];
11294
11466
  };
11295
11467
  /** Root mutation type */
11468
+ export type MutationFeatureReviewArgs = {
11469
+ featured: Scalars['Boolean']['input'];
11470
+ id: Scalars['ID']['input'];
11471
+ };
11472
+ /** Root mutation type */
11296
11473
  export type MutationFileDsarArgs = {
11297
11474
  input: FileDsarInput;
11298
11475
  };
@@ -11372,6 +11549,23 @@ export type MutationGetSupportAttachmentPartUploadUrlsArgs = {
11372
11549
  ticketId: Scalars['ID']['input'];
11373
11550
  };
11374
11551
  /** Root mutation type */
11552
+ export type MutationGlobalDiscardTicketReplyDraftArgs = {
11553
+ id: Scalars['ID']['input'];
11554
+ };
11555
+ /** Root mutation type */
11556
+ export type MutationGlobalDraftTicketReplyArgs = {
11557
+ ticketId: Scalars['ID']['input'];
11558
+ };
11559
+ /** Root mutation type */
11560
+ export type MutationGlobalSendTicketReplyDraftArgs = {
11561
+ id: Scalars['ID']['input'];
11562
+ message?: InputMaybe<Scalars['String']['input']>;
11563
+ };
11564
+ /** Root mutation type */
11565
+ export type MutationGlobalTriageTicketArgs = {
11566
+ id: Scalars['ID']['input'];
11567
+ };
11568
+ /** Root mutation type */
11375
11569
  export type MutationGrantAppDelegationInternalArgs = {
11376
11570
  input: GrantAppDelegationInternalInput;
11377
11571
  };
@@ -11553,6 +11747,13 @@ export type MutationModerateAppReviewArgs = {
11553
11747
  status: AppReviewStatus;
11554
11748
  };
11555
11749
  /** Root mutation type */
11750
+ export type MutationModerateReviewArgs = {
11751
+ id: Scalars['ID']['input'];
11752
+ note?: InputMaybe<Scalars['String']['input']>;
11753
+ rejectionReason?: InputMaybe<Scalars['String']['input']>;
11754
+ status: ReviewStatus;
11755
+ };
11756
+ /** Root mutation type */
11556
11757
  export type MutationNewsletterEraseSubjectArgs = {
11557
11758
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
11558
11759
  subjectId: Scalars['ID']['input'];
@@ -11640,6 +11841,10 @@ export type MutationProvisionFreeTierForWorkspaceArgs = {
11640
11841
  workspaceId: Scalars['ID']['input'];
11641
11842
  };
11642
11843
  /** Root mutation type */
11844
+ export type MutationProvisionManagedAppInternalArgs = {
11845
+ input: ProvisionManagedAppInternalInput;
11846
+ };
11847
+ /** Root mutation type */
11643
11848
  export type MutationPublicUnsubscribeByTokenArgs = {
11644
11849
  token: Scalars['String']['input'];
11645
11850
  };
@@ -11883,6 +12088,10 @@ export type MutationRegisterWebhookEventSubjectsArgs = {
11883
12088
  input: RegisterWebhookEventSubjectsInput;
11884
12089
  };
11885
12090
  /** Root mutation type */
12091
+ export type MutationRegisterWebhookSubscriptionArgs = {
12092
+ input: RegisterWebhookSubscriptionInput;
12093
+ };
12094
+ /** Root mutation type */
11886
12095
  export type MutationReinstatePublisherArgs = {
11887
12096
  id: Scalars['ID']['input'];
11888
12097
  };
@@ -11926,6 +12135,11 @@ export type MutationRejectPublisherArgs = {
11926
12135
  reason: Scalars['String']['input'];
11927
12136
  };
11928
12137
  /** Root mutation type */
12138
+ export type MutationRejectPublisherPayoutMethodArgs = {
12139
+ id: Scalars['ID']['input'];
12140
+ reason: Scalars['String']['input'];
12141
+ };
12142
+ /** Root mutation type */
11929
12143
  export type MutationRejectReviewArgs = {
11930
12144
  id: Scalars['ID']['input'];
11931
12145
  };
@@ -11934,6 +12148,11 @@ export type MutationRejectWaitlistArgs = {
11934
12148
  input: RejectWaitlistInput;
11935
12149
  };
11936
12150
  /** Root mutation type */
12151
+ export type MutationRejectWorkflowTemplateRevisionArgs = {
12152
+ id: Scalars['ID']['input'];
12153
+ reason: Scalars['String']['input'];
12154
+ };
12155
+ /** Root mutation type */
11937
12156
  export type MutationReleaseLegalHoldArgs = {
11938
12157
  id: Scalars['ID']['input'];
11939
12158
  };
@@ -11981,6 +12200,10 @@ export type MutationRemoveInterviewerFromRoundArgs = {
11981
12200
  roundId: Scalars['ID']['input'];
11982
12201
  };
11983
12202
  /** Root mutation type */
12203
+ export type MutationRemoveMyPublisherPayoutMethodArgs = {
12204
+ id: Scalars['ID']['input'];
12205
+ };
12206
+ /** Root mutation type */
11984
12207
  export type MutationRemoveOrganizationMemberArgs = {
11985
12208
  organizationId: Scalars['String']['input'];
11986
12209
  userId: Scalars['String']['input'];
@@ -12093,14 +12316,6 @@ export type MutationReplaceApplicationTagsArgs = {
12093
12316
  input: ReplaceApplicationTagsInput;
12094
12317
  };
12095
12318
  /** Root mutation type */
12096
- export type MutationReplaceChannelConnectionTagsArgs = {
12097
- input: ReplaceChannelConnectionTagsInput;
12098
- };
12099
- /** Root mutation type */
12100
- export type MutationReplaceChannelTagsArgs = {
12101
- input: ReplaceChannelTagsInput;
12102
- };
12103
- /** Root mutation type */
12104
12319
  export type MutationReplaceStoreProductTagsArgs = {
12105
12320
  input: ReplaceStoreProductTagsInput;
12106
12321
  };
@@ -12137,6 +12352,12 @@ export type MutationReportNodeSandboxBuildStatusArgs = {
12137
12352
  status: Scalars['String']['input'];
12138
12353
  };
12139
12354
  /** Root mutation type */
12355
+ export type MutationReportReviewArgs = {
12356
+ details?: InputMaybe<Scalars['String']['input']>;
12357
+ reason: Scalars['String']['input'];
12358
+ reviewId: Scalars['ID']['input'];
12359
+ };
12360
+ /** Root mutation type */
12140
12361
  export type MutationReprocessWebhookArgs = {
12141
12362
  eventId: Scalars['ID']['input'];
12142
12363
  };
@@ -12304,6 +12525,11 @@ export type MutationResumeScheduledJobArgs = {
12304
12525
  id: Scalars['ID']['input'];
12305
12526
  };
12306
12527
  /** Root mutation type */
12528
+ export type MutationRetireManagedAppInternalArgs = {
12529
+ clientId: Scalars['String']['input'];
12530
+ reason?: InputMaybe<Scalars['String']['input']>;
12531
+ };
12532
+ /** Root mutation type */
12307
12533
  export type MutationRetirePushDeviceInternalArgs = {
12308
12534
  errorCode: Scalars['String']['input'];
12309
12535
  token: Scalars['String']['input'];
@@ -12511,10 +12737,6 @@ export type MutationSendNewsletterArgs = {
12511
12737
  id: Scalars['ID']['input'];
12512
12738
  };
12513
12739
  /** Root mutation type */
12514
- export type MutationSendProductWelcomeEmailArgs = {
12515
- input: ProductWelcomeEmailInput;
12516
- };
12517
- /** Root mutation type */
12518
12740
  export type MutationSendPushMfaChallengeArgs = {
12519
12741
  deviceId?: InputMaybe<Scalars['String']['input']>;
12520
12742
  };
@@ -12536,6 +12758,10 @@ export type MutationServiceRecordEarningArgs = {
12536
12758
  input: ServiceRecordEarningInput;
12537
12759
  };
12538
12760
  /** Root mutation type */
12761
+ export type MutationServiceRefundPaymentArgs = {
12762
+ input: ServiceRefundPaymentInput;
12763
+ };
12764
+ /** Root mutation type */
12539
12765
  export type MutationServiceRequestPayoutArgs = {
12540
12766
  input: ServiceRequestPayoutInput;
12541
12767
  };
@@ -12544,6 +12770,10 @@ export type MutationServiceResolvePayoutAccountArgs = {
12544
12770
  input: ServiceResolvePayoutAccountInput;
12545
12771
  };
12546
12772
  /** Root mutation type */
12773
+ export type MutationServiceReverseEarningArgs = {
12774
+ input: ServiceReverseEarningInput;
12775
+ };
12776
+ /** Root mutation type */
12547
12777
  export type MutationServiceSyncPayoutStatusArgs = {
12548
12778
  input: ServiceSyncPayoutStatusInput;
12549
12779
  };
@@ -12729,6 +12959,10 @@ export type MutationSubmitSatisfactionSurveyArgs = {
12729
12959
  input: SubmitSatisfactionSurveyInput;
12730
12960
  };
12731
12961
  /** Root mutation type */
12962
+ export type MutationSubmitWorkflowTemplateArgs = {
12963
+ input: SubmitWorkflowTemplateInput;
12964
+ };
12965
+ /** Root mutation type */
12732
12966
  export type MutationSubscribeArgs = {
12733
12967
  input: SubscribeInput;
12734
12968
  };
@@ -12779,6 +13013,11 @@ export type MutationSuspendWorkspaceArgs = {
12779
13013
  id: Scalars['ID']['input'];
12780
13014
  };
12781
13015
  /** Root mutation type */
13016
+ export type MutationSyncDirectoryWorkersInternalArgs = {
13017
+ input: DirectorySyncInput;
13018
+ workspaceId: Scalars['ID']['input'];
13019
+ };
13020
+ /** Root mutation type */
12782
13021
  export type MutationSyncStoreSubmissionStatusArgs = {
12783
13022
  input: SyncStoreSubmissionInput;
12784
13023
  };
@@ -12796,14 +13035,6 @@ export type MutationSyncWorkspaceFromWspaceArgs = {
12796
13035
  input: SyncWorkspaceFromWspaceInput;
12797
13036
  };
12798
13037
  /** Root mutation type */
12799
- export type MutationTagChannelArgs = {
12800
- input: TagChannelInput;
12801
- };
12802
- /** Root mutation type */
12803
- export type MutationTagChannelConnectionArgs = {
12804
- input: TagChannelConnectionInput;
12805
- };
12806
- /** Root mutation type */
12807
13038
  export type MutationTagStoreProductArgs = {
12808
13039
  input: TagStoreProductInput;
12809
13040
  };
@@ -12825,6 +13056,10 @@ export type MutationTestWebhookArgs = {
12825
13056
  id: Scalars['ID']['input'];
12826
13057
  };
12827
13058
  /** Root mutation type */
13059
+ export type MutationTestWebhookSubscriptionArgs = {
13060
+ id: Scalars['ID']['input'];
13061
+ };
13062
+ /** Root mutation type */
12828
13063
  export type MutationToggleAddOnArgs = {
12829
13064
  id: Scalars['ID']['input'];
12830
13065
  status: Scalars['Boolean']['input'];
@@ -12942,14 +13177,6 @@ export type MutationUnsubscribeFromStoreArgs = {
12942
13177
  storeId: Scalars['ID']['input'];
12943
13178
  };
12944
13179
  /** Root mutation type */
12945
- export type MutationUntagChannelArgs = {
12946
- input: UntagChannelInput;
12947
- };
12948
- /** Root mutation type */
12949
- export type MutationUntagChannelConnectionArgs = {
12950
- input: UntagChannelConnectionInput;
12951
- };
12952
- /** Root mutation type */
12953
13180
  export type MutationUntagStoreProductArgs = {
12954
13181
  input: UntagStoreProductInput;
12955
13182
  };
@@ -13337,10 +13564,6 @@ export type MutationUpdateQuotaArgs = {
13337
13564
  input: UpdateQuotaInput;
13338
13565
  };
13339
13566
  /** Root mutation type */
13340
- export type MutationUpdateRbacConfigArgs = {
13341
- input: UpdateRbacConfigInput;
13342
- };
13343
- /** Root mutation type */
13344
13567
  export type MutationUpdateRecurringBillingPlanArgs = {
13345
13568
  input: UpdateRecurringBillingInput;
13346
13569
  };
@@ -13532,6 +13755,11 @@ export type MutationUpdateWebhookArgs = {
13532
13755
  input: UpdateWebhookInput;
13533
13756
  };
13534
13757
  /** Root mutation type */
13758
+ export type MutationUpdateWebhookSubscriptionArgs = {
13759
+ id: Scalars['ID']['input'];
13760
+ input: UpdateWebhookSubscriptionInput;
13761
+ };
13762
+ /** Root mutation type */
13535
13763
  export type MutationUpdateWorkspaceArgs = {
13536
13764
  id: Scalars['ID']['input'];
13537
13765
  input: UpdateWorkspaceInput;
@@ -13644,6 +13872,7 @@ export type MutationVerifyPaymentMethodArgs = {
13644
13872
  };
13645
13873
  /** Root mutation type */
13646
13874
  export type MutationVerifyPublisherPayoutMethodArgs = {
13875
+ externalAccountId?: InputMaybe<Scalars['String']['input']>;
13647
13876
  id: Scalars['ID']['input'];
13648
13877
  };
13649
13878
  /** Root mutation type */
@@ -13663,9 +13892,22 @@ export type MutationVoteOnAppReviewArgs = {
13663
13892
  reviewId: Scalars['ID']['input'];
13664
13893
  };
13665
13894
  /** Root mutation type */
13895
+ export type MutationVoteOnReviewArgs = {
13896
+ isHelpful: Scalars['Boolean']['input'];
13897
+ reviewId: Scalars['ID']['input'];
13898
+ };
13899
+ /** Root mutation type */
13666
13900
  export type MutationWithdrawConsentArgs = {
13667
13901
  input: WithdrawConsentInput;
13668
13902
  };
13903
+ /** Root mutation type */
13904
+ export type MutationWithdrawWorkflowTemplateRevisionArgs = {
13905
+ productId: Scalars['ID']['input'];
13906
+ };
13907
+ /** Root mutation type */
13908
+ export type MutationWithdrawWorkflowTemplateSubmissionArgs = {
13909
+ id: Scalars['ID']['input'];
13910
+ };
13669
13911
  /** 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. */
13670
13912
  export type MyContactInquiryFilterInput = {
13671
13913
  /** Filter by inquiry category (exact match against the stored string). */
@@ -14847,6 +15089,41 @@ export type OrganizationMemberList = {
14847
15089
  offset: Scalars['Int']['output'];
14848
15090
  total: Scalars['Int']['output'];
14849
15091
  };
15092
+ /** A workspace-private custom node of a workspace's organization (BOFF-9766). */
15093
+ export type OrganizationPrivateNode = {
15094
+ __typename?: 'OrganizationPrivateNode';
15095
+ applicationId: Scalars['ID']['output'];
15096
+ iconUrl?: Maybe<Scalars['String']['output']>;
15097
+ /** This workspace's active installation. Pass it to uninstallApp to remove the node. */
15098
+ installationId?: Maybe<Scalars['ID']['output']>;
15099
+ /** True when this workspace has an active installation of the node. */
15100
+ installed: Scalars['Boolean']['output'];
15101
+ /** The version this workspace has installed, when installed. */
15102
+ installedVersion?: Maybe<Scalars['String']['output']>;
15103
+ name: Scalars['String']['output'];
15104
+ /** Workflow node type from the version's manifest, e.g. custom/word_counter. */
15105
+ nodeType?: Maybe<Scalars['String']['output']>;
15106
+ nodeVersion?: Maybe<Scalars['String']['output']>;
15107
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
15108
+ shortDescription?: Maybe<Scalars['String']['output']>;
15109
+ slug: Scalars['String']['output'];
15110
+ /** Installed, and the organization has since published a newer version. */
15111
+ updateAvailable: Scalars['Boolean']['output'];
15112
+ /** Latest version published to the organization. Pass it to installApp. */
15113
+ version: Scalars['String']['output'];
15114
+ /** Id of the latest version published to the organization. */
15115
+ versionId: Scalars['ID']['output'];
15116
+ };
15117
+ /** The private custom nodes a workspace's organization has published, as seen from one workspace (BOFF-9766). */
15118
+ export type OrganizationPrivateNodeListing = {
15119
+ __typename?: 'OrganizationPrivateNodeListing';
15120
+ /** True when the caller administers the workspace and so may install or uninstall. */
15121
+ canManage: Scalars['Boolean']['output'];
15122
+ nodes: Array<OrganizationPrivateNode>;
15123
+ /** Organization the workspace belongs to; null when the caller is not a member or the workspace has no organization. */
15124
+ organizationId?: Maybe<Scalars['ID']['output']>;
15125
+ workspaceId: Scalars['ID']['output'];
15126
+ };
14850
15127
  export type OrganizationScheduleQuotas = {
14851
15128
  __typename?: 'OrganizationScheduleQuotas';
14852
15129
  currentActiveSchedules: Scalars['Int']['output'];
@@ -15755,6 +16032,8 @@ export type ProductContentPage = {
15755
16032
  content: Scalars['String']['output'];
15756
16033
  contentFormat: Scalars['String']['output'];
15757
16034
  createdAt: Scalars['DateTime']['output'];
16035
+ /** 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. */
16036
+ customerSignOff?: Maybe<CustomerSignOff>;
15758
16037
  /** Blog/article fields */
15759
16038
  excerpt?: Maybe<Scalars['String']['output']>;
15760
16039
  featured: Scalars['Boolean']['output'];
@@ -15901,11 +16180,22 @@ export type ProductReview = {
15901
16180
  comment?: Maybe<Scalars['String']['output']>;
15902
16181
  context?: Maybe<Scalars['JSON']['output']>;
15903
16182
  createdAt: Scalars['DateTime']['output'];
16183
+ featuredAt?: Maybe<Scalars['DateTime']['output']>;
15904
16184
  helpful: Scalars['Int']['output'];
15905
16185
  id: Scalars['ID']['output'];
16186
+ isFeatured: Scalars['Boolean']['output'];
16187
+ isVerifiedInstall: Scalars['Boolean']['output'];
16188
+ metadata?: Maybe<Scalars['JSON']['output']>;
16189
+ moderatedAt?: Maybe<Scalars['DateTime']['output']>;
16190
+ moderatedBy?: Maybe<Scalars['String']['output']>;
16191
+ moderationNote?: Maybe<Scalars['String']['output']>;
16192
+ notHelpful: Scalars['Int']['output'];
15906
16193
  product: StoreProduct;
15907
16194
  productId: Scalars['String']['output'];
16195
+ publisherReply?: Maybe<ProductReviewReply>;
15908
16196
  rating: Scalars['Int']['output'];
16197
+ rejectionReason?: Maybe<Scalars['String']['output']>;
16198
+ reportCount: Scalars['Int']['output'];
15909
16199
  status: ReviewStatus;
15910
16200
  title?: Maybe<Scalars['String']['output']>;
15911
16201
  updatedAt: Scalars['DateTime']['output'];
@@ -15923,6 +16213,33 @@ export type ProductReviewReply = {
15923
16213
  reviewId: Scalars['ID']['output'];
15924
16214
  updatedAt: Scalars['DateTime']['output'];
15925
16215
  };
16216
+ export type ProductReviewReport = {
16217
+ __typename?: 'ProductReviewReport';
16218
+ actionTaken?: Maybe<Scalars['String']['output']>;
16219
+ context?: Maybe<Scalars['JSON']['output']>;
16220
+ createdAt: Scalars['DateTime']['output'];
16221
+ details?: Maybe<Scalars['String']['output']>;
16222
+ id: Scalars['ID']['output'];
16223
+ metadata?: Maybe<Scalars['JSON']['output']>;
16224
+ reason: Scalars['String']['output'];
16225
+ reportedBy: Scalars['String']['output'];
16226
+ reviewId: Scalars['ID']['output'];
16227
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
16228
+ reviewedBy?: Maybe<Scalars['String']['output']>;
16229
+ status: Scalars['String']['output'];
16230
+ updatedAt: Scalars['DateTime']['output'];
16231
+ };
16232
+ export type ProductReviewVote = {
16233
+ __typename?: 'ProductReviewVote';
16234
+ context?: Maybe<Scalars['JSON']['output']>;
16235
+ createdAt: Scalars['DateTime']['output'];
16236
+ id: Scalars['ID']['output'];
16237
+ isHelpful: Scalars['Boolean']['output'];
16238
+ metadata?: Maybe<Scalars['JSON']['output']>;
16239
+ reviewId: Scalars['ID']['output'];
16240
+ updatedAt: Scalars['DateTime']['output'];
16241
+ userId: Scalars['String']['output'];
16242
+ };
15926
16243
  export declare enum ProductStatus {
15927
16244
  Archived = "ARCHIVED",
15928
16245
  Deprecated = "DEPRECATED",
@@ -15932,15 +16249,6 @@ export declare enum ProductStatus {
15932
16249
  Rejected = "REJECTED",
15933
16250
  Unlisted = "UNLISTED"
15934
16251
  }
15935
- export type ProductTag = {
15936
- __typename?: 'ProductTag';
15937
- context?: Maybe<Scalars['JSON']['output']>;
15938
- createdAt: Scalars['DateTime']['output'];
15939
- description?: Maybe<Scalars['String']['output']>;
15940
- id: Scalars['ID']['output'];
15941
- name: Scalars['String']['output'];
15942
- slug: Scalars['String']['output'];
15943
- };
15944
16252
  export type ProductTourStatistics = {
15945
16253
  __typename?: 'ProductTourStatistics';
15946
16254
  averageCompletionRate: Scalars['Float']['output'];
@@ -16014,22 +16322,6 @@ export type ProductVariant = {
16014
16322
  /** Weight unit for this variant */
16015
16323
  weightUnit?: Maybe<WeightUnit>;
16016
16324
  };
16017
- export type ProductWelcomeEmailInput = {
16018
- /** URL the user just landed on (e.g. https://app.vibecontrols.com). Used as the primary CTA target if the template doesn't override it. */
16019
- appUrl?: InputMaybe<Scalars['String']['input']>;
16020
- /** Idempotency key — same key + same input = at-most-once delivery. Recommended format: "welcome:<productSlug>:<userId>". */
16021
- idempotencyKey?: InputMaybe<Scalars['String']['input']>;
16022
- /** Organization ID for multi-tenancy / connection lookup. */
16023
- organizationId: Scalars['ID']['input'];
16024
- /** PlatformProduct.slug — e.g. "vibecontrols", "botlit", "workspaces". Falls back to the `default` template if no matching template is registered. */
16025
- productSlug: Scalars['String']['input'];
16026
- /** Recipient email address. */
16027
- recipientEmail: Scalars['String']['input'];
16028
- /** Recipient display name for the greeting line. Defaults to "there" if empty. First name is preferred. */
16029
- recipientName?: InputMaybe<Scalars['String']['input']>;
16030
- /** Optional unsubscribe URL injected into the footer. */
16031
- unsubscribeUrl?: InputMaybe<Scalars['String']['input']>;
16032
- };
16033
16325
  export type PromoCode = {
16034
16326
  __typename?: 'PromoCode';
16035
16327
  applicableProductIds: Array<Scalars['ID']['output']>;
@@ -16091,6 +16383,19 @@ export type ProvisionFreeTierForWorkspaceResult = {
16091
16383
  hasBillingAccount: Scalars['Boolean']['output'];
16092
16384
  /** Product IDs the assigned quotas belong to. */
16093
16385
  productIds: Array<Scalars['String']['output']>;
16386
+ /** 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. */
16387
+ skippedAtCapProductIds: Array<Scalars['String']['output']>;
16388
+ };
16389
+ /** Input for a service-managed app (BOFF-9962). */
16390
+ export type ProvisionManagedAppInternalInput = {
16391
+ description?: InputMaybe<Scalars['String']['input']>;
16392
+ /** Display name, 1 to 200 characters. */
16393
+ name: Scalars['String']['input'];
16394
+ /** Scopes a delegation to the app may carry; at least one. */
16395
+ scopes: Array<Scalars['String']['input']>;
16396
+ tenantId?: InputMaybe<Scalars['String']['input']>;
16397
+ /** BOT (default), ASSISTANT, AUTOMATION or WORKFLOW. */
16398
+ type?: InputMaybe<AppType>;
16094
16399
  };
16095
16400
  /** Response for createUserTenantStructure mutation */
16096
16401
  export declare enum ProvisioningStatus {
@@ -16171,6 +16476,10 @@ export type Publisher = {
16171
16476
  context?: Maybe<Scalars['JSON']['output']>;
16172
16477
  country?: Maybe<Scalars['String']['output']>;
16173
16478
  createdAt: Scalars['DateTime']['output'];
16479
+ /** When the publisher accepted the Marketplace & Developer Agreement. Visible to the publisher and admins only. */
16480
+ developerAgreementAcceptedAt?: Maybe<Scalars['DateTime']['output']>;
16481
+ /** Version (YYYY-MM-DD) of the Marketplace & Developer Agreement the publisher accepted. Visible to the publisher and admins only. */
16482
+ developerAgreementVersion?: Maybe<Scalars['String']['output']>;
16174
16483
  /** The devportal developer organization that owns this publisher profile. Resolved via federation from global-devportal-svc. */
16175
16484
  developerOrganization?: Maybe<DeveloperOrganization>;
16176
16485
  email: Scalars['String']['output'];
@@ -16187,12 +16496,16 @@ export type Publisher = {
16187
16496
  rejectionReason?: Maybe<Scalars['String']['output']>;
16188
16497
  supportUrl?: Maybe<Scalars['String']['output']>;
16189
16498
  suspensionReason?: Maybe<Scalars['String']['output']>;
16499
+ /** Tax form type declared with the tax ID (for example PAN, GSTIN, W-9, W-8BEN). Visible to the publisher and admins only. */
16500
+ taxFormType?: Maybe<Scalars['String']['output']>;
16190
16501
  taxId?: Maybe<Scalars['String']['output']>;
16191
16502
  tier: PublisherTier;
16192
16503
  totalEarnings: Scalars['Float']['output'];
16193
16504
  totalSales: Scalars['Int']['output'];
16194
16505
  updatedAt: Scalars['DateTime']['output'];
16195
16506
  userId: Scalars['String']['output'];
16507
+ /** KYC documents submitted for review ([{type, filesSvcId, description, uploadedAt}]). Visible to the publisher and admins only. */
16508
+ verificationDocuments?: Maybe<Scalars['JSON']['output']>;
16196
16509
  verificationReviewedAt?: Maybe<Scalars['DateTime']['output']>;
16197
16510
  verificationReviewedBy?: Maybe<Scalars['String']['output']>;
16198
16511
  verificationStatus: PublisherVerificationStatus;
@@ -16211,17 +16524,70 @@ export type PublisherEarningsStatus = {
16211
16524
  reservedAmount: Scalars['Float']['output'];
16212
16525
  totalLifetimeAmount: Scalars['Float']['output'];
16213
16526
  };
16214
- export type PublisherPayoutMethod = {
16215
- __typename?: 'PublisherPayoutMethod';
16216
- createdAt: Scalars['DateTime']['output'];
16527
+ /** The calling user's progress through paid-listing publisher onboarding. */
16528
+ export type PublisherOnboardingStatus = {
16529
+ __typename?: 'PublisherOnboardingStatus';
16530
+ agreementUrl: Scalars['String']['output'];
16531
+ currentAgreementVersion: Scalars['String']['output'];
16532
+ payoutRoute: PublisherPayoutRoute;
16533
+ publisher?: Maybe<Publisher>;
16534
+ /** True when every step is COMPLETE, so the publisher may submit paid listings to stores that do not allow unverified publishers. */
16535
+ readyToSell: Scalars['Boolean']['output'];
16536
+ /** Publisher share of net sales revenue, in percent, under the published agreement. */
16537
+ revenueSharePercent: Scalars['Float']['output'];
16538
+ steps: Array<PublisherOnboardingStep>;
16539
+ };
16540
+ export type PublisherOnboardingStep = {
16541
+ __typename?: 'PublisherOnboardingStep';
16542
+ /** Free-text detail from a reviewer, such as a rejection reason. */
16543
+ detail?: Maybe<Scalars['String']['output']>;
16544
+ key: PublisherOnboardingStepKey;
16545
+ /** Machine-readable reason code for the status (for example REJECTED, AGREEMENT_OUTDATED). */
16546
+ reason?: Maybe<Scalars['String']['output']>;
16547
+ status: PublisherOnboardingStepStatus;
16548
+ };
16549
+ export declare enum PublisherOnboardingStepKey {
16550
+ DeveloperAgreement = "DEVELOPER_AGREEMENT",
16551
+ Kyc = "KYC",
16552
+ PayoutMethod = "PAYOUT_METHOD",
16553
+ Profile = "PROFILE",
16554
+ Tax = "TAX"
16555
+ }
16556
+ export declare enum PublisherOnboardingStepStatus {
16557
+ ActionRequired = "ACTION_REQUIRED",
16558
+ Blocked = "BLOCKED",
16559
+ Complete = "COMPLETE",
16560
+ InReview = "IN_REVIEW"
16561
+ }
16562
+ export type PublisherPayoutMethod = {
16563
+ __typename?: 'PublisherPayoutMethod';
16564
+ country?: Maybe<Scalars['String']['output']>;
16565
+ createdAt: Scalars['DateTime']['output'];
16566
+ currency?: Maybe<Scalars['String']['output']>;
16567
+ /** Masked label for the method, for example "HDFC Bank •••• 1234". Full account numbers are never stored. */
16568
+ displayLabel?: Maybe<Scalars['String']['output']>;
16217
16569
  externalAccountId?: Maybe<Scalars['String']['output']>;
16218
16570
  id: Scalars['ID']['output'];
16219
16571
  isDefault: Scalars['Boolean']['output'];
16572
+ /** Masked payout details (holder name, bank name, last four digits, bank code). */
16573
+ maskedDetails?: Maybe<Scalars['JSON']['output']>;
16574
+ /** The publisher that owns this payout method (resolved for admins and the owner). */
16575
+ publisher?: Maybe<Publisher>;
16220
16576
  publisherId: Scalars['ID']['output'];
16577
+ rejectionReason?: Maybe<Scalars['String']['output']>;
16578
+ /** PENDING (awaiting admin verification), VERIFIED, REJECTED, SUSPENDED or CLOSED. */
16221
16579
  status: Scalars['String']['output'];
16222
16580
  type: PayoutMethodType;
16223
16581
  verifiedAt?: Maybe<Scalars['DateTime']['output']>;
16224
16582
  };
16583
+ /** Which payout processor and methods apply to a publisher's country. India: RazorpayX payouts in INR. Everywhere else: Stripe Connect in USD, with an international bank transfer as the alternative. PAYPAL is not offered. */
16584
+ export type PublisherPayoutRoute = {
16585
+ __typename?: 'PublisherPayoutRoute';
16586
+ country?: Maybe<Scalars['String']['output']>;
16587
+ currency: Scalars['String']['output'];
16588
+ methodTypes: Array<PayoutMethodType>;
16589
+ processor: Scalars['String']['output'];
16590
+ };
16225
16591
  export declare enum PublisherTier {
16226
16592
  Enterprise = "ENTERPRISE",
16227
16593
  Individual = "INDIVIDUAL",
@@ -16300,9 +16666,15 @@ export type Query = {
16300
16666
  actionDefinitions: Array<ActionDefinition>;
16301
16667
  /** Get all active schedules (for background processing). `limit` clamps the page size (default 100, max 500). `cursor` is the ID of the last schedule from the previous page (keyset pagination ordered by `nextExecutionAt` ascending then `id`). Background workers that need to drain every due schedule should loop calling this query with the returned cursor until fewer-than-`limit` rows come back. Addresses the codex review on PR #35: without cursoring, busy tenants could keep schedules permanently outside the first-page window. */
16302
16668
  activeSchedules: Array<TourSchedule>;
16303
- /** Get all active sessions for the current user. The `isCurrent` field indicates which session belongs to this request. Resolver filters by actorId — membership IS the access list. */
16669
+ /** Get active sessions for the current user. An optional exact clientSessionNonce filters only that authenticated owner's sessions; it never grants access. The `isCurrent` field indicates which session belongs to this request. Resolver filters by actorId — membership IS the access list. */
16304
16670
  activeSessions: SessionConnection;
16305
- /** Count activity logs matching the filter (action, resource, resourceType, workspaceId, tenantId, date range, etc.). Lets a service migrating its local audit table verify exact parity (local table count == owner count for its slice) before dropping the local table. Uses the SAME where-builder as `activityLogs`, and applies the SAME tenant/workspace scoping, so the count matches the list it verifies. */
16671
+ /**
16672
+ * Count activity logs matching the filter (action, resource, resourceType, workspaceId, tenantId,
16673
+ * date range, etc.). Lets a service migrating its local audit table verify exact parity (local
16674
+ * table count == owner count for its slice) before dropping the local table. Uses the SAME
16675
+ * where-builder as `activityLogs`, and applies the SAME tenant/workspace scoping, so the count
16676
+ * matches the list it verifies.
16677
+ */
16306
16678
  activityCount: Scalars['Int']['output'];
16307
16679
  activityLog?: Maybe<ActivityLog>;
16308
16680
  activityLogs: ActivityLogConnection;
@@ -16314,6 +16686,8 @@ export type Query = {
16314
16686
  actorRoleAssignments: Array<ActorRoleAssignment>;
16315
16687
  /** List actors with RBAC context in a scope */
16316
16688
  actors: Array<ActorRbacSummary>;
16689
+ /** 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. */
16690
+ addonPurchaseEligibility: Array<AddonPurchaseEligibility>;
16317
16691
  adminAffiliateAnalytics: AffiliateAdminAnalytics;
16318
16692
  adminPayoutRequests: PayoutRequestConnection;
16319
16693
  adminPayoutSummary: PayoutAdminSummary;
@@ -16378,7 +16752,7 @@ export type Query = {
16378
16752
  automationSubscribers: Array<AutomationSubscriber>;
16379
16753
  availableAgents: Array<AgentProfile>;
16380
16754
  availableAuthMethods: Array<AuthMethod>;
16381
- /** 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. */
16755
+ /** 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. */
16382
16756
  availableFeaturePreviews: Array<FeatureFlag>;
16383
16757
  /** Signed (DESIGN 3.7). The workspace's balance, in the person's view when actorId is given. */
16384
16758
  avatarMinutesForService: AvatarMinutesBalance;
@@ -16514,7 +16888,7 @@ export type Query = {
16514
16888
  estimateNewsletterRecipients: NewsletterRecipientEstimate;
16515
16889
  /** Estimate shipping for an order with a specific method */
16516
16890
  estimateOrderShipping: OrderShippingEstimate;
16517
- /** 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`. */
16891
+ /** 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`. */
16518
16892
  evaluateFeatureFlags: FeatureFlagBulkEvaluation;
16519
16893
  /** One conversation with its full transcript, references, CTAs and clicks. Superadmin only. */
16520
16894
  exploreAdminConversation?: Maybe<ExploreAdminConversation>;
@@ -16528,6 +16902,8 @@ export type Query = {
16528
16902
  exploreAgentJob?: Maybe<ExploreAgentJob>;
16529
16903
  /** Products, example prompts, welcome copy and limits for the `/explore` page. Never throws — an unreachable agent yields `enabled: false`. */
16530
16904
  exploreCatalog: ExploreCatalog;
16905
+ /** 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. */
16906
+ exploreConversationInfo: ExploreConversationInfo;
16531
16907
  /** The conversation's messages, oldest first. */
16532
16908
  exploreConversationMessages: Array<ExploreMessage>;
16533
16909
  /** Poll one message. Scoped by `conversationToken`; a token that does not own the message is reported as NOT_FOUND, never FORBIDDEN. */
@@ -16563,6 +16939,7 @@ export type Query = {
16563
16939
  /** 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). */
16564
16940
  getAllPlans: Array<Plan>;
16565
16941
  getAllQuotas: Array<Quota>;
16942
+ /** 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. */
16566
16943
  getAllQuotasAssignment: PaginatedQuotaAssignments;
16567
16944
  getAllQuotasOfSub: Array<QuotaAssignment>;
16568
16945
  getAllRecurringBillingPlans: Array<RecurringBillingPlan>;
@@ -16589,14 +16966,12 @@ export type Query = {
16589
16966
  getBillingWebhookLogs: BillingWebhookLogsPage;
16590
16967
  /** Get a channel by ID */
16591
16968
  getChannel?: Maybe<Channel>;
16592
- getChannelConnectionTags: Array<ChannelConnectionTagAssignment>;
16593
16969
  /** Get recent delivery attempts for a channel. Supports cursor pagination — pass `cursor` from the previous page's `nextCursor`. Falls back to offset when `cursor` is absent. */
16594
16970
  getChannelDeliveryAttempts: DeliveryAttemptList;
16595
16971
  /** Get organization-level channel settings. Returns defaults when no settings have been saved yet. */
16596
16972
  getChannelOrgSettings: ChannelOrgSettings;
16597
16973
  /** Get channel statistics */
16598
16974
  getChannelStats: ChannelStats;
16599
- getChannelTags: Array<ChannelTagAssignment>;
16600
16975
  /** Get recent webhook events for a channel. Supports cursor pagination — pass `cursor` from the previous page's `nextCursor`. */
16601
16976
  getChannelWebhookEvents: WebhookEventList;
16602
16977
  /** Get all channels with optional filtering */
@@ -16697,7 +17072,7 @@ export type Query = {
16697
17072
  getPromotion?: Maybe<Promotion>;
16698
17073
  /** Get usage analytics for a specific quota assignment */
16699
17074
  getQuotaAnalytics: QuotaUsageAnalytics;
16700
- /** Enhanced quota assignment query with analytics, pagination and filtering */
17075
+ /** The same status, inclusive createdAt and currentUsageSum filters as getAllQuotasAssignment, with analytics for the filtered page. */
16701
17076
  getQuotaAssignmentsWithAnalytics: PaginatedQuotaAssignmentsWithAnalytics;
16702
17077
  getQuotaUsageAndLimit: QuotaUsageAndLimit;
16703
17078
  getQuotaUsageDetails?: Maybe<PaginatedUsages>;
@@ -16748,6 +17123,8 @@ export type Query = {
16748
17123
  getWebhookEvent?: Maybe<WebhookEvent>;
16749
17124
  /** Get webhook statistics for a channel */
16750
17125
  getWebhookStats: WebhookStats;
17126
+ /** Measure the triage engine against historical human categorisation. Support admins see their tenant; super admins see every tenant. Read-only. */
17127
+ globalTriageEvaluation: SupportTriageEvaluation;
16751
17128
  /** Health check endpoint */
16752
17129
  health: HealthStatus;
16753
17130
  /** Get grouped products for homepage. Optionally filter by compatible product (e.g., "bigconsole", "fluidgrids"). */
@@ -16830,6 +17207,8 @@ export type Query = {
16830
17207
  listUserShippingAddresses: Array<ShippingAddress>;
16831
17208
  lookupAffiliateCode?: Maybe<AffiliateCodeLookup>;
16832
17209
  lowStockProducts: Array<LowStockProduct>;
17210
+ /** 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. */
17211
+ managedAppDelegationsInternal: Array<AppUserDelegation>;
16833
17212
  /** Returns products the current user can access based on their actor type, email domain, and waitlist approval status. Used by app shells for nav. */
16834
17213
  myAccessibleProducts: PlatformProductList;
16835
17214
  myActivityLogs: ActivityLogConnection;
@@ -16888,6 +17267,10 @@ export type Query = {
16888
17267
  myPublisher?: Maybe<Publisher>;
16889
17268
  /** Earnings + payout status for the calling user's publisher profile, read from billing's canonical ledger. Self-scoped: resolved from the authenticated actor. */
16890
17269
  myPublisherEarningsStatus?: Maybe<PublisherEarningsStatus>;
17270
+ /** The calling user's paid-listing publisher onboarding checklist (BOFF-10634). */
17271
+ myPublisherOnboarding: PublisherOnboardingStatus;
17272
+ /** Payout methods on the calling user's publisher profile (closed methods excluded). */
17273
+ myPublisherPayoutMethods: Array<PublisherPayoutMethod>;
16891
17274
  myReviews: Array<ProductReview>;
16892
17275
  /** Get current user's roles in a scope (lightweight, self-service). Use this for quick role checks without fetching full permissions. Self-scoped — see myPermissions for the rationale. (BOFF-2655) */
16893
17276
  myRoles: MyRolesResult;
@@ -16912,6 +17295,8 @@ export type Query = {
16912
17295
  /** List user's linked wallets */
16913
17296
  myWallets: Array<WalletInfo>;
16914
17297
  myWishlist: Array<UserWishlist>;
17298
+ /** Your own community workflow templates, newest first. */
17299
+ myWorkflowTemplateSubmissions: WorkflowTemplateSubmissionList;
16915
17300
  /** 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. */
16916
17301
  myWorkspaces: WorkspaceList;
16917
17302
  newsletter?: Maybe<Newsletter>;
@@ -16981,9 +17366,13 @@ export type Query = {
16981
17366
  organizationMembers: OrganizationMemberList;
16982
17367
  /** 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). */
16983
17368
  organizationPickupPostalCode?: Maybe<Scalars['String']['output']>;
17369
+ /** 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. */
17370
+ organizationPrivateNodes: OrganizationPrivateNodeListing;
16984
17371
  organizationScheduleQuotas: OrganizationScheduleQuotas;
16985
17372
  payoutRunHistory: Array<PayoutRunLog>;
16986
17373
  pendingDeveloperOrganizationVerifications: DeveloperOrganizationConnection;
17374
+ /** Payout methods awaiting admin verification (admin queue). */
17375
+ pendingPublisherPayoutMethods: Array<PublisherPayoutMethod>;
16987
17376
  /** Publishers awaiting verification review (admin queue). */
16988
17377
  pendingPublishers: Array<Publisher>;
16989
17378
  /** Admin queue: products awaiting review. */
@@ -16991,6 +17380,8 @@ export type Query = {
16991
17380
  /** Get pending scheduled notifications that are due for triggering */
16992
17381
  pendingScheduledNotifications: Array<ScheduledNotification>;
16993
17382
  pendingSurveys: CustomerSatisfactionSurveyConnection;
17383
+ /** Admin queue: new versions of published templates, oldest first. */
17384
+ pendingWorkflowTemplateRevisions: WorkflowTemplateRevisionList;
16994
17385
  /** Get permission check audit log */
16995
17386
  permissionAuditLog: Array<PermissionAuditLog>;
16996
17387
  /** 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. */
@@ -17023,6 +17414,7 @@ export type Query = {
17023
17414
  productOrders: ItemOrdersList;
17024
17415
  productReleases: Array<ProductRelease>;
17025
17416
  productReviews: Array<ProductReview>;
17417
+ productReviewsCount: Scalars['Int']['output'];
17026
17418
  /** Get shortcuts for a specific product (includes global shortcuts). Bounded by limit/offset to avoid unbounded fetches. */
17027
17419
  productShortcuts: Array<KeyboardShortcut>;
17028
17420
  /** Get product-level tour statistics */
@@ -17053,6 +17445,8 @@ export type Query = {
17053
17445
  publicResolvedContentPage?: Maybe<ProductContentPage>;
17054
17446
  publicScheduleTemplates: ScheduleTemplateConnection;
17055
17447
  publishedProducts: Array<StoreProduct>;
17448
+ /** Short-lived (5 minute) download URL for one of a publisher's KYC documents (admin review). */
17449
+ publisherVerificationDocumentUrl: Scalars['String']['output'];
17056
17450
  /** The push-routable devices a user has for one product, newest-first. Every row carries the `fcmProject` whose credentials can reach its `token`; rows with no project, and rows not refreshed inside the staleness window, are excluded. Service-to-service only — this is the read global-channel-svc makes before a send, on behalf of the notification's recipient. It therefore takes an explicit `userId`, which is exactly why it is NOT `scopeType: "self"`: a self gate is an authentication check only, so a self-scoped field taking a `userId` would let any signed-in user enumerate anyone's devices. `actorTypes` denies user/app callers at the gateway before any permission round-trip, and the resolver re-checks the actor type for the internal-gateway path (which runs no RBAC middleware). */
17057
17451
  pushDevicesForUserInternal: Array<DeviceToken>;
17058
17452
  /** Cost-weighted AI credits for one assistant turn, computed from the given model's token prices (USD/1M) and the credit baseline. Unknown models fall back to the `*default*` price row. */
@@ -17061,10 +17455,6 @@ export type Query = {
17061
17455
  rbacAnalytics: RbacAnalytics;
17062
17456
  /** Get RBAC configuration change history */
17063
17457
  rbacChangeHistory: Array<RbacChangeLog>;
17064
- /** Get RBAC configuration for a scope */
17065
- rbacConfig: Array<RbacConfig>;
17066
- /** Get a specific RBAC configuration value */
17067
- rbacConfigValue?: Maybe<RbacConfig>;
17068
17458
  recentArticles: Array<KnowledgeBaseArticle>;
17069
17459
  releaseAuditEvents: Array<ProductReleaseAuditEvent>;
17070
17460
  releaseTracks: Array<ReleaseTrack>;
@@ -17154,9 +17544,6 @@ export type Query = {
17154
17544
  syncOutboxEntry?: Maybe<SyncOutboxEntry>;
17155
17545
  /** Aggregate counts for the outbox, used by the admin dashboard tile. */
17156
17546
  syncOutboxStats: SyncOutboxStats;
17157
- tag?: Maybe<ProductTag>;
17158
- tagBySlug?: Maybe<ProductTag>;
17159
- tags: Array<ProductTag>;
17160
17547
  /** Get a single tenant by ID */
17161
17548
  tenant?: Maybe<Tenant>;
17162
17549
  /** Get a tenant by slug */
@@ -17222,7 +17609,7 @@ export type Query = {
17222
17609
  userBillingPlan: UserBillingPlan;
17223
17610
  /** Get total count of users (for analytics) */
17224
17611
  userCount: Scalars['Int']['output'];
17225
- /** Get a user's feature flag preferences in a workspace. Bounded by limit/offset to avoid unbounded fetches. */
17612
+ /** 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. */
17226
17613
  userFeatureFlagPreferences: Array<UserFeatureFlagPreference>;
17227
17614
  userLanguagePreference?: Maybe<UserLanguagePreference>;
17228
17615
  /** Check if the current user has reviewed a specific product */
@@ -17251,6 +17638,10 @@ export type Query = {
17251
17638
  webhookEventCatalog: Array<WebhookEventCatalogEntry>;
17252
17639
  /** Registered subject mappings. Platform services and super admins only. */
17253
17640
  webhookEventSubjects: Array<WebhookEventSubject>;
17641
+ /** Fetch a single webhook subscription by ID */
17642
+ webhookSubscription?: Maybe<WebhookSubscription>;
17643
+ /** List webhook subscriptions for an owner (newest first) */
17644
+ webhookSubscriptions: Array<WebhookSubscription>;
17254
17645
  webhooks: Array<Webhook>;
17255
17646
  /** Get a single workspace by ID */
17256
17647
  workspace?: Maybe<Workspace>;
@@ -17280,6 +17671,7 @@ export type QueryActiveSchedulesArgs = {
17280
17671
  };
17281
17672
  /** Root query type */
17282
17673
  export type QueryActiveSessionsArgs = {
17674
+ clientSessionNonce?: InputMaybe<Scalars['ID']['input']>;
17283
17675
  pagination?: InputMaybe<PaginationInput>;
17284
17676
  };
17285
17677
  /** Root query type */
@@ -17321,6 +17713,12 @@ export type QueryActorsArgs = {
17321
17713
  scopeId: Scalars['String']['input'];
17322
17714
  };
17323
17715
  /** Root query type */
17716
+ export type QueryAddonPurchaseEligibilityArgs = {
17717
+ addonIds: Array<Scalars['ID']['input']>;
17718
+ billingAccountId?: InputMaybe<Scalars['ID']['input']>;
17719
+ subscriptionId?: InputMaybe<Scalars['ID']['input']>;
17720
+ };
17721
+ /** Root query type */
17324
17722
  export type QueryAdminAffiliateAnalyticsArgs = {
17325
17723
  filter?: InputMaybe<AffiliateAnalyticsFilterInput>;
17326
17724
  };
@@ -17985,6 +18383,10 @@ export type QueryExploreCatalogArgs = {
17985
18383
  productSlug?: InputMaybe<Scalars['String']['input']>;
17986
18384
  };
17987
18385
  /** Root query type */
18386
+ export type QueryExploreConversationInfoArgs = {
18387
+ conversationToken: Scalars['String']['input'];
18388
+ };
18389
+ /** Root query type */
17988
18390
  export type QueryExploreConversationMessagesArgs = {
17989
18391
  conversationToken: Scalars['String']['input'];
17990
18392
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -18158,10 +18560,6 @@ export type QueryGetChannelArgs = {
18158
18560
  id: Scalars['ID']['input'];
18159
18561
  };
18160
18562
  /** Root query type */
18161
- export type QueryGetChannelConnectionTagsArgs = {
18162
- input: GetChannelConnectionTagsInput;
18163
- };
18164
- /** Root query type */
18165
18563
  export type QueryGetChannelDeliveryAttemptsArgs = {
18166
18564
  channelId: Scalars['ID']['input'];
18167
18565
  cursor?: InputMaybe<Scalars['String']['input']>;
@@ -18176,10 +18574,6 @@ export type QueryGetChannelStatsArgs = {
18176
18574
  id: Scalars['ID']['input'];
18177
18575
  };
18178
18576
  /** Root query type */
18179
- export type QueryGetChannelTagsArgs = {
18180
- input: GetChannelTagsInput;
18181
- };
18182
- /** Root query type */
18183
18577
  export type QueryGetChannelWebhookEventsArgs = {
18184
18578
  channelId: Scalars['ID']['input'];
18185
18579
  cursor?: InputMaybe<Scalars['String']['input']>;
@@ -18561,6 +18955,10 @@ export type QueryGetWebhookStatsArgs = {
18561
18955
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
18562
18956
  };
18563
18957
  /** Root query type */
18958
+ export type QueryGlobalTriageEvaluationArgs = {
18959
+ sampleSize?: InputMaybe<Scalars['Int']['input']>;
18960
+ };
18961
+ /** Root query type */
18564
18962
  export type QueryHomeGroupedProductsArgs = {
18565
18963
  compatibleWith?: InputMaybe<Scalars['String']['input']>;
18566
18964
  };
@@ -18818,6 +19216,10 @@ export type QueryLowStockProductsArgs = {
18818
19216
  storeId?: InputMaybe<Scalars['ID']['input']>;
18819
19217
  };
18820
19218
  /** Root query type */
19219
+ export type QueryManagedAppDelegationsInternalArgs = {
19220
+ clientId: Scalars['String']['input'];
19221
+ };
19222
+ /** Root query type */
18821
19223
  export type QueryMyAccessibleProductsArgs = {
18822
19224
  limit?: InputMaybe<Scalars['Int']['input']>;
18823
19225
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -18991,6 +19393,12 @@ export type QueryMyWalletsArgs = {
18991
19393
  pagination?: InputMaybe<PaginationInput>;
18992
19394
  };
18993
19395
  /** Root query type */
19396
+ export type QueryMyWorkflowTemplateSubmissionsArgs = {
19397
+ limit?: InputMaybe<Scalars['Int']['input']>;
19398
+ offset?: InputMaybe<Scalars['Int']['input']>;
19399
+ status?: InputMaybe<ProductStatus>;
19400
+ };
19401
+ /** Root query type */
18994
19402
  export type QueryMyWorkspacesArgs = {
18995
19403
  limit?: InputMaybe<Scalars['Int']['input']>;
18996
19404
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -19192,11 +19600,20 @@ export type QueryOrganizationPickupPostalCodeArgs = {
19192
19600
  id: Scalars['ID']['input'];
19193
19601
  };
19194
19602
  /** Root query type */
19603
+ export type QueryOrganizationPrivateNodesArgs = {
19604
+ workspaceId: Scalars['ID']['input'];
19605
+ };
19606
+ /** Root query type */
19195
19607
  export type QueryPendingDeveloperOrganizationVerificationsArgs = {
19196
19608
  limit?: InputMaybe<Scalars['Int']['input']>;
19197
19609
  offset?: InputMaybe<Scalars['Int']['input']>;
19198
19610
  };
19199
19611
  /** Root query type */
19612
+ export type QueryPendingPublisherPayoutMethodsArgs = {
19613
+ limit?: InputMaybe<Scalars['Int']['input']>;
19614
+ offset?: InputMaybe<Scalars['Int']['input']>;
19615
+ };
19616
+ /** Root query type */
19200
19617
  export type QueryPendingPublishersArgs = {
19201
19618
  limit?: InputMaybe<Scalars['Int']['input']>;
19202
19619
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -19218,6 +19635,12 @@ export type QueryPendingSurveysArgs = {
19218
19635
  offset?: InputMaybe<Scalars['Int']['input']>;
19219
19636
  };
19220
19637
  /** Root query type */
19638
+ export type QueryPendingWorkflowTemplateRevisionsArgs = {
19639
+ limit?: InputMaybe<Scalars['Int']['input']>;
19640
+ offset?: InputMaybe<Scalars['Int']['input']>;
19641
+ status?: InputMaybe<WorkflowTemplateRevisionStatus>;
19642
+ };
19643
+ /** Root query type */
19221
19644
  export type QueryPermissionAuditLogArgs = {
19222
19645
  filter?: InputMaybe<AuditLogFilterInput>;
19223
19646
  pagination?: InputMaybe<PaginationInput>;
@@ -19317,8 +19740,15 @@ export type QueryProductReleasesArgs = {
19317
19740
  };
19318
19741
  /** Root query type */
19319
19742
  export type QueryProductReviewsArgs = {
19743
+ isVerifiedPurchase?: InputMaybe<Scalars['Boolean']['input']>;
19320
19744
  limit?: InputMaybe<Scalars['Int']['input']>;
19321
19745
  offset?: InputMaybe<Scalars['Int']['input']>;
19746
+ productId: Scalars['String']['input'];
19747
+ rating?: InputMaybe<Scalars['Int']['input']>;
19748
+ status?: InputMaybe<ReviewStatus>;
19749
+ };
19750
+ /** Root query type */
19751
+ export type QueryProductReviewsCountArgs = {
19322
19752
  productId: Scalars['String']['input'];
19323
19753
  status?: InputMaybe<ReviewStatus>;
19324
19754
  };
@@ -19415,6 +19845,11 @@ export type QueryPublishedProductsArgs = {
19415
19845
  type?: InputMaybe<ProductType>;
19416
19846
  };
19417
19847
  /** Root query type */
19848
+ export type QueryPublisherVerificationDocumentUrlArgs = {
19849
+ filesSvcId: Scalars['ID']['input'];
19850
+ publisherId: Scalars['ID']['input'];
19851
+ };
19852
+ /** Root query type */
19418
19853
  export type QueryPushDevicesForUserInternalArgs = {
19419
19854
  productSlug: Scalars['String']['input'];
19420
19855
  userId: Scalars['ID']['input'];
@@ -19439,15 +19874,6 @@ export type QueryRbacChangeHistoryArgs = {
19439
19874
  scopeId: Scalars['String']['input'];
19440
19875
  };
19441
19876
  /** Root query type */
19442
- export type QueryRbacConfigArgs = {
19443
- scopeId: Scalars['String']['input'];
19444
- };
19445
- /** Root query type */
19446
- export type QueryRbacConfigValueArgs = {
19447
- key: Scalars['String']['input'];
19448
- scopeId: Scalars['String']['input'];
19449
- };
19450
- /** Root query type */
19451
19877
  export type QueryRecentArticlesArgs = {
19452
19878
  limit?: InputMaybe<Scalars['Int']['input']>;
19453
19879
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -19739,14 +20165,6 @@ export type QuerySyncOutboxEntryArgs = {
19739
20165
  id: Scalars['ID']['input'];
19740
20166
  };
19741
20167
  /** Root query type */
19742
- export type QueryTagArgs = {
19743
- id: Scalars['ID']['input'];
19744
- };
19745
- /** Root query type */
19746
- export type QueryTagBySlugArgs = {
19747
- slug: Scalars['String']['input'];
19748
- };
19749
- /** Root query type */
19750
20168
  export type QueryTenantArgs = {
19751
20169
  id: Scalars['ID']['input'];
19752
20170
  };
@@ -20015,6 +20433,15 @@ export type QueryWebhookEventSubjectsArgs = {
20015
20433
  productSlug?: InputMaybe<Scalars['String']['input']>;
20016
20434
  };
20017
20435
  /** Root query type */
20436
+ export type QueryWebhookSubscriptionArgs = {
20437
+ id: Scalars['ID']['input'];
20438
+ };
20439
+ /** Root query type */
20440
+ export type QueryWebhookSubscriptionsArgs = {
20441
+ ownerId?: InputMaybe<Scalars['String']['input']>;
20442
+ ownerType: Scalars['String']['input'];
20443
+ };
20444
+ /** Root query type */
20018
20445
  export type QueryWebhooksArgs = {
20019
20446
  applicationId: Scalars['ID']['input'];
20020
20447
  };
@@ -20336,18 +20763,6 @@ export declare enum RbacChangeType {
20336
20763
  VisibilityRuleRemoved = "VISIBILITY_RULE_REMOVED",
20337
20764
  VisibilityRuleUpdated = "VISIBILITY_RULE_UPDATED"
20338
20765
  }
20339
- /** RBAC configuration key-value pair */
20340
- export type RbacConfig = {
20341
- __typename?: 'RbacConfig';
20342
- createdAt: Scalars['DateTime']['output'];
20343
- description?: Maybe<Scalars['String']['output']>;
20344
- id: Scalars['ID']['output'];
20345
- key: Scalars['String']['output'];
20346
- scopeId: Scalars['String']['output'];
20347
- updatedAt: Scalars['DateTime']['output'];
20348
- value: Scalars['String']['output'];
20349
- valueType: Scalars['String']['output'];
20350
- };
20351
20766
  /** Delivery result for a single recipient within a platform delivery */
20352
20767
  export type RecipientDeliveryResult = {
20353
20768
  __typename?: 'RecipientDeliveryResult';
@@ -20380,7 +20795,25 @@ export type RecipientInput = {
20380
20795
  export type RecordActivityInput = {
20381
20796
  action: Scalars['String']['input'];
20382
20797
  actorId?: InputMaybe<Scalars['String']['input']>;
20383
- /** 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). */
20798
+ /**
20799
+ * `ai_assistant` when an AI assistant session made the change (BOFF-9649). Honoured only from a
20800
+ * service caller relaying a gateway-verified assistant-session marker (the be-sdk tracker); ignored
20801
+ * for any other caller, so a user cannot tag or untag their own rows.
20802
+ */
20803
+ actorOrigin?: InputMaybe<Scalars['String']['input']>;
20804
+ /** Proposal / idempotency key the assistant mutation ran under. Same trust rule as actorOrigin. */
20805
+ assistantCorrelationId?: InputMaybe<Scalars['String']['input']>;
20806
+ /** Relay session (assistant sandbox) that made the change. Same trust rule as actorOrigin. */
20807
+ assistantSessionId?: InputMaybe<Scalars['String']['input']>;
20808
+ /**
20809
+ * Optional idempotency key for backfill/import (audit phase-2). Derive a STABLE key from the
20810
+ * source row (e.g. `global_auth_audit:<rowId>`). When set, the write UPSERTs on this key: if a row
20811
+ * with the same `dedupeKey` already exists it is returned unchanged (no duplicate, no double-count),
20812
+ * so a service can replay ALL of its historical audit rows any number of times and converge to
20813
+ * exactly one activity_logs row each — including rows already dual-written in phase-1 (give the
20814
+ * dual-write the SAME key so backfill and dual-write converge). When null, behaves exactly as
20815
+ * before (plain insert).
20816
+ */
20384
20817
  dedupeKey?: InputMaybe<Scalars['String']['input']>;
20385
20818
  description?: InputMaybe<Scalars['String']['input']>;
20386
20819
  ipAddress?: InputMaybe<Scalars['String']['input']>;
@@ -20834,6 +21267,23 @@ export type RegisterWebhookEventSubjectsInput = {
20834
21267
  /** Mappings to create or update (at most 100 per call). */
20835
21268
  subjects: Array<WebhookEventSubjectInput>;
20836
21269
  };
21270
+ /** Input for registerWebhookSubscription */
21271
+ export type RegisterWebhookSubscriptionInput = {
21272
+ /** Operator-facing description */
21273
+ description?: InputMaybe<Scalars['String']['input']>;
21274
+ /** Whether delivery is active (default true) */
21275
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
21276
+ /** Event types to receive; empty = all events for the owner */
21277
+ events: Array<Scalars['String']['input']>;
21278
+ /** Owner identifier of the event stream (e.g. platform product id) */
21279
+ ownerId: Scalars['String']['input'];
21280
+ /** Owner namespace of the event stream (e.g. "newsletter-product") */
21281
+ ownerType: Scalars['String']['input'];
21282
+ /** HMAC-SHA256 signing secret (write-only, never returned) */
21283
+ secret: Scalars['String']['input'];
21284
+ /** Delivery URL (HTTPS in production) */
21285
+ url: Scalars['String']['input'];
21286
+ };
20837
21287
  export type RejectWaitlistInput = {
20838
21288
  id: Scalars['ID']['input'];
20839
21289
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -20883,14 +21333,6 @@ export type ReplaceApplicationTagsInput = {
20883
21333
  applicationId: Scalars['ID']['input'];
20884
21334
  tagIds: Array<Scalars['ID']['input']>;
20885
21335
  };
20886
- export type ReplaceChannelConnectionTagsInput = {
20887
- entityId: Scalars['ID']['input'];
20888
- tagIds: Array<Scalars['ID']['input']>;
20889
- };
20890
- export type ReplaceChannelTagsInput = {
20891
- entityId: Scalars['ID']['input'];
20892
- tagIds: Array<Scalars['ID']['input']>;
20893
- };
20894
21336
  export type ReplaceStoreProductTagsInput = {
20895
21337
  entityId: Scalars['ID']['input'];
20896
21338
  tagIds: Array<Scalars['ID']['input']>;
@@ -21036,6 +21478,8 @@ export type RevenueSummary = {
21036
21478
  export declare enum ReviewStatus {
21037
21479
  Approved = "APPROVED",
21038
21480
  ChangesRequested = "CHANGES_REQUESTED",
21481
+ Flagged = "FLAGGED",
21482
+ Hidden = "HIDDEN",
21039
21483
  InProgress = "IN_PROGRESS",
21040
21484
  Pending = "PENDING",
21041
21485
  Rejected = "REJECTED"
@@ -21651,6 +22095,15 @@ export type SeedFluidgridsUserToursResult = {
21651
22095
  updatedCount: Scalars['Int']['output'];
21652
22096
  workspaceId: Scalars['String']['output'];
21653
22097
  };
22098
+ export type SeedHookmoviesUserToursResult = {
22099
+ __typename?: 'SeedHookmoviesUserToursResult';
22100
+ createdCount: Scalars['Int']['output'];
22101
+ productId: Scalars['String']['output'];
22102
+ totalCount: Scalars['Int']['output'];
22103
+ tours: Array<SeededUserTourResult>;
22104
+ updatedCount: Scalars['Int']['output'];
22105
+ workspaceId: Scalars['String']['output'];
22106
+ };
21654
22107
  export type SeedIntelWatchtowerUserToursResult = {
21655
22108
  __typename?: 'SeedIntelWatchtowerUserToursResult';
21656
22109
  createdCount: Scalars['Int']['output'];
@@ -21660,6 +22113,15 @@ export type SeedIntelWatchtowerUserToursResult = {
21660
22113
  updatedCount: Scalars['Int']['output'];
21661
22114
  workspaceId: Scalars['String']['output'];
21662
22115
  };
22116
+ export type SeedSemanticFedUserToursResult = {
22117
+ __typename?: 'SeedSemanticFedUserToursResult';
22118
+ createdCount: Scalars['Int']['output'];
22119
+ productId: Scalars['String']['output'];
22120
+ totalCount: Scalars['Int']['output'];
22121
+ tours: Array<SeededUserTourResult>;
22122
+ updatedCount: Scalars['Int']['output'];
22123
+ workspaceId: Scalars['String']['output'];
22124
+ };
21663
22125
  export type SeedTheCulturePostUserToursResult = {
21664
22126
  __typename?: 'SeedTheCulturePostUserToursResult';
21665
22127
  createdCount: Scalars['Int']['output'];
@@ -21713,7 +22175,7 @@ export type SendExploreMessageInput = {
21713
22175
  attachments?: InputMaybe<Array<ExploreAttachmentInput>>;
21714
22176
  /** Omit to start a new conversation. The result's `conversation.token` is the secret to send back on every following turn. */
21715
22177
  conversationToken?: InputMaybe<Scalars['String']['input']>;
21716
- /** BCP-47 locale of the page (e.g. "en-US"). */
22178
+ /** 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. */
21717
22179
  locale?: InputMaybe<Scalars['String']['input']>;
21718
22180
  /** The visitor's question. */
21719
22181
  message: Scalars['String']['input'];
@@ -21723,6 +22185,8 @@ export type SendExploreMessageInput = {
21723
22185
  productSlug?: InputMaybe<Scalars['String']['input']>;
21724
22186
  /** reCAPTCHA v3 token — required only when `exploreCatalog.captchaRequired`. */
21725
22187
  recaptchaToken?: InputMaybe<Scalars['String']['input']>;
22188
+ /** Where the visitor asked from. Omit (or send CHAT) for an ordinary chat turn. AVATAR on the first question of a new conversation asks the agent for an answer short enough to be read aloud; it is ignored on any later turn, on a turn with attachments, and while the deployment has forwarding switched off. */
22189
+ surface?: InputMaybe<ExploreSurface>;
21726
22190
  };
21727
22191
  export type SendExploreMessageResult = {
21728
22192
  __typename?: 'SendExploreMessageResult';
@@ -21758,6 +22222,11 @@ export type SendRoundMessageToCandidateInput = {
21758
22222
  message: Scalars['String']['input'];
21759
22223
  roundId: Scalars['ID']['input'];
21760
22224
  };
22225
+ export type ServiceEarningReversal = {
22226
+ __typename?: 'ServiceEarningReversal';
22227
+ entry: EarningsEntry;
22228
+ outcome: EarningReversalOutcome;
22229
+ };
21761
22230
  /** 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. */
21762
22231
  export type ServicePayoutStatus = {
21763
22232
  __typename?: 'ServicePayoutStatus';
@@ -21791,6 +22260,37 @@ export type ServiceRecordEarningInput = {
21791
22260
  sourceSubcategory?: InputMaybe<Scalars['String']['input']>;
21792
22261
  unitType?: InputMaybe<EarningUnitType>;
21793
22262
  };
22263
+ export type ServiceRefundPaymentInput = {
22264
+ /** Amount to refund in whole currency units. Partial refunds are allowed; the sum of a payment's refunds can never exceed the captured amount. */
22265
+ amount: Scalars['Float']['input'];
22266
+ /** Billing account the payment was charged on (through its BillingOrder or subscription). */
22267
+ billingAccountId: Scalars['ID']['input'];
22268
+ /** Optional; must match the payment currency when given. */
22269
+ currency?: InputMaybe<Scalars['String']['input']>;
22270
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
22271
+ /** Billing Payment id (not the provider's payment id). */
22272
+ paymentId: Scalars['ID']['input'];
22273
+ reason: Scalars['String']['input'];
22274
+ /** 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. */
22275
+ sourceIdempotencyKey: Scalars['String']['input'];
22276
+ };
22277
+ export type ServiceRefundPaymentResult = {
22278
+ __typename?: 'ServiceRefundPaymentResult';
22279
+ /** True when the key already had a refund and this call did not process it again. */
22280
+ alreadyProcessed: Scalars['Boolean']['output'];
22281
+ amount: Scalars['Float']['output'];
22282
+ currency: Scalars['String']['output'];
22283
+ error?: Maybe<Scalars['String']['output']>;
22284
+ gatewayRefundId?: Maybe<Scalars['String']['output']>;
22285
+ refundId: Scalars['ID']['output'];
22286
+ /** What is still refundable on the payment after this call. */
22287
+ refundableRemaining: Scalars['Float']['output'];
22288
+ /** Sum of the payment's pending, processing and completed refunds after this call. */
22289
+ refundedTotal: Scalars['Float']['output'];
22290
+ status: RefundRecordStatus;
22291
+ /** True when the provider accepted the refund (now or on an earlier call with the same key). */
22292
+ success: Scalars['Boolean']['output'];
22293
+ };
21794
22294
  export type ServiceRequestPayoutInput = {
21795
22295
  amount: Scalars['Float']['input'];
21796
22296
  /** Explicit billing account the payout is drawn from. */
@@ -21819,6 +22319,14 @@ export type ServiceResolvePayoutAccountInput = {
21819
22319
  /** Destination type for a newly-created placeholder account (defaults to BANK_ACCOUNT). */
21820
22320
  type?: InputMaybe<PayoutAccountType>;
21821
22321
  };
22322
+ export type ServiceReverseEarningInput = {
22323
+ /** Billing account the earning was recorded on. */
22324
+ billingAccountId: Scalars['ID']['input'];
22325
+ /** Why the earning is reversed (e.g. "Order COO-20261024-7F3A9C refunded"). */
22326
+ reason: Scalars['String']['input'];
22327
+ /** The sourceIdempotencyKey the earning was recorded with (serviceRecordEarning). */
22328
+ sourceIdempotencyKey: Scalars['String']['input'];
22329
+ };
21822
22330
  export type ServiceSyncPayoutStatusInput = {
21823
22331
  externalReference?: InputMaybe<Scalars['String']['input']>;
21824
22332
  failureReason?: InputMaybe<Scalars['String']['input']>;
@@ -22093,6 +22601,8 @@ export type SideloadAppInput = {
22093
22601
  workspaceType?: InputMaybe<Scalars['String']['input']>;
22094
22602
  };
22095
22603
  export type SignInInput = {
22604
+ /** Optional per-login UUIDv4 correlation nonce. This is not a credential or authorization grant. */
22605
+ clientSessionNonce?: InputMaybe<Scalars['ID']['input']>;
22096
22606
  email?: InputMaybe<Scalars['String']['input']>;
22097
22607
  password: Scalars['String']['input'];
22098
22608
  recaptchaToken?: InputMaybe<Scalars['String']['input']>;
@@ -22645,6 +23155,8 @@ export type StoreProduct = {
22645
23155
  weightUnit?: Maybe<WeightUnit>;
22646
23156
  /** Product width (physical products) */
22647
23157
  width?: Maybe<Scalars['Float']['output']>;
23158
+ /** For a WORKFLOW template: its nodes, required inputs and credentials and the cleaning report recorded at submission. Null for other products. */
23159
+ workflowTemplatePreview?: Maybe<WorkflowTemplatePreview>;
22648
23160
  zipFileUrl?: Maybe<Scalars['String']['output']>;
22649
23161
  };
22650
23162
  /** Input for fetching store product details */
@@ -22867,6 +23379,8 @@ export type SubmitPublisherVerificationInput = {
22867
23379
  documents: Array<PublisherVerificationDocumentInput>;
22868
23380
  legalName: Scalars['String']['input'];
22869
23381
  supportUrl?: InputMaybe<Scalars['String']['input']>;
23382
+ /** Tax form type that goes with taxId (for example PAN, GSTIN, W-9, W-8BEN). */
23383
+ taxFormType?: InputMaybe<Scalars['String']['input']>;
22870
23384
  taxId: Scalars['String']['input'];
22871
23385
  websiteUrl?: InputMaybe<Scalars['String']['input']>;
22872
23386
  };
@@ -22876,6 +23390,37 @@ export type SubmitSatisfactionSurveyInput = {
22876
23390
  rating: Scalars['Int']['input'];
22877
23391
  surveyId: Scalars['ID']['input'];
22878
23392
  };
23393
+ /** Publish a workspace workflow to the public store as a community template. */
23394
+ export type SubmitWorkflowTemplateInput = {
23395
+ /** Author name shown on the template. Required for your first template, when it also names your publisher profile; defaults to your publisher name afterwards. */
23396
+ authorName?: InputMaybe<Scalars['String']['input']>;
23397
+ /** Store category: automation, integration, data-processing, ai-ml, communication, devops, marketing, sales, support, productivity or finance. */
23398
+ category: Scalars['String']['input'];
23399
+ /** The workflow definition (definitionJson) to publish. Connection bindings, pinned run data and literal secrets are removed before it is stored. */
23400
+ definitionJson: Scalars['JSON']['input'];
23401
+ /** One-line summary shown on the template card (at most 500 characters). */
23402
+ description: Scalars['String']['input'];
23403
+ /** easy, medium or hard. */
23404
+ difficultyLevel?: InputMaybe<Scalars['String']['input']>;
23405
+ /** Estimated minutes to set the template up (1 to 1440). */
23406
+ estimatedTimeMinutes?: InputMaybe<Scalars['Int']['input']>;
23407
+ /** Iconify icon name, for example mdi:robot. */
23408
+ icon?: InputMaybe<Scalars['String']['input']>;
23409
+ /** Longer description (markdown) shown on the template page. */
23410
+ longDescription?: InputMaybe<Scalars['String']['input']>;
23411
+ /** Template name shown in the store (at most 120 characters). */
23412
+ name: Scalars['String']['input'];
23413
+ /** A note for the store reviewer. */
23414
+ notes?: InputMaybe<Scalars['String']['input']>;
23415
+ /** 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. */
23416
+ productId?: InputMaybe<Scalars['ID']['input']>;
23417
+ /** Workflow key the template was published from (lineage). */
23418
+ sourceWorkflowKey?: InputMaybe<Scalars['String']['input']>;
23419
+ /** Workflow version the template was published from (lineage). */
23420
+ sourceWorkflowVersion?: InputMaybe<Scalars['String']['input']>;
23421
+ /** Up to 10 search tags. */
23422
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
23423
+ };
22879
23424
  export type Subprocessor = {
22880
23425
  __typename?: 'Subprocessor';
22881
23426
  activatedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -23344,6 +23889,19 @@ export type SupportContextInput = {
23344
23889
  userId?: InputMaybe<Scalars['ID']['input']>;
23345
23890
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
23346
23891
  };
23892
+ /** A knowledge row a reply draft was built from. */
23893
+ export type SupportDraftCitation = {
23894
+ __typename?: 'SupportDraftCitation';
23895
+ id: Scalars['ID']['output'];
23896
+ kind: SupportDraftCitationKind;
23897
+ score: Scalars['Float']['output'];
23898
+ title: Scalars['String']['output'];
23899
+ };
23900
+ export declare enum SupportDraftCitationKind {
23901
+ CannedResponse = "CANNED_RESPONSE",
23902
+ Faq = "FAQ",
23903
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE"
23904
+ }
23347
23905
  export type SupportEraseResult = {
23348
23906
  __typename?: 'SupportEraseResult';
23349
23907
  anonymised: Scalars['Int']['output'];
@@ -23353,13 +23911,6 @@ export type SupportEraseResult = {
23353
23911
  retainedForLegalReason?: Maybe<Scalars['String']['output']>;
23354
23912
  service: Scalars['String']['output'];
23355
23913
  };
23356
- export declare enum SupportExportFormat {
23357
- Csv = "CSV",
23358
- Json = "JSON",
23359
- Po = "PO",
23360
- Xliff = "XLIFF",
23361
- Xlsx = "XLSX"
23362
- }
23363
23914
  export type SupportMessage = {
23364
23915
  __typename?: 'SupportMessage';
23365
23916
  attachmentCount: Scalars['Int']['output'];
@@ -23370,7 +23921,15 @@ export type SupportMessage = {
23370
23921
  /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */
23371
23922
  context?: Maybe<SupportContext>;
23372
23923
  createdAt: Scalars['DateTime']['output'];
23373
- id: Scalars['ID']['output'];
23924
+ /** The knowledge-base articles, FAQs and canned responses a draft was built from. Empty for every message that is not a draft. */
23925
+ draftCitations: Array<SupportDraftCitation>;
23926
+ /** When the draft was sent or discarded. */
23927
+ draftResolvedAt?: Maybe<Scalars['DateTime']['output']>;
23928
+ /** The agent reply that was sent from this draft, once sent. */
23929
+ draftSentMessageId?: Maybe<Scalars['String']['output']>;
23930
+ id: Scalars['ID']['output'];
23931
+ /** 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. */
23932
+ isDraft: Scalars['Boolean']['output'];
23374
23933
  isInternal: Scalars['Boolean']['output'];
23375
23934
  message: Scalars['String']['output'];
23376
23935
  ticket: SupportTicket;
@@ -23419,6 +23978,8 @@ export type SupportTicket = {
23419
23978
  metadata?: Maybe<Scalars['JSON']['output']>;
23420
23979
  priority: SupportTicketPriority;
23421
23980
  reopenedAt?: Maybe<Scalars['DateTime']['output']>;
23981
+ /** The open reply draft for this ticket, if any. Support staff only. */
23982
+ replyDraft?: Maybe<SupportMessage>;
23422
23983
  resolutionDue?: Maybe<Scalars['DateTime']['output']>;
23423
23984
  resolvedAt?: Maybe<Scalars['DateTime']['output']>;
23424
23985
  slaBreachStatus: SlaBreachStatus;
@@ -23434,6 +23995,8 @@ export type SupportTicket = {
23434
23995
  tenantId?: Maybe<Scalars['String']['output']>;
23435
23996
  ticketCategory?: Maybe<TicketCategory>;
23436
23997
  ticketNumber: Scalars['String']['output'];
23998
+ /** 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. */
23999
+ triageDecision?: Maybe<SupportTriageDecision>;
23437
24000
  updatedAt: Scalars['DateTime']['output'];
23438
24001
  user: User;
23439
24002
  userId: Scalars['String']['output'];
@@ -23484,6 +24047,99 @@ export declare enum SupportTicketStatus {
23484
24047
  Resolved = "RESOLVED",
23485
24048
  WaitingCustomer = "WAITING_CUSTOMER"
23486
24049
  }
24050
+ /** An agent the engine suggests for the ticket. A suggestion only: triage never assigns. */
24051
+ export type SupportTriageAssigneeSuggestion = {
24052
+ __typename?: 'SupportTriageAssigneeSuggestion';
24053
+ agentProfileId: Scalars['ID']['output'];
24054
+ /** Current tickets divided by the agent's ticket capacity. */
24055
+ load: Scalars['Float']['output'];
24056
+ /** Agent skills that matched the ticket's category and tags. */
24057
+ matchedSkills: Array<Scalars['String']['output']>;
24058
+ userId: Scalars['String']['output'];
24059
+ };
24060
+ /** 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. */
24061
+ export type SupportTriageDecision = {
24062
+ __typename?: 'SupportTriageDecision';
24063
+ category: SupportTicketCategory;
24064
+ /** True when triage set the category. */
24065
+ categoryApplied: Scalars['Boolean']['output'];
24066
+ /** Share of the evidence weight behind the proposed category (0–1). */
24067
+ categoryConfidence: Scalars['Float']['output'];
24068
+ /** Category the ticket has after triage. */
24069
+ categoryId?: Maybe<Scalars['String']['output']>;
24070
+ decidedAt: Scalars['DateTime']['output'];
24071
+ /** Actor who ran it; system:support-triage for automatic runs. */
24072
+ decidedBy: Scalars['String']['output'];
24073
+ /** Engine name and version that made the decision. */
24074
+ engine: Scalars['String']['output'];
24075
+ evidence: Array<SupportTriageEvidence>;
24076
+ /** Plain-language reasons for anything the engine left alone. */
24077
+ notes: Array<Scalars['String']['output']>;
24078
+ previousCategory: SupportTicketCategory;
24079
+ previousCategoryId?: Maybe<Scalars['String']['output']>;
24080
+ previousPriority: SupportTicketPriority;
24081
+ previousSlaPolicyId?: Maybe<Scalars['String']['output']>;
24082
+ priority: SupportTicketPriority;
24083
+ /** Phrases and similar-ticket votes that set the priority. */
24084
+ prioritySignals: Array<Scalars['String']['output']>;
24085
+ /** Category the evidence pointed to, applied or not. */
24086
+ proposedCategoryId?: Maybe<Scalars['String']['output']>;
24087
+ /** True when triage changed the SLA policy. */
24088
+ slaApplied: Scalars['Boolean']['output'];
24089
+ slaPolicyId?: Maybe<Scalars['String']['output']>;
24090
+ suggestedAssignee?: Maybe<SupportTriageAssigneeSuggestion>;
24091
+ trigger: SupportTriageTrigger;
24092
+ };
24093
+ /** The engine replayed over recent tickets people categorised and resolved, using only older tickets as evidence for each. */
24094
+ export type SupportTriageEvaluation = {
24095
+ __typename?: 'SupportTriageEvaluation';
24096
+ cases: Array<SupportTriageEvaluationCase>;
24097
+ /** Share of cases where the engine would apply a category. */
24098
+ categoryCoverage: Scalars['Float']['output'];
24099
+ /** Share of applied categories that match the person's choice. */
24100
+ categoryPrecision: Scalars['Float']['output'];
24101
+ correctCount: Scalars['Int']['output'];
24102
+ decidedCount: Scalars['Int']['output'];
24103
+ engine: Scalars['String']['output'];
24104
+ /** Share of cases where the engine's priority matches the final priority. */
24105
+ priorityAgreement: Scalars['Float']['output'];
24106
+ sampleSize: Scalars['Int']['output'];
24107
+ };
24108
+ /** One replayed ticket in a triage evaluation. */
24109
+ export type SupportTriageEvaluationCase = {
24110
+ __typename?: 'SupportTriageEvaluationCase';
24111
+ confidence: Scalars['Float']['output'];
24112
+ correct: Scalars['Boolean']['output'];
24113
+ decided: Scalars['Boolean']['output'];
24114
+ /** The category a person gave the ticket. */
24115
+ expectedCategoryId: Scalars['String']['output'];
24116
+ expectedPriority: SupportTicketPriority;
24117
+ /** The category the engine would have applied, or null when it would abstain. */
24118
+ predictedCategoryId?: Maybe<Scalars['String']['output']>;
24119
+ predictedPriority: SupportTicketPriority;
24120
+ ticketId: Scalars['ID']['output'];
24121
+ ticketNumber: Scalars['String']['output'];
24122
+ };
24123
+ /** A row the triage engine weighed: a similar resolved ticket or a published knowledge-base article. */
24124
+ export type SupportTriageEvidence = {
24125
+ __typename?: 'SupportTriageEvidence';
24126
+ id: Scalars['ID']['output'];
24127
+ kind: SupportTriageEvidenceKind;
24128
+ /** Ticket number for tickets, title for articles. */
24129
+ label: Scalars['String']['output'];
24130
+ /** Full-text relevance score (Postgres ts_rank). */
24131
+ score: Scalars['Float']['output'];
24132
+ };
24133
+ export declare enum SupportTriageEvidenceKind {
24134
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE",
24135
+ Ticket = "TICKET"
24136
+ }
24137
+ export declare enum SupportTriageTrigger {
24138
+ /** Run on demand by a support agent. */
24139
+ Manual = "MANUAL",
24140
+ /** Run automatically when the ticket was created. */
24141
+ TicketCreated = "TICKET_CREATED"
24142
+ }
23487
24143
  export type SuppressIdentifierInput = {
23488
24144
  channel: SuppressionChannel;
23489
24145
  expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -23649,18 +24305,6 @@ export type SyncWorkspaceFromWspaceResponse = {
23649
24305
  success: Scalars['Boolean']['output'];
23650
24306
  workspaceId?: Maybe<Scalars['String']['output']>;
23651
24307
  };
23652
- export type TagChannelConnectionInput = {
23653
- entityId: Scalars['ID']['input'];
23654
- metadata?: InputMaybe<Scalars['JSON']['input']>;
23655
- source?: InputMaybe<Scalars['String']['input']>;
23656
- tagId: Scalars['ID']['input'];
23657
- };
23658
- export type TagChannelInput = {
23659
- entityId: Scalars['ID']['input'];
23660
- metadata?: InputMaybe<Scalars['JSON']['input']>;
23661
- source?: InputMaybe<Scalars['String']['input']>;
23662
- tagId: Scalars['ID']['input'];
23663
- };
23664
24308
  export type TagStoreProductInput = {
23665
24309
  entityId: Scalars['ID']['input'];
23666
24310
  metadata?: InputMaybe<Scalars['JSON']['input']>;
@@ -24521,6 +25165,8 @@ export type TriggerNotificationWithTemplateInput = {
24521
25165
  /** Specific channel instance ID from channel service (takes precedence) */
24522
25166
  channelId?: InputMaybe<Scalars['ID']['input']>;
24523
25167
  expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
25168
+ /** At-most-once delivery key forwarded to channel-svc (same key + same input = one delivery) */
25169
+ idempotencyKey?: InputMaybe<Scalars['String']['input']>;
24524
25170
  /** Also deliver as in-app notification alongside the primary platform */
24525
25171
  includeInApp?: InputMaybe<Scalars['Boolean']['input']>;
24526
25172
  media?: InputMaybe<Array<NotificationMediaInput>>;
@@ -24558,14 +25204,6 @@ export type UnreadCountResult = {
24558
25204
  count: Scalars['Int']['output'];
24559
25205
  userId: Scalars['ID']['output'];
24560
25206
  };
24561
- export type UntagChannelConnectionInput = {
24562
- entityId: Scalars['ID']['input'];
24563
- tagId: Scalars['ID']['input'];
24564
- };
24565
- export type UntagChannelInput = {
24566
- entityId: Scalars['ID']['input'];
24567
- tagId: Scalars['ID']['input'];
24568
- };
24569
25207
  export type UntagStoreProductInput = {
24570
25208
  entityId: Scalars['ID']['input'];
24571
25209
  tagId: Scalars['ID']['input'];
@@ -24780,6 +25418,8 @@ export type UpdateContentPageInput = {
24780
25418
  category?: InputMaybe<Scalars['String']['input']>;
24781
25419
  content?: InputMaybe<Scalars['String']['input']>;
24782
25420
  contentFormat?: InputMaybe<Scalars['String']['input']>;
25421
+ /** Set, replace or (with null) withdraw the customer approval. Withdrawing it removes a case study from the public queries. */
25422
+ customerSignOff?: InputMaybe<CustomerSignOffInput>;
24783
25423
  excerpt?: InputMaybe<Scalars['String']['input']>;
24784
25424
  featured?: InputMaybe<Scalars['Boolean']['input']>;
24785
25425
  isPublished?: InputMaybe<Scalars['Boolean']['input']>;
@@ -25282,14 +25922,6 @@ export type UpdatePublisherInput = {
25282
25922
  organizationId?: InputMaybe<Scalars['ID']['input']>;
25283
25923
  websiteUrl?: InputMaybe<Scalars['String']['input']>;
25284
25924
  };
25285
- /** Input for updating RBAC configuration */
25286
- export type UpdateRbacConfigInput = {
25287
- description?: InputMaybe<Scalars['String']['input']>;
25288
- key: Scalars['String']['input'];
25289
- scopeId: Scalars['String']['input'];
25290
- value: Scalars['String']['input'];
25291
- valueType?: InputMaybe<Scalars['String']['input']>;
25292
- };
25293
25925
  export type UpdateRecurringBillingInput = {
25294
25926
  description?: InputMaybe<Scalars['String']['input']>;
25295
25927
  id: Scalars['ID']['input'];
@@ -25306,6 +25938,7 @@ export type UpdateResourceInput = {
25306
25938
  };
25307
25939
  export type UpdateReviewInput = {
25308
25940
  comment?: InputMaybe<Scalars['String']['input']>;
25941
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
25309
25942
  rating?: InputMaybe<Scalars['Int']['input']>;
25310
25943
  title?: InputMaybe<Scalars['String']['input']>;
25311
25944
  };
@@ -25630,6 +26263,19 @@ export type UpdateWebhookInput = {
25630
26263
  retryEnabled?: InputMaybe<Scalars['Boolean']['input']>;
25631
26264
  url?: InputMaybe<Scalars['String']['input']>;
25632
26265
  };
26266
+ /** Input for updateWebhookSubscription — all fields optional, omitted fields unchanged */
26267
+ export type UpdateWebhookSubscriptionInput = {
26268
+ /** Operator-facing description */
26269
+ description?: InputMaybe<Scalars['String']['input']>;
26270
+ /** Whether delivery is active */
26271
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
26272
+ /** Event types to receive; empty = all events for the owner */
26273
+ events?: InputMaybe<Array<Scalars['String']['input']>>;
26274
+ /** HMAC-SHA256 signing secret (write-only, never returned) */
26275
+ secret?: InputMaybe<Scalars['String']['input']>;
26276
+ /** Delivery URL (HTTPS in production) */
26277
+ url?: InputMaybe<Scalars['String']['input']>;
26278
+ };
25633
26279
  /** Input for updating an existing workspace */
25634
26280
  export type UpdateWorkspaceInput = {
25635
26281
  metadata?: InputMaybe<Scalars['JSON']['input']>;
@@ -26374,6 +27020,30 @@ export type WebhookDeliveryEdge = {
26374
27020
  cursor: Scalars['String']['output'];
26375
27021
  node: WebhookDelivery;
26376
27022
  };
27023
+ /** 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. */
27024
+ export type WebhookDeliveryLog = {
27025
+ __typename?: 'WebhookDeliveryLog';
27026
+ /** Number of attempts made */
27027
+ attemptCount: Scalars['Int']['output'];
27028
+ /** When the final attempt finished */
27029
+ deliveredAt: Scalars['DateTime']['output'];
27030
+ /** Error message of the final attempt (null on success) */
27031
+ error?: Maybe<Scalars['String']['output']>;
27032
+ /** Caller-supplied event ID (idempotency key) */
27033
+ eventId: Scalars['String']['output'];
27034
+ /** Event type that was dispatched */
27035
+ eventType: Scalars['String']['output'];
27036
+ /** Unique log row ID */
27037
+ id: Scalars['ID']['output'];
27038
+ /** Envelope payload that was signed and posted */
27039
+ payload: Scalars['JSON']['output'];
27040
+ /** HTTP status code of the final attempt (null on transport error) */
27041
+ statusCode?: Maybe<Scalars['Int']['output']>;
27042
+ /** Owning subscription ID */
27043
+ subscriptionId: Scalars['ID']['output'];
27044
+ /** Whether the final attempt succeeded */
27045
+ success: Scalars['Boolean']['output'];
27046
+ };
26377
27047
  export declare enum WebhookDeliveryStatus {
26378
27048
  Delivered = "DELIVERED",
26379
27049
  Delivering = "DELIVERING",
@@ -26381,6 +27051,30 @@ export declare enum WebhookDeliveryStatus {
26381
27051
  Pending = "PENDING",
26382
27052
  Retrying = "RETRYING"
26383
27053
  }
27054
+ /** Result of a single test delivery */
27055
+ export type WebhookDispatchResult = {
27056
+ __typename?: 'WebhookDispatchResult';
27057
+ /** Number of attempts made */
27058
+ attemptCount: Scalars['Int']['output'];
27059
+ /** Error message of the final attempt (null on success) */
27060
+ error?: Maybe<Scalars['String']['output']>;
27061
+ /** HTTP status code of the final attempt (null on transport error) */
27062
+ statusCode?: Maybe<Scalars['Int']['output']>;
27063
+ /** Whether the delivery succeeded */
27064
+ success: Scalars['Boolean']['output'];
27065
+ };
27066
+ /** Summary returned by the M2M dispatchWebhookEvent mutation */
27067
+ export type WebhookDispatchSummary = {
27068
+ __typename?: 'WebhookDispatchSummary';
27069
+ /** Subscriptions skipped because the event was already delivered (idempotent redispatch) */
27070
+ deduplicated: Scalars['Int']['output'];
27071
+ /** Subscriptions delivered successfully */
27072
+ delivered: Scalars['Int']['output'];
27073
+ /** Subscriptions that failed after all retry attempts */
27074
+ failed: Scalars['Int']['output'];
27075
+ /** Enabled subscriptions matched for the owner + event type */
27076
+ matched: Scalars['Int']['output'];
27077
+ };
26384
27078
  /** WebhookEvent represents a received webhook (transient, 7-day TTL) Used for debugging and monitoring only */
26385
27079
  export type WebhookEvent = {
26386
27080
  __typename?: 'WebhookEvent';
@@ -26527,6 +27221,34 @@ export declare enum WebhookStatus {
26527
27221
  Failed = "FAILED",
26528
27222
  Paused = "PAUSED"
26529
27223
  }
27224
+ /** 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. */
27225
+ export type WebhookSubscription = {
27226
+ __typename?: 'WebhookSubscription';
27227
+ /** Creation timestamp */
27228
+ createdAt: Scalars['DateTime']['output'];
27229
+ /** Delivery audit trail (most recent first) */
27230
+ deliveries: Array<WebhookDeliveryLog>;
27231
+ /** Operator-facing description */
27232
+ description?: Maybe<Scalars['String']['output']>;
27233
+ /** Whether delivery is active */
27234
+ enabled: Scalars['Boolean']['output'];
27235
+ /** Event types this endpoint receives; empty = all events for the owner */
27236
+ events: Array<Scalars['String']['output']>;
27237
+ /** Unique subscription ID */
27238
+ id: Scalars['ID']['output'];
27239
+ /** Owner identifier of the event stream (e.g. platform product id) */
27240
+ ownerId: Scalars['String']['output'];
27241
+ /** Owner namespace of the event stream (e.g. "newsletter-product") */
27242
+ ownerType: Scalars['String']['output'];
27243
+ /** Last update timestamp */
27244
+ updatedAt: Scalars['DateTime']['output'];
27245
+ /** Delivery URL (HTTPS in production) */
27246
+ url: Scalars['String']['output'];
27247
+ };
27248
+ /** 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. */
27249
+ export type WebhookSubscriptionDeliveriesArgs = {
27250
+ limit?: InputMaybe<Scalars['Int']['input']>;
27251
+ };
26530
27252
  export type WebhookTestResult = {
26531
27253
  __typename?: 'WebhookTestResult';
26532
27254
  error?: Maybe<Scalars['String']['output']>;
@@ -26569,6 +27291,163 @@ export type WithdrawConsentInput = {
26569
27291
  subjectId: Scalars['ID']['input'];
26570
27292
  subjectType: Scalars['String']['input'];
26571
27293
  };
27294
+ /** Result of withdrawing a template. */
27295
+ export type WithdrawWorkflowTemplateSubmissionResult = {
27296
+ __typename?: 'WithdrawWorkflowTemplateSubmissionResult';
27297
+ id: Scalars['ID']['output'];
27298
+ /** True when the template was deleted; false when it was only taken off the store. */
27299
+ removed: Scalars['Boolean']['output'];
27300
+ /** The template's status when it was kept (UNLISTED), null when removed. */
27301
+ status?: Maybe<ProductStatus>;
27302
+ };
27303
+ /** What was removed from the author's workflow before it was stored. */
27304
+ export type WorkflowTemplateCleaningReport = {
27305
+ __typename?: 'WorkflowTemplateCleaningReport';
27306
+ /** Where each cleared connection was (up to 200). */
27307
+ clearedConnections: Array<WorkflowTemplateFieldRef>;
27308
+ connectionsCleared: Scalars['Int']['output'];
27309
+ pinnedDataRemoved: Scalars['Boolean']['output'];
27310
+ /** Where each removed secret was (up to 200). */
27311
+ removedSecrets: Array<WorkflowTemplateFieldRef>;
27312
+ secretsRemoved: Scalars['Int']['output'];
27313
+ };
27314
+ /** Where in a template a cleared connection or removed secret was. */
27315
+ export type WorkflowTemplateFieldRef = {
27316
+ __typename?: 'WorkflowTemplateFieldRef';
27317
+ /** Path of the field inside the node, for example data.parameters.apiKey. */
27318
+ field: Scalars['String']['output'];
27319
+ nodeId?: Maybe<Scalars['String']['output']>;
27320
+ nodeLabel?: Maybe<Scalars['String']['output']>;
27321
+ nodeType?: Maybe<Scalars['String']['output']>;
27322
+ };
27323
+ /** A node type a template uses. */
27324
+ export type WorkflowTemplateNodeType = {
27325
+ __typename?: 'WorkflowTemplateNodeType';
27326
+ displayName: Scalars['String']['output'];
27327
+ nodeType: Scalars['String']['output'];
27328
+ nodeVersion: Scalars['String']['output'];
27329
+ /** BUILTIN or STORE. */
27330
+ publishType: Scalars['String']['output'];
27331
+ };
27332
+ /** What a reviewer sees about a workflow template before approving it. */
27333
+ export type WorkflowTemplatePreview = {
27334
+ __typename?: 'WorkflowTemplatePreview';
27335
+ /** Recorded at submission; null for templates stored before reports were kept. */
27336
+ cleaningReport?: Maybe<WorkflowTemplateCleaningReport>;
27337
+ /** The cleaned definition importers receive. */
27338
+ definitionJson?: Maybe<Scalars['JSON']['output']>;
27339
+ edgeCount: Scalars['Int']['output'];
27340
+ /** Nodes in the definition (all of them, not just distinct types). */
27341
+ nodeCount: Scalars['Int']['output'];
27342
+ nodeTypes: Array<WorkflowTemplateNodeType>;
27343
+ requiredCredentials: Array<WorkflowTemplateRequiredCredential>;
27344
+ requiredInputs: Array<WorkflowTemplateRequiredInput>;
27345
+ };
27346
+ /** A credential someone importing the template must connect. */
27347
+ export type WorkflowTemplateRequiredCredential = {
27348
+ __typename?: 'WorkflowTemplateRequiredCredential';
27349
+ /** connection: the node was bound to the author's saved connection, which was cleared at submission. reference: the template reads ${credentials.<name>}. */
27350
+ kind: Scalars['String']['output'];
27351
+ name: Scalars['String']['output'];
27352
+ nodeId?: Maybe<Scalars['String']['output']>;
27353
+ nodeLabel?: Maybe<Scalars['String']['output']>;
27354
+ nodeType?: Maybe<Scalars['String']['output']>;
27355
+ };
27356
+ /** A value someone importing the template must supply (a ${name} variable it reads). */
27357
+ export type WorkflowTemplateRequiredInput = {
27358
+ __typename?: 'WorkflowTemplateRequiredInput';
27359
+ label: Scalars['String']['output'];
27360
+ name: Scalars['String']['output'];
27361
+ required: Scalars['Boolean']['output'];
27362
+ /** secret when it fills a secret field (API key, token, ...), else string. */
27363
+ type: Scalars['String']['output'];
27364
+ /** Nodes that read it. */
27365
+ usedBy: Array<Scalars['String']['output']>;
27366
+ };
27367
+ /** 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. */
27368
+ export type WorkflowTemplateRevision = {
27369
+ __typename?: 'WorkflowTemplateRevision';
27370
+ authorName?: Maybe<Scalars['String']['output']>;
27371
+ category: Scalars['String']['output'];
27372
+ createdAt: Scalars['DateTime']['output'];
27373
+ description: Scalars['String']['output'];
27374
+ icon?: Maybe<Scalars['String']['output']>;
27375
+ id: Scalars['ID']['output'];
27376
+ /** Version currently live in the store. */
27377
+ liveVersion: Scalars['String']['output'];
27378
+ name: Scalars['String']['output'];
27379
+ /** Number of distinct node types the revision uses. */
27380
+ nodeCount: Scalars['Int']['output'];
27381
+ /** The author's note for the reviewer. */
27382
+ notes?: Maybe<Scalars['String']['output']>;
27383
+ /** What the revision does: nodes, required inputs and credentials, cleaning report. */
27384
+ preview?: Maybe<WorkflowTemplatePreview>;
27385
+ /** Store product id of the template it revises. */
27386
+ productId: Scalars['ID']['output'];
27387
+ productSlug: Scalars['String']['output'];
27388
+ /** Publisher profile name of the author. */
27389
+ publisherName?: Maybe<Scalars['String']['output']>;
27390
+ rejectedReason?: Maybe<Scalars['String']['output']>;
27391
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
27392
+ revision: Scalars['Int']['output'];
27393
+ status: WorkflowTemplateRevisionStatus;
27394
+ submittedAt: Scalars['DateTime']['output'];
27395
+ /** Actor id of the author who submitted it. */
27396
+ submittedBy: Scalars['String']['output'];
27397
+ tags: Array<Scalars['String']['output']>;
27398
+ updatedAt: Scalars['DateTime']['output'];
27399
+ /** Version this revision becomes when approved. */
27400
+ version: Scalars['String']['output'];
27401
+ };
27402
+ export type WorkflowTemplateRevisionList = {
27403
+ __typename?: 'WorkflowTemplateRevisionList';
27404
+ items: Array<WorkflowTemplateRevision>;
27405
+ totalCount: Scalars['Int']['output'];
27406
+ };
27407
+ /** PENDING_REVIEW while a store admin reviews it; REJECTED with a reason. */
27408
+ export declare enum WorkflowTemplateRevisionStatus {
27409
+ PendingReview = "PENDING_REVIEW",
27410
+ Rejected = "REJECTED"
27411
+ }
27412
+ /** One of your community workflow templates and where it is in review. */
27413
+ export type WorkflowTemplateSubmission = {
27414
+ __typename?: 'WorkflowTemplateSubmission';
27415
+ authorName?: Maybe<Scalars['String']['output']>;
27416
+ category?: Maybe<Scalars['String']['output']>;
27417
+ createdAt: Scalars['DateTime']['output'];
27418
+ description?: Maybe<Scalars['String']['output']>;
27419
+ /** Times the template has been imported. */
27420
+ downloads: Scalars['Int']['output'];
27421
+ icon?: Maybe<Scalars['String']['output']>;
27422
+ /** Store product id of the template. */
27423
+ id: Scalars['ID']['output'];
27424
+ name: Scalars['String']['output'];
27425
+ /** Number of distinct node types the template uses. */
27426
+ nodeCount: Scalars['Int']['output'];
27427
+ /** 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. */
27428
+ pendingRevision?: Maybe<WorkflowTemplateRevision>;
27429
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
27430
+ rejectedReason?: Maybe<Scalars['String']['output']>;
27431
+ reviewNotes?: Maybe<Scalars['String']['output']>;
27432
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
27433
+ /** How many times the template has been submitted. */
27434
+ revision: Scalars['Int']['output'];
27435
+ slug: Scalars['String']['output'];
27436
+ sourceWorkflowKey?: Maybe<Scalars['String']['output']>;
27437
+ sourceWorkflowVersion?: Maybe<Scalars['String']['output']>;
27438
+ /** PENDING_REVIEW while a store admin reviews it, PUBLISHED once approved, REJECTED with a reason, UNLISTED once taken off the store. */
27439
+ status: ProductStatus;
27440
+ submittedAt?: Maybe<Scalars['DateTime']['output']>;
27441
+ tags: Array<Scalars['String']['output']>;
27442
+ updatedAt: Scalars['DateTime']['output'];
27443
+ /** Template version (1.0.0 for the first submission, 1.1.0 for the second, ...). */
27444
+ version: Scalars['String']['output'];
27445
+ };
27446
+ export type WorkflowTemplateSubmissionList = {
27447
+ __typename?: 'WorkflowTemplateSubmissionList';
27448
+ items: Array<WorkflowTemplateSubmission>;
27449
+ totalCount: Scalars['Int']['output'];
27450
+ };
26572
27451
  /** Workspace type stub - represents a workspace entity from the workspace service This service doesn't own the Workspace model, but references it */
26573
27452
  export type Workspace = {
26574
27453
  __typename?: 'Workspace';
@@ -26724,6 +27603,8 @@ export type CreateAddOnsInput = {
26724
27603
  price: Scalars['Float']['input'];
26725
27604
  productId: Scalars['String']['input'];
26726
27605
  quotas: Array<AddonQuotaInput>;
27606
+ /** 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. */
27607
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26727
27608
  };
26728
27609
  export type CreatePlanInput = {
26729
27610
  currency?: InputMaybe<Scalars['String']['input']>;
@@ -26762,6 +27643,8 @@ export type UpdateAddOnsInput = {
26762
27643
  name?: InputMaybe<Scalars['String']['input']>;
26763
27644
  price?: InputMaybe<Scalars['Float']['input']>;
26764
27645
  quotas: Array<AddonQuotaInput>;
27646
+ /** Whether buying this add-on requires a paid subscription to its product. Omit to leave unchanged. */
27647
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26765
27648
  };
26766
27649
  export type UpdatePlanInput = {
26767
27650
  /** Immutable once set — see `price`. Throws CURRENCY_CHANGE_NOT_ALLOWED on an actual change. */