@burdenoff/microfe-timecampus 2026.1107.5 → 2026.1108.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 (51) hide show
  1. package/dist/generated/global-types.d.ts +1019 -85
  2. package/dist/generated/global-types.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.d.ts +1412 -148
  4. package/dist/generated/wspace-operations.d.ts.map +1 -1
  5. package/dist/generated/wspace-operations.js +1764 -1481
  6. package/dist/generated/wspace-operations.js.map +1 -1
  7. package/dist/generated/wspace-types.d.ts +5568 -171
  8. package/dist/generated/wspace-types.d.ts.map +1 -1
  9. package/dist/generated/wspace-types.js +7 -5
  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 +11 -7
  14. package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
  15. package/dist/timecampus/analytics/timecampusAnalytics.d.ts +7 -1
  16. package/dist/timecampus/analytics/timecampusAnalytics.d.ts.map +1 -1
  17. package/dist/timecampus/analytics/timecampusAnalytics.js +12 -0
  18. package/dist/timecampus/analytics/timecampusAnalytics.js.map +1 -1
  19. package/dist/timecampus/analytics/useTimeCampusAnalytics.d.ts.map +1 -1
  20. package/dist/timecampus/analytics/useTimeCampusAnalytics.js +1 -0
  21. package/dist/timecampus/analytics/useTimeCampusAnalytics.js.map +1 -1
  22. package/dist/timecampus/index.js +7 -7
  23. package/dist/timecampus/pages/extend/AppletDeveloperPage.d.ts.map +1 -1
  24. package/dist/timecampus/pages/extend/AppletDeveloperPage.js +252 -134
  25. package/dist/timecampus/pages/extend/AppletDeveloperPage.js.map +1 -1
  26. package/dist/timecampus/pages/extend/AppletReviewPage.d.ts.map +1 -1
  27. package/dist/timecampus/pages/extend/AppletReviewPage.js +143 -130
  28. package/dist/timecampus/pages/extend/AppletReviewPage.js.map +1 -1
  29. package/dist/timecampus/pages/extend/MarketplaceCertificationPage.d.ts +2 -0
  30. package/dist/timecampus/pages/extend/MarketplaceCertificationPage.d.ts.map +1 -0
  31. package/dist/timecampus/pages/extend/MarketplaceCertificationPage.js +326 -0
  32. package/dist/timecampus/pages/extend/MarketplaceCertificationPage.js.map +1 -0
  33. package/dist/timecampus/pages/extend/ThirdPartyAppletsSection.d.ts.map +1 -1
  34. package/dist/timecampus/pages/extend/ThirdPartyAppletsSection.js +167 -104
  35. package/dist/timecampus/pages/extend/ThirdPartyAppletsSection.js.map +1 -1
  36. package/dist/timecampus/pages/extend/appletPublishingHelpers.d.ts +30 -0
  37. package/dist/timecampus/pages/extend/appletPublishingHelpers.d.ts.map +1 -1
  38. package/dist/timecampus/pages/extend/appletPublishingHelpers.js +27 -1
  39. package/dist/timecampus/pages/extend/appletPublishingHelpers.js.map +1 -1
  40. package/dist/timecampus/pages/time-approval/SubmitTimesheetModal.d.ts +14 -0
  41. package/dist/timecampus/pages/time-approval/SubmitTimesheetModal.d.ts.map +1 -0
  42. package/dist/timecampus/pages/time-approval/SubmitTimesheetModal.js +238 -0
  43. package/dist/timecampus/pages/time-approval/SubmitTimesheetModal.js.map +1 -0
  44. package/dist/timecampus/pages/time-approval/TimeApprovalPage.d.ts.map +1 -1
  45. package/dist/timecampus/pages/time-approval/TimeApprovalPage.js +122 -87
  46. package/dist/timecampus/pages/time-approval/TimeApprovalPage.js.map +1 -1
  47. package/dist/timecampus/pages/time-approval/timesheetPeriod.d.ts +80 -0
  48. package/dist/timecampus/pages/time-approval/timesheetPeriod.d.ts.map +1 -0
  49. package/dist/timecampus/pages/time-approval/timesheetPeriod.js +103 -0
  50. package/dist/timecampus/pages/time-approval/timesheetPeriod.js.map +1 -0
  51. package/package.json +1 -1
