@invonetwork/web-sdk 3.37.0 → 3.38.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +49 -8
  3. package/dist/{chunk-AUHRMREF.js → chunk-3HK32FE4.js} +3 -3
  4. package/dist/{chunk-KWAUFFDY.js → chunk-7B7MFAQ3.js} +33 -5
  5. package/dist/chunk-MOHWLDOQ.js +6 -0
  6. package/dist/{chunk-ZHEQAZLW.js → chunk-NS33T5FB.js} +64 -15
  7. package/dist/game-server.cjs +99 -22
  8. package/dist/game-server.d.cts +4 -4
  9. package/dist/game-server.d.ts +4 -4
  10. package/dist/game-server.js +5 -5
  11. package/dist/game.cjs +32 -4
  12. package/dist/game.d.cts +3 -3
  13. package/dist/game.d.ts +3 -3
  14. package/dist/game.js +3 -3
  15. package/dist/{hosted-approval-DS9gcCF5.d.cts → hosted-approval-B-kbdFDL.d.cts} +1 -1
  16. package/dist/{hosted-approval-Dv462L4e.d.ts → hosted-approval-CtAZ1Rzt.d.ts} +1 -1
  17. package/dist/index.cjs +31 -3
  18. package/dist/index.d.cts +4 -4
  19. package/dist/index.d.ts +4 -4
  20. package/dist/index.js +2 -2
  21. package/dist/{server-B9PtYZaM.d.cts → server-BWGl9v5j.d.cts} +93 -13
  22. package/dist/{server-B7Pw1HMp.d.ts → server-CaaP-Nc3.d.ts} +93 -13
  23. package/dist/server.cjs +99 -22
  24. package/dist/server.d.cts +3 -3
  25. package/dist/server.d.ts +3 -3
  26. package/dist/server.js +3 -3
  27. package/dist/{types-BdKpJX93.d.cts → types-DGgWWX1v.d.cts} +89 -9
  28. package/dist/{types-BdKpJX93.d.ts → types-DGgWWX1v.d.ts} +89 -9
  29. package/dist/{version-CuhMO-6s.d.cts → version-D_cJUvMp.d.cts} +1 -1
  30. package/dist/{version-CuhMO-6s.d.ts → version-D_cJUvMp.d.ts} +1 -1
  31. package/docs/merchant-of-record-tax.md +176 -0
  32. package/package.json +2 -1
  33. package/dist/chunk-MENRG67H.js +0 -6
package/dist/server.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { bB as AppleEnvironment, bC as AppleProduct, a$ as AppleProductsResult, a0 as ApplePurchaseResult, bD as ApplePurchaseStatus, bE as AppleUnavailableReason, bx as ApproveWithDeviceCodeInput, br as BeginDeviceApprovalInput, g as CallOptions, ag as CancelResult, af as CancelSubscriptionOptions, at as CardSetupConfirmInput, au as CardSetupConfirmResult, ar as CardSetupInput, as as CardSetupResult, ap as CardSetupSessionInput, aq as CardSetupSessionResult, bF as CardSetupStatus, ah as ChangeAmountResult, bG as CheckoutWarning, bi as ClaimCurrencyInput, y as ClaimDelivery, bh as ClaimResult, bg as ClaimTransferInput, bz as CompleteDeviceApprovalInput, bA as CompleteDeviceApprovalResult, bv as ConfirmDeviceEnrollmentInput, bw as ConfirmDeviceEnrollmentResult, aT as ConfirmPaymentResult, aN as CreateCheckoutInput, aO as CreateCheckoutResult, a9 as CreateSubscriptionInput, bH as CurrencyBalance, aS as CurrencyPurchaseQuote, bI as CurrencyPurchaseQuoteBreakdown, aR as CurrencyPurchaseQuoteInput, D as DestinationGame, p as DestinationsResult, bJ as DeviceApprovalChannel, bK as DeviceApprovalEnrollment, bL as DeviceApprovalFlow, bs as DeviceApprovalGrant, bu as DeviceApprovalPollResult, bM as DeviceApprovalPollStatus, by as DeviceApprovalSettleResult, bN as DeviceEnrollmentDecision, bO as DeviceEnrollmentRespond, bP as ExpiryReason, bQ as FeeTakenFrom, bR as FirstCharge, bS as FirstChargeStatus, bT as FundingSource, ab as GetSubscriptionOptions, ac as GetSubscriptionResult, bk as GuardianApprovalStatusResult, bU as InboundPendingItem, bb as InboundPendingQuery, bc as InboundPendingResult, aL as InitiateResult, aK as InitiateSendInput, aM as InitiateTransferInput, I as InvoError, z as InvoErrorInfo, F as InvoHooks, G as InvoRequestInfo, J as InvoResponseInfo, b3 as ItemHistoryQuery, b4 as ItemHistoryResult, b5 as ItemOrderQuery, bd as LinkedIdentitiesQuery, be as LinkedIdentitiesResult, bV as LinkedIdentityEmail, ad as ListSubscriptionsOptions, K as LoyaltyCard, N as LoyaltyCardReward, O as LoyaltyCardStep, q as LoyaltyCardsResult, Q as LoyaltyRewardState, S as LoyaltyStepProgress, T as LoyaltyStepState, bW as MinPurchaseWarning, aB as MintPlayerTokenInput, aU as OrderDetailsResult, bX as PhoneChangeConfirmation, aJ as PhoneChangeRequest, bY as PhoneChangeRequestStatus, bo as PhoneShareApproveInput, bp as PhoneShareApproveResult, bm as PhoneShareContact, bn as PhoneShareInitiateResult, bq as PhoneShareStatusResult, a3 as PlatformApprovalResult, a4 as PlatformOrderStatusResult, a5 as PlatformPurchaseHistoryQuery, a6 as PlatformPurchaseHistoryResult, a1 as PlatformPurchaseInput, a2 as PlatformPurchaseResult, bZ as PlatformPurchaseStatus, a7 as PlatformRefundInput, a8 as PlatformRefundResult, b8 as PlayerActivityEntry, b6 as PlayerActivityQuery, b7 as PlayerActivityResult, b_ as PlayerActivityType, b9 as PlayerBalanceQuery, ba as PlayerBalanceResult, av as PlayerCardsResult, aC as PlayerToken, bt as PollDeviceApprovalInput, aP as PurchaseInput, b1 as PurchaseItemInput, b2 as PurchaseItemResult, aQ as PurchaseResult, Z as Rail, b$ as RefundInitiation, c0 as RefundPendingApproval, c1 as RefundProcessingFeeBasis, c2 as RefundReceipt, al as RefundResult, c3 as RefundRevenueShareAttribution, ak as RefundSubscriptionInput, c4 as RefundWarning, aD as RegisterPlayerInput, aE as RegisterPlayerResult, aH as RequestPhoneChangeInput, aI as RequestPhoneChangeResult, aw as SandboxClockResult, c5 as SandboxClockState, ax as SandboxFailureOutcome, az as SandboxForceAuthChallengeOptions, ay as SandboxForceFailureOptions, c6 as SavedCard, aA as ServerConfig, bl as ServerDestinationsQuery, ai as SetPaymentMethodInput, aj as SetPaymentMethodResult, bf as SmsVerifyResult, aZ as SteamFinalizeInput, a_ as SteamFinalizeResult, ao as SteamFinalizeSubscriptionResult, aX as SteamInitPurchaseInput, aY as SteamInitPurchaseResult, an as SteamInitResult, c7 as SteamPack, aV as SteamPacksQuery, aW as SteamPacksResult, am as SteamSubscriptionInitInput, c8 as SteamUnavailableReason, c9 as SteamUserSession, ca as Subscription, cb as SubscriptionBaseInput, cc as SubscriptionConsent, cd as SubscriptionConsentInput, ce as SubscriptionFundingRail, cf as SubscriptionInterval, ae as SubscriptionListResult, aa as SubscriptionResult, cg as SubscriptionRevenueShare, ch as SubscriptionRevenueShareInput, ci as SubscriptionStatus, bj as TransactionStatusResult, cj as UnacknowledgedPurchaseOutcome, aF as UpdatePlayerPhoneInput, aG as UpdatePlayerPhoneResult, _ as VerificationMethod, b0 as VerifyApplePurchaseInput, ck as isRefundPendingApproval } from './types-BdKpJX93.cjs';
1
+ export { bC as AppleEnvironment, bD as AppleProduct, b0 as AppleProductsResult, a1 as ApplePurchaseResult, bE as ApplePurchaseStatus, bF as AppleUnavailableReason, by as ApproveWithDeviceCodeInput, bs as BeginDeviceApprovalInput, g as CallOptions, ah as CancelResult, ag as CancelSubscriptionOptions, au as CardSetupConfirmInput, av as CardSetupConfirmResult, as as CardSetupInput, at as CardSetupResult, aq as CardSetupSessionInput, ar as CardSetupSessionResult, bG as CardSetupStatus, ai as ChangeAmountResult, bH as CheckoutWarning, bj as ClaimCurrencyInput, y as ClaimDelivery, bi as ClaimResult, bh as ClaimTransferInput, bA as CompleteDeviceApprovalInput, bB as CompleteDeviceApprovalResult, bw as ConfirmDeviceEnrollmentInput, bx as ConfirmDeviceEnrollmentResult, aU as ConfirmPaymentResult, aO as CreateCheckoutInput, aP as CreateCheckoutResult, aa as CreateSubscriptionInput, bI as CurrencyBalance, aT as CurrencyPurchaseQuote, bJ as CurrencyPurchaseQuoteBreakdown, aS as CurrencyPurchaseQuoteInput, D as DestinationGame, p as DestinationsResult, bK as DeviceApprovalChannel, bL as DeviceApprovalEnrollment, bM as DeviceApprovalFlow, bt as DeviceApprovalGrant, bv as DeviceApprovalPollResult, bN as DeviceApprovalPollStatus, bz as DeviceApprovalSettleResult, bO as DeviceEnrollmentDecision, bP as DeviceEnrollmentRespond, bQ as ExpiryReason, bR as FeeTakenFrom, bS as FirstCharge, bT as FirstChargeStatus, bU as FundingSource, ac as GetSubscriptionOptions, ad as GetSubscriptionResult, bl as GuardianApprovalStatusResult, bV as InboundPendingItem, bc as InboundPendingQuery, bd as InboundPendingResult, aM as InitiateResult, aL as InitiateSendInput, aN as InitiateTransferInput, I as InvoError, z as InvoErrorInfo, F as InvoHooks, G as InvoRequestInfo, J as InvoResponseInfo, b4 as ItemHistoryQuery, b5 as ItemHistoryResult, b6 as ItemOrderQuery, be as LinkedIdentitiesQuery, bf as LinkedIdentitiesResult, bW as LinkedIdentityEmail, ae as ListSubscriptionsOptions, K as LoyaltyCard, N as LoyaltyCardReward, O as LoyaltyCardStep, q as LoyaltyCardsResult, Q as LoyaltyRewardState, S as LoyaltyStepProgress, T as LoyaltyStepState, bX as MinPurchaseWarning, aC as MintPlayerTokenInput, aV as OrderDetailsResult, bY as PhoneChangeConfirmation, aK as PhoneChangeRequest, bZ as PhoneChangeRequestStatus, bp as PhoneShareApproveInput, bq as PhoneShareApproveResult, bn as PhoneShareContact, bo as PhoneShareInitiateResult, br as PhoneShareStatusResult, a4 as PlatformApprovalResult, a5 as PlatformOrderStatusResult, a6 as PlatformPurchaseHistoryQuery, a7 as PlatformPurchaseHistoryResult, a2 as PlatformPurchaseInput, a3 as PlatformPurchaseResult, b_ as PlatformPurchaseStatus, a8 as PlatformRefundInput, a9 as PlatformRefundResult, b9 as PlayerActivityEntry, b7 as PlayerActivityQuery, b8 as PlayerActivityResult, b$ as PlayerActivityType, ba as PlayerBalanceQuery, bb as PlayerBalanceResult, aw as PlayerCardsResult, aD as PlayerToken, bu as PollDeviceApprovalInput, aQ as PurchaseInput, b2 as PurchaseItemInput, b3 as PurchaseItemResult, aR as PurchaseResult, Z as Rail, c0 as RefundInitiation, c1 as RefundPendingApproval, c2 as RefundProcessingFeeBasis, c3 as RefundReceipt, am as RefundResult, c4 as RefundRevenueShareAttribution, al as RefundSubscriptionInput, c5 as RefundWarning, aE as RegisterPlayerInput, aF as RegisterPlayerResult, aI as RequestPhoneChangeInput, aJ as RequestPhoneChangeResult, ax as SandboxClockResult, c6 as SandboxClockState, ay as SandboxFailureOutcome, aA as SandboxForceAuthChallengeOptions, az as SandboxForceFailureOptions, c7 as SavedCard, aB as ServerConfig, bm as ServerDestinationsQuery, aj as SetPaymentMethodInput, ak as SetPaymentMethodResult, bg as SmsVerifyResult, a_ as SteamFinalizeInput, a$ as SteamFinalizeResult, ap as SteamFinalizeSubscriptionResult, aY as SteamInitPurchaseInput, aZ as SteamInitPurchaseResult, ao as SteamInitResult, c8 as SteamPack, aW as SteamPacksQuery, aX as SteamPacksResult, an as SteamSubscriptionInitInput, c9 as SteamUnavailableReason, ca as SteamUserSession, cb as Subscription, cc as SubscriptionBaseInput, cd as SubscriptionConsent, ce as SubscriptionConsentInput, cf as SubscriptionFundingRail, cg as SubscriptionInterval, af as SubscriptionListResult, ab as SubscriptionResult, ch as SubscriptionRevenueShare, ci as SubscriptionRevenueShareInput, cj as SubscriptionStatus, $ as TaxPriceDisplay, bk as TransactionStatusResult, ck as UnacknowledgedPurchaseOutcome, aG as UpdatePlayerPhoneInput, aH as UpdatePlayerPhoneResult, _ as VerificationMethod, b1 as VerifyApplePurchaseInput, cl as isRefundPendingApproval } from './types-DGgWWX1v.cjs';
2
2
  export { G as GameEventType, R as ReportGameEventInput, a as ReportGameEventResult, b as ReportServerGameEventInput } from './loyalty-events-CmDw2ZoR.cjs';
