@invonetwork/web-sdk 3.37.1 → 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.
@@ -1,6 +1,6 @@
1
- import { I as InvoError, H as Http, $ as AuthHeader, g as CallOptions, a0 as ApplePurchaseResult, a1 as PlatformPurchaseInput, a2 as PlatformPurchaseResult, a3 as PlatformApprovalResult, a4 as PlatformOrderStatusResult, a5 as PlatformPurchaseHistoryQuery, a6 as PlatformPurchaseHistoryResult, a7 as PlatformRefundInput, a8 as PlatformRefundResult, a9 as CreateSubscriptionInput, aa as SubscriptionResult, ab as GetSubscriptionOptions, ac as GetSubscriptionResult, ad as ListSubscriptionsOptions, ae as SubscriptionListResult, af as CancelSubscriptionOptions, ag as CancelResult, ah as ChangeAmountResult, ai as SetPaymentMethodInput, aj as SetPaymentMethodResult, ak as RefundSubscriptionInput, al as RefundResult, am as SteamSubscriptionInitInput, an as SteamInitResult, ao as SteamFinalizeSubscriptionResult, ap as CardSetupSessionInput, aq as CardSetupSessionResult, ar as CardSetupInput, as as CardSetupResult, at as CardSetupConfirmInput, au as CardSetupConfirmResult, av as PlayerCardsResult, aw as SandboxClockResult, ax as SandboxFailureOutcome, ay as SandboxForceFailureOptions, az as SandboxForceAuthChallengeOptions, aA as ServerConfig, aB as MintPlayerTokenInput, aC as PlayerToken, aD as RegisterPlayerInput, aE as RegisterPlayerResult, aF as UpdatePlayerPhoneInput, aG as UpdatePlayerPhoneResult, aH as RequestPhoneChangeInput, aI as RequestPhoneChangeResult, aJ as PhoneChangeRequest, aK as InitiateSendInput, aL as InitiateResult, aM as InitiateTransferInput, aN as CreateCheckoutInput, aO as CreateCheckoutResult, a as PurchaseStatusResult, aP as PurchaseInput, aQ as PurchaseResult, aR as CurrencyPurchaseQuoteInput, aS as CurrencyPurchaseQuote, aT as ConfirmPaymentResult, aU as OrderDetailsResult, aV as SteamPacksQuery, aW as SteamPacksResult, aX as SteamInitPurchaseInput, aY as SteamInitPurchaseResult, aZ as SteamFinalizeInput, a_ as SteamFinalizeResult, a$ as AppleProductsResult, b0 as VerifyApplePurchaseInput, b1 as PurchaseItemInput, b2 as PurchaseItemResult, b3 as ItemHistoryQuery, b4 as ItemHistoryResult, b5 as ItemOrderQuery, b6 as PlayerActivityQuery, b7 as PlayerActivityResult, b8 as PlayerActivityEntry, b9 as PlayerBalanceQuery, ba as PlayerBalanceResult, q as LoyaltyCardsResult, bb as InboundPendingQuery, bc as InboundPendingResult, bd as LinkedIdentitiesQuery, be as LinkedIdentitiesResult, bf as SmsVerifyResult, bg as ClaimTransferInput, bh as ClaimResult, bi as ClaimCurrencyInput, bj as TransactionStatusResult, bk as GuardianApprovalStatusResult, bl as ServerDestinationsQuery, p as DestinationsResult, bm as PhoneShareContact, bn as PhoneShareInitiateResult, bo as PhoneShareApproveInput, bp as PhoneShareApproveResult, bq as PhoneShareStatusResult, br as BeginDeviceApprovalInput, bs as DeviceApprovalGrant, bt as PollDeviceApprovalInput, bu as DeviceApprovalPollResult, bv as ConfirmDeviceEnrollmentInput, bw as ConfirmDeviceEnrollmentResult, bx as ApproveWithDeviceCodeInput, by as DeviceApprovalSettleResult, bz as CompleteDeviceApprovalInput, bA as CompleteDeviceApprovalResult } from './types-IRNjMV47.cjs';
1
+ import { $ as TaxPriceDisplay, I as InvoError, H as Http, a0 as AuthHeader, g as CallOptions, a1 as ApplePurchaseResult, a2 as PlatformPurchaseInput, a3 as PlatformPurchaseResult, a4 as PlatformApprovalResult, a5 as PlatformOrderStatusResult, a6 as PlatformPurchaseHistoryQuery, a7 as PlatformPurchaseHistoryResult, a8 as PlatformRefundInput, a9 as PlatformRefundResult, aa as CreateSubscriptionInput, ab as SubscriptionResult, ac as GetSubscriptionOptions, ad as GetSubscriptionResult, ae as ListSubscriptionsOptions, af as SubscriptionListResult, ag as CancelSubscriptionOptions, ah as CancelResult, ai as ChangeAmountResult, aj as SetPaymentMethodInput, ak as SetPaymentMethodResult, al as RefundSubscriptionInput, am as RefundResult, an as SteamSubscriptionInitInput, ao as SteamInitResult, ap as SteamFinalizeSubscriptionResult, aq as CardSetupSessionInput, ar as CardSetupSessionResult, as as CardSetupInput, at as CardSetupResult, au as CardSetupConfirmInput, av as CardSetupConfirmResult, aw as PlayerCardsResult, ax as SandboxClockResult, ay as SandboxFailureOutcome, az as SandboxForceFailureOptions, aA as SandboxForceAuthChallengeOptions, aB as ServerConfig, aC as MintPlayerTokenInput, aD as PlayerToken, aE as RegisterPlayerInput, aF as RegisterPlayerResult, aG as UpdatePlayerPhoneInput, aH as UpdatePlayerPhoneResult, aI as RequestPhoneChangeInput, aJ as RequestPhoneChangeResult, aK as PhoneChangeRequest, aL as InitiateSendInput, aM as InitiateResult, aN as InitiateTransferInput, aO as CreateCheckoutInput, aP as CreateCheckoutResult, a as PurchaseStatusResult, aQ as PurchaseInput, aR as PurchaseResult, aS as CurrencyPurchaseQuoteInput, aT as CurrencyPurchaseQuote, aU as ConfirmPaymentResult, aV as OrderDetailsResult, aW as SteamPacksQuery, aX as SteamPacksResult, aY as SteamInitPurchaseInput, aZ as SteamInitPurchaseResult, a_ as SteamFinalizeInput, a$ as SteamFinalizeResult, b0 as AppleProductsResult, b1 as VerifyApplePurchaseInput, b2 as PurchaseItemInput, b3 as PurchaseItemResult, b4 as ItemHistoryQuery, b5 as ItemHistoryResult, b6 as ItemOrderQuery, b7 as PlayerActivityQuery, b8 as PlayerActivityResult, b9 as PlayerActivityEntry, ba as PlayerBalanceQuery, bb as PlayerBalanceResult, q as LoyaltyCardsResult, bc as InboundPendingQuery, bd as InboundPendingResult, be as LinkedIdentitiesQuery, bf as LinkedIdentitiesResult, bg as SmsVerifyResult, bh as ClaimTransferInput, bi as ClaimResult, bj as ClaimCurrencyInput, bk as TransactionStatusResult, bl as GuardianApprovalStatusResult, bm as ServerDestinationsQuery, p as DestinationsResult, bn as PhoneShareContact, bo as PhoneShareInitiateResult, bp as PhoneShareApproveInput, bq as PhoneShareApproveResult, br as PhoneShareStatusResult, bs as BeginDeviceApprovalInput, bt as DeviceApprovalGrant, bu as PollDeviceApprovalInput, bv as DeviceApprovalPollResult, bw as ConfirmDeviceEnrollmentInput, bx as ConfirmDeviceEnrollmentResult, by as ApproveWithDeviceCodeInput, bz as DeviceApprovalSettleResult, bA as CompleteDeviceApprovalInput, bB as CompleteDeviceApprovalResult } from './types-DGgWWX1v.cjs';
2
2
  import { b as ReportServerGameEventInput, a as ReportGameEventResult } from './loyalty-events-CmDw2ZoR.cjs';
