@thorprovider/types 7.2.0 → 7.3.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.mts CHANGED
@@ -157,6 +157,236 @@ interface OrderReceipt {
157
157
  createdAt: string;
158
158
  }
159
159
 
160
+ /**
161
+ * Checkout contracts shared by the storefront host and the canonical Checkout
162
+ * block. Type-only: no runtime values, validation, or rendering live here.
163
+ *
164
+ * The block receives only mapped data. It never reads a session, a customer
165
+ * profile, an address book, a location endpoint, or a backend cart.
166
+ */
167
+
168
+ type CheckoutReadState = 'idle' | 'pending' | 'error' | 'unavailable';
169
+ /** One selectable option for a country, province/state, or city. */
170
+ interface CheckoutAddressOption {
171
+ value: string;
172
+ label: string;
173
+ }
174
+ type CheckoutAddressLevel = 'countries' | 'provinces' | 'cities';
175
+ /**
176
+ * Host-supplied location options for one address (shipping or billing).
177
+ * A child level is selectable only after its parent value exists and the host
178
+ * supplies its options. The block never fetches, filters, or cascades them.
179
+ */
180
+ interface CheckoutLocationOptions {
181
+ countries: CheckoutAddressOption[];
182
+ provinces: CheckoutAddressOption[];
183
+ cities: CheckoutAddressOption[];
184
+ countriesState?: CheckoutReadState;
185
+ provincesState?: CheckoutReadState;
186
+ citiesState?: CheckoutReadState;
187
+ countriesError?: string;
188
+ provincesError?: string;
189
+ citiesError?: string;
190
+ }
191
+ /**
192
+ * Controlled structured address values. Country/province/city are option values.
193
+ * `firstName`, `lastName`, `company`, and `phone` identify the recipient of the
194
+ * order, not necessarily the signed-in buyer. Hosts map these fields to the
195
+ * customer address without overwriting the buyer/contact identity.
196
+ */
197
+ interface CheckoutAddressValues {
198
+ firstName: string;
199
+ lastName: string;
200
+ address1: string;
201
+ address2?: string;
202
+ company?: string;
203
+ city: string;
204
+ province?: string;
205
+ postalCode?: string;
206
+ /** ISO 3166-1 alpha-2 for Medusa; opaque to the block. */
207
+ countryCode: string;
208
+ phone?: string;
209
+ }
210
+ interface CheckoutContactValues {
211
+ email: string;
212
+ firstName: string;
213
+ lastName: string;
214
+ phone: string;
215
+ }
216
+ /** Authenticated identity mapped by the host. No token or raw customer object. */
217
+ interface CheckoutCustomerIdentity {
218
+ id: string;
219
+ email: string;
220
+ firstName?: string;
221
+ lastName?: string;
222
+ }
223
+ /** One saved address supplied by the host, with both default flags. */
224
+ interface CheckoutSavedAddress {
225
+ id: string;
226
+ label?: string;
227
+ address: CheckoutAddressValues;
228
+ isDefaultShipping?: boolean;
229
+ isDefaultBilling?: boolean;
230
+ }
231
+ interface CheckoutShippingOption {
232
+ id: string;
233
+ name: string;
234
+ price?: Money;
235
+ description?: string;
236
+ estimatedDays?: string;
237
+ pickup?: boolean;
238
+ locationName?: string;
239
+ disabled?: boolean;
240
+ disabledReason?: string;
241
+ }
242
+ interface CheckoutShippingGroup {
243
+ id: string;
244
+ label?: string;
245
+ /** One backend order line assigned to this group. */
246
+ items?: CheckoutShippingGroupItem[];
247
+ itemCount?: number;
248
+ options: CheckoutShippingOption[];
249
+ selectedOptionId?: string;
250
+ unavailableReason?: string;
251
+ }
252
+ /** One backend order line assigned to a delivery group. */
253
+ interface CheckoutShippingGroupItem {
254
+ /** Backend line identity; stable review key. */
255
+ lineId: string;
256
+ /** Quantity in this group when a line is split across groups. */
257
+ quantity?: number;
258
+ }
259
+ interface CheckoutAdjustmentPayment {
260
+ id: string;
261
+ kind: 'gift-card' | 'store-credit';
262
+ label: string;
263
+ amount: Money;
264
+ }
265
+ type CheckoutInterruptionKind = 'totals-changed' | 'price-changed' | 'stock-reduced' | 'item-unavailable' | 'session-expired' | 'payment-failed';
266
+ type CheckoutInterruptionAction = 'acknowledge' | 'refresh' | 'return-to-cart' | 'retry';
267
+ interface CheckoutInterruption {
268
+ kind: CheckoutInterruptionKind;
269
+ severity: 'info' | 'blocking';
270
+ title: string;
271
+ message: string;
272
+ changes?: Array<{
273
+ lineId?: string;
274
+ label: string;
275
+ previous?: string;
276
+ next?: string;
277
+ }>;
278
+ actions: CheckoutInterruptionAction[];
279
+ }
280
+ interface CheckoutSubmission {
281
+ contact: CheckoutContactValues;
282
+ shippingAddress: CheckoutAddressValues;
283
+ billingAddress?: CheckoutAddressValues;
284
+ sameAsShipping: boolean;
285
+ shippingSelections: Array<{
286
+ groupId: string;
287
+ optionId: string;
288
+ }>;
289
+ paymentMethod: string;
290
+ adjustmentPayments: CheckoutAdjustmentPayment[];
291
+ promoCode: string;
292
+ }
293
+
294
+ /**
295
+ * Grouped shipping-delivery contracts shared by the commerce boundary and the
296
+ * storefront host.
297
+ *
298
+ * These types mirror the backend grouped-shipping response (shipping profiles
299
+ * with their eligible options) and stay free of any presentation concern: no
300
+ * UI ids, labels, currency formatting, grouping, ranking, or price summation
301
+ * live here. Amounts are backend major units (design D8), exactly as returned
302
+ * by the store endpoint; the host maps them to `Money` without converting.
303
+ *
304
+ * A group is identified by the backend's own identity: `profile_id` plus its
305
+ * `products` (variant ids). A selection round-trips that identity and the
306
+ * chosen `option_id`, so the backend can apply the shopper's choice per group.
307
+ */
308
+ /**
309
+ * Pickup/stock location an option is served from, when the backend exposes it.
310
+ * Descriptive only: the checkout does not use it to allocate shipments.
311
+ */
312
+ interface ShippingGroupLocation {
313
+ id: string;
314
+ name: string;
315
+ address?: {
316
+ address_1: string;
317
+ address_2: string | null;
318
+ city: string | null;
319
+ province: string | null;
320
+ postal_code: string | null;
321
+ country_code: string;
322
+ } | null;
323
+ }
324
+ /**
325
+ * One selectable shipping option valid for a single backend group.
326
+ *
327
+ * Intentionally mirrors the admin `DropshipperShippingGroupOption`
328
+ * (`admin/DropshippingAdmin.ts`); keep both grouped-shipping shapes aligned.
329
+ */
330
+ interface ShippingGroupOption {
331
+ id: string;
332
+ name: string;
333
+ /** Backend amount in major units (for example `4.99`). Never re-priced locally. */
334
+ amount: number;
335
+ currency_code: string;
336
+ price_type: string;
337
+ /** Backend default for the group; the host may pre-select it. */
338
+ is_default: boolean;
339
+ fulfillment_set_type: string | null;
340
+ estimated_days?: string | null;
341
+ location?: ShippingGroupLocation | null;
342
+ /**
343
+ * Backend option type (`label`/`code`), shared with the admin shape as an
344
+ * optional display/identification field; the checkout does not branch on it.
345
+ */
346
+ type?: {
347
+ id: string;
348
+ label: string;
349
+ code: string | null;
350
+ } | null;
351
+ stock_location_id: string;
352
+ shipping_profile_id: string;
353
+ }
354
+ /**
355
+ * One variant line inside a group. Line membership is by variant id; the host
356
+ * only maps it to a cart line when that mapping is unambiguous.
357
+ */
358
+ interface ShippingGroupItem {
359
+ variant_id: string;
360
+ quantity: number;
361
+ product_title?: string | null;
362
+ variant_title?: string | null;
363
+ }
364
+ /**
365
+ * One delivery group as decided by the backend. The storefront never groups,
366
+ * splits, or re-keys these: `profile_id` + `products` is the group identity.
367
+ */
368
+ interface ShippingGroup {
369
+ profile_id: string;
370
+ profile_label: string;
371
+ /** Variant ids of the group; the roundtrip value for a selection's `products`. */
372
+ products: string[];
373
+ items: ShippingGroupItem[];
374
+ options: ShippingGroupOption[];
375
+ }
376
+ /** The grouped-shipping quote for a cart. `count` is the backend's group count. */
377
+ interface ShippingGroupQuote {
378
+ groups: ShippingGroup[];
379
+ count: number;
380
+ }
381
+ /**
382
+ * The shopper's chosen option for one backend group.
383
+ * `products` must be the group's own `products` array, not a derived id.
384
+ */
385
+ interface ShippingGroupSelection {
386
+ products: string[];
387
+ option_id: string;
388
+ }
389
+
160
390
  /**
161
391
  * Header Configuration Types
162
392
  *
@@ -1493,6 +1723,7 @@ interface Address {
1493
1723
  postalCode?: string;
1494
1724
  countryCode: string;
1495
1725
  phone?: string;
1726
+ label?: string;
1496
1727
  isDefault?: boolean;
1497
1728
  isDefaultBilling?: boolean;
1498
1729
  isDefaultShipping?: boolean;
@@ -2180,6 +2411,12 @@ interface CreateAddressData {
2180
2411
  postalCode?: string;
2181
2412
  countryCode: string;
2182
2413
  phone?: string;
2414
+ /** Customer-facing name for the address (e.g., "Home"). */
2415
+ label?: string;
2416
+ /** Mark this address as the default shipping address. */
2417
+ isDefaultShipping?: boolean;
2418
+ /** Mark this address as the default billing address. */
2419
+ isDefaultBilling?: boolean;
2183
2420
  metadata?: Record<string, unknown>;
