@wayke-se/components-react 3.9.0-beta.6 → 4.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -72,58 +72,116 @@ declare module '@wayke-se/components-react/src/@types/codegen/types' {
72
72
  export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
73
73
  [SubKey in K]: Maybe<T[SubKey]>;
74
74
  };
75
+ export type MakeEmpty<T extends {
76
+ [key: string]: unknown;
77
+ }, K extends keyof T> = {
78
+ [_ in K]?: never;
79
+ };
80
+ export type Incremental<T> = T | {
81
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
82
+ };
75
83
  /** All built-in and custom scalars, mapped to their actual values */
76
84
  export type Scalars = {
77
- ID: string;
78
- String: string;
79
- Boolean: boolean;
80
- Int: number;
81
- Float: number;
82
- DateTime: Date;
83
- Email: string;
85
+ ID: {
86
+ input: string;
87
+ output: string;
88
+ };
89
+ String: {
90
+ input: string;
91
+ output: string;
92
+ };
93
+ Boolean: {
94
+ input: boolean;
95
+ output: boolean;
96
+ };
97
+ Int: {
98
+ input: number;
99
+ output: number;
100
+ };
101
+ Float: {
102
+ input: number;
103
+ output: number;
104
+ };
105
+ DateTime: {
106
+ input: Date;
107
+ output: Date;
108
+ };
109
+ Email: {
110
+ input: string;
111
+ output: string;
112
+ };
84
113
  FileDocument: {
85
- webp: string;
86
- category: string;
87
- contentType: string;
88
- name: string;
89
- url: string;
114
+ input: {
115
+ webp: string;
116
+ category: string;
117
+ contentType: string;
118
+ name: string;
119
+ url: string;
120
+ };
121
+ output: {
122
+ webp: string;
123
+ category: string;
124
+ contentType: string;
125
+ name: string;
126
+ url: string;
127
+ };
128
+ };
129
+ PersonalNumber: {
130
+ input: string;
131
+ output: string;
132
+ };
133
+ PhoneNumber: {
134
+ input: string;
135
+ output: string;
136
+ };
137
+ Time: {
138
+ input: string;
139
+ output: string;
140
+ };
141
+ URL: {
142
+ input: string;
143
+ output: string;
90
144
  };
91
- PersonalNumber: string;
92
- PhoneNumber: string;
93
- Time: string;
94
- URL: string;
95
145
  VehicleDataPropertyMap: {
96
- [key: string]: string | number | boolean;
146
+ input: {
147
+ [key: string]: string | number | boolean;
148
+ };
149
+ output: {
150
+ [key: string]: string | number | boolean;
151
+ };
152
+ };
153
+ VehicleDataPropertySet: {
154
+ input: any;
155
+ output: any;
97
156
  };
98
- VehicleDataPropertySet: any;
99
157
  };
100
158
  export type Accessory = {
101
159
  __typename?: 'Accessory';
102
- articleNumber?: Maybe<Scalars['String']>;
103
- assemblyPrice?: Maybe<Scalars['Float']>;
104
- description: Scalars['String'];
105
- excerpt: Scalars['String'];
106
- id: Scalars['ID'];
107
- images: Array<Scalars['String']>;
108
- logotype?: Maybe<Scalars['String']>;
109
- manufacturer?: Maybe<Scalars['String']>;
110
- model?: Maybe<Scalars['String']>;
111
- name: Scalars['String'];
112
- price: Scalars['Float'];
160
+ articleNumber?: Maybe<Scalars['String']['output']>;
161
+ assemblyPrice?: Maybe<Scalars['Float']['output']>;
162
+ description: Scalars['String']['output'];
163
+ excerpt: Scalars['String']['output'];
164
+ id: Scalars['ID']['output'];
165
+ images: Array<Scalars['String']['output']>;
166
+ logotype?: Maybe<Scalars['String']['output']>;
167
+ manufacturer?: Maybe<Scalars['String']['output']>;
168
+ model?: Maybe<Scalars['String']['output']>;
169
+ name: Scalars['String']['output'];
170
+ price: Scalars['Float']['output'];
113
171
  productPage?: Maybe<Link>;
114
- salePrice?: Maybe<Scalars['Float']>;
172
+ salePrice?: Maybe<Scalars['Float']['output']>;
115
173
  };