3
- import './version-BIHJFKuj.cjs';
3
+ import './version-D_cJUvMp.cjs';
4
4
 
5
5
  /**
6
6
  * Pick the INVO environment from the game secret alone (3.28.0).
@@ -169,6 +169,22 @@ interface PurchaseCompletedData {
169
169
  * Card purchases only; absent and `null` on the same terms as `partner_fee_usd`.
170
170
  */
171
171
  international_card_fee_usd?: string | null;
172
+ /** What the card was charged, tax included, USD decimal string. */
173
+ charge_total_usd?: string | null;
174
+ /** `charge_total_usd` less the tax. On a tax-inclusive sale this is the NET price
175
+ * ($10.00 UK sale at 20%: `"8.33"`). */
176
+ subtotal_usd?: string | null;
177
+ /** The consumption tax INVO remits on this sale, USD decimal string (`"0.00"` when none). */
178
+ tax_usd?: string;
179
+ /** Where the tax is owed (for example `"GB"`, `"US-CA"`), or `null`. */
180
+ tax_jurisdiction?: string | null;
181
+ /** The rate applied, decimal string (compare as a number), or `null`. */
182
+ tax_rate_pct?: string | null;
183
+ /** Additive (3.38.0), Merchant of Record, tax-inclusive sales only: `"inclusive"` (the tax is
184
+ * INSIDE the price the buyer paid; nothing was added). Absent otherwise. See https://docs.invo.network/docs/merchant-of-record-tax */
185
+ tax_price_display?: TaxPriceDisplay;
186
+ /** Additive (3.38.0), tax-inclusive sales only: `true`. Absent otherwise. */
187
+ tax_included?: boolean;
172
188
  /**
173
189
  * Additive (3.35.0), Apple rail only (`rail: "apple"`, `channel: "ios"`): the verified App
174
190
  * Store transaction. `usd_amount` is what the player paid in USD (exact on a USD storefront;
@@ -182,6 +198,15 @@ interface PurchaseEventData {
182
198
  order_id?: string;
183
199
  player_email?: string;
184
200
  identity_id?: string;
201
+ /** On purchase.refunded: the tax returned to the buyer so far, USD decimal string. On a
202
+ * tax-inclusive sale it is the tax inside the refunded price. */
203
+ tax_refunded_usd?: string;
204
+ /** On purchase.refunded: where the tax was owed, or `null`. */
205
+ tax_jurisdiction?: string | null;
206
+ /** Additive (3.38.0), on purchase.refunded for a tax-inclusive sale only: `true`. */
207
+ tax_included?: boolean;
208
+ /** Additive (3.38.0), on purchase.refunded for a tax-inclusive sale only: `"inclusive"`. See https://docs.invo.network/docs/merchant-of-record-tax */
209
+ tax_price_display?: TaxPriceDisplay;
185
210
  /** Present on purchase.disputed, e.g. "lost". */