2184
2421
  }
2185
2422
  /**
@@ -3201,6 +3438,40 @@ interface CommerceProvider {
3201
3438
  * ```
3202
3439
  */
3203
3440
  addShippingMethod(cartId: string, methodId: string): Promise<Cart>;
3441
+ /**
3442
+ * Get the backend's grouped shipping quote for a cart (OPTIONAL).
3443
+ *
3444
+ * Returns the backend's own delivery groups — one per shipping profile —
3445
+ * each with the variants it contains and the options valid for it. The
3446
+ * storefront consumes these groups as they are: it never groups, splits,
3447
+ * ranks, or re-prices shipments locally.
3448
+ *
3449
+ * Optional so a provider without a grouped store endpoint keeps its existing
3450
+ * contract; callers must treat its absence as an unsupported capability
3451
+ * rather than as an empty quote. Amounts are backend major units and are not
3452
+ * authoritative for the order total (the cart is re-read after applying).
3453
+ *
3454
+ * @param cartId - Cart ID
3455
+ * @returns The grouped quote, or `{ groups: [], count: 0 }` when the cart has
3456
+ * no shipping address yet (nothing can be quoted without a destination)
3457
+ * @throws {ProviderAPIError} If the backend fails or returns an invalid quote
3458
+ */
3459
+ getCheckoutShippingGroups?(cartId: string): Promise<ShippingGroupQuote>;
3460
+ /**
3461
+ * Apply one selected shipping option per backend group (OPTIONAL).
3462
+ *
3463
+ * Sends the shopper's selections keyed by the backend group identity
3464
+ * (`products` + `option_id`). Acceptance is all this call guarantees: the
3465
+ * caller re-reads the authoritative cart for totals after it resolves, and
3466
+ * never derives totals from a response body.
3467
+ *
3468
+ * Optional for the same reason as `getCheckoutShippingGroups`.
3469
+ *
3470
+ * @param cartId - Cart ID
3471
+ * @param selections - One `{ products, option_id }` per backend group
3472
+ * @throws {ProviderAPIError} If the backend rejects the selection set
3473
+ */
3474
+ applyCheckoutShippingGroups?(cartId: string, selections: ShippingGroupSelection[]): Promise<void>;
3204
3475
  /**
3205
3476
  * Initiate payment session with provider
3206
3477
  *
@@ -4561,7 +4832,10 @@ interface GetDropshipperOrdersResponse {
4561
4832
  offset: number;
4562
4833
  limit: number;
4563
4834
  }
4564
- /** A shipping option returned for manual dropshipper orders */
4835
+ /**
4836
+ * A shipping option returned for manual dropshipper orders.
4837
+ * Mirrors the storefront `ShippingGroupOption` in `packages/types/src/shipping.ts`; keep both grouped-shipping shapes aligned.
4838
+ */
4565
4839
  interface DropshipperShippingOption {
4566
4840
  id: string;
4567
4841
  name: string;
@@ -6832,4 +7106,4 @@ type UpdateBusinessPolicyResponse = {
6832
7106
  business_policy: string;
6833
7107
  };
6834
7108
 
6835
- export type { AccountDropdownConfig, AccountMenuItem, AcknowledgeCostPriceChangesResponse, ActiveFilter, AddOrderEditItemBody, AddOrderEditItemResponse, Address, AdminApiKey, AdminChannelCategory, AdminChannelCustomer, AdminDropshipperAccount, AdminDropshipperBalance, AdminProduct, AdminProductVariant, AdminSalesChannelRef, AdminSiteConfig, AdminSiteConfigHistoryEntry, AdminSiteConfigHistoryEntryFull, AdminStorefrontConfig, AdminStorefrontSeoDefaults, AdminUser, AdvancedSearchProductsOptions, AssignCategoriesToChannelsBody, AssignCategoriesToChannelsResponse, AssignCollectionsToChannelsBody, AssignCollectionsToChannelsResponse, AuditLog, AuditLogAdapter, AuthConfig, AuthMethod, AuthProvider, AuthResponse, AuthStorage, AuthorConfig, BackendCapabilities, BrandConfig, CachedPaymentMethods, CancelDropshipperOrderResponse, CancelMovementBody, CancelMovementResponse, CancelSettlementBody, Cart, CartCost, CartItem, CartLineInput, CartLineUpdate, CartProduct, CartSession, CatalogAppliedFilters, CatalogFacetDemonstrationSource, CatalogFacetId, CatalogQuery, CatalogQueryFailure, CatalogQueryFailureCode, CatalogQueryFailureRepair, CatalogQueryOutcome, CatalogResults, CatalogSortKey, CategoryMapping, ChartDataPoint, ChatAssistantHealthResponse, ChatIntent, ChatMessage, ChatRequest, ChatResponse, ChatSource, ChatSourceVariant, Collection, CollectionProductsOptions, CommerceProvider, CompareProduct, ConfigHistoryEntry, ConfirmMovementBody, ConfirmMovementResponse, ConfirmOrderEditResponse, ConfirmSettlementBody, Connection, ConvertDropshipperDraftOrderBody, ConvertDropshipperDraftOrderResponse, CostPriceChangeItem, CostPriceChangesCheckResponse, CostPriceChangesResponse, Country, CreateAddressData, CreateAjusteBody, CreateAjusteResponse, CreateCategoryMappingBody, CreateCategoryMappingResponse, CreateCobroBody, CreateCobroResponse, CreateCompensacionBody, CreateCompensacionResponse, CreateDropshipperCategoryBody, CreateDropshipperCustomerBody, CreateDropshipperCustomerResponse, CreateDropshipperDraftOrderBody, CreateDropshipperDraftOrderResponse, CreateDropshipperOrderBody, CreateDropshipperOrderResponse, CreateDropshipperPromotionBody, CreateOrderEditBody, CreateOrderEditResponse, CreateOrderItem, CreateOrderNoteBody, CreateOrderNoteResponse, CreatePagoBody, CreatePagoResponse, CreateReversoBody, CreateReversoResponse, CreateSettlementBody, CreateSettlementResponse, Customer, CustomerOrdersPage, DashboardChanges, DashboardConfig, DashboardMetrics, DashboardMetricsAdapter, DashboardOrdersAdapter, DashboardPeriodMetrics, DashboardProductsAdapter, DashboardStats, DashboardTopProduct, DeleteCategoryMappingResponse, DeleteDropshipperCategoryResponse, DeleteDropshipperDraftOrderResponse, DeleteDropshipperPromotionResponse, DeleteOrderNoteResponse, DesignerConfig, DesignerHistoryEntry, DesignerNavItem, DesignerThemeConfig, DesignerThemePreset, DiscountCode, DropshipperAccount, DropshipperAccountRef, DropshipperAddressBody, DropshipperAddressResponse, DropshipperAttributeDefinition, DropshipperAttributeDefinitionValue, DropshipperBalance, DropshipperCategory, DropshipperCostTier, DropshipperCustomer, DropshipperCustomerAddress, DropshipperCustomerDetail, DropshipperCustomerFinancial, DropshipperCustomerStats, DropshipperDashboardCapabilities, DropshipperDraftOrder, DropshipperDraftOrderItem, DropshipperNotificationEventType, DropshipperNotificationPreference, DropshipperOrder, DropshipperOrderCustomer, DropshipperOrderDetail, DropshipperOrderItem, DropshipperOrderShippingAddress, DropshipperOrderTaxLine, DropshipperOrderTimelineEvent, DropshipperOrderTotals, DropshipperPayableOrder, DropshipperPaymentMethodConfig, DropshipperPendingOrders, DropshipperPriceItem, DropshipperPriceTier, DropshipperProduct, DropshipperProductAttachment, DropshipperProductAttribute, DropshipperProductAttributeValue, DropshipperProductImage, DropshipperProductOption, DropshipperProductOptionValue, DropshipperProductPrivateMedia, DropshipperProfile, DropshipperPromotion, DropshipperReceivableOrder, DropshipperSaleTier, DropshipperShippingGroup, DropshipperShippingGroupOption, DropshipperShippingOption, DropshipperVariant, DynamicSource, Edge, ExtendedCreateDropshipperOrderBody, ExtendedCreateDropshipperOrderResponse, FacetSupport, FilterConfig, FilterOption, FilterSection, FulfillmentOption, FulfillmentSet, FulfillmentStatus, GeoCity, GeoCountry, GeoProvince, GetAdminAccountBalanceResponse, GetAdminDropshipperAccountOrdersResponse, GetAdminDropshipperAccountSettlementsOptions, GetAdminDropshipperAccountSettlementsResponse, GetAdminDropshipperAccountsResponse, GetAdminPriceListsResponse, GetAdminSiteConfigHistoryOptions, GetAdminSiteConfigHistoryResponse, GetAdminSiteConfigResponse, GetAdminStorefrontConfigResponse, GetBusinessPolicyResponse, GetCategoriesCallback, GetCategoriesOptions, GetCategoryMappingsOptions, GetCategoryMappingsResponse, GetCategorySalesChannelsResponse, GetChannelApiKeysResponse, GetChannelCategoriesOptions, GetChannelCategoriesResponse, GetChannelCustomersOptions, GetChannelCustomersResponse, GetCollectionSalesChannelsResponse, GetCollectionsOptions, GetCustomerOrdersPageOptions, GetCustomersCallback, GetCustomersOptions, GetDashboardStatsOptions, GetDashboardStatsResponse, GetDropshipperAccountBalanceResponse, GetDropshipperAccountOrdersOptions, GetDropshipperAccountOrdersResponse, GetDropshipperAccountResponse, GetDropshipperAddressesResponse, GetDropshipperAttributesResponse, GetDropshipperCategoriesOptions, GetDropshipperCategoriesResponse, GetDropshipperCustomerDetailResponse, GetDropshipperCustomersOptions, GetDropshipperCustomersResponse, GetDropshipperDraftOrderDetailResponse, GetDropshipperDraftOrdersOptions, GetDropshipperDraftOrdersResponse, GetDropshipperOrderDetailResponse, GetDropshipperOrdersOptions, GetDropshipperOrdersResponse, GetDropshipperPayableResponse, GetDropshipperProductsOptions, GetDropshipperProductsResponse, GetDropshipperPromotionsOptions, GetDropshipperPromotionsResponse, GetDropshipperReceivableResponse, GetDropshipperShippingOptionsBody, GetDropshipperShippingOptionsResponse, GetFinancialAnalysisResponse, GetGeoCitiesResponse, GetGeoCountriesResponse, GetGeoProvincesResponse, GetMyProfileResponse, GetNotificationPreferencesResponse, GetNotificationsOptions, GetNotificationsResponse, GetOrderNotesResponse, GetOrdersCallback, GetOrdersOptions, GetProductAttributesResponse, GetProductsOptions, GetProviderCategoriesResponse, GetSettlementDetailResponse, GetSettlementsOptions, GetSettlementsResponse, GetStorefrontDropshipperCategoriesResponse, GetUserChannelResponse, HeaderLinkItem, HeaderNavigationConfig, IconConfig, Image, InterestCategory, InventoryLevel, LinkCustomerToChannelResponse, LoginCredentials, ManualAdminNotificationData, ModulesConfig, Money, NavigationCalloutItem, NavigationItem, NavigationLinkItem, NotificationData, OnboardDropshipperBody, OnboardDropshipperResponse, Order, OrderItem, OrderNote, OrderReceipt, OrderStatus, OrdersMetrics, PaginationOptions, PasswordResetConfirm, PasswordResetRequest, PaymentMethod$1 as PaymentMethod, PaymentMethodFeatures, PaymentMethodType, PaymentMethodsOptions, PaymentStatus, PreviewDropshipperOrderItem, PreviewDropshipperOrderTotalsBody, PreviewDropshipperOrderTotalsResponse, PriceRange, PriceUpdatedNotificationData, Product, ProductAssignedNotificationData, ProductCategory, ProductOption, ProductPreview, ProductVariant, ProductsMetrics, PromotionRule, ProviderCategory, ProviderConfig, ProviderTypeString, QueryEntitiesInput, QueryEntityInput, QueryErrors, QueryMeta, QueryResponse, QuerySortDirection, RawNotification, RecoveryConfirmResult, Region, RegisterData, RegisterPaymentBody, RegisterPaymentResponse, RequestedProfile, ResolveGuaranteeBody, ResolveGuaranteeResponse, RestoreSiteConfigResponse, Review, SEO, SalesChannelType, SalesMetrics, SearchBarConfig, SearchResultMeta, SelectedOption, SetPaymentCollectorBody, SetPaymentCollectorResponse, SetPaymentMethodBody, SetPaymentMethodResponse, SettlementRecord, SettlementStatus, ShippingGroupInput, ShippingMethod, ShopperIdentity, SiteConfig, SiteConfigLabels, SiteConfigMetadata, SocialConfig, SortOption, SortOptions, StockChangeNotificationData, StockLocation, StockStatus, StockValidation, StoreContext, StorefrontConfig, StorefrontContext, StorefrontPlatformType, StorefrontSeoDefaults, SubmitApplicationBody, SubmitApplicationConflictApplication, SubmitApplicationCreated, SubmitApplicationResponse, SubmitApplicationResult, SubmitApplicationSalesChannel, TokenVerifyResult, TokenVerifyState, UnassignCategoriesFromChannelsBody, UnassignCategoriesFromChannelsResponse, UnassignCollectionsFromChannelsBody, UnassignCollectionsFromChannelsResponse, UpdateBusinessPolicyBody, UpdateBusinessPolicyResponse, UpdateCustomerData, UpdateDropshipperCategoryBody, UpdateDropshipperCustomerBody, UpdateDropshipperCustomerResponse, UpdateDropshipperDraftOrderBody, UpdateDropshipperDraftOrderResponse, UpdateDropshipperPricesBody, UpdateDropshipperPricesResponse, UpdateDropshipperProductStatusBody, UpdateDropshipperProductStatusResponse, UpdateDropshipperPromotionBody, UpdateNotificationPreferencesBody, UpdateSettlementStatusResponse, UpdateSiteConfigBody, UpdateSiteConfigResponse, UpdateStorefrontConfigBody, UpdateStorefrontConfigResponse, ValidateCheckoutItemsRequest, ValidateCheckoutItemsResponse, ValidateGiftCardBody, ValidateGiftCardResponse, ValidatedCheckoutItem };
7109
+ export type { AccountDropdownConfig, AccountMenuItem, AcknowledgeCostPriceChangesResponse, ActiveFilter, AddOrderEditItemBody, AddOrderEditItemResponse, Address, AdminApiKey, AdminChannelCategory, AdminChannelCustomer, AdminDropshipperAccount, AdminDropshipperBalance, AdminProduct, AdminProductVariant, AdminSalesChannelRef, AdminSiteConfig, AdminSiteConfigHistoryEntry, AdminSiteConfigHistoryEntryFull, AdminStorefrontConfig, AdminStorefrontSeoDefaults, AdminUser, AdvancedSearchProductsOptions, AssignCategoriesToChannelsBody, AssignCategoriesToChannelsResponse, AssignCollectionsToChannelsBody, AssignCollectionsToChannelsResponse, AuditLog, AuditLogAdapter, AuthConfig, AuthMethod, AuthProvider, AuthResponse, AuthStorage, AuthorConfig, BackendCapabilities, BrandConfig, CachedPaymentMethods, CancelDropshipperOrderResponse, CancelMovementBody, CancelMovementResponse, CancelSettlementBody, Cart, CartCost, CartItem, CartLineInput, CartLineUpdate, CartProduct, CartSession, CatalogAppliedFilters, CatalogFacetDemonstrationSource, CatalogFacetId, CatalogQuery, CatalogQueryFailure, CatalogQueryFailureCode, CatalogQueryFailureRepair, CatalogQueryOutcome, CatalogResults, CatalogSortKey, CategoryMapping, ChartDataPoint, ChatAssistantHealthResponse, ChatIntent, ChatMessage, ChatRequest, ChatResponse, ChatSource, ChatSourceVariant, CheckoutAddressLevel, CheckoutAddressOption, CheckoutAddressValues, CheckoutAdjustmentPayment, CheckoutContactValues, CheckoutCustomerIdentity, CheckoutInterruption, CheckoutInterruptionAction, CheckoutInterruptionKind, CheckoutLocationOptions, CheckoutReadState, CheckoutSavedAddress, CheckoutShippingGroup, CheckoutShippingGroupItem, CheckoutShippingOption, CheckoutSubmission, Collection, CollectionProductsOptions, CommerceProvider, CompareProduct, ConfigHistoryEntry, ConfirmMovementBody, ConfirmMovementResponse, ConfirmOrderEditResponse, ConfirmSettlementBody, Connection, ConvertDropshipperDraftOrderBody, ConvertDropshipperDraftOrderResponse, CostPriceChangeItem, CostPriceChangesCheckResponse, CostPriceChangesResponse, Country, CreateAddressData, CreateAjusteBody, CreateAjusteResponse, CreateCategoryMappingBody, CreateCategoryMappingResponse, CreateCobroBody, CreateCobroResponse, CreateCompensacionBody, CreateCompensacionResponse, CreateDropshipperCategoryBody, CreateDropshipperCustomerBody, CreateDropshipperCustomerResponse, CreateDropshipperDraftOrderBody, CreateDropshipperDraftOrderResponse, CreateDropshipperOrderBody, CreateDropshipperOrderResponse, CreateDropshipperPromotionBody, CreateOrderEditBody, CreateOrderEditResponse, CreateOrderItem, CreateOrderNoteBody, CreateOrderNoteResponse, CreatePagoBody, CreatePagoResponse, CreateReversoBody, CreateReversoResponse, CreateSettlementBody, CreateSettlementResponse, Customer, CustomerOrdersPage, DashboardChanges, DashboardConfig, DashboardMetrics, DashboardMetricsAdapter, DashboardOrdersAdapter, DashboardPeriodMetrics, DashboardProductsAdapter, DashboardStats, DashboardTopProduct, DeleteCategoryMappingResponse, DeleteDropshipperCategoryResponse, DeleteDropshipperDraftOrderResponse, DeleteDropshipperPromotionResponse, DeleteOrderNoteResponse, DesignerConfig, DesignerHistoryEntry, DesignerNavItem, DesignerThemeConfig, DesignerThemePreset, DiscountCode, DropshipperAccount, DropshipperAccountRef, DropshipperAddressBody, DropshipperAddressResponse, DropshipperAttributeDefinition, DropshipperAttributeDefinitionValue, DropshipperBalance, DropshipperCategory, DropshipperCostTier, DropshipperCustomer, DropshipperCustomerAddress, DropshipperCustomerDetail, DropshipperCustomerFinancial, DropshipperCustomerStats, DropshipperDashboardCapabilities, DropshipperDraftOrder, DropshipperDraftOrderItem, DropshipperNotificationEventType, DropshipperNotificationPreference, DropshipperOrder, DropshipperOrderCustomer, DropshipperOrderDetail, DropshipperOrderItem, DropshipperOrderShippingAddress, DropshipperOrderTaxLine, DropshipperOrderTimelineEvent, DropshipperOrderTotals, DropshipperPayableOrder, DropshipperPaymentMethodConfig, DropshipperPendingOrders, DropshipperPriceItem, DropshipperPriceTier, DropshipperProduct, DropshipperProductAttachment, DropshipperProductAttribute, DropshipperProductAttributeValue, DropshipperProductImage, DropshipperProductOption, DropshipperProductOptionValue, DropshipperProductPrivateMedia, DropshipperProfile, DropshipperPromotion, DropshipperReceivableOrder, DropshipperSaleTier, DropshipperShippingGroup, DropshipperShippingGroupOption, DropshipperShippingOption, DropshipperVariant, DynamicSource, Edge, ExtendedCreateDropshipperOrderBody, ExtendedCreateDropshipperOrderResponse, FacetSupport, FilterConfig, FilterOption, FilterSection, FulfillmentOption, FulfillmentSet, FulfillmentStatus, GeoCity, GeoCountry, GeoProvince, GetAdminAccountBalanceResponse, GetAdminDropshipperAccountOrdersResponse, GetAdminDropshipperAccountSettlementsOptions, GetAdminDropshipperAccountSettlementsResponse, GetAdminDropshipperAccountsResponse, GetAdminPriceListsResponse, GetAdminSiteConfigHistoryOptions, GetAdminSiteConfigHistoryResponse, GetAdminSiteConfigResponse, GetAdminStorefrontConfigResponse, GetBusinessPolicyResponse, GetCategoriesCallback, GetCategoriesOptions, GetCategoryMappingsOptions, GetCategoryMappingsResponse, GetCategorySalesChannelsResponse, GetChannelApiKeysResponse, GetChannelCategoriesOptions, GetChannelCategoriesResponse, GetChannelCustomersOptions, GetChannelCustomersResponse, GetCollectionSalesChannelsResponse, GetCollectionsOptions, GetCustomerOrdersPageOptions, GetCustomersCallback, GetCustomersOptions, GetDashboardStatsOptions, GetDashboardStatsResponse, GetDropshipperAccountBalanceResponse, GetDropshipperAccountOrdersOptions, GetDropshipperAccountOrdersResponse, GetDropshipperAccountResponse, GetDropshipperAddressesResponse, GetDropshipperAttributesResponse, GetDropshipperCategoriesOptions, GetDropshipperCategoriesResponse, GetDropshipperCustomerDetailResponse, GetDropshipperCustomersOptions, GetDropshipperCustomersResponse, GetDropshipperDraftOrderDetailResponse, GetDropshipperDraftOrdersOptions, GetDropshipperDraftOrdersResponse, GetDropshipperOrderDetailResponse, GetDropshipperOrdersOptions, GetDropshipperOrdersResponse, GetDropshipperPayableResponse, GetDropshipperProductsOptions, GetDropshipperProductsResponse, GetDropshipperPromotionsOptions, GetDropshipperPromotionsResponse, GetDropshipperReceivableResponse, GetDropshipperShippingOptionsBody, GetDropshipperShippingOptionsResponse, GetFinancialAnalysisResponse, GetGeoCitiesResponse, GetGeoCountriesResponse, GetGeoProvincesResponse, GetMyProfileResponse, GetNotificationPreferencesResponse, GetNotificationsOptions, GetNotificationsResponse, GetOrderNotesResponse, GetOrdersCallback, GetOrdersOptions, GetProductAttributesResponse, GetProductsOptions, GetProviderCategoriesResponse, GetSettlementDetailResponse, GetSettlementsOptions, GetSettlementsResponse, GetStorefrontDropshipperCategoriesResponse, GetUserChannelResponse, HeaderLinkItem, HeaderNavigationConfig, IconConfig, Image, InterestCategory, InventoryLevel, LinkCustomerToChannelResponse, LoginCredentials, ManualAdminNotificationData, ModulesConfig, Money, NavigationCalloutItem, NavigationItem, NavigationLinkItem, NotificationData, OnboardDropshipperBody, OnboardDropshipperResponse, Order, OrderItem, OrderNote, OrderReceipt, OrderStatus, OrdersMetrics, PaginationOptions, PasswordResetConfirm, PasswordResetRequest, PaymentMethod$1 as PaymentMethod, PaymentMethodFeatures, PaymentMethodType, PaymentMethodsOptions, PaymentStatus, PreviewDropshipperOrderItem, PreviewDropshipperOrderTotalsBody, PreviewDropshipperOrderTotalsResponse, PriceRange, PriceUpdatedNotificationData, Product, ProductAssignedNotificationData, ProductCategory, ProductOption, ProductPreview, ProductVariant, ProductsMetrics, PromotionRule, ProviderCategory, ProviderConfig, ProviderTypeString, QueryEntitiesInput, QueryEntityInput, QueryErrors, QueryMeta, QueryResponse, QuerySortDirection, RawNotification, RecoveryConfirmResult, Region, RegisterData, RegisterPaymentBody, RegisterPaymentResponse, RequestedProfile, ResolveGuaranteeBody, ResolveGuaranteeResponse, RestoreSiteConfigResponse, Review, SEO, SalesChannelType, SalesMetrics, SearchBarConfig, SearchResultMeta, SelectedOption, SetPaymentCollectorBody, SetPaymentCollectorResponse, SetPaymentMethodBody, SetPaymentMethodResponse, SettlementRecord, SettlementStatus, ShippingGroup, ShippingGroupInput, ShippingGroupItem, ShippingGroupLocation, ShippingGroupOption, ShippingGroupQuote, ShippingGroupSelection, ShippingMethod, ShopperIdentity, SiteConfig, SiteConfigLabels, SiteConfigMetadata, SocialConfig, SortOption, SortOptions, StockChangeNotificationData, StockLocation, StockStatus, StockValidation, StoreContext, StorefrontConfig, StorefrontContext, StorefrontPlatformType, StorefrontSeoDefaults, SubmitApplicationBody, SubmitApplicationConflictApplication, SubmitApplicationCreated, SubmitApplicationResponse, SubmitApplicationResult, SubmitApplicationSalesChannel, TokenVerifyResult, TokenVerifyState, UnassignCategoriesFromChannelsBody, UnassignCategoriesFromChannelsResponse, UnassignCollectionsFromChannelsBody, UnassignCollectionsFromChannelsResponse, UpdateBusinessPolicyBody, UpdateBusinessPolicyResponse, UpdateCustomerData, UpdateDropshipperCategoryBody, UpdateDropshipperCustomerBody, UpdateDropshipperCustomerResponse, UpdateDropshipperDraftOrderBody, UpdateDropshipperDraftOrderResponse, UpdateDropshipperPricesBody, UpdateDropshipperPricesResponse, UpdateDropshipperProductStatusBody, UpdateDropshipperProductStatusResponse, UpdateDropshipperPromotionBody, UpdateNotificationPreferencesBody, UpdateSettlementStatusResponse, UpdateSiteConfigBody, UpdateSiteConfigResponse, UpdateStorefrontConfigBody, UpdateStorefrontConfigResponse, ValidateCheckoutItemsRequest, ValidateCheckoutItemsResponse, ValidateGiftCardBody, ValidateGiftCardResponse, ValidatedCheckoutItem };