@thorprovider/types 7.9.0 → 7.11.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/.turbo/turbo-build.log +18 -18
- package/.turbo/turbo-type-check.log +0 -0
- package/CHANGELOG.md +31 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.mts +159 -3
- package/dist/index.d.ts +159 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/publish.log +60 -0
- package/src/auth.ts +15 -1
- package/src/cart.ts +9 -2
- package/src/catalog.ts +38 -0
- package/src/checkout.ts +13 -0
- package/src/commerce-provider.ts +32 -1
- package/src/customer.ts +50 -0
- package/src/index.ts +12 -0
- package/src/product.ts +53 -0
package/dist/index.d.mts
CHANGED
|
@@ -301,6 +301,17 @@ interface CheckoutShippingGroupItem {
|
|
|
301
301
|
/** Quantity in this group when a line is split across groups. */
|
|
302
302
|
quantity?: number;
|
|
303
303
|
}
|
|
304
|
+
/** Outcome of requesting a guest-order claim (transfer) for a registered customer. */
|
|
305
|
+
interface CheckoutOrderClaimRequestResult {
|
|
306
|
+
/** True once the backend accepted the transfer request. */
|
|
307
|
+
requested: boolean;
|
|
308
|
+
}
|
|
309
|
+
/** Outcome of accepting a guest-order claim with the email token. */
|
|
310
|
+
interface CheckoutOrderClaimAcceptResult {
|
|
311
|
+
accepted: boolean;
|
|
312
|
+
/** The order the transfer was applied to. */
|
|
313
|
+
orderId: string;
|
|
314
|
+
}
|
|
304
315
|
interface CheckoutAdjustmentPayment {
|
|
305
316
|
id: string;
|
|
306
317
|
kind: 'gift-card' | 'store-credit';
|
|
@@ -976,6 +987,7 @@ interface ProductVariant {
|
|
|
976
987
|
stockStatus?: StockStatus;
|
|
977
988
|
inventoryLevels?: InventoryLevel[];
|
|
978
989
|
image?: Image;
|
|
990
|
+
attributes?: ProductAttributeGroup[];
|
|
979
991
|
}
|
|
980
992
|
/**
|
|
981
993
|
* Price range for product
|
|
@@ -984,6 +996,41 @@ interface PriceRange {
|
|
|
984
996
|
minVariantPrice: Money;
|
|
985
997
|
maxVariantPrice: Money;
|
|
986
998
|
}
|
|
999
|
+
/**
|
|
1000
|
+
* One merchandising highlight, rendered as a label/value pair (e.g.
|
|
1001
|
+
* "Pantalla" / "14 pulgadas") above the description.
|
|
1002
|
+
*/
|
|
1003
|
+
interface ProductHighlight {
|
|
1004
|
+
label: string;
|
|
1005
|
+
value: string;
|
|
1006
|
+
}
|
|
1007
|
+
/** One row inside an attribute group. */
|
|
1008
|
+
interface ProductAttribute {
|
|
1009
|
+
id?: string;
|
|
1010
|
+
label: string;
|
|
1011
|
+
value: string;
|
|
1012
|
+
}
|
|
1013
|
+
/**
|
|
1014
|
+
* A titled block of specifications (e.g. "Peso y medidas"). Grouped rather than
|
|
1015
|
+
* flat so the product detail can render several tables without inventing titles.
|
|
1016
|
+
*/
|
|
1017
|
+
interface ProductAttributeGroup {
|
|
1018
|
+
id?: string;
|
|
1019
|
+
title: string;
|
|
1020
|
+
items: ProductAttribute[];
|
|
1021
|
+
}
|
|
1022
|
+
/** A document attached to the product (datasheet, manual, care guide). */
|
|
1023
|
+
interface ProductAttachment {
|
|
1024
|
+
id: string;
|
|
1025
|
+
name: string;
|
|
1026
|
+
kind?: string;
|
|
1027
|
+
language?: string;
|
|
1028
|
+
size?: string;
|
|
1029
|
+
version?: string;
|
|
1030
|
+
url?: string;
|
|
1031
|
+
/** Empty or absent means the attachment applies to every variant. */
|
|
1032
|
+
variantIds?: string[];
|
|
1033
|
+
}
|
|
987
1034
|
/**
|
|
988
1035
|
* Main product type - normalized across all providers
|
|
989
1036
|
*
|
|
@@ -1021,6 +1068,12 @@ interface Product {
|
|
|
1021
1068
|
productType?: string;
|
|
1022
1069
|
vendor?: string;
|
|
1023
1070
|
tags?: string[];
|
|
1071
|
+
brand?: string;
|
|
1072
|
+
model?: string;
|
|
1073
|
+
shortDescription?: string;
|
|
1074
|
+
highlights?: ProductHighlight[];
|
|
1075
|
+
attributes?: ProductAttributeGroup[];
|
|
1076
|
+
attachments?: ProductAttachment[];
|
|
1024
1077
|
seo?: SEO;
|
|
1025
1078
|
createdAt: string;
|
|
1026
1079
|
updatedAt: string;
|
|
@@ -1384,6 +1437,36 @@ interface FacetSupport {
|
|
|
1384
1437
|
/** Diagnostic reason per held filter, keyed by filter id. */
|
|
1385
1438
|
heldReasons?: Record<string, string>;
|
|
1386
1439
|
}
|
|
1440
|
+
/** One selectable facet option and the number of matching products. */
|
|
1441
|
+
interface CatalogFacetOption {
|
|
1442
|
+
/** Stable option id; this is the value a query applies for the facet. */
|
|
1443
|
+
id: string;
|
|
1444
|
+
/** Buyer-visible label. */
|
|
1445
|
+
label: string;
|
|
1446
|
+
/** Products matching this option in the current scope, supplied by the backend. */
|
|
1447
|
+
count: number;
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* One facet group the backend returned with the current result.
|
|
1451
|
+
*
|
|
1452
|
+
* Distinct from `FacetSupport`, which only says whether a filter can be applied.
|
|
1453
|
+
* This carries the options and bounds the backend actually returned for the
|
|
1454
|
+
* query. Enumerated facets carry `options`; the numeric `price` facet carries
|
|
1455
|
+
* `min`/`max` instead. Nothing here is synthesized: absent means the backend did
|
|
1456
|
+
* not return the group for that query.
|
|
1457
|
+
*/
|
|
1458
|
+
interface CatalogFacetGroup {
|
|
1459
|
+
/** Canonical id the surface maps onto its filter key. */
|
|
1460
|
+
id: CatalogFacetId;
|
|
1461
|
+
/** Buyer-visible group label, when the backend supplies one. */
|
|
1462
|
+
label?: string;
|
|
1463
|
+
/** Selectable values, in backend order. */
|
|
1464
|
+
options?: CatalogFacetOption[];
|
|
1465
|
+
/** Lowest matching value for a numeric facet. */
|
|
1466
|
+
min?: number;
|
|
1467
|
+
/** Highest matching value for a numeric facet. */
|
|
1468
|
+
max?: number;
|
|
1469
|
+
}
|
|
1387
1470
|
/**
|
|
1388
1471
|
* Truthful catalog result for a fully applied query.
|
|
1389
1472
|
*
|
|
@@ -1401,6 +1484,12 @@ interface CatalogResults {
|
|
|
1401
1484
|
appliedFilters: CatalogAppliedFilters;
|
|
1402
1485
|
/** Facet support descriptor for the query and scope. */
|
|
1403
1486
|
facetSupport?: FacetSupport;
|
|
1487
|
+
/**
|
|
1488
|
+
* Facet groups the backend returned for this query, in display order.
|
|
1489
|
+
* Only groups with options or finite bounds are useful to a surface; the
|
|
1490
|
+
* adapter omits any it cannot fill from backend data.
|
|
1491
|
+
*/
|
|
1492
|
+
facets?: CatalogFacetGroup[];
|
|
1404
1493
|
}
|
|
1405
1494
|
/**
|
|
1406
1495
|
* Adapter-seam typed failure code for a canonical catalog query.
|
|
@@ -1627,8 +1716,7 @@ interface Cart {
|
|
|
1627
1716
|
*/
|
|
1628
1717
|
guestContact?: GuestContact;
|
|
1629
1718
|
/** Backend id of the applied shipping method, when one is selected. */
|
|
1630
|
-
selectedShippingMethodId?: string;
|
|
1631
|
-
/**
|
|
1719
|
+
selectedShippingMethodId?: string; /**
|
|
1632
1720
|
* Backend id of the shipping option the applied method was created from.
|
|
1633
1721
|
*
|
|
1634
1722
|
* This is the identity the checkout shipping UI selects (the value passed to
|
|
@@ -1643,6 +1731,14 @@ interface Cart {
|
|
|
1643
1731
|
promotions?: PromotionSummary[];
|
|
1644
1732
|
/** Platform-specific backend metadata, carried through unchanged. */
|
|
1645
1733
|
metadata?: Record<string, unknown>;
|
|
1734
|
+
/**
|
|
1735
|
+
* Buyer email the backend holds on the cart.
|
|
1736
|
+
*
|
|
1737
|
+
* Authoritative for the guest checkout: the backend requires `cart.email`
|
|
1738
|
+
* before a guest order can be completed. Absent when the cart has no contact
|
|
1739
|
+
* email yet, which is the state the host must resolve before payment.
|
|
1740
|
+
*/
|
|
1741
|
+
contactEmail?: string;
|
|
1646
1742
|
}
|
|
1647
1743
|
/**
|
|
1648
1744
|
* Input for adding items to cart
|
|
@@ -1851,6 +1947,37 @@ interface Address {
|
|
|
1851
1947
|
isDefaultBilling?: boolean;
|
|
1852
1948
|
isDefaultShipping?: boolean;
|
|
1853
1949
|
metadata?: Record<string, unknown>;
|
|
1950
|
+
createdAt?: string;
|
|
1951
|
+
updatedAt?: string;
|
|
1952
|
+
}
|
|
1953
|
+
/** Filters the address book can request from the provider. */
|
|
1954
|
+
type AddressFilter = 'all' | 'personal' | 'business' | 'default-shipping' | 'default-billing' | 'verified' | 'needs-review' | 'delivery-available';
|
|
1955
|
+
/** Server-side ordering supported by the address book. */
|
|
1956
|
+
type AddressSort = 'default-first' | 'recent' | 'oldest' | 'alphabetical' | 'city' | 'country' | 'company';
|
|
1957
|
+
/**
|
|
1958
|
+
* One page of the authenticated customer's address book.
|
|
1959
|
+
*
|
|
1960
|
+
* `total` is the filtered total of the customer's scope, never the page
|
|
1961
|
+
* length. `serverQuery` is intentionally absent: it is a presentation fact the
|
|
1962
|
+
* host knows, not a domain field.
|
|
1963
|
+
*/
|
|
1964
|
+
interface AddressListQuery {
|
|
1965
|
+
/** Free-text match over label, recipient, company, postal lines and phone. */
|
|
1966
|
+
search?: string;
|
|
1967
|
+
filter?: AddressFilter;
|
|
1968
|
+
sort?: AddressSort;
|
|
1969
|
+
/** 1-based page index. */
|
|
1970
|
+
page?: number;
|
|
1971
|
+
/** Page size requested from the provider. */
|
|
1972
|
+
pageSize?: number;
|
|
1973
|
+
}
|
|
1974
|
+
/** Result of a server-side address list query. */
|
|
1975
|
+
interface AddressListResult {
|
|
1976
|
+
items: Address[];
|
|
1977
|
+
total: number;
|
|
1978
|
+
page: number;
|
|
1979
|
+
pageSize: number;
|
|
1980
|
+
hasMore: boolean;
|
|
1854
1981
|
}
|
|
1855
1982
|
/**
|
|
1856
1983
|
* Customer
|
|
@@ -3340,6 +3467,14 @@ interface AuthProvider {
|
|
|
3340
3467
|
* @returns List of customer addresses
|
|
3341
3468
|
*/
|
|
3342
3469
|
getAddresses(): Promise<Address[]>;
|
|
3470
|
+
/**
|
|
3471
|
+
* Read one server-filtered page of the customer's address book.
|
|
3472
|
+
*
|
|
3473
|
+
* Optional so existing providers keep compiling; a provider that cannot
|
|
3474
|
+
* serve the query must omit it rather than return a partial or locally
|
|
3475
|
+
* filtered page.
|
|
3476
|
+
*/
|
|
3477
|
+
listAddresses?(query: AddressListQuery): Promise<AddressListResult>;
|
|
3343
3478
|
/**
|
|
3344
3479
|
* Create new address for current customer
|
|
3345
3480
|
* @param data - Address data
|
|
@@ -4301,6 +4436,27 @@ interface CommerceProvider {
|
|
|
4301
4436
|
* @throws {ProviderAPIError} If the backend fails or returns an invalid projection
|
|
4302
4437
|
*/
|
|
4303
4438
|
getCheckoutLineProjection?(cartId: string): Promise<CheckoutLineProjection>;
|
|
4439
|
+
/**
|
|
4440
|
+
* Read the backend's own capability flags, awaited (OPTIONAL).
|
|
4441
|
+
*
|
|
4442
|
+
* The synchronous `capabilities` property is a snapshot that returns static
|
|
4443
|
+
* defaults until a provider's discovery fetch resolves, and those defaults are
|
|
4444
|
+
* not authoritative. A caller that gates behaviour on a flag (guest checkout,
|
|
4445
|
+
* for example) must use this method so an unread or failed flag can be treated
|
|
4446
|
+
* as off.
|
|
4447
|
+
*/
|
|
4448
|
+
getCapabilities?(): Promise<BackendCapabilities>;
|
|
4449
|
+
/**
|
|
4450
|
+
* Request the transfer of a guest order to the authenticated customer
|
|
4451
|
+
* (OPTIONAL). The backend emails an acceptance token; nothing moves until it
|
|
4452
|
+
* is accepted.
|
|
4453
|
+
*/
|
|
4454
|
+
requestOrderClaim?(orderId: string): Promise<CheckoutOrderClaimRequestResult>;
|
|
4455
|
+
/**
|
|
4456
|
+
* Accept a previously requested guest-order transfer with its email token
|
|
4457
|
+
* (OPTIONAL). Requires no customer session.
|
|
4458
|
+
*/
|
|
4459
|
+
acceptOrderClaim?(orderId: string, token: string): Promise<CheckoutOrderClaimAcceptResult>;
|
|
4304
4460
|
/**
|
|
4305
4461
|
* Initiate payment session with provider
|
|
4306
4462
|
*
|
|
@@ -8028,4 +8184,4 @@ type UpdateBusinessPolicyResponse = {
|
|
|
8028
8184
|
business_policy: string;
|
|
8029
8185
|
};
|
|
8030
8186
|
|
|
8031
|
-
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, CheckoutCapturePolicy, CheckoutContactValues, CheckoutCustomerIdentity, CheckoutGuestContact, CheckoutInterruption, CheckoutInterruptionAction, CheckoutInterruptionKind, CheckoutLineProjection, CheckoutLineProjectionLine, CheckoutLocationOptions, CheckoutPaymentPlanItem, CheckoutPaymentSummary, CheckoutPaymentSummaryPayment, CheckoutPaymentSummaryStatus, 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, CustomerOrderAction, CustomerOrderDetail, CustomerOrderDetailAction, CustomerOrderDetailAdjustment, CustomerOrderDetailAdjustmentDirection, CustomerOrderDetailAdjustmentScope, CustomerOrderDetailAdjustmentSource, CustomerOrderDetailAllocation, CustomerOrderDetailApprovalStatus, CustomerOrderDetailAttachment, CustomerOrderDetailAttribute, CustomerOrderDetailAttributeKind, CustomerOrderDetailBusiness, CustomerOrderDetailCase, CustomerOrderDetailCaseLine, CustomerOrderDetailCaseStatus, CustomerOrderDetailCaseType, CustomerOrderDetailDocument, CustomerOrderDetailDocumentKind, CustomerOrderDetailFulfillment, CustomerOrderDetailFulfillmentItemStatus, CustomerOrderDetailFulfillmentStatus, CustomerOrderDetailGroup, CustomerOrderDetailInvoiceStatus, CustomerOrderDetailIssue, CustomerOrderDetailLine, CustomerOrderDetailLinePrice, CustomerOrderDetailOrder, CustomerOrderDetailPackage, CustomerOrderDetailPaymentStatus, CustomerOrderDetailPickup, CustomerOrderDetailPickupStatus, CustomerOrderDetailPriceKind, CustomerOrderDetailProductKind, CustomerOrderDetailPromotion, CustomerOrderDetailPromotionApplication, CustomerOrderDetailPromotionNominal, CustomerOrderDetailPromotionScope, CustomerOrderDetailRevision, CustomerOrderDetailRevisionKind, CustomerOrderDetailSection, CustomerOrderDetailShippingMethod, CustomerOrderDetailSnapshot, CustomerOrderDetailTaxLine, CustomerOrderDetailTotals, CustomerOrderDetailTransaction, CustomerOrderDetailTransactionKind, CustomerOrderDetailTransactionMethod, CustomerOrderDetailTransactionStatus, CustomerOrderFulfillmentItemStatus, CustomerOrderFulfillmentStatus, CustomerOrderHistoryCommercialFilter, CustomerOrderHistoryCommercialStatus, CustomerOrderHistoryDatePreset, CustomerOrderHistoryDeliveryMode, CustomerOrderHistoryFilters, CustomerOrderHistoryFulfilmentFilter, CustomerOrderHistoryOptions, CustomerOrderHistoryPage, CustomerOrderHistoryPaymentFilter, CustomerOrderHistoryQuery, CustomerOrderHistoryQuick, CustomerOrderHistoryRecord, CustomerOrderHistoryRefundFilter, CustomerOrderHistoryReturnStatus, CustomerOrderHistoryShipment, CustomerOrderHistorySort, CustomerOrderPaymentStatus, 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, GiftCardValidationResult, GuestContact, HeaderLinkItem, HeaderNavigationConfig, IconConfig, Image, InterestCategory, InventoryLevel, LinkCustomerToChannelResponse, LoginCredentials, ManualAdminNotificationData, ModulesConfig, Money, NavigationCalloutItem, NavigationItem, NavigationLinkItem, NotificationData, OnboardDropshipperBody, OnboardDropshipperResponse, Order, OrderDeliveryGroup, OrderItem, OrderNote, OrderPayment, OrderPaymentStatus, OrderReceipt, OrderStatus, OrdersMetrics, PaginationOptions, PasswordResetConfirm, PasswordResetRequest, PaymentMethod$1 as PaymentMethod, PaymentMethodFeatures, PaymentMethodType, PaymentMethodsOptions, PaymentStatus, PreviewDropshipperOrderItem, PreviewDropshipperOrderTotalsBody, PreviewDropshipperOrderTotalsResponse, PriceRange, PriceTier, PriceUpdatedNotificationData, Product, ProductAssignedNotificationData, ProductCategory, ProductOption, ProductPreview, ProductVariant, ProductsMetrics, PromotionKind, PromotionRule, PromotionScope, PromotionSummary, 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, StoreCreditAccountSummary, 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 };
|
|
8187
|
+
export type { AccountDropdownConfig, AccountMenuItem, AcknowledgeCostPriceChangesResponse, ActiveFilter, AddOrderEditItemBody, AddOrderEditItemResponse, Address, AddressFilter, AddressListQuery, AddressListResult, AddressSort, 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, CatalogFacetGroup, CatalogFacetId, CatalogFacetOption, CatalogQuery, CatalogQueryFailure, CatalogQueryFailureCode, CatalogQueryFailureRepair, CatalogQueryOutcome, CatalogResults, CatalogSortKey, CategoryMapping, ChartDataPoint, ChatAssistantHealthResponse, ChatIntent, ChatMessage, ChatRequest, ChatResponse, ChatSource, ChatSourceVariant, CheckoutAddressLevel, CheckoutAddressOption, CheckoutAddressValues, CheckoutAdjustmentPayment, CheckoutCapturePolicy, CheckoutContactValues, CheckoutCustomerIdentity, CheckoutGuestContact, CheckoutInterruption, CheckoutInterruptionAction, CheckoutInterruptionKind, CheckoutLineProjection, CheckoutLineProjectionLine, CheckoutLocationOptions, CheckoutOrderClaimAcceptResult, CheckoutOrderClaimRequestResult, CheckoutPaymentPlanItem, CheckoutPaymentSummary, CheckoutPaymentSummaryPayment, CheckoutPaymentSummaryStatus, 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, CustomerOrderAction, CustomerOrderDetail, CustomerOrderDetailAction, CustomerOrderDetailAdjustment, CustomerOrderDetailAdjustmentDirection, CustomerOrderDetailAdjustmentScope, CustomerOrderDetailAdjustmentSource, CustomerOrderDetailAllocation, CustomerOrderDetailApprovalStatus, CustomerOrderDetailAttachment, CustomerOrderDetailAttribute, CustomerOrderDetailAttributeKind, CustomerOrderDetailBusiness, CustomerOrderDetailCase, CustomerOrderDetailCaseLine, CustomerOrderDetailCaseStatus, CustomerOrderDetailCaseType, CustomerOrderDetailDocument, CustomerOrderDetailDocumentKind, CustomerOrderDetailFulfillment, CustomerOrderDetailFulfillmentItemStatus, CustomerOrderDetailFulfillmentStatus, CustomerOrderDetailGroup, CustomerOrderDetailInvoiceStatus, CustomerOrderDetailIssue, CustomerOrderDetailLine, CustomerOrderDetailLinePrice, CustomerOrderDetailOrder, CustomerOrderDetailPackage, CustomerOrderDetailPaymentStatus, CustomerOrderDetailPickup, CustomerOrderDetailPickupStatus, CustomerOrderDetailPriceKind, CustomerOrderDetailProductKind, CustomerOrderDetailPromotion, CustomerOrderDetailPromotionApplication, CustomerOrderDetailPromotionNominal, CustomerOrderDetailPromotionScope, CustomerOrderDetailRevision, CustomerOrderDetailRevisionKind, CustomerOrderDetailSection, CustomerOrderDetailShippingMethod, CustomerOrderDetailSnapshot, CustomerOrderDetailTaxLine, CustomerOrderDetailTotals, CustomerOrderDetailTransaction, CustomerOrderDetailTransactionKind, CustomerOrderDetailTransactionMethod, CustomerOrderDetailTransactionStatus, CustomerOrderFulfillmentItemStatus, CustomerOrderFulfillmentStatus, CustomerOrderHistoryCommercialFilter, CustomerOrderHistoryCommercialStatus, CustomerOrderHistoryDatePreset, CustomerOrderHistoryDeliveryMode, CustomerOrderHistoryFilters, CustomerOrderHistoryFulfilmentFilter, CustomerOrderHistoryOptions, CustomerOrderHistoryPage, CustomerOrderHistoryPaymentFilter, CustomerOrderHistoryQuery, CustomerOrderHistoryQuick, CustomerOrderHistoryRecord, CustomerOrderHistoryRefundFilter, CustomerOrderHistoryReturnStatus, CustomerOrderHistoryShipment, CustomerOrderHistorySort, CustomerOrderPaymentStatus, 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, GiftCardValidationResult, GuestContact, HeaderLinkItem, HeaderNavigationConfig, IconConfig, Image, InterestCategory, InventoryLevel, LinkCustomerToChannelResponse, LoginCredentials, ManualAdminNotificationData, ModulesConfig, Money, NavigationCalloutItem, NavigationItem, NavigationLinkItem, NotificationData, OnboardDropshipperBody, OnboardDropshipperResponse, Order, OrderDeliveryGroup, OrderItem, OrderNote, OrderPayment, OrderPaymentStatus, OrderReceipt, OrderStatus, OrdersMetrics, PaginationOptions, PasswordResetConfirm, PasswordResetRequest, PaymentMethod$1 as PaymentMethod, PaymentMethodFeatures, PaymentMethodType, PaymentMethodsOptions, PaymentStatus, PreviewDropshipperOrderItem, PreviewDropshipperOrderTotalsBody, PreviewDropshipperOrderTotalsResponse, PriceRange, PriceTier, PriceUpdatedNotificationData, Product, ProductAssignedNotificationData, ProductAttachment, ProductAttribute, ProductAttributeGroup, ProductCategory, ProductHighlight, ProductOption, ProductPreview, ProductVariant, ProductsMetrics, PromotionKind, PromotionRule, PromotionScope, PromotionSummary, 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, StoreCreditAccountSummary, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -301,6 +301,17 @@ interface CheckoutShippingGroupItem {
|
|
|
301
301
|
/** Quantity in this group when a line is split across groups. */
|
|
302
302
|
quantity?: number;
|
|
303
303
|
}
|
|
304
|
+
/** Outcome of requesting a guest-order claim (transfer) for a registered customer. */
|
|
305
|
+
interface CheckoutOrderClaimRequestResult {
|
|
306
|
+
/** True once the backend accepted the transfer request. */
|
|
307
|
+
requested: boolean;
|
|
308
|
+
}
|
|
309
|
+
/** Outcome of accepting a guest-order claim with the email token. */
|
|
310
|
+
interface CheckoutOrderClaimAcceptResult {
|
|
311
|
+
accepted: boolean;
|
|
312
|
+
/** The order the transfer was applied to. */
|
|
313
|
+
orderId: string;
|
|
314
|
+
}
|
|
304
315
|
interface CheckoutAdjustmentPayment {
|
|
305
316
|
id: string;
|
|
306
317
|
kind: 'gift-card' | 'store-credit';
|
|
@@ -976,6 +987,7 @@ interface ProductVariant {
|
|
|
976
987
|
stockStatus?: StockStatus;
|
|
977
988
|
inventoryLevels?: InventoryLevel[];
|
|
978
989
|
image?: Image;
|
|
990
|
+
attributes?: ProductAttributeGroup[];
|
|
979
991
|
}
|
|
980
992
|
/**
|
|
981
993
|
* Price range for product
|
|
@@ -984,6 +996,41 @@ interface PriceRange {
|
|
|
984
996
|
minVariantPrice: Money;
|
|
985
997
|
maxVariantPrice: Money;
|
|
986
998
|
}
|
|
999
|
+
/**
|
|
1000
|
+
* One merchandising highlight, rendered as a label/value pair (e.g.
|
|
1001
|
+
* "Pantalla" / "14 pulgadas") above the description.
|
|
1002
|
+
*/
|
|
1003
|
+
interface ProductHighlight {
|
|
1004
|
+
label: string;
|
|
1005
|
+
value: string;
|
|
1006
|
+
}
|
|
1007
|
+
/** One row inside an attribute group. */
|
|
1008
|
+
interface ProductAttribute {
|
|
1009
|
+
id?: string;
|
|
1010
|
+
label: string;
|
|
1011
|
+
value: string;
|
|
1012
|
+
}
|
|
1013
|
+
/**
|
|
1014
|
+
* A titled block of specifications (e.g. "Peso y medidas"). Grouped rather than
|
|
1015
|
+
* flat so the product detail can render several tables without inventing titles.
|
|
1016
|
+
*/
|
|
1017
|
+
interface ProductAttributeGroup {
|
|
1018
|
+
id?: string;
|
|
1019
|
+
title: string;
|
|
1020
|
+
items: ProductAttribute[];
|
|
1021
|
+
}
|
|
1022
|
+
/** A document attached to the product (datasheet, manual, care guide). */
|
|
1023
|
+
interface ProductAttachment {
|
|
1024
|
+
id: string;
|
|
1025
|
+
name: string;
|
|
1026
|
+
kind?: string;
|
|
1027
|
+
language?: string;
|
|
1028
|
+
size?: string;
|
|
1029
|
+
version?: string;
|
|
1030
|
+
url?: string;
|
|
1031
|
+
/** Empty or absent means the attachment applies to every variant. */
|
|
1032
|
+
variantIds?: string[];
|
|
1033
|
+
}
|
|
987
1034
|
/**
|
|
988
1035
|
* Main product type - normalized across all providers
|
|
989
1036
|
*
|
|
@@ -1021,6 +1068,12 @@ interface Product {
|
|
|
1021
1068
|
productType?: string;
|
|
1022
1069
|
vendor?: string;
|
|
1023
1070
|
tags?: string[];
|
|
1071
|
+
brand?: string;
|
|
1072
|
+
model?: string;
|
|
1073
|
+
shortDescription?: string;
|
|
1074
|
+
highlights?: ProductHighlight[];
|
|
1075
|
+
attributes?: ProductAttributeGroup[];
|
|
1076
|
+
attachments?: ProductAttachment[];
|
|
1024
1077
|
seo?: SEO;
|
|
1025
1078
|
createdAt: string;
|
|
1026
1079
|
updatedAt: string;
|
|
@@ -1384,6 +1437,36 @@ interface FacetSupport {
|
|
|
1384
1437
|
/** Diagnostic reason per held filter, keyed by filter id. */
|
|
1385
1438
|
heldReasons?: Record<string, string>;
|
|
1386
1439
|
}
|
|
1440
|
+
/** One selectable facet option and the number of matching products. */
|
|
1441
|
+
interface CatalogFacetOption {
|
|
1442
|
+
/** Stable option id; this is the value a query applies for the facet. */
|
|
1443
|
+
id: string;
|
|
1444
|
+
/** Buyer-visible label. */
|
|
1445
|
+
label: string;
|
|
1446
|
+
/** Products matching this option in the current scope, supplied by the backend. */
|
|
1447
|
+
count: number;
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* One facet group the backend returned with the current result.
|
|
1451
|
+
*
|
|
1452
|
+
* Distinct from `FacetSupport`, which only says whether a filter can be applied.
|
|
1453
|
+
* This carries the options and bounds the backend actually returned for the
|
|
1454
|
+
* query. Enumerated facets carry `options`; the numeric `price` facet carries
|
|
1455
|
+
* `min`/`max` instead. Nothing here is synthesized: absent means the backend did
|
|
1456
|
+
* not return the group for that query.
|
|
1457
|
+
*/
|
|
1458
|
+
interface CatalogFacetGroup {
|
|
1459
|
+
/** Canonical id the surface maps onto its filter key. */
|
|
1460
|
+
id: CatalogFacetId;
|
|
1461
|
+
/** Buyer-visible group label, when the backend supplies one. */
|
|
1462
|
+
label?: string;
|
|
1463
|
+
/** Selectable values, in backend order. */
|
|
1464
|
+
options?: CatalogFacetOption[];
|
|
1465
|
+
/** Lowest matching value for a numeric facet. */
|
|
1466
|
+
min?: number;
|
|
1467
|
+
/** Highest matching value for a numeric facet. */
|
|
1468
|
+
max?: number;
|
|
1469
|
+
}
|
|
1387
1470
|
/**
|
|
1388
1471
|
* Truthful catalog result for a fully applied query.
|
|
1389
1472
|
*
|
|
@@ -1401,6 +1484,12 @@ interface CatalogResults {
|
|
|
1401
1484
|
appliedFilters: CatalogAppliedFilters;
|
|
1402
1485
|
/** Facet support descriptor for the query and scope. */
|
|
1403
1486
|
facetSupport?: FacetSupport;
|
|
1487
|
+
/**
|
|
1488
|
+
* Facet groups the backend returned for this query, in display order.
|
|
1489
|
+
* Only groups with options or finite bounds are useful to a surface; the
|
|
1490
|
+
* adapter omits any it cannot fill from backend data.
|
|
1491
|
+
*/
|
|
1492
|
+
facets?: CatalogFacetGroup[];
|
|
1404
1493
|
}
|
|
1405
1494
|
/**
|
|
1406
1495
|
* Adapter-seam typed failure code for a canonical catalog query.
|
|
@@ -1627,8 +1716,7 @@ interface Cart {
|
|
|
1627
1716
|
*/
|
|
1628
1717
|
guestContact?: GuestContact;
|
|
1629
1718
|
/** Backend id of the applied shipping method, when one is selected. */
|
|
1630
|
-
selectedShippingMethodId?: string;
|
|
1631
|
-
/**
|
|
1719
|
+
selectedShippingMethodId?: string; /**
|
|
1632
1720
|
* Backend id of the shipping option the applied method was created from.
|
|
1633
1721
|
*
|
|
1634
1722
|
* This is the identity the checkout shipping UI selects (the value passed to
|
|
@@ -1643,6 +1731,14 @@ interface Cart {
|
|
|
1643
1731
|
promotions?: PromotionSummary[];
|
|
1644
1732
|
/** Platform-specific backend metadata, carried through unchanged. */
|
|
1645
1733
|
metadata?: Record<string, unknown>;
|
|
1734
|
+
/**
|
|
1735
|
+
* Buyer email the backend holds on the cart.
|
|
1736
|
+
*
|
|
1737
|
+
* Authoritative for the guest checkout: the backend requires `cart.email`
|
|
1738
|
+
* before a guest order can be completed. Absent when the cart has no contact
|
|
1739
|
+
* email yet, which is the state the host must resolve before payment.
|
|
1740
|
+
*/
|
|
1741
|
+
contactEmail?: string;
|
|
1646
1742
|
}
|
|
1647
1743
|
/**
|
|
1648
1744
|
* Input for adding items to cart
|
|
@@ -1851,6 +1947,37 @@ interface Address {
|
|
|
1851
1947
|
isDefaultBilling?: boolean;
|
|
1852
1948
|
isDefaultShipping?: boolean;
|
|
1853
1949
|
metadata?: Record<string, unknown>;
|
|
1950
|
+
createdAt?: string;
|
|
1951
|
+
updatedAt?: string;
|
|
1952
|
+
}
|
|
1953
|
+
/** Filters the address book can request from the provider. */
|
|
1954
|
+
type AddressFilter = 'all' | 'personal' | 'business' | 'default-shipping' | 'default-billing' | 'verified' | 'needs-review' | 'delivery-available';
|
|
1955
|
+
/** Server-side ordering supported by the address book. */
|
|
1956
|
+
type AddressSort = 'default-first' | 'recent' | 'oldest' | 'alphabetical' | 'city' | 'country' | 'company';
|
|
1957
|
+
/**
|
|
1958
|
+
* One page of the authenticated customer's address book.
|
|
1959
|
+
*
|
|
1960
|
+
* `total` is the filtered total of the customer's scope, never the page
|
|
1961
|
+
* length. `serverQuery` is intentionally absent: it is a presentation fact the
|
|
1962
|
+
* host knows, not a domain field.
|
|
1963
|
+
*/
|
|
1964
|
+
interface AddressListQuery {
|
|
1965
|
+
/** Free-text match over label, recipient, company, postal lines and phone. */
|
|
1966
|
+
search?: string;
|
|
1967
|
+
filter?: AddressFilter;
|
|
1968
|
+
sort?: AddressSort;
|
|
1969
|
+
/** 1-based page index. */
|
|
1970
|
+
page?: number;
|
|
1971
|
+
/** Page size requested from the provider. */
|
|
1972
|
+
pageSize?: number;
|
|
1973
|
+
}
|
|
1974
|
+
/** Result of a server-side address list query. */
|
|
1975
|
+
interface AddressListResult {
|
|
1976
|
+
items: Address[];
|
|
1977
|
+
total: number;
|
|
1978
|
+
page: number;
|
|
1979
|
+
pageSize: number;
|
|
1980
|
+
hasMore: boolean;
|
|
1854
1981
|
}
|
|
1855
1982
|
/**
|
|
1856
1983
|
* Customer
|
|
@@ -3340,6 +3467,14 @@ interface AuthProvider {
|
|
|
3340
3467
|
* @returns List of customer addresses
|
|
3341
3468
|
*/
|
|
3342
3469
|
getAddresses(): Promise<Address[]>;
|
|
3470
|
+
/**
|
|
3471
|
+
* Read one server-filtered page of the customer's address book.
|
|
3472
|
+
*
|
|
3473
|
+
* Optional so existing providers keep compiling; a provider that cannot
|
|
3474
|
+
* serve the query must omit it rather than return a partial or locally
|
|
3475
|
+
* filtered page.
|
|
3476
|
+
*/
|
|
3477
|
+
listAddresses?(query: AddressListQuery): Promise<AddressListResult>;
|
|
3343
3478
|
/**
|
|
3344
3479
|
* Create new address for current customer
|
|
3345
3480
|
* @param data - Address data
|
|
@@ -4301,6 +4436,27 @@ interface CommerceProvider {
|
|
|
4301
4436
|
* @throws {ProviderAPIError} If the backend fails or returns an invalid projection
|
|
4302
4437
|
*/
|
|
4303
4438
|
getCheckoutLineProjection?(cartId: string): Promise<CheckoutLineProjection>;
|
|
4439
|
+
/**
|
|
4440
|
+
* Read the backend's own capability flags, awaited (OPTIONAL).
|
|
4441
|
+
*
|
|
4442
|
+
* The synchronous `capabilities` property is a snapshot that returns static
|
|
4443
|
+
* defaults until a provider's discovery fetch resolves, and those defaults are
|
|
4444
|
+
* not authoritative. A caller that gates behaviour on a flag (guest checkout,
|
|
4445
|
+
* for example) must use this method so an unread or failed flag can be treated
|
|
4446
|
+
* as off.
|
|
4447
|
+
*/
|
|
4448
|
+
getCapabilities?(): Promise<BackendCapabilities>;
|
|
4449
|
+
/**
|
|
4450
|
+
* Request the transfer of a guest order to the authenticated customer
|
|
4451
|
+
* (OPTIONAL). The backend emails an acceptance token; nothing moves until it
|
|
4452
|
+
* is accepted.
|
|
4453
|
+
*/
|
|
4454
|
+
requestOrderClaim?(orderId: string): Promise<CheckoutOrderClaimRequestResult>;
|
|
4455
|
+
/**
|
|
4456
|
+
* Accept a previously requested guest-order transfer with its email token
|
|
4457
|
+
* (OPTIONAL). Requires no customer session.
|
|
4458
|
+
*/
|
|
4459
|
+
acceptOrderClaim?(orderId: string, token: string): Promise<CheckoutOrderClaimAcceptResult>;
|
|
4304
4460
|
/**
|
|
4305
4461
|
* Initiate payment session with provider
|
|
4306
4462
|
*
|
|
@@ -8028,4 +8184,4 @@ type UpdateBusinessPolicyResponse = {
|
|
|
8028
8184
|
business_policy: string;
|
|
8029
8185
|
};
|
|
8030
8186
|
|
|
8031
|
-
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, CheckoutCapturePolicy, CheckoutContactValues, CheckoutCustomerIdentity, CheckoutGuestContact, CheckoutInterruption, CheckoutInterruptionAction, CheckoutInterruptionKind, CheckoutLineProjection, CheckoutLineProjectionLine, CheckoutLocationOptions, CheckoutPaymentPlanItem, CheckoutPaymentSummary, CheckoutPaymentSummaryPayment, CheckoutPaymentSummaryStatus, 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, CustomerOrderAction, CustomerOrderDetail, CustomerOrderDetailAction, CustomerOrderDetailAdjustment, CustomerOrderDetailAdjustmentDirection, CustomerOrderDetailAdjustmentScope, CustomerOrderDetailAdjustmentSource, CustomerOrderDetailAllocation, CustomerOrderDetailApprovalStatus, CustomerOrderDetailAttachment, CustomerOrderDetailAttribute, CustomerOrderDetailAttributeKind, CustomerOrderDetailBusiness, CustomerOrderDetailCase, CustomerOrderDetailCaseLine, CustomerOrderDetailCaseStatus, CustomerOrderDetailCaseType, CustomerOrderDetailDocument, CustomerOrderDetailDocumentKind, CustomerOrderDetailFulfillment, CustomerOrderDetailFulfillmentItemStatus, CustomerOrderDetailFulfillmentStatus, CustomerOrderDetailGroup, CustomerOrderDetailInvoiceStatus, CustomerOrderDetailIssue, CustomerOrderDetailLine, CustomerOrderDetailLinePrice, CustomerOrderDetailOrder, CustomerOrderDetailPackage, CustomerOrderDetailPaymentStatus, CustomerOrderDetailPickup, CustomerOrderDetailPickupStatus, CustomerOrderDetailPriceKind, CustomerOrderDetailProductKind, CustomerOrderDetailPromotion, CustomerOrderDetailPromotionApplication, CustomerOrderDetailPromotionNominal, CustomerOrderDetailPromotionScope, CustomerOrderDetailRevision, CustomerOrderDetailRevisionKind, CustomerOrderDetailSection, CustomerOrderDetailShippingMethod, CustomerOrderDetailSnapshot, CustomerOrderDetailTaxLine, CustomerOrderDetailTotals, CustomerOrderDetailTransaction, CustomerOrderDetailTransactionKind, CustomerOrderDetailTransactionMethod, CustomerOrderDetailTransactionStatus, CustomerOrderFulfillmentItemStatus, CustomerOrderFulfillmentStatus, CustomerOrderHistoryCommercialFilter, CustomerOrderHistoryCommercialStatus, CustomerOrderHistoryDatePreset, CustomerOrderHistoryDeliveryMode, CustomerOrderHistoryFilters, CustomerOrderHistoryFulfilmentFilter, CustomerOrderHistoryOptions, CustomerOrderHistoryPage, CustomerOrderHistoryPaymentFilter, CustomerOrderHistoryQuery, CustomerOrderHistoryQuick, CustomerOrderHistoryRecord, CustomerOrderHistoryRefundFilter, CustomerOrderHistoryReturnStatus, CustomerOrderHistoryShipment, CustomerOrderHistorySort, CustomerOrderPaymentStatus, 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, GiftCardValidationResult, GuestContact, HeaderLinkItem, HeaderNavigationConfig, IconConfig, Image, InterestCategory, InventoryLevel, LinkCustomerToChannelResponse, LoginCredentials, ManualAdminNotificationData, ModulesConfig, Money, NavigationCalloutItem, NavigationItem, NavigationLinkItem, NotificationData, OnboardDropshipperBody, OnboardDropshipperResponse, Order, OrderDeliveryGroup, OrderItem, OrderNote, OrderPayment, OrderPaymentStatus, OrderReceipt, OrderStatus, OrdersMetrics, PaginationOptions, PasswordResetConfirm, PasswordResetRequest, PaymentMethod$1 as PaymentMethod, PaymentMethodFeatures, PaymentMethodType, PaymentMethodsOptions, PaymentStatus, PreviewDropshipperOrderItem, PreviewDropshipperOrderTotalsBody, PreviewDropshipperOrderTotalsResponse, PriceRange, PriceTier, PriceUpdatedNotificationData, Product, ProductAssignedNotificationData, ProductCategory, ProductOption, ProductPreview, ProductVariant, ProductsMetrics, PromotionKind, PromotionRule, PromotionScope, PromotionSummary, 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, StoreCreditAccountSummary, 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 };
|
|
8187
|
+
export type { AccountDropdownConfig, AccountMenuItem, AcknowledgeCostPriceChangesResponse, ActiveFilter, AddOrderEditItemBody, AddOrderEditItemResponse, Address, AddressFilter, AddressListQuery, AddressListResult, AddressSort, 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, CatalogFacetGroup, CatalogFacetId, CatalogFacetOption, CatalogQuery, CatalogQueryFailure, CatalogQueryFailureCode, CatalogQueryFailureRepair, CatalogQueryOutcome, CatalogResults, CatalogSortKey, CategoryMapping, ChartDataPoint, ChatAssistantHealthResponse, ChatIntent, ChatMessage, ChatRequest, ChatResponse, ChatSource, ChatSourceVariant, CheckoutAddressLevel, CheckoutAddressOption, CheckoutAddressValues, CheckoutAdjustmentPayment, CheckoutCapturePolicy, CheckoutContactValues, CheckoutCustomerIdentity, CheckoutGuestContact, CheckoutInterruption, CheckoutInterruptionAction, CheckoutInterruptionKind, CheckoutLineProjection, CheckoutLineProjectionLine, CheckoutLocationOptions, CheckoutOrderClaimAcceptResult, CheckoutOrderClaimRequestResult, CheckoutPaymentPlanItem, CheckoutPaymentSummary, CheckoutPaymentSummaryPayment, CheckoutPaymentSummaryStatus, 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, CustomerOrderAction, CustomerOrderDetail, CustomerOrderDetailAction, CustomerOrderDetailAdjustment, CustomerOrderDetailAdjustmentDirection, CustomerOrderDetailAdjustmentScope, CustomerOrderDetailAdjustmentSource, CustomerOrderDetailAllocation, CustomerOrderDetailApprovalStatus, CustomerOrderDetailAttachment, CustomerOrderDetailAttribute, CustomerOrderDetailAttributeKind, CustomerOrderDetailBusiness, CustomerOrderDetailCase, CustomerOrderDetailCaseLine, CustomerOrderDetailCaseStatus, CustomerOrderDetailCaseType, CustomerOrderDetailDocument, CustomerOrderDetailDocumentKind, CustomerOrderDetailFulfillment, CustomerOrderDetailFulfillmentItemStatus, CustomerOrderDetailFulfillmentStatus, CustomerOrderDetailGroup, CustomerOrderDetailInvoiceStatus, CustomerOrderDetailIssue, CustomerOrderDetailLine, CustomerOrderDetailLinePrice, CustomerOrderDetailOrder, CustomerOrderDetailPackage, CustomerOrderDetailPaymentStatus, CustomerOrderDetailPickup, CustomerOrderDetailPickupStatus, CustomerOrderDetailPriceKind, CustomerOrderDetailProductKind, CustomerOrderDetailPromotion, CustomerOrderDetailPromotionApplication, CustomerOrderDetailPromotionNominal, CustomerOrderDetailPromotionScope, CustomerOrderDetailRevision, CustomerOrderDetailRevisionKind, CustomerOrderDetailSection, CustomerOrderDetailShippingMethod, CustomerOrderDetailSnapshot, CustomerOrderDetailTaxLine, CustomerOrderDetailTotals, CustomerOrderDetailTransaction, CustomerOrderDetailTransactionKind, CustomerOrderDetailTransactionMethod, CustomerOrderDetailTransactionStatus, CustomerOrderFulfillmentItemStatus, CustomerOrderFulfillmentStatus, CustomerOrderHistoryCommercialFilter, CustomerOrderHistoryCommercialStatus, CustomerOrderHistoryDatePreset, CustomerOrderHistoryDeliveryMode, CustomerOrderHistoryFilters, CustomerOrderHistoryFulfilmentFilter, CustomerOrderHistoryOptions, CustomerOrderHistoryPage, CustomerOrderHistoryPaymentFilter, CustomerOrderHistoryQuery, CustomerOrderHistoryQuick, CustomerOrderHistoryRecord, CustomerOrderHistoryRefundFilter, CustomerOrderHistoryReturnStatus, CustomerOrderHistoryShipment, CustomerOrderHistorySort, CustomerOrderPaymentStatus, 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, GiftCardValidationResult, GuestContact, HeaderLinkItem, HeaderNavigationConfig, IconConfig, Image, InterestCategory, InventoryLevel, LinkCustomerToChannelResponse, LoginCredentials, ManualAdminNotificationData, ModulesConfig, Money, NavigationCalloutItem, NavigationItem, NavigationLinkItem, NotificationData, OnboardDropshipperBody, OnboardDropshipperResponse, Order, OrderDeliveryGroup, OrderItem, OrderNote, OrderPayment, OrderPaymentStatus, OrderReceipt, OrderStatus, OrdersMetrics, PaginationOptions, PasswordResetConfirm, PasswordResetRequest, PaymentMethod$1 as PaymentMethod, PaymentMethodFeatures, PaymentMethodType, PaymentMethodsOptions, PaymentStatus, PreviewDropshipperOrderItem, PreviewDropshipperOrderTotalsBody, PreviewDropshipperOrderTotalsResponse, PriceRange, PriceTier, PriceUpdatedNotificationData, Product, ProductAssignedNotificationData, ProductAttachment, ProductAttribute, ProductAttributeGroup, ProductCategory, ProductHighlight, ProductOption, ProductPreview, ProductVariant, ProductsMetrics, PromotionKind, PromotionRule, PromotionScope, PromotionSummary, 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, StoreCreditAccountSummary, 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 };
|