186
211
  dispute_status?: string;
187
212
  /**
@@ -336,8 +361,24 @@ interface PlatformCommercePurchasedData {
336
361
  * Since the 2026-09 pricing it also carries `international_card_fee_usd` (the part of
337
362
  * `platform_fee` that is the international card fee, `"0.00"` on a US card and on the
338
363
  * balance leg), so the card rate part is `platform_fee - international_card_fee_usd`.
364
+ * Additive (3.38.0), Merchant of Record: `tax_set_aside_usd` when the price contained tax (a
365
+ * tax-inclusive sale, or a place whose registration is pending): the tax taken out of the price
366
+ * before the fee and your share were worked out; `total_paid` is then the net. See https://docs.invo.network/docs/merchant-of-record-tax
339
367
  */
340
368
  fee_breakdown?: Record<string, unknown>;
369
+ /** Card leg: the sale less any tax (on a tax-inclusive sale, the net price). */
370
+ item_price_usd?: string;
371
+ /** Card leg: the tax INVO remits on the sale (`"0.00"` when none). On a tax-inclusive sale,
372
+ * the tax inside `total_price_usd`. */
373
+ tax_usd?: string;
374
+ /** Card leg: where the tax is owed, or `null`. */
375
+ tax_jurisdiction?: string | null;
376
+ /** Additive (3.38.0), tax-inclusive card sales only: `"inclusive"`. */
377
+ tax_price_display?: TaxPriceDisplay;
378
+ /** Additive (3.38.0), tax-inclusive card sales only: `true`. */
379
+ tax_included?: boolean;
380
+ /** Additive (3.38.0), tax-inclusive card sales only: the rate, decimal string, or `null`. */
381
+ tax_rate_pct?: string | null;
341
382
  /**
342
383
  * Additive (2026-09 pricing). The international card fee on this sale, USD decimal string:
343
384
  * 1.5% of the listed price (before tax) on a card issued outside the US, `"0.00"` otherwise
@@ -376,6 +417,15 @@ interface PlatformCommerceRefundedData {
376
417
  receipt_number?: string;
377
418
  /** Merchant of Record only: link to the printable refund receipt page. */
378
419
  receipt_url?: string;
420
+ /** The tax returned to the buyer by this refund, USD decimal string (`"0.00"` on the balance
421
+ * leg). On a tax-inclusive sale, the tax inside the refunded price. */
422
+ tax_refunded_usd?: string;
423
+ /** Where the tax was owed, or `null`. */
424
+ tax_jurisdiction?: string | null;
425
+ /** Additive (3.38.0), tax-inclusive card sales only: `true`. */
426
+ tax_included?: boolean;
427
+ /** Additive (3.38.0), tax-inclusive card sales only: `"inclusive"`. */
428
+ tax_price_display?: TaxPriceDisplay;
379
429
  /**
380
430
  * Additive (2026-09 pricing), card refunds only: the part of INVO's card fee on this refund
381
431
  * that stays charged to you, USD decimal string. The card fee is not returned on a refund.
@@ -597,6 +647,22 @@ interface SubscriptionRenewalFunding {
597
647
  steam_charged_usd: string;
598
648
  minted_coins: string;
599
649
  new_balance: string;
650
+ /** Card rail: the tax ADDED on top of the price (US sales), USD decimal string. `"0.00"` on a
651
+ * tax-inclusive renewal, where the tax is inside the price instead. */
652
+ tax_usd?: string;
653
+ /** Card rail: what the card was authorised for (the price plus any tax added on top). */
654
+ card_authorised_usd?: string;
655
+ /** Card rail: where the tax is owed, or `null`. */
656
+ tax_jurisdiction?: string | null;
657
+ /** Additive (3.38.0), Merchant of Record tax-inclusive renewals only: the tax INSIDE
658
+ * `card_charged_usd`, for example `"1.67"` on $10.00 at 20%. See https://docs.invo.network/docs/merchant-of-record-tax */
659
+ tax_included_usd?: string;
660
+ /** Additive (3.38.0), tax-inclusive renewals only: `true`. */
661
+ tax_included?: boolean;
662
+ /** Additive (3.38.0), tax-inclusive renewals only: `"inclusive"`. */
663
+ tax_price_display?: TaxPriceDisplay;
664
+ /** Additive (3.38.0), tax-inclusive renewals only: the rate, decimal string, or `null`. */
665
+ tax_rate_pct?: string | null;
600
666
  [key: string]: unknown;
601
667
  }
