@faststore/api 1.12.29 → 1.12.32
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/__generated__/schema.d.ts +0 -199
- package/dist/api.cjs.development.js +52 -152
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +52 -152
- package/dist/api.esm.js.map +1 -1
- package/dist/index.d.ts +0 -23
- package/dist/platforms/vtex/clients/commerce/index.d.ts +0 -2
- package/dist/platforms/vtex/clients/commerce/types/Simulation.d.ts +2 -2
- package/dist/platforms/vtex/clients/index.d.ts +0 -1
- package/dist/platforms/vtex/index.d.ts +0 -23
- package/dist/platforms/vtex/loaders/index.d.ts +1 -1
- package/dist/platforms/vtex/loaders/simulation.d.ts +2 -2
- package/dist/platforms/vtex/resolvers/query.d.ts +1 -18
- package/package.json +3 -3
- package/dist/platforms/vtex/clients/commerce/types/Address.d.ts +0 -16
- package/dist/platforms/vtex/resolvers/shippingSLA.d.ts +0 -14
|
@@ -81,43 +81,6 @@ export declare type Scalars = {
|
|
|
81
81
|
*/
|
|
82
82
|
VariantsByName: any;
|
|
83
83
|
};
|
|
84
|
-
/** Address information. */
|
|
85
|
-
export declare type Address = {
|
|
86
|
-
__typename?: 'Address';
|
|
87
|
-
/** Address city */
|
|
88
|
-
city?: Maybe<Scalars['String']>;
|
|
89
|
-
/** Address complement */
|
|
90
|
-
complement?: Maybe<Scalars['String']>;
|
|
91
|
-
/** Address country */
|
|
92
|
-
country?: Maybe<Scalars['String']>;
|
|
93
|
-
/** Address geoCoordinates */
|
|
94
|
-
geoCoordinates?: Maybe<Array<Maybe<Scalars['Float']>>>;
|
|
95
|
-
/** Address neighborhood */
|
|
96
|
-
neighborhood?: Maybe<Scalars['String']>;
|
|
97
|
-
/** Address number */
|
|
98
|
-
number?: Maybe<Scalars['String']>;
|
|
99
|
-
/** Address postal code */
|
|
100
|
-
postalCode?: Maybe<Scalars['String']>;
|
|
101
|
-
/** Address reference */
|
|
102
|
-
reference?: Maybe<Scalars['String']>;
|
|
103
|
-
/** Address state */
|
|
104
|
-
state?: Maybe<Scalars['String']>;
|
|
105
|
-
/** Address street */
|
|
106
|
-
street?: Maybe<Scalars['String']>;
|
|
107
|
-
};
|
|
108
|
-
export declare type DeliveryIds = {
|
|
109
|
-
__typename?: 'DeliveryIds';
|
|
110
|
-
/** DeliveryIds courier id */
|
|
111
|
-
courierId?: Maybe<Scalars['String']>;
|
|
112
|
-
/** DeliveryIds courier name */
|
|
113
|
-
courierName?: Maybe<Scalars['String']>;
|
|
114
|
-
/** DeliveryIds dock id */
|
|
115
|
-
dockId?: Maybe<Scalars['String']>;
|
|
116
|
-
/** DeliveryIds quantity */
|
|
117
|
-
quantity?: Maybe<Scalars['Int']>;
|
|
118
|
-
/** DeliveryIds warehouse id */
|
|
119
|
-
warehouseId?: Maybe<Scalars['String']>;
|
|
120
|
-
};
|
|
121
84
|
/** Person data input to the newsletter. */
|
|
122
85
|
export declare type IPersonNewsletter = {
|
|
123
86
|
/** Person's email. */
|
|
@@ -125,15 +88,6 @@ export declare type IPersonNewsletter = {
|
|
|
125
88
|
/** Person's name. */
|
|
126
89
|
name: Scalars['String'];
|
|
127
90
|
};
|
|
128
|
-
/** Shipping Simulation item input. */
|
|
129
|
-
export declare type IShippingItem = {
|
|
130
|
-
/** ShippingItem ID / Sku. */
|
|
131
|
-
id: Scalars['String'];
|
|
132
|
-
/** Number of items. */
|
|
133
|
-
quantity: Scalars['Int'];
|
|
134
|
-
/** Seller responsible for the ShippingItem. */
|
|
135
|
-
seller: Scalars['String'];
|
|
136
|
-
};
|
|
137
91
|
/** Shopping cart input. */
|
|
138
92
|
export declare type IStoreCart = {
|
|
139
93
|
/** Order information, including `orderNumber` and `acceptedOffer`. */
|
|
@@ -231,66 +185,6 @@ export declare type IStoreSession = {
|
|
|
231
185
|
/** Session input postal code. */
|
|
232
186
|
postalCode?: Maybe<Scalars['String']>;
|
|
233
187
|
};
|
|
234
|
-
export declare type LogisticsInfo = {
|
|
235
|
-
__typename?: 'LogisticsInfo';
|
|
236
|
-
/** LogisticsInfo itemIndex. */
|
|
237
|
-
itemIndex?: Maybe<Scalars['String']>;
|
|
238
|
-
/** LogisticsInfo selectedSla. */
|
|
239
|
-
selectedSla?: Maybe<Scalars['String']>;
|
|
240
|
-
/** List of LogisticsInfo ShippingSLA. */
|
|
241
|
-
slas?: Maybe<Array<Maybe<ShippingSla>>>;
|
|
242
|
-
};
|
|
243
|
-
/** Shipping Simulation Logistic Item. */
|
|
244
|
-
export declare type LogisticsItem = {
|
|
245
|
-
__typename?: 'LogisticsItem';
|
|
246
|
-
/** LogisticsItem availability. */
|
|
247
|
-
availability?: Maybe<Scalars['String']>;
|
|
248
|
-
/** LogisticsItem ID / Sku. */
|
|
249
|
-
id?: Maybe<Scalars['String']>;
|
|
250
|
-
/** LogisticsItem listPrice. */
|
|
251
|
-
listPrice?: Maybe<Scalars['Int']>;
|
|
252
|
-
/** LogisticsItem measurementUnit. */
|
|
253
|
-
measurementUnit?: Maybe<Scalars['String']>;
|
|
254
|
-
/** LogisticsItem price. */
|
|
255
|
-
price?: Maybe<Scalars['Int']>;
|
|
256
|
-
/** Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time. */
|
|
257
|
-
priceValidUntil?: Maybe<Scalars['String']>;
|
|
258
|
-
/** Number of items. */
|
|
259
|
-
quantity?: Maybe<Scalars['Int']>;
|
|
260
|
-
requestIndex?: Maybe<Scalars['Int']>;
|
|
261
|
-
/** LogisticsItem rewardValue. */
|
|
262
|
-
rewardValue?: Maybe<Scalars['Int']>;
|
|
263
|
-
/** Seller responsible for the ShippingItem. */
|
|
264
|
-
seller?: Maybe<Scalars['String']>;
|
|
265
|
-
/** List of Sellers. */
|
|
266
|
-
sellerChain?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
267
|
-
/** LogisticsItem sellingPrice. */
|
|
268
|
-
sellingPrice?: Maybe<Scalars['Int']>;
|
|
269
|
-
/** LogisticsItem tax. */
|
|
270
|
-
tax?: Maybe<Scalars['Int']>;
|
|
271
|
-
/** LogisticsItem unitMultiplier. */
|
|
272
|
-
unitMultiplier?: Maybe<Scalars['Int']>;
|
|
273
|
-
};
|
|
274
|
-
export declare type MessageFields = {
|
|
275
|
-
__typename?: 'MessageFields';
|
|
276
|
-
/** MessageFields ean. */
|
|
277
|
-
ean?: Maybe<Scalars['String']>;
|
|
278
|
-
/** MessageFields item index. */
|
|
279
|
-
itemIndex?: Maybe<Scalars['String']>;
|
|
280
|
-
/** MessageFields sku name. */
|
|
281
|
-
skuName?: Maybe<Scalars['String']>;
|
|
282
|
-
};
|
|
283
|
-
export declare type MessageInfo = {
|
|
284
|
-
__typename?: 'MessageInfo';
|
|
285
|
-
/** MessageInfo code. */
|
|
286
|
-
code?: Maybe<Scalars['String']>;
|
|
287
|
-
/** MessageInfo fields. */
|
|
288
|
-
fields?: Maybe<MessageFields>;
|
|
289
|
-
/** MessageInfo status. */
|
|
290
|
-
status?: Maybe<Scalars['String']>;
|
|
291
|
-
/** MessageInfo text. */
|
|
292
|
-
text?: Maybe<Scalars['String']>;
|
|
293
|
-
};
|
|
294
188
|
export declare type Mutation = {
|
|
295
189
|
__typename?: 'Mutation';
|
|
296
190
|
/** Subscribes a new person to the newsletter list. */
|
|
@@ -317,48 +211,6 @@ export declare type PersonNewsletter = {
|
|
|
317
211
|
/** Person's ID in the newsletter list. */
|
|
318
212
|
id: Scalars['String'];
|
|
319
213
|
};
|
|
320
|
-
export declare type PickupAddress = {
|
|
321
|
-
__typename?: 'PickupAddress';
|
|
322
|
-
/** PickupAddress address id. */
|
|
323
|
-
addressId?: Maybe<Scalars['String']>;
|
|
324
|
-
/** PickupAddress address type. */
|
|
325
|
-
addressType?: Maybe<Scalars['String']>;
|
|
326
|
-
/** PickupAddress city. */
|
|
327
|
-
city?: Maybe<Scalars['String']>;
|
|
328
|
-
/** PickupAddress complement. */
|
|
329
|
-
complement?: Maybe<Scalars['String']>;
|
|
330
|
-
/** PickupAddress country. */
|
|
331
|
-
country?: Maybe<Scalars['String']>;
|
|
332
|
-
/** PickupAddress geo coordinates. */
|
|
333
|
-
geoCoordinates?: Maybe<Array<Maybe<Scalars['Float']>>>;
|
|
334
|
-
/** PickupAddress neighborhood. */
|
|
335
|
-
neighborhood?: Maybe<Scalars['String']>;
|
|
336
|
-
/** PickupAddress number. */
|
|
337
|
-
number?: Maybe<Scalars['String']>;
|
|
338
|
-
/** PickupAddress postal code. */
|
|
339
|
-
postalCode?: Maybe<Scalars['String']>;
|
|
340
|
-
/** PickupAddress receiver name. */
|
|
341
|
-
receiverName?: Maybe<Scalars['String']>;
|
|
342
|
-
/** PickupAddress reference. */
|
|
343
|
-
reference?: Maybe<Scalars['String']>;
|
|
344
|
-
/** PickupAddress state. */
|
|
345
|
-
state?: Maybe<Scalars['String']>;
|
|
346
|
-
/** PickupAddress street. */
|
|
347
|
-
street?: Maybe<Scalars['String']>;
|
|
348
|
-
};
|
|
349
|
-
export declare type PickupStoreInfo = {
|
|
350
|
-
__typename?: 'PickupStoreInfo';
|
|
351
|
-
/** PickupStoreInfo additional information. */
|
|
352
|
-
additionalInfo?: Maybe<Scalars['String']>;
|
|
353
|
-
/** PickupStoreInfo address. */
|
|
354
|
-
address?: Maybe<PickupAddress>;
|
|
355
|
-
/** PickupStoreInfo dock id. */
|
|
356
|
-
dockId?: Maybe<Scalars['String']>;
|
|
357
|
-
/** PickupStoreInfo friendly name. */
|
|
358
|
-
friendlyName?: Maybe<Scalars['String']>;
|
|
359
|
-
/** Information if the store has pickup enable. */
|
|
360
|
-
isPickupStore?: Maybe<Scalars['Boolean']>;
|
|
361
|
-
};
|
|
362
214
|
export declare type Query = {
|
|
363
215
|
__typename?: 'Query';
|
|
364
216
|
/** Returns information about all collections. */
|
|
@@ -371,8 +223,6 @@ export declare type Query = {
|
|
|
371
223
|
product: StoreProduct;
|
|
372
224
|
/** Returns the result of a product, facet, or suggestion search. */
|
|
373
225
|
search: StoreSearchResult;
|
|
374
|
-
/** Returns information about shipping simulation. */
|
|
375
|
-
shipping?: Maybe<ShippingData>;
|
|
376
226
|
};
|
|
377
227
|
export declare type QueryAllCollectionsArgs = {
|
|
378
228
|
after?: Maybe<Scalars['String']>;
|
|
@@ -395,55 +245,6 @@ export declare type QuerySearchArgs = {
|
|
|
395
245
|
sort?: Maybe<StoreSort>;
|
|
396
246
|
term?: Maybe<Scalars['String']>;
|
|
397
247
|
};
|
|
398
|
-
export declare type QueryShippingArgs = {
|
|
399
|
-
country: Scalars['String'];
|
|
400
|
-
items: Array<IShippingItem>;
|
|
401
|
-
postalCode: Scalars['String'];
|
|
402
|
-
};
|
|
403
|
-
/** Shipping Simulation information. */
|
|
404
|
-
export declare type ShippingData = {
|
|
405
|
-
__typename?: 'ShippingData';
|
|
406
|
-
/** Address information. */
|
|
407
|
-
address?: Maybe<Address>;
|
|
408
|
-
/** List of LogisticsItem. */
|
|
409
|
-
items?: Maybe<Array<Maybe<LogisticsItem>>>;
|
|
410
|
-
/** List of LogisticsInfo. */
|
|
411
|
-
logisticsInfo?: Maybe<Array<Maybe<LogisticsInfo>>>;
|
|
412
|
-
/** List of MessageInfo. */
|
|
413
|
-
messages?: Maybe<Array<Maybe<MessageInfo>>>;
|
|
414
|
-
};
|
|
415
|
-
export declare type ShippingSla = {
|
|
416
|
-
__typename?: 'ShippingSLA';
|
|
417
|
-
/** ShippingSLA carrier. */
|
|
418
|
-
carrier?: Maybe<Scalars['String']>;
|
|
419
|
-
/** ShippingSLA delivery channel. */
|
|
420
|
-
deliveryChannel?: Maybe<Scalars['String']>;
|
|
421
|
-
/** List of ShippingSLA delivery ids. */
|
|
422
|
-
deliveryIds?: Maybe<Array<Maybe<DeliveryIds>>>;
|
|
423
|
-
/** ShippingSLA friendly name. */
|
|
424
|
-
friendlyName?: Maybe<Scalars['String']>;
|
|
425
|
-
/** ShippingSLA id. */
|
|
426
|
-
id?: Maybe<Scalars['String']>;
|
|
427
|
-
/**
|
|
428
|
-
* ShippingSLA localized shipping estimate.
|
|
429
|
-
* Note: this will always return a localized string for locale `en-US`.
|
|
430
|
-
*/
|
|
431
|
-
localizedEstimates?: Maybe<Scalars['String']>;
|
|
432
|
-
/** ShippingSLA name. */
|
|
433
|
-
name?: Maybe<Scalars['String']>;
|
|
434
|
-
/** ShippingSLA pickup distance. */
|
|
435
|
-
pickupDistance?: Maybe<Scalars['Float']>;
|
|
436
|
-
/** ShippingSLA pickup point id. */
|
|
437
|
-
pickupPointId?: Maybe<Scalars['String']>;
|
|
438
|
-
/** ShippingSLA pickup store info. */
|
|
439
|
-
pickupStoreInfo?: Maybe<PickupStoreInfo>;
|
|
440
|
-
/** ShippingSLA price. */
|
|
441
|
-
price?: Maybe<Scalars['Float']>;
|
|
442
|
-
/** ShippingSLA shipping estimate. */
|
|
443
|
-
shippingEstimate?: Maybe<Scalars['String']>;
|
|
444
|
-
/** ShippingSLA shipping estimate date. */
|
|
445
|
-
shippingEstimateDate?: Maybe<Scalars['String']>;
|
|
446
|
-
};
|
|
447
248
|
export declare type SkuVariants = {
|
|
448
249
|
__typename?: 'SkuVariants';
|
|
449
250
|
/** SKU property values for the current SKU. */
|