@rechargeapps/storefront-client 1.59.0 → 1.61.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
@@ -97,6 +97,14 @@ type ColorString = string;
97
97
  type HTMLString = string;
98
98
  /** ISO 8601 date time, YYYY-MM-DDTHH:MM:SS+00:00 */
99
99
  type IsoDateString = string;
100
+ /**
101
+ * The inventory policy of the item.
102
+ * - bypass: Bypass inventory checks
103
+ * - decrement_obeying_policy: Decrement inventory, obeying product policy
104
+ * - decrement_ignoring_policy: Decrement inventory, ignoring product policy
105
+ * - null: not set
106
+ */
107
+ type InventoryPolicy = 'bypass' | 'decrement_obeying_policy' | 'decrement_ignoring_policy' | null;
100
108
  interface Property {
101
109
  name: string;
102
110
  value: string;
@@ -155,14 +163,18 @@ interface LineItem {
155
163
  external_product_id: ExternalId;
156
164
  /** An object containing the associated variant ID as it appears in the external system. */
157
165
  external_variant_id: ExternalId;
166
+ /** The inventory policy of the item. */
167
+ external_inventory_policy: InventoryPolicy;
158
168
  /** The weight of the item in grams. */
159
- grams: number;
169
+ grams: number | null;
160
170
  /** A unique, human-friendly string for the Product. */
161
171
  handle: string | null;
162
172
  /** An object containing URLs of the Product image. */
163
173
  images: ProductImage;
164
174
  /** An object containing information on the related offer, if applicable */
165
175
  offer_attributes?: OfferAttributes | null;
176
+ /** The original price of the item. */
177
+ original_price: string;
166
178
  /** An array of name value pairs of additional line_item attributes. */
167
179
  properties: Property[];
168
180
  /** An indicator of the type of the purchase item. */
@@ -260,6 +272,164 @@ interface CreateMetafieldRequest extends SubType<Metafield, MetafieldRequiredCre
260
272
  interface UpdateMetafieldRequest extends Partial<Pick<Metafield, 'description' | 'owner_id' | 'owner_resource' | 'value' | 'value_type'>> {
261
273
  }
262
274
 
275
+ interface ShippingLine {
276
+ /** The code associated with the shipping_line of a Charge. */
277
+ code: string;
278
+ /** The price of the shipping_line. */
279
+ price: string;
280
+ /** The date and time when the shipping_line was retrieved. */
281
+ retrieved_at: IsoDateString | null;
282
+ /** The source of the shipping_line. */
283
+ source: string;
284
+ /** The status the shipping_line. */
285
+ status?: 'active' | 'pending' | 'queued';
286
+ /** The title of the shipping_line. */
287
+ title: string;
288
+ /** A boolean indicating if the shipping_line is taxable. */
289
+ taxable: boolean;
290
+ /** An array of tax lines associated with the shipping_line. */
291
+ tax_lines: TaxLine[];
292
+ }
293
+ type OrderStatus = 'success' | 'error' | 'queued' | 'cancelled' | 'pending_charge_status';
294
+ type OrderType = 'checkout' | 'recurring';
295
+ interface Order {
296
+ /** The unique numeric identifier for the order. */
297
+ id: number;
298
+ /** The id of the associated Address within Recharge. */
299
+ address_id: number;
300
+ /** The billing address at the time the order was created. See Addresses for detailed address information. */
301
+ billing_address: AssociatedAddress;
302
+ /** An object containing parameters of the Charge. */
303
+ charge: {
304
+ /** The id of the charge associated with this order. */
305
+ id: number;
306
+ /** An object containing external transaction ids associated with this charge, as they appear in external platforms. */
307
+ external_transaction_id: ExternalTransactionId;
308
+ /** The name of the payment processor used for this charge. */
309
+ payment_processor_name: string;
310
+ /** The status of the charge. */
311
+ status: ChargeStatus;
312
+ };
313
+ /** Details of the access method used by the purchase. */
314
+ client_details: {
315
+ /** The IP address of the buyer as detected in Checkout. */
316
+ browser_ip: string;
317
+ /** The user agent detected during Checkout. */
318
+ user_agent: string | null;
319
+ };
320
+ /** The date when the order was created. */
321
+ created_at: IsoDateString;
322
+ /** The currency of the payment used to create the order. */
323
+ currency: string;
324
+ /** Object that contains information about the Customer. */
325
+ customer: {
326
+ /** The ID of the associated customer record. */
327
+ id: number;
328
+ /** The user email. */
329
+ email: string;
330
+ /** An object containing customer information associated with this charge. */
331
+ external_customer_id: ExternalId;
332
+ /** The hash of the Customer associated with the Charge. */
333
+ hash: string;
334
+ };
335
+ /** An array of Discounts associated with the Order. */
336
+ discounts: Discount[];
337
+ /** The cart token as it appears in an external system. */
338
+ external_cart_token: string | null;
339
+ /** An object containing external order ids. */
340
+ external_order_id?: ExternalId;
341
+ /** An object containing the external order numbers. */
342
+ external_order_number: ExternalId;
343
+ /** A boolean representing if this Order is generated from a prepaid purchase. */
344
+ is_prepaid?: boolean;
345
+ /** A list of line_item objects. */
346
+ line_items: LineItem[];
347
+ /** Notes associated with the Order. */
348
+ note: string | null;
349
+ /** An array of name value pairs of note attributes on the Order. */
350
+ order_attributes: Property[];
351
+ /** The date time that the associated charge was processed at. */
352
+ processed_at: IsoDateString | null;
353
+ /** The date time of when the associated charge is/was scheduled to process. */
354
+ scheduled_at: IsoDateString;
355
+ /** The shipping address where the order will be shipped. See Addresses for detailed Address information. */
356
+ shipping_address: AssociatedAddress;
357
+ /** An array of shipping lines associated with the order. */
358
+ shipping_lines: ShippingLine[];
359
+ /** The status of creating the Order. */
360
+ status: OrderStatus;
361
+ /** The subtotal price (sum of all line items * their quantity) of the order less discounts. */
362
+ subtotal_price: string;
363
+ /** A comma separated list of tags on the Order. */
364
+ tags: string;
365
+ /** An array of tax lines that apply to the Order. */
366
+ tax_lines: TaxLine[];
367
+ /** A boolean indicator of the taxability of the Order. */
368
+ taxable: boolean;
369
+ /** The total discounted dollar value of the Order. */
370
+ total_discounts: string;
371
+ /** The total price of all line items of the Order. */
372
+ total_line_items_price: string;
373
+ /** The total amount due of the Order. */
374
+ total_price: string;
375
+ /** The total dollar amount of refunds associated with the Order. */
376
+ total_refunds: string;
377
+ /** The total tax due associated with the Order. */
378
+ total_tax: string;
379
+ /** The total weight of the order in grams. */
380
+ total_weight_grams: number;
381
+ /** An indicator of the order’s type. */
382
+ type: OrderType;
383
+ /** The date time at which the order was most recently updated. */
384
+ updated_at: IsoDateString;
385
+ /** Error information about the order if status is 'error' */
386
+ error: string | null;
387
+ /** Additional information as requested */
388
+ include?: {
389
+ customer?: Customer;
390
+ metafields?: Metafield[];
391
+ };
392
+ }
393
+ type OrderIncludes = 'customer' | 'metafields';
394
+ interface OrdersResponse {
395
+ next_cursor: null | string;
396
+ previous_cursor: null | string;
397
+ orders: Order[];
398
+ }
399
+ type OrderSortBy = 'id-asc' | 'id-desc' | 'updated_at-asc' | 'updated_at-desc' | 'processed_at-asc' | 'processed_at-desc' | 'scheduled_at-asc' | 'scheduled_at-desc';
400
+ interface OrderListParams extends ListParams<OrderSortBy> {
401
+ /** Filter orders by address. */
402
+ address_id?: string | number;
403
+ /** Filter orders by charge. */
404
+ charge_id?: string | number;
405
+ /** Show orders created after the given date. */
406
+ created_at_min?: IsoDateString;
407
+ /** Show orders created before the given date. */
408
+ created_at_max?: IsoDateString;
409
+ /** Filter orders by external_order_id. */
410
+ external_order_id?: string | number;
411
+ /** Filter orders by id. */
412
+ ids?: (string | number)[];
413
+ /** Show orders scheduled before the given date. */
414
+ scheduled_at_max?: IsoDateString;
415
+ /** Show orders scheduled after the given date. */
416
+ scheduled_at_min?: IsoDateString;
417
+ /** Filter orders with/without external_order_id. */
418
+ has_external_order?: boolean;
419
+ /** Filter orders by status. */
420
+ status?: OrderStatus;
421
+ /** Filter orders by type. */
422
+ type?: OrderType;
423
+ /** Filter orders by subscription or onetime. */
424
+ purchase_item_id?: string | number;
425
+ /** Show orders updated before the given date. */
426
+ updated_at_max?: IsoDateString;
427
+ /** Show orders updated after the given date. */
428
+ updated_at_min?: IsoDateString;
429
+ /** Include related data options */
430
+ include?: OrderIncludes[];
431
+ }
432
+
263
433
  interface PaymentDetails {
264
434
  /** Payment_method brand or company powering it. valid for CREDIT_CARD only. */
265
435
  brand?: string;
@@ -1162,17 +1332,24 @@ interface DeliveryLineItem extends Omit<LineItem, 'external_inventory_policy' |
1162
1332
  }
1163
1333
  interface DeliveryPaymentMethod extends Omit<PaymentMethod, 'created_at' | 'customer_id' | 'default' | 'payment_type' | 'processor_customer_token' | 'processor_name' | 'processor_payment_method_token' | 'status_reason' | 'status' | 'updated_at'> {
1164
1334
  payment_details: PaymentDetails;
1335
+ payment_type: PaymentType;
1165
1336
  billing_address: AssociatedAddress;
1166
1337
  }
1167
1338
  interface DeliveryOrder {
1168
- id: number | null;
1169
1339
  address_id: number;
1170
1340
  charge_id: number | null;
1341
+ currency: string;
1342
+ has_uncommitted_changes: boolean;
1343
+ id: number | null;
1171
1344
  line_items: DeliveryLineItem[];
1345
+ order_subtotal: string;
1172
1346
  payment_method: DeliveryPaymentMethod;
1173
1347
  shipping_address: AssociatedAddress;
1174
- order_subtotal: string;
1175
- currency: string;
1348
+ shipping_lines: ShippingLine[];
1349
+ total_discounts: string;
1350
+ total_duties: string;
1351
+ total_price: string;
1352
+ total_tax: string;
1176
1353
  }
1177
1354
  interface Delivery {
1178
1355
  date: IsoDateString;
@@ -1203,158 +1380,6 @@ interface CustomerPortalAccessResponse {
1203
1380
  temp_token: string;
1204
1381
  }
1205
1382
 
1206
- interface ShippingLine {
1207
- /** The code associated with the shipping_line of a Charge. */
1208
- code: string;
1209
- /** The price of the shipping_line. */
1210
- price: string;
1211
- /** The source of the shipping_line. */
1212
- source: string;
1213
- /** The status the shipping_line. */
1214
- status?: 'active' | 'pending' | 'queued';
1215
- /** The title of the shipping_line. */
1216
- title: string;
1217
- /** A boolean indicating if the shipping_line is taxable. */
1218
- taxable: boolean;
1219
- /** An array of tax lines associated with the shipping_line. */
1220
- tax_lines: TaxLine[];
1221
- }
1222
- type OrderStatus = 'success' | 'error' | 'queued' | 'cancelled' | 'pending_charge_status';
1223
- type OrderType = 'checkout' | 'recurring';
1224
- interface Order {
1225
- /** The unique numeric identifier for the order. */
1226
- id: number;
1227
- /** The id of the associated Address within Recharge. */
1228
- address_id: number;
1229
- /** The billing address at the time the order was created. See Addresses for detailed address information. */
1230
- billing_address: AssociatedAddress;
1231
- /** An object containing parameters of the Charge. */
1232
- charge: {
1233
- /** The id of the charge associated with this order. */
1234
- id: number;
1235
- /** An object containing external transaction ids associated with this charge, as they appear in external platforms. */
1236
- external_transaction_id: ExternalTransactionId;
1237
- };
1238
- /** Details of the access method used by the purchase. */
1239
- client_details: {
1240
- /** The IP address of the buyer as detected in Checkout. */
1241
- browser_ip: string;
1242
- /** The user agent detected during Checkout. */
1243
- user_agent: string;
1244
- };
1245
- /** The date when the order was created. */
1246
- created_at: IsoDateString;
1247
- /** The currency of the payment used to create the order. */
1248
- currency: string;
1249
- /** Object that contains information about the Customer. */
1250
- customer: {
1251
- /** The ID of the associated customer record. */
1252
- id: number;
1253
- /** The user email. */
1254
- email: string;
1255
- /** An object containing customer information associated with this charge. */
1256
- external_customer_id: ExternalId;
1257
- /** The hash of the Customer associated with the Charge. */
1258
- hash: string;
1259
- };
1260
- /** An array of Discounts associated with the Order. */
1261
- discounts: Discount[];
1262
- /** The cart token as it appears in an external system. */
1263
- external_cart_token: string;
1264
- /** An object containing external order ids. */
1265
- external_order_id?: ExternalId;
1266
- /** An object containing the external order numbers. */
1267
- external_order_number: ExternalId;
1268
- /** A boolean representing if this Order is generated from a prepaid purchase. */
1269
- is_prepaid?: boolean;
1270
- /** A list of line_item objects. */
1271
- line_items: LineItem[];
1272
- /** Notes associated with the Order. */
1273
- note: string;
1274
- /** An array of name value pairs of note attributes on the Order. */
1275
- order_attributes: Property[];
1276
- /** The date time that the associated charge was processed at. */
1277
- processed_at: IsoDateString | null;
1278
- /** The date time of when the associated charge is/was scheduled to process. */
1279
- scheduled_at: IsoDateString;
1280
- /** The shipping address where the order will be shipped. See Addresses for detailed Address information. */
1281
- shipping_address: AssociatedAddress;
1282
- /** An array of shipping lines associated with the order. */
1283
- shipping_lines: ShippingLine[];
1284
- /** The status of creating the Order. */
1285
- status: OrderStatus;
1286
- /** The subtotal price (sum of all line items * their quantity) of the order less discounts. */
1287
- subtotal_price: string;
1288
- /** A comma separated list of tags on the Order. */
1289
- tags: string;
1290
- /** An array of tax lines that apply to the Order. */
1291
- tax_lines: TaxLine[];
1292
- /** A boolean indicator of the taxability of the Order. */
1293
- taxable: boolean;
1294
- /** The total discounted dollar value of the Order. */
1295
- total_discounts: string;
1296
- /** The total price of all line items of the Order. */
1297
- total_line_items_price: string;
1298
- /** The total amount due of the Order. */
1299
- total_price: string;
1300
- /** The total dollar amount of refunds associated with the Order. */
1301
- total_refunds: string;
1302
- /** The total tax due associated with the Order. */
1303
- total_tax: string;
1304
- /** The total weight of the order in grams. */
1305
- total_weight_grams: number;
1306
- /** An indicator of the order’s type. */
1307
- type: OrderType;
1308
- /** The date time at which the order was most recently updated. */
1309
- updated_at: IsoDateString;
1310
- /** Error information about the order if status is 'error' */
1311
- error: string | null;
1312
- /** Additional information as requested */
1313
- include?: {
1314
- customer?: Customer;
1315
- metafields?: Metafield[];
1316
- };
1317
- }
1318
- type OrderIncludes = 'customer' | 'metafields';
1319
- interface OrdersResponse {
1320
- next_cursor: null | string;
1321
- previous_cursor: null | string;
1322
- orders: Order[];
1323
- }
1324
- type OrderSortBy = 'id-asc' | 'id-desc' | 'updated_at-asc' | 'updated_at-desc' | 'processed_at-asc' | 'processed_at-desc' | 'scheduled_at-asc' | 'scheduled_at-desc';
1325
- interface OrderListParams extends ListParams<OrderSortBy> {
1326
- /** Filter orders by address. */
1327
- address_id?: string | number;
1328
- /** Filter orders by charge. */
1329
- charge_id?: string | number;
1330
- /** Show orders created after the given date. */
1331
- created_at_min?: IsoDateString;
1332
- /** Show orders created before the given date. */
1333
- created_at_max?: IsoDateString;
1334
- /** Filter orders by external_order_id. */
1335
- external_order_id?: string | number;
1336
- /** Filter orders by id. */
1337
- ids?: (string | number)[];
1338
- /** Show orders scheduled before the given date. */
1339
- scheduled_at_max?: IsoDateString;
1340
- /** Show orders scheduled after the given date. */
1341
- scheduled_at_min?: IsoDateString;
1342
- /** Filter orders with/without external_order_id. */
1343
- has_external_order?: boolean;
1344
- /** Filter orders by status. */
1345
- status?: OrderStatus;
1346
- /** Filter orders by type. */
1347
- type?: OrderType;
1348
- /** Filter orders by subscription or onetime. */
1349
- purchase_item_id?: string | number;
1350
- /** Show orders updated before the given date. */
1351
- updated_at_max?: IsoDateString;
1352
- /** Show orders updated after the given date. */
1353
- updated_at_min?: IsoDateString;
1354
- /** Include related data options */
1355
- include?: OrderIncludes[];
1356
- }
1357
-
1358
1383
  type ChargeStatus = 'success' | 'error' | 'queued' | 'skipped' | 'refunded' | 'partially_refunded' | 'pending_manual_payment' | 'pending';
1359
1384
  interface Charge {
1360
1385
  /** The unique numeric identifier for the Charge. */
@@ -2358,6 +2383,8 @@ interface ProductSearchParams_2022_06 extends ListParams<SortBy> {
2358
2383
  plan_types?: PlanType[];
2359
2384
  /** Exclude given plan types */
2360
2385
  plan_types_exclusive?: PlanType[];
2386
+ /** Exclude given plan types */
2387
+ plan_types_not?: PlanType[];
2361
2388
  /** Perform search on published status */
2362
2389
  product_published_status?: PublishStatus;
2363
2390
  /** Perform substring match on the product title */
@@ -3182,14 +3209,27 @@ interface StoreSettings {
3182
3209
  has_shopify_connector: boolean;
3183
3210
  /** The store supports multiple currencies or not. */
3184
3211
  multicurrency_enabled: boolean;
3212
+ /** The shop url. */
3213
+ shop_url: string;
3185
3214
  };
3186
3215
  }
3187
3216
  interface CustomerPortalSettings {
3188
- /**
3189
- * The Recharge collection IDs in case the products available for purchase are
3190
- * limited to specific Recharge collections.
3191
- * */
3192
- collection_ids: number[];
3217
+ /** Whether Affinity bundle contents are expanded by default or not. */
3218
+ affinity_bundle_contents_expanded_by_default: BooleanNumbers;
3219
+ /** Whether Affinity manage upcoming products is enabled or not. */
3220
+ affinity_manage_upcoming_products_enabled: BooleanNumbers;
3221
+ /** Whether Affinity plans are enabled or not. */
3222
+ affinity_plans: boolean;
3223
+ /** Whether Affinity polls for uncommitted charge changes or not. */
3224
+ affinity_poll_charge_uncommited_changes: boolean;
3225
+ /** The position of the Affinity sidebar. */
3226
+ affinity_sidebar_position: 'right' | 'left';
3227
+ /** Whether AI chat is enabled or not. */
3228
+ ai_chat_enabled: boolean;
3229
+ /** Whether AI chat preview is enabled or not. */
3230
+ ai_chat_preview_enabled: boolean;
3231
+ /** Whether to always send plan ID for updates or not. */
3232
+ always_send_plan_id_for_updates: boolean;
3193
3233
  /** The filter of products that are available to create new subscriptions. */
3194
3234
  available_products: 'all' | 'specific_recharge_collections' | 'specific_plan_types' | 'smart_select';
3195
3235
  /** Settings related to backup payment methods */
@@ -3197,24 +3237,74 @@ interface CustomerPortalSettings {
3197
3237
  backup_payment_methods_enabled: boolean;
3198
3238
  default_customer_opt_in_enabled: boolean;
3199
3239
  };
3240
+ /** Whether the store can use Affinity extensions or not. */
3241
+ can_use_affinity_extensions: boolean;
3200
3242
  /** Whether the store is using Plans and Products or not. */
3201
3243
  can_use_plans: boolean;
3244
+ /** The type of cancellation flow used by the store. */
3245
+ cancelation_type: 'Basic' | 'Strategy';
3246
+ /**
3247
+ * The Recharge collection IDs in case the products available for purchase are
3248
+ * limited to specific Recharge collections.
3249
+ * */
3250
+ collection_ids: number[];
3202
3251
  /** Whether the store is using collections with custom sorting or not. */
3203
3252
  collection_product_sorting_enabled: boolean;
3253
+ /** Custom code snippets for the customer portal. */
3254
+ custom_code: {
3255
+ /** Approved domains for Content Security Policy. */
3256
+ approved_domains_for_csp: string;
3257
+ /** Custom code for the backend portal. */
3258
+ backend_portal: string;
3259
+ /** Custom code for the credit cart update page. */
3260
+ credit_cart_update_page: string;
3261
+ /** Custom code for the footer section. */
3262
+ footer: string;
3263
+ /** Custom code for the header section. */
3264
+ header: string;
3265
+ /** URL for the custom header logo. */
3266
+ header_logo_url: string | null;
3267
+ };
3268
+ /** Whether customer payment fallback is enabled or not. */
3269
+ customer_payment_fallback_enabled: boolean;
3270
+ /** Whether referrals mobile banner is disabled or not. */
3271
+ disable_referrals_mobile_banner: boolean;
3204
3272
  /** Allow the customer to add discount codes to their subscription. */
3205
3273
  discount_input: boolean;
3206
3274
  /** Allow the customer to modify the shipping address for an existing subscription. */
3207
- edit_shipping_address: boolean;
3275
+ edit_shipping_address: BooleanNumbers;
3276
+ /** Whether Affinity uses Storefront API or not. */
3277
+ enable_affinity_use_storefront_api: boolean;
3208
3278
  /** Whether the store is using the customer portal extension or not. */
3209
3279
  enable_customer_account_full_page_extension: boolean;
3280
+ /** Whether enhanced slots are enabled or not. */
3281
+ enable_enhanced_slots: boolean;
3282
+ /** Whether market pricing is enabled or not. */
3283
+ enable_market_pricing: boolean;
3284
+ /** Whether membership programs are enabled or not. */
3285
+ enable_membership_programs: boolean;
3286
+ /** Whether paid memberships UI is enabled or not. */
3287
+ enable_paid_memberships_ui: boolean;
3288
+ /** Whether quantity upsell UI is enabled in Affinity or not. */
3289
+ enable_quantity_upsell_ui_affinity: boolean;
3210
3290
  /** Whether the store is using SCIm migrate payments. */
3211
3291
  enable_scim_migrate_payment_methods: boolean;
3212
- /** Whether the store is using Unity integrated bundles or not. */
3213
- enable_unity_bundles: boolean;
3214
3292
  /** Whether the store is using Shopify Markets or not. */
3215
3293
  enable_shopify_markets: boolean;
3294
+ /** Whether to always pass plan when swapping or not. */
3295
+ enable_swap_always_pass_plan: boolean;
3296
+ /** Whether the store is using Unity integrated bundles or not. */
3297
+ enable_unity_bundles: boolean;
3298
+ /** Whether failed payment recovery is enabled or not. */
3299
+ failed_payment_recovery_enabled: boolean;
3300
+ /** Whether flows allow hidden products to be shown or not. */
3301
+ flows_allow_hidden_products_to_be_shown: boolean;
3216
3302
  /** Whether flows are enabled or not. */
3217
3303
  flows_enabled: boolean;
3304
+ /** Whether customer portal accounts are forced or not. */
3305
+ force_customer_portal_accounts: BooleanNumbers;
3306
+ /** Whether Affinity shows errors on the payments page or not. */
3307
+ fpr_affinity_show_errors_payments_page: boolean;
3218
3308
  /** Whether customers can skip gift shipment or not. */
3219
3309
  gift_skipped_shipment_enabled: boolean;
3220
3310
  /** Settings related to gifting. */
@@ -3234,8 +3324,32 @@ interface CustomerPortalSettings {
3234
3324
  };
3235
3325
  /** Whether gifting is enabled or not. */
3236
3326
  gifting_enabled: boolean;
3327
+ /** Whether the store uses a hosted customer portal or not. */
3328
+ hosted_customer_portal: BooleanNumbers;
3237
3329
  /** How does the store handles inventory policy **/
3238
3330
  inventory_behaviour: 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
3331
+ /** Settings related to membership programs. */
3332
+ membership: {
3333
+ /** Number of orders before allowing membership cancellation. */
3334
+ allow_membership_cancellation_after: number;
3335
+ /** Whether membership cancellation is allowed in the customer portal. */
3336
+ allow_membership_cancellation_in_customer_portal: BooleanNumbers;
3337
+ /** Whether membership cancellation reason is optional or not. */
3338
+ membership_cancellation_reason_optional: BooleanNumbers;
3339
+ };
3340
+ /** Settings related to one-time purchases. */
3341
+ onetime: {
3342
+ /** The filter of products that are available for one-time purchases. */
3343
+ available_products: 'shopify_products' | 'recharge_products' | 'shopify_collection' | 'recharge_collection';
3344
+ /** Whether one-time purchases are enabled or not. */
3345
+ enabled: BooleanNumbers;
3346
+ /** The Shopify collection ID for one-time products. */
3347
+ shopify_collection_id: number | null;
3348
+ /** Whether subscribe and save discount is enabled or not. */
3349
+ subscribe_and_save_discount_enabled: boolean;
3350
+ /** Whether the customer can purchase a zero inventory product or not. */
3351
+ zero_inventory_purchase: BooleanNumbers;
3352
+ };
3239
3353
  /** Whether the customer can create a new address or use their default. */
3240
3354
  prevent_address_creation: boolean;
3241
3355
  /** Whether the customer can create a new payment method or use their default. */
@@ -3251,6 +3365,8 @@ interface CustomerPortalSettings {
3251
3365
  };
3252
3366
  /** Whether to show credits or not. */
3253
3367
  show_credits: boolean;
3368
+ /** Whether recurring order blocking is enabled or not. */
3369
+ recurring_order_blocking: boolean;
3254
3370
  /** Subscription related settings */
3255
3371
  subscription: {
3256
3372
  /** Whether the customer can create new subscriptions or not. */
@@ -3279,6 +3395,10 @@ interface CustomerPortalSettings {
3279
3395
  edit_order_frequency: string;
3280
3396
  /** Whether the customer can change the scheduled date for a charge or not. */
3281
3397
  edit_scheduled_date: boolean;
3398
+ /** Whether Affinity dynamic bundle frequency filter is enabled or not. */
3399
+ enable_affinity_dynamic_bundle_frequency_filter: boolean;
3400
+ /** Whether the customer can see the prepaid upsell on the customer portal or not. */
3401
+ prepaid_upsell_on_customer_portal: boolean;
3282
3402
  /** Whether the customer can reactivate a cancelled subscription. */
3283
3403
  reactivate_subscription: boolean;
3284
3404
  /** Whether the customer can skip a prepaid order or not. */
@@ -3287,13 +3407,13 @@ interface CustomerPortalSettings {
3287
3407
  skip_scheduled_order: boolean;
3288
3408
  /** Whether the customer can purchase a zero inventory product or not. */
3289
3409
  zero_inventory_purchase: boolean;
3290
- /** Whether the customer can see the prepaid upsell on the customer portal or not. */
3291
- prepaid_upsell_on_customer_portal: boolean;
3292
3410
  };
3293
3411
  /** Uses the inventory level from Recharge as source of truth */
3294
3412
  use_recharge_inventory_levels: boolean;
3295
3413
  /** Use Spreedly instead of Shopify Payments when creating a new payment method. */
3296
3414
  use_spreedly_form_for_sci_payment_methods: boolean;
3415
+ /** The customer can see memberships */
3416
+ view_memberships: BooleanNumbers;
3297
3417
  /** The customer can see the order schedule */
3298
3418
  view_order_schedule: boolean;
3299
3419
  /** The customer can see the payment methods */
@@ -3304,6 +3424,8 @@ interface CustomerPortalSettings {
3304
3424
  wfs_active_churn: boolean;
3305
3425
  /** Should redirect to ACR landing page */
3306
3426
  wfs_active_churn_landing_page_redirect: boolean;
3427
+ /** Whether to show scheduled date in customer portal or not. */
3428
+ wfs_cp_show_sd: boolean;
3307
3429
  /** Uses Flows Experiences */
3308
3430
  wfs_experiences_landing_page: boolean;
3309
3431
  /** Uses Flows */
@@ -3590,4 +3712,4 @@ declare const api: {
3590
3712
  };
3591
3713
  declare function initRecharge(opt?: InitOptions): void;
3592
3714
 
3593
- export { type ActivateMembershipRequest, type AddToCartCallbackSettings, type AddonProduct, type AddonSettings, type AddonsSection, type Address, type AddressIncludes, type AddressListParams, type AddressListResponse, type AddressResponse, type AddressSortBy, type AnalyticsData, type Announcement, type ApplyCreditOptions, type AssociatedAddress, type BaseProduct, type BaseProductVariant, type BaseVariant, type BasicSubscriptionParams, type BooleanLike, type BooleanNumbers, type BooleanString, type BooleanStringNumbers, type BulkSubscriptionParams, type BundleAppProxy, type BundleData, type BundleDataBaseProduct, type BundleDataCollection, type BundleDataSellingPlan, type BundleDataSellingPlanGroup, type BundleDataVariant, type BundlePriceRule, type BundleProduct, type BundleProductLayoutSettings, type BundlePurchaseItem, type BundlePurchaseItemParams, type BundleSelection, type BundleSelectionAppProxy, type BundleSelectionItem, type BundleSelectionItemRequiredCreateProps, type BundleSelectionListParams, type BundleSelectionsResponse, type BundleSelectionsSortBy, type BundleSettings, type BundleTemplateSettings, type BundleTemplateType, type BundleTranslations, type BundleVariant, type BundleVariantOptionSource, type BundleVariantRange, type BundleVariantSelectionDefault, type CDNBaseWidgetSettings, type CDNBundleSettings, type CDNBundleVariant, type CDNBundleVariantOptionSource, type CDNPlan, type CDNProduct, type CDNProductAndSettings, type CDNProductKeyObject, type CDNProductQuery_2020_12, type CDNProductQuery_2022_06, type CDNProductRaw, type CDNProductResource, type CDNProductResponseType, type CDNProductType, type CDNProductVariant_2022_06, type CDNProduct_2022_06, type CDNProductsAndSettings, type CDNProductsAndSettingsResource, type CDNStoreSettings, type CDNSubscriptionOption, type CDNVariant, type CDNVersion, type CDNWidgetSettings, type CDNWidgetSettingsRaw, type CDNWidgetSettingsResource, type CRUDRequestOptions, type CancelMembershipRequest, type CancelSubscriptionRequest, type ChangeMembershipRequest, type ChannelSettings, type Charge, type ChargeIncludes, type ChargeListParams, type ChargeListResponse, type ChargeResponse, type ChargeSortBy, type ChargeStatus, type Collection, type CollectionBinding, type CollectionListParams, type CollectionTypes, type CollectionsResponse, type CollectionsSortBy, type ColorString, type CreateAddressRequest, type CreateBundleSelectionRequest, type CreateMetafieldRequest, type CreateOnetimeRequest, type CreatePaymentMethodRequest, type CreateRecipientAddress, type CreateSubscriptionRequest, type CreateSubscriptionsParams, type CreateSubscriptionsRequest, type CreditAccount, type CreditAccountIncludes, type CreditAccountListParams, type CreditAccountType, type CreditAccountsResponse, type CreditAccountsSortBy, type CreditSummaryIncludes, type CrossSellsSection, type CrossSellsSettings, type CurrencyPriceSet, type Customer, type CustomerCreditSummary, type CustomerDeliveryScheduleParams, type CustomerDeliveryScheduleResponse, type CustomerIncludes, type CustomerNotification, type CustomerNotificationOptions, type CustomerNotificationTemplate, type CustomerNotificationType, type CustomerPortalAccessOptions, type CustomerPortalAccessResponse, type CustomerPortalSettings, type DefaultProduct, type DefaultSelection, type DefaultVariant, type DeleteSubscriptionsParams, type DeleteSubscriptionsRequest, type Delivery, type DeliveryLineItem, type DeliveryOrder, type DeliveryPaymentMethod, type Discount, type DiscountType, type DynamicBundleItemAppProxy, type DynamicBundlePropertiesAppProxy, type EligibleChargeType, type EligibleLineItemType, type ExternalAttributeSchema, type ExternalId, type ExternalProductStatus, type ExternalTransactionId, type FirstOption, type GetAddressOptions, type GetChargeOptions, type GetCreditSummaryOptions, type GetCustomerOptions, type GetMembershipProgramOptions, type GetPaymentMethodOptions, type GetRequestOptions, type GetSubscriptionOptions, type GiftPurchase, type GiftPurchasesParams, type GiftPurchasesResponse, type HTMLString, type Incentives, type InitOptions, type InternalSession, type IntervalUnit, type 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 PaymentMethod, type PaymentMethodIncludes, type PaymentMethodListParams, type PaymentMethodOptionalCreateProps, type PaymentMethodRequiredCreateProps, type PaymentMethodSortBy, type PaymentMethodStatus, 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 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, 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, getDeliverySchedule, getDynamicBundleItems, getFailedPaymentMethodRecoveryLandingPageURL, getGiftPurchase, getGiftRedemptionLandingPageURL, getMembership, getMembershipProgram, getOnetime, getOrder, getPaymentMethod, getPlan, getShippingCountries, getStoreSettings, getSubscription, initRecharge, type intervalUnit, listAddresses, listBundleSelections, listCharges, listCollectionProducts, listCollections, listCreditAccounts, listGiftPurchases, listMembershipPrograms, listMemberships, listOnetimes, listOrders, listPaymentMethods, listPlans, listSubscriptions, loadBundleData, loginCustomerPortal, loginShopifyApi, loginShopifyAppProxy, loginWithShopifyCustomerAccount, loginWithShopifyStorefront, type membershipIncludes, mergeAddresses, processCharge, productSearch, removeDiscountsFromAddress, removeDiscountsFromCharge, 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 };
3715
+ export { type ActivateMembershipRequest, type AddToCartCallbackSettings, type AddonProduct, type AddonSettings, type AddonsSection, type Address, type AddressIncludes, type AddressListParams, type AddressListResponse, type AddressResponse, type AddressSortBy, type AnalyticsData, type Announcement, type ApplyCreditOptions, type AssociatedAddress, type BaseProduct, type BaseProductVariant, type BaseVariant, type BasicSubscriptionParams, type BooleanLike, type BooleanNumbers, type BooleanString, type BooleanStringNumbers, type BulkSubscriptionParams, type BundleAppProxy, type BundleData, type BundleDataBaseProduct, type BundleDataCollection, type BundleDataSellingPlan, type BundleDataSellingPlanGroup, type BundleDataVariant, type BundlePriceRule, type BundleProduct, type BundleProductLayoutSettings, type BundlePurchaseItem, type BundlePurchaseItemParams, type BundleSelection, type BundleSelectionAppProxy, type BundleSelectionItem, type BundleSelectionItemRequiredCreateProps, type BundleSelectionListParams, type BundleSelectionsResponse, type BundleSelectionsSortBy, type BundleSettings, type BundleTemplateSettings, type BundleTemplateType, type BundleTranslations, type BundleVariant, type BundleVariantOptionSource, type BundleVariantRange, type BundleVariantSelectionDefault, type CDNBaseWidgetSettings, type CDNBundleSettings, type CDNBundleVariant, type CDNBundleVariantOptionSource, type CDNPlan, type CDNProduct, type CDNProductAndSettings, type CDNProductKeyObject, type CDNProductQuery_2020_12, type CDNProductQuery_2022_06, type CDNProductRaw, type CDNProductResource, type CDNProductResponseType, type CDNProductType, type CDNProductVariant_2022_06, type CDNProduct_2022_06, type CDNProductsAndSettings, type CDNProductsAndSettingsResource, type CDNStoreSettings, type CDNSubscriptionOption, type CDNVariant, type CDNVersion, type CDNWidgetSettings, type CDNWidgetSettingsRaw, type CDNWidgetSettingsResource, type CRUDRequestOptions, type CancelMembershipRequest, type CancelSubscriptionRequest, type ChangeMembershipRequest, type ChannelSettings, type Charge, type ChargeIncludes, type ChargeListParams, type ChargeListResponse, type ChargeResponse, type ChargeSortBy, type ChargeStatus, type Collection, type CollectionBinding, type CollectionListParams, type CollectionTypes, type CollectionsResponse, type CollectionsSortBy, type ColorString, type CreateAddressRequest, type CreateBundleSelectionRequest, type CreateMetafieldRequest, type CreateOnetimeRequest, type CreatePaymentMethodRequest, type CreateRecipientAddress, type CreateSubscriptionRequest, type CreateSubscriptionsParams, type CreateSubscriptionsRequest, type CreditAccount, type CreditAccountIncludes, type CreditAccountListParams, type CreditAccountType, type CreditAccountsResponse, type CreditAccountsSortBy, type CreditSummaryIncludes, type CrossSellsSection, type CrossSellsSettings, type CurrencyPriceSet, type Customer, type CustomerCreditSummary, type CustomerDeliveryScheduleParams, type CustomerDeliveryScheduleResponse, type CustomerIncludes, type CustomerNotification, type CustomerNotificationOptions, type CustomerNotificationTemplate, type CustomerNotificationType, type CustomerPortalAccessOptions, type CustomerPortalAccessResponse, type CustomerPortalSettings, type DefaultProduct, type DefaultSelection, type DefaultVariant, type DeleteSubscriptionsParams, type DeleteSubscriptionsRequest, type Delivery, type DeliveryLineItem, type DeliveryOrder, type DeliveryPaymentMethod, type Discount, type DiscountType, type DynamicBundleItemAppProxy, type DynamicBundlePropertiesAppProxy, type EligibleChargeType, type EligibleLineItemType, type ExternalAttributeSchema, type ExternalId, type ExternalProductStatus, type ExternalTransactionId, type FirstOption, type GetAddressOptions, type GetChargeOptions, type GetCreditSummaryOptions, type GetCustomerOptions, type GetMembershipProgramOptions, type GetPaymentMethodOptions, type GetRequestOptions, type GetSubscriptionOptions, type GiftPurchase, type GiftPurchasesParams, type GiftPurchasesResponse, type HTMLString, type Incentives, type InitOptions, type InternalSession, type IntervalUnit, type InventoryPolicy, type IsoDateString, type LineItem, type ListParams, type LoginResponse, type Membership, type MembershipBenefit, type MembershipIncludes, type MembershipListParams, type MembershipListResponse, type MembershipProgram, type MembershipProgramIncludes, type MembershipProgramListParams, type MembershipProgramListResponse, type MembershipProgramResponse, type MembershipProgramSortBy, type MembershipProgramStatus, type MembershipResponse, type MembershipStatus, type MembershipsSortBy, type MergeAddressesRequest, type Metafield, type MetafieldOptionalCreateProps, type MetafieldOwnerResource, type MetafieldRequiredCreateProps, type Method, type Modifier, type MultiStepSettings, type OfferAttributes, type OnePageSettings, type Onetime, type OnetimeIncludes, type OnetimeListParams, type OnetimeOptionalCreateProps, type OnetimeRequiredCreateProps, type OnetimeSubscription, type OnetimesResponse, type OnetimesSortBy, type OnlineStoreOptions, type Options, type Order, type OrderIncludes, type OrderListParams, type OrderSortBy, type OrderStatus, type OrderType, type OrdersResponse, type PasswordlessCodeResponse, type PasswordlessOptions, type PasswordlessValidateResponse, type PaymentDetails, type PaymentMethod, type PaymentMethodIncludes, type PaymentMethodListParams, type PaymentMethodOptionalCreateProps, type PaymentMethodRequiredCreateProps, type PaymentMethodSortBy, type PaymentMethodStatus, 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 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, 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, getDeliverySchedule, getDynamicBundleItems, getFailedPaymentMethodRecoveryLandingPageURL, getGiftPurchase, getGiftRedemptionLandingPageURL, getMembership, getMembershipProgram, getOnetime, getOrder, getPaymentMethod, getPlan, getShippingCountries, getStoreSettings, getSubscription, initRecharge, type intervalUnit, listAddresses, listBundleSelections, listCharges, listCollectionProducts, listCollections, listCreditAccounts, listGiftPurchases, listMembershipPrograms, listMemberships, listOnetimes, listOrders, listPaymentMethods, listPlans, listSubscriptions, loadBundleData, loginCustomerPortal, loginShopifyApi, loginShopifyAppProxy, loginWithShopifyCustomerAccount, loginWithShopifyStorefront, type membershipIncludes, mergeAddresses, processCharge, productSearch, removeDiscountsFromAddress, removeDiscountsFromCharge, 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 };