@burdenoff/microfe-timecampus 2026.1102.2 → 2026.1107.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 +713 -244
  2. package/dist/generated/global-types.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.d.ts +300 -0
  4. package/dist/generated/wspace-operations.d.ts.map +1 -1
  5. package/dist/generated/wspace-operations.js +1035 -903
  6. package/dist/generated/wspace-operations.js.map +1 -1
  7. package/dist/generated/wspace-types.d.ts +17396 -467
  8. package/dist/generated/wspace-types.d.ts.map +1 -1
  9. package/dist/generated/wspace-types.js +5 -1
  10. package/dist/generated/wspace-types.js.map +1 -1
  11. package/dist/index.js +7 -7
  12. package/dist/timecampus/TimeCampusRoutes.d.ts.map +1 -1
  13. package/dist/timecampus/TimeCampusRoutes.js +10 -6
  14. package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
  15. package/dist/timecampus/index.js +7 -7
  16. package/dist/timecampus/pages/extend/TimeTriggersPage.d.ts +2 -0
  17. package/dist/timecampus/pages/extend/TimeTriggersPage.d.ts.map +1 -0
  18. package/dist/timecampus/pages/extend/TimeTriggersPage.js +606 -0
  19. package/dist/timecampus/pages/extend/TimeTriggersPage.js.map +1 -0
  20. package/dist/timecampus/pages/extend/extendHelpers.d.ts.map +1 -1
  21. package/dist/timecampus/pages/extend/extendHelpers.js +43 -42
  22. package/dist/timecampus/pages/extend/extendHelpers.js.map +1 -1
  23. package/dist/timecampus/pages/extend/triggerHelpers.d.ts +50 -0
  24. package/dist/timecampus/pages/extend/triggerHelpers.d.ts.map +1 -0
  25. package/dist/timecampus/pages/extend/triggerHelpers.js +114 -0
  26. package/dist/timecampus/pages/extend/triggerHelpers.js.map +1 -0
  27. package/package.json +1 -1
