glitch-javascript-sdk 4.0.0 → 4.1.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.
@@ -0,0 +1,7 @@
1
+ import Route from './interface';
2
+ declare class PreordersRoute {
3
+ static routes: {
4
+ [key: string]: Route;
5
+ };
6
+ }
7
+ export default PreordersRoute;
package/dist/index.d.ts CHANGED
@@ -12320,6 +12320,17 @@ interface MicrotransactionProduct extends Omit<MicrotransactionProductInput, 'co
12320
12320
  created_at: string;
12321
12321
  updated_at: string;
12322
12322
  }
12323
+ /** Read-only collection facts, not tax exemption or a determination of tax owed. */
12324
+ interface MicrotransactionTaxCollection {
12325
+ /** Configured intent stays automatic during a known pending-setup fallback. */
12326
+ requested_mode: 'automatic' | 'disabled';
12327
+ /** Pending setup may disable collection for a NEW order; unknown facts are null and block new automatic checkout. */
12328
+ effective_mode: 'automatic' | 'disabled' | null;
12329
+ status: string;
12330
+ missing_fields: string[];
12331
+ fallback_reason: 'stripe_tax_setup_incomplete' | null;
12332
+ warnings: string[];
12333
+ }
12323
12334
  interface MicrotransactionProvider {
12324
12335
  provider: MicrotransactionProviderName;
12325
12336
  environment: MicrotransactionEnvironment;
@@ -12340,6 +12351,7 @@ interface MicrotransactionProvider {
12340
12351
  charges_enabled: boolean;
12341
12352
  payouts_enabled: boolean;
12342
12353
  requirements_due: string[];
12354
+ merchant_name?: string | null;
12343
12355
  } | null;
12344
12356
  /** The game's payout target. Do not substitute the platform processing account's payouts_enabled. */
12345
12357
  payout_account: {
@@ -12356,6 +12368,10 @@ interface MicrotransactionProvider {
12356
12368
  status: string;
12357
12369
  missing_fields: string[];
12358
12370
  };
12371
+ /** Current route facts only. Never use these to reinterpret an existing order's frozen decision. */
12372
+ tax_collection?: MicrotransactionTaxCollection | null;
12373
+ /** Non-blocking collection warnings, separate from reasons and payout_account availability. */
12374
+ warnings?: string[];
12359
12375
  reasons: string[];
12360
12376
  checked_at: string | null;
12361
12377
  revision?: number;
@@ -12367,6 +12383,7 @@ interface MicrotransactionProviderSku {
12367
12383
  amount_minor: number;
12368
12384
  }
12369
12385
  interface MicrotransactionProviderConfiguration {
12386
+ /** Requested configuration. Explicit disabled is sandbox-only; pending-setup fallback does not change live configuration to disabled. */
12370
12387
  tax_mode: 'automatic' | 'disabled';
12371
12388
  /** Stripe tax code txcd_ followed by exactly eight digits. */
12372
12389
  tax_code: string | null;
@@ -12467,7 +12484,12 @@ interface MicrotransactionRefundInput extends MicrotransactionLegacyConfirmation
12467
12484
  }
12468
12485
  interface MicrotransactionReadiness {
12469
12486
  status: 'disabled' | 'draft' | 'sandbox' | 'ready' | 'live' | 'degraded' | 'suspended';
12487
+ /** Configuration readiness only; not proof of payment, delivery, claim or browser 3DS. */
12470
12488
  ready: boolean;
12489
+ /** Optional on older backends; retains the same configuration meaning as ready. */
12490
+ configuration_ready?: boolean;
12491
+ /** Stored sandbox paid + fulfilled + claimed evidence. Absent means unknown; not browser/3DS certification. */
12492
+ integration_verified?: boolean;
12471
12493
  blockers: string[];
12472
12494
  providers: MicrotransactionProvider[];
12473
12495
  commission_basis_points: 1200;
@@ -12568,6 +12590,8 @@ interface MicrotransactionOrder {
12568
12590
  paid_at: string | null;
12569
12591
  refunded_minor: number;
12570
12592
  items: MicrotransactionGrant[];
12593
+ /** Frozen decision, also returned inside checkout/session.order. Null/absent for legacy orders; never infer from current provider facts. Warnings do not imply zero tax owed. */
12594
+ tax_collection?: MicrotransactionTaxCollection | null;
12571
12595
  entitlements?: MicrotransactionEntitlement[];
12572
12596
  }
12573
12597
  interface MicrotransactionOrderDetail extends MicrotransactionOrder {
@@ -12773,8 +12797,9 @@ interface MicrotransactionCapabilities {
12773
12797
  [key: string]: unknown;
12774
12798
  }
12775
12799
  /**
12776
- * Provider-neutral, title-scoped commerce. Configure with user JWT; purchases
12777
- * use a recoverable user account and limited checkout capability. Install/title
12800
+ * Provider-neutral, title-scoped commerce. Guest games configure only the API
12801
+ * base URL, never global account/admin auth. Hosted account pages use their own
12802
+ * user JWT and limited checkout capability; playerToken overrides auth per request. Install/title
12778
12803
  * tokens cannot authorize money, ownership, refunds, or catalog changes.
12779
12804
  *
12780
12805
  * Each result preserves payment versus fulfillment versus settlement. Redirects
@@ -12866,13 +12891,13 @@ declare class Microtransactions {
12866
12891
  static refundOrder(title_id: string, order_id: string, data: MicrotransactionRefundInput, options?: MicrotransactionRequestOptions): AxiosPromise<MicrotransactionResponse<MicrotransactionRefund>>;
12867
12892
  /** Replay the same immutable event. Receiver must deduplicate event_id. This cannot mint goods. */
12868
12893
  static replayDelivery(title_id: string, delivery_id: string, data?: MicrotransactionLegacyConfirmation, options?: MicrotransactionRequestOptions): AxiosPromise<MicrotransactionResponse<MicrotransactionDeliveryResult>>;
12869
- /** Public eligible catalog. Sandbox is restricted by backend environment/admin policy. */
12894
+ /** Guest catalog on the exact approved game Origin. Sandbox requires enabled sandbox settings; the backend enforces environment policy. */
12870
12895
  static catalog(title_id: string, params?: MicrotransactionCatalogFilter, options?: MicrotransactionRequestOptions): AxiosPromise<MicrotransactionResponse<MicrotransactionCatalog>>;
12871
12896
  /** User-authenticated quote. Clients select product/quantity, never monetary values or seller accounts. */
12872
12897
  static createQuote(title_id: string, data: MicrotransactionPurchaseInput, options?: MicrotransactionRequestOptions): AxiosPromise<MicrotransactionResponse<MicrotransactionQuote>>;
12873
- /** Anonymous-safe opening step only. The hosted UI creates/logs into an account before payment. */
12898
+ /** Guest opening only: browser Origin must equal approved return_origin. Inherits configured global auth; use an isolated credential-free game context. Hosted UI authenticates before payment. */
12874
12899
  static createCheckoutSession(title_id: string, data: MicrotransactionCheckoutSessionInput, options?: MicrotransactionRequestOptions): AxiosPromise<MicrotransactionResponse<MicrotransactionCreatedCheckoutSession>>;
12875
- /** Anonymous-safe inventory recovery. Opens an in-game hosted sign-in overlay, never creates a charge or requires the game's account JWT. */
12900
+ /** Guest entry to hosted recovery, not inventory access. Exact approved Origin/return_origin required. Owning-account bind remains mandatory, including when commerce is off. Never install an account JWT in the game. */
12876
12901
  static createRestoreSession(title_id: string, data: {
12877
12902
  return_origin: string;
12878
12903
  nonce: string;
@@ -12954,6 +12979,166 @@ declare class Microtransactions {
12954
12979
  private static call;
12955
12980
  }
12956
12981
 
12982
+ type PreorderFulfillmentType = 'glitch_license' | 'platform_key';
12983
+ type PreorderOfferStatus = 'draft' | 'active' | 'paused' | 'ended' | 'archived';
12984
+ type PreorderDerivedState = 'draft' | 'available' | 'scheduled' | 'sold_out' | 'paused' | 'ended' | 'released' | 'archived';
12985
+ type PreorderPaymentStatus = 'created' | 'requires_action' | 'processing' | 'paid' | 'failed' | 'canceled' | 'refunded' | 'disputed' | 'unknown';
12986
+ type PreorderFulfillmentStatus = 'waiting_for_release' | 'ready' | 'processing' | 'fulfilled' | 'blocked_missing_build' | 'blocked_missing_key' | 'canceled' | 'failed';
12987
+ interface PreorderRequestOptions extends Pick<AxiosRequestConfig, 'signal' | 'timeout'> {
12988
+ }
12989
+ interface PreorderPrice {
12990
+ country: string;
12991
+ currency: string;
12992
+ amount_minor: number;
12993
+ }
12994
+ interface PreorderInventory {
12995
+ available: number;
12996
+ reserved: number;
12997
+ delivered: number;
12998
+ retired: number;
12999
+ total: number;
13000
+ }
13001
+ interface PreorderOfferInput {
13002
+ sku: string;
13003
+ platform_code: string;
13004
+ platform_label: string;
13005
+ fulfillment_type: PreorderFulfillmentType;
13006
+ status?: PreorderOfferStatus;
13007
+ sales_start_at?: string | null;
13008
+ sales_end_at?: string | null;
13009
+ release_at: string;
13010
+ limit_total?: number | null;
13011
+ max_per_user?: number;
13012
+ custom_message?: string | null;
13013
+ post_purchase_url?: string | null;
13014
+ redeem_url?: string | null;
13015
+ prices: PreorderPrice[];
13016
+ }
13017
+ interface PreorderOffer extends Omit<PreorderOfferInput, 'status'> {
13018
+ id: string;
13019
+ title_id: string;
13020
+ status: PreorderOfferStatus;
13021
+ state: PreorderDerivedState;
13022
+ sold: number;
13023
+ reserved_or_paid: number;
13024
+ remaining: number | null;
13025
+ revision: number;
13026
+ inventory?: PreorderInventory;
13027
+ owned_count?: number;
13028
+ }
13029
+ interface PreorderSettings {
13030
+ enabled: boolean;
13031
+ timezone: string;
13032
+ readiness?: PreorderReadiness;
13033
+ }
13034
+ interface PreorderCatalog {
13035
+ enabled: boolean;
13036
+ timezone?: string;
13037
+ offers: PreorderOffer[];
13038
+ }
13039
+ interface PreorderPurchaseInput {
13040
+ country?: string;
13041
+ currency?: string;
13042
+ idempotency_key: string;
13043
+ payment_method_id?: string;
13044
+ payment_intent_id?: string;
13045
+ }
13046
+ interface PreorderOrder {
13047
+ id: string;
13048
+ title_id: string;
13049
+ offer_id: string;
13050
+ user_id?: string;
13051
+ platform_code: string;
13052
+ platform_label: string;
13053
+ fulfillment_type: PreorderFulfillmentType;
13054
+ payment_status: PreorderPaymentStatus;
13055
+ fulfillment_status: PreorderFulfillmentStatus;
13056
+ currency: string;
13057
+ subtotal_minor: number;
13058
+ tax_minor: number;
13059
+ total_minor: number;
13060
+ promised_release_at: string;
13061
+ current_release_at: string;
13062
+ paid_at?: string;
13063
+ fulfilled_at?: string;
13064
+ custom_message?: string;
13065
+ post_purchase_url?: string;
13066
+ redeem_url?: string;
13067
+ platform_key?: string;
13068
+ key_masked_suffix?: string;
13069
+ purchase_email?: string;
13070
+ provider_reference?: string;
13071
+ commission_minor?: number;
13072
+ developer_share_minor?: number;
13073
+ requires_action?: boolean;
13074
+ client_secret?: string;
13075
+ payment_intent_id?: string;
13076
+ }
13077
+ interface PreorderReadinessIssue {
13078
+ offer_id: string;
13079
+ code: string;
13080
+ [key: string]: unknown;
13081
+ }
13082
+ interface PreorderReadiness {
13083
+ enabled: boolean;
13084
+ ready: boolean;
13085
+ blockers: PreorderReadinessIssue[];
13086
+ warnings: PreorderReadinessIssue[];
13087
+ }
13088
+ interface PreorderAdminOrderFilters {
13089
+ offer_id?: string;
13090
+ payment_status?: string;
13091
+ fulfillment_status?: string;
13092
+ per_page?: number;
13093
+ page?: number;
13094
+ }
13095
+ type PreorderAdminOrderAction = 'refund' | 'reconcile' | 'fulfill' | 'resend_receipt' | 'resend_access';
13096
+ declare class Preorders {
13097
+ static catalog(title_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderCatalog>>;
13098
+ static purchase(title_id: string, offer_id: string, data: PreorderPurchaseInput, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOrder>>;
13099
+ static myOrders(title_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<{
13100
+ orders: PreorderOrder[];
13101
+ }>>;
13102
+ static order(title_id: string, order_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOrder>>;
13103
+ static refundMine(title_id: string, order_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOrder>>;
13104
+ static resendMine(title_id: string, order_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<{
13105
+ resent: boolean;
13106
+ }>>;
13107
+ static settings(title_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderSettings>>;
13108
+ static updateSettings(title_id: string, data: Partial<Pick<PreorderSettings, 'enabled' | 'timezone'>>, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderSettings>>;
13109
+ static offers(title_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<{
13110
+ offers: PreorderOffer[];
13111
+ }>>;
13112
+ static offer(title_id: string, offer_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOffer>>;
13113
+ static createOffer(title_id: string, data: PreorderOfferInput, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOffer>>;
13114
+ static updateOffer(title_id: string, offer_id: string, data: PreorderOfferInput, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOffer>>;
13115
+ static activateOffer(title_id: string, offer_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOffer>>;
13116
+ static pauseOffer(title_id: string, offer_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOffer>>;
13117
+ static archiveOffer(title_id: string, offer_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOffer>>;
13118
+ static inventory(title_id: string, offer_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderInventory>>;
13119
+ static importKeys(title_id: string, offer_id: string, keys: string[], options?: PreorderRequestOptions): AxiosPromise<Response<{
13120
+ inserted: number;
13121
+ duplicate_in_upload: number;
13122
+ duplicate_existing: number;
13123
+ invalid: number;
13124
+ inventory: PreorderInventory;
13125
+ }>>;
13126
+ static importKeyFile<T>(title_id: string, offer_id: string, file: File | Blob): AxiosPromise<Response<T>>;
13127
+ static retireKey(title_id: string, offer_id: string, key_id: string, reason: string, options?: PreorderRequestOptions): AxiosPromise<Response<{
13128
+ id: string;
13129
+ status: string;
13130
+ masked_suffix: string;
13131
+ }>>;
13132
+ static adminOrders(title_id: string, filters?: PreorderAdminOrderFilters, options?: PreorderRequestOptions): AxiosPromise<Response<{
13133
+ orders: PreorderOrder[];
13134
+ pagination: Record<string, number>;
13135
+ }>>;
13136
+ static readiness(title_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderReadiness>>;
13137
+ static adminOrderAction(title_id: string, order_id: string, action: PreorderAdminOrderAction, options?: PreorderRequestOptions): AxiosPromise<Response<PreorderOrder>>;
13138
+ static mcpCapabilities<T = unknown>(title_id: string, options?: PreorderRequestOptions): AxiosPromise<Response<T>>;
13139
+ static mcpOperation<T = unknown>(title_id: string, operation: string, argumentsData?: Record<string, unknown>, options?: PreorderRequestOptions): AxiosPromise<Response<T>>;
13140
+ }
13141
+
12957
13142
  /** A one-time notification, never a receipt or authorization to grant goods. */
12958
13143
  interface MicrotransactionPurchaseMessage {
12959
13144
  type: 'glitch.microtransaction.updated';
@@ -13485,6 +13670,7 @@ declare class Glitch {
13485
13670
  Hosting: typeof Hosting;
13486
13671
  GameDesign: typeof GameDesign;
13487
13672
  Microtransactions: typeof Microtransactions;
13673
+ Preorders: typeof Preorders;
13488
13674
  };
13489
13675
  static util: {
13490
13676
  Requests: typeof Requests;
@@ -13574,4 +13760,4 @@ declare class Glitch {
13574
13760
  };
13575
13761
  }
13576
13762
 
13577
- export { type FestivalApplicationInput, type FestivalApplicationState, type FestivalConversation, type FestivalMediaUpload, type FestivalNetworkingFilters, type FestivalNetworkingProfile, type FestivalNetworkingResponse, type FestivalNetworkingSettings, type FestivalPost, type FestivalPostInput, type FestivalPostKind, type FestivalPostState, type FestivalPreferences, type FestivalReportInput, type FestivalRequestOptions, type FestivalWorkType, type MicrotransactionAbility, type MicrotransactionBranding, type MicrotransactionBridge, type MicrotransactionBridgeOptions, type MicrotransactionCapabilities, type MicrotransactionCatalog, type MicrotransactionCatalogFilter, type MicrotransactionCheckoutInput, type MicrotransactionCheckoutResult, type MicrotransactionCheckoutSession, type MicrotransactionCheckoutSessionInput, type MicrotransactionConsumeInput, type MicrotransactionCreatedCheckoutSession, type MicrotransactionCurrency, type MicrotransactionDelivery, type MicrotransactionDeliveryListFilters, type MicrotransactionDeliveryResult, type MicrotransactionDeliverySettings, type MicrotransactionDeliverySettingsInput, type MicrotransactionDeliveryStatus, type MicrotransactionEarnings, type MicrotransactionEntitlement, type MicrotransactionEnvironment, type MicrotransactionEnvironmentFilter, type MicrotransactionError, type MicrotransactionErrorCode, type MicrotransactionFramePolicy, type MicrotransactionFulfillmentStatus, type MicrotransactionGrant, type MicrotransactionGrantUsage, type MicrotransactionGrantUsageStatus, type MicrotransactionHandoff, type MicrotransactionHandoffClaim, type MicrotransactionHandoffClaimInput, type MicrotransactionLegacyConfirmation, type MicrotransactionManagementListFilters, type MicrotransactionMedia, type MicrotransactionMyPurchases, type MicrotransactionMyPurchasesFilters, type MicrotransactionOperation, type MicrotransactionOperationCapability, type MicrotransactionOrder, type MicrotransactionOrderDetail, type MicrotransactionOrderListFilters, type MicrotransactionOverlay, type MicrotransactionOverlayOptions, type MicrotransactionPaymentStatus, type MicrotransactionPayout, type MicrotransactionPayoutListFilters, type MicrotransactionPayoutStatus, type MicrotransactionPlayerPurchase, type MicrotransactionPrice, type MicrotransactionProduct, type MicrotransactionProductInput, type MicrotransactionProductListFilters, type MicrotransactionProductStatus, type MicrotransactionProductType, type MicrotransactionProvider, type MicrotransactionProviderConfiguration, type MicrotransactionProviderInput, type MicrotransactionProviderName, type MicrotransactionProviderOnboarding, type MicrotransactionProviderOnboardingInput, type MicrotransactionProviderSku, type MicrotransactionPurchaseInput, type MicrotransactionPurchaseMessage, type MicrotransactionPurchasePagination, type MicrotransactionQuote, type MicrotransactionReadiness, type MicrotransactionReadyMessage, type MicrotransactionRefund, type MicrotransactionRefundInput, type MicrotransactionRefundListFilters, type MicrotransactionRefundRecord, type MicrotransactionRefundRequest, type MicrotransactionRefundStatus, type MicrotransactionRelatedListFilters, type MicrotransactionRequestOptions, type MicrotransactionResponse, type MicrotransactionRestoreBridgeOptions, type MicrotransactionSessionOptions, type MicrotransactionSettings, type MicrotransactionSettingsInput, type MicrotransactionVerifiedSession, createMicrotransactionBridge, createMicrotransactionNonce, createMicrotransactionRestoreBridge, Glitch as default, openMicrotransactionOverlay, openMicrotransactionRestoreOverlay };
13763
+ export { type FestivalApplicationInput, type FestivalApplicationState, type FestivalConversation, type FestivalMediaUpload, type FestivalNetworkingFilters, type FestivalNetworkingProfile, type FestivalNetworkingResponse, type FestivalNetworkingSettings, type FestivalPost, type FestivalPostInput, type FestivalPostKind, type FestivalPostState, type FestivalPreferences, type FestivalReportInput, type FestivalRequestOptions, type FestivalWorkType, type MicrotransactionAbility, type MicrotransactionBranding, type MicrotransactionBridge, type MicrotransactionBridgeOptions, type MicrotransactionCapabilities, type MicrotransactionCatalog, type MicrotransactionCatalogFilter, type MicrotransactionCheckoutInput, type MicrotransactionCheckoutResult, type MicrotransactionCheckoutSession, type MicrotransactionCheckoutSessionInput, type MicrotransactionConsumeInput, type MicrotransactionCreatedCheckoutSession, type MicrotransactionCurrency, type MicrotransactionDelivery, type MicrotransactionDeliveryListFilters, type MicrotransactionDeliveryResult, type MicrotransactionDeliverySettings, type MicrotransactionDeliverySettingsInput, type MicrotransactionDeliveryStatus, type MicrotransactionEarnings, type MicrotransactionEntitlement, type MicrotransactionEnvironment, type MicrotransactionEnvironmentFilter, type MicrotransactionError, type MicrotransactionErrorCode, type MicrotransactionFramePolicy, type MicrotransactionFulfillmentStatus, type MicrotransactionGrant, type MicrotransactionGrantUsage, type MicrotransactionGrantUsageStatus, type MicrotransactionHandoff, type MicrotransactionHandoffClaim, type MicrotransactionHandoffClaimInput, type MicrotransactionLegacyConfirmation, type MicrotransactionManagementListFilters, type MicrotransactionMedia, type MicrotransactionMyPurchases, type MicrotransactionMyPurchasesFilters, type MicrotransactionOperation, type MicrotransactionOperationCapability, type MicrotransactionOrder, type MicrotransactionOrderDetail, type MicrotransactionOrderListFilters, type MicrotransactionOverlay, type MicrotransactionOverlayOptions, type MicrotransactionPaymentStatus, type MicrotransactionPayout, type MicrotransactionPayoutListFilters, type MicrotransactionPayoutStatus, type MicrotransactionPlayerPurchase, type MicrotransactionPrice, type MicrotransactionProduct, type MicrotransactionProductInput, type MicrotransactionProductListFilters, type MicrotransactionProductStatus, type MicrotransactionProductType, type MicrotransactionProvider, type MicrotransactionProviderConfiguration, type MicrotransactionProviderInput, type MicrotransactionProviderName, type MicrotransactionProviderOnboarding, type MicrotransactionProviderOnboardingInput, type MicrotransactionProviderSku, type MicrotransactionPurchaseInput, type MicrotransactionPurchaseMessage, type MicrotransactionPurchasePagination, type MicrotransactionQuote, type MicrotransactionReadiness, type MicrotransactionReadyMessage, type MicrotransactionRefund, type MicrotransactionRefundInput, type MicrotransactionRefundListFilters, type MicrotransactionRefundRecord, type MicrotransactionRefundRequest, type MicrotransactionRefundStatus, type MicrotransactionRelatedListFilters, type MicrotransactionRequestOptions, type MicrotransactionResponse, type MicrotransactionRestoreBridgeOptions, type MicrotransactionSessionOptions, type MicrotransactionSettings, type MicrotransactionSettingsInput, type MicrotransactionTaxCollection, type MicrotransactionVerifiedSession, type PreorderAdminOrderAction, type PreorderAdminOrderFilters, type PreorderCatalog, type PreorderDerivedState, type PreorderFulfillmentStatus, type PreorderFulfillmentType, type PreorderInventory, type PreorderOffer, type PreorderOfferInput, type PreorderOfferStatus, type PreorderOrder, type PreorderPaymentStatus, type PreorderPrice, type PreorderPurchaseInput, type PreorderReadiness, type PreorderReadinessIssue, type PreorderRequestOptions, type PreorderSettings, createMicrotransactionBridge, createMicrotransactionNonce, createMicrotransactionRestoreBridge, Glitch as default, openMicrotransactionOverlay, openMicrotransactionRestoreOverlay };