@rechargeapps/storefront-client 1.70.2 → 1.70.3

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
@@ -534,6 +534,154 @@ interface PaymentMethodListParams extends ListParams<PaymentMethodSortBy> {
534
534
  /** Include deleted payment methods */
535
535
  include_deleted?: boolean;
536
536
  }
537
+ /** @internal */
538
+ interface BaseCardDetails {
539
+ /** Expiration month (1-12 or '01'-'12') */
540
+ month: string | number;
541
+ /** Expiration year (YYYY or YY format) */
542
+ year: string | number;
543
+ }
544
+ /** @internal */
545
+ interface CardDetailsFirstNameLastName extends BaseCardDetails {
546
+ /** First name on the card */
547
+ first_name: string;
548
+ /** Last name on the card */
549
+ last_name: string;
550
+ }
551
+ /** @internal */
552
+ interface CardDetailsFullName extends BaseCardDetails {
553
+ /** Full name on the card */
554
+ full_name: string;
555
+ }
556
+ /** @internal */
557
+ interface PaymentMethodFormOptions {
558
+ /** Card holder details */
559
+ card_details: CardDetailsFirstNameLastName | CardDetailsFullName;
560
+ /** Billing address for the payment method */
561
+ billing_address: AssociatedAddress;
562
+ /** Whether to set this payment method as the default */
563
+ default_payment_method?: boolean;
564
+ /** Recharge address IDs to associate with this payment method */
565
+ address_ids?: number[];
566
+ }
567
+ /** @internal */
568
+ interface PaymentFormConfig {
569
+ /** DOM element ID where the card number field will be mounted */
570
+ numberElementId: string;
571
+ /** DOM element ID where the CVV field will be mounted */
572
+ cvvElementId: string;
573
+ /** Optional css styles for the hosted fields (number and cvv) */
574
+ styles?: string;
575
+ /** Field type for the card number field, defaults to 'number' */
576
+ numberFieldType?: spreedly.SpreedlyFieldType;
577
+ /** Field type for the CVV field, defaults to 'number' */
578
+ cvvFieldType?: spreedly.SpreedlyFieldType;
579
+ /** Label for the card number field, defaults to 'Card Number' */
580
+ numberLabel?: string;
581
+ /** Label for the CVV field, defaults to 'CVV' */
582
+ cvvLabel?: string;
583
+ /** Placeholder text for card number field, default is empty string */
584
+ numberPlaceholder?: string;
585
+ /** Placeholder text for CVV field, default is empty string */
586
+ cvvPlaceholder?: string;
587
+ /**
588
+ * Format for card number and CVV display
589
+ * 'plainFormat' - default (no formatting)
590
+ * 'prettyFormat' - adds spaces between groups of 4 digits, requires numberFieldType to be 'text' or 'tel'
591
+ * 'maskedFormat' - masked via '*' no spaces, forces numberFieldType to 'text'
592
+ */
593
+ numberFormat?: 'plainFormat' | 'prettyFormat' | 'maskedFormat';
594
+ }
595
+ /** @internal */
596
+ interface PaymentFieldEventCallback {
597
+ (fieldName: spreedly.SpreedlyField, eventType: spreedly.SpreedlyFieldEventType, activeElement: spreedly.SpreedlyField, inputProperties: spreedly.SpreedlyFieldEventInputProperties): void;
598
+ }
599
+ /** @internal */
600
+ interface PaymentMethodTokenCallback {
601
+ (token: string, paymentMethod: spreedly.SpreedlyPaymentMethod): void;
602
+ }
603
+ /** @internal */
604
+ interface PaymentErrorCallback {
605
+ (errors: spreedly.SpreedlyError[]): void;
606
+ }
607
+ /** @internal */
608
+ interface PaymentFormEventHandlers {
609
+ /** Called when the form is ready for input */
610
+ onReady?: () => void;
611
+ /** Called when a field event occurs */
612
+ onFieldEvent?: PaymentFieldEventCallback;
613
+ /** Called when a payment method token is received */
614
+ onPaymentMethod?: PaymentMethodTokenCallback;
615
+ /** Called when validation errors occur */
616
+ onErrors?: PaymentErrorCallback;
617
+ }
618
+ /** @internal */
619
+ interface PaymentFormController {
620
+ /**
621
+ * Initialize the payment form with the payment script
622
+ * @param config - Configuration for the form
623
+ * @param handlers - Event handlers for form events
624
+ */
625
+ mount(config: PaymentFormConfig, handlers?: PaymentFormEventHandlers): void;
626
+ /**
627
+ * Tokenize the current card data
628
+ * This triggers the payment script to create a payment method token
629
+ * @param cardDetails - Card holder name and expiration
630
+ */
631
+ tokenize(cardDetails: CardDetailsFirstNameLastName | CardDetailsFullName): void;
632
+ /**
633
+ * Submit the tokenized payment method to Recharge, will not tokenize the card data again if tokenize has already been called
634
+ * @param options - Payment method options including billing address
635
+ * @returns Result of the submission
636
+ */
637
+ submit(options: PaymentMethodFormOptions): Promise<PaymentMethod>;
638
+ /**
639
+ * Reset the form fields
640
+ */
641
+ reset(): void;
642
+ /**
643
+ * Clean up and remove event handlers
644
+ */
645
+ unmount(): void;
646
+ /**
647
+ * Add event handlers to the form
648
+ * @param handlers - The event handlers to add
649
+ */
650
+ addEventHandlers(handlers: PaymentFormEventHandlers): void;
651
+ /**
652
+ * Remove all event handlers currently registered via mount
653
+ */
654
+ removeHandlers(): void;
655
+ /**
656
+ * Set the field type for a field
657
+ * @param name - The name of the field
658
+ * @param type - The type of the field
659
+ */
660
+ setFieldType(name: spreedly.SpreedlyField, type: spreedly.SpreedlyFieldType): void;
661
+ /**
662
+ * Set the label for a field
663
+ * @param name - The name of the field
664
+ * @param label - The label for the field
665
+ */
666
+ setLabel(name: spreedly.SpreedlyField, label: string): void;
667
+ /**
668
+ * Set the number format for the form
669
+ * @param format - The number format
670
+ */
671
+ setNumberFormat(format: 'plainFormat' | 'prettyFormat' | 'maskedFormat'): void;
672
+ /**
673
+ * Set the placeholder for a field
674
+ * @param name - The name of the field
675
+ * @param placeholder - The placeholder for the field
676
+ */
677
+ setPlaceholder(name: spreedly.SpreedlyField, placeholder: string): void;
678
+ /**
679
+ * Set the style for a field
680
+ * @param name - The name of the field
681
+ * @param style - The css string to apply to the field
682
+ */
683
+ setStyle(name: spreedly.SpreedlyField, style: string): void;
684
+ }
537
685
 
