@rechargeapps/storefront-client 1.70.2 → 1.70.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -513,8 +513,12 @@ interface CreatePaymentMethodRequest extends SubType<PaymentMethod, PaymentMetho
513
513
  payment_method_intent_id?: string;
514
514
  /** The external payment method id */
515
515
  external_payment_method_id?: string;
516
+ /** Whether to apply the payment method to all existing subscription addresses */
517
+ apply_to_all_subscription_addresses?: boolean;
516
518
  }
517
519
  interface UpdatePaymentMethodRequest extends Partial<Pick<PaymentMethod, 'billing_address' | 'default'>> {
520
+ /** Whether to apply the payment method to all existing subscription addresses */
521
+ apply_to_all_subscription_addresses?: boolean;
518
522
  }
519
523
  type PaymentMethodIncludes = 'addresses';
520
524
  interface GetPaymentMethodOptions {
@@ -534,6 +538,156 @@ interface PaymentMethodListParams extends ListParams<PaymentMethodSortBy> {
534
538
  /** Include deleted payment methods */
535
539
  include_deleted?: boolean;
536
540
  }
541
+ /** @internal */
542
+ interface BaseCardDetails {
543
+ /** Expiration month (1-12 or '01'-'12') */
544
+ month: string | number;
545
+ /** Expiration year (YYYY or YY format) */
546
+ year: string | number;
547
+ }
548
+ /** @internal */
549
+ interface CardDetailsFirstNameLastName extends BaseCardDetails {
550
+ /** First name on the card */
551
+ first_name: string;
552
+ /** Last name on the card */
553
+ last_name: string;
554
+ }
555
+ /** @internal */
556
+ interface CardDetailsFullName extends BaseCardDetails {
557
+ /** Full name on the card */
558
+ full_name: string;
559
+ }
560
+ /** @internal */
561
+ interface PaymentMethodFormOptions {
562
+ /** Card holder details */
563
+ card_details: CardDetailsFirstNameLastName | CardDetailsFullName;
564
+ /** Billing address for the payment method */
565
+ billing_address: AssociatedAddress;
566
+ /** Whether to set this payment method as the default */
567
+ default_payment_method?: boolean;
568
+ /** Recharge address IDs to associate with this payment method */
569
+ address_ids?: number[];
570
+ /** Whether to apply the payment method to all existing subscription addresses */
571
+ apply_to_all_subscription_addresses?: boolean;
572
+ }
573
+ /** @internal */
574
+ interface PaymentFormConfig {
575
+ /** DOM element ID where the card number field will be mounted */
576
+ numberElementId: string;
577
+ /** DOM element ID where the CVV field will be mounted */
578
+ cvvElementId: string;
579
+ /** Optional css styles for the hosted fields (number and cvv) */
580
+ styles?: string;
581
+ /** Field type for the card number field, defaults to 'number' */
582
+ numberFieldType?: spreedly.SpreedlyFieldType;
583
+ /** Field type for the CVV field, defaults to 'number' */
584
+ cvvFieldType?: spreedly.SpreedlyFieldType;
585
+ /** Label for the card number field, defaults to 'Card Number' */
586
+ numberLabel?: string;
587
+ /** Label for the CVV field, defaults to 'CVV' */
588
+ cvvLabel?: string;
589
+ /** Placeholder text for card number field, default is empty string */
590
+ numberPlaceholder?: string;
591
+ /** Placeholder text for CVV field, default is empty string */
592
+ cvvPlaceholder?: string;
593
+ /**
594
+ * Format for card number and CVV display
595
+ * 'plainFormat' - default (no formatting)
596
+ * 'prettyFormat' - adds spaces between groups of 4 digits, requires numberFieldType to be 'text' or 'tel'
597
+ * 'maskedFormat' - masked via '*' no spaces, forces numberFieldType to 'text'
598
+ */
599
+ numberFormat?: 'plainFormat' | 'prettyFormat' | 'maskedFormat';
600
+ }
601
+ /** @internal */
602
+ interface PaymentFieldEventCallback {
603
+ (fieldName: spreedly.SpreedlyField, eventType: spreedly.SpreedlyFieldEventType, activeElement: spreedly.SpreedlyField, inputProperties: spreedly.SpreedlyFieldEventInputProperties): void;
604
+ }
605
+ /** @internal */
606
+ interface PaymentMethodTokenCallback {
607
+ (token: string, paymentMethod: spreedly.SpreedlyPaymentMethod): void;
608
+ }
609
+ /** @internal */
610
+ interface PaymentErrorCallback {
611
+ (errors: spreedly.SpreedlyError[]): void;
612
+ }
613
+ /** @internal */
614
+ interface PaymentFormEventHandlers {
615
+ /** Called when the form is ready for input */
616
+ onReady?: () => void;
617
+ /** Called when a field event occurs */
618
+ onFieldEvent?: PaymentFieldEventCallback;
619
+ /** Called when a payment method token is received */
620
+ onPaymentMethod?: PaymentMethodTokenCallback;
621
+ /** Called when validation errors occur */
622
+ onErrors?: PaymentErrorCallback;
623
+ }
624
+ /** @internal */
625
+ interface PaymentFormController {
626
+ /**
627
+ * Initialize the payment form with the payment script
628
+ * @param config - Configuration for the form
629
+ * @param handlers - Event handlers for form events
630
+ */
631
+ mount(config: PaymentFormConfig, handlers?: PaymentFormEventHandlers): void;
632
+ /**
633
+ * Tokenize the current card data
634
+ * This triggers the payment script to create a payment method token
635
+ * @param cardDetails - Card holder name and expiration
636
+ */
637
+ tokenize(cardDetails: CardDetailsFirstNameLastName | CardDetailsFullName): void;
638
+ /**
639
+ * Submit the tokenized payment method to Recharge, will not tokenize the card data again if tokenize has already been called
640
+ * @param options - Payment method options including billing address
641
+ * @returns Result of the submission
642
+ */
643
+ submit(options: PaymentMethodFormOptions): Promise<PaymentMethod>;
644
+ /**
645
+ * Reset the form fields
646
+ */
647
+ reset(): void;
648
+ /**
649
+ * Clean up and remove event handlers
650
+ */
651
+ unmount(): void;
652
+ /**
653
+ * Add event handlers to the form
654
+ * @param handlers - The event handlers to add
655
+ */
656
+ addEventHandlers(handlers: PaymentFormEventHandlers): void;
657
+ /**
658
+ * Remove all event handlers currently registered via mount
659
+ */
660
+ removeHandlers(): void;
661
+ /**
662
+ * Set the field type for a field
663
+ * @param name - The name of the field
664
+ * @param type - The type of the field
665
+ */
666
+ setFieldType(name: spreedly.SpreedlyField, type: spreedly.SpreedlyFieldType): void;
667
+ /**
668
+ * Set the label for a field
669
+ * @param name - The name of the field
670
+ * @param label - The label for the field
671
+ */
672
+ setLabel(name: spreedly.SpreedlyField, label: string): void;
673
+ /**
674
+ * Set the number format for the form
675
+ * @param format - The number format
676
+ */
677
+ setNumberFormat(format: 'plainFormat' | 'prettyFormat' | 'maskedFormat'): void;
678
+ /**
679
+ * Set the placeholder for a field
680
+ * @param name - The name of the field
681
+ * @param placeholder - The placeholder for the field
682
+ */
683
+ setPlaceholder(name: spreedly.SpreedlyField, placeholder: string): void;
684
+ /**
685
+ * Set the style for a field
686
+ * @param name - The name of the field
687
+ * @param style - The css string to apply to the field
688
+ */
689
+ setStyle(name: spreedly.SpreedlyField, style: string): void;
690
+ }
537
691
 
538
692
  interface Incentives {
539
693
  tiered_discounts: TieredDiscount[];
@@ -3295,155 +3449,6 @@ interface InitOptions {
3295
3449
  __unstable_twoFactorRetryFn?: () => Promise<Session | undefined>;
3296
3450
  }
3297
3451
 
3298
- /** @internal */
3299
- interface BaseCardDetails {
3300
- /** Expiration month (1-12 or '01'-'12') */
3301
- month: string | number;
3302
- /** Expiration year (YYYY or YY format) */
3303
- year: string | number;
3304
- }
3305
- /** @internal */
3306
- interface CardDetailsFirstNameLastName extends BaseCardDetails {
3307
- /** First name on the card */
3308
- first_name: string;
3309
- /** Last name on the card */
3310
- last_name: string;
3311
- }
3312
- /** @internal */
3313
- interface CardDetailsFullName extends BaseCardDetails {
3314
- /** Full name on the card */
3315
- full_name: string;
3316
- }
3317
- /** @internal */
3318
- interface PaymentMethodFormOptions {
3319
- /** Card holder details */
3320
- card_details: CardDetailsFirstNameLastName | CardDetailsFullName;
3321
- /** Billing address for the payment method */
3322
- billing_address: AssociatedAddress;
3323
- /** Whether to set this payment method as the default */
3324
- default_payment_method?: boolean;
3325
- /** Recharge address IDs to associate with this payment method */
3326
- address_ids?: number[];
3327
- }
3328
- /** @internal */
3329
- interface PaymentFormConfig {
3330
- /** DOM element ID where the card number field will be mounted */
3331
- numberElementId: string;
3332
- /** DOM element ID where the CVV field will be mounted */
3333
- cvvElementId: string;
3334
- /** Optional css styles for the hosted fields (number and cvv) */
3335
- styles?: string;
3336
- /** Field type for the card number field, defaults to 'number' */
3337
- numberFieldType?: spreedly.SpreedlyFieldType;
3338
- /** Field type for the CVV field, defaults to 'number' */
3339
- cvvFieldType?: spreedly.SpreedlyFieldType;
3340
- /** Label for the card number field, defaults to 'Card Number' */
3341
- numberLabel?: string;
3342
- /** Label for the CVV field, defaults to 'CVV' */
3343
- cvvLabel?: string;
3344
- /** Placeholder text for card number field, default is empty string */
3345
- numberPlaceholder?: string;
3346
- /** Placeholder text for CVV field, default is empty string */
3347
- cvvPlaceholder?: string;
3348
- /**
3349
- * Format for card number and CVV display
3350
- * 'plainFormat' - default (no formatting)
3351
- * 'prettyFormat' - adds spaces between groups of 4 digits, requires numberFieldType to be 'text' or 'tel'
3352
- * 'maskedFormat' - masked via '*' no spaces, forces numberFieldType to 'text'
3353
- */
3354
- numberFormat?: 'plainFormat' | 'prettyFormat' | 'maskedFormat';
3355
- }
3356
- /** @internal */
3357
- interface PaymentFieldEventCallback {
3358
- (fieldName: spreedly.SpreedlyField, eventType: spreedly.SpreedlyFieldEventType, activeElement: spreedly.SpreedlyField, inputProperties: spreedly.SpreedlyFieldEventInputProperties): void;
3359
- }
3360
- /** @internal */
3361
- interface PaymentMethodTokenCallback {
3362
- (token: string, paymentMethod: spreedly.SpreedlyPaymentMethod): void;
3363
- }
3364
- /** @internal */
3365
- interface PaymentErrorCallback {
3366
- (errors: spreedly.SpreedlyError[]): void;
3367
- }
3368
- /** @internal */
3369
- interface PaymentFormEventHandlers {
3370
- /** Called when the form is ready for input */
3371
- onReady?: () => void;
3372
- /** Called when a field event occurs */
3373
- onFieldEvent?: PaymentFieldEventCallback;
3374
- /** Called when a payment method token is received */
3375
- onPaymentMethod?: PaymentMethodTokenCallback;
3376
- /** Called when validation errors occur */
3377
- onErrors?: PaymentErrorCallback;
3378
- }
3379
- /** @internal */
3380
- interface PaymentFormController {
3381
- /**
3382
- * Initialize the payment form with the payment script
3383
- * @param config - Configuration for the form
3384
- * @param handlers - Event handlers for form events
3385
- */
3386
- mount(config: PaymentFormConfig, handlers?: PaymentFormEventHandlers): void;
3387
- /**
3388
- * Tokenize the current card data
3389
- * This triggers the payment script to create a payment method token
3390
- * @param cardDetails - Card holder name and expiration
3391
- */
3392
- tokenize(cardDetails: CardDetailsFirstNameLastName | CardDetailsFullName): void;
3393
- /**
3394
- * Submit the tokenized payment method to Recharge, will not tokenize the card data again if tokenize has already been called
3395
- * @param options - Payment method options including billing address
3396
- * @returns Result of the submission
3397
- */
3398
- submit(options: PaymentMethodFormOptions): Promise<PaymentMethod>;
3399
- /**
3400
- * Reset the form fields
3401
- */
3402
- reset(): void;
3403
- /**
3404
- * Clean up and remove event handlers
3405
- */
3406
- unmount(): void;
3407
- /**
3408
- * Add event handlers to the form
3409
- * @param handlers - The event handlers to add
3410
- */
3411
- addEventHandlers(handlers: PaymentFormEventHandlers): void;
3412
- /**
3413
- * Remove all event handlers currently registered via mount
3414
- */
3415
- removeHandlers(): void;
3416
- /**
3417
- * Set the field type for a field
3418
- * @param name - The name of the field
3419
- * @param type - The type of the field
3420
- */
3421
- setFieldType(name: spreedly.SpreedlyField, type: spreedly.SpreedlyFieldType): void;
3422
- /**
3423
- * Set the label for a field
3424
- * @param name - The name of the field
3425
- * @param label - The label for the field
3426
- */
3427
- setLabel(name: spreedly.SpreedlyField, label: string): void;
3428
- /**
3429
- * Set the number format for the form
3430
- * @param format - The number format
3431
- */
3432
- setNumberFormat(format: 'plainFormat' | 'prettyFormat' | 'maskedFormat'): void;
3433
- /**
3434
- * Set the placeholder for a field
3435
- * @param name - The name of the field
3436
- * @param placeholder - The placeholder for the field
3437
- */
3438
- setPlaceholder(name: spreedly.SpreedlyField, placeholder: string): void;
3439
- /**
3440
- * Set the style for a field
3441
- * @param name - The name of the field
3442
- * @param style - The css string to apply to the field
3443
- */
3444
- setStyle(name: spreedly.SpreedlyField, style: string): void;
3445
- }
3446
-
3447
3452
  interface ShippingCountriesResponse {
3448
3453
  shipping_countries: ShippingCountry[];
3449
3454
  }
@@ -3912,9 +3917,8 @@ declare function createPaymentMethod(session: Session, createRequest: CreatePaym
3912
3917
  */
3913
3918
  declare function updatePaymentMethod(session: Session, id: string | number, updateRequest: UpdatePaymentMethodRequest): Promise<PaymentMethod>;
3914
3919
  declare function listPaymentMethods(session: Session, query?: PaymentMethodListParams): Promise<PaymentMethodsResponse>;
3915
-
3916
3920
  /** @internal */
3917
- declare function createPaymentFormV1(session: Session, rechargePaymentMethodId?: string): Promise<PaymentFormController>;
3921
+ declare function initFrictionlessPaymentV1(session: Session, rechargePaymentMethodId?: string): Promise<PaymentFormController>;
3918
3922
 
3919
3923
  declare function getPlan(session: Session, id: string | number): Promise<Plan>;
3920
3924
  declare function listPlans(session: Session, query?: PlanListParams): Promise<PlansResponse>;
@@ -4003,4 +4007,4 @@ declare const api: {
4003
4007
  };
4004
4008
  declare function initRecharge(opt?: InitOptions): void;
4005
4009
 
4006
- export { type ActivateMembershipRequest, type AddToCartCallbackSettings, type AddonProduct, type AddonSettings, type AddonsSection, type Address, type AddressIncludes, type AddressListParams, type AddressListResponse, type AddressResponse, type AddressSortBy, type AnalyticsData, type Announcement, type ApplyCreditOptions, type AssociatedAddress, type BaseCardDetails, type BaseProduct, type BaseProductVariant, type BaseVariant, type BasicSubscriptionParams, type BooleanLike, type BooleanNumbers, type BooleanString, type BooleanStringNumbers, type BulkSubscriptionParams, type BundleAppProxy, type BundleData, type BundleDataBaseProduct, type BundleDataCollection, type BundleDataSellingPlan, type BundleDataSellingPlanGroup, type BundleDataVariant, type BundlePriceRule, type BundleProduct, type BundleProductLayoutSettings, type BundlePurchaseItem, type BundlePurchaseItemParams, type BundleSelection, type BundleSelectionAppProxy, type BundleSelectionItem, type BundleSelectionItemRequiredCreateProps, type BundleSelectionListParams, type BundleSelectionsResponse, type BundleSelectionsSortBy, type BundleSettings, type BundleTemplateSettings, type BundleTemplateType, type BundleTranslations, type BundleVariant, type BundleVariantOptionSource, type BundleVariantRange, type BundleVariantSelectionDefault, type CDNBaseWidgetSettings, type CDNBundleSettings, type CDNBundleVariant, type CDNBundleVariantOptionSource, type CDNPlan, type CDNProduct, type CDNProductAndSettings, type CDNProductKeyObject, type CDNProductQuery_2020_12, type CDNProductQuery_2022_06, type CDNProductRaw, type CDNProductResource, type CDNProductResponseType, type CDNProductType, type CDNProductVariant_2022_06, type CDNProduct_2022_06, type CDNProductsAndSettings, type CDNProductsAndSettingsResource, type CDNStoreSettings, type CDNSubscriptionOption, type CDNVariant, type CDNVersion, type CDNWidgetSettings, type CDNWidgetSettingsRaw, type CDNWidgetSettingsResource, type CRUDRequestOptions, type CancelMembershipRequest, type CancelSubscriptionRequest, type CardDetailsFirstNameLastName, type CardDetailsFullName, type ChangeMembershipRequest, type ChannelSettings, type Charge, type ChargeIncludes, type ChargeListParams, type ChargeListResponse, type ChargeResponse, type ChargeSortBy, type ChargeStatus, type Collection, type CollectionBinding, type CollectionListParams, type CollectionTypes, type CollectionsResponse, type CollectionsSortBy, type ColorString, type CreateAddressRequest, type CreateBundleSelectionRequest, type CreateMetafieldRequest, type CreateOnetimeRequest, type CreatePaymentMethodRequest, type CreateRecipientAddress, type CreateSubscriptionRequest, type CreateSubscriptionsParams, type CreateSubscriptionsRequest, type CreditAccount, type CreditAccountIncludes, type CreditAccountListParams, type CreditAccountType, type CreditAccountsResponse, type CreditAccountsSortBy, type CreditSummaryIncludes, type CrossSellsSection, type CrossSellsSettings, type CurrencyPriceSet, type Customer, type CustomerCreditSummary, type CustomerDeliveryScheduleParams, type CustomerDeliveryScheduleResponse, type CustomerIncludes, type CustomerNotification, type CustomerNotificationOptions, type CustomerNotificationTemplate, type CustomerNotificationType, type CustomerPortalAccessOptions, type CustomerPortalAccessResponse, type CustomerPortalSettings, type CustomerSurveyOfferParams, type CustomerSurveyOfferResponse, type CustomerSurveyOffersResponse, type CustomerSurveyReason, type CustomerSurveyReasonsResponse, type DefaultProduct, type DefaultSelection, type DefaultVariant, type DelayOption, type DeleteSubscriptionsParams, type DeleteSubscriptionsRequest, type Delivery, type DeliveryLineItem, type DeliveryOrder, type DeliveryPaymentMethod, type Discount, type DiscountType, type DynamicBundleItemAppProxy, type DynamicBundlePropertiesAppProxy, type EligibleChargeType, type EligibleLineItemType, type ExternalAttributeSchema, type ExternalId, type ExternalProductStatus, type ExternalTransactionId, type FirstOption, type GetAddressOptions, type GetChargeOptions, type GetCreditSummaryOptions, type GetCustomerOptions, type GetMembershipProgramOptions, type GetPaymentMethodOptions, type GetRequestOptions, type GetSubscriptionOptions, type GiftPurchase, type GiftPurchasesParams, type GiftPurchasesResponse, type HTMLString, type Incentives, type InitOptions, type InternalSession, type IntervalUnit, type InventoryPolicy, type IsoDateString, type LineItem, type ListParams, type LoginResponse, type Membership, type MembershipBenefit, type MembershipIncludes, type MembershipListParams, type MembershipListResponse, type MembershipProgram, type MembershipProgramIncludes, type MembershipProgramListParams, type MembershipProgramListResponse, type MembershipProgramResponse, type MembershipProgramSortBy, type MembershipProgramStatus, type MembershipResponse, type MembershipStatus, type MembershipsSortBy, type MergeAddressesRequest, type Metafield, type MetafieldOptionalCreateProps, type MetafieldOwnerResource, type MetafieldRequiredCreateProps, type Method, type Modifier, type MultiStepSettings, type OfferAttributes, type OnePageSettings, type Onetime, type OnetimeIncludes, type OnetimeListParams, type OnetimeOptionalCreateProps, type OnetimeRequiredCreateProps, type OnetimeSubscription, type OnetimesResponse, type OnetimesSortBy, type OnlineStoreOptions, type Options, type Order, type OrderIncludes, type OrderListParams, type OrderSortBy, type OrderStatus, type OrderType, type OrdersResponse, type PasswordlessCodeResponse, type PasswordlessOptions, type PasswordlessValidateResponse, type PaymentDetails, type PaymentErrorCallback, type PaymentFieldEventCallback, type PaymentFormConfig, type PaymentFormController, type PaymentFormEventHandlers, type PaymentMethod, type PaymentMethodFormOptions, type PaymentMethodIncludes, type PaymentMethodListParams, type PaymentMethodOptionalCreateProps, type PaymentMethodRequiredCreateProps, type PaymentMethodSortBy, type PaymentMethodStatus, type PaymentMethodTokenCallback, type PaymentMethodsResponse, type PaymentType, type Plan, type PlanListParams, type PlanSortBy, type PlanType, type PlansResponse, type PriceRange, type PriceRule, type PriceSet, type ProcessorName, type Product, type ProductImage, type ProductInclude, type ProductListResponse, type ProductOption, type ProductSearchParams_2020_12, type ProductSearchParams_2022_06, type ProductSearchResponse_2020_12, type ProductSearchResponse_2022_06, type ProductSearchType, type ProductSource, type ProductValueOption, type ProductVariant_2020_12, type ProductVariant_2022_06, type Product_2020_12, type Product_2022_06, type Property, type PublicBundleData, type PublishStatus, type PunchCardProgress, type PunchCardProgressData, type QuantityRange, type RecurringSubscription, type ReferralInfo, type ReferralUrl, type Request, type RequestHeaders, type RequestOptions, type SellingPlan, type SellingPlanAllocation, type SellingPlanGroup, type Session, type ShippingCountriesOptions, type ShippingCountriesResponse, type ShippingCountry, type ShippingLine, type ShippingProvince, type ShopifyStorefrontOptions, type ShopifyUpdatePaymentInfoOptions, type SkipChargeParams, type SkipFutureChargeAddressRequest, type SkipFutureChargeAddressResponse, type SortBy, type SortField, type SortKeys, type StepSettings, type StepSettingsCommon, type StepSettingsTypes, type StoreSettings, type StorefrontEnvironment, type StorefrontOptions, type StorefrontPurchaseOption, type SubType, type Subscription, type SubscriptionBase, type SubscriptionCancelled, type SubscriptionIncludes, type SubscriptionListParams, type SubscriptionOption, type SubscriptionOptionalCreateProps, type SubscriptionPreferences, type SubscriptionRequiredCreateProps, type SubscriptionSortBy, type SubscriptionStatus, type Subscription_2021_01, type SubscriptionsResponse, type TaxLine, type Tier, type TieredDiscount, type TieredDiscountStatus, type Translations, type UpdateAddressParams, type UpdateAddressRequest, type UpdateBundlePurchaseItem, type UpdateBundleSelectionRequest, type UpdateCustomerRequest, type UpdateMetafieldRequest, type UpdateOnetimeRequest, type UpdatePaymentMethodRequest, type UpdateSubscriptionChargeDateParams, type UpdateSubscriptionParams, type UpdateSubscriptionRequest, type UpdateSubscriptionsParams, type UpdateSubscriptionsRequest, type Variant, type VariantSelector, type VariantSelectorStepSetting, type WidgetIconColor, type WidgetTemplateType, type WidgetVisibility, activateMembership, activateSubscription, api, applyDiscountToAddress, applyDiscountToCharge, cancelMembership, cancelSubscription, changeMembership, claimOfferCustomerSurvey, createAddress, createBundleSelection, createMetafield, createOnetime, createPaymentFormV1, createPaymentMethod, createSubscription, createSubscriptions, delayOrder, deleteAddress, deleteBundleSelection, deleteMetafield, deleteOnetime, deleteSubscriptions, getActiveChurnLandingPageURL, getAddress, getBundleId, getBundleSelection, getBundleSelectionId, getCDNBundleSettings, getCDNProduct, getCDNProductAndSettings, getCDNProducts, getCDNProductsAndSettings, getCDNStoreSettings, getCDNWidgetSettings, getCharge, getCollection, getCreditSummary, getCustomer, getCustomerPortalAccess, getCustomerSurveyOffers, getCustomerSurveyReasons, getDeliverySchedule, getDynamicBundleItems, getFailedPaymentMethodRecoveryLandingPageURL, getGiftPurchase, getGiftRedemptionLandingPageURL, getMembership, getMembershipProgram, getOnetime, getOrder, getPaymentMethod, getPlan, getShippingCountries, getStoreSettings, getSubscription, initRecharge, type intervalUnit, listAddresses, listBundleSelections, listCharges, listCollectionProducts, listCollections, listCreditAccounts, listGiftPurchases, listMembershipPrograms, listMemberships, listOnetimes, listOrders, listPaymentMethods, listPlans, listSubscriptions, loadBundleData, loginCustomerPortal, loginShopifyApi, loginShopifyAppProxy, loginWithShopifyCustomerAccount, loginWithShopifyStorefront, type membershipIncludes, mergeAddresses, processCharge, productSearch, removeDiscountsFromAddress, removeDiscountsFromCharge, rescheduleCharge, resetCDNCache, sendCustomerNotification, sendPasswordlessCode, sendPasswordlessCodeAppProxy, setApplyCreditsToNextCharge, skipCharge, skipFutureCharge, skipGiftSubscriptionCharge, skipSubscriptionCharge, unskipCharge, updateAddress, updateBundle, updateBundleSelection, updateCustomer, updateMetafield, updateOnetime, updatePaymentMethod, updateSubscription, updateSubscriptionAddress, updateSubscriptionChargeDate, updateSubscriptions, validateBundle, validateBundleSelection, validateDynamicBundle, validatePasswordlessCode, validatePasswordlessCodeAppProxy };
4010
+ export { type ActivateMembershipRequest, type AddToCartCallbackSettings, type AddonProduct, type AddonSettings, type AddonsSection, type Address, type AddressIncludes, type AddressListParams, type AddressListResponse, type AddressResponse, type AddressSortBy, type AnalyticsData, type Announcement, type ApplyCreditOptions, type AssociatedAddress, type BaseCardDetails, type BaseProduct, type BaseProductVariant, type BaseVariant, type BasicSubscriptionParams, type BooleanLike, type BooleanNumbers, type BooleanString, type BooleanStringNumbers, type BulkSubscriptionParams, type BundleAppProxy, type BundleData, type BundleDataBaseProduct, type BundleDataCollection, type BundleDataSellingPlan, type BundleDataSellingPlanGroup, type BundleDataVariant, type BundlePriceRule, type BundleProduct, type BundleProductLayoutSettings, type BundlePurchaseItem, type BundlePurchaseItemParams, type BundleSelection, type BundleSelectionAppProxy, type BundleSelectionItem, type BundleSelectionItemRequiredCreateProps, type BundleSelectionListParams, type BundleSelectionsResponse, type BundleSelectionsSortBy, type BundleSettings, type BundleTemplateSettings, type BundleTemplateType, type BundleTranslations, type BundleVariant, type BundleVariantOptionSource, type BundleVariantRange, type BundleVariantSelectionDefault, type CDNBaseWidgetSettings, type CDNBundleSettings, type CDNBundleVariant, type CDNBundleVariantOptionSource, type CDNPlan, type CDNProduct, type CDNProductAndSettings, type CDNProductKeyObject, type CDNProductQuery_2020_12, type CDNProductQuery_2022_06, type CDNProductRaw, type CDNProductResource, type CDNProductResponseType, type CDNProductType, type CDNProductVariant_2022_06, type CDNProduct_2022_06, type CDNProductsAndSettings, type CDNProductsAndSettingsResource, type CDNStoreSettings, type CDNSubscriptionOption, type CDNVariant, type CDNVersion, type CDNWidgetSettings, type CDNWidgetSettingsRaw, type CDNWidgetSettingsResource, type CRUDRequestOptions, type CancelMembershipRequest, type CancelSubscriptionRequest, type CardDetailsFirstNameLastName, type CardDetailsFullName, type ChangeMembershipRequest, type ChannelSettings, type Charge, type ChargeIncludes, type ChargeListParams, type ChargeListResponse, type ChargeResponse, type ChargeSortBy, type ChargeStatus, type Collection, type CollectionBinding, type CollectionListParams, type CollectionTypes, type CollectionsResponse, type CollectionsSortBy, type ColorString, type CreateAddressRequest, type CreateBundleSelectionRequest, type CreateMetafieldRequest, type CreateOnetimeRequest, type CreatePaymentMethodRequest, type CreateRecipientAddress, type CreateSubscriptionRequest, type CreateSubscriptionsParams, type CreateSubscriptionsRequest, type CreditAccount, type CreditAccountIncludes, type CreditAccountListParams, type CreditAccountType, type CreditAccountsResponse, type CreditAccountsSortBy, type CreditSummaryIncludes, type CrossSellsSection, type CrossSellsSettings, type CurrencyPriceSet, type Customer, type CustomerCreditSummary, type CustomerDeliveryScheduleParams, type CustomerDeliveryScheduleResponse, type CustomerIncludes, type CustomerNotification, type CustomerNotificationOptions, type CustomerNotificationTemplate, type CustomerNotificationType, type CustomerPortalAccessOptions, type CustomerPortalAccessResponse, type CustomerPortalSettings, type CustomerSurveyOfferParams, type CustomerSurveyOfferResponse, type CustomerSurveyOffersResponse, type CustomerSurveyReason, type CustomerSurveyReasonsResponse, type DefaultProduct, type DefaultSelection, type DefaultVariant, type DelayOption, type DeleteSubscriptionsParams, type DeleteSubscriptionsRequest, type Delivery, type DeliveryLineItem, type DeliveryOrder, type DeliveryPaymentMethod, type Discount, type DiscountType, type DynamicBundleItemAppProxy, type DynamicBundlePropertiesAppProxy, type EligibleChargeType, type EligibleLineItemType, type ExternalAttributeSchema, type ExternalId, type ExternalProductStatus, type ExternalTransactionId, type FirstOption, type GetAddressOptions, type GetChargeOptions, type GetCreditSummaryOptions, type GetCustomerOptions, type GetMembershipProgramOptions, type GetPaymentMethodOptions, type GetRequestOptions, type GetSubscriptionOptions, type GiftPurchase, type GiftPurchasesParams, type GiftPurchasesResponse, type HTMLString, type Incentives, type InitOptions, type InternalSession, type IntervalUnit, type InventoryPolicy, type IsoDateString, type LineItem, type ListParams, type LoginResponse, type Membership, type MembershipBenefit, type MembershipIncludes, type MembershipListParams, type MembershipListResponse, type MembershipProgram, type MembershipProgramIncludes, type MembershipProgramListParams, type MembershipProgramListResponse, type MembershipProgramResponse, type MembershipProgramSortBy, type MembershipProgramStatus, type MembershipResponse, type MembershipStatus, type MembershipsSortBy, type MergeAddressesRequest, type Metafield, type MetafieldOptionalCreateProps, type MetafieldOwnerResource, type MetafieldRequiredCreateProps, type Method, type Modifier, type MultiStepSettings, type OfferAttributes, type OnePageSettings, type Onetime, type OnetimeIncludes, type OnetimeListParams, type OnetimeOptionalCreateProps, type OnetimeRequiredCreateProps, type OnetimeSubscription, type OnetimesResponse, type OnetimesSortBy, type OnlineStoreOptions, type Options, type Order, type OrderIncludes, type OrderListParams, type OrderSortBy, type OrderStatus, type OrderType, type OrdersResponse, type PasswordlessCodeResponse, type PasswordlessOptions, type PasswordlessValidateResponse, type PaymentDetails, type PaymentErrorCallback, type PaymentFieldEventCallback, type PaymentFormConfig, type PaymentFormController, type PaymentFormEventHandlers, type PaymentMethod, type PaymentMethodFormOptions, type PaymentMethodIncludes, type PaymentMethodListParams, type PaymentMethodOptionalCreateProps, type PaymentMethodRequiredCreateProps, type PaymentMethodSortBy, type PaymentMethodStatus, type PaymentMethodTokenCallback, type PaymentMethodsResponse, type PaymentType, type Plan, type PlanListParams, type PlanSortBy, type PlanType, type PlansResponse, type PriceRange, type PriceRule, type PriceSet, type ProcessorName, type Product, type ProductImage, type ProductInclude, type ProductListResponse, type ProductOption, type ProductSearchParams_2020_12, type ProductSearchParams_2022_06, type ProductSearchResponse_2020_12, type ProductSearchResponse_2022_06, type ProductSearchType, type ProductSource, type ProductValueOption, type ProductVariant_2020_12, type ProductVariant_2022_06, type Product_2020_12, type Product_2022_06, type Property, type PublicBundleData, type PublishStatus, type PunchCardProgress, type PunchCardProgressData, type QuantityRange, type RecurringSubscription, type ReferralInfo, type ReferralUrl, type Request, type RequestHeaders, type RequestOptions, type SellingPlan, type SellingPlanAllocation, type SellingPlanGroup, type Session, type ShippingCountriesOptions, type ShippingCountriesResponse, type ShippingCountry, type ShippingLine, type ShippingProvince, type ShopifyStorefrontOptions, type ShopifyUpdatePaymentInfoOptions, type SkipChargeParams, type SkipFutureChargeAddressRequest, type SkipFutureChargeAddressResponse, type SortBy, type SortField, type SortKeys, type StepSettings, type StepSettingsCommon, type StepSettingsTypes, type StoreSettings, type StorefrontEnvironment, type StorefrontOptions, type StorefrontPurchaseOption, type SubType, type Subscription, type SubscriptionBase, type SubscriptionCancelled, type SubscriptionIncludes, type SubscriptionListParams, type SubscriptionOption, type SubscriptionOptionalCreateProps, type SubscriptionPreferences, type SubscriptionRequiredCreateProps, type SubscriptionSortBy, type SubscriptionStatus, type Subscription_2021_01, type SubscriptionsResponse, type TaxLine, type Tier, type TieredDiscount, type TieredDiscountStatus, type Translations, type UpdateAddressParams, type UpdateAddressRequest, type UpdateBundlePurchaseItem, type UpdateBundleSelectionRequest, type UpdateCustomerRequest, type UpdateMetafieldRequest, type UpdateOnetimeRequest, type UpdatePaymentMethodRequest, type UpdateSubscriptionChargeDateParams, type UpdateSubscriptionParams, type UpdateSubscriptionRequest, type UpdateSubscriptionsParams, type UpdateSubscriptionsRequest, type Variant, type VariantSelector, type VariantSelectorStepSetting, type WidgetIconColor, type WidgetTemplateType, type WidgetVisibility, activateMembership, activateSubscription, api, applyDiscountToAddress, applyDiscountToCharge, cancelMembership, cancelSubscription, changeMembership, claimOfferCustomerSurvey, createAddress, createBundleSelection, createMetafield, createOnetime, createPaymentMethod, createSubscription, createSubscriptions, delayOrder, deleteAddress, deleteBundleSelection, deleteMetafield, deleteOnetime, deleteSubscriptions, getActiveChurnLandingPageURL, getAddress, getBundleId, getBundleSelection, getBundleSelectionId, getCDNBundleSettings, getCDNProduct, getCDNProductAndSettings, getCDNProducts, getCDNProductsAndSettings, getCDNStoreSettings, getCDNWidgetSettings, getCharge, getCollection, getCreditSummary, getCustomer, getCustomerPortalAccess, getCustomerSurveyOffers, getCustomerSurveyReasons, getDeliverySchedule, getDynamicBundleItems, getFailedPaymentMethodRecoveryLandingPageURL, getGiftPurchase, getGiftRedemptionLandingPageURL, getMembership, getMembershipProgram, getOnetime, getOrder, getPaymentMethod, getPlan, getShippingCountries, getStoreSettings, getSubscription, initFrictionlessPaymentV1, initRecharge, type intervalUnit, listAddresses, listBundleSelections, listCharges, listCollectionProducts, listCollections, listCreditAccounts, listGiftPurchases, listMembershipPrograms, listMemberships, listOnetimes, listOrders, listPaymentMethods, listPlans, listSubscriptions, loadBundleData, loginCustomerPortal, loginShopifyApi, loginShopifyAppProxy, loginWithShopifyCustomerAccount, loginWithShopifyStorefront, type membershipIncludes, mergeAddresses, processCharge, productSearch, removeDiscountsFromAddress, removeDiscountsFromCharge, rescheduleCharge, resetCDNCache, sendCustomerNotification, sendPasswordlessCode, sendPasswordlessCodeAppProxy, setApplyCreditsToNextCharge, skipCharge, skipFutureCharge, skipGiftSubscriptionCharge, skipSubscriptionCharge, unskipCharge, updateAddress, updateBundle, updateBundleSelection, updateCustomer, updateMetafield, updateOnetime, updatePaymentMethod, updateSubscription, updateSubscriptionAddress, updateSubscriptionChargeDate, updateSubscriptions, validateBundle, validateBundleSelection, validateDynamicBundle, validatePasswordlessCode, validatePasswordlessCodeAppProxy };