@@ -317,7 +317,13 @@ export type AddFulfillmentTrackingEventInput = {
317
317
  occurredAt?: InputMaybe<Scalars['DateTime']['input']>;
318
318
  status: FulfillmentStatus;
319
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. */
320
+ /**
321
+ * Input for a publisher adding their own payout method. Only masked details are
322
+ * stored: the last four digits of the account plus the bank code. The payout
323
+ * processor (RazorpayX for India, Stripe Connect for international publishers)
324
+ * holds the full account and is referenced through externalAccountId, which an
325
+ * admin confirms or supplies when verifying the method.
326
+ */
321
327
  export type AddMyPublisherPayoutMethodInput = {
322
328
  accountHolderName: Scalars['String']['input'];
323
329
  /** Last four digits of the bank account (BANK_TRANSFER and RAZORPAY_X). */
@@ -2226,10 +2232,19 @@ export type CannedResponseFilterInput = {
2226
2232
  isActive?: InputMaybe<Scalars['Boolean']['input']>;
2227
2233
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
2228
2234
  };
2229
- /** One of a shipping carrier's own registered pickup/warehouse addresses (see carrierPickupLocations query). Not organization-scoped — a pickup location belongs to whichever carrier account it's registered with (e.g. Shiprocket today; more carriers may be added later), since a store's ShippingMethods can each use a different carrier. */
2235
+ /**
2236
+ * One of a shipping carrier's own registered pickup/warehouse addresses (see
2237
+ * carrierPickupLocations query). Not organization-scoped — a pickup location
2238
+ * belongs to whichever carrier account it's registered with (e.g. Shiprocket
2239
+ * today; more carriers may be added later), since a store's ShippingMethods
2240
+ * can each use a different carrier.
2241
+ */
2230
2242
  export type CarrierPickupLocation = {
2231
2243
  __typename?: 'CarrierPickupLocation';
2232
- /** Which carrier this pickup address is registered with (matches ShippingMethod.carrier, e.g. "shiprocket"). */
2244
+ /**
2245
+ * Which carrier this pickup address is registered with (matches
2246
+ * ShippingMethod.carrier, e.g. "shiprocket").
2247
+ */
2233
2248
  carrier: Scalars['String']['output'];
2234
2249
  label: Scalars['String']['output'];
2235
2250
  postalCode: Scalars['String']['output'];
@@ -3004,11 +3019,17 @@ export declare enum ChartWindow {
3004
3019
  }
3005
3020
  /** Input for checkout */
3006
3021
  export type CheckoutInput = {
3007
- /** Billing account ID. When omitted, the store resolves the caller's default billing account from billing-svc automatically. */
3022
+ /**
3023
+ * Billing account ID. When omitted, the store resolves the caller's default
3024
+ * billing account from billing-svc automatically.
3025
+ */
3008
3026
  billingAccountId?: InputMaybe<Scalars['String']['input']>;
3009
3027
  /** Order notes */
3010
3028
  notes?: InputMaybe<Scalars['String']['input']>;
3011
- /** Payment method ID. When omitted, the store uses the default payment method on the resolved billing account. */
3029
+ /**
3030
+ * Payment method ID. When omitted, the store uses the default payment method
3031
+ * on the resolved billing account.
3032
+ */
3012
3033
  paymentMethodId?: InputMaybe<Scalars['String']['input']>;
3013
3034
  /** Shipping address ID (required for physical items) */
3014
3035
  shippingAddressId?: InputMaybe<Scalars['String']['input']>;
@@ -4030,7 +4051,10 @@ export type CreatePhysicalProductInput = {
4030
4051
  bannerUrl?: InputMaybe<Scalars['String']['input']>;
4031
4052
  brand?: InputMaybe<Scalars['String']['input']>;
4032
4053
  category?: InputMaybe<Scalars['String']['input']>;
4033
- /** Which platform products this listing is relevant to (e.g. "healthybowl"). Set by the calling seller-portal shell — see DeveloperOrgKind (BOFF-7285). */
4054
+ /**
4055
+ * Which platform products this listing is relevant to (e.g. "healthybowl").
4056
+ * Set by the calling seller-portal shell — see DeveloperOrgKind (BOFF-7285).
4057
+ */
4034
4058
  compatibleProducts?: InputMaybe<Array<Scalars['String']['input']>>;
4035
4059
  countryOfOrigin?: InputMaybe<Scalars['String']['input']>;
4036
4060
  currency?: InputMaybe<Scalars['String']['input']>;
@@ -4955,6 +4979,12 @@ export type DeadLetterQueueConnection = {
4955
4979
  hasMore: Scalars['Boolean']['output'];
4956
4980
  total: Scalars['Int']['output'];
4957
4981
  };
4982
+ export type DecideGovernanceAppealInput = {
4983
+ decision: GovernanceAppealDecision;
4984
+ id: Scalars['ID']['input'];
4985
+ /** Decision note the publisher sees. */
4986
+ note: Scalars['String']['input'];
4987
+ };
4958
4988
  export declare enum DelegationStatus {
4959
4989
  Active = "ACTIVE",
4960
4990
  Expired = "EXPIRED",
@@ -6658,6 +6688,13 @@ export type FileDsarInput = {
6658
6688
  subjectId: Scalars['ID']['input'];
6659
6689
  type: DsarType;
6660
6690
  };
6691
+ export type FileGovernanceAppealInput = {
6692
+ /** Required for a LISTING appeal: the taken-down listing. */
6693
+ productId?: InputMaybe<Scalars['ID']['input']>;
6694
+ /** Why the action should be reversed, up to 4000 characters. */
6695
+ statement: Scalars['String']['input'];
6696
+ targetType: GovernanceAppealTarget;
6697
+ };
6661
6698
  /** Available filter options for UI dropdowns */
6662
6699
  export type FilterOptionsResult = {
6663
6700
  __typename?: 'FilterOptionsResult';
@@ -6742,6 +6779,91 @@ export type GetApplicationTagsInput = {
6742
6779
  export type GetStoreProductTagsInput = {
6743
6780
  entityId: Scalars['ID']['input'];
6744
6781
  };
6782
+ /** A publisher's appeal against a takedown or suspension. */
6783
+ export type GovernanceAppeal = {
6784
+ __typename?: 'GovernanceAppeal';
6785
+ actionAt?: Maybe<Scalars['DateTime']['output']>;
6786
+ /** The reason recorded on the action when the appeal was filed. */
6787
+ actionReason?: Maybe<Scalars['String']['output']>;
6788
+ createdAt: Scalars['DateTime']['output'];
6789
+ decidedAt?: Maybe<Scalars['DateTime']['output']>;
6790
+ decidedBy?: Maybe<Scalars['String']['output']>;
6791
+ /** The reviewer's decision note, shown to the publisher. */
6792
+ decisionNote?: Maybe<Scalars['String']['output']>;
6793
+ filedBy: Scalars['String']['output'];
6794
+ id: Scalars['ID']['output'];
6795
+ isReviewOverdue: Scalars['Boolean']['output'];
6796
+ product?: Maybe<StoreProduct>;
6797
+ productId?: Maybe<Scalars['ID']['output']>;
6798
+ publisherId: Scalars['ID']['output'];
6799
+ /** Five business days after filing. */
6800
+ reviewDueAt: Scalars['DateTime']['output'];
6801
+ statement: Scalars['String']['output'];
6802
+ status: GovernanceAppealStatus;
6803
+ submittedAt: Scalars['DateTime']['output'];
6804
+ targetType: GovernanceAppealTarget;
6805
+ };
6806
+ export declare enum GovernanceAppealDecision {
6807
+ Reversed = "REVERSED",
6808
+ Upheld = "UPHELD"
6809
+ }
6810
+ export type GovernanceAppealList = {
6811
+ __typename?: 'GovernanceAppealList';
6812
+ appeals: Array<GovernanceAppeal>;
6813
+ totalCount: Scalars['Int']['output'];
6814
+ };
6815
+ export declare enum GovernanceAppealStatus {
6816
+ Pending = "PENDING",
6817
+ /** The action was undone. */
6818
+ Reversed = "REVERSED",
6819
+ /** The action stays in place. */
6820
+ Upheld = "UPHELD"
6821
+ }
6822
+ /** What a governance appeal is against. */
6823
+ export declare enum GovernanceAppealTarget {
6824
+ /** A takedown of one listing. */
6825
+ Listing = "LISTING",
6826
+ /** A suspension of the whole publisher account. */
6827
+ Publisher = "PUBLISHER"
6828
+ }
6829
+ /** The review a report is about, as the reviewer queue shows it. */
6830
+ export type GovernanceReportedReview = {
6831
+ __typename?: 'GovernanceReportedReview';
6832
+ comment?: Maybe<Scalars['String']['output']>;
6833
+ id: Scalars['ID']['output'];
6834
+ productId: Scalars['ID']['output'];
6835
+ productName?: Maybe<Scalars['String']['output']>;
6836
+ productSlug?: Maybe<Scalars['String']['output']>;
6837
+ rating: Scalars['Int']['output'];
6838
+ status: Scalars['String']['output'];
6839
+ title?: Maybe<Scalars['String']['output']>;
6840
+ userId: Scalars['String']['output'];
6841
+ };
6842
+ /** A report against a review, in the reviewer queue. */
6843
+ export type GovernanceReviewReport = {
6844
+ __typename?: 'GovernanceReviewReport';
6845
+ actionTaken?: Maybe<Scalars['String']['output']>;
6846
+ createdAt: Scalars['DateTime']['output'];
6847
+ details?: Maybe<Scalars['String']['output']>;
6848
+ id: Scalars['ID']['output'];
6849
+ /** True when the product's publisher filed this report to dispute the rating. */
6850
+ isRatingDispute: Scalars['Boolean']['output'];
6851
+ reason: Scalars['String']['output'];
6852
+ reportedBy: Scalars['String']['output'];
6853
+ /** True when the reporter is the publisher of the reviewed product. */
6854
+ reportedByPublisher: Scalars['Boolean']['output'];
6855
+ resolutionNote?: Maybe<Scalars['String']['output']>;
6856
+ review?: Maybe<GovernanceReportedReview>;
6857
+ reviewId: Scalars['ID']['output'];
6858
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
6859
+ reviewedBy?: Maybe<Scalars['String']['output']>;
6860
+ status: ReviewReportStatus;
6861
+ };
6862
+ export type GovernanceReviewReportList = {
6863
+ __typename?: 'GovernanceReviewReportList';
6864
+ reports: Array<GovernanceReviewReport>;
6865
+ totalCount: Scalars['Int']['output'];
6866
+ };
6745
6867
  /** Input for the service-trusted internal self-delegation grant path. Called by a trusted backend (e.g. wspace-integrations-svc) when a user "adds" a first-party integration: it creates a self-delegation (the user grants the first-party app the ability to act as themselves) without a separate consent screen and without the workspace-admin gate (the user is only granting access to their own data, still bounded by their role-based RBAC at the target service). Only callable by service/super_admin actors through an internal gateway. */
6746
6868
  export type GrantAppDelegationInternalInput = {
6747
6869
  /** Client ID of the first-party system app (e.g. burdenoff_integration_core). */
@@ -8095,6 +8217,64 @@ export declare enum LinkType {
8095
8217
  Parent = "PARENT",
8096
8218
  Related = "RELATED"
8097
8219
  }
8220
+ /** A buyer's report against a listing. */
8221
+ export type ListingReport = {
8222
+ __typename?: 'ListingReport';
8223
+ createdAt: Scalars['DateTime']['output'];
8224
+ details?: Maybe<Scalars['String']['output']>;
8225
+ id: Scalars['ID']['output'];
8226
+ product?: Maybe<StoreProduct>;
8227
+ productId: Scalars['ID']['output'];
8228
+ reason: ListingReportReason;
8229
+ /** Actor id of the reporter. Visible to store admins only (the reporter sees their own). */
8230
+ reportedBy: Scalars['String']['output'];
8231
+ resolutionNote?: Maybe<Scalars['String']['output']>;
8232
+ resolvedAt?: Maybe<Scalars['DateTime']['output']>;
8233
+ resolvedBy?: Maybe<Scalars['String']['output']>;
8234
+ status: ListingReportStatus;
8235
+ updatedAt: Scalars['DateTime']['output'];
8236
+ };
8237
+ export type ListingReportList = {
8238
+ __typename?: 'ListingReportList';
8239
+ reports: Array<ListingReport>;
8240
+ totalCount: Scalars['Int']['output'];
8241
+ };
8242
+ /** Why a buyer reports a listing. */
8243
+ export declare enum ListingReportReason {
8244
+ /** Abusive, hateful or otherwise unacceptable content. */
8245
+ Abuse = "ABUSE",
8246
+ /** The listing does not install or does not work. */
8247
+ Broken = "BROKEN",
8248
+ /** The listing infringes someone's intellectual property. */
8249
+ IpInfringement = "IP_INFRINGEMENT",
8250
+ /** The description, screenshots or pricing misrepresent the listing. */
8251
+ Misleading = "MISLEADING",
8252
+ Other = "OTHER",
8253
+ /** The listing poses a security, privacy or safety risk. */
8254
+ Security = "SECURITY",
8255
+ /** Spam or a duplicate listing. */
8256
+ Spam = "SPAM"
8257
+ }
8258
+ /** Lifecycle of a listing report. */
8259
+ export declare enum ListingReportStatus {
8260
+ Actioned = "ACTIONED",
8261
+ Dismissed = "DISMISSED",
8262
+ Open = "OPEN"
8263
+ }
8264
+ /**
8265
+ * The active takedown of a listing. Visible to store admins and to the listing's
8266
+ * publisher only.
8267
+ */
8268
+ export type ListingTakedown = {
8269
+ __typename?: 'ListingTakedown';
8270
+ category?: Maybe<TakedownCategory>;
8271
+ reason?: Maybe<Scalars['String']['output']>;
8272
+ source: TakedownSource;
8273
+ /** The status a reinstatement restores. */
8274
+ statusBeforeTakedown?: Maybe<ProductStatus>;
8275
+ takenDownAt: Scalars['DateTime']['output'];
8276
+ takenDownBy?: Maybe<Scalars['String']['output']>;
8277
+ };
8098
8278
  export type LowStockProduct = {
8099
8279
  __typename?: 'LowStockProduct';
8100
8280
  name: Scalars['String']['output'];
@@ -8371,7 +8551,10 @@ export type Mutation = {
8371
8551
  approveReview: ProductReview;
8372
8552
  approveTranslation: Translation;
8373
8553
  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. */
8554
+ /**
8555
+ * Admin approves a pending template revision: it becomes the live version of
8556
+ * the template (the version goes up) and the revision is removed.
8557
+ */
8375
8558
  approveWorkflowTemplateRevision: WorkflowTemplateSubmission;
8376
8559
  /** Soft archive a billing account. Financial history is preserved and the account is removed from active billing operations. */
8377
8560
  archiveBillingAccount: BillingAccount;
@@ -8643,7 +8826,19 @@ export type Mutation = {
8643
8826
  createSignedCookieSession: SignedCookieResult;
8644
8827
  createSourcingRequest: SourcingRequest;
8645
8828
  createStore: Store;
8646
- /** Create a new store order (called when user clicks checkout). NOTE: Codex P1 on PR #55 — gating is global+create rather than scopeType:"self". The resolver currently forwards client-supplied input.total / input.lineItems to OrderService without server-side re-pricing, so a "self"-gate would let a buyer underprice their own order and harvest entitlements via the billing callback. Buyer checkout flows through the cart path (createCart → addToCart → checkoutCart) which prices server-side. Re-opening this as a buyer-self action requires server-side total rebuild from product ids — tracked as a follow-up. */
8829
+ /**
8830
+ * Create a new store order (called when user clicks checkout).
8831
+ *
8832
+ * NOTE: Codex P1 on PR #55 — gating is global+create rather than
8833
+ * scopeType:"self". The resolver currently forwards client-supplied
8834
+ * input.total / input.lineItems to OrderService without server-side
8835
+ * re-pricing, so a "self"-gate would let a buyer underprice their own
8836
+ * order and harvest entitlements via the billing callback. Buyer
8837
+ * checkout flows through the cart path (createCart → addToCart →
8838
+ * checkoutCart) which prices server-side. Re-opening this as a
8839
+ * buyer-self action requires server-side total rebuild from product
8840
+ * ids — tracked as a follow-up.
8841
+ */
8647
8842
  createStoreOrder: StoreOrder;
8648
8843
  createSubprocessor: Subprocessor;
8649
8844
  /** Link a subscription plan to a store product granting FREE_ACCESS or DISCOUNT. */
@@ -8698,6 +8893,8 @@ export type Mutation = {
8698
8893
  deactivateTourSchedule: TourSchedule;
8699
8894
  /** Stops a subject from firing webhooks. The row is kept so a later registration reactivates it. Same ownership rule as registration. */
8700
8895
  deactivateWebhookEventSubject: WebhookEventSubject;
8896
+ /** Decide a pending appeal. REVERSED reinstates the listing or publisher. */
8897
+ decideGovernanceAppeal: GovernanceAppeal;
8701
8898
  /** Pure quota decrement — called by wspace-activity-svc after writing a UsageRecord. Only decrements QuotaAssignment.limits.value. Does NOT write back to activity-svc. Requires the quotaAssignmentId already resolved by checkQuotaExhausted. */
8702
8899
  decrementQuota: Scalars['Boolean']['output'];
8703
8900
  /** Delete current user's account permanently Requires password confirmation */
@@ -8833,12 +9030,18 @@ export type Mutation = {
8833
9030
  deleteUserLanguagePreference: Scalars['Boolean']['output'];
8834
9031
  /** Soft-delete a user platform connection */
8835
9032
  deleteUserPlatformConnection: Scalars['Boolean']['output'];
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. */
9033
+ /**
9034
+ * M2M: delete a ShippingAddress owned by an explicit user, on behalf of a calling
9035
+ * service. Returns false when no matching row exists for that user. Service-actor only.
9036
+ */
8837
9037
  deleteUserShippingAddress: Scalars['Boolean']['output'];
8838
9038
  deleteWebhook: Scalars['Boolean']['output'];
8839
9039
  /** Delete a webhook subscription and its delivery log */
8840
9040
  deleteWebhookSubscription: Scalars['Boolean']['output'];
8841
- /** Admin delists a published product — removes it from store discovery for new users while preserving access for anyone who already installed it. */
9041
+ /**
9042
+ * Admin delists a published product — removes it from store discovery for
9043
+ * new users while preserving access for anyone who already installed it.
9044
+ */
8842
9045
  delistProduct: StoreProduct;
8843
9046
  /** Deliver the same notification to multiple recipients in bulk. More efficient than multiple single calls for broadcast scenarios. */
8844
9047
  deliverBulkNotification: BulkChannelDeliveryResult;
@@ -8873,7 +9076,14 @@ export type Mutation = {
8873
9076
  enrollSubscriberInAutomation: AutomationSubscriber;
8874
9077
  /** Idempotently ensure a user is an organization member, primarily for the workspace-invite-accept flow where an invitee gains a workspace inside an org they're not yet a member of. Unlike `addOrganizationMember`: * Returns `OrganizationMember` whether the row was inserted or already existed — no CONFLICT on repeat calls (case 1: already a member). * Does NOT overwrite the existing `role` column on a pre-existing row (case 2: don't demote). * Triggers a real-role assignment in global-rbac-svc at scope = orgId only when the actor has NO existing role assignment at that scope (case 3: real role comes from RBAC, not the data-layer string). The `role` arg defaults to `GUEST` — the most restrictive enum value — because invitees arriving via a workspace invite should not gain first-class org membership. The data-layer string column is a coarse classifier; the authoritative permission decision is evaluated by global-rbac-svc against `actor_role_assignments`. See BOFF-2649 + the RBAC guide at `dev/platform/context/identity/rbac/RBAC_GUIDE_FOR_AI_TOOLS.md`. Called from wspace-workspace-svc::acceptInvitation via service-context (`X-Actor-Type: service`), which bypasses the workspace-admin check inside the resolver. Best-effort from the caller's side — failures must NOT block the upstream invite acceptance. */
8875
9078
  ensureOrganizationMember: EnsureOrganizationMemberResult;
8876
- /** Ensure a billing order exists for a store order. Called from the checkout frontend when no billingOrderId is present (e.g. the buyer had no billing account at order-creation time). Creates the billing order server-side so the correct callbackGraphQL endpoint is registered and the billing service can call back after payment to confirm the store order. */
9079
+ /**
9080
+ * Ensure a billing order exists for a store order.
9081
+ *
9082
+ * Called from the checkout frontend when no billingOrderId is present (e.g. the
9083
+ * buyer had no billing account at order-creation time). Creates the billing order
9084
+ * server-side so the correct callbackGraphQL endpoint is registered and the
9085
+ * billing service can call back after payment to confirm the store order.
9086
+ */
8877
9087
  ensureStoreOrderBillingOrder: EnsureStoreOrderBillingOrderResponse;
8878
9088
  /** Anonymise the subject on the billing layer. With dryRun=true, returns what would change without mutating. Financial records (Transaction, Invoice, Payment) are RETAINED for the statutory 7-year window. */
8879
9089
  eraseSubject: EraseResult;
@@ -8910,7 +9120,15 @@ export type Mutation = {
8910
9120
  featureAppReview: AppReview;
8911
9121
  featureReview: ProductReview;
8912
9122
  fileDSAR: DsarRequest;
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. */
9123
+ /** Appeal a takedown of one of your listings, or your publisher suspension. */
9124
+ fileGovernanceAppeal: GovernanceAppeal;
9125
+ /**
9126
+ * Seller reports a problem fulfilling a physical order (out of stock, cannot
9127
+ * fulfill, wrong address, etc). The resolver verifies organizationId actually
9128
+ * owns a physical line item on this order (real evidence in store-svc's own
9129
+ * data) — scopeType: "organization" at the gateway only confirms the actor has
9130
+ * SOME org context, not that it's this specific one.
9131
+ */
8914
9132
  flagOrderIssue: OrderIssueFlag;
8915
9133
  freeUpUsage: Scalars['Boolean']['output'];
8916
9134
  generateAPIKey: ApiKeyResult;
@@ -8973,7 +9191,14 @@ export type Mutation = {
8973
9191
  initiatePayment: InitiatePaymentResponse;
8974
9192
  /** Install an application. For a workspace-private custom node, installing a newer version published to the organization over an active installation updates it (BOFF-9766); the previous version stays installed in the workspace so workflows pinned to it keep running, and uninstall removes every version. */
8975
9193
  installApp: AppInstallation;
8976
- /** Install a purchased app to a workspace. Validates that the product was purchased before allowing installation. If orderId is not provided, will find the most recent processed order for this product. version: optional specific version to install (e.g. "1.2.0"), resolved against the linked devportal Application's published/deprecated versions. Omit to install the product's current latest version (default behavior). */
9194
+ /**
9195
+ * Install a purchased app to a workspace.
9196
+ * Validates that the product was purchased before allowing installation.
9197
+ * If orderId is not provided, will find the most recent processed order for this product.
9198
+ * version: optional specific version to install (e.g. "1.2.0"), resolved against
9199
+ * the linked devportal Application's published/deprecated versions. Omit to
9200
+ * install the product's current latest version (default behavior).
9201
+ */
8977
9202
  installPurchasedApp: InstallPurchasedAppResult;
8978
9203
  /** Invite a user to join an organization */
8979
9204
  inviteDeveloperOrgMember: DeveloperOrgInvitationCreated;
@@ -9110,6 +9335,8 @@ export type Mutation = {
9110
9335
  recordNotificationAction: Notification;
9111
9336
  /** Record the user's first visit to a product's app shell after login. - Idempotent on (userId, productSlug): subsequent calls return the same result with `isFirstVisit: false`. - On the first visit, fires a product-specific welcome email (best-effort — email failure does NOT fail the mutation). - Safe to call on every app-shell mount; the frontend hook should debounce per session. */
9112
9337
  recordProductVisit: RecordProductVisitResult;
9338
+ /** Record a chargeback event (opened, won or lost) on a store order. Holds the publisher share while the dispute is open, releases it when won, and deducts the dispute fee when lost (Developer Agreement Section 6). */
9339
+ recordPublisherChargeback: Array<PublisherChargeback>;
9113
9340
  /** Record a sale (usually called by store service) */
9114
9341
  recordSale: DeveloperOrgSale;
9115
9342
  /** Record user progress for a tour */
@@ -9118,12 +9345,27 @@ export type Mutation = {
9118
9345
  refreshApplicationVersionPackageUrl?: Maybe<Scalars['String']['output']>;
9119
9346
  /** Refresh OAuth tokens manually */
9120
9347
  refreshConnectionTokens: ChannelConnection;
9348
+ /** Re-read the processor state of one of the calling user's payout methods. */
9349
+ refreshMyPublisherPayoutOnboarding: PublisherPayoutOnboarding;
9121
9350
  refreshProductAssetUrl?: Maybe<Scalars['String']['output']>;
9122
9351
  refreshToken: AuthPayload;
9123
9352
  regenerateAffiliateCode: AffiliateCode;
9124
9353
  /** Register (or re-register) an approved application with global-auth-svc so it can issue OAuth clients, API keys, and delegations. Safe to call more than once — skips if appId is already set. */
9125
9354
  registerAppWithAuthService: Application;
9126
- /** Register a seller's real address as a new pickup/warehouse location on a carrier account (currently only "shiprocket" supports this), so it becomes a real, bookable pickup point instead of just an unregistered pincode a seller typed in. This is a real, permanent write to the carrier's account — not a local list we maintain; any address the carrier itself accepts is supported, we never hardcode which pincodes are valid. scopeType: "self" — same authenticated-actor bar as carrierPickupLocations. This doesn't touch a store-svc-owned resource with an ownership row to check against (it writes directly to the carrier account), so there's no org-ownership verification here — a known trust-boundary gap, same shape as flagOrderIssue's caller-supplied organizationId. */
9355
+ /**
9356
+ * Register a seller's real address as a new pickup/warehouse location on a
9357
+ * carrier account (currently only "shiprocket" supports this), so it becomes
9358
+ * a real, bookable pickup point instead of just an unregistered pincode a
9359
+ * seller typed in. This is a real, permanent write to the carrier's account
9360
+ * — not a local list we maintain; any address the carrier itself accepts is
9361
+ * supported, we never hardcode which pincodes are valid.
9362
+ *
9363
+ * scopeType: "self" — same authenticated-actor bar as carrierPickupLocations.
9364
+ * This doesn't touch a store-svc-owned resource with an ownership row to
9365
+ * check against (it writes directly to the carrier account), so there's no
9366
+ * org-ownership verification here — a known trust-boundary gap, same shape
9367
+ * as flagOrderIssue's caller-supplied organizationId.
9368
+ */
9127
9369
  registerCarrierPickupLocation: CarrierPickupLocation;
9128
9370
  /** Register (or refresh) a push-notification device token for the current user. Upserts on the OS-issued token — safe to call on every app launch and on every token-refresh event. `platform` is one of "ios", "android", "web". `productSlug` names the product whose install minted the token; the server derives the Firebase project from it, and an unmapped product is rejected outright rather than stored as an undeliverable row. `metadata` is optional free-form context (app version, OS version). Deliberately takes no `fcmProject` and no identity argument: the project is derived server-side so a client cannot file a device under a project that cannot reach it, and the owner is always the calling actor. */
9129
9371
  registerDeviceToken: DeviceToken;
@@ -9138,6 +9380,8 @@ export type Mutation = {
9138
9380
  registerWebhookEventSubjects: Array<WebhookEventSubject>;
9139
9381
  /** Register an outbound webhook endpoint for an owner */
9140
9382
  registerWebhookSubscription: WebhookSubscription;
9383
+ /** Reinstate a listing the store team took down, restoring its previous status. */
9384
+ reinstateListing: StoreProduct;
9141
9385
  reinstatePublisher: Publisher;
9142
9386
  rejectApplication: Application;
9143
9387
  /** Platform admin only: reject a pending_review version with a reason. The developer can fix their submission and re-submit. */
@@ -9148,16 +9392,24 @@ export type Mutation = {
9148
9392
  /** Reject an organization invite (must be logged in as the invited user) */
9149
9393
  rejectOrganizationInvite: OrganizationInvite;
9150
9394
  rejectPayoutRequest: PayoutRequest;
9151
- /** Admin rejects a submitted product with a mandatory reason. Publisher can edit and resubmit afterwards. */
9395
+ /**
9396
+ * Admin rejects a submitted product with a mandatory reason. Publisher can
9397
+ * edit and resubmit afterwards.
9398
+ */
9152
9399
  rejectProduct: StoreProduct;
9153
9400
  rejectPublisher: Publisher;
9154
9401
  /** Admin rejects a pending payout method with a reason the publisher can act on. */
9155
9402
  rejectPublisherPayoutMethod: PublisherPayoutMethod;
9156
9403
  rejectReview: ProductReview;
9157
9404
  rejectWaitlist: NewsletterWaitlist;
9158
- /** Admin rejects a pending template revision with a reason the author sees. The live version stays listed unchanged. */
9405
+ /**
9406
+ * Admin rejects a pending template revision with a reason the author sees. The
9407
+ * live version stays listed unchanged.
9408
+ */
9159
9409
  rejectWorkflowTemplateRevision: WorkflowTemplateRevision;
9160
9410
  releaseLegalHold: LegalHold;
9411
+ /** Release a payout held for a missing verified payout method or a chargeback rate above 1%, and request it on billing. */
9412
+ releasePublisherPayoutHold: PublisherPayout;
9161
9413
  releaseSuppression: SuppressionEntry;
9162
9414
  removeAgentSkills: AgentProfile;
9163
9415
  /** Remove the license configuration for an application */
@@ -9231,6 +9483,8 @@ export type Mutation = {
9231
9483
  replyToReview: ProductReviewReply;
9232
9484
  /** Report a review */
9233
9485
  reportAppReview: AppReviewReport;
9486
+ /** Report a listing to the store team. Reporting again updates your report. */
9487
+ reportListing: ListingReport;
9234
9488
  /** 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. */
9235
9489
  reportNodeSandboxBuildStatus: Scalars['Boolean']['output'];
9236
9490
  reportReview: ProductReviewReport;
@@ -9275,8 +9529,16 @@ export type Mutation = {
9275
9529
  resolveContextWidgetConversation: ContextWidgetConversationPayload;
9276
9530
  resolveDLQEntry: Scalars['Boolean']['output'];
9277
9531
  resolveInventoryAlert: InventoryAlert;
9278
- /** Mark a seller-reported issue flag resolved. Allowed for a super-admin (no organizationId needed) or the org that raised the flag (organizationId must match) — enforced in the resolver. */
9532
+ /** Close an open listing report. */
9533
+ resolveListingReport: ListingReport;
9534
+ /**
9535
+ * Mark a seller-reported issue flag resolved. Allowed for a super-admin (no
9536
+ * organizationId needed) or the org that raised the flag (organizationId must
9537
+ * match) — enforced in the resolver.
9538
+ */
9279
9539
  resolveOrderIssueFlag: OrderIssueFlag;
9540
+ /** Close a pending review report, optionally hiding the review. */
9541
+ resolveReviewReport: GovernanceReviewReport;
9280
9542
  resolveSupportTicket: SupportTicket;
9281
9543
  /** Respond to a review (developer) */
9282
9544
  respondToAppReview: AppReview;
@@ -9415,7 +9677,15 @@ export type Mutation = {
9415
9677
  serviceReverseEarning: ServiceEarningReversal;
9416
9678
  /** 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. */
9417
9679
  serviceSyncPayoutStatus?: Maybe<DeveloperOrgPayout>;
9418
- /** 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. */
9680
+ /**
9681
+ * M2M: create or update the calling service's catalogue listing for an item that
9682
+ * service sells through its own checkout (BOFF-3430), for cross-product
9683
+ * discovery. Idempotent on (calling service identity, input.externalId): call it
9684
+ * on every change of the source item. The owning service is always the verified
9685
+ * service identity of the caller, never an input field. Set status ARCHIVED to
9686
+ * take the listing down. A listing an admin has delisted or rejected stays off
9687
+ * display until an admin restores it. Service-actor only.
9688
+ */
9419
9689
  serviceUpsertExternalListing: StoreProduct;
9420
9690
  setAgentAway: AgentProfile;
9421
9691
  setAgentOffline: AgentProfile;
@@ -9437,7 +9707,17 @@ export type Mutation = {
9437
9707
  setNotificationTopicSubscription: NotificationTopicSubscription;
9438
9708
  /** Set default permission level for a role on a resource type */
9439
9709
  setRoleDefaultPermission: Role;
9440
- /** Set (or update) the shipping address + method for a store order (physical orders). The backend recomputes the AUTHORITATIVE shipping cost from the order's own line-item weights via the same quote engine as estimateOrderShipping — the client never supplies a cost. Verifies the address belongs to the order's buyer and freezes an immutable shippingSnapshot for delivery integrity. `StoreOrder.total` stays product-cost-only; the billing/checkout layer must add `shippingCost` to the payable amount. */
9710
+ /**
9711
+ * Set (or update) the shipping address + method for a store order (physical orders).
9712
+ *
9713
+ * The backend recomputes the AUTHORITATIVE shipping cost from the order's own
9714
+ * line-item weights via the same quote engine as estimateOrderShipping — the
9715
+ * client never supplies a cost. Verifies the address belongs to the order's buyer
9716
+ * and freezes an immutable shippingSnapshot for delivery integrity.
9717
+ *
9718
+ * `StoreOrder.total` stays product-cost-only; the billing/checkout layer must add
9719
+ * `shippingCost` to the payable amount.
9720
+ */
9441
9721
  setStoreOrderShipping: StoreOrder;
9442
9722
  /** Set or update the endpoint URL for a DEDICATED tenant. Transitions PROVISIONING → ACTIVE when endpoint is set. */
9443
9723
  setTenantEndpoint: Tenant;
@@ -9464,6 +9744,14 @@ export type Mutation = {
9464
9744
  spendCredits: SpendCreditResponse;
9465
9745
  /** Start a trial for an application */
9466
9746
  startAppTrial: AppInstallation;
9747
+ /**
9748
+ * Start automatic payout onboarding for one of the calling user's PENDING
9749
+ * RAZORPAY_X or STRIPE_CONNECT payout methods: RazorpayX fund-account validation
9750
+ * (penny drop) or Stripe Connect Express onboarding (open onboardingUrl). The
9751
+ * method turns VERIFIED automatically once the processor confirms the account
9752
+ * and the publisher has passed verification.
9753
+ */
9754
+ startMyPublisherPayoutOnboarding: PublisherPayoutOnboarding;
9467
9755
  startStagedRollout: ProductRelease;
9468
9756
  /** Mark a tour as started for a user */
9469
9757
  startTour: TourUserProgress;
@@ -9480,11 +9768,18 @@ export type Mutation = {
9480
9768
  submitInterviewFeedback: InterviewFeedback;
9481
9769
  /** Submit a job application from a public website (no authentication required). Validates reCAPTCHA, stores the resume in private storage, and notifies the applicant + careers inbox. */
9482
9770
  submitJobApplication: SubmitJobApplicationResult;
9483
- /** Submit a product to its target store for review. The store's requiresApproval flag decides whether the product goes to PENDING_REVIEW or is auto-published. */
9771
+ /**
9772
+ * Submit a product to its target store for review. The store's
9773
+ * requiresApproval flag decides whether the product goes to PENDING_REVIEW
9774
+ * or is auto-published.
9775
+ */
9484
9776
  submitProduct: StoreProduct;
9485
9777
  submitPublisherVerification: Publisher;
9486
9778
  submitSatisfactionSurvey: CustomerSatisfactionSurvey;
9487
- /** Publish a workflow as a community template (or resubmit one of yours after a rejection). The template is reviewed by a store admin before it is listed. */
9779
+ /**
9780
+ * Publish a workflow as a community template (or resubmit one of yours after a
9781
+ * rejection). The template is reviewed by a store admin before it is listed.
9782
+ */
9488
9783
  submitWorkflowTemplate: WorkflowTemplateSubmission;
9489
9784
  /** Public endpoint — no authentication required for website newsletter signup. Email is normalized (trimmed, lowercased) and validated in the provider. Protected by rate limiting (5 req/min per IP) and optional reCAPTCHA at the resolver. */
9490
9785
  subscribe: NewsletterSubscriber;
@@ -9504,7 +9799,14 @@ export type Mutation = {
9504
9799
  suspendTenant: Tenant;
9505
9800
  /** Suspend a workspace */
9506
9801
  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. */
9802
+ /**
9803
+ * M2M (BOFF-9458): apply a published catalog node version's manifest.json. Replaces the node
9804
+ * contract (operations, inputs, outputs, adapters, endpoint) inside every active Store listing of
9805
+ * that node owned by a catalog publisher, then refreshes the node's global registry row in
9806
+ * wspace-workflow-svc. Listings of other publishers, other node versions and install snapshots
9807
+ * are never changed. Idempotent. Only global-devportal-svc may call it: catalog CI reaches it
9808
+ * through devportal's callback-secret mutation.
9809
+ */
9508
9810
  syncCatalogNodeManifest: SyncCatalogNodeManifestResult;
9509
9811
  /** 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
9812
  syncDirectoryWorkersInternal: DirectorySyncResult;
@@ -9518,6 +9820,11 @@ export type Mutation = {
9518
9820
  syncWorkspaceFromWspace: SyncWorkspaceFromWspaceResponse;
9519
9821
  /** Assign a tag to a store product */
9520
9822
  tagStoreProduct: StoreProductTagAssignment;
9823
+ /**
9824
+ * Take a listing down: it leaves the store immediately (existing installs keep
9825
+ * working) and the publisher sees the category and reason and may appeal.
9826
+ */
9827
+ takedownListing: StoreProduct;
9521
9828
  /** Test connection health */
9522
9829
  testConnectionHealth: ConnectionTestResult;
9523
9830
  /** Test LDAP connection */
@@ -9706,7 +10013,11 @@ export type Mutation = {
9706
10013
  updateShippingAddress: ShippingAddress;
9707
10014
  updateShippingMethod: ShippingMethod;
9708
10015
  updateStore: Store;
9709
- /** Update order payment status (called by billing service callback) This is a PUBLIC mutation called by the billing service after payment completion */
10016
+ /**
10017
+ * Update order payment status (called by billing service callback)
10018
+ *
10019
+ * This is a PUBLIC mutation called by the billing service after payment completion
10020
+ */
9710
10021
  updateStoreOrderPaymentStatus: UpdateStoreOrderPaymentStatusResponse;
9711
10022
  updateSubprocessor: Subprocessor;
9712
10023
  updateSubscriber: NewsletterSubscriber;
@@ -9763,7 +10074,13 @@ export type Mutation = {
9763
10074
  /** Upsert a platform connection from a passively-observed webhook event (source = SEEN). Used by WebhookProcessor to track users without granting DM access. */
9764
10075
  upsertSeenUser: UserPlatformConnection;
9765
10076
  upsertSourcingOffer: SourcingOffer;
9766
- /** M2M: create or update a ShippingAddress for an EXPLICIT user, on behalf of a calling service. Product backends (e.g. Kadaikodi) call this through the INTERNAL gateway so a user's address lives in the canonical store owner rather than a per-product copy. Pass `input.id` to update an existing row (must belong to `input.userId`); omit it to create. Service-actor only. */
10077
+ /**
10078
+ * M2M: create or update a ShippingAddress for an EXPLICIT user, on behalf of a
10079
+ * calling service. Product backends (e.g. Kadaikodi) call this through the
10080
+ * INTERNAL gateway so a user's address lives in the canonical store owner rather
10081
+ * than a per-product copy. Pass `input.id` to update an existing row (must belong
10082
+ * to `input.userId`); omit it to create. Service-actor only.
10083
+ */
9767
10084
  upsertUserShippingAddress: ShippingAddress;
9768
10085
  useCannedResponse: CannedResponse;
9769
10086
  /** Validate an HMAC signature */
@@ -9783,7 +10100,7 @@ export type Mutation = {
9783
10100
  verifyPasskeyRegistration: PasskeyRegistrationResult;
9784
10101
  /** Verify a payment method (micro-deposits) */
9785
10102
  verifyPaymentMethod: DeveloperOrgPaymentMethod;
9786
- /** Admin verifies a pending payout method once the processor account is confirmed. externalAccountId is required unless the publisher already supplied one. */
10103
+ /** Admin verifies a pending payout method once the processor account is confirmed. externalAccountId is required unless the publisher already supplied one. Methods onboarded through startMyPublisherPayoutOnboarding are verified automatically; this is the manual fallback. */
9787
10104
  verifyPublisherPayoutMethod: PublisherPayoutMethod;
9788
10105
  /** 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. */
9789
10106
  verifyWhatsAppPairingCode: Scalars['Boolean']['output'];
@@ -9793,9 +10110,15 @@ export type Mutation = {
9793
10110
  voteOnAppReview: AppReviewVote;
9794
10111
  voteOnReview: ProductReviewVote;
9795
10112
  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. */
10113
+ /**
10114
+ * Withdraw the pending (or rejected) new version of one of your published
10115
+ * templates. The live version is not affected. Takes the template's product id.
10116
+ */
9797
10117
  withdrawWorkflowTemplateRevision: WorkflowTemplateSubmission;
9798
- /** Withdraw one of your templates. A published template is taken off the store first; anything not live is deleted. */
10118
+ /**
10119
+ * Withdraw one of your templates. A published template is taken off the store
10120
+ * first; anything not live is deleted.
10121
+ */
9799
10122
  withdrawWorkflowTemplateSubmission: WithdrawWorkflowTemplateSubmissionResult;
9800
10123
  };
9801
10124
  /** Root mutation type */
@@ -10958,6 +11281,10 @@ export type MutationDeactivateWebhookEventSubjectArgs = {
10958
11281
  subject: Scalars['String']['input'];
10959
11282
  };
10960
11283
  /** Root mutation type */
11284
+ export type MutationDecideGovernanceAppealArgs = {
11285
+ input: DecideGovernanceAppealInput;
11286
+ };
11287
+ /** Root mutation type */
10961
11288
  export type MutationDecrementQuotaArgs = {
10962
11289
  amount: Scalars['Int']['input'];
10963
11290
  billingAccountId: Scalars['ID']['input'];
@@ -11520,6 +11847,10 @@ export type MutationFileDsarArgs = {
11520
11847
  input: FileDsarInput;
11521
11848
  };
11522
11849
  /** Root mutation type */
11850
+ export type MutationFileGovernanceAppealArgs = {
11851
+ input: FileGovernanceAppealInput;
11852
+ };
11853
+ /** Root mutation type */
11523
11854
  export type MutationFlagOrderIssueArgs = {
11524
11855
  category: OrderIssueCategory;
11525
11856
  note?: InputMaybe<Scalars['String']['input']>;
@@ -12079,6 +12410,10 @@ export type MutationRecordProductVisitArgs = {
12079
12410
  input: RecordProductVisitInput;
12080
12411
  };
12081
12412
  /** Root mutation type */
12413
+ export type MutationRecordPublisherChargebackArgs = {
12414
+ input: RecordPublisherChargebackInput;
12415
+ };
12416
+ /** Root mutation type */
12082
12417
  export type MutationRecordSaleArgs = {
12083
12418
  input: RecordSaleInput;
12084
12419
  };
@@ -12095,6 +12430,10 @@ export type MutationRefreshConnectionTokensArgs = {
12095
12430
  id: Scalars['ID']['input'];
12096
12431
  };
12097
12432
  /** Root mutation type */
12433
+ export type MutationRefreshMyPublisherPayoutOnboardingArgs = {
12434
+ id: Scalars['ID']['input'];
12435
+ };
12436
+ /** Root mutation type */
12098
12437
  export type MutationRefreshProductAssetUrlArgs = {
12099
12438
  assetId: Scalars['ID']['input'];
12100
12439
  expiresInSeconds?: InputMaybe<Scalars['Int']['input']>;
@@ -12154,6 +12493,11 @@ export type MutationRegisterWebhookSubscriptionArgs = {
12154
12493
  input: RegisterWebhookSubscriptionInput;
12155
12494
  };
12156
12495
  /** Root mutation type */
12496
+ export type MutationReinstateListingArgs = {
12497
+ note?: InputMaybe<Scalars['String']['input']>;
12498
+ productId: Scalars['ID']['input'];
12499
+ };
12500
+ /** Root mutation type */
12157
12501
  export type MutationReinstatePublisherArgs = {
12158
12502
  id: Scalars['ID']['input'];
12159
12503
  };
@@ -12219,6 +12563,10 @@ export type MutationReleaseLegalHoldArgs = {
12219
12563
  id: Scalars['ID']['input'];
12220
12564
  };
12221
12565
  /** Root mutation type */
12566
+ export type MutationReleasePublisherPayoutHoldArgs = {
12567
+ id: Scalars['ID']['input'];
12568
+ };
12569
+ /** Root mutation type */
12222
12570
  export type MutationReleaseSuppressionArgs = {
12223
12571
  input: ReleaseSuppressionInput;
12224
12572
  };
@@ -12406,6 +12754,10 @@ export type MutationReportAppReviewArgs = {
12406
12754
  reviewId: Scalars['ID']['input'];
12407
12755
  };
12408
12756
  /** Root mutation type */
12757
+ export type MutationReportListingArgs = {
12758
+ input: ReportListingInput;
12759
+ };
12760
+ /** Root mutation type */
12409
12761
  export type MutationReportNodeSandboxBuildStatusArgs = {
12410
12762
  applicationVersionId: Scalars['ID']['input'];
12411
12763
  error?: InputMaybe<Scalars['String']['input']>;
@@ -12532,11 +12884,19 @@ export type MutationResolveInventoryAlertArgs = {
12532
12884
  alertId: Scalars['ID']['input'];
12533
12885
  };
12534
12886
  /** Root mutation type */
12887
+ export type MutationResolveListingReportArgs = {
12888
+ input: ResolveListingReportInput;
12889
+ };
12890
+ /** Root mutation type */
12535
12891
  export type MutationResolveOrderIssueFlagArgs = {
12536
12892
  id: Scalars['ID']['input'];
12537
12893
  organizationId?: InputMaybe<Scalars['ID']['input']>;
12538
12894
  };
12539
12895
  /** Root mutation type */
12896
+ export type MutationResolveReviewReportArgs = {
12897
+ input: ResolveReviewReportInput;
12898
+ };
12899
+ /** Root mutation type */
12540
12900
  export type MutationResolveSupportTicketArgs = {
12541
12901
  id: Scalars['ID']['input'];
12542
12902
  resolution?: InputMaybe<Scalars['String']['input']>;
@@ -12967,6 +13327,11 @@ export type MutationStartAppTrialArgs = {
12967
13327
  installationId: Scalars['ID']['input'];
12968
13328
  };
12969
13329
  /** Root mutation type */
13330
+ export type MutationStartMyPublisherPayoutOnboardingArgs = {
13331
+ id: Scalars['ID']['input'];
13332
+ input: StartMyPublisherPayoutOnboardingInput;
13333
+ };
13334
+ /** Root mutation type */
12970
13335
  export type MutationStartStagedRolloutArgs = {
12971
13336
  initialPercentage?: InputMaybe<Scalars['Int']['input']>;
12972
13337
  releaseId: Scalars['ID']['input'];
@@ -13105,6 +13470,10 @@ export type MutationTagStoreProductArgs = {
13105
13470
  input: TagStoreProductInput;
13106
13471
  };
13107
13472
  /** Root mutation type */
13473
+ export type MutationTakedownListingArgs = {
13474
+ input: TakedownListingInput;
13475
+ };
13476
+ /** Root mutation type */
13108
13477
  export type MutationTestConnectionHealthArgs = {
13109
13478
  id: Scalars['ID']['input'];
13110
13479
  };
@@ -14861,7 +15230,10 @@ export type OrderEstimateInput = {
14861
15230
  /** Order fulfillment tracking for physical orders */
14862
15231
  export type OrderFulfillment = {
14863
15232
  __typename?: 'OrderFulfillment';
14864
- /** Carrier shipment-creation attempt history (every retry, not just the last failure) — for admin debugging of "what happened, why, and how to fix it". */
15233
+ /**
15234
+ * Carrier shipment-creation attempt history (every retry, not just the last
15235
+ * failure) — for admin debugging of "what happened, why, and how to fix it".
15236
+ */
14865
15237
  attempts: Array<OrderFulfillmentAttempt>;
14866
15238
  /** When order was cancelled */
14867
15239
  cancelledAt?: Maybe<Scalars['DateTime']['output']>;
@@ -14923,7 +15295,11 @@ export type OrderFulfillment = {
14923
15295
  trackingUrl?: Maybe<Scalars['String']['output']>;
14924
15296
  updatedAt: Scalars['DateTime']['output'];
14925
15297
  };
14926
- /** One carrier shipment-creation attempt — Temporal retries this up to 5 times; this is the full history behind OrderFulfillment.failureReason (which only ever holds the last attempt's message). */
15298
+ /**
15299
+ * One carrier shipment-creation attempt — Temporal retries this up to 5 times;
15300
+ * this is the full history behind OrderFulfillment.failureReason (which only
15301
+ * ever holds the last attempt's message).
15302
+ */
14927
15303
  export type OrderFulfillmentAttempt = {
14928
15304
  __typename?: 'OrderFulfillmentAttempt';
14929
15305
  attemptNumber: Scalars['Int']['output'];
@@ -14950,7 +15326,11 @@ export declare enum OrderIssueCategory {
14950
15326
  OutOfStock = "OUT_OF_STOCK",
14951
15327
  WrongAddress = "WRONG_ADDRESS"
14952
15328
  }
14953
- /** A seller-reported problem fulfilling a physical order (e.g. out of stock, cannot fulfill, wrong address). Raised by the org that owns the physical line item(s) on the order; resolvable by admin or the org that raised it. */
15329
+ /**
15330
+ * A seller-reported problem fulfilling a physical order (e.g. out of stock,
15331
+ * cannot fulfill, wrong address). Raised by the org that owns the physical
15332
+ * line item(s) on the order; resolvable by admin or the org that raised it.
15333
+ */
14954
15334
  export type OrderIssueFlag = {
14955
15335
  __typename?: 'OrderIssueFlag';
14956
15336
  category: OrderIssueCategory;
@@ -16578,7 +16958,35 @@ export type Publisher = {
16578
16958
  verificationSubmittedAt?: Maybe<Scalars['DateTime']['output']>;
16579
16959
  websiteUrl?: Maybe<Scalars['String']['output']>;
16580
16960
  };
16581
- /** Consolidated earnings + payout status for the calling publisher, sourced from billing's canonical earnings ledger (global-billing-svc) rather than store's local figures. Null when the publisher has no billing account yet or billing is temporarily unavailable. */
16961
+ /** A payment dispute (chargeback) on a store order, for one publisher on it. */
16962
+ export type PublisherChargeback = {
16963
+ __typename?: 'PublisherChargeback';
16964
+ /** The publisher share of the disputed amount (held while the dispute is open). */
16965
+ amount: Scalars['Float']['output'];
16966
+ currency: Scalars['String']['output'];
16967
+ /** The publisher part of the processor dispute fee (deducted when the dispute is lost). */
16968
+ disputeFee: Scalars['Float']['output'];
16969
+ externalDisputeId: Scalars['String']['output'];
16970
+ id: Scalars['ID']['output'];
16971
+ openedAt: Scalars['DateTime']['output'];
16972
+ orderId: Scalars['ID']['output'];
16973
+ platformFault: Scalars['Boolean']['output'];
16974
+ publisherId: Scalars['ID']['output'];
16975
+ reason?: Maybe<Scalars['String']['output']>;
16976
+ resolvedAt?: Maybe<Scalars['DateTime']['output']>;
16977
+ status: PublisherChargebackStatus;
16978
+ };
16979
+ export declare enum PublisherChargebackStatus {
16980
+ Lost = "LOST",
16981
+ Open = "OPEN",
16982
+ Won = "WON"
16983
+ }
16984
+ /**
16985
+ * Consolidated earnings + payout status for the calling publisher, sourced from
16986
+ * billing's canonical earnings ledger (global-billing-svc) rather than store's
16987
+ * local figures. Null when the publisher has no billing account yet or billing is
16988
+ * temporarily unavailable.
16989
+ */
16582
16990
  export type PublisherEarningsStatus = {
16583
16991
  __typename?: 'PublisherEarningsStatus';
16584
16992
  availableAmount: Scalars['Float']['output'];
@@ -16625,6 +17033,55 @@ export declare enum PublisherOnboardingStepStatus {
16625
17033
  Complete = "COMPLETE",
16626
17034
  InReview = "IN_REVIEW"
16627
17035
  }
17036
+ /**
17037
+ * A monthly publisher payout. amount is the net payable after refund and
17038
+ * chargeback netting: grossAmount (the publisher share of the period's sales)
17039
+ * plus adjustmentsAmount (the signed sum of the adjustments applied).
17040
+ */
17041
+ export type PublisherPayout = {
17042
+ __typename?: 'PublisherPayout';
17043
+ adjustmentsAmount?: Maybe<Scalars['Float']['output']>;
17044
+ /** Net payable amount. */
17045
+ amount: Scalars['Float']['output'];
17046
+ billingPayoutRequestId?: Maybe<Scalars['ID']['output']>;
17047
+ /** Share of the period's transactions that received a chargeback (0 to 1). */
17048
+ chargebackRate?: Maybe<Scalars['Float']['output']>;
17049
+ createdAt: Scalars['DateTime']['output'];
17050
+ currency: Scalars['String']['output'];
17051
+ grossAmount?: Maybe<Scalars['Float']['output']>;
17052
+ heldAt?: Maybe<Scalars['DateTime']['output']>;
17053
+ /** Why the payout is held back from disbursement: NO_VERIFIED_PAYOUT_METHOD or CHARGEBACK_RATE. Null when it is released. */
17054
+ holdReason?: Maybe<Scalars['String']['output']>;
17055
+ id: Scalars['ID']['output'];
17056
+ ordersCount: Scalars['Int']['output'];
17057
+ payoutPeriod?: Maybe<Scalars['String']['output']>;
17058
+ publisherId: Scalars['ID']['output'];
17059
+ releasedAt?: Maybe<Scalars['DateTime']['output']>;
17060
+ /** PENDING, PROCESSING, COMPLETED, FAILED or CANCELLED. */
17061
+ status: Scalars['String']['output'];
17062
+ };
17063
+ /**
17064
+ * A signed money movement netted into a publisher's next payout (Developer
17065
+ * Agreement Section 6). Negative amounts are deductions, positive are credits.
17066
+ */
17067
+ export type PublisherPayoutAdjustment = {
17068
+ __typename?: 'PublisherPayoutAdjustment';
17069
+ amount: Scalars['Float']['output'];
17070
+ appliedAt?: Maybe<Scalars['DateTime']['output']>;
17071
+ appliedPayoutId?: Maybe<Scalars['ID']['output']>;
17072
+ appliedPeriod?: Maybe<Scalars['String']['output']>;
17073
+ chargebackId?: Maybe<Scalars['ID']['output']>;
17074
+ createdAt: Scalars['DateTime']['output'];
17075
+ currency: Scalars['String']['output'];
17076
+ id: Scalars['ID']['output'];
17077
+ orderId?: Maybe<Scalars['ID']['output']>;
17078
+ publisherId: Scalars['ID']['output'];
17079
+ reason?: Maybe<Scalars['String']['output']>;
17080
+ /** OPEN (waiting for the next payout run), APPLIED or VOID. */
17081
+ status: Scalars['String']['output'];
17082
+ /** REFUND, DISPUTE_HOLD, DISPUTE_RELEASE, DISPUTE_FEE or CARRY_FORWARD. */
17083
+ type: Scalars['String']['output'];
17084
+ };
16628
17085
  export type PublisherPayoutMethod = {
16629
17086
  __typename?: 'PublisherPayoutMethod';
16630
17087
  country?: Maybe<Scalars['String']['output']>;
@@ -16637,6 +17094,15 @@ export type PublisherPayoutMethod = {
16637
17094
  isDefault: Scalars['Boolean']['output'];
16638
17095
  /** Masked payout details (holder name, bank name, last four digits, bank code). */
16639
17096
  maskedDetails?: Maybe<Scalars['JSON']['output']>;
17097
+ /** Why the processor could not verify the account (for example NAME_MISMATCH or VALIDATION_FAILED). */
17098
+ processorFailureReason?: Maybe<Scalars['String']['output']>;
17099
+ /**
17100
+ * State of the processor-side payout account billing created for this method:
17101
+ * PENDING_VERIFICATION, ACTIVE or FAILED_VERIFICATION. Null until onboarding starts.
17102
+ */
17103
+ processorStatus?: Maybe<Scalars['String']['output']>;
17104
+ /** When the processor state was last read from billing. */
17105
+ processorSyncedAt?: Maybe<Scalars['DateTime']['output']>;
16640
17106
  /** The publisher that owns this payout method (resolved for admins and the owner). */
16641
17107
  publisher?: Maybe<Publisher>;
16642
17108
  publisherId: Scalars['ID']['output'];
@@ -16646,7 +17112,23 @@ export type PublisherPayoutMethod = {
16646
17112
  type: PayoutMethodType;
16647
17113
  verifiedAt?: Maybe<Scalars['DateTime']['output']>;
16648
17114
  };
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. */
17115
+ /** Progress of automatic payout onboarding for a payout method. */
17116
+ export type PublisherPayoutOnboarding = {
17117
+ __typename?: 'PublisherPayoutOnboarding';
17118
+ failureReason?: Maybe<Scalars['String']['output']>;
17119
+ method: PublisherPayoutMethod;
17120
+ /** STRIPE_CONNECT: Stripe's hosted onboarding page for the publisher to complete. Null for RazorpayX and once verified. */
17121
+ onboardingUrl?: Maybe<Scalars['String']['output']>;
17122
+ /** RAZORPAYX or STRIPE_CONNECT. */
17123
+ processor: Scalars['String']['output'];
17124
+ /** PENDING_VERIFICATION, ACTIVE or FAILED_VERIFICATION on the processor side. */
17125
+ processorStatus?: Maybe<Scalars['String']['output']>;
17126
+ };
17127
+ /**
17128
+ * Which payout processor and methods apply to a publisher's country.
17129
+ * India: RazorpayX payouts in INR. Everywhere else: Stripe Connect in USD, with an
17130
+ * international bank transfer as the alternative. PAYPAL is not offered.
17131
+ */
16650
17132
  export type PublisherPayoutRoute = {
16651
17133
  __typename?: 'PublisherPayoutRoute';
16652
17134
  country?: Maybe<Scalars['String']['output']>;
@@ -16757,7 +17239,10 @@ export type Query = {
16757
17239
  adminAffiliateAnalytics: AffiliateAdminAnalytics;
16758
17240
  adminPayoutRequests: PayoutRequestConnection;
16759
17241
  adminPayoutSummary: PayoutAdminSummary;
16760
- /** Admin-only: paginated list of physical (fulfillment-tracked) orders, with optional status/search filters. Used by the admin fulfillment console. */
17242
+ /**
17243
+ * Admin-only: paginated list of physical (fulfillment-tracked) orders, with
17244
+ * optional status/search filters. Used by the admin fulfillment console.
17245
+ */
16761
17246
  adminPhysicalOrders: StoreOrdersResult;
16762
17247
  affiliateCode?: Maybe<AffiliateCode>;
16763
17248
  affiliateCodeAnalytics: AffiliateCodeAnalytics;
@@ -16823,7 +17308,32 @@ export type Query = {
16823
17308
  /** Signed (DESIGN 3.7). The workspace's balance, in the person's view when actorId is given. */
16824
17309
  avatarMinutesForService: AvatarMinutesBalance;
16825
17310
  bounceStats: BounceStats;
16826
- /** Browse store products with unified filtering, sorting, and pagination. Search is treated as a filter - all filters combine with AND logic. Example usage: ```graphql query { browseStore(input: { filter: { search: "ai notification" type: NODE pricingModel: FREE minRating: 4.0 compatibleWith: "workspaces" } sortBy: RELEVANCE pagination: { limit: 20, offset: 0 } }) { products { id name rating downloads } totalCount hasMore facets { categories { value count } } } } ``` */
17311
+ /**
17312
+ * Browse store products with unified filtering, sorting, and pagination.
17313
+ * Search is treated as a filter - all filters combine with AND logic.
17314
+ *
17315
+ * Example usage:
17316
+ * ```graphql
17317
+ * query {
17318
+ * browseStore(input: {
17319
+ * filter: {
17320
+ * search: "ai notification"
17321
+ * type: NODE
17322
+ * pricingModel: FREE
17323
+ * minRating: 4.0
17324
+ * compatibleWith: "workspaces"
17325
+ * }
17326
+ * sortBy: RELEVANCE
17327
+ * pagination: { limit: 20, offset: 0 }
17328
+ * }) {
17329
+ * products { id name rating downloads }
17330
+ * totalCount
17331
+ * hasMore
17332
+ * facets { categories { value count } }
17333
+ * }
17334
+ * }
17335
+ * ```
17336
+ */
16827
17337
  browseStore: BrowseStoreResult;
16828
17338
  /** Calculate tax for a purchase (preview without creating payment) Used by checkout to show tax breakdown before payment */
16829
17339
  calculateTax: TaxCalculationResult;
@@ -16834,7 +17344,16 @@ export type Query = {
16834
17344
  cannedResponse?: Maybe<CannedResponse>;
16835
17345
  cannedResponseByShortcut?: Maybe<CannedResponse>;
16836
17346
  cannedResponses: CannedResponseConnection;
16837
- /** Registered pickup/warehouse addresses across every configured shipping carrier (currently Shiprocket; more may be added later — see listCarrierAdapters) — lets a seller pick a pincode that can actually be booked instead of typing an arbitrary one that checkout will later refuse to ship. Each result is tagged with which carrier it belongs to. Carriers that aren't configured, or that don't support pickup-location listing at all (e.g. the manual carrier), simply contribute nothing — never blocks org configuration. */
17347
+ /**
17348
+ * Registered pickup/warehouse addresses across every configured shipping
17349
+ * carrier (currently Shiprocket; more may be added later — see
17350
+ * listCarrierAdapters) — lets a seller pick a pincode that can actually be
17351
+ * booked instead of typing an arbitrary one that checkout will later refuse
17352
+ * to ship. Each result is tagged with which carrier it belongs to. Carriers
17353
+ * that aren't configured, or that don't support pickup-location listing at
17354
+ * all (e.g. the manual carrier), simply contribute nothing — never blocks
17355
+ * org configuration.
17356
+ */
16838
17357
  carrierPickupLocations: Array<CarrierPickupLocation>;
16839
17358
  /** Get a cart by ID (admin or owner only) */
16840
17359
  cart?: Maybe<Cart>;
@@ -16994,7 +17513,10 @@ export type Query = {
16994
17513
  /** List feature flags with optional filtering (super admin only) */
16995
17514
  featureFlags: FeatureFlagList;
16996
17515
  featuredProducts: Array<StoreProduct>;
16997
- /** Get available filter options for a given context. Useful for populating filter dropdowns in UI. */
17516
+ /**
17517
+ * Get available filter options for a given context.
17518
+ * Useful for populating filter dropdowns in UI.
17519
+ */
16998
17520
  filterOptions: FilterOptionsResult;
16999
17521
  /** Get currently active promotions for a product/plan (public — used at checkout) */
17000
17522
  getActivePromotions: Array<Promotion>;
@@ -17193,9 +17715,14 @@ export type Query = {
17193
17715
  getWebhookStats: WebhookStats;
17194
17716
  /** Measure the triage engine against historical human categorisation. Support admins see their tenant; super admins see every tenant. Read-only. */
17195
17717
  globalTriageEvaluation: SupportTriageEvaluation;
17718
+ /** Publisher appeals, oldest first. */
17719
+ governanceAppeals: GovernanceAppealList;
17196
17720
  /** Health check endpoint */
17197
17721
  health: HealthStatus;
17198
- /** Get grouped products for homepage. Optionally filter by compatible product (e.g., "bigconsole", "fluidgrids"). */
17722
+ /**
17723
+ * Get grouped products for homepage.
17724
+ * Optionally filter by compatible product (e.g., "bigconsole", "fluidgrids").
17725
+ */
17199
17726
  homeGroupedProducts: GroupedStoreProducts;
17200
17727
  homepageSections: Array<HomepageSection>;
17201
17728
  i18nModule?: Maybe<I18nModule>;
@@ -17212,7 +17739,11 @@ export type Query = {
17212
17739
  /** Public listing of an application's installable versions (published or deprecated only — draft/pending_review/rejected versions are never returned here, to avoid exposing unreviewed versions). Used by the Store to let buyers pick a specific version at install time, and by global-store-svc (service actor) to resolve a chosen version's manifest when installing. */
17213
17740
  installableApplicationVersions: Array<ApplicationVersion>;
17214
17741
  installationPermissions?: Maybe<Scalars['JSON']['output']>;
17215
- /** Runtime routing metadata for an active node installation in the gateway-authenticated workspace. Candidate node types are ordered, with the requested spelling before compatibility aliases. Legacy installation versions are not treated as node runtime versions. */
17742
+ /**
17743
+ * Runtime routing metadata for an active node installation in the gateway-authenticated workspace.
17744
+ * Candidate node types are ordered, with the requested spelling before compatibility aliases.
17745
+ * Legacy installation versions are not treated as node runtime versions.
17746
+ */
17216
17747
  installedStoreNodeRuntime?: Maybe<StoreInstalledNodeRuntime>;
17217
17748
  /** Get a single interview round by ID (admin). */
17218
17749
  interviewRound?: Maybe<InterviewRound>;
@@ -17271,8 +17802,15 @@ export type Query = {
17271
17802
  listUserPlatformConnectionsByOrganization: UserPlatformConnectionList;
17272
17803
  /** List all platform connections for a given internal user. Supports cursor pagination — pass `cursor` from the previous page's `nextCursor`. */
17273
17804
  listUserPlatformConnectionsByUser: UserPlatformConnectionList;
17274
- /** M2M: list every ShippingAddress owned by an explicit user, on behalf of a calling service. Product backends (e.g. Kadaikodi) call this through the INTERNAL gateway to read a user's canonical addresses instead of keeping a local copy. Service-actor only — the userId is supplied by the caller. */
17805
+ /**
17806
+ * M2M: list every ShippingAddress owned by an explicit user, on behalf of a
17807
+ * calling service. Product backends (e.g. Kadaikodi) call this through the
17808
+ * INTERNAL gateway to read a user's canonical addresses instead of keeping a
17809
+ * local copy. Service-actor only — the userId is supplied by the caller.
17810
+ */
17275
17811
  listUserShippingAddresses: Array<ShippingAddress>;
17812
+ /** Buyer reports against listings, oldest first. */
17813
+ listingReports: ListingReportList;
17276
17814
  lookupAffiliateCode?: Maybe<AffiliateCodeLookup>;
17277
17815
  lowStockProducts: Array<LowStockProduct>;
17278
17816
  /** 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. */
@@ -17305,6 +17843,8 @@ export type Query = {
17305
17843
  myEarningsEntries: EarningsEntryConnection;
17306
17844
  myEarningsSummary: EarningsSummary;
17307
17845
  myEntitlements: Array<ProductEntitlement>;
17846
+ /** Your own appeals as a publisher, newest first. */
17847
+ myGovernanceAppeals: GovernanceAppealList;
17308
17848
  /** Get notification counts grouped by app name for authenticated user */
17309
17849
  myNotificationCountsByApp: Scalars['JSON']['output'];
17310
17850
  /** Get notification counts by channel for authenticated user */
@@ -17333,12 +17873,19 @@ export type Query = {
17333
17873
  myPublicKeys: Array<PublicKeyInfo>;
17334
17874
  /** Get the current user's publisher profile, or null if none exists yet. */
17335
17875
  myPublisher?: Maybe<Publisher>;
17336
- /** Earnings + payout status for the calling user's publisher profile, read from billing's canonical ledger. Self-scoped: resolved from the authenticated actor. */
17876
+ /**
17877
+ * Earnings + payout status for the calling user's publisher profile, read from
17878
+ * billing's canonical ledger. Self-scoped: resolved from the authenticated actor.
17879
+ */
17337
17880
  myPublisherEarningsStatus?: Maybe<PublisherEarningsStatus>;
17338
17881
  /** The calling user's paid-listing publisher onboarding checklist (BOFF-10634). */
17339
17882
  myPublisherOnboarding: PublisherOnboardingStatus;
17883
+ /** Refund and chargeback adjustments on the calling user's publisher profile, newest first. */
17884
+ myPublisherPayoutAdjustments: Array<PublisherPayoutAdjustment>;
17340
17885
  /** Payout methods on the calling user's publisher profile (closed methods excluded). */
17341
17886
  myPublisherPayoutMethods: Array<PublisherPayoutMethod>;
17887
+ /** Payouts of the calling user's publisher profile, newest first. */
17888
+ myPublisherPayouts: Array<PublisherPayout>;
17342
17889
  myReviews: Array<ProductReview>;
17343
17890
  /** 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) */
17344
17891
  myRoles: MyRolesResult;
@@ -17352,6 +17899,8 @@ export type Query = {
17352
17899
  mySubscribedStores: Array<Store>;
17353
17900
  mySupportTickets: SupportTicketConnection;
17354
17901
  mySurveys: CustomerSatisfactionSurveyConnection;
17902
+ /** Your listings that the store team has taken down, with the reason. */
17903
+ myTakenDownListings: Array<StoreProduct>;
17355
17904
  /** Get tenants the calling user has access to. Returns the union of: - every ACTIVE SHARED tenant (every authenticated user implicitly has access) - every tenant for which the caller has a `TenantMember` row Self-list (Type C): the resolver filters by `actorId`, so the returned set IS the access list. Any authenticated user may call this; no RBAC permission is checked. The dropdown that picks a target tenant for `createOrganization` must use this query so the FE never offers a tenant the server would reject. (BOFF-2652) */
17356
17905
  myTenants: TenantList;
17357
17906
  /** Get unread notification count for authenticated user */
@@ -17414,7 +17963,11 @@ export type Query = {
17414
17963
  orderEstimate?: Maybe<OrderEstimate>;
17415
17964
  /** Get fulfillment details for an order */
17416
17965
  orderFulfillment?: Maybe<OrderFulfillment>;
17417
- /** Admin-only: paginated log of carrier shipment-creation attempts across all orders (every Temporal retry, not just the last failure), so ops can debug fulfillment failures without direct DB/log access. */
17966
+ /**
17967
+ * Admin-only: paginated log of carrier shipment-creation attempts across all
17968
+ * orders (every Temporal retry, not just the last failure), so ops can debug
17969
+ * fulfillment failures without direct DB/log access.
17970
+ */
17418
17971
  orderFulfillmentAttempts: OrderFulfillmentAttemptsPage;
17419
17972
  /** Get seller-reported issue flags for an order */
17420
17973
  orderIssueFlags: Array<OrderIssueFlag>;
@@ -17513,6 +18066,12 @@ export type Query = {
17513
18066
  publicResolvedContentPage?: Maybe<ProductContentPage>;
17514
18067
  publicScheduleTemplates: ScheduleTemplateConnection;
17515
18068
  publishedProducts: Array<StoreProduct>;
18069
+ /** Chargebacks recorded against publisher sales (admin). */
18070
+ publisherChargebacks: Array<PublisherChargeback>;
18071
+ /** Refund and chargeback adjustments netted into publisher payouts (admin). */
18072
+ publisherPayoutAdjustments: Array<PublisherPayoutAdjustment>;
18073
+ /** Monthly publisher payouts with their netting breakdown and hold state (admin). */
18074
+ publisherPayouts: Array<PublisherPayout>;
17516
18075
  /** Short-lived (5 minute) download URL for one of a publisher's KYC documents (admin review). */
17517
18076
  publisherVerificationDocumentUrl: Scalars['String']['output'];
17518
18077
  /** 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). */
@@ -17540,6 +18099,8 @@ export type Query = {
17540
18099
  resources: Array<Resource>;
17541
18100
  review?: Maybe<ProductReview>;
17542
18101
  reviewReplies: Array<ProductReviewReply>;
18102
+ /** Reports against reviews (including publishers' rating disputes), oldest first. */
18103
+ reviewReports: GovernanceReviewReportList;
17543
18104
  /** Get a role by ID */
17544
18105
  role?: Maybe<Role>;
17545
18106
  /** Get actors assigned to a role */
@@ -17566,7 +18127,11 @@ export type Query = {
17566
18127
  searchFAQs: Array<Faq>;
17567
18128
  searchKnowledgeBase: Array<KnowledgeBaseArticle>;
17568
18129
  searchProducts: Array<StoreProduct>;
17569
- /** Get search suggestions for autocomplete. Returns suggestions from product names, tags, categories, and authors. Uses trigram matching for fuzzy search. */
18130
+ /**
18131
+ * Get search suggestions for autocomplete.
18132
+ * Returns suggestions from product names, tags, categories, and authors.
18133
+ * Uses trigram matching for fuzzy search.
18134
+ */
17570
18135
  searchSuggestions: Array<SearchSuggestion>;
17571
18136
  searchTicketTemplates: Array<TicketTemplate>;
17572
18137
  searchTickets: Array<SupportTicket>;
@@ -17585,8 +18150,31 @@ export type Query = {
17585
18150
  /** Fetch a store by id or slug. */
17586
18151
  store?: Maybe<Store>;
17587
18152
  storeAppInstallation?: Maybe<StoreAppInstallation>;
17588
- /** Get detailed product information for the app details page. Includes product data, reviews, related products, publisher info, and version history. Automatically increments view count. Example usage: ```graphql query { storeProductDetails(input: { id: "product-123" }) { product { id name description manifest rating downloads } reviews { id rating comment } relatedProducts { id name icon } publisher { id name isVerified } versions { id version status } userReview { id rating } isPurchased } } ``` */
18153
+ /** Counters for the store reviewer console: review SLA, reports, appeals. */
18154
+ storeGovernanceStats: StoreGovernanceStats;
18155
+ /**
18156
+ * Get detailed product information for the app details page.
18157
+ * Includes product data, reviews, related products, publisher info, and version history.
18158
+ * Automatically increments view count.
18159
+ *
18160
+ * Example usage:
18161
+ * ```graphql
18162
+ * query {
18163
+ * storeProductDetails(input: { id: "product-123" }) {
18164
+ * product { id name description manifest rating downloads }
18165
+ * reviews { id rating comment }
18166
+ * relatedProducts { id name icon }
18167
+ * publisher { id name isVerified }
18168
+ * versions { id version status }
18169
+ * userReview { id rating }
18170
+ * isPurchased
18171
+ * }
18172
+ * }
18173
+ * ```
18174
+ */
17589
18175
  storeProductDetails: StoreProductDetailsResult;
18176
+ /** Listing submissions waiting for review, oldest first. */
18177
+ storeReviewQueue: PaginatedProducts;
17590
18178
  /** List all stores the caller can see. */
17591
18179
  stores: Array<Store>;
17592
18180
  subprocessor?: Maybe<Subprocessor>;
@@ -17612,6 +18200,8 @@ export type Query = {
17612
18200
  syncOutboxEntry?: Maybe<SyncOutboxEntry>;
17613
18201
  /** Aggregate counts for the outbox, used by the admin dashboard tile. */
17614
18202
  syncOutboxStats: SyncOutboxStats;
18203
+ /** Listings currently taken down, most recent first. */
18204
+ takenDownListings: PaginatedProducts;
17615
18205
  /** Get a single tenant by ID */
17616
18206
  tenant?: Maybe<Tenant>;
17617
18207
  /** Get a tenant by slug */
@@ -17669,7 +18259,10 @@ export type Query = {
17669
18259
  translationKeys: TranslationKeyList;
17670
18260
  translationStats: Scalars['JSON']['output'];
17671
18261
  translations: TranslationList;
17672
- /** Get popular/trending search terms. Useful for showing suggestions when search input is empty. */
18262
+ /**
18263
+ * Get popular/trending search terms.
18264
+ * Useful for showing suggestions when search input is empty.
18265
+ */
17673
18266
  trendingSearches: Array<Scalars['String']['output']>;
17674
18267
  /** Get a user by ID (admin only) */
17675
18268
  user?: Maybe<User>;
@@ -17690,7 +18283,10 @@ export type Query = {
17690
18283
  usersByIds: Array<User>;
17691
18284
  /** Validate a coupon code for a specific order */
17692
18285
  validateCoupon: ValidateCouponResponse;
17693
- /** Validate a license key without modifying state. Used by vibecontrols agents + wspace services to check license validity before plugin load. */
18286
+ /**
18287
+ * Validate a license key without modifying state. Used by vibecontrols
18288
+ * agents + wspace services to check license validity before plugin load.
18289
+ */
17694
18290
  validateLicense: LicenseValidationResult;
17695
18291
  validatePromoCode: PromoCodeValidationResult;
17696
18292
  /** Verify an installation using the app signing secret. Called server-to-server by integration backends after receiving the post-install redirect with ?installation_id=xxx. Returns the full installation context (workspaceId, scope, status, consentedPermissions). Responds with NOT_FOUND for any invalid combination to prevent enumeration. */
@@ -19032,6 +19628,12 @@ export type QueryGlobalTriageEvaluationArgs = {
19032
19628
  sampleSize?: InputMaybe<Scalars['Int']['input']>;
19033
19629
  };
19034
19630
  /** Root query type */
19631
+ export type QueryGovernanceAppealsArgs = {
19632
+ limit?: InputMaybe<Scalars['Int']['input']>;
19633
+ offset?: InputMaybe<Scalars['Int']['input']>;
19634
+ status?: InputMaybe<GovernanceAppealStatus>;
19635
+ };
19636
+ /** Root query type */
19035
19637
  export type QueryHomeGroupedProductsArgs = {
19036
19638
  compatibleWith?: InputMaybe<Scalars['String']['input']>;
19037
19639
  };
@@ -19281,6 +19883,13 @@ export type QueryListUserShippingAddressesArgs = {
19281
19883
  userId: Scalars['String']['input'];
19282
19884
  };
19283
19885
  /** Root query type */
19886
+ export type QueryListingReportsArgs = {
19887
+ limit?: InputMaybe<Scalars['Int']['input']>;
19888
+ offset?: InputMaybe<Scalars['Int']['input']>;
19889
+ productId?: InputMaybe<Scalars['ID']['input']>;
19890
+ status?: InputMaybe<ListingReportStatus>;
19891
+ };
19892
+ /** Root query type */
19284
19893
  export type QueryLookupAffiliateCodeArgs = {
19285
19894
  code: Scalars['String']['input'];
19286
19895
  };
@@ -19351,6 +19960,11 @@ export type QueryMyEntitlementsArgs = {
19351
19960
  offset?: InputMaybe<Scalars['Int']['input']>;
19352
19961
  };
19353
19962
  /** Root query type */
19963
+ export type QueryMyGovernanceAppealsArgs = {
19964
+ limit?: InputMaybe<Scalars['Int']['input']>;
19965
+ offset?: InputMaybe<Scalars['Int']['input']>;
19966
+ };
19967
+ /** Root query type */
19354
19968
  export type QueryMyNotificationSendStatusArgs = {
19355
19969
  id: Scalars['ID']['input'];
19356
19970
  };
@@ -19398,6 +20012,16 @@ export type QueryMyPublicKeysArgs = {
19398
20012
  pagination?: InputMaybe<PaginationInput>;
19399
20013
  };
19400
20014
  /** Root query type */
20015
+ export type QueryMyPublisherPayoutAdjustmentsArgs = {
20016
+ limit?: InputMaybe<Scalars['Int']['input']>;
20017
+ offset?: InputMaybe<Scalars['Int']['input']>;
20018
+ };
20019
+ /** Root query type */
20020
+ export type QueryMyPublisherPayoutsArgs = {
20021
+ limit?: InputMaybe<Scalars['Int']['input']>;
20022
+ offset?: InputMaybe<Scalars['Int']['input']>;
20023
+ };
20024
+ /** Root query type */
19401
20025
  export type QueryMyReviewsArgs = {
19402
20026
  limit?: InputMaybe<Scalars['Int']['input']>;
19403
20027
  offset?: InputMaybe<Scalars['Int']['input']>;
@@ -19918,6 +20542,28 @@ export type QueryPublishedProductsArgs = {
19918
20542
  type?: InputMaybe<ProductType>;
19919
20543
  };
19920
20544
  /** Root query type */
20545
+ export type QueryPublisherChargebacksArgs = {
20546
+ limit?: InputMaybe<Scalars['Int']['input']>;
20547
+ offset?: InputMaybe<Scalars['Int']['input']>;
20548
+ publisherId?: InputMaybe<Scalars['ID']['input']>;
20549
+ status?: InputMaybe<PublisherChargebackStatus>;
20550
+ };
20551
+ /** Root query type */
20552
+ export type QueryPublisherPayoutAdjustmentsArgs = {
20553
+ limit?: InputMaybe<Scalars['Int']['input']>;
20554
+ offset?: InputMaybe<Scalars['Int']['input']>;
20555
+ publisherId?: InputMaybe<Scalars['ID']['input']>;
20556
+ status?: InputMaybe<Scalars['String']['input']>;
20557
+ };
20558
+ /** Root query type */
20559
+ export type QueryPublisherPayoutsArgs = {
20560
+ held?: InputMaybe<Scalars['Boolean']['input']>;
20561
+ limit?: InputMaybe<Scalars['Int']['input']>;
20562
+ offset?: InputMaybe<Scalars['Int']['input']>;
20563
+ period?: InputMaybe<Scalars['String']['input']>;
20564
+ publisherId?: InputMaybe<Scalars['ID']['input']>;
20565
+ };
20566
+ /** Root query type */
19921
20567
  export type QueryPublisherVerificationDocumentUrlArgs = {
19922
20568
  filesSvcId: Scalars['ID']['input'];
19923
20569
  publisherId: Scalars['ID']['input'];
@@ -19997,6 +20643,13 @@ export type QueryReviewRepliesArgs = {
19997
20643
  reviewId: Scalars['ID']['input'];
19998
20644
  };
19999
20645
  /** Root query type */
20646
+ export type QueryReviewReportsArgs = {
20647
+ limit?: InputMaybe<Scalars['Int']['input']>;
20648
+ offset?: InputMaybe<Scalars['Int']['input']>;
20649
+ ratingDisputesOnly?: InputMaybe<Scalars['Boolean']['input']>;
20650
+ status?: InputMaybe<ReviewReportStatus>;
20651
+ };
20652
+ /** Root query type */
20000
20653
  export type QueryRoleArgs = {
20001
20654
  id: Scalars['ID']['input'];
20002
20655
  };
@@ -20139,6 +20792,13 @@ export type QueryStoreProductDetailsArgs = {
20139
20792
  input: StoreProductDetailsInput;
20140
20793
  };
20141
20794
  /** Root query type */
20795
+ export type QueryStoreReviewQueueArgs = {
20796
+ limit?: InputMaybe<Scalars['Int']['input']>;
20797
+ offset?: InputMaybe<Scalars['Int']['input']>;
20798
+ overdueOnly?: InputMaybe<Scalars['Boolean']['input']>;
20799
+ storeId?: InputMaybe<Scalars['ID']['input']>;
20800
+ };
20801
+ /** Root query type */
20142
20802
  export type QueryStoresArgs = {
20143
20803
  search?: InputMaybe<Scalars['String']['input']>;
20144
20804
  type?: InputMaybe<StoreType>;
@@ -20238,6 +20898,11 @@ export type QuerySyncOutboxEntryArgs = {
20238
20898
  id: Scalars['ID']['input'];
20239
20899
  };
20240
20900
  /** Root query type */
20901
+ export type QueryTakenDownListingsArgs = {
20902
+ limit?: InputMaybe<Scalars['Int']['input']>;
20903
+ offset?: InputMaybe<Scalars['Int']['input']>;
20904
+ };
20905
+ /** Root query type */
20241
20906
  export type QueryTenantArgs = {
20242
20907
  id: Scalars['ID']['input'];
20243
20908
  };
@@ -21057,6 +21722,23 @@ export type RecordProductVisitResult = {
21057
21722
  /** Outcome of the welcome-email side effect on first visit: "SENT" — successfully queued via channel-svc "FAILED" — channel-svc errored or no organization found "SKIPPED" — not the first visit; no email attempted */
21058
21723
  welcomeEmailStatus: Scalars['String']['output'];
21059
21724
  };
21725
+ /**
21726
+ * A chargeback event from the payment processor or finance. Recording the same
21727
+ * externalDisputeId and status again is a no-op.
21728
+ */
21729
+ export type RecordPublisherChargebackInput = {
21730
+ /** Processor dispute fee, deducted from the publisher only when the dispute is lost. */
21731
+ disputeFee?: InputMaybe<Scalars['Float']['input']>;
21732
+ /** Disputed amount on the order. Defaults to the full order total. */
21733
+ disputedAmount?: InputMaybe<Scalars['Float']['input']>;
21734
+ /** Processor dispute reference (for example Stripe dp_... or a Razorpay dispute id). */
21735
+ externalDisputeId: Scalars['String']['input'];
21736
+ orderId: Scalars['ID']['input'];
21737
+ /** The chargeback was caused by an error on Burdenoff's side and is never charged to the publisher. */
21738
+ platformFault?: InputMaybe<Scalars['Boolean']['input']>;
21739
+ reason?: InputMaybe<Scalars['String']['input']>;
21740
+ status: PublisherChargebackStatus;
21741
+ };
21060
21742
  export type RecordSaleInput = {
21061
21743
  applicationId?: InputMaybe<Scalars['ID']['input']>;
21062
21744
  buyerOrgId?: InputMaybe<Scalars['ID']['input']>;
@@ -21273,7 +21955,12 @@ export declare enum RefundStatus {
21273
21955
  Pending = "PENDING",
21274
21956
  Succeeded = "SUCCEEDED"
21275
21957
  }
21276
- /** A seller's real pickup address, to be registered with a shipping carrier (see registerCarrierPickupLocation). `carrier` selects which configured carrier adapter to register it with — carrier-agnostic by design, since more providers than Shiprocket may be added over time. */
21958
+ /**
21959
+ * A seller's real pickup address, to be registered with a shipping carrier
21960
+ * (see registerCarrierPickupLocation). `carrier` selects which configured
21961
+ * carrier adapter to register it with — carrier-agnostic by design, since more
21962
+ * providers than Shiprocket may be added over time.
21963
+ */
21277
21964
  export type RegisterCarrierPickupLocationInput = {
21278
21965
  address: Scalars['String']['input'];
21279
21966
  addressLine2?: InputMaybe<Scalars['String']['input']>;
@@ -21283,7 +21970,11 @@ export type RegisterCarrierPickupLocationInput = {
21283
21970
  email: Scalars['String']['input'];
21284
21971
  /** Contact person at this address. */
21285
21972
  name: Scalars['String']['input'];
21286
- /** The DeveloperOrganization this address is being registered for. Verified via a cross-service call to global-devportal-svc's assertDeveloperOrgAccess before any carrier API call is made. */
21973
+ /**
21974
+ * The DeveloperOrganization this address is being registered for. Verified
21975
+ * via a cross-service call to global-devportal-svc's assertDeveloperOrgAccess
21976
+ * before any carrier API call is made.
21977
+ */
21287
21978
  organizationId: Scalars['ID']['input'];
21288
21979
  phone: Scalars['String']['input'];
21289
21980
  postalCode: Scalars['String']['input'];
@@ -21293,10 +21984,18 @@ export type RegisterProductAssetInput = {
21293
21984
  caption?: InputMaybe<Scalars['String']['input']>;
21294
21985
  fileName?: InputMaybe<Scalars['String']['input']>;
21295
21986
  fileType: ProductAssetType;
21296
- /** File ID returned from wspace-files-svc's completeUpload mutation. The browser uploads the file directly to files-svc, then calls this mutation to link it to the product. */
21987
+ /**
21988
+ * File ID returned from wspace-files-svc's completeUpload mutation.
21989
+ * The browser uploads the file directly to files-svc, then calls this
21990
+ * mutation to link it to the product.
21991
+ */
21297
21992
  filesSvcId: Scalars['ID']['input'];
21298
21993
  locale?: InputMaybe<Scalars['String']['input']>;
21299
- /** If true (default), marks previous assets of the same fileType+locale as no longer current. Set to false to keep multiple live copies (e.g. when building a screenshot gallery). */
21994
+ /**
21995
+ * If true (default), marks previous assets of the same fileType+locale as
21996
+ * no longer current. Set to false to keep multiple live copies (e.g. when
21997
+ * building a screenshot gallery).
21998
+ */
21300
21999
  makeCurrent?: InputMaybe<Scalars['Boolean']['input']>;
21301
22000
  mimeType?: InputMaybe<Scalars['String']['input']>;
21302
22001
  orderIndex?: InputMaybe<Scalars['Int']['input']>;
@@ -21410,6 +22109,19 @@ export type ReplaceStoreProductTagsInput = {
21410
22109
  entityId: Scalars['ID']['input'];
21411
22110
  tagIds: Array<Scalars['ID']['input']>;
21412
22111
  };
22112
+ export type ReportListingInput = {
22113
+ /** What is wrong, up to 2000 characters. */
22114
+ details?: InputMaybe<Scalars['String']['input']>;
22115
+ productId: Scalars['ID']['input'];
22116
+ reason: ListingReportReason;
22117
+ };
22118
+ /** How a reviewer closes a report. */
22119
+ export declare enum ReportResolution {
22120
+ /** The report was valid and the store team acted on it. */
22121
+ Actioned = "ACTIONED",
22122
+ /** No action was needed. */
22123
+ Dismissed = "DISMISSED"
22124
+ }
21413
22125
  export type RequestCreditWithdrawalInput = {
21414
22126
  billingAccountId: Scalars['ID']['input'];
21415
22127
  creditAmount: Scalars['Float']['input'];
@@ -21473,6 +22185,20 @@ export type ResolveContextWidgetConversationInput = {
21473
22185
  title?: InputMaybe<Scalars['String']['input']>;
21474
22186
  workspaceId: Scalars['ID']['input'];
21475
22187
  };
22188
+ export type ResolveListingReportInput = {
22189
+ id: Scalars['ID']['input'];
22190
+ /** Required note for the record. */
22191
+ note: Scalars['String']['input'];
22192
+ resolution: ReportResolution;
22193
+ };
22194
+ export type ResolveReviewReportInput = {
22195
+ /** With ACTIONED, hide the reported review from the store. */
22196
+ hideReview?: InputMaybe<Scalars['Boolean']['input']>;
22197
+ id: Scalars['ID']['input'];
22198
+ /** Required note for the record. */
22199
+ note: Scalars['String']['input'];
22200
+ resolution: ReportResolution;
22201
+ };
21476
22202
  /** Registered resource with custom permission configurations. Resources are only registered when they have non-default permissions (overrides, visibility rules, or scoped assignments). */
21477
22203
  export type Resource = {
21478
22204
  __typename?: 'Resource';
@@ -21548,6 +22274,12 @@ export type RevenueSummary = {
21548
22274
  totalRefundsCount: Scalars['Int']['output'];
21549
22275
  totalSales: Scalars['Int']['output'];
21550
22276
  };
22277
+ /** Lifecycle of a report against a review. */
22278
+ export declare enum ReviewReportStatus {
22279
+ Actioned = "ACTIONED",
22280
+ Dismissed = "DISMISSED",
22281
+ Pending = "PENDING"
22282
+ }
21551
22283
  export declare enum ReviewStatus {
21552
22284
  Approved = "APPROVED",
21553
22285
  ChangesRequested = "CHANGES_REQUESTED",
@@ -22425,21 +23157,30 @@ export type ServiceUpsertExternalListingInput = {
22425
23157
  /** ISO 4217 currency code, upper case. */
22426
23158
  currency: Scalars['String']['input'];
22427
23159
  description?: InputMaybe<Scalars['String']['input']>;
22428
- /** The item's id in the calling service. Together with the caller's service identity it identifies the listing. */
23160
+ /**
23161
+ * The item's id in the calling service. Together with the caller's service
23162
+ * identity it identifies the listing.
23163
+ */
22429
23164
  externalId: Scalars['String']['input'];
22430
23165
  /** Absolute https URL of the item's page in the owning product. */
22431
23166
  externalUrl: Scalars['String']['input'];
22432
23167
  metadata?: InputMaybe<Scalars['JSON']['input']>;
22433
23168
  name: Scalars['String']['input'];
22434
23169
  price: Scalars['Float']['input'];
22435
- /** Platform product key of the caller (for example "coolandlovely"). Used as the listing's compatible product and as its slug prefix. */
23170
+ /**
23171
+ * Platform product key of the caller (for example "coolandlovely"). Used as the
23172
+ * listing's compatible product and as its slug prefix.
23173
+ */
22436
23174
  productKey: Scalars['String']['input'];
22437
23175
  /** Display name for the caller's publisher profile, created on its first listing. */
22438
23176
  publisherName: Scalars['String']['input'];
22439
23177
  /** PUBLISHED (shown in discovery), UNLISTED (kept but hidden) or ARCHIVED (taken down). */
22440
23178
  status: ProductStatus;
22441
23179
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
22442
- /** A physical product type (MERCHANDISE, HARDWARE, ACCESSORY, BOOK, EQUIPMENT, APPAREL, COLLECTIBLE or CONSUMABLE). */
23180
+ /**
23181
+ * A physical product type (MERCHANDISE, HARDWARE, ACCESSORY, BOOK, EQUIPMENT,
23182
+ * APPAREL, COLLECTIBLE or CONSUMABLE).
23183
+ */
22443
23184
  type: ProductType;
22444
23185
  };
22445
23186
  /** An active user session (login instance) */
@@ -22497,13 +23238,26 @@ export type SetRoleDefaultPermissionInput = {
22497
23238
  resourceType: Scalars['String']['input'];
22498
23239
  roleId: Scalars['ID']['input'];
22499
23240
  };
22500
- /** Input for setting the shipping address + method on a store order (physical orders). The client sends IDs ONLY. The backend recomputes the authoritative shipping cost server-side from the order's own line-item weights (same quote engine as estimateOrderShipping) — a client-supplied cost is never trusted. */
23241
+ /**
23242
+ * Input for setting the shipping address + method on a store order (physical orders).
23243
+ *
23244
+ * The client sends IDs ONLY. The backend recomputes the authoritative shipping cost
23245
+ * server-side from the order's own line-item weights (same quote engine as
23246
+ * estimateOrderShipping) — a client-supplied cost is never trusted.
23247
+ */
22501
23248
  export type SetStoreOrderShippingInput = {
22502
23249
  /** Store order to attach shipping to */
22503
23250
  orderId: Scalars['ID']['input'];
22504
- /** Selected ShippingAddress ID (from myShippingAddresses or a freshly createdShippingAddress). Must belong to the order's buyer. */
23251
+ /**
23252
+ * Selected ShippingAddress ID (from myShippingAddresses or a freshly
23253
+ * createdShippingAddress). Must belong to the order's buyer.
23254
+ */
22505
23255
  shippingAddressId: Scalars['ID']['input'];
22506
- /** Selected ShippingMethod ID (from the shippingMethods query). NOTE: a ShippingMethod, NOT a ShippingRate — only ShippingMethod is wired to the quote engine. */
23256
+ /**
23257
+ * Selected ShippingMethod ID (from the shippingMethods query).
23258
+ * NOTE: a ShippingMethod, NOT a ShippingRate — only ShippingMethod is wired to
23259
+ * the quote engine.
23260
+ */
22507
23261
  shippingMethodId: Scalars['ID']['input'];
22508
23262
  };
22509
23263
  export type SetUserFeatureFlagPreferenceInput = {
@@ -22864,6 +23618,18 @@ export type SpendCreditsInput = {
22864
23618
  /** For plan upgrades - the subscription ID to upgrade from. Old quotas will be moved to the new subscription. */
22865
23619
  upgradeFromSubscriptionId?: InputMaybe<Scalars['String']['input']>;
22866
23620
  };
23621
+ /**
23622
+ * Details for starting automatic payout onboarding of a RAZORPAY_X or
23623
+ * STRIPE_CONNECT payout method.
23624
+ */
23625
+ export type StartMyPublisherPayoutOnboardingInput = {
23626
+ /** RAZORPAY_X only: the full bank account number, ending in the four digits given when the method was added. It is sent to RazorpayX for fund-account validation and is never stored. */
23627
+ accountNumber?: InputMaybe<Scalars['String']['input']>;
23628
+ /** Contact email the payout processor uses for the account. */
23629
+ contactEmail: Scalars['String']['input'];
23630
+ /** Contact phone number (RazorpayX), 8 to 15 digits with an optional leading +. */
23631
+ contactPhone?: InputMaybe<Scalars['String']['input']>;
23632
+ };
22867
23633
  /** Resolved storage cap (in bytes) for a billing account. Returned by `getStorageLimitForOrg`. Source order, first-hit wins: 1) plan.storageBytesLimit when set 2) plan-attached quota named "storage_bytes" (limits.value) 3) platform default: 50MB (free / no active sub) or 5GB (paid plan) */
22868
23634
  export type StorageLimit = {
22869
23635
  __typename?: 'StorageLimit';
@@ -22942,7 +23708,10 @@ export type StoreFacets = {
22942
23708
  /** Available types with counts */
22943
23709
  types: Array<FacetCount>;
22944
23710
  };
22945
- /** Unified filter input for browsing/searching store products. All filters combine with AND logic - search is treated as a filter. */
23711
+ /**
23712
+ * Unified filter input for browsing/searching store products.
23713
+ * All filters combine with AND logic - search is treated as a filter.
23714
+ */
22946
23715
  export type StoreFilterInput = {
22947
23716
  /** Filter by author name (partial match) */
22948
23717
  authorName?: InputMaybe<Scalars['String']['input']>;
@@ -22952,7 +23721,10 @@ export type StoreFilterInput = {
22952
23721
  categories?: InputMaybe<Array<Scalars['String']['input']>>;
22953
23722
  /** Filter by exact category match (e.g., "Customer Support", "Notification") */
22954
23723
  category?: InputMaybe<Scalars['String']['input']>;
22955
- /** Filter by compatible product (e.g., "workspaces", "fluidgrids", "bigconsole") Products must be compatible with this product. */
23724
+ /**
23725
+ * Filter by compatible product (e.g., "workspaces", "fluidgrids", "bigconsole")
23726
+ * Products must be compatible with this product.
23727
+ */
22956
23728
  compatibleWith?: InputMaybe<Scalars['String']['input']>;
22957
23729
  /** Filter only featured products */
22958
23730
  featured?: InputMaybe<Scalars['Boolean']['input']>;
@@ -22982,11 +23754,24 @@ export type StoreFilterInput = {
22982
23754
  publisherId?: InputMaybe<Scalars['String']['input']>;
22983
23755
  /** Filter products that require shipping */
22984
23756
  requiresShipping?: InputMaybe<Scalars['Boolean']['input']>;
22985
- /** Full-text search query. Searches across: - name (highest priority) - description - tags - authorName, category (lowest priority) Uses PostgreSQL tsvector with weighted ranking. */
23757
+ /**
23758
+ * Full-text search query. Searches across:
23759
+ * - name (highest priority)
23760
+ * - description
23761
+ * - tags
23762
+ * - authorName, category (lowest priority)
23763
+ * Uses PostgreSQL tsvector with weighted ranking.
23764
+ */
22986
23765
  search?: InputMaybe<Scalars['String']['input']>;
22987
23766
  /** Filter by product status (defaults to PUBLISHED for consumer queries) */
22988
23767
  status?: InputMaybe<ProductStatus>;
22989
- /** Filter by type-specific subtype. Examples: - For AGENT: "task_automation", "conversational", "research" - For NODE: "action", "trigger", "integration", "ai" - For WIDGET: "chart", "metric", "table", "map" */
23768
+ /**
23769
+ * Filter by type-specific subtype.
23770
+ * Examples:
23771
+ * - For AGENT: "task_automation", "conversational", "research"
23772
+ * - For NODE: "action", "trigger", "integration", "ai"
23773
+ * - For WIDGET: "chart", "metric", "table", "map"
23774
+ */
22990
23775
  subType?: InputMaybe<Scalars['String']['input']>;
22991
23776
  /** Filter by multiple subtypes (OR within this filter) */
22992
23777
  subTypes?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -23003,6 +23788,23 @@ export type StoreFilterInput = {
23003
23788
  /** Filter by multiple integrations - must use ALL (AND logic) */
23004
23789
  usesIntegrations?: InputMaybe<Array<Scalars['String']['input']>>;
23005
23790
  };
23791
+ /** Counters for the store reviewer console. */
23792
+ export type StoreGovernanceStats = {
23793
+ __typename?: 'StoreGovernanceStats';
23794
+ oldestPendingSubmittedAt?: Maybe<Scalars['DateTime']['output']>;
23795
+ openListingReports: Scalars['Int']['output'];
23796
+ /** Pending review reports filed as rating disputes. */
23797
+ openRatingDisputes: Scalars['Int']['output'];
23798
+ openReviewReports: Scalars['Int']['output'];
23799
+ overdueAppeals: Scalars['Int']['output'];
23800
+ /** Listings waiting for review past their due date. */
23801
+ overdueSubmissions: Scalars['Int']['output'];
23802
+ pendingAppeals: Scalars['Int']['output'];
23803
+ /** Listings waiting for review. */
23804
+ pendingSubmissions: Scalars['Int']['output'];
23805
+ /** Listings currently taken down. */
23806
+ takenDownListings: Scalars['Int']['output'];
23807
+ };
23006
23808
  export declare enum StoreInstallationStatus {
23007
23809
  Active = "ACTIVE",
23008
23810
  Failed = "FAILED",
@@ -23031,7 +23833,8 @@ export type StoreLineItemInput = {
23031
23833
  */
23032
23834
  itemType?: InputMaybe<Scalars['String']['input']>;
23033
23835
  /**
23034
- * Product name is retained only for backwards-compatible clients. The store resolves the authoritative name from productId and variantId.
23836
+ * Product name is retained only for backwards-compatible clients. The store
23837
+ * resolves the authoritative name from productId and variantId.
23035
23838
  * @deprecated The server resolves product and variant names
23036
23839
  */
23037
23840
  name?: InputMaybe<Scalars['String']['input']>;
@@ -23070,7 +23873,11 @@ export type StoreOrder = {
23070
23873
  /** Context JSON (must include workspace_id) */
23071
23874
  context: Scalars['JSON']['output'];
23072
23875
  createdAt: Scalars['DateTime']['output'];
23073
- /** Currency captured when the store order was created. Billing may still convert at payment time, but this is the canonical order currency for checkout display and reconciliation. */
23876
+ /**
23877
+ * Currency captured when the store order was created.
23878
+ * Billing may still convert at payment time, but this is the canonical
23879
+ * order currency for checkout display and reconciliation.
23880
+ */
23074
23881
  currency: Scalars['String']['output'];
23075
23882
  /** Fulfillment tracking for physical orders */
23076
23883
  fulfillment?: Maybe<OrderFulfillment>;
@@ -23088,7 +23895,11 @@ export type StoreOrder = {
23088
23895
  shippingAddress?: Maybe<ShippingAddress>;
23089
23896
  /** Selected shipping address ID (physical orders) */
23090
23897
  shippingAddressId?: Maybe<Scalars['ID']['output']>;
23091
- /** Server-computed shipping cost, in the order currency. SEPARATE from `total` (which is product-cost-only); billing must add this to the payable amount. */
23898
+ /**
23899
+ * Server-computed shipping cost, in the order currency.
23900
+ * SEPARATE from `total` (which is product-cost-only); billing must add this to
23901
+ * the payable amount.
23902
+ */
23092
23903
  shippingCost?: Maybe<Scalars['Float']['output']>;
23093
23904
  /** Currency of the shipping cost quote */
23094
23905
  shippingCurrency?: Maybe<Scalars['String']['output']>;
@@ -23096,10 +23907,17 @@ export type StoreOrder = {
23096
23907
  shippingMethod?: Maybe<ShippingMethod>;
23097
23908
  /** Selected shipping method ID (physical orders) */
23098
23909
  shippingMethodId?: Maybe<Scalars['ID']['output']>;
23099
- /** Immutable snapshot frozen at shipping-selection time: { address, method, cost, currency, quotedAt }. Used by order/confirmation pages so a later edit/delete of the ShippingAddress cannot alter the ship-to. */
23910
+ /**
23911
+ * Immutable snapshot frozen at shipping-selection time:
23912
+ * { address, method, cost, currency, quotedAt }. Used by order/confirmation
23913
+ * pages so a later edit/delete of the ShippingAddress cannot alter the ship-to.
23914
+ */
23100
23915
  shippingSnapshot?: Maybe<Scalars['JSON']['output']>;
23101
23916
  status: OrderStatus;
23102
- /** Total product cost (sum of line items) Note: Currency, tax, and final billing amount handled by billing service */
23917
+ /**
23918
+ * Total product cost (sum of line items)
23919
+ * Note: Currency, tax, and final billing amount handled by billing service
23920
+ */
23103
23921
  total: Scalars['Float']['output'];
23104
23922
  transaction?: Maybe<Transaction>;
23105
23923
  /** Transaction ID from billing service (set after payment) */
@@ -23134,7 +23952,10 @@ export type StoreProduct = {
23134
23952
  /** Brand name (physical products) */
23135
23953
  brand?: Maybe<Scalars['String']['output']>;
23136
23954
  category?: Maybe<Scalars['String']['output']>;
23137
- /** Compatible products (from manifest.compatibility.products) Examples: ["fluidgrids", "workspaces", "bigconsole", "botlit"] */
23955
+ /**
23956
+ * Compatible products (from manifest.compatibility.products)
23957
+ * Examples: ["fluidgrids", "workspaces", "bigconsole", "botlit"]
23958
+ */
23138
23959
  compatibleProducts: Array<Scalars['String']['output']>;
23139
23960
  content?: Maybe<Scalars['JSON']['output']>;
23140
23961
  context?: Maybe<Scalars['JSON']['output']>;
@@ -23150,19 +23971,37 @@ export type StoreProduct = {
23150
23971
  entitlements: Array<ProductEntitlement>;
23151
23972
  /** The item's id in the owning product backend (only set with externalService). */
23152
23973
  externalId?: Maybe<Scalars['String']['output']>;
23153
- /** Service identity of the product backend that owns this listing when the item is sold by that product's own checkout (for example wspace-coolandlovely-svc). Null for products the store sells itself. Such a listing cannot be added to a store cart or ordered here; send buyers to externalUrl instead. */
23974
+ /**
23975
+ * Service identity of the product backend that owns this listing when the item
23976
+ * is sold by that product's own checkout (for example wspace-coolandlovely-svc).
23977
+ * Null for products the store sells itself. Such a listing cannot be added to a
23978
+ * store cart or ordered here; send buyers to externalUrl instead.
23979
+ */
23154
23980
  externalService?: Maybe<Scalars['String']['output']>;
23155
- /** Page in the owning product where the item can be viewed and bought (only set with externalService). */
23981
+ /**
23982
+ * Page in the owning product where the item can be viewed and bought (only set
23983
+ * with externalService).
23984
+ */
23156
23985
  externalUrl?: Maybe<Scalars['String']['output']>;
23157
23986
  featured: Scalars['Boolean']['output'];
23158
23987
  /** Product height (physical products) */
23159
23988
  height?: Maybe<Scalars['Float']['output']>;
23160
23989
  icon?: Maybe<Scalars['String']['output']>;
23161
23990
  id: Scalars['ID']['output'];
23162
- /** Integration dependencies (from manifest.dependencies.integrations) Examples: ["slack", "sendgrid", "zendesk", "salesforce"] */
23991
+ /**
23992
+ * Integration dependencies (from manifest.dependencies.integrations)
23993
+ * Examples: ["slack", "sendgrid", "zendesk", "salesforce"]
23994
+ */
23163
23995
  integrationDeps: Array<Scalars['String']['output']>;
23164
- /** Whether this product is already purchased by the current billing account. Computed field based on billingAccountId context. */
23996
+ /**
23997
+ * Whether this product is already purchased by the current billing account.
23998
+ * Computed field based on billingAccountId context.
23999
+ */
23165
24000
  isPurchased?: Maybe<Scalars['Boolean']['output']>;
24001
+ /** True while the submission waits for review past reviewDueAt. */
24002
+ isReviewOverdue: Scalars['Boolean']['output'];
24003
+ /** True while the store team has this listing taken down. */
24004
+ isTakenDown: Scalars['Boolean']['output'];
23166
24005
  /** Product length (physical products) */
23167
24006
  length?: Maybe<Scalars['Float']['output']>;
23168
24007
  /** License type (from manifest.license, e.g., "MIT", "Apache-2.0") */
@@ -23189,18 +24028,32 @@ export type StoreProduct = {
23189
24028
  publishedAt?: Maybe<Scalars['DateTime']['output']>;
23190
24029
  publisher?: Maybe<Publisher>;
23191
24030
  publisherId: Scalars['String']['output'];
23192
- /** Number of PHYSICAL orders this product has been fulfilled in at least once — incremented alongside OrderFulfillment's first creation for the order (see OrderService.ensurePhysicalFulfillmentRecord), the physical counterpart to how `downloads` counts first-install events for digital products. Always 0 for DIGITAL nature. */
24031
+ /**
24032
+ * Number of PHYSICAL orders this product has been fulfilled in at least
24033
+ * once — incremented alongside OrderFulfillment's first creation for the
24034
+ * order (see OrderService.ensurePhysicalFulfillmentRecord), the physical
24035
+ * counterpart to how `downloads` counts first-install events for digital
24036
+ * products. Always 0 for DIGITAL nature.
24037
+ */
23193
24038
  purchaseCount: Scalars['Int']['output'];
23194
24039
  rating?: Maybe<Scalars['Float']['output']>;
23195
24040
  rejectedReason?: Maybe<Scalars['String']['output']>;
23196
24041
  repositoryUrl?: Maybe<Scalars['String']['output']>;
23197
- /** Required permissions (from manifest.permissions) Examples: ["network.outbound", "database.write", "notification.email"] */
24042
+ /**
24043
+ * Required permissions (from manifest.permissions)
24044
+ * Examples: ["network.outbound", "database.write", "notification.email"]
24045
+ */
23198
24046
  requiredPermissions: Array<Scalars['String']['output']>;
23199
24047
  /** Whether this product requires shipping (physical products) */
23200
24048
  requiresShipping?: Maybe<Scalars['Boolean']['output']>;
23201
24049
  /** Return policy details (physical products) */
23202
24050
  returnPolicy?: Maybe<Scalars['String']['output']>;
23203
24051
  reviewCount: Scalars['Int']['output'];
24052
+ /**
24053
+ * When a reviewer is due to have decided this submission: five business days
24054
+ * (Monday to Friday, UTC) after it was submitted. Null if never submitted.
24055
+ */
24056
+ reviewDueAt?: Maybe<Scalars['DateTime']['output']>;
23204
24057
  reviewNotes?: Maybe<Scalars['String']['output']>;
23205
24058
  reviewedAt?: Maybe<Scalars['DateTime']['output']>;
23206
24059
  reviewedBy?: Maybe<Scalars['String']['output']>;
@@ -23213,7 +24066,13 @@ export type StoreProduct = {
23213
24066
  /** Current stock quantity (physical products) */
23214
24067
  stockQuantity?: Maybe<Scalars['Int']['output']>;
23215
24068
  storeId?: Maybe<Scalars['ID']['output']>;
23216
- /** Type-specific subtype from manifest.json. Examples: - Agent: task_automation, conversational, research, code_assistant - Node: action, transform, trigger, logic, integration, data, notification, ai - Widget: chart, metric, table, map, form, text, custom */
24069
+ /**
24070
+ * Type-specific subtype from manifest.json.
24071
+ * Examples:
24072
+ * - Agent: task_automation, conversational, research, code_assistant
24073
+ * - Node: action, transform, trigger, logic, integration, data, notification, ai
24074
+ * - Widget: chart, metric, table, map, form, text, custom
24075
+ */
23217
24076
  subType?: Maybe<Scalars['String']['output']>;
23218
24077
  submittedAt?: Maybe<Scalars['DateTime']['output']>;
23219
24078
  submittedBy?: Maybe<Scalars['String']['output']>;
@@ -23221,6 +24080,11 @@ export type StoreProduct = {
23221
24080
  /** Structured tag assignments via wspace-tags-svc */
23222
24081
  tagAssignments: Array<StoreProductTagAssignment>;
23223
24082
  tags: Array<Scalars['String']['output']>;
24083
+ /**
24084
+ * Takedown details for store admins and the listing's publisher; null for
24085
+ * everyone else and when the listing is not taken down.
24086
+ */
24087
+ takedown?: Maybe<ListingTakedown>;
23224
24088
  /** Whether to track inventory levels (physical products) */
23225
24089
  trackInventory?: Maybe<Scalars['Boolean']['output']>;
23226
24090
  type: ProductType;
@@ -23237,7 +24101,10 @@ export type StoreProduct = {
23237
24101
  weightUnit?: Maybe<WeightUnit>;
23238
24102
  /** Product width (physical products) */
23239
24103
  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. */
24104
+ /**
24105
+ * For a WORKFLOW template: its nodes, required inputs and credentials and the
24106
+ * cleaning report recorded at submission. Null for other products.
24107
+ */
23241
24108
  workflowTemplatePreview?: Maybe<WorkflowTemplatePreview>;
23242
24109
  zipFileUrl?: Maybe<Scalars['String']['output']>;
23243
24110
  };
@@ -23474,11 +24341,20 @@ export type SubmitSatisfactionSurveyInput = {
23474
24341
  };
23475
24342
  /** Publish a workspace workflow to the public store as a community template. */
23476
24343
  export type SubmitWorkflowTemplateInput = {
23477
- /** Author name shown on the template. Required for your first template, when it also names your publisher profile; defaults to your publisher name afterwards. */
24344
+ /**
24345
+ * Author name shown on the template. Required for your first template, when it
24346
+ * also names your publisher profile; defaults to your publisher name afterwards.
24347
+ */
23478
24348
  authorName?: InputMaybe<Scalars['String']['input']>;
23479
- /** Store category: automation, integration, data-processing, ai-ml, communication, devops, marketing, sales, support, productivity or finance. */
24349
+ /**
24350
+ * Store category: automation, integration, data-processing, ai-ml,
24351
+ * communication, devops, marketing, sales, support, productivity or finance.
24352
+ */
23480
24353
  category: Scalars['String']['input'];
23481
- /** The workflow definition (definitionJson) to publish. Connection bindings, pinned run data and literal secrets are removed before it is stored. */
24354
+ /**
24355
+ * The workflow definition (definitionJson) to publish. Connection bindings,
24356
+ * pinned run data and literal secrets are removed before it is stored.
24357
+ */
23482
24358
  definitionJson: Scalars['JSON']['input'];
23483
24359
  /** One-line summary shown on the template card (at most 500 characters). */
23484
24360
  description: Scalars['String']['input'];
@@ -23494,7 +24370,13 @@ export type SubmitWorkflowTemplateInput = {
23494
24370
  name: Scalars['String']['input'];
23495
24371
  /** A note for the store reviewer. */
23496
24372
  notes?: InputMaybe<Scalars['String']['input']>;
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. */
24373
+ /**
24374
+ * Resubmit one of your own templates instead of creating a new one. A DRAFT,
24375
+ * REJECTED or UNLISTED template is replaced and goes back into review. A
24376
+ * PUBLISHED template stays listed unchanged: the submission is kept as its
24377
+ * pending revision and replaces the live version only when a reviewer approves
24378
+ * it. Either way the template keeps its id and slug and its version goes up by one.
24379
+ */
23498
24380
  productId?: InputMaybe<Scalars['ID']['input']>;
23499
24381
  /** Workflow key the template was published from (lineage). */
23500
24382
  sourceWorkflowKey?: InputMaybe<Scalars['String']['input']>;
@@ -23635,7 +24517,11 @@ export type Subscription = {
23635
24517
  /** Emits the deleted feature-flag id so clients can drop it from their cache. */
23636
24518
  featureFlagDeleted: Scalars['ID']['output'];
23637
24519
  importJobProgress: ImportJobProgressEvent;
23638
- /** Subscribe to app installation status changes for a workspace. TODO(BOFF-2658): wspace scope on a global svc subgraph — this subscription conceptually belongs on the workspace gateway; flagged for follow-up. */
24520
+ /**
24521
+ * Subscribe to app installation status changes for a workspace.
24522
+ * TODO(BOFF-2658): wspace scope on a global svc subgraph — this subscription
24523
+ * conceptually belongs on the workspace gateway; flagged for follow-up.
24524
+ */
23639
24525
  installationStatusUpdated?: Maybe<InstallationStatusUpdatedEvent>;
23640
24526
  jobStatusUpdated: JobStatusUpdate;
23641
24527
  /** Notifies clients when a keyboard shortcut is created, updated, or toggled. Subscribers can pass `productId` to scope the stream to a single product. */
@@ -24417,6 +25303,31 @@ export type TagsAndResourceTypes = {
24417
25303
  /** Available tags from usage records */
24418
25304
  tags: Array<Scalars['String']['output']>;
24419
25305
  };
25306
+ /** Policy ground for taking a listing down. */
25307
+ export declare enum TakedownCategory {
25308
+ Broken = "BROKEN",
25309
+ IpInfringement = "IP_INFRINGEMENT",
25310
+ Misleading = "MISLEADING",
25311
+ Other = "OTHER",
25312
+ PolicyViolation = "POLICY_VIOLATION",
25313
+ PublisherVerification = "PUBLISHER_VERIFICATION",
25314
+ SecurityRisk = "SECURITY_RISK"
25315
+ }
25316
+ export type TakedownListingInput = {
25317
+ category: TakedownCategory;
25318
+ productId: Scalars['ID']['input'];
25319
+ /** Reason the publisher sees, up to 2000 characters. */
25320
+ reason: Scalars['String']['input'];
25321
+ /** Open listing reports this takedown answers; they are marked ACTIONED. */
25322
+ reportIds?: InputMaybe<Array<Scalars['ID']['input']>>;
25323
+ };
25324
+ /** What took a listing down. */
25325
+ export declare enum TakedownSource {
25326
+ /** A store admin took this listing down. */
25327
+ Listing = "LISTING",
25328
+ /** The listing went down with its publisher's suspension. */
25329
+ PublisherSuspension = "PUBLISHER_SUSPENSION"
25330
+ }
24420
25331
  /** Result of tax calculation */
24421
25332
  export type TaxCalculationResult = {
24422
25333
  __typename?: 'TaxCalculationResult';
@@ -25966,7 +26877,10 @@ export type UpdatePressKitAssetInput = {
25966
26877
  export type UpdateProductInput = {
25967
26878
  bannerUrl?: InputMaybe<Scalars['String']['input']>;
25968
26879
  category?: InputMaybe<Scalars['String']['input']>;
25969
- /** Which products this item is compatible with (e.g. "fluidgrids", "workspaces"). When provided without a manifest, updates the field directly. */
26880
+ /**
26881
+ * Which products this item is compatible with (e.g. "fluidgrids", "workspaces").
26882
+ * When provided without a manifest, updates the field directly.
26883
+ */
25970
26884
  compatibleProducts?: InputMaybe<Array<Scalars['String']['input']>>;
25971
26885
  content?: InputMaybe<Scalars['JSON']['input']>;
25972
26886
  currency?: InputMaybe<Scalars['String']['input']>;
@@ -26449,7 +27363,11 @@ export type UpsertSourcingOfferInput = {
26449
27363
  /** Exact decimal string with at most two fractional digits. */
26450
27364
  unitPrice: Scalars['String']['input'];
26451
27365
  };
26452
- /** M2M input for managing a ShippingAddress on behalf of an explicit user. The calling service supplies `userId` (the opaque owner) directly; `id` selects an existing row to update (omit to create). */
27366
+ /**
27367
+ * M2M input for managing a ShippingAddress on behalf of an explicit user.
27368
+ * The calling service supplies `userId` (the opaque owner) directly; `id` selects
27369
+ * an existing row to update (omit to create).
27370
+ */
26453
27371
  export type UpsertUserShippingAddressInput = {
26454
27372
  addressLine1: Scalars['String']['input'];
26455
27373
  addressLine2?: InputMaybe<Scalars['String']['input']>;
@@ -26457,7 +27375,10 @@ export type UpsertUserShippingAddressInput = {
26457
27375
  country: Scalars['String']['input'];
26458
27376
  email?: InputMaybe<Scalars['String']['input']>;
26459
27377
  fullName: Scalars['String']['input'];
26460
- /** Existing ShippingAddress id to update. Omit to create a new address. When provided, the row must already belong to `userId` (else NOT_FOUND). */
27378
+ /**
27379
+ * Existing ShippingAddress id to update. Omit to create a new address. When
27380
+ * provided, the row must already belong to `userId` (else NOT_FOUND).
27381
+ */
26461
27382
  id?: InputMaybe<Scalars['ID']['input']>;
26462
27383
  instructions?: InputMaybe<Scalars['String']['input']>;
26463
27384
  isDefault?: InputMaybe<Scalars['Boolean']['input']>;
@@ -27443,7 +28364,10 @@ export type WorkflowTemplatePreview = {
27443
28364
  /** A credential someone importing the template must connect. */
27444
28365
  export type WorkflowTemplateRequiredCredential = {
27445
28366
  __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>}. */
28367
+ /**
28368
+ * connection: the node was bound to the author's saved connection, which was
28369
+ * cleared at submission. reference: the template reads ${credentials.<name>}.
28370
+ */
27447
28371
  kind: Scalars['String']['output'];
27448
28372
  name: Scalars['String']['output'];
27449
28373
  nodeId?: Maybe<Scalars['String']['output']>;
@@ -27461,7 +28385,11 @@ export type WorkflowTemplateRequiredInput = {
27461
28385
  /** Nodes that read it. */
27462
28386
  usedBy: Array<Scalars['String']['output']>;
27463
28387
  };
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. */
28388
+ /**
28389
+ * A new version of a PUBLISHED template, kept apart from the live version while
28390
+ * it is reviewed. Approval makes it the live version; rejection leaves the live
28391
+ * version untouched.
28392
+ */
27465
28393
  export type WorkflowTemplateRevision = {
27466
28394
  __typename?: 'WorkflowTemplateRevision';
27467
28395
  authorName?: Maybe<Scalars['String']['output']>;
@@ -27521,7 +28449,10 @@ export type WorkflowTemplateSubmission = {
27521
28449
  name: Scalars['String']['output'];
27522
28450
  /** Number of distinct node types the template uses. */
27523
28451
  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. */
28452
+ /**
28453
+ * The new version of this published template that is waiting for review, or
28454
+ * that a reviewer rejected (with the reason). Null when there is none.
28455
+ */
27525
28456
  pendingRevision?: Maybe<WorkflowTemplateRevision>;
27526
28457
  publishedAt?: Maybe<Scalars['DateTime']['output']>;
27527
28458
  rejectedReason?: Maybe<Scalars['String']['output']>;
@@ -27532,7 +28463,10 @@ export type WorkflowTemplateSubmission = {
27532
28463
  slug: Scalars['String']['output'];
27533
28464
  sourceWorkflowKey?: Maybe<Scalars['String']['output']>;
27534
28465
  sourceWorkflowVersion?: Maybe<Scalars['String']['output']>;
27535
- /** PENDING_REVIEW while a store admin reviews it, PUBLISHED once approved, REJECTED with a reason, UNLISTED once taken off the store. */
28466
+ /**
28467
+ * PENDING_REVIEW while a store admin reviews it, PUBLISHED once approved,
28468
+ * REJECTED with a reason, UNLISTED once taken off the store.
28469
+ */
27536
28470
  status: ProductStatus;
27537
28471
  submittedAt?: Maybe<Scalars['DateTime']['output']>;
27538
28472
  tags: Array<Scalars['String']['output']>;