602
668
  /**
@@ -1952,8 +2018,14 @@ declare class InvoServer {
1952
2018
  * accepted. Card purchases only; purchases through a third-party storefront or payment
1953
2019
  * rail are unaffected.
1954
2020
  *
2021
+ * Merchant of Record: in the US tax is added on top (`totalUsd` above the price); outside the
2022
+ * US the price includes the tax, and `breakdown.taxIncluded` is `true` with
2023
+ * `breakdown.taxLine` ("Includes VAT 20% ($1.67)") to show under `totalUsd`.
2024
+ *
1955
2025
  * Refusals: `400 INVALID_INPUT` (amount missing, not above zero, or above INVO's card
1956
- * maximum), `400 CURRENCY_NOT_CONFIGURED`, `503 RATE_UNAVAILABLE`.
2026
+ * maximum), `400 CURRENCY_NOT_CONFIGURED`, `503 RATE_UNAVAILABLE`, and on Merchant of Record
2027
+ * `409 SALE_NOT_AVAILABLE_IN_COUNTRY` (`err.isSaleNotAvailableInCountry`) for a buyer in a
2028
+ * country where INVO does not yet sell as Merchant of Record.
1957
2029
  */
1958
2030
  quoteCurrencyPurchase(input: CurrencyPurchaseQuoteInput, opts?: CallOptions): Promise<CurrencyPurchaseQuote>;
1959
2031
  /**
@@ -1,6 +1,6 @@
1
- import { I as InvoError, H as Http, $ as AuthHeader, g as CallOptions, a0 as ApplePurchaseResult, a1 as PlatformPurchaseInput, a2 as PlatformPurchaseResult, a3 as PlatformApprovalResult, a4 as PlatformOrderStatusResult, a5 as PlatformPurchaseHistoryQuery, a6 as PlatformPurchaseHistoryResult, a7 as PlatformRefundInput, a8 as PlatformRefundResult, a9 as CreateSubscriptionInput, aa as SubscriptionResult, ab as GetSubscriptionOptions, ac as GetSubscriptionResult, ad as ListSubscriptionsOptions, ae as SubscriptionListResult, af as CancelSubscriptionOptions, ag as CancelResult, ah as ChangeAmountResult, ai as SetPaymentMethodInput, aj as SetPaymentMethodResult, ak as RefundSubscriptionInput, al as RefundResult, am as SteamSubscriptionInitInput, an as SteamInitResult, ao as SteamFinalizeSubscriptionResult, ap as CardSetupSessionInput, aq as CardSetupSessionResult, ar as CardSetupInput, as as CardSetupResult, at as CardSetupConfirmInput, au as CardSetupConfirmResult, av as PlayerCardsResult, aw as SandboxClockResult, ax as SandboxFailureOutcome, ay as SandboxForceFailureOptions, az as SandboxForceAuthChallengeOptions, aA as ServerConfig, aB as MintPlayerTokenInput, aC as PlayerToken, aD as RegisterPlayerInput, aE as RegisterPlayerResult, aF as UpdatePlayerPhoneInput, aG as UpdatePlayerPhoneResult, aH as RequestPhoneChangeInput, aI as RequestPhoneChangeResult, aJ as PhoneChangeRequest, aK as InitiateSendInput, aL as InitiateResult, aM as InitiateTransferInput, aN as CreateCheckoutInput, aO as CreateCheckoutResult, a as PurchaseStatusResult, aP as PurchaseInput, aQ as PurchaseResult, aR as CurrencyPurchaseQuoteInput, aS as CurrencyPurchaseQuote, aT as ConfirmPaymentResult, aU as OrderDetailsResult, aV as SteamPacksQuery, aW as SteamPacksResult, aX as SteamInitPurchaseInput, aY as SteamInitPurchaseResult, aZ as SteamFinalizeInput, a_ as SteamFinalizeResult, a$ as AppleProductsResult, b0 as VerifyApplePurchaseInput, b1 as PurchaseItemInput, b2 as PurchaseItemResult, b3 as ItemHistoryQuery, b4 as ItemHistoryResult, b5 as ItemOrderQuery, b6 as PlayerActivityQuery, b7 as PlayerActivityResult, b8 as PlayerActivityEntry, b9 as PlayerBalanceQuery, ba as PlayerBalanceResult, q as LoyaltyCardsResult, bb as InboundPendingQuery, bc as InboundPendingResult, bd as LinkedIdentitiesQuery, be as LinkedIdentitiesResult, bf as SmsVerifyResult, bg as ClaimTransferInput, bh as ClaimResult, bi as ClaimCurrencyInput, bj as TransactionStatusResult, bk as GuardianApprovalStatusResult, bl as ServerDestinationsQuery, p as DestinationsResult, bm as PhoneShareContact, bn as PhoneShareInitiateResult, bo as PhoneShareApproveInput, bp as PhoneShareApproveResult, bq as PhoneShareStatusResult, br as BeginDeviceApprovalInput, bs as DeviceApprovalGrant, bt as PollDeviceApprovalInput, bu as DeviceApprovalPollResult, bv as ConfirmDeviceEnrollmentInput, bw as ConfirmDeviceEnrollmentResult, bx as ApproveWithDeviceCodeInput, by as DeviceApprovalSettleResult, bz as CompleteDeviceApprovalInput, bA as CompleteDeviceApprovalResult } from './types-IRNjMV47.js';
1
+ import { $ as TaxPriceDisplay, I as InvoError, H as Http, a0 as AuthHeader, g as CallOptions, a1 as ApplePurchaseResult, a2 as PlatformPurchaseInput, a3 as PlatformPurchaseResult, a4 as PlatformApprovalResult, a5 as PlatformOrderStatusResult, a6 as PlatformPurchaseHistoryQuery, a7 as PlatformPurchaseHistoryResult, a8 as PlatformRefundInput, a9 as PlatformRefundResult, aa as CreateSubscriptionInput, ab as SubscriptionResult, ac as GetSubscriptionOptions, ad as GetSubscriptionResult, ae as ListSubscriptionsOptions, af as SubscriptionListResult, ag as CancelSubscriptionOptions, ah as CancelResult, ai as ChangeAmountResult, aj as SetPaymentMethodInput, ak as SetPaymentMethodResult, al as RefundSubscriptionInput, am as RefundResult, an as SteamSubscriptionInitInput, ao as SteamInitResult, ap as SteamFinalizeSubscriptionResult, aq as CardSetupSessionInput, ar as CardSetupSessionResult, as as CardSetupInput, at as CardSetupResult, au as CardSetupConfirmInput, av as CardSetupConfirmResult, aw as PlayerCardsResult, ax as SandboxClockResult, ay as SandboxFailureOutcome, az as SandboxForceFailureOptions, aA as SandboxForceAuthChallengeOptions, aB as ServerConfig, aC as MintPlayerTokenInput, aD as PlayerToken, aE as RegisterPlayerInput, aF as RegisterPlayerResult, aG as UpdatePlayerPhoneInput, aH as UpdatePlayerPhoneResult, aI as RequestPhoneChangeInput, aJ as RequestPhoneChangeResult, aK as PhoneChangeRequest, aL as InitiateSendInput, aM as InitiateResult, aN as InitiateTransferInput, aO as CreateCheckoutInput, aP as CreateCheckoutResult, a as PurchaseStatusResult, aQ as PurchaseInput, aR as PurchaseResult, aS as CurrencyPurchaseQuoteInput, aT as CurrencyPurchaseQuote, aU as ConfirmPaymentResult, aV as OrderDetailsResult, aW as SteamPacksQuery, aX as SteamPacksResult, aY as SteamInitPurchaseInput, aZ as SteamInitPurchaseResult, a_ as SteamFinalizeInput, a$ as SteamFinalizeResult, b0 as AppleProductsResult, b1 as VerifyApplePurchaseInput, b2 as PurchaseItemInput, b3 as PurchaseItemResult, b4 as ItemHistoryQuery, b5 as ItemHistoryResult, b6 as ItemOrderQuery, b7 as PlayerActivityQuery, b8 as PlayerActivityResult, b9 as PlayerActivityEntry, ba as PlayerBalanceQuery, bb as PlayerBalanceResult, q as LoyaltyCardsResult, bc as InboundPendingQuery, bd as InboundPendingResult, be as LinkedIdentitiesQuery, bf as LinkedIdentitiesResult, bg as SmsVerifyResult, bh as ClaimTransferInput, bi as ClaimResult, bj as ClaimCurrencyInput, bk as TransactionStatusResult, bl as GuardianApprovalStatusResult, bm as ServerDestinationsQuery, p as DestinationsResult, bn as PhoneShareContact, bo as PhoneShareInitiateResult, bp as PhoneShareApproveInput, bq as PhoneShareApproveResult, br as PhoneShareStatusResult, bs as BeginDeviceApprovalInput, bt as DeviceApprovalGrant, bu as PollDeviceApprovalInput, bv as DeviceApprovalPollResult, bw as ConfirmDeviceEnrollmentInput, bx as ConfirmDeviceEnrollmentResult, by as ApproveWithDeviceCodeInput, bz as DeviceApprovalSettleResult, bA as CompleteDeviceApprovalInput, bB as CompleteDeviceApprovalResult } from './types-DGgWWX1v.js';
2
2
  import { b as ReportServerGameEventInput, a as ReportGameEventResult } from './loyalty-events-CmDw2ZoR.js';
3
- import './version-BIHJFKuj.js';
3
+ import './version-D_cJUvMp.js';
4
4
 
5
5
  /**
6
6
  * Pick the INVO environment from the game secret alone (3.28.0).
@@ -169,6 +169,22 @@ interface PurchaseCompletedData {
169
169
  * Card purchases only; absent and `null` on the same terms as `partner_fee_usd`.
170
170
  */
