@burdenoff/microfe-timecampus 2026.1030.1 → 2026.1030.3

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 (34) hide show
  1. package/dist/generated/global-types.d.ts +353 -4
  2. package/dist/generated/global-types.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.d.ts +305 -0
  4. package/dist/generated/wspace-operations.d.ts.map +1 -1
  5. package/dist/generated/wspace-operations.js +1243 -1117
  6. package/dist/generated/wspace-operations.js.map +1 -1
  7. package/dist/generated/wspace-types.d.ts +8195 -2658
  8. package/dist/generated/wspace-types.d.ts.map +1 -1
  9. package/dist/generated/wspace-types.js +15 -8
  10. package/dist/generated/wspace-types.js.map +1 -1
  11. package/dist/index.js +7 -7
  12. package/dist/timecampus/TimeCampusRoot.d.ts.map +1 -1
  13. package/dist/timecampus/TimeCampusRoot.js +86 -78
  14. package/dist/timecampus/TimeCampusRoot.js.map +1 -1
  15. package/dist/timecampus/TimeCampusRoutes.d.ts.map +1 -1
  16. package/dist/timecampus/TimeCampusRoutes.js +15 -11
  17. package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
  18. package/dist/timecampus/index.js +7 -7
  19. package/dist/timecampus/pages/application-usage/ApplicationUsagePage.d.ts.map +1 -1
  20. package/dist/timecampus/pages/application-usage/ApplicationUsagePage.js +7 -3
  21. package/dist/timecampus/pages/application-usage/ApplicationUsagePage.js.map +1 -1
  22. package/dist/timecampus/pages/channels/ChannelsPage.d.ts +2 -0
  23. package/dist/timecampus/pages/channels/ChannelsPage.d.ts.map +1 -0
  24. package/dist/timecampus/pages/channels/ChannelsPage.js +673 -0
  25. package/dist/timecampus/pages/channels/ChannelsPage.js.map +1 -0
  26. package/dist/timecampus/pages/channels/channelCatalog.d.ts +49 -0
  27. package/dist/timecampus/pages/channels/channelCatalog.d.ts.map +1 -0
  28. package/dist/timecampus/pages/channels/channelCatalog.js +125 -0
  29. package/dist/timecampus/pages/channels/channelCatalog.js.map +1 -0
  30. package/dist/types/external-enums.d.ts +17 -0
  31. package/dist/types/external-enums.d.ts.map +1 -0
  32. package/dist/types/external-enums.js +4 -0
  33. package/dist/types/external-enums.js.map +1 -0
  34. package/package.json +1 -1