3
- export { A as APPLE_FINISH_ERROR_CODES, d as AppleWebhookDetails, C as CardsServer, D as DEMO_KEY_PREFIX, E as EnvironmentUnknownError, f as IdentityPasskeyResetData, a as InvoEnvironment, I as InvoServer, g as InvoWebhookEvent, h as ItemPurchasedData, K as KeyEnvironmentMismatchError, L as LIVE_KEY_PREFIX, j as ListPayeesQuery, k as ListPayeesResult, l as ListPayoutsQuery, m as ListPayoutsResult, P as PRODUCTION_BASE_URL, n as PayableBlocker, o as Payee, p as PayeeInvite, q as PayeeStatus, s as PayeeStatusChangedData, t as Payout, u as PayoutStatus, w as PayoutStatusChangedData, x as PayoutsServer, y as PlatformCommercePurchasedData, z as PlatformCommerceRefundedData, B as PlatformCommerceServer, F as PlayerPhoneChangedData, G as PurchaseCompletedData, H as PurchaseEventData, R as RegisterPayeeInput, J as RegisterPayeeResult, M as RequestPayoutInput, N as RequestPayoutResult, O as ReturnReasonCode, S as SANDBOX_BASE_URL, Q as SandboxServer, U as SandboxSubscriptionsServer, V as SubscriptionAuthenticationRequiredData, W as SubscriptionCanceledData, X as SubscriptionEventCommon, Y as SubscriptionExpiredData, Z as SubscriptionPastDueData, _ as SubscriptionPaymentFailedData, $ as SubscriptionRefundApprovedData, a0 as SubscriptionRefundDetail, a1 as SubscriptionRefundRejectedData, a2 as SubscriptionRefundRequestData, a3 as SubscriptionRefundedData, a4 as SubscriptionRenewalFunding, a5 as SubscriptionRenewalSplit, a6 as SubscriptionRenewedData, a7 as SubscriptionRevenueShareAttribution, a8 as SubscriptionTrialEventFields, a9 as SubscriptionsServer, T as TEST_KEY_PREFIX, aa as TransferEventData, ab as VerifyWebhookOptions, ac as WebhookHandlerOptions, b as baseUrlForKey, ad as createWebhookHandler, e as environmentForBaseUrl, c as environmentFromKeyPrefix, ae as isAppleCreditPending, i as isDemoKey, r as resolveEnvironment, af as shouldFinishAppleTransaction, ag as verifyWebhook, ah as verifyWebhookAsync } from './server-B9PtYZaM.cjs';
4
- export { S as SDK_VERSION } from './version-CuhMO-6s.cjs';
3
+ export { A as APPLE_FINISH_ERROR_CODES, d as AppleWebhookDetails, C as CardsServer, D as DEMO_KEY_PREFIX, E as EnvironmentUnknownError, f as IdentityPasskeyResetData, a as InvoEnvironment, I as InvoServer, g as InvoWebhookEvent, h as ItemPurchasedData, K as KeyEnvironmentMismatchError, L as LIVE_KEY_PREFIX, j as ListPayeesQuery, k as ListPayeesResult, l as ListPayoutsQuery, m as ListPayoutsResult, P as PRODUCTION_BASE_URL, n as PayableBlocker, o as Payee, p as PayeeInvite, q as PayeeStatus, s as PayeeStatusChangedData, t as Payout, u as PayoutStatus, w as PayoutStatusChangedData, x as PayoutsServer, y as PlatformCommercePurchasedData, z as PlatformCommerceRefundedData, B as PlatformCommerceServer, F as PlayerPhoneChangedData, G as PurchaseCompletedData, H as PurchaseEventData, R as RegisterPayeeInput, J as RegisterPayeeResult, M as RequestPayoutInput, N as RequestPayoutResult, O as ReturnReasonCode, S as SANDBOX_BASE_URL, Q as SandboxServer, U as SandboxSubscriptionsServer, V as SubscriptionAuthenticationRequiredData, W as SubscriptionCanceledData, X as SubscriptionEventCommon, Y as SubscriptionExpiredData, Z as SubscriptionPastDueData, _ as SubscriptionPaymentFailedData, $ as SubscriptionRefundApprovedData, a0 as SubscriptionRefundDetail, a1 as SubscriptionRefundRejectedData, a2 as SubscriptionRefundRequestData, a3 as SubscriptionRefundedData, a4 as SubscriptionRenewalFunding, a5 as SubscriptionRenewalSplit, a6 as SubscriptionRenewedData, a7 as SubscriptionRevenueShareAttribution, a8 as SubscriptionTrialEventFields, a9 as SubscriptionsServer, T as TEST_KEY_PREFIX, aa as TransferEventData, ab as VerifyWebhookOptions, ac as WebhookHandlerOptions, b as baseUrlForKey, ad as createWebhookHandler, e as environmentForBaseUrl, c as environmentFromKeyPrefix, ae as isAppleCreditPending, i as isDemoKey, r as resolveEnvironment, af as shouldFinishAppleTransaction, ag as verifyWebhook, ah as verifyWebhookAsync } from './server-BWGl9v5j.cjs';
4
+ export { S as SDK_VERSION } from './version-D_cJUvMp.cjs';
package/dist/server.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { bB as AppleEnvironment, bC as AppleProduct, a$ as AppleProductsResult, a0 as ApplePurchaseResult, bD as ApplePurchaseStatus, bE as AppleUnavailableReason, bx as ApproveWithDeviceCodeInput, br as BeginDeviceApprovalInput, g as CallOptions, ag as CancelResult, af as CancelSubscriptionOptions, at as CardSetupConfirmInput, au as CardSetupConfirmResult, ar as CardSetupInput, as as CardSetupResult, ap as CardSetupSessionInput, aq as CardSetupSessionResult, bF as CardSetupStatus, ah as ChangeAmountResult, bG as CheckoutWarning, bi as ClaimCurrencyInput, y as ClaimDelivery, bh as ClaimResult, bg as ClaimTransferInput, bz as CompleteDeviceApprovalInput, bA as CompleteDeviceApprovalResult, bv as ConfirmDeviceEnrollmentInput, bw as ConfirmDeviceEnrollmentResult, aT as ConfirmPaymentResult, aN as CreateCheckoutInput, aO as CreateCheckoutResult, a9 as CreateSubscriptionInput, bH as CurrencyBalance, aS as CurrencyPurchaseQuote, bI as CurrencyPurchaseQuoteBreakdown, aR as CurrencyPurchaseQuoteInput, D as DestinationGame, p as DestinationsResult, bJ as DeviceApprovalChannel, bK as DeviceApprovalEnrollment, bL as DeviceApprovalFlow, bs as DeviceApprovalGrant, bu as DeviceApprovalPollResult, bM as DeviceApprovalPollStatus, by as DeviceApprovalSettleResult, bN as DeviceEnrollmentDecision, bO as DeviceEnrollmentRespond, bP as ExpiryReason, bQ as FeeTakenFrom, bR as FirstCharge, bS as FirstChargeStatus, bT as FundingSource, ab as GetSubscriptionOptions, ac as GetSubscriptionResult, bk as GuardianApprovalStatusResult, bU as InboundPendingItem, bb as InboundPendingQuery, bc as InboundPendingResult, aL as InitiateResult, aK as InitiateSendInput, aM as InitiateTransferInput, I as InvoError, z as InvoErrorInfo, F as InvoHooks, G as InvoRequestInfo, J as InvoResponseInfo, b3 as ItemHistoryQuery, b4 as ItemHistoryResult, b5 as ItemOrderQuery, bd as LinkedIdentitiesQuery, be as LinkedIdentitiesResult, bV as LinkedIdentityEmail, ad as ListSubscriptionsOptions, K as LoyaltyCard, N as LoyaltyCardReward, O as LoyaltyCardStep, q as LoyaltyCardsResult, Q as LoyaltyRewardState, S as LoyaltyStepProgress, T as LoyaltyStepState, bW as MinPurchaseWarning, aB as MintPlayerTokenInput, aU as OrderDetailsResult, bX as PhoneChangeConfirmation, aJ as PhoneChangeRequest, bY as PhoneChangeRequestStatus, bo as PhoneShareApproveInput, bp as PhoneShareApproveResult, bm as PhoneShareContact, bn as PhoneShareInitiateResult, bq as PhoneShareStatusResult, a3 as PlatformApprovalResult, a4 as PlatformOrderStatusResult, a5 as PlatformPurchaseHistoryQuery, a6 as PlatformPurchaseHistoryResult, a1 as PlatformPurchaseInput, a2 as PlatformPurchaseResult, bZ as PlatformPurchaseStatus, a7 as PlatformRefundInput, a8 as PlatformRefundResult, b8 as PlayerActivityEntry, b6 as PlayerActivityQuery, b7 as PlayerActivityResult, b_ as PlayerActivityType, b9 as PlayerBalanceQuery, ba as PlayerBalanceResult, av as PlayerCardsResult, aC as PlayerToken, bt as PollDeviceApprovalInput, aP as PurchaseInput, b1 as PurchaseItemInput, b2 as PurchaseItemResult, aQ as PurchaseResult, Z as Rail, b$ as RefundInitiation, c0 as RefundPendingApproval, c1 as RefundProcessingFeeBasis, c2 as RefundReceipt, al as RefundResult, c3 as RefundRevenueShareAttribution, ak as RefundSubscriptionInput, c4 as RefundWarning, aD as RegisterPlayerInput, aE as RegisterPlayerResult, aH as RequestPhoneChangeInput, aI as RequestPhoneChangeResult, aw as SandboxClockResult, c5 as SandboxClockState, ax as SandboxFailureOutcome, az as SandboxForceAuthChallengeOptions, ay as SandboxForceFailureOptions, c6 as SavedCard, aA as ServerConfig, bl as ServerDestinationsQuery, ai as SetPaymentMethodInput, aj as SetPaymentMethodResult, bf as SmsVerifyResult, aZ as SteamFinalizeInput, a_ as SteamFinalizeResult, ao as SteamFinalizeSubscriptionResult, aX as SteamInitPurchaseInput, aY as SteamInitPurchaseResult, an as SteamInitResult, c7 as SteamPack, aV as SteamPacksQuery, aW as SteamPacksResult, am as SteamSubscriptionInitInput, c8 as SteamUnavailableReason, c9 as SteamUserSession, ca as Subscription, cb as SubscriptionBaseInput, cc as SubscriptionConsent, cd as SubscriptionConsentInput, ce as SubscriptionFundingRail, cf as SubscriptionInterval, ae as SubscriptionListResult, aa as SubscriptionResult, cg as SubscriptionRevenueShare, ch as SubscriptionRevenueShareInput, ci as SubscriptionStatus, bj as TransactionStatusResult, cj as UnacknowledgedPurchaseOutcome, aF as UpdatePlayerPhoneInput, aG as UpdatePlayerPhoneResult, _ as VerificationMethod, b0 as VerifyApplePurchaseInput, ck as isRefundPendingApproval } from './types-BdKpJX93.js';
1
+ export { bC as AppleEnvironment, bD as AppleProduct, b0 as AppleProductsResult, a1 as ApplePurchaseResult, bE as ApplePurchaseStatus, bF as AppleUnavailableReason, by as ApproveWithDeviceCodeInput, bs as BeginDeviceApprovalInput, g as CallOptions, ah as CancelResult, ag as CancelSubscriptionOptions, au as CardSetupConfirmInput, av as CardSetupConfirmResult, as as CardSetupInput, at as CardSetupResult, aq as CardSetupSessionInput, ar as CardSetupSessionResult, bG as CardSetupStatus, ai as ChangeAmountResult, bH as CheckoutWarning, bj as ClaimCurrencyInput, y as ClaimDelivery, bi as ClaimResult, bh as ClaimTransferInput, bA as CompleteDeviceApprovalInput, bB as CompleteDeviceApprovalResult, bw as ConfirmDeviceEnrollmentInput, bx as ConfirmDeviceEnrollmentResult, aU as ConfirmPaymentResult, aO as CreateCheckoutInput, aP as CreateCheckoutResult, aa as CreateSubscriptionInput, bI as CurrencyBalance, aT as CurrencyPurchaseQuote, bJ as CurrencyPurchaseQuoteBreakdown, aS as CurrencyPurchaseQuoteInput, D as DestinationGame, p as DestinationsResult, bK as DeviceApprovalChannel, bL as DeviceApprovalEnrollment, bM as DeviceApprovalFlow, bt as DeviceApprovalGrant, bv as DeviceApprovalPollResult, bN as DeviceApprovalPollStatus, bz as DeviceApprovalSettleResult, bO as DeviceEnrollmentDecision, bP as DeviceEnrollmentRespond, bQ as ExpiryReason, bR as FeeTakenFrom, bS as FirstCharge, bT as FirstChargeStatus, bU as FundingSource, ac as GetSubscriptionOptions, ad as GetSubscriptionResult, bl as GuardianApprovalStatusResult, bV as InboundPendingItem, bc as InboundPendingQuery, bd as InboundPendingResult, aM as InitiateResult, aL as InitiateSendInput, aN as InitiateTransferInput, I as InvoError, z as InvoErrorInfo, F as InvoHooks, G as InvoRequestInfo, J as InvoResponseInfo, b4 as ItemHistoryQuery, b5 as ItemHistoryResult, b6 as ItemOrderQuery, be as LinkedIdentitiesQuery, bf as LinkedIdentitiesResult, bW as LinkedIdentityEmail, ae as ListSubscriptionsOptions, K as LoyaltyCard, N as LoyaltyCardReward, O as LoyaltyCardStep, q as LoyaltyCardsResult, Q as LoyaltyRewardState, S as LoyaltyStepProgress, T as LoyaltyStepState, bX as MinPurchaseWarning, aC as MintPlayerTokenInput, aV as OrderDetailsResult, bY as PhoneChangeConfirmation, aK as PhoneChangeRequest, bZ as PhoneChangeRequestStatus, bp as PhoneShareApproveInput, bq as PhoneShareApproveResult, bn as PhoneShareContact, bo as PhoneShareInitiateResult, br as PhoneShareStatusResult, a4 as PlatformApprovalResult, a5 as PlatformOrderStatusResult, a6 as PlatformPurchaseHistoryQuery, a7 as PlatformPurchaseHistoryResult, a2 as PlatformPurchaseInput, a3 as PlatformPurchaseResult, b_ as PlatformPurchaseStatus, a8 as PlatformRefundInput, a9 as PlatformRefundResult, b9 as PlayerActivityEntry, b7 as PlayerActivityQuery, b8 as PlayerActivityResult, b$ as PlayerActivityType, ba as PlayerBalanceQuery, bb as PlayerBalanceResult, aw as PlayerCardsResult, aD as PlayerToken, bu as PollDeviceApprovalInput, aQ as PurchaseInput, b2 as PurchaseItemInput, b3 as PurchaseItemResult, aR as PurchaseResult, Z as Rail, c0 as RefundInitiation, c1 as RefundPendingApproval, c2 as RefundProcessingFeeBasis, c3 as RefundReceipt, am as RefundResult, c4 as RefundRevenueShareAttribution, al as RefundSubscriptionInput, c5 as RefundWarning, aE as RegisterPlayerInput, aF as RegisterPlayerResult, aI as RequestPhoneChangeInput, aJ as RequestPhoneChangeResult, ax as SandboxClockResult, c6 as SandboxClockState, ay as SandboxFailureOutcome, aA as SandboxForceAuthChallengeOptions, az as SandboxForceFailureOptions, c7 as SavedCard, aB as ServerConfig, bm as ServerDestinationsQuery, aj as SetPaymentMethodInput, ak as SetPaymentMethodResult, bg as SmsVerifyResult, a_ as SteamFinalizeInput, a$ as SteamFinalizeResult, ap as SteamFinalizeSubscriptionResult, aY as SteamInitPurchaseInput, aZ as SteamInitPurchaseResult, ao as SteamInitResult, c8 as SteamPack, aW as SteamPacksQuery, aX as SteamPacksResult, an as SteamSubscriptionInitInput, c9 as SteamUnavailableReason, ca as SteamUserSession, cb as Subscription, cc as SubscriptionBaseInput, cd as SubscriptionConsent, ce as SubscriptionConsentInput, cf as SubscriptionFundingRail, cg as SubscriptionInterval, af as SubscriptionListResult, ab as SubscriptionResult, ch as SubscriptionRevenueShare, ci as SubscriptionRevenueShareInput, cj as SubscriptionStatus, $ as TaxPriceDisplay, bk as TransactionStatusResult, ck as UnacknowledgedPurchaseOutcome, aG as UpdatePlayerPhoneInput, aH as UpdatePlayerPhoneResult, _ as VerificationMethod, b1 as VerifyApplePurchaseInput, cl as isRefundPendingApproval } from './types-DGgWWX1v.js';
2
2
  export { G as GameEventType, R as ReportGameEventInput, a as ReportGameEventResult, b as ReportServerGameEventInput } from './loyalty-events-CmDw2ZoR.js';