171
171
  international_card_fee_usd?: string | null;
172
+ /** What the card was charged, tax included, USD decimal string. */
173
+ charge_total_usd?: string | null;
174
+ /** `charge_total_usd` less the tax. On a tax-inclusive sale this is the NET price
175
+ * ($10.00 UK sale at 20%: `"8.33"`). */
176
+ subtotal_usd?: string | null;
177
+ /** The consumption tax INVO remits on this sale, USD decimal string (`"0.00"` when none). */
178
+ tax_usd?: string;
179
+ /** Where the tax is owed (for example `"GB"`, `"US-CA"`), or `null`. */
180
+ tax_jurisdiction?: string | null;
181
+ /** The rate applied, decimal string (compare as a number), or `null`. */
182
+ tax_rate_pct?: string | null;
183
+ /** Additive (3.38.0), Merchant of Record, tax-inclusive sales only: `"inclusive"` (the tax is
184
+ * INSIDE the price the buyer paid; nothing was added). Absent otherwise. See https://docs.invo.network/docs/merchant-of-record-tax */
185
+ tax_price_display?: TaxPriceDisplay;
186
+ /** Additive (3.38.0), tax-inclusive sales only: `true`. Absent otherwise. */
187
+ tax_included?: boolean;
172
188
  /**
173
189
  * Additive (3.35.0), Apple rail only (`rail: "apple"`, `channel: "ios"`): the verified App
174
190
  * Store transaction. `usd_amount` is what the player paid in USD (exact on a USD storefront;
@@ -182,6 +198,15 @@ interface PurchaseEventData {
182
198
  order_id?: string;
183
199
  player_email?: string;
184
200
  identity_id?: string;
201
+ /** On purchase.refunded: the tax returned to the buyer so far, USD decimal string. On a
202
+ * tax-inclusive sale it is the tax inside the refunded price. */
203
+ tax_refunded_usd?: string;
204
+ /** On purchase.refunded: where the tax was owed, or `null`. */
205
+ tax_jurisdiction?: string | null;
206
+ /** Additive (3.38.0), on purchase.refunded for a tax-inclusive sale only: `true`. */
207
+ tax_included?: boolean;
208
+ /** Additive (3.38.0), on purchase.refunded for a tax-inclusive sale only: `"inclusive"`. See https://docs.invo.network/docs/merchant-of-record-tax */
209
+ tax_price_display?: TaxPriceDisplay;
185
210
  /** Present on purchase.disputed, e.g. "lost". */