@@ -172,6 +172,10 @@ export declare enum ActivityAction {
172
172
  export type ActivityFilterInput = {
173
173
  action?: InputMaybe<Scalars['String']['input']>;
174
174
  actorId?: InputMaybe<Scalars['String']['input']>;
175
+ /** Only rows made by this kind of actor origin (BOFF-9649). The only recorded origin is `ai_assistant`: a change an AI assistant session made for its owner. */
176
+ actorOrigin?: InputMaybe<Scalars['String']['input']>;
177
+ /** Only rows made by this AI assistant session (BOFF-9649). */
178
+ assistantSessionId?: InputMaybe<Scalars['String']['input']>;
175
179
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
176
180
  resource?: InputMaybe<Scalars['String']['input']>;
177
181
  resourceId?: InputMaybe<Scalars['String']['input']>;
@@ -185,6 +189,12 @@ export type ActivityLog = {
185
189
  __typename?: 'ActivityLog';
186
190
  action: Scalars['String']['output'];
187
191
  actorId?: Maybe<Scalars['String']['output']>;
192
+ /** `ai_assistant` when an AI assistant session made the change; null for a human-made change. */
193
+ actorOrigin?: Maybe<Scalars['String']['output']>;
194
+ /** Proposal / idempotency key the assistant mutation ran under, when it had one. */
195
+ assistantCorrelationId?: Maybe<Scalars['String']['output']>;
196
+ /** Relay session (assistant sandbox) that made the change, when an assistant made it. */
197
+ assistantSessionId?: Maybe<Scalars['String']['output']>;
188
198
  createdAt: Scalars['DateTime']['output'];
189
199
  description?: Maybe<Scalars['String']['output']>;
190
200
  id: Scalars['ID']['output'];
@@ -416,9 +426,22 @@ export type Addon = {
416
426
  priceHistory: Array<AddonPriceHistory>;
417
427
  /** Product ID the addon belongs to (reference to product microservice) */
418
428
  productID?: Maybe<Scalars['String']['output']>;
429
+ /** Whether buying this add-on requires a paid subscription to its product (the catalogs' "Free tier exclusion" rule, BOFF-9889). False for items sold to Free users on purpose. */
430
+ requiresPaidSubscription?: Maybe<Scalars['Boolean']['output']>;
419
431
  /** The timestamp when the addon was last updated. */
420
432
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
421
433
  };
434
+ /** Why an add-on can or cannot be bought by the caller's billing account(s). */
435
+ export declare enum AddonEligibilityReason {
436
+ /** The add-on can be bought. */
437
+ Eligible = "ELIGIBLE",
438
+ /** No add-on with this id exists. */
439
+ NotFound = "NOT_FOUND",
440
+ /** The add-on requires a paid subscription to its product and none is active. */
441
+ PaidSubscriptionRequired = "PAID_SUBSCRIPTION_REQUIRED",
442
+ /** The chosen subscription is not a paid plan of the add-on's product. */
443
+ SubscriptionNotEligible = "SUBSCRIPTION_NOT_ELIGIBLE"
444
+ }
422
445
  /** Tracks historical price changes for an Addon. A new record is created whenever an addon's price is updated. */
423
446
  export type AddonPriceHistory = {
424
447
  __typename?: 'AddonPriceHistory';
@@ -439,6 +462,17 @@ export type AddonPriceHistory = {
439
462
  /** Optional reason for the price change */
440
463
  reason?: Maybe<Scalars['String']['output']>;
441
464
  };
465
+ /** Purchase eligibility of one add-on (BOFF-9889). */
466
+ export type AddonPurchaseEligibility = {
467
+ __typename?: 'AddonPurchaseEligibility';
468
+ addonId: Scalars['ID']['output'];
469
+ eligible: Scalars['Boolean']['output'];
470
+ /** Active paid subscriptions of the add-on's product the add-on may be attached to. */
471
+ eligibleSubscriptionIds: Array<Scalars['ID']['output']>;
472
+ productId?: Maybe<Scalars['String']['output']>;
473
+ reason: AddonEligibilityReason;
474
+ requiresPaidSubscription: Scalars['Boolean']['output'];
475
+ };
442
476
  export type AddonSubscription = {
443
477
  __typename?: 'AddonSubscription';
444
478
  /** The addon linked to this subscription. */
@@ -754,6 +788,8 @@ export type AiModelPrice = {
754
788
  isActive: Scalars['Boolean']['output'];
755
789
  model: Scalars['String']['output'];
756
790
  outputPer1M: Scalars['Float']['output'];
791
+ /** When this price row last changed. Ledger cost estimates cite it in their pricing reference (wspace-prompts-svc, BOFF-9935) so a cost stays traceable to the exact price version that produced it. */
792
+ updatedAt: Scalars['DateTime']['output'];
757
793
  };
758
794
  /** Amount range filter for queries */
759
795
  export type AmountRangeInput = {
@@ -3566,6 +3602,8 @@ export type CreateContentPageInput = {
3566
3602
  category?: InputMaybe<Scalars['String']['input']>;
3567
3603
  content: Scalars['String']['input'];
3568
3604
  contentFormat?: InputMaybe<Scalars['String']['input']>;
3605
+ /** Customer approval for a case study. All three fields are required, and signedAt may not be in the future. */
3606
+ customerSignOff?: InputMaybe<CustomerSignOffInput>;
3569
3607
  excerpt?: InputMaybe<Scalars['String']['input']>;
3570
3608
  featured?: InputMaybe<Scalars['Boolean']['input']>;
3571
3609
  isPublished?: InputMaybe<Scalars['Boolean']['input']>;
@@ -4771,6 +4809,22 @@ export type CustomerSatisfactionSurveyFilterInput = {
4771
4809
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
4772
4810
  ticketId?: InputMaybe<Scalars['String']['input']>;
4773
4811
  };
4812
+ /** Who at the customer approved a case study, when, and where the written approval is kept. Never invent one: it is the only thing that lets a case study appear on a public website. */
4813
+ export type CustomerSignOff = {
4814
+ __typename?: 'CustomerSignOff';
4815
+ /** Reference to the stored written approval (document id, ticket or file URL). Only returned to callers who manage content pages; null for public visitors. */
4816
+ documentRef?: Maybe<Scalars['String']['output']>;
4817
+ /** When the customer approved the story */
4818
+ signedAt: Scalars['DateTime']['output'];
4819
+ /** Name and role of the approving person at the customer. Only returned to callers who manage content pages; null for public visitors. */
4820
+ signedBy?: Maybe<Scalars['String']['output']>;
4821
+ };
4822
+ /** Customer approval for a case study (see CustomerSignOff) */
4823
+ export type CustomerSignOffInput = {
4824
+ documentRef: Scalars['String']['input'];
4825
+ signedAt: Scalars['DateTime']['input'];
4826
+ signedBy: Scalars['String']['input'];
4827
+ };
4774
4828
  export declare enum DlqStatus {
4775
4829
  Discarded = "DISCARDED",
4776
4830
  Investigating = "INVESTIGATING",
@@ -5595,6 +5649,15 @@ export type EarnCreditsInput = {
5595
5649
  productId?: InputMaybe<Scalars['String']['input']>;
5596
5650
  sourceReferenceId?: InputMaybe<Scalars['String']['input']>;
5597
5651
  };
5652
+ /** Outcome of serviceReverseEarning. */
5653
+ export declare enum EarningReversalOutcome {
5654
+ /** An earlier call already reversed the entry (idempotent replay). */
5655
+ AlreadyReversed = "ALREADY_REVERSED",
5656
+ /** The entry is RESERVED for, or PAID by, a payout and was left unchanged. */
5657
+ NotReversible = "NOT_REVERSIBLE",
5658
+ /** The entry was AVAILABLE and is now REVERSED. */
5659
+ Reversed = "REVERSED"
5660
+ }
5598
5661
  export declare enum EarningUnitType {
5599
5662
  Credits = "CREDITS",
5600
5663
  Money = "MONEY"
@@ -5620,6 +5683,9 @@ export type EarningsEntry = {
5620
5683
  paidAt?: Maybe<Scalars['DateTime']['output']>;
5621
5684
  payoutRequestId?: Maybe<Scalars['ID']['output']>;
5622
5685
  reservedAt?: Maybe<Scalars['DateTime']['output']>;
5686
+ reversalReason?: Maybe<Scalars['String']['output']>;
5687
+ /** When the entry was reversed (its source sale was refunded), if it was. */
5688
+ reversedAt?: Maybe<Scalars['DateTime']['output']>;
5623
5689
  sourceCategory: EarningsSourceCategory;
5624
5690
  sourceEventId?: Maybe<Scalars['String']['output']>;
5625
5691
  sourceReferenceId?: Maybe<Scalars['String']['output']>;
@@ -5654,13 +5720,18 @@ export declare enum EarningsSourceCategory {
5654
5720
  }
5655
5721
  export type EarningsSummary = {
5656
5722
  __typename?: 'EarningsSummary';
5723
+ /** Earned, past its hold window and not yet reserved for a payout. */
5657
5724
  availableAmount: Scalars['Float']['output'];
5658
5725
  categoryBreakdown: Array<EarningsCategoryBreakdown>;
5659
5726
  creditsAmount: Scalars['Float']['output'];
5660
5727
  moneyAmount: Scalars['Float']['output'];
5661
5728
  paidAmount: Scalars['Float']['output'];
5729
+ /** Earned but still inside its hold window (availableAt in the future), so not payable yet. */
5662
5730
  pendingAmount: Scalars['Float']['output'];
5663
5731
  reservedAmount: Scalars['Float']['output'];
5732
+ /** Entries reversed because their source sale was refunded. Not part of any other total. */
5733
+ reversedAmount: Scalars['Float']['output'];
5734
+ /** Everything earned, excluding reversed entries. */
5664
5735
  totalLifetimeAmount: Scalars['Float']['output'];
5665
5736
  };
5666
5737
  export type EditorialCollection = {
@@ -6079,6 +6150,17 @@ export type ExploreConversation = {
6079
6150
  token: Scalars['String']['output'];
6080
6151
  turnCount: Scalars['Int']['output'];
6081
6152
  };
6153
+ /** What a conversation token reveals about its own conversation, and nothing more. Deliberately a separate type from `ExploreConversation`: that one carries the bearer secret and is only ever handed to the caller that already holds it, while this one is a plain read. It has no token, no IP hash and no stored metadata, and it can never describe a conversation other than the one the caller's token owns. */
6154
+ export type ExploreConversationInfo = {
6155
+ __typename?: 'ExploreConversationInfo';
6156
+ createdAt: Scalars['DateTime']['output'];
6157
+ /** The visitor's language: one of `en` `zh` `hi` `es` `ar` `ta`, or null. Null when none was sent, when it was not one of those, and for a conversation stored before the value was checked — never a raw string. */
6158
+ locale?: Maybe<Scalars['String']['output']>;
6159
+ /** Every message the conversation holds, whatever its status. Compare it with the length of an `exploreConversationMessages` read (which is capped at 100) to know whether that read was the whole thread. */
6160
+ messageCount: Scalars['Int']['output'];
6161
+ /** Slug of the product website the conversation started on, as stored. Null when the visitor did not say. */
6162
+ productSlug?: Maybe<Scalars['String']['output']>;
6163
+ };
6082
6164
  /** A call-to-action button derived from a cited link. `kind` is one of: CONTACT PARTNERS PRICING SERVICES WAITLIST STORE APP DOCS OTHER. */
6083
6165
  export type ExploreCta = {
6084
6166
  __typename?: 'ExploreCta';
@@ -6596,6 +6678,8 @@ export type GetStoreProductTagsInput = {
6596
6678
  export type GrantAppDelegationInternalInput = {
6597
6679
  /** Client ID of the first-party system app (e.g. burdenoff_integration_core). */
6598
6680
  clientId: Scalars['String']['input'];
6681
+ /** When the delegation lapses (BOFF-9962). Must be in the future. Omit for a delegation without an expiry; a re-grant without it keeps no expiry. */
6682
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
6599
6683
  /** Scopes the delegation must keep for other grants that share it (e.g. the user's other integration connections). A retained scope is kept only while the existing delegation is ACTIVE and already holds it, and only while the app still allows it; otherwise it is dropped, never rejected. A grant therefore never restores or adds a scope beyond the requested scopes. */
6600
6684
  retainedScopes?: InputMaybe<Array<Scalars['String']['input']>>;
6601
6685
  /** Workspaces the delegation must keep for other grants that share it. Kept only while the existing delegation is ACTIVE and already covers them: restoring a REVOKED or EXPIRED delegation covers only workspaceIds. Ignored when workspaceIds is empty (unrestricted). */
@@ -6958,6 +7042,8 @@ export type InitiatePaymentResponse = {
6958
7042
  discountType?: Maybe<Scalars['String']['output']>;
6959
7043
  /** Error message if failed */
6960
7044
  error?: Maybe<Scalars['String']['output']>;
7045
+ /** Machine-readable error code when the initiation failed, e.g. PAID_SUBSCRIPTION_REQUIRED when an add-on needs a paid plan (BOFF-9889). */
7046
+ errorCode?: Maybe<Scalars['String']['output']>;
6961
7047
  /** Tax jurisdiction */
6962
7048
  jurisdiction: Scalars['String']['output'];
6963
7049
  /** Razorpay order ID (for Razorpay payments) */
@@ -8772,7 +8858,15 @@ export type Mutation = {
8772
8858
  /** Generate challenge message for wallet signature */
8773
8859
  generateWalletChallenge: WalletChallengeResult;
8774
8860
  getSupportAttachmentPartUploadUrls: Array<SupportAttachmentPresignedPart>;
8775
- /** Service-trusted internal grant of a first-party self-delegation, keyed by the app's client id. Lets a trusted backend record the consent created when a user adds a first-party integration, without the workspace-admin gate that the public grantDelegation enforces. Gated to internal service / super_admin callers and restricted to first-party system apps. */
8861
+ /** Discard a reply draft without sending it. */
8862
+ globalDiscardTicketReplyDraft: Scalars['Boolean']['output'];
8863
+ /** Draft a reply from published knowledge-base articles, FAQs and canned responses, with citations. Saved as an internal draft, never sent. Fails with GROUNDING_INSUFFICIENT when no article or FAQ covers the ticket. */
8864
+ globalDraftTicketReply: SupportMessage;
8865
+ /** Send a reply draft to the customer as an agent reply, optionally edited. This is the only way a draft reaches a customer. */
8866
+ globalSendTicketReplyDraft: SupportMessage;
8867
+ /** Triage a ticket now: fill an empty category, raise the priority if the evidence calls for it, select the SLA policy and suggest an agent. */
8868
+ globalTriageTicket: SupportTriageDecision;
8869
+ /** Service-trusted internal grant of a first-party self-delegation, keyed by the app's client id. Lets a trusted backend record the consent created when a user adds a first-party integration, without the workspace-admin gate that the public grantDelegation enforces. Gated to internal service / super_admin callers and restricted to first-party system apps, or to service-managed apps for their managing service (BOFF-9962). */
8776
8870
  grantAppDelegationInternal: AppUserDelegation;
8777
8871
  /** Grant an app access to act on a specific workspace. Idempotent: re-granting an ACTIVE authorization updates its scopes; re-granting a REVOKED one flips it back to ACTIVE and clears the revoke fields. */
8778
8872
  grantAppWorkspaceAccess: AppWorkspaceAuthorization;
@@ -8808,7 +8902,7 @@ export type Mutation = {
8808
8902
  inviteDeveloperOrgMember: DeveloperOrgInvitationCreated;
8809
8903
  /** Invite a user to an organization by email */
8810
8904
  inviteOrganizationMember: OrganizationInvite;
8811
- /** Service-trusted internal mint of an app-as-user token for a named first-party app. Lets a trusted backend (e.g. wspace-integrations-svc) mint a token for a secret-less system app without holding client credentials. Gated to internal service / super_admin callers; still requires an ACTIVE AppUserDelegation for (clientId, targetUserId), so a user must have granted access first. */
8905
+ /** Service-trusted internal mint of an app-as-user token for a named first-party app. Lets a trusted backend (e.g. wspace-integrations-svc) mint a token for a secret-less system app without holding client credentials. Gated to internal service / super_admin callers; still requires an ACTIVE AppUserDelegation for (clientId, targetUserId), so a user must have granted access first. A service-managed app (BOFF-9962) is minted only by its managing service, always bound to one workspace, for at most 15 minutes and never past the grant. */
8812
8906
  issueAppAsUserTokenInternal: AppAsUserTokenResponse;
8813
8907
  /** Public endpoint — no authentication required. Email is normalized (trimmed, lowercased). Must be protected by API gateway rate limiting (recommended: 5 req/min per IP). */
8814
8908
  joinWaitlist: NewsletterWaitlist;
@@ -8876,6 +8970,8 @@ export type Mutation = {
8876
8970
  provisionDedicatedTenant: Tenant;
8877
8971
  /** Provision Free-tier WORKSPACE-scoped quota assignments for a specific workspace (BOFF-5656). Service-to-service only — called by wspace-layer services' workspace.created event consumers (Redis Streams do not cross the wspace/global layer network boundary, so the wspace-side consumer calls this mutation cross-layer instead of billing consuming the event directly). Reuses the org's existing (or lazily-created) default billing account and every active Free ($0, isActive) subscription on it. Idempotent — safe to call repeatedly for the same workspace. Never creates a Plan/Subscription for a product with no registered Free plan; such products are silently skipped, not errored. */
8878
8972
  provisionFreeTierForWorkspace: ProvisionFreeTierForWorkspaceResult;
8973
+ /** Provision a service-managed app (BOFF-9962): an app a backend service owns for a principal of its own, such as a FluidGrids agent. The calling service becomes the app's manager and owner. The app has no usable client secret, so the only way to act as it is issueAppAsUserTokenInternal, by its managing service, for a user who granted it a delegation. Service actors only. */
8974
+ provisionManagedAppInternal: App;
8879
8975
  /** Public unsubscribe via HMAC-signed token from email link. No authentication required. */
8880
8976
  publicUnsubscribeByToken: Scalars['Boolean']['output'];
8881
8977
  publishApplication: Application;
@@ -9109,6 +9205,8 @@ export type Mutation = {
9109
9205
  resumeDeveloperOrgSubscription: DeveloperOrgSubscription;
9110
9206
  resumeSLA: SupportTicket;
9111
9207
  resumeScheduledJob: ScheduledJob;
9208
+ /** Retire a service-managed app (BOFF-9962): mark it REVOKED and withdraw every delegation it holds. Only its managing service may call it. Idempotent: returns false when the app was already retired. */
9209
+ retireManagedAppInternal: Scalars['Boolean']['output'];
9112
9210
  /** Retire one push registration the transport has reported permanently dead. Called by global-channel-svc after a send fails with a code that means the token itself is gone: FCM's `UNREGISTERED`, or an `INVALID_ARGUMENT` whose message names the registration token. Without it the registry accumulates tokens no push can ever reach, and every later fan-out keeps paying for uninstalled apps. Keyed on the token — that is what the transport rejected, it is unique in this registry, and a service acting on a transport report has no calling actor to scope by. That is precisely why this is service-gated rather than `scopeType: "self"`. `errorCode` is recorded for traceability; the delivery side owns the policy of which codes are terminal (a routing or credential fault must never retire a device — retiring one hides the misconfiguration and destroys the evidence). Returns true if a registration was removed. */
9113
9211
  retirePushDeviceInternal: Scalars['Boolean']['output'];
9114
9212
  retireSubprocessor: Subprocessor;
@@ -9214,10 +9312,14 @@ export type Mutation = {
9214
9312
  sendTestNewsletter: TestNewsletterResult;
9215
9313
  /** Record an EarningsEntry on behalf of an org/user by explicit billingAccountId. Service/super_admin only — internal gateway. */
9216
9314
  serviceRecordEarning: EarningsEntry;
9315
+ /** Refund all or part of a payment on behalf of the service that charged it. Idempotent per sourceIdempotencyKey. Service/super_admin only. */
9316
+ serviceRefundPayment: ServiceRefundPaymentResult;
9217
9317
  /** Request a payout drawn from a user's AVAILABLE earnings on an explicit billing account. Reserves matching earnings and creates a PayoutRequest that the existing approval/processing workflow drives to completion. Service/super_admin only — internal gateway. */
9218
9318
  serviceRequestPayout: PayoutRequest;
9219
9319
  /** Resolve (or create) a canonical default PayoutAccount for a publisher/org owner so a service caller can obtain a `payoutAccountId` for `serviceRequestPayout` without the user-only `addPayoutAccount` path. Idempotent / self-healing: repeated calls return the SAME account (no duplicates). Prefers an existing user-registered account; otherwise creates a placeholder that can be referenced but against which NO money moves until the user completes real payment setup. Service/super_admin only — internal gateway. */
9220
9320
  serviceResolvePayoutAccount: PayoutAccount;
9321
+ /** Reverse an earnings entry (by the source key it was recorded with) whose source sale was refunded. Only an AVAILABLE entry (not reserved for, or paid by, a payout) is reversed; the outcome says what happened. Idempotent. Service/super_admin only — internal gateway. */
9322
+ serviceReverseEarning: ServiceEarningReversal;
9221
9323
  /** Mirror a billing PayoutRequest status change back onto the DeveloperOrgPayout it originated from (BOFF-7192). Billing owns the payout system-of-record and is where admins approve/reject/mark-paid; this keeps devportal's own payout history in sync so it doesn't stay stuck showing a stale status forever. Looked up by sourceIdempotencyKey ("devportal:payout:<id>", set when the request was originally mirrored to billing) — a no-op if the key isn't a devportal-originated one, or no matching local payout exists. Service/super_admin only — internal gateway. */
9222
9324
  serviceSyncPayoutStatus?: Maybe<DeveloperOrgPayout>;
9223
9325
  /** M2M: create or update the calling service's catalogue listing for an item that service sells through its own checkout (BOFF-3430), for cross-product discovery. Idempotent on (calling service identity, input.externalId): call it on every change of the source item. The owning service is always the verified service identity of the caller, never an input field. Set status ARCHIVED to take the listing down. A listing an admin has delisted or rejected stays off display until an admin restores it. Service-actor only. */
@@ -11372,6 +11474,23 @@ export type MutationGetSupportAttachmentPartUploadUrlsArgs = {
11372
11474
  ticketId: Scalars['ID']['input'];
11373
11475
  };
11374
11476
  /** Root mutation type */
11477
+ export type MutationGlobalDiscardTicketReplyDraftArgs = {
11478
+ id: Scalars['ID']['input'];
11479
+ };
11480
+ /** Root mutation type */
11481
+ export type MutationGlobalDraftTicketReplyArgs = {
11482
+ ticketId: Scalars['ID']['input'];
11483
+ };
11484
+ /** Root mutation type */
11485
+ export type MutationGlobalSendTicketReplyDraftArgs = {
11486
+ id: Scalars['ID']['input'];
11487
+ message?: InputMaybe<Scalars['String']['input']>;
11488
+ };
11489
+ /** Root mutation type */
11490
+ export type MutationGlobalTriageTicketArgs = {
11491
+ id: Scalars['ID']['input'];
11492
+ };
11493
+ /** Root mutation type */
11375
11494
  export type MutationGrantAppDelegationInternalArgs = {
11376
11495
  input: GrantAppDelegationInternalInput;
11377
11496
  };
@@ -11640,6 +11759,10 @@ export type MutationProvisionFreeTierForWorkspaceArgs = {
11640
11759
  workspaceId: Scalars['ID']['input'];
11641
11760
  };
11642
11761
  /** Root mutation type */
11762
+ export type MutationProvisionManagedAppInternalArgs = {
11763
+ input: ProvisionManagedAppInternalInput;
11764
+ };
11765
+ /** Root mutation type */
11643
11766
  export type MutationPublicUnsubscribeByTokenArgs = {
11644
11767
  token: Scalars['String']['input'];
11645
11768
  };
@@ -12304,6 +12427,11 @@ export type MutationResumeScheduledJobArgs = {
12304
12427
  id: Scalars['ID']['input'];
12305
12428
  };
12306
12429
  /** Root mutation type */
12430
+ export type MutationRetireManagedAppInternalArgs = {
12431
+ clientId: Scalars['String']['input'];
12432
+ reason?: InputMaybe<Scalars['String']['input']>;
12433
+ };
12434
+ /** Root mutation type */
12307
12435
  export type MutationRetirePushDeviceInternalArgs = {
12308
12436
  errorCode: Scalars['String']['input'];
12309
12437
  token: Scalars['String']['input'];
@@ -12536,6 +12664,10 @@ export type MutationServiceRecordEarningArgs = {
12536
12664
  input: ServiceRecordEarningInput;
12537
12665
  };
12538
12666
  /** Root mutation type */
12667
+ export type MutationServiceRefundPaymentArgs = {
12668
+ input: ServiceRefundPaymentInput;
12669
+ };
12670
+ /** Root mutation type */
12539
12671
  export type MutationServiceRequestPayoutArgs = {
12540
12672
  input: ServiceRequestPayoutInput;
12541
12673
  };
@@ -12544,6 +12676,10 @@ export type MutationServiceResolvePayoutAccountArgs = {
12544
12676
  input: ServiceResolvePayoutAccountInput;
12545
12677
  };
12546
12678
  /** Root mutation type */
12679
+ export type MutationServiceReverseEarningArgs = {
12680
+ input: ServiceReverseEarningInput;
12681
+ };
12682
+ /** Root mutation type */
12547
12683
  export type MutationServiceSyncPayoutStatusArgs = {
12548
12684
  input: ServiceSyncPayoutStatusInput;
12549
12685
  };
@@ -15790,6 +15926,8 @@ export type ProductContentPage = {
15790
15926
  content: Scalars['String']['output'];
15791
15927
  contentFormat: Scalars['String']['output'];
15792
15928
  createdAt: Scalars['DateTime']['output'];
15929
+ /** The customer's written approval of a case study and its numbers. A page tagged "case-study" is returned by the public content-page queries only when this is set. Null for every other page and for unapproved case studies. */
15930
+ customerSignOff?: Maybe<CustomerSignOff>;
15793
15931
  /** Blog/article fields */
15794
15932
  excerpt?: Maybe<Scalars['String']['output']>;
15795
15933
  featured: Scalars['Boolean']['output'];
@@ -16127,6 +16265,17 @@ export type ProvisionFreeTierForWorkspaceResult = {
16127
16265
  /** Product IDs the assigned quotas belong to. */
16128
16266
  productIds: Array<Scalars['String']['output']>;
16129
16267
  };
16268
+ /** Input for a service-managed app (BOFF-9962). */
16269
+ export type ProvisionManagedAppInternalInput = {
16270
+ description?: InputMaybe<Scalars['String']['input']>;
16271
+ /** Display name, 1 to 200 characters. */
16272
+ name: Scalars['String']['input'];
16273
+ /** Scopes a delegation to the app may carry; at least one. */
16274
+ scopes: Array<Scalars['String']['input']>;
16275
+ tenantId?: InputMaybe<Scalars['String']['input']>;
16276
+ /** BOT (default), ASSISTANT, AUTOMATION or WORKFLOW. */
16277
+ type?: InputMaybe<AppType>;
16278
+ };
16130
16279
  /** Response for createUserTenantStructure mutation */
16131
16280
  export declare enum ProvisioningStatus {
16132
16281
  Ok = "OK",
@@ -16349,6 +16498,8 @@ export type Query = {
16349
16498
  actorRoleAssignments: Array<ActorRoleAssignment>;
16350
16499
  /** List actors with RBAC context in a scope */
16351
16500
  actors: Array<ActorRbacSummary>;
16501
+ /** Whether the caller's organization can buy each add-on (BOFF-9889: add-ons require a paid subscription to their product unless flagged otherwise). With billingAccountId, only that billing account is checked (it must belong to the caller's organization) and subscriptionId, when given, must be one of its paid subscriptions of the add-on's product. Without it, every active billing account of the organization counts. Organization-scoped like getAllAddOns. */
16502
+ addonPurchaseEligibility: Array<AddonPurchaseEligibility>;
16352
16503
  adminAffiliateAnalytics: AffiliateAdminAnalytics;
16353
16504
  adminPayoutRequests: PayoutRequestConnection;
16354
16505
  adminPayoutSummary: PayoutAdminSummary;
@@ -16563,6 +16714,8 @@ export type Query = {
16563
16714
  exploreAgentJob?: Maybe<ExploreAgentJob>;
16564
16715
  /** Products, example prompts, welcome copy and limits for the `/explore` page. Never throws — an unreachable agent yields `enabled: false`. */
16565
16716
  exploreCatalog: ExploreCatalog;
16717
+ /** Product site, language and size of the conversation the token owns. Scoped exactly like `exploreConversationMessages`: a token that owns nothing, or that owns a different conversation, is reported as NOT_FOUND, never FORBIDDEN. */
16718
+ exploreConversationInfo: ExploreConversationInfo;
16566
16719
  /** The conversation's messages, oldest first. */
16567
16720
  exploreConversationMessages: Array<ExploreMessage>;
16568
16721
  /** Poll one message. Scoped by `conversationToken`; a token that does not own the message is reported as NOT_FOUND, never FORBIDDEN. */
@@ -16783,6 +16936,8 @@ export type Query = {
16783
16936
  getWebhookEvent?: Maybe<WebhookEvent>;
16784
16937
  /** Get webhook statistics for a channel */
16785
16938
  getWebhookStats: WebhookStats;
16939
+ /** Measure the triage engine against historical human categorisation. Support admins see their tenant; super admins see every tenant. Read-only. */
16940
+ globalTriageEvaluation: SupportTriageEvaluation;
16786
16941
  /** Health check endpoint */
16787
16942
  health: HealthStatus;
16788
16943
  /** Get grouped products for homepage. Optionally filter by compatible product (e.g., "bigconsole", "fluidgrids"). */
@@ -16865,6 +17020,8 @@ export type Query = {
16865
17020
  listUserShippingAddresses: Array<ShippingAddress>;
16866
17021
  lookupAffiliateCode?: Maybe<AffiliateCodeLookup>;
16867
17022
  lowStockProducts: Array<LowStockProduct>;
17023
+ /** ACTIVE delegations of a service-managed app (BOFF-9962). Only the service that provisioned the app may list them; any other caller gets NOT_FOUND. */
17024
+ managedAppDelegationsInternal: Array<AppUserDelegation>;
16868
17025
  /** Returns products the current user can access based on their actor type, email domain, and waitlist approval status. Used by app shells for nav. */
16869
17026
  myAccessibleProducts: PlatformProductList;
16870
17027
  myActivityLogs: ActivityLogConnection;
@@ -17358,6 +17515,12 @@ export type QueryActorsArgs = {
17358
17515
  scopeId: Scalars['String']['input'];
17359
17516
  };
17360
17517
  /** Root query type */
17518
+ export type QueryAddonPurchaseEligibilityArgs = {
17519
+ addonIds: Array<Scalars['ID']['input']>;
17520
+ billingAccountId?: InputMaybe<Scalars['ID']['input']>;
17521
+ subscriptionId?: InputMaybe<Scalars['ID']['input']>;
17522
+ };
17523
+ /** Root query type */
17361
17524
  export type QueryAdminAffiliateAnalyticsArgs = {
17362
17525
  filter?: InputMaybe<AffiliateAnalyticsFilterInput>;
17363
17526
  };
@@ -18022,6 +18185,10 @@ export type QueryExploreCatalogArgs = {
18022
18185
  productSlug?: InputMaybe<Scalars['String']['input']>;
18023
18186
  };
18024
18187
  /** Root query type */
18188
+ export type QueryExploreConversationInfoArgs = {
18189
+ conversationToken: Scalars['String']['input'];
18190
+ };
18191
+ /** Root query type */
18025
18192
  export type QueryExploreConversationMessagesArgs = {
18026
18193
  conversationToken: Scalars['String']['input'];
18027
18194
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -18598,6 +18765,10 @@ export type QueryGetWebhookStatsArgs = {
18598
18765
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
18599
18766
  };
18600
18767
  /** Root query type */
18768
+ export type QueryGlobalTriageEvaluationArgs = {
18769
+ sampleSize?: InputMaybe<Scalars['Int']['input']>;
18770
+ };
18771
+ /** Root query type */
18601
18772
  export type QueryHomeGroupedProductsArgs = {
18602
18773
  compatibleWith?: InputMaybe<Scalars['String']['input']>;
18603
18774
  };
@@ -18855,6 +19026,10 @@ export type QueryLowStockProductsArgs = {
18855
19026
  storeId?: InputMaybe<Scalars['ID']['input']>;
18856
19027
  };
18857
19028
  /** Root query type */
19029
+ export type QueryManagedAppDelegationsInternalArgs = {
19030
+ clientId: Scalars['String']['input'];
19031
+ };
19032
+ /** Root query type */
18858
19033
  export type QueryMyAccessibleProductsArgs = {
18859
19034
  limit?: InputMaybe<Scalars['Int']['input']>;
18860
19035
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -20421,6 +20596,12 @@ export type RecipientInput = {
20421
20596
  export type RecordActivityInput = {
20422
20597
  action: Scalars['String']['input'];
20423
20598
  actorId?: InputMaybe<Scalars['String']['input']>;
20599
+ /** `ai_assistant` when an AI assistant session made the change (BOFF-9649). Honoured only from a service caller relaying a gateway-verified assistant-session marker (the be-sdk tracker); ignored for any other caller, so a user cannot tag or untag their own rows. */
20600
+ actorOrigin?: InputMaybe<Scalars['String']['input']>;
20601
+ /** Proposal / idempotency key the assistant mutation ran under. Same trust rule as actorOrigin. */
20602
+ assistantCorrelationId?: InputMaybe<Scalars['String']['input']>;
20603
+ /** Relay session (assistant sandbox) that made the change. Same trust rule as actorOrigin. */
20604
+ assistantSessionId?: InputMaybe<Scalars['String']['input']>;
20424
20605
  /** Optional idempotency key for backfill/import (audit phase-2). Derive a STABLE key from the source row (e.g. `global_auth_audit:<rowId>`). When set, the write UPSERTs on this key: if a row with the same `dedupeKey` already exists it is returned unchanged (no duplicate, no double-count), so a service can replay ALL of its historical audit rows any number of times and converge to exactly one activity_logs row each — including rows already dual-written in phase-1 (give the dual-write the SAME key so backfill and dual-write converge). When null, behaves exactly as before (plain insert). */
20425
20606
  dedupeKey?: InputMaybe<Scalars['String']['input']>;
20426
20607
  description?: InputMaybe<Scalars['String']['input']>;
@@ -21754,7 +21935,7 @@ export type SendExploreMessageInput = {
21754
21935
  attachments?: InputMaybe<Array<ExploreAttachmentInput>>;
21755
21936
  /** Omit to start a new conversation. The result's `conversation.token` is the secret to send back on every following turn. */
21756
21937
  conversationToken?: InputMaybe<Scalars['String']['input']>;
21757
- /** BCP-47 locale of the page (e.g. "en-US"). */
21938
+ /** BCP-47 locale of the page (e.g. "en-US"). Only the language is kept, and only if it is one of `en` `zh` `hi` `es` `ar` `ta` (any case, with or without region or script subtags such as `en-US` or `zh-Hans-CN`). Anything else is treated as not sent — never an error, so a page with an unexpected locale still gets its answer. */
21758
21939
  locale?: InputMaybe<Scalars['String']['input']>;
21759
21940
  /** The visitor's question. */
21760
21941
  message: Scalars['String']['input'];
@@ -21799,6 +21980,11 @@ export type SendRoundMessageToCandidateInput = {
21799
21980
  message: Scalars['String']['input'];
21800
21981
  roundId: Scalars['ID']['input'];
21801
21982
  };
21983
+ export type ServiceEarningReversal = {
21984
+ __typename?: 'ServiceEarningReversal';
21985
+ entry: EarningsEntry;
21986
+ outcome: EarningReversalOutcome;
21987
+ };
21802
21988
  /** Consolidated earnings + payout-request status for a billing account, optionally scoped to a single earnings owner. Lets a delegating service poll the outcome of money-movement it handed to billing. */
21803
21989
  export type ServicePayoutStatus = {
21804
21990
  __typename?: 'ServicePayoutStatus';
@@ -21832,6 +22018,37 @@ export type ServiceRecordEarningInput = {
21832
22018
  sourceSubcategory?: InputMaybe<Scalars['String']['input']>;
21833
22019
  unitType?: InputMaybe<EarningUnitType>;
21834
22020
  };
22021
+ export type ServiceRefundPaymentInput = {
22022
+ /** Amount to refund in whole currency units. Partial refunds are allowed; the sum of a payment's refunds can never exceed the captured amount. */
22023
+ amount: Scalars['Float']['input'];
22024
+ /** Billing account the payment was charged on (through its BillingOrder or subscription). */
22025
+ billingAccountId: Scalars['ID']['input'];
22026
+ /** Optional; must match the payment currency when given. */
22027
+ currency?: InputMaybe<Scalars['String']['input']>;
22028
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
22029
+ /** Billing Payment id (not the provider's payment id). */
22030
+ paymentId: Scalars['ID']['input'];
22031
+ reason: Scalars['String']['input'];
22032
+ /** Caller-owned idempotency key (e.g. "coolandlovely:refund:<orderId>:<brandId>"), unique per billing account. A replay returns the existing refund; a failed one is retried. */
22033
+ sourceIdempotencyKey: Scalars['String']['input'];
22034
+ };
22035
+ export type ServiceRefundPaymentResult = {
22036
+ __typename?: 'ServiceRefundPaymentResult';
22037
+ /** True when the key already had a refund and this call did not process it again. */
22038
+ alreadyProcessed: Scalars['Boolean']['output'];
22039
+ amount: Scalars['Float']['output'];
22040
+ currency: Scalars['String']['output'];
22041
+ error?: Maybe<Scalars['String']['output']>;
22042
+ gatewayRefundId?: Maybe<Scalars['String']['output']>;
22043
+ refundId: Scalars['ID']['output'];
22044
+ /** What is still refundable on the payment after this call. */
22045
+ refundableRemaining: Scalars['Float']['output'];
22046
+ /** Sum of the payment's pending, processing and completed refunds after this call. */
22047
+ refundedTotal: Scalars['Float']['output'];
22048
+ status: RefundRecordStatus;
22049
+ /** True when the provider accepted the refund (now or on an earlier call with the same key). */
22050
+ success: Scalars['Boolean']['output'];
22051
+ };
21835
22052
  export type ServiceRequestPayoutInput = {
21836
22053
  amount: Scalars['Float']['input'];
21837
22054
  /** Explicit billing account the payout is drawn from. */
@@ -21860,6 +22077,14 @@ export type ServiceResolvePayoutAccountInput = {
21860
22077
  /** Destination type for a newly-created placeholder account (defaults to BANK_ACCOUNT). */
21861
22078
  type?: InputMaybe<PayoutAccountType>;
21862
22079
  };
22080
+ export type ServiceReverseEarningInput = {
22081
+ /** Billing account the earning was recorded on. */
22082
+ billingAccountId: Scalars['ID']['input'];
22083
+ /** Why the earning is reversed (e.g. "Order COO-20261024-7F3A9C refunded"). */
22084
+ reason: Scalars['String']['input'];
22085
+ /** The sourceIdempotencyKey the earning was recorded with (serviceRecordEarning). */
22086
+ sourceIdempotencyKey: Scalars['String']['input'];
22087
+ };
21863
22088
  export type ServiceSyncPayoutStatusInput = {
21864
22089
  externalReference?: InputMaybe<Scalars['String']['input']>;
21865
22090
  failureReason?: InputMaybe<Scalars['String']['input']>;
@@ -23385,6 +23610,19 @@ export type SupportContextInput = {
23385
23610
  userId?: InputMaybe<Scalars['ID']['input']>;
23386
23611
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
23387
23612
  };
23613
+ /** A knowledge row a reply draft was built from. */
23614
+ export type SupportDraftCitation = {
23615
+ __typename?: 'SupportDraftCitation';
23616
+ id: Scalars['ID']['output'];
23617
+ kind: SupportDraftCitationKind;
23618
+ score: Scalars['Float']['output'];
23619
+ title: Scalars['String']['output'];
23620
+ };
23621
+ export declare enum SupportDraftCitationKind {
23622
+ CannedResponse = "CANNED_RESPONSE",
23623
+ Faq = "FAQ",
23624
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE"
23625
+ }
23388
23626
  export type SupportEraseResult = {
23389
23627
  __typename?: 'SupportEraseResult';
23390
23628
  anonymised: Scalars['Int']['output'];
@@ -23411,7 +23649,15 @@ export type SupportMessage = {
23411
23649
  /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */
23412
23650
  context?: Maybe<SupportContext>;
23413
23651
  createdAt: Scalars['DateTime']['output'];
23414
- id: Scalars['ID']['output'];
23652
+ /** The knowledge-base articles, FAQs and canned responses a draft was built from. Empty for every message that is not a draft. */
23653
+ draftCitations: Array<SupportDraftCitation>;
23654
+ /** When the draft was sent or discarded. */
23655
+ draftResolvedAt?: Maybe<Scalars['DateTime']['output']>;
23656
+ /** The agent reply that was sent from this draft, once sent. */
23657
+ draftSentMessageId?: Maybe<Scalars['String']['output']>;
23658
+ id: Scalars['ID']['output'];
23659
+ /** True for a reply drafted from the knowledge base that waits for an agent (BOFF-3646). Drafts are always internal and are never sent on their own. */
23660
+ isDraft: Scalars['Boolean']['output'];
23415
23661
  isInternal: Scalars['Boolean']['output'];
23416
23662
  message: Scalars['String']['output'];
23417
23663
  ticket: SupportTicket;
@@ -23460,6 +23706,8 @@ export type SupportTicket = {
23460
23706
  metadata?: Maybe<Scalars['JSON']['output']>;
23461
23707
  priority: SupportTicketPriority;
23462
23708
  reopenedAt?: Maybe<Scalars['DateTime']['output']>;
23709
+ /** The open reply draft for this ticket, if any. Support staff only. */
23710
+ replyDraft?: Maybe<SupportMessage>;
23463
23711
  resolutionDue?: Maybe<Scalars['DateTime']['output']>;
23464
23712
  resolvedAt?: Maybe<Scalars['DateTime']['output']>;
23465
23713
  slaBreachStatus: SlaBreachStatus;
@@ -23475,6 +23723,8 @@ export type SupportTicket = {
23475
23723
  tenantId?: Maybe<Scalars['String']['output']>;
23476
23724
  ticketCategory?: Maybe<TicketCategory>;
23477
23725
  ticketNumber: Scalars['String']['output'];
23726
+ /** The triage engine's latest decision for this ticket, with its evidence (BOFF-3646). Null when the ticket was never triaged, and always null for viewers who cannot read internal notes — the evidence names other tickets. */
23727
+ triageDecision?: Maybe<SupportTriageDecision>;
23478
23728
  updatedAt: Scalars['DateTime']['output'];
23479
23729
  user: User;
23480
23730
  userId: Scalars['String']['output'];
@@ -23525,6 +23775,99 @@ export declare enum SupportTicketStatus {
23525
23775
  Resolved = "RESOLVED",
23526
23776
  WaitingCustomer = "WAITING_CUSTOMER"
23527
23777
  }
23778
+ /** An agent the engine suggests for the ticket. A suggestion only: triage never assigns. */
23779
+ export type SupportTriageAssigneeSuggestion = {
23780
+ __typename?: 'SupportTriageAssigneeSuggestion';
23781
+ agentProfileId: Scalars['ID']['output'];
23782
+ /** Current tickets divided by the agent's ticket capacity. */
23783
+ load: Scalars['Float']['output'];
23784
+ /** Agent skills that matched the ticket's category and tags. */
23785
+ matchedSkills: Array<Scalars['String']['output']>;
23786
+ userId: Scalars['String']['output'];
23787
+ };
23788
+ /** One triage decision, with what it replaced so a person can see and undo it. The engine only fills an empty category and only raises a priority. */
23789
+ export type SupportTriageDecision = {
23790
+ __typename?: 'SupportTriageDecision';
23791
+ category: SupportTicketCategory;
23792
+ /** True when triage set the category. */
23793
+ categoryApplied: Scalars['Boolean']['output'];
23794
+ /** Share of the evidence weight behind the proposed category (0–1). */
23795
+ categoryConfidence: Scalars['Float']['output'];
23796
+ /** Category the ticket has after triage. */
23797
+ categoryId?: Maybe<Scalars['String']['output']>;
23798
+ decidedAt: Scalars['DateTime']['output'];
23799
+ /** Actor who ran it; system:support-triage for automatic runs. */
23800
+ decidedBy: Scalars['String']['output'];
23801
+ /** Engine name and version that made the decision. */
23802
+ engine: Scalars['String']['output'];
23803
+ evidence: Array<SupportTriageEvidence>;
23804
+ /** Plain-language reasons for anything the engine left alone. */
23805
+ notes: Array<Scalars['String']['output']>;
23806
+ previousCategory: SupportTicketCategory;
23807
+ previousCategoryId?: Maybe<Scalars['String']['output']>;
23808
+ previousPriority: SupportTicketPriority;
23809
+ previousSlaPolicyId?: Maybe<Scalars['String']['output']>;
23810
+ priority: SupportTicketPriority;
23811
+ /** Phrases and similar-ticket votes that set the priority. */
23812
+ prioritySignals: Array<Scalars['String']['output']>;
23813
+ /** Category the evidence pointed to, applied or not. */
23814
+ proposedCategoryId?: Maybe<Scalars['String']['output']>;
23815
+ /** True when triage changed the SLA policy. */
23816
+ slaApplied: Scalars['Boolean']['output'];
23817
+ slaPolicyId?: Maybe<Scalars['String']['output']>;
23818
+ suggestedAssignee?: Maybe<SupportTriageAssigneeSuggestion>;
23819
+ trigger: SupportTriageTrigger;
23820
+ };
23821
+ /** The engine replayed over recent tickets people categorised and resolved, using only older tickets as evidence for each. */
23822
+ export type SupportTriageEvaluation = {
23823
+ __typename?: 'SupportTriageEvaluation';
23824
+ cases: Array<SupportTriageEvaluationCase>;
23825
+ /** Share of cases where the engine would apply a category. */
23826
+ categoryCoverage: Scalars['Float']['output'];
23827
+ /** Share of applied categories that match the person's choice. */
23828
+ categoryPrecision: Scalars['Float']['output'];
23829
+ correctCount: Scalars['Int']['output'];
23830
+ decidedCount: Scalars['Int']['output'];
23831
+ engine: Scalars['String']['output'];
23832
+ /** Share of cases where the engine's priority matches the final priority. */
23833
+ priorityAgreement: Scalars['Float']['output'];
23834
+ sampleSize: Scalars['Int']['output'];
23835
+ };
23836
+ /** One replayed ticket in a triage evaluation. */
23837
+ export type SupportTriageEvaluationCase = {
23838
+ __typename?: 'SupportTriageEvaluationCase';
23839
+ confidence: Scalars['Float']['output'];
23840
+ correct: Scalars['Boolean']['output'];
23841
+ decided: Scalars['Boolean']['output'];
23842
+ /** The category a person gave the ticket. */
23843
+ expectedCategoryId: Scalars['String']['output'];
23844
+ expectedPriority: SupportTicketPriority;
23845
+ /** The category the engine would have applied, or null when it would abstain. */
23846
+ predictedCategoryId?: Maybe<Scalars['String']['output']>;
23847
+ predictedPriority: SupportTicketPriority;
23848
+ ticketId: Scalars['ID']['output'];
23849
+ ticketNumber: Scalars['String']['output'];
23850
+ };
23851
+ /** A row the triage engine weighed: a similar resolved ticket or a published knowledge-base article. */
23852
+ export type SupportTriageEvidence = {
23853
+ __typename?: 'SupportTriageEvidence';
23854
+ id: Scalars['ID']['output'];
23855
+ kind: SupportTriageEvidenceKind;
23856
+ /** Ticket number for tickets, title for articles. */
23857
+ label: Scalars['String']['output'];
23858
+ /** Full-text relevance score (Postgres ts_rank). */
23859
+ score: Scalars['Float']['output'];
23860
+ };
23861
+ export declare enum SupportTriageEvidenceKind {
23862
+ KnowledgeBaseArticle = "KNOWLEDGE_BASE_ARTICLE",
23863
+ Ticket = "TICKET"
23864
+ }
23865
+ export declare enum SupportTriageTrigger {
23866
+ /** Run on demand by a support agent. */
23867
+ Manual = "MANUAL",
23868
+ /** Run automatically when the ticket was created. */
23869
+ TicketCreated = "TICKET_CREATED"
23870
+ }
23528
23871
  export type SuppressIdentifierInput = {
23529
23872
  channel: SuppressionChannel;
23530
23873
  expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -24821,6 +25164,8 @@ export type UpdateContentPageInput = {
24821
25164
  category?: InputMaybe<Scalars['String']['input']>;
24822
25165
  content?: InputMaybe<Scalars['String']['input']>;
24823
25166
  contentFormat?: InputMaybe<Scalars['String']['input']>;
25167
+ /** Set, replace or (with null) withdraw the customer approval. Withdrawing it removes a case study from the public queries. */
25168
+ customerSignOff?: InputMaybe<CustomerSignOffInput>;
24824
25169
  excerpt?: InputMaybe<Scalars['String']['input']>;
24825
25170
  featured?: InputMaybe<Scalars['Boolean']['input']>;
24826
25171
  isPublished?: InputMaybe<Scalars['Boolean']['input']>;
@@ -26765,6 +27110,8 @@ export type CreateAddOnsInput = {
26765
27110
  price: Scalars['Float']['input'];
26766
27111
  productId: Scalars['String']['input'];
26767
27112
  quotas: Array<AddonQuotaInput>;
27113
+ /** Whether buying this add-on requires a paid subscription to its product. Defaults to true; set false only for items sold to Free users on purpose. */
27114
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26768
27115
  };
26769
27116
  export type CreatePlanInput = {
26770
27117
  currency?: InputMaybe<Scalars['String']['input']>;
@@ -26803,6 +27150,8 @@ export type UpdateAddOnsInput = {
26803
27150
  name?: InputMaybe<Scalars['String']['input']>;
26804
27151
  price?: InputMaybe<Scalars['Float']['input']>;
26805
27152
  quotas: Array<AddonQuotaInput>;
27153
+ /** Whether buying this add-on requires a paid subscription to its product. Omit to leave unchanged. */
27154
+ requiresPaidSubscription?: InputMaybe<Scalars['Boolean']['input']>;
26806
27155
  };
26807
27156
  export type UpdatePlanInput = {
26808
27157
  /** Immutable once set — see `price`. Throws CURRENCY_CHANGE_NOT_ALLOWED on an actual change. */