@rechargeapps/storefront-client 0.6.1 → 0.7.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/address.js +16 -16
- package/dist/cjs/api/address.js.map +1 -1
- package/dist/cjs/api/auth.js +22 -14
- package/dist/cjs/api/auth.js.map +1 -1
- package/dist/cjs/api/bundle.js +4 -4
- package/dist/cjs/api/bundle.js.map +1 -1
- package/dist/cjs/api/cdn.js +17 -15
- package/dist/cjs/api/cdn.js.map +1 -1
- package/dist/cjs/api/charge.js +19 -19
- package/dist/cjs/api/charge.js.map +1 -1
- package/dist/cjs/api/memberships.js +31 -0
- package/dist/cjs/api/memberships.js.map +1 -0
- package/dist/cjs/api/onetime.js +17 -17
- package/dist/cjs/api/onetime.js.map +1 -1
- package/dist/cjs/api/order.js +6 -6
- package/dist/cjs/api/order.js.map +1 -1
- package/dist/cjs/api/subscription.js +27 -27
- package/dist/cjs/api/subscription.js.map +1 -1
- package/dist/cjs/api/user.js +12 -16
- package/dist/cjs/api/user.js.map +1 -1
- package/dist/cjs/constants/api.js +2 -0
- package/dist/cjs/constants/api.js.map +1 -1
- package/dist/cjs/index.js +7 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/utils/init.js +1 -2
- package/dist/cjs/utils/init.js.map +1 -1
- package/dist/cjs/utils/options.js +1 -2
- package/dist/cjs/utils/options.js.map +1 -1
- package/dist/cjs/utils/request.js +2 -7
- package/dist/cjs/utils/request.js.map +1 -1
- package/dist/esm/api/address.js +16 -16
- package/dist/esm/api/address.js.map +1 -1
- package/dist/esm/api/auth.js +22 -14
- package/dist/esm/api/auth.js.map +1 -1
- package/dist/esm/api/bundle.js +4 -4
- package/dist/esm/api/bundle.js.map +1 -1
- package/dist/esm/api/cdn.js +17 -15
- package/dist/esm/api/cdn.js.map +1 -1
- package/dist/esm/api/charge.js +19 -19
- package/dist/esm/api/charge.js.map +1 -1
- package/dist/esm/api/memberships.js +24 -0
- package/dist/esm/api/memberships.js.map +1 -0
- package/dist/esm/api/onetime.js +17 -17
- package/dist/esm/api/onetime.js.map +1 -1
- package/dist/esm/api/order.js +6 -6
- package/dist/esm/api/order.js.map +1 -1
- package/dist/esm/api/subscription.js +27 -27
- package/dist/esm/api/subscription.js.map +1 -1
- package/dist/esm/api/user.js +12 -16
- package/dist/esm/api/user.js.map +1 -1
- package/dist/esm/constants/api.js +2 -1
- package/dist/esm/constants/api.js.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/init.js +1 -2
- package/dist/esm/utils/init.js.map +1 -1
- package/dist/esm/utils/options.js +1 -2
- package/dist/esm/utils/options.js.map +1 -1
- package/dist/esm/utils/request.js +2 -7
- package/dist/esm/utils/request.js.map +1 -1
- package/dist/index.d.ts +108 -50
- package/dist/umd/recharge-storefront-client.min.js +11 -11
- package/dist/umd/recharge-storefront-client.min.js.map +1 -1
- package/package.json +2 -6
- package/dist/cjs/utils/session.js +0 -34
- package/dist/cjs/utils/session.js.map +0 -1
- package/dist/esm/utils/session.js +0 -24
- package/dist/esm/utils/session.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -523,37 +523,42 @@ interface AddressListParams extends ListParams<AddressSortBy> {
|
|
|
523
523
|
created_at_max?: IsoDateString;
|
|
524
524
|
}
|
|
525
525
|
|
|
526
|
+
interface Session {
|
|
527
|
+
apiToken: string;
|
|
528
|
+
userId: string;
|
|
529
|
+
}
|
|
530
|
+
|
|
526
531
|
/** Returns all addresses from the store, or addresses for the user given in the parameter. */
|
|
527
|
-
declare function listAddresses(query?: AddressListParams): Promise<AddressListResponse>;
|
|
532
|
+
declare function listAddresses(session: Session, query?: AddressListParams): Promise<AddressListResponse>;
|
|
528
533
|
/** Retrieves address for customer based on specified address id. */
|
|
529
|
-
declare function getAddress(id: number): Promise<Address>;
|
|
534
|
+
declare function getAddress(session: Session, id: string | number): Promise<Address>;
|
|
530
535
|
/** Create a new address for a customer. */
|
|
531
|
-
declare function createAddress(
|
|
536
|
+
declare function createAddress(session: Session, createRequest: CreateAddressRequest): Promise<Address>;
|
|
532
537
|
/** Updates an existing address to match the specified parameters. */
|
|
533
|
-
declare function updateAddress(id: number,
|
|
538
|
+
declare function updateAddress(session: Session, id: string | number, updateRequest: UpdateAddressRequest): Promise<Address>;
|
|
534
539
|
/** Deletes an address. Only Addresses with no active Subscriptions can be deleted. */
|
|
535
|
-
declare function deleteAddress(id: number): Promise<void>;
|
|
540
|
+
declare function deleteAddress(session: Session, id: string | number): Promise<void>;
|
|
536
541
|
/**
|
|
537
542
|
* Merges up to 10 source addresses into 1 target address.
|
|
538
543
|
*/
|
|
539
|
-
declare function mergeAddresses(
|
|
544
|
+
declare function mergeAddresses(session: Session, mergeRequest: MergeAddressesRequest): Promise<Address>;
|
|
540
545
|
/**
|
|
541
546
|
* Skip a Charge in the future for one or multiple Subscriptions associated with the Address.
|
|
542
547
|
*/
|
|
543
|
-
declare function skipFutureCharge(id: number,
|
|
548
|
+
declare function skipFutureCharge(session: Session, id: string | number, skipRequest: SkipFutureChargeAddressRequest): Promise<Charge>;
|
|
544
549
|
|
|
545
|
-
declare
|
|
546
|
-
declare
|
|
550
|
+
declare function loginShopifyAppProxy(): Promise<Session | null>;
|
|
551
|
+
declare function loginShopifyApi(customerAccessToken: string, storefrontAccessToken: string): Promise<Session | null>;
|
|
547
552
|
|
|
548
|
-
declare function getCharge(id: number | string): Promise<Charge>;
|
|
553
|
+
declare function getCharge(session: Session, id: number | string): Promise<Charge>;
|
|
549
554
|
/** Lists charges */
|
|
550
|
-
declare function listCharges(query?: ChargeListParams): Promise<ChargeListResponse>;
|
|
555
|
+
declare function listCharges(session: Session, query?: ChargeListParams): Promise<ChargeListResponse>;
|
|
551
556
|
/**
|
|
552
557
|
* You cannot add a Discount to an existing queued Charge if the Charge or the associated Address already has one.
|
|
553
558
|
* You can provide either discount_id or discount_code. If both parameters are passed, the value for discount_id will take precedence.
|
|
554
559
|
* If a Charge has a Discount and it gets updated, or a regeneration occurs, the Discount will be lost. Regeneration is a process that refreshes the Charge JSON with new data in the case of the Subscription or Address being updated.
|
|
555
560
|
*/
|
|
556
|
-
declare function applyDiscount(id: number | string,
|
|
561
|
+
declare function applyDiscount(session: Session, id: number | string, applyRequest: ApplyDiscountRequest): Promise<Charge>;
|
|
557
562
|
/**
|
|
558
563
|
* Remove a Discount from a Charge without destroying the Discount.
|
|
559
564
|
* In most cases the Discount should be removed from the Address. When the Discount is removed from the Address, the Discount is also removed from any future Charges.
|
|
@@ -561,16 +566,16 @@ declare function applyDiscount(id: number | string, request: ApplyDiscountReques
|
|
|
561
566
|
* When removing your Discount, it is preferable to pass the address_id so that the Discount stays removed if the Charge is regenerated. Only pass charge_id in edge cases in which there are two or more Charges on a parent Address and you only want to remove the Discount from one Charge.
|
|
562
567
|
* If you pass both parameters, it will remove the Discount from the Address.
|
|
563
568
|
*/
|
|
564
|
-
declare function removeDiscount(id: number | string): Promise<Charge>;
|
|
565
|
-
declare function skipCharge(id: number | string): Promise<Charge>;
|
|
566
|
-
declare function unskipCharge(id: number | string): Promise<Charge>;
|
|
567
|
-
declare function refundCharge(id: number | string,
|
|
569
|
+
declare function removeDiscount(session: Session, id: number | string): Promise<Charge>;
|
|
570
|
+
declare function skipCharge(session: Session, id: number | string): Promise<Charge>;
|
|
571
|
+
declare function unskipCharge(session: Session, id: number | string): Promise<Charge>;
|
|
572
|
+
declare function refundCharge(session: Session, id: number | string, refundRequest: RefundChargeRequest): Promise<Charge>;
|
|
568
573
|
/** The charge processing route can be used to process Charges that are in a queued or error status. */
|
|
569
|
-
declare function processCharge(id: number | string): Promise<Charge>;
|
|
574
|
+
declare function processCharge(session: Session, id: number | string): Promise<Charge>;
|
|
570
575
|
/**
|
|
571
576
|
* If you are leveraging the authorize/capture workflow with Recharge, the charge/{id}/capture_payment endpoint is how to capture the funds of a previously authorized Charge.
|
|
572
577
|
*/
|
|
573
|
-
declare function captureCharge(id: number | string): Promise<Charge>;
|
|
578
|
+
declare function captureCharge(session: Session, id: number | string): Promise<Charge>;
|
|
574
579
|
|
|
575
580
|
declare type Method = 'get' | 'post' | 'put' | 'delete';
|
|
576
581
|
declare type Request = <T>(method: Method, url: string, options?: RequestOptions) => Promise<T>;
|
|
@@ -959,21 +964,74 @@ interface StorefrontOptions {
|
|
|
959
964
|
storeIdentifier: string;
|
|
960
965
|
/** This is only for internal use. Sets the environment where data is fetched from. */
|
|
961
966
|
environment: StorefrontEnvironment;
|
|
962
|
-
/** currently only for internal use */
|
|
963
|
-
apiKey?: string;
|
|
964
967
|
}
|
|
965
968
|
|
|
966
|
-
declare
|
|
967
|
-
declare
|
|
968
|
-
declare
|
|
969
|
-
declare
|
|
970
|
-
declare
|
|
971
|
-
declare
|
|
972
|
-
declare
|
|
973
|
-
declare
|
|
969
|
+
declare function getProduct(externalProductId: string | number): Promise<CDNProduct>;
|
|
970
|
+
declare function getStoreSettings(): Promise<CDNStoreSettings>;
|
|
971
|
+
declare function getWidgetSettings(): Promise<CDNWidgetSettings>;
|
|
972
|
+
declare function getProductsAndSettings(): Promise<CDNProductsAndSettings>;
|
|
973
|
+
declare function getProducts(): Promise<CDNProductKeyObject[]>;
|
|
974
|
+
declare function getProductAndSettings(externalProductId: string | number): Promise<CDNProductAndSettings>;
|
|
975
|
+
declare function getBundleSettings(externalProductId: string | number): Promise<CDNBundleSettings | null | undefined>;
|
|
976
|
+
declare function resetCache(): Promise<void>;
|
|
977
|
+
|
|
978
|
+
declare function getBundleId(bundle: Bundle): Promise<string>;
|
|
979
|
+
declare function validateBundle(bundle: Bundle): Promise<boolean>;
|
|
980
|
+
|
|
981
|
+
declare type MembershipStatus = 'active' | 'inactive';
|
|
982
|
+
interface Membership {
|
|
983
|
+
id: string;
|
|
984
|
+
store_id: number;
|
|
985
|
+
customer_id: number;
|
|
986
|
+
membership_program_id: number;
|
|
987
|
+
purchase_item_id: number | null;
|
|
988
|
+
status: MembershipStatus;
|
|
989
|
+
created_at: IsoDateString;
|
|
990
|
+
deleted_at: IsoDateString | null;
|
|
991
|
+
expires_at: IsoDateString | null;
|
|
992
|
+
subscription_cancelled_at: IsoDateString | null;
|
|
993
|
+
image?: string;
|
|
994
|
+
}
|
|
995
|
+
interface MembershipListResponse {
|
|
996
|
+
next_cursor: null | string;
|
|
997
|
+
previous_cursor: null | string;
|
|
998
|
+
memberships: Membership[];
|
|
999
|
+
}
|
|
1000
|
+
declare type MembershipsSortBy = 'id-asc' | 'id-desc';
|
|
1001
|
+
declare type membershipIncludes = 'customer' | 'subscriptions';
|
|
1002
|
+
declare type MembershipIncludes = `${membershipIncludes}` | `${membershipIncludes},${membershipIncludes}`;
|
|
1003
|
+
interface MembershipListParams extends ListParams<MembershipsSortBy> {
|
|
1004
|
+
include?: MembershipIncludes;
|
|
1005
|
+
customer_id?: number;
|
|
1006
|
+
customer_name?: string;
|
|
1007
|
+
customer_email?: string;
|
|
1008
|
+
membership_program_ids?: string;
|
|
1009
|
+
status?: MembershipStatus;
|
|
1010
|
+
created_at_min?: IsoDateString;
|
|
1011
|
+
created_at_max?: IsoDateString;
|
|
1012
|
+
expires_at_min?: IsoDateString;
|
|
1013
|
+
expires_at_max?: IsoDateString;
|
|
1014
|
+
include_cancelled?: boolean;
|
|
1015
|
+
include_deleted?: boolean;
|
|
1016
|
+
}
|
|
1017
|
+
interface ActivateMembershipRequest {
|
|
1018
|
+
expires_at: string | null;
|
|
1019
|
+
}
|
|
1020
|
+
interface CancelMembershipRequest {
|
|
1021
|
+
cancel_immediately: boolean;
|
|
1022
|
+
cancellation_reason: string;
|
|
1023
|
+
cancellation_reason_comments: string;
|
|
1024
|
+
expires_at: IsoDateString;
|
|
1025
|
+
}
|
|
974
1026
|
|
|
975
|
-
|
|
976
|
-
declare
|
|
1027
|
+
/** Retrieves membership information for passed in id */
|
|
1028
|
+
declare function getMembership(session: Session, id: string | number): Promise<Membership>;
|
|
1029
|
+
/** Retrieves a list of memberships */
|
|
1030
|
+
declare function listMemberships(session: Session, query?: MembershipListParams): Promise<MembershipListResponse>;
|
|
1031
|
+
/** Cancels a membership */
|
|
1032
|
+
declare function cancelMembership(session: Session, id: string | number, cancelRequest: CancelMembershipRequest): Promise<Membership>;
|
|
1033
|
+
/** Activates a membership */
|
|
1034
|
+
declare function activateMembership(session: Session, id: string | number, activateRequest: ActivateMembershipRequest): Promise<Membership>;
|
|
977
1035
|
|
|
978
1036
|
interface Onetime {
|
|
979
1037
|
/** Unique numeric identifier for the Onetime purchase. */
|
|
@@ -1031,14 +1089,14 @@ interface OnetimesResponse {
|
|
|
1031
1089
|
declare type OnetimesSortBy = 'id-asc' | 'id-desc' | 'created_at-asc' | 'created_at-desc' | 'updated_at-asc' | 'updated_at-desc';
|
|
1032
1090
|
declare type OnetimeListParams = ListParams<OnetimesSortBy>;
|
|
1033
1091
|
|
|
1034
|
-
declare
|
|
1035
|
-
declare
|
|
1036
|
-
declare
|
|
1037
|
-
declare
|
|
1038
|
-
declare
|
|
1092
|
+
declare function getOnetime(session: Session, id: string | number): Promise<Onetime>;
|
|
1093
|
+
declare function listOnetimes(session: Session, query?: OnetimeListParams): Promise<OnetimesResponse>;
|
|
1094
|
+
declare function createOnetime(session: Session, createRequest: CreateOnetimeRequest): Promise<Onetime>;
|
|
1095
|
+
declare function updateOnetime(session: Session, id: string | number, updateRequest: UpdateOnetimeRequest): Promise<Onetime>;
|
|
1096
|
+
declare function deleteOnetime(session: Session, id: string | number): Promise<void>;
|
|
1039
1097
|
|
|
1040
|
-
declare
|
|
1041
|
-
declare
|
|
1098
|
+
declare function getOrder(session: Session, id: string | number): Promise<Order>;
|
|
1099
|
+
declare function listOrders(session: Session, query?: OrderListParams): Promise<OrdersResponse>;
|
|
1042
1100
|
|
|
1043
1101
|
interface Subscription {
|
|
1044
1102
|
/** Unique numeric identifier for the subscription. */
|
|
@@ -1148,39 +1206,39 @@ interface CancelSubscriptionRequest {
|
|
|
1148
1206
|
send_email?: boolean;
|
|
1149
1207
|
}
|
|
1150
1208
|
|
|
1151
|
-
declare
|
|
1152
|
-
declare
|
|
1209
|
+
declare function getSubscription(session: Session, id: string | number): Promise<Subscription>;
|
|
1210
|
+
declare function listSubscriptions(session: Session, query?: SubscriptionListParams): Promise<SubscriptionsResponse>;
|
|
1153
1211
|
/**
|
|
1154
1212
|
* When creating a subscription via API, order_interval_frequency and charge_interval_frequency values do not necessarily
|
|
1155
1213
|
* need to match the values set in the respective Plans. The product, however, does need to have at least one Plan in order
|
|
1156
1214
|
* to be added to a subscription.
|
|
1157
1215
|
*/
|
|
1158
|
-
declare
|
|
1216
|
+
declare function createSubscription(session: Session, createRequest: CreateSubscriptionRequest): Promise<Subscription>;
|
|
1159
1217
|
/**
|
|
1160
1218
|
* Updating parameters like frequency, charge_interval_frequency, order_interval_frequency, order_interval_unit will cause our algorithm to automatically recalculate the next charge date (next_charge_scheduled_at).
|
|
1161
1219
|
* WARNING: This update will remove skipped and manually changed charges.
|
|
1162
1220
|
* If you want to change the next charge date (next_charge_scheduled_at) we recommend you to update these parameters first.
|
|
1163
1221
|
* When updating order_interval_unit OR order_interval_frequency OR charge_interval_frequency all three parameters are required.
|
|
1164
1222
|
*/
|
|
1165
|
-
declare
|
|
1223
|
+
declare function updateSubscription(session: Session, id: string | number, updateRequest: UpdateSubscriptionRequest, query?: UpdateSubscriptionParams): Promise<Subscription>;
|
|
1166
1224
|
/**
|
|
1167
1225
|
* If there are two active subscriptions with the same address_id, and you update their
|
|
1168
1226
|
* next_charge_date parameters to match, their charges will get merged into a new charge
|
|
1169
1227
|
* with a new id
|
|
1170
1228
|
*/
|
|
1171
|
-
declare
|
|
1172
|
-
declare
|
|
1229
|
+
declare function updateSubscriptionChargeDate(session: Session, id: string | number, date: IsoDateString): Promise<Subscription>;
|
|
1230
|
+
declare function updateSubscriptionAddress(session: Session, id: string | number, address_id: string | number): Promise<Subscription>;
|
|
1173
1231
|
/**
|
|
1174
1232
|
* An involuntary subscription cancelled due to max retries reached will trigger the
|
|
1175
1233
|
* charge/max_retries_reached webhook. If this leads to the subscription being cancelled,
|
|
1176
1234
|
* the subscription/cancelled webhook will trigger.
|
|
1177
1235
|
*/
|
|
1178
|
-
declare
|
|
1236
|
+
declare function cancelSubscription(session: Session, id: string | number, cancelRequest: CancelSubscriptionRequest): Promise<Subscription>;
|
|
1179
1237
|
/**
|
|
1180
1238
|
* When activating subscription, following attributes will be set to null: cancelled_at, cancellation_reason
|
|
1181
1239
|
* and cancellation_reason_comments.
|
|
1182
1240
|
*/
|
|
1183
|
-
declare
|
|
1241
|
+
declare function activateSubscription(session: Session, id: string | number): Promise<Subscription>;
|
|
1184
1242
|
|
|
1185
1243
|
interface User {
|
|
1186
1244
|
/** Unique numeric identifier for the Customer. */
|
|
@@ -1224,11 +1282,11 @@ interface Delivery {
|
|
|
1224
1282
|
orders: Order[];
|
|
1225
1283
|
}
|
|
1226
1284
|
|
|
1227
|
-
declare
|
|
1228
|
-
declare
|
|
1229
|
-
declare
|
|
1285
|
+
declare function getUser(session: Session): Promise<User>;
|
|
1286
|
+
declare function updateUser(session: Session, updateRequest: UpdateUserRequest): Promise<User>;
|
|
1287
|
+
declare function getDeliverySchedule(session: Session, query?: UserDeliveryScheduleParams): Promise<Delivery[]>;
|
|
1230
1288
|
|
|
1231
|
-
declare type InitOptions = Omit<Partial<StorefrontOptions>, 'environment'
|
|
1289
|
+
declare type InitOptions = Omit<Partial<StorefrontOptions>, 'environment'>;
|
|
1232
1290
|
declare const api: {
|
|
1233
1291
|
get<T>(url: string, requestOptions?: GetRequestOptions): Promise<T>;
|
|
1234
1292
|
post<T_1>(url: string, requestOptions?: CRUDRequestOptions): Promise<T_1>;
|
|
@@ -1237,4 +1295,4 @@ declare const api: {
|
|
|
1237
1295
|
};
|
|
1238
1296
|
declare function initRecharge(opt?: InitOptions): void;
|
|
1239
1297
|
|
|
1240
|
-
export { Bundle, BundleSelection, BundleTranslations, CDNBaseWidgetSettings, CDNBundleLayoutSettings, CDNBundleSettings, CDNBundleStep, CDNBundleStepOption, CDNBundleVariant, CDNBundleVariantOptionSource, CDNBundleVariantSelectionDefault, CDNPrices, CDNProduct, CDNProductAndSettings, CDNProductKeyObject, CDNProductOption, CDNProductOptionValue, CDNProductRaw, CDNProductResource, CDNProductsAndSettings, CDNProductsAndSettingsResource, CDNSellingPlan, CDNSellingPlanAllocations, CDNSellingPlanGroup, CDNStoreSettings, CDNSubscriptionOption, CDNVariant, CDNVariantOptionValue, CDNWidgetSettings, CDNWidgetSettingsRaw, CDNWidgetSettingsResource, CRUDRequestOptions, FirstOption, GetRequestOptions, InitOptions, IntervalUnit, Method, PriceAdjustmentsType, Request, RequestHeaders, RequestOptions, RequestOptionsHeaders, StorefrontEnvironment, StorefrontOptions, StorefrontPurchaseOption, Translations, WidgetIconColor, WidgetTemplateType, activateSubscription, api, applyDiscount, cancelSubscription, captureCharge, createAddress, createOnetime, createSubscription, deleteAddress, deleteOnetime, getAddress, getBundleId, getBundleSettings, getCharge, getDeliverySchedule, getOnetime, getOrder, getProduct, getProductAndSettings, getProducts, getProductsAndSettings, getStoreSettings, getSubscription, getUser, getWidgetSettings, initRecharge, listAddresses, listCharges, listOnetimes, listOrders, listSubscriptions,
|
|
1298
|
+
export { Bundle, BundleSelection, BundleTranslations, CDNBaseWidgetSettings, CDNBundleLayoutSettings, CDNBundleSettings, CDNBundleStep, CDNBundleStepOption, CDNBundleVariant, CDNBundleVariantOptionSource, CDNBundleVariantSelectionDefault, CDNPrices, CDNProduct, CDNProductAndSettings, CDNProductKeyObject, CDNProductOption, CDNProductOptionValue, CDNProductRaw, CDNProductResource, CDNProductsAndSettings, CDNProductsAndSettingsResource, CDNSellingPlan, CDNSellingPlanAllocations, CDNSellingPlanGroup, CDNStoreSettings, CDNSubscriptionOption, CDNVariant, CDNVariantOptionValue, CDNWidgetSettings, CDNWidgetSettingsRaw, CDNWidgetSettingsResource, CRUDRequestOptions, FirstOption, GetRequestOptions, InitOptions, IntervalUnit, Method, PriceAdjustmentsType, Request, RequestHeaders, RequestOptions, RequestOptionsHeaders, StorefrontEnvironment, StorefrontOptions, StorefrontPurchaseOption, Translations, WidgetIconColor, WidgetTemplateType, activateMembership, activateSubscription, api, applyDiscount, cancelMembership, cancelSubscription, captureCharge, createAddress, createOnetime, createSubscription, deleteAddress, deleteOnetime, getAddress, getBundleId, getBundleSettings, getCharge, getDeliverySchedule, getMembership, getOnetime, getOrder, getProduct, getProductAndSettings, getProducts, getProductsAndSettings, getStoreSettings, getSubscription, getUser, getWidgetSettings, initRecharge, listAddresses, listCharges, listMemberships, listOnetimes, listOrders, listSubscriptions, loginShopifyApi, loginShopifyAppProxy, mergeAddresses, processCharge, refundCharge, removeDiscount, resetCache, skipCharge, skipFutureCharge, unskipCharge, updateAddress, updateOnetime, updateSubscription, updateSubscriptionAddress, updateSubscriptionChargeDate, updateUser, validateBundle };
|