186
211
  dispute_status?: string;
187
212
  /**
@@ -336,8 +361,24 @@ interface PlatformCommercePurchasedData {
336
361
  * Since the 2026-09 pricing it also carries `international_card_fee_usd` (the part of
337
362
  * `platform_fee` that is the international card fee, `"0.00"` on a US card and on the
338
363
  * balance leg), so the card rate part is `platform_fee - international_card_fee_usd`.
364
+ * Additive (3.38.0), Merchant of Record: `tax_set_aside_usd` when the price contained tax (a
365
+ * tax-inclusive sale, or a place whose registration is pending): the tax taken out of the price
366
+ * before the fee and your share were worked out; `total_paid` is then the net. See https://docs.invo.network/docs/merchant-of-record-tax
339
367
  */
340
368
  fee_breakdown?: Record<string, unknown>;
369
+ /** Card leg: the sale less any tax (on a tax-inclusive sale, the net price). */
370
+ item_price_usd?: string;
371
+ /** Card leg: the tax INVO remits on the sale (`"0.00"` when none). On a tax-inclusive sale,
372
+ * the tax inside `total_price_usd`. */
373
+ tax_usd?: string;
374
+ /** Card leg: where the tax is owed, or `null`. */
375
+ tax_jurisdiction?: string | null;
376
+ /** Additive (3.38.0), tax-inclusive card sales only: `"inclusive"`. */
377
+ tax_price_display?: TaxPriceDisplay;
378
+ /** Additive (3.38.0), tax-inclusive card sales only: `true`. */
379
+ tax_included?: boolean;
380
+ /** Additive (3.38.0), tax-inclusive card sales only: the rate, decimal string, or `null`. */
381
+ tax_rate_pct?: string | null;
341
382
  /**
342
383
  * Additive (2026-09 pricing). The international card fee on this sale, USD decimal string:
343
384
  * 1.5% of the listed price (before tax) on a card issued outside the US, `"0.00"` otherwise
@@ -376,6 +417,15 @@ interface PlatformCommerceRefundedData {
376
417
  receipt_number?: string;
377
418
  /** Merchant of Record only: link to the printable refund receipt page. */
378
419
  receipt_url?: string;
420
+ /** The tax returned to the buyer by this refund, USD decimal string (`"0.00"` on the balance
421
+ * leg). On a tax-inclusive sale, the tax inside the refunded price. */
422
+ tax_refunded_usd?: string;
423
+ /** Where the tax was owed, or `null`. */
424
+ tax_jurisdiction?: string | null;
425
+ /** Additive (3.38.0), tax-inclusive card sales only: `true`. */
426
+ tax_included?: boolean;
427
+ /** Additive (3.38.0), tax-inclusive card sales only: `"inclusive"`. */
428
+ tax_price_display?: TaxPriceDisplay;
379
429
  /**
380
430
  * Additive (2026-09 pricing), card refunds only: the part of INVO's card fee on this refund
381
431
  * that stays charged to you, USD decimal string. The card fee is not returned on a refund.
@@ -597,6 +647,22 @@ interface SubscriptionRenewalFunding {
597
647
  steam_charged_usd: string;
598
648
  minted_coins: string;
599
649
  new_balance: string;
650
+ /** Card rail: the tax ADDED on top of the price (US sales), USD decimal string. `"0.00"` on a
651
+ * tax-inclusive renewal, where the tax is inside the price instead. */
652
+ tax_usd?: string;
653
+ /** Card rail: what the card was authorised for (the price plus any tax added on top). */
654
+ card_authorised_usd?: string;
655
+ /** Card rail: where the tax is owed, or `null`. */
656
+ tax_jurisdiction?: string | null;
657
+ /** Additive (3.38.0), Merchant of Record tax-inclusive renewals only: the tax INSIDE
658
+ * `card_charged_usd`, for example `"1.67"` on $10.00 at 20%. See https://docs.invo.network/docs/merchant-of-record-tax */
659
+ tax_included_usd?: string;
660
+ /** Additive (3.38.0), tax-inclusive renewals only: `true`. */
661
+ tax_included?: boolean;
662
+ /** Additive (3.38.0), tax-inclusive renewals only: `"inclusive"`. */
663
+ tax_price_display?: TaxPriceDisplay;
664
+ /** Additive (3.38.0), tax-inclusive renewals only: the rate, decimal string, or `null`. */
665
+ tax_rate_pct?: string | null;
600
666
  [key: string]: unknown;
