@burdenoff/microfe-stewards 2026.1201.2 → 2026.1201.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/dev/liveDeskMocks.d.ts +2 -0
  2. package/dist/dev/shellGateway.d.ts +9 -0
  3. package/dist/dev/shellPermissions.d.ts +9 -0
  4. package/dist/generated/global-types.d.ts +398 -7
  5. package/dist/generated/wspace-operations.d.ts +183 -0
  6. package/dist/generated/wspace-operations.js +107 -39
  7. package/dist/generated/wspace-operations.js.map +1 -1
  8. package/dist/generated/wspace-types.d.ts +1789 -15
  9. package/dist/generated/wspace-types.js +7 -5
  10. package/dist/generated/wspace-types.js.map +1 -1
  11. package/dist/stewards/components/ControlBanner.d.ts +7 -0
  12. package/dist/stewards/components/ControlBanner.js +21 -0
  13. package/dist/stewards/components/ControlBanner.js.map +1 -0
  14. package/dist/stewards/components/LiveDeskPanel.d.ts +17 -0
  15. package/dist/stewards/components/LiveDeskPanel.js +120 -0
  16. package/dist/stewards/components/LiveDeskPanel.js.map +1 -0
  17. package/dist/stewards/i18n/en.d.ts +46 -0
  18. package/dist/stewards/i18n/en.js +46 -0
  19. package/dist/stewards/i18n/en.js.map +1 -1
  20. package/dist/stewards/live/DeskCanvas.d.ts +20 -0
  21. package/dist/stewards/live/DeskCanvas.js +95 -0
  22. package/dist/stewards/live/DeskCanvas.js.map +1 -0
  23. package/dist/stewards/live/DeskStreamConnection.d.ts +123 -0
  24. package/dist/stewards/live/DeskStreamConnection.js +239 -0
  25. package/dist/stewards/live/DeskStreamConnection.js.map +1 -0
  26. package/dist/stewards/live/backoff.d.ts +2 -0
  27. package/dist/stewards/live/backoff.js +8 -0
  28. package/dist/stewards/live/backoff.js.map +1 -0
  29. package/dist/stewards/live/browserConnection.d.ts +20 -0
  30. package/dist/stewards/live/browserConnection.js +40 -0
  31. package/dist/stewards/live/browserConnection.js.map +1 -0
  32. package/dist/stewards/live/describeStream.d.ts +15 -0
  33. package/dist/stewards/live/describeStream.js +78 -0
  34. package/dist/stewards/live/describeStream.js.map +1 -0
  35. package/dist/stewards/live/mintPass.d.ts +9 -0
  36. package/dist/stewards/live/mintPass.js +59 -0
  37. package/dist/stewards/live/mintPass.js.map +1 -0
  38. package/dist/stewards/live/protocol.d.ts +81 -0
  39. package/dist/stewards/live/protocol.js +88 -0
  40. package/dist/stewards/live/protocol.js.map +1 -0
  41. package/dist/stewards/live/useDeskStream.d.ts +17 -0
  42. package/dist/stewards/live/useDeskStream.js +25 -0
  43. package/dist/stewards/live/useDeskStream.js.map +1 -0
  44. package/dist/stewards/pages/StewardRunPage.js +26 -20
  45. package/dist/stewards/pages/StewardRunPage.js.map +1 -1
  46. package/package.json +1 -1
@@ -1370,6 +1370,24 @@ export type AppWorkspaceAuthorization = {
1370
1370
  updatedAt: Scalars['DateTime']['output'];
1371
1371
  workspaceId: Scalars['ID']['output'];
1372
1372
  };
1373
+ /** A fresh Sign in with Apple that confirms an account deletion. */
1374
+ export type AppleReauthInput = {
1375
+ authorizationCode: Scalars['String']['input'];
1376
+ identityToken: Scalars['String']['input'];
1377
+ nonce: Scalars['String']['input'];
1378
+ };
1379
+ /**
1380
+ * Credentials from a native Sign in with Apple (ASAuthorization). The app gives
1381
+ * Apple the SHA-256 hex digest of nonce and sends the raw nonce here. givenName
1382
+ * and familyName are only present on the first sign-in.
1383
+ */
1384
+ export type AppleSignInInput = {
1385
+ authorizationCode: Scalars['String']['input'];
1386
+ familyName?: InputMaybe<Scalars['String']['input']>;
1387
+ givenName?: InputMaybe<Scalars['String']['input']>;
1388
+ identityToken: Scalars['String']['input'];
1389
+ nonce: Scalars['String']['input'];
1390
+ };
1373
1391
  /** Application type - represents a developer application or integration */
