@faststore/api 3.96.0-dev.4 → 3.96.1
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/cjs/package.json +6 -2
- package/dist/cjs/src/platforms/vtex/clients/commerce/types/Address.d.ts +10 -10
- package/dist/cjs/src/platforms/vtex/clients/commerce/types/Address.d.ts.map +1 -1
- package/dist/cjs/src/platforms/vtex/resolvers/validateSession.d.ts.map +1 -1
- package/dist/cjs/src/platforms/vtex/resolvers/validateSession.js +7 -2
- package/dist/cjs/src/platforms/vtex/resolvers/validateSession.js.map +1 -1
- package/dist/esm/package.json +6 -2
- package/dist/esm/src/platforms/vtex/clients/commerce/types/Address.d.ts +10 -10
- package/dist/esm/src/platforms/vtex/clients/commerce/types/Address.d.ts.map +1 -1
- package/dist/esm/src/platforms/vtex/resolvers/validateSession.d.ts.map +1 -1
- package/dist/esm/src/platforms/vtex/resolvers/validateSession.js +7 -2
- package/dist/esm/src/platforms/vtex/resolvers/validateSession.js.map +1 -1
- package/package.json +7 -3
- package/src/platforms/vtex/clients/commerce/types/Address.ts +10 -10
- package/src/platforms/vtex/resolvers/validateSession.ts +8 -2
- package/dist/cjs/index.js +0 -3521
- package/dist/es/index.mjs +0 -6022
- package/dist/src/__generated__/schema.d.ts +0 -2400
- package/dist/src/__generated__/schema.d.ts.map +0 -1
- package/dist/src/directives/auth.d.ts +0 -4
- package/dist/src/directives/auth.d.ts.map +0 -1
- package/dist/src/directives/cacheControl.d.ts +0 -10
- package/dist/src/directives/cacheControl.d.ts.map +0 -1
- package/dist/src/directives/index.d.ts +0 -10
- package/dist/src/directives/index.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -11
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/platforms/errors.d.ts +0 -28
- package/dist/src/platforms/errors.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/Contract.d.ts +0 -8
- package/dist/src/platforms/vtex/clients/commerce/Contract.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/index.d.ts +0 -141
- package/dist/src/platforms/vtex/clients/commerce/index.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Address.d.ts +0 -17
- package/dist/src/platforms/vtex/clients/commerce/types/Address.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Brand.d.ts +0 -9
- package/dist/src/platforms/vtex/clients/commerce/types/Brand.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/CategoryTree.d.ts +0 -10
- package/dist/src/platforms/vtex/clients/commerce/types/CategoryTree.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Newsletter.d.ts +0 -5
- package/dist/src/platforms/vtex/clients/commerce/types/Newsletter.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/OrderForm.d.ts +0 -372
- package/dist/src/platforms/vtex/clients/commerce/types/OrderForm.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/PickupPoints.d.ts +0 -37
- package/dist/src/platforms/vtex/clients/commerce/types/PickupPoints.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Portal.d.ts +0 -18
- package/dist/src/platforms/vtex/clients/commerce/types/Portal.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Product.d.ts +0 -175
- package/dist/src/platforms/vtex/clients/commerce/types/Product.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Profile.d.ts +0 -19
- package/dist/src/platforms/vtex/clients/commerce/types/Profile.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Region.d.ts +0 -20
- package/dist/src/platforms/vtex/clients/commerce/types/Region.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/SalesChannel.d.ts +0 -25
- package/dist/src/platforms/vtex/clients/commerce/types/SalesChannel.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Session.d.ts +0 -55
- package/dist/src/platforms/vtex/clients/commerce/types/Session.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/ShippingData.d.ts +0 -39
- package/dist/src/platforms/vtex/clients/commerce/types/ShippingData.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Simulation.d.ts +0 -155
- package/dist/src/platforms/vtex/clients/commerce/types/Simulation.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/Unit.d.ts +0 -19
- package/dist/src/platforms/vtex/clients/commerce/types/Unit.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/commerce/types/VtexId.d.ts +0 -12
- package/dist/src/platforms/vtex/clients/commerce/types/VtexId.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/fetch.d.ts +0 -6
- package/dist/src/platforms/vtex/clients/fetch.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/index.d.ts +0 -130
- package/dist/src/platforms/vtex/clients/index.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/search/index.d.ts +0 -33
- package/dist/src/platforms/vtex/clients/search/index.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/search/types/AttributeSearchResult.d.ts +0 -31
- package/dist/src/platforms/vtex/clients/search/types/AttributeSearchResult.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/search/types/FacetSearchResult.d.ts +0 -32
- package/dist/src/platforms/vtex/clients/search/types/FacetSearchResult.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/search/types/ProductCountResult.d.ts +0 -7
- package/dist/src/platforms/vtex/clients/search/types/ProductCountResult.d.ts.map +0 -1
- package/dist/src/platforms/vtex/clients/search/types/ProductSearchResult.d.ts +0 -228
- package/dist/src/platforms/vtex/clients/search/types/ProductSearchResult.d.ts.map +0 -1
- package/dist/src/platforms/vtex/index.d.ts +0 -29
- package/dist/src/platforms/vtex/index.d.ts.map +0 -1
- package/dist/src/platforms/vtex/loaders/collection.d.ts +0 -6
- package/dist/src/platforms/vtex/loaders/collection.d.ts.map +0 -1
- package/dist/src/platforms/vtex/loaders/index.d.ts +0 -9
- package/dist/src/platforms/vtex/loaders/index.d.ts.map +0 -1
- package/dist/src/platforms/vtex/loaders/salesChannel.d.ts +0 -5
- package/dist/src/platforms/vtex/loaders/salesChannel.d.ts.map +0 -1
- package/dist/src/platforms/vtex/loaders/simulation.d.ts +0 -5
- package/dist/src/platforms/vtex/loaders/simulation.d.ts.map +0 -1
- package/dist/src/platforms/vtex/loaders/sku.d.ts +0 -5
- package/dist/src/platforms/vtex/loaders/sku.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/aggregateOffer.d.ts +0 -7
- package/dist/src/platforms/vtex/resolvers/aggregateOffer.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/aggregateRating.d.ts +0 -3
- package/dist/src/platforms/vtex/resolvers/aggregateRating.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/cancelOrder.d.ts +0 -4
- package/dist/src/platforms/vtex/resolvers/cancelOrder.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/collection.d.ts +0 -9
- package/dist/src/platforms/vtex/resolvers/collection.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/faceValue.d.ts +0 -4
- package/dist/src/platforms/vtex/resolvers/faceValue.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/facet.d.ts +0 -7
- package/dist/src/platforms/vtex/resolvers/facet.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/index.d.ts +0 -237
- package/dist/src/platforms/vtex/resolvers/index.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/mutation.d.ts +0 -65
- package/dist/src/platforms/vtex/resolvers/mutation.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/objectOrString.d.ts +0 -3
- package/dist/src/platforms/vtex/resolvers/objectOrString.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/offer.d.ts +0 -12
- package/dist/src/platforms/vtex/resolvers/offer.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/organization.d.ts +0 -5
- package/dist/src/platforms/vtex/resolvers/organization.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/processOrderAuthorization.d.ts +0 -6
- package/dist/src/platforms/vtex/resolvers/processOrderAuthorization.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/product.d.ts +0 -17
- package/dist/src/platforms/vtex/resolvers/product.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/productGroup.d.ts +0 -5
- package/dist/src/platforms/vtex/resolvers/productGroup.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/propertyValue.d.ts +0 -5
- package/dist/src/platforms/vtex/resolvers/propertyValue.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/query.d.ts +0 -131
- package/dist/src/platforms/vtex/resolvers/query.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/review.d.ts +0 -3
- package/dist/src/platforms/vtex/resolvers/review.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/root.d.ts +0 -13
- package/dist/src/platforms/vtex/resolvers/root.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/searchResult.d.ts +0 -9
- package/dist/src/platforms/vtex/resolvers/searchResult.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/seo.d.ts +0 -7
- package/dist/src/platforms/vtex/resolvers/seo.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/shippingSLA.d.ts +0 -14
- package/dist/src/platforms/vtex/resolvers/shippingSLA.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/skuVariations.d.ts +0 -5
- package/dist/src/platforms/vtex/resolvers/skuVariations.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/subscribeToNewsletter.d.ts +0 -4
- package/dist/src/platforms/vtex/resolvers/subscribeToNewsletter.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/userOrder.d.ts +0 -7
- package/dist/src/platforms/vtex/resolvers/userOrder.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/validateCart.d.ts +0 -72
- package/dist/src/platforms/vtex/resolvers/validateCart.d.ts.map +0 -1
- package/dist/src/platforms/vtex/resolvers/validateSession.d.ts +0 -4
- package/dist/src/platforms/vtex/resolvers/validateSession.d.ts.map +0 -1
- package/dist/src/platforms/vtex/typeDefs/index.d.ts +0 -3
- package/dist/src/platforms/vtex/typeDefs/index.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/auth.d.ts +0 -18
- package/dist/src/platforms/vtex/utils/auth.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/canonical.d.ts +0 -3
- package/dist/src/platforms/vtex/utils/canonical.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/channel.d.ts +0 -11
- package/dist/src/platforms/vtex/utils/channel.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/commercialAuth.d.ts +0 -12
- package/dist/src/platforms/vtex/utils/commercialAuth.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/contex.d.ts +0 -4
- package/dist/src/platforms/vtex/utils/contex.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/cookies.d.ts +0 -48
- package/dist/src/platforms/vtex/utils/cookies.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/createNewAddress.d.ts +0 -4
- package/dist/src/platforms/vtex/utils/createNewAddress.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/enhanceCommercialOffer.d.ts +0 -11
- package/dist/src/platforms/vtex/utils/enhanceCommercialOffer.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/enhanceSku.d.ts +0 -6
- package/dist/src/platforms/vtex/utils/enhanceSku.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/facets.d.ts +0 -41
- package/dist/src/platforms/vtex/utils/facets.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/getAddressOrderForm.d.ts +0 -4
- package/dist/src/platforms/vtex/utils/getAddressOrderForm.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/md5.d.ts +0 -2
- package/dist/src/platforms/vtex/utils/md5.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/orderStatistics.d.ts +0 -5
- package/dist/src/platforms/vtex/utils/orderStatistics.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/productStock.d.ts +0 -8
- package/dist/src/platforms/vtex/utils/productStock.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/propertyValue.d.ts +0 -24
- package/dist/src/platforms/vtex/utils/propertyValue.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/sanitizeHtml.d.ts +0 -18
- package/dist/src/platforms/vtex/utils/sanitizeHtml.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/shouldUpdateShippingData.d.ts +0 -7
- package/dist/src/platforms/vtex/utils/shouldUpdateShippingData.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/sku.d.ts +0 -9
- package/dist/src/platforms/vtex/utils/sku.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/skuVariants.d.ts +0 -16
- package/dist/src/platforms/vtex/utils/skuVariants.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/slugify.d.ts +0 -2
- package/dist/src/platforms/vtex/utils/slugify.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/sort.d.ts +0 -11
- package/dist/src/platforms/vtex/utils/sort.d.ts.map +0 -1
- package/dist/src/platforms/vtex/utils/taxes.d.ts +0 -2
- package/dist/src/platforms/vtex/utils/taxes.d.ts.map +0 -1
- package/dist/src/typings/index.d.ts +0 -21
- package/dist/src/typings/index.d.ts.map +0 -1
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
export interface ProductSearchResult {
|
|
2
|
-
/**
|
|
3
|
-
* @description Total of products.
|
|
4
|
-
*/
|
|
5
|
-
recordsFiltered: number;
|
|
6
|
-
products: Product[];
|
|
7
|
-
pagination: Pagination;
|
|
8
|
-
sampling: boolean;
|
|
9
|
-
options: Options;
|
|
10
|
-
translated: boolean;
|
|
11
|
-
locale: string;
|
|
12
|
-
query: string;
|
|
13
|
-
operator: 'and' | 'or';
|
|
14
|
-
fuzzy: string;
|
|
15
|
-
correction?: Correction;
|
|
16
|
-
redirect?: string;
|
|
17
|
-
}
|
|
18
|
-
interface Correction {
|
|
19
|
-
misspelled: boolean;
|
|
20
|
-
}
|
|
21
|
-
interface Options {
|
|
22
|
-
sorts: Sort[];
|
|
23
|
-
counts: Count[];
|
|
24
|
-
}
|
|
25
|
-
interface Count {
|
|
26
|
-
count: number;
|
|
27
|
-
proxyURL: string;
|
|
28
|
-
}
|
|
29
|
-
interface Sort {
|
|
30
|
-
field: string;
|
|
31
|
-
order: string;
|
|
32
|
-
active?: boolean;
|
|
33
|
-
proxyURL: string;
|
|
34
|
-
}
|
|
35
|
-
interface Pagination {
|
|
36
|
-
count: number;
|
|
37
|
-
current: Page;
|
|
38
|
-
before: Page[];
|
|
39
|
-
after: Page[];
|
|
40
|
-
perPage: number;
|
|
41
|
-
next: Page;
|
|
42
|
-
previous: Page;
|
|
43
|
-
first: Page;
|
|
44
|
-
last: Page;
|
|
45
|
-
}
|
|
46
|
-
interface Page {
|
|
47
|
-
index: number;
|
|
48
|
-
proxyURL: string;
|
|
49
|
-
}
|
|
50
|
-
export interface First {
|
|
51
|
-
index: number;
|
|
52
|
-
}
|
|
53
|
-
export interface Suggestion {
|
|
54
|
-
searches: Search[];
|
|
55
|
-
}
|
|
56
|
-
export interface Search {
|
|
57
|
-
term: string;
|
|
58
|
-
count: number;
|
|
59
|
-
}
|
|
60
|
-
export interface Product {
|
|
61
|
-
productId: string;
|
|
62
|
-
productName: string;
|
|
63
|
-
productTitle: string;
|
|
64
|
-
brand: string;
|
|
65
|
-
brandId: number;
|
|
66
|
-
cacheId?: string;
|
|
67
|
-
linkText: string;
|
|
68
|
-
productReference: string;
|
|
69
|
-
categoryId: string;
|
|
70
|
-
clusterHighlights: Record<string, any>;
|
|
71
|
-
productClusters: Record<string, string>;
|
|
72
|
-
categories: string[];
|
|
73
|
-
categoriesIds: string[];
|
|
74
|
-
link: string;
|
|
75
|
-
description: string;
|
|
76
|
-
metaTagDescription: string;
|
|
77
|
-
/**
|
|
78
|
-
* @description Product SKUs.
|
|
79
|
-
*/
|
|
80
|
-
items: Item[];
|
|
81
|
-
skuSpecifications?: SkuSpecification[];
|
|
82
|
-
priceRange: PriceRange;
|
|
83
|
-
specificationGroups: SpecificationGroup[];
|
|
84
|
-
properties: Array<{
|
|
85
|
-
name: string;
|
|
86
|
-
values: string[];
|
|
87
|
-
}>;
|
|
88
|
-
selectedProperties: Array<{
|
|
89
|
-
key: string;
|
|
90
|
-
value: string;
|
|
91
|
-
}>;
|
|
92
|
-
releaseDate: string;
|
|
93
|
-
advertisement?: Advertisement;
|
|
94
|
-
deliveryPromisesBadges?: DeliveryPromiseBadge[];
|
|
95
|
-
}
|
|
96
|
-
interface Image {
|
|
97
|
-
imageId: string;
|
|
98
|
-
imageLabel: string | null;
|
|
99
|
-
imageTag: string;
|
|
100
|
-
imageUrl: string;
|
|
101
|
-
imageText: string;
|
|
102
|
-
}
|
|
103
|
-
interface Installment {
|
|
104
|
-
Value: number;
|
|
105
|
-
InterestRate: number;
|
|
106
|
-
TotalValuePlusInterestRate: number;
|
|
107
|
-
NumberOfInstallments: number;
|
|
108
|
-
PaymentSystemName: string;
|
|
109
|
-
PaymentSystemGroupName: string;
|
|
110
|
-
Name: string;
|
|
111
|
-
}
|
|
112
|
-
export interface Item {
|
|
113
|
-
itemId: string;
|
|
114
|
-
name: string;
|
|
115
|
-
nameComplete: string;
|
|
116
|
-
complementName: string;
|
|
117
|
-
ean: string;
|
|
118
|
-
referenceId: Array<{
|
|
119
|
-
Key: string;
|
|
120
|
-
Value: string;
|
|
121
|
-
}>;
|
|
122
|
-
measurementUnit: string;
|
|
123
|
-
unitMultiplier: number;
|
|
124
|
-
modalType: any | null;
|
|
125
|
-
images: Image[];
|
|
126
|
-
Videos: string[];
|
|
127
|
-
variations: Array<{
|
|
128
|
-
name: string;
|
|
129
|
-
values: string[];
|
|
130
|
-
}>;
|
|
131
|
-
sellers: Seller[];
|
|
132
|
-
attachments: Array<{
|
|
133
|
-
id: number;
|
|
134
|
-
name: string;
|
|
135
|
-
required: boolean;
|
|
136
|
-
domainValues: string;
|
|
137
|
-
}>;
|
|
138
|
-
isKit: boolean;
|
|
139
|
-
kitItems?: Array<{
|
|
140
|
-
itemId: string;
|
|
141
|
-
amount: number;
|
|
142
|
-
}>;
|
|
143
|
-
attributes: Attribute[];
|
|
144
|
-
}
|
|
145
|
-
export interface CommertialOffer {
|
|
146
|
-
DeliverySlaSamplesPerRegion: Record<string, {
|
|
147
|
-
DeliverySlaPerTypes: any[];
|
|
148
|
-
Region: any | null;
|
|
149
|
-
}>;
|
|
150
|
-
Installments: Installment[];
|
|
151
|
-
DiscountHighLight: any[];
|
|
152
|
-
GiftSkuIds: string[];
|
|
153
|
-
Teasers: Array<Record<string, unknown>>;
|
|
154
|
-
teasers?: Array<Record<string, unknown>>;
|
|
155
|
-
BuyTogether: any[];
|
|
156
|
-
ItemMetadataAttachment: any[];
|
|
157
|
-
Price: number;
|
|
158
|
-
ListPrice: number;
|
|
159
|
-
spotPrice: number;
|
|
160
|
-
PriceWithoutDiscount: number;
|
|
161
|
-
RewardValue: number;
|
|
162
|
-
PriceValidUntil: string;
|
|
163
|
-
AvailableQuantity: number;
|
|
164
|
-
Tax: number;
|
|
165
|
-
DeliverySlaSamples: Array<{
|
|
166
|
-
DeliverySlaPerTypes: any[];
|
|
167
|
-
Region: any | null;
|
|
168
|
-
}>;
|
|
169
|
-
GetInfoErrorMessage: any | null;
|
|
170
|
-
CacheVersionUsedToCallCheckout: string;
|
|
171
|
-
}
|
|
172
|
-
export interface Seller {
|
|
173
|
-
sellerId: string;
|
|
174
|
-
sellerName: string;
|
|
175
|
-
addToCartLink: string;
|
|
176
|
-
sellerDefault: boolean;
|
|
177
|
-
commertialOffer: CommertialOffer;
|
|
178
|
-
}
|
|
179
|
-
interface SkuSpecification {
|
|
180
|
-
field: SKUSpecificationField;
|
|
181
|
-
values: SKUSpecificationValue[];
|
|
182
|
-
}
|
|
183
|
-
interface SKUSpecificationValue {
|
|
184
|
-
name: string;
|
|
185
|
-
id?: string;
|
|
186
|
-
fieldId?: string;
|
|
187
|
-
originalName?: string;
|
|
188
|
-
}
|
|
189
|
-
interface SKUSpecificationField {
|
|
190
|
-
name: string;
|
|
191
|
-
originalName?: string;
|
|
192
|
-
id?: string;
|
|
193
|
-
}
|
|
194
|
-
interface Price {
|
|
195
|
-
highPrice: number | null;
|
|
196
|
-
lowPrice: number | null;
|
|
197
|
-
}
|
|
198
|
-
interface PriceRange {
|
|
199
|
-
sellingPrice: Price;
|
|
200
|
-
listPrice: Price;
|
|
201
|
-
}
|
|
202
|
-
interface SpecificationGroup {
|
|
203
|
-
name: string;
|
|
204
|
-
originalName: string;
|
|
205
|
-
specifications: Array<{
|
|
206
|
-
name: string;
|
|
207
|
-
originalName: string;
|
|
208
|
-
values: string[];
|
|
209
|
-
}>;
|
|
210
|
-
}
|
|
211
|
-
interface Advertisement {
|
|
212
|
-
adId: string;
|
|
213
|
-
campaignId: string;
|
|
214
|
-
actionCost: number;
|
|
215
|
-
adRequestId: string;
|
|
216
|
-
adResponseId: string;
|
|
217
|
-
}
|
|
218
|
-
export interface Attribute {
|
|
219
|
-
id: string;
|
|
220
|
-
name: string;
|
|
221
|
-
value: string;
|
|
222
|
-
visible: boolean;
|
|
223
|
-
}
|
|
224
|
-
interface DeliveryPromiseBadge {
|
|
225
|
-
typeName: string;
|
|
226
|
-
}
|
|
227
|
-
export {};
|
|
228
|
-
//# sourceMappingURL=ProductSearchResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSearchResult.d.ts","sourceRoot":"","sources":["../../../../../../../src/platforms/vtex/clients/search/types/ProductSearchResult.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;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|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { GraphQLSchema } from 'graphql';
|
|
2
|
-
import { Clients } from './clients';
|
|
3
|
-
import { SearchArgs } from './clients/search';
|
|
4
|
-
import { Loaders } from './loaders';
|
|
5
|
-
import { Channel } from './utils/channel';
|
|
6
|
-
export { getResolvers } from './resolvers';
|
|
7
|
-
export interface GraphqlContext {
|
|
8
|
-
clients: Clients;
|
|
9
|
-
loaders: Loaders;
|
|
10
|
-
/**
|
|
11
|
-
* @description Storage updated at each request.
|
|
12
|
-
*
|
|
13
|
-
* Use this datastructure to store and share small values in the context.
|
|
14
|
-
* Use it with caution since dependecy injection leads to a more complex code
|
|
15
|
-
* */
|
|
16
|
-
storage: {
|
|
17
|
-
channel: Required<Channel>;
|
|
18
|
-
locale: string;
|
|
19
|
-
flags: FeatureFlags;
|
|
20
|
-
searchArgs?: Omit<SearchArgs, 'type'>;
|
|
21
|
-
cookies: Map<string, Record<string, string>>;
|
|
22
|
-
};
|
|
23
|
-
headers: Record<string, string>;
|
|
24
|
-
account: string;
|
|
25
|
-
}
|
|
26
|
-
export type GraphqlResolver<R = unknown, A = unknown, Return = any> = (root: R, args: A, ctx: GraphqlContext, info: any) => Return;
|
|
27
|
-
export declare const GraphqlVtexContextFactory: (options: Options) => (ctx: any) => GraphqlContext;
|
|
28
|
-
export declare function GraphqlVtexSchema(mergeSchema?: GraphQLSchema): GraphQLSchema;
|
|
29
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/platforms/vtex/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,SAAS,CAAA;AAItD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAIxC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAG9C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB;;;;;SAKK;IACL,OAAO,EAAE;QACP,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;QAC1B,MAAM,EAAE,MAAM,CAAA;QACd,KAAK,EAAE,YAAY,CAAA;QACnB,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;QACrC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;KAC7C,CAAA;IACD,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,MAAM,GAAG,GAAG,IAAI,CACpE,IAAI,EAAE,CAAC,EACP,IAAI,EAAE,CAAC,EACP,GAAG,EAAE,cAAc,EACnB,IAAI,EAAE,GAAG,KACN,MAAM,CAAA;AAEX,eAAO,MAAM,yBAAyB,GACnC,SAAS,OAAO,MAChB,KAAK,GAAG,KAAG,cAYX,CAAA;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,CAAC,EAAE,aAAa,iBAe5D"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as DataLoader } from 'dataloader';
|
|
2
|
-
import { Clients } from '../clients';
|
|
3
|
-
import { CollectionPageType } from '../clients/commerce/types/Portal';
|
|
4
|
-
export declare const isCollectionPageType: (x: any) => x is CollectionPageType;
|
|
5
|
-
export declare const getCollectionLoader: (_: Options, clients: Clients) => DataLoader<string, CollectionPageType, string>;
|
|
6
|
-
//# sourceMappingURL=collection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/loaders/collection.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AAInC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAc1E,eAAO,MAAM,oBAAoB,GAAI,GAAG,GAAG,KAAG,CAAC,IAAI,kBAEA,CAAA;AAEnD,eAAO,MAAM,mBAAmB,GAAI,GAAG,OAAO,EAAE,SAAS,OAAO,mDA2B/D,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { GraphqlContext } from '..';
|
|
2
|
-
export type Loaders = ReturnType<typeof getLoaders>;
|
|
3
|
-
export declare const getLoaders: (options: Options, { clients }: GraphqlContext) => {
|
|
4
|
-
skuLoader: import("dataloader")<string, import('../utils/enhanceSku').EnhancedSku, string>;
|
|
5
|
-
simulationLoader: import("dataloader")<import('../clients/commerce/types/Simulation').SimulationArgs, import('../clients/commerce/types/Simulation').Simulation, import('../clients/commerce/types/Simulation').SimulationArgs>;
|
|
6
|
-
collectionLoader: import("dataloader")<string, import('../clients/commerce/types/Portal').CollectionPageType, string>;
|
|
7
|
-
salesChannelLoader: import("dataloader")<string, import('../clients/commerce/types/SalesChannel').SalesChannel, string>;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/loaders/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAA;AAMxC,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAA;AAEnD,eAAO,MAAM,UAAU,GAAI,SAAS,OAAO,EAAE,aAAa,cAAc;;;;;CAYvE,CAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { default as DataLoader } from 'dataloader';
|
|
2
|
-
import { Clients } from '../clients';
|
|
3
|
-
import { SalesChannel } from './../clients/commerce/types/SalesChannel';
|
|
4
|
-
export declare const getSalesChannelLoader: (_: Options, clients: Clients) => DataLoader<string, SalesChannel, string>;
|
|
5
|
-
//# sourceMappingURL=salesChannel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"salesChannel.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/loaders/salesChannel.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AAEnC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAA;AAE5E,eAAO,MAAM,qBAAqB,GAAI,GAAG,OAAO,EAAE,SAAS,OAAO,6CAKjE,CAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { default as DataLoader } from 'dataloader';
|
|
2
|
-
import { Clients } from '../clients';
|
|
3
|
-
import { Simulation, SimulationArgs } from '../clients/commerce/types/Simulation';
|
|
4
|
-
export declare const getSimulationLoader: (_: Options, clients: Clients) => DataLoader<SimulationArgs, Simulation, SimulationArgs>;
|
|
5
|
-
//# sourceMappingURL=simulation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"simulation.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/loaders/simulation.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AAGnC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,KAAK,EAEV,UAAU,EACV,cAAc,EACf,MAAM,sCAAsC,CAAA;AAK7C,eAAO,MAAM,mBAAmB,GAAI,GAAG,OAAO,EAAE,SAAS,OAAO,2DAiD/D,CAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { default as DataLoader } from 'dataloader';
|
|
2
|
-
import { Clients } from '../clients';
|
|
3
|
-
import { EnhancedSku } from '../utils/enhanceSku';
|
|
4
|
-
export declare const getSkuLoader: ({ flags }: Options, clients: Clients) => DataLoader<string, EnhancedSku, string>;
|
|
5
|
-
//# sourceMappingURL=sku.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sku.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/loaders/sku.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AAGnC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAGtD,eAAO,MAAM,YAAY,GAAI,WAAW,OAAO,EAAE,SAAS,OAAO,4CA2ChE,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GraphqlResolver } from '..';
|
|
2
|
-
import { StoreProduct } from './product';
|
|
3
|
-
export type Root = PromiseType<ReturnType<typeof StoreProduct.offers>>;
|
|
4
|
-
export declare const StoreAggregateOffer: Record<string, GraphqlResolver<Root>> & {
|
|
5
|
-
offers: GraphqlResolver<Root, any, Root>;
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=aggregateOffer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aggregateOffer.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/resolvers/aggregateOffer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AAGzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAE7C,MAAM,MAAM,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,CAAA;AA+BtE,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG;IACxE,MAAM,EAAE,eAAe,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC,CAAA;CAiBzC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aggregateRating.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/resolvers/aggregateRating.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AAGzC,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAGhE,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { GraphqlContext } from '..';
|
|
2
|
-
import { MutationCancelOrderArgs, UserOrderCancel } from '../../../__generated__/schema';
|
|
3
|
-
export declare const cancelOrder: (_: any, { data }: MutationCancelOrderArgs, { clients: { commerce } }: GraphqlContext) => Promise<UserOrderCancel | null>;
|
|
4
|
-
//# sourceMappingURL=cancelOrder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cancelOrder.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/resolvers/cancelOrder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAA;AACxC,OAAO,KAAK,EACV,uBAAuB,EACvB,eAAe,EAChB,MAAM,+BAA+B,CAAA;AAGtC,eAAO,MAAM,WAAW,GACtB,GAAG,GAAG,EACN,UAAU,uBAAuB,EACjC,2BAA2B,cAAc,KACxC,OAAO,CAAC,eAAe,GAAG,IAAI,CAOhC,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { GraphqlResolver } from '..';
|
|
2
|
-
import { Brand } from '../clients/commerce/types/Brand';
|
|
3
|
-
import { CategoryTree } from '../clients/commerce/types/CategoryTree';
|
|
4
|
-
import { CollectionPageType } from '../clients/commerce/types/Portal';
|
|
5
|
-
export type Root = Brand | (CategoryTree & {
|
|
6
|
-
level: number;
|
|
7
|
-
}) | CollectionPageType;
|
|
8
|
-
export declare const StoreCollection: Record<string, GraphqlResolver<Root>>;
|
|
9
|
-
//# sourceMappingURL=collection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/resolvers/collection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AACzC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAA;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAI1E,MAAM,MAAM,IAAI,GACZ,KAAK,GACL,CAAC,YAAY,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,GAClC,kBAAkB,CAAA;AAqBtB,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC,CA+EjE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"faceValue.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/resolvers/faceValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAElF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CACzC,MAAM,EACN,eAAe,CAAC,iBAAiB,CAAC,CAMnC,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GraphqlResolver } from '..';
|
|
2
|
-
import { Facet, FacetValueBoolean, FacetValueRange } from '../clients/search/types/FacetSearchResult';
|
|
3
|
-
export type Root = Facet;
|
|
4
|
-
export declare const StoreFacet: Record<string, GraphqlResolver<Root>>;
|
|
5
|
-
export declare const StoreFacetBoolean: Record<string, GraphqlResolver<Facet<FacetValueBoolean>>>;
|
|
6
|
-
export declare const StoreFacetRange: Record<string, GraphqlResolver<Facet<FacetValueRange>>>;
|
|
7
|
-
//# sourceMappingURL=facet.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"facet.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/vtex/resolvers/facet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AACzC,OAAO,KAAK,EACV,KAAK,EACL,iBAAiB,EACjB,eAAe,EAChB,MAAM,2CAA2C,CAAA;AAIlD,MAAM,MAAM,IAAI,GAAG,KAAK,CAAA;AAExB,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC,CAgB5D,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,CACpC,MAAM,EACN,eAAe,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAK1C,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAClC,MAAM,EACN,eAAe,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CA4CxC,CAAA"}
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
export declare const getResolvers: () => {
|
|
2
|
-
StoreCollection: Record<string, import('..').GraphqlResolver<import('./collection').Root>>;
|
|
3
|
-
StoreAggregateOffer: Record<string, import('..').GraphqlResolver<import('../utils/enhanceCommercialOffer').EnhancedCommercialOffer<import('../../..').Seller, import('./product').Root>[]>> & {
|
|
4
|
-
offers: import('..').GraphqlResolver<import('./aggregateOffer').Root, any, import('./aggregateOffer').Root>;
|
|
5
|
-
};
|
|
6
|
-
StoreProduct: Record<string, import('..').GraphqlResolver<import('./product').Root>> & {
|
|
7
|
-
offers: import('..').GraphqlResolver<import('./product').Root, any, Array<import('../utils/enhanceCommercialOffer').EnhancedCommercialOffer<import('./product').Root["sellers"][number], import('./product').Root>>>;
|
|
8
|
-
isVariantOf: import('..').GraphqlResolver<import('./product').Root, any, import('./product').Root>;
|
|
9
|
-
image: import('..').GraphqlResolver<import('./product').Root, any, import('../../..').StoreImage[]>;
|
|
10
|
-
};
|
|
11
|
-
StoreSeo: Record<string, import('..').GraphqlResolver<any>>;
|
|
12
|
-
StoreFacet: Record<string, import('..').GraphqlResolver<import('./facet').Root>>;
|
|
13
|
-
StoreFacetBoolean: Record<string, import('..').GraphqlResolver<import('../clients/search/types/FacetSearchResult').Facet<import('../clients/search/types/FacetSearchResult').FacetValueBoolean>>>;
|
|
14
|
-
StoreFacetRange: Record<string, import('..').GraphqlResolver<import('../clients/search/types/FacetSearchResult').Facet<import('../clients/search/types/FacetSearchResult').FacetValueRange>>>;
|
|
15
|
-
StoreFacetValueBoolean: Record<string, import('..').GraphqlResolver<import('../clients/search/types/FacetSearchResult').FacetValueBoolean>>;
|
|
16
|
-
StoreOffer: Record<string, import('..').GraphqlResolver<import('./offer').Root>>;
|
|
17
|
-
StoreAggregateRating: Record<string, import('..').GraphqlResolver>;
|
|
18
|
-
StoreReview: Record<string, import('..').GraphqlResolver>;
|
|
19
|
-
StoreProductGroup: Record<string, import('..').GraphqlResolver<import('./product').Root>>;
|
|
20
|
-
StoreSearchResult: Record<string, import('..').GraphqlResolver<import('./searchResult').Root>>;
|
|
21
|
-
StorePropertyValue: Record<string, import('..').GraphqlResolver<import('../../..').StorePropertyValue>>;
|
|
22
|
-
SkuVariants: Record<string, import('..').GraphqlResolver<import('./product').Root>>;
|
|
23
|
-
ShippingSLA: Record<string, import('..').GraphqlResolver<import('./shippingSLA').Root>>;
|
|
24
|
-
UserOrderResult: Record<string, import('..').GraphqlResolver<{
|
|
25
|
-
orderId: import('../../..').Maybe<string> | undefined;
|
|
26
|
-
creationDate: import('../../..').Maybe<string> | undefined;
|
|
27
|
-
totals: import('../../..').Maybe<import('../../..').Maybe<import('../../..').UserOrderTotals>[]> | undefined;
|
|
28
|
-
items: import('../../..').Maybe<import('../../..').Maybe<import('../../..').UserOrderItems>[]> | undefined;
|
|
29
|
-
shippingData: import('../../..').Maybe<import('../../..').UserOrderShippingData> | undefined;
|
|
30
|
-
paymentData: import('../../..').Maybe<import('../../..').UserOrderPaymentData> | undefined;
|
|
31
|
-
customData: import('../../..').Maybe<import('../../..').UserOrderCustomData> | undefined;
|
|
32
|
-
status: import('../../..').Maybe<string> | undefined;
|
|
33
|
-
statusDescription: import('../../..').Maybe<string> | undefined;
|
|
34
|
-
allowCancellation: import('../../..').Maybe<boolean> | undefined;
|
|
35
|
-
storePreferencesData: import('../../..').Maybe<import('../../..').UserOrderStorePreferencesData> | undefined;
|
|
36
|
-
clientProfileData: import('../../..').Maybe<import('../../..').UserOrderClientProfileData> | undefined;
|
|
37
|
-
canProcessOrderAuthorization: boolean;
|
|
38
|
-
ruleForAuthorization: import('../../..').ProcessOrderAuthorizationRule | null;
|
|
39
|
-
shopper: {
|
|
40
|
-
firstName: string;
|
|
41
|
-
lastName: string;
|
|
42
|
-
email: string;
|
|
43
|
-
phone: string;
|
|
44
|
-
};
|
|
45
|
-
}>>;
|
|
46
|
-
ObjectOrString: import('graphql').GraphQLScalarType<any, string | null>;
|
|
47
|
-
Query: {
|
|
48
|
-
product: (_: unknown, { locator }: import('../../..').QueryProductArgs, ctx: import('..').GraphqlContext) => Promise<import('../utils/enhanceSku').EnhancedSku>;
|
|
49
|
-
collection: (_: unknown, { slug }: import('../../..').QueryCollectionArgs, ctx: import('..').GraphqlContext) => Promise<import('../clients/commerce/types/Portal').CollectionPageType>;
|
|
50
|
-
search: (_: unknown, { first, after: maybeAfter, sort, term, selectedFacets, sponsoredCount, }: import('../../..').QuerySearchArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
51
|
-
searchArgs: Omit<import('../clients/search').SearchArgs, "type">;
|
|
52
|
-
productSearchPromise: Promise<import('../../..').ProductSearchResult>;
|
|
53
|
-
}>;
|
|
54
|
-
allProducts: (_: unknown, { first, after: maybeAfter }: import('../../..').QueryAllProductsArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
55
|
-
pageInfo: {
|
|
56
|
-
hasNextPage: boolean;
|
|
57
|
-
hasPreviousPage: boolean;
|
|
58
|
-
startCursor: string;
|
|
59
|
-
endCursor: string;
|
|
60
|
-
totalCount: number;
|
|
61
|
-
};
|
|
62
|
-
edges: {
|
|
63
|
-
node: import('../utils/enhanceSku').EnhancedSku;
|
|
64
|
-
cursor: string;
|
|
65
|
-
}[];
|
|
66
|
-
}>;
|
|
67
|
-
products: (_: unknown, { productIds }: import('../../..').QueryProductsArgs, ctx: import('..').GraphqlContext) => Promise<import('../utils/enhanceSku').EnhancedSku[]>;
|
|
68
|
-
allCollections: (_: unknown, { first, after: maybeAfter }: import('../../..').QueryAllCollectionsArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
69
|
-
pageInfo: {
|
|
70
|
-
hasNextPage: boolean;
|
|
71
|
-
hasPreviousPage: boolean;
|
|
72
|
-
startCursor: string;
|
|
73
|
-
endCursor: string;
|
|
74
|
-
totalCount: number;
|
|
75
|
-
};
|
|
76
|
-
edges: {
|
|
77
|
-
node: {
|
|
78
|
-
type: string;
|
|
79
|
-
id: number;
|
|
80
|
-
name: string;
|
|
81
|
-
isActive: boolean;
|
|
82
|
-
title: string;
|
|
83
|
-
metaTagDescription: string;
|
|
84
|
-
imageURL: null | string;
|
|
85
|
-
} | (import('../clients/commerce/types/CategoryTree').CategoryTree & {
|
|
86
|
-
level: number;
|
|
87
|
-
});
|
|
88
|
-
cursor: string;
|
|
89
|
-
}[];
|
|
90
|
-
}>;
|
|
91
|
-
shipping: (_: unknown, { country, items, postalCode }: import('../../..').QueryShippingArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
92
|
-
address: import('../clients/commerce/types/Address').Address;
|
|
93
|
-
items: import('../clients/commerce/types/Simulation').Item[];
|
|
94
|
-
ratesAndBenefitsData: import('../clients/commerce/types/Simulation').RatesAndBenefitsData;
|
|
95
|
-
paymentData: import('../clients/commerce/types/Simulation').PaymentData;
|
|
96
|
-
selectableGifts: any[];
|
|
97
|
-
marketingData: import('../clients/commerce/types/Simulation').MarketingData;
|
|
98
|
-
postalCode: null;
|
|
99
|
-
country: null;
|
|
100
|
-
logisticsInfo: import('../clients/commerce/types/Simulation').LogisticsInfo[];
|
|
101
|
-
messages: any[];
|
|
102
|
-
purchaseConditions: import('../clients/commerce/types/Simulation').PurchaseConditions;
|
|
103
|
-
pickupPoints: any[];
|
|
104
|
-
subscriptionData: null;
|
|
105
|
-
totals: import('../clients/commerce/types/Simulation').Total[];
|
|
106
|
-
itemMetadata: null;
|
|
107
|
-
}>;
|
|
108
|
-
redirect: (_: unknown, { term, selectedFacets }: import('../../..').QueryRedirectArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
109
|
-
url: string | undefined;
|
|
110
|
-
} | null>;
|
|
111
|
-
sellers: (_: unknown, { postalCode, geoCoordinates, country, salesChannel }: import('../../..').QuerySellersArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
112
|
-
id: string;
|
|
113
|
-
sellers: import('../clients/commerce/types/Region').Seller[];
|
|
114
|
-
}>;
|
|
115
|
-
profile: (_: unknown, { id }: import('../../..').QueryProfileArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
116
|
-
addresses: import('../clients/commerce/types/Profile').ProfileAddress[];
|
|
117
|
-
}>;
|
|
118
|
-
productCount: (_: unknown, { term }: import('../../..').QueryProductCountArgs, ctx: import('..').GraphqlContext) => Promise<import('../clients/search/types/ProductCountResult').ProductCountResult>;
|
|
119
|
-
userOrder: (_: unknown, { orderId }: import('../../..').QueryUserOrderArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
120
|
-
orderId: import('../../..').Maybe<string> | undefined;
|
|
121
|
-
creationDate: import('../../..').Maybe<string> | undefined;
|
|
122
|
-
totals: import('../../..').Maybe<import('../../..').Maybe<import('../../..').UserOrderTotals>[]> | undefined;
|
|
123
|
-
items: import('../../..').Maybe<import('../../..').Maybe<import('../../..').UserOrderItems>[]> | undefined;
|
|
124
|
-
shippingData: import('../../..').Maybe<import('../../..').UserOrderShippingData> | undefined;
|
|
125
|
-
paymentData: import('../../..').Maybe<import('../../..').UserOrderPaymentData> | undefined;
|
|
126
|
-
customData: import('../../..').Maybe<import('../../..').UserOrderCustomData> | undefined;
|
|
127
|
-
status: import('../../..').Maybe<string> | undefined;
|
|
128
|
-
statusDescription: import('../../..').Maybe<string> | undefined;
|
|
129
|
-
allowCancellation: import('../../..').Maybe<boolean> | undefined;
|
|
130
|
-
storePreferencesData: import('../../..').Maybe<import('../../..').UserOrderStorePreferencesData> | undefined;
|
|
131
|
-
clientProfileData: import('../../..').Maybe<import('../../..').UserOrderClientProfileData> | undefined;
|
|
132
|
-
canProcessOrderAuthorization: boolean;
|
|
133
|
-
ruleForAuthorization: import('../../..').ProcessOrderAuthorizationRule | null;
|
|
134
|
-
shopper: {
|
|
135
|
-
firstName: string;
|
|
136
|
-
lastName: string;
|
|
137
|
-
email: string;
|
|
138
|
-
phone: string;
|
|
139
|
-
};
|
|
140
|
-
}>;
|
|
141
|
-
listUserOrders: (_: unknown, filters: import('../../..').QueryListUserOrdersArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
142
|
-
list: {
|
|
143
|
-
orderId: import('../../..').Maybe<string> | undefined;
|
|
144
|
-
creationDate: import('../../..').Maybe<string> | undefined;
|
|
145
|
-
clientName: import('../../..').Maybe<string> | undefined;
|
|
146
|
-
items: import('../../..').Maybe<import('../../..').Maybe<import('../../..').UserOrderItemsSummarized>[]> | undefined;
|
|
147
|
-
totalValue: import('../../..').Maybe<number> | undefined;
|
|
148
|
-
status: import('../../..').Maybe<string> | undefined;
|
|
149
|
-
statusDescription: import('../../..').Maybe<string> | undefined;
|
|
150
|
-
ShippingEstimatedDate: import('../../..').Maybe<string> | undefined;
|
|
151
|
-
customFields: import('../../..').Maybe<import('../../..').Maybe<import('../../..').UserOrderFromListCustomFields>[]> | undefined;
|
|
152
|
-
currencyCode: import('../../..').Maybe<string> | undefined;
|
|
153
|
-
}[] | undefined;
|
|
154
|
-
paging: import('../../..').Maybe<import('../../..').UserOrderListPaging> | undefined;
|
|
155
|
-
}>;
|
|
156
|
-
validateUser: (_: unknown, __: unknown, _ctx: import('..').GraphqlContext) => Promise<{
|
|
157
|
-
isValid: boolean;
|
|
158
|
-
}>;
|
|
159
|
-
userDetails: (_: unknown, __: unknown, ctx: import('..').GraphqlContext) => Promise<{
|
|
160
|
-
name: string;
|
|
161
|
-
email: string;
|
|
162
|
-
role: string[];
|
|
163
|
-
orgUnit: string;
|
|
164
|
-
}>;
|
|
165
|
-
accountProfile: (_: unknown, __: unknown, ctx: import('..').GraphqlContext) => Promise<{
|
|
166
|
-
name: string;
|
|
167
|
-
email: string;
|
|
168
|
-
id: string;
|
|
169
|
-
} | null>;
|
|
170
|
-
pickupPoints: (_: unknown, { geoCoordinates }: import('../../..').QueryPickupPointsArgs, ctx: import('..').GraphqlContext) => Promise<import('../clients/commerce/types/PickupPoints').PickupPoints>;
|
|
171
|
-
};
|
|
172
|
-
Mutation: {
|
|
173
|
-
validateCart: (_: unknown, { cart: { order }, session }: import('../../..').MutationValidateCartArgs, ctx: import('..').GraphqlContext) => Promise<{
|
|
174
|
-
order: {
|
|
175
|
-
orderNumber: string;
|
|
176
|
-
acceptedOffer: Promise<{
|
|
177
|
-
product: import('../utils/enhanceSku').EnhancedSku;
|
|
178
|
-
id: string;
|
|
179
|
-
name: string;
|
|
180
|
-
detailUrl: string;
|
|
181
|
-
imageUrl: string;
|
|
182
|
-
skuName: string;
|
|
183
|
-
quantity: number;
|
|
184
|
-
uniqueId: string;
|
|
185
|
-
productId: string;
|
|
186
|
-
refId: string;
|
|
187
|
-
ean: string;
|
|
188
|
-
priceValidUntil: string;
|
|
189
|
-
price: number;
|
|
190
|
-
tax: number;
|
|
191
|
-
listPrice: number;
|
|
192
|
-
sellingPrice: number;
|
|
193
|
-
rewardValue: number;
|
|
194
|
-
isGift: boolean;
|
|
195
|
-
parentItemIndex: number | null;
|
|
196
|
-
parentAssemblyBinding: string | null;
|
|
197
|
-
productCategoryIds: string;
|
|
198
|
-
priceTags: string[];
|
|
199
|
-
manualPrice: number | null;
|
|
200
|
-
measurementUnit: string;
|
|
201
|
-
additionalInfo: {
|
|
202
|
-
brandName: string;
|
|
203
|
-
brandId: string;
|
|
204
|
-
offeringInfo: any | null;
|
|
205
|
-
offeringType: any | null;
|
|
206
|
-
offeringTypeId: any | null;
|
|
207
|
-
};
|
|
208
|
-
productCategories: Record<string, string>;
|
|
209
|
-
productRefId: string;
|
|
210
|
-
seller: string;
|
|
211
|
-
sellerChain: string[];
|
|
212
|
-
availability: string;
|
|
213
|
-
unitMultiplier: number;
|
|
214
|
-
skuSpecifications?: import('../clients/commerce/types/OrderForm').SKUSpecification[] | null;
|
|
215
|
-
priceDefinition: {
|
|
216
|
-
calculatedSellingPrice: number;
|
|
217
|
-
sellingPrices: import('../clients/commerce/types/OrderForm').SellingPrice[];
|
|
218
|
-
total: number;
|
|
219
|
-
};
|
|
220
|
-
attachments: import('../clients/commerce/types/OrderForm').Attachment[];
|
|
221
|
-
}>[];
|
|
222
|
-
shouldSplitItem: boolean | null | undefined;
|
|
223
|
-
};
|
|
224
|
-
messages: {
|
|
225
|
-
text: any;
|
|
226
|
-
status: any;
|
|
227
|
-
}[];
|
|
228
|
-
} | null>;
|
|
229
|
-
validateSession: (_: any, { session: oldSession, search }: import('../../..').MutationValidateSessionArgs, { clients, headers, account }: import('..').GraphqlContext) => Promise<import('../../..').StoreSession | null>;
|
|
230
|
-
subscribeToNewsletter: (_: any, { data }: import('../../..').MutationSubscribeToNewsletterArgs, { clients: { commerce } }: import('..').GraphqlContext) => Promise<import('../../..').PersonNewsletter | null>;
|
|
231
|
-
cancelOrder: (_: any, { data }: import('../../..').MutationCancelOrderArgs, { clients: { commerce } }: import('..').GraphqlContext) => Promise<import('../../..').UserOrderCancel | null>;
|
|
232
|
-
processOrderAuthorization: (_: any, { data }: {
|
|
233
|
-
data: import('../../..').IProcessOrderAuthorization;
|
|
234
|
-
}, { clients: { commerce } }: import('..').GraphqlContext) => Promise<import('../../..').ProcessOrderAuthorizationResponse | null>;
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
//# sourceMappingURL=index.d.ts.map
|