@rechargeapps/storefront-client 1.3.3 → 1.5.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
@@ -244,6 +244,236 @@ interface PaymentMethodListParams extends ListParams<PaymentMethodSortBy> {
244
244
  include?: PaymentMethodIncludes[];
245
245
  }
246
246
 
247
+ interface BundleSelectionAppProxy {
248
+ collectionId: string;
249
+ externalProductId: string;
250
+ externalVariantId: string;
251
+ quantity: number;
252
+ sellingPlan?: number;
253
+ shippingIntervalFrequency?: number;
254
+ shippingIntervalUnitType?: IntervalUnit;
255
+ discountedVariantId?: number;
256
+ }
257
+ interface BundleAppProxy {
258
+ externalVariantId: string;
259
+ externalProductId: string;
260
+ selections: BundleSelectionAppProxy[];
261
+ }
262
+ interface DynamicBundlePropertiesAppProxy {
263
+ _rc_bundle: string;
264
+ _rc_bundle_variant: string;
265
+ _rc_bundle_parent: string;
266
+ _rc_bundle_collection_id: string;
267
+ shipping_interval_frequency?: number;
268
+ shipping_interval_unit_type?: IntervalUnit;
269
+ }
270
+ interface DynamicBundleItemAppProxy {
271
+ id: string;
272
+ properties: DynamicBundlePropertiesAppProxy;
273
+ quantity: number;
274
+ selling_plan?: number;
275
+ }
276
+ interface BundleSelectionItem {
277
+ /** The unique numeric identifier for the item selection. */
278
+ id: number;
279
+ /** The collection id as it appears in the external e-commerce platform. */
280
+ collection_id: string;
281
+ /** The identifier of the external e-commerce platform. */
282
+ collection_source: 'shopify';
283
+ /** The date and time when this item was selected. */
284
+ created_at: IsoDateString;
285
+ /** 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. */
286
+ external_product_id: string;
287
+ /** 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. */
288
+ external_variant_id: string;
289
+ /** The quantity of this product. */
290
+ quantity: number;
291
+ /** The date and time at which the item selection was most recently updated. */
292
+ updated_at: IsoDateString;
293
+ }
294
+ interface BundleSelection {
295
+ /** The unique numeric identifier for the BundleSelection. */
296
+ id: number;
297
+ /** The ID of the BundleVariant associated with the BundleSelection. */
298
+ bundle_variant_id: number;
299
+ /** The ID of the PurchaseItem associated with the BundleSelection. */
300
+ purchase_item_id: number;
301
+ /** The date and time when the contents were selected. */
302
+ created_at: IsoDateString;
303
+ /** 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. */
304
+ external_product_id: string;
305
+ /** 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. */
306
+ external_variant_id: string;
307
+ items: BundleSelectionItem[];
308
+ /** The date and time at which the BundleSelection was most recently updated. */
309
+ updated_at: IsoDateString;
310
+ }
311
+ type BundleSelectionItemRequiredCreateProps = 'collection_id' | 'collection_source' | 'external_product_id' | 'external_variant_id' | 'quantity';
312
+ interface CreateBundleSelectionRequest {
313
+ purchase_item_id: number;
314
+ items: Pick<BundleSelectionItem, BundleSelectionItemRequiredCreateProps>[];
315
+ }
316
+ interface UpdateBundleSelectionRequest extends CreateBundleSelectionRequest {
317
+ }
318
+ interface BundleSelectionsResponse {
319
+ next_cursor: null | string;
320
+ previous_cursor: null | string;
321
+ bundle_selections: BundleSelection[];
322
+ }
323
+ type BundleSelectionsSortBy = 'id-asc' | 'id-desc' | 'updated_at-asc' | 'updated_at-desc';
324
+ interface BundleSelectionListParams extends ListParams<BundleSelectionsSortBy> {
325
+ /** Filter BundleSelections by Subscription or Onetime ID. */
326
+ purchase_item_ids?: (string | number)[];
327
+ /** Filter BundleSelections by BundleVariants. */
328
+ bundle_variant_ids?: (string | number)[];
329
+ }
330
+ interface UpdateBundlePurchaseItem extends UpdateSubscriptionRequest {
331
+ external_product_id: {
332
+ ecommerce: string;
333
+ };
334
+ external_variant_id: {
335
+ ecommerce: string;
336
+ };
337
+ items: Pick<BundleSelectionItem, BundleSelectionItemRequiredCreateProps>[];
338
+ }
339
+ interface BundlePurchaseItem extends Subscription {
340
+ items: BundleSelectionItem[];
341
+ }
342
+
343
+ interface AddonSettings {
344
+ collectionId: string;
345
+ collectionHandle: string;
346
+ enabled: boolean;
347
+ }
348
+ interface AddToCartCallbackSettings {
349
+ type: 'none' | 'callback' | 'redirect';
350
+ value: string;
351
+ }
352
+ interface CrossSellsSettings {
353
+ collectionId: string;
354
+ collectionHandle: string;
355
+ enabled: boolean;
356
+ }
357
+ interface StepSettingsCommon {
358
+ description?: string;
359
+ disable?: boolean;
360
+ index: string;
361
+ name: string;
362
+ title: string;
363
+ }
364
+ type VariantSelector = {
365
+ optionsMeta: {
366
+ [key: string]: {
367
+ defaultImage: string;
368
+ content: string;
369
+ };
370
+ };
371
+ };
372
+ declare enum StepSettingsTypes {
373
+ VARIANT_SELECTOR = "variantSelector",
374
+ ALL_COLLECTIONS = "all-collections",
375
+ ADDONS = "addons",
376
+ SUMMARY = "summary",
377
+ CROSS_SELLS = "cross-sells"
378
+ }
379
+ type BundlePriceRule = 'fixed' | 'dynamic';
380
+ type VariantSelectorStepSetting = StepSettingsCommon & {
381
+ data?: VariantSelector;
382
+ type: StepSettingsTypes.VARIANT_SELECTOR;
383
+ };
384
+ type StepSettings = StepSettingsCommon & {
385
+ data?: Record<string, unknown>;
386
+ type: Exclude<StepSettingsTypes, StepSettingsTypes.VARIANT_SELECTOR>;
387
+ };
388
+ interface MultiStepSettings {
389
+ optionImages: string;
390
+ steps: [VariantSelectorStepSetting, ...StepSettings[]];
391
+ }
392
+ type BundleTemplateType = 'multi-step' | 'one-page' | 'custom' | 'none';
393
+ interface OnePageSettings {
394
+ frequencySelector: 'toggle' | 'dropdown';
395
+ }
396
+ interface BundleTemplateSettings {
397
+ multiStep?: MultiStepSettings;
398
+ onePage: OnePageSettings;
399
+ }
400
+ type WidgetVisibility = {
401
+ signup: boolean;
402
+ portal: boolean;
403
+ };
404
+ interface BundleProductLayoutSettings {
405
+ addons: AddonSettings;
406
+ addToCartCallback: AddToCartCallbackSettings;
407
+ collapsibleSections: boolean;
408
+ crossSells: CrossSellsSettings;
409
+ defaultFrequency: string;
410
+ defaultVariantId: string;
411
+ description: string;
412
+ filters: string[];
413
+ learnMoreModal: boolean;
414
+ published: boolean;
415
+ showStickyStatusBar: boolean;
416
+ showVariants: boolean;
417
+ template: BundleTemplateType;
418
+ templateSettings: BundleTemplateSettings;
419
+ title: string;
420
+ visibility: WidgetVisibility;
421
+ }
422
+ interface BundleVariantOptionSource {
423
+ id: number;
424
+ option_source_id: string;
425
+ position: number;
426
+ quantity_max: number | null;
427
+ quantity_min: number | null;
428
+ source_platform: 'shopify';
429
+ updated_at: IsoDateString;
430
+ created_at: IsoDateString;
431
+ }
432
+ interface BundleVariantSelectionDefault {
433
+ id: number;
434
+ quantity: number;
435
+ external_variant_id: string;
436
+ }
437
+ interface BundleVariantRange {
438
+ id: number;
439
+ quantity_max: number | null;
440
+ quantity_min: number;
441
+ updated_at: IsoDateString;
442
+ created_at: IsoDateString;
443
+ }
444
+ interface BundleVariant {
445
+ enabled: boolean;
446
+ external_variant_id: string;
447
+ id: number;
448
+ items_count: number;
449
+ option_sources: BundleVariantOptionSource[];
450
+ position: number;
451
+ selection_defaults: BundleVariantSelectionDefault[];
452
+ title: string;
453
+ ranges: BundleVariantRange[];
454
+ updated_at: IsoDateString;
455
+ created_at: IsoDateString;
456
+ }
457
+ interface BundleProduct {
458
+ custom_prices: boolean;
459
+ customization_window_disabled_message: string | null;
460
+ customization_window: number | null;
461
+ default_bundle_variant_id: number;
462
+ description: string | null;
463
+ external_product_id: string;
464
+ id: number;
465
+ is_customizable: boolean;
466
+ layout_settings_version: '2021-11';
467
+ max_quantity_per_variant: number | null;
468
+ reset_box_contents: boolean;
469
+ title: string;
470
+ updated_at: IsoDateString;
471
+ created_at: IsoDateString;
472
+ layout_settings: BundleProductLayoutSettings;
473
+ variants: BundleVariant[];
474
+ price_rule: BundlePriceRule | null;
475
+ }
476
+
247
477
  type SubscriptionStatus = 'active' | 'cancelled' | 'expired';