601
667
  }
602
668
  /**
@@ -1952,8 +2018,14 @@ declare class InvoServer {
1952
2018
  * accepted. Card purchases only; purchases through a third-party storefront or payment
1953
2019
  * rail are unaffected.
1954
2020
  *
2021
+ * Merchant of Record: in the US tax is added on top (`totalUsd` above the price); outside the
2022
+ * US the price includes the tax, and `breakdown.taxIncluded` is `true` with
2023
+ * `breakdown.taxLine` ("Includes VAT 20% ($1.67)") to show under `totalUsd`.
2024
+ *
1955
2025
  * Refusals: `400 INVALID_INPUT` (amount missing, not above zero, or above INVO's card
1956
- * maximum), `400 CURRENCY_NOT_CONFIGURED`, `503 RATE_UNAVAILABLE`.
2026
+ * maximum), `400 CURRENCY_NOT_CONFIGURED`, `503 RATE_UNAVAILABLE`, and on Merchant of Record
2027
+ * `409 SALE_NOT_AVAILABLE_IN_COUNTRY` (`err.isSaleNotAvailableInCountry`) for a buyer in a
2028
+ * country where INVO does not yet sell as Merchant of Record.
1957
2029
  */
1958
2030
  quoteCurrencyPurchase(input: CurrencyPurchaseQuoteInput, opts?: CallOptions): Promise<CurrencyPurchaseQuote>;
