@rechargeapps/storefront-client 1.81.0 → 1.83.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/cjs/api/auth.js +1 -1
- package/dist/cjs/api/bundleData.js +1 -1
- package/dist/cjs/utils/bundleData.js +3 -1
- package/dist/cjs/utils/bundleData.js.map +1 -1
- package/dist/cjs/utils/request.js +1 -1
- package/dist/esm/api/auth.js +1 -1
- package/dist/esm/api/bundleData.js +1 -1
- package/dist/esm/utils/bundleData.js +3 -1
- package/dist/esm/utils/bundleData.js.map +1 -1
- package/dist/esm/utils/request.js +1 -1
- package/dist/index.d.ts +153 -91
- package/dist/umd/recharge-client.min.js +10 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -695,6 +695,94 @@ interface Addon {
|
|
|
695
695
|
type: AddonType;
|
|
696
696
|
}
|
|
697
697
|
|
|
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[];
|
|
776
|
+
}
|
|
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
|
+
|
|
698
786
|
/**
|
|
699
787
|
* Types for Recharge tiered discount incentives: rules that apply larger discounts
|
|
700
788
|
* when qualifying subscription or one-time line items meet per-tier quantity or
|
|
@@ -732,6 +820,11 @@ type TierBase = {
|
|
|
732
820
|
discount_value: number | string;
|
|
733
821
|
/** Stable identifier for this tier within the discount configuration. */
|
|
734
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;
|
|
735
828
|
};
|
|
736
829
|
/**
|
|
737
830
|
* Each tier uses exactly one threshold:
|
|
@@ -821,8 +914,42 @@ interface TieredDiscountsParams {
|
|
|
821
914
|
cursor?: string;
|
|
822
915
|
/** Maximum number of records to return. */
|
|
823
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;
|
|
824
923
|
}
|
|
825
924
|
|
|
925
|
+
type ViewTypeSetting = {
|
|
926
|
+
viewType: 'page' | 'modal';
|
|
927
|
+
};
|
|
928
|
+
interface ViewsTemplateSchema {
|
|
929
|
+
[key: string]: ViewTemplateSchema;
|
|
930
|
+
}
|
|
931
|
+
interface ViewTemplateSchema {
|
|
932
|
+
order: string[];
|
|
933
|
+
sections: {
|
|
934
|
+
[key: string]: WidgetSchemaSection;
|
|
935
|
+
};
|
|
936
|
+
settings?: ViewTypeSetting;
|
|
937
|
+
}
|
|
938
|
+
type WidgetSchemaSection = {
|
|
939
|
+
type: string;
|
|
940
|
+
name?: string;
|
|
941
|
+
settings: Settings;
|
|
942
|
+
blocks?: {
|
|
943
|
+
[key: string]: WidgetSchemaBlock;
|
|
944
|
+
};
|
|
945
|
+
blocksOrder?: string[];
|
|
946
|
+
};
|
|
947
|
+
type WidgetSchemaBlock = {
|
|
948
|
+
type: string;
|
|
949
|
+
settings: Settings;
|
|
950
|
+
};
|
|
951
|
+
type Settings = Record<string, string | number>;
|
|
952
|
+
|
|
826
953
|
interface AddonSettings {
|
|
827
954
|
collectionHandle: string;
|
|
828
955
|
collectionId: string;
|
|
@@ -878,6 +1005,19 @@ type WidgetVisibility = {
|
|
|
878
1005
|
signup: boolean;
|
|
879
1006
|
portal: boolean;
|
|
880
1007
|
};
|
|
1008
|
+
interface BundleProductGlobalStyles {
|
|
1009
|
+
global_aspect_ratio: string;
|
|
1010
|
+
global_background: string;
|
|
1011
|
+
global_body_font: string;
|
|
1012
|
+
global_brand: string;
|
|
1013
|
+
global_brand_secondary: string;
|
|
1014
|
+
global_buttons_color: string;
|
|
1015
|
+
global_cards_background: string;
|
|
1016
|
+
global_cards_border: string;
|
|
1017
|
+
global_corners: string;
|
|
1018
|
+
global_page_width: string;
|
|
1019
|
+
global_text_color: string;
|
|
1020
|
+
}
|
|
881
1021
|
interface BundleProductLayoutSettings {
|
|
882
1022
|
addons: AddonSettings;
|
|
883
1023
|
addToCartCallback: AddToCartCallbackSettings;
|
|
@@ -895,6 +1035,8 @@ interface BundleProductLayoutSettings {
|
|
|
895
1035
|
templateSettings: BundleTemplateSettings;
|
|
896
1036
|
title: string;
|
|
897
1037
|
visibility: WidgetVisibility;
|
|
1038
|
+
templates?: Record<string, number> | ViewsTemplateSchema | null;
|
|
1039
|
+
globalStyles?: BundleProductGlobalStyles | null;
|
|
898
1040
|
}
|
|
899
1041
|
interface BundleVariantOptionSource {
|
|
900
1042
|
id: number;
|
|
@@ -1190,7 +1332,7 @@ interface BundleData {
|
|
|
1190
1332
|
price_rule: BundleProduct['price_rule'];
|
|
1191
1333
|
customization_window: BundleProduct['customization_window'];
|
|
1192
1334
|
customization_window_disabled_message: BundleProduct['customization_window_disabled_message'];
|
|
1193
|
-
layout_settings: Pick<BundleProduct['layout_settings'], 'addons' | 'crossSells' | 'defaultFrequency' | 'collapsibleSections' | 'showVariants' | 'learnMoreModal' | 'addToCartCallback'>;
|
|
1335
|
+
layout_settings: Pick<BundleProduct['layout_settings'], 'addons' | 'crossSells' | 'defaultFrequency' | 'collapsibleSections' | 'showVariants' | 'learnMoreModal' | 'addToCartCallback' | 'templates' | 'globalStyles'>;
|
|
1194
1336
|
variants: {
|
|
1195
1337
|
ranges: BundleProduct['variants'][number]['ranges'];
|
|
1196
1338
|
enabled: BundleProduct['variants'][number]['enabled'];
|
|
@@ -1419,9 +1561,13 @@ interface CreateSubscriptionRequest extends SubType<Subscription, SubscriptionRe
|
|
|
1419
1561
|
/** subscription plan_id - if included on create request then charge_interval_frequency/order_interval_frequency/order_interval_unit are not required */
|
|
1420
1562
|
plan_id?: Plan['id'];
|
|
1421
1563
|
}
|
|
1422
|
-
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'> & {
|
|
1564
|
+
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'> & {
|
|
1423
1565
|
/** subscription plan_id - if included on update request then charge_interval_frequency/order_interval_frequency/order_interval_unit are not required */
|
|
1424
1566
|
plan_id?: Plan['id'];
|
|
1567
|
+
/** Reason for cancellation. Only accepted when status is 'cancelled'. */
|
|
1568
|
+
cancellation_reason?: string;
|
|
1569
|
+
/** Additional comments for cancellation reason. Only accepted when status is 'cancelled'. */
|
|
1570
|
+
cancellation_reason_comments?: string;
|
|
1425
1571
|
}> {
|
|
1426
1572
|
}
|
|
1427
1573
|
interface BasicSubscriptionParams {
|
|
@@ -1767,6 +1913,8 @@ interface Charge {
|
|
|
1767
1913
|
payment_processor: string;
|
|
1768
1914
|
/** The date and time when the transaction was processed. */
|
|
1769
1915
|
processed_at: IsoDateString;
|
|
1916
|
+
/** The originally scheduled date for the Charge, before any rescheduling. */
|
|
1917
|
+
original_scheduled_at?: IsoDateString | null;
|
|
1770
1918
|
/** The date time of when the Charge is/was scheduled to process. */
|
|
1771
1919
|
scheduled_at: IsoDateString;
|
|
1772
1920
|
/** The shipping Address of the Charge. */
|
|
@@ -2140,6 +2288,8 @@ interface PublicBundleData {
|
|
|
2140
2288
|
cross_sells: CrossSellsSection | null;
|
|
2141
2289
|
incentives: Incentives | null;
|
|
2142
2290
|
filters: BundleFilterGroup[];
|
|
2291
|
+
templates: Record<string, number> | ViewsTemplateSchema | null;
|
|
2292
|
+
globalStyles: BundleProductGlobalStyles | null;
|
|
2143
2293
|
}
|
|
2144
2294
|
type PriceRule = 'FIXED' | 'DYNAMIC';
|
|
2145
2295
|
/**
|
|
@@ -3034,94 +3184,6 @@ interface CollectionListParams extends ListParams<CollectionsSortBy> {
|
|
|
3034
3184
|
title?: string;
|
|
3035
3185
|
}
|
|
3036
3186
|
|
|
3037
|
-
type CreditSummaryIncludes = 'credit_details';
|
|
3038
|
-
interface GetCreditSummaryOptions {
|
|
3039
|
-
include?: CreditSummaryIncludes[];
|
|
3040
|
-
presentment_currency_code?: string;
|
|
3041
|
-
}
|
|
3042
|
-
type CreditAccountType = 'reward' | 'manual' | 'gift';
|
|
3043
|
-
interface PriceSet {
|
|
3044
|
-
amount: string;
|
|
3045
|
-
currency_code: string;
|
|
3046
|
-
}
|
|
3047
|
-
interface CurrencyPriceSet {
|
|
3048
|
-
store_default_currency: PriceSet;
|
|
3049
|
-
presentment_currency: PriceSet;
|
|
3050
|
-
}
|
|
3051
|
-
interface CreditAccount {
|
|
3052
|
-
/** id of the credit account */
|
|
3053
|
-
id: number;
|
|
3054
|
-
/** Customer the credit account is associated with */
|
|
3055
|
-
customer_id: number;
|
|
3056
|
-
/** Store the credit account is associated with */
|
|
3057
|
-
store_id: number;
|
|
3058
|
-
/** Current balance of the credit account */
|
|
3059
|
-
available_balance: string;
|
|
3060
|
-
/** Starting balance of the credit account */
|
|
3061
|
-
initial_balance: string;
|
|
3062
|
-
/** When the credit account was created */
|
|
3063
|
-
created_at: IsoDateString;
|
|
3064
|
-
/** Currency of the credit account */
|
|
3065
|
-
currency_code: string;
|
|
3066
|
-
/** When the credit account expires */
|
|
3067
|
-
expires_at: IsoDateString | null;
|
|
3068
|
-
/** Name of the credit account */
|
|
3069
|
-
name: string;
|
|
3070
|
-
/** Redemption_code associated with credit account */
|
|
3071
|
-
redemption_code: string;
|
|
3072
|
-
/** The last time the credit account was updated */
|
|
3073
|
-
updated_at: IsoDateString;
|
|
3074
|
-
api_client_id: number;
|
|
3075
|
-
api_client_restricted: boolean;
|
|
3076
|
-
/** Type of credit account */
|
|
3077
|
-
type: CreditAccountType;
|
|
3078
|
-
/** Currency price set of the credit account */
|
|
3079
|
-
available_balance_set?: CurrencyPriceSet;
|
|
3080
|
-
}
|
|
3081
|
-
interface CustomerCreditSummary {
|
|
3082
|
-
/** Unique numeric identifier for the Customer. */
|
|
3083
|
-
customer_id: number;
|
|
3084
|
-
/** The total balance of the customer’s credit accounts. */
|
|
3085
|
-
total_available_balance: string;
|
|
3086
|
-
/** The currency of the customer’s credit balance. */
|
|
3087
|
-
currency_code: string;
|
|
3088
|
-
include?: {
|
|
3089
|
-
credit_details: CreditAccount[];
|
|
3090
|
-
};
|
|
3091
|
-
/** Currency price set of the customer's total credit balance */
|
|
3092
|
-
total_available_balance_set?: CurrencyPriceSet;
|
|
3093
|
-
/** Maximum amount of credits that can be redeemed per charge */
|
|
3094
|
-
max_redemption_limit?: number | null;
|
|
3095
|
-
/** Currency price set of the customer's max redemption limit */
|
|
3096
|
-
max_redemption_limit_set?: CurrencyPriceSet;
|
|
3097
|
-
/** Total available balance by credit type */
|
|
3098
|
-
total_available_balance_by_credit_type?: {
|
|
3099
|
-
[key in CreditAccountType]: number;
|
|
3100
|
-
};
|
|
3101
|
-
}
|
|
3102
|
-
type CreditAccountsSortBy = 'id-desc' | 'id-asc' | 'expires_at-asc' | 'expires_at-desc';
|
|
3103
|
-
type CreditAccountIncludes = 'customer';
|
|
3104
|
-
interface CreditAccountListParams extends ListParams<CreditAccountsSortBy> {
|
|
3105
|
-
/** Filter credit accounts by type. */
|
|
3106
|
-
credit_type?: CreditAccountType;
|
|
3107
|
-
/** Filter credit accounts by id. */
|
|
3108
|
-
ids?: (string | number)[];
|
|
3109
|
-
/** Show credit accounts that expire after the given date. */
|
|
3110
|
-
expires_at_min?: IsoDateString;
|
|
3111
|
-
/** Show credit accounts that expire before the given date. */
|
|
3112
|
-
expires_at_max?: IsoDateString;
|
|
3113
|
-
/** Include related data options */
|
|
3114
|
-
include?: CreditAccountIncludes[];
|
|
3115
|
-
}
|
|
3116
|
-
interface CreditAccountsResponse {
|
|
3117
|
-
next_cursor: null | string;
|
|
3118
|
-
previous_cursor: null | string;
|
|
3119
|
-
credit_accounts: CreditAccount[];
|
|
3120
|
-
}
|
|
3121
|
-
interface ApplyCreditOptions {
|
|
3122
|
-
recurring?: boolean;
|
|
3123
|
-
}
|
|
3124
|
-
|
|
3125
3187
|
/** @internal */
|
|
3126
3188
|
interface CustomerSurveyReason {
|
|
3127
3189
|
id: number;
|
|
@@ -4169,4 +4231,4 @@ declare const api: {
|
|
|
4169
4231
|
};
|
|
4170
4232
|
declare function initRecharge(opt?: InitOptions): void;
|
|
4171
4233
|
|
|
4172
|
-
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 };
|
|
4234
|
+
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 BundleProductGlobalStyles, 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 };
|