248
478
  interface Subscription {
249
479
  /** Unique numeric identifier for the subscription. */
@@ -331,6 +561,8 @@ interface Subscription {
331
561
  address?: Address;
332
562
  customer?: Customer;
333
563
  metafields?: Metafield[];
564
+ bundle_selections?: BundleSelection | null;
565
+ bundle_product?: BundleProduct | null;
334
566
  };
335
567
  }
336
568
  interface SubscriptionsResponse {
@@ -338,7 +570,7 @@ interface SubscriptionsResponse {
338
570
  previous_cursor: null | string;
339
571
  subscriptions: Subscription[];
340
572
  }
341
- type SubscriptionIncludes = 'address' | 'customer' | 'metafields';
573
+ type SubscriptionIncludes = 'address' | 'customer' | 'metafields' | 'bundle_product' | 'bundle_selections';
342
574
  interface GetSubscriptionOptions {
343
575
  include?: SubscriptionIncludes[];
344
576
  }
@@ -887,6 +1119,9 @@ interface CreateAddressRequest {
887
1119
  /** The zip or postal code associated with the address. */
888
1120
  zip: string;
889
1121
  }
1122
+ interface CreateRecipientAddress extends Omit<CreateAddressRequest, 'customer_id' | 'discounts' | 'order_attributes' | 'order_notes' | 'payment_method_id' | 'presentment_currency' | 'shipping_lines_override'> {
1123
+ email: string;
1124
+ }
890
1125
  interface UpdateAddressRequest extends Omit<Partial<CreateAddressRequest>, 'presentment_currency' | 'customer_id' | 'discounts'> {
891
1126
  discounts?: {
892
1127
  code: string;
@@ -916,6 +1151,13 @@ interface SkipFutureChargeAddressRequest {
916
1151
  subscription_ids: string;
917
1152
  }
918
1153
  interface Address {
1154
+ note_attributes?: ({
1155
+ name: 'rc_giftee_email';
1156
+ value: string;
1157
+ } | {
1158
+ name: string;
1159
+ value: string;
1160
+ })[];
919
1161
  /** Unique numeric identifier for the Address. */
920
1162
  id: number;
921
1163
  /** The street associated with the Address. */
@@ -1072,90 +1314,6 @@ interface RequestOptions extends GetRequestOptions, CRUDRequestOptions {
1072
1314
  headers?: RequestHeaders;
1073
1315
  }
1074
1316
 
1075
- interface BundleSelectionAppProxy {
1076
- collectionId: string;
1077
- externalProductId: string;
1078
- externalVariantId: string;
1079
- quantity: number;
1080
- sellingPlan?: number;
1081
- shippingIntervalFrequency?: number;
1082
- shippingIntervalUnitType?: IntervalUnit;
1083
- discountedVariantId?: number;
1084
- }
1085
- interface BundleAppProxy {
1086
- externalVariantId: string;
1087
- externalProductId: string;
1088
- selections: BundleSelectionAppProxy[];
1089
- }
1090
- interface DynamicBundlePropertiesAppProxy {
1091
- _rc_bundle: string;
1092
- _rc_bundle_variant: string;
1093
- _rc_bundle_parent: string;
1094
- _rc_bundle_collection_id: string;
1095
- shipping_interval_frequency?: number;
1096
- shipping_interval_unit_type?: IntervalUnit;
1097
- }
1098
- interface DynamicBundleItemAppProxy {
1099
- id: string;
1100
- properties: DynamicBundlePropertiesAppProxy;
1101
- quantity: number;
1102
- selling_plan?: number;
1103
- }
1104
- interface BundleSelectionItem {
1105
- /** The unique numeric identifier for the item selection. */
1106
- id: number;
1107
- /** The collection id as it appears in the external e-commerce platform. */
1108
- collection_id: string;
1109
- /** The identifier of the external e-commerce platform. */
1110
- collection_source: 'shopify';
1111
- /** The date and time when this item was selected. */
1112
- created_at: IsoDateString;
1113
- /** 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. */
1114
- external_product_id: string;
1115
- /** 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. */
1116
- external_variant_id: string;
1117
- /** The quantity of this product. */
1118
- quantity: number;
1119
- /** The date and time at which the item selection was most recently updated. */
1120
- updated_at: IsoDateString;
1121
- }
1122
- interface BundleSelection {
1123
- /** The unique numeric identifier for the BundleSelection. */
1124
- id: number;
1125
- /** The ID of the BundleVariant associated with the BundleSelection. */
1126
- bundle_variant_id: number;
1127
- /** The ID of the PurchaseItem associated with the BundleSelection. */
1128
- purchase_item_id: number;
1129
- /** The date and time when the contents were selected. */
1130
- created_at: IsoDateString;
1131
- /** 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. */
1132
- external_product_id: string;
1133
- /** 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. */
1134
- external_variant_id: string;
1135
- items: BundleSelectionItem[];
1136
- /** The date and time at which the BundleSelection was most recently updated. */
1137
- updated_at: IsoDateString;
1138
- }
1139
- type BundleSelectionItemRequiredCreateProps = 'collection_id' | 'collection_source' | 'external_product_id' | 'external_variant_id' | 'quantity';
1140
- interface CreateBundleSelectionRequest {
1141
- purchase_item_id: number;
1142
- items: Pick<BundleSelectionItem, BundleSelectionItemRequiredCreateProps>[];
1143
- }
1144
- interface UpdateBundleSelectionRequest extends CreateBundleSelectionRequest {
1145
- }
1146
- interface BundleSelectionsResponse {
1147
- next_cursor: null | string;
1148
- previous_cursor: null | string;
1149
- bundle_selections: BundleSelection[];
1150
- }
1151
- type BundleSelectionsSortBy = 'id-asc' | 'id-desc' | 'updated_at-asc' | 'updated_at-desc';
1152
- interface BundleSelectionListParams extends ListParams<BundleSelectionsSortBy> {
1153
- /** Filter BundleSelections by Subscription or Onetime ID. */
1154
- purchase_item_ids?: (string | number)[];
1155
- /** Filter BundleSelections by BundleVariants. */
1156
- bundle_variant_ids?: (string | number)[];
1157
- }
1158
-
1159
1317
  type FirstOption = 'onetime' | 'autodeliver';
1160
1318
  type PriceAdjustmentsType = 'percentage';
1161
1319
  type StorefrontPurchaseOption = 'subscription_and_onetime' | 'subscription_only' | 'onetime_only' | 'inactive';
@@ -1892,6 +2050,7 @@ declare function listBundleSelections(session: Session, query?: BundleSelectionL
1892
2050
  declare function createBundleSelection(session: Session, createRequest: CreateBundleSelectionRequest): Promise<BundleSelection>;
1893
2051
  declare function updateBundleSelection(session: Session, id: string | number, updateRequest: UpdateBundleSelectionRequest): Promise<BundleSelection>;
1894
2052
  declare function deleteBundleSelection(session: Session, id: string | number): Promise<void>;
2053
+ declare function updateBundle(session: Session, purchase_item_id: string | number, updateRequest: UpdateBundlePurchaseItem): Promise<BundlePurchaseItem>;
1895
2054
 
1896
2055
  /** @internal Retrieves membership information for passed in id */
1897
2056
  declare function getMembership(session: Session, id: string | number): Promise<Membership>;
@@ -1968,6 +2127,11 @@ declare function cancelSubscription(session: Session, id: string | number, cance
1968
2127
  */
1969
2128
  declare function activateSubscription(session: Session, id: string | number, query?: BasicSubscriptionParams): Promise<Subscription>;
1970
2129
  declare function skipSubscriptionCharge(session: Session, id: number | string, date: IsoDateString): Promise<Charge>;
2130
+ /**
2131
+ * Gift a subscription to another person. This creates onetime products for the recipient and skips that subscription for the customer.
2132
+ * When the gifted onetime ships the recipient receives and email notification.
2133
+ */
2134
+ declare function skipGiftSubscriptionCharge(session: Session, subscriptionIds: Array<number | string>, recipientAddress: CreateRecipientAddress): Promise<Onetime[]>;
1971
2135
  /**
1972
2136
  * Bulk create new subscriptions.
1973
2137
  * Must all be for the same address.
@@ -1995,4 +2159,4 @@ declare const api: {
1995
2159
  };
1996
2160
  declare function initRecharge(opt?: InitOptions): void;
1997
2161
 
1998
- export { ActivateMembershipRequest, Address, AddressIncludes, AddressListParams, AddressListResponse, AddressResponse, AddressSortBy, AnalyticsData, AssociatedAddress, BasicSubscriptionParams, BooleanLike, BooleanNumbers, BooleanString, BooleanStringNumbers, BundleAppProxy, BundleSelection, BundleSelectionAppProxy, BundleSelectionItem, BundleSelectionItemRequiredCreateProps, BundleSelectionListParams, BundleSelectionsResponse, BundleSelectionsSortBy, 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, CancelMembershipRequest, CancelSubscriptionRequest, ChangeMembershipRequest, ChannelSettings, Charge, ChargeIncludes, ChargeListParams, ChargeListResponse, ChargeResponse, ChargeSortBy, ChargeStatus, ColorString, CreateAddressRequest, CreateBundleSelectionRequest, CreateMetafieldRequest, CreateOnetimeRequest, CreateSubscriptionRequest, Customer, CustomerDeliveryScheduleParams, CustomerDeliveryScheduleResponse, CustomerIncludes, CustomerPortalAccessResponse, Delivery, DeliveryLineItem, DeliveryOrder, DeliveryPaymentMethod, Discount, DynamicBundleItemAppProxy, DynamicBundlePropertiesAppProxy, ExternalAttributeSchema, ExternalId, ExternalTransactionId, FirstOption, GetAddressOptions, GetChargeOptions, GetCustomerOptions, GetMembershipProgramOptions, GetPaymentMethodOptions, GetRequestOptions, GetSubscriptionOptions, HTMLString, InitOptions, IntervalUnit, IsoDateString, LineItem, ListParams, LoginResponse, Membership, MembershipBenefit, MembershipIncludes, MembershipListParams, MembershipListResponse, MembershipProgram, MembershipProgramIncludes, MembershipProgramListParams, MembershipProgramListResponse, MembershipProgramResponse, MembershipProgramSortBy, MembershipProgramStatus, MembershipResponse, MembershipStatus, MembershipsSortBy, MergeAddressesRequest, Metafield, MetafieldOptionalCreateProps, MetafieldOwnerResource, MetafieldRequiredCreateProps, Method, Onetime, OnetimeListParams, OnetimeOptionalCreateProps, OnetimeRequiredCreateProps, OnetimesResponse, OnetimesSortBy, Order, OrderIncludes, OrderListParams, OrderSortBy, OrderStatus, OrderType, OrdersResponse, PasswordlessCodeResponse, PasswordlessOptions, PasswordlessValidateResponse, PaymentDetails, PaymentMethod, PaymentMethodIncludes, PaymentMethodListParams, PaymentMethodSortBy, PaymentMethodStatus, PaymentMethodsResponse, PaymentType, Plan, PlanListParams, PlanSortBy, PlanType, PlansResponse, PriceAdjustmentsType, ProcessorName, ProductImage, Property, Request, RequestHeaders, RequestOptions, Session, ShippingLine, SkipFutureChargeAddressRequest, SkipFutureChargeAddressResponse, StorefrontEnvironment, StorefrontOptions, StorefrontPurchaseOption, SubType, Subscription, SubscriptionIncludes, SubscriptionListParams, SubscriptionOptionalCreateProps, SubscriptionPreferences, SubscriptionRequiredCreateProps, SubscriptionSortBy, SubscriptionStatus, Subscription_2021_01, SubscriptionsResponse, TaxLine, Translations, UpdateAddressRequest, UpdateBundleSelectionRequest, UpdateCustomerRequest, UpdateMetafieldRequest, UpdateOnetimeRequest, UpdatePaymentMethodRequest, UpdateSubscriptionParams, UpdateSubscriptionRequest, UpdateSubscriptionsParams, UpdateSubscriptionsRequest, WidgetIconColor, WidgetTemplateType, activateMembership, activateSubscription, api, applyDiscountToAddress, applyDiscountToCharge, cancelMembership, cancelSubscription, changeMembership, createAddress, createBundleSelection, createMetafield, createOnetime, createSubscription, createSubscriptions, deleteAddress, deleteBundleSelection, deleteMetafield, deleteOnetime, getAddress, getBundleId, getBundleSelection, getCDNBundleSettings, getCDNProduct, getCDNProductAndSettings, getCDNProducts, getCDNProductsAndSettings, getCDNStoreSettings, getCDNWidgetSettings, getCharge, getCustomer, getCustomerPortalAccess, getDeliverySchedule, getDynamicBundleItems, getMembership, getMembershipProgram, getOnetime, getOrder, getPaymentMethod, getPlan, getSubscription, initRecharge, intervalUnit, listAddresses, listBundleSelections, listCharges, listMembershipPrograms, listMemberships, listOnetimes, listOrders, listPaymentMethods, listPlans, listSubscriptions, loginCustomerPortal, loginShopifyApi, loginShopifyAppProxy, membershipIncludes, mergeAddresses, processCharge, removeDiscountsFromAddress, removeDiscountsFromCharge, resetCDNCache, sendPasswordlessCode, sendPasswordlessCodeAppProxy, skipCharge, skipFutureCharge, skipSubscriptionCharge, unskipCharge, updateAddress, updateBundleSelection, updateCustomer, updateMetafield, updateOnetime, updatePaymentMethod, updateSubscription, updateSubscriptionAddress, updateSubscriptionChargeDate, updateSubscriptions, validateBundle, validateDynamicBundle, validatePasswordlessCode, validatePasswordlessCodeAppProxy };
2162
+ export { ActivateMembershipRequest, Address, AddressIncludes, AddressListParams, AddressListResponse, AddressResponse, AddressSortBy, AnalyticsData, AssociatedAddress, BasicSubscriptionParams, BooleanLike, BooleanNumbers, BooleanString, BooleanStringNumbers, BundleAppProxy, BundleProduct, BundlePurchaseItem, BundleSelection, BundleSelectionAppProxy, BundleSelectionItem, BundleSelectionItemRequiredCreateProps, BundleSelectionListParams, BundleSelectionsResponse, BundleSelectionsSortBy, 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, CancelMembershipRequest, CancelSubscriptionRequest, ChangeMembershipRequest, ChannelSettings, Charge, ChargeIncludes, ChargeListParams, ChargeListResponse, ChargeResponse, ChargeSortBy, ChargeStatus, ColorString, CreateAddressRequest, CreateBundleSelectionRequest, CreateMetafieldRequest, CreateOnetimeRequest, CreateRecipientAddress, CreateSubscriptionRequest, Customer, CustomerDeliveryScheduleParams, CustomerDeliveryScheduleResponse, CustomerIncludes, CustomerPortalAccessResponse, Delivery, DeliveryLineItem, DeliveryOrder, DeliveryPaymentMethod, Discount, DynamicBundleItemAppProxy, DynamicBundlePropertiesAppProxy, ExternalAttributeSchema, ExternalId, ExternalTransactionId, FirstOption, GetAddressOptions, GetChargeOptions, GetCustomerOptions, GetMembershipProgramOptions, GetPaymentMethodOptions, GetRequestOptions, GetSubscriptionOptions, HTMLString, InitOptions, IntervalUnit, IsoDateString, LineItem, ListParams, LoginResponse, Membership, MembershipBenefit, MembershipIncludes, MembershipListParams, MembershipListResponse, MembershipProgram, MembershipProgramIncludes, MembershipProgramListParams, MembershipProgramListResponse, MembershipProgramResponse, MembershipProgramSortBy, MembershipProgramStatus, MembershipResponse, MembershipStatus, MembershipsSortBy, MergeAddressesRequest, Metafield, MetafieldOptionalCreateProps, MetafieldOwnerResource, MetafieldRequiredCreateProps, Method, Onetime, OnetimeListParams, OnetimeOptionalCreateProps, OnetimeRequiredCreateProps, OnetimesResponse, OnetimesSortBy, Order, OrderIncludes, OrderListParams, OrderSortBy, OrderStatus, OrderType, OrdersResponse, PasswordlessCodeResponse, PasswordlessOptions, PasswordlessValidateResponse, PaymentDetails, PaymentMethod, PaymentMethodIncludes, PaymentMethodListParams, PaymentMethodSortBy, PaymentMethodStatus, PaymentMethodsResponse, PaymentType, Plan, PlanListParams, PlanSortBy, PlanType, PlansResponse, PriceAdjustmentsType, ProcessorName, ProductImage, Property, Request, RequestHeaders, RequestOptions, Session, ShippingLine, SkipFutureChargeAddressRequest, SkipFutureChargeAddressResponse, StorefrontEnvironment, StorefrontOptions, StorefrontPurchaseOption, SubType, Subscription, SubscriptionIncludes, SubscriptionListParams, SubscriptionOptionalCreateProps, SubscriptionPreferences, SubscriptionRequiredCreateProps, SubscriptionSortBy, SubscriptionStatus, Subscription_2021_01, SubscriptionsResponse, TaxLine, Translations, UpdateAddressRequest, UpdateBundlePurchaseItem, UpdateBundleSelectionRequest, UpdateCustomerRequest, UpdateMetafieldRequest, UpdateOnetimeRequest, UpdatePaymentMethodRequest, UpdateSubscriptionParams, UpdateSubscriptionRequest, UpdateSubscriptionsParams, UpdateSubscriptionsRequest, WidgetIconColor, WidgetTemplateType, activateMembership, activateSubscription, api, applyDiscountToAddress, applyDiscountToCharge, cancelMembership, cancelSubscription, changeMembership, createAddress, createBundleSelection, createMetafield, createOnetime, createSubscription, createSubscriptions, deleteAddress, deleteBundleSelection, deleteMetafield, deleteOnetime, getAddress, getBundleId, getBundleSelection, getCDNBundleSettings, getCDNProduct, getCDNProductAndSettings, getCDNProducts, getCDNProductsAndSettings, getCDNStoreSettings, getCDNWidgetSettings, getCharge, getCustomer, getCustomerPortalAccess, getDeliverySchedule, getDynamicBundleItems, getMembership, getMembershipProgram, getOnetime, getOrder, getPaymentMethod, getPlan, getSubscription, initRecharge, intervalUnit, listAddresses, listBundleSelections, listCharges, listMembershipPrograms, listMemberships, listOnetimes, listOrders, listPaymentMethods, listPlans, listSubscriptions, loginCustomerPortal, loginShopifyApi, loginShopifyAppProxy, membershipIncludes, mergeAddresses, processCharge, removeDiscountsFromAddress, removeDiscountsFromCharge, resetCDNCache, sendPasswordlessCode, sendPasswordlessCodeAppProxy, skipCharge, skipFutureCharge, skipGiftSubscriptionCharge, skipSubscriptionCharge, unskipCharge, updateAddress, updateBundle, updateBundleSelection, updateCustomer, updateMetafield, updateOnetime, updatePaymentMethod, updateSubscription, updateSubscriptionAddress, updateSubscriptionChargeDate, updateSubscriptions, validateBundle, validateDynamicBundle, validatePasswordlessCode, validatePasswordlessCodeAppProxy };