3
- export { A as APPLE_FINISH_ERROR_CODES, d as AppleWebhookDetails, C as CardsServer, D as DEMO_KEY_PREFIX, E as EnvironmentUnknownError, f as IdentityPasskeyResetData, a as InvoEnvironment, I as InvoServer, g as InvoWebhookEvent, h as ItemPurchasedData, K as KeyEnvironmentMismatchError, L as LIVE_KEY_PREFIX, j as ListPayeesQuery, k as ListPayeesResult, l as ListPayoutsQuery, m as ListPayoutsResult, P as PRODUCTION_BASE_URL, n as PayableBlocker, o as Payee, p as PayeeInvite, q as PayeeStatus, s as PayeeStatusChangedData, t as Payout, u as PayoutStatus, w as PayoutStatusChangedData, x as PayoutsServer, y as PlatformCommercePurchasedData, z as PlatformCommerceRefundedData, B as PlatformCommerceServer, F as PlayerPhoneChangedData, G as PurchaseCompletedData, H as PurchaseEventData, R as RegisterPayeeInput, J as RegisterPayeeResult, M as RequestPayoutInput, N as RequestPayoutResult, O as ReturnReasonCode, S as SANDBOX_BASE_URL, Q as SandboxServer, U as SandboxSubscriptionsServer, V as SubscriptionAuthenticationRequiredData, W as SubscriptionCanceledData, X as SubscriptionEventCommon, Y as SubscriptionExpiredData, Z as SubscriptionPastDueData, _ as SubscriptionPaymentFailedData, $ as SubscriptionRefundApprovedData, a0 as SubscriptionRefundDetail, a1 as SubscriptionRefundRejectedData, a2 as SubscriptionRefundRequestData, a3 as SubscriptionRefundedData, a4 as SubscriptionRenewalFunding, a5 as SubscriptionRenewalSplit, a6 as SubscriptionRenewedData, a7 as SubscriptionRevenueShareAttribution, a8 as SubscriptionTrialEventFields, a9 as SubscriptionsServer, T as TEST_KEY_PREFIX, aa as TransferEventData, ab as VerifyWebhookOptions, ac as WebhookHandlerOptions, b as baseUrlForKey, ad as createWebhookHandler, e as environmentForBaseUrl, c as environmentFromKeyPrefix, ae as isAppleCreditPending, i as isDemoKey, r as resolveEnvironment, af as shouldFinishAppleTransaction, ag as verifyWebhook, ah as verifyWebhookAsync } from './server-B7Pw1HMp.js';
4
- export { S as SDK_VERSION } from './version-CuhMO-6s.js';
3
+ export { A as APPLE_FINISH_ERROR_CODES, d as AppleWebhookDetails, C as CardsServer, D as DEMO_KEY_PREFIX, E as EnvironmentUnknownError, f as IdentityPasskeyResetData, a as InvoEnvironment, I as InvoServer, g as InvoWebhookEvent, h as ItemPurchasedData, K as KeyEnvironmentMismatchError, L as LIVE_KEY_PREFIX, j as ListPayeesQuery, k as ListPayeesResult, l as ListPayoutsQuery, m as ListPayoutsResult, P as PRODUCTION_BASE_URL, n as PayableBlocker, o as Payee, p as PayeeInvite, q as PayeeStatus, s as PayeeStatusChangedData, t as Payout, u as PayoutStatus, w as PayoutStatusChangedData, x as PayoutsServer, y as PlatformCommercePurchasedData, z as PlatformCommerceRefundedData, B as PlatformCommerceServer, F as PlayerPhoneChangedData, G as PurchaseCompletedData, H as PurchaseEventData, R as RegisterPayeeInput, J as RegisterPayeeResult, M as RequestPayoutInput, N as RequestPayoutResult, O as ReturnReasonCode, S as SANDBOX_BASE_URL, Q as SandboxServer, U as SandboxSubscriptionsServer, V as SubscriptionAuthenticationRequiredData, W as SubscriptionCanceledData, X as SubscriptionEventCommon, Y as SubscriptionExpiredData, Z as SubscriptionPastDueData, _ as SubscriptionPaymentFailedData, $ as SubscriptionRefundApprovedData, a0 as SubscriptionRefundDetail, a1 as SubscriptionRefundRejectedData, a2 as SubscriptionRefundRequestData, a3 as SubscriptionRefundedData, a4 as SubscriptionRenewalFunding, a5 as SubscriptionRenewalSplit, a6 as SubscriptionRenewedData, a7 as SubscriptionRevenueShareAttribution, a8 as SubscriptionTrialEventFields, a9 as SubscriptionsServer, T as TEST_KEY_PREFIX, aa as TransferEventData, ab as VerifyWebhookOptions, ac as WebhookHandlerOptions, b as baseUrlForKey, ad as createWebhookHandler, e as environmentForBaseUrl, c as environmentFromKeyPrefix, ae as isAppleCreditPending, i as isDemoKey, r as resolveEnvironment, af as shouldFinishAppleTransaction, ag as verifyWebhook, ah as verifyWebhookAsync } from './server-CaaP-Nc3.js';
4
+ export { S as SDK_VERSION } from './version-D_cJUvMp.js';
package/dist/server.js CHANGED
@@ -1,5 +1,5 @@
1
- export { APPLE_FINISH_ERROR_CODES, CardsServer, DEMO_KEY_PREFIX, EnvironmentUnknownError, InvoServer, KeyEnvironmentMismatchError, LIVE_KEY_PREFIX, PRODUCTION_BASE_URL, PayoutsServer, PlatformCommerceServer, SANDBOX_BASE_URL, SandboxServer, SandboxSubscriptionsServer, SubscriptionsServer, TEST_KEY_PREFIX, baseUrlForKey, createWebhookHandler, environmentForBaseUrl, environmentFromKeyPrefix, isAppleCreditPending, isDemoKey, isRefundPendingApproval, resolveEnvironment, shouldFinishAppleTransaction, verifyWebhook, verifyWebhookAsync } from './chunk-ZHEQAZLW.js';
2
- export { SDK_VERSION } from './chunk-MENRG67H.js';
3
- export { InvoError } from './chunk-KWAUFFDY.js';
1
+ export { APPLE_FINISH_ERROR_CODES, CardsServer, DEMO_KEY_PREFIX, EnvironmentUnknownError, InvoServer, KeyEnvironmentMismatchError, LIVE_KEY_PREFIX, PRODUCTION_BASE_URL, PayoutsServer, PlatformCommerceServer, SANDBOX_BASE_URL, SandboxServer, SandboxSubscriptionsServer, SubscriptionsServer, TEST_KEY_PREFIX, baseUrlForKey, createWebhookHandler, environmentForBaseUrl, environmentFromKeyPrefix, isAppleCreditPending, isDemoKey, isRefundPendingApproval, resolveEnvironment, shouldFinishAppleTransaction, verifyWebhook, verifyWebhookAsync } from './chunk-NS33T5FB.js';
2
+ export { SDK_VERSION } from './chunk-MOHWLDOQ.js';
3
+ export { InvoError } from './chunk-7B7MFAQ3.js';
4
4
  //# sourceMappingURL=server.js.map