1374
1392
  export type Application = {
1375
1393
  __typename?: 'Application';
@@ -4293,6 +4311,22 @@ export type CreateEditorialCollectionInput = {
4293
4311
  subtitle?: InputMaybe<Scalars['String']['input']>;
4294
4312
  title: Scalars['String']['input'];
4295
4313
  };
4314
+ export type CreateEmbedTokenInput = {
4315
+ /** Exact https origins (no wildcard, no path), at most 10. */
4316
+ allowedOrigins: Array<Scalars['String']['input']>;
4317
+ /** A name to recognise the token by (at most 80 characters). */
4318
+ label: Scalars['String']['input'];
4319
+ /** Sessions the token can open in total: 1 to 5000. Defaults to 500. */
4320
+ maxExchanges?: InputMaybe<Scalars['Int']['input']>;
4321
+ product: EmbedProduct;
4322
+ /** Pin the token to one resource, for example a Steward id. */
4323
+ resourceId?: InputMaybe<Scalars['ID']['input']>;
4324
+ /** At least one; each must belong to the product. */
4325
+ scopes: Array<EmbedScope>;
4326
+ /** Lifetime in seconds: 60 to 86400. Defaults to 3600. */
4327
+ ttlSeconds?: InputMaybe<Scalars['Int']['input']>;
4328
+ workspaceId: Scalars['ID']['input'];
4329
+ };
4296
4330
  /** Input for creating a new subscription entitlement */
4297
4331
  export type CreateEntitlementInput = {
4298
4332
  /** The type of access (FREE_ACCESS or DISCOUNT) */
@@ -4652,6 +4686,7 @@ export type CreatePhysicalProductInput = {
4652
4686
  */
4653
4687
  compatibleProducts?: InputMaybe<Array<Scalars['String']['input']>>;
4654
4688
  countryOfOrigin?: InputMaybe<Scalars['String']['input']>;
4689
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Defaults to USD. */
4655
4690
  currency?: InputMaybe<Scalars['String']['input']>;
4656
4691
  description?: InputMaybe<Scalars['String']['input']>;
4657
4692
  dimensionUnit?: InputMaybe<DimensionUnit>;
@@ -4766,6 +4801,7 @@ export type CreateProductInput = {
4766
4801
  category?: InputMaybe<Scalars['String']['input']>;
4767
4802
  compatibleProducts?: InputMaybe<Array<Scalars['String']['input']>>;
4768
4803
  content?: InputMaybe<Scalars['JSON']['input']>;
4804
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Defaults to USD. */
4769
4805
  currency?: InputMaybe<Scalars['String']['input']>;
4770
4806
  description?: InputMaybe<Scalars['String']['input']>;
4771
4807
  documentationUrl?: InputMaybe<Scalars['String']['input']>;
@@ -4808,6 +4844,7 @@ export type CreatePromoCodeInput = {
4808
4844
  applicableCategoryIds?: InputMaybe<Array<Scalars['ID']['input']>>;
4809
4845
  applicableProductIds?: InputMaybe<Array<Scalars['ID']['input']>>;
4810
4846
  code: Scalars['String']['input'];
4847
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Defaults to USD. */
4811
4848
  currency?: InputMaybe<Scalars['String']['input']>;
4812
4849
  description?: InputMaybe<Scalars['String']['input']>;
4813
4850
  expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -5008,6 +5045,7 @@ export type CreateShippingMethodInput = {
5008
5045
  code: Scalars['String']['input'];
5009
5046
  costPerItem?: InputMaybe<Scalars['Float']['input']>;
5010
5047
  costPerKg?: InputMaybe<Scalars['Float']['input']>;
5048
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Defaults to USD. */
5011
5049
  currency?: InputMaybe<Scalars['String']['input']>;
5012
5050
  description?: InputMaybe<Scalars['String']['input']>;
5013
5051
  displayOrder?: InputMaybe<Scalars['Int']['input']>;
@@ -5022,6 +5060,7 @@ export type CreateShippingMethodInput = {
5022
5060
  };
5023
5061
  export type CreateShippingRateInput = {
5024
5062
  baseCost: Scalars['Float']['input'];
5063
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Defaults to USD. */
5025
5064
  currency?: InputMaybe<Scalars['String']['input']>;
5026
5065
  displayOrder?: InputMaybe<Scalars['Int']['input']>;
5027
5066
  estimatedMaxDays?: InputMaybe<Scalars['Int']['input']>;
@@ -5057,6 +5096,7 @@ export type CreateSourcingRequestInput = {
5057
5096
  };
5058
5097
  export type CreateStoreInput = {
5059
5098
  allowUnverifiedPublishers?: InputMaybe<Scalars['Boolean']['input']>;
5099
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Defaults to USD. */
5060
5100
  currency?: InputMaybe<Scalars['String']['input']>;
5061
5101
  description?: InputMaybe<Scalars['String']['input']>;
5062
5102
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
@@ -5430,6 +5470,85 @@ export declare enum CurrencyPaymentProvider {
5430
5470
  Razorpay = "RAZORPAY",
5431
5471
  Stripe = "STRIPE"
5432
5472
  }
5473
+ /** An amount in one currency. */
5474
+ export type CurrencyPriceAmount = {
5475
+ __typename?: 'CurrencyPriceAmount';
5476
+ amount: Scalars['Float']['output'];
5477
+ currency: Scalars['String']['output'];
5478
+ };
5479
+ /** A billing account moved off a currency billing does not support. */
5480
+ export type CurrencyPriceFillAccount = {
5481
+ __typename?: 'CurrencyPriceFillAccount';
5482
+ /** Active subscriptions on the account when it was moved. */
5483
+ activeSubscriptions: Scalars['Int']['output'];
5484
+ /** False in a dry run, or when the move failed. */
5485
+ changed: Scalars['Boolean']['output'];
5486
+ error?: Maybe<Scalars['String']['output']>;
5487
+ id: Scalars['ID']['output'];
5488
+ newCurrency: Scalars['String']['output'];
5489
+ oldCurrency: Scalars['String']['output'];
5490
+ orgId: Scalars['String']['output'];
5491
+ };
5492
+ /** The fill result for one plan or add-on. */
5493
+ export type CurrencyPriceFillEntity = {
5494
+ __typename?: 'CurrencyPriceFillEntity';
5495
+ /** The prices added (dry run: that would be added). */
5496
+ added: Array<CurrencyPriceAmount>;
5497
+ currencies: Array<CurrencyPriceFillLine>;
5498
+ entityType: CurrencyPriceFillEntityType;
5499
+ /** Set when the entity failed; other entities are not affected. */
5500
+ error?: Maybe<Scalars['String']['output']>;
5501
+ id: Scalars['ID']['output'];
5502
+ name: Scalars['String']['output'];
5503
+ /** Set when the entity was left alone, with the reason. */
5504
+ skippedReason?: Maybe<Scalars['String']['output']>;
5505
+ };
5506
+ /** Which kind of catalog entity a fill line is for. */
5507
+ export declare enum CurrencyPriceFillEntityType {
5508
+ Addon = "ADDON",
5509
+ Plan = "PLAN"
5510
+ }
5511
+ /** One missing currency of one plan or add-on. */
5512
+ export type CurrencyPriceFillLine = {
5513
+ __typename?: 'CurrencyPriceFillLine';
5514
+ /** The price added (or, in a dry run, that would be added). */
5515
+ amount: Scalars['Float']['output'];
5516
+ currency: Scalars['String']['output'];
5517
+ /** Stripe price id (non-INR) or Razorpay plan id (INR), when there is one. */
5518
+ providerRef?: Maybe<Scalars['String']['output']>;
5519
+ reason?: Maybe<Scalars['String']['output']>;
5520
+ recurring: RecurringPriceFillStatus;
5521
+ /** True when the price is (dry run: would be) stored in currencyPrices. */
5522
+ written: Scalars['Boolean']['output'];
5523
+ };
5524
+ /**
5525
+ * An FX rate the fill priced with: units of the currency per 1 USD, and the
5526
+ * purchasing-power factor applied on top.
5527
+ */
5528
+ export type CurrencyPriceFillRate = {
5529
+ __typename?: 'CurrencyPriceFillRate';
5530
+ currency: Scalars['String']['output'];
5531
+ pppFactor: Scalars['Float']['output'];
5532
+ usdRate: Scalars['Float']['output'];
5533
+ };
5534
+ /** The result of fillMissingCurrencyPrices. */
5535
+ export type CurrencyPriceFillReport = {
5536
+ __typename?: 'CurrencyPriceFillReport';
5537
+ accounts: Array<CurrencyPriceFillAccount>;
5538
+ addonsScanned: Scalars['Int']['output'];
5539
+ currenciesAdded: Scalars['Int']['output'];
5540
+ dryRun: Scalars['Boolean']['output'];
5541
+ entities: Array<CurrencyPriceFillEntity>;
5542
+ entitiesChanged: Scalars['Int']['output'];
5543
+ entitiesFailed: Scalars['Int']['output'];
5544
+ /** Plans and add-ons left for a later call because of limit; repeat until 0. */
5545
+ entitiesRemaining: Scalars['Int']['output'];
5546
+ entitiesSkipped: Scalars['Int']['output'];
5547
+ fxRates: Array<CurrencyPriceFillRate>;
5548
+ plansScanned: Scalars['Int']['output'];
5549
+ recurringCreated: Scalars['Int']['output'];
5550
+ recurringFailed: Scalars['Int']['output'];
5551
+ };
5433
5552
  export type CurrencyPriceOverrideInput = {
5434
5553
  amount: Scalars['Float']['input'];
5435
5554
  currency: Scalars['String']['input'];
@@ -5762,9 +5881,17 @@ export declare enum DevPortalSubscriptionStatus {
5762
5881
  Trialing = "TRIALING",
5763
5882
  Unpaid = "UNPAID"
5764
5883
  }
5765
- /** Developer earnings dashboard */
5884
+ /**
5885
+ * Developer earnings dashboard. Order amounts in different currencies are never
5886
+ * added together: byCurrency has one entry per order currency. totalEarnings and
5887
+ * monthlyEarnings are the amounts in the currency named by currency (the one with
5888
+ * the most orders); totalOrders and monthlyOrders count orders in every currency.
5889
+ * Each earnings and topSellingItems row is in its own currency.
5890
+ */
5766
5891
  export type DeveloperEarnings = {
5767
5892
  __typename?: 'DeveloperEarnings';
5893
+ /** Earnings per order currency, the currency with the most orders first. */
5894
+ byCurrency: Array<StoreEarningsByCurrency>;
5768
5895
  currency: Scalars['String']['output'];
5769
5896
  earnings: Array<MonthlyEarning>;
5770
5897
  monthlyEarnings: Scalars['Float']['output'];
@@ -6640,6 +6767,77 @@ export type EmailVerificationResult = {
6640
6767
  message: Scalars['String']['output'];
6641
6768
  success: Scalars['Boolean']['output'];
6642
6769
  };
6770
+ /** A token exchange: a single-use ticket the iframe document redeems. */
6771
+ export type EmbedExchangeResult = {
6772
+ __typename?: 'EmbedExchangeResult';
6773
+ claims: EmbedSessionClaims;
6774
+ ticket: Scalars['String']['output'];
6775
+ ticketExpiresAt: Scalars['DateTime']['output'];
6776
+ };
6777
+ /** A redeemed ticket: the session secret, shown once, and its claims. */
6778
+ export type EmbedFrameSession = {
6779
+ __typename?: 'EmbedFrameSession';
6780
+ claims: EmbedSessionClaims;
6781
+ sessionToken: Scalars['String']['output'];
6782
+ };
6783
+ /** The product an embed token is for. */
6784
+ export declare enum EmbedProduct {
6785
+ /** BotManor Stewards: the console, run view and approvals of a Steward. */
6786
+ BotmanorStewards = "BOTMANOR_STEWARDS"
6787
+ }
6788
+ /** What an embed session may do. Every scope belongs to one product. */
6789
+ export declare enum EmbedScope {
6790
+ /** See the approvals waiting on the person. */
6791
+ StewardApprovalsView = "STEWARD_APPROVALS_VIEW",
6792
+ /** Start and cancel a Steward run. */
6793
+ StewardRun = "STEWARD_RUN",
6794
+ /** See a Steward, its runs and its Daybook. */
6795
+ StewardView = "STEWARD_VIEW"
6796
+ }
6797
+ /** What an embed session is allowed to do and where. */
6798
+ export type EmbedSessionClaims = {
6799
+ __typename?: 'EmbedSessionClaims';
6800
+ /** Every origin the token allows; the gateway frames the embed for these. */
6801
+ allowedOrigins: Array<Scalars['String']['output']>;
6802
+ expiresAt: Scalars['DateTime']['output'];
6803
+ /** The origin that opened the session. */
6804
+ origin: Scalars['String']['output'];
6805
+ product: EmbedProduct;
6806
+ resourceId?: Maybe<Scalars['ID']['output']>;
6807
+ scopes: Array<EmbedScope>;
6808
+ workspaceId: Scalars['ID']['output'];
6809
+ };
6810
+ /**
6811
+ * An embed token as listed. The secret is never returned here; it is shown once,
6812
+ * by createEmbedToken.
6813
+ */
6814
+ export type EmbedToken = {
6815
+ __typename?: 'EmbedToken';
6816
+ /** Exact https origins that may exchange the token and frame the embed. */
6817
+ allowedOrigins: Array<Scalars['String']['output']>;
6818
+ createdAt: Scalars['DateTime']['output'];
6819
+ createdBy: Scalars['ID']['output'];
6820
+ expiresAt: Scalars['DateTime']['output'];
6821
+ id: Scalars['ID']['output'];
6822
+ label: Scalars['String']['output'];
6823
+ lastUsedAt?: Maybe<Scalars['DateTime']['output']>;
6824
+ product: EmbedProduct;
6825
+ /** How many sessions the token can still open. */
6826
+ remainingExchanges: Scalars['Int']['output'];
6827
+ /** The one resource (for example a Steward id) the token is pinned to. Null means any the scopes allow. */
6828
+ resourceId?: Maybe<Scalars['ID']['output']>;
6829
+ revokedAt?: Maybe<Scalars['DateTime']['output']>;
6830
+ scopes: Array<EmbedScope>;
6831
+ /** First characters of the secret, to recognise it in a list. Not a credential. */
6832
+ tokenPrefix: Scalars['String']['output'];
6833
+ workspaceId: Scalars['ID']['output'];
6834
+ };
6835
+ /** The result of createEmbedToken. `secret` is shown once and cannot be read again. */
6836
+ export type EmbedTokenCreated = {
6837
+ __typename?: 'EmbedTokenCreated';
6838
+ embedToken: EmbedToken;
6839
+ secret: Scalars['String']['output'];
6840
+ };
6643
6841
  export declare enum EmploymentType {
6644
6842
  Contract = "CONTRACT",
6645
6843
  FullTime = "FULL_TIME",
@@ -7724,6 +7922,16 @@ export type FileGovernanceAppealInput = {
7724
7922
  statement: Scalars['String']['input'];
7725
7923
  targetType: GovernanceAppealTarget;
7726
7924
  };
7925
+ export type FillMissingCurrencyPricesInput = {
7926
+ /** Report what would change without writing anything or calling a payment provider. */
7927
+ dryRun: Scalars['Boolean']['input'];
7928
+ /**
7929
+ * Fill at most this many plans and add-ons in this call (default: all).
7930
+ * Payment-provider calls run one at a time, so a large fill can outlast the
7931
+ * HTTP request; use a limit and repeat until entitiesRemaining is 0.
7932
+ */
7933
+ limit?: InputMaybe<Scalars['Int']['input']>;
7934
+ };
7727
7935
  /** Available filter options for UI dropdowns */
7728
7936
  export type FilterOptionsResult = {
7729
7937
  __typename?: 'FilterOptionsResult';
@@ -8790,9 +8998,15 @@ export type ItemOrdersInput = {
8790
8998
  status?: InputMaybe<Scalars['String']['input']>;
8791
8999
  storeProductId: Scalars['String']['input'];
8792
9000
  };
8793
- /** Orders list for a specific product */
9001
+ /**
9002
+ * Orders list for a specific product. totalEarnings is the listed orders' total in
9003
+ * the product's own currency (named by currency); byCurrency totals the listed
9004
+ * orders per order currency, so amounts in different currencies are never added.
9005
+ */
8794
9006
  export type ItemOrdersList = {
8795
9007
  __typename?: 'ItemOrdersList';
9008
+ /** The listed orders' earnings per order currency, the currency with the most orders first. */
9009
+ byCurrency: Array<StoreCurrencyTotal>;
8796
9010
  currency: Scalars['String']['output'];
8797
9011
  orders: Array<ItemOrder>;
8798
9012
  totalCount: Scalars['Int']['output'];
@@ -9898,6 +10112,11 @@ export type Mutation = {
9898
10112
  authenticateAPIKey: AuthResult;
9899
10113
  /** Authenticate an app using client credentials (OAuth2 Client Credentials flow) */
9900
10114
  authenticateApp: AppTokenResponse;
10115
+ /**
10116
+ * Sign in or sign up with Apple from the native iOS app (BOFF-17422). Takes the
10117
+ * identity token, authorization code and raw nonce from ASAuthorization.
10118
+ */
10119
+ authenticateApple: AuthResult;
9901
10120
  /** Authenticate using HTTP Basic Auth (base64 encoded username:password) */
9902
10121
  authenticateBasicAuth: AuthResult;
9903
10122
  /** Authenticate using HTTP Digest credentials */
@@ -10094,6 +10313,12 @@ export type Mutation = {
10094
10313
  /** Create a discount code */
10095
10314
  createDiscount: BillingDiscount;
10096
10315
  createEditorialCollection: EditorialCollection;
10316
+ /**
10317
+ * Issues an embed token for a third-party page. Workspace admins only. The
10318
+ * secret is returned once; only its hash is kept. A workspace holds at most 25
10319
+ * live tokens.
10320
+ */
10321
+ createEmbedToken: EmbedTokenCreated;
10097
10322
  /** Create a new subscription entitlement (link a plan to a store item) */
10098
10323
  createEntitlement: SubscriptionEntitlement;
10099
10324
  /**
@@ -10302,8 +10527,10 @@ export type Mutation = {
10302
10527
  */
10303
10528
  decrementQuota: Scalars['Boolean']['output'];
10304
10529
  /**
10305
- * Delete current user's account permanently
10306
- * Requires password confirmation
10530
+ * Delete current user's account permanently.
10531
+ * Accounts with a password confirm with it. An account linked to Apple can
10532
+ * confirm with a fresh Sign in with Apple instead, which is the only option
10533
+ * for an account without a password (BOFF-17422).
10307
10534
  */
10308
10535
  deleteAccount: AccountActionResult;
10309
10536
  deleteAffiliateCode: Scalars['Boolean']['output'];
@@ -10610,6 +10837,12 @@ export type Mutation = {
10610
10837
  */
10611
10838
  escalateExploreConversation: EscalateExploreConversationResult;
10612
10839
  escalateSupportTicket: SupportTicket;
10840
+ /**
10841
+ * Exchanges an embed token for a single-use frame ticket. `origin` is the
10842
+ * browser-reported Origin of the third-party page and must be one the token
10843
+ * allows. Gateway (service) actors only: browsers never call this directly.
10844
+ */
10845
+ exchangeEmbedToken: EmbedExchangeResult;
10613
10846
  exchangeOwnDelegation: AppAsUserTokenResponse;
10614
10847
  /** Exchange app token for app-as-user token (Token Exchange flow) */
10615
10848
  exchangeToken: AppAsUserTokenResponse;
@@ -10646,6 +10879,15 @@ export type Mutation = {
10646
10879
  fileDSAR: DsarRequest;
10647
10880
  /** Appeal a takedown of one of your listings, or your publisher suspension. */
10648
10881
  fileGovernanceAppeal: GovernanceAppeal;
10882
+ /**
10883
+ * Add each active plan's and add-on's missing supported-currency prices, made
10884
+ * from the USD price at today's FX rate with the price-list formula, and
10885
+ * register their recurring prices. A stored price without a recurring price
10886
+ * gets one at its stored amount. Existing prices are never changed. Billing
10887
+ * accounts in an unsupported currency move to USD. Safe to run again.
10888
+ * Platform administrators only.
10889
+ */
10890
+ fillMissingCurrencyPrices: CurrencyPriceFillReport;
10649
10891
  /**
10650
10892
  * Seller reports a problem fulfilling a physical order (out of stock, cannot
10651
10893
  * fulfill, wrong address, etc). The resolver verifies organizationId actually
@@ -11128,6 +11370,11 @@ export type Mutation = {
11128
11370
  recordStoreOrderDispute: StoreOrderDisputeResult;
11129
11371
  /** Record user progress for a tour */
11130
11372
  recordTourProgress: TourUserProgress;
11373
+ /**
11374
+ * Redeems a frame ticket once, within 60 seconds, for the short-lived embed
11375
+ * session secret. Gateway (service) actors only.
11376
+ */
11377
+ redeemEmbedFrameTicket: EmbedFrameSession;
11131
11378
  /**
11132
11379
  * Re-generate a fresh 24-hour download URL for a version's package.
11133
11380
  * Minted by wspace-files-svc when the version carries a files-svc reference
@@ -11591,6 +11838,11 @@ export type Mutation = {
11591
11838
  revokeAppWorkspaceAccess: Scalars['Boolean']['output'];
11592
11839
  revokeConsent: NewsletterConsent;
11593
11840
  revokeDelegation: Scalars['Boolean']['output'];
11841
+ /**
11842
+ * Revokes an embed token and, with it, every session it opened. Workspace
11843
+ * admins only. Idempotent.
11844
+ */
11845
+ revokeEmbedToken: EmbedToken;
11594
11846
  revokeEntitlementSeat: ProductEntitlement;
11595
11847
  /** Revoke an HMAC credential */
11596
11848
  revokeHMACCredential: Scalars['Boolean']['output'];
@@ -12046,6 +12298,15 @@ export type Mutation = {
12046
12298
  * workspace administrator configured the connector.
12047
12299
  */
12048
12300
  syncDirectoryWorkersInternal: DirectorySyncResult;
12301
+ /**
12302
+ * Platform admin only: register a published NODE version in the FluidGrids
12303
+ * workflow registry (BOFF-17374). Approval does this already; this repairs a
12304
+ * registration that failed after a Store review callback and backfills
12305
+ * versions approved before approvals registered them. Idempotent. Fails with
12306
+ * NODE_REGISTRY_UNAVAILABLE or NODE_REGISTRY_REFUSED when the registry cannot
12307
+ * take the version.
12308
+ */
12309
+ syncNodeVersionRegistry: NodeVersionRegistrySync;
12049
12310
  /**
12050
12311
  * M2M: mirror a devportal organization's verification decision onto the publishers
12051
12312
  * linked to it, so the Verified badge on their nodes and templates follows the
@@ -12852,6 +13113,10 @@ export type MutationAuthenticateAppArgs = {
12852
13113
  input: AuthenticateAppInput;
12853
13114
  };
12854
13115
  /** Root mutation type */
13116
+ export type MutationAuthenticateAppleArgs = {
13117
+ input: AppleSignInInput;
13118
+ };
13119
+ /** Root mutation type */
12855
13120
  export type MutationAuthenticateBasicAuthArgs = {
12856
13121
  credentials: Scalars['String']['input'];
12857
13122
  };
@@ -13262,6 +13527,10 @@ export type MutationCreateEditorialCollectionArgs = {
13262
13527
  input: CreateEditorialCollectionInput;
13263
13528
  };
13264
13529
  /** Root mutation type */
13530
+ export type MutationCreateEmbedTokenArgs = {
13531
+ input: CreateEmbedTokenInput;
13532
+ };
13533
+ /** Root mutation type */
13265
13534
  export type MutationCreateEntitlementArgs = {
13266
13535
  input: CreateEntitlementInput;
13267
13536
  };
@@ -13690,8 +13959,9 @@ export type MutationDecrementQuotaArgs = {
13690
13959
  };
13691
13960
  /** Root mutation type */
13692
13961
  export type MutationDeleteAccountArgs = {
13962
+ appleReauth?: InputMaybe<AppleReauthInput>;
13693
13963
  confirmPhrase: Scalars['String']['input'];
13694
- password: Scalars['String']['input'];
13964
+ password?: InputMaybe<Scalars['String']['input']>;
13695
13965
  };
13696
13966
  /** Root mutation type */
13697
13967
  export type MutationDeleteAffiliateCodeArgs = {
@@ -14178,6 +14448,11 @@ export type MutationEscalateSupportTicketArgs = {
14178
14448
  reason: Scalars['String']['input'];
14179
14449
  };
14180
14450
  /** Root mutation type */
14451
+ export type MutationExchangeEmbedTokenArgs = {
14452
+ origin: Scalars['String']['input'];
14453
+ token: Scalars['String']['input'];
14454
+ };
14455
+ /** Root mutation type */
14181
14456
  export type MutationExchangeOwnDelegationArgs = {
14182
14457
  input: ExchangeOwnDelegationInput;
14183
14458
  };
@@ -14262,6 +14537,10 @@ export type MutationFileGovernanceAppealArgs = {
14262
14537
  input: FileGovernanceAppealInput;
14263
14538
  };
14264
14539
  /** Root mutation type */
14540
+ export type MutationFillMissingCurrencyPricesArgs = {
14541
+ input: FillMissingCurrencyPricesInput;
14542
+ };
14543
+ /** Root mutation type */
14265
14544
  export type MutationFlagOrderIssueArgs = {
14266
14545
  category: OrderIssueCategory;
14267
14546
  note?: InputMaybe<Scalars['String']['input']>;
@@ -14852,6 +15131,10 @@ export type MutationRecordTourProgressArgs = {
14852
15131
  input: RecordTourProgressInput;
14853
15132
  };
14854
15133
  /** Root mutation type */
15134
+ export type MutationRedeemEmbedFrameTicketArgs = {
15135
+ ticket: Scalars['String']['input'];
15136
+ };
15137
+ /** Root mutation type */
14855
15138
  export type MutationRefreshApplicationVersionPackageUrlArgs = {
14856
15139
  id: Scalars['ID']['input'];
14857
15140
  };
@@ -15509,6 +15792,10 @@ export type MutationRevokeDelegationArgs = {
15509
15792
  reason?: InputMaybe<Scalars['String']['input']>;
15510
15793
  };
15511
15794
  /** Root mutation type */
15795
+ export type MutationRevokeEmbedTokenArgs = {
15796
+ id: Scalars['ID']['input'];
15797
+ };
15798
+ /** Root mutation type */
15512
15799
  export type MutationRevokeEntitlementSeatArgs = {
15513
15800
  assigneeId: Scalars['String']['input'];
15514
15801
  entitlementId: Scalars['ID']['input'];
@@ -15975,6 +16262,10 @@ export type MutationSyncDirectoryWorkersInternalArgs = {
15975
16262
  workspaceId: Scalars['ID']['input'];
15976
16263
  };
15977
16264
  /** Root mutation type */
16265
+ export type MutationSyncNodeVersionRegistryArgs = {
16266
+ id: Scalars['ID']['input'];
16267
+ };
16268
+ /** Root mutation type */
15978
16269
  export type MutationSyncPublisherOrganizationVerificationArgs = {
15979
16270
  input: SyncPublisherOrganizationVerificationInput;
15980
16271
  };
@@ -17333,6 +17624,25 @@ export declare enum NodeRegistrationRetryStatus {
17333
17624
  /** The node is in the registry and enabled for the workspace. */
17334
17625
  Registered = "REGISTERED"
17335
17626
  }
17627
+ /** Where a node version stands in the FluidGrids workflow registry (BOFF-17374). */
17628
+ export declare enum NodeVersionRegistryStatus {
17629
+ /** The version was already registered; its row was kept. */
17630
+ AlreadyRegistered = "ALREADY_REGISTERED",
17631
+ /** No version of this node type is registered yet; the first install registers it. */
17632
+ NewNodeType = "NEW_NODE_TYPE",
17633
+ /** The version needs no registration (not a public node). */
17634
+ NotApplicable = "NOT_APPLICABLE",
17635
+ /** A registry row was created for this version. */
17636
+ Registered = "REGISTERED"
17637
+ }
17638
+ export type NodeVersionRegistrySync = {
17639
+ __typename?: 'NodeVersionRegistrySync';
17640
+ /** Whether this version is the node's latest in the registry. */
17641
+ isLatest: Scalars['Boolean']['output'];
17642
+ reason?: Maybe<Scalars['String']['output']>;
17643
+ status: NodeVersionRegistryStatus;
17644
+ versionId: Scalars['ID']['output'];
17645
+ };
17336
17646
  export type Notification = {
17337
17647
  __typename?: 'Notification';
17338
17648
  actions: Array<NotificationAction>;
@@ -18588,6 +18898,8 @@ export declare enum PaymentMethodType {
18588
18898
  /** Zero-total purchases (e.g. a 100%-off coupon) — no gateway/method involved. */
18589
18899
  None = "NONE",
18590
18900
  Paypal = "PAYPAL",
18901
+ /** Unified Payments Interface (India), reported by Razorpay. */
18902
+ Upi = "UPI",
18591
18903
  Wallet = "WALLET"
18592
18904
  }
18593
18905
  /**
@@ -18975,7 +19287,7 @@ export declare enum PlanDuration {
18975
19287
  */
18976
19288
  export type PlanOverview = {
18977
19289
  __typename?: 'PlanOverview';
18978
- /** Who to ask about the plan; null when that person can't be named. */
19290
+ /** Who to ask about the plan, never the person asking; null when nobody else can be named. */
18979
19291
  owner?: Maybe<PlanOverviewOwner>;
18980
19292
  /** The organization's active plan for the requesting product; null when it has none. */
18981
19293
  plan?: Maybe<PlanOverviewPlan>;
@@ -19995,7 +20307,9 @@ export declare enum PublisherOnboardingStepStatus {
19995
20307
  /**
19996
20308
  * A monthly publisher payout. amount is the net payable after refund and
19997
20309
  * chargeback netting: grossAmount (the publisher share of the period's sales)
19998
- * plus adjustmentsAmount (the signed sum of the adjustments applied).
20310
+ * plus adjustmentsAmount (the signed sum of the adjustments applied). All three are
20311
+ * in currency (USD): sales and adjustments in other currencies are converted at
20312
+ * billing's rate, which is recorded on the payout.
19999
20313
  */
20000
20314
  export type PublisherPayout = {
20001
20315
  __typename?: 'PublisherPayout';
@@ -20032,6 +20346,8 @@ export type PublisherPayout = {
20032
20346
  /**
20033
20347
  * A signed money movement netted into a publisher's next payout (Developer
20034
20348
  * Agreement Section 6). Negative amounts are deductions, positive are credits.
20349
+ * The amount is in currency (the order's currency for refunds and chargebacks); the
20350
+ * payout run converts it into the payout currency.
20035
20351
  */
20036
20352
  export type PublisherPayoutAdjustment = {
20037
20353
  __typename?: 'PublisherPayoutAdjustment';
@@ -20619,6 +20935,11 @@ export type Query = {
20619
20935
  effectiveConsent?: Maybe<ConsentRecord>;
20620
20936
  /** Get effective permissions for an actor in a scope */
20621
20937
  effectivePermissions: EffectivePermissions;
20938
+ /**
20939
+ * The embed tokens of a workspace, newest first. Workspace admins only.
20940
+ * Secrets are never returned.
20941
+ */
20942
+ embedTokens: Array<EmbedToken>;
20622
20943
  entitlement?: Maybe<ProductEntitlement>;
20623
20944
  /** List devices currently activated against an entitlement. */
20624
20945
  entitlementActivations: Array<LicenseActivation>;
@@ -21355,6 +21676,8 @@ export type Query = {
21355
21676
  */
21356
21677
  myRoles: MyRolesResult;
21357
21678
  myShippingAddresses: Array<ShippingAddress>;
21679
+ /** How you can sign in: whether you have a password, and your linked providers. */
21680
+ mySignInMethods: SignInMethods;
21358
21681
  mySourcingOffer?: Maybe<SourcingOffer>;
21359
21682
  mySourcingOffers: Array<SourcingOffer>;
21360
21683
  mySourcingRequest?: Maybe<SourcingRequest>;
@@ -22031,6 +22354,14 @@ export type Query = {
22031
22354
  */
22032
22355
  validateLicense: LicenseValidationResult;
22033
22356
  validatePromoCode: PromoCodeValidationResult;
22357
+ /**
22358
+ * Check an access token without changing anything (BOFF-17489). Same answer
22359
+ * as the validateTokens mutation, as a query so shells can check their
22360
+ * session on page load without sending a mutation. Public: the token to
22361
+ * check is the input, not the caller's identity. Send it by POST only, never
22362
+ * GET, so the token never appears in a URL. input.apiKey is ignored.
22363
+ */
22364
+ validateSession: TokenValidationResponse;
22034
22365
  /**
22035
22366
  * Verify an installation using the app signing secret. Called server-to-server by
22036
22367
  * integration backends after receiving the post-install redirect with ?installation_id=xxx.
@@ -22781,6 +23112,11 @@ export type QueryEffectivePermissionsArgs = {
22781
23112
  scopeId: Scalars['String']['input'];
22782
23113
  };
22783
23114
  /** Root query type */
23115
+ export type QueryEmbedTokensArgs = {
23116
+ includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
23117
+ workspaceId: Scalars['ID']['input'];
23118
+ };
23119
+ /** Root query type */
22784
23120
  export type QueryEntitlementArgs = {
22785
23121
  id: Scalars['ID']['input'];
22786
23122
  };
@@ -25046,6 +25382,10 @@ export type QueryValidatePromoCodeArgs = {
25046
25382
  productIds: Array<Scalars['ID']['input']>;
25047
25383
  };
25048
25384
  /** Root query type */
25385
+ export type QueryValidateSessionArgs = {
25386
+ input: ValidateTokensInput;
25387
+ };
25388
+ /** Root query type */
25049
25389
  export type QueryVerifyInstallationArgs = {
25050
25390
  installationId: Scalars['ID']['input'];
25051
25391
  signingSecret: Scalars['String']['input'];
@@ -25810,6 +26150,26 @@ export type RecurringBillingPlan = {
25810
26150
  stripeProductId?: Maybe<Scalars['String']['output']>;
25811
26151
  updatedAt: Scalars['String']['output'];
25812
26152
  };
26153
+ /**
26154
+ * What happened to a newly priced currency's recurring billing price (the Stripe
26155
+ * price, or the Razorpay plan for INR, that renewals charge).
26156
+ */
26157
+ export declare enum RecurringPriceFillStatus {
26158
+ /** Registered with the payment provider in this run. */
26159
+ Created = "CREATED",
26160
+ /** An active, registered recurring price already existed and is used. */
26161
+ Existing = "EXISTING",
26162
+ /** No usable recurring price. A new price is not written; a stored price is left as it is. */
26163
+ Failed = "FAILED",
26164
+ /** Free entity: nothing is charged, so no recurring price is needed. */
26165
+ NotNeeded = "NOT_NEEDED",
26166
+ /** Dry run: one would be created. */
26167
+ Planned = "PLANNED",
26168
+ /** Dry run: a stored price without a recurring price would get one at its stored amount. */
26169
+ PlannedExisting = "PLANNED_EXISTING",
26170
+ /** A stored price without a recurring price got one at its stored amount; the price is unchanged. */
26171
+ RegisteredExisting = "REGISTERED_EXISTING"
26172
+ }
25813
26173
  export type ReferralCode = {
25814
26174
  __typename?: 'ReferralCode';
25815
26175
  code: Scalars['String']['output'];
@@ -27851,6 +28211,17 @@ export type SignInInput = {
27851
28211
  rememberMe?: InputMaybe<Scalars['Boolean']['input']>;
27852
28212
  username?: InputMaybe<Scalars['String']['input']>;
27853
28213
  };
28214
+ /**
28215
+ * How the signed-in person can sign in (BOFF-17422). Account screens use it to
28216
+ * ask for the right confirmation: the password, or a fresh Sign in with Apple.
28217
+ */
28218
+ export type SignInMethods = {
28219
+ __typename?: 'SignInMethods';
28220
+ /** Whether the account has a password. */
28221
+ hasPassword: Scalars['Boolean']['output'];
28222
+ /** The linked sign-in providers, such as APPLE, GOOGLE or MICROSOFT. */
28223
+ providers: Array<Scalars['String']['output']>;
28224
+ };
27854
28225
  /**
27855
28226
  * What sign-in offers for an email address. Decided by the address's domain
27856
28227
  * alone, so the answer never shows whether an account exists.
@@ -28268,6 +28639,22 @@ export type StoreAppInstallationConnection = {
28268
28639
  items: Array<StoreAppInstallation>;
28269
28640
  total: Scalars['Int']['output'];
28270
28641
  };
28642
+ /** An amount of money in one currency and the number of orders it covers. */
28643
+ export type StoreCurrencyTotal = {
28644
+ __typename?: 'StoreCurrencyTotal';
28645
+ amount: Scalars['Float']['output'];
28646
+ currency: Scalars['String']['output'];
28647
+ orders: Scalars['Int']['output'];
28648
+ };
28649
+ /** A publisher's order earnings in one currency. */
28650
+ export type StoreEarningsByCurrency = {
28651
+ __typename?: 'StoreEarningsByCurrency';
28652
+ currency: Scalars['String']['output'];
28653
+ monthlyEarnings: Scalars['Float']['output'];
28654
+ monthlyOrders: Scalars['Int']['output'];
28655
+ totalEarnings: Scalars['Float']['output'];
28656
+ totalOrders: Scalars['Int']['output'];
28657
+ };
28271
28658
  /** Filter facets for UI refinement options */
28272
28659
  export type StoreFacets = {
28273
28660
  __typename?: 'StoreFacets';
@@ -31826,6 +32213,7 @@ export type UpdatePhysicalProductInput = {
31826
32213
  brand?: InputMaybe<Scalars['String']['input']>;
31827
32214
  category?: InputMaybe<Scalars['String']['input']>;
31828
32215
  countryOfOrigin?: InputMaybe<Scalars['String']['input']>;
32216
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Omit to keep the current one. */
31829
32217
  currency?: InputMaybe<Scalars['String']['input']>;
31830
32218
  description?: InputMaybe<Scalars['String']['input']>;
31831
32219
  dimensionUnit?: InputMaybe<DimensionUnit>;
@@ -31934,6 +32322,7 @@ export type UpdateProductInput = {
31934
32322
  */
31935
32323
  compatibleProducts?: InputMaybe<Array<Scalars['String']['input']>>;
31936
32324
  content?: InputMaybe<Scalars['JSON']['input']>;
32325
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Omit to keep the current one. */
31937
32326
  currency?: InputMaybe<Scalars['String']['input']>;
31938
32327
  description?: InputMaybe<Scalars['String']['input']>;
31939
32328
  documentationUrl?: InputMaybe<Scalars['String']['input']>;
@@ -32098,6 +32487,7 @@ export type UpdateShippingMethodInput = {
32098
32487
  carrierServiceId?: InputMaybe<Scalars['String']['input']>;
32099
32488
  costPerItem?: InputMaybe<Scalars['Float']['input']>;
32100
32489
  costPerKg?: InputMaybe<Scalars['Float']['input']>;
32490
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Omit to keep the current one. */
32101
32491
  currency?: InputMaybe<Scalars['String']['input']>;
32102
32492
  description?: InputMaybe<Scalars['String']['input']>;
32103
32493
  displayOrder?: InputMaybe<Scalars['Int']['input']>;
@@ -32112,6 +32502,7 @@ export type UpdateShippingMethodInput = {
32112
32502
  };
32113
32503
  export type UpdateStoreInput = {
32114
32504
  allowUnverifiedPublishers?: InputMaybe<Scalars['Boolean']['input']>;
32505
+ /** Selling currency, case-insensitive: USD, INR, EUR, GBP or AUD (the currencies billing can charge). Omit to keep the current one. */
32115
32506
  currency?: InputMaybe<Scalars['String']['input']>;
32116
32507
  description?: InputMaybe<Scalars['String']['input']>;
32117
32508
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;