@rechargeapps/storefront-client 1.20.0 → 1.22.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
@@ -337,110 +337,6 @@ interface PaymentMethodListParams extends ListParams<PaymentMethodSortBy> {
337
337
  include?: PaymentMethodIncludes[];
338
338
  }
339
339
 
340
- interface BundleSelectionAppProxy {
341
- collectionId: string;
342
- externalProductId: string;
343
- externalVariantId: string;
344
- quantity: number;
345
- sellingPlan?: number;
346
- shippingIntervalFrequency?: number;
347
- shippingIntervalUnitType?: IntervalUnit;
348
- discountedVariantId?: number;
349
- }
350
- interface BundleAppProxy {
351
- externalVariantId: string;
352
- externalProductId: string;
353
- selections: BundleSelectionAppProxy[];
354
- }
355
- interface DynamicBundlePropertiesAppProxy {
356
- _rc_bundle: string;
357
- _rc_bundle_variant: string;
358
- _rc_bundle_parent: string;
359
- _rc_bundle_collection_id: string;
360
- shipping_interval_frequency?: number;
361
- shipping_interval_unit_type?: IntervalUnit;
362
- }
363
- interface DynamicBundleItemAppProxy {
364
- id: string;
365
- properties: DynamicBundlePropertiesAppProxy;
366
- quantity: number;
367
- selling_plan?: number;
368
- }
369
- interface BundleSelectionItem {
370
- /** The unique numeric identifier for the item selection. */
371
- id: number;
372
- /** The collection id as it appears in the external e-commerce platform. */
373
- collection_id: string;
374
- /** The identifier of the external e-commerce platform. */
375
- collection_source: 'shopify';
376
- /** The date and time when this item was selected. */
377
- created_at: IsoDateString;
378
- /** The product id as it appears in the external e-commerce platform. This is the item which is going to be extracted when the Bundle is processed. */
379
- external_product_id: string;
380
- /** The variant id as it appears in the external e-commerce platform. This is the item which is going to be extracted when the Bundle is processed. */
381
- external_variant_id: string;
382
- /** The quantity of this product. */
383
- quantity: number;
384
- /** The price of this product. */
385
- price: string;
386
- /** The date and time at which the item selection was most recently updated. */
387
- updated_at: IsoDateString;
388
- }
389
- interface BundleSelection {
390
- /** The unique numeric identifier for the BundleSelection. */
391
- id: number;
392
- /** The ID of the BundleVariant associated with the BundleSelection. */
393
- bundle_variant_id: number;
394
- /** The ID of the PurchaseItem associated with the BundleSelection. */
395
- purchase_item_id: number;
396
- /** The date and time when the contents were selected. */
397
- created_at: IsoDateString;
398
- /** The product id as it appears in the external e-commerce platform. The external_product_id of the Product record in Recharge, linking the BundleSelection to a Product associated with a Bundle. */
399
- external_product_id: string;
400
- /** The variant id as it appears in the external e-commerce platform. The external_variant_id of the Product record in Recharge, linking the BundleSelection to a Product associated with a Bundle. */
401
- external_variant_id: string;
402
- is_fallback: boolean;
403
- items: BundleSelectionItem[];
404
- /** The date and time at which the BundleSelection was most recently updated. */
405
- updated_at: IsoDateString;
406
- }
407
- type BundleSelectionItemRequiredCreateProps = 'collection_id' | 'collection_source' | 'external_product_id' | 'external_variant_id' | 'quantity';
408
- interface CreateBundleSelectionRequest {
409
- purchase_item_id: number;
410
- plan_id?: number;
411
- items: Pick<BundleSelectionItem, BundleSelectionItemRequiredCreateProps>[];
412
- }
413
- interface UpdateBundleSelectionRequest extends CreateBundleSelectionRequest {
414
- }
415
- interface BundleSelectionsResponse {
416
- next_cursor: null | string;
417
- previous_cursor: null | string;
418
- bundle_selections: BundleSelection[];
419
- }
420
- type BundleSelectionsSortBy = 'id-asc' | 'id-desc' | 'updated_at-asc' | 'updated_at-desc';
421
- interface BundleSelectionListParams extends ListParams<BundleSelectionsSortBy> {
422
- /** Filter BundleSelections by Subscription or Onetime ID. */
423
- purchase_item_ids?: (string | number)[];
424
- /** Filter BundleSelections by BundleVariants. */
425
- bundle_variant_ids?: (string | number)[];
426
- }
427
- interface UpdateBundlePurchaseItem extends UpdateSubscriptionRequest {
428
- external_product_id: {
429
- ecommerce: string;
430
- };
431
- external_variant_id: {
432
- ecommerce: string;
433
- };
434
- plan_id?: number;
435
- items: Pick<BundleSelectionItem, BundleSelectionItemRequiredCreateProps>[];
436
- }
437
- interface BundlePurchaseItem extends Subscription {
438
- items: BundleSelectionItem[];
439
- }
440
- interface BundlePurchaseItemParams {
441
- commit?: boolean;
442
- }
443
-
444
340
  interface AddonSettings {
445
341
  collectionHandle: string;
446
342
  collectionId: string;
@@ -569,6 +465,138 @@ interface BundleProduct {
569
465
  variants: BundleVariant[];
570
466
  }
571
467
 
468
+ interface BundleSelectionAppProxy {
469
+ collectionId: string;
470
+ externalProductId: string;
471
+ externalVariantId: string;
472
+ quantity: number;
473
+ sellingPlan?: number;
474
+ shippingIntervalFrequency?: number;
475
+ shippingIntervalUnitType?: IntervalUnit;
476
+ discountedVariantId?: number;
477
+ }
478
+ interface BundleAppProxy {
479
+ externalVariantId: string;
480
+ externalProductId: string;
481
+ selections: BundleSelectionAppProxy[];
482
+ }
483
+ interface DynamicBundlePropertiesAppProxy {
484
+ _rc_bundle: string;
485
+ _rc_bundle_variant: string;
486
+ _rc_bundle_parent: string;
487
+ _rc_bundle_collection_id: string;
488
+ shipping_interval_frequency?: number;
489
+ shipping_interval_unit_type?: IntervalUnit;
490
+ }
491
+ interface DynamicBundleItemAppProxy {
492
+ id: string;
493
+ properties: DynamicBundlePropertiesAppProxy;
494
+ quantity: number;
495
+ selling_plan?: number;
496
+ }
497
+ interface BundleSelectionItem {
498
+ /** The unique numeric identifier for the item selection. */
499
+ id: number;
500
+ /** The collection id as it appears in the external e-commerce platform. */
501
+ collection_id: string;
502
+ /** The identifier of the external e-commerce platform. */
503
+ collection_source: 'shopify';
504
+ /** The date and time when this item was selected. */
505
+ created_at: IsoDateString;
506
+ /** The product id as it appears in the external e-commerce platform. This is the item which is going to be extracted when the Bundle is processed. */
507
+ external_product_id: string;
508
+ /** The variant id as it appears in the external e-commerce platform. This is the item which is going to be extracted when the Bundle is processed. */
509
+ external_variant_id: string;
510
+ /** The quantity of this product. */
511
+ quantity: number;
512
+ /** The price of this product. */
513
+ price: string;
514
+ /** The date and time at which the item selection was most recently updated. */
515
+ updated_at: IsoDateString;
516
+ }
517
+ interface BundleSelection {
518
+ /** The unique numeric identifier for the BundleSelection. */
519
+ id: number;
520
+ /** The ID of the BundleVariant associated with the BundleSelection. */
521
+ bundle_variant_id: number;
522
+ /** The ID of the PurchaseItem associated with the BundleSelection. */
523
+ purchase_item_id: number;
524
+ /** The date and time when the contents were selected. */
525
+ created_at: IsoDateString;
526
+ /** The product id as it appears in the external e-commerce platform. The external_product_id of the Product record in Recharge, linking the BundleSelection to a Product associated with a Bundle. */
527
+ external_product_id: string;
528
+ /** The variant id as it appears in the external e-commerce platform. The external_variant_id of the Product record in Recharge, linking the BundleSelection to a Product associated with a Bundle. */
529
+ external_variant_id: string;
530
+ is_fallback: boolean;
531
+ items: BundleSelectionItem[];
532
+ /** The date and time at which the BundleSelection was most recently updated. */
533
+ updated_at: IsoDateString;
534
+ }
535
+ type BundleSelectionItemRequiredCreateProps = 'collection_id' | 'collection_source' | 'external_product_id' | 'external_variant_id' | 'quantity';
536
+ interface CreateBundleSelectionRequest {
537
+ purchase_item_id: number;
538
+ plan_id?: number;
539
+ items: Pick<BundleSelectionItem, BundleSelectionItemRequiredCreateProps>[];
540
+ }
541
+ interface UpdateBundleSelectionRequest extends CreateBundleSelectionRequest {
542
+ }
543
+ interface BundleSelectionsResponse {
544
+ next_cursor: null | string;
545
+ previous_cursor: null | string;
546
+ bundle_selections: BundleSelection[];
547
+ }
548
+ type BundleSelectionsSortBy = 'id-asc' | 'id-desc' | 'updated_at-asc' | 'updated_at-desc';
549
+ interface BundleSelectionListParams extends ListParams<BundleSelectionsSortBy> {
550
+ /** Filter BundleSelections by Subscription or Onetime ID. */
551
+ purchase_item_ids?: (string | number)[];
552
+ /** Filter BundleSelections by BundleVariants. */
553
+ bundle_variant_ids?: (string | number)[];
554
+ }
555
+ interface UpdateBundlePurchaseItem extends UpdateSubscriptionRequest {
556
+ external_product_id: {
557
+ ecommerce: string;
558
+ };
559
+ external_variant_id: {
560
+ ecommerce: string;
561
+ };
562
+ plan_id?: number;
563
+ items: Pick<BundleSelectionItem, BundleSelectionItemRequiredCreateProps>[];
564
+ }
565
+ interface BundlePurchaseItem extends Subscription {
566
+ items: BundleSelectionItem[];
567
+ }
568
+ interface BundlePurchaseItemParams {
569
+ commit?: boolean;
570
+ }
571
+ interface BundleDataCollectionProductVariant {
572
+ available: boolean;
573
+ id: number;
574
+ title: string;
575
+ handle: string;
576
+ }
577
+ interface BundleDataCollectionProduct {
578
+ id: number;
579
+ handle: string;
580
+ available: boolean;
581
+ title: string;
582
+ variants: BundleDataCollectionProductVariant[];
583
+ }
584
+ interface BundleDataCollection {
585
+ id: number;
586
+ handle: string;
587
+ title: string;
588
+ products: BundleDataCollectionProduct[];
589
+ }
590
+ interface BundleData {
591
+ id: number;
592
+ handle: string;
593
+ title: string;
594
+ collections: Record<string, BundleDataCollection>;
595
+ bundle_settings: Pick<BundleProduct, 'max_quantity_per_variant' | 'is_customizable'> & {
596
+ variants: Pick<BundleProduct['variants'][number], 'option_sources' | 'ranges' | 'enabled' | 'items_count' | 'external_variant_id'>[];
597
+ };
598
+ }
599
+
572
600
  type SubscriptionStatus = 'active' | 'cancelled' | 'expired';
573
601
  interface Subscription {
574
602
  /** Unique numeric identifier for the subscription. */
@@ -692,8 +720,8 @@ interface SubscriptionListParams extends ListParams<SubscriptionSortBy> {
692
720
  /** Include related data options */
693
721
  include?: SubscriptionIncludes[];
694
722
  }
695
- type SubscriptionRequiredCreateProps = 'address_id' | 'charge_interval_frequency' | 'external_variant_id' | 'next_charge_scheduled_at' | 'order_interval_frequency' | 'order_interval_unit' | 'quantity';
696
- type SubscriptionOptionalCreateProps = 'expire_after_specific_number_of_charges' | 'order_day_of_month' | 'order_day_of_week' | 'external_product_id' | 'properties' | 'status';
723
+ type SubscriptionRequiredCreateProps = 'address_id' | 'external_variant_id' | 'quantity';
724
+ type SubscriptionOptionalCreateProps = 'charge_interval_frequency' | 'expire_after_specific_number_of_charges' | 'next_charge_scheduled_at' | 'order_day_of_month' | 'order_day_of_week' | 'order_interval_frequency' | 'order_interval_unit' | 'external_product_id' | 'properties' | 'status';
697
725
  interface CreateSubscriptionRequest extends SubType<Subscription, SubscriptionRequiredCreateProps, SubscriptionOptionalCreateProps> {
698
726
  /**
699
727
  * When creating a subscription using a gift, pass the `credit_account_id` that is associated with that gift.
@@ -712,9 +740,15 @@ interface BasicSubscriptionParams {
712
740
  /** If set to True, updates will also be applied to CANCELLED subscriptions. If null or False, only ACTIVE subscriptions will be updated. */
713
741
  force_update?: boolean;
714
742
  }
743
+ interface CreateSubscriptionsParams {
744
+ /** Allows onetimes to be updated with subscriptions */
745
+ allow_onetimes?: boolean;
746
+ }
715
747
  interface UpdateSubscriptionsParams {
716
748
  /** If set to True, updates will also be applied to CANCELLED subscriptions. If null or False, only ACTIVE subscriptions will be updated. */
717
749
  force_update?: boolean;
750
+ /** Allows onetimes to be updated with subscriptions */
751
+ allow_onetimes?: boolean;
718
752
  }
719
753
  interface UpdateSubscriptionParams extends BasicSubscriptionParams {
720
754
  /** If set to True, updates will also be applied to CANCELLED subscriptions. If null or False, only ACTIVE subscriptions will be updated. */
@@ -2548,6 +2582,13 @@ declare function loginCustomerPortal(): Promise<Session>;
2548
2582
  declare function getBundleId(bundle: BundleAppProxy): Promise<string>;
2549
2583
  declare function getDynamicBundleItems(bundle: BundleAppProxy, shopifyProductHandle: string): DynamicBundleItemAppProxy[];
2550
2584
  declare function validateBundle(bundle: BundleAppProxy): Promise<true | string>;
2585
+ declare function validateBundleSelection(bundle: BundleAppProxy): Promise<{
2586
+ valid: boolean;
2587
+ error?: undefined;
2588
+ } | {
2589
+ valid: boolean;
2590
+ error: string;
2591
+ }>;
2551
2592
  /**
2552
2593
  * Validates a dynamic bundle
2553
2594
  *
@@ -2714,7 +2755,7 @@ declare function skipGiftSubscriptionCharge(session: Session, subscriptionIds: A
2714
2755
  * Must all be for the same address.
2715
2756
  * There is a limit of 20 subscriptions per request.
2716
2757
  */
2717
- declare function createSubscriptions(session: Session, createRequestBulk: CreateSubscriptionRequest[]): Promise<Subscription[]>;
2758
+ declare function createSubscriptions(session: Session, createRequestBulk: CreateSubscriptionRequest[], query?: CreateSubscriptionsParams): Promise<Subscription[]>;
2718
2759
  /**
2719
2760
  * Bulk create new subscriptions.
2720
2761
  * Must all be for the same address.
@@ -2735,4 +2776,4 @@ declare const api: {
2735
2776
  };
2736
2777
  declare function initRecharge(opt?: InitOptions): void;
2737
2778
 
2738
- export { type ActivateMembershipRequest, type AddToCartCallbackSettings, type AddonSettings, type Address, type AddressIncludes, type AddressListParams, type AddressListResponse, type AddressResponse, type AddressSortBy, type AnalyticsData, type ApplyCreditOptions, type AssociatedAddress, type BasicSubscriptionParams, type BooleanLike, type BooleanNumbers, type BooleanString, type BooleanStringNumbers, type BundleAppProxy, 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 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 CollectionListParams, type CollectionTypes, type CollectionsResponse, type CollectionsSortBy, type ColorString, type CreateAddressRequest, type CreateBundleSelectionRequest, type CreateMetafieldRequest, type CreateOnetimeRequest, type CreatePaymentMethodRequest, type CreateRecipientAddress, type CreateSubscriptionRequest, type CreditAccount, type CreditAccountIncludes, type CreditAccountListParams, type CreditAccountType, type CreditAccountsResponse, type CreditAccountsSortBy, type CreditSummaryIncludes, type CrossSellsSettings, type Customer, type CustomerCreditSummary, type CustomerDeliveryScheduleParams, type CustomerDeliveryScheduleResponse, type CustomerIncludes, type CustomerNotification, type CustomerNotificationOptions, type CustomerNotificationTemplate, type CustomerNotificationType, type CustomerPortalAccessOptions, type CustomerPortalAccessResponse, type Delivery, type DeliveryLineItem, type DeliveryOrder, type DeliveryPaymentMethod, type Discount, type DiscountType, type DynamicBundleItemAppProxy, type DynamicBundlePropertiesAppProxy, type ExternalAttributeSchema, type ExternalId, 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 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 OnePageSettings, type Onetime, type OnetimeListParams, type OnetimeOptionalCreateProps, type OnetimeRequiredCreateProps, type OnetimesResponse, type OnetimesSortBy, 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 ProcessorName, 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 PublishStatus, type Request, type RequestHeaders, type RequestOptions, type SellingPlan, type SellingPlanGroup, type Session, type ShippingCountriesOptions, type ShippingCountriesResponse, type ShippingCountry, type ShippingLine, type ShippingProvince, type ShopifyUpdatePaymentInfoOptions, type SkipChargeParams, type SkipFutureChargeAddressRequest, type SkipFutureChargeAddressResponse, type SortBy, type SortField, type SortKeys, type StepSettings, type StepSettingsCommon, type StepSettingsTypes, type StorefrontEnvironment, type StorefrontOptions, type StorefrontPurchaseOption, type SubType, type Subscription, 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 Translations, type UpdateAddressRequest, type UpdateBundlePurchaseItem, type UpdateBundleSelectionRequest, type UpdateCustomerRequest, type UpdateMetafieldRequest, type UpdateOnetimeRequest, type UpdatePaymentMethodRequest, type UpdateSubscriptionParams, type UpdateSubscriptionRequest, type UpdateSubscriptionsParams, type UpdateSubscriptionsRequest, 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, deleteAddress, deleteBundleSelection, deleteMetafield, deleteOnetime, getActiveChurnLandingPageURL, getAddress, getBundleId, getBundleSelection, getCDNBundleSettings, getCDNProduct, getCDNProductAndSettings, getCDNProducts, getCDNProductsAndSettings, getCDNStoreSettings, getCDNWidgetSettings, getCharge, getCollection, getCreditSummary, getCustomer, getCustomerPortalAccess, getDeliverySchedule, getDynamicBundleItems, getGiftPurchase, getGiftRedemptionLandingPageURL, getMembership, getMembershipProgram, getOnetime, getOrder, getPaymentMethod, getPlan, getShippingCountries, getSubscription, initRecharge, type intervalUnit, listAddresses, listBundleSelections, listCharges, listCollectionProducts, listCollections, listCreditAccounts, listGiftPurchases, listMembershipPrograms, listMemberships, listOnetimes, listOrders, listPaymentMethods, listPlans, listSubscriptions, 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, validateDynamicBundle, validatePasswordlessCode, validatePasswordlessCodeAppProxy };
2779
+ export { type ActivateMembershipRequest, type AddToCartCallbackSettings, type AddonSettings, type Address, type AddressIncludes, type AddressListParams, type AddressListResponse, type AddressResponse, type AddressSortBy, type AnalyticsData, type ApplyCreditOptions, type AssociatedAddress, type BasicSubscriptionParams, type BooleanLike, type BooleanNumbers, type BooleanString, type BooleanStringNumbers, type BundleAppProxy, type BundleData, 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 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 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 CreditAccount, type CreditAccountIncludes, type CreditAccountListParams, type CreditAccountType, type CreditAccountsResponse, type CreditAccountsSortBy, type CreditSummaryIncludes, type CrossSellsSettings, type Customer, type CustomerCreditSummary, type CustomerDeliveryScheduleParams, type CustomerDeliveryScheduleResponse, type CustomerIncludes, type CustomerNotification, type CustomerNotificationOptions, type CustomerNotificationTemplate, type CustomerNotificationType, type CustomerPortalAccessOptions, type CustomerPortalAccessResponse, type Delivery, type DeliveryLineItem, type DeliveryOrder, type DeliveryPaymentMethod, type Discount, type DiscountType, type DynamicBundleItemAppProxy, type DynamicBundlePropertiesAppProxy, type ExternalAttributeSchema, type ExternalId, 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 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 OnePageSettings, type Onetime, type OnetimeListParams, type OnetimeOptionalCreateProps, type OnetimeRequiredCreateProps, type OnetimesResponse, type OnetimesSortBy, 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 ProcessorName, 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 PublishStatus, type Request, type RequestHeaders, type RequestOptions, type SellingPlan, type SellingPlanGroup, type Session, type ShippingCountriesOptions, type ShippingCountriesResponse, type ShippingCountry, type ShippingLine, type ShippingProvince, type ShopifyUpdatePaymentInfoOptions, type SkipChargeParams, type SkipFutureChargeAddressRequest, type SkipFutureChargeAddressResponse, type SortBy, type SortField, type SortKeys, type StepSettings, type StepSettingsCommon, type StepSettingsTypes, type StorefrontEnvironment, type StorefrontOptions, type StorefrontPurchaseOption, type SubType, type Subscription, 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 Translations, type UpdateAddressRequest, type UpdateBundlePurchaseItem, type UpdateBundleSelectionRequest, type UpdateCustomerRequest, type UpdateMetafieldRequest, type UpdateOnetimeRequest, type UpdatePaymentMethodRequest, type UpdateSubscriptionParams, type UpdateSubscriptionRequest, type UpdateSubscriptionsParams, type UpdateSubscriptionsRequest, 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, deleteAddress, deleteBundleSelection, deleteMetafield, deleteOnetime, getActiveChurnLandingPageURL, getAddress, getBundleId, getBundleSelection, getCDNBundleSettings, getCDNProduct, getCDNProductAndSettings, getCDNProducts, getCDNProductsAndSettings, getCDNStoreSettings, getCDNWidgetSettings, getCharge, getCollection, getCreditSummary, getCustomer, getCustomerPortalAccess, getDeliverySchedule, getDynamicBundleItems, getGiftPurchase, getGiftRedemptionLandingPageURL, getMembership, getMembershipProgram, getOnetime, getOrder, getPaymentMethod, getPlan, getShippingCountries, getSubscription, initRecharge, type intervalUnit, listAddresses, listBundleSelections, listCharges, listCollectionProducts, listCollections, listCreditAccounts, listGiftPurchases, listMembershipPrograms, listMemberships, listOnetimes, listOrders, listPaymentMethods, listPlans, listSubscriptions, 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 };