5
5
  //# sourceMappingURL=server.js.map
@@ -91,7 +91,11 @@ declare class InvoError extends Error {
91
91
  * - registration/token-mint (phone already on another INVO account), and
92
92
  * - **claim + confirm-receipt** (`claimTransfer`/`claimCurrency`,
93
93
  * `confirmReceiptSend`/`confirmReceiptTransfer`) — the receiver phone is contested,
94
- * so INVO holds the money and texts the phone owner to approve.
94
+ * so INVO holds the money and asks the phone owner to approve.
95
+ *
96
+ * Either way the 409 has already created an approval request and contacted the phone's
97
+ * existing owner: by email when INVO has verified their address, otherwise by a text code
98
+ * (the body's `consent_channel` says which).
95
99
  *
96
100
  * NOT a failure. Show `err.message` verbatim (the backend supplies the user-facing text;
97
101
  * `phoneShareLast4` tells the UI which phone), keep the funds pending, and **retry the same
@@ -103,7 +107,8 @@ declare class InvoError extends Error {
103
107
  get isPhoneShareApprovalRequired(): boolean;
104
108
  /** The `approval_id` from a phone-share 409 body, for `phoneShareApprove`. */
105
109
  get phoneShareApprovalId(): string | undefined;
106
- /** Last 4 digits of the phone that must approve (`phone_last4`), for the UI message. */
110
+ /** Last 4 digits of the phone that must approve (`phone_last4`, a string such as `"4567"`),
111
+ * for the UI message. `undefined` when the body has none (an older server). */
107
112
  get phoneShareLast4(): string | undefined;
108
113
  /**
109
114
  * True if a transfer/send initiate was blocked because it would move more than the player's
@@ -428,6 +433,20 @@ declare class InvoError extends Error {
428
433
  get isTaxPlaceUnavailable(): boolean;
429
434
  /** On `TAX_PLACE_UNAVAILABLE`: the total without tax (`untaxed_total_usd`), decimal string. */
430
435
  get untaxedTotalUsd(): string | undefined;
436
+ /**
437
+ * Additive (3.38.0). True when a Merchant of Record card sale was refused because the buyer is in
438
+ * a country where INVO does not yet sell as Merchant of Record (`SALE_NOT_AVAILABLE_IN_COUNTRY`,
439
+ * 409; today the EU member states until January 1, 2027). NOTHING WAS CHARGED. The body carries
440
+ * `retryable: false`: do not retry, and do not ask for another card (the refusal follows where
441
+ * the buyer is). Show the message (`err.message`), for example "Purchases aren't available in
442
+ * your country yet. Nothing was charged." Returned by the quote, the purchase, hosted checkout
443
+ * and Platform Commerce card purchases. Branch on this, never on a country list.
444
+ * See https://docs.invo.network/docs/merchant-of-record-tax#sale-not-available
445
+ */
446
+ get isSaleNotAvailableInCountry(): boolean;
447
+ /** On `SALE_NOT_AVAILABLE_IN_COUNTRY`: the buyer's country, ISO 3166-1 alpha-2 (`country`), or
448
+ * `undefined` when INVO did not know it. */
449
+ get unavailableCountry(): string | undefined;
431
450
  /**
432
451
  * True if a Platform Commerce refund targeted an order that was already refunded
433
452
  * (409). Idempotent outcome — the original refund did happen, so treat this as
@@ -805,7 +824,10 @@ declare class InvoError extends Error {
805
824
  /**
806
825
  * True when the phone you supplied belongs to another email
807
826
  * (`PHONE_SHARE_APPROVAL_REQUIRED`, 409) on `mintPlayerToken`, `registerPlayer` or
808
- * `updatePlayerPhone`. Nothing was created or changed. The same condition as
827
+ * `updatePlayerPhone`. The phone may be held by a player in any game or by an INVO wallet
828
+ * (including one created in the INVO app). No player was created or changed, but INVO has
829
+ * created an approval request and asked the phone's owner to approve; retry the same call
830
+ * once they have and it succeeds. The same condition as
809
831
  * {@link isPhoneShareApprovalRequired}, named for these registration calls.
810
832
  */
811
833
  get isPhoneShareRefused(): boolean;
@@ -1131,8 +1153,10 @@ interface RegisterPlayerInput {
1131
1153
  }
1132
1154
  /** Result of `InvoServer.registerPlayer`. */
1133
1155
  interface RegisterPlayerResult {
1134
- /** `"created"` (HTTP 201) or `"exists"` (HTTP 200, already in your game with that phone). */
1156
+ /** `"created"` (HTTP 201, new to your game; it may have joined the person's existing INVO
1157
+ * wallet) or `"exists"` (HTTP 200, already in your game with that phone). */
1135
1158
  status: "created" | "exists";
1159
+ /** Derived from the email and phone, so the same `identity_id` other games see for them. */
1136
1160
  identityId: string;
1137
1161
  /** A player token for this player, when INVO can issue one for your game. */
1138
1162
  playerToken?: string;
@@ -1514,6 +1538,29 @@ interface PurchaseResult {
1514
1538
  * `receiptNumber` is.
1515
1539
  */
1516
1540
  receiptUrl?: string;
1541
+ /**
1542
+ * Additive (3.38.0), Merchant of Record only, and ONLY on a sale whose price INCLUDES the tax
1543
+ * (outside the US): `true`. `chargeTotalUsd` is then the listed price the buyer paid, with the
1544
+ * tax inside it. `undefined` on every other purchase, which carries none of the tax fields
1545
+ * below. See https://docs.invo.network/docs/merchant-of-record-tax
1546
+ */
1547
+ taxIncluded?: boolean;
1548
+ /** Additive (3.38.0), tax-inclusive sales only: the tax inside the price (what INVO remits),
1549
+ * for example `"1.67"` on $10.00 at 20%. Equal to {@link taxIncludedUsd}. */
1550
+ taxUsd?: string;
1551
+ /** Additive (3.38.0), tax-inclusive sales only: the tax inside the price. */
1552
+ taxIncludedUsd?: string;
1553
+ /** Additive (3.38.0), tax-inclusive sales only: `"inclusive"`. */
1554
+ taxPriceDisplay?: TaxPriceDisplay;
1555
+ /** Additive (3.38.0), tax-inclusive sales only: where the tax is owed, for example `"GB"`. */
1556
+ taxJurisdiction?: string | null;
1557
+ /** Additive (3.38.0), tax-inclusive sales only: the rate, a decimal string such as `"20"`
1558
+ * (compare as a number). */
1559
+ taxRatePct?: string | null;
1560
+ /** Additive (3.38.0), tax-inclusive sales only: `"VAT"`, `"GST"` or `"tax"`. */
1561
+ taxLabel?: string;
1562
+ /** Additive (3.38.0), tax-inclusive sales only: `"Includes VAT 20% ($1.67)"`, ready to show. */
1563
+ taxLine?: string;
1517
1564
  raw: Record<string, unknown>;
1518
1565
  }
1519
1566
  /**
@@ -1583,8 +1630,35 @@ interface CurrencyPurchaseQuoteBreakdown {
1583
1630
  totalUsd: string;
1584
1631
  coins: string;
1585
1632
  currencyName: string;
1633
+ /**
1634
+ * Additive (3.38.0), Merchant of Record only, and ONLY on a sale whose price INCLUDES the tax
1635
+ * (a registered place outside the US): `true`. The tax is then INSIDE {@link subtotalUsd} (the
1636
+ * listed price), nothing is added on top, and `totalUsd = subtotalUsd + processingFeeUsd`.
1637
+ * Never add `taxUsd` or `taxIncludedUsd` to the price: show `totalUsd`, then {@link taxLine}
1638
+ * beneath it. `undefined` on every other quote (Open, US tax added on top, a place whose
1639
+ * registration is pending, storefront rails). See https://docs.invo.network/docs/merchant-of-record-tax
1640
+ */
1641
+ taxIncluded?: boolean;
1642
+ /** Additive (3.38.0), tax-inclusive sales only: the tax inside the price, for example `"1.67"` on
1643
+ * $10.00 at 20%. What INVO pays to the tax authority. `taxUsd` carries the same figure. */
1644
+ taxIncludedUsd?: string;
1645
+ /** Additive (3.38.0), tax-inclusive sales only: the tax ADDED on top, `"0.00"`. */
1646
+ taxAddedUsd?: string;
1647
+ /** Additive (3.38.0), tax-inclusive sales only: `"VAT"`, `"GST"` or `"tax"`. */
1648
+ taxLabel?: string;
1649
+ /** Additive (3.38.0), tax-inclusive sales only: the sentence to show the buyer, for example
1650
+ * `"Includes VAT 20% ($1.67)"`. */
1651
+ taxLine?: string;
1652
+ /** Additive (3.38.0), tax-inclusive sales only: `"inclusive"`. */
1653
+ taxPriceDisplay?: TaxPriceDisplay;
1586
1654
  raw: Record<string, unknown>;
1587
1655
  }
1656
+ /**
1657
+ * How the tax sits in the price on a Merchant of Record sale: `"inclusive"` (inside the listed
1658
+ * price, outside the US). Widened so a value a later backend adds still compiles; treat an
1659
+ * unknown value as informational.
1660
+ */
1661
+ type TaxPriceDisplay = "inclusive" | "exclusive" | (string & {});
1588
1662
  /**
1589
1663
  * What an UNACKNOWLEDGED purchase of the same amount would do. On INVO's card rail the buyer
1590
1664
  * pays no card fee either way, so this matches the acknowledged outcome apart from any tax.
@@ -2662,14 +2736,20 @@ interface PhoneShareApproveInput {
2662
2736
  otp: string;
2663
2737
  }
2664
2738
  /** Result of `phoneShareApprove`. Known fields are surfaced; the rest stays on `raw`.
2665
- * On success the grant is stored server-side, so the caller simply re-issues the
2666
- * identical original request (the grant is auto-consumed). */
2739
+ * On success the approval is stored server-side, permanently and network-wide (there is
2740
+ * no revoke), so the caller simply re-issues the identical original request.
2741
+ *
2742
+ * The server answers `{ status: "success", approved: true, approval_id, phone,
2743
+ * approved_email, approved_at, message }`; `phone`, `approved_email` and `approved_at`
2744
+ * are read from `raw`. Approving an already approved request returns the same body. */
2667
2745
  interface PhoneShareApproveResult {
2746
+ /** `approval_id`. */
2668
2747
  approvalId?: string;
2669
- /** true once the share is approved. */
2748
+ /** `approved`: `true` on success. `undefined` from an older server that did not send it. */
2670
2749
  approved?: boolean;
2671
- /** true when the pair was already approved before this call. */
2750
+ /** Not sent by the approve endpoint (always `undefined` there); kept for compatibility. */
2672
2751
  alreadyApproved?: boolean;
2752
+ /** Not sent by the approve endpoint (always `undefined` there); kept for compatibility. */
2673
2753
  expiresAt?: string;
2674
2754
  raw: Record<string, unknown>;
2675
2755
  }
@@ -3987,4 +4067,4 @@ interface RewardsPageLink {
3987
4067
  raw: Record<string, unknown>;
3988
4068
  }
3989
4069
 
3990
- export { type AuthHeader as $, type ApproveResult as A, type BalanceResult as B, type CheckoutClientConfig as C, type DestinationGame as D, type EnrollmentBeginResult as E, type InvoHooks as F, type InvoRequestInfo as G, Http as H, InvoError as I, type InvoResponseInfo as J, type LoyaltyCard as K, type LinkDeviceResult as L, type MountCheckoutOptions as M, type LoyaltyCardReward as N, type LoyaltyCardStep as O, type PendingCollectItem as P, type LoyaltyRewardState as Q, type RedeemRewardResult as R, type LoyaltyStepProgress as S, type LoyaltyStepState as T, type LoyaltyVaultEntry as U, type PhoneChangeApproval as V, type WaitForPurchaseInput as W, type PhoneChangeDeviceSignal as X, type PurchaseRefusalReason as Y, type Rail as Z, type VerificationMethod as _, type PurchaseStatusResult as a, type AppleProductsResult as a$, type ApplePurchaseResult as a0, type PlatformPurchaseInput as a1, type PlatformPurchaseResult as a2, type PlatformApprovalResult as a3, type PlatformOrderStatusResult as a4, type PlatformPurchaseHistoryQuery as a5, type PlatformPurchaseHistoryResult as a6, type PlatformRefundInput as a7, type PlatformRefundResult as a8, type CreateSubscriptionInput as a9, type ServerConfig as aA, type MintPlayerTokenInput as aB, type PlayerToken as aC, type RegisterPlayerInput as aD, type RegisterPlayerResult as aE, type UpdatePlayerPhoneInput as aF, type UpdatePlayerPhoneResult as aG, type RequestPhoneChangeInput as aH, type RequestPhoneChangeResult as aI, type PhoneChangeRequest as aJ, type InitiateSendInput as aK, type InitiateResult as aL, type InitiateTransferInput as aM, type CreateCheckoutInput as aN, type CreateCheckoutResult as aO, type PurchaseInput as aP, type PurchaseResult as aQ, type CurrencyPurchaseQuoteInput as aR, type CurrencyPurchaseQuote as aS, type ConfirmPaymentResult as aT, type OrderDetailsResult as aU, type SteamPacksQuery as aV, type SteamPacksResult as aW, type SteamInitPurchaseInput as aX, type SteamInitPurchaseResult as aY, type SteamFinalizeInput as aZ, type SteamFinalizeResult as a_, type SubscriptionResult as aa, type GetSubscriptionOptions as ab, type GetSubscriptionResult as ac, type ListSubscriptionsOptions as ad, type SubscriptionListResult as ae, type CancelSubscriptionOptions as af, type CancelResult as ag, type ChangeAmountResult as ah, type SetPaymentMethodInput as ai, type SetPaymentMethodResult as aj, type RefundSubscriptionInput as ak, type RefundResult as al, type SteamSubscriptionInitInput as am, type SteamInitResult as an, type SteamFinalizeSubscriptionResult as ao, type CardSetupSessionInput as ap, type CardSetupSessionResult as aq, type CardSetupInput as ar, type CardSetupResult as as, type CardSetupConfirmInput as at, type CardSetupConfirmResult as au, type PlayerCardsResult as av, type SandboxClockResult as aw, type SandboxFailureOutcome as ax, type SandboxForceFailureOptions as ay, type SandboxForceAuthChallengeOptions as az, type PurchaseCredited as b, type RefundInitiation as b$, type VerifyApplePurchaseInput as b0, type PurchaseItemInput as b1, type PurchaseItemResult as b2, type ItemHistoryQuery as b3, type ItemHistoryResult as b4, type ItemOrderQuery as b5, type PlayerActivityQuery as b6, type PlayerActivityResult as b7, type PlayerActivityEntry as b8, type PlayerBalanceQuery as b9, type CompleteDeviceApprovalResult as bA, type AppleEnvironment as bB, type AppleProduct as bC, type ApplePurchaseStatus as bD, type AppleUnavailableReason as bE, type CardSetupStatus as bF, type CheckoutWarning as bG, type CurrencyBalance as bH, type CurrencyPurchaseQuoteBreakdown as bI, type DeviceApprovalChannel as bJ, type DeviceApprovalEnrollment as bK, type DeviceApprovalFlow as bL, type DeviceApprovalPollStatus as bM, type DeviceEnrollmentDecision as bN, type DeviceEnrollmentRespond as bO, type ExpiryReason as bP, type FeeTakenFrom as bQ, type FirstCharge as bR, type FirstChargeStatus as bS, type FundingSource as bT, type InboundPendingItem as bU, type LinkedIdentityEmail as bV, type MinPurchaseWarning as bW, type PhoneChangeConfirmation as bX, type PhoneChangeRequestStatus as bY, type PlatformPurchaseStatus as bZ, type PlayerActivityType as b_, type PlayerBalanceResult as ba, type InboundPendingQuery as bb, type InboundPendingResult as bc, type LinkedIdentitiesQuery as bd, type LinkedIdentitiesResult as be, type SmsVerifyResult as bf, type ClaimTransferInput as bg, type ClaimResult as bh, type ClaimCurrencyInput as bi, type TransactionStatusResult as bj, type GuardianApprovalStatusResult as bk, type ServerDestinationsQuery as bl, type PhoneShareContact as bm, type PhoneShareInitiateResult as bn, type PhoneShareApproveInput as bo, type PhoneShareApproveResult as bp, type PhoneShareStatusResult as bq, type BeginDeviceApprovalInput as br, type DeviceApprovalGrant as bs, type PollDeviceApprovalInput as bt, type DeviceApprovalPollResult as bu, type ConfirmDeviceEnrollmentInput as bv, type ConfirmDeviceEnrollmentResult as bw, type ApproveWithDeviceCodeInput as bx, type DeviceApprovalSettleResult as by, type CompleteDeviceApprovalInput as bz, type PurchaseExpired as c, type RefundPendingApproval as c0, type RefundProcessingFeeBasis as c1, type RefundReceipt as c2, type RefundRevenueShareAttribution as c3, type RefundWarning as c4, type SandboxClockState as c5, type SavedCard as c6, type SteamPack as c7, type SteamUnavailableReason as c8, type SteamUserSession as c9, type Subscription as ca, type SubscriptionBaseInput as cb, type SubscriptionConsent as cc, type SubscriptionConsentInput as cd, type SubscriptionFundingRail as ce, type SubscriptionInterval as cf, type SubscriptionRevenueShare as cg, type SubscriptionRevenueShareInput as ch, type SubscriptionStatus as ci, type UnacknowledgedPurchaseOutcome as cj, isRefundPendingApproval as ck, type PurchaseRefunded as d, type PurchaseRefused as e, type PurchaseStatusInput as f, type CallOptions as g, type CheckoutMountHandle as h, type ClientConfig as i, type ConfirmReceiptResult as j, type PhoneChangeApprovalsResult as k, type ApprovePhoneChangeInput as l, type ApprovePhoneChangeResult as m, type PendingCollectResult as n, type DestinationsQuery as o, type DestinationsResult as p, type LoyaltyCardsResult as q, type LoyaltyVaultResult as r, type RewardsPageLink as s, type EnrollmentVerifyResult as t, type RecoveryBeginResult as u, type RecoveryCompleteResult as v, type BalanceRow as w, type CheckoutPurchaseStatus as x, type ClaimDelivery as y, type InvoErrorInfo as z };
4070
+ export { type TaxPriceDisplay as $, type ApproveResult as A, type BalanceResult as B, type CheckoutClientConfig as C, type DestinationGame as D, type EnrollmentBeginResult as E, type InvoHooks as F, type InvoRequestInfo as G, Http as H, InvoError as I, type InvoResponseInfo as J, type LoyaltyCard as K, type LinkDeviceResult as L, type MountCheckoutOptions as M, type LoyaltyCardReward as N, type LoyaltyCardStep as O, type PendingCollectItem as P, type LoyaltyRewardState as Q, type RedeemRewardResult as R, type LoyaltyStepProgress as S, type LoyaltyStepState as T, type LoyaltyVaultEntry as U, type PhoneChangeApproval as V, type WaitForPurchaseInput as W, type PhoneChangeDeviceSignal as X, type PurchaseRefusalReason as Y, type Rail as Z, type VerificationMethod as _, type PurchaseStatusResult as a, type SteamFinalizeResult as a$, type AuthHeader as a0, type ApplePurchaseResult as a1, type PlatformPurchaseInput as a2, type PlatformPurchaseResult as a3, type PlatformApprovalResult as a4, type PlatformOrderStatusResult as a5, type PlatformPurchaseHistoryQuery as a6, type PlatformPurchaseHistoryResult as a7, type PlatformRefundInput as a8, type PlatformRefundResult as a9, type SandboxForceAuthChallengeOptions as aA, type ServerConfig as aB, type MintPlayerTokenInput as aC, type PlayerToken as aD, type RegisterPlayerInput as aE, type RegisterPlayerResult as aF, type UpdatePlayerPhoneInput as aG, type UpdatePlayerPhoneResult as aH, type RequestPhoneChangeInput as aI, type RequestPhoneChangeResult as aJ, type PhoneChangeRequest as aK, type InitiateSendInput as aL, type InitiateResult as aM, type InitiateTransferInput as aN, type CreateCheckoutInput as aO, type CreateCheckoutResult as aP, type PurchaseInput as aQ, type PurchaseResult as aR, type CurrencyPurchaseQuoteInput as aS, type CurrencyPurchaseQuote as aT, type ConfirmPaymentResult as aU, type OrderDetailsResult as aV, type SteamPacksQuery as aW, type SteamPacksResult as aX, type SteamInitPurchaseInput as aY, type SteamInitPurchaseResult as aZ, type SteamFinalizeInput as a_, type CreateSubscriptionInput as aa, type SubscriptionResult as ab, type GetSubscriptionOptions as ac, type GetSubscriptionResult as ad, type ListSubscriptionsOptions as ae, type SubscriptionListResult as af, type CancelSubscriptionOptions as ag, type CancelResult as ah, type ChangeAmountResult as ai, type SetPaymentMethodInput as aj, type SetPaymentMethodResult as ak, type RefundSubscriptionInput as al, type RefundResult as am, type SteamSubscriptionInitInput as an, type SteamInitResult as ao, type SteamFinalizeSubscriptionResult as ap, type CardSetupSessionInput as aq, type CardSetupSessionResult as ar, type CardSetupInput as as, type CardSetupResult as at, type CardSetupConfirmInput as au, type CardSetupConfirmResult as av, type PlayerCardsResult as aw, type SandboxClockResult as ax, type SandboxFailureOutcome as ay, type SandboxForceFailureOptions as az, type PurchaseCredited as b, type PlayerActivityType as b$, type AppleProductsResult as b0, type VerifyApplePurchaseInput as b1, type PurchaseItemInput as b2, type PurchaseItemResult as b3, type ItemHistoryQuery as b4, type ItemHistoryResult as b5, type ItemOrderQuery as b6, type PlayerActivityQuery as b7, type PlayerActivityResult as b8, type PlayerActivityEntry as b9, type CompleteDeviceApprovalInput as bA, type CompleteDeviceApprovalResult as bB, type AppleEnvironment as bC, type AppleProduct as bD, type ApplePurchaseStatus as bE, type AppleUnavailableReason as bF, type CardSetupStatus as bG, type CheckoutWarning as bH, type CurrencyBalance as bI, type CurrencyPurchaseQuoteBreakdown as bJ, type DeviceApprovalChannel as bK, type DeviceApprovalEnrollment as bL, type DeviceApprovalFlow as bM, type DeviceApprovalPollStatus as bN, type DeviceEnrollmentDecision as bO, type DeviceEnrollmentRespond as bP, type ExpiryReason as bQ, type FeeTakenFrom as bR, type FirstCharge as bS, type FirstChargeStatus as bT, type FundingSource as bU, type InboundPendingItem as bV, type LinkedIdentityEmail as bW, type MinPurchaseWarning as bX, type PhoneChangeConfirmation as bY, type PhoneChangeRequestStatus as bZ, type PlatformPurchaseStatus as b_, type PlayerBalanceQuery as ba, type PlayerBalanceResult as bb, type InboundPendingQuery as bc, type InboundPendingResult as bd, type LinkedIdentitiesQuery as be, type LinkedIdentitiesResult as bf, type SmsVerifyResult as bg, type ClaimTransferInput as bh, type ClaimResult as bi, type ClaimCurrencyInput as bj, type TransactionStatusResult as bk, type GuardianApprovalStatusResult as bl, type ServerDestinationsQuery as bm, type PhoneShareContact as bn, type PhoneShareInitiateResult as bo, type PhoneShareApproveInput as bp, type PhoneShareApproveResult as bq, type PhoneShareStatusResult as br, type BeginDeviceApprovalInput as bs, type DeviceApprovalGrant as bt, type PollDeviceApprovalInput as bu, type DeviceApprovalPollResult as bv, type ConfirmDeviceEnrollmentInput as bw, type ConfirmDeviceEnrollmentResult as bx, type ApproveWithDeviceCodeInput as by, type DeviceApprovalSettleResult as bz, type PurchaseExpired as c, type RefundInitiation as c0, type RefundPendingApproval as c1, type RefundProcessingFeeBasis as c2, type RefundReceipt as c3, type RefundRevenueShareAttribution as c4, type RefundWarning as c5, type SandboxClockState as c6, type SavedCard as c7, type SteamPack as c8, type SteamUnavailableReason as c9, type SteamUserSession as ca, type Subscription as cb, type SubscriptionBaseInput as cc, type SubscriptionConsent as cd, type SubscriptionConsentInput as ce, type SubscriptionFundingRail as cf, type SubscriptionInterval as cg, type SubscriptionRevenueShare as ch, type SubscriptionRevenueShareInput as ci, type SubscriptionStatus as cj, type UnacknowledgedPurchaseOutcome as ck, isRefundPendingApproval as cl, type PurchaseRefunded as d, type PurchaseRefused as e, type PurchaseStatusInput as f, type CallOptions as g, type CheckoutMountHandle as h, type ClientConfig as i, type ConfirmReceiptResult as j, type PhoneChangeApprovalsResult as k, type ApprovePhoneChangeInput as l, type ApprovePhoneChangeResult as m, type PendingCollectResult as n, type DestinationsQuery as o, type DestinationsResult as p, type LoyaltyCardsResult as q, type LoyaltyVaultResult as r, type RewardsPageLink as s, type EnrollmentVerifyResult as t, type RecoveryBeginResult as u, type RecoveryCompleteResult as v, type BalanceRow as w, type CheckoutPurchaseStatus as x, type ClaimDelivery as y, type InvoErrorInfo as z };
@@ -91,7 +91,11 @@ declare class InvoError extends Error {
91
91
  * - registration/token-mint (phone already on another INVO account), and
92
92
  * - **claim + confirm-receipt** (`claimTransfer`/`claimCurrency`,
93
93
  * `confirmReceiptSend`/`confirmReceiptTransfer`) — the receiver phone is contested,
94
- * so INVO holds the money and texts the phone owner to approve.
94
+ * so INVO holds the money and asks the phone owner to approve.
95
+ *
96
+ * Either way the 409 has already created an approval request and contacted the phone's
97
+ * existing owner: by email when INVO has verified their address, otherwise by a text code
98
+ * (the body's `consent_channel` says which).
95
99
  *
96
100
  * NOT a failure. Show `err.message` verbatim (the backend supplies the user-facing text;
97
101
  * `phoneShareLast4` tells the UI which phone), keep the funds pending, and **retry the same
@@ -103,7 +107,8 @@ declare class InvoError extends Error {
103
107
  get isPhoneShareApprovalRequired(): boolean;
104
108
  /** The `approval_id` from a phone-share 409 body, for `phoneShareApprove`. */
105
109
  get phoneShareApprovalId(): string | undefined;
106
- /** Last 4 digits of the phone that must approve (`phone_last4`), for the UI message. */
110
+ /** Last 4 digits of the phone that must approve (`phone_last4`, a string such as `"4567"`),
111
+ * for the UI message. `undefined` when the body has none (an older server). */
107
112
  get phoneShareLast4(): string | undefined;
108
113
  /**
109
114
  * True if a transfer/send initiate was blocked because it would move more than the player's
@@ -428,6 +433,20 @@ declare class InvoError extends Error {
428
433
  get isTaxPlaceUnavailable(): boolean;
429
434
  /** On `TAX_PLACE_UNAVAILABLE`: the total without tax (`untaxed_total_usd`), decimal string. */
430
435
  get untaxedTotalUsd(): string | undefined;
436
+ /**
437
+ * Additive (3.38.0). True when a Merchant of Record card sale was refused because the buyer is in
438
+ * a country where INVO does not yet sell as Merchant of Record (`SALE_NOT_AVAILABLE_IN_COUNTRY`,
439
+ * 409; today the EU member states until January 1, 2027). NOTHING WAS CHARGED. The body carries
440
+ * `retryable: false`: do not retry, and do not ask for another card (the refusal follows where
441
+ * the buyer is). Show the message (`err.message`), for example "Purchases aren't available in
442
+ * your country yet. Nothing was charged." Returned by the quote, the purchase, hosted checkout
443
+ * and Platform Commerce card purchases. Branch on this, never on a country list.
444
+ * See https://docs.invo.network/docs/merchant-of-record-tax#sale-not-available
445
+ */
446
+ get isSaleNotAvailableInCountry(): boolean;
447
+ /** On `SALE_NOT_AVAILABLE_IN_COUNTRY`: the buyer's country, ISO 3166-1 alpha-2 (`country`), or
448
+ * `undefined` when INVO did not know it. */
449
+ get unavailableCountry(): string | undefined;
431
450
  /**
432
451
  * True if a Platform Commerce refund targeted an order that was already refunded
433
452
  * (409). Idempotent outcome — the original refund did happen, so treat this as
@@ -805,7 +824,10 @@ declare class InvoError extends Error {
805
824
  /**
806
825
  * True when the phone you supplied belongs to another email
807
826
  * (`PHONE_SHARE_APPROVAL_REQUIRED`, 409) on `mintPlayerToken`, `registerPlayer` or
808
- * `updatePlayerPhone`. Nothing was created or changed. The same condition as
827
+ * `updatePlayerPhone`. The phone may be held by a player in any game or by an INVO wallet
828
+ * (including one created in the INVO app). No player was created or changed, but INVO has
829
+ * created an approval request and asked the phone's owner to approve; retry the same call
830
+ * once they have and it succeeds. The same condition as
809
831
  * {@link isPhoneShareApprovalRequired}, named for these registration calls.
810
832
  */
811
833
  get isPhoneShareRefused(): boolean;
@@ -1131,8 +1153,10 @@ interface RegisterPlayerInput {
1131
1153
  }
1132
1154
  /** Result of `InvoServer.registerPlayer`. */
1133
1155
  interface RegisterPlayerResult {
1134
- /** `"created"` (HTTP 201) or `"exists"` (HTTP 200, already in your game with that phone). */
1156
+ /** `"created"` (HTTP 201, new to your game; it may have joined the person's existing INVO
1157
+ * wallet) or `"exists"` (HTTP 200, already in your game with that phone). */
1135
1158
  status: "created" | "exists";
1159
+ /** Derived from the email and phone, so the same `identity_id` other games see for them. */
1136
1160
  identityId: string;
1137
1161
  /** A player token for this player, when INVO can issue one for your game. */
1138
1162
  playerToken?: string;
@@ -1514,6 +1538,29 @@ interface PurchaseResult {
1514
1538
  * `receiptNumber` is.
1515
1539
  */
1516
1540
  receiptUrl?: string;
1541
+ /**
1542
+ * Additive (3.38.0), Merchant of Record only, and ONLY on a sale whose price INCLUDES the tax
1543
+ * (outside the US): `true`. `chargeTotalUsd` is then the listed price the buyer paid, with the
1544
+ * tax inside it. `undefined` on every other purchase, which carries none of the tax fields
1545
+ * below. See https://docs.invo.network/docs/merchant-of-record-tax
1546
+ */
1547
+ taxIncluded?: boolean;
1548
+ /** Additive (3.38.0), tax-inclusive sales only: the tax inside the price (what INVO remits),
1549
+ * for example `"1.67"` on $10.00 at 20%. Equal to {@link taxIncludedUsd}. */
1550
+ taxUsd?: string;
1551
+ /** Additive (3.38.0), tax-inclusive sales only: the tax inside the price. */
1552
+ taxIncludedUsd?: string;
1553
+ /** Additive (3.38.0), tax-inclusive sales only: `"inclusive"`. */
1554
+ taxPriceDisplay?: TaxPriceDisplay;
1555
+ /** Additive (3.38.0), tax-inclusive sales only: where the tax is owed, for example `"GB"`. */
1556
+ taxJurisdiction?: string | null;
1557
+ /** Additive (3.38.0), tax-inclusive sales only: the rate, a decimal string such as `"20"`
1558
+ * (compare as a number). */
1559
+ taxRatePct?: string | null;
1560
+ /** Additive (3.38.0), tax-inclusive sales only: `"VAT"`, `"GST"` or `"tax"`. */
1561
+ taxLabel?: string;
1562
+ /** Additive (3.38.0), tax-inclusive sales only: `"Includes VAT 20% ($1.67)"`, ready to show. */
1563
+ taxLine?: string;
1517
1564
  raw: Record<string, unknown>;
1518
1565
  }
1519
1566
  /**
@@ -1583,8 +1630,35 @@ interface CurrencyPurchaseQuoteBreakdown {
1583
1630
  totalUsd: string;
1584
1631
  coins: string;
1585
1632
  currencyName: string;
1633
+ /**
1634
+ * Additive (3.38.0), Merchant of Record only, and ONLY on a sale whose price INCLUDES the tax
1635
+ * (a registered place outside the US): `true`. The tax is then INSIDE {@link subtotalUsd} (the
1636
+ * listed price), nothing is added on top, and `totalUsd = subtotalUsd + processingFeeUsd`.
1637
+ * Never add `taxUsd` or `taxIncludedUsd` to the price: show `totalUsd`, then {@link taxLine}
1638
+ * beneath it. `undefined` on every other quote (Open, US tax added on top, a place whose
1639
+ * registration is pending, storefront rails). See https://docs.invo.network/docs/merchant-of-record-tax
1640
+ */
1641
+ taxIncluded?: boolean;
1642
+ /** Additive (3.38.0), tax-inclusive sales only: the tax inside the price, for example `"1.67"` on
1643
+ * $10.00 at 20%. What INVO pays to the tax authority. `taxUsd` carries the same figure. */
1644
+ taxIncludedUsd?: string;
1645
+ /** Additive (3.38.0), tax-inclusive sales only: the tax ADDED on top, `"0.00"`. */
1646
+ taxAddedUsd?: string;
1647
+ /** Additive (3.38.0), tax-inclusive sales only: `"VAT"`, `"GST"` or `"tax"`. */
1648
+ taxLabel?: string;
1649
+ /** Additive (3.38.0), tax-inclusive sales only: the sentence to show the buyer, for example
1650
+ * `"Includes VAT 20% ($1.67)"`. */
1651
+ taxLine?: string;
1652
+ /** Additive (3.38.0), tax-inclusive sales only: `"inclusive"`. */
1653
+ taxPriceDisplay?: TaxPriceDisplay;
1586
1654
  raw: Record<string, unknown>;
1587
1655
  }
1656
+ /**
1657
+ * How the tax sits in the price on a Merchant of Record sale: `"inclusive"` (inside the listed
1658
+ * price, outside the US). Widened so a value a later backend adds still compiles; treat an
1659
+ * unknown value as informational.
1660
+ */
1661
+ type TaxPriceDisplay = "inclusive" | "exclusive" | (string & {});
1588
1662
  /**
1589
1663
  * What an UNACKNOWLEDGED purchase of the same amount would do. On INVO's card rail the buyer
1590
1664
  * pays no card fee either way, so this matches the acknowledged outcome apart from any tax.
@@ -2662,14 +2736,20 @@ interface PhoneShareApproveInput {
2662
2736
  otp: string;
2663
2737
  }
2664
2738
  /** Result of `phoneShareApprove`. Known fields are surfaced; the rest stays on `raw`.
2665
- * On success the grant is stored server-side, so the caller simply re-issues the
2666
- * identical original request (the grant is auto-consumed). */
2739
+ * On success the approval is stored server-side, permanently and network-wide (there is
2740
+ * no revoke), so the caller simply re-issues the identical original request.
2741
+ *
2742
+ * The server answers `{ status: "success", approved: true, approval_id, phone,
2743
+ * approved_email, approved_at, message }`; `phone`, `approved_email` and `approved_at`
2744
+ * are read from `raw`. Approving an already approved request returns the same body. */
2667
2745
  interface PhoneShareApproveResult {
2746
+ /** `approval_id`. */
2668
2747
  approvalId?: string;
2669
- /** true once the share is approved. */
2748
+ /** `approved`: `true` on success. `undefined` from an older server that did not send it. */
2670
2749
  approved?: boolean;
2671
- /** true when the pair was already approved before this call. */
2750
+ /** Not sent by the approve endpoint (always `undefined` there); kept for compatibility. */
2672
2751
  alreadyApproved?: boolean;
2752
+ /** Not sent by the approve endpoint (always `undefined` there); kept for compatibility. */
2673
2753
  expiresAt?: string;
2674
2754
  raw: Record<string, unknown>;
2675
2755
  }
@@ -3987,4 +4067,4 @@ interface RewardsPageLink {
3987
4067
  raw: Record<string, unknown>;
3988
4068
  }
3989
4069
 
3990
- export { type AuthHeader as $, type ApproveResult as A, type BalanceResult as B, type CheckoutClientConfig as C, type DestinationGame as D, type EnrollmentBeginResult as E, type InvoHooks as F, type InvoRequestInfo as G, Http as H, InvoError as I, type InvoResponseInfo as J, type LoyaltyCard as K, type LinkDeviceResult as L, type MountCheckoutOptions as M, type LoyaltyCardReward as N, type LoyaltyCardStep as O, type PendingCollectItem as P, type LoyaltyRewardState as Q, type RedeemRewardResult as R, type LoyaltyStepProgress as S, type LoyaltyStepState as T, type LoyaltyVaultEntry as U, type PhoneChangeApproval as V, type WaitForPurchaseInput as W, type PhoneChangeDeviceSignal as X, type PurchaseRefusalReason as Y, type Rail as Z, type VerificationMethod as _, type PurchaseStatusResult as a, type AppleProductsResult as a$, type ApplePurchaseResult as a0, type PlatformPurchaseInput as a1, type PlatformPurchaseResult as a2, type PlatformApprovalResult as a3, type PlatformOrderStatusResult as a4, type PlatformPurchaseHistoryQuery as a5, type PlatformPurchaseHistoryResult as a6, type PlatformRefundInput as a7, type PlatformRefundResult as a8, type CreateSubscriptionInput as a9, type ServerConfig as aA, type MintPlayerTokenInput as aB, type PlayerToken as aC, type RegisterPlayerInput as aD, type RegisterPlayerResult as aE, type UpdatePlayerPhoneInput as aF, type UpdatePlayerPhoneResult as aG, type RequestPhoneChangeInput as aH, type RequestPhoneChangeResult as aI, type PhoneChangeRequest as aJ, type InitiateSendInput as aK, type InitiateResult as aL, type InitiateTransferInput as aM, type CreateCheckoutInput as aN, type CreateCheckoutResult as aO, type PurchaseInput as aP, type PurchaseResult as aQ, type CurrencyPurchaseQuoteInput as aR, type CurrencyPurchaseQuote as aS, type ConfirmPaymentResult as aT, type OrderDetailsResult as aU, type SteamPacksQuery as aV, type SteamPacksResult as aW, type SteamInitPurchaseInput as aX, type SteamInitPurchaseResult as aY, type SteamFinalizeInput as aZ, type SteamFinalizeResult as a_, type SubscriptionResult as aa, type GetSubscriptionOptions as ab, type GetSubscriptionResult as ac, type ListSubscriptionsOptions as ad, type SubscriptionListResult as ae, type CancelSubscriptionOptions as af, type CancelResult as ag, type ChangeAmountResult as ah, type SetPaymentMethodInput as ai, type SetPaymentMethodResult as aj, type RefundSubscriptionInput as ak, type RefundResult as al, type SteamSubscriptionInitInput as am, type SteamInitResult as an, type SteamFinalizeSubscriptionResult as ao, type CardSetupSessionInput as ap, type CardSetupSessionResult as aq, type CardSetupInput as ar, type CardSetupResult as as, type CardSetupConfirmInput as at, type CardSetupConfirmResult as au, type PlayerCardsResult as av, type SandboxClockResult as aw, type SandboxFailureOutcome as ax, type SandboxForceFailureOptions as ay, type SandboxForceAuthChallengeOptions as az, type PurchaseCredited as b, type RefundInitiation as b$, type VerifyApplePurchaseInput as b0, type PurchaseItemInput as b1, type PurchaseItemResult as b2, type ItemHistoryQuery as b3, type ItemHistoryResult as b4, type ItemOrderQuery as b5, type PlayerActivityQuery as b6, type PlayerActivityResult as b7, type PlayerActivityEntry as b8, type PlayerBalanceQuery as b9, type CompleteDeviceApprovalResult as bA, type AppleEnvironment as bB, type AppleProduct as bC, type ApplePurchaseStatus as bD, type AppleUnavailableReason as bE, type CardSetupStatus as bF, type CheckoutWarning as bG, type CurrencyBalance as bH, type CurrencyPurchaseQuoteBreakdown as bI, type DeviceApprovalChannel as bJ, type DeviceApprovalEnrollment as bK, type DeviceApprovalFlow as bL, type DeviceApprovalPollStatus as bM, type DeviceEnrollmentDecision as bN, type DeviceEnrollmentRespond as bO, type ExpiryReason as bP, type FeeTakenFrom as bQ, type FirstCharge as bR, type FirstChargeStatus as bS, type FundingSource as bT, type InboundPendingItem as bU, type LinkedIdentityEmail as bV, type MinPurchaseWarning as bW, type PhoneChangeConfirmation as bX, type PhoneChangeRequestStatus as bY, type PlatformPurchaseStatus as bZ, type PlayerActivityType as b_, type PlayerBalanceResult as ba, type InboundPendingQuery as bb, type InboundPendingResult as bc, type LinkedIdentitiesQuery as bd, type LinkedIdentitiesResult as be, type SmsVerifyResult as bf, type ClaimTransferInput as bg, type ClaimResult as bh, type ClaimCurrencyInput as bi, type TransactionStatusResult as bj, type GuardianApprovalStatusResult as bk, type ServerDestinationsQuery as bl, type PhoneShareContact as bm, type PhoneShareInitiateResult as bn, type PhoneShareApproveInput as bo, type PhoneShareApproveResult as bp, type PhoneShareStatusResult as bq, type BeginDeviceApprovalInput as br, type DeviceApprovalGrant as bs, type PollDeviceApprovalInput as bt, type DeviceApprovalPollResult as bu, type ConfirmDeviceEnrollmentInput as bv, type ConfirmDeviceEnrollmentResult as bw, type ApproveWithDeviceCodeInput as bx, type DeviceApprovalSettleResult as by, type CompleteDeviceApprovalInput as bz, type PurchaseExpired as c, type RefundPendingApproval as c0, type RefundProcessingFeeBasis as c1, type RefundReceipt as c2, type RefundRevenueShareAttribution as c3, type RefundWarning as c4, type SandboxClockState as c5, type SavedCard as c6, type SteamPack as c7, type SteamUnavailableReason as c8, type SteamUserSession as c9, type Subscription as ca, type SubscriptionBaseInput as cb, type SubscriptionConsent as cc, type SubscriptionConsentInput as cd, type SubscriptionFundingRail as ce, type SubscriptionInterval as cf, type SubscriptionRevenueShare as cg, type SubscriptionRevenueShareInput as ch, type SubscriptionStatus as ci, type UnacknowledgedPurchaseOutcome as cj, isRefundPendingApproval as ck, type PurchaseRefunded as d, type PurchaseRefused as e, type PurchaseStatusInput as f, type CallOptions as g, type CheckoutMountHandle as h, type ClientConfig as i, type ConfirmReceiptResult as j, type PhoneChangeApprovalsResult as k, type ApprovePhoneChangeInput as l, type ApprovePhoneChangeResult as m, type PendingCollectResult as n, type DestinationsQuery as o, type DestinationsResult as p, type LoyaltyCardsResult as q, type LoyaltyVaultResult as r, type RewardsPageLink as s, type EnrollmentVerifyResult as t, type RecoveryBeginResult as u, type RecoveryCompleteResult as v, type BalanceRow as w, type CheckoutPurchaseStatus as x, type ClaimDelivery as y, type InvoErrorInfo as z };
4070
+ export { type TaxPriceDisplay as $, type ApproveResult as A, type BalanceResult as B, type CheckoutClientConfig as C, type DestinationGame as D, type EnrollmentBeginResult as E, type InvoHooks as F, type InvoRequestInfo as G, Http as H, InvoError as I, type InvoResponseInfo as J, type LoyaltyCard as K, type LinkDeviceResult as L, type MountCheckoutOptions as M, type LoyaltyCardReward as N, type LoyaltyCardStep as O, type PendingCollectItem as P, type LoyaltyRewardState as Q, type RedeemRewardResult as R, type LoyaltyStepProgress as S, type LoyaltyStepState as T, type LoyaltyVaultEntry as U, type PhoneChangeApproval as V, type WaitForPurchaseInput as W, type PhoneChangeDeviceSignal as X, type PurchaseRefusalReason as Y, type Rail as Z, type VerificationMethod as _, type PurchaseStatusResult as a, type SteamFinalizeResult as a$, type AuthHeader as a0, type ApplePurchaseResult as a1, type PlatformPurchaseInput as a2, type PlatformPurchaseResult as a3, type PlatformApprovalResult as a4, type PlatformOrderStatusResult as a5, type PlatformPurchaseHistoryQuery as a6, type PlatformPurchaseHistoryResult as a7, type PlatformRefundInput as a8, type PlatformRefundResult as a9, type SandboxForceAuthChallengeOptions as aA, type ServerConfig as aB, type MintPlayerTokenInput as aC, type PlayerToken as aD, type RegisterPlayerInput as aE, type RegisterPlayerResult as aF, type UpdatePlayerPhoneInput as aG, type UpdatePlayerPhoneResult as aH, type RequestPhoneChangeInput as aI, type RequestPhoneChangeResult as aJ, type PhoneChangeRequest as aK, type InitiateSendInput as aL, type InitiateResult as aM, type InitiateTransferInput as aN, type CreateCheckoutInput as aO, type CreateCheckoutResult as aP, type PurchaseInput as aQ, type PurchaseResult as aR, type CurrencyPurchaseQuoteInput as aS, type CurrencyPurchaseQuote as aT, type ConfirmPaymentResult as aU, type OrderDetailsResult as aV, type SteamPacksQuery as aW, type SteamPacksResult as aX, type SteamInitPurchaseInput as aY, type SteamInitPurchaseResult as aZ, type SteamFinalizeInput as a_, type CreateSubscriptionInput as aa, type SubscriptionResult as ab, type GetSubscriptionOptions as ac, type GetSubscriptionResult as ad, type ListSubscriptionsOptions as ae, type SubscriptionListResult as af, type CancelSubscriptionOptions as ag, type CancelResult as ah, type ChangeAmountResult as ai, type SetPaymentMethodInput as aj, type SetPaymentMethodResult as ak, type RefundSubscriptionInput as al, type RefundResult as am, type SteamSubscriptionInitInput as an, type SteamInitResult as ao, type SteamFinalizeSubscriptionResult as ap, type CardSetupSessionInput as aq, type CardSetupSessionResult as ar, type CardSetupInput as as, type CardSetupResult as at, type CardSetupConfirmInput as au, type CardSetupConfirmResult as av, type PlayerCardsResult as aw, type SandboxClockResult as ax, type SandboxFailureOutcome as ay, type SandboxForceFailureOptions as az, type PurchaseCredited as b, type PlayerActivityType as b$, type AppleProductsResult as b0, type VerifyApplePurchaseInput as b1, type PurchaseItemInput as b2, type PurchaseItemResult as b3, type ItemHistoryQuery as b4, type ItemHistoryResult as b5, type ItemOrderQuery as b6, type PlayerActivityQuery as b7, type PlayerActivityResult as b8, type PlayerActivityEntry as b9, type CompleteDeviceApprovalInput as bA, type CompleteDeviceApprovalResult as bB, type AppleEnvironment as bC, type AppleProduct as bD, type ApplePurchaseStatus as bE, type AppleUnavailableReason as bF, type CardSetupStatus as bG, type CheckoutWarning as bH, type CurrencyBalance as bI, type CurrencyPurchaseQuoteBreakdown as bJ, type DeviceApprovalChannel as bK, type DeviceApprovalEnrollment as bL, type DeviceApprovalFlow as bM, type DeviceApprovalPollStatus as bN, type DeviceEnrollmentDecision as bO, type DeviceEnrollmentRespond as bP, type ExpiryReason as bQ, type FeeTakenFrom as bR, type FirstCharge as bS, type FirstChargeStatus as bT, type FundingSource as bU, type InboundPendingItem as bV, type LinkedIdentityEmail as bW, type MinPurchaseWarning as bX, type PhoneChangeConfirmation as bY, type PhoneChangeRequestStatus as bZ, type PlatformPurchaseStatus as b_, type PlayerBalanceQuery as ba, type PlayerBalanceResult as bb, type InboundPendingQuery as bc, type InboundPendingResult as bd, type LinkedIdentitiesQuery as be, type LinkedIdentitiesResult as bf, type SmsVerifyResult as bg, type ClaimTransferInput as bh, type ClaimResult as bi, type ClaimCurrencyInput as bj, type TransactionStatusResult as bk, type GuardianApprovalStatusResult as bl, type ServerDestinationsQuery as bm, type PhoneShareContact as bn, type PhoneShareInitiateResult as bo, type PhoneShareApproveInput as bp, type PhoneShareApproveResult as bq, type PhoneShareStatusResult as br, type BeginDeviceApprovalInput as bs, type DeviceApprovalGrant as bt, type PollDeviceApprovalInput as bu, type DeviceApprovalPollResult as bv, type ConfirmDeviceEnrollmentInput as bw, type ConfirmDeviceEnrollmentResult as bx, type ApproveWithDeviceCodeInput as by, type DeviceApprovalSettleResult as bz, type PurchaseExpired as c, type RefundInitiation as c0, type RefundPendingApproval as c1, type RefundProcessingFeeBasis as c2, type RefundReceipt as c3, type RefundRevenueShareAttribution as c4, type RefundWarning as c5, type SandboxClockState as c6, type SavedCard as c7, type SteamPack as c8, type SteamUnavailableReason as c9, type SteamUserSession as ca, type Subscription as cb, type SubscriptionBaseInput as cc, type SubscriptionConsent as cd, type SubscriptionConsentInput as ce, type SubscriptionFundingRail as cf, type SubscriptionInterval as cg, type SubscriptionRevenueShare as ch, type SubscriptionRevenueShareInput as ci, type SubscriptionStatus as cj, type UnacknowledgedPurchaseOutcome as ck, isRefundPendingApproval as cl, type PurchaseRefunded as d, type PurchaseRefused as e, type PurchaseStatusInput as f, type CallOptions as g, type CheckoutMountHandle as h, type ClientConfig as i, type ConfirmReceiptResult as j, type PhoneChangeApprovalsResult as k, type ApprovePhoneChangeInput as l, type ApprovePhoneChangeResult as m, type PendingCollectResult as n, type DestinationsQuery as o, type DestinationsResult as p, type LoyaltyCardsResult as q, type LoyaltyVaultResult as r, type RewardsPageLink as s, type EnrollmentVerifyResult as t, type RecoveryBeginResult as u, type RecoveryCompleteResult as v, type BalanceRow as w, type CheckoutPurchaseStatus as x, type ClaimDelivery as y, type InvoErrorInfo as z };
@@ -3,6 +3,6 @@
3
3
  * `package.json` so it cannot drift silently (it did: the UA read 3.0.0 through 3.7.0).
4
4
  * Bump it with the changeset flow.
5
5
  */
6
- declare const SDK_VERSION = "3.37.0";
6
+ declare const SDK_VERSION = "3.38.0";
7
7
 
8
8
  export { SDK_VERSION as S };
@@ -3,6 +3,6 @@
3
3
  * `package.json` so it cannot drift silently (it did: the UA read 3.0.0 through 3.7.0).
4
4
  * Bump it with the changeset flow.
5
5
  */
6
- declare const SDK_VERSION = "3.37.0";
6
+ declare const SDK_VERSION = "3.38.0";
7
7
 
8
8
  export { SDK_VERSION as S };