@rechargeapps/storefront-client 1.80.0 → 1.82.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.
package/dist/index.d.ts CHANGED
@@ -695,40 +695,233 @@ interface Addon {
695
695
  type: AddonType;
696
696
  }
697
697
 
698
- interface Incentives {
699
- tiered_discounts: TieredDiscount[];
698
+ type CreditSummaryIncludes = 'credit_details';
699
+ interface GetCreditSummaryOptions {
700
+ include?: CreditSummaryIncludes[];
701
+ presentment_currency_code?: string;
702
+ }
703
+ type CreditAccountType = 'reward' | 'manual' | 'gift';
704
+ interface PriceSet {
705
+ amount: string;
706
+ currency_code: string;
707
+ }
708
+ interface CurrencyPriceSet {
709
+ store_default_currency: PriceSet;
710
+ presentment_currency: PriceSet;
711
+ }
712
+ interface CreditAccount {
713
+ /** id of the credit account */
714
+ id: number;
715
+ /** Customer the credit account is associated with */
716
+ customer_id: number;
717
+ /** Store the credit account is associated with */
718
+ store_id: number;
719
+ /** Current balance of the credit account */
720
+ available_balance: string;
721
+ /** Starting balance of the credit account */
722
+ initial_balance: string;
723
+ /** When the credit account was created */
724
+ created_at: IsoDateString;
725
+ /** Currency of the credit account */
726
+ currency_code: string;
727
+ /** When the credit account expires */
728
+ expires_at: IsoDateString | null;
729
+ /** Name of the credit account */
730
+ name: string;
731
+ /** Redemption_code associated with credit account */
732
+ redemption_code: string;
733
+ /** The last time the credit account was updated */
734
+ updated_at: IsoDateString;
735
+ api_client_id: number;
736
+ api_client_restricted: boolean;
737
+ /** Type of credit account */
738
+ type: CreditAccountType;
739
+ /** Currency price set of the credit account */
740
+ available_balance_set?: CurrencyPriceSet;
741
+ }
742
+ interface CustomerCreditSummary {
743
+ /** Unique numeric identifier for the Customer. */
744
+ customer_id: number;
745
+ /** The total balance of the customer’s credit accounts. */
746
+ total_available_balance: string;
747
+ /** The currency of the customer’s credit balance. */
748
+ currency_code: string;
749
+ include?: {
750
+ credit_details: CreditAccount[];
751
+ };
752
+ /** Currency price set of the customer's total credit balance */
753
+ total_available_balance_set?: CurrencyPriceSet;
754
+ /** Maximum amount of credits that can be redeemed per charge */
755
+ max_redemption_limit?: number | null;
756
+ /** Currency price set of the customer's max redemption limit */
757
+ max_redemption_limit_set?: CurrencyPriceSet;
758
+ /** Total available balance by credit type */
759
+ total_available_balance_by_credit_type?: {
760
+ [key in CreditAccountType]: number;
761
+ };
762
+ }
763
+ type CreditAccountsSortBy = 'id-desc' | 'id-asc' | 'expires_at-asc' | 'expires_at-desc';
764
+ type CreditAccountIncludes = 'customer';
765
+ interface CreditAccountListParams extends ListParams<CreditAccountsSortBy> {
766
+ /** Filter credit accounts by type. */
767
+ credit_type?: CreditAccountType;
768
+ /** Filter credit accounts by id. */
769
+ ids?: (string | number)[];
770
+ /** Show credit accounts that expire after the given date. */
771
+ expires_at_min?: IsoDateString;
772
+ /** Show credit accounts that expire before the given date. */
773
+ expires_at_max?: IsoDateString;
774
+ /** Include related data options */
775
+ include?: CreditAccountIncludes[];
700
776
  }
701
- /** Line item types eligible for tiered discounts */
777
+ interface CreditAccountsResponse {
778
+ next_cursor: null | string;
779
+ previous_cursor: null | string;
780
+ credit_accounts: CreditAccount[];
781
+ }
782
+ interface ApplyCreditOptions {
783
+ recurring?: boolean;
784
+ }
785
+
786
+ /**
787
+ * Types for Recharge tiered discount incentives: rules that apply larger discounts
788
+ * when qualifying subscription or one-time line items meet per-tier quantity or
789
+ * line-price thresholds on checkout or recurring charges.
790
+ *
791
+ * Consumers use these shapes with the incentives tiered-discount API and on
792
+ * incentive payloads scoped to a bundle product, a single product, or a collection.
793
+ */
794
+
795
+ /**
796
+ * Which line item kinds a tiered discount may apply to.
797
+ * - `subscription`: recurring subscription items
798
+ * - `onetime`: one-time purchase items
799
+ */
702
800
  type EligibleLineItemType = 'subscription' | 'onetime';
703
- /** Charge types eligible for tiered discounts */
801
+ /**
802
+ * Which charge types a tiered discount may apply to.
803
+ * - `checkout`: first purchase / checkout charge
804
+ * - `recurring`: subsequent subscription charges
805
+ */
704
806
  type EligibleChargeType = 'checkout' | 'recurring';
705
- /** Tiered discount status */
706
- type TieredDiscountStatus = 'draft' | 'unpublished' | 'published' | 'inactive';
707
807
  /**
708
- * Discount tier configuration
808
+ * Lifecycle state of a tiered discount configuration.
809
+ * - `draft`: not yet published
810
+ * - `unpublished`: only active for existing customers
811
+ * - `published`: active for all customers
812
+ * - `inactive`: inactive for all customers
709
813
  */
710
- type Tier = {
814
+ type TieredDiscountStatus = 'draft' | 'unpublished' | 'published' | 'inactive';
815
+ /** @internal Common fields present on every tier row before the quantity vs line-price condition. */
816
+ type TierBase = {
817
+ /** Whether the discount is a percentage or fixed amount. */
711
818
  discount_type: 'percentage' | 'fixed_amount';
819
+ /** Discount value (percentage or currency amount, depending on `discount_type`). */
712
820
  discount_value: number | string;
713
- condition_quantity_gte: number | string;
821
+ /** Stable identifier for this tier within the discount configuration. */
714
822
  lookup_key: string;
823
+ /**
824
+ * Spend threshold in both store-default and presentment currencies.
825
+ * Only present on spend-based tiers when `presentment_currency_code` is passed.
826
+ */
827
+ condition_line_price_gte_set?: CurrencyPriceSet;
715
828
  };
716
829
  /**
717
- * Tiered discount configuration
830
+ * Each tier uses exactly one threshold:
831
+ * either condition quantity greater than or equal to or
832
+ * condition line price greater than or equal to, never both.
833
+ */
834
+ type Tier = TierBase & ({
835
+ condition_quantity_gte: number | string;
836
+ condition_line_price_gte?: never;
837
+ } | {
838
+ condition_line_price_gte: number | string;
839
+ condition_quantity_gte?: never;
840
+ });
841
+ /**
842
+ * A tiered discount definition scoped to a bundle product, a single product, or a
843
+ * collection (via the corresponding optional fields), including eligible charge and
844
+ * line item types and the ordered list of tiers.
718
845
  */
719
846
  interface TieredDiscount {
847
+ /** Incentive config id. */
848
+ id: number;
849
+ /** Created timestamp (ISO 8601). */
850
+ created_at: IsoDateString;
851
+ /** Updated timestamp (ISO 8601). */
852
+ updated_at: IsoDateString;
853
+ /** Shopify automatic discount title used at checkout; may be null. */
854
+ shopify_display_name: string | null;
855
+ /** Charge types (checkout vs recurring) this discount applies to. */
720
856
  eligible_charge_types: EligibleChargeType[];
857
+ /** Line item types (subscription vs onetime) this discount applies to. */
721
858
  eligible_line_item_types: EligibleLineItemType[];
722
- external_bundle_product_id: {
723
- ecommerce: string;
859
+ /**
860
+ * Bundle scope: external bundle product id on the ecommerce platform.
861
+ * Present when the discount targets one bundle product.
862
+ */
863
+ external_bundle_product_id?: {
864
+ ecommerce: string | null;
865
+ };
866
+ /**
867
+ * Single-product scope: external product id on the ecommerce platform.
868
+ * Present when the discount targets one product.
869
+ */
870
+ external_product_id?: {
871
+ ecommerce: string | null;
724
872
  };
873
+ /**
874
+ * Collection scope: Recharge collection id when the discount applies to a collection.
875
+ * Present when the discount targets a collection.
876
+ */
877
+ collection_id?: string | null;
878
+ /** Stable identifier for this tiered discount configuration. */
725
879
  lookup_key: string;
880
+ /** Internal name for the Tiered Discount. */
726
881
  name: string;
882
+ /** Publication and lifecycle state. */
727
883
  status: TieredDiscountStatus;
884
+ /** Ordered tiers as returned by the API (each entry wraps one tier object). */
728
885
  tiers: {
729
886
  tier: Tier;
730
887
  }[];
731
888
  }
889
+ /** Payload (e.g. bundle-data or incentives API) that can embed tiered discount definitions. */
890
+ interface Incentives {
891
+ /** Tiered discount configurations for the current context. */
892
+ tiered_discounts: TieredDiscount[];
893
+ }
894
+ /** Paginated list response for tiered discounts. */
895
+ interface TieredDiscountsResponse {
896
+ /** Cursor for the next page, or `null` if none. */
897
+ next_cursor: string | null;
898
+ /** Cursor for the previous page, or `null` if none. */
899
+ previous_cursor: string | null;
900
+ /** Tiered discounts in this page. */
901
+ tiered_discounts: TieredDiscount[];
902
+ }
903
+ /** Query parameters when listing tiered discounts. */
904
+ interface TieredDiscountsParams {
905
+ /** Restrict to discounts in this status. */
906
+ status?: TieredDiscountStatus;
907
+ /** Filter by external (ecommerce) product id. */
908
+ external_product_id?: string;
909
+ /** Filter by external bundle product id. */
910
+ external_bundle_product_id?: string;
911
+ /** Filter by Recharge collection id. */
912
+ collection_id?: string;
913
+ /** Pagination cursor from a prior response. */
914
+ cursor?: string;
915
+ /** Maximum number of records to return. */
916
+ limit?: number;
917
+ /**
918
+ * ISO 4217 currency code for the customer's presentment currency.
919
+ * When provided and different from the store currency, spend-based tiers
920
+ * include a `condition_line_price_gte_set` with converted amounts.
921
+ */
922
+ presentment_currency_code?: string;
923
+ }
924
+
732
925
  interface AddonSettings {
733
926
  collectionHandle: string;
734
927
  collectionId: string;
@@ -1325,9 +1518,13 @@ interface CreateSubscriptionRequest extends SubType<Subscription, SubscriptionRe
1325
1518
  /** subscription plan_id - if included on create request then charge_interval_frequency/order_interval_frequency/order_interval_unit are not required */
1326
1519
  plan_id?: Plan['id'];
1327
1520
  }
1328
- interface UpdateSubscriptionRequest extends Partial<Pick<Subscription, 'charge_interval_frequency' | 'expire_after_specific_number_of_charges' | 'external_variant_id' | 'next_charge_scheduled_at' | 'order_day_of_month' | 'order_day_of_week' | 'order_interval_frequency' | 'order_interval_unit' | 'properties' | 'quantity'> & {
1521
+ interface UpdateSubscriptionRequest extends Partial<Pick<Subscription, 'charge_interval_frequency' | 'expire_after_specific_number_of_charges' | 'external_variant_id' | 'next_charge_scheduled_at' | 'order_day_of_month' | 'order_day_of_week' | 'order_interval_frequency' | 'order_interval_unit' | 'properties' | 'quantity' | 'status'> & {
1329
1522
  /** subscription plan_id - if included on update request then charge_interval_frequency/order_interval_frequency/order_interval_unit are not required */
1330
1523
  plan_id?: Plan['id'];
1524
+ /** Reason for cancellation. Only accepted when status is 'cancelled'. */
1525
+ cancellation_reason?: string;
1526
+ /** Additional comments for cancellation reason. Only accepted when status is 'cancelled'. */
1527
+ cancellation_reason_comments?: string;
1331
1528
  }> {
1332
1529
  }
1333
1530
  interface BasicSubscriptionParams {
@@ -1673,6 +1870,8 @@ interface Charge {
1673
1870
  payment_processor: string;
1674
1871
  /** The date and time when the transaction was processed. */
1675
1872
  processed_at: IsoDateString;
1873
+ /** The originally scheduled date for the Charge, before any rescheduling. */
1874
+ original_scheduled_at?: IsoDateString | null;
1676
1875
  /** The date time of when the Charge is/was scheduled to process. */
1677
1876
  scheduled_at: IsoDateString;
1678
1877
  /** The shipping Address of the Charge. */
@@ -2940,94 +3139,6 @@ interface CollectionListParams extends ListParams<CollectionsSortBy> {
2940
3139
  title?: string;
2941
3140
  }
2942
3141
 
2943
- type CreditSummaryIncludes = 'credit_details';
2944
- interface GetCreditSummaryOptions {
2945
- include?: CreditSummaryIncludes[];
2946
- presentment_currency_code?: string;
2947
- }
2948
- type CreditAccountType = 'reward' | 'manual' | 'gift';
2949
- interface PriceSet {
2950
- amount: string;
2951
- currency_code: string;
2952
- }
2953
- interface CurrencyPriceSet {
2954
- store_default_currency: PriceSet;
2955
- presentment_currency: PriceSet;
2956
- }
2957
- interface CreditAccount {
2958
- /** id of the credit account */
2959
- id: number;
2960
- /** Customer the credit account is associated with */
2961
- customer_id: number;
2962
- /** Store the credit account is associated with */
2963
- store_id: number;
2964
- /** Current balance of the credit account */
2965
- available_balance: string;
2966
- /** Starting balance of the credit account */
2967
- initial_balance: string;
2968
- /** When the credit account was created */
2969
- created_at: IsoDateString;
2970
- /** Currency of the credit account */
2971
- currency_code: string;
2972
- /** When the credit account expires */
2973
- expires_at: IsoDateString | null;
2974
- /** Name of the credit account */
2975
- name: string;
2976
- /** Redemption_code associated with credit account */
2977
- redemption_code: string;
2978
- /** The last time the credit account was updated */
2979
- updated_at: IsoDateString;
2980
- api_client_id: number;
2981
- api_client_restricted: boolean;
2982
- /** Type of credit account */
2983
- type: CreditAccountType;
2984
- /** Currency price set of the credit account */
2985
- available_balance_set?: CurrencyPriceSet;
2986
- }
2987
- interface CustomerCreditSummary {
2988
- /** Unique numeric identifier for the Customer. */
2989
- customer_id: number;
2990
- /** The total balance of the customer’s credit accounts. */
2991
- total_available_balance: string;
2992
- /** The currency of the customer’s credit balance. */
2993
- currency_code: string;
2994
- include?: {
2995
- credit_details: CreditAccount[];
2996
- };
2997
- /** Currency price set of the customer's total credit balance */
2998
- total_available_balance_set?: CurrencyPriceSet;
2999
- /** Maximum amount of credits that can be redeemed per charge */
3000
- max_redemption_limit?: number | null;
3001
- /** Currency price set of the customer's max redemption limit */
3002
- max_redemption_limit_set?: CurrencyPriceSet;
3003
- /** Total available balance by credit type */
3004
- total_available_balance_by_credit_type?: {
3005
- [key in CreditAccountType]: number;
3006
- };
3007
- }
3008
- type CreditAccountsSortBy = 'id-desc' | 'id-asc' | 'expires_at-asc' | 'expires_at-desc';
3009
- type CreditAccountIncludes = 'customer';
3010
- interface CreditAccountListParams extends ListParams<CreditAccountsSortBy> {
3011
- /** Filter credit accounts by type. */
3012
- credit_type?: CreditAccountType;
3013
- /** Filter credit accounts by id. */
3014
- ids?: (string | number)[];
3015
- /** Show credit accounts that expire after the given date. */
3016
- expires_at_min?: IsoDateString;
3017
- /** Show credit accounts that expire before the given date. */
3018
- expires_at_max?: IsoDateString;
3019
- /** Include related data options */
3020
- include?: CreditAccountIncludes[];
3021
- }
3022
- interface CreditAccountsResponse {
3023
- next_cursor: null | string;
3024
- previous_cursor: null | string;
3025
- credit_accounts: CreditAccount[];
3026
- }
3027
- interface ApplyCreditOptions {
3028
- recurring?: boolean;
3029
- }
3030
-
3031
3142
  /** @internal */
3032
3143
  interface CustomerSurveyReason {
3033
3144
  id: number;
@@ -3719,6 +3830,8 @@ interface CustomerPortalSettings {
3719
3830
  show_credits: boolean;
3720
3831
  /** Whether recurring order blocking is enabled or not. */
3721
3832
  recurring_order_blocking: boolean;
3833
+ /** Whether the store uses slots or not. */
3834
+ store_uses_slots: boolean;
3722
3835
  /** Subscription related settings */
3723
3836
  subscription: {
3724
3837
  /** Whether the customer can create new subscriptions or not. */
@@ -4058,6 +4171,9 @@ declare function updateSubscriptions(session: Session, addressId: string | numbe
4058
4171
  */
4059
4172
  declare function deleteSubscriptions(session: Session, addressId: string | number, deleteRequestBulk: DeleteSubscriptionsRequest[], query?: DeleteSubscriptionsParams): Promise<void>;
4060
4173
 
4174
+ declare function listTieredDiscounts(session: Session, options?: TieredDiscountsParams): Promise<TieredDiscountsResponse>;
4175
+ declare function getTieredDiscount(session: Session, id: string | number): Promise<TieredDiscount>;
4176
+
4061
4177
  /**
4062
4178
  * @internal
4063
4179
  * @deprecated will be removed in next version
@@ -4070,4 +4186,4 @@ declare const api: {
4070
4186
  };
4071
4187
  declare function initRecharge(opt?: InitOptions): void;
4072
4188
 
4073
- export { type ActivateMembershipRequest, type AddToCartCallbackSettings, type Addon, type AddonProduct, type AddonSettings, type AddonType, 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 BundleFilterGroup, 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 CustomerIncludeGiftPurchase, 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 DiscountApplicationMethod, type DiscountType, type DynamicBundleItemAppProxy, type DynamicBundlePropertiesAppProxy, type EligibleChargeType, type EligibleLineItemType, type ExternalAttributeSchema, type ExternalId, type ExternalProductStatus, type ExternalTransactionId, type FilterInputType, type FilterMatchMode, type FilterSource, 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 };
4189
+ export { type ActivateMembershipRequest, type AddToCartCallbackSettings, type Addon, type AddonProduct, type AddonSettings, type AddonType, 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 BundleFilterGroup, 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 CustomerIncludeGiftPurchase, 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 DiscountApplicationMethod, type DiscountType, type DynamicBundleItemAppProxy, type DynamicBundlePropertiesAppProxy, type EligibleChargeType, type EligibleLineItemType, type ExternalAttributeSchema, type ExternalId, type ExternalProductStatus, type ExternalTransactionId, type FilterInputType, type FilterMatchMode, type FilterSource, 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 TieredDiscountsParams, type TieredDiscountsResponse, 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, getTieredDiscount, initFrictionlessPaymentV1, initRecharge, type intervalUnit, listAddresses, listBundleSelections, listCharges, listCollectionProducts, listCollections, listCreditAccounts, listGiftPurchases, listMembershipPrograms, listMemberships, listOnetimes, listOrders, listPaymentMethods, listPlans, listSubscriptions, listTieredDiscounts, 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 };