116
174
  export type Branch = {
117
175
  __typename?: 'Branch';
118
176
  connections: Array<BranchConnection>;
119
177
  contact?: Maybe<ContactOptions>;
120
- description?: Maybe<Scalars['String']>;
178
+ description?: Maybe<Scalars['String']['output']>;
121
179
  flags?: Maybe<BranchFlags>;
122
- homepage?: Maybe<Scalars['URL']>;
123
- id: Scalars['ID'];
180
+ homepage?: Maybe<Scalars['URL']['output']>;
181
+ id: Scalars['ID']['output'];
124
182
  location?: Maybe<Location>;
125
- logotype?: Maybe<Scalars['URL']>;
126
- name?: Maybe<Scalars['String']>;
183
+ logotype?: Maybe<Scalars['URL']['output']>;
184
+ name?: Maybe<Scalars['String']['output']>;
127
185
  openingHours?: Maybe<OpeningHours>;
128
186
  organization?: Maybe<Organization>;
129
187
  promos: Array<Promo>;
@@ -131,23 +189,23 @@ declare module '@wayke-se/components-react/src/@types/codegen/types' {
131
189
  };
132
190
  export type BranchConnection = {
133
191
  __typename?: 'BranchConnection';
134
- id: Scalars['ID'];
192
+ id: Scalars['ID']['output'];
135
193
  location?: Maybe<Location>;
136
- name?: Maybe<Scalars['String']>;
194
+ name?: Maybe<Scalars['String']['output']>;
137
195
  };
138
196
  export type BranchFlags = {
139
197
  __typename?: 'BranchFlags';
140
- authorizedReseller?: Maybe<Scalars['Boolean']>;
141
- centralStorage?: Maybe<Scalars['Boolean']>;
142
- ecommerce?: Maybe<Scalars['Boolean']>;
143
- mrf?: Maybe<Scalars['Boolean']>;
198
+ authorizedReseller?: Maybe<Scalars['Boolean']['output']>;
199
+ centralStorage?: Maybe<Scalars['Boolean']['output']>;
200
+ ecommerce?: Maybe<Scalars['Boolean']['output']>;
201
+ mrf?: Maybe<Scalars['Boolean']['output']>;
144
202
  };
145
203
  export type ContactOptions = {
146
204
  __typename?: 'ContactOptions';
147
- avatar?: Maybe<Scalars['URL']>;
148
- email?: Maybe<Scalars['Email']>;
149
- name?: Maybe<Scalars['String']>;
150
- phonenumber?: Maybe<Scalars['PhoneNumber']>;
205
+ avatar?: Maybe<Scalars['URL']['output']>;
206
+ email?: Maybe<Scalars['Email']['output']>;
207
+ name?: Maybe<Scalars['String']['output']>;
208
+ phonenumber?: Maybe<Scalars['PhoneNumber']['output']>;
151
209
  };
152
210
  export enum DrivingDistance {
153
211
  Between0And1000 = "BETWEEN0AND1000",
@@ -158,43 +216,43 @@ declare module '@wayke-se/components-react/src/@types/codegen/types' {
158
216
  }
159
217
  export type Ecommerce = {
160
218
  __typename?: 'Ecommerce';
161
- enabled?: Maybe<Scalars['Boolean']>;
162
- reserved?: Maybe<Scalars['Boolean']>;
163
- withHomeDelivery?: Maybe<Scalars['Boolean']>;
164
- withTradeIn?: Maybe<Scalars['Boolean']>;
219
+ enabled?: Maybe<Scalars['Boolean']['output']>;
220
+ reserved?: Maybe<Scalars['Boolean']['output']>;
221
+ withHomeDelivery?: Maybe<Scalars['Boolean']['output']>;
222
+ withTradeIn?: Maybe<Scalars['Boolean']['output']>;
165
223
  };
166
224
  export type FinancialOption = {
167
225
  __typename?: 'FinancialOption';
168
- administrationFee?: Maybe<Scalars['Float']>;
169
- description?: Maybe<Scalars['String']>;
226
+ administrationFee?: Maybe<Scalars['Float']['output']>;
227
+ description?: Maybe<Scalars['String']['output']>;
170
228
  downPayment?: Maybe<FinancialOptionDetail>;
171
229
  duration?: Maybe<FinancialOptionDetail>;
172
- effectiveInterest?: Maybe<Scalars['Float']>;
173
- identifier?: Maybe<Scalars['String']>;
174
- image?: Maybe<Scalars['URL']>;
230
+ effectiveInterest?: Maybe<Scalars['Float']['output']>;
231
+ identifier?: Maybe<Scalars['String']['output']>;
232
+ image?: Maybe<Scalars['URL']['output']>;
175
233
  includes: Array<FinancialOptionInclusion>;
176
- interest?: Maybe<Scalars['Float']>;
234
+ interest?: Maybe<Scalars['Float']['output']>;
177
235
  link?: Maybe<Link>;
178
- loanAmount?: Maybe<Scalars['Float']>;
179
- logotype?: Maybe<Scalars['URL']>;
236
+ loanAmount?: Maybe<Scalars['Float']['output']>;
237
+ logotype?: Maybe<Scalars['URL']['output']>;
180
238
  mileage?: Maybe<FinancialOptionDetail>;
181
- monthlyCost?: Maybe<Scalars['Float']>;
182
- name?: Maybe<Scalars['String']>;
239
+ monthlyCost?: Maybe<Scalars['Float']['output']>;
240
+ name?: Maybe<Scalars['String']['output']>;
183
241
  residual?: Maybe<FinancialOptionDetail>;
184
- setupFee?: Maybe<Scalars['Float']>;
185
- terms?: Maybe<Scalars['URL']>;
186
- totalCreditCost?: Maybe<Scalars['Float']>;
187
- totalResidualValue?: Maybe<Scalars['Float']>;
188
- type: Scalars['String'];
189
- url?: Maybe<Scalars['URL']>;
242
+ setupFee?: Maybe<Scalars['Float']['output']>;
243
+ terms?: Maybe<Scalars['URL']['output']>;
244
+ totalCreditCost?: Maybe<Scalars['Float']['output']>;
245
+ totalResidualValue?: Maybe<Scalars['Float']['output']>;
246
+ type: Scalars['String']['output'];
247
+ url?: Maybe<Scalars['URL']['output']>;
190
248
  };
191
249
  export type FinancialOptionDetail = {
192
250
  __typename?: 'FinancialOptionDetail';
193
- current: Scalars['Float'];
194
- default: Scalars['Float'];
195
- max: Scalars['Float'];
196
- min: Scalars['Float'];
197
- step: Scalars['Float'];
251
+ current: Scalars['Float']['output'];
252
+ default: Scalars['Float']['output'];
253
+ max: Scalars['Float']['output'];
254
+ min: Scalars['Float']['output'];
255
+ step: Scalars['Float']['output'];
198
256
  };
199
257
  export enum FinancialOptionInclusion {
200
258
  IncludesInsurance = "INCLUDES_INSURANCE",
@@ -203,96 +261,96 @@ declare module '@wayke-se/components-react/src/@types/codegen/types' {
203
261
  }
204
262
  export type HoursOpen = {
205
263
  __typename?: 'HoursOpen';
206
- from?: Maybe<Scalars['Time']>;
207
- until?: Maybe<Scalars['Time']>;
264
+ from?: Maybe<Scalars['Time']['output']>;
265
+ until?: Maybe<Scalars['Time']['output']>;
208
266
  };
209
267
  export type Insurance = {
210
268
  __typename?: 'Insurance';
211
269
  addons: Array<InsuranceAddon>;
212
- description: Scalars['String'];
270
+ description: Scalars['String']['output'];
213
271
  items: Array<InsuranceItem>;
214
272
  legality?: Maybe<InsuranceLegality>;
215
- logotype?: Maybe<Scalars['URL']>;
216
- name: Scalars['String'];
217
- price: Scalars['Float'];
218
- terms?: Maybe<Scalars['URL']>;
219
- unit: Scalars['String'];
220
- url?: Maybe<Scalars['URL']>;
273
+ logotype?: Maybe<Scalars['URL']['output']>;
274
+ name: Scalars['String']['output'];
275
+ price: Scalars['Float']['output'];
276
+ terms?: Maybe<Scalars['URL']['output']>;
277
+ unit: Scalars['String']['output'];
278
+ url?: Maybe<Scalars['URL']['output']>;
221
279
  };
222
280
  export type InsuranceAddon = {
223
281
  __typename?: 'InsuranceAddon';
224
- description?: Maybe<Scalars['String']>;
225
- exclusions: Array<Scalars['String']>;
226
- id: Scalars['ID'];
227
- price: Scalars['Float'];
228
- title?: Maybe<Scalars['String']>;
229
- unit: Scalars['String'];
282
+ description?: Maybe<Scalars['String']['output']>;
283
+ exclusions: Array<Scalars['String']['output']>;
284
+ id: Scalars['ID']['output'];
285
+ price: Scalars['Float']['output'];
286
+ title?: Maybe<Scalars['String']['output']>;
287
+ unit: Scalars['String']['output'];
230
288
  };
231
289
  export type InsuranceItem = {
232
290
  __typename?: 'InsuranceItem';
233
- description?: Maybe<Scalars['String']>;
234
- name?: Maybe<Scalars['String']>;
291
+ description?: Maybe<Scalars['String']['output']>;
292
+ name?: Maybe<Scalars['String']['output']>;
235
293
  };
236
294
  export type InsuranceLegality = {
237
295
  __typename?: 'InsuranceLegality';
238
- description?: Maybe<Scalars['String']>;
239
- url?: Maybe<Scalars['URL']>;
296
+ description?: Maybe<Scalars['String']['output']>;
297
+ url?: Maybe<Scalars['URL']['output']>;
240
298
  };
241
299
  export type InsuranceOption = {
242
300
  __typename?: 'InsuranceOption';
243
- description?: Maybe<Scalars['String']>;
244
- identifier?: Maybe<Scalars['String']>;
245
- institute?: Maybe<Scalars['String']>;
246
- insuranceHeader?: Maybe<Scalars['String']>;
247
- insuranceText?: Maybe<Scalars['String']>;
248
- logotype?: Maybe<Scalars['URL']>;
249
- longDescription?: Maybe<Scalars['String']>;
250
- name?: Maybe<Scalars['String']>;
251
- requiresDistance?: Maybe<Scalars['Boolean']>;
252
- requiresPersonalNumber?: Maybe<Scalars['Boolean']>;
301
+ description?: Maybe<Scalars['String']['output']>;
302
+ identifier?: Maybe<Scalars['String']['output']>;
303
+ institute?: Maybe<Scalars['String']['output']>;
304
+ insuranceHeader?: Maybe<Scalars['String']['output']>;
305
+ insuranceText?: Maybe<Scalars['String']['output']>;
306
+ logotype?: Maybe<Scalars['URL']['output']>;
307
+ longDescription?: Maybe<Scalars['String']['output']>;
308
+ name?: Maybe<Scalars['String']['output']>;
309
+ requiresDistance?: Maybe<Scalars['Boolean']['output']>;
310
+ requiresPersonalNumber?: Maybe<Scalars['Boolean']['output']>;
253
311
  /** @deprecated No longer supported */
254
- terms?: Maybe<Scalars['URL']>;
255
- url?: Maybe<Scalars['URL']>;
312
+ terms?: Maybe<Scalars['URL']['output']>;
313
+ url?: Maybe<Scalars['URL']['output']>;
256
314
  };
257
315
  export type Link = {
258
316
  __typename?: 'Link';
259
- title?: Maybe<Scalars['String']>;
260
- url?: Maybe<Scalars['URL']>;
317
+ title?: Maybe<Scalars['String']['output']>;
318
+ url?: Maybe<Scalars['URL']['output']>;
261
319
  };
262
320
  export type Location = {
263
321
  __typename?: 'Location';
264
- city?: Maybe<Scalars['String']>;
265
- county?: Maybe<Scalars['String']>;
322
+ city?: Maybe<Scalars['String']['output']>;
323
+ county?: Maybe<Scalars['String']['output']>;
266
324
  position?: Maybe<Position>;
267
- postalCode?: Maybe<Scalars['String']>;
268
- streetAddress?: Maybe<Scalars['String']>;
325
+ postalCode?: Maybe<Scalars['String']['output']>;
326
+ streetAddress?: Maybe<Scalars['String']['output']>;
269
327
  };
270
328
  export type Manufacturer = {
271
329
  __typename?: 'Manufacturer';
272
- description?: Maybe<Scalars['String']>;
273
- logotype?: Maybe<Scalars['URL']>;
274
- name: Scalars['String'];
330
+ description?: Maybe<Scalars['String']['output']>;
331
+ logotype?: Maybe<Scalars['URL']['output']>;
332
+ name: Scalars['String']['output'];
275
333
  packageOption?: Maybe<PackageOption>;
276
334
  };
277
335
  export type Media = {
278
336
  __typename?: 'Media';
279
337
  files: Array<MediaFile>;
280
- type: Scalars['String'];
338
+ type: Scalars['String']['output'];
281
339
  };
282
340
  export type MediaFile = {
283
341
  __typename?: 'MediaFile';
284
342
  formats: Array<Maybe<MediaFileFormat>>;
285
- url: Scalars['URL'];
343
+ url: Scalars['URL']['output'];
286
344
  };
287
345
  export type MediaFileFormat = {
288
346
  __typename?: 'MediaFileFormat';
289
- format: Scalars['String'];
290
- url: Scalars['URL'];
347
+ format: Scalars['String']['output'];
348
+ url: Scalars['URL']['output'];
291
349
  };
292
350
  export type OdometerReading = {
293
351
  __typename?: 'OdometerReading';
294
- unit: Scalars['String'];
295
- value: Scalars['Int'];
352
+ unit: Scalars['String']['output'];
353
+ value: Scalars['Int']['output'];
296
354
  };
297
355
  export type OpeningHours = {
298
356
  __typename?: 'OpeningHours';
@@ -308,32 +366,32 @@ declare module '@wayke-se/components-react/src/@types/codegen/types' {
308
366
  __typename?: 'Organization';
309
367
  branches: Array<Maybe<Branch>>;
310
368
  contact?: Maybe<ContactOptions>;
311
- description?: Maybe<Scalars['String']>;
369
+ description?: Maybe<Scalars['String']['output']>;
312
370
  flags?: Maybe<BranchFlags>;
313
- homepage?: Maybe<Scalars['URL']>;
314
- id: Scalars['ID'];
315
- logotype?: Maybe<Scalars['URL']>;
316
- name?: Maybe<Scalars['String']>;
371
+ homepage?: Maybe<Scalars['URL']['output']>;
372
+ id: Scalars['ID']['output'];
373
+ logotype?: Maybe<Scalars['URL']['output']>;
374
+ name?: Maybe<Scalars['String']['output']>;
317
375
  parent?: Maybe<Branch>;
318
376
  };
319
377
  export type PackageOption = {
320
378
  __typename?: 'PackageOption';
321
- description?: Maybe<Scalars['String']>;
322
- image?: Maybe<Scalars['URL']>;
379
+ description?: Maybe<Scalars['String']['output']>;
380
+ image?: Maybe<Scalars['URL']['output']>;
323
381
  link?: Maybe<Link>;
324
- title?: Maybe<Scalars['String']>;
382
+ title?: Maybe<Scalars['String']['output']>;
325
383
  };
326
384
  export type Position = {
327
385
  __typename?: 'Position';
328
- latitude?: Maybe<Scalars['Float']>;
329
- longitude?: Maybe<Scalars['Float']>;
386
+ latitude?: Maybe<Scalars['Float']['output']>;
387
+ longitude?: Maybe<Scalars['Float']['output']>;
330
388
  };
331
389
  export type Promo = {
332
390
  __typename?: 'Promo';
333
- description?: Maybe<Scalars['String']>;
334
- image?: Maybe<Scalars['URL']>;
391
+ description?: Maybe<Scalars['String']['output']>;
392
+ image?: Maybe<Scalars['URL']['output']>;
335
393
  link?: Maybe<Link>;
336
- title?: Maybe<Scalars['String']>;
394
+ title?: Maybe<Scalars['String']['output']>;
337
395
  };
338
396
  export type Query = {
339
397
  __typename?: 'Query';
@@ -343,96 +401,96 @@ declare module '@wayke-se/components-react/src/@types/codegen/types' {
343
401
  vehicle?: Maybe<Vehicle>;
344
402
  };
345
403
  export type QueryBranchArgs = {
346
- id: Scalars['ID'];
404
+ id: Scalars['ID']['input'];
347
405
  };
348
406
  export type QueryInsurancesArgs = {
349
- branch?: InputMaybe<Scalars['ID']>;
407
+ branch?: InputMaybe<Scalars['ID']['input']>;
350
408
  drivingDistance: DrivingDistance;
351
- id: Scalars['ID'];
352
- personalNumber: Scalars['PersonalNumber'];
409
+ id: Scalars['ID']['input'];
410
+ personalNumber: Scalars['PersonalNumber']['input'];
353
411
  };
354
412
  export type QueryLoanArgs = {
355
- branch?: InputMaybe<Scalars['ID']>;
356
- downPayment: Scalars['Int'];
357
- duration: Scalars['Int'];
358
- id: Scalars['ID'];
359
- residual: Scalars['Float'];
413
+ branch?: InputMaybe<Scalars['ID']['input']>;
414
+ downPayment: Scalars['Int']['input'];
415
+ duration: Scalars['Int']['input'];
416
+ id: Scalars['ID']['input'];
417
+ residual: Scalars['Float']['input'];
360
418
  };
361
419
  export type QueryVehicleArgs = {
362
- branch?: InputMaybe<Scalars['ID']>;
363
- id: Scalars['ID'];
420
+ branch?: InputMaybe<Scalars['ID']['input']>;
421
+ id: Scalars['ID']['input'];
364
422
  };
365
423
  export type SafetyOption = {
366
424
  __typename?: 'SafetyOption';
367
- content?: Maybe<Scalars['String']>;
368
- image?: Maybe<Scalars['URL']>;
369
- name?: Maybe<Scalars['String']>;
370
- title?: Maybe<Scalars['String']>;
425
+ content?: Maybe<Scalars['String']['output']>;
426
+ image?: Maybe<Scalars['URL']['output']>;
427
+ name?: Maybe<Scalars['String']['output']>;
428
+ title?: Maybe<Scalars['String']['output']>;
371
429
  };
372
430
  export type Service = {
373
431
  __typename?: 'Service';
374
- markdown?: Maybe<Scalars['String']>;
375
- title?: Maybe<Scalars['String']>;
432
+ markdown?: Maybe<Scalars['String']['output']>;
433
+ title?: Maybe<Scalars['String']['output']>;
376
434
  };
377
435
  export type Vehicle = {
378
436
  __typename?: 'Vehicle';
379
437
  accessories: Array<Accessory>;
380
- availableFrom?: Maybe<Scalars['DateTime']>;
438
+ availableFrom?: Maybe<Scalars['DateTime']['output']>;
381
439
  branch?: Maybe<Branch>;
382
440
  contact?: Maybe<ContactOptions>;
383
441
  data: VehicleData;
384
- description?: Maybe<Scalars['String']>;
385
- discount?: Maybe<Scalars['Float']>;
386
- documents: Array<Scalars['FileDocument']>;
442
+ description?: Maybe<Scalars['String']['output']>;
443
+ discount?: Maybe<Scalars['Float']['output']>;
444
+ documents: Array<Scalars['FileDocument']['output']>;
387
445
  ecommerce?: Maybe<Ecommerce>;
388
446
  financialOptions: Array<FinancialOption>;
389
447
  flags?: Maybe<VehicleFlags>;
390
- id: Scalars['ID'];
448
+ id: Scalars['ID']['output'];
391
449
  insuranceOptions: Array<InsuranceOption>;
392
450
  location?: Maybe<Location>;
393
451
  manufacturer?: Maybe<Manufacturer>;
394
452
  media: Array<Media>;
395
453
  packageOptions: Array<PackageOption>;
396
- price: Scalars['Float'];
397
- publishedAt?: Maybe<Scalars['DateTime']>;
454
+ price: Scalars['Float']['output'];
455
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
398
456
  safety: Array<SafetyOption>;
399
- shortDescription?: Maybe<Scalars['String']>;
400
- title: Scalars['String'];
457
+ shortDescription?: Maybe<Scalars['String']['output']>;
458
+ title: Scalars['String']['output'];
401
459
  };
402
460
  export type VehicleData = {
403
461
  __typename?: 'VehicleData';
404
- enginePower?: Maybe<Scalars['Float']>;
405
- equipmentLevel?: Maybe<Scalars['String']>;
406
- fuelType?: Maybe<Scalars['String']>;
407
- gearbox?: Maybe<Scalars['String']>;
408
- gearboxType?: Maybe<Scalars['String']>;
409
- manufactureYear: Scalars['Int'];
410
- manufacturer: Scalars['String'];
411
- mileage: Scalars['Int'];
412
- modelName?: Maybe<Scalars['String']>;
413
- modelSeries?: Maybe<Scalars['String']>;
414
- modelYear: Scalars['Int'];
462
+ enginePower?: Maybe<Scalars['Float']['output']>;
463
+ equipmentLevel?: Maybe<Scalars['String']['output']>;
464
+ fuelType?: Maybe<Scalars['String']['output']>;
465
+ gearbox?: Maybe<Scalars['String']['output']>;
466
+ gearboxType?: Maybe<Scalars['String']['output']>;
467
+ manufactureYear: Scalars['Int']['output'];
468
+ manufacturer: Scalars['String']['output'];
469
+ mileage: Scalars['Int']['output'];
470
+ modelName?: Maybe<Scalars['String']['output']>;
471
+ modelSeries?: Maybe<Scalars['String']['output']>;
472
+ modelYear: Scalars['Int']['output'];
415
473
  odometerReading?: Maybe<OdometerReading>;
416
- options: Array<Scalars['String']>;
417
- properties?: Maybe<Scalars['VehicleDataPropertyMap']>;
418
- propertySet?: Maybe<Scalars['VehicleDataPropertySet']>;
419
- registrationNumber?: Maybe<Scalars['String']>;
420
- salesName?: Maybe<Scalars['String']>;
421
- vin?: Maybe<Scalars['String']>;
474
+ options: Array<Scalars['String']['output']>;
475
+ properties?: Maybe<Scalars['VehicleDataPropertyMap']['output']>;
476
+ propertySet?: Maybe<Scalars['VehicleDataPropertySet']['output']>;
477
+ registrationNumber?: Maybe<Scalars['String']['output']>;
478
+ salesName?: Maybe<Scalars['String']['output']>;
479
+ vin?: Maybe<Scalars['String']['output']>;
422
480
  };
423
481
  export type VehicleDataPropertySetArgs = {
424
- category?: InputMaybe<Scalars['String']>;
425
- properties?: InputMaybe<Array<Scalars['String']>>;
482
+ category?: InputMaybe<Scalars['String']['input']>;
483
+ properties?: InputMaybe<Array<Scalars['String']['input']>>;
426
484
  };
427
485
  export type VehicleFlags = {
428
486
  __typename?: 'VehicleFlags';
429
- auction?: Maybe<Scalars['Boolean']>;
430
- demoVersion?: Maybe<Scalars['Boolean']>;
431
- testDrive?: Maybe<Scalars['Boolean']>;
487
+ auction?: Maybe<Scalars['Boolean']['output']>;
488
+ demoVersion?: Maybe<Scalars['Boolean']['output']>;
489
+ testDrive?: Maybe<Scalars['Boolean']['output']>;
432
490
  };
433
491
  export type _Service = {
434
492
  __typename?: '_Service';
435
- sdl: Scalars['String'];
493
+ sdl: Scalars['String']['output'];
436
494
  };
437
495
 
438
496
  }
@@ -471,6 +529,8 @@ declare module '@wayke-se/components-react/src/@types/search' {
471
529
  format: string;
472
530
  id: string;
473
531
  url: string;
532
+ webp: string;
533
+ jpeg: string;
474
534
  }
475
535
  export interface File {
476
536
  formats: Format[];
@@ -1184,11 +1244,11 @@ declare module '@wayke-se/components-react/src/components/DocumentList/index' {
1184
1244
  import React from 'react';
1185
1245
  import { Scalars } from '@wayke-se/components-react/src/@types/codegen/types';
1186
1246
  interface PdfDownloadItemProps {
1187
- document: Scalars['FileDocument'];
1247
+ document: Scalars['FileDocument']['input'];
1188
1248
  }
1189
1249
  export const PdfDownloadItem: ({ document }: PdfDownloadItemProps) => React.JSX.Element;
1190
1250
  interface IDocumentList {
1191
- documents: Scalars['FileDocument'][];
1251
+ documents: Scalars['FileDocument']['input'][];
1192
1252
  }
1193
1253
  export const DocumentList: ({ documents }: IDocumentList) => React.JSX.Element;
1194
1254
  export default DocumentList;
@@ -2043,11 +2103,12 @@ declare module '@wayke-se/components-react/src/components/PriceTable/wrapper' {
2043
2103
  declare module '@wayke-se/components-react/src/components/ProductCard/index' {
2044
2104
  import React from 'react';
2045
2105
  import { ItemProps } from '@wayke-se/components-react/src/components/UspList/index';
2106
+ import { File } from '@wayke-se/components-react/src/@types/search';
2046
2107
  interface Props {
2047
2108
  id: string;
2048
2109
  title: string;
2049
2110
  href?: string;
2050
- image?: string;
2111
+ imageFile?: File;
2051
2112
  pathRoute?: string;
2052
2113
  placeholderImage?: string;
2053
2114
  description?: string;
@@ -2059,7 +2120,7 @@ declare module '@wayke-se/components-react/src/components/ProductCard/index' {
2059
2120
  businessLeasingPrice?: string;
2060
2121
  onClick?: (id: string) => void;
2061
2122
  }
2062
- const ProductCard: ({ id, title, href, image, pathRoute, placeholderImage, branchName, description, uspList, price, oldPrice, leasingPrice, businessLeasingPrice, onClick, }: Props) => React.JSX.Element;
2123
+ const ProductCard: ({ id, title, href, imageFile, pathRoute, placeholderImage, branchName, description, uspList, price, oldPrice, leasingPrice, businessLeasingPrice, onClick, }: Props) => React.JSX.Element;
2063
2124
  export default ProductCard;
2064
2125
 
2065
2126
  }
@@ -2773,20 +2834,14 @@ declare module '@wayke-se/components-react/src/hooks/useVimeoThumbnail' {
2773
2834
 
2774
2835
  }
2775
2836
  declare module '@wayke-se/components-react/src/index' {
2776
- import WaykeSearch from '@wayke-se/components-react/src/layouts/search/index';
2777
- import type { WaykeSearchProps } from '@wayke-se/components-react/src/layouts/search/index';
2778
- import WaykeSearchItem from '@wayke-se/components-react/src/layouts/searchItem/index';
2779
- import type { WaykeSearchItemProps } from '@wayke-se/components-react/src/layouts/searchItem/index';
2780
- import WaykeProvider from '@wayke-se/components-react/src/providers/WaykeProvider';
2781
- import type { WaykeProviderSettings } from '@wayke-se/components-react/src/providers/WaykeProvider';
2782
- import WaykeComposite from '@wayke-se/components-react/src/layouts/WaykeCompositeWithProvider';
2783
- import type { WaykeCompositeWithProviderProps } from '@wayke-se/components-react/src/layouts/WaykeCompositeWithProvider';
2837
+ import WaykeSearch, { WaykeSearchProps } from '@wayke-se/components-react/src/layouts/search/index';
2838
+ import WaykeSearchItem, { WaykeSearchItemProps } from '@wayke-se/components-react/src/layouts/searchItem/index';
2839
+ import WaykeProvider, { WaykeProviderSettings } from '@wayke-se/components-react/src/providers/WaykeProvider';
2840
+ import WaykeComposite, { WaykeCompositeWithProviderProps } from '@wayke-se/components-react/src/layouts/WaykeCompositeWithProvider';
2784
2841
  import SearchBar from '@wayke-se/components-react/src/components/SearchBar/index';
2785
2842
  import WaykeThemeProvider from '@wayke-se/components-react/src/providers/themeProvider';
2786
- import WaykeItemProvider from '@wayke-se/components-react/src/providers/WaykeItemProvidet';
2787
- import type { WaykeItemProviderSettings } from '@wayke-se/components-react/src/providers/WaykeItemProvidet';
2788
- import WaykePubSub from '@wayke-se/components-react/src/utils/pubsub/pubsub';
2789
- import type { EventSubscriptions } from '@wayke-se/components-react/src/utils/pubsub/pubsub';
2843
+ import WaykeItemProvider, { WaykeItemProviderSettings } from '@wayke-se/components-react/src/providers/WaykeItemProvidet';
2844
+ import WaykePubSub, { EventSubscriptions } from '@wayke-se/components-react/src/utils/pubsub/pubsub';
2790
2845
  import type { SearchFilterTypes, SearchFilterNameTypes } from '@wayke-se/components-react/src/@types/filter';
2791
2846
  import type { EventHashRouteChange, EventItemClicked, EventEcomOnInit, EventEcomOnUser, EventEcomOnExit, EventImagesClick, EventOptionsClick, EventPhonenumberVisible, EventPhonenumberCall, EventMailVisible, EventInsuranceInterest, EventFinanceInterest, EventAll, EventType, EventNames, CallbackHashRouteChange, CallbackEventItemClicked, CallbackEcomOnUserEvent, CallbackEmpty } from '@wayke-se/components-react/src/utils/pubsub/Events';
2792
2847
  export { WaykeProvider, WaykeItemProvider, WaykeSearch, WaykeSearchItem, SearchBar, WaykeThemeProvider, WaykeItemProviderSettings, WaykePubSub, WaykeCompositeWithProviderProps, WaykeProviderSettings, WaykeSearchProps, WaykeSearchItemProps, SearchFilterTypes, SearchFilterNameTypes, EventSubscriptions, EventHashRouteChange, EventItemClicked, EventEcomOnInit, EventEcomOnUser, EventEcomOnExit, EventImagesClick, EventOptionsClick, EventPhonenumberVisible, EventPhonenumberCall, EventMailVisible, EventInsuranceInterest, EventFinanceInterest, EventAll, EventType, EventNames, CallbackHashRouteChange, CallbackEventItemClicked, CallbackEcomOnUserEvent, CallbackEmpty, };
@@ -2972,7 +3027,7 @@ declare module '@wayke-se/components-react/src/layouts/searchItem/Documents' {
2972
3027
  import React from 'react';
2973
3028
  import { Scalars } from '@wayke-se/components-react/src/@types/codegen/types';
2974
3029
  interface DocumentsProps {
2975
- documents: Scalars['FileDocument'][];
3030
+ documents: Scalars['FileDocument']['input'][];
2976
3031
  }
2977
3032
  const Documents: ({ documents }: DocumentsProps) => React.JSX.Element | null;
2978
3033
  export default Documents;
@@ -3085,6 +3140,17 @@ declare module '@wayke-se/components-react/src/layouts/searchItem/index' {
3085
3140
  const WaykeSearchItem: ({ marketCode, id, hashRoute, pathRoute, disableResetScrollOnInit, placeholderImage, modifyDocumentTitleItem, displayBranchName, onClickSearchItem, }: WaykeSearchItemProps) => React.JSX.Element | null;
3086
3141
  export default WaykeSearchItem;
3087
3142
 
3143
+ }
3144
+ declare module '@wayke-se/components-react/src/layouts/searchItem/useEcom' {
3145
+ /// <reference types="react" />
3146
+ import { SettingsContextProps } from '@wayke-se/components-react/src/State/Settings/SettingsContext';
3147
+ interface EcomWeb {
3148
+ start: () => void;
3149
+ destroy: () => void;
3150
+ }
3151
+ function useEcom(id: string, ecomSettings: SettingsContextProps['ecomSettings']): import("react").MutableRefObject<EcomWeb | undefined>;
3152
+ export default useEcom;
3153
+
3088
3154
  }
3089
3155
  declare module '@wayke-se/components-react/src/providers/WaykeItemProvidet' {
3090
3156
  import React from 'react';
@@ -3178,6 +3244,7 @@ declare module '@wayke-se/components-react/src/queries/SEARCH_ITEM_QUERY' {
3178
3244
  }
3179
3245
  declare module '@wayke-se/components-react/src/utils/I18n' {
3180
3246
  import { MarketCode } from '@wayke-se/components-react/src/@types/market';
3247
+ export const i18nScoped: import("i18next").i18n;
3181
3248
  export const initializeI18n: (marketCode?: MarketCode) => Promise<unknown>;
3182
3249
 
3183
3250
  }
@@ -3270,20 +3337,6 @@ declare module '@wayke-se/components-react/src/utils/formats' {
3270
3337
  format: (value: string | Date, format: number) => string;
3271
3338
  };
3272
3339
 
3273
- }
3274
- declare module '@wayke-se/components-react/src/utils/metadata.min' {
3275
- const Metadata: {
3276
- version: string;
3277
- country_calling_codes: {
3278
- '46': string[];
3279
- };
3280
- countries: {
3281
- SE: (string | number | (string | number | string[])[][] | (number | (string | number[])[])[])[];
3282
- };
3283
- nonGeographic: {};
3284
- };
3285
- export default Metadata;
3286
-
3287
3340
  }
3288
3341
  declare module '@wayke-se/components-react/src/utils/phonenumbers' {
3289
3342
  export const formatPhonenumber: (text: string) => string;
@@ -3477,13 +3530,14 @@ declare module '@wayke-se/components-react/src/utils/vehicle-properties/compare-
3477
3530
 
3478
3531
  }
3479
3532
  declare module '@wayke-se/components-react/src/utils/vehicle-properties/custom-property-adder' {
3533
+ import { TFunction } from 'i18next';
3480
3534
  import { VehicleData } from '@wayke-se/components-react/src/@types/codegen/types';
3481
3535
  import { EnhancedProperty, ItemCategory } from '@wayke-se/components-react/src/@types/vehicle-properties';
3482
3536
  export const TEXT_TYPE = "text";
3483
3537
  export const NUMBER_TYPE = "number";
3484
- export const BASIC_CATEGORY: ItemCategory;
3485
- export const ENGINE_SUBCATEGORY: ItemCategory;
3486
- const _default: (item: VehicleData, properties: {
3538
+ export const BASIC_CATEGORY: (t: TFunction<'translation', undefined>) => ItemCategory;
3539
+ export const ENGINE_SUBCATEGORY: (t: TFunction<'translation', undefined>) => ItemCategory;
3540
+ const _default: (t: TFunction<'translation', undefined>, item: VehicleData, properties: {
3487
3541
  [key: string]: EnhancedProperty;
3488
3542
  }) => {
3489
3543
  [key: string]: EnhancedProperty;