@conto_finance/sdk 0.6.0-beta.2 → 0.6.0

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.
package/dist/index.d.mts CHANGED
@@ -638,40 +638,6 @@ interface RollbackPolicyVersionResponse extends Policy {
638
638
  restoredFromVersion: number;
639
639
  newVersion: number | null;
640
640
  }
641
- type StripeLinkCheckoutReadinessStatus = 'NOT_READY' | 'READY_FOR_VERIFICATION' | 'VERIFIED' | 'VERIFICATION_FAILED';
642
- type StripeLinkCheckoutVerification = 'NOT_RUN' | 'NOT_READY' | 'VERIFIED' | 'ACCOUNT_MISMATCH' | 'PROVIDER_UNAVAILABLE';
643
- /**
644
- * Non-identifying readiness projection for the configured Stripe Link
645
- * Checkout adapter. Merchant/account identifiers, URLs, credentials, hashes,
646
- * Stripe objects, and raw provider errors are intentionally absent.
647
- */
648
- interface StripeLinkCheckoutReadiness {
649
- readonly status: StripeLinkCheckoutReadinessStatus;
650
- readonly mode: 'TEST' | 'LIVE' | null;
651
- readonly checks: {
652
- readonly providerEnabled: boolean;
653
- readonly checkoutEnabled: boolean;
654
- readonly organizationAllowed: boolean;
655
- readonly configurationValid: boolean;
656
- readonly accountVerified: boolean;
657
- };
658
- readonly canVerify: boolean;
659
- readonly verifiedAt: string | null;
660
- readonly verification: StripeLinkCheckoutVerification;
661
- readonly scope: {
662
- readonly configuredMerchantCheckoutOnly: true;
663
- readonly statement: string;
664
- };
665
- readonly link: {
666
- readonly eligibilityGuaranteed: false;
667
- readonly displayGuaranteed: false;
668
- readonly selectionGuaranteed: false;
669
- readonly statement: string;
670
- };
671
- }
672
- interface StripeLinkCheckoutReadinessResult {
673
- readonly readiness: StripeLinkCheckoutReadiness;
674
- }
675
641
  declare class ContoAdmin {
676
642
  #private;
677
643
  private baseUrl;
@@ -681,22 +647,10 @@ declare class ContoAdmin {
681
647
  cards: AdminCardsClient;
682
648
  policies: PoliciesClient;
683
649
  team: TeamClient;
684
- paymentRails: PaymentRailsClient;
685
650
  constructor(config: ContoAdminConfig);
686
651
  /** Make an authenticated request to the Conto API */
687
652
  request<T>(method: string, path: string, body?: Record<string, unknown>): Promise<T>;
688
653
  }
689
- declare class PaymentRailsClient {
690
- private client;
691
- constructor(client: ContoAdmin);
692
- /** Read gate and configuration readiness without calling Stripe. */
693
- getStripeLinkCheckoutReadiness(): Promise<StripeLinkCheckoutReadinessResult>;
694
- /**
695
- * Ask Conto to verify that its configured Stripe credential resolves to its
696
- * configured merchant account. This call never returns either identifier.
697
- */
698
- verifyStripeLinkCheckoutAccount(): Promise<StripeLinkCheckoutReadinessResult>;
699
- }
700
654
  declare class AdminCardsClient {
701
655
  private client;
702
656
  constructor(client: ContoAdmin);
@@ -992,8 +946,6 @@ interface ContoConfig {
992
946
  baseUrl?: string;
993
947
  /** Request timeout in milliseconds. Defaults to 30000 */
994
948
  timeout?: number;
995
- /** Defaults for the configured live Link checkout pilot. These are IDs, never Link credentials. */
996
- link?: LinkPaymentDefaults;
997
949
  }
998
950
  interface PaymentRequestInput {
999
951
  /** Amount in the wallet chain stablecoin */
@@ -1666,21 +1618,6 @@ interface TestCheckoutResult extends TestCardReceipt {
1666
1618
  replayed: boolean;
1667
1619
  status: 'COMPLETED';
1668
1620
  }
1669
- interface StripeLinkPaymentMethod {
1670
- id: string;
1671
- type: string;
1672
- isDefault: boolean;
1673
- displayLabel: string;
1674
- last4?: string;
1675
- eligibleCredentialTypes: string[];
1676
- }
1677
- interface ListStripeLinkPaymentMethodsResult {
1678
- /** Authenticated tenant context, returned so operators can verify a target before writes. */
1679
- organizationId: string;
1680
- connectionId: string;
1681
- /** Masked Link payment methods eligible for the bound agent. */
1682
- paymentMethods: StripeLinkPaymentMethod[];
1683
- }
1684
1621
  type CommerceTotalType = 'subtotal' | 'tax' | 'total' | 'items_base_amount' | 'items_discount' | 'discount' | 'fulfillment' | 'shipping' | 'fee' | 'gift_wrap' | 'tip' | 'store_credit';
1685
1622
  interface CommerceLineItemInput {
1686
1623
  name: string;
@@ -1705,8 +1642,8 @@ interface CommerceFulfillmentInput {
1705
1642
  countryCode?: string;
1706
1643
  }
1707
1644
  type CheckoutCheckpointMethod = 'LINK' | 'CARD' | 'SHOP_PAY' | 'PAYPAL';
1708
- type CheckoutCheckpointStage = 'APPROVED' | 'CONFIRMING' | 'CONFIRMED' | 'PAID' | 'NOT_PAID' | 'OUTCOME_UNKNOWN' | 'DENIED' | 'CANCELLED' | 'EXPIRED';
1709
- type CheckoutCheckpointNextAction = 'CONFIRM_BEFORE_PAYING' | 'PAY_THEN_REPORT_OUTCOME' | 'REPORT_OUTCOME' | 'WAIT' | 'NONE';
1645
+ type CheckoutCheckpointStage = 'AWAITING_APPROVAL' | 'APPROVED' | 'CONFIRMING' | 'CONFIRMED' | 'PAID' | 'NOT_PAID' | 'OUTCOME_UNKNOWN' | 'DENIED' | 'CANCELLED' | 'EXPIRED';
1646
+ type CheckoutCheckpointNextAction = 'WAIT_FOR_APPROVAL' | 'CONFIRM_BEFORE_PAYING' | 'PAY_THEN_REPORT_OUTCOME' | 'REPORT_OUTCOME' | 'WAIT' | 'NONE';
1710
1647
  type CheckoutOutcome = 'PAID' | 'NOT_PAID' | 'UNKNOWN';
1711
1648
  /** First checkpoint: the purchase as the checkout shows it before the payment method opens. */
1712
1649
  interface BeginCheckoutCheckpointInput {
@@ -1765,11 +1702,27 @@ interface CheckoutCheckpoint {
1765
1702
  lineItems: CommerceLineItemInput[];
1766
1703
  totals: CommerceTotalInput[];
1767
1704
  };
1705
+ /** While AWAITING_APPROVAL, when the owner's decision window closes. Otherwise when the approval lapses. */
1768
1706
  expiresAt: string;
1707
+ /** Present when the agent's rules sent this purchase to the owner for approval. */
1708
+ approval?: CheckoutCheckpointApproval;
1769
1709
  outcomeReference?: string;
1770
1710
  /** Outcomes are reported by your checkout. Conto does not verify settlement here. */
1771
1711
  settlementVerified: false;
1772
1712
  }
1713
+ interface CheckoutCheckpointApproval {
1714
+ requestId: string;
1715
+ status: 'PENDING' | 'APPROVED' | 'DENIED' | 'EXPIRED' | 'CANCELLED';
1716
+ /** Set while PENDING. */
1717
+ expiresAt?: string;
1718
+ }
1719
+ interface WaitForCheckoutApprovalOptions {
1720
+ /** Stop waiting after this long. Defaults to 10 minutes. The spend stays held until you cancel. */
1721
+ timeoutMs?: number;
1722
+ /** Time between status reads. Defaults to 5 seconds, minimum 1 second. */
1723
+ pollIntervalMs?: number;
1724
+ signal?: AbortSignal;
1725
+ }
1773
1726
  /** Exact Stripe Link purchase intent evaluated and bound by Conto policy. */
1774
1727
  interface BeginCommerceExecutionCommonInput {
1775
1728
  /** Stable key for this exact intent. Reuse it when reconciling or retrying begin. */
@@ -1861,66 +1814,6 @@ type BeginCommerceExecutionInput = (BeginConnectedLinkExecutionInput & {
1861
1814
  checkoutUrl: string;
1862
1815
  };
1863
1816
  });
1864
- /** Configuration inspection only: no policy evaluation, credential retrieval, or purchase. */
1865
- interface LinkSetupInput {
1866
- connectionId?: string;
1867
- paymentMethodId?: string;
1868
- merchantId?: string;
1869
- }
1870
- interface LinkSetupCheck {
1871
- code: string;
1872
- status: 'PASS' | 'BLOCKED' | 'WARNING';
1873
- actor: 'developer' | 'owner' | 'operator';
1874
- message: string;
1875
- }
1876
- interface LinkSetupResult {
1877
- version: 'conto.link-setup.v1';
1878
- mode: 'LIVE' | 'SIMULATED';
1879
- configurationStatus: 'CONFIGURED' | 'INCOMPLETE';
1880
- checks: LinkSetupCheck[];
1881
- missingScopes: string[];
1882
- checkout?: {
1883
- merchantId: string;
1884
- origin: string;
1885
- currency: 'USD';
1886
- maxAmountMinor: number;
1887
- };
1888
- paymentAuthorization: 'NOT_EVALUATED';
1889
- providerVerified: false;
1890
- settlementVerified: false;
1891
- }
1892
- /** Reusable owner-provisioned identifiers. Per-purchase values can override these defaults. */
1893
- interface LinkPaymentDefaults {
1894
- connectionId: string;
1895
- paymentMethodId: string;
1896
- }
1897
- /** Exact purchase facts for a configured USD digital-goods checkout. */
1898
- interface LinkPaymentInput {
1899
- /** Persist this key before calling pay; reuse it for this exact purchase across restarts. */
1900
- idempotencyKey: string;
1901
- connectionId?: string;
1902
- paymentMethodId?: string;
1903
- /** Canonical ID of a checkout profile already configured by the deployment operator. */
1904
- merchantId: string;
1905
- checkoutUrl: string;
1906
- amountMinor: number;
1907
- currency?: 'USD';
1908
- purpose: string;
1909
- category?: string;
1910
- lineItems: CommerceLineItemInput[];
1911
- /** Required when the final amount differs from the line-item sum. Include the exact total breakdown. */
1912
- totals?: CommerceTotalInput[];
1913
- }
1914
- type LinkPaymentNextAction = 'APPROVE_IN_LINK' | 'WAIT' | 'RESUME' | 'RECONCILE' | 'NONE';
1915
- /** Safe payment state; submission and completion are not proof of settlement. */
1916
- interface LinkPaymentResult extends CommerceExecutionResult {
1917
- executionId: string;
1918
- status: CommerceExecutionStatus;
1919
- nextAction: LinkPaymentNextAction;
1920
- /** Present only while Link approval is needed. Show it to the account owner. */
1921
- approvalUrl?: string;
1922
- checkout?: ExecuteCommerceExecutionResult['checkout'];
1923
- }
1924
1817
  type CommerceExecutionStatus = 'DRAFT' | 'ACTION_REQUIRED' | 'AUTHORIZING' | 'AWAITING_APPROVAL' | 'READY' | 'PROCESSING' | 'SETTLED' | 'COMPLETED' | 'DENIED' | 'CANCELLED' | 'FAILED' | 'RETURNED' | 'EXPIRED' | 'NEEDS_RECONCILIATION';
1925
1818
  type CommerceExecutionProvider = 'STABLECOIN' | 'TOKENIZED_CARD' | 'STRIPE_LINK';
1926
1819
  type CommerceExecutionChannel = 'BROWSER' | 'MERCHANT_API' | 'CREDENTIAL_BROKER' | 'BANK_API' | 'WALLET_SIGNER';
@@ -2327,6 +2220,13 @@ interface MppPreAuthorizeInput {
2327
2220
  credentialId?: string;
2328
2221
  challengeId?: string;
2329
2222
  paymentMethod?: string;
2223
+ /**
2224
+ * Wallet address your MPP client pays from. Provide together with network
2225
+ * when the agent has more than one wallet it signs with.
2226
+ */
2227
+ payerAddress?: string;
2228
+ /** CAIP-2 network of payerAddress, for example eip155:42431. */
2229
+ network?: string;
2330
2230
  }
2331
2231
  interface MppPreAuthorizeResult extends ProtocolPreAuthorizeResult {
2332
2232
  mpp: {
@@ -2452,12 +2352,6 @@ declare class ContoError extends Error {
2452
2352
  readonly diagnostics?: SetupDiagnostics;
2453
2353
  constructor(message: string, metadata: ApiErrorMetadata, diagnostics?: unknown);
2454
2354
  }
2455
- /** Execution was attempted. Inspect this existing execution before any further payment action. */
2456
- declare class LinkPaymentExecutionError extends ContoError {
2457
- readonly executionId: string;
2458
- readonly nextAction: "RECONCILE";
2459
- constructor(executionId: string, error: unknown);
2460
- }
2461
2355
  /**
2462
2356
  * The customer executor returned a receipt, but Conto did not acknowledge the
2463
2357
  * confirmation. Persist confirmationInput and retry cards.confirm(); never run
@@ -2485,6 +2379,41 @@ declare class BrowserActionFinalizationPendingError<TResult = unknown> extends C
2485
2379
  observation: BrowserActionDispatchObservationInput;
2486
2380
  });
2487
2381
  }
2382
+ /**
2383
+ * The checkpoint is closed and approves nothing: denied, cancelled, expired, or
2384
+ * reported not paid. Stop this checkout. Start a new purchase with a new
2385
+ * idempotency key if the buyer still wants it.
2386
+ */
2387
+ declare class CheckoutCheckpointClosedError extends ContoError {
2388
+ readonly checkpoint: CheckoutCheckpoint;
2389
+ readonly stage: CheckoutCheckpointStage;
2390
+ constructor(checkpoint: CheckoutCheckpoint, message?: string, code?: string);
2391
+ }
2392
+ /** The owner rejected this purchase. Its spend was released. Do not pay. */
2393
+ declare class CheckoutApprovalDeniedError extends CheckoutCheckpointClosedError {
2394
+ constructor(checkpoint: CheckoutCheckpoint);
2395
+ }
2396
+ /** The owner did not decide before the approval expired. Its spend was released. Do not pay. */
2397
+ declare class CheckoutApprovalExpiredError extends CheckoutCheckpointClosedError {
2398
+ constructor(checkpoint: CheckoutCheckpoint);
2399
+ }
2400
+ /**
2401
+ * The owner has not approved this purchase yet. Do not pay. Wait with
2402
+ * waitForApproval(error.checkpoint), then confirm the approved checkpoint, or
2403
+ * cancel it to release the spend.
2404
+ */
2405
+ declare class CheckoutApprovalPendingError extends ContoError {
2406
+ readonly checkpoint: CheckoutCheckpoint;
2407
+ constructor(checkpoint: CheckoutCheckpoint);
2408
+ }
2409
+ /**
2410
+ * waitForApproval stopped before the owner decided. The spend is still held:
2411
+ * wait again, or cancel the checkpoint to release it.
2412
+ */
2413
+ declare class CheckoutApprovalTimeoutError extends ContoError {
2414
+ readonly checkpoint: CheckoutCheckpoint;
2415
+ constructor(checkpoint: CheckoutCheckpoint);
2416
+ }
2488
2417
  interface ContoRequestOptions {
2489
2418
  /** Set only when repeating this request cannot create an additional side effect. */
2490
2419
  idempotent?: boolean;
@@ -2495,7 +2424,6 @@ declare class Conto {
2495
2424
  #private;
2496
2425
  private baseUrl;
2497
2426
  private timeout;
2498
- link: LinkClient;
2499
2427
  /** Lightweight checkpoints before the payment method opens and before payment. */
2500
2428
  checkout: CheckoutClient;
2501
2429
  payments: PaymentsClient;
@@ -2505,16 +2433,6 @@ declare class Conto {
2505
2433
  x402: X402Client;
2506
2434
  mpp: MppClient;
2507
2435
  constructor(config: ContoConfig);
2508
- /**
2509
- * List masked Link payment methods for a session-created connection that is
2510
- * explicitly bound to this agent. No Link token or payment artifact is
2511
- * returned through the agent SDK.
2512
- */
2513
- listStripeLinkPaymentMethods(connectionId: string, options?: {
2514
- mode?: 'TEST' | 'LIVE';
2515
- }): Promise<ListStripeLinkPaymentMethodsResult>;
2516
- /** Read live Link configuration diagnostics without retrieving credentials or authorizing payment. */
2517
- getLinkSetup(input?: LinkSetupInput): Promise<LinkSetupResult>;
2518
2436
  /**
2519
2437
  * Normalize and durably revise a partial agent purchase proposal without
2520
2438
  * creating a payment side effect. Missing facts return as NEEDS_CONTEXT
@@ -2532,6 +2450,12 @@ declare class Conto {
2532
2450
  beginCommerceExecution(input: BeginCommerceExecutionInput): Promise<CommerceExecutionResult>;
2533
2451
  /** Atomically consume the Conto authorization for one exact browser action. */
2534
2452
  authorizeCheckoutAction(executionId: string, browserSessionId: string, action: AgentCheckoutAction | BrowserCheckoutAction): Promise<AuthorizeCheckoutActionResult>;
2453
+ /**
2454
+ * Report whether an authorized guarded browser checkout was paid. PAID keeps
2455
+ * the held spend counted, NOT_PAID releases it, and UNKNOWN keeps it held for
2456
+ * the owner to review. Safe to repeat with the same outcome.
2457
+ */
2458
+ reportCommerceExecutionOutcome(executionId: string, input: ReportCheckoutOutcomeInput): Promise<CommerceExecutionResult>;
2535
2459
  /** Claim a durable browser action for one stable privileged-runtime attempt. */
2536
2460
  claimBrowserAction(authorizationId: string, dispatchAttemptId: string, browserSessionId: string, action: AgentCheckoutAction | BrowserCheckoutAction): Promise<BrowserActionClaimResult>;
2537
2461
  /** Finalize the exact dispatch attempt; this never performs the browser side effect. */
@@ -2854,57 +2778,51 @@ declare class MppClient {
2854
2778
  }): Promise<ProtocolServicesResult>;
2855
2779
  }
2856
2780
 
2857
- /** Narrow transport contract used by the isolated, credential-free test client. */
2858
- type LinkCommerceClient = Pick<Conto, 'getLinkSetup' | 'listStripeLinkPaymentMethods' | 'beginCommerceExecution' | 'getCommerceExecution' | 'refreshCommerceExecution' | 'executeCommerceExecution' | 'cancelCommerceExecution'>;
2859
2781
  /**
2860
2782
  * Lightweight checkout checkpoints for any agent runtime. Call begin() before the
2861
2783
  * payment method opens and confirm() right before the payment is submitted. Pay
2862
2784
  * only after confirm() succeeds, then report the outcome. Conto decides and
2863
2785
  * records each step; your checkout enforces the answer.
2786
+ *
2787
+ * When the agent's rules require approval, begin() returns stage
2788
+ * AWAITING_APPROVAL with the spend held. Do not open the payment method yet:
2789
+ * call waitForApproval() and continue with the checkpoint it returns.
2864
2790
  */
2865
2791
  declare class CheckoutClient {
2866
2792
  #private;
2867
2793
  constructor(client: Pick<Conto, 'request'>);
2868
- /** First checkpoint. A ContoError means Conto did not approve: stop the checkout. */
2794
+ /**
2795
+ * First checkpoint. Open the payment method only when the stage is APPROVED.
2796
+ * AWAITING_APPROVAL means the owner must decide first: call waitForApproval().
2797
+ * A ContoError means Conto did not approve: stop the checkout. A
2798
+ * CheckoutCheckpointClosedError means this idempotency key belongs to a
2799
+ * checkpoint that already closed.
2800
+ */
2869
2801
  begin(input: BeginCheckoutCheckpointInput): Promise<CheckoutCheckpoint>;
2802
+ /**
2803
+ * Waits while the owner decides on a checkpoint in AWAITING_APPROVAL and
2804
+ * resolves to the approved checkpoint. Throws CheckoutApprovalDeniedError,
2805
+ * CheckoutApprovalExpiredError, CheckoutCheckpointClosedError, or
2806
+ * CheckoutApprovalTimeoutError (the spend stays held until you cancel).
2807
+ */
2808
+ waitForApproval(checkpoint: CheckoutCheckpoint, options?: WaitForCheckoutApprovalOptions): Promise<CheckoutCheckpoint>;
2870
2809
  /**
2871
2810
  * Second checkpoint, right before the payment is submitted. If the total
2872
2811
  * changed since begin() (tax or shipping, for example), this cancels the
2873
2812
  * approved checkpoint and starts a new one at the final total, so the agent's
2874
- * rules see the amount actually being paid. Pay only if this resolves.
2813
+ * rules see the amount actually being paid. Pay only if this resolves. A
2814
+ * CheckoutApprovalPendingError means the owner must approve first: call
2815
+ * waitForApproval(error.checkpoint), then confirm the checkpoint it returns.
2875
2816
  */
2876
2817
  confirm(checkpoint: CheckoutCheckpoint, input: ConfirmCheckoutCheckpointInput): Promise<CheckoutCheckpoint>;
2877
2818
  /** Report what happened after a confirmed checkpoint. Safe to repeat with the same outcome. */
2878
2819
  reportOutcome(checkpointId: string, input: ReportCheckoutOutcomeInput): Promise<CheckoutCheckpoint>;
2879
- /** Cancel a checkpoint that was not confirmed and release its spend. */
2880
- cancel(checkpointId: string): Promise<CheckoutCheckpoint>;
2881
- get(checkpointId: string): Promise<CheckoutCheckpoint>;
2882
- }
2883
- declare class LinkClient {
2884
- #private;
2885
- constructor(client: LinkCommerceClient, defaults?: LinkPaymentDefaults);
2886
- /** Inspect the configured live path. This is not a payment authorization or provider connectivity test. */
2887
- setup(input?: LinkSetupInput): Promise<LinkSetupResult>;
2888
- /** Read masked LIVE funding sources; never selects a source or initiates payment. */
2889
- paymentMethods(connectionId?: string): Promise<ListStripeLinkPaymentMethodsResult>;
2890
2820
  /**
2891
- * Begin one exact intent and execute only if already READY. Otherwise return
2892
- * the owner's approval action or existing state immediately, without polling.
2821
+ * Cancel a checkpoint that was not confirmed and release its spend. A
2822
+ * checkpoint waiting for the owner can be cancelled too.
2893
2823
  */
2894
- pay(input: LinkPaymentInput): Promise<LinkPaymentResult>;
2895
- /**
2896
- * Continue the existing payment after approval. Reads before any mutation and
2897
- * never submits an execution already processing or requiring reconciliation.
2898
- */
2899
- resume(executionId: string): Promise<LinkPaymentResult>;
2900
- /** Observe and reconcile provider state. This method never submits a payment. */
2901
- status(executionId: string): Promise<LinkPaymentResult>;
2902
- /** Request cancellation of this existing Link payment; never retried automatically. */
2903
- cancel(executionId: string): Promise<LinkPaymentResult>;
2904
- private identifier;
2905
- private assertLinkExecution;
2906
- private executeIfReady;
2907
- private result;
2824
+ cancel(checkpointId: string): Promise<CheckoutCheckpoint>;
2825
+ get(checkpointId: string): Promise<CheckoutCheckpoint>;
2908
2826
  }
2909
2827
 
2910
- export { type AdminExternalCardOverlayEnforcement, type Agent, type AgentCheckoutAction, type AgentCheckoutActionKind, type AgentExternalCard, type AgentSetupResult, type AgentStatus, type AgentType, type AgentWalletLink, type ApprovedExternalCardExecution, type AssignExternalCardInput, type AssignedPolicy, type AuthorizeCheckoutActionResult, type BeginCheckoutCheckpointInput, type BeginCommerceExecutionInput, type BrowserActionClaimResult, type BrowserActionDispatchObservationInput, BrowserActionFinalizationPendingError, type BrowserActionFinalizeResult, type BrowserCheckoutAction, type BrowserCheckoutTargetResolver, type BrowserCheckoutTargetSnapshot, type BrowserCheckoutTargetVerificationCode, BrowserCheckoutTargetVerificationError, type CanonicalBrowserCheckoutTargetSnapshot, CardsClient, type ChainType, type CheckoutActionAuthorization, type CheckoutCheckpoint, type CheckoutCheckpointMethod, type CheckoutCheckpointNextAction, type CheckoutCheckpointStage, CheckoutClient, type CheckoutOutcome, type CommerceCheckoutMethod, type CommerceContextRequirement, type CommerceExecution, type CommerceExecutionAdapterKind, type CommerceExecutionArtifactKind, type CommerceExecutionChannel, type CommerceExecutionConstraint, type CommerceExecutionConstraintCoverage, type CommerceExecutionConstraintCoverageLevel, type CommerceExecutionDeliveryMode, type CommerceExecutionEvidence, type CommerceExecutionProvider, type CommerceExecutionResult, type CommerceExecutionSourceKind, type CommerceExecutionStatus, type CommerceFactConfidence, type CommerceFactProvenanceInput, type CommerceFactSource, type CommerceFulfillmentInput, type CommerceLineItemInput, type CommerceProposalFactKey, type CommerceProposalMissingFact, type CommerceProposalResolution, type CommerceProposalState, type CommerceSettlementRail, type CommerceTotalInput, type CommerceTotalType, type ComparePolicyVersionsResponse, type ConfirmCheckoutCheckpointInput, type ConnectedCardBrief, type ConnectedCardCredential, type ConnectedCardDrawInput, type ConnectedCardDrawMerchant, type ConnectedCardDrawResult, type ConnectedCardDrawable, type ConnectedCardListResult, type ConnectedCardMandate, type ConnectedCardMandateMerchant, type ConnectedCardReference, ConnectedCardsClient, Conto, ContoAdmin, type ContoAdminConfig, ContoAdminError, type ContoConfig, ContoError, type ContoRequestOptions, type ControlledExternalCardPaymentResult, ControlledExternalCardPaymentTool, type CreateAgentInput, type CreatePolicyInput, type CreatePolicyRuleInput, type CreateSdkKeyInput, type CreateSdkKeyResult, type CreateWalletInput, type CustodyType, type CustomerCustodyMode, type CustomerWalletControlModel, type CustomerWalletKeyAccess, type DelegationType, type ExecuteCommerceExecutionResult, type ExternalCard, type ExternalCardApprovalInput, type ExternalCardApprovalResult, type ExternalCardConfirmationInput, ExternalCardConfirmationPendingError, type ExternalCardConfirmationResult, type ExternalCardExecutionClaimResult, type ExternalCardExecutionResult, type ExternalCardExecutor, type ExternalCardOverlayEnforcement, type ExternalCardRequestStatusResult, type ExternalWalletApprovalInput, type ExternalWalletApprovalResult, type ExternalWalletConfirmationInput, type ExternalWalletConfirmationResult, type FreezeAgentInput, Conto as Giro, type ContoConfig as GiroConfig, ContoError as GiroError, type GuardCheckoutResult, type GuardedBrowserDispatchResult, type GuardedCheckoutInput, LinkClient, type LinkCommerceClient, type LinkPaymentDefaults, LinkPaymentExecutionError, type LinkPaymentInput, type LinkPaymentNextAction, type LinkPaymentResult, type LinkSetupCheck, type LinkSetupInput, type LinkSetupResult, type LinkWalletInput, type ListAgentsParams, type ListAgentsResponse, type ListPoliciesParams, type ListPoliciesResponse, type ListPolicyVersionsResponse, type ListStripeLinkPaymentMethodsResult, type ListWalletsParams, type ListWalletsResponse, type MppBudgetResult, type MppPreAuthorizeInput, type MppPreAuthorizeResult, type MppRecordInput, type MppRecordResult, type NormalizeCommerceProposalInput, type OrganizationMember, type PaginatedResponse, type PaginationParams, type PauseExternalCardAssignmentResult, type PaymentExecuteResult, type PaymentRequestInput, type PaymentRequestResult, type PaymentStatusResult, type Policy, type PolicyRule, type PolicyType, type PolicyVersionChangeType, type PolicyVersionDetail, type PolicyVersionDiff, type PolicyVersionFieldChange, type PolicyVersionSnapshot, type PolicyVersionSnapshotRule, type PolicyVersionSummary, type PrivilegedBrowserCheckoutDriver, type ProtocolBudgetResult, type ProtocolPreAuthorizeResult, type ProtocolRecordGrant, type ProtocolRecordGrantResult, type ProtocolServiceSummary, type ProtocolServicesResult, type ProvisionWalletResult, type RefreshBalanceResult, type RegisterExternalCardInput, type ReportCheckoutOutcomeInput, type RollbackPolicyVersionResponse, type RuleAction, type RuleOperator, type RuleType, type RunGuardedCheckoutResult, type SdkKey, type SdkKeyType, type SetupCapabilityState, type SetupCardDiagnostics, type SetupDiagnosticAction, type SetupDiagnosticIssue, type SetupDiagnosticIssueCode, type SetupDiagnostics, type SetupWalletDiagnostics, type StripeLinkCheckoutReadiness, type StripeLinkCheckoutReadinessResult, type StripeLinkCheckoutReadinessStatus, type StripeLinkCheckoutVerification, type StripeLinkPaymentMethod, type TestCardCredential, type TestCardDrawResult, type TestCardDrawable, type TestCardListResult, type TestCardReceipt, TestCardsClient, type TestCheckoutInput, type TestCheckoutResult, type TestMerchant, type TestMerchantProduct, type UnfreezeAgentInput, type UpdateAgentInput, type UpdateExternalCardAssignmentInput, type UpdatePolicyInput, type UpdatePolicyRuleInput, type UpdateWalletInput, type VerifiedBrowserCheckoutTarget, type Wallet, type WalletChainBalanceSnapshot, type WalletStatus, type WalletType, type X402Authorization, type X402BudgetResult, type X402PayInput, type X402PayResult, type X402PaymentRequirements, type X402PreAuthorizeInput, type X402PreAuthorizeResult, type X402RecordInput, type X402RecordResult, canonicalizeBrowserCheckoutTarget, createVerifiedBrowserCheckoutDriver, Conto as default, fingerprintBrowserCheckoutTarget };
2828
+ export { type AdminExternalCardOverlayEnforcement, type Agent, type AgentCheckoutAction, type AgentCheckoutActionKind, type AgentExternalCard, type AgentSetupResult, type AgentStatus, type AgentType, type AgentWalletLink, type ApprovedExternalCardExecution, type AssignExternalCardInput, type AssignedPolicy, type AuthorizeCheckoutActionResult, type BeginCheckoutCheckpointInput, type BeginCommerceExecutionInput, type BrowserActionClaimResult, type BrowserActionDispatchObservationInput, BrowserActionFinalizationPendingError, type BrowserActionFinalizeResult, type BrowserCheckoutAction, type BrowserCheckoutTargetResolver, type BrowserCheckoutTargetSnapshot, type BrowserCheckoutTargetVerificationCode, BrowserCheckoutTargetVerificationError, type CanonicalBrowserCheckoutTargetSnapshot, CardsClient, type ChainType, type CheckoutActionAuthorization, CheckoutApprovalDeniedError, CheckoutApprovalExpiredError, CheckoutApprovalPendingError, CheckoutApprovalTimeoutError, type CheckoutCheckpoint, type CheckoutCheckpointApproval, CheckoutCheckpointClosedError, type CheckoutCheckpointMethod, type CheckoutCheckpointNextAction, type CheckoutCheckpointStage, CheckoutClient, type CheckoutOutcome, type CommerceCheckoutMethod, type CommerceContextRequirement, type CommerceExecution, type CommerceExecutionAdapterKind, type CommerceExecutionArtifactKind, type CommerceExecutionChannel, type CommerceExecutionConstraint, type CommerceExecutionConstraintCoverage, type CommerceExecutionConstraintCoverageLevel, type CommerceExecutionDeliveryMode, type CommerceExecutionEvidence, type CommerceExecutionProvider, type CommerceExecutionResult, type CommerceExecutionSourceKind, type CommerceExecutionStatus, type CommerceFactConfidence, type CommerceFactProvenanceInput, type CommerceFactSource, type CommerceFulfillmentInput, type CommerceLineItemInput, type CommerceProposalFactKey, type CommerceProposalMissingFact, type CommerceProposalResolution, type CommerceProposalState, type CommerceSettlementRail, type CommerceTotalInput, type CommerceTotalType, type ComparePolicyVersionsResponse, type ConfirmCheckoutCheckpointInput, type ConnectedCardBrief, type ConnectedCardCredential, type ConnectedCardDrawInput, type ConnectedCardDrawMerchant, type ConnectedCardDrawResult, type ConnectedCardDrawable, type ConnectedCardListResult, type ConnectedCardMandate, type ConnectedCardMandateMerchant, type ConnectedCardReference, ConnectedCardsClient, Conto, ContoAdmin, type ContoAdminConfig, ContoAdminError, type ContoConfig, ContoError, type ContoRequestOptions, type ControlledExternalCardPaymentResult, ControlledExternalCardPaymentTool, type CreateAgentInput, type CreatePolicyInput, type CreatePolicyRuleInput, type CreateSdkKeyInput, type CreateSdkKeyResult, type CreateWalletInput, type CustodyType, type CustomerCustodyMode, type CustomerWalletControlModel, type CustomerWalletKeyAccess, type DelegationType, type ExecuteCommerceExecutionResult, type ExternalCard, type ExternalCardApprovalInput, type ExternalCardApprovalResult, type ExternalCardConfirmationInput, ExternalCardConfirmationPendingError, type ExternalCardConfirmationResult, type ExternalCardExecutionClaimResult, type ExternalCardExecutionResult, type ExternalCardExecutor, type ExternalCardOverlayEnforcement, type ExternalCardRequestStatusResult, type ExternalWalletApprovalInput, type ExternalWalletApprovalResult, type ExternalWalletConfirmationInput, type ExternalWalletConfirmationResult, type FreezeAgentInput, Conto as Giro, type ContoConfig as GiroConfig, ContoError as GiroError, type GuardCheckoutResult, type GuardedBrowserDispatchResult, type GuardedCheckoutInput, type LinkWalletInput, type ListAgentsParams, type ListAgentsResponse, type ListPoliciesParams, type ListPoliciesResponse, type ListPolicyVersionsResponse, type ListWalletsParams, type ListWalletsResponse, type MppBudgetResult, type MppPreAuthorizeInput, type MppPreAuthorizeResult, type MppRecordInput, type MppRecordResult, type NormalizeCommerceProposalInput, type OrganizationMember, type PaginatedResponse, type PaginationParams, type PauseExternalCardAssignmentResult, type PaymentExecuteResult, type PaymentRequestInput, type PaymentRequestResult, type PaymentStatusResult, type Policy, type PolicyRule, type PolicyType, type PolicyVersionChangeType, type PolicyVersionDetail, type PolicyVersionDiff, type PolicyVersionFieldChange, type PolicyVersionSnapshot, type PolicyVersionSnapshotRule, type PolicyVersionSummary, type PrivilegedBrowserCheckoutDriver, type ProtocolBudgetResult, type ProtocolPreAuthorizeResult, type ProtocolRecordGrant, type ProtocolRecordGrantResult, type ProtocolServiceSummary, type ProtocolServicesResult, type ProvisionWalletResult, type RefreshBalanceResult, type RegisterExternalCardInput, type ReportCheckoutOutcomeInput, type RollbackPolicyVersionResponse, type RuleAction, type RuleOperator, type RuleType, type RunGuardedCheckoutResult, type SdkKey, type SdkKeyType, type SetupCapabilityState, type SetupCardDiagnostics, type SetupDiagnosticAction, type SetupDiagnosticIssue, type SetupDiagnosticIssueCode, type SetupDiagnostics, type SetupWalletDiagnostics, type TestCardCredential, type TestCardDrawResult, type TestCardDrawable, type TestCardListResult, type TestCardReceipt, TestCardsClient, type TestCheckoutInput, type TestCheckoutResult, type TestMerchant, type TestMerchantProduct, type UnfreezeAgentInput, type UpdateAgentInput, type UpdateExternalCardAssignmentInput, type UpdatePolicyInput, type UpdatePolicyRuleInput, type UpdateWalletInput, type VerifiedBrowserCheckoutTarget, type WaitForCheckoutApprovalOptions, type Wallet, type WalletChainBalanceSnapshot, type WalletStatus, type WalletType, type X402Authorization, type X402BudgetResult, type X402PayInput, type X402PayResult, type X402PaymentRequirements, type X402PreAuthorizeInput, type X402PreAuthorizeResult, type X402RecordInput, type X402RecordResult, canonicalizeBrowserCheckoutTarget, createVerifiedBrowserCheckoutDriver, Conto as default, fingerprintBrowserCheckoutTarget };