538
686
  interface Incentives {
539
687
  tiered_discounts: TieredDiscount[];
@@ -3295,155 +3443,6 @@ interface InitOptions {
3295
3443
  __unstable_twoFactorRetryFn?: () => Promise<Session | undefined>;
3296
3444
  }
3297
3445
 
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
3446
  interface ShippingCountriesResponse {
3448
3447
  shipping_countries: ShippingCountry[];
3449
3448
  }
@@ -3912,9 +3911,8 @@ declare function createPaymentMethod(session: Session, createRequest: CreatePaym
3912
3911
  */
3913
3912
  declare function updatePaymentMethod(session: Session, id: string | number, updateRequest: UpdatePaymentMethodRequest): Promise<PaymentMethod>;
3914
3913
  declare function listPaymentMethods(session: Session, query?: PaymentMethodListParams): Promise<PaymentMethodsResponse>;
3915
-
3916
3914
  /** @internal */
3917
- declare function createPaymentFormV1(session: Session, rechargePaymentMethodId?: string): Promise<PaymentFormController>;
3915
+ declare function initFrictionlessPaymentV1(session: Session, rechargePaymentMethodId?: string): Promise<PaymentFormController>;
3918
3916
 
3919
3917
  declare function getPlan(session: Session, id: string | number): Promise<Plan>;
3920
3918
  declare function listPlans(session: Session, query?: PlanListParams): Promise<PlansResponse>;
@@ -4003,4 +4001,4 @@ declare const api: {
4003
4001
  };
4004
4002
  declare function initRecharge(opt?: InitOptions): void;
4005
4003
 
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 };
4004
+ 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 };