@decocms/apps 0.23.3 → 0.24.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/LICENSE +21 -0
- package/commerce/components/Image.tsx +129 -143
- package/commerce/components/JsonLd.tsx +192 -201
- package/commerce/components/Picture.tsx +65 -75
- package/commerce/sdk/analytics.ts +15 -15
- package/commerce/sdk/formatPrice.ts +13 -16
- package/commerce/sdk/url.ts +7 -7
- package/commerce/sdk/useOffer.ts +46 -57
- package/commerce/sdk/useVariantPossibilities.ts +25 -25
- package/commerce/types/commerce.ts +868 -875
- package/commerce/utils/canonical.ts +5 -8
- package/commerce/utils/constants.ts +5 -6
- package/commerce/utils/filters.ts +4 -4
- package/commerce/utils/productToAnalyticsItem.ts +52 -56
- package/commerce/utils/stateByZip.ts +42 -42
- package/package.json +23 -4
- package/shopify/actions/cart/addItems.ts +24 -25
- package/shopify/actions/cart/updateCoupons.ts +19 -20
- package/shopify/actions/cart/updateItems.ts +19 -20
- package/shopify/actions/user/signIn.ts +25 -30
- package/shopify/actions/user/signUp.ts +19 -24
- package/shopify/client.ts +24 -24
- package/shopify/index.ts +20 -18
- package/shopify/init.ts +18 -21
- package/shopify/loaders/ProductDetailsPage.ts +16 -20
- package/shopify/loaders/ProductList.ts +66 -69
- package/shopify/loaders/ProductListingPage.ts +150 -158
- package/shopify/loaders/RelatedProducts.ts +24 -27
- package/shopify/loaders/cart.ts +53 -52
- package/shopify/loaders/shop.ts +22 -27
- package/shopify/loaders/user.ts +27 -32
- package/shopify/utils/admin/admin.ts +33 -34
- package/shopify/utils/admin/queries.ts +2 -2
- package/shopify/utils/cart.ts +18 -14
- package/shopify/utils/cookies.ts +62 -65
- package/shopify/utils/enums.ts +424 -424
- package/shopify/utils/graphql.ts +44 -55
- package/shopify/utils/storefront/queries.ts +24 -29
- package/shopify/utils/storefront/storefront.graphql.gen.ts +55 -55
- package/shopify/utils/transform.ts +370 -376
- package/shopify/utils/types.ts +118 -118
- package/shopify/utils/user.ts +11 -11
- package/shopify/utils/utils.ts +135 -140
- package/vtex/actions/address.ts +86 -86
- package/vtex/actions/auth.ts +14 -27
- package/vtex/actions/checkout.ts +36 -49
- package/vtex/actions/masterData.ts +10 -27
- package/vtex/actions/misc.ts +101 -111
- package/vtex/actions/newsletter.ts +48 -52
- package/vtex/actions/orders.ts +13 -16
- package/vtex/actions/profile.ts +55 -55
- package/vtex/actions/session.ts +36 -35
- package/vtex/actions/trigger.ts +25 -25
- package/vtex/actions/wishlist.ts +51 -53
- package/vtex/client.ts +14 -42
- package/vtex/hooks/index.ts +4 -4
- package/vtex/hooks/useAutocomplete.ts +42 -48
- package/vtex/hooks/useCart.ts +153 -165
- package/vtex/hooks/useUser.ts +40 -40
- package/vtex/hooks/useWishlist.ts +70 -70
- package/vtex/inline-loaders/productDetailsPage.ts +1 -3
- package/vtex/inline-loaders/productList.ts +121 -127
- package/vtex/inline-loaders/productListingPage.ts +10 -34
- package/vtex/inline-loaders/relatedProducts.ts +1 -3
- package/vtex/inline-loaders/suggestions.ts +36 -39
- package/vtex/inline-loaders/workflowProducts.ts +45 -49
- package/vtex/invoke.ts +159 -194
- package/vtex/loaders/address.ts +49 -54
- package/vtex/loaders/brands.ts +19 -26
- package/vtex/loaders/cart.ts +24 -21
- package/vtex/loaders/catalog.ts +51 -53
- package/vtex/loaders/collections.ts +25 -27
- package/vtex/loaders/legacy.ts +487 -534
- package/vtex/loaders/logistics.ts +33 -37
- package/vtex/loaders/navbar.ts +5 -8
- package/vtex/loaders/orders.ts +28 -39
- package/vtex/loaders/pageType.ts +41 -35
- package/vtex/loaders/payment.ts +27 -37
- package/vtex/loaders/profile.ts +38 -38
- package/vtex/loaders/promotion.ts +5 -8
- package/vtex/loaders/search.ts +56 -59
- package/vtex/loaders/session.ts +22 -30
- package/vtex/loaders/user.ts +39 -41
- package/vtex/loaders/wishlist.ts +35 -35
- package/vtex/loaders/wishlistProducts.ts +3 -15
- package/vtex/loaders/workflow.ts +220 -227
- package/vtex/middleware.ts +116 -119
- package/vtex/types.ts +201 -201
- package/vtex/utils/batch.ts +13 -16
- package/vtex/utils/cookies.ts +76 -80
- package/vtex/utils/enrichment.ts +62 -42
- package/vtex/utils/fetchCache.ts +1 -4
- package/vtex/utils/index.ts +6 -6
- package/vtex/utils/intelligentSearch.ts +48 -57
- package/vtex/utils/legacy.ts +108 -124
- package/vtex/utils/pickAndOmit.ts +15 -20
- package/vtex/utils/proxy.ts +136 -146
- package/vtex/utils/resourceRange.ts +3 -3
- package/vtex/utils/segment.ts +100 -111
- package/vtex/utils/similars.ts +1 -2
- package/vtex/utils/sitemap.ts +91 -91
- package/vtex/utils/slugCache.ts +2 -6
- package/vtex/utils/slugify.ts +9 -9
- package/vtex/utils/transform.ts +1012 -1105
- package/vtex/utils/types.ts +1381 -1381
- package/vtex/utils/vtexId.ts +44 -47
- package/.github/workflows/release.yml +0 -34
- package/.releaserc.json +0 -28
- package/knip.json +0 -19
- package/tsconfig.json +0 -11
package/vtex/utils/types.ts
CHANGED
|
@@ -6,1879 +6,1879 @@
|
|
|
6
6
|
export type ProductID = string;
|
|
7
7
|
|
|
8
8
|
export interface OrderForm {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
9
|
+
orderFormId: string;
|
|
10
|
+
salesChannel: string;
|
|
11
|
+
loggedIn: boolean;
|
|
12
|
+
isCheckedIn: boolean;
|
|
13
|
+
storeId: null;
|
|
14
|
+
checkedInPickupPointId: null;
|
|
15
|
+
allowManualPrice: boolean;
|
|
16
|
+
canEditData: boolean;
|
|
17
|
+
userProfileId: null;
|
|
18
|
+
userType: null;
|
|
19
|
+
ignoreProfileData: boolean;
|
|
20
|
+
value: number;
|
|
21
|
+
messages: Message[];
|
|
22
|
+
items: OrderFormItem[];
|
|
23
|
+
selectableGifts: unknown[];
|
|
24
|
+
totalizers: Totalizer[];
|
|
25
|
+
shippingData: ShippingData;
|
|
26
|
+
clientProfileData: ClientProfileData | null;
|
|
27
|
+
paymentData: PaymentData;
|
|
28
|
+
marketingData: MarketingData;
|
|
29
|
+
sellers: Seller[];
|
|
30
|
+
clientPreferencesData: ClientPreferencesData;
|
|
31
|
+
commercialConditionData: null;
|
|
32
|
+
storePreferencesData: StorePreferencesData;
|
|
33
|
+
giftRegistryData: null;
|
|
34
|
+
openTextField: null;
|
|
35
|
+
invoiceData: null;
|
|
36
|
+
customData: null;
|
|
37
|
+
itemMetadata: ItemMetadata;
|
|
38
|
+
hooksData: null;
|
|
39
|
+
ratesAndBenefitsData: RatesAndBenefitsData;
|
|
40
|
+
subscriptionData: null;
|
|
41
|
+
merchantContextData: null;
|
|
42
|
+
itemsOrdination: null;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export interface ClientProfileData {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
46
|
+
email: string;
|
|
47
|
+
firstName: null;
|
|
48
|
+
lastName: null;
|
|
49
|
+
document: null;
|
|
50
|
+
documentType: null;
|
|
51
|
+
phone: null;
|
|
52
|
+
corporateName: null;
|
|
53
|
+
tradeName: null;
|
|
54
|
+
corporateDocument: null;
|
|
55
|
+
stateInscription: null;
|
|
56
|
+
corporatePhone: null;
|
|
57
|
+
isCorporate: boolean;
|
|
58
|
+
profileCompleteOnLoading: boolean;
|
|
59
|
+
profileErrorOnLoading: boolean;
|
|
60
|
+
customerClass: null;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export interface ClientPreferencesData {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
locale: string;
|
|
65
|
+
optinNewsLetter: null;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export interface ItemMetadata {
|
|
69
|
-
|
|
69
|
+
items: ItemMetadataItem[];
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
export interface ItemMetadataItem {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
73
|
+
id: string;
|
|
74
|
+
seller: string;
|
|
75
|
+
name: string;
|
|
76
|
+
skuName: string;
|
|
77
|
+
productId: string;
|
|
78
|
+
refId: string;
|
|
79
|
+
ean: null | string;
|
|
80
|
+
imageUrl: string;
|
|
81
|
+
detailUrl: string;
|
|
82
|
+
assemblyOptions: AssemblyOption[];
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export interface AssemblyOption {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
86
|
+
id: Name;
|
|
87
|
+
name: Name;
|
|
88
|
+
required: boolean;
|
|
89
|
+
inputValues: Schema;
|
|
90
|
+
composition: null;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
export enum Name {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
AlternativeSubstitute = "ALTERNATIVE_SUBSTITUTE",
|
|
95
|
+
Substituto = "Substituto",
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
export interface Schema {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
99
|
+
Sku: Ean;
|
|
100
|
+
Price: Ean;
|
|
101
|
+
Qtde?: Ean;
|
|
102
|
+
EAN: Ean;
|
|
103
|
+
Measuremt_unit: Ean;
|
|
104
|
+
Unit_multiplier: Ean;
|
|
105
|
+
Quantity: Ean;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
export interface Ean {
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
maximumNumberOfCharacters: number;
|
|
110
|
+
domain: unknown[];
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
export interface OrderFormItem {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
114
|
+
uniqueId: string;
|
|
115
|
+
id: string;
|
|
116
|
+
productId: string;
|
|
117
|
+
productRefId: string;
|
|
118
|
+
refId: string;
|
|
119
|
+
ean: null | string;
|
|
120
|
+
name: string;
|
|
121
|
+
skuName: string;
|
|
122
|
+
modalType: null | string;
|
|
123
|
+
parentItemIndex: null;
|
|
124
|
+
parentAssemblyBinding: null;
|
|
125
|
+
assemblies: unknown[];
|
|
126
|
+
priceValidUntil: Date;
|
|
127
|
+
tax: number;
|
|
128
|
+
price: number;
|
|
129
|
+
listPrice: number;
|
|
130
|
+
manualPrice: null;
|
|
131
|
+
manualPriceAppliedBy: null;
|
|
132
|
+
sellingPrice: number;
|
|
133
|
+
rewardValue: number;
|
|
134
|
+
isGift: boolean;
|
|
135
|
+
additionalInfo: AdditionalInfo;
|
|
136
|
+
preSaleDate: null;
|
|
137
|
+
productCategoryIds: string;
|
|
138
|
+
productCategories: { [key: string]: string };
|
|
139
|
+
quantity: number;
|
|
140
|
+
seller: string;
|
|
141
|
+
sellerChain: string[];
|
|
142
|
+
imageUrl: string;
|
|
143
|
+
detailUrl: string;
|
|
144
|
+
components: Component[];
|
|
145
|
+
bundleItems: unknown[];
|
|
146
|
+
attachments: unknown[];
|
|
147
|
+
attachmentOfferings: AttachmentOffering[];
|
|
148
|
+
offerings: Offering[];
|
|
149
|
+
priceTags: PriceTag[];
|
|
150
|
+
availability: string;
|
|
151
|
+
measurementUnit: string;
|
|
152
|
+
unitMultiplier: number;
|
|
153
|
+
manufacturerCode: null;
|
|
154
|
+
priceDefinition: PriceDefinition;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
export interface AdditionalInfo {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
158
|
+
dimension: null;
|
|
159
|
+
brandName: null | string;
|
|
160
|
+
brandId: null | string;
|
|
161
|
+
offeringInfo: null;
|
|
162
|
+
offeringType: null;
|
|
163
|
+
offeringTypeId: null;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
export interface AttachmentOffering {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
name: Name;
|
|
168
|
+
required: boolean;
|
|
169
|
+
schema: Schema;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
export interface Component {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
173
|
+
uniqueId: string;
|
|
174
|
+
id: string;
|
|
175
|
+
productId: null;
|
|
176
|
+
productRefId: null;
|
|
177
|
+
refId: string;
|
|
178
|
+
ean: string;
|
|
179
|
+
name: string;
|
|
180
|
+
skuName: null;
|
|
181
|
+
modalType: null;
|
|
182
|
+
parentItemIndex: null;
|
|
183
|
+
parentAssemblyBinding: null;
|
|
184
|
+
assemblies: unknown[];
|
|
185
|
+
priceValidUntil: null;
|
|
186
|
+
tax: number;
|
|
187
|
+
price: number;
|
|
188
|
+
listPrice: null;
|
|
189
|
+
manualPrice: null;
|
|
190
|
+
manualPriceAppliedBy: null;
|
|
191
|
+
sellingPrice: number;
|
|
192
|
+
rewardValue: number;
|
|
193
|
+
isGift: boolean;
|
|
194
|
+
additionalInfo: AdditionalInfo;
|
|
195
|
+
preSaleDate: null;
|
|
196
|
+
productCategoryIds: null;
|
|
197
|
+
productCategories: AvailableAssociations;
|
|
198
|
+
quantity: number;
|
|
199
|
+
seller: null;
|
|
200
|
+
sellerChain: null[];
|
|
201
|
+
imageUrl: null;
|
|
202
|
+
detailUrl: null;
|
|
203
|
+
components: unknown[];
|
|
204
|
+
bundleItems: unknown[];
|
|
205
|
+
attachments: unknown[];
|
|
206
|
+
attachmentOfferings: unknown[];
|
|
207
|
+
offerings: unknown[];
|
|
208
|
+
priceTags: PriceTag[];
|
|
209
|
+
availability: null;
|
|
210
|
+
measurementUnit: string;
|
|
211
|
+
unitMultiplier: number;
|
|
212
|
+
manufacturerCode: null;
|
|
213
|
+
priceDefinition: PriceDefinition;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
export interface PriceDefinition {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
217
|
+
calculatedSellingPrice: number;
|
|
218
|
+
total: number;
|
|
219
|
+
sellingPrices: SellingPrice[];
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
export interface SellingPrice {
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
value: number;
|
|
224
|
+
quantity: number;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
export interface PriceTag {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
228
|
+
name: string;
|
|
229
|
+
value: number;
|
|
230
|
+
rawValue: number;
|
|
231
|
+
isPercentual: boolean;
|
|
232
|
+
identifier: string;
|
|
233
|
+
owner: string;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
export type AvailableAssociations = Record<string, string>;
|
|
237
237
|
|
|
238
238
|
export interface MarketingData {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
239
|
+
utmSource: string | undefined;
|
|
240
|
+
utmMedium: string | undefined;
|
|
241
|
+
utmCampaign: string | undefined;
|
|
242
|
+
utmiPage: string | undefined;
|
|
243
|
+
utmiPart: string | undefined;
|
|
244
|
+
utmiCampaign: string | undefined;
|
|
245
|
+
coupon: string | undefined;
|
|
246
|
+
marketingTags: string[] | undefined;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
export interface Message {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
250
|
+
code: null | string;
|
|
251
|
+
text: string;
|
|
252
|
+
status: string;
|
|
253
|
+
fields: Fields;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
export interface Fields {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
257
|
+
ean?: string;
|
|
258
|
+
itemIndex?: string;
|
|
259
|
+
skuName?: string;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
export interface PaymentData {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
263
|
+
updateStatus: string;
|
|
264
|
+
installmentOptions: InstallmentOption[];
|
|
265
|
+
paymentSystems: PaymentSystem[];
|
|
266
|
+
payments: unknown[];
|
|
267
|
+
giftCards: unknown[];
|
|
268
|
+
giftCardMessages: unknown[];
|
|
269
|
+
availableAccounts: unknown[];
|
|
270
|
+
availableTokens: unknown[];
|
|
271
|
+
availableAssociations: AvailableAssociations;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
export interface InstallmentOption {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
275
|
+
paymentSystem: string;
|
|
276
|
+
bin: null;
|
|
277
|
+
paymentName: null;
|
|
278
|
+
paymentGroupName: null;
|
|
279
|
+
value: number;
|
|
280
|
+
installments: CartInstallment[];
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
export interface CartInstallment {
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
284
|
+
count: number;
|
|
285
|
+
hasInterestRate: boolean;
|
|
286
|
+
interestRate: number;
|
|
287
|
+
value: number;
|
|
288
|
+
total: number;
|
|
289
|
+
sellerMerchantInstallments?: Installment[];
|
|
290
|
+
id?: ID;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
export enum ID {
|
|
294
|
-
|
|
294
|
+
Carrefourbrfood = "CARREFOURBRFOOD",
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
export interface PaymentSystem {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
298
|
+
id: number;
|
|
299
|
+
name: string;
|
|
300
|
+
groupName: string;
|
|
301
|
+
validator: Validator;
|
|
302
|
+
stringId: string;
|
|
303
|
+
template: string;
|
|
304
|
+
requiresDocument: boolean;
|
|
305
|
+
displayDocument: boolean;
|
|
306
|
+
isCustom: boolean;
|
|
307
|
+
description: null | string;
|
|
308
|
+
requiresAuthentication: boolean;
|
|
309
|
+
dueDate: Date;
|
|
310
|
+
availablePayments: null;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
export interface Validator {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
314
|
+
regex: null | string;
|
|
315
|
+
mask: null | string;
|
|
316
|
+
cardCodeRegex: CardCodeRegex | null;
|
|
317
|
+
cardCodeMask: null | string;
|
|
318
|
+
weights: number[] | null;
|
|
319
|
+
useCvv: boolean;
|
|
320
|
+
useExpirationDate: boolean;
|
|
321
|
+
useCardHolderName: boolean;
|
|
322
|
+
useBillingAddress: boolean;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
export enum CardCodeRegex {
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
The093$ = "^[0-9]{3}$",
|
|
327
|
+
The094$ = "^[0-9]{4}$",
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
export interface RatesAndBenefitsData {
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
rateAndBenefitsIdentifiers: RateAndBenefitsIdentifier[];
|
|
332
|
+
teaser: unknown[];
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
export interface RateAndBenefitsIdentifier {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
336
|
+
id: string;
|
|
337
|
+
name: string;
|
|
338
|
+
featured: boolean;
|
|
339
|
+
description: string;
|
|
340
|
+
matchedParameters: MatchedParameters;
|
|
341
|
+
additionalInfo: null;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
export interface MatchedParameters {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
345
|
+
"Seller@CatalogSystem": string;
|
|
346
|
+
"productCluster@CatalogSystem"?: string;
|
|
347
|
+
"zipCode@Shipping"?: string;
|
|
348
|
+
slaIds?: string;
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
export interface Seller {
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
352
|
+
id: string;
|
|
353
|
+
name: string;
|
|
354
|
+
logo: string;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
export interface ShippingData {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
358
|
+
address: Address;
|
|
359
|
+
logisticsInfo: LogisticsInfo[];
|
|
360
|
+
selectedAddresses: Address[];
|
|
361
|
+
availableAddresses: Address[];
|
|
362
|
+
pickupPoints: PickupPoint[];
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
export interface Address {
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
366
|
+
addressType?: string;
|
|
367
|
+
receiverName: string | null;
|
|
368
|
+
addressId: string;
|
|
369
|
+
isDisposable?: boolean;
|
|
370
|
+
postalCode?: string;
|
|
371
|
+
city?: string;
|
|
372
|
+
state?: string;
|
|
373
|
+
country?: string;
|
|
374
|
+
street?: string;
|
|
375
|
+
number?: string;
|
|
376
|
+
neighborhood?: string;
|
|
377
|
+
addressName?: string;
|
|
378
|
+
complement: string | null;
|
|
379
|
+
reference?: string;
|
|
380
|
+
geoCoordinates?: number[];
|
|
381
|
+
name?: string;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
export interface LogisticsInfo {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
385
|
+
itemIndex: number;
|
|
386
|
+
selectedSla: SelectedSla | null;
|
|
387
|
+
selectedDeliveryChannel: SelectedDeliveryChannel;
|
|
388
|
+
addressId: string;
|
|
389
|
+
slas: Sla[];
|
|
390
|
+
shipsTo: string[];
|
|
391
|
+
itemId: string;
|
|
392
|
+
deliveryChannels: DeliveryChannel[];
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
export interface DeliveryChannel {
|
|
396
|
-
|
|
396
|
+
id: SelectedDeliveryChannel;
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
export enum SelectedDeliveryChannel {
|
|
400
|
-
|
|
401
|
-
|
|
400
|
+
Delivery = "delivery",
|
|
401
|
+
PickupInPoint = "pickup-in-point",
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
export enum SelectedSla {
|
|
405
|
-
|
|
406
|
-
|
|
405
|
+
ClickRetireRJS = "Click & Retire (RJS)",
|
|
406
|
+
Normal = "Normal",
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
export interface Sla {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
410
|
+
id: SelectedSla;
|
|
411
|
+
deliveryChannel: SelectedDeliveryChannel;
|
|
412
|
+
name: SelectedSla;
|
|
413
|
+
deliveryIds: DeliveryID[];
|
|
414
|
+
shippingEstimate: string;
|
|
415
|
+
shippingEstimateDate: null;
|
|
416
|
+
lockTTL: null;
|
|
417
|
+
availableDeliveryWindows: AvailableDeliveryWindow[];
|
|
418
|
+
deliveryWindow: null;
|
|
419
|
+
price: number;
|
|
420
|
+
listPrice: number;
|
|
421
|
+
tax: number;
|
|
422
|
+
pickupStoreInfo: PickupStoreInfo;
|
|
423
|
+
pickupPointId: null | string;
|
|
424
|
+
pickupDistance: number | null;
|
|
425
|
+
polygonName: string;
|
|
426
|
+
transitTime: string;
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
export interface AvailableDeliveryWindow {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
430
|
+
startDateUtc: Date;
|
|
431
|
+
endDateUtc: Date;
|
|
432
|
+
price: number;
|
|
433
|
+
lisPrice: number;
|
|
434
|
+
tax: number;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
export interface DeliveryID {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
438
|
+
courierId: string;
|
|
439
|
+
warehouseId: string;
|
|
440
|
+
dockId: string;
|
|
441
|
+
courierName: string;
|
|
442
|
+
quantity: number;
|
|
443
|
+
kitItemDetails: unknown[];
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
export interface PickupStoreInfo {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
447
|
+
isPickupStore: boolean;
|
|
448
|
+
friendlyName: null | string;
|
|
449
|
+
address: Address | null;
|
|
450
|
+
additionalInfo: null | string;
|
|
451
|
+
dockId: null;
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
export interface PickupHolidays {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
455
|
+
date?: string;
|
|
456
|
+
hourBegin?: string;
|
|
457
|
+
hourEnd?: string;
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
export interface PickupPoint {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
461
|
+
friendlyName: string;
|
|
462
|
+
address: Address;
|
|
463
|
+
additionalInfo: string;
|
|
464
|
+
id: string;
|
|
465
|
+
businessHours: BusinessHour[];
|
|
466
|
+
pickupHolidays?: PickupHolidays[];
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
export interface BusinessHour {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
470
|
+
DayOfWeek: number;
|
|
471
|
+
OpeningTime: string;
|
|
472
|
+
ClosingTime: string;
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
export interface StorePreferencesData {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
476
|
+
countryCode: string;
|
|
477
|
+
saveUserData: boolean;
|
|
478
|
+
timeZone: string;
|
|
479
|
+
currencyCode: string;
|
|
480
|
+
currencyLocale: number;
|
|
481
|
+
currencySymbol: string;
|
|
482
|
+
currencyFormatInfo: CurrencyFormatInfo;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
export interface CurrencyFormatInfo {
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
486
|
+
currencyDecimalDigits: number;
|
|
487
|
+
currencyDecimalSeparator: string;
|
|
488
|
+
currencyGroupSeparator: string;
|
|
489
|
+
currencyGroupSize: number;
|
|
490
|
+
startsWithCurrencySymbol: boolean;
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
export interface Totalizer {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
494
|
+
id: string;
|
|
495
|
+
name: string;
|
|
496
|
+
value: number;
|
|
497
|
+
alternativeTotals?: Totalizer[];
|
|
498
498
|
}
|
|
499
499
|
|
|
500
500
|
export interface OrderFormItemInput {
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
501
|
+
id?: number;
|
|
502
|
+
index?: number;
|
|
503
|
+
quantity?: number;
|
|
504
|
+
seller?: string;
|
|
505
|
+
uniqueId?: string;
|
|
506
|
+
// options?: AssemblyOptionInput[]
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
export interface LegacySearchArgs {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
510
|
+
query?: string;
|
|
511
|
+
page: number;
|
|
512
|
+
count: number;
|
|
513
|
+
type: "product_search" | "facets";
|
|
514
|
+
selectedFacets?: SelectedFacet[];
|
|
515
|
+
sort?: LegacySort;
|
|
516
516
|
}
|
|
517
517
|
|
|
518
518
|
export type LegacySort =
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
519
|
+
| "OrderByPriceDESC"
|
|
520
|
+
| "OrderByPriceASC"
|
|
521
|
+
| "OrderByTopSaleDESC"
|
|
522
|
+
| "OrderByReviewRateDESC"
|
|
523
|
+
| "OrderByNameASC"
|
|
524
|
+
| "OrderByNameDESC"
|
|
525
|
+
| "OrderByReleaseDateDESC"
|
|
526
|
+
| "OrderByBestDiscountDESC"
|
|
527
|
+
| "OrderByScoreDESC"
|
|
528
|
+
| "";
|
|
529
529
|
|
|
530
530
|
export type Fuzzy = "0" | "1" | "auto";
|
|
531
531
|
|
|
532
532
|
export interface SearchArgs {
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
533
|
+
query?: string;
|
|
534
|
+
page: number;
|
|
535
|
+
count: number;
|
|
536
|
+
type: "product_search" | "facets";
|
|
537
|
+
sort?: Sort;
|
|
538
|
+
selectedFacets?: SelectedFacet[];
|
|
539
|
+
fuzzy?: Fuzzy;
|
|
540
|
+
hideUnavailableItems?: boolean;
|
|
541
|
+
locale?: string;
|
|
542
|
+
segment?: Partial<Segment>;
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
export interface SelectedFacet {
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
546
|
+
/**
|
|
547
|
+
* @title Key
|
|
548
|
+
* @description The key of the facet (e.g. "brand", "category-1", "productClusterIds")
|
|
549
|
+
*/
|
|
550
|
+
key: string;
|
|
551
|
+
/**
|
|
552
|
+
* @title Value
|
|
553
|
+
* @description The value of the facet
|
|
554
|
+
*/
|
|
555
|
+
value: string;
|
|
556
556
|
}
|
|
557
557
|
|
|
558
558
|
export type Sort =
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
559
|
+
| "price:desc"
|
|
560
|
+
| "price:asc"
|
|
561
|
+
| "orders:desc"
|
|
562
|
+
| "name:desc"
|
|
563
|
+
| "name:asc"
|
|
564
|
+
| "release:desc"
|
|
565
|
+
| "discount:desc"
|
|
566
|
+
| "";
|
|
567
567
|
|
|
568
568
|
export interface Suggestion {
|
|
569
|
-
|
|
569
|
+
searches: Search[];
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
export interface Search {
|
|
573
|
-
|
|
574
|
-
|
|
573
|
+
term: string;
|
|
574
|
+
count: number;
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
export interface ProductSearchResult {
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
578
|
+
/**
|
|
579
|
+
* @description Total of products.
|
|
580
|
+
*/
|
|
581
|
+
recordsFiltered: number;
|
|
582
|
+
products: Product[];
|
|
583
|
+
pagination: Pagination;
|
|
584
|
+
sampling: boolean;
|
|
585
|
+
options: Options;
|
|
586
|
+
translated: boolean;
|
|
587
|
+
locale: string;
|
|
588
|
+
query: string;
|
|
589
|
+
operator: "and" | "or";
|
|
590
|
+
redirect: string;
|
|
591
|
+
fuzzy: string;
|
|
592
|
+
correction?: Correction;
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
export interface Correction {
|
|
596
|
-
|
|
596
|
+
misspelled: boolean;
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
export interface Options {
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
600
|
+
sorts: {
|
|
601
|
+
field: string;
|
|
602
|
+
order: string;
|
|
603
|
+
active?: boolean;
|
|
604
|
+
proxyURL: string;
|
|
605
|
+
}[];
|
|
606
|
+
counts: Count[];
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
export interface Count {
|
|
610
|
-
|
|
611
|
-
|
|
610
|
+
count: number;
|
|
611
|
+
proxyURL: string;
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
export interface Pagination {
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
615
|
+
count: number;
|
|
616
|
+
current: Page;
|
|
617
|
+
before: Page[];
|
|
618
|
+
after: Page[];
|
|
619
|
+
perPage: number;
|
|
620
|
+
next: Page;
|
|
621
|
+
previous: Page;
|
|
622
|
+
first: Page;
|
|
623
|
+
last: Page;
|
|
624
624
|
}
|
|
625
625
|
|
|
626
626
|
export interface Page {
|
|
627
|
-
|
|
628
|
-
|
|
627
|
+
index: number;
|
|
628
|
+
proxyUrl: string;
|
|
629
629
|
}
|
|
630
630
|
|
|
631
631
|
export interface First {
|
|
632
|
-
|
|
632
|
+
index: number;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
export interface Suggestion {
|
|
636
|
-
|
|
636
|
+
searches: Search[];
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
export interface Search {
|
|
640
|
-
|
|
641
|
-
|
|
640
|
+
term: string;
|
|
641
|
+
count: number;
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
export interface IProduct {
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
645
|
+
productId: string;
|
|
646
|
+
productName: string;
|
|
647
|
+
brand: string;
|
|
648
|
+
brandId: number;
|
|
649
|
+
brandImageUrl?: string;
|
|
650
|
+
cacheId?: string;
|
|
651
|
+
linkText: string;
|
|
652
|
+
productReference: string;
|
|
653
|
+
categoryId: string;
|
|
654
|
+
clusterHighlights: Record<string, unknown>;
|
|
655
|
+
productClusters: Record<string, string>;
|
|
656
|
+
categories: string[];
|
|
657
|
+
categoriesIds: string[];
|
|
658
|
+
link: string;
|
|
659
|
+
description: string;
|
|
660
|
+
skuSpecifications?: SkuSpecification[];
|
|
661
|
+
priceRange: PriceRange;
|
|
662
|
+
specificationGroups: SpecificationGroup[];
|
|
663
|
+
properties: Array<{ name: string; values: string[] }>;
|
|
664
|
+
selectedProperties: Array<{ key: string; value: string }>;
|
|
665
|
+
releaseDate: string;
|
|
666
|
+
origin?: string;
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
export type Product = IProduct & {
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
670
|
+
items: Item[];
|
|
671
|
+
clusterHighlights: Array<{ id: string; name: string }>;
|
|
672
|
+
productClusters: Array<{ id: string; name: string }>;
|
|
673
673
|
};
|
|
674
674
|
|
|
675
675
|
export type LegacyProduct = IProduct & {
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
676
|
+
metaTagDescription: string;
|
|
677
|
+
productTitle: string;
|
|
678
|
+
items: LegacyItem[];
|
|
679
|
+
allSpecifications: string[];
|
|
680
|
+
allSpecificationsGroups?: string[];
|
|
681
681
|
};
|
|
682
682
|
|
|
683
683
|
export type LegacyFacets = {
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
684
|
+
Departments: LegacyFacet[];
|
|
685
|
+
CategoriesTrees: LegacyFacet[];
|
|
686
|
+
Brands: LegacyFacet[];
|
|
687
|
+
SpecificationFilters: Record<string, LegacyFacet[]>;
|
|
688
|
+
PriceRanges: LegacyFacet[];
|
|
689
689
|
};
|
|
690
690
|
|
|
691
691
|
export interface PageType {
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
692
|
+
id: string | null;
|
|
693
|
+
name: string | null;
|
|
694
|
+
url: string | null;
|
|
695
|
+
title: string | null;
|
|
696
|
+
metaTagDescription: string | null;
|
|
697
|
+
pageType:
|
|
698
|
+
| "Brand"
|
|
699
|
+
| "Category"
|
|
700
|
+
| "Department"
|
|
701
|
+
| "SubCategory"
|
|
702
|
+
| "Product"
|
|
703
|
+
| "Collection"
|
|
704
|
+
| "Cluster"
|
|
705
|
+
| "NotFound"
|
|
706
|
+
| "FullText"
|
|
707
|
+
| "Search";
|
|
708
708
|
}
|
|
709
709
|
|
|
710
710
|
export interface Category {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
711
|
+
id: number;
|
|
712
|
+
name: string;
|
|
713
|
+
hasChildren: boolean;
|
|
714
|
+
children: Category[];
|
|
715
|
+
url: string;
|
|
716
|
+
Title?: string;
|
|
717
|
+
MetaTagDescription?: string;
|
|
718
718
|
}
|
|
719
719
|
|
|
720
720
|
export interface LegacyFacet {
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
721
|
+
Id: number;
|
|
722
|
+
Quantity: number;
|
|
723
|
+
Name: string;
|
|
724
|
+
Link: string;
|
|
725
|
+
LinkEncoded: string;
|
|
726
|
+
Map: string;
|
|
727
|
+
Value: string;
|
|
728
|
+
Slug?: string;
|
|
729
|
+
Children: LegacyFacet[];
|
|
730
730
|
}
|
|
731
731
|
|
|
732
732
|
export interface Image {
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
733
|
+
imageId: string;
|
|
734
|
+
imageLabel: string | null;
|
|
735
|
+
imageTag: string;
|
|
736
|
+
imageUrl: string;
|
|
737
|
+
imageText: string;
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
export interface Installment {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
741
|
+
Value: number;
|
|
742
|
+
InterestRate: number;
|
|
743
|
+
TotalValuePlusInterestRate: number;
|
|
744
|
+
NumberOfInstallments: number;
|
|
745
|
+
PaymentSystemName: string;
|
|
746
|
+
PaymentSystemGroupName: string;
|
|
747
|
+
Name: string;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
750
|
export type LegacyItem = Omit<Item, "variations" | "videos"> & {
|
|
751
|
-
|
|
752
|
-
|
|
751
|
+
variations: string[];
|
|
752
|
+
Videos: string[];
|
|
753
753
|
} & Record<string, string[]>;
|
|
754
754
|
|
|
755
755
|
export interface Item {
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
756
|
+
itemId: string;
|
|
757
|
+
name: string;
|
|
758
|
+
nameComplete: string;
|
|
759
|
+
complementName: string;
|
|
760
|
+
ean: string;
|
|
761
|
+
estimatedDateArrival: string;
|
|
762
|
+
referenceId?: Array<{ Key: string; Value: string }>;
|
|
763
|
+
measurementUnit: string;
|
|
764
|
+
unitMultiplier: number;
|
|
765
|
+
modalType: string | null;
|
|
766
|
+
images: Image[];
|
|
767
|
+
videos: string[];
|
|
768
|
+
variations: Array<{
|
|
769
|
+
name: string;
|
|
770
|
+
values: string[];
|
|
771
|
+
}>;
|
|
772
|
+
sellers: Seller[];
|
|
773
|
+
attachments: Array<{
|
|
774
|
+
id: number;
|
|
775
|
+
name: string;
|
|
776
|
+
required: boolean;
|
|
777
|
+
domainValues: string;
|
|
778
|
+
}>;
|
|
779
|
+
isKit: boolean;
|
|
780
|
+
kitItems?: Array<{
|
|
781
|
+
itemId: string;
|
|
782
|
+
amount: number;
|
|
783
|
+
}>;
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
export interface TeasersParametersLegacy {
|
|
787
|
-
|
|
788
|
-
|
|
787
|
+
"<Name>k__BackingField": string;
|
|
788
|
+
"<Value>k__BackingField": string;
|
|
789
789
|
}
|
|
790
790
|
|
|
791
791
|
export interface TeasersConditionsLegacy {
|
|
792
|
-
|
|
793
|
-
|
|
792
|
+
"<MinimumQuantity>k__BackingField": number;
|
|
793
|
+
"<Parameters>k__BackingField": TeasersParametersLegacy[];
|
|
794
794
|
}
|
|
795
795
|
|
|
796
796
|
export interface TeasersEffectLegacy {
|
|
797
|
-
|
|
797
|
+
"<Parameters>k__BackingField": TeasersParametersLegacy[];
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
export interface TeasersLegacy {
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
801
|
+
"<Name>k__BackingField": string;
|
|
802
|
+
"<GeneralValues>k__BackingField": unknown;
|
|
803
|
+
"<Conditions>k__BackingField": TeasersConditionsLegacy;
|
|
804
|
+
"<Effects>k__BackingField": TeasersEffectLegacy;
|
|
805
805
|
}
|
|
806
806
|
|
|
807
807
|
export interface TeasersParameters {
|
|
808
|
-
|
|
809
|
-
|
|
808
|
+
name: string;
|
|
809
|
+
value: string;
|
|
810
810
|
}
|
|
811
811
|
|
|
812
812
|
export interface TeasersConditions {
|
|
813
|
-
|
|
814
|
-
|
|
813
|
+
minimumQuantity: number;
|
|
814
|
+
parameters: TeasersParameters[];
|
|
815
815
|
}
|
|
816
816
|
|
|
817
817
|
export interface TeasersEffect {
|
|
818
|
-
|
|
818
|
+
parameters: TeasersParameters[];
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
export interface Teasers {
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
822
|
+
name: string;
|
|
823
|
+
generalValues?: unknown;
|
|
824
|
+
conditions: TeasersConditions;
|
|
825
|
+
effects: TeasersEffect;
|
|
826
826
|
}
|
|
827
827
|
|
|
828
828
|
export interface CommertialOffer {
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
829
|
+
DeliverySlaSamplesPerRegion: Record<
|
|
830
|
+
string,
|
|
831
|
+
{ DeliverySlaPerTypes: unknown[]; Region: unknown | null }
|
|
832
|
+
>;
|
|
833
|
+
Installments: Installment[];
|
|
834
|
+
DiscountHighLight: unknown[];
|
|
835
|
+
GiftSkuIds: string[];
|
|
836
|
+
Teasers: TeasersLegacy[];
|
|
837
|
+
teasers?: Teasers[];
|
|
838
|
+
BuyTogether: unknown[];
|
|
839
|
+
ItemMetadataAttachment: unknown[];
|
|
840
|
+
Price: number;
|
|
841
|
+
ListPrice: number;
|
|
842
|
+
spotPrice: number;
|
|
843
|
+
PriceWithoutDiscount: number;
|
|
844
|
+
RewardValue: number;
|
|
845
|
+
PriceValidUntil: string;
|
|
846
|
+
AvailableQuantity: number;
|
|
847
|
+
Tax: number;
|
|
848
|
+
DeliverySlaSamples: Array<{
|
|
849
|
+
DeliverySlaPerTypes: unknown[];
|
|
850
|
+
Region: unknown | null;
|
|
851
|
+
}>;
|
|
852
|
+
GetInfoErrorMessage: unknown | null;
|
|
853
|
+
CacheVersionUsedToCallCheckout: string;
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
export interface Seller {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
857
|
+
sellerId: string;
|
|
858
|
+
sellerName: string;
|
|
859
|
+
addToCartLink: string;
|
|
860
|
+
sellerDefault: boolean;
|
|
861
|
+
commertialOffer: CommertialOffer;
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
export interface SkuSpecification {
|
|
865
|
-
|
|
866
|
-
|
|
865
|
+
field: SKUSpecificationField;
|
|
866
|
+
values: SKUSpecificationValue[];
|
|
867
867
|
}
|
|
868
868
|
export interface SKUSpecificationValue {
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
869
|
+
name: string;
|
|
870
|
+
id?: string;
|
|
871
|
+
fieldId?: string;
|
|
872
|
+
originalName?: string;
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
export interface SKUSpecificationField {
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
876
|
+
name: string;
|
|
877
|
+
originalName?: string;
|
|
878
|
+
id?: string;
|
|
879
879
|
}
|
|
880
880
|
|
|
881
881
|
export interface Price {
|
|
882
|
-
|
|
883
|
-
|
|
882
|
+
highPrice: number | null;
|
|
883
|
+
lowPrice: number | null;
|
|
884
884
|
}
|
|
885
885
|
|
|
886
886
|
export interface PriceRange {
|
|
887
|
-
|
|
888
|
-
|
|
887
|
+
sellingPrice: Price;
|
|
888
|
+
listPrice: Price;
|
|
889
889
|
}
|
|
890
890
|
|
|
891
891
|
export interface SpecificationGroup {
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
892
|
+
name: string;
|
|
893
|
+
originalName: string;
|
|
894
|
+
specifications: Array<{
|
|
895
|
+
name: string;
|
|
896
|
+
originalName: string;
|
|
897
|
+
values: string[];
|
|
898
|
+
}>;
|
|
899
899
|
}
|
|
900
900
|
|
|
901
901
|
export type FilterType = RangeFacet["type"] | BooleanFacet["type"];
|
|
902
902
|
|
|
903
903
|
export interface FacetSearchResult {
|
|
904
|
-
|
|
905
|
-
|
|
904
|
+
facets: Facet[];
|
|
905
|
+
breadcrumb: Breadcrumb[];
|
|
906
906
|
}
|
|
907
907
|
|
|
908
908
|
export interface BaseFacet {
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
909
|
+
name: string;
|
|
910
|
+
hidden: boolean;
|
|
911
|
+
key: string;
|
|
912
|
+
quantity: number;
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
export interface RangeFacet extends BaseFacet {
|
|
916
|
-
|
|
917
|
-
|
|
916
|
+
type: "PRICERANGE";
|
|
917
|
+
values: FacetValueRange[];
|
|
918
918
|
}
|
|
919
919
|
|
|
920
920
|
export interface BooleanFacet extends BaseFacet {
|
|
921
|
-
|
|
922
|
-
|
|
921
|
+
type: "TEXT" | "NUMBER";
|
|
922
|
+
values: FacetValueBoolean[];
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
export type Facet = RangeFacet | BooleanFacet;
|
|
926
926
|
|
|
927
927
|
export interface FacetValueBoolean {
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
928
|
+
quantity: number;
|
|
929
|
+
name: string;
|
|
930
|
+
key: string;
|
|
931
|
+
value: string;
|
|
932
|
+
selected: boolean;
|
|
933
|
+
href: string;
|
|
934
934
|
}
|
|
935
935
|
|
|
936
936
|
export interface FacetValueRange {
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
937
|
+
selected: boolean;
|
|
938
|
+
quantity: number;
|
|
939
|
+
range: {
|
|
940
|
+
from: number;
|
|
941
|
+
to: number;
|
|
942
|
+
};
|
|
943
943
|
}
|
|
944
944
|
|
|
945
945
|
export interface Breadcrumb {
|
|
946
|
-
|
|
947
|
-
|
|
946
|
+
href: string;
|
|
947
|
+
name: string;
|
|
948
948
|
}
|
|
949
949
|
|
|
950
950
|
export interface SKU {
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
951
|
+
id: number;
|
|
952
|
+
quantity: number;
|
|
953
|
+
seller: string;
|
|
954
954
|
}
|
|
955
955
|
|
|
956
956
|
export interface SimulationOrderForm {
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
957
|
+
items: Item[];
|
|
958
|
+
ratesAndBenefitsData: RatesAndBenefitsData;
|
|
959
|
+
paymentData: PaymentData;
|
|
960
|
+
selectableGifts: unknown[];
|
|
961
|
+
marketingData?: MarketingData;
|
|
962
|
+
postalCode: string;
|
|
963
|
+
country: string;
|
|
964
|
+
logisticsInfo: LogisticsInfo[];
|
|
965
|
+
messages: Message[];
|
|
966
|
+
purchaseConditions: PurchaseConditions;
|
|
967
|
+
pickupPoints: PickupPoint[];
|
|
968
|
+
subscriptionData?: unknown;
|
|
969
|
+
totals: Total[];
|
|
970
|
+
itemMetadata?: ItemMetadata;
|
|
971
|
+
allowMultipleDeliveries: boolean;
|
|
972
972
|
}
|
|
973
973
|
|
|
974
974
|
export interface Total {
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
975
|
+
id: string;
|
|
976
|
+
name: string;
|
|
977
|
+
value: number;
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
export interface PurchaseConditions {
|
|
981
|
-
|
|
981
|
+
itemPurchaseConditions: ItemPurchaseCondition[];
|
|
982
982
|
}
|
|
983
983
|
|
|
984
984
|
export interface ItemPurchaseCondition {
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
985
|
+
id: string;
|
|
986
|
+
seller: string;
|
|
987
|
+
sellerChain: string[];
|
|
988
|
+
slas: Sla[];
|
|
989
|
+
price: number;
|
|
990
|
+
listPrice: number;
|
|
991
991
|
}
|
|
992
992
|
|
|
993
993
|
export interface DeliveryId {
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
994
|
+
courierId: string;
|
|
995
|
+
warehouseId: string;
|
|
996
|
+
dockId: string;
|
|
997
|
+
courierName: string;
|
|
998
|
+
quantity: number;
|
|
999
|
+
kitItemDetails: unknown[];
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
1002
|
export interface Installment {
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1003
|
+
count: number;
|
|
1004
|
+
hasInterestRate: boolean;
|
|
1005
|
+
interestRate: number;
|
|
1006
|
+
value: number;
|
|
1007
|
+
total: number;
|
|
1008
|
+
sellerMerchantInstallments: SellerMerchantInstallment[];
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
1011
|
export interface SellerMerchantInstallment {
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1012
|
+
id: string;
|
|
1013
|
+
count: number;
|
|
1014
|
+
hasInterestRate: boolean;
|
|
1015
|
+
interestRate: number;
|
|
1016
|
+
value: number;
|
|
1017
|
+
total: number;
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
1020
|
export interface Teaser {
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1021
|
+
featured: boolean;
|
|
1022
|
+
id: string;
|
|
1023
|
+
name: string;
|
|
1024
|
+
conditions: Conditions;
|
|
1025
|
+
effects: Effects;
|
|
1026
|
+
teaserType: string;
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
export interface Effects {
|
|
1030
|
-
|
|
1030
|
+
parameters: Parameter[];
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
export interface Conditions {
|
|
1034
|
-
|
|
1035
|
-
|
|
1034
|
+
parameters: Parameter[];
|
|
1035
|
+
minimumQuantity: number;
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
1038
|
export interface Parameter {
|
|
1039
|
-
|
|
1040
|
-
|
|
1039
|
+
name: string;
|
|
1040
|
+
value: string;
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
1043
|
export interface PriceDefinition {
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1044
|
+
calculatedSellingPrice: number;
|
|
1045
|
+
total: number;
|
|
1046
|
+
sellingPrices: SellingPrice[];
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
1049
|
export interface SellingPrice {
|
|
1050
|
-
|
|
1051
|
-
|
|
1050
|
+
value: number;
|
|
1051
|
+
quantity: number;
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
1054
|
export interface Offering {
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1055
|
+
type: string;
|
|
1056
|
+
id: string;
|
|
1057
|
+
name: string;
|
|
1058
|
+
allowGiftMessage: boolean;
|
|
1059
|
+
attachmentOfferings: unknown[];
|
|
1060
|
+
price: number;
|
|
1061
1061
|
}
|
|
1062
1062
|
|
|
1063
1063
|
export type CrossSellingType =
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1064
|
+
| "whosawalsosaw"
|
|
1065
|
+
| "whosawalsobought"
|
|
1066
|
+
| "whoboughtalsobought"
|
|
1067
|
+
| "showtogether"
|
|
1068
|
+
| "accessories"
|
|
1069
|
+
| "similars"
|
|
1070
|
+
| "suggestions";
|
|
1071
1071
|
|
|
1072
1072
|
export interface CrossSellingArgs {
|
|
1073
|
-
|
|
1074
|
-
|
|
1073
|
+
productId: string;
|
|
1074
|
+
type: CrossSellingType;
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
1077
|
export interface Segment {
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1078
|
+
campaigns: unknown | null;
|
|
1079
|
+
/** @description 1,2,3 etc */
|
|
1080
|
+
channel: string;
|
|
1081
|
+
priceTables: string | null;
|
|
1082
|
+
regionId: string | null;
|
|
1083
|
+
utm_campaign: string | null;
|
|
1084
|
+
utm_source: string | null;
|
|
1085
|
+
utm_medium: string | null;
|
|
1086
|
+
utmi_campaign: string | null;
|
|
1087
|
+
utmi_page: string | null;
|
|
1088
|
+
utmi_part: string | null;
|
|
1089
|
+
/** @description BRL, USD stc */
|
|
1090
|
+
currencyCode: string;
|
|
1091
|
+
/** @description R$, $ etc */
|
|
1092
|
+
currencySymbol: string;
|
|
1093
|
+
/** @description BRA, USA etc */
|
|
1094
|
+
countryCode: string;
|
|
1095
|
+
/** @description pt-BR, en-US etc */
|
|
1096
|
+
cultureInfo: string;
|
|
1097
|
+
channelPrivacy: "public" | "private";
|
|
1098
1098
|
}
|
|
1099
1099
|
|
|
1100
1100
|
export interface WishlistItem {
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1101
|
+
id: string;
|
|
1102
|
+
productId: string;
|
|
1103
|
+
sku: string;
|
|
1104
|
+
title: string;
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
1107
1107
|
export interface PortalSuggestion {
|
|
1108
|
-
|
|
1108
|
+
itemsReturned: ItemsReturned[];
|
|
1109
1109
|
}
|
|
1110
1110
|
|
|
1111
1111
|
export interface ItemsReturned {
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1112
|
+
items: Item[];
|
|
1113
|
+
thumb: string;
|
|
1114
|
+
thumbUrl: null | string;
|
|
1115
|
+
name: string;
|
|
1116
|
+
href: string;
|
|
1117
|
+
criteria: null | string;
|
|
1118
1118
|
}
|
|
1119
1119
|
|
|
1120
1120
|
export interface Item {
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1121
|
+
productId: string;
|
|
1122
|
+
itemId: string;
|
|
1123
|
+
name: string;
|
|
1124
|
+
nameComplete: string;
|
|
1125
|
+
imageUrl: string;
|
|
1126
1126
|
}
|
|
1127
1127
|
|
|
1128
1128
|
export interface SimulationItem {
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1129
|
+
id: number;
|
|
1130
|
+
quantity: number;
|
|
1131
|
+
seller: string;
|
|
1132
1132
|
}
|
|
1133
1133
|
|
|
1134
1134
|
export type SPEvent =
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1135
|
+
| {
|
|
1136
|
+
type: "session.ping";
|
|
1137
|
+
url: string;
|
|
1138
|
+
}
|
|
1139
|
+
| {
|
|
1140
|
+
type: "page.cart";
|
|
1141
|
+
products: {
|
|
1142
|
+
productId: string;
|
|
1143
|
+
quantity: number;
|
|
1144
|
+
}[];
|
|
1145
|
+
}
|
|
1146
|
+
| {
|
|
1147
|
+
type: "page.empty_cart";
|
|
1148
|
+
// Empty array is converted to a invalid json schema... so, let it be anything.
|
|
1149
|
+
// deno-lint-ignore ban-types
|
|
1150
|
+
products: {};
|
|
1151
|
+
}
|
|
1152
|
+
| {
|
|
1153
|
+
type: "page.confirmation";
|
|
1154
|
+
order: string;
|
|
1155
|
+
products: {
|
|
1156
|
+
productId: string;
|
|
1157
|
+
quantity: number;
|
|
1158
|
+
price: number;
|
|
1159
|
+
}[];
|
|
1160
|
+
}
|
|
1161
|
+
| {
|
|
1162
|
+
type: "search.click";
|
|
1163
|
+
position: number;
|
|
1164
|
+
text: string;
|
|
1165
|
+
productId: string;
|
|
1166
|
+
url: string;
|
|
1167
|
+
}
|
|
1168
|
+
| {
|
|
1169
|
+
type: "search.query";
|
|
1170
|
+
url: string;
|
|
1171
|
+
text: string;
|
|
1172
|
+
misspelled: boolean;
|
|
1173
|
+
match: number;
|
|
1174
|
+
operator: string;
|
|
1175
|
+
locale: string;
|
|
1176
|
+
};
|
|
1177
1177
|
|
|
1178
1178
|
export interface CreateNewDocument {
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1179
|
+
Id?: string;
|
|
1180
|
+
Href?: string;
|
|
1181
|
+
DocumentId?: string;
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
1184
|
export interface Document extends Record<string, unknown> {
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1185
|
+
additionalProperties?: string;
|
|
1186
|
+
id?: string;
|
|
1187
|
+
accountId?: string;
|
|
1188
|
+
accountName?: string;
|
|
1189
|
+
dataEntityId?: string;
|
|
1190
1190
|
}
|
|
1191
1191
|
|
|
1192
1192
|
export interface SelectableGifts {
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1193
|
+
id: string;
|
|
1194
|
+
selectedGifts: {
|
|
1195
|
+
id: string;
|
|
1196
|
+
seller: string;
|
|
1197
|
+
index: number;
|
|
1198
|
+
}[];
|
|
1199
1199
|
}
|
|
1200
1200
|
|
|
1201
1201
|
export interface Brand {
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1202
|
+
id: number;
|
|
1203
|
+
name: string;
|
|
1204
|
+
isActive: boolean;
|
|
1205
|
+
title: string;
|
|
1206
|
+
metaTagDescription: string;
|
|
1207
|
+
imageUrl: string | null;
|
|
1208
1208
|
}
|
|
1209
1209
|
|
|
1210
1210
|
export interface Collection {
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1211
|
+
id: number;
|
|
1212
|
+
name: "Live influencers";
|
|
1213
|
+
searchable: boolean;
|
|
1214
|
+
highlight: boolean;
|
|
1215
|
+
dateFrom: string;
|
|
1216
|
+
dateTo: string;
|
|
1217
|
+
totalSku: number;
|
|
1218
|
+
totalProducts: number;
|
|
1219
|
+
type: "Manual" | "Automatic" | "Hybrid";
|
|
1220
|
+
lastModifiedBy?: string;
|
|
1221
1221
|
}
|
|
1222
1222
|
|
|
1223
1223
|
export interface CollectionList {
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1224
|
+
paging: {
|
|
1225
|
+
page: number;
|
|
1226
|
+
perPage: number;
|
|
1227
|
+
total: number;
|
|
1228
|
+
pages: number;
|
|
1229
|
+
limit: number;
|
|
1230
|
+
};
|
|
1231
|
+
items?: Collection[];
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
1234
1234
|
export interface ProductRatingAndReviews {
|
|
1235
|
-
|
|
1236
|
-
|
|
1235
|
+
productRating?: ProductRating;
|
|
1236
|
+
productReviews?: ProductReviewData;
|
|
1237
1237
|
}
|
|
1238
1238
|
|
|
1239
1239
|
export interface ProductRating {
|
|
1240
|
-
|
|
1241
|
-
|
|
1240
|
+
average?: number;
|
|
1241
|
+
totalCount?: number;
|
|
1242
1242
|
}
|
|
1243
1243
|
|
|
1244
1244
|
export interface ProductReview {
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1245
|
+
id?: string | undefined;
|
|
1246
|
+
productId?: string | undefined;
|
|
1247
|
+
rating?: number | undefined;
|
|
1248
|
+
title?: string | undefined;
|
|
1249
|
+
text?: string | undefined;
|
|
1250
|
+
reviewerName?: string | undefined;
|
|
1251
|
+
shopperId?: string | undefined;
|
|
1252
|
+
reviewDateTime?: string | undefined;
|
|
1253
|
+
searchDate?: string | undefined;
|
|
1254
|
+
verifiedPurchaser?: boolean | undefined;
|
|
1255
|
+
sku?: string | null;
|
|
1256
|
+
approved?: boolean;
|
|
1257
|
+
location?: string | null;
|
|
1258
|
+
locale?: string | null;
|
|
1259
|
+
pastReviews?: string | null;
|
|
1260
1260
|
}
|
|
1261
1261
|
|
|
1262
1262
|
export interface ProductReviewRange {
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1263
|
+
total?: number;
|
|
1264
|
+
from?: number;
|
|
1265
|
+
to?: number;
|
|
1266
1266
|
}
|
|
1267
1267
|
|
|
1268
1268
|
export interface ProductReviewData {
|
|
1269
|
-
|
|
1270
|
-
|
|
1269
|
+
data?: ProductReview[] | undefined;
|
|
1270
|
+
range?: ProductReviewRange;
|
|
1271
1271
|
}
|
|
1272
1272
|
|
|
1273
1273
|
export interface ProductBalance {
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1274
|
+
hasUnlimitedQuantity?: boolean;
|
|
1275
|
+
leadTime?: string;
|
|
1276
|
+
reservedQuantity?: number;
|
|
1277
|
+
totalQuantity?: number;
|
|
1278
|
+
warehouseId?: string;
|
|
1279
|
+
warehouseName?: string;
|
|
1280
1280
|
}
|
|
1281
1281
|
|
|
1282
1282
|
export interface ProductInventoryData {
|
|
1283
|
-
|
|
1284
|
-
|
|
1283
|
+
skuId?: string;
|
|
1284
|
+
balance?: ProductBalance[];
|
|
1285
1285
|
}
|
|
1286
1286
|
|
|
1287
1287
|
interface OrderPlacedSeller {
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1288
|
+
id: string;
|
|
1289
|
+
name: string;
|
|
1290
|
+
logo: string;
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
export interface OrderPlaced {
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1294
|
+
sellers: OrderPlacedSeller[];
|
|
1295
|
+
orderId: string;
|
|
1296
|
+
orderGroup: string;
|
|
1297
|
+
state: string;
|
|
1298
|
+
isCheckedIn: boolean;
|
|
1299
|
+
sellerOrderId: string;
|
|
1300
|
+
storeId: string | null;
|
|
1301
|
+
checkedInPickupPointId: string | null;
|
|
1302
|
+
value: number;
|
|
1303
|
+
items: OrderFormItem[];
|
|
1304
|
+
totals: Total[];
|
|
1305
|
+
clientProfileData: ClientProfileData;
|
|
1306
|
+
ratesAndBenefitsData: RatesAndBenefitsData;
|
|
1307
|
+
shippingData: ShippingData;
|
|
1308
|
+
paymentData: PaymentData;
|
|
1309
|
+
clientPreferencesData: ClientPreferencesData;
|
|
1310
|
+
commercialConditionData: null;
|
|
1311
|
+
giftRegistryData: null;
|
|
1312
|
+
marketingData: MarketingData | null;
|
|
1313
|
+
storePreferencesData: StorePreferencesData;
|
|
1314
|
+
openTextField: null;
|
|
1315
|
+
invoiceData: null;
|
|
1316
|
+
itemMetadata: ItemMetadata;
|
|
1317
|
+
taxData: null;
|
|
1318
|
+
customData: null;
|
|
1319
|
+
hooksData: null;
|
|
1320
|
+
changeData: null;
|
|
1321
|
+
subscriptionData: null;
|
|
1322
|
+
merchantContextData: null;
|
|
1323
|
+
purchaseAgentData: null;
|
|
1324
|
+
salesChannel: string;
|
|
1325
|
+
followUpEmail: string;
|
|
1326
|
+
creationDate: string;
|
|
1327
|
+
lastChange: string;
|
|
1328
|
+
timeZoneCreationDate: string;
|
|
1329
|
+
timeZoneLastChange: string;
|
|
1330
|
+
isCompleted: boolean;
|
|
1331
|
+
hostName: string;
|
|
1332
|
+
merchantName: string | null;
|
|
1333
|
+
userType: string;
|
|
1334
|
+
roundingError: number;
|
|
1335
|
+
allowEdition: boolean;
|
|
1336
|
+
allowCancellation: boolean;
|
|
1337
|
+
isUserDataVisible: boolean;
|
|
1338
|
+
cancellationData: CancelattionData;
|
|
1339
|
+
orderFormCreationDate: string;
|
|
1340
|
+
marketplaceRequestedCancellationWindow: null;
|
|
1341
1341
|
}
|
|
1342
1342
|
|
|
1343
1343
|
interface CancelattionData {
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1344
|
+
requestedByUser: true;
|
|
1345
|
+
reason: string;
|
|
1346
|
+
cancellationDate: string;
|
|
1347
|
+
cancellationRequestId: string;
|
|
1348
|
+
requestedBy: null;
|
|
1349
|
+
cancellationSource: null;
|
|
1350
1350
|
}
|
|
1351
1351
|
|
|
1352
1352
|
export interface Order {
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1353
|
+
ShippingEstimatedDate?: Date;
|
|
1354
|
+
ShippingEstimatedDateMax: string;
|
|
1355
|
+
ShippingEstimatedDateMin: string;
|
|
1356
|
+
affiliateId: string;
|
|
1357
|
+
authorizedDate: string;
|
|
1358
|
+
callCenterOperatorName: string;
|
|
1359
|
+
clientName: string;
|
|
1360
|
+
creationDate: string;
|
|
1361
|
+
currencyCode: string;
|
|
1362
|
+
deliveryDates: Date[];
|
|
1363
|
+
giftCardProviders: string[];
|
|
1364
|
+
hostname: string;
|
|
1365
|
+
invoiceInput: string;
|
|
1366
|
+
invoiceOutput: string[];
|
|
1367
|
+
isAllDelivered: boolean;
|
|
1368
|
+
isAnyDelivered: boolean;
|
|
1369
|
+
items: OrderFormItem[];
|
|
1370
|
+
lastChange: string;
|
|
1371
|
+
lastMessageUnread: string;
|
|
1372
|
+
listId: string;
|
|
1373
|
+
listType: string;
|
|
1374
|
+
marketPlaceOrderId: string;
|
|
1375
|
+
orderFormId: string;
|
|
1376
|
+
orderId: string;
|
|
1377
|
+
orderIsComplete: boolean;
|
|
1378
|
+
origin: string;
|
|
1379
|
+
paymentApprovedDate: string;
|
|
1380
|
+
paymentNames: string;
|
|
1381
|
+
salesChannel: string;
|
|
1382
|
+
sequence: string;
|
|
1383
|
+
status: string;
|
|
1384
|
+
statusDescription: string;
|
|
1385
|
+
totalItems: number;
|
|
1386
|
+
totalValue: number;
|
|
1387
|
+
workflowInErrorState: boolean;
|
|
1388
|
+
workflowInRetry: boolean;
|
|
1389
1389
|
}
|
|
1390
1390
|
|
|
1391
1391
|
export interface Orders {
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1392
|
+
facets: Facet[];
|
|
1393
|
+
list: Order[];
|
|
1394
|
+
paging: {
|
|
1395
|
+
total: number;
|
|
1396
|
+
pages: number;
|
|
1397
|
+
currentPage: number;
|
|
1398
|
+
perPage: number;
|
|
1399
|
+
};
|
|
1400
|
+
reportRecordsLimit: number;
|
|
1401
|
+
stats: {
|
|
1402
|
+
stats: {
|
|
1403
|
+
totalItems: {
|
|
1404
|
+
Count: number;
|
|
1405
|
+
Max: number;
|
|
1406
|
+
Mean: number;
|
|
1407
|
+
Min: number;
|
|
1408
|
+
Missing: number;
|
|
1409
|
+
StdDev: number;
|
|
1410
|
+
Sum: number;
|
|
1411
|
+
SumOfSquares: number;
|
|
1412
|
+
};
|
|
1413
|
+
totalValue: {
|
|
1414
|
+
Count: number;
|
|
1415
|
+
Max: number;
|
|
1416
|
+
Mean: number;
|
|
1417
|
+
Min: number;
|
|
1418
|
+
Missing: number;
|
|
1419
|
+
StdDev: number;
|
|
1420
|
+
Sum: number;
|
|
1421
|
+
SumOfSquares: number;
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
1427
|
export interface SalesChannel {
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1428
|
+
Id?: number;
|
|
1429
|
+
Name?: string;
|
|
1430
|
+
IsActive?: boolean;
|
|
1431
|
+
ProductClusterId?: number | null;
|
|
1432
|
+
CountryCode?: string;
|
|
1433
|
+
CultureInfo?: string;
|
|
1434
|
+
TimeZone?: string;
|
|
1435
|
+
CurrencyCode?: string;
|
|
1436
|
+
CurrencySymbol?: string;
|
|
1437
|
+
CurrencyLocale?: number;
|
|
1438
|
+
CurrencyFormatInfo?: {
|
|
1439
|
+
CurrencyDecimalDigits?: number;
|
|
1440
|
+
CurrencyDecimalSeparator?: string;
|
|
1441
|
+
CurrencyGroupSeparator?: string;
|
|
1442
|
+
CurrencyGroupSize?: number;
|
|
1443
|
+
StartsWithCurrencySymbol?: boolean;
|
|
1444
|
+
};
|
|
1445
|
+
Origin?: string | null;
|
|
1446
|
+
Position?: number | null;
|
|
1447
|
+
ConditionRule?: string | null;
|
|
1448
|
+
CurrencyDecimalDigits?: number;
|
|
1449
1449
|
}
|
|
1450
1450
|
|
|
1451
1451
|
export interface Promotion {
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1452
|
+
idCalculatorConfiguration: string;
|
|
1453
|
+
name: string;
|
|
1454
|
+
beginDateUtc: string;
|
|
1455
|
+
endDateUtc: string;
|
|
1456
|
+
lastModified: string;
|
|
1457
|
+
daysAgoOfPurchases: number;
|
|
1458
|
+
isActive: boolean;
|
|
1459
|
+
isArchived: boolean;
|
|
1460
|
+
isFeatured: boolean;
|
|
1461
|
+
disableDeal: boolean;
|
|
1462
|
+
activeDaysOfWeek: number[];
|
|
1463
|
+
offset: number;
|
|
1464
|
+
activateGiftsMultiplier: boolean;
|
|
1465
|
+
newOffset: number;
|
|
1466
|
+
maxPricesPerItems: string[];
|
|
1467
|
+
cumulative: boolean;
|
|
1468
|
+
nominalShippingDiscountValue: number;
|
|
1469
|
+
absoluteShippingDiscountValue: number;
|
|
1470
|
+
nominalDiscountValue: number;
|
|
1471
|
+
nominalDiscountType: string;
|
|
1472
|
+
maximumUnitPriceDiscount: number;
|
|
1473
|
+
percentualDiscountValue: number;
|
|
1474
|
+
rebatePercentualDiscountValue: number;
|
|
1475
|
+
percentualShippingDiscountValue: number;
|
|
1476
|
+
percentualTax: number;
|
|
1477
|
+
shippingPercentualTax: number;
|
|
1478
|
+
percentualDiscountValueList1: number;
|
|
1479
|
+
percentualDiscountValueList2: number;
|
|
1480
|
+
skusGift: {
|
|
1481
|
+
quantitySelectable: number;
|
|
1482
|
+
gifts: number;
|
|
1483
|
+
};
|
|
1484
|
+
nominalRewardValue: number;
|
|
1485
|
+
percentualRewardValue: number;
|
|
1486
|
+
orderStatusRewardValue: string;
|
|
1487
|
+
applyToAllShippings: boolean;
|
|
1488
|
+
nominalTax: number;
|
|
1489
|
+
maxPackValue: number;
|
|
1490
|
+
origin: string;
|
|
1491
|
+
idSellerIsInclusive: boolean;
|
|
1492
|
+
idsSalesChannel: string[];
|
|
1493
|
+
areSalesChannelIdsExclusive: boolean;
|
|
1494
|
+
marketingTags: string[];
|
|
1495
|
+
marketingTagsAreNotInclusive: boolean;
|
|
1496
|
+
paymentsMethods: {
|
|
1497
|
+
id: string;
|
|
1498
|
+
name: string;
|
|
1499
|
+
}[];
|
|
1500
|
+
stores: string[];
|
|
1501
|
+
campaigns: string[];
|
|
1502
|
+
storesAreInclusive: boolean;
|
|
1503
|
+
categories: {
|
|
1504
|
+
id: string;
|
|
1505
|
+
name: string;
|
|
1506
|
+
}[];
|
|
1507
|
+
categoriesAreInclusive: boolean;
|
|
1508
|
+
brands: {
|
|
1509
|
+
id: string;
|
|
1510
|
+
name: string;
|
|
1511
|
+
}[];
|
|
1512
|
+
brandsAreInclusive: boolean;
|
|
1513
|
+
products: {
|
|
1514
|
+
id: string;
|
|
1515
|
+
name: string;
|
|
1516
|
+
}[];
|
|
1517
|
+
productsAreInclusive: boolean;
|
|
1518
|
+
skus: {
|
|
1519
|
+
id: string;
|
|
1520
|
+
name: string;
|
|
1521
|
+
}[];
|
|
1522
|
+
skusAreInclusive: boolean;
|
|
1523
|
+
collections1BuyTogether: {
|
|
1524
|
+
id: string;
|
|
1525
|
+
name: string;
|
|
1526
|
+
}[];
|
|
1527
|
+
collections2BuyTogether: {
|
|
1528
|
+
id: string;
|
|
1529
|
+
name: string;
|
|
1530
|
+
}[];
|
|
1531
|
+
minimumQuantityBuyTogether: number;
|
|
1532
|
+
quantityToAffectBuyTogether: number;
|
|
1533
|
+
enableBuyTogetherPerSku: boolean;
|
|
1534
|
+
listSku1BuyTogether: {
|
|
1535
|
+
id: string;
|
|
1536
|
+
name: string;
|
|
1537
|
+
}[];
|
|
1538
|
+
listSku2BuyTogether: {
|
|
1539
|
+
id: string;
|
|
1540
|
+
name: string;
|
|
1541
|
+
}[];
|
|
1542
|
+
coupon: string[];
|
|
1543
|
+
totalValueFloor: number;
|
|
1544
|
+
totalValueCeling: number;
|
|
1545
|
+
totalValueIncludeAllItems: boolean;
|
|
1546
|
+
totalValueMode: string;
|
|
1547
|
+
collections: {
|
|
1548
|
+
id: string;
|
|
1549
|
+
name: string;
|
|
1550
|
+
}[];
|
|
1551
|
+
collectionsIsInclusive: boolean;
|
|
1552
|
+
restrictionsBins: string[];
|
|
1553
|
+
cardIssuers: string[];
|
|
1554
|
+
totalValuePurchase: number;
|
|
1555
|
+
slasIds: string[];
|
|
1556
|
+
isSlaSelected: boolean;
|
|
1557
|
+
isFirstBuy: boolean;
|
|
1558
|
+
firstBuyIsProfileOptimistic: boolean;
|
|
1559
|
+
compareListPriceAndPrice: boolean;
|
|
1560
|
+
isDifferentListPriceAndPrice: boolean;
|
|
1561
|
+
zipCodeRanges: {
|
|
1562
|
+
zipCodeFrom: string;
|
|
1563
|
+
zipCodeTo: string;
|
|
1564
|
+
inclusive: string;
|
|
1565
|
+
}[];
|
|
1566
|
+
itemMaxPrice: number;
|
|
1567
|
+
itemMinPrice: number;
|
|
1568
|
+
installment: number;
|
|
1569
|
+
isMinMaxInstallments: boolean;
|
|
1570
|
+
minInstallment: number;
|
|
1571
|
+
maxInstallment: number;
|
|
1572
|
+
merchants: string[];
|
|
1573
|
+
clusterExpressions: string[];
|
|
1574
|
+
clusterOperator: string;
|
|
1575
|
+
paymentsRules: string[];
|
|
1576
|
+
giftListTypes: string[];
|
|
1577
|
+
productsSpecifications: string[];
|
|
1578
|
+
affiliates: {
|
|
1579
|
+
id: string;
|
|
1580
|
+
name: string;
|
|
1581
|
+
}[];
|
|
1582
|
+
maxUsage: number;
|
|
1583
|
+
maxUsagePerClient: number;
|
|
1584
|
+
shouldDistributeDiscountAmongMatchedItems: boolean;
|
|
1585
|
+
multipleUsePerClient: boolean;
|
|
1586
|
+
accumulateWithManualPrice: boolean;
|
|
1587
|
+
type: string;
|
|
1588
|
+
useNewProgressiveAlgorithm: boolean;
|
|
1589
|
+
percentualDiscountValueList: number[];
|
|
1590
|
+
isAppliedToMostExpensive: boolean;
|
|
1591
|
+
maxNumberOfAffectedItems: number;
|
|
1592
|
+
maxNumberOfAffectedItemsGroupKey: string;
|
|
1593
1593
|
}
|
|
1594
1594
|
|
|
1595
1595
|
export interface AdvancedLoaderConfig {
|
|
1596
|
-
|
|
1597
|
-
|
|
1596
|
+
/** @description Specifies an array of attribute names from the original object to be directly included in the transformed object. */
|
|
1597
|
+
includeOriginalAttributes: string[];
|
|
1598
1598
|
|
|
1599
|
-
|
|
1600
|
-
|
|
1599
|
+
/** @description Allow this field if you prefer to use description instead of metaTagDescription */
|
|
1600
|
+
preferDescription?: boolean;
|
|
1601
1601
|
}
|
|
1602
1602
|
|
|
1603
1603
|
export type Maybe<T> = T | null | undefined;
|
|
1604
1604
|
|
|
1605
1605
|
export interface AddressInput {
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1606
|
+
name?: string;
|
|
1607
|
+
addressName: string;
|
|
1608
|
+
addressType?: string;
|
|
1609
|
+
city?: string;
|
|
1610
|
+
complement?: string;
|
|
1611
|
+
country?: string;
|
|
1612
|
+
geoCoordinates?: number[];
|
|
1613
|
+
neighborhood?: string;
|
|
1614
|
+
number?: string;
|
|
1615
|
+
postalCode?: string;
|
|
1616
|
+
receiverName?: string;
|
|
1617
|
+
reference?: string;
|
|
1618
|
+
state?: string;
|
|
1619
|
+
street?: string;
|
|
1620
1620
|
}
|
|
1621
1621
|
|
|
1622
1622
|
export interface SavedAddress {
|
|
1623
|
-
|
|
1624
|
-
|
|
1623
|
+
id: string;
|
|
1624
|
+
cacheId: string;
|
|
1625
1625
|
}
|
|
1626
1626
|
|
|
1627
1627
|
export type SimulationBehavior = "default" | "skip" | "only1P";
|
|
1628
1628
|
|
|
1629
1629
|
export enum DeviceType {
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1630
|
+
Mobile = "MOBILE",
|
|
1631
|
+
Tablet = "TABLET",
|
|
1632
|
+
Desktop = "DESKTOP",
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
1635
|
export interface LoginSession {
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1636
|
+
id: string;
|
|
1637
|
+
cacheId: string;
|
|
1638
|
+
deviceType: DeviceType;
|
|
1639
|
+
city?: Maybe<string>;
|
|
1640
|
+
lastAccess: string;
|
|
1641
|
+
browser?: Maybe<string>;
|
|
1642
|
+
os?: Maybe<string>;
|
|
1643
|
+
ip?: Maybe<string>;
|
|
1644
|
+
fullAddress?: Maybe<string>;
|
|
1645
|
+
firstAccess: string;
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
1648
|
export interface LoginSessionsInfo {
|
|
1649
|
-
|
|
1650
|
-
|
|
1649
|
+
currentLoginSessionId?: Maybe<string>;
|
|
1650
|
+
loginSessions?: Maybe<LoginSession[]>;
|
|
1651
1651
|
}
|
|
1652
1652
|
|
|
1653
1653
|
export interface Session {
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1654
|
+
id: string;
|
|
1655
|
+
namespaces?: {
|
|
1656
|
+
profile: SessionProfile;
|
|
1657
|
+
impersonate: SessionImpersonate;
|
|
1658
|
+
authentication: Record<string, string>;
|
|
1659
|
+
public: SessionPublic;
|
|
1660
|
+
};
|
|
1661
1661
|
}
|
|
1662
1662
|
|
|
1663
1663
|
export interface SessionProfile {
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1664
|
+
id?: { value: string };
|
|
1665
|
+
email?: { value: string };
|
|
1666
|
+
firstName?: { value: string };
|
|
1667
|
+
lastName?: { value: string };
|
|
1668
|
+
phone?: { value: string };
|
|
1669
|
+
isAuthenticated?: { value: string };
|
|
1670
|
+
priceTables?: { value: string };
|
|
1671
1671
|
}
|
|
1672
1672
|
|
|
1673
1673
|
export interface SessionImpersonate {
|
|
1674
|
-
|
|
1675
|
-
|
|
1674
|
+
storeUserEmail?: { value: string };
|
|
1675
|
+
storeUserId?: { value: string };
|
|
1676
1676
|
}
|
|
1677
1677
|
|
|
1678
1678
|
export interface SessionPublic {
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1679
|
+
orderFormId?: { value: string };
|
|
1680
|
+
utm_source?: { value: string };
|
|
1681
|
+
utm_medium?: { value: string };
|
|
1682
|
+
utm_campaign?: { value: string };
|
|
1683
|
+
utm_term?: { value: string };
|
|
1684
|
+
utm_content?: { value: string };
|
|
1685
|
+
utmi_cp?: { value: string };
|
|
1686
|
+
utmi_pc?: { value: string };
|
|
1687
|
+
utmi_p?: { value: string };
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
1690
|
export interface ProfileCustomField {
|
|
1691
|
-
|
|
1692
|
-
|
|
1691
|
+
key?: Maybe<string>;
|
|
1692
|
+
value?: Maybe<string>;
|
|
1693
1693
|
}
|
|
1694
1694
|
|
|
1695
1695
|
export interface PaymentProfile {
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1696
|
+
cacheId?: Maybe<string>;
|
|
1697
|
+
id?: Maybe<string>;
|
|
1698
|
+
paymentSystem?: Maybe<string>;
|
|
1699
|
+
paymentSystemName?: Maybe<string>;
|
|
1700
|
+
cardNumber?: Maybe<string>;
|
|
1701
|
+
address?: Maybe<Address>;
|
|
1702
|
+
isExpired?: Maybe<boolean>;
|
|
1703
|
+
expirationDate?: Maybe<string>;
|
|
1704
|
+
accountStatus?: Maybe<string>;
|
|
1705
1705
|
}
|
|
1706
1706
|
|
|
1707
1707
|
export interface Profile {
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1708
|
+
cacheId?: Maybe<string>;
|
|
1709
|
+
firstName?: Maybe<string>;
|
|
1710
|
+
lastName?: Maybe<string>;
|
|
1711
|
+
profilePicture?: Maybe<string>;
|
|
1712
|
+
email?: Maybe<string>;
|
|
1713
|
+
document?: Maybe<string>;
|
|
1714
|
+
userId?: Maybe<string>;
|
|
1715
|
+
birthDate?: Maybe<string>;
|
|
1716
|
+
gender?: Maybe<string>;
|
|
1717
|
+
homePhone?: Maybe<string>;
|
|
1718
|
+
businessPhone?: Maybe<string>;
|
|
1719
|
+
addresses?: Maybe<Address[]>;
|
|
1720
|
+
isCorporate?: Maybe<boolean>;
|
|
1721
|
+
corporateName?: Maybe<string>;
|
|
1722
|
+
corporateDocument?: Maybe<string>;
|
|
1723
|
+
stateRegistration?: Maybe<string>;
|
|
1724
|
+
payments?: Maybe<PaymentProfile[]>;
|
|
1725
|
+
customFields?: Maybe<ProfileCustomField[]>;
|
|
1726
|
+
passwordLastUpdate?: Maybe<string>;
|
|
1727
|
+
pii?: Maybe<boolean>;
|
|
1728
|
+
tradeName?: Maybe<string>;
|
|
1729
1729
|
}
|
|
1730
1730
|
|
|
1731
1731
|
export interface ProfileInput {
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1732
|
+
email: string;
|
|
1733
|
+
firstName?: Maybe<string>;
|
|
1734
|
+
lastName?: Maybe<string>;
|
|
1735
|
+
document?: Maybe<string>;
|
|
1736
|
+
phone?: Maybe<string>;
|
|
1737
|
+
birthDate?: Maybe<string>;
|
|
1738
|
+
gender?: Maybe<string>;
|
|
1739
|
+
homePhone?: Maybe<string>;
|
|
1740
|
+
businessPhone?: Maybe<string>;
|
|
1741
|
+
tradeName?: Maybe<string>;
|
|
1742
|
+
corporateName?: Maybe<string>;
|
|
1743
|
+
corporateDocument?: Maybe<string>;
|
|
1744
|
+
stateRegistration?: Maybe<string>;
|
|
1745
|
+
isCorporate?: Maybe<boolean>;
|
|
1746
1746
|
}
|
|
1747
1747
|
|
|
1748
1748
|
export interface AuthResponse {
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1749
|
+
authStatus: string | "WrongCredentials" | "BlockedUser" | "Success";
|
|
1750
|
+
promptMFA: boolean;
|
|
1751
|
+
clientToken: string | null;
|
|
1752
|
+
authCookie: {
|
|
1753
|
+
Name: string;
|
|
1754
|
+
Value: string;
|
|
1755
|
+
} | null;
|
|
1756
|
+
accountAuthCookie: {
|
|
1757
|
+
Name: string;
|
|
1758
|
+
Value: string;
|
|
1759
|
+
} | null;
|
|
1760
|
+
expiresIn: number;
|
|
1761
|
+
userId: string | null;
|
|
1762
|
+
phoneNumber: string | null;
|
|
1763
|
+
scope: string | null;
|
|
1764
1764
|
}
|
|
1765
1765
|
|
|
1766
1766
|
export interface AuthProvider {
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1767
|
+
providerName: string;
|
|
1768
|
+
className: string;
|
|
1769
|
+
expectedContext: unknown[];
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
1772
1772
|
export interface StartAuthentication {
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1773
|
+
authenticationToken: string | null;
|
|
1774
|
+
oauthProviders: AuthProvider[];
|
|
1775
|
+
showClassicAuthentication: boolean;
|
|
1776
|
+
showAccessKeyAuthentication: boolean;
|
|
1777
|
+
showPasskeyAuthentication: boolean;
|
|
1778
|
+
authCookie: string | null;
|
|
1779
|
+
isAuthenticated: boolean;
|
|
1780
|
+
selectedProvider: string | null;
|
|
1781
|
+
samlProviders: unknown[];
|
|
1782
1782
|
}
|
|
1783
1783
|
|
|
1784
1784
|
export interface CanceledOrder {
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1785
|
+
date?: string;
|
|
1786
|
+
orderId?: string;
|
|
1787
|
+
receipt?: string | null;
|
|
1788
1788
|
}
|
|
1789
1789
|
|
|
1790
1790
|
export interface ReceiptData {
|
|
1791
|
-
|
|
1791
|
+
ReceiptCollection: Receipt[];
|
|
1792
1792
|
}
|
|
1793
1793
|
|
|
1794
1794
|
export interface Receipt {
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1795
|
+
ReceiptType: string;
|
|
1796
|
+
Date: string;
|
|
1797
|
+
ReceiptToken: string;
|
|
1798
|
+
Source: string;
|
|
1799
|
+
InvoiceNumber: string | null;
|
|
1800
|
+
TransactionId: string;
|
|
1801
|
+
MerchantName: string;
|
|
1802
|
+
SellerOrderId: string | null;
|
|
1803
|
+
ValueAsInt: number | null;
|
|
1804
1804
|
}
|
|
1805
1805
|
|
|
1806
1806
|
export interface CancellationData {
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1807
|
+
requestedByUser: boolean;
|
|
1808
|
+
reason: string;
|
|
1809
|
+
cancellationDate: string;
|
|
1810
|
+
cancellationRequestId: string;
|
|
1811
|
+
requestedBy: string | null;
|
|
1812
|
+
cancellationSource: string | null;
|
|
1813
1813
|
}
|
|
1814
1814
|
|
|
1815
1815
|
export interface OrderFormOrder {
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1816
|
+
sellers: Seller[];
|
|
1817
|
+
receiptData?: ReceiptData;
|
|
1818
|
+
sequence?: string;
|
|
1819
|
+
marketPlaceOrderId?: string;
|
|
1820
|
+
origin?: number;
|
|
1821
|
+
items: OrderFormItem[];
|
|
1822
|
+
giftRegistryData?: unknown;
|
|
1823
|
+
contextData?: unknown;
|
|
1824
|
+
marketPlaceOrderGroup?: string | null;
|
|
1825
|
+
marketplaceServicesEndpoint?: string | null;
|
|
1826
|
+
orderFormId?: string;
|
|
1827
|
+
affiliateId?: string;
|
|
1828
|
+
status?: string;
|
|
1829
|
+
callCenterOperator?: string;
|
|
1830
|
+
userProfileId?: string;
|
|
1831
|
+
creationVersion?: string;
|
|
1832
|
+
creationEnvironment?: string;
|
|
1833
|
+
lastChangeVersion?: string;
|
|
1834
|
+
workflowInstanceId?: string;
|
|
1835
|
+
workflowInstanceGroupId?: string | null;
|
|
1836
|
+
marketplacePaymentValue?: number | null;
|
|
1837
|
+
marketplacePaymentReferenceValue?: number | null;
|
|
1838
|
+
marketplace?: string | null;
|
|
1839
|
+
orderId: string;
|
|
1840
|
+
orderGroup: string;
|
|
1841
|
+
state: string;
|
|
1842
|
+
isCheckedIn: boolean;
|
|
1843
|
+
sellerOrderId: string;
|
|
1844
|
+
storeId?: string | null;
|
|
1845
|
+
checkedInPickupPointId?: string | null;
|
|
1846
|
+
value: number;
|
|
1847
|
+
totals: Total[];
|
|
1848
|
+
clientProfileData: ClientProfileData;
|
|
1849
|
+
ratesAndBenefitsData: RatesAndBenefitsData;
|
|
1850
|
+
shippingData: ShippingData;
|
|
1851
|
+
paymentData: PaymentData;
|
|
1852
|
+
clientPreferencesData: ClientPreferencesData;
|
|
1853
|
+
commercialConditionData?: unknown;
|
|
1854
|
+
marketingData?: MarketingData | null;
|
|
1855
|
+
storePreferencesData: StorePreferencesData;
|
|
1856
|
+
openTextField?: unknown;
|
|
1857
|
+
invoiceData?: unknown;
|
|
1858
|
+
itemMetadata: ItemMetadata;
|
|
1859
|
+
taxData?: unknown;
|
|
1860
|
+
customData?: unknown;
|
|
1861
|
+
hooksData?: unknown;
|
|
1862
|
+
changeData?: unknown;
|
|
1863
|
+
subscriptionData?: unknown;
|
|
1864
|
+
merchantContextData?: unknown;
|
|
1865
|
+
purchaseAgentData?: unknown;
|
|
1866
|
+
salesChannel: string;
|
|
1867
|
+
followUpEmail?: string;
|
|
1868
|
+
creationDate: string;
|
|
1869
|
+
lastChange: string;
|
|
1870
|
+
timeZoneCreationDate: string;
|
|
1871
|
+
timeZoneLastChange: string;
|
|
1872
|
+
isCompleted: boolean;
|
|
1873
|
+
hostName: string;
|
|
1874
|
+
merchantName?: string | null;
|
|
1875
|
+
userType?: string;
|
|
1876
|
+
roundingError?: number;
|
|
1877
|
+
allowEdition?: boolean;
|
|
1878
|
+
allowCancellation?: boolean;
|
|
1879
|
+
isUserDataVisible?: boolean;
|
|
1880
|
+
allowChangeSeller?: boolean;
|
|
1881
|
+
cancellationData?: CancellationData;
|
|
1882
|
+
orderFormCreationDate?: string;
|
|
1883
|
+
marketplaceRequestedCancellationWindow?: unknown;
|
|
1884
1884
|
}
|