@@ -172,7 +172,10 @@ export declare enum ActivityAction {
172
172
  export type ActivityFilterInput = {
173
173
  action?: InputMaybe<Scalars['String']['input']>;
174
174
  actorId?: InputMaybe<Scalars['String']['input']>;
175
- /** Only rows made by this kind of actor origin (BOFF-9649). The only recorded origin is `ai_assistant`: a change an AI assistant session made for its owner. */
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
+ */
176
179
  actorOrigin?: InputMaybe<Scalars['String']['input']>;
177
180
  /** Only rows made by this AI assistant session (BOFF-9649). */
178
181
  assistantSessionId?: InputMaybe<Scalars['String']['input']>;
@@ -314,6 +317,23 @@ export type AddFulfillmentTrackingEventInput = {
314
317
  occurredAt?: InputMaybe<Scalars['DateTime']['input']>;
315
318
  status: FulfillmentStatus;
316
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
+ };
317
337
  export type AddOnInputPayment = {
318
338
  id: Scalars['String']['input'];
319
339
  quantity?: InputMaybe<Scalars['Int']['input']>;
@@ -2368,6 +2388,32 @@ export declare enum CartStatus {
2368
2388
  /** Cart was merged into another cart (e.g., after login) */
2369
2389
  Merged = "MERGED"
2370
2390
  }
2391
+ export type CatalogProductSync = {
2392
+ __typename?: 'CatalogProductSync';
2393
+ productId: Scalars['ID']['output'];
2394
+ reason?: Maybe<Scalars['String']['output']>;
2395
+ slug: Scalars['String']['output'];
2396
+ status: CatalogProductSyncStatus;
2397
+ };
2398
+ /** What a catalog sync did to one Store listing of the node (BOFF-9458). */
2399
+ export declare enum CatalogProductSyncStatus {
2400
+ /** The listing is a draft, under review, rejected or archived; left alone. */
2401
+ InactiveListing = "INACTIVE_LISTING",
2402
+ /** The listing belongs to a publisher that is not a catalog publisher; left alone. */
2403
+ NotCatalogManaged = "NOT_CATALOG_MANAGED",
2404
+ /** The listing already matched; nothing was written. */
2405
+ Unchanged = "UNCHANGED",
2406
+ /** The listing's node contract now matches the catalog manifest. */
2407
+ Updated = "UPDATED",
2408
+ /** The listing is for another node version; left alone. */
2409
+ VersionMismatch = "VERSION_MISMATCH"
2410
+ }
2411
+ export type CatalogRegistrySync = {
2412
+ __typename?: 'CatalogRegistrySync';
2413
+ reason?: Maybe<Scalars['String']['output']>;
2414
+ /** wspace-workflow-svc's outcome (UPDATED, UNCHANGED, NOT_REGISTERED, INVALID_MANIFEST), or FAILED when it was not reached. */
2415
+ status: Scalars['String']['output'];
2416
+ };
2371
2417
  export type CategoryBreakdown = {
2372
2418
  __typename?: 'CategoryBreakdown';
2373
2419
  category: SupportTicketCategory;
@@ -2436,8 +2482,6 @@ export type Channel = {
2436
2482
  priority: Scalars['Int']['output'];
2437
2483
  /** Current channel status (admin-controlled: ACTIVE, INACTIVE, etc.) */
2438
2484
  status: ChannelStatus;
2439
- /** Tag assignments for this channel (stub — returns empty until wspace-tags-svc supports org-scoped assignments) */
2440
- tagAssignments: Array<ChannelTagAssignment>;
2441
2485
  /** Number of times this channel has been triggered (e.g., for workflows, automations) */
2442
2486
  triggerCount: Scalars['Int']['output'];
2443
2487
  /** Last update timestamp */
@@ -2530,8 +2574,6 @@ export type ChannelConnection = {
2530
2574
  needsTokenRefresh: Scalars['Boolean']['output'];
2531
2575
  /** Platform-specific metadata (channel IDs, team info, etc.) NOTE: Non-sensitive data only */
2532
2576
  platformMetadata?: Maybe<Scalars['JSON']['output']>;
2533
- /** Tag assignments for this connection (stub — returns empty until wspace-tags-svc supports org-scoped assignments) */
2534
- tagAssignments: Array<ChannelConnectionTagAssignment>;
2535
2577
  /** Connection test status message */
2536
2578
  testStatus?: Maybe<Scalars['String']['output']>;
2537
2579
  /** OAuth token expiration (for OAuth flows) */
@@ -2547,18 +2589,6 @@ export type ChannelConnectionList = {
2547
2589
  nextCursor?: Maybe<Scalars['String']['output']>;
2548
2590
  total: Scalars['Int']['output'];
2549
2591
  };
2550
- export type ChannelConnectionTagAssignment = {
2551
- __typename?: 'ChannelConnectionTagAssignment';
2552
- assignedAt?: Maybe<Scalars['DateTime']['output']>;
2553
- assignedBy?: Maybe<Scalars['ID']['output']>;
2554
- entityId: Scalars['ID']['output'];
2555
- entityType: Scalars['String']['output'];
2556
- id: Scalars['ID']['output'];
2557
- metadata?: Maybe<Scalars['JSON']['output']>;
2558
- source: Scalars['String']['output'];
2559
- tag?: Maybe<UniversalTag>;
2560
- tagId: Scalars['ID']['output'];
2561
- };
2562
2592
  /** Attachment input for channel delivery */
2563
2593
  export type ChannelDeliveryAttachmentInput = {
2564
2594
  /** Content (Base64 encoded) or URL */
@@ -2929,18 +2959,6 @@ export declare enum ChannelStatus {
2929
2959
  /** Channel is suspended (rate limit, violation) */
2930
2960
  Suspended = "SUSPENDED"
2931
2961
  }
2932
- export type ChannelTagAssignment = {
2933
- __typename?: 'ChannelTagAssignment';
2934
- assignedAt?: Maybe<Scalars['DateTime']['output']>;
2935
- assignedBy?: Maybe<Scalars['ID']['output']>;
2936
- entityId: Scalars['ID']['output'];
2937
- entityType: Scalars['String']['output'];
2938
- id: Scalars['ID']['output'];
2939
- metadata?: Maybe<Scalars['JSON']['output']>;
2940
- source: Scalars['String']['output'];
2941
- tag?: Maybe<UniversalTag>;
2942
- tagId: Scalars['ID']['output'];
2943
- };
2944
2962
  /** 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. */
2945
2963
  export declare enum ChannelType {
2946
2964
  /** Bi-directional platform channels: SLACK, TEAMS, DISCORD, WHATSAPP, WEBCHAT, INAPP, WEBHOOK. Processes inbound webhooks and supports DM conversations. */
@@ -4238,9 +4256,13 @@ export type CreateReleaseTrackInput = {
4238
4256
  };
4239
4257
  export type CreateReviewInput = {
4240
4258
  comment?: InputMaybe<Scalars['String']['input']>;
4259
+ isVerifiedInstall?: InputMaybe<Scalars['Boolean']['input']>;
4260
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
4241
4261
  productId: Scalars['String']['input'];
4242
4262
  rating: Scalars['Int']['input'];
4263
+ status?: InputMaybe<ReviewStatus>;
4243
4264
  title?: InputMaybe<Scalars['String']['input']>;
4265
+ verifiedPurchase?: InputMaybe<Scalars['Boolean']['input']>;
4244
4266
  };
4245
4267
  export type CreateReviewReplyInput = {
4246
4268
  productId: Scalars['ID']['input'];
@@ -4472,11 +4494,6 @@ export type CreateSupportTicketInput = {
4472
4494
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
4473
4495
  workspaceId?: InputMaybe<Scalars['String']['input']>;
4474
4496
  };
4475
- export type CreateTagInput = {
4476
- description?: InputMaybe<Scalars['String']['input']>;
4477
- name: Scalars['String']['input'];
4478
- slug: Scalars['String']['input'];
4479
- };
4480
4497
  export type CreateTemplateInput = {
4481
4498
  bodyTemplate: Scalars['String']['input'];
4482
4499
  /** Default delivery channel for this template (defaults to EMAIL if not specified) */
@@ -5596,6 +5613,73 @@ export declare enum DimensionUnit {
5596
5613
  Inch = "INCH",
5597
5614
  Meter = "METER"
5598
5615
  }
5616
+ /** What a directory sync did (or, in a dry run, would do) for one worker. */
5617
+ export declare enum DirectorySyncAction {
5618
+ Conflict = "CONFLICT",
5619
+ Create = "CREATE",
5620
+ Deactivate = "DEACTIVATE",
5621
+ Error = "ERROR",
5622
+ Reactivate = "REACTIVATE",
5623
+ Skip = "SKIP",
5624
+ Unchanged = "UNCHANGED",
5625
+ Update = "UPDATE"
5626
+ }
5627
+ export type DirectorySyncInput = {
5628
+ /** Compute the outcome without writing anything. */
5629
+ dryRun: Scalars['Boolean']['input'];
5630
+ source: DirectorySyncSource;
5631
+ /** The connector that sent the batch (its integration connection id), recorded as the actor on every account it creates, changes or deactivates. */
5632
+ sourceRef: Scalars['String']['input'];
5633
+ /** At most 200 workers per call. */
5634
+ workers: Array<DirectoryWorkerInput>;
5635
+ };
5636
+ export type DirectorySyncItem = {
5637
+ __typename?: 'DirectorySyncItem';
5638
+ action: DirectorySyncAction;
5639
+ detail?: Maybe<Scalars['String']['output']>;
5640
+ email?: Maybe<Scalars['String']['output']>;
5641
+ externalId: Scalars['String']['output'];
5642
+ userId?: Maybe<Scalars['ID']['output']>;
5643
+ };
5644
+ export type DirectorySyncResult = {
5645
+ __typename?: 'DirectorySyncResult';
5646
+ conflicts: Scalars['Int']['output'];
5647
+ created: Scalars['Int']['output'];
5648
+ deactivated: Scalars['Int']['output'];
5649
+ dryRun: Scalars['Boolean']['output'];
5650
+ errors: Scalars['Int']['output'];
5651
+ items: Array<DirectorySyncItem>;
5652
+ reactivated: Scalars['Int']['output'];
5653
+ skipped: Scalars['Int']['output'];
5654
+ unchanged: Scalars['Int']['output'];
5655
+ updated: Scalars['Int']['output'];
5656
+ };
5657
+ /** Where an HR-system directory sync comes from (BOFF-10564). */
5658
+ export declare enum DirectorySyncSource {
5659
+ SapSuccessfactors = "SAP_SUCCESSFACTORS",
5660
+ Workday = "WORKDAY"
5661
+ }
5662
+ /** 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. */
5663
+ export type DirectoryWorkerInput = {
5664
+ active: Scalars['Boolean']['input'];
5665
+ email?: InputMaybe<Scalars['String']['input']>;
5666
+ externalId: Scalars['String']['input'];
5667
+ familyName?: InputMaybe<Scalars['String']['input']>;
5668
+ givenName?: InputMaybe<Scalars['String']['input']>;
5669
+ };
5670
+ /** Input for the M2M dispatchWebhookEvent mutation */
5671
+ export type DispatchWebhookEventInput = {
5672
+ /** Caller-supplied event ID; enables idempotent redispatch per subscription */
5673
+ eventId?: InputMaybe<Scalars['String']['input']>;
5674
+ /** Event type being dispatched */
5675
+ eventType: Scalars['String']['input'];
5676
+ /** Owner identifier of the event stream (e.g. platform product id) */
5677
+ ownerId: Scalars['String']['input'];
5678
+ /** Owner namespace of the event stream (e.g. "newsletter-product") */
5679
+ ownerType: Scalars['String']['input'];
5680
+ /** Event payload; wrapped in the signed envelope as `data` */
5681
+ payload: Scalars['JSON']['input'];
5682
+ };
5599
5683
  /** DSAR mode — GDPR Art. 15 (access/export) or Art. 17 (erasure). */
5600
5684
  export declare enum DsarMode {
5601
5685
  Erase = "ERASE",
@@ -6088,6 +6172,8 @@ export type ExploreAgentSubmitInput = {
6088
6172
  message: Scalars['String']['input'];
6089
6173
  /** Catalog slug of the website the visitor is on. A hint only. */
6090
6174
  productSlug?: InputMaybe<Scalars['String']['input']>;
6175
+ /** The website avatar asked: the visitor sent this question from the avatar's own question box (BOFF-9797). A hint only. It may let a typed first question, or with the service's follow-up setting a later question of the same conversation, be answered in the shape the avatar can read aloud, when the service's settings allow it; it never changes any other turn. */
6176
+ readAloud?: InputMaybe<Scalars['Boolean']['input']>;
6091
6177
  };
6092
6178
  export type ExploreAgentUsage = {
6093
6179
  __typename?: 'ExploreAgentUsage';
@@ -6161,6 +6247,18 @@ export type ExploreConversationInfo = {
6161
6247
  /** Slug of the product website the conversation started on, as stored. Null when the visitor did not say. */
6162
6248
  productSlug?: Maybe<Scalars['String']['output']>;
6163
6249
  };
6250
+ /** One answer, the question it replies to, and where that pair sits in its conversation. Read by the answer's id, so the reader is bound to the exact answer it named rather than to whichever one happens to be newest. Always exactly two messages, however long the thread is. */
6251
+ export type ExploreConversationPair = {
6252
+ __typename?: 'ExploreConversationPair';
6253
+ /** The answer the read named, in whatever state it is in. An unfinished one is reconciled exactly as `exploreMessage` reconciles it. */
6254
+ answer: ExploreMessage;
6255
+ /** True when nothing has been written to the conversation after this answer: no later question, whatever became of it. */
6256
+ latest: Scalars['Boolean']['output'];
6257
+ /** The visitor's question that this answer replies to. */
6258
+ question: ExploreMessage;
6259
+ /** 1-based number of this question and answer in the conversation: the first question and its answer are turn 1. */
6260
+ turn: Scalars['Int']['output'];
6261
+ };
6164
6262
  /** A call-to-action button derived from a cited link. `kind` is one of: CONTACT PARTNERS PRICING SERVICES WAITLIST STORE APP DOCS OTHER. */
6165
6263
  export type ExploreCta = {
6166
6264
  __typename?: 'ExploreCta';
@@ -6258,6 +6356,13 @@ export type ExploreShareLink = {
6258
6356
  __typename?: 'ExploreShareLink';
6259
6357
  shareToken: Scalars['String']['output'];
6260
6358
  };
6359
+ /** Where on the website the visitor asked from. A hint about presentation only: it grants nothing and is never stored. */
6360
+ export declare enum ExploreSurface {
6361
+ /** The Avatar tab, whose answers the live avatar may read aloud: the first one of a conversation, and a later one where the deployment enables follow-ups. */
6362
+ Avatar = "AVATAR",
6363
+ /** The Chat view of the website assistant (the default when omitted). */
6364
+ Chat = "CHAT"
6365
+ }
6261
6366
  export type ExportApplicationsFilter = {
6262
6367
  appType?: InputMaybe<AppType>;
6263
6368
  category?: InputMaybe<Scalars['String']['input']>;
@@ -6347,37 +6452,6 @@ export type ExportSubscriber = {
6347
6452
  unsubscribedAt?: Maybe<Scalars['DateTime']['output']>;
6348
6453
  userId?: Maybe<Scalars['String']['output']>;
6349
6454
  };
6350
- export type ExportSupportInput = {
6351
- /** Date range filter - end date */
6352
- endDate?: InputMaybe<Scalars['DateTime']['input']>;
6353
- /** Export format (CSV or JSON) */
6354
- format: SupportExportFormat;
6355
- /** Include support messages in export */
6356
- includeMessages?: InputMaybe<Scalars['Boolean']['input']>;
6357
- /** Filter by priority */
6358
- priority?: InputMaybe<Array<SupportTicketPriority>>;
6359
- /** Date range filter - start date */
6360
- startDate?: InputMaybe<Scalars['DateTime']['input']>;
6361
- /** Filter by ticket status */
6362
- status?: InputMaybe<Array<SupportTicketStatus>>;
6363
- /** User ID for which to export support data */
6364
- userId: Scalars['ID']['input'];
6365
- /** Workspace ID (optional) */
6366
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
6367
- };
6368
- export type ExportSupportResponse = {
6369
- __typename?: 'ExportSupportResponse';
6370
- /** Download URL (when ready) */
6371
- downloadUrl?: Maybe<Scalars['String']['output']>;
6372
- /** Estimated number of records */
6373
- estimatedRecords?: Maybe<Scalars['Int']['output']>;
6374
- /** Export job ID */
6375
- jobId: Scalars['ID']['output'];
6376
- /** Message */
6377
- message: Scalars['String']['output'];
6378
- /** Export status */
6379
- status: Scalars['String']['output'];
6380
- };
6381
6455
  /** Filter for webhook event exports */
6382
6456
  export type ExportWebhookEventsFilter = {
6383
6457
  channelId?: InputMaybe<Scalars['ID']['input']>;
@@ -6665,12 +6739,6 @@ export type GeoPricingOverrideInput = {
6665
6739
  export type GetApplicationTagsInput = {
6666
6740
  applicationId: Scalars['ID']['input'];
6667
6741
  };
6668
- export type GetChannelConnectionTagsInput = {
6669
- entityId: Scalars['ID']['input'];
6670
- };
6671
- export type GetChannelTagsInput = {
6672
- entityId: Scalars['ID']['input'];
6673
- };
6674
6742
  export type GetStoreProductTagsInput = {
6675
6743
  entityId: Scalars['ID']['input'];
6676
6744
  };
@@ -8230,6 +8298,8 @@ export type Mutation = {
8230
8298
  acceptDeveloperOrgInvitation: DeveloperOrgMember;
8231
8299
  /** Accept an organization invite (must be logged in as the invited user) */
8232
8300
  acceptOrganizationInvite: OrganizationMember;
8301
+ /** Accept the current Marketplace & Developer Agreement on the calling user's publisher profile. The version must match the published one. */
8302
+ acceptPublisherDeveloperAgreement: Publisher;
8233
8303
  acceptSourcingOffer: SourcingOrderSummary;
8234
8304
  /** Signed (DESIGN 3.7). The provider is ready: RESERVED to ACTIVE. */
8235
8305
  activateAvatarMinutes: AvatarMinutesReservation;
@@ -8255,6 +8325,8 @@ export type Mutation = {
8255
8325
  addAppsToCollection: AppCollection;
8256
8326
  /** Add a payment method to an organization */
8257
8327
  addDeveloperOrgPaymentMethod: DeveloperOrgPaymentMethod;
8328
+ /** Add a payout method to the calling user's publisher profile. Requires the current developer agreement to be accepted. */
8329
+ addMyPublisherPayoutMethod: PublisherPayoutMethod;
8258
8330
  /** Append a tracking event to fulfillment history (admin) */
8259
8331
  addOrderTrackingEvent: FulfillmentTrackingEvent;
8260
8332
  /** Add a member to an organization */
@@ -8299,6 +8371,8 @@ export type Mutation = {
8299
8371
  approveReview: ProductReview;
8300
8372
  approveTranslation: Translation;
8301
8373
  approveWaitlist: NewsletterWaitlist;
8374
+ /** Admin approves a pending template revision: it becomes the live version of the template (the version goes up) and the revision is removed. */
8375
+ approveWorkflowTemplateRevision: WorkflowTemplateSubmission;
8302
8376
  /** Soft archive a billing account. Financial history is preserved and the account is removed from active billing operations. */
8303
8377
  archiveBillingAccount: BillingAccount;
8304
8378
  /** Archive a channel */
@@ -8576,7 +8650,6 @@ export type Mutation = {
8576
8650
  createSubscriptionEntitlement: StoreSubscriptionEntitlement;
8577
8651
  createSupportMessage: SupportMessage;
8578
8652
  createSupportTicket: SupportTicket;
8579
- createTag: ProductTag;
8580
8653
  /** Create a tax rate */
8581
8654
  createTaxRate: TaxRate;
8582
8655
  /** Create a new tenant (requires admin privileges) */
@@ -8737,7 +8810,6 @@ export type Mutation = {
8737
8810
  deleteSubscriptionEntitlement: Scalars['Boolean']['output'];
8738
8811
  deleteSupportMessage: Scalars['Boolean']['output'];
8739
8812
  deleteSupportTicket: Scalars['Boolean']['output'];
8740
- deleteTag: Scalars['Boolean']['output'];
8741
8813
  /** Delete a tax rate */
8742
8814
  deleteTaxRate: Scalars['Boolean']['output'];
8743
8815
  /** Soft delete a tenant */
@@ -8764,6 +8836,8 @@ export type Mutation = {
8764
8836
  /** 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. */
8765
8837
  deleteUserShippingAddress: Scalars['Boolean']['output'];
8766
8838
  deleteWebhook: Scalars['Boolean']['output'];
8839
+ /** Delete a webhook subscription and its delivery log */
8840
+ deleteWebhookSubscription: Scalars['Boolean']['output'];
8767
8841
  /** Admin delists a published product — removes it from store discovery for new users while preserving access for anyone who already installed it. */
8768
8842
  delistProduct: StoreProduct;
8769
8843
  /** Deliver the same notification to multiple recipients in bulk. More efficient than multiple single calls for broadcast scenarios. */
@@ -8786,6 +8860,8 @@ export type Mutation = {
8786
8860
  discardDLQEntry: Scalars['Boolean']['output'];
8787
8861
  /** Dismiss a tour for a user (with option to dismiss permanently) */
8788
8862
  dismissTour: TourUserProgress;
8863
+ /** 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. */
8864
+ dispatchWebhookEvent: WebhookDispatchSummary;
8789
8865
  duplicateNewsletter: Newsletter;
8790
8866
  /** Duplicate a tour with all its steps */
8791
8867
  duplicateTour: Tour;
@@ -8832,6 +8908,7 @@ export type Mutation = {
8832
8908
  exportWebhooks: DevportalExportJob;
8833
8909
  /** Feature a review */
8834
8910
  featureAppReview: AppReview;
8911
+ featureReview: ProductReview;
8835
8912
  fileDSAR: DsarRequest;
8836
8913
  /** 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. */
8837
8914
  flagOrderIssue: OrderIssueFlag;
@@ -8937,6 +9014,7 @@ export type Mutation = {
8937
9014
  mintSsoSession: AuthPayload;
8938
9015
  /** Moderate a review (admin) */
8939
9016
  moderateAppReview: AppReview;
9017
+ moderateReview: ProductReview;
8940
9018
  /** 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. */
8941
9019
  newsletterEraseSubject: NewsletterEraseResult;
8942
9020
  /** Export the subject's newsletter data: subscriber rows, per-list memberships, consent ledger entries, automation enrolments, waitlist entries. */
@@ -8954,6 +9032,8 @@ export type Mutation = {
8954
9032
  payInvoice: Invoice;
8955
9033
  permanentlyDeleteSchedule: Scalars['Boolean']['output'];
8956
9034
  placeLegalHold: LegalHold;
9035
+ /** Advance one asynchronous catalog build by a single poll (BOFF-9882). A catalog publish has no ApplicationVersion row, so nothing in this service polls its builds. Catalog CI keeps the `buildRef` of each pending outcome from publishCatalogNodeVersion and calls this until the status is terminal. For `ecr` each poll may move the build to its next stage (architecture builds, then the push); without these polls the image is never pushed. When an `ecr` build turns READY, the node's start-up snapshots are requested. Same authentication as publishCatalogNodeVersion: the shared callback secret, sent as an argument. Returns the outcome shape of publishCatalogNodeVersion ({ provider, status, image, error, reason, buildRef }), where `buildRef` is the handle to poll next. A failed status check returns PENDING with the same handle, so CI simply polls again. */
9036
+ pollCatalogNodeBuild: Scalars['JSON']['output'];
8957
9037
  /** Internal-only: polls "Deploy Devportal Node" GitHub Actions run history and records the result in NodeSandboxBuildCheck — see services/nodeSandboxBuildPoll.ts. Invoked on a schedule by global-scheduler-svc's INTERNAL_API executor; also callable from the admin build-log UI for an on-demand refresh. Returns `skipped: true` (not an error) when NODE_SANDBOX_DISPATCH_TOKEN is unset OR the GitHub call itself fails (e.g. the token lacks Actions:read) — callers must check `skipped` rather than assume a non-error response means it actually polled. */
8958
9038
  pollNodeSandboxBuildChecks: NodeSandboxBuildPollResult;
8959
9039
  prepareSupportAttachmentUpload: SupportAttachmentUploadSession;
@@ -8979,7 +9059,9 @@ export type Mutation = {
8979
9059
  publishApplicationVersion: ApplicationVersion;
8980
9060
  /** Developer-organization admin action (BOFF-9657): publish a draft (or rejected) version of a PRIVATE NODE application straight to the workspaces of your organization, without platform review. The version must carry a package whose validation passed, a READY sandbox image and no failed or running operation smoke test. `workspaceId` is a workspace you administer; its organization becomes the node's owning organization on the first publish, and every later publish must come from that organization. The version is never listed in the public Node Store; it is installable only into workspaces of the owning organization. Authorization is enforced in the resolver: the caller must be an OWNER or ADMIN of the application's developer organization (or own a personal application) and an admin of `workspaceId`. The gateway's organization scope cannot evaluate this today because user sessions carry no verified organization claim, so the directive declares the permission and authenticates the caller. */
8981
9061
  publishApplicationVersionToOrganization: ApplicationVersion;
8982
- /** Publish ONE curated catalog node version (from the fluidgrids-nodes repo) to every enabled sandbox provider — the same PublishOrchestrator the devportal path uses, so the two cannot drift. That drift is not hypothetical: the catalog previously had no publish trigger at all, so nodes were built and pinned by hand and 14 of 31 prod-bound nodes ended up running code older than fluidgrids-nodes main. One entrypoint, two triggers (devportal publish, catalog CI) is the fix. NOT actor-authenticated: the caller is CI, not a platform user or app, so this verifies a shared secret in the resolver (checked against DEVPORTAL_CALLBACK_SECRET, or CALLBACK_SECRET as shipped by the Secrets Manager bundle) exactly as reportNodeSandboxBuildStatus does. Sent as an argument rather than a header because global-public-gateway forwards only a fixed header allowlist to subgraphs. `zipUrl` must be fetchable by this service — CI uploads the packaged node and passes a presigned URL. `isFirstPublish` tells the orchestrator whether this node type has ever been built before, which is what lets it annotate a provider that cannot self-onboard (Cloudflare) instead of reporting a mystery failure. Defaults to false: a catalog node already running on Cloudflare has a Durable Object class, so only a genuinely new node should pass true. Returns a JSON array of per-provider outcomes so CI can log them and fail the job when nothing could build. */
9062
+ /** Apply a published catalog node version's manifest.json to the platform (BOFF-9458). Catalog CI calls this once a node version's image build is READY (and once per node for a backfill), sending the manifest.json it built from. The manifest is validated against nodeType@version, then global-store-svc refreshes the node contract inside the catalog publishers' Store listings of the node and the node's global registry row in wspace-workflow-svc. Nothing else is changed: other publishers' listings, install snapshots and DevPortal application versions stay as they are. Named publishCatalogNodeManifest, not sync…: global-store-svc owns the service-only Mutation.syncCatalogNodeManifest this forwards to, and both subgraphs share the global supergraph. Same authentication as publishCatalogNodeVersion: the shared callback secret, sent as an argument. Returns { ok, nodeType, version, errors?, error?, digest?, products?, registry? }; a validation failure or an unreachable store comes back with ok false rather than as a GraphQL error, so CI can report it per node. */
9063
+ publishCatalogNodeManifest: Scalars['JSON']['output'];
9064
+ /** Publish ONE curated catalog node version (from the fluidgrids-nodes repo) to every enabled sandbox provider — the same PublishOrchestrator the devportal path uses, so the two cannot drift. That drift is not hypothetical: the catalog previously had no publish trigger at all, so nodes were built and pinned by hand and 14 of 31 prod-bound nodes ended up running code older than fluidgrids-nodes main. One entrypoint, two triggers (devportal publish, catalog CI) is the fix. NOT actor-authenticated: the caller is CI, not a platform user or app, so this verifies a shared secret in the resolver (checked against DEVPORTAL_CALLBACK_SECRET, or CALLBACK_SECRET as shipped by the Secrets Manager bundle) exactly as reportNodeSandboxBuildStatus does. Sent as an argument rather than a header because global-public-gateway forwards only a fixed header allowlist to subgraphs. `zipUrl` must be fetchable by this service — CI uploads the packaged node and passes a presigned URL. `isFirstPublish` tells the orchestrator whether this node type has ever been built before, which is what lets it annotate a provider that cannot self-onboard (Cloudflare) instead of reporting a mystery failure. Defaults to false: a catalog node already running on Cloudflare has a Durable Object class, so only a genuinely new node should pass true. `providers` limits the publish to some of the providers the catalog rule enables (BOFF-9882). CI uses it to retry only a provider that an account limit turned away (reason BUILD_CONCURRENCY_LIMIT), without building the version a second time on the providers that already accepted it. Omitted, every enabled provider is published. A name the rule does not enable is reported as UNSUPPORTED and nothing is built for it. Returns a JSON array of per-provider outcomes so CI can log them and fail the job when nothing could build. */
8983
9065
  publishCatalogNodeVersion: Scalars['JSON']['output'];
8984
9066
  publishFAQ: Faq;
8985
9067
  publishKnowledgeBaseArticle: KnowledgeBaseArticle;
@@ -9054,6 +9136,8 @@ export type Mutation = {
9054
9136
  registerSupportAttachmentPart: Scalars['Boolean']['output'];
9055
9137
  /** Creates or updates subject mappings for a product. Idempotent: a product's service can call it on every deploy. An existing mapping can only be changed by the actor that registered it, or by a super admin. */
9056
9138
  registerWebhookEventSubjects: Array<WebhookEventSubject>;
9139
+ /** Register an outbound webhook endpoint for an owner */
9140
+ registerWebhookSubscription: WebhookSubscription;
9057
9141
  reinstatePublisher: Publisher;
9058
9142
  rejectApplication: Application;
9059
9143
  /** Platform admin only: reject a pending_review version with a reason. The developer can fix their submission and re-submit. */
@@ -9067,8 +9151,12 @@ export type Mutation = {
9067
9151
  /** Admin rejects a submitted product with a mandatory reason. Publisher can edit and resubmit afterwards. */
9068
9152
  rejectProduct: StoreProduct;
9069
9153
  rejectPublisher: Publisher;
9154
+ /** Admin rejects a pending payout method with a reason the publisher can act on. */
9155
+ rejectPublisherPayoutMethod: PublisherPayoutMethod;
9070
9156
  rejectReview: ProductReview;
9071
9157
  rejectWaitlist: NewsletterWaitlist;
9158
+ /** Admin rejects a pending template revision with a reason the author sees. The live version stays listed unchanged. */
9159
+ rejectWorkflowTemplateRevision: WorkflowTemplateRevision;
9072
9160
  releaseLegalHold: LegalHold;
9073
9161
  releaseSuppression: SuppressionEntry;
9074
9162
  removeAgentSkills: AgentProfile;
@@ -9087,6 +9175,8 @@ export type Mutation = {
9087
9175
  removeFromWishlist: Scalars['Boolean']['output'];
9088
9176
  /** Remove an interviewer from an interview round (admin). */
9089
9177
  removeInterviewerFromRound: Scalars['Boolean']['output'];
9178
+ /** Close one of the calling user's own payout methods. */
9179
+ removeMyPublisherPayoutMethod: Scalars['Boolean']['output'];
9090
9180
  /** Remove a member from an organization */
9091
9181
  removeOrganizationMember: Scalars['Boolean']['output'];
9092
9182
  /** Remove a passkey */
@@ -9130,8 +9220,6 @@ export type Mutation = {
9130
9220
  reorderTourSteps: Array<TourStep>;
9131
9221
  /** Replace the full set of tag bindings on an Application. */
9132
9222
  replaceApplicationTags: Array<ApplicationTagAssignment>;
9133
- replaceChannelConnectionTags: Array<ChannelConnectionTagAssignment>;
9134
- replaceChannelTags: Array<ChannelTagAssignment>;
9135
9223
  /** Replace all tags on a store product */
9136
9224
  replaceStoreProductTags: Array<StoreProductTagAssignment>;
9137
9225
  /** Replay one dead-lettered provider webhook through the durable worker. */
@@ -9145,6 +9233,7 @@ export type Mutation = {
9145
9233
  reportAppReview: AppReviewReport;
9146
9234
  /** 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. */
9147
9235
  reportNodeSandboxBuildStatus: Scalars['Boolean']['output'];
9236
+ reportReview: ProductReviewReport;
9148
9237
  /** Reprocess a failed webhook event */
9149
9238
  reprocessWebhook: WebhookProcessingResult;
9150
9239
  requestBillingPayout: PayoutRequest;
@@ -9294,6 +9383,8 @@ export type Mutation = {
9294
9383
  seedIntelWatchtowerUserTours: SeedIntelWatchtowerUserToursResult;
9295
9384
  /** Overwrite the built-in SemanticFed user-facing tours (first-login getting started, empty workspace, query console and policies) from the service-owned seed file. */
9296
9385
  seedSemanticFedUserTours: SeedSemanticFedUserToursResult;
9386
+ /** Overwrite the built-in Subscriber Bot user-facing tours (dashboard overview, adding a relationship and connecting a bank or card) from the service-owned seed file. */
9387
+ seedSubscriberbotUserTours: SeedSubscriberbotUserToursResult;
9297
9388
  /** Overwrite the built-in TheCulturePost user-facing tours from the service-owned seed file. */
9298
9389
  seedTheCulturePostUserTours: SeedTheCulturePostUserToursResult;
9299
9390
  /** Overwrite the built-in VibeControls user-facing tours for Support, Notifications, and Conversations from the service-owned seed file. */
@@ -9306,8 +9397,6 @@ export type Mutation = {
9306
9397
  /** Send a message to a channel */
9307
9398
  sendMessage: MessageDeliveryResult;
9308
9399
  sendNewsletter: Newsletter;
9309
- /** 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. */
9310
- sendProductWelcomeEmail: ChannelDeliveryResult;
9311
9400
  /** Send push MFA challenge to user's device */
9312
9401
  sendPushMFAChallenge: PushMfaChallengeResult;
9313
9402
  /** Send a message to the candidate for a specific round and mark it sent (admin). */
@@ -9415,6 +9504,10 @@ export type Mutation = {
9415
9504
  suspendTenant: Tenant;
9416
9505
  /** Suspend a workspace */
9417
9506
  suspendWorkspace: Workspace;
9507
+ /** M2M (BOFF-9458): apply a published catalog node version's manifest.json. Replaces the node contract (operations, inputs, outputs, adapters, endpoint) inside every active Store listing of that node owned by a catalog publisher, then refreshes the node's global registry row in wspace-workflow-svc. Listings of other publishers, other node versions and install snapshots are never changed. Idempotent. Only global-devportal-svc may call it: catalog CI reaches it through devportal's callback-secret mutation. */
9508
+ syncCatalogNodeManifest: SyncCatalogNodeManifestResult;
9509
+ /** 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. */
9510
+ syncDirectoryWorkersInternal: DirectorySyncResult;
9418
9511
  /** 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. */
9419
9512
  syncStoreSubmissionStatus: Scalars['Boolean']['output'];
9420
9513
  /** Sync tour steps (smart update in ONE call) Send all desired steps, backend handles: update existing, create new, delete removed */
@@ -9423,8 +9516,6 @@ export type Mutation = {
9423
9516
  syncWorkspaceDeletionFromWspace: SyncWorkspaceFromWspaceResponse;
9424
9517
  /** 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. */
9425
9518
  syncWorkspaceFromWspace: SyncWorkspaceFromWspaceResponse;
9426
- tagChannel: ChannelTagAssignment;
9427
- tagChannelConnection: ChannelConnectionTagAssignment;
9428
9519
  /** Assign a tag to a store product */
9429
9520
  tagStoreProduct: StoreProductTagAssignment;
9430
9521
  /** Test connection health */
@@ -9434,6 +9525,8 @@ export type Mutation = {
9434
9525
  /** Test RADIUS connection */
9435
9526
  testRADIUSConnection: Scalars['Boolean']['output'];
9436
9527
  testWebhook: WebhookTestResult;
9528
+ /** Send a synthetic test event to a webhook subscription and report the result */
9529
+ testWebhookSubscription: WebhookDispatchResult;
9437
9530
  toggleAddOn: Scalars['Boolean']['output'];
9438
9531
  /** Toggle the featured state of a store product (admin) */
9439
9532
  toggleFeatured: Scalars['Boolean']['output'];
@@ -9476,8 +9569,6 @@ export type Mutation = {
9476
9569
  unshareWorkflow: Application;
9477
9570
  unsubscribe: Scalars['Boolean']['output'];
9478
9571
  unsubscribeFromStore: Scalars['Boolean']['output'];
9479
- untagChannel: Scalars['Boolean']['output'];
9480
- untagChannelConnection: Scalars['Boolean']['output'];
9481
9572
  /** Remove a tag from a store product */
9482
9573
  untagStoreProduct: Scalars['Boolean']['output'];
9483
9574
  updateAPIKey: ApiKey;
@@ -9602,8 +9693,6 @@ export type Mutation = {
9602
9693
  updatePromotion: Promotion;
9603
9694
  updatePublisher: Publisher;
9604
9695
  updateQuota: Scalars['Boolean']['output'];
9605
- /** Update RBAC configuration for a scope */
9606
- updateRbacConfig: RbacConfig;
9607
9696
  updateRecurringBillingPlan: RecurringBillingPlan;
9608
9697
  /** Update a registered resource */
9609
9698
  updateResource: Resource;
@@ -9654,6 +9743,8 @@ export type Mutation = {
9654
9743
  updateUserPlatformConnectionNotifications: UserPlatformConnection;
9655
9744
  updateVariantStats: NewsletterVariant;
9656
9745
  updateWebhook: Webhook;
9746
+ /** Update a webhook subscription (URL, secret, events, enabled, description) */
9747
+ updateWebhookSubscription: WebhookSubscription;
9657
9748
  /** Update an existing workspace */
9658
9749
  updateWorkspace: Workspace;
9659
9750
  /** Update a workspace member's role */
@@ -9692,6 +9783,7 @@ export type Mutation = {
9692
9783
  verifyPasskeyRegistration: PasskeyRegistrationResult;
9693
9784
  /** Verify a payment method (micro-deposits) */
9694
9785
  verifyPaymentMethod: DeveloperOrgPaymentMethod;
9786
+ /** Admin verifies a pending payout method once the processor account is confirmed. externalAccountId is required unless the publisher already supplied one. */
9695
9787
  verifyPublisherPayoutMethod: PublisherPayoutMethod;
9696
9788
  /** 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. */
9697
9789
  verifyWhatsAppPairingCode: Scalars['Boolean']['output'];
@@ -9699,7 +9791,10 @@ export type Mutation = {
9699
9791
  voidInvoice: Invoice;
9700
9792
  /** Vote on a review (helpful/not helpful) */
9701
9793
  voteOnAppReview: AppReviewVote;
9794
+ voteOnReview: ProductReviewVote;
9702
9795
  withdrawConsent: ConsentRecord;
9796
+ /** 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. */
9797
+ withdrawWorkflowTemplateRevision: WorkflowTemplateSubmission;
9703
9798
  /** Withdraw one of your templates. A published template is taken off the store first; anything not live is deleted. */
9704
9799
  withdrawWorkflowTemplateSubmission: WithdrawWorkflowTemplateSubmissionResult;
9705
9800
  };
@@ -9713,6 +9808,10 @@ export type MutationAcceptOrganizationInviteArgs = {
9713
9808
  recaptchaToken?: InputMaybe<Scalars['String']['input']>;
9714
9809
  };
9715
9810
  /** Root mutation type */
9811
+ export type MutationAcceptPublisherDeveloperAgreementArgs = {
9812
+ version: Scalars['String']['input'];
9813
+ };
9814
+ /** Root mutation type */
9716
9815
  export type MutationAcceptSourcingOfferArgs = {
9717
9816
  offerId: Scalars['ID']['input'];
9718
9817
  };
@@ -9783,6 +9882,10 @@ export type MutationAddDeveloperOrgPaymentMethodArgs = {
9783
9882
  organizationId: Scalars['ID']['input'];
9784
9883
  };
9785
9884
  /** Root mutation type */
9885
+ export type MutationAddMyPublisherPayoutMethodArgs = {
9886
+ input: AddMyPublisherPayoutMethodInput;
9887
+ };
9888
+ /** Root mutation type */
9786
9889
  export type MutationAddOrderTrackingEventArgs = {
9787
9890
  input: AddFulfillmentTrackingEventInput;
9788
9891
  };
@@ -9928,6 +10031,11 @@ export type MutationApproveWaitlistArgs = {
9928
10031
  input: ApproveWaitlistInput;
9929
10032
  };
9930
10033
  /** Root mutation type */
10034
+ export type MutationApproveWorkflowTemplateRevisionArgs = {
10035
+ id: Scalars['ID']['input'];
10036
+ notes?: InputMaybe<Scalars['String']['input']>;
10037
+ };
10038
+ /** Root mutation type */
9931
10039
  export type MutationArchiveBillingAccountArgs = {
9932
10040
  id: Scalars['ID']['input'];
9933
10041
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -10727,10 +10835,6 @@ export type MutationCreateSupportTicketArgs = {
10727
10835
  input: CreateSupportTicketInput;
10728
10836
  };
10729
10837
  /** Root mutation type */
10730
- export type MutationCreateTagArgs = {
10731
- input: CreateTagInput;
10732
- };
10733
- /** Root mutation type */
10734
10838
  export type MutationCreateTaxRateArgs = {
10735
10839
  active?: InputMaybe<Scalars['Boolean']['input']>;
10736
10840
  country: Scalars['String']['input'];
@@ -11143,10 +11247,6 @@ export type MutationDeleteSupportTicketArgs = {
11143
11247
  id: Scalars['ID']['input'];
11144
11248
  };
11145
11249
  /** Root mutation type */
11146
- export type MutationDeleteTagArgs = {
11147
- id: Scalars['ID']['input'];
11148
- };
11149
- /** Root mutation type */
11150
11250
  export type MutationDeleteTaxRateArgs = {
11151
11251
  id: Scalars['ID']['input'];
11152
11252
  };
@@ -11213,6 +11313,10 @@ export type MutationDeleteWebhookArgs = {
11213
11313
  id: Scalars['ID']['input'];
11214
11314
  };
11215
11315
  /** Root mutation type */
11316
+ export type MutationDeleteWebhookSubscriptionArgs = {
11317
+ id: Scalars['ID']['input'];
11318
+ };
11319
+ /** Root mutation type */
11216
11320
  export type MutationDelistProductArgs = {
11217
11321
  id: Scalars['ID']['input'];
11218
11322
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -11272,6 +11376,10 @@ export type MutationDismissTourArgs = {
11272
11376
  userId: Scalars['ID']['input'];
11273
11377
  };
11274
11378
  /** Root mutation type */
11379
+ export type MutationDispatchWebhookEventArgs = {
11380
+ input: DispatchWebhookEventInput;
11381
+ };
11382
+ /** Root mutation type */
11275
11383
  export type MutationDuplicateNewsletterArgs = {
11276
11384
  id: Scalars['ID']['input'];
11277
11385
  newSlug: Scalars['String']['input'];
@@ -11403,6 +11511,11 @@ export type MutationFeatureAppReviewArgs = {
11403
11511
  id: Scalars['ID']['input'];
11404
11512
  };
11405
11513
  /** Root mutation type */
11514
+ export type MutationFeatureReviewArgs = {
11515
+ featured: Scalars['Boolean']['input'];
11516
+ id: Scalars['ID']['input'];
11517
+ };
11518
+ /** Root mutation type */
11406
11519
  export type MutationFileDsarArgs = {
11407
11520
  input: FileDsarInput;
11408
11521
  };
@@ -11680,6 +11793,13 @@ export type MutationModerateAppReviewArgs = {
11680
11793
  status: AppReviewStatus;
11681
11794
  };
11682
11795
  /** Root mutation type */
11796
+ export type MutationModerateReviewArgs = {
11797
+ id: Scalars['ID']['input'];
11798
+ note?: InputMaybe<Scalars['String']['input']>;
11799
+ rejectionReason?: InputMaybe<Scalars['String']['input']>;
11800
+ status: ReviewStatus;
11801
+ };
11802
+ /** Root mutation type */
11683
11803
  export type MutationNewsletterEraseSubjectArgs = {
11684
11804
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
11685
11805
  subjectId: Scalars['ID']['input'];
@@ -11731,6 +11851,14 @@ export type MutationPlaceLegalHoldArgs = {
11731
11851
  input: PlaceLegalHoldInput;
11732
11852
  };
11733
11853
  /** Root mutation type */
11854
+ export type MutationPollCatalogNodeBuildArgs = {
11855
+ buildRef: Scalars['String']['input'];
11856
+ nodeType: Scalars['String']['input'];
11857
+ provider: Scalars['String']['input'];
11858
+ secret: Scalars['String']['input'];
11859
+ version: Scalars['String']['input'];
11860
+ };
11861
+ /** Root mutation type */
11734
11862
  export type MutationPrepareSupportAttachmentUploadArgs = {
11735
11863
  input: PrepareSupportAttachmentUploadInput;
11736
11864
  };
@@ -11788,9 +11916,17 @@ export type MutationPublishApplicationVersionToOrganizationArgs = {
11788
11916
  workspaceId: Scalars['ID']['input'];
11789
11917
  };
11790
11918
  /** Root mutation type */
11919
+ export type MutationPublishCatalogNodeManifestArgs = {
11920
+ manifest: Scalars['JSON']['input'];
11921
+ nodeType: Scalars['String']['input'];
11922
+ secret: Scalars['String']['input'];
11923
+ version: Scalars['String']['input'];
11924
+ };
11925
+ /** Root mutation type */
11791
11926
  export type MutationPublishCatalogNodeVersionArgs = {
11792
11927
  isFirstPublish?: InputMaybe<Scalars['Boolean']['input']>;
11793
11928
  nodeType: Scalars['String']['input'];
11929
+ providers?: InputMaybe<Array<Scalars['String']['input']>>;
11794
11930
  secret: Scalars['String']['input'];
11795
11931
  version: Scalars['String']['input'];
11796
11932
  zipUrl: Scalars['String']['input'];
@@ -12014,6 +12150,10 @@ export type MutationRegisterWebhookEventSubjectsArgs = {
12014
12150
  input: RegisterWebhookEventSubjectsInput;
12015
12151
  };
12016
12152
  /** Root mutation type */
12153
+ export type MutationRegisterWebhookSubscriptionArgs = {
12154
+ input: RegisterWebhookSubscriptionInput;
12155
+ };
12156
+ /** Root mutation type */
12017
12157
  export type MutationReinstatePublisherArgs = {
12018
12158
  id: Scalars['ID']['input'];
12019
12159
  };
@@ -12057,6 +12197,11 @@ export type MutationRejectPublisherArgs = {
12057
12197
  reason: Scalars['String']['input'];
12058
12198
  };
12059
12199
  /** Root mutation type */
12200
+ export type MutationRejectPublisherPayoutMethodArgs = {
12201
+ id: Scalars['ID']['input'];
12202
+ reason: Scalars['String']['input'];
12203
+ };
12204
+ /** Root mutation type */
12060
12205
  export type MutationRejectReviewArgs = {
12061
12206
  id: Scalars['ID']['input'];
12062
12207
  };
@@ -12065,6 +12210,11 @@ export type MutationRejectWaitlistArgs = {
12065
12210
  input: RejectWaitlistInput;
12066
12211
  };
12067
12212
  /** Root mutation type */
12213
+ export type MutationRejectWorkflowTemplateRevisionArgs = {
12214
+ id: Scalars['ID']['input'];
12215
+ reason: Scalars['String']['input'];
12216
+ };
12217
+ /** Root mutation type */
12068
12218
  export type MutationReleaseLegalHoldArgs = {
12069
12219
  id: Scalars['ID']['input'];
12070
12220
  };
@@ -12112,6 +12262,10 @@ export type MutationRemoveInterviewerFromRoundArgs = {
12112
12262
  roundId: Scalars['ID']['input'];
12113
12263
  };
12114
12264
  /** Root mutation type */
12265
+ export type MutationRemoveMyPublisherPayoutMethodArgs = {
12266
+ id: Scalars['ID']['input'];
12267
+ };
12268
+ /** Root mutation type */
12115
12269
  export type MutationRemoveOrganizationMemberArgs = {
12116
12270
  organizationId: Scalars['String']['input'];
12117
12271
  userId: Scalars['String']['input'];
@@ -12224,14 +12378,6 @@ export type MutationReplaceApplicationTagsArgs = {
12224
12378
  input: ReplaceApplicationTagsInput;
12225
12379
  };
12226
12380
  /** Root mutation type */
12227
- export type MutationReplaceChannelConnectionTagsArgs = {
12228
- input: ReplaceChannelConnectionTagsInput;
12229
- };
12230
- /** Root mutation type */
12231
- export type MutationReplaceChannelTagsArgs = {
12232
- input: ReplaceChannelTagsInput;
12233
- };
12234
- /** Root mutation type */
12235
12381
  export type MutationReplaceStoreProductTagsArgs = {
12236
12382
  input: ReplaceStoreProductTagsInput;
12237
12383
  };
@@ -12268,6 +12414,12 @@ export type MutationReportNodeSandboxBuildStatusArgs = {
12268
12414
  status: Scalars['String']['input'];
12269
12415
  };
12270
12416
  /** Root mutation type */
12417
+ export type MutationReportReviewArgs = {
12418
+ details?: InputMaybe<Scalars['String']['input']>;
12419
+ reason: Scalars['String']['input'];
12420
+ reviewId: Scalars['ID']['input'];
12421
+ };
12422
+ /** Root mutation type */
12271
12423
  export type MutationReprocessWebhookArgs = {
12272
12424
  eventId: Scalars['ID']['input'];
12273
12425
  };
@@ -12647,10 +12799,6 @@ export type MutationSendNewsletterArgs = {
12647
12799
  id: Scalars['ID']['input'];
12648
12800
  };
12649
12801
  /** Root mutation type */
12650
- export type MutationSendProductWelcomeEmailArgs = {
12651
- input: ProductWelcomeEmailInput;
12652
- };
12653
- /** Root mutation type */
12654
12802
  export type MutationSendPushMfaChallengeArgs = {
12655
12803
  deviceId?: InputMaybe<Scalars['String']['input']>;
12656
12804
  };
@@ -12927,6 +13075,15 @@ export type MutationSuspendWorkspaceArgs = {
12927
13075
  id: Scalars['ID']['input'];
12928
13076
  };
12929
13077
  /** Root mutation type */
13078
+ export type MutationSyncCatalogNodeManifestArgs = {
13079
+ input: SyncCatalogNodeManifestInput;
13080
+ };
13081
+ /** Root mutation type */
13082
+ export type MutationSyncDirectoryWorkersInternalArgs = {
13083
+ input: DirectorySyncInput;
13084
+ workspaceId: Scalars['ID']['input'];
13085
+ };
13086
+ /** Root mutation type */
12930
13087
  export type MutationSyncStoreSubmissionStatusArgs = {
12931
13088
  input: SyncStoreSubmissionInput;
12932
13089
  };
@@ -12944,14 +13101,6 @@ export type MutationSyncWorkspaceFromWspaceArgs = {
12944
13101
  input: SyncWorkspaceFromWspaceInput;
12945
13102
  };
12946
13103
  /** Root mutation type */
12947
- export type MutationTagChannelArgs = {
12948
- input: TagChannelInput;
12949
- };
12950
- /** Root mutation type */
12951
- export type MutationTagChannelConnectionArgs = {
12952
- input: TagChannelConnectionInput;
12953
- };
12954
- /** Root mutation type */
12955
13104
  export type MutationTagStoreProductArgs = {
12956
13105
  input: TagStoreProductInput;
12957
13106
  };
@@ -12973,6 +13122,10 @@ export type MutationTestWebhookArgs = {
12973
13122
  id: Scalars['ID']['input'];
12974
13123
  };
12975
13124
  /** Root mutation type */
13125
+ export type MutationTestWebhookSubscriptionArgs = {
13126
+ id: Scalars['ID']['input'];
13127
+ };
13128
+ /** Root mutation type */
12976
13129
  export type MutationToggleAddOnArgs = {
12977
13130
  id: Scalars['ID']['input'];
12978
13131
  status: Scalars['Boolean']['input'];
@@ -13090,14 +13243,6 @@ export type MutationUnsubscribeFromStoreArgs = {
13090
13243
  storeId: Scalars['ID']['input'];
13091
13244
  };
13092
13245
  /** Root mutation type */
13093
- export type MutationUntagChannelArgs = {
13094
- input: UntagChannelInput;
13095
- };
13096
- /** Root mutation type */
13097
- export type MutationUntagChannelConnectionArgs = {
13098
- input: UntagChannelConnectionInput;
13099
- };
13100
- /** Root mutation type */
13101
13246
  export type MutationUntagStoreProductArgs = {
13102
13247
  input: UntagStoreProductInput;
13103
13248
  };
@@ -13485,10 +13630,6 @@ export type MutationUpdateQuotaArgs = {
13485
13630
  input: UpdateQuotaInput;
13486
13631
  };
13487
13632
  /** Root mutation type */
13488
- export type MutationUpdateRbacConfigArgs = {
13489
- input: UpdateRbacConfigInput;
13490
- };
13491
- /** Root mutation type */
13492
13633
  export type MutationUpdateRecurringBillingPlanArgs = {
13493
13634
  input: UpdateRecurringBillingInput;
13494
13635
  };
@@ -13680,6 +13821,11 @@ export type MutationUpdateWebhookArgs = {
13680
13821
  input: UpdateWebhookInput;
13681
13822
  };
13682
13823
  /** Root mutation type */
13824
+ export type MutationUpdateWebhookSubscriptionArgs = {
13825
+ id: Scalars['ID']['input'];
13826
+ input: UpdateWebhookSubscriptionInput;
13827
+ };
13828
+ /** Root mutation type */
13683
13829
  export type MutationUpdateWorkspaceArgs = {
13684
13830
  id: Scalars['ID']['input'];
13685
13831
  input: UpdateWorkspaceInput;
@@ -13792,6 +13938,7 @@ export type MutationVerifyPaymentMethodArgs = {
13792
13938
  };
13793
13939
  /** Root mutation type */
13794
13940
  export type MutationVerifyPublisherPayoutMethodArgs = {
13941
+ externalAccountId?: InputMaybe<Scalars['String']['input']>;
13795
13942
  id: Scalars['ID']['input'];
13796
13943
  };
13797
13944
  /** Root mutation type */
@@ -13811,10 +13958,19 @@ export type MutationVoteOnAppReviewArgs = {
13811
13958
  reviewId: Scalars['ID']['input'];
13812
13959
  };
13813
13960
  /** Root mutation type */
13961
+ export type MutationVoteOnReviewArgs = {
13962
+ isHelpful: Scalars['Boolean']['input'];
13963
+ reviewId: Scalars['ID']['input'];
13964
+ };
13965
+ /** Root mutation type */
13814
13966
  export type MutationWithdrawConsentArgs = {
13815
13967
  input: WithdrawConsentInput;
13816
13968
  };
13817
13969
  /** Root mutation type */
13970
+ export type MutationWithdrawWorkflowTemplateRevisionArgs = {
13971
+ productId: Scalars['ID']['input'];
13972
+ };
13973
+ /** Root mutation type */
13818
13974
  export type MutationWithdrawWorkflowTemplateSubmissionArgs = {
13819
13975
  id: Scalars['ID']['input'];
13820
13976
  };
@@ -16090,11 +16246,22 @@ export type ProductReview = {
16090
16246
  comment?: Maybe<Scalars['String']['output']>;
16091
16247
  context?: Maybe<Scalars['JSON']['output']>;
16092
16248
  createdAt: Scalars['DateTime']['output'];
16249
+ featuredAt?: Maybe<Scalars['DateTime']['output']>;
16093
16250
  helpful: Scalars['Int']['output'];
16094
16251
  id: Scalars['ID']['output'];
16252
+ isFeatured: Scalars['Boolean']['output'];
16253
+ isVerifiedInstall: Scalars['Boolean']['output'];
16254
+ metadata?: Maybe<Scalars['JSON']['output']>;
16255
+ moderatedAt?: Maybe<Scalars['DateTime']['output']>;
16256
+ moderatedBy?: Maybe<Scalars['String']['output']>;
16257
+ moderationNote?: Maybe<Scalars['String']['output']>;
16258
+ notHelpful: Scalars['Int']['output'];
16095
16259
  product: StoreProduct;
16096
16260
  productId: Scalars['String']['output'];
16261
+ publisherReply?: Maybe<ProductReviewReply>;
16097
16262
  rating: Scalars['Int']['output'];
16263
+ rejectionReason?: Maybe<Scalars['String']['output']>;
16264
+ reportCount: Scalars['Int']['output'];
16098
16265
  status: ReviewStatus;
16099
16266
  title?: Maybe<Scalars['String']['output']>;
16100
16267
  updatedAt: Scalars['DateTime']['output'];
@@ -16112,6 +16279,33 @@ export type ProductReviewReply = {
16112
16279
  reviewId: Scalars['ID']['output'];
16113
16280
  updatedAt: Scalars['DateTime']['output'];
16114
16281
  };
16282
+ export type ProductReviewReport = {
16283
+ __typename?: 'ProductReviewReport';
16284
+ actionTaken?: Maybe<Scalars['String']['output']>;
16285
+ context?: Maybe<Scalars['JSON']['output']>;
16286
+ createdAt: Scalars['DateTime']['output'];
16287
+ details?: Maybe<Scalars['String']['output']>;
16288
+ id: Scalars['ID']['output'];
16289
+ metadata?: Maybe<Scalars['JSON']['output']>;
16290
+ reason: Scalars['String']['output'];
16291
+ reportedBy: Scalars['String']['output'];
16292
+ reviewId: Scalars['ID']['output'];
16293
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
16294
+ reviewedBy?: Maybe<Scalars['String']['output']>;
16295
+ status: Scalars['String']['output'];
16296
+ updatedAt: Scalars['DateTime']['output'];
16297
+ };
16298
+ export type ProductReviewVote = {
16299
+ __typename?: 'ProductReviewVote';
16300
+ context?: Maybe<Scalars['JSON']['output']>;
16301
+ createdAt: Scalars['DateTime']['output'];
16302
+ id: Scalars['ID']['output'];
16303
+ isHelpful: Scalars['Boolean']['output'];
16304
+ metadata?: Maybe<Scalars['JSON']['output']>;
16305
+ reviewId: Scalars['ID']['output'];
16306
+ updatedAt: Scalars['DateTime']['output'];
16307
+ userId: Scalars['String']['output'];
16308
+ };
16115
16309
  export declare enum ProductStatus {
16116
16310
  Archived = "ARCHIVED",
16117
16311
  Deprecated = "DEPRECATED",
@@ -16121,15 +16315,6 @@ export declare enum ProductStatus {
16121
16315
  Rejected = "REJECTED",
16122
16316
  Unlisted = "UNLISTED"
16123
16317
  }
16124
- export type ProductTag = {
16125
- __typename?: 'ProductTag';
16126
- context?: Maybe<Scalars['JSON']['output']>;
16127
- createdAt: Scalars['DateTime']['output'];
16128
- description?: Maybe<Scalars['String']['output']>;
16129
- id: Scalars['ID']['output'];
16130
- name: Scalars['String']['output'];
16131
- slug: Scalars['String']['output'];
16132
- };
16133
16318
  export type ProductTourStatistics = {
16134
16319
  __typename?: 'ProductTourStatistics';
16135
16320
  averageCompletionRate: Scalars['Float']['output'];
@@ -16203,22 +16388,6 @@ export type ProductVariant = {
16203
16388
  /** Weight unit for this variant */
16204
16389
  weightUnit?: Maybe<WeightUnit>;
16205
16390
  };
16206
- export type ProductWelcomeEmailInput = {
16207
- /** 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. */
16208
- appUrl?: InputMaybe<Scalars['String']['input']>;
16209
- /** Idempotency key — same key + same input = at-most-once delivery. Recommended format: "welcome:<productSlug>:<userId>". */
16210
- idempotencyKey?: InputMaybe<Scalars['String']['input']>;
16211
- /** Organization ID for multi-tenancy / connection lookup. */
16212
- organizationId: Scalars['ID']['input'];
16213
- /** PlatformProduct.slug — e.g. "vibecontrols", "botlit", "workspaces". Falls back to the `default` template if no matching template is registered. */
16214
- productSlug: Scalars['String']['input'];
16215
- /** Recipient email address. */
16216
- recipientEmail: Scalars['String']['input'];
16217
- /** Recipient display name for the greeting line. Defaults to "there" if empty. First name is preferred. */
16218
- recipientName?: InputMaybe<Scalars['String']['input']>;
16219
- /** Optional unsubscribe URL injected into the footer. */
16220
- unsubscribeUrl?: InputMaybe<Scalars['String']['input']>;
16221
- };
16222
16391
  export type PromoCode = {
16223
16392
  __typename?: 'PromoCode';
16224
16393
  applicableProductIds: Array<Scalars['ID']['output']>;
@@ -16373,6 +16542,10 @@ export type Publisher = {
16373
16542
  context?: Maybe<Scalars['JSON']['output']>;
16374
16543
  country?: Maybe<Scalars['String']['output']>;
16375
16544
  createdAt: Scalars['DateTime']['output'];
16545
+ /** When the publisher accepted the Marketplace & Developer Agreement. Visible to the publisher and admins only. */
16546
+ developerAgreementAcceptedAt?: Maybe<Scalars['DateTime']['output']>;
16547
+ /** Version (YYYY-MM-DD) of the Marketplace & Developer Agreement the publisher accepted. Visible to the publisher and admins only. */
16548
+ developerAgreementVersion?: Maybe<Scalars['String']['output']>;
16376
16549
  /** The devportal developer organization that owns this publisher profile. Resolved via federation from global-devportal-svc. */
16377
16550
  developerOrganization?: Maybe<DeveloperOrganization>;
16378
16551
  email: Scalars['String']['output'];
@@ -16389,12 +16562,16 @@ export type Publisher = {
16389
16562
  rejectionReason?: Maybe<Scalars['String']['output']>;
16390
16563
  supportUrl?: Maybe<Scalars['String']['output']>;
16391
16564
  suspensionReason?: Maybe<Scalars['String']['output']>;
16565
+ /** Tax form type declared with the tax ID (for example PAN, GSTIN, W-9, W-8BEN). Visible to the publisher and admins only. */
16566
+ taxFormType?: Maybe<Scalars['String']['output']>;
16392
16567
  taxId?: Maybe<Scalars['String']['output']>;
16393
16568
  tier: PublisherTier;
16394
16569
  totalEarnings: Scalars['Float']['output'];
16395
16570
  totalSales: Scalars['Int']['output'];
16396
16571
  updatedAt: Scalars['DateTime']['output'];
16397
16572
  userId: Scalars['String']['output'];
16573
+ /** KYC documents submitted for review ([{type, filesSvcId, description, uploadedAt}]). Visible to the publisher and admins only. */
16574
+ verificationDocuments?: Maybe<Scalars['JSON']['output']>;
16398
16575
  verificationReviewedAt?: Maybe<Scalars['DateTime']['output']>;
16399
16576
  verificationReviewedBy?: Maybe<Scalars['String']['output']>;
16400
16577
  verificationStatus: PublisherVerificationStatus;
@@ -16413,17 +16590,70 @@ export type PublisherEarningsStatus = {
16413
16590
  reservedAmount: Scalars['Float']['output'];
16414
16591
  totalLifetimeAmount: Scalars['Float']['output'];
16415
16592
  };
16593
+ /** The calling user's progress through paid-listing publisher onboarding. */
16594
+ export type PublisherOnboardingStatus = {
16595
+ __typename?: 'PublisherOnboardingStatus';
16596
+ agreementUrl: Scalars['String']['output'];
16597
+ currentAgreementVersion: Scalars['String']['output'];
16598
+ payoutRoute: PublisherPayoutRoute;
16599
+ publisher?: Maybe<Publisher>;
16600
+ /** True when every step is COMPLETE, so the publisher may submit paid listings to stores that do not allow unverified publishers. */
16601
+ readyToSell: Scalars['Boolean']['output'];
16602
+ /** Publisher share of net sales revenue, in percent, under the published agreement. */
16603
+ revenueSharePercent: Scalars['Float']['output'];
16604
+ steps: Array<PublisherOnboardingStep>;
16605
+ };
16606
+ export type PublisherOnboardingStep = {
16607
+ __typename?: 'PublisherOnboardingStep';
16608
+ /** Free-text detail from a reviewer, such as a rejection reason. */
16609
+ detail?: Maybe<Scalars['String']['output']>;
16610
+ key: PublisherOnboardingStepKey;
16611
+ /** Machine-readable reason code for the status (for example REJECTED, AGREEMENT_OUTDATED). */
16612
+ reason?: Maybe<Scalars['String']['output']>;
16613
+ status: PublisherOnboardingStepStatus;
16614
+ };
16615
+ export declare enum PublisherOnboardingStepKey {
16616
+ DeveloperAgreement = "DEVELOPER_AGREEMENT",
16617
+ Kyc = "KYC",
16618
+ PayoutMethod = "PAYOUT_METHOD",
16619
+ Profile = "PROFILE",
16620
+ Tax = "TAX"
16621
+ }
16622
+ export declare enum PublisherOnboardingStepStatus {
16623
+ ActionRequired = "ACTION_REQUIRED",
16624
+ Blocked = "BLOCKED",
16625
+ Complete = "COMPLETE",
16626
+ InReview = "IN_REVIEW"
16627
+ }
16416
16628
  export type PublisherPayoutMethod = {
16417
16629
  __typename?: 'PublisherPayoutMethod';
16630
+ country?: Maybe<Scalars['String']['output']>;
16418
16631
  createdAt: Scalars['DateTime']['output'];
16632
+ currency?: Maybe<Scalars['String']['output']>;
16633
+ /** Masked label for the method, for example "HDFC Bank •••• 1234". Full account numbers are never stored. */
16634
+ displayLabel?: Maybe<Scalars['String']['output']>;
16419
16635
  externalAccountId?: Maybe<Scalars['String']['output']>;
16420
16636
  id: Scalars['ID']['output'];
16421
16637
  isDefault: Scalars['Boolean']['output'];
16638
+ /** Masked payout details (holder name, bank name, last four digits, bank code). */
16639
+ maskedDetails?: Maybe<Scalars['JSON']['output']>;
16640
+ /** The publisher that owns this payout method (resolved for admins and the owner). */
16641
+ publisher?: Maybe<Publisher>;
16422
16642
  publisherId: Scalars['ID']['output'];
16643
+ rejectionReason?: Maybe<Scalars['String']['output']>;
16644
+ /** PENDING (awaiting admin verification), VERIFIED, REJECTED, SUSPENDED or CLOSED. */
16423
16645
  status: Scalars['String']['output'];
16424
16646
  type: PayoutMethodType;
16425
16647
  verifiedAt?: Maybe<Scalars['DateTime']['output']>;
16426
16648
  };
16649
+ /** 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. */
16650
+ export type PublisherPayoutRoute = {
16651
+ __typename?: 'PublisherPayoutRoute';
16652
+ country?: Maybe<Scalars['String']['output']>;
16653
+ currency: Scalars['String']['output'];
16654
+ methodTypes: Array<PayoutMethodType>;
16655
+ processor: Scalars['String']['output'];
16656
+ };
16427
16657
  export declare enum PublisherTier {
16428
16658
  Enterprise = "ENTERPRISE",
16429
16659
  Individual = "INDIVIDUAL",
@@ -16502,9 +16732,15 @@ export type Query = {
16502
16732
  actionDefinitions: Array<ActionDefinition>;
16503
16733
  /** 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. */
16504
16734
  activeSchedules: Array<TourSchedule>;
16505
- /** 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. */
16735
+ /** 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. */
16506
16736
  activeSessions: SessionConnection;
16507
- /** 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. */
16737
+ /**
16738
+ * Count activity logs matching the filter (action, resource, resourceType, workspaceId, tenantId,
16739
+ * date range, etc.). Lets a service migrating its local audit table verify exact parity (local
16740
+ * table count == owner count for its slice) before dropping the local table. Uses the SAME
16741
+ * where-builder as `activityLogs`, and applies the SAME tenant/workspace scoping, so the count
16742
+ * matches the list it verifies.
16743
+ */
16508
16744
  activityCount: Scalars['Int']['output'];
16509
16745
  activityLog?: Maybe<ActivityLog>;
16510
16746
  activityLogs: ActivityLogConnection;
@@ -16736,6 +16972,8 @@ export type Query = {
16736
16972
  exploreConversationInfo: ExploreConversationInfo;
16737
16973
  /** The conversation's messages, oldest first. */
16738
16974
  exploreConversationMessages: Array<ExploreMessage>;
16975
+ /** One answer and the question it replies to, by the answer's id, from the conversation the token owns. Scoped exactly like `exploreMessage`: a token that owns nothing, an id from a different conversation, the id of a USER message and an unknown id are all reported as NOT_FOUND, never FORBIDDEN. So is an answer whose question cannot be told apart from another turn's, as when two questions were sent on the conversation at once. */
16976
+ exploreConversationPair?: Maybe<ExploreConversationPair>;
16739
16977
  /** Poll one message. Scoped by `conversationToken`; a token that does not own the message is reported as NOT_FOUND, never FORBIDDEN. */
16740
16978
  exploreMessage?: Maybe<ExploreMessage>;
16741
16979
  /** A shared conversation, read-only. Returns the transcript for a `shareToken` and nothing that would let the caller continue or modify the thread. */
@@ -16769,6 +17007,7 @@ export type Query = {
16769
17007
  /** 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). */
16770
17008
  getAllPlans: Array<Plan>;
16771
17009
  getAllQuotas: Array<Quota>;
17010
+ /** 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. */
16772
17011
  getAllQuotasAssignment: PaginatedQuotaAssignments;
16773
17012
  getAllQuotasOfSub: Array<QuotaAssignment>;
16774
17013
  getAllRecurringBillingPlans: Array<RecurringBillingPlan>;
@@ -16795,14 +17034,12 @@ export type Query = {
16795
17034
  getBillingWebhookLogs: BillingWebhookLogsPage;
16796
17035
  /** Get a channel by ID */
16797
17036
  getChannel?: Maybe<Channel>;
16798
- getChannelConnectionTags: Array<ChannelConnectionTagAssignment>;
16799
17037
  /** 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. */
16800
17038
  getChannelDeliveryAttempts: DeliveryAttemptList;
16801
17039
  /** Get organization-level channel settings. Returns defaults when no settings have been saved yet. */
16802
17040
  getChannelOrgSettings: ChannelOrgSettings;
16803
17041
  /** Get channel statistics */
16804
17042
  getChannelStats: ChannelStats;
16805
- getChannelTags: Array<ChannelTagAssignment>;
16806
17043
  /** Get recent webhook events for a channel. Supports cursor pagination — pass `cursor` from the previous page's `nextCursor`. */
16807
17044
  getChannelWebhookEvents: WebhookEventList;
16808
17045
  /** Get all channels with optional filtering */
@@ -16903,7 +17140,7 @@ export type Query = {
16903
17140
  getPromotion?: Maybe<Promotion>;
16904
17141
  /** Get usage analytics for a specific quota assignment */
16905
17142
  getQuotaAnalytics: QuotaUsageAnalytics;
16906
- /** Enhanced quota assignment query with analytics, pagination and filtering */
17143
+ /** The same status, inclusive createdAt and currentUsageSum filters as getAllQuotasAssignment, with analytics for the filtered page. */
16907
17144
  getQuotaAssignmentsWithAnalytics: PaginatedQuotaAssignmentsWithAnalytics;
16908
17145
  getQuotaUsageAndLimit: QuotaUsageAndLimit;
16909
17146
  getQuotaUsageDetails?: Maybe<PaginatedUsages>;
@@ -17098,6 +17335,10 @@ export type Query = {
17098
17335
  myPublisher?: Maybe<Publisher>;
17099
17336
  /** Earnings + payout status for the calling user's publisher profile, read from billing's canonical ledger. Self-scoped: resolved from the authenticated actor. */
17100
17337
  myPublisherEarningsStatus?: Maybe<PublisherEarningsStatus>;
17338
+ /** The calling user's paid-listing publisher onboarding checklist (BOFF-10634). */
17339
+ myPublisherOnboarding: PublisherOnboardingStatus;
17340
+ /** Payout methods on the calling user's publisher profile (closed methods excluded). */
17341
+ myPublisherPayoutMethods: Array<PublisherPayoutMethod>;
17101
17342
  myReviews: Array<ProductReview>;
17102
17343
  /** 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) */
17103
17344
  myRoles: MyRolesResult;
@@ -17198,6 +17439,8 @@ export type Query = {
17198
17439
  organizationScheduleQuotas: OrganizationScheduleQuotas;
17199
17440
  payoutRunHistory: Array<PayoutRunLog>;
17200
17441
  pendingDeveloperOrganizationVerifications: DeveloperOrganizationConnection;
17442
+ /** Payout methods awaiting admin verification (admin queue). */
17443
+ pendingPublisherPayoutMethods: Array<PublisherPayoutMethod>;
17201
17444
  /** Publishers awaiting verification review (admin queue). */
17202
17445
  pendingPublishers: Array<Publisher>;
17203
17446
  /** Admin queue: products awaiting review. */
@@ -17205,6 +17448,8 @@ export type Query = {
17205
17448
  /** Get pending scheduled notifications that are due for triggering */
17206
17449
  pendingScheduledNotifications: Array<ScheduledNotification>;
17207
17450
  pendingSurveys: CustomerSatisfactionSurveyConnection;
17451
+ /** Admin queue: new versions of published templates, oldest first. */
17452
+ pendingWorkflowTemplateRevisions: WorkflowTemplateRevisionList;
17208
17453
  /** Get permission check audit log */
17209
17454
  permissionAuditLog: Array<PermissionAuditLog>;
17210
17455
  /** 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. */
@@ -17237,6 +17482,7 @@ export type Query = {
17237
17482
  productOrders: ItemOrdersList;
17238
17483
  productReleases: Array<ProductRelease>;
17239
17484
  productReviews: Array<ProductReview>;
17485
+ productReviewsCount: Scalars['Int']['output'];
17240
17486
  /** Get shortcuts for a specific product (includes global shortcuts). Bounded by limit/offset to avoid unbounded fetches. */
17241
17487
  productShortcuts: Array<KeyboardShortcut>;
17242
17488
  /** Get product-level tour statistics */
@@ -17267,6 +17513,8 @@ export type Query = {
17267
17513
  publicResolvedContentPage?: Maybe<ProductContentPage>;
17268
17514
  publicScheduleTemplates: ScheduleTemplateConnection;
17269
17515
  publishedProducts: Array<StoreProduct>;
17516
+ /** Short-lived (5 minute) download URL for one of a publisher's KYC documents (admin review). */
17517
+ publisherVerificationDocumentUrl: Scalars['String']['output'];
17270
17518
  /** 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). */
17271
17519
  pushDevicesForUserInternal: Array<DeviceToken>;
17272
17520
  /** 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. */
@@ -17275,10 +17523,6 @@ export type Query = {
17275
17523
  rbacAnalytics: RbacAnalytics;
17276
17524
  /** Get RBAC configuration change history */
17277
17525
  rbacChangeHistory: Array<RbacChangeLog>;
17278
- /** Get RBAC configuration for a scope */
17279
- rbacConfig: Array<RbacConfig>;
17280
- /** Get a specific RBAC configuration value */
17281
- rbacConfigValue?: Maybe<RbacConfig>;
17282
17526
  recentArticles: Array<KnowledgeBaseArticle>;
17283
17527
  releaseAuditEvents: Array<ProductReleaseAuditEvent>;
17284
17528
  releaseTracks: Array<ReleaseTrack>;
@@ -17368,9 +17612,6 @@ export type Query = {
17368
17612
  syncOutboxEntry?: Maybe<SyncOutboxEntry>;
17369
17613
  /** Aggregate counts for the outbox, used by the admin dashboard tile. */
17370
17614
  syncOutboxStats: SyncOutboxStats;
17371
- tag?: Maybe<ProductTag>;
17372
- tagBySlug?: Maybe<ProductTag>;
17373
- tags: Array<ProductTag>;
17374
17615
  /** Get a single tenant by ID */
17375
17616
  tenant?: Maybe<Tenant>;
17376
17617
  /** Get a tenant by slug */
@@ -17465,6 +17706,10 @@ export type Query = {
17465
17706
  webhookEventCatalog: Array<WebhookEventCatalogEntry>;
17466
17707
  /** Registered subject mappings. Platform services and super admins only. */
17467
17708
  webhookEventSubjects: Array<WebhookEventSubject>;
17709
+ /** Fetch a single webhook subscription by ID */
17710
+ webhookSubscription?: Maybe<WebhookSubscription>;
17711
+ /** List webhook subscriptions for an owner (newest first) */
17712
+ webhookSubscriptions: Array<WebhookSubscription>;
17468
17713
  webhooks: Array<Webhook>;
17469
17714
  /** Get a single workspace by ID */
17470
17715
  workspace?: Maybe<Workspace>;
@@ -17494,6 +17739,7 @@ export type QueryActiveSchedulesArgs = {
17494
17739
  };
17495
17740
  /** Root query type */
17496
17741
  export type QueryActiveSessionsArgs = {
17742
+ clientSessionNonce?: InputMaybe<Scalars['ID']['input']>;
17497
17743
  pagination?: InputMaybe<PaginationInput>;
17498
17744
  };
17499
17745
  /** Root query type */
@@ -18214,6 +18460,11 @@ export type QueryExploreConversationMessagesArgs = {
18214
18460
  limit?: InputMaybe<Scalars['Int']['input']>;
18215
18461
  };
18216
18462
  /** Root query type */
18463
+ export type QueryExploreConversationPairArgs = {
18464
+ answerId: Scalars['ID']['input'];
18465
+ conversationToken: Scalars['String']['input'];
18466
+ };
18467
+ /** Root query type */
18217
18468
  export type QueryExploreMessageArgs = {
18218
18469
  conversationToken: Scalars['String']['input'];
18219
18470
  id: Scalars['ID']['input'];
@@ -18382,10 +18633,6 @@ export type QueryGetChannelArgs = {
18382
18633
  id: Scalars['ID']['input'];
18383
18634
  };
18384
18635
  /** Root query type */
18385
- export type QueryGetChannelConnectionTagsArgs = {
18386
- input: GetChannelConnectionTagsInput;
18387
- };
18388
- /** Root query type */
18389
18636
  export type QueryGetChannelDeliveryAttemptsArgs = {
18390
18637
  channelId: Scalars['ID']['input'];
18391
18638
  cursor?: InputMaybe<Scalars['String']['input']>;
@@ -18400,10 +18647,6 @@ export type QueryGetChannelStatsArgs = {
18400
18647
  id: Scalars['ID']['input'];
18401
18648
  };
18402
18649
  /** Root query type */
18403
- export type QueryGetChannelTagsArgs = {
18404
- input: GetChannelTagsInput;
18405
- };
18406
- /** Root query type */
18407
18650
  export type QueryGetChannelWebhookEventsArgs = {
18408
18651
  channelId: Scalars['ID']['input'];
18409
18652
  cursor?: InputMaybe<Scalars['String']['input']>;
@@ -19439,6 +19682,11 @@ export type QueryPendingDeveloperOrganizationVerificationsArgs = {
19439
19682
  offset?: InputMaybe<Scalars['Int']['input']>;
19440
19683
  };
19441
19684
  /** Root query type */
19685
+ export type QueryPendingPublisherPayoutMethodsArgs = {
19686
+ limit?: InputMaybe<Scalars['Int']['input']>;
19687
+ offset?: InputMaybe<Scalars['Int']['input']>;
19688
+ };
19689
+ /** Root query type */
19442
19690
  export type QueryPendingPublishersArgs = {
19443
19691
  limit?: InputMaybe<Scalars['Int']['input']>;
19444
19692
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -19460,6 +19708,12 @@ export type QueryPendingSurveysArgs = {
19460
19708
  offset?: InputMaybe<Scalars['Int']['input']>;
19461
19709
  };
19462
19710
  /** Root query type */
19711
+ export type QueryPendingWorkflowTemplateRevisionsArgs = {
19712
+ limit?: InputMaybe<Scalars['Int']['input']>;
19713
+ offset?: InputMaybe<Scalars['Int']['input']>;
19714
+ status?: InputMaybe<WorkflowTemplateRevisionStatus>;
19715
+ };
19716
+ /** Root query type */
19463
19717
  export type QueryPermissionAuditLogArgs = {
19464
19718
  filter?: InputMaybe<AuditLogFilterInput>;
19465
19719
  pagination?: InputMaybe<PaginationInput>;
@@ -19559,8 +19813,15 @@ export type QueryProductReleasesArgs = {
19559
19813
  };
19560
19814
  /** Root query type */
19561
19815
  export type QueryProductReviewsArgs = {
19816
+ isVerifiedPurchase?: InputMaybe<Scalars['Boolean']['input']>;
19562
19817
  limit?: InputMaybe<Scalars['Int']['input']>;
19563
19818
  offset?: InputMaybe<Scalars['Int']['input']>;
19819
+ productId: Scalars['String']['input'];
19820
+ rating?: InputMaybe<Scalars['Int']['input']>;
19821
+ status?: InputMaybe<ReviewStatus>;
19822
+ };
19823
+ /** Root query type */
19824
+ export type QueryProductReviewsCountArgs = {
19564
19825
  productId: Scalars['String']['input'];
19565
19826
  status?: InputMaybe<ReviewStatus>;
19566
19827
  };
@@ -19657,6 +19918,11 @@ export type QueryPublishedProductsArgs = {
19657
19918
  type?: InputMaybe<ProductType>;
19658
19919
  };
19659
19920
  /** Root query type */
19921
+ export type QueryPublisherVerificationDocumentUrlArgs = {
19922
+ filesSvcId: Scalars['ID']['input'];
19923
+ publisherId: Scalars['ID']['input'];
19924
+ };
19925
+ /** Root query type */
19660
19926
  export type QueryPushDevicesForUserInternalArgs = {
19661
19927
  productSlug: Scalars['String']['input'];
19662
19928
  userId: Scalars['ID']['input'];
@@ -19681,15 +19947,6 @@ export type QueryRbacChangeHistoryArgs = {
19681
19947
  scopeId: Scalars['String']['input'];
19682
19948
  };
19683
19949
  /** Root query type */
19684
- export type QueryRbacConfigArgs = {
19685
- scopeId: Scalars['String']['input'];
19686
- };
19687
- /** Root query type */
19688
- export type QueryRbacConfigValueArgs = {
19689
- key: Scalars['String']['input'];
19690
- scopeId: Scalars['String']['input'];
19691
- };
19692
- /** Root query type */
19693
19950
  export type QueryRecentArticlesArgs = {
19694
19951
  limit?: InputMaybe<Scalars['Int']['input']>;
19695
19952
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -19981,14 +20238,6 @@ export type QuerySyncOutboxEntryArgs = {
19981
20238
  id: Scalars['ID']['input'];
19982
20239
  };
19983
20240
  /** Root query type */
19984
- export type QueryTagArgs = {
19985
- id: Scalars['ID']['input'];
19986
- };
19987
- /** Root query type */
19988
- export type QueryTagBySlugArgs = {
19989
- slug: Scalars['String']['input'];
19990
- };
19991
- /** Root query type */
19992
20241
  export type QueryTenantArgs = {
19993
20242
  id: Scalars['ID']['input'];
19994
20243
  };
@@ -20257,6 +20506,15 @@ export type QueryWebhookEventSubjectsArgs = {
20257
20506
  productSlug?: InputMaybe<Scalars['String']['input']>;
20258
20507
  };
20259
20508
  /** Root query type */
20509
+ export type QueryWebhookSubscriptionArgs = {
20510
+ id: Scalars['ID']['input'];
20511
+ };
20512
+ /** Root query type */
20513
+ export type QueryWebhookSubscriptionsArgs = {
20514
+ ownerId?: InputMaybe<Scalars['String']['input']>;
20515
+ ownerType: Scalars['String']['input'];
20516
+ };
20517
+ /** Root query type */
20260
20518
  export type QueryWebhooksArgs = {
20261
20519
  applicationId: Scalars['ID']['input'];
20262
20520
  };
@@ -20578,18 +20836,6 @@ export declare enum RbacChangeType {
20578
20836
  VisibilityRuleRemoved = "VISIBILITY_RULE_REMOVED",
20579
20837
  VisibilityRuleUpdated = "VISIBILITY_RULE_UPDATED"
20580
20838
  }
20581
- /** RBAC configuration key-value pair */
20582
- export type RbacConfig = {
20583
- __typename?: 'RbacConfig';
20584
- createdAt: Scalars['DateTime']['output'];
20585
- description?: Maybe<Scalars['String']['output']>;
20586
- id: Scalars['ID']['output'];
20587
- key: Scalars['String']['output'];
20588
- scopeId: Scalars['String']['output'];
20589
- updatedAt: Scalars['DateTime']['output'];
20590
- value: Scalars['String']['output'];
20591
- valueType: Scalars['String']['output'];
20592
- };
20593
20839
  /** Delivery result for a single recipient within a platform delivery */
20594
20840
  export type RecipientDeliveryResult = {
20595
20841
  __typename?: 'RecipientDeliveryResult';
@@ -20622,13 +20868,25 @@ export type RecipientInput = {
20622
20868
  export type RecordActivityInput = {
20623
20869
  action: Scalars['String']['input'];
20624
20870
  actorId?: InputMaybe<Scalars['String']['input']>;
20625
- /** `ai_assistant` when an AI assistant session made the change (BOFF-9649). Honoured only from a service caller relaying a gateway-verified assistant-session marker (the be-sdk tracker); ignored for any other caller, so a user cannot tag or untag their own rows. */
20871
+ /**
20872
+ * `ai_assistant` when an AI assistant session made the change (BOFF-9649). Honoured only from a
20873
+ * service caller relaying a gateway-verified assistant-session marker (the be-sdk tracker); ignored
20874
+ * for any other caller, so a user cannot tag or untag their own rows.
20875
+ */
20626
20876
  actorOrigin?: InputMaybe<Scalars['String']['input']>;
20627
20877
  /** Proposal / idempotency key the assistant mutation ran under. Same trust rule as actorOrigin. */
20628
20878
  assistantCorrelationId?: InputMaybe<Scalars['String']['input']>;
20629
20879
  /** Relay session (assistant sandbox) that made the change. Same trust rule as actorOrigin. */
20630
20880
  assistantSessionId?: InputMaybe<Scalars['String']['input']>;
20631
- /** Optional idempotency key for backfill/import (audit phase-2). Derive a STABLE key from the source row (e.g. `global_auth_audit:<rowId>`). When set, the write UPSERTs on this key: if a row with the same `dedupeKey` already exists it is returned unchanged (no duplicate, no double-count), so a service can replay ALL of its historical audit rows any number of times and converge to exactly one activity_logs row each — including rows already dual-written in phase-1 (give the dual-write the SAME key so backfill and dual-write converge). When null, behaves exactly as before (plain insert). */
20881
+ /**
20882
+ * Optional idempotency key for backfill/import (audit phase-2). Derive a STABLE key from the
20883
+ * source row (e.g. `global_auth_audit:<rowId>`). When set, the write UPSERTs on this key: if a row
20884
+ * with the same `dedupeKey` already exists it is returned unchanged (no duplicate, no double-count),
20885
+ * so a service can replay ALL of its historical audit rows any number of times and converge to
20886
+ * exactly one activity_logs row each — including rows already dual-written in phase-1 (give the
20887
+ * dual-write the SAME key so backfill and dual-write converge). When null, behaves exactly as
20888
+ * before (plain insert).
20889
+ */
20632
20890
  dedupeKey?: InputMaybe<Scalars['String']['input']>;
20633
20891
  description?: InputMaybe<Scalars['String']['input']>;
20634
20892
  ipAddress?: InputMaybe<Scalars['String']['input']>;
@@ -21082,6 +21340,23 @@ export type RegisterWebhookEventSubjectsInput = {
21082
21340
  /** Mappings to create or update (at most 100 per call). */
21083
21341
  subjects: Array<WebhookEventSubjectInput>;
21084
21342
  };
21343
+ /** Input for registerWebhookSubscription */
21344
+ export type RegisterWebhookSubscriptionInput = {
21345
+ /** Operator-facing description */
21346
+ description?: InputMaybe<Scalars['String']['input']>;
21347
+ /** Whether delivery is active (default true) */
21348
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
21349
+ /** Event types to receive; empty = all events for the owner */
21350
+ events: Array<Scalars['String']['input']>;
21351
+ /** Owner identifier of the event stream (e.g. platform product id) */
21352
+ ownerId: Scalars['String']['input'];
21353
+ /** Owner namespace of the event stream (e.g. "newsletter-product") */
21354
+ ownerType: Scalars['String']['input'];
21355
+ /** HMAC-SHA256 signing secret (write-only, never returned) */
21356
+ secret: Scalars['String']['input'];
21357
+ /** Delivery URL (HTTPS in production) */
21358
+ url: Scalars['String']['input'];
21359
+ };
21085
21360
  export type RejectWaitlistInput = {
21086
21361
  id: Scalars['ID']['input'];
21087
21362
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -21131,14 +21406,6 @@ export type ReplaceApplicationTagsInput = {
21131
21406
  applicationId: Scalars['ID']['input'];
21132
21407
  tagIds: Array<Scalars['ID']['input']>;
21133
21408
  };
21134
- export type ReplaceChannelConnectionTagsInput = {
21135
- entityId: Scalars['ID']['input'];
21136
- tagIds: Array<Scalars['ID']['input']>;
21137
- };
21138
- export type ReplaceChannelTagsInput = {
21139
- entityId: Scalars['ID']['input'];
21140
- tagIds: Array<Scalars['ID']['input']>;
21141
- };
21142
21409
  export type ReplaceStoreProductTagsInput = {
21143
21410
  entityId: Scalars['ID']['input'];
21144
21411
  tagIds: Array<Scalars['ID']['input']>;
@@ -21284,6 +21551,8 @@ export type RevenueSummary = {
21284
21551
  export declare enum ReviewStatus {
21285
21552
  Approved = "APPROVED",
21286
21553
  ChangesRequested = "CHANGES_REQUESTED",
21554
+ Flagged = "FLAGGED",
21555
+ Hidden = "HIDDEN",
21287
21556
  InProgress = "IN_PROGRESS",
21288
21557
  Pending = "PENDING",
21289
21558
  Rejected = "REJECTED"
@@ -21926,6 +22195,15 @@ export type SeedSemanticFedUserToursResult = {
21926
22195
  updatedCount: Scalars['Int']['output'];
21927
22196
  workspaceId: Scalars['String']['output'];
21928
22197
  };
22198
+ export type SeedSubscriberbotUserToursResult = {
22199
+ __typename?: 'SeedSubscriberbotUserToursResult';
22200
+ createdCount: Scalars['Int']['output'];
22201
+ productId: Scalars['String']['output'];
22202
+ totalCount: Scalars['Int']['output'];
22203
+ tours: Array<SeededUserTourResult>;
22204
+ updatedCount: Scalars['Int']['output'];
22205
+ workspaceId: Scalars['String']['output'];
22206
+ };
21929
22207
  export type SeedTheCulturePostUserToursResult = {
21930
22208
  __typename?: 'SeedTheCulturePostUserToursResult';
21931
22209
  createdCount: Scalars['Int']['output'];
@@ -21989,6 +22267,8 @@ export type SendExploreMessageInput = {
21989
22267
  productSlug?: InputMaybe<Scalars['String']['input']>;
21990
22268
  /** reCAPTCHA v3 token — required only when `exploreCatalog.captchaRequired`. */
21991
22269
  recaptchaToken?: InputMaybe<Scalars['String']['input']>;
22270
+ /** 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. On a later turn it does the same only where the deployment enables follow-ups, and is ignored otherwise. It is always ignored on a turn with attachments, and while the deployment has forwarding switched off. */
22271
+ surface?: InputMaybe<ExploreSurface>;
21992
22272
  };
21993
22273
  export type SendExploreMessageResult = {
21994
22274
  __typename?: 'SendExploreMessageResult';
@@ -22403,6 +22683,8 @@ export type SideloadAppInput = {
22403
22683
  workspaceType?: InputMaybe<Scalars['String']['input']>;
22404
22684
  };
22405
22685
  export type SignInInput = {
22686
+ /** Optional per-login UUIDv4 correlation nonce. This is not a credential or authorization grant. */
22687
+ clientSessionNonce?: InputMaybe<Scalars['ID']['input']>;
22406
22688
  email?: InputMaybe<Scalars['String']['input']>;
22407
22689
  password: Scalars['String']['input'];
22408
22690
  recaptchaToken?: InputMaybe<Scalars['String']['input']>;
@@ -22955,6 +23237,8 @@ export type StoreProduct = {
22955
23237
  weightUnit?: Maybe<WeightUnit>;
22956
23238
  /** Product width (physical products) */
22957
23239
  width?: Maybe<Scalars['Float']['output']>;
23240
+ /** For a WORKFLOW template: its nodes, required inputs and credentials and the cleaning report recorded at submission. Null for other products. */
23241
+ workflowTemplatePreview?: Maybe<WorkflowTemplatePreview>;
22958
23242
  zipFileUrl?: Maybe<Scalars['String']['output']>;
22959
23243
  };
22960
23244
  /** Input for fetching store product details */
@@ -23177,6 +23461,8 @@ export type SubmitPublisherVerificationInput = {
23177
23461
  documents: Array<PublisherVerificationDocumentInput>;
23178
23462
  legalName: Scalars['String']['input'];
23179
23463
  supportUrl?: InputMaybe<Scalars['String']['input']>;
23464
+ /** Tax form type that goes with taxId (for example PAN, GSTIN, W-9, W-8BEN). */
23465
+ taxFormType?: InputMaybe<Scalars['String']['input']>;
23180
23466
  taxId: Scalars['String']['input'];
23181
23467
  websiteUrl?: InputMaybe<Scalars['String']['input']>;
23182
23468
  };
@@ -23208,7 +23494,7 @@ export type SubmitWorkflowTemplateInput = {
23208
23494
  name: Scalars['String']['input'];
23209
23495
  /** A note for the store reviewer. */
23210
23496
  notes?: InputMaybe<Scalars['String']['input']>;
23211
- /** Resubmit one of your own DRAFT, REJECTED or UNLISTED templates instead of creating a new one. The template keeps its id and slug and its version goes up by one. */
23497
+ /** 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. */
23212
23498
  productId?: InputMaybe<Scalars['ID']['input']>;
23213
23499
  /** Workflow key the template was published from (lineage). */
23214
23500
  sourceWorkflowKey?: InputMaybe<Scalars['String']['input']>;
@@ -23707,13 +23993,6 @@ export type SupportEraseResult = {
23707
23993
  retainedForLegalReason?: Maybe<Scalars['String']['output']>;
23708
23994
  service: Scalars['String']['output'];
23709
23995
  };
23710
- export declare enum SupportExportFormat {
23711
- Csv = "CSV",
23712
- Json = "JSON",
23713
- Po = "PO",
23714
- Xliff = "XLIFF",
23715
- Xlsx = "XLSX"
23716
- }
23717
23996
  export type SupportMessage = {
23718
23997
  __typename?: 'SupportMessage';
23719
23998
  attachmentCount: Scalars['Int']['output'];
@@ -24008,6 +24287,21 @@ export declare enum SuppressionReason {
24008
24287
  UserRequest = "USER_REQUEST",
24009
24288
  UserUnsubscribe = "USER_UNSUBSCRIBE"
24010
24289
  }
24290
+ export type SyncCatalogNodeManifestInput = {
24291
+ /** The node's manifest.json from fluidgrids-nodes, unchanged. */
24292
+ manifest: Scalars['JSON']['input'];
24293
+ nodeType: Scalars['String']['input'];
24294
+ nodeVersion: Scalars['String']['input'];
24295
+ };
24296
+ export type SyncCatalogNodeManifestResult = {
24297
+ __typename?: 'SyncCatalogNodeManifestResult';
24298
+ /** sha256 of the canonical catalog manifest. */
24299
+ digest: Scalars['String']['output'];
24300
+ nodeType: Scalars['String']['output'];
24301
+ nodeVersion: Scalars['String']['output'];
24302
+ products: Array<CatalogProductSync>;
24303
+ registry: CatalogRegistrySync;
24304
+ };
24011
24305
  /** Input for syncing channel users */
24012
24306
  export type SyncChannelUsersInput = {
24013
24307
  /** Channel ID */
@@ -24108,18 +24402,6 @@ export type SyncWorkspaceFromWspaceResponse = {
24108
24402
  success: Scalars['Boolean']['output'];
24109
24403
  workspaceId?: Maybe<Scalars['String']['output']>;
24110
24404
  };
24111
- export type TagChannelConnectionInput = {
24112
- entityId: Scalars['ID']['input'];
24113
- metadata?: InputMaybe<Scalars['JSON']['input']>;
24114
- source?: InputMaybe<Scalars['String']['input']>;
24115
- tagId: Scalars['ID']['input'];
24116
- };
24117
- export type TagChannelInput = {
24118
- entityId: Scalars['ID']['input'];
24119
- metadata?: InputMaybe<Scalars['JSON']['input']>;
24120
- source?: InputMaybe<Scalars['String']['input']>;
24121
- tagId: Scalars['ID']['input'];
24122
- };
24123
24405
  export type TagStoreProductInput = {
24124
24406
  entityId: Scalars['ID']['input'];
24125
24407
  metadata?: InputMaybe<Scalars['JSON']['input']>;
@@ -24980,6 +25262,8 @@ export type TriggerNotificationWithTemplateInput = {
24980
25262
  /** Specific channel instance ID from channel service (takes precedence) */
24981
25263
  channelId?: InputMaybe<Scalars['ID']['input']>;
24982
25264
  expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
25265
+ /** At-most-once delivery key forwarded to channel-svc (same key + same input = one delivery) */
25266
+ idempotencyKey?: InputMaybe<Scalars['String']['input']>;
24983
25267
  /** Also deliver as in-app notification alongside the primary platform */
24984
25268
  includeInApp?: InputMaybe<Scalars['Boolean']['input']>;
24985
25269
  media?: InputMaybe<Array<NotificationMediaInput>>;
@@ -25017,14 +25301,6 @@ export type UnreadCountResult = {
25017
25301
  count: Scalars['Int']['output'];
25018
25302
  userId: Scalars['ID']['output'];
25019
25303
  };
25020
- export type UntagChannelConnectionInput = {
25021
- entityId: Scalars['ID']['input'];
25022
- tagId: Scalars['ID']['input'];
25023
- };
25024
- export type UntagChannelInput = {
25025
- entityId: Scalars['ID']['input'];
25026
- tagId: Scalars['ID']['input'];
25027
- };
25028
25304
  export type UntagStoreProductInput = {
25029
25305
  entityId: Scalars['ID']['input'];
25030
25306
  tagId: Scalars['ID']['input'];
@@ -25743,14 +26019,6 @@ export type UpdatePublisherInput = {
25743
26019
  organizationId?: InputMaybe<Scalars['ID']['input']>;
25744
26020
  websiteUrl?: InputMaybe<Scalars['String']['input']>;
25745
26021
  };
25746
- /** Input for updating RBAC configuration */
25747
- export type UpdateRbacConfigInput = {
25748
- description?: InputMaybe<Scalars['String']['input']>;
25749
- key: Scalars['String']['input'];
25750
- scopeId: Scalars['String']['input'];
25751
- value: Scalars['String']['input'];
25752
- valueType?: InputMaybe<Scalars['String']['input']>;
25753
- };
25754
26022
  export type UpdateRecurringBillingInput = {
25755
26023
  description?: InputMaybe<Scalars['String']['input']>;
25756
26024
  id: Scalars['ID']['input'];
@@ -25767,6 +26035,7 @@ export type UpdateResourceInput = {
25767
26035
  };
25768
26036
  export type UpdateReviewInput = {
25769
26037
  comment?: InputMaybe<Scalars['String']['input']>;
26038
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
25770
26039
  rating?: InputMaybe<Scalars['Int']['input']>;
25771
26040
  title?: InputMaybe<Scalars['String']['input']>;
25772
26041
  };
@@ -26091,6 +26360,19 @@ export type UpdateWebhookInput = {
26091
26360
  retryEnabled?: InputMaybe<Scalars['Boolean']['input']>;
26092
26361
  url?: InputMaybe<Scalars['String']['input']>;
26093
26362
  };
26363
+ /** Input for updateWebhookSubscription — all fields optional, omitted fields unchanged */
26364
+ export type UpdateWebhookSubscriptionInput = {
26365
+ /** Operator-facing description */
26366
+ description?: InputMaybe<Scalars['String']['input']>;
26367
+ /** Whether delivery is active */
26368
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
26369
+ /** Event types to receive; empty = all events for the owner */
26370
+ events?: InputMaybe<Array<Scalars['String']['input']>>;
26371
+ /** HMAC-SHA256 signing secret (write-only, never returned) */
26372
+ secret?: InputMaybe<Scalars['String']['input']>;
26373
+ /** Delivery URL (HTTPS in production) */
26374
+ url?: InputMaybe<Scalars['String']['input']>;
26375
+ };
26094
26376
  /** Input for updating an existing workspace */
26095
26377
  export type UpdateWorkspaceInput = {
26096
26378
  metadata?: InputMaybe<Scalars['JSON']['input']>;
@@ -26835,6 +27117,30 @@ export type WebhookDeliveryEdge = {
26835
27117
  cursor: Scalars['String']['output'];
26836
27118
  node: WebhookDelivery;
26837
27119
  };
27120
+ /** 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. */
27121
+ export type WebhookDeliveryLog = {
27122
+ __typename?: 'WebhookDeliveryLog';
27123
+ /** Number of attempts made */
27124
+ attemptCount: Scalars['Int']['output'];
27125
+ /** When the final attempt finished */
27126
+ deliveredAt: Scalars['DateTime']['output'];
27127
+ /** Error message of the final attempt (null on success) */
27128
+ error?: Maybe<Scalars['String']['output']>;
27129
+ /** Caller-supplied event ID (idempotency key) */
27130
+ eventId: Scalars['String']['output'];
27131
+ /** Event type that was dispatched */
27132
+ eventType: Scalars['String']['output'];
27133
+ /** Unique log row ID */
27134
+ id: Scalars['ID']['output'];
27135
+ /** Envelope payload that was signed and posted */
27136
+ payload: Scalars['JSON']['output'];
27137
+ /** HTTP status code of the final attempt (null on transport error) */
27138
+ statusCode?: Maybe<Scalars['Int']['output']>;
27139
+ /** Owning subscription ID */
27140
+ subscriptionId: Scalars['ID']['output'];
27141
+ /** Whether the final attempt succeeded */
27142
+ success: Scalars['Boolean']['output'];
27143
+ };
26838
27144
  export declare enum WebhookDeliveryStatus {
26839
27145
  Delivered = "DELIVERED",
26840
27146
  Delivering = "DELIVERING",
@@ -26842,6 +27148,30 @@ export declare enum WebhookDeliveryStatus {
26842
27148
  Pending = "PENDING",
26843
27149
  Retrying = "RETRYING"
26844
27150
  }
27151
+ /** Result of a single test delivery */
27152
+ export type WebhookDispatchResult = {
27153
+ __typename?: 'WebhookDispatchResult';
27154
+ /** Number of attempts made */
27155
+ attemptCount: Scalars['Int']['output'];
27156
+ /** Error message of the final attempt (null on success) */
27157
+ error?: Maybe<Scalars['String']['output']>;
27158
+ /** HTTP status code of the final attempt (null on transport error) */
27159
+ statusCode?: Maybe<Scalars['Int']['output']>;
27160
+ /** Whether the delivery succeeded */
27161
+ success: Scalars['Boolean']['output'];
27162
+ };
27163
+ /** Summary returned by the M2M dispatchWebhookEvent mutation */
27164
+ export type WebhookDispatchSummary = {
27165
+ __typename?: 'WebhookDispatchSummary';
27166
+ /** Subscriptions skipped because the event was already delivered (idempotent redispatch) */
27167
+ deduplicated: Scalars['Int']['output'];
27168
+ /** Subscriptions delivered successfully */
27169
+ delivered: Scalars['Int']['output'];
27170
+ /** Subscriptions that failed after all retry attempts */
27171
+ failed: Scalars['Int']['output'];
27172
+ /** Enabled subscriptions matched for the owner + event type */
27173
+ matched: Scalars['Int']['output'];
27174
+ };
26845
27175
  /** WebhookEvent represents a received webhook (transient, 7-day TTL) Used for debugging and monitoring only */
26846
27176
  export type WebhookEvent = {
26847
27177
  __typename?: 'WebhookEvent';
@@ -26988,6 +27318,34 @@ export declare enum WebhookStatus {
26988
27318
  Failed = "FAILED",
26989
27319
  Paused = "PAUSED"
26990
27320
  }
27321
+ /** 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. */
27322
+ export type WebhookSubscription = {
27323
+ __typename?: 'WebhookSubscription';
27324
+ /** Creation timestamp */
27325
+ createdAt: Scalars['DateTime']['output'];
27326
+ /** Delivery audit trail (most recent first) */
27327
+ deliveries: Array<WebhookDeliveryLog>;
27328
+ /** Operator-facing description */
27329
+ description?: Maybe<Scalars['String']['output']>;
27330
+ /** Whether delivery is active */
27331
+ enabled: Scalars['Boolean']['output'];
27332
+ /** Event types this endpoint receives; empty = all events for the owner */
27333
+ events: Array<Scalars['String']['output']>;
27334
+ /** Unique subscription ID */
27335
+ id: Scalars['ID']['output'];
27336
+ /** Owner identifier of the event stream (e.g. platform product id) */
27337
+ ownerId: Scalars['String']['output'];
27338
+ /** Owner namespace of the event stream (e.g. "newsletter-product") */
27339
+ ownerType: Scalars['String']['output'];
27340
+ /** Last update timestamp */
27341
+ updatedAt: Scalars['DateTime']['output'];
27342
+ /** Delivery URL (HTTPS in production) */
27343
+ url: Scalars['String']['output'];
27344
+ };
27345
+ /** 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. */
27346
+ export type WebhookSubscriptionDeliveriesArgs = {
27347
+ limit?: InputMaybe<Scalars['Int']['input']>;
27348
+ };
26991
27349
  export type WebhookTestResult = {
26992
27350
  __typename?: 'WebhookTestResult';
26993
27351
  error?: Maybe<Scalars['String']['output']>;
@@ -27039,6 +27397,115 @@ export type WithdrawWorkflowTemplateSubmissionResult = {
27039
27397
  /** The template's status when it was kept (UNLISTED), null when removed. */
27040
27398
  status?: Maybe<ProductStatus>;
27041
27399
  };
27400
+ /** What was removed from the author's workflow before it was stored. */
27401
+ export type WorkflowTemplateCleaningReport = {
27402
+ __typename?: 'WorkflowTemplateCleaningReport';
27403
+ /** Where each cleared connection was (up to 200). */
27404
+ clearedConnections: Array<WorkflowTemplateFieldRef>;
27405
+ connectionsCleared: Scalars['Int']['output'];
27406
+ pinnedDataRemoved: Scalars['Boolean']['output'];
27407
+ /** Where each removed secret was (up to 200). */
27408
+ removedSecrets: Array<WorkflowTemplateFieldRef>;
27409
+ secretsRemoved: Scalars['Int']['output'];
27410
+ };
27411
+ /** Where in a template a cleared connection or removed secret was. */
27412
+ export type WorkflowTemplateFieldRef = {
27413
+ __typename?: 'WorkflowTemplateFieldRef';
27414
+ /** Path of the field inside the node, for example data.parameters.apiKey. */
27415
+ field: Scalars['String']['output'];
27416
+ nodeId?: Maybe<Scalars['String']['output']>;
27417
+ nodeLabel?: Maybe<Scalars['String']['output']>;
27418
+ nodeType?: Maybe<Scalars['String']['output']>;
27419
+ };
27420
+ /** A node type a template uses. */
27421
+ export type WorkflowTemplateNodeType = {
27422
+ __typename?: 'WorkflowTemplateNodeType';
27423
+ displayName: Scalars['String']['output'];
27424
+ nodeType: Scalars['String']['output'];
27425
+ nodeVersion: Scalars['String']['output'];
27426
+ /** BUILTIN or STORE. */
27427
+ publishType: Scalars['String']['output'];
27428
+ };
27429
+ /** What a reviewer sees about a workflow template before approving it. */
27430
+ export type WorkflowTemplatePreview = {
27431
+ __typename?: 'WorkflowTemplatePreview';
27432
+ /** Recorded at submission; null for templates stored before reports were kept. */
27433
+ cleaningReport?: Maybe<WorkflowTemplateCleaningReport>;
27434
+ /** The cleaned definition importers receive. */
27435
+ definitionJson?: Maybe<Scalars['JSON']['output']>;
27436
+ edgeCount: Scalars['Int']['output'];
27437
+ /** Nodes in the definition (all of them, not just distinct types). */
27438
+ nodeCount: Scalars['Int']['output'];
27439
+ nodeTypes: Array<WorkflowTemplateNodeType>;
27440
+ requiredCredentials: Array<WorkflowTemplateRequiredCredential>;
27441
+ requiredInputs: Array<WorkflowTemplateRequiredInput>;
27442
+ };
27443
+ /** A credential someone importing the template must connect. */
27444
+ export type WorkflowTemplateRequiredCredential = {
27445
+ __typename?: 'WorkflowTemplateRequiredCredential';
27446
+ /** connection: the node was bound to the author's saved connection, which was cleared at submission. reference: the template reads ${credentials.<name>}. */
27447
+ kind: Scalars['String']['output'];
27448
+ name: Scalars['String']['output'];
27449
+ nodeId?: Maybe<Scalars['String']['output']>;
27450
+ nodeLabel?: Maybe<Scalars['String']['output']>;
27451
+ nodeType?: Maybe<Scalars['String']['output']>;
27452
+ };
27453
+ /** A value someone importing the template must supply (a ${name} variable it reads). */
27454
+ export type WorkflowTemplateRequiredInput = {
27455
+ __typename?: 'WorkflowTemplateRequiredInput';
27456
+ label: Scalars['String']['output'];
27457
+ name: Scalars['String']['output'];
27458
+ required: Scalars['Boolean']['output'];
27459
+ /** secret when it fills a secret field (API key, token, ...), else string. */
27460
+ type: Scalars['String']['output'];
27461
+ /** Nodes that read it. */
27462
+ usedBy: Array<Scalars['String']['output']>;
27463
+ };
27464
+ /** 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. */
27465
+ export type WorkflowTemplateRevision = {
27466
+ __typename?: 'WorkflowTemplateRevision';
27467
+ authorName?: Maybe<Scalars['String']['output']>;
27468
+ category: Scalars['String']['output'];
27469
+ createdAt: Scalars['DateTime']['output'];
27470
+ description: Scalars['String']['output'];
27471
+ icon?: Maybe<Scalars['String']['output']>;
27472
+ id: Scalars['ID']['output'];
27473
+ /** Version currently live in the store. */
27474
+ liveVersion: Scalars['String']['output'];
27475
+ name: Scalars['String']['output'];
27476
+ /** Number of distinct node types the revision uses. */
27477
+ nodeCount: Scalars['Int']['output'];
27478
+ /** The author's note for the reviewer. */
27479
+ notes?: Maybe<Scalars['String']['output']>;
27480
+ /** What the revision does: nodes, required inputs and credentials, cleaning report. */
27481
+ preview?: Maybe<WorkflowTemplatePreview>;
27482
+ /** Store product id of the template it revises. */
27483
+ productId: Scalars['ID']['output'];
27484
+ productSlug: Scalars['String']['output'];
27485
+ /** Publisher profile name of the author. */
27486
+ publisherName?: Maybe<Scalars['String']['output']>;
27487
+ rejectedReason?: Maybe<Scalars['String']['output']>;
27488
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
27489
+ revision: Scalars['Int']['output'];
27490
+ status: WorkflowTemplateRevisionStatus;
27491
+ submittedAt: Scalars['DateTime']['output'];
27492
+ /** Actor id of the author who submitted it. */
27493
+ submittedBy: Scalars['String']['output'];
27494
+ tags: Array<Scalars['String']['output']>;
27495
+ updatedAt: Scalars['DateTime']['output'];
27496
+ /** Version this revision becomes when approved. */
27497
+ version: Scalars['String']['output'];
27498
+ };
27499
+ export type WorkflowTemplateRevisionList = {
27500
+ __typename?: 'WorkflowTemplateRevisionList';
27501
+ items: Array<WorkflowTemplateRevision>;
27502
+ totalCount: Scalars['Int']['output'];
27503
+ };
27504
+ /** PENDING_REVIEW while a store admin reviews it; REJECTED with a reason. */
27505
+ export declare enum WorkflowTemplateRevisionStatus {
27506
+ PendingReview = "PENDING_REVIEW",
27507
+ Rejected = "REJECTED"
27508
+ }
27042
27509
  /** One of your community workflow templates and where it is in review. */
27043
27510
  export type WorkflowTemplateSubmission = {
27044
27511
  __typename?: 'WorkflowTemplateSubmission';
@@ -27054,6 +27521,8 @@ export type WorkflowTemplateSubmission = {
27054
27521
  name: Scalars['String']['output'];
27055
27522
  /** Number of distinct node types the template uses. */
27056
27523
  nodeCount: Scalars['Int']['output'];
27524
+ /** 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. */
27525
+ pendingRevision?: Maybe<WorkflowTemplateRevision>;
27057
27526
  publishedAt?: Maybe<Scalars['DateTime']['output']>;
27058
27527
  rejectedReason?: Maybe<Scalars['String']['output']>;
27059
27528
  reviewNotes?: Maybe<Scalars['String']['output']>;