1959
2031
  /**
package/dist/server.cjs CHANGED
@@ -547,6 +547,26 @@ var InvoError = class _InvoError extends Error {
547
547
  const v = this.bodyObject()["untaxed_total_usd"];
548
548
  return typeof v === "string" && v ? v : void 0;
549
549
  }
550
+ /**
551
+ * Additive (3.38.0). True when a Merchant of Record card sale was refused because the buyer is in
552
+ * a country where INVO does not yet sell as Merchant of Record (`SALE_NOT_AVAILABLE_IN_COUNTRY`,
553
+ * 409; today the EU member states until January 1, 2027). NOTHING WAS CHARGED. The body carries
554
+ * `retryable: false`: do not retry, and do not ask for another card (the refusal follows where
555
+ * the buyer is). Show the message (`err.message`), for example "Purchases aren't available in
556
+ * your country yet. Nothing was charged." Returned by the quote, the purchase, hosted checkout
557
+ * and Platform Commerce card purchases. Branch on this, never on a country list.
558
+ * See https://docs.invo.network/docs/merchant-of-record-tax#sale-not-available
559
+ */
560
+ get isSaleNotAvailableInCountry() {
561
+ return this.code === "SALE_NOT_AVAILABLE_IN_COUNTRY";
562
+ }
563
+ /** On `SALE_NOT_AVAILABLE_IN_COUNTRY`: the buyer's country, ISO 3166-1 alpha-2 (`country`), or
564
+ * `undefined` when INVO did not know it. */
565
+ get unavailableCountry() {
566
+ if (!this.isSaleNotAvailableInCountry) return void 0;
567
+ const v = this.bodyObject()["country"];
568
+ return typeof v === "string" && v ? v : void 0;
569
+ }
550
570
  /**
551
571
  * True if a Platform Commerce refund targeted an order that was already refunded
552
572
  * (409). Idempotent outcome — the original refund did happen, so treat this as
@@ -1855,6 +1875,39 @@ function toReportGameEventResult(raw, eventId) {
1855
1875
  };
1856
1876
  }
1857
1877
 
1878
+ // src/shared/tax-fields.ts
1879
+ function str3(v) {
1880
+ return v == null ? void 0 : String(v);
1881
+ }
1882
+ function includedTaxFields(raw) {
1883
+ const out = {};
1884
+ if (typeof raw["tax_included"] === "boolean") out.taxIncluded = raw["tax_included"];
1885
+ const inc = str3(raw["tax_included_usd"]);
1886
+ if (inc !== void 0) out.taxIncludedUsd = inc;
1887
+ const display = str3(raw["tax_price_display"]);
1888
+ if (display !== void 0) out.taxPriceDisplay = display;
1889
+ const label = str3(raw["tax_label"]);
1890
+ if (label !== void 0) out.taxLabel = label;
1891
+ const line = str3(raw["tax_line"]);
1892
+ if (line !== void 0) out.taxLine = line;
1893
+ return out;
1894
+ }
1895
+ function includedTaxBreakdownFields(raw) {
1896
+ const out = includedTaxFields(raw);
1897
+ const added = str3(raw["tax_added_usd"]);
1898
+ if (added !== void 0) out.taxAddedUsd = added;
1899
+ return out;
1900
+ }
1901
+ function includedTaxPurchaseFields(raw) {
1902
+ const out = includedTaxFields(raw);
1903
+ if (out.taxIncluded !== true) return out;
1904
+ const tax = str3(raw["tax_usd"]);
1905
+ if (tax !== void 0) out.taxUsd = tax;
1906
+ if (Object.prototype.hasOwnProperty.call(raw, "tax_jurisdiction")) out.taxJurisdiction = str3(raw["tax_jurisdiction"]) ?? null;
1907
+ if (Object.prototype.hasOwnProperty.call(raw, "tax_rate_pct")) out.taxRatePct = str3(raw["tax_rate_pct"]) ?? null;
1908
+ return out;
1909
+ }
1910
+
1858
1911
  // src/shared/phone-change.ts
1859
1912
  function requireField(value, field, raw) {
1860
1913
  const s = value == null ? "" : String(value);
@@ -1868,16 +1921,16 @@ function requireField(value, field, raw) {
1868
1921
  }
1869
1922
  return s;
1870
1923
  }
1871
- var str3 = (v) => v == null ? "" : String(v);
1924
+ var str4 = (v) => v == null ? "" : String(v);
1872
1925
  var strOrNull2 = (v) => typeof v === "string" ? v : v == null ? null : String(v);
1873
1926
  function toRequestPhoneChangeResult(raw) {
1874
1927
  return {
1875
1928
  changeRequestId: requireField(raw["change_request_id"], "change_request_id", raw),
1876
1929
  status: requireField(raw["status"], "status", raw),
1877
- expiresAt: str3(raw["expires_at"]),
1878
- delivery: str3(raw["delivery"]),
1879
- confirmation: str3(raw["confirmation"]),
1880
- message: str3(raw["message"]),
1930
+ expiresAt: str4(raw["expires_at"]),
1931
+ delivery: str4(raw["delivery"]),
1932
+ confirmation: str4(raw["confirmation"]),
1933
+ message: str4(raw["message"]),
1881
1934
  raw
1882
1935
  };
1883
1936
  }
@@ -1885,8 +1938,8 @@ function toPhoneChangeRequest(raw) {
1885
1938
  return {
1886
1939
  changeRequestId: requireField(raw["change_request_id"], "change_request_id", raw),
1887
1940
  status: requireField(raw["status"], "status", raw),
1888
- confirmation: str3(raw["confirmation"]),
1889
- delivery: str3(raw["delivery"]),
1941
+ confirmation: str4(raw["confirmation"]),
1942
+ delivery: str4(raw["delivery"]),
1890
1943
  newPhoneMasked: strOrNull2(raw["new_phone_masked"]),
1891
1944
  createdAt: strOrNull2(raw["created_at"]),
1892
1945
  expiresAt: strOrNull2(raw["expires_at"]),
@@ -1897,7 +1950,7 @@ function toPhoneChangeRequest(raw) {
1897
1950
  }
1898
1951
 
1899
1952
  // src/version.ts
1900
- var SDK_VERSION = "3.37.1";
1953
+ var SDK_VERSION = "3.38.0";
1901
1954
 
1902
1955
  // src/payouts.ts
1903
1956
  var AMOUNT = /^\d+(\.\d{1,2})?$/;
@@ -2459,6 +2512,7 @@ function toQuoteBreakdown(row) {
2459
2512
  totalUsd: String(r["total_usd"] ?? ""),
2460
2513
  coins: String(r["coins"] ?? ""),
2461
2514
  currencyName: String(r["currency_name"] ?? ""),
2515
+ ...includedTaxBreakdownFields(r),
2462
2516
  raw: r
2463
2517
  };
2464
2518
  }
@@ -4682,6 +4736,7 @@ var InvoServer = class {
4682
4736
  chargeTotalUsd: optionalDecimalString(raw["charge_total_usd"]),
4683
4737
  ...pricingFields(raw),
4684
4738
  ...receiptFields(raw),
4739
+ ...includedTaxPurchaseFields(raw),
4685
4740
  raw
4686
4741
  };
4687
4742
  }
@@ -4702,8 +4757,14 @@ var InvoServer = class {
4702
4757
  * accepted. Card purchases only; purchases through a third-party storefront or payment
4703
4758
  * rail are unaffected.
4704
4759
  *
4760
+ * Merchant of Record: in the US tax is added on top (`totalUsd` above the price); outside the
4761
+ * US the price includes the tax, and `breakdown.taxIncluded` is `true` with
4762
+ * `breakdown.taxLine` ("Includes VAT 20% ($1.67)") to show under `totalUsd`.
4763
+ *
4705
4764
  * Refusals: `400 INVALID_INPUT` (amount missing, not above zero, or above INVO's card
4706
- * maximum), `400 CURRENCY_NOT_CONFIGURED`, `503 RATE_UNAVAILABLE`.
4765
+ * maximum), `400 CURRENCY_NOT_CONFIGURED`, `503 RATE_UNAVAILABLE`, and on Merchant of Record
4766
+ * `409 SALE_NOT_AVAILABLE_IN_COUNTRY` (`err.isSaleNotAvailableInCountry`) for a buyer in a
4767
+ * country where INVO does not yet sell as Merchant of Record.
4707
4768
  */
4708
4769
  async quoteCurrencyPurchase(input, opts) {
4709
4770
  assertUsdAmount(input.usdAmount);
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-IRNjMV47.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-BuByP1JU.cjs';
4
- export { S as SDK_VERSION } from './version-BIHJFKuj.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-IRNjMV47.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-DzczMA-z.js';
4
- export { S as SDK_VERSION } from './version-BIHJFKuj.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-YFNQKYUI.js';
2
- export { SDK_VERSION } from './chunk-OYJUX2TH.js';
3
- export { InvoError } from './chunk-I4GDKZFL.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