@wayke-se/ecom-web 1.8.5 → 2.0.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.
Files changed (180) hide show
  1. package/dist/@types/BaseAction.d.ts +3 -0
  2. package/dist/@types/CallbackOrder.d.ts +4 -0
  3. package/dist/@types/CreditAssessmentStatus.d.ts +17 -0
  4. package/dist/@types/Customer.d.ts +20 -0
  5. package/dist/@types/EcomSdkConfig.d.ts +6 -0
  6. package/dist/@types/Insurance.d.ts +5 -0
  7. package/dist/@types/MarketCode.d.ts +1 -0
  8. package/dist/@types/Navigation.d.ts +6 -0
  9. package/dist/@types/OrderOptions.d.ts +27 -0
  10. package/dist/@types/PaymentLookup.d.ts +19 -0
  11. package/dist/@types/PaymentOrderResponse.d.ts +99 -0
  12. package/dist/@types/Stages.d.ts +46 -0
  13. package/dist/@types/TradeIn.d.ts +17 -0
  14. package/dist/@types/Vehicle.d.ts +10 -0
  15. package/dist/@types/VehicleLookup.d.ts +4 -0
  16. package/dist/App.d.ts +38 -0
  17. package/dist/Components/Accordion/index.d.ts +14 -0
  18. package/dist/Components/BankId/BankIdSign.d.ts +29 -0
  19. package/dist/Components/BankId/BankIdSignQrCode.d.ts +11 -0
  20. package/dist/Components/BankId/BankIdSignSameDevice.d.ts +12 -0
  21. package/dist/Components/Button/Button.d.ts +17 -0
  22. package/dist/Components/Button/ButtonAddRemove.d.ts +18 -0
  23. package/dist/Components/Button/ButtonAlt.d.ts +17 -0
  24. package/dist/Components/Button/ButtonArrowRight.d.ts +17 -0
  25. package/dist/Components/Button/ButtonAsLink.d.ts +14 -0
  26. package/dist/Components/Button/ButtonAsLinkArrowLeft.d.ts +14 -0
  27. package/dist/Components/Button/ButtonBankId.d.ts +17 -0
  28. package/dist/Components/Button/ButtonClear.d.ts +12 -0
  29. package/dist/Components/Button/ButtonClose.d.ts +12 -0
  30. package/dist/Components/Button/ButtonSkip.d.ts +12 -0
  31. package/dist/Components/Button/ButtonSuccess.d.ts +17 -0
  32. package/dist/Components/Chart/PieChart.d.ts +11 -0
  33. package/dist/Components/Checklist/Checklist.d.ts +12 -0
  34. package/dist/Components/Disclaimer/Disclaimer.d.ts +10 -0
  35. package/dist/Components/Disclaimer/DisclaimerPadlock.d.ts +10 -0
  36. package/dist/Components/ErrorAlert/index.d.ts +12 -0
  37. package/dist/Components/Extension/HtmlNode.d.ts +16 -0
  38. package/dist/Components/Extension/StackNode.d.ts +5 -0
  39. package/dist/Components/Gallery/Arrow.d.ts +13 -0
  40. package/dist/Components/Gallery/Gallery.d.ts +21 -0
  41. package/dist/Components/Input/InputCheckbox.d.ts +21 -0
  42. package/dist/Components/Input/InputError.d.ts +13 -0
  43. package/dist/Components/Input/InputField.d.ts +30 -0
  44. package/dist/Components/Input/InputInformation.d.ts +13 -0
  45. package/dist/Components/Input/InputRadioField.d.ts +18 -0
  46. package/dist/Components/Input/InputRadioGroup.d.ts +29 -0
  47. package/dist/Components/Input/InputRange.d.ts +39 -0
  48. package/dist/Components/Input/InputSelect.d.ts +25 -0
  49. package/dist/Components/Input/InputTextarea.d.ts +22 -0
  50. package/dist/Components/Modal/Modal.d.ts +17 -0
  51. package/dist/Components/Modal/ModalBody.d.ts +8 -0
  52. package/dist/Components/Modal/ModalCenter.d.ts +8 -0
  53. package/dist/Components/Modal/ModalClose.d.ts +12 -0
  54. package/dist/Components/Modal/ModalContainer.d.ts +8 -0
  55. package/dist/Components/Modal/ModalDialog.d.ts +8 -0
  56. package/dist/Components/Modal/ModalFooter.d.ts +12 -0
  57. package/dist/Components/Modal/ModalHeader.d.ts +16 -0
  58. package/dist/Components/OverflowGrid/Arrow.d.ts +13 -0
  59. package/dist/Components/OverflowGrid/OverflowGridItem.d.ts +25 -0
  60. package/dist/Components/OverflowGrid/OverflowGridList.d.ts +17 -0
  61. package/dist/Components/StageCompleted.d.ts +13 -0
  62. package/dist/Data/createOrder.d.ts +2 -0
  63. package/dist/Data/creditAssessmentAccept.d.ts +1 -0
  64. package/dist/Data/creditAssessmentCancelSigning.d.ts +1 -0
  65. package/dist/Data/creditAssessmentDecline.d.ts +1 -0
  66. package/dist/Data/creditAssessmentGetStatus.d.ts +1 -0
  67. package/dist/Data/creditAssessmentNewCase.d.ts +2 -0
  68. package/dist/Data/creditAssessmentSignCase.d.ts +2 -0
  69. package/dist/Data/getAddress.d.ts +1 -0
  70. package/dist/Data/getBankIdAuth.d.ts +2 -0
  71. package/dist/Data/getBankIdQrCode.d.ts +1 -0
  72. package/dist/Data/getBankIdStatus.d.ts +1 -0
  73. package/dist/Data/getInsurances.d.ts +3 -0
  74. package/dist/Data/getOrder.d.ts +1 -0
  75. package/dist/Data/getPayment.d.ts +10 -0
  76. package/dist/Data/getTradeInVehicle.d.ts +2 -0
  77. package/dist/Redux/action.d.ts +241 -0
  78. package/dist/Redux/reducer.d.ts +44 -0
  79. package/dist/Redux/store.d.ts +5 -0
  80. package/dist/Redux/watch.d.ts +5 -0
  81. package/dist/Templates/Alert.d.ts +8 -0
  82. package/dist/Templates/InputHelp.d.ts +2 -0
  83. package/dist/Templates/ItemTileLarge.d.ts +10 -0
  84. package/dist/Templates/ItemTileSmall.d.ts +9 -0
  85. package/dist/Templates/KeyValueListItem.d.ts +12 -0
  86. package/dist/Templates/ListItem.d.ts +9 -0
  87. package/dist/Templates/Loader.d.ts +6 -0
  88. package/dist/Templates/Logotype.d.ts +8 -0
  89. package/dist/Templates/TimelineItem.d.ts +7 -0
  90. package/dist/Utils/cdn.d.ts +1 -0
  91. package/dist/Utils/compare.d.ts +1 -0
  92. package/dist/Utils/constants.d.ts +18 -0
  93. package/dist/Utils/convert.d.ts +12 -0
  94. package/dist/Utils/delivery.d.ts +3 -0
  95. package/dist/Utils/ecomEvent.d.ts +156 -0
  96. package/dist/Utils/format.d.ts +10 -0
  97. package/dist/Utils/i18n.d.ts +6 -0
  98. package/dist/Utils/intervals.d.ts +2 -0
  99. package/dist/Utils/isMobile.d.ts +1 -0
  100. package/dist/Utils/market.d.ts +2 -0
  101. package/dist/Utils/mask.d.ts +2 -0
  102. package/dist/Utils/parser.d.ts +1 -0
  103. package/dist/Utils/payment.d.ts +1 -0
  104. package/dist/Utils/portal.d.ts +2 -0
  105. package/dist/Utils/regex.d.ts +7 -0
  106. package/dist/Utils/render.d.ts +1 -0
  107. package/dist/Utils/scroll.d.ts +1 -0
  108. package/dist/Utils/stage.d.ts +3 -0
  109. package/dist/Utils/trapFocus.d.ts +1 -0
  110. package/dist/Utils/validationMethods.d.ts +24 -0
  111. package/dist/Utils/vw.d.ts +1 -0
  112. package/dist/Views/ConfirmClose/index.d.ts +11 -0
  113. package/dist/Views/Main/Accessories/AccessoryItem.d.ts +20 -0
  114. package/dist/Views/Main/Accessories/AccessoryItemInfo.d.ts +15 -0
  115. package/dist/Views/Main/Accessories/AccessoryList.d.ts +13 -0
  116. package/dist/Views/Main/Accessories/index.d.ts +15 -0
  117. package/dist/Views/Main/CentralStorage/index.d.ts +20 -0
  118. package/dist/Views/Main/Confirmation/NoVerify.d.ts +18 -0
  119. package/dist/Views/Main/Confirmation/Payment.d.ts +12 -0
  120. package/dist/Views/Main/Confirmation/VerifyByBankId.d.ts +41 -0
  121. package/dist/Views/Main/Confirmation/index.d.ts +15 -0
  122. package/dist/Views/Main/Customer/EmailAndPhone.d.ts +23 -0
  123. package/dist/Views/Main/Customer/FullAddress.d.ts +15 -0
  124. package/dist/Views/Main/Customer/FullAddressBySocialId.d.ts +23 -0
  125. package/dist/Views/Main/Customer/FullAddressForm.d.ts +28 -0
  126. package/dist/Views/Main/Customer/index.d.ts +16 -0
  127. package/dist/Views/Main/Delivery/index.d.ts +17 -0
  128. package/dist/Views/Main/Financial/CreditAssessment.d.ts +49 -0
  129. package/dist/Views/Main/Financial/CreditAssessmentApproved.d.ts +13 -0
  130. package/dist/Views/Main/Financial/CreditAssessmentAssessManually.d.ts +13 -0
  131. package/dist/Views/Main/Financial/CreditAssessmentRejected.d.ts +12 -0
  132. package/dist/Views/Main/Financial/CreditAssessmentResult.d.ts +15 -0
  133. package/dist/Views/Main/Financial/Loan.d.ts +24 -0
  134. package/dist/Views/Main/Financial/LoanDetails.d.ts +16 -0
  135. package/dist/Views/Main/Financial/LoanDetailsBasic.d.ts +14 -0
  136. package/dist/Views/Main/Financial/LoanDetailsDetailed.d.ts +20 -0
  137. package/dist/Views/Main/Financial/LoanDetailsMonthlyCost.d.ts +11 -0
  138. package/dist/Views/Main/Financial/StageCompletedFinancial.d.ts +18 -0
  139. package/dist/Views/Main/Financial/StageCompletedFinancialCreditAssessment.d.ts +13 -0
  140. package/dist/Views/Main/Financial/Summary.d.ts +10 -0
  141. package/dist/Views/Main/Financial/index.d.ts +19 -0
  142. package/dist/Views/Main/Financial/utils.d.ts +5 -0
  143. package/dist/Views/Main/Insurance/DefaultInsurance/InsuranceItem.d.ts +18 -0
  144. package/dist/Views/Main/Insurance/DefaultInsurance/InsuranceItemInfo.d.ts +14 -0
  145. package/dist/Views/Main/Insurance/DefaultInsurance/InsuranceList.d.ts +13 -0
  146. package/dist/Views/Main/Insurance/DefaultInsurance/index.d.ts +15 -0
  147. package/dist/Views/Main/Insurance/IfInsurance/InsuranceAddonBox.d.ts +6 -0
  148. package/dist/Views/Main/Insurance/IfInsurance/InsuranceItem.d.ts +18 -0
  149. package/dist/Views/Main/Insurance/IfInsurance/InsuranceItemInfo.d.ts +21 -0
  150. package/dist/Views/Main/Insurance/IfInsurance/InsuranceList.d.ts +13 -0
  151. package/dist/Views/Main/Insurance/IfInsurance/InsuranceView.d.ts +21 -0
  152. package/dist/Views/Main/Insurance/IfInsurance/index.d.ts +17 -0
  153. package/dist/Views/Main/Insurance/index.d.ts +18 -0
  154. package/dist/Views/Main/TradeIn/PartTradeIn.d.ts +33 -0
  155. package/dist/Views/Main/TradeIn/index.d.ts +18 -0
  156. package/dist/Views/Main/index.d.ts +14 -0
  157. package/dist/Views/OrderCallback/index.d.ts +17 -0
  158. package/dist/Views/Preview/HowTo.d.ts +8 -0
  159. package/dist/Views/Preview/index.d.ts +20 -0
  160. package/dist/Views/Summary/CentralStorage.d.ts +12 -0
  161. package/dist/Views/Summary/Customer.d.ts +13 -0
  162. package/dist/Views/Summary/Delivery.d.ts +12 -0
  163. package/dist/Views/Summary/Intro.d.ts +11 -0
  164. package/dist/Views/Summary/Order.d.ts +12 -0
  165. package/dist/Views/Summary/TradeIn.d.ts +13 -0
  166. package/dist/Views/Summary/index.d.ts +15 -0
  167. package/dist/cdn.d.ts +6 -0
  168. package/dist/devConfig.d.ts +44 -0
  169. package/dist/index-dev.d.ts +1 -0
  170. package/dist/index.cjs +161 -161
  171. package/dist/index.cjs.map +4 -4
  172. package/dist/index.css +1 -1
  173. package/dist/index.css.map +2 -2
  174. package/dist/index.d.ts +2 -4163
  175. package/dist/index.mjs +134 -134
  176. package/dist/index.mjs.map +4 -4
  177. package/dist/translation/index.d.ts +2 -0
  178. package/dist/translation/nb-NO.d.ts +487 -0
  179. package/dist/translation/sv-SE.d.ts +487 -0
  180. package/package.json +24 -21
package/dist/index.d.ts CHANGED
@@ -1,4163 +1,2 @@
1
- declare module '@wayke-se/ecom-web/src/@types/BaseAction' {
2
- export interface BaseAction<T> {
3
- type: T;
4
- }
5
-
6
- }
7
- declare module '@wayke-se/ecom-web/src/@types/CallbackOrder' {
8
- export interface CallbackOrder {
9
- id: string;
10
- orderUrl: string;
11
- }
12
-
13
- }
14
- declare module '@wayke-se/ecom-web/src/@types/CreditAssessmentStatus' {
15
- import { CreditAssessmentDecision, CreditAssessmentRecommendation, CreditAssessmentStatus, IAddress } from '@wayke-se/ecom';
16
- export interface ICreditAssessmentStatus {
17
- status: CreditAssessmentStatus;
18
- hasPendingSigning: boolean;
19
- hintCode: string | undefined;
20
- signingMessage: string;
21
- shouldRenewSigning: boolean;
22
- isSigned: boolean;
23
- address: IAddress | undefined;
24
- pendingScoring: boolean;
25
- isScored: boolean;
26
- hasScoringError: boolean;
27
- scoringId: string | undefined;
28
- recommendation: CreditAssessmentRecommendation;
29
- decision: CreditAssessmentDecision;
30
- isAccepted: boolean;
31
- }
32
-
33
- }
34
- declare module '@wayke-se/ecom-web/src/@types/Customer' {
35
- export interface Customer {
36
- givenName: string;
37
- surname: string;
38
- email: string;
39
- phone: string;
40
- socialId: string;
41
- }
42
- export interface PartialCustomer {
43
- email: string;
44
- phone: string;
45
- }
46
- export interface CustomerSocialId {
47
- socialId: string;
48
- }
49
- export interface PartialCustomerAddress {
50
- givenName: string;
51
- address: string;
52
- postalCode: string;
53
- city: string;
54
- }
55
-
56
- }
57
- declare module '@wayke-se/ecom-web/src/@types/EcomSdkConfig' {
58
- export interface EcomSdkConfig {
59
- api: {
60
- address: string;
61
- };
62
- bankIdThumbprint?: string;
63
- }
64
-
65
- }
66
- declare module '@wayke-se/ecom-web/src/@types/Insurance' {
67
- import { IInsuranceAddon } from '@wayke-se/ecom';
68
- export interface Insurance {
69
- insurance: string;
70
- addOns: IInsuranceAddon[];
71
- }
72
-
73
- }
74
- declare module '@wayke-se/ecom-web/src/@types/MarketCode' {
75
- export type MarketCode = 'NO' | 'SE';
76
-
77
- }
78
- declare module '@wayke-se/ecom-web/src/@types/Navigation' {
79
- export type ViewTypes = 'preview' | 'main' | 'summary';
80
- export interface Navigation {
81
- view: ViewTypes;
82
- stage: number;
83
- subStage: number;
84
- }
85
-
86
- }
87
- declare module '@wayke-se/ecom-web/src/@types/OrderOptions' {
88
- import { IAccessory, IAvailableInsuranceOption, IContactInformation, IDealerOption, IDeliveryOption, IOrderVehicle, PaymentType } from '@wayke-se/ecom/dist-types/orders/types';
89
- import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
90
- export interface PaymentOption {
91
- loanDetails: PaymentLookup | undefined;
92
- logo: string | undefined;
93
- name: string | undefined;
94
- price: number | undefined;
95
- type: PaymentType;
96
- unit: string | undefined;
97
- externalId: string | undefined;
98
- }
99
- export interface OrderOptions {
100
- orderVehicle: IOrderVehicle;
101
- accessories: IAccessory[];
102
- requiresDealerSelection: boolean;
103
- dealerSites: IDealerOption[];
104
- paymentOptions: PaymentOption[];
105
- deliveryOptions: IDeliveryOption[];
106
- insuranceOption: IAvailableInsuranceOption | undefined;
107
- orderConditions: string | undefined;
108
- orderReturnConditions: string | undefined;
109
- conditionsPdfUri: string | null | undefined;
110
- contactInformation: IContactInformation | undefined;
111
- allowsTradeIn: boolean;
112
- isUnavailable: boolean;
113
- isPaymentRequired: boolean;
114
- }
115
-
116
- }
117
- declare module '@wayke-se/ecom-web/src/@types/PaymentLookup' {
118
- import { IPaymentCosts, IPaymentFees, IPaymentInterests, IPaymentRangeSpec } from '@wayke-se/ecom';
119
- export interface PaymentLookup {
120
- costs: IPaymentCosts;
121
- fees: IPaymentFees;
122
- interests: IPaymentInterests;
123
- durationSpec: IPaymentRangeSpec;
124
- downPaymentSpec: IPaymentRangeSpec;
125
- residualValueSpec: IPaymentRangeSpec;
126
- totalResidualValue: number;
127
- publicURL: string | undefined;
128
- shouldUseCreditScoring: boolean;
129
- financialProductCode: string | undefined;
130
- price: number;
131
- creditAmount: number;
132
- hasPrivacyPolicy: boolean;
133
- privacyPolicyUrl: string | undefined;
134
- moneyLaunderingInformationURL: string | undefined;
135
- financialOptionId: string | undefined;
136
- }
137
-
138
- }
139
- declare module '@wayke-se/ecom-web/src/@types/PaymentOrderResponse' {
140
- interface PaymentOrderCustomerAddress {
141
- city: string;
142
- co: string | null;
143
- coordinate: null;
144
- givenName: string;
145
- name: string;
146
- postalCode: string;
147
- street: string;
148
- surname: string;
149
- }
150
- interface PaymentOrderCustomer {
151
- address: PaymentOrderCustomerAddress;
152
- deliveryDistance: null;
153
- didVerifyWithBankId: boolean;
154
- email: string;
155
- givenName: string;
156
- name: string;
157
- phone: string;
158
- socialId: string;
159
- surname: string;
160
- }
161
- interface PaymentOrderAdVehicle {
162
- enginePower: number;
163
- fuelType: string;
164
- gearbox: string;
165
- manufactureYear: number;
166
- manufacturer: string;
167
- mileage: number;
168
- modelName: string;
169
- modelSeries: string;
170
- modelYear: number;
171
- vehicleType: string;
172
- vinNumber: string;
173
- }
174
- interface PaymentOrderAd {
175
- deductibleVat: boolean;
176
- id: string;
177
- image: string | null;
178
- leasingPrice: number | null;
179
- media: null;
180
- oldPrice: number | null;
181
- price: number;
182
- registrationNumber: string;
183
- shortDescription: string;
184
- status: string;
185
- title: string;
186
- vehicle: PaymentOrderAdVehicle;
187
- vehicleIdentificationNumber: string;
188
- }
189
- interface PaymentOrderAdvancePayment {
190
- required: boolean;
191
- paid: boolean;
192
- }
193
- interface PaymentOrderDelivery {
194
- deliveryTime: string;
195
- maxQuantity: null;
196
- minQuantity: null;
197
- startupCost: number;
198
- type: string;
199
- unit: null;
200
- unitPrice: null;
201
- }
202
- interface PaymenOrderOrigin {
203
- topic: string;
204
- channel: string;
205
- }
206
- interface PaymentOrderPaymentOption {
207
- creditAssessment: null;
208
- downPayment: null;
209
- externalId: null;
210
- months: null;
211
- residualValue: null;
212
- type: string;
213
- }
214
- interface PaymentOrderPayment {
215
- details: null;
216
- options: PaymentOrderPaymentOption;
217
- }
218
- export interface PaymentOrderResponse {
219
- accessories: null;
220
- ad: PaymentOrderAd;
221
- advancePayment: PaymentOrderAdvancePayment;
222
- branchId: string;
223
- conditions: string;
224
- created: string;
225
- customer: PaymentOrderCustomer;
226
- delivery: PaymentOrderDelivery;
227
- id: string;
228
- insurance: null;
229
- orderNumber: string;
230
- origin: PaymenOrderOrigin;
231
- payment: PaymentOrderPayment;
232
- returnConditions: string;
233
- status: string;
234
- statusUpdateSource: null;
235
- statusUpdated: string;
236
- tradeIn: null;
237
- }
238
- export {};
239
-
240
- }
241
- declare module '@wayke-se/ecom-web/src/@types/Stages' {
242
- import AccessoriesStage from '@wayke-se/ecom-web/src/Views/Main/Accessories/index';
243
- import CentralStorageStage from '@wayke-se/ecom-web/src/Views/Main/CentralStorage/index';
244
- import CustomerStage from '@wayke-se/ecom-web/src/Views/Main/Customer/index';
245
- import DeliveryStage from '@wayke-se/ecom-web/src/Views/Main/Delivery/index';
246
- import FinancialStage from '@wayke-se/ecom-web/src/Views/Main/Financial/index';
247
- import InsuranceStage from '@wayke-se/ecom-web/src/Views/Main/Insurance/index';
248
- import TradeInStage from '@wayke-se/ecom-web/src/Views/Main/TradeIn/index';
249
- interface Customer {
250
- component: typeof CustomerStage;
251
- name: 'customer';
252
- }
253
- interface CentralStorage {
254
- component: typeof CentralStorageStage;
255
- name: 'centralStorage';
256
- }
257
- interface Delivery {
258
- component: typeof DeliveryStage;
259
- name: 'delivery';
260
- }
261
- interface TradeIn {
262
- component: typeof TradeInStage;
263
- name: 'tradeIn';
264
- }
265
- interface Financial {
266
- component: typeof FinancialStage;
267
- name: 'financial';
268
- }
269
- interface Insurance {
270
- component: typeof InsuranceStage;
271
- name: 'insurance';
272
- }
273
- interface Accessories {
274
- component: typeof AccessoriesStage;
275
- name: 'accessories';
276
- }
277
- export type StageTypes = Customer | CentralStorage | Delivery | TradeIn | Financial | Insurance | Accessories;
278
- export interface StageMapper {
279
- customer: Customer;
280
- centralStorage: CentralStorage;
281
- delivery: Delivery;
282
- tradeIn: TradeIn;
283
- financial: Financial;
284
- insurance: Insurance;
285
- accessories: Accessories;
286
- }
287
- export {};
288
-
289
- }
290
- declare module '@wayke-se/ecom-web/src/@types/TradeIn' {
291
- export enum VehicleCondition {
292
- VeryGood = "VeryGood",
293
- Good = "Good",
294
- Ok = "Ok"
295
- }
296
- export interface TradeInCarDataPartial {
297
- registrationNumber: string;
298
- mileage: string;
299
- condition?: VehicleCondition;
300
- description: string;
301
- }
302
- export interface TradeInCarData {
303
- registrationNumber: string;
304
- mileage: string;
305
- condition: VehicleCondition;
306
- description: string;
307
- }
308
-
309
- }
310
- declare module '@wayke-se/ecom-web/src/@types/Vehicle' {
311
- export interface Vehicle {
312
- title?: string;
313
- shortDescription?: string;
314
- price?: number;
315
- imageUrls?: string[];
316
- mileage?: number;
317
- modelYear?: number;
318
- fuelType?: string;
319
- gearbox?: string;
320
- }
321
-
322
- }
323
- declare module '@wayke-se/ecom-web/src/@types/VehicleLookup' {
324
- import { IVehicle } from '@wayke-se/ecom';
325
- export interface VehicleLookup {
326
- vehicle: IVehicle;
327
- }
328
-
329
- }
330
- declare module '@wayke-se/ecom-web/src/App' {
331
- import './styles/styles.scss';
332
- import { IOrderOptionsResponse } from '@wayke-se/ecom';
333
- import { Vehicle } from '@wayke-se/ecom-web/src/@types/Vehicle';
334
- import { EcomSdkConfig } from '@wayke-se/ecom-web/src/@types/EcomSdkConfig';
335
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
336
- import { EcomStep, EcomEvent, EcomView } from '@wayke-se/ecom-web/src/Utils/ecomEvent';
337
- export const WAYKE_ECOM_MODAL_ID = "wayke-ecom-modal";
338
- export interface AppState {
339
- stage: number;
340
- order?: IOrderOptionsResponse;
341
- }
342
- interface AppProps {
343
- rootId?: string;
344
- id: string;
345
- vehicle?: Vehicle;
346
- ecomSdkConfig: EcomSdkConfig;
347
- logo?: string;
348
- logoX2?: string;
349
- onEvent?: (view: EcomView, event: EcomEvent, currentStep?: EcomStep, data?: any) => void;
350
- marketCode?: MarketCode;
351
- }
352
- class App {
353
- private root;
354
- private readonly props;
355
- private view;
356
- private stageOrderList;
357
- private readonly cdnMedia?;
358
- private readonly contexts;
359
- private marketCode;
360
- constructor(props: AppProps);
361
- close(): void;
362
- destroy(): void;
363
- private closeWithConfirm;
364
- start(): void;
365
- private focusModal;
366
- private render;
367
- }
368
- export default App;
369
-
370
- }
371
- declare module '@wayke-se/ecom-web/src/Components/Accordion/index' {
372
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
373
- interface AccordionProps {
374
- readonly id: string;
375
- readonly title: string;
376
- readonly description: string;
377
- readonly append?: boolean;
378
- readonly onClick?: () => void;
379
- }
380
- class Accordion extends HtmlNode {
381
- private readonly props;
382
- constructor(element: HTMLElement | null, props: AccordionProps);
383
- render(): void;
384
- }
385
- export default Accordion;
386
-
387
- }
388
- declare module '@wayke-se/ecom-web/src/Components/BankId/BankIdSign' {
389
- import { AuthMethod } from '@wayke-se/ecom';
390
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
391
- interface BankIdSignProps {
392
- qrCode?: string;
393
- autoLaunchUrl?: string;
394
- method: AuthMethod;
395
- errorMessage?: string;
396
- descriptionQrCode: string;
397
- descriptionSameDevice: string;
398
- info?: string;
399
- title?: string;
400
- description?: string;
401
- finalizing?: boolean;
402
- readonly onStart: (method: AuthMethod) => void;
403
- readonly onAbort: () => void;
404
- readonly onSameDeviceClick?: () => void;
405
- }
406
- class BankIdSign extends HtmlNode {
407
- private readonly props;
408
- constructor(element: HTMLElement, props: BankIdSignProps);
409
- update(method: AuthMethod, value?: string): void;
410
- setErrorMessage(errorMessage?: string): void;
411
- setInfo(info?: string): void;
412
- setTitle(title?: string): void;
413
- setDescription(description?: string): void;
414
- setFinalizing(finalizing?: boolean): void;
415
- render(): void;
416
- }
417
- export default BankIdSign;
418
-
419
- }
420
- declare module '@wayke-se/ecom-web/src/Components/BankId/BankIdSignQrCode' {
421
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
422
- interface BankIdSignQrCodeProps {
423
- readonly qrCode?: string;
424
- readonly errorMessage?: string;
425
- }
426
- class BankIdSignQrCode extends HtmlNode {
427
- private readonly props;
428
- constructor(element: HTMLElement | null, props: BankIdSignQrCodeProps);
429
- render(): void;
430
- }
431
- export default BankIdSignQrCode;
432
-
433
- }
434
- declare module '@wayke-se/ecom-web/src/Components/BankId/BankIdSignSameDevice' {
435
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
436
- interface BankIdSignSameDeviceProps {
437
- readonly autoLaunchUrl?: string;
438
- readonly errorMessage?: string;
439
- onClick?: () => void;
440
- }
441
- class BankIdSignSameDevice extends HtmlNode {
442
- private readonly props;
443
- constructor(element: HTMLElement | null, props: BankIdSignSameDeviceProps);
444
- render(): void;
445
- }
446
- export default BankIdSignSameDevice;
447
-
448
- }
449
- declare module '@wayke-se/ecom-web/src/Components/Button/Button' {
450
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
451
- interface ButtonProps {
452
- readonly title: string;
453
- readonly id?: string;
454
- disabled?: boolean;
455
- loading?: boolean;
456
- readonly onClick?: (e: Event) => void;
457
- }
458
- class Button extends HtmlNode {
459
- private readonly props;
460
- constructor(element: HTMLDivElement | null, props: ButtonProps);
461
- isDisabled(): boolean | undefined;
462
- disabled(disabled: boolean): void;
463
- loading(loading: boolean): void;
464
- render(): void;
465
- }
466
- export default Button;
467
-
468
- }
469
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonAddRemove' {
470
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
471
- interface ButtonAddRemoveProps {
472
- readonly id?: string;
473
- disabled?: boolean;
474
- loading?: boolean;
475
- readonly selected?: boolean;
476
- readonly fullSize?: boolean;
477
- readonly onClick?: (e: Event) => void;
478
- }
479
- class ButtonAddRemove extends HtmlNode {
480
- private readonly props;
481
- constructor(element: HTMLDivElement | null, props: ButtonAddRemoveProps);
482
- isDisabled(): boolean | undefined;
483
- disabled(disabled: boolean): void;
484
- loading(loading: boolean): void;
485
- render(): void;
486
- }
487
- export default ButtonAddRemove;
488
-
489
- }
490
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonAlt' {
491
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
492
- interface ButtonAltProps {
493
- readonly title: string;
494
- readonly id?: string;
495
- disabled?: boolean;
496
- loading?: boolean;
497
- readonly onClick?: (e: Event) => void;
498
- }
499
- class ButtonAlt extends HtmlNode {
500
- private readonly props;
501
- constructor(element: HTMLDivElement | null, props: ButtonAltProps);
502
- isDisabled(): boolean | undefined;
503
- disabled(disabled: boolean): void;
504
- loading(loading: boolean): void;
505
- render(): void;
506
- }
507
- export default ButtonAlt;
508
-
509
- }
510
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonArrowRight' {
511
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
512
- interface ButtonArrowRightProps {
513
- readonly title: string;
514
- readonly id?: string;
515
- disabled?: boolean;
516
- loading?: boolean;
517
- readonly onClick?: (e: Event) => void;
518
- }
519
- class ButtonArrowRight extends HtmlNode {
520
- private readonly props;
521
- constructor(element: HTMLElement | null, props: ButtonArrowRightProps);
522
- isDisabled(): boolean | undefined;
523
- disabled(disabled: boolean): void;
524
- loading(loading: boolean): void;
525
- render(): void;
526
- }
527
- export default ButtonArrowRight;
528
-
529
- }
530
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonAsLink' {
531
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
532
- interface ButtonAsLinkProps {
533
- readonly title: string;
534
- readonly id?: string;
535
- disabled?: boolean;
536
- readonly onClick?: (e: Event) => void;
537
- }
538
- class ButtonAsLink extends HtmlNode {
539
- private readonly props;
540
- constructor(element: HTMLDivElement | null, props: ButtonAsLinkProps);
541
- disabled(disable: boolean): void;
542
- render(): void;
543
- }
544
- export default ButtonAsLink;
545
-
546
- }
547
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonAsLinkArrowLeft' {
548
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
549
- interface ButtonAsLinkArrowLeftProps {
550
- readonly title: string;
551
- readonly id?: string;
552
- disabled?: boolean;
553
- readonly onClick?: (e: Event) => void;
554
- }
555
- class ButtonAsLinkArrowLeft extends HtmlNode {
556
- private readonly props;
557
- constructor(element: HTMLDivElement | null, props: ButtonAsLinkArrowLeftProps);
558
- disabled(disable: boolean): void;
559
- render(): void;
560
- }
561
- export default ButtonAsLinkArrowLeft;
562
-
563
- }
564
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonBankId' {
565
- import HtmlNode, { HtmlNodeSettings } from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
566
- interface ButtonBankIdProps {
567
- readonly title: string;
568
- readonly id?: string;
569
- disabled?: boolean;
570
- loading?: boolean;
571
- readonly htmlNodesettings?: HtmlNodeSettings;
572
- readonly onClick?: (e: Event) => void;
573
- }
574
- class ButtonBankId extends HtmlNode {
575
- private readonly props;
576
- constructor(element: HTMLElement | null, props: ButtonBankIdProps);
577
- disabled(disabled: boolean): void;
578
- loading(loading: boolean): void;
579
- render(): void;
580
- }
581
- export default ButtonBankId;
582
-
583
- }
584
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonClear' {
585
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
586
- interface ButtonClearProps {
587
- readonly title: string;
588
- readonly id?: string;
589
- readonly onClick?: (e: Event) => void;
590
- }
591
- class ButtonClear extends HtmlNode {
592
- private readonly props;
593
- constructor(element: HTMLDivElement | null, props: ButtonClearProps);
594
- render(): void;
595
- }
596
- export default ButtonClear;
597
-
598
- }
599
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonClose' {
600
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
601
- interface ButtonCloseProps {
602
- readonly title: string;
603
- readonly id?: string;
604
- readonly onClick?: (e: Event) => void;
605
- }
606
- class ButtonClose extends HtmlNode {
607
- private readonly props;
608
- constructor(element: HTMLElement | null, props: ButtonCloseProps);
609
- render(): void;
610
- }
611
- export default ButtonClose;
612
-
613
- }
614
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonSkip' {
615
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
616
- interface ButtonSkipProps {
617
- title: string;
618
- id?: string;
619
- onClick?: (e: Event) => void;
620
- }
621
- class ButtonSkip extends HtmlNode {
622
- private readonly props;
623
- constructor(element: HTMLDivElement | null, props: ButtonSkipProps);
624
- render(): void;
625
- }
626
- export default ButtonSkip;
627
-
628
- }
629
- declare module '@wayke-se/ecom-web/src/Components/Button/ButtonSuccess' {
630
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
631
- interface ButtonSuccessProps {
632
- readonly title: string;
633
- readonly id?: string;
634
- disabled?: boolean;
635
- loading?: boolean;
636
- readonly onClick?: (e: Event) => void;
637
- }
638
- class ButtonSuccess extends HtmlNode {
639
- private readonly props;
640
- constructor(element: HTMLDivElement | null, props: ButtonSuccessProps);
641
- isDisabled(): boolean | undefined;
642
- disabled(disabled: boolean): void;
643
- loading(loading: boolean): void;
644
- render(): void;
645
- }
646
- export default ButtonSuccess;
647
-
648
- }
649
- declare module '@wayke-se/ecom-web/src/Components/Chart/PieChart' {
650
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
651
- interface PieChartProps {
652
- percentage: number;
653
- }
654
- class PieChart extends HtmlNode {
655
- private props;
656
- constructor(element: HTMLElement | null | undefined, props: PieChartProps);
657
- update(props: PieChartProps): void;
658
- render(): void;
659
- }
660
- export default PieChart;
661
-
662
- }
663
- declare module '@wayke-se/ecom-web/src/Components/Checklist/Checklist' {
664
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
665
- interface CheckListProps {
666
- readonly title: string;
667
- readonly ariaLabel: string;
668
- readonly checklistItems: string[];
669
- }
670
- class CheckList extends HtmlNode {
671
- private readonly props;
672
- constructor(element: HTMLElement | null, props: CheckListProps);
673
- render(): void;
674
- }
675
- export default CheckList;
676
-
677
- }
678
- declare module '@wayke-se/ecom-web/src/Components/Disclaimer/Disclaimer' {
679
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
680
- interface DisclaimerProps {
681
- readonly text: string;
682
- }
683
- class Disclaimer extends HtmlNode {
684
- private readonly props;
685
- constructor(element: HTMLElement | null, props: DisclaimerProps);
686
- render(): void;
687
- }
688
- export default Disclaimer;
689
-
690
- }
691
- declare module '@wayke-se/ecom-web/src/Components/Disclaimer/DisclaimerPadlock' {
692
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
693
- interface DisclaimerProps {
694
- readonly text: string;
695
- }
696
- class DisclaimerPadlock extends HtmlNode {
697
- private readonly props;
698
- constructor(element: HTMLElement | null, props: DisclaimerProps);
699
- render(): void;
700
- }
701
- export default DisclaimerPadlock;
702
-
703
- }
704
- declare module '@wayke-se/ecom-web/src/Components/ErrorAlert/index' {
705
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
706
- interface ErrorAlertProps {
707
- error?: string | Element;
708
- }
709
- class ErrorAlert extends HtmlNode {
710
- private readonly props;
711
- private error?;
712
- constructor(element: HTMLElement | null, props: ErrorAlertProps);
713
- update(error?: string | Element): void;
714
- render(): void;
715
- }
716
- export default ErrorAlert;
717
-
718
- }
719
- declare module '@wayke-se/ecom-web/src/Components/Extension/HtmlNode' {
720
- interface Attribute {
721
- key: string;
722
- value: string;
723
- }
724
- export interface HtmlNodeSettings {
725
- htmlTag: keyof HTMLElementTagNameMap;
726
- className?: string;
727
- id?: string;
728
- attributes?: Attribute[];
729
- }
730
- class HtmlNode {
731
- private element;
732
- node: HTMLElement;
733
- constructor(element: HTMLElement | null | undefined, settings?: HtmlNodeSettings);
734
- }
735
- export default HtmlNode;
736
-
737
- }
738
- declare module '@wayke-se/ecom-web/src/Components/Extension/StackNode' {
739
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
740
- class StackNode extends HtmlNode {
741
- constructor(element: HTMLElement);
742
- }
743
- export default StackNode;
744
-
745
- }
746
- declare module '@wayke-se/ecom-web/src/Components/Gallery/Arrow' {
747
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
748
- interface ArrowProps {
749
- direction: 'left' | 'right';
750
- hide?: boolean;
751
- onClick: () => void;
752
- }
753
- class Arrow extends HtmlNode {
754
- private props;
755
- constructor(element: HTMLElement | null, props: ArrowProps);
756
- hide(hide: boolean): void;
757
- private render;
758
- }
759
- export default Arrow;
760
-
761
- }
762
- declare module '@wayke-se/ecom-web/src/Components/Gallery/Gallery' {
763
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
764
- interface Media {
765
- url: string;
766
- alt: string;
767
- }
768
- interface GalleryProps {
769
- id: string;
770
- media: Media[];
771
- onGalleryImagePaging?: () => void;
772
- }
773
- class Gallery extends HtmlNode {
774
- private readonly props;
775
- private timeout?;
776
- private contexts;
777
- constructor(element: HTMLElement | null, props: GalleryProps);
778
- onPrev(): void;
779
- onNext(): void;
780
- scrollHandler(): void;
781
- render(): void;
782
- }
783
- export default Gallery;
784
-
785
- }
786
- declare module '@wayke-se/ecom-web/src/Components/Input/InputCheckbox' {
787
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
788
- interface InputCheckboxProps {
789
- readonly title: string;
790
- readonly value: string;
791
- readonly name: string;
792
- readonly description?: string;
793
- readonly meta?: string;
794
- readonly id: string;
795
- checked: boolean;
796
- readonly onClick?: (e: Event) => void;
797
- readonly append?: boolean;
798
- disabled?: boolean;
799
- }
800
- class InputCheckbox extends HtmlNode {
801
- private readonly props;
802
- constructor(element: HTMLElement | null, props: InputCheckboxProps);
803
- checked(checked: boolean): void;
804
- disabled(disabled: boolean): void;
805
- render(): void;
806
- }
807
- export default InputCheckbox;
808
-
809
- }
810
- declare module '@wayke-se/ecom-web/src/Components/Input/InputError' {
811
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
812
- interface InputErrorProps {
813
- error?: boolean;
814
- id?: string;
815
- readonly errorMessage: string;
816
- }
817
- class InputError extends HtmlNode {
818
- private readonly props;
819
- constructor(element: HTMLElement, props: InputErrorProps);
820
- setError(error: boolean): void;
821
- render(): void;
822
- }
823
- export default InputError;
824
-
825
- }
826
- declare module '@wayke-se/ecom-web/src/Components/Input/InputField' {
827
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
828
- interface InputFieldProps {
829
- readonly title: string;
830
- readonly value: string;
831
- readonly name: string;
832
- readonly id: string;
833
- readonly unit?: string;
834
- readonly min?: number;
835
- error?: boolean;
836
- errorMessage?: string;
837
- readonly placeholder?: string;
838
- readonly information?: string;
839
- readonly type?: string;
840
- readonly autocomplete?: string;
841
- readonly pattern?: string;
842
- readonly inputmode?: string;
843
- readonly help?: string;
844
- readonly onChange?: (e: Event) => void;
845
- readonly onBlur?: (e: Event) => void;
846
- readonly onClickInformation?: (visible: boolean) => void;
847
- }
848
- class InputField extends HtmlNode {
849
- private readonly props;
850
- private contexts;
851
- constructor(element: HTMLElement | null, props: InputFieldProps);
852
- private updateBorder;
853
- setError(error: boolean, errorMessage?: string): void;
854
- private render;
855
- }
856
- export default InputField;
857
-
858
- }
859
- declare module '@wayke-se/ecom-web/src/Components/Input/InputInformation' {
860
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
861
- interface InputInformationProps {
862
- readonly information?: string;
863
- readonly onClickInformation?: (visible: boolean) => void;
864
- }
865
- class InputInformation extends HtmlNode {
866
- private readonly props;
867
- private open;
868
- constructor(element: HTMLElement | null | undefined, props: InputInformationProps);
869
- onClick(): void;
870
- render(): void;
871
- }
872
- export default InputInformation;
873
-
874
- }
875
- declare module '@wayke-se/ecom-web/src/Components/Input/InputRadioField' {
876
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
877
- interface InputRadioFieldProps {
878
- readonly title: string;
879
- readonly value: string;
880
- readonly name: string;
881
- readonly description?: string;
882
- readonly meta?: string;
883
- readonly id: string;
884
- readonly checked: boolean;
885
- readonly disabled?: boolean;
886
- readonly onClick?: (e: Event) => void;
887
- }
888
- class InputRadioField extends HtmlNode {
889
- private readonly props;
890
- constructor(element: HTMLDivElement | null, props: InputRadioFieldProps);
891
- render(): void;
892
- }
893
- export default InputRadioField;
894
-
895
- }
896
- declare module '@wayke-se/ecom-web/src/Components/Input/InputRadioGroup' {
897
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
898
- export interface RadioItem {
899
- id: string;
900
- value: string;
901
- title?: string;
902
- description?: string;
903
- meta?: string;
904
- }
905
- interface InputRadioGroupProps {
906
- readonly title?: string;
907
- readonly name: string;
908
- readonly checked?: string;
909
- readonly options: RadioItem[];
910
- error?: boolean;
911
- information?: string;
912
- footer?: string;
913
- readonly errorMessage?: string;
914
- readonly onClick: (e: Event) => void;
915
- readonly onClickInformation?: (visible: boolean) => void;
916
- }
917
- class InputRadioGroup extends HtmlNode {
918
- private readonly props;
919
- private contexts;
920
- constructor(element: HTMLElement | null, props: InputRadioGroupProps);
921
- private updateBorder;
922
- setError(error: boolean): void;
923
- render(): void;
924
- }
925
- export default InputRadioGroup;
926
-
927
- }
928
- declare module '@wayke-se/ecom-web/src/Components/Input/InputRange' {
929
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
930
- interface InputRangeProps {
931
- title: string;
932
- value: number;
933
- min: number;
934
- max: number;
935
- step?: number;
936
- name: string;
937
- id: string;
938
- information?: string;
939
- unit?: string;
940
- disabled?: boolean;
941
- onChange?: (e: Event) => void;
942
- onBlur?: (e: Event) => void;
943
- onClickInformation?: (visible: boolean) => void;
944
- }
945
- class InputRange extends HtmlNode {
946
- private readonly props;
947
- private value;
948
- private inputFieldValue;
949
- private min;
950
- private max;
951
- private rangeSpan;
952
- private isDisabled?;
953
- private currentValueInPercentage;
954
- private contexts;
955
- constructor(element: HTMLDivElement | null, props: InputRangeProps);
956
- update(value: number, min: number, max: number): void;
957
- disabled(disabled: boolean): void;
958
- onOpenInformation(): void;
959
- onChange(e: Event): void;
960
- onBlur(e: Event): void;
961
- onFocus(e: Event): void;
962
- onInput(e: Event): void;
963
- updateRangeSliderColor(element?: HTMLInputElement): void;
964
- updateInputField(): void;
965
- render(): void;
966
- }
967
- export default InputRange;
968
-
969
- }
970
- declare module '@wayke-se/ecom-web/src/Components/Input/InputSelect' {
971
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
972
- export interface SelectItem {
973
- value: string;
974
- title?: string;
975
- disabled?: boolean;
976
- }
977
- interface InputSelectProps {
978
- readonly title: string;
979
- readonly name: string;
980
- readonly id?: string;
981
- error?: boolean;
982
- errorMessage?: string;
983
- readonly value?: string;
984
- readonly options: SelectItem[];
985
- readonly onChange: (e: Event) => void;
986
- }
987
- class InputSelect extends HtmlNode {
988
- private readonly props;
989
- private contexts;
990
- constructor(element: HTMLElement | null, props: InputSelectProps);
991
- private updateBorder;
992
- setError(error: boolean, errorMessage?: string): void;
993
- private render;
994
- }
995
- export default InputSelect;
996
-
997
- }
998
- declare module '@wayke-se/ecom-web/src/Components/Input/InputTextarea' {
999
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1000
- interface InputTextareaProps {
1001
- readonly title: string;
1002
- readonly value: string;
1003
- readonly name: string;
1004
- readonly id: string;
1005
- readonly error?: boolean;
1006
- readonly errorMessage?: string;
1007
- readonly placeholder?: string;
1008
- readonly information?: string;
1009
- readonly autocomplete?: string;
1010
- readonly onChange?: (e: Event) => void;
1011
- readonly onBlur?: (e: Event) => void;
1012
- }
1013
- class InputTextarea extends HtmlNode {
1014
- private readonly props;
1015
- private contexts;
1016
- constructor(element: HTMLElement | null, props: InputTextareaProps);
1017
- setError(error: boolean): void;
1018
- private render;
1019
- }
1020
- export default InputTextarea;
1021
-
1022
- }
1023
- declare module '@wayke-se/ecom-web/src/Components/Modal/Modal' {
1024
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
1025
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1026
- interface ModalProps {
1027
- readonly title: string;
1028
- readonly id: string;
1029
- readonly logo?: string;
1030
- readonly logoX2?: string;
1031
- readonly onClose?: () => void;
1032
- readonly marketCode: MarketCode;
1033
- }
1034
- class Modal extends HtmlNode {
1035
- private readonly props;
1036
- content: HTMLElement;
1037
- constructor(element: HTMLElement, props: ModalProps);
1038
- render(): HTMLElement;
1039
- }
1040
- export default Modal;
1041
-
1042
- }
1043
- declare module '@wayke-se/ecom-web/src/Components/Modal/ModalBody' {
1044
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1045
- interface ModalBodyProps {
1046
- id: string;
1047
- }
1048
- class ModalBody extends HtmlNode {
1049
- constructor(element: HTMLElement, { id }: ModalBodyProps);
1050
- }
1051
- export default ModalBody;
1052
-
1053
- }
1054
- declare module '@wayke-se/ecom-web/src/Components/Modal/ModalCenter' {
1055
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1056
- interface ModalCenterProps {
1057
- id: string;
1058
- }
1059
- class ModalCenter extends HtmlNode {
1060
- constructor(element: HTMLElement, { id }: ModalCenterProps);
1061
- }
1062
- export default ModalCenter;
1063
-
1064
- }
1065
- declare module '@wayke-se/ecom-web/src/Components/Modal/ModalClose' {
1066
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1067
- interface ModalCloseProps {
1068
- readonly id: string;
1069
- readonly onClose?: () => void;
1070
- }
1071
- class ModalClose extends HtmlNode {
1072
- private readonly props;
1073
- constructor(element: HTMLElement, props: ModalCloseProps);
1074
- private handleKeydown;
1075
- render(): void;
1076
- }
1077
- export default ModalClose;
1078
-
1079
- }
1080
- declare module '@wayke-se/ecom-web/src/Components/Modal/ModalContainer' {
1081
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1082
- interface ModalContainerProps {
1083
- id: string;
1084
- }
1085
- class ModalContainer extends HtmlNode {
1086
- constructor(element: HTMLElement, { id }: ModalContainerProps);
1087
- }
1088
- export default ModalContainer;
1089
-
1090
- }
1091
- declare module '@wayke-se/ecom-web/src/Components/Modal/ModalDialog' {
1092
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1093
- interface ModalDialogProps {
1094
- id: string;
1095
- }
1096
- class ModalDialog extends HtmlNode {
1097
- constructor(element: HTMLElement, { id }: ModalDialogProps);
1098
- }
1099
- export default ModalDialog;
1100
-
1101
- }
1102
- declare module '@wayke-se/ecom-web/src/Components/Modal/ModalFooter' {
1103
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
1104
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1105
- interface ModalFooterProps {
1106
- readonly id: string;
1107
- readonly marketCode: MarketCode;
1108
- }
1109
- class ModalFooter extends HtmlNode {
1110
- private readonly props;
1111
- constructor(element: HTMLElement, props: ModalFooterProps);
1112
- render(): void;
1113
- }
1114
- export default ModalFooter;
1115
-
1116
- }
1117
- declare module '@wayke-se/ecom-web/src/Components/Modal/ModalHeader' {
1118
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
1119
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1120
- interface ModalHeaderProps {
1121
- readonly title: string;
1122
- readonly id: string;
1123
- readonly logo?: string;
1124
- readonly logoX2?: string;
1125
- readonly onClose?: () => void;
1126
- readonly marketCode: MarketCode;
1127
- }
1128
- class ModalHeader extends HtmlNode {
1129
- private readonly props;
1130
- constructor(element: HTMLElement, props: ModalHeaderProps);
1131
- render(): void;
1132
- }
1133
- export default ModalHeader;
1134
-
1135
- }
1136
- declare module '@wayke-se/ecom-web/src/Components/OverflowGrid/Arrow' {
1137
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1138
- interface ArrowProps {
1139
- direction: 'left' | 'right';
1140
- hide?: boolean;
1141
- onClick: () => void;
1142
- }
1143
- class Arrow extends HtmlNode {
1144
- private props;
1145
- constructor(element: HTMLElement | null, props: ArrowProps);
1146
- hide(hide: boolean): void;
1147
- private render;
1148
- }
1149
- export default Arrow;
1150
-
1151
- }
1152
- declare module '@wayke-se/ecom-web/src/Components/OverflowGrid/OverflowGridItem' {
1153
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1154
- interface GridItemProps {
1155
- readonly id?: string;
1156
- readonly title: string;
1157
- readonly image?: string;
1158
- readonly logo?: string;
1159
- readonly price?: string;
1160
- readonly priceDetails?: {
1161
- key: string;
1162
- value: string;
1163
- }[];
1164
- readonly description?: string;
1165
- readonly selected?: boolean;
1166
- readonly onClick: () => void;
1167
- readonly onInfo?: () => void;
1168
- readonly inViewPort?: () => void;
1169
- }
1170
- class GridItem extends HtmlNode {
1171
- private readonly props;
1172
- private hasBeenInViewPort;
1173
- constructor(element: HTMLElement, props: GridItemProps, id: string);
1174
- private attachInViewportTrigger;
1175
- render(): void;
1176
- }
1177
- export default GridItem;
1178
-
1179
- }
1180
- declare module '@wayke-se/ecom-web/src/Components/OverflowGrid/OverflowGridList' {
1181
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1182
- interface OverflowGridListProps {
1183
- id: string;
1184
- onClick?: () => void;
1185
- }
1186
- class OverflowGridList extends HtmlNode {
1187
- private readonly props;
1188
- overflowElement?: HTMLUListElement | null;
1189
- private timeout?;
1190
- private contexts;
1191
- constructor(element: HTMLElement, props: OverflowGridListProps);
1192
- onPrev(): void;
1193
- onNext(): void;
1194
- scrollHandler(): void;
1195
- render(): void;
1196
- }
1197
- export default OverflowGridList;
1198
-
1199
- }
1200
- declare module '@wayke-se/ecom-web/src/Components/StageCompleted' {
1201
- import { KeyValueListItemProps } from '@wayke-se/ecom-web/src/Templates/KeyValueListItem';
1202
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
1203
- interface StageCompletedProps {
1204
- keyValueList: KeyValueListItemProps[];
1205
- changeButtonTitle: string;
1206
- onEdit?: () => void;
1207
- }
1208
- class StageCompleted extends HtmlNode {
1209
- private props;
1210
- constructor(element: HTMLDivElement, props: StageCompletedProps);
1211
- render(): void;
1212
- }
1213
- export default StageCompleted;
1214
-
1215
- }
1216
- declare module '@wayke-se/ecom-web/src/Data/createOrder' {
1217
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
1218
- export const createOrder: (store: WaykeStore) => Promise<import("@wayke-se/ecom/dist-types/orders/order-create-response").OrderCreateResponse>;
1219
-
1220
- }
1221
- declare module '@wayke-se/ecom-web/src/Data/creditAssessmentAccept' {
1222
- export const creditAssessmentAccept: (caseId: string) => Promise<boolean>;
1223
-
1224
- }
1225
- declare module '@wayke-se/ecom-web/src/Data/creditAssessmentCancelSigning' {
1226
- export const creditAssessmentCancelSigning: (caseId: string) => Promise<boolean>;
1227
-
1228
- }
1229
- declare module '@wayke-se/ecom-web/src/Data/creditAssessmentDecline' {
1230
- export const creditAssessmentDecline: (caseId: string) => Promise<boolean>;
1231
-
1232
- }
1233
- declare module '@wayke-se/ecom-web/src/Data/creditAssessmentGetStatus' {
1234
- export const creditAssessmentGetStatus: (caseId: string) => Promise<import("@wayke-se/ecom/dist-types/credit-assessment/status-response").CreditAssessmentStatusResponse>;
1235
-
1236
- }
1237
- declare module '@wayke-se/ecom-web/src/Data/creditAssessmentNewCase' {
1238
- import { ICreditAssessmentInquiry } from '@wayke-se/ecom';
1239
- export const creditAssessmentNewCase: (inquiry: ICreditAssessmentInquiry) => Promise<import("@wayke-se/ecom").ICreditAssessmentCase>;
1240
-
1241
- }
1242
- declare module '@wayke-se/ecom-web/src/Data/creditAssessmentSignCase' {
1243
- import { ICreditAssessmentSignRequest } from '@wayke-se/ecom';
1244
- export const creditAssessmentSignCase: (creditAssessmentCase: ICreditAssessmentSignRequest) => Promise<import("@wayke-se/ecom/dist-types/credit-assessment/sign-response").CreditAssessmentSignResponse>;
1245
-
1246
- }
1247
- declare module '@wayke-se/ecom-web/src/Data/getAddress' {
1248
- export const getAddressBySsn: (ssn: string) => Promise<import("@wayke-se/ecom/dist-types/customers/address-lookup-response").AddressLookupResponse>;
1249
-
1250
- }
1251
- declare module '@wayke-se/ecom-web/src/Data/getBankIdAuth' {
1252
- import { AuthMethod } from '@wayke-se/ecom';
1253
- export const getBankIdAuth: (method: AuthMethod) => Promise<import("@wayke-se/ecom/dist-types/bankid/bankid-auth-response").BankIdAuthResponse>;
1254
-
1255
- }
1256
- declare module '@wayke-se/ecom-web/src/Data/getBankIdQrCode' {
1257
- export const getBankIdQrCode: (reference: string) => Promise<import("@wayke-se/ecom/dist-types/bankid/bankid-qrcode-response").BankIdQrCodeResponse>;
1258
-
1259
- }
1260
- declare module '@wayke-se/ecom-web/src/Data/getBankIdStatus' {
1261
- export const getBankIdStatus: (reference: string) => Promise<import("@wayke-se/ecom/dist-types/bankid/bankid-collect-response").BankIdCollectResponse>;
1262
-
1263
- }
1264
- declare module '@wayke-se/ecom-web/src/Data/getInsurances' {
1265
- import { DrivingDistance } from '@wayke-se/ecom';
1266
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
1267
- export const getInsurances: (store: WaykeStore, drivingDistance: DrivingDistance) => Promise<import("@wayke-se/ecom").IInsuranceOptionsResponse>;
1268
-
1269
- }
1270
- declare module '@wayke-se/ecom-web/src/Data/getOrder' {
1271
- export const getOrder: (id: string, dealer?: string) => Promise<import("@wayke-se/ecom/dist-types/orders/order-options-response").OrderOptionsResponse>;
1272
-
1273
- }
1274
- declare module '@wayke-se/ecom-web/src/Data/getPayment' {
1275
- interface PaymentRequest {
1276
- vehicleId: string;
1277
- downPayment: number;
1278
- duration: number;
1279
- residual?: number;
1280
- dealerId?: string;
1281
- financialOptionId?: string;
1282
- }
1283
- export const getPayment: ({ vehicleId, dealerId, downPayment, duration, residual, financialOptionId, }: PaymentRequest) => Promise<import("@wayke-se/ecom/dist-types/payments/payment-lookup-response").PaymentLookupResponse>;
1284
- export {};
1285
-
1286
- }
1287
- declare module '@wayke-se/ecom-web/src/Data/getTradeInVehicle' {
1288
- import { TradeInCarData } from '@wayke-se/ecom-web/src/@types/TradeIn';
1289
- export const getTradeInVehicle: (data: TradeInCarData) => Promise<import("@wayke-se/ecom/dist-types/vehicles/vehicle-lookup-response").VehicleLookupResponse>;
1290
-
1291
- }
1292
- declare module '@wayke-se/ecom-web/src/Redux/action' {
1293
- import { DrivingDistance, IAddress, IAvailableInsuranceOption, IInsuranceAddon, IInsuranceOption, IVehicle, PaymentType } from '@wayke-se/ecom';
1294
- import { IAccessory } from '@wayke-se/ecom/dist-types/orders/types';
1295
- import { PaymentLookupResponse } from '@wayke-se/ecom/dist-types/payments/payment-lookup-response';
1296
- import { Dispatch } from 'redux';
1297
- import { BaseAction } from '@wayke-se/ecom-web/src/@types/BaseAction';
1298
- import { ICreditAssessmentStatus } from '@wayke-se/ecom-web/src/@types/CreditAssessmentStatus';
1299
- import { PartialCustomer } from '@wayke-se/ecom-web/src/@types/Customer';
1300
- import { ViewTypes } from '@wayke-se/ecom-web/src/@types/Navigation';
1301
- import { OrderOptions } from '@wayke-se/ecom-web/src/@types/OrderOptions';
1302
- import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
1303
- import { StageTypes } from '@wayke-se/ecom-web/src/@types/Stages';
1304
- import { TradeInCarData } from '@wayke-se/ecom-web/src/@types/TradeIn';
1305
- import { Vehicle } from '@wayke-se/ecom-web/src/@types/Vehicle';
1306
- import { ReducerState } from '@wayke-se/ecom-web/src/Redux/reducer';
1307
- export const RESET = "RESET";
1308
- export type RESET_TYPE = BaseAction<typeof RESET> & {
1309
- id: string;
1310
- };
1311
- export const reset: (id: string) => (dispatch: Dispatch) => {
1312
- type: string;
1313
- id: string;
1314
- };
1315
- export const SET_ORDER = "SET_ORDER";
1316
- export type SET_ORDER_TYPE = BaseAction<typeof SET_ORDER> & {
1317
- order: OrderOptions;
1318
- vehicle?: Vehicle;
1319
- };
1320
- export const setOrder: (order: OrderOptions, vehicle?: Vehicle) => (dispatch: Dispatch) => {
1321
- type: string;
1322
- order: OrderOptions;
1323
- vehicle: Vehicle | undefined;
1324
- };
1325
- export const SET_ID = "SET_ID";
1326
- export type SET_ID_TYPE = BaseAction<typeof SET_ID> & {
1327
- id: string;
1328
- };
1329
- export const setId: (id: string) => (dispatch: Dispatch) => {
1330
- type: string;
1331
- id: string;
1332
- };
1333
- export const SET_CONTACT_EMAIL_AND_PHONE = "SET_CONTACT_EMAIL_AND_PHONE";
1334
- export type SET_CONTACT_EMAIL_AND_PHONE_TYPE = BaseAction<typeof SET_CONTACT_EMAIL_AND_PHONE> & {
1335
- value: PartialCustomer;
1336
- };
1337
- export const setContactAndPhone: (value: PartialCustomer) => (dispatch: Dispatch) => {
1338
- type: string;
1339
- value: PartialCustomer;
1340
- };
1341
- export const SET_SOCIAL_ID_AND_ADDRESS = "SET_SOCIAL_ID_AND_ADDRESS";
1342
- export type SET_SOCIAL_ID_AND_ADDRESS_TYPE = BaseAction<typeof SET_SOCIAL_ID_AND_ADDRESS> & {
1343
- socialId: string;
1344
- address: IAddress;
1345
- lastStage: boolean;
1346
- };
1347
- export const setSocialIdAndAddress: (socialId: string, address: IAddress, lastStage: boolean) => (dispatch: Dispatch) => {
1348
- type: string;
1349
- socialId: string;
1350
- address: IAddress;
1351
- lastStage: boolean;
1352
- };
1353
- export const SET_ADDRESS = "SET_ADDRESS";
1354
- export type SET_ADDRESS_TYPE = BaseAction<typeof SET_ADDRESS> & {
1355
- address: IAddress;
1356
- lastStage: boolean;
1357
- };
1358
- export const setAddress: (address: IAddress, lastStage: boolean) => (dispatch: Dispatch) => {
1359
- type: string;
1360
- address: IAddress;
1361
- lastStage: boolean;
1362
- };
1363
- export const SET_HOME_DELIVERY = "SET_HOME_DELIVERY";
1364
- export type SET_HOME_DELIVERY_TYPE = BaseAction<typeof SET_HOME_DELIVERY> & {
1365
- homeDelivery: boolean;
1366
- lastStage: boolean;
1367
- };
1368
- export const setHomeDelivery: (homeDelivery: boolean, lastStage: boolean) => (dispatch: Dispatch) => {
1369
- type: string;
1370
- homeDelivery: boolean;
1371
- lastStage: boolean;
1372
- };
1373
- export const SET_DEALER = "SET_DEALER";
1374
- export type SET_DEALER_TYPE = BaseAction<typeof SET_DEALER> & {
1375
- dealer: string;
1376
- lastStage: boolean;
1377
- };
1378
- export const setDealer: (dealer: string, lastStage: boolean) => (dispatch: Dispatch) => {
1379
- type: string;
1380
- dealer: string;
1381
- lastStage: boolean;
1382
- };
1383
- export const INIT_TRADE_IN = "INIT_TRADE_IN";
1384
- export type INIT_TRADE_IN_TYPE = BaseAction<typeof INIT_TRADE_IN> & {
1385
- lastStage: boolean;
1386
- };
1387
- export const initTradeIn: (lastStage: boolean) => (dispatch: Dispatch) => {
1388
- type: string;
1389
- lastStage: boolean;
1390
- };
1391
- export const SET_TRADE_IN = "SET_TRADE_IN";
1392
- export type SET_TRADE_IN_TYPE = BaseAction<typeof SET_TRADE_IN> & {
1393
- lastStage: boolean;
1394
- tradeIn?: TradeInCarData;
1395
- tradeInVehicle?: IVehicle;
1396
- };
1397
- export const setTradeIn: (lastStage: boolean, tradeIn?: TradeInCarData | undefined, tradeInVehicle?: IVehicle) => (dispatch: Dispatch) => {
1398
- type: string;
1399
- lastStage: boolean;
1400
- tradeIn: TradeInCarData | undefined;
1401
- tradeInVehicle: IVehicle | undefined;
1402
- };
1403
- export const SET_FINANCIAL = "SET_FINANCIAL";
1404
- export type SET_FINANCIAL_TYPE = BaseAction<typeof SET_FINANCIAL> & {
1405
- paymentType: PaymentType;
1406
- lastStage: boolean;
1407
- };
1408
- export const setFinancial: (paymentType: PaymentType, lastStage: boolean) => (dispatch: Dispatch) => {
1409
- type: string;
1410
- paymentType: PaymentType;
1411
- lastStage: boolean;
1412
- };
1413
- export const SET_PAYMENT_LOOKUP_RESPONSE = "SET_PAYMENT_LOOKUP_RESPONSE";
1414
- export type SET_PAYMENT_LOOKUP_RESPONSE_TYPE = BaseAction<typeof SET_PAYMENT_LOOKUP_RESPONSE> & {
1415
- paymentLookupResponse: PaymentLookup;
1416
- };
1417
- export const setPaymentLookupResponse: (paymentLookupResponse: PaymentLookupResponse) => (dispatch: Dispatch) => {
1418
- type: string;
1419
- paymentLookupResponse: PaymentLookup;
1420
- };
1421
- export const RESET_PAYMENT_LOOKUP_RESPONSE = "RESET_PAYMENT_LOOKUP_RESPONSE";
1422
- export type RESET_PAYMENT_LOOKUP_RESPONSE_TYPE = BaseAction<typeof RESET_PAYMENT_LOOKUP_RESPONSE>;
1423
- export const resetPaymentLookupResponse: () => (dispatch: Dispatch) => {
1424
- type: string;
1425
- };
1426
- export const SET_DRIVING_DISTANCE = "SET_DRIVING_DISTANCE";
1427
- export type SET_DRIVING_DISTANCE_TYPE = BaseAction<typeof SET_DRIVING_DISTANCE> & {
1428
- drivingDistance: DrivingDistance;
1429
- };
1430
- export const setDrivingDistance: (drivingDistance: DrivingDistance) => (dispatch: Dispatch) => {
1431
- type: string;
1432
- drivingDistance: DrivingDistance;
1433
- };
1434
- export const COMPLETE_STAGE = "COMPLETE_STAGE";
1435
- export type COMPLETE_STAGE_TYPE = BaseAction<typeof COMPLETE_STAGE> & {
1436
- lastStage: boolean;
1437
- };
1438
- export const completeStage: (lastStage: boolean) => (dispatch: Dispatch) => {
1439
- type: string;
1440
- lastStage: boolean;
1441
- };
1442
- export const SET_OR_REMOVE_INSURANCE = "SET_OR_REMOVE_INSURANCE";
1443
- export type SET_OR_REMOVE_INSURANCE_TYPE = BaseAction<typeof SET_OR_REMOVE_INSURANCE> & {
1444
- insurance?: IInsuranceOption;
1445
- };
1446
- export const addOrRemoveInsurance: (insurance?: IInsuranceOption) => (dispatch: Dispatch) => {
1447
- type: string;
1448
- insurance: IInsuranceOption | undefined;
1449
- };
1450
- export const SET_OR_REMOVE_INSURANCE_ADDONS = "SET_OR_REMOVE_INSURANCE_ADDONS";
1451
- export type SET_OR_REMOVE_INSURANCE_ADDONS_TYPE = BaseAction<typeof SET_OR_REMOVE_INSURANCE_ADDONS> & {
1452
- insurance: IInsuranceOption;
1453
- insuranceAddons: IInsuranceAddon[];
1454
- };
1455
- export const addOrRemoveInsuranceAddon: (insurance: IInsuranceOption, insuranceAddons: IInsuranceAddon[]) => (dispatch: Dispatch) => {
1456
- type: string;
1457
- insurance: IInsuranceOption;
1458
- insuranceAddons: IInsuranceAddon[];
1459
- };
1460
- export const SET_OR_REMOVE_FREE_INSURANCE = "SET_OR_REMOVE_FREE_INSURANCE";
1461
- export type SET_OR_REMOVE_FREE_INSURANCE_TYPE = BaseAction<typeof SET_OR_REMOVE_FREE_INSURANCE> & {
1462
- freeInsurance?: IAvailableInsuranceOption;
1463
- };
1464
- export const addOrRemoveFreeInsurance: (freeInsurance: IAvailableInsuranceOption) => (dispatch: Dispatch) => {
1465
- type: string;
1466
- freeInsurance: IAvailableInsuranceOption;
1467
- };
1468
- export const SET_OR_REMOVE_ACCESSORY = "SET_OR_REMOVE_ACCESSORY";
1469
- export type SET_OR_REMOVE_ACCESSORY_TYPE = BaseAction<typeof SET_OR_REMOVE_ACCESSORY> & {
1470
- accessory: IAccessory;
1471
- };
1472
- export const addOrRemoveAccessory: (accessory: IAccessory) => (dispatch: Dispatch) => {
1473
- type: string;
1474
- accessory: IAccessory;
1475
- };
1476
- export const GO_TO = "GO_TO";
1477
- export type GO_TO_TYPE = BaseAction<typeof GO_TO> & {
1478
- view: ViewTypes;
1479
- index?: number;
1480
- subStage?: number;
1481
- };
1482
- export const goTo: (view: ViewTypes, index?: number, subStage?: number) => (dispatch: Dispatch) => {
1483
- type: string;
1484
- view: ViewTypes;
1485
- index: number | undefined;
1486
- subStage: number | undefined;
1487
- };
1488
- export const SET_STAGES = "SET_STAGES";
1489
- export type SET_STAGES_TYPE = BaseAction<typeof SET_STAGES> & {
1490
- stages: StageTypes[];
1491
- };
1492
- export const setStages: (stages: StageTypes[]) => (dispatch: Dispatch) => {
1493
- type: string;
1494
- stages: StageTypes[];
1495
- };
1496
- export const SET_CREATED_ORDER_ID = "SET_CREATED_ORDER_ID";
1497
- export type SET_CREATED_ORDER_ID_TYPE = BaseAction<typeof SET_CREATED_ORDER_ID> & {
1498
- id: string | null | undefined;
1499
- payment?: {
1500
- type: string;
1501
- url: string;
1502
- };
1503
- };
1504
- export const setCreatedOrderId: (id: string | null | undefined, payment?: {
1505
- type: string;
1506
- url: string;
1507
- }) => (dispatch: Dispatch) => {
1508
- type: string;
1509
- id: string | null | undefined;
1510
- payment: {
1511
- type: string;
1512
- url: string;
1513
- } | undefined;
1514
- };
1515
- export const SET_CREDIT_ASSESSMENT_RESPONSE = "SET_CREDIT_ASSESSMENT_RESPONSE";
1516
- export type SET_CREDIT_ASSESSMENT_RESPONSE_TYPE = BaseAction<typeof SET_CREDIT_ASSESSMENT_RESPONSE> & {
1517
- caseId?: string;
1518
- creditAssessmentResponse?: ICreditAssessmentStatus;
1519
- };
1520
- export const setCreditAssessmentResponse: (caseId?: string, creditAssessmentResponse?: ICreditAssessmentStatus) => (dispatch: Dispatch) => {
1521
- type: string;
1522
- caseId: string | undefined;
1523
- creditAssessmentResponse: ICreditAssessmentStatus | undefined;
1524
- };
1525
- export const SET_STATE = "SET_STATE";
1526
- export type SET_STATE_TYPE = BaseAction<typeof SET_STATE> & {
1527
- state: ReducerState;
1528
- };
1529
- export const setState: (state: ReducerState) => (dispatch: Dispatch) => {
1530
- type: string;
1531
- state: ReducerState;
1532
- };
1533
- export type Action = RESET_TYPE | SET_ORDER_TYPE | SET_ID_TYPE | SET_CONTACT_EMAIL_AND_PHONE_TYPE | SET_SOCIAL_ID_AND_ADDRESS_TYPE | SET_ADDRESS_TYPE | SET_HOME_DELIVERY_TYPE | SET_DEALER_TYPE | INIT_TRADE_IN_TYPE | SET_TRADE_IN_TYPE | SET_FINANCIAL_TYPE | SET_PAYMENT_LOOKUP_RESPONSE_TYPE | RESET_PAYMENT_LOOKUP_RESPONSE_TYPE | SET_DRIVING_DISTANCE_TYPE | SET_OR_REMOVE_INSURANCE_ADDONS_TYPE | SET_OR_REMOVE_INSURANCE_TYPE | SET_OR_REMOVE_FREE_INSURANCE_TYPE | SET_OR_REMOVE_ACCESSORY_TYPE | GO_TO_TYPE | SET_STAGES_TYPE | COMPLETE_STAGE_TYPE | SET_CREATED_ORDER_ID_TYPE | SET_CREDIT_ASSESSMENT_RESPONSE_TYPE | SET_STATE_TYPE;
1534
-
1535
- }
1536
- declare module '@wayke-se/ecom-web/src/Redux/reducer' {
1537
- import { DrivingDistance, IAddress, IAvailableInsuranceOption, IInsuranceOption, IVehicle, PaymentType } from '@wayke-se/ecom';
1538
- import { IAccessory, IOrderVehicle } from '@wayke-se/ecom/dist-types/orders/types';
1539
- import { ICreditAssessmentStatus } from '@wayke-se/ecom-web/src/@types/CreditAssessmentStatus';
1540
- import { Customer } from '@wayke-se/ecom-web/src/@types/Customer';
1541
- import { Insurance } from '@wayke-se/ecom-web/src/@types/Insurance';
1542
- import { Navigation } from '@wayke-se/ecom-web/src/@types/Navigation';
1543
- import { OrderOptions } from '@wayke-se/ecom-web/src/@types/OrderOptions';
1544
- import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
1545
- import { StageTypes } from '@wayke-se/ecom-web/src/@types/Stages';
1546
- import { TradeInCarDataPartial } from '@wayke-se/ecom-web/src/@types/TradeIn';
1547
- import { Action } from '@wayke-se/ecom-web/src/Redux/action';
1548
- export interface ReducerState {
1549
- id: string;
1550
- topNavigation: Navigation;
1551
- navigation: Navigation;
1552
- vehicle?: IOrderVehicle;
1553
- order?: OrderOptions;
1554
- customer: Customer;
1555
- address?: IAddress;
1556
- homeDelivery: boolean;
1557
- wantTradeIn?: boolean;
1558
- tradeIn?: TradeInCarDataPartial;
1559
- tradeInVehicle?: IVehicle;
1560
- paymentType?: PaymentType;
1561
- paymentLookupResponse?: PaymentLookup;
1562
- stages?: StageTypes[];
1563
- accessories: IAccessory[];
1564
- drivingDistance: DrivingDistance;
1565
- insurance?: IInsuranceOption;
1566
- insuranceAddOns?: Insurance;
1567
- freeInsurance?: IAvailableInsuranceOption;
1568
- createdOrderId?: string | null;
1569
- creditAssessmentResponse?: ICreditAssessmentStatus;
1570
- caseId?: string;
1571
- dealer?: string;
1572
- payment?: {
1573
- type: string;
1574
- url: string;
1575
- };
1576
- stateLoadedFromSession?: boolean;
1577
- }
1578
- const reducer: (state: ReducerState | undefined, action: Action) => ReducerState;
1579
- export type RootState = ReturnType<typeof reducer>;
1580
- export default reducer;
1581
-
1582
- }
1583
- declare module '@wayke-se/ecom-web/src/Redux/store' {
1584
- import { Store } from 'redux';
1585
- import { Action } from '@wayke-se/ecom-web/src/Redux/action';
1586
- import { ReducerState } from '@wayke-se/ecom-web/src/Redux/reducer';
1587
- export type WaykeStore = Store<ReducerState, Action>;
1588
- export const createStore: () => Store<ReducerState, Action, unknown>;
1589
-
1590
- }
1591
- declare module '@wayke-se/ecom-web/src/Redux/watch' {
1592
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
1593
- export const unregisterAllSubscriptions: () => void;
1594
- type FieldPath = string | number | Array<string | number>;
1595
- const watch: <T>(store: WaykeStore, path: FieldPath, callback: (newValue: T, oldValue: T, pathToField: FieldPath) => void, doNotRegister?: boolean) => (() => void) | undefined;
1596
- export default watch;
1597
-
1598
- }
1599
- declare module '@wayke-se/ecom-web/src/Templates/Alert' {
1600
- type Tones = 'success' | 'warning' | 'error' | 'info';
1601
- interface AlertProps {
1602
- tone?: Tones;
1603
- children?: string | Element;
1604
- polite?: boolean;
1605
- }
1606
- const Alert: ({ tone, children, polite }: AlertProps) => string;
1607
- export default Alert;
1608
-
1609
- }
1610
- declare module '@wayke-se/ecom-web/src/Templates/InputHelp' {
1611
- const InputHelp: () => string;
1612
- export default InputHelp;
1613
-
1614
- }
1615
- declare module '@wayke-se/ecom-web/src/Templates/ItemTileLarge' {
1616
- import { IOrderVehicle } from '@wayke-se/ecom/dist-types/orders/types';
1617
- import { OrderOptions } from '@wayke-se/ecom-web/src/@types/OrderOptions';
1618
- interface ItemTileLargeProps {
1619
- vehicle?: IOrderVehicle;
1620
- order?: OrderOptions;
1621
- meta?: string;
1622
- cdnMedia?: string;
1623
- }
1624
- const ItemTileLarge: ({ vehicle, order, meta, cdnMedia }: ItemTileLargeProps) => string;
1625
- export default ItemTileLarge;
1626
-
1627
- }
1628
- declare module '@wayke-se/ecom-web/src/Templates/ItemTileSmall' {
1629
- import { OrderOptions } from '@wayke-se/ecom-web/src/@types/OrderOptions';
1630
- import { Vehicle } from '@wayke-se/ecom-web/src/@types/Vehicle';
1631
- interface ItemTileSmallProps {
1632
- vehicle?: Vehicle;
1633
- order?: OrderOptions;
1634
- cdnMedia?: string;
1635
- }
1636
- const ItemTileSmall: ({ vehicle, order, cdnMedia }: ItemTileSmallProps) => string;
1637
- export default ItemTileSmall;
1638
-
1639
- }
1640
- declare module '@wayke-se/ecom-web/src/Templates/KeyValueListItem' {
1641
- export interface KeyValueListItemImage {
1642
- src: string;
1643
- srcSet?: string;
1644
- alt: string;
1645
- }
1646
- export interface KeyValueListItemProps {
1647
- key: string | number;
1648
- value: string | number;
1649
- image?: KeyValueListItemImage;
1650
- }
1651
- const KeyValueListItem: ({ key, value, image }: KeyValueListItemProps) => string;
1652
- export default KeyValueListItem;
1653
-
1654
- }
1655
- declare module '@wayke-se/ecom-web/src/Templates/ListItem' {
1656
- interface ListItemProps {
1657
- title: string;
1658
- active?: boolean;
1659
- completed?: boolean;
1660
- id: string;
1661
- index: number;
1662
- }
1663
- const ListItem: (element: HTMLElement, props: ListItemProps) => HTMLDivElement;
1664
- export default ListItem;
1665
-
1666
- }
1667
- declare module '@wayke-se/ecom-web/src/Templates/Loader' {
1668
- type LoaderType = 'inline';
1669
- interface LoaderProps {
1670
- type?: LoaderType;
1671
- }
1672
- const Loader: (props?: LoaderProps) => string;
1673
- export default Loader;
1674
-
1675
- }
1676
- declare module '@wayke-se/ecom-web/src/Templates/Logotype' {
1677
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
1678
- interface LogotypeProps {
1679
- market: MarketCode;
1680
- className?: string;
1681
- }
1682
- export const getWordmarkLogotype: ({ market, className }: LogotypeProps) => string;
1683
- export const getSymbolLogotype: ({ market, className }: LogotypeProps) => string;
1684
- export {};
1685
-
1686
- }
1687
- declare module '@wayke-se/ecom-web/src/Templates/TimelineItem' {
1688
- interface TimelineItemProps {
1689
- heading?: string;
1690
- description?: string;
1691
- final?: boolean;
1692
- }
1693
- const TimelineItem: ({ heading, description, final }: TimelineItemProps) => string;
1694
- export default TimelineItem;
1695
-
1696
- }
1697
- declare module '@wayke-se/ecom-web/src/Utils/cdn' {
1698
- export const toCdnMedia: (url: string, cdn?: string) => string;
1699
-
1700
- }
1701
- declare module '@wayke-se/ecom-web/src/Utils/compare' {
1702
- export const isSame: (a: any, b: any) => boolean;
1703
-
1704
- }
1705
- declare module '@wayke-se/ecom-web/src/Utils/constants' {
1706
- export const Image: {
1707
- bankid: string;
1708
- illustrations: {
1709
- payment: string;
1710
- };
1711
- };
1712
- export const translateTradeInCondition: {
1713
- VeryGood: string;
1714
- Good: string;
1715
- Ok: string;
1716
- };
1717
- export const translateDrivingDistance: {
1718
- Between0And1000: string;
1719
- Between1000And1500: string;
1720
- Between1500And2000: string;
1721
- Between2000And2500: string;
1722
- Over2500: string;
1723
- };
1724
-
1725
- }
1726
- declare module '@wayke-se/ecom-web/src/Utils/convert' {
1727
- import { ICreditAssessmentStatusResponse } from '@wayke-se/ecom';
1728
- import { OrderOptionsResponse } from '@wayke-se/ecom/dist-types/orders/order-options-response';
1729
- import { PaymentLookupResponse } from '@wayke-se/ecom/dist-types/payments/payment-lookup-response';
1730
- import { VehicleLookupResponse } from '@wayke-se/ecom/dist-types/vehicles/vehicle-lookup-response';
1731
- import { ICreditAssessmentStatus } from '@wayke-se/ecom-web/src/@types/CreditAssessmentStatus';
1732
- import { OrderOptions } from '@wayke-se/ecom-web/src/@types/OrderOptions';
1733
- import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
1734
- import { VehicleLookup } from '@wayke-se/ecom-web/src/@types/VehicleLookup';
1735
- export const convertPaymentLookupResponse: (plr: PaymentLookupResponse) => PaymentLookup;
1736
- export const convertCreditAssessmentStatusResponse: (cCAr: ICreditAssessmentStatusResponse) => ICreditAssessmentStatus;
1737
- export const convertOrderOptionsResponse: (cOOR: OrderOptionsResponse) => OrderOptions;
1738
- export const convertVehicleLookupResponse: (cVLR: VehicleLookupResponse) => VehicleLookup;
1739
-
1740
- }
1741
- declare module '@wayke-se/ecom-web/src/Utils/delivery' {
1742
- import { IDeliveryOption, IDistance } from '@wayke-se/ecom';
1743
- export const getDeliveryDistance: (distance: IDistance | null | undefined, deliveryOption: IDeliveryOption) => number | undefined;
1744
- export const getTotalDeliveryCost: (distance: IDistance | null | undefined, deliveryOption: IDeliveryOption) => number | undefined;
1745
-
1746
- }
1747
- declare module '@wayke-se/ecom-web/src/Utils/ecomEvent' {
1748
- export enum EcomEvent {
1749
- START = "START",
1750
- CLOSE = "CLOSE",
1751
- CONFIRM_CLOSE_ACTIVE = "CONFIRM_CLOSE_ACTIVE",
1752
- CONFIRM_CLOSE_CONFIRMED = "CONFIRM_CLOSE_CONFIRMED",
1753
- CONFIRM_CLOSE_ABORTED = "CONFIRM_CLOSE_ABORTED",
1754
- PREVIEW_PROCEED = "PREVIEW_PROCEED",
1755
- CENTRAL_STORAGE_ACTIVE = "CENTRAL_STORAGE_ACTIVE",
1756
- CENTRAL_STORAGE_EDIT = "CENTRAL_STORAGE_EDIT",
1757
- CENTRAL_STORAGE_SELECTED = "CENTRAL_STORAGE_SELECTED",
1758
- CENTRAL_STORAGE_SET = "CENTRAL_STORAGE_SET",
1759
- CUSTOMER_ACTIVE = "CUSTOMER_ACTIVE",
1760
- CUSTOMER_EDIT = "CUSTOMER_EDIT",
1761
- CUSTOMER_EMAIL_AND_PHONE_SET = "CUSTOMER_EMAIL_AND_PHONE_SET",
1762
- CUSTOMER_ADDRESS_BY_SSN_REQUESTED = "CUSTOMER_ADDRESS_BY_SSN_REQUESTED",
1763
- CUSTOMER_ADDRESS_BY_SSN_SUCCEEDED = "CUSTOMER_ADDRESS_BY_SSN_SUCCEEDED",
1764
- CUSTOMER_ADDRESS_BY_SSN_FAILED = "CUSTOMER_ADDRESS_BY_SSN_FAILED",
1765
- CUSTOMER_ADDRESS_SET = "CUSTOMER_ADDRESS_SET",
1766
- CUSTOMER_ADDRESS_EDIT = "CUSTOMER_ADDRESS_EDIT",
1767
- FINANCIAL_INFORMATION_TOGGLE = "FINANCIAL_INFORMATION_TOGGLE",
1768
- FINANCIAL_ACTIVE = "FINANCIAL_ACTIVE",
1769
- FINANCIAL_EDIT = "FINANCIAL_EDIT",
1770
- FINANCIAL_CASH_SELECTED = "FINANCIAL_CASH_SELECTED",
1771
- FINANCIAL_LOAN_SELECTED = "FINANCIAL_LOAN_SELECTED",
1772
- FINANCIAL_LEASE_SELECTED = "FINANCIAL_LEASE_SELECTED",
1773
- FINANCIAL_CASH_SET = "FINANCIAL_CASH_SET",
1774
- FINANCIAL_LEASE_SET = "FINANCIAL_LEASE_SET",
1775
- FINANCIAL_LOAN_SET = "FINANCIAL_LOAN_SET",
1776
- FINANCIAL_LOAN_DOWNPAYMENT_INFORMATION_TOGGLE = "FINANCIAL_LOAN_DOWNPAYMENT_INFORMATION_TOGGLE",
1777
- FINANCIAL_LOAN_KYC_INFORMATION_TOGGLE = "FINANCIAL_LOAN_KYC_INFORMATION_TOGGLE",
1778
- FINANCIAL_LOAN_HOUSEHOLD_COST_INFORMATION_TOGGLE = "FINANCIAL_LOAN_HOUSEHOLD_COST_INFORMATION_TOGGLE",
1779
- FINANCIAL_LOAN_HOUSEHOLD_DEBT_INFORMATION_TOGGLE = "FINANCIAL_LOAN_HOUSEHOLD_DEBT_INFORMATION_TOGGLE",
1780
- FINANCIAL_LOAN_DEBT_SPECIFICATION_CARD_CREDIT_INFORMATION_TOGGLE = "FINANCIAL_LOAN_DEBT_SPECIFICATION_CARD_CREDIT_INFORMATION_TOGGLE",
1781
- FINANCIAL_LOAN_DEBT_SPECIFICATION_CAR_LOAN_INFORMATION_TOGGLE = "FINANCIAL_LOAN_DEBT_SPECIFICATION_CAR_LOAN_INFORMATION_TOGGLE",
1782
- FINANCIAL_LOAN_DEBT_SPECIFICATION_COLLATERAL_INFORMATION_TOGGLE = "FINANCIAL_LOAN_DEBT_SPECIFICATION_COLLATERAL_INFORMATION_TOGGLE",
1783
- FINANCIAL_LOAN_DEBT_SPECIFICATION_LEASING_FEES_INFORMATION_TOGGLE = "FINANCIAL_LOAN_DEBT_SPECIFICATION_LEASING_FEES_INFORMATION_TOGGLE",
1784
- FINANCIAL_LOAN_DEBT_SPECIFICATION_PRIVATE_LOAN_INFORMATION_TOGGLE = "FINANCIAL_LOAN_DEBT_SPECIFICATION_PRIVATE_LOAN_INFORMATION_TOGGLE",
1785
- FINANCIAL_CREDIT_SCORING_ABORTED = "FINANCIAL_CREDIT_SCORING_ABORTED",
1786
- FINANCIAL_CREDIT_SCORING_CREATE_CASE_REQUESTED = "FINANCIAL_CREDIT_SCORING_CREATE_CASE_REQUESTED",
1787
- FINANCIAL_CREDIT_SCORING_CREATE_CASE_SUCCEEDED = "FINANCIAL_CREDIT_SCORING_CREATE_CASE_SUCCEEDED",
1788
- FINANCIAL_CREDIT_SCORING_CREATE_CASE_FAILED = "FINANCIAL_CREDIT_SCORING_CREATE_CASE_FAILED",
1789
- FINANCIAL_CREDIT_SCORING_BANKID_INIT_REQUESTED = "FINANCIAL_CREDIT_SCORING_BANKID_INIT_REQUESTED",
1790
- FINANCIAL_CREDIT_SCORING_BANKID_INIT_SUCCEEDED = "FINANCIAL_CREDIT_SCORING_BANKID_INIT_SUCCEEDED",
1791
- FINANCIAL_CREDIT_SCORING_BANKID_INIT_FAILED = "FINANCIAL_CREDIT_SCORING_BANKID_INIT_FAILED",
1792
- FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_REQUESTED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_REQUESTED",
1793
- FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_SUCCEEDED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_SUCCEEDED",
1794
- FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_REQUESTED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_REQUESTED",
1795
- FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_SUCCEEDED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_SUCCEEDED",
1796
- FINANCIAL_CREDIT_SCORING_SIGNING_SIGNED = "FINANCIAL_CREDIT_SCORING_SIGNING_SIGNED",
1797
- FINANCIAL_CREDIT_SCORING_SIGNING_SCORED = "FINANCIAL_CREDIT_SCORING_SIGNING_SCORED",
1798
- TRADE_IN_ACTIVE = "TRADE_IN_ACTIVE",
1799
- TRADE_IN_EDIT = "TRADE_IN_EDIT",
1800
- TRADE_IN_SELECTED = "TRADE_IN_SELECTED",
1801
- TRADE_IN_SKIPPED = "TRADE_IN_SKIPPED",
1802
- TRADE_IN_CONDITION_VERY_GOOD_SELECTED = "TRADE_IN_CONDITION_VERY_GOOD_SELECTED",
1803
- TRADE_IN_CONDITION_GOOD_SELECTED = "TRADE_IN_CONDITION_GOOD_SELECTED",
1804
- TRADE_IN_CONDITION_OK_SELECTED = "TRADE_IN_CONDITION_OK_SELECTED",
1805
- TRADE_IN_VALUATION_REQUESTED = "TRADE_IN_VALUATION_REQUESTED",
1806
- TRADE_IN_VALUATION_SUCCEEDED = "TRADE_IN_VALUATION_SUCCEEDED",
1807
- TRADE_IN_VALUATION_FAILED = "TRADE_IN_VALUATION_FAILED",
1808
- TRADE_IN_SET = "TRADE_IN_SET",
1809
- INSURANCE_ACTIVE = "INSURANCE_ACTIVE",
1810
- INSURANCE_EDIT = "INSURANCE_EDIT",
1811
- INSURANCE_MILEAGE_BETWEEN_0_AND_1000_SELECTED = "INSURANCE_MILEAGE_BETWEEN_0_AND_1000_SELECTED",
1812
- INSURANCE_MILEAGE_BETWEEN_1000_AND_1500_SELECTED = "INSURANCE_MILEAGE_BETWEEN_1000_AND_1500_SELECTED",
1813
- INSURANCE_MILEAGE_BETWEEN_1500_AND_2000_SELECTED = "INSURANCE_MILEAGE_BETWEEN_1500_AND_2000_SELECTED",
1814
- INSURANCE_MILEAGE_BETWEEN_2000_AND_2500_SELECTED = "INSURANCE_MILEAGE_BETWEEN_2000_AND_2500_SELECTED",
1815
- INSURANCE_MILEAGE_OVER_2500_SELECTED = "INSURANCE_MILEAGE_OVER_2500_SELECTED",
1816
- INSURANCE_EDIT_MILEAGE = "INSURANCE_EDIT_MILEAGE",
1817
- INSURANCE_SKIPPED = "INSURANCE_SKIPPED",
1818
- INSURANCE_SHOW = "INSURANCE_SHOW",
1819
- INSURANCE_SET = "INSURANCE_SET",
1820
- INSURANCE_SELECTED = "INSURANCE_SELECTED",
1821
- INSURANCE_UNSELECTED = "INSURANCE_UNSELECTED",
1822
- INSURANCE_ADDON_SELECTED = "INSURANCE_ADDON_SELECTED",
1823
- INSURANCE_ADDON_UNSELECTED = "INSURANCE_ADDON_UNSELECTED",
1824
- INSURANCE_GET_INSURANCES_REQUESTED = "INSURANCE_GET_INSURANCES_REQUESTED",
1825
- INSURANCE_GET_INSURANCES_SUCCEEDED = "INSURANCE_GET_INSURANCES_SUCCEEDED",
1826
- INSURANCE_GET_INSURANCES_FAILED = "INSURANCE_GET_INSURANCES_FAILED",
1827
- INSURANCE_INFORMATION_TOGGLE = "INSURANCE_INFORMATION_TOGGLE",
1828
- INSURANCE_ARROW = "INSURANCE_ARROW",
1829
- DELIVERY_ACTIVE = "DELIVERY_ACTIVE",
1830
- DELIVERY_EDIT = "DELIVERY_EDIT",
1831
- DELIVERY_DEALER_SELECTED = "DELIVERY_DEALER_SELECTED",
1832
- DELIVERY_HOME_SELECTED = "DELIVERY_HOME_SELECTED",
1833
- DELIVERY_DEALER_SET = "DELIVERY_DEALER_SET",
1834
- DELIVERY_HOME_SET = "DELIVERY_HOME_SET",
1835
- ACCESSORY_ACTIVE = "ACCESSORY_ACTIVE",
1836
- ACCESSORY_EDIT = "ACCESSORY_EDIT",
1837
- ACCESSORY_EXPOSURE = "ACCESSORY_EXPOSURE",
1838
- ACCESSORY_SKIPPED = "ACCESSORY_SKIPPED",
1839
- ACCESSORY_SELECTED = "ACCESSORY_SELECTED",
1840
- ACCESSORY_UNSELECTED = "ACCESSORY_UNSELECTED",
1841
- ACCESSORY_INFORMATION_OPEN = "ACCESSORY_INFORMATION_OPEN",
1842
- ACCESSORY_INFORMATION_CLOSE = "ACCESSORY_INFORMATION_CLOSE",
1843
- ACCESSORY_INFORMATION_GALLERY_IMAGE_PAGING = "ACCESSORY_INFORMATION_GALLERY_IMAGE_PAGING",
1844
- ACCESSORY_ARROWS = "ACCESSORY_ARROWS",
1845
- CONFIRMATION_BANKID_ABORTED = "CONFIRMATION_BANKID_ABORTED",
1846
- CONFIRMATION_BANKID_INIT_REQUESTED = "CONFIRMATION_BANKID_INIT_REQUESTED",
1847
- CONFIRMATION_BANKID_INIT_SUCCEEDED = "CONFIRMATION_BANKID_INIT_SUCCEEDED",
1848
- CONFIRMATION_BANKID_INIT_FAILED = "CONFIRMATION_BANKID_INIT_FAILED",
1849
- CONFIRMATION_BANKID_STATUS_QR_REQUESTED = "CONFIRMATION_BANKID_STATUS_QR_REQUESTED",
1850
- CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED = "CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED",
1851
- CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED_NOT_OVER_18 = "CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED_NOT_OVER_18",
1852
- CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED_SSN_MISSMATCH = "CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED_SSN_MISSMATCH",
1853
- CONFIRMATION_BANKID_STATUS_SAME_DEVICE_REQUESTED = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_REQUESTED",
1854
- CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SHOULD_RENEW = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SHOULD_RENEW",
1855
- CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED",
1856
- CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED_NOT_OVER_18 = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED_NOT_OVER_18",
1857
- CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED_SSN_MISSMATCH = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED_SSN_MISSMATCH",
1858
- CONFIRMATION_CREATE_ORDER_REQUESTED = "CONFIRMATION_CREATE_ORDER_REQUESTED",
1859
- CONFIRMATION_CREATE_ORDER_SUCCEEDED = "CONFIRMATION_CREATE_ORDER_SUCCEEDED",
1860
- CONFIRMATION_CREATE_ORDER_FAILED = "CONFIRMATION_CREATE_ORDER_FAILED",
1861
- CONFIRMATION_ACCEPT_CREDIT_ASSESSMENT_REQUEST = "CONFIRMATION_ACCEPT_CREDIT_ASSESSMENT_REQUEST",
1862
- CONFIRMATION_ACCEPT_CREDIT_ASSESSMENT_SUCCEEDED = "CONFIRMATION_ACCEPT_CREDIT_ASSESSMENT_SUCCEEDED",
1863
- CONFIRMATION_ACCEPT_CREDIT_ASSESSMENT_FAILED = "CONFIRMATION_ACCEPT_CREDIT_ASSESSMENT_FAILED",
1864
- SUMMARY_ACTIVE = "SUMMARY_ACTIVE"
1865
- }
1866
- export enum EcomStep {
1867
- CENTRAL_STORAGE = "CENTRAL_STORAGE",
1868
- CUSTOMER_EMAIL_AND_PHONE = "CUSTOMER_EMAIL_AND_PHONE",
1869
- CUSTOMER_ADDRESS = "CUSTOMER_ADDRESS",
1870
- FINANCIAL = "FINANCIAL",
1871
- FINANCIAL_CREDIT_SCORING = "FINANCIAL_CREDIT_SCORING",
1872
- TRADE_IN = "TRADE_IN",
1873
- TRADE_IN_DETAILS = "TRADE_IN_DETAILS",
1874
- INSURANCE = "INSURANCE",
1875
- INSURANCE_IF = "INSURANCE_IF",
1876
- DELIVERY = "DELIVERY",
1877
- ACCESSORY = "ACCESSORY",
1878
- CONFIRMATION = "CONFIRMATION"
1879
- }
1880
- export enum EcomView {
1881
- PREVIEW = "PREVIEW",
1882
- MAIN = "MAIN",
1883
- SUMMARY = "SUMMARY"
1884
- }
1885
- type Listner = (view: EcomView, ecomEvent: EcomEvent, currentStep?: EcomStep, data?: {
1886
- [key: string]: any;
1887
- }) => void;
1888
- export const registerEventListner: (fn: Listner) => void;
1889
- export const unregisterEventListner: (fn: Listner) => void;
1890
- interface EventHistory {
1891
- view: EcomView;
1892
- ecomEvent: EcomEvent;
1893
- currentStep?: EcomStep;
1894
- data?: {
1895
- [key: string]: any;
1896
- };
1897
- }
1898
- export const eventHistory: EventHistory[];
1899
- export const getLastHistory: () => EventHistory;
1900
- const ecomEvent: (view: EcomView, ecomEvent: EcomEvent, currentStep?: EcomStep, data?: {
1901
- [key: string]: any;
1902
- }) => void;
1903
- export default ecomEvent;
1904
-
1905
- }
1906
- declare module '@wayke-se/ecom-web/src/Utils/format' {
1907
- import { Vehicle } from '@wayke-se/ecom-web/src/@types/Vehicle';
1908
- export const removeSpaces: (value: string | number) => string;
1909
- interface PrettyNumberSettings {
1910
- postfix?: string | number;
1911
- prefix?: string | number;
1912
- decimals?: number;
1913
- }
1914
- export const prettyNumber: (value: number | undefined, settings?: PrettyNumberSettings) => string;
1915
- export const formatShortDescription: (vehicle?: Vehicle) => string | undefined;
1916
- export {};
1917
-
1918
- }
1919
- declare module '@wayke-se/ecom-web/src/Utils/i18n' {
1920
- import _i18next from 'i18next';
1921
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
1922
- const i18next: typeof _i18next;
1923
- export const t: (key: string, options?: any) => string | import("i18next/typescript/helpers").$SpecialObject | import("i18next").TFunctionDetailedResult<string | import("i18next/typescript/helpers").$SpecialObject, any>;
1924
- export const initializeI18N: (marketCode?: MarketCode) => void;
1925
- export default i18next;
1926
-
1927
- }
1928
- declare module '@wayke-se/ecom-web/src/Utils/intervals' {
1929
- export const registerInterval: (key: string, interval: number) => void;
1930
- export const unregisterAllIntervals: () => void;
1931
-
1932
- }
1933
- declare module '@wayke-se/ecom-web/src/Utils/isMobile' {
1934
- export const isMobile: () => boolean;
1935
-
1936
- }
1937
- declare module '@wayke-se/ecom-web/src/Utils/market' {
1938
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
1939
- export const getLanguage: (marketCode?: MarketCode) => "nb-NO" | "sv-SE";
1940
-
1941
- }
1942
- declare module '@wayke-se/ecom-web/src/Utils/mask' {
1943
- export const maskText: (text: string) => string;
1944
- export const maskSSn: (ssn: string) => string;
1945
-
1946
- }
1947
- declare module '@wayke-se/ecom-web/src/Utils/parser' {
1948
- export const asHtml: (s?: string) => string;
1949
-
1950
- }
1951
- declare module '@wayke-se/ecom-web/src/Utils/payment' {
1952
- export const swedbankPayment: (url: string) => void;
1953
-
1954
- }
1955
- declare module '@wayke-se/ecom-web/src/Utils/portal' {
1956
- export const createPortal: () => HTMLDivElement;
1957
- export const destroyPortal: () => void;
1958
-
1959
- }
1960
- declare module '@wayke-se/ecom-web/src/Utils/regex' {
1961
- export const regexEmail: RegExp;
1962
- export const regexPhoneNumberVariant: RegExp;
1963
- export const regexZip: RegExp;
1964
- export const regexPersonalNumber: RegExp;
1965
- export const regexRegistrationNumberSweden: RegExp;
1966
- export const regexRegistrationNumberNorway: RegExp;
1967
- export const regexNumber: RegExp;
1968
-
1969
- }
1970
- declare module '@wayke-se/ecom-web/src/Utils/render' {
1971
- export const renderConditional: (condition: boolean, content: string) => string;
1972
-
1973
- }
1974
- declare module '@wayke-se/ecom-web/src/Utils/scroll' {
1975
- export const scrollTop: () => void;
1976
-
1977
- }
1978
- declare module '@wayke-se/ecom-web/src/Utils/stage' {
1979
- import { StageMapper } from '@wayke-se/ecom-web/src/@types/Stages';
1980
- export const stageMap: StageMapper;
1981
- export type StageMapKeys = keyof typeof stageMap;
1982
-
1983
- }
1984
- declare module '@wayke-se/ecom-web/src/Utils/trapFocus' {
1985
- export function trapFocus(modalElement: HTMLElement): void;
1986
-
1987
- }
1988
- declare module '@wayke-se/ecom-web/src/Utils/validationMethods' {
1989
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
1990
- export const validationMethods: {
1991
- requiredEmail: (s: string) => boolean;
1992
- requiredTelephone: (s: string) => boolean;
1993
- requiredSsn: (s: string) => boolean;
1994
- requiredSsnOver18: (s: string) => boolean;
1995
- requiredZip: (s: string) => boolean;
1996
- requiredNumberOrStringNumberInRange: (s: string | number, from: number, to: number) => boolean;
1997
- requiredNumber: (s?: string | number | null) => boolean;
1998
- requiredNumberGreaterOrEqualThanZero: (s?: string | number | null) => boolean;
1999
- optionalNumberGreaterOrEqualThanZero: (s?: string | number | null) => boolean;
2000
- optionalNumber: (s?: string | number | null) => boolean;
2001
- requiredRegistrationNumber: (s?: string, marketCode?: MarketCode) => boolean;
2002
- requiredMileage: (s?: string) => boolean;
2003
- optionalString: (s?: string) => boolean;
2004
- requiredCondition: (s?: string) => boolean;
2005
- requiredAssessmentMaritalStatus: (s?: string) => boolean;
2006
- requiredAssessmentEmplyment: (s?: string) => boolean;
2007
- requiredHousingType: (s?: string) => boolean;
2008
- requiredName: (s?: string) => boolean;
2009
- requiredCity: (s?: string) => boolean;
2010
- requiredStreet: (s?: string) => boolean;
2011
- requiredStreet2: (_s?: string) => boolean;
2012
- };
2013
-
2014
- }
2015
- declare module '@wayke-se/ecom-web/src/Utils/vw' {
2016
- export const useVwListner: () => () => void;
2017
-
2018
- }
2019
- declare module '@wayke-se/ecom-web/src/Views/ConfirmClose/index' {
2020
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2021
- interface ConfirmCloseProps {
2022
- readonly onConfirmClose: () => void;
2023
- readonly onAbortClose: () => void;
2024
- }
2025
- class ConfirmClose extends HtmlNode {
2026
- private readonly props;
2027
- constructor(element: HTMLElement, props: ConfirmCloseProps);
2028
- render(): void;
2029
- }
2030
- export default ConfirmClose;
2031
-
2032
- }
2033
- declare module '@wayke-se/ecom-web/src/Views/Main/Accessories/AccessoryItem' {
2034
- import { IAccessory } from '@wayke-se/ecom/dist-types/orders/types';
2035
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2036
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2037
- interface AccessoryItemProps {
2038
- readonly store: WaykeStore;
2039
- readonly accessory: IAccessory;
2040
- readonly key: string;
2041
- }
2042
- class AccessoryItem extends HtmlNode {
2043
- private readonly props;
2044
- private displayInfo;
2045
- private exposureTracked;
2046
- constructor(element: HTMLElement, props: AccessoryItemProps);
2047
- private onInfoOpen;
2048
- private onInfoClose;
2049
- private onClick;
2050
- private trackExposure;
2051
- render(): void;
2052
- }
2053
- export default AccessoryItem;
2054
-
2055
- }
2056
- declare module '@wayke-se/ecom-web/src/Views/Main/Accessories/AccessoryItemInfo' {
2057
- import { IAccessory } from '@wayke-se/ecom/dist-types/orders/types';
2058
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2059
- interface AccessoryItemInfoProps {
2060
- readonly accessory: IAccessory;
2061
- readonly selected: boolean;
2062
- readonly onClick: () => void;
2063
- readonly onClose: () => void;
2064
- }
2065
- class AccessoryItemInfo extends HtmlNode {
2066
- private readonly props;
2067
- constructor(element: HTMLElement, props: AccessoryItemInfoProps);
2068
- private onGalleryImagePaging;
2069
- render(): void;
2070
- }
2071
- export default AccessoryItemInfo;
2072
-
2073
- }
2074
- declare module '@wayke-se/ecom-web/src/Views/Main/Accessories/AccessoryList' {
2075
- import { IAccessory } from '@wayke-se/ecom/dist-types/orders/types';
2076
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2077
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2078
- interface AccessoryListProps {
2079
- readonly store: WaykeStore;
2080
- readonly accessories: IAccessory[];
2081
- }
2082
- class AccessoryList extends HtmlNode {
2083
- private readonly props;
2084
- constructor(element: HTMLElement | null, props: AccessoryListProps);
2085
- render(): void;
2086
- }
2087
- export default AccessoryList;
2088
-
2089
- }
2090
- declare module '@wayke-se/ecom-web/src/Views/Main/Accessories/index' {
2091
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2092
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2093
- interface AccessoriesProps {
2094
- readonly store: WaykeStore;
2095
- readonly index: number;
2096
- readonly lastStage: boolean;
2097
- }
2098
- class Accessories extends HtmlNode {
2099
- private readonly props;
2100
- constructor(element: HTMLElement, props: AccessoriesProps);
2101
- private onProceed;
2102
- private onEdit;
2103
- render(): void;
2104
- }
2105
- export default Accessories;
2106
-
2107
- }
2108
- declare module '@wayke-se/ecom-web/src/Views/Main/CentralStorage/index' {
2109
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2110
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2111
- interface CentralStorageProps {
2112
- readonly store: WaykeStore;
2113
- readonly index: number;
2114
- readonly lastStage: boolean;
2115
- }
2116
- class CentralStorage extends HtmlNode {
2117
- private readonly props;
2118
- private selectedDealer?;
2119
- private requestError;
2120
- private contexts;
2121
- constructor(element: HTMLElement, props: CentralStorageProps);
2122
- private updateOrder;
2123
- private onChange;
2124
- private onEdit;
2125
- private onProceed;
2126
- render(): void;
2127
- }
2128
- export default CentralStorage;
2129
-
2130
- }
2131
- declare module '@wayke-se/ecom-web/src/Views/Main/Confirmation/NoVerify' {
2132
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2133
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2134
- interface NoVerifyProps {
2135
- store: WaykeStore;
2136
- }
2137
- class NoVerify extends HtmlNode {
2138
- private props;
2139
- private requestError;
2140
- private notAvailable;
2141
- private view;
2142
- private contexts;
2143
- private acceptConditions;
2144
- constructor(element: HTMLElement | null, props: NoVerifyProps);
2145
- private onCreateOrder;
2146
- private onCheckbox;
2147
- render(): void;
2148
- }
2149
- export default NoVerify;
2150
-
2151
- }
2152
- declare module '@wayke-se/ecom-web/src/Views/Main/Confirmation/Payment' {
2153
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2154
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2155
- interface PaymentProps {
2156
- store: WaykeStore;
2157
- }
2158
- class Payment extends HtmlNode {
2159
- private props;
2160
- constructor(element: HTMLElement | null, props: PaymentProps);
2161
- init(): void;
2162
- render(): void;
2163
- }
2164
- export default Payment;
2165
-
2166
- }
2167
- declare module '@wayke-se/ecom-web/src/Views/Main/Confirmation/VerifyByBankId' {
2168
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2169
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2170
- interface VerifyByBankIdProps {
2171
- readonly store: WaykeStore;
2172
- readonly index: number;
2173
- readonly lastStage: boolean;
2174
- }
2175
- class VerifyByBankId extends HtmlNode {
2176
- private readonly props;
2177
- private bankidStatusInterval?;
2178
- private bankidQrCodeInterval?;
2179
- private focusTimeout?;
2180
- private view;
2181
- private contexts;
2182
- private ageError;
2183
- private requestError;
2184
- private socialIdNotMatchingError;
2185
- private notAvailable;
2186
- private confirmConditions;
2187
- private bankidRequestRef;
2188
- constructor(element: HTMLElement, props: VerifyByBankIdProps);
2189
- private addWindowEvents;
2190
- private removeWindowEvents;
2191
- private clearIntervals;
2192
- private onFocus;
2193
- private onSameDeviceClick;
2194
- private setBankidRequestRef;
2195
- private clearBankidRequestRef;
2196
- private acceptCreditAssessment;
2197
- private onCreateOrder;
2198
- private handleBankidStatusResponse;
2199
- private bankidStatus;
2200
- private qrCode;
2201
- private startBankidSameDevice;
2202
- private startBankidWithQr;
2203
- private onStartBankIdAuth;
2204
- private onAbort;
2205
- private onCheckbox;
2206
- render(): void;
2207
- }
2208
- export default VerifyByBankId;
2209
-
2210
- }
2211
- declare module '@wayke-se/ecom-web/src/Views/Main/Confirmation/index' {
2212
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2213
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2214
- interface ConfirmationProps {
2215
- readonly store: WaykeStore;
2216
- readonly index: number;
2217
- readonly lastStage: boolean;
2218
- readonly bypassBankId: boolean;
2219
- }
2220
- class Confirmation extends HtmlNode {
2221
- private readonly props;
2222
- private view;
2223
- constructor(element: HTMLElement, props: ConfirmationProps);
2224
- render(): void;
2225
- }
2226
- export default Confirmation;
2227
-
2228
- }
2229
- declare module '@wayke-se/ecom-web/src/Views/Main/Customer/EmailAndPhone' {
2230
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2231
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2232
- export interface PartialCustomerValidation {
2233
- email: boolean;
2234
- phone: boolean;
2235
- }
2236
- interface EmailAndPhoneProps {
2237
- readonly store: WaykeStore;
2238
- }
2239
- class EmailAndPhone extends HtmlNode {
2240
- private readonly props;
2241
- private state;
2242
- private contexts;
2243
- constructor(element: HTMLDivElement, props: EmailAndPhoneProps);
2244
- private onChange;
2245
- private onBlur;
2246
- private updateUiError;
2247
- private updateProceedButton;
2248
- private onProceed;
2249
- private onChangeContacts;
2250
- render(): void;
2251
- }
2252
- export default EmailAndPhone;
2253
-
2254
- }
2255
- declare module '@wayke-se/ecom-web/src/Views/Main/Customer/FullAddress' {
2256
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
2257
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2258
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2259
- interface FullAddressProps {
2260
- readonly store: WaykeStore;
2261
- readonly lastStage: boolean;
2262
- readonly marketCode: MarketCode;
2263
- }
2264
- class FullAddress extends HtmlNode {
2265
- private readonly props;
2266
- private state;
2267
- constructor(element: HTMLDivElement, props: FullAddressProps);
2268
- render(): void;
2269
- }
2270
- export default FullAddress;
2271
-
2272
- }
2273
- declare module '@wayke-se/ecom-web/src/Views/Main/Customer/FullAddressBySocialId' {
2274
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2275
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2276
- export interface SocialIdValidation {
2277
- socialId: boolean;
2278
- }
2279
- interface FullAddressBySocialIdProps {
2280
- readonly store: WaykeStore;
2281
- readonly lastStage: boolean;
2282
- }
2283
- class FullAddressBySocialId extends HtmlNode {
2284
- private readonly props;
2285
- private state;
2286
- private requestError;
2287
- private contexts;
2288
- constructor(element: HTMLElement, props: FullAddressBySocialIdProps);
2289
- private onFetchAddress;
2290
- private onChange;
2291
- private onBlur;
2292
- private updateUiError;
2293
- private updateProceedButton;
2294
- render(): void;
2295
- }
2296
- export default FullAddressBySocialId;
2297
-
2298
- }
2299
- declare module '@wayke-se/ecom-web/src/Views/Main/Customer/FullAddressForm' {
2300
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2301
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2302
- export interface PartialAddressValidation {
2303
- givenName: boolean;
2304
- surname: boolean;
2305
- street: boolean;
2306
- street2: boolean;
2307
- postalCode: boolean;
2308
- city: boolean;
2309
- }
2310
- interface FullAddressFormProps {
2311
- readonly store: WaykeStore;
2312
- readonly lastStage: boolean;
2313
- }
2314
- class FullAddressForm extends HtmlNode {
2315
- private readonly props;
2316
- private state;
2317
- private contexts;
2318
- constructor(element: HTMLElement, props: FullAddressFormProps);
2319
- private onChange;
2320
- private onBlur;
2321
- private updateUiError;
2322
- private updateProceedButton;
2323
- private onProceed;
2324
- private onChangeAddress;
2325
- render(): void;
2326
- }
2327
- export default FullAddressForm;
2328
-
2329
- }
2330
- declare module '@wayke-se/ecom-web/src/Views/Main/Customer/index' {
2331
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
2332
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2333
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2334
- interface CustomerProps {
2335
- readonly store: WaykeStore;
2336
- readonly index: number;
2337
- readonly lastStage: boolean;
2338
- readonly marketCode: MarketCode;
2339
- }
2340
- class Customer extends HtmlNode {
2341
- private readonly props;
2342
- constructor(element: HTMLElement, props: CustomerProps);
2343
- private onChange;
2344
- render(): void;
2345
- }
2346
- export default Customer;
2347
-
2348
- }
2349
- declare module '@wayke-se/ecom-web/src/Views/Main/Delivery/index' {
2350
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2351
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2352
- interface DeliveryProps {
2353
- readonly store: WaykeStore;
2354
- readonly index: number;
2355
- readonly lastStage: boolean;
2356
- }
2357
- class Delivery extends HtmlNode {
2358
- private readonly props;
2359
- private homeDelivery;
2360
- constructor(element: HTMLElement, props: DeliveryProps);
2361
- private onChange;
2362
- private onProceed;
2363
- private onEdit;
2364
- render(): void;
2365
- }
2366
- export default Delivery;
2367
-
2368
- }
2369
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/CreditAssessment' {
2370
- import { PaymentOption } from '@wayke-se/ecom-web/src/@types/OrderOptions';
2371
- import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
2372
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2373
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2374
- export const DISCLAIMER_WRAPPER_NODE = "credit-assessment-disclaimer";
2375
- export interface CreditAssessmentHouseholdEconomyValidation {
2376
- maritalStatus: boolean;
2377
- income: boolean;
2378
- employment: boolean;
2379
- householdChildren: boolean;
2380
- housingCost: boolean;
2381
- 'debtSpecification.cardCredits': boolean;
2382
- 'debtSpecification.vehicleLoan': boolean;
2383
- 'debtSpecification.collateral': boolean;
2384
- 'debtSpecification.leasingFees': boolean;
2385
- 'debtSpecification.privateLoan': boolean;
2386
- housingType: boolean;
2387
- }
2388
- interface CreditAssessmentProps {
2389
- readonly store: WaykeStore;
2390
- readonly loan: PaymentOption;
2391
- readonly paymentLookupResponse: PaymentLookup;
2392
- readonly onProceed: () => void;
2393
- }
2394
- class CreditAssessment extends HtmlNode {
2395
- private readonly props;
2396
- private state;
2397
- private bankidStatusInterval?;
2398
- private view;
2399
- private contexts;
2400
- private caseError?;
2401
- private bankidError;
2402
- private signed;
2403
- private creditAssessmentResponse?;
2404
- constructor(element: HTMLDivElement | undefined | null, props: CreditAssessmentProps);
2405
- private onChange;
2406
- private onBlur;
2407
- private onChangeSelect;
2408
- private onChangeRadio;
2409
- private updateUiError;
2410
- private updateProceedButton;
2411
- private onAbort;
2412
- private bankIdStatus;
2413
- private onStartBankIdAuth;
2414
- private startBankId;
2415
- private newCreditAssessmentCase;
2416
- private render;
2417
- }
2418
- export default CreditAssessment;
2419
-
2420
- }
2421
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/CreditAssessmentApproved' {
2422
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2423
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2424
- interface CreditAssessmentApprovedProps {
2425
- readonly store: WaykeStore;
2426
- readonly onProceed: () => void;
2427
- readonly onGoBack: () => void;
2428
- }
2429
- class CreditAssessmentApproved extends HtmlNode {
2430
- private readonly props;
2431
- constructor(element: HTMLElement, props: CreditAssessmentApprovedProps);
2432
- render(): void;
2433
- }
2434
- export default CreditAssessmentApproved;
2435
-
2436
- }
2437
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/CreditAssessmentAssessManually' {
2438
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2439
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2440
- interface CreditAssessmentAssessManuallyProps {
2441
- readonly store: WaykeStore;
2442
- readonly onProceed: () => void;
2443
- readonly onGoBack: () => void;
2444
- }
2445
- class CreditAssessmentAssessManually extends HtmlNode {
2446
- private readonly props;
2447
- constructor(element: HTMLElement, props: CreditAssessmentAssessManuallyProps);
2448
- render(): void;
2449
- }
2450
- export default CreditAssessmentAssessManually;
2451
-
2452
- }
2453
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/CreditAssessmentRejected' {
2454
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2455
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2456
- interface CreditAssessmentRejectedProps {
2457
- readonly store: WaykeStore;
2458
- readonly onGoBack: () => void;
2459
- }
2460
- class CreditAssessmentRejected extends HtmlNode {
2461
- private props;
2462
- constructor(element: HTMLElement, props: CreditAssessmentRejectedProps);
2463
- render(): void;
2464
- }
2465
- export default CreditAssessmentRejected;
2466
-
2467
- }
2468
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/CreditAssessmentResult' {
2469
- import { ICreditAssessmentStatus } from '@wayke-se/ecom-web/src/@types/CreditAssessmentStatus';
2470
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2471
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2472
- interface CreditAssessmentResultProps {
2473
- readonly store: WaykeStore;
2474
- readonly creditAssessmentResponse: ICreditAssessmentStatus;
2475
- readonly onProceed: () => void;
2476
- readonly onGoBack: () => void;
2477
- }
2478
- class CreditAssessmentResult extends HtmlNode {
2479
- private readonly props;
2480
- constructor(element: HTMLElement, props: CreditAssessmentResultProps);
2481
- render(): void;
2482
- }
2483
- export default CreditAssessmentResult;
2484
-
2485
- }
2486
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/Loan' {
2487
- import { PaymentOption } from '@wayke-se/ecom-web/src/@types/OrderOptions';
2488
- import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
2489
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2490
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2491
- interface LoanProps {
2492
- readonly store: WaykeStore;
2493
- readonly loan: PaymentOption;
2494
- readonly vehicleId: string;
2495
- readonly paymentLookupResponse?: PaymentLookup;
2496
- readonly onProceed: () => void;
2497
- }
2498
- class Loan extends HtmlNode {
2499
- private readonly props;
2500
- private paymentState;
2501
- private previousState;
2502
- private paymentLookupResponse;
2503
- private contexts;
2504
- constructor(element: HTMLDivElement, props: LoanProps);
2505
- private payment;
2506
- private onChange;
2507
- private update;
2508
- render(): void;
2509
- }
2510
- export default Loan;
2511
-
2512
- }
2513
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/LoanDetails' {
2514
- import { PaymentOption } from '@wayke-se/ecom-web/src/@types/OrderOptions';
2515
- import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
2516
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2517
- interface LoanDetailsProps {
2518
- paymentLookupResponse: PaymentLookup;
2519
- loan: PaymentOption;
2520
- }
2521
- class LoanDetails extends HtmlNode {
2522
- private props;
2523
- private contexts;
2524
- constructor(element: HTMLElement | null | undefined, props: LoanDetailsProps);
2525
- private extractProps;
2526
- update(props: LoanDetailsProps): void;
2527
- render(): void;
2528
- }
2529
- export default LoanDetails;
2530
-
2531
- }
2532
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/LoanDetailsBasic' {
2533
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2534
- interface LoanDetailsBasicProps {
2535
- downPayment: number;
2536
- creditAmount: number;
2537
- downPaymentPercentage: number;
2538
- creditAmountPercentage: number;
2539
- }
2540
- class LoanDetailsBasic extends HtmlNode {
2541
- private props;
2542
- constructor(element: HTMLElement | null | undefined, props: LoanDetailsBasicProps);
2543
- update(props: LoanDetailsBasicProps): void;
2544
- render(): void;
2545
- }
2546
- export default LoanDetailsBasic;
2547
-
2548
- }
2549
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/LoanDetailsDetailed' {
2550
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2551
- interface LoanDetailsDetailedProps {
2552
- duration: number;
2553
- administrationFee?: number;
2554
- setupFee?: number;
2555
- totalCreditCost: number;
2556
- interest: number;
2557
- effectiveInterest: number;
2558
- publicUrl?: string;
2559
- loanOrgName?: string;
2560
- }
2561
- class LoanDetailsDetailed extends HtmlNode {
2562
- private props;
2563
- private showDetails;
2564
- constructor(element: HTMLElement | null | undefined, props: LoanDetailsDetailedProps);
2565
- private onDetails;
2566
- update(props: LoanDetailsDetailedProps): void;
2567
- render(): void;
2568
- }
2569
- export default LoanDetailsDetailed;
2570
-
2571
- }
2572
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/LoanDetailsMonthlyCost' {
2573
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2574
- interface LoanDetailsMonthlyCostProps {
2575
- monthlyCost: number;
2576
- }
2577
- class LoanDetailsMonthlyCost extends HtmlNode {
2578
- private props;
2579
- constructor(element: HTMLElement | null | undefined, props: LoanDetailsMonthlyCostProps);
2580
- update(props: LoanDetailsMonthlyCostProps): void;
2581
- render(): void;
2582
- }
2583
- export default LoanDetailsMonthlyCost;
2584
-
2585
- }
2586
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/StageCompletedFinancial' {
2587
- import { PaymentType } from '@wayke-se/ecom';
2588
- import { PaymentOption } from '@wayke-se/ecom-web/src/@types/OrderOptions';
2589
- import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
2590
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2591
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2592
- interface StageCompletedFinancialProps {
2593
- readonly store: WaykeStore;
2594
- readonly loan?: PaymentOption;
2595
- readonly paymentLookupResponse?: PaymentLookup;
2596
- readonly paymentType: PaymentType;
2597
- readonly onEdit?: () => void;
2598
- }
2599
- class StageCompletedFinancial extends HtmlNode {
2600
- private readonly props;
2601
- constructor(element: HTMLDivElement, props: StageCompletedFinancialProps);
2602
- render(): void;
2603
- }
2604
- export default StageCompletedFinancial;
2605
-
2606
- }
2607
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/StageCompletedFinancialCreditAssessment' {
2608
- import { CreditAssessmentRecommendation } from '@wayke-se/ecom';
2609
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2610
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2611
- interface StageCompletedFinancialCreditAssessmentProps {
2612
- readonly store: WaykeStore;
2613
- readonly decision: CreditAssessmentRecommendation;
2614
- }
2615
- class StageCompletedFinancialCreditAssessment extends HtmlNode {
2616
- private readonly props;
2617
- constructor(element: HTMLElement | null, props: StageCompletedFinancialCreditAssessmentProps);
2618
- render(): void;
2619
- }
2620
- export default StageCompletedFinancialCreditAssessment;
2621
-
2622
- }
2623
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/Summary' {
2624
- import { IPaymentOption, PaymentType } from '@wayke-se/ecom';
2625
- import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
2626
- interface SummaryProps {
2627
- loan?: IPaymentOption;
2628
- paymentLookupResponse?: PaymentLookup;
2629
- paymentType: PaymentType;
2630
- changeButtonId: string;
2631
- }
2632
- const Summary: ({ paymentType, loan, paymentLookupResponse, changeButtonId }: SummaryProps) => string;
2633
- export default Summary;
2634
-
2635
- }
2636
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/index' {
2637
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
2638
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2639
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2640
- interface FinancialProps {
2641
- readonly store: WaykeStore;
2642
- readonly index: number;
2643
- readonly lastStage: boolean;
2644
- readonly marketCode: MarketCode;
2645
- }
2646
- class Financial extends HtmlNode {
2647
- private readonly props;
2648
- private paymentType?;
2649
- constructor(element: HTMLElement, props: FinancialProps);
2650
- private onChange;
2651
- private onProceed;
2652
- private onEdit;
2653
- render(preventScrollIntoView?: boolean): void;
2654
- }
2655
- export default Financial;
2656
-
2657
- }
2658
- declare module '@wayke-se/ecom-web/src/Views/Main/Financial/utils' {
2659
- import { PaymentType } from '@wayke-se/ecom';
2660
- const createTerm: (months: number) => string;
2661
- export default createTerm;
2662
- export const extractPaymentType: (s?: string) => PaymentType | undefined;
2663
- export const extractLoanIndex: (s?: string) => number | undefined;
2664
-
2665
- }
2666
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/DefaultInsurance/InsuranceItem' {
2667
- import { IAvailableInsuranceOption } from '@wayke-se/ecom';
2668
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2669
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2670
- interface InsuranceItemProps {
2671
- readonly store: WaykeStore;
2672
- readonly freeInsurance: IAvailableInsuranceOption;
2673
- readonly key: string;
2674
- }
2675
- class InsuranceItem extends HtmlNode {
2676
- private readonly props;
2677
- private displayInfo;
2678
- constructor(element: HTMLElement, props: InsuranceItemProps);
2679
- private onInfoOpen;
2680
- private onInfoClose;
2681
- private onClick;
2682
- render(): void;
2683
- }
2684
- export default InsuranceItem;
2685
-
2686
- }
2687
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/DefaultInsurance/InsuranceItemInfo' {
2688
- import { IAvailableInsuranceOption } from '@wayke-se/ecom';
2689
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2690
- interface InsuranceItemInfoProps {
2691
- readonly freeInsurance: IAvailableInsuranceOption;
2692
- readonly selected: boolean;
2693
- readonly onClick: () => void;
2694
- readonly onClose: () => void;
2695
- }
2696
- class InsuranceItemInfo extends HtmlNode {
2697
- private readonly props;
2698
- constructor(element: HTMLElement, props: InsuranceItemInfoProps);
2699
- render(): void;
2700
- }
2701
- export default InsuranceItemInfo;
2702
-
2703
- }
2704
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/DefaultInsurance/InsuranceList' {
2705
- import { IAvailableInsuranceOption } from '@wayke-se/ecom';
2706
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2707
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2708
- interface InsuranceListProps {
2709
- readonly store: WaykeStore;
2710
- readonly insurances: IAvailableInsuranceOption[];
2711
- }
2712
- class InsuranceList extends HtmlNode {
2713
- private readonly props;
2714
- constructor(element: HTMLElement | null, props: InsuranceListProps);
2715
- render(): void;
2716
- }
2717
- export default InsuranceList;
2718
-
2719
- }
2720
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/DefaultInsurance/index' {
2721
- import { IAvailableInsuranceOption } from '@wayke-se/ecom';
2722
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2723
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2724
- interface DefaultInsuranceProps {
2725
- readonly store: WaykeStore;
2726
- readonly lastStage: boolean;
2727
- readonly insurance: IAvailableInsuranceOption;
2728
- }
2729
- class DefaultInsurance extends HtmlNode {
2730
- private readonly props;
2731
- constructor(element: HTMLElement, props: DefaultInsuranceProps);
2732
- private onProceed;
2733
- render(): void;
2734
- }
2735
- export default DefaultInsurance;
2736
-
2737
- }
2738
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/IfInsurance/InsuranceAddonBox' {
2739
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2740
- class InsuracenAddonBox extends HtmlNode {
2741
- constructor(element: HTMLElement | null);
2742
- render(): HTMLElement;
2743
- }
2744
- export default InsuracenAddonBox;
2745
-
2746
- }
2747
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/IfInsurance/InsuranceItem' {
2748
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2749
- import { IInsuranceOption } from '@wayke-se/ecom';
2750
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2751
- interface InsuranceItemProps {
2752
- readonly store: WaykeStore;
2753
- readonly insurance: IInsuranceOption;
2754
- readonly key: string;
2755
- }
2756
- class InsuranceItem extends HtmlNode {
2757
- private readonly props;
2758
- private displayInfo;
2759
- constructor(element: HTMLElement, props: InsuranceItemProps);
2760
- private onInfoOpen;
2761
- private onInfoClose;
2762
- private onClick;
2763
- render(): void;
2764
- }
2765
- export default InsuranceItem;
2766
-
2767
- }
2768
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/IfInsurance/InsuranceItemInfo' {
2769
- import { IInsuranceOption } from '@wayke-se/ecom';
2770
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2771
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2772
- interface InsuranceItemInfoProps {
2773
- readonly store: WaykeStore;
2774
- readonly insurance: IInsuranceOption;
2775
- readonly selected: boolean;
2776
- readonly onClose: () => void;
2777
- }
2778
- class InsuranceItemInfo extends HtmlNode {
2779
- private readonly props;
2780
- private initialAddons;
2781
- private addons;
2782
- private contexts;
2783
- constructor(element: HTMLElement, props: InsuranceItemInfoProps);
2784
- private static containChanges;
2785
- onClick(e: Event): void;
2786
- onUpdate(): void;
2787
- render(): void;
2788
- }
2789
- export default InsuranceItemInfo;
2790
-
2791
- }
2792
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/IfInsurance/InsuranceList' {
2793
- import { IInsuranceOption } from '@wayke-se/ecom';
2794
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2795
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2796
- interface InsuranceListProps {
2797
- readonly store: WaykeStore;
2798
- readonly insurances: IInsuranceOption[];
2799
- }
2800
- class InsuranceList extends HtmlNode {
2801
- private readonly props;
2802
- constructor(element: HTMLDivElement | null, props: InsuranceListProps);
2803
- render(): void;
2804
- }
2805
- export default InsuranceList;
2806
-
2807
- }
2808
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/IfInsurance/InsuranceView' {
2809
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2810
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2811
- interface InsuranceViewProps {
2812
- readonly store: WaykeStore;
2813
- readonly lastStage: boolean;
2814
- readonly onEdit: () => void;
2815
- }
2816
- class InsuranceView extends HtmlNode {
2817
- private readonly props;
2818
- private requestError;
2819
- private insurances?;
2820
- private contexts;
2821
- constructor(element: HTMLElement, props: InsuranceViewProps);
2822
- private fetchInsurance;
2823
- private getInsurances;
2824
- private onEditDrivingDistance;
2825
- private onProceed;
2826
- private onSkipInsurances;
2827
- render(): void;
2828
- }
2829
- export default InsuranceView;
2830
-
2831
- }
2832
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/IfInsurance/index' {
2833
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2834
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2835
- interface IfInsuranceProps {
2836
- readonly store: WaykeStore;
2837
- readonly lastStage: boolean;
2838
- readonly onSkip: () => void;
2839
- }
2840
- class IfInsurance extends HtmlNode {
2841
- private readonly props;
2842
- private showInsurances;
2843
- constructor(element: HTMLElement, props: IfInsuranceProps);
2844
- private onChangeDistance;
2845
- private onShowInsurances;
2846
- private onEdit;
2847
- render(): void;
2848
- }
2849
- export default IfInsurance;
2850
-
2851
- }
2852
- declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/index' {
2853
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
2854
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2855
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2856
- interface InsuranceProps {
2857
- readonly store: WaykeStore;
2858
- readonly index: number;
2859
- readonly lastStage: boolean;
2860
- readonly marketCode: MarketCode;
2861
- }
2862
- class Insurance extends HtmlNode {
2863
- private readonly props;
2864
- constructor(element: HTMLElement, props: InsuranceProps);
2865
- private getStep;
2866
- private onSkipInsurances;
2867
- private onEdit;
2868
- render(): void;
2869
- }
2870
- export default Insurance;
2871
-
2872
- }
2873
- declare module '@wayke-se/ecom-web/src/Views/Main/TradeIn/PartTradeIn' {
2874
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
2875
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2876
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2877
- export interface TradeInValidation {
2878
- registrationNumber: boolean;
2879
- mileage: boolean;
2880
- description: boolean;
2881
- condition: boolean;
2882
- }
2883
- interface PartTradeInProps {
2884
- readonly store: WaykeStore;
2885
- readonly lastStage: boolean;
2886
- readonly marketCode: MarketCode;
2887
- }
2888
- class PartTradeIn extends HtmlNode {
2889
- private readonly props;
2890
- private state;
2891
- private response?;
2892
- private contexts;
2893
- private requestError;
2894
- constructor(element: HTMLElement, props: PartTradeInProps);
2895
- private onFetchVehicle;
2896
- private onEdit;
2897
- private onProceed;
2898
- private onChangeRadio;
2899
- private onChange;
2900
- private onBlur;
2901
- private updateUiError;
2902
- private updateProceedButton;
2903
- private onNoTradeIn;
2904
- render(): void;
2905
- }
2906
- export default PartTradeIn;
2907
-
2908
- }
2909
- declare module '@wayke-se/ecom-web/src/Views/Main/TradeIn/index' {
2910
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
2911
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2912
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2913
- interface TradeInProps {
2914
- readonly store: WaykeStore;
2915
- readonly index: number;
2916
- readonly lastStage: boolean;
2917
- readonly marketCode: MarketCode;
2918
- }
2919
- class TradeIn extends HtmlNode {
2920
- private readonly props;
2921
- constructor(element: HTMLElement, props: TradeInProps);
2922
- private onEdit;
2923
- private onYesTradeIn;
2924
- private onNoTradeIn;
2925
- render(): void;
2926
- }
2927
- export default TradeIn;
2928
-
2929
- }
2930
- declare module '@wayke-se/ecom-web/src/Views/Main/index' {
2931
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
2932
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2933
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2934
- interface MainProps {
2935
- readonly store: WaykeStore;
2936
- cdnMedia?: string;
2937
- marketCode: MarketCode;
2938
- }
2939
- class Main extends HtmlNode {
2940
- private readonly props;
2941
- constructor(element: HTMLElement, props: MainProps);
2942
- render(): void;
2943
- }
2944
- export default Main;
2945
-
2946
- }
2947
- declare module '@wayke-se/ecom-web/src/Views/OrderCallback/index' {
2948
- import { CallbackOrder } from '@wayke-se/ecom-web/src/@types/CallbackOrder';
2949
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2950
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2951
- interface OrderCallbackProps {
2952
- readonly store: WaykeStore;
2953
- readonly callbackOrder: CallbackOrder;
2954
- readonly onClose: () => void;
2955
- }
2956
- class OrderCallback extends HtmlNode {
2957
- private readonly props;
2958
- private order?;
2959
- private orderFetchFailed;
2960
- constructor(element: HTMLElement, props: OrderCallbackProps);
2961
- loadOrder(): Promise<void>;
2962
- render(): void;
2963
- }
2964
- export default OrderCallback;
2965
-
2966
- }
2967
- declare module '@wayke-se/ecom-web/src/Views/Preview/HowTo' {
2968
- import { OrderOptions } from '@wayke-se/ecom-web/src/@types/OrderOptions';
2969
- import { StageTypes } from '@wayke-se/ecom-web/src/@types/Stages';
2970
- interface HowToProps {
2971
- readonly stageOrderList?: StageTypes[];
2972
- readonly order?: OrderOptions;
2973
- }
2974
- const HowTo: ({ order, stageOrderList }: HowToProps) => string;
2975
- export default HowTo;
2976
-
2977
- }
2978
- declare module '@wayke-se/ecom-web/src/Views/Preview/index' {
2979
- import { Vehicle } from '@wayke-se/ecom-web/src/@types/Vehicle';
2980
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2981
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2982
- import { StageMapKeys } from '@wayke-se/ecom-web/src/Utils/stage';
2983
- interface PreviewProps {
2984
- readonly store: WaykeStore;
2985
- readonly stageOrderList: StageMapKeys[];
2986
- readonly vehicle?: Vehicle;
2987
- readonly cdnMedia?: string;
2988
- }
2989
- class Preview extends HtmlNode {
2990
- private readonly props;
2991
- private contexts;
2992
- private requestError;
2993
- constructor(element: HTMLElement, props: PreviewProps);
2994
- init(): Promise<void>;
2995
- private onProceed;
2996
- render(): void;
2997
- }
2998
- export default Preview;
2999
-
3000
- }
3001
- declare module '@wayke-se/ecom-web/src/Views/Summary/CentralStorage' {
3002
- import StackNode from '@wayke-se/ecom-web/src/Components/Extension/StackNode';
3003
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
3004
- interface CentralStorageProps {
3005
- readonly store: WaykeStore;
3006
- readonly createdOrderId?: string;
3007
- }
3008
- class Delivery extends StackNode {
3009
- private readonly props;
3010
- constructor(element: HTMLElement, props: CentralStorageProps);
3011
- render(): void;
3012
- }
3013
- export default Delivery;
3014
-
3015
- }
3016
- declare module '@wayke-se/ecom-web/src/Views/Summary/Customer' {
3017
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
3018
- import StackNode from '@wayke-se/ecom-web/src/Components/Extension/StackNode';
3019
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
3020
- interface CustomerProps {
3021
- readonly store: WaykeStore;
3022
- readonly marketCode: MarketCode;
3023
- }
3024
- class Customer extends StackNode {
3025
- private readonly props;
3026
- constructor(element: HTMLElement, props: CustomerProps);
3027
- render(): void;
3028
- }
3029
- export default Customer;
3030
-
3031
- }
3032
- declare module '@wayke-se/ecom-web/src/Views/Summary/Delivery' {
3033
- import StackNode from '@wayke-se/ecom-web/src/Components/Extension/StackNode';
3034
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
3035
- interface DeliveryProps {
3036
- readonly store: WaykeStore;
3037
- readonly createdOrderId?: string;
3038
- }
3039
- class Centrallager extends StackNode {
3040
- private readonly props;
3041
- constructor(element: HTMLElement, props: DeliveryProps);
3042
- render(): void;
3043
- }
3044
- export default Centrallager;
3045
-
3046
- }
3047
- declare module '@wayke-se/ecom-web/src/Views/Summary/Intro' {
3048
- import StackNode from '@wayke-se/ecom-web/src/Components/Extension/StackNode';
3049
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
3050
- interface IntroProps {
3051
- readonly store: WaykeStore;
3052
- }
3053
- class Intro extends StackNode {
3054
- private readonly props;
3055
- constructor(element: HTMLElement, props: IntroProps);
3056
- render(): void;
3057
- }
3058
- export default Intro;
3059
-
3060
- }
3061
- declare module '@wayke-se/ecom-web/src/Views/Summary/Order' {
3062
- import StackNode from '@wayke-se/ecom-web/src/Components/Extension/StackNode';
3063
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
3064
- interface OrderProps {
3065
- readonly store: WaykeStore;
3066
- readonly cdnMedia?: string;
3067
- }
3068
- class Order extends StackNode {
3069
- private readonly props;
3070
- constructor(element: HTMLElement, props: OrderProps);
3071
- render(): void;
3072
- }
3073
- export default Order;
3074
-
3075
- }
3076
- declare module '@wayke-se/ecom-web/src/Views/Summary/TradeIn' {
3077
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
3078
- import StackNode from '@wayke-se/ecom-web/src/Components/Extension/StackNode';
3079
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
3080
- interface TradeInProps {
3081
- readonly store: WaykeStore;
3082
- readonly marketCode: MarketCode;
3083
- }
3084
- class TradeIn extends StackNode {
3085
- private readonly props;
3086
- constructor(element: HTMLElement, props: TradeInProps);
3087
- render(): void;
3088
- }
3089
- export default TradeIn;
3090
-
3091
- }
3092
- declare module '@wayke-se/ecom-web/src/Views/Summary/index' {
3093
- import { MarketCode } from '@wayke-se/ecom-web/src/@types/MarketCode';
3094
- import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
3095
- import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
3096
- interface SummaryProps {
3097
- readonly store: WaykeStore;
3098
- readonly cdnMedia?: string;
3099
- readonly onClose: () => void;
3100
- readonly marketCode: MarketCode;
3101
- }
3102
- class Summary extends HtmlNode {
3103
- private readonly props;
3104
- constructor(element: HTMLElement, props: SummaryProps);
3105
- render(): void;
3106
- }
3107
- export default Summary;
3108
-
3109
- }
3110
- declare module '@wayke-se/ecom-web/src/cdn' {
3111
- import WaykeEcomWeb from '@wayke-se/ecom-web/src/App';
3112
- global {
3113
- interface Window {
3114
- WaykeEcomWeb: typeof WaykeEcomWeb;
3115
- }
3116
- }
3117
-
3118
- }
3119
- declare module '@wayke-se/ecom-web/src/devConfig' {
3120
- export const devConfig: {
3121
- BANKID_TRADE_IN_HOME_DELIVERY: {
3122
- id: string;
3123
- };
3124
- DEFAULT: {
3125
- id: string;
3126
- };
3127
- MULTIPLE_FINANCIAL: {
3128
- id: string;
3129
- };
3130
- INSURANCE: {
3131
- id: string;
3132
- };
3133
- CREDIT_ASSESSMENT: {
3134
- id: string;
3135
- };
3136
- CREDIT_ASSESSMENT_ZIKLO: {
3137
- id: string;
3138
- };
3139
- LEASING: {
3140
- id: string;
3141
- };
3142
- ACCESSORIES: {
3143
- id: string;
3144
- };
3145
- CENTRAL_STORAGE: {
3146
- id: string;
3147
- };
3148
- PAYMENT: {
3149
- id: string;
3150
- };
3151
- TRYGG_HANSA: {
3152
- id: string;
3153
- };
3154
- TEST: {
3155
- id: string;
3156
- };
3157
- LEASING2: {
3158
- id: string;
3159
- };
3160
- MULTIPLE_FINANCING: {
3161
- id: string;
3162
- };
3163
- };
3164
-
3165
- }
3166
- declare module '@wayke-se/ecom-web/src/index-dev' {
3167
- export {};
3168
-
3169
- }
3170
- declare module '@wayke-se/ecom-web/src/index' {
3171
- import WaykeEcomWeb from '@wayke-se/ecom-web/src/App';
3172
- export default WaykeEcomWeb;
3173
-
3174
- }
3175
- declare module '@wayke-se/ecom-web/src/translation/index' {
3176
- export { default as svSE } from '@wayke-se/ecom-web/src/translation/sv-SE';
3177
- export { default as nbNO } from '@wayke-se/ecom-web/src/translation/nb-NO';
3178
-
3179
- }
3180
- declare module '@wayke-se/ecom-web/src/translation/nb-NO' {
3181
- const nbNO: {
3182
- glossary: {
3183
- change: string;
3184
- showPrevious: string;
3185
- showNext: string;
3186
- showPreviousImage: string;
3187
- showNextImage: string;
3188
- readMore: string;
3189
- closeModal: string;
3190
- homeUrl: string;
3191
- goToHome: string;
3192
- company: string;
3193
- modalTitle: string;
3194
- add: string;
3195
- chosen: string;
3196
- ourAdvantages: string;
3197
- showHelp: string;
3198
- closeHelp: string;
3199
- whatDoesThisMean: string;
3200
- buyOnline: string;
3201
- };
3202
- confirmClose: {
3203
- heading: string;
3204
- message: string;
3205
- abortButton: string;
3206
- confirmButton: string;
3207
- };
3208
- accessoryItemInfo: {
3209
- backButton: string;
3210
- logoAlt: string;
3211
- };
3212
- accessories: {
3213
- title: string;
3214
- noSelected: string;
3215
- changeButtonTitle: string;
3216
- heading: string;
3217
- description: string;
3218
- proceedButton: string;
3219
- skipButton: string;
3220
- };
3221
- centralStorage: {
3222
- title: string;
3223
- heading: string;
3224
- description: string;
3225
- changeButtonTitle: string;
3226
- proceedButton: string;
3227
- errorMessage: string;
3228
- dealerSelection: string;
3229
- addressMissing: string;
3230
- };
3231
- confirmation: {
3232
- title: string;
3233
- paymentTitle: string;
3234
- heading: string;
3235
- description: string;
3236
- description2: string;
3237
- ageError: string;
3238
- requestError: string;
3239
- notAvailable: string;
3240
- socialIdNotMatchingError: string;
3241
- confirmConditionsTitle: string;
3242
- insuranceText: string;
3243
- reserveButton: string;
3244
- policyText: string;
3245
- reservationDisclaimer: string;
3246
- bankIdDescriptionQrCode: string;
3247
- bankIdDescriptionSameDevice: string;
3248
- bankIdErrorMessage: string;
3249
- bankIdQrCodeErrorMessage: string;
3250
- bankIdInitErrorMessage: string;
3251
- bankIdCompletedMessage: string;
3252
- paymentHeading: string;
3253
- paymentDescription: string;
3254
- paymentDescription2: string;
3255
- paymentCardType: string;
3256
- paymentCardTypeValue: string;
3257
- paymentCardNo3DSecure: string;
3258
- paymentCardNo3DSecureValue: string;
3259
- paymentCard3DSecure: string;
3260
- paymentCard3DSecureValue: string;
3261
- paymentExpiry: string;
3262
- paymentExpiryValue: string;
3263
- paymentCVC: string;
3264
- paymentCVCValue: string;
3265
- privacyPolicy: string;
3266
- purchaseTermsAndCancellationPolicy: string;
3267
- noVerifyConfirmMessage: string;
3268
- };
3269
- customer: {
3270
- title: string;
3271
- changeButtonTitle: string;
3272
- email: string;
3273
- phone: string;
3274
- socialId: string;
3275
- name: string;
3276
- givenName: string;
3277
- surname: string;
3278
- address: string;
3279
- street: string;
3280
- street2: string;
3281
- registeredAddress: string;
3282
- postalCode: string;
3283
- city: string;
3284
- contactInfoTitle: string;
3285
- contactInfoDescription: string;
3286
- emailPlaceholder: string;
3287
- emailErrorMessage: string;
3288
- phonePlaceholder: string;
3289
- phoneErrorMessage: string;
3290
- givenNamePlaceholder: string;
3291
- givenNameErrorMessage: string;
3292
- surnamePlaceholder: string;
3293
- surnameErrorMessage: string;
3294
- streetPlaceholder: string;
3295
- streetErrorMessage: string;
3296
- street2Placeholder: string;
3297
- street2ErrorMessage: string;
3298
- postalCodePlaceholder: string;
3299
- postalCodeErrorMessage: string;
3300
- cityPlaceholder: string;
3301
- cityErrorMessage: string;
3302
- proceedButton: string;
3303
- personalInfoTitle: string;
3304
- personalInfoDescription: string;
3305
- socialIdPlaceholder: string;
3306
- socialIdErrorMessage: string;
3307
- fetchButton: string;
3308
- fetchErrorMessage: string;
3309
- fetchInfoMessage: string;
3310
- policyText: string;
3311
- changeContactsButton: string;
3312
- };
3313
- delivery: {
3314
- title: string;
3315
- deliveryMethod: string;
3316
- homeDelivery: string;
3317
- pickup: string;
3318
- changeDeliveryMethod: string;
3319
- heading: string;
3320
- description: string;
3321
- free: string;
3322
- toYourAddress: string;
3323
- tooFarAway: string;
3324
- proceedButton: string;
3325
- };
3326
- creditAssessment: {
3327
- loanApplication: string;
3328
- loanApplicationDescription: string;
3329
- maritalStatus: string;
3330
- employment: string;
3331
- children: string;
3332
- income: string;
3333
- housingType: string;
3334
- housingTypeDescription: string;
3335
- housingCost: string;
3336
- debtsAndLiabilities: string;
3337
- debtsAndLiabilitiesDescription: string;
3338
- totalLoanAmount: string;
3339
- noPaymentInfo: string;
3340
- caseError: string;
3341
- bankIdError: string;
3342
- performLoanApplication: string;
3343
- disclaimer: string;
3344
- disclaimerSafe: string;
3345
- whyAnswer: string;
3346
- whyAnswerDescription: string;
3347
- waitingFor: string;
3348
- fetchingInfo: string;
3349
- errorOccurred: string;
3350
- bankIdStatusError: string;
3351
- descriptionQrCode: string;
3352
- descriptionSameDevice: string;
3353
- incomePerMonth: string;
3354
- incomeError: string;
3355
- incomeDescription: string;
3356
- childrenUnder18: string;
3357
- childrenError: string;
3358
- selectChildren: string;
3359
- tenOrMore: string;
3360
- myPartOfMonthlyFee: string;
3361
- myPartOfMonthlyRent: string;
3362
- excludingInterest: string;
3363
- housingCostError: string;
3364
- cardCredits: string;
3365
- cardCreditsError: string;
3366
- totalDebt: string;
3367
- vehicleLoan: string;
3368
- vehicleLoanError: string;
3369
- collateral: string;
3370
- collateralError: string;
3371
- totalAmount: string;
3372
- leasingFees: string;
3373
- leasingFeesError: string;
3374
- privateLoan: string;
3375
- privateLoanError: string;
3376
- fullTimeEmployed: string;
3377
- temporarilyEmployed: string;
3378
- selfEmployed: string;
3379
- retired: string;
3380
- student: string;
3381
- other: string;
3382
- married: string;
3383
- commonLaw: string;
3384
- single: string;
3385
- singleFamily: string;
3386
- condominium: string;
3387
- apartment: string;
3388
- proceedButton: string;
3389
- abortButton: string;
3390
- assessManually: string;
3391
- dataProtectionPolicy: string;
3392
- readMore: string;
3393
- };
3394
- financial: {
3395
- title: string;
3396
- description: string;
3397
- income: string;
3398
- incomePlaceholder: string;
3399
- incomeErrorMessage: string;
3400
- expenses: string;
3401
- expensesPlaceholder: string;
3402
- expensesErrorMessage: string;
3403
- assets: string;
3404
- assetsPlaceholder: string;
3405
- assetsErrorMessage: string;
3406
- liabilities: string;
3407
- liabilitiesPlaceholder: string;
3408
- liabilitiesErrorMessage: string;
3409
- proceedButton: string;
3410
- abortButton: string;
3411
- heading: string;
3412
- howToFinance: string;
3413
- buyCar: string;
3414
- buyCarDescription: string;
3415
- leaseCar: string;
3416
- leaseCarDescription: string;
3417
- cash: string;
3418
- cashDescription: string;
3419
- loanApplicationOnline: string;
3420
- loanApplicationResponse: string;
3421
- paymentAtContract: string;
3422
- calculatedOn: string;
3423
- from: string;
3424
- proceed: string;
3425
- privateLeasing: string;
3426
- privateLeasingDescription: string;
3427
- financialInformationToggle: string;
3428
- financialCashSelected: string;
3429
- financialLeaseSelected: string;
3430
- financialLoanSelected: string;
3431
- financialCashSet: string;
3432
- financialLeaseSet: string;
3433
- financialLoanSet: string;
3434
- financialEdit: string;
3435
- };
3436
- loan: {
3437
- title: string;
3438
- description: string;
3439
- creditScoringInfo: string;
3440
- instruction: string;
3441
- downPaymentTitle: string;
3442
- downPaymentInfoTitle: string;
3443
- downPaymentInfoDescription: string;
3444
- durationTitle: string;
3445
- residualTitle: string;
3446
- errorOccurred: string;
3447
- proceedButton: string;
3448
- };
3449
- loanDetails: {
3450
- disclaimerText: string;
3451
- showDetails: string;
3452
- details: string;
3453
- repaymentPeriod: string;
3454
- months: string;
3455
- interest: string;
3456
- effectiveInterest: string;
3457
- setupFee: string;
3458
- administrationFee: string;
3459
- totalCreditCost: string;
3460
- disclaimerText1: string;
3461
- disclaimerText2: string;
3462
- moreInfo: string;
3463
- };
3464
- loanDetailsDetailed: {
3465
- showDetails: string;
3466
- details: string;
3467
- repaymentPeriod: string;
3468
- months: string;
3469
- interest: string;
3470
- effectiveInterest: string;
3471
- setupFee: string;
3472
- administrationFee: string;
3473
- totalCreditCost: string;
3474
- disclaimerText1: string;
3475
- disclaimerText2: string;
3476
- moreInfo: string;
3477
- };
3478
- loanDetailsMonthlyCost: {
3479
- monthlyCost: string;
3480
- perMonth: string;
3481
- };
3482
- stageCompletedFinancial: {
3483
- downPayment: string;
3484
- loanAmount: string;
3485
- repaymentPeriod: string;
3486
- months: string;
3487
- monthlyCost: string;
3488
- disclaimerText: string;
3489
- orderAlmostReady: string;
3490
- changeFinancing: string;
3491
- financing: string;
3492
- cash: string;
3493
- lease: string;
3494
- };
3495
- stageCompletedFinancialCreditAssessment: {
3496
- approved: string;
3497
- approvedDescription: string;
3498
- assessManually: string;
3499
- assessManuallyDescription: string;
3500
- declined: string;
3501
- declinedDescription: string;
3502
- declinedNextSteps: string;
3503
- contactInfo: string;
3504
- };
3505
- loanSummary: {
3506
- title: string;
3507
- description: string;
3508
- successMessage: string;
3509
- notReserved: string;
3510
- downPayment: string;
3511
- loanAmount: string;
3512
- repaymentPeriod: string;
3513
- monthlyCost: string;
3514
- disclaimer: string;
3515
- };
3516
- summary: {
3517
- financing: string;
3518
- cash: string;
3519
- loan: string;
3520
- leasing: string;
3521
- changeButton: string;
3522
- centralStorageTitle: string;
3523
- dealerSelection: string;
3524
- customerTitle: string;
3525
- customerName: string;
3526
- customerSSN: string;
3527
- customerAddress: string;
3528
- customerEmail: string;
3529
- customerPhone: string;
3530
- deliveryTitle: string;
3531
- deliveryMethod: string;
3532
- homeDelivery: string;
3533
- pickup: string;
3534
- thankYou: string;
3535
- whatHappensNext: string;
3536
- orderConfirmation: string;
3537
- contactFromDealer: string;
3538
- driveSafely: string;
3539
- orderConfirmationDisclaimer: string;
3540
- orderNumber: string;
3541
- orderTitle: string;
3542
- paymentMethod: string;
3543
- perMonth: string;
3544
- lease: string;
3545
- from: string;
3546
- accessories: string;
3547
- insurance: string;
3548
- free: string;
3549
- tradeInTitle: string;
3550
- mileage: string;
3551
- description: string;
3552
- condition: string;
3553
- estimatedValue: string;
3554
- no: string;
3555
- };
3556
- insurance: {
3557
- heading: string;
3558
- description: string;
3559
- proceedButton: string;
3560
- backButton: string;
3561
- logoAlt: string;
3562
- ifDescription: string;
3563
- showInsurances: string;
3564
- ifAlert: string;
3565
- ifDisclaimer: string;
3566
- skipButton: string;
3567
- perMonth: string;
3568
- addons: string;
3569
- includes: string;
3570
- update: string;
3571
- select: string;
3572
- estimatedMileage: string;
3573
- edit: string;
3574
- fetchError: string;
3575
- retry: string;
3576
- title: string;
3577
- none: string;
3578
- changeButtonTitle: string;
3579
- };
3580
- tradeIn: {
3581
- title: string;
3582
- mileage: string;
3583
- description: string;
3584
- condition: string;
3585
- estimatedValue: string;
3586
- infoText: string;
3587
- infoDisclaimer: string;
3588
- no: string;
3589
- changeButtonTitle: string;
3590
- heading: string;
3591
- tradeInDescription: string;
3592
- yesButton: string;
3593
- skipButton: string;
3594
- veryGoodCondition: string;
3595
- goodCondition: string;
3596
- okCondition: string;
3597
- noScratches: string;
3598
- serviced: string;
3599
- goodTires: string;
3600
- someScratches: string;
3601
- okTires: string;
3602
- manyScratches: string;
3603
- notServiced: string;
3604
- badTires: string;
3605
- detailsHeading: string;
3606
- detailsDescription: string;
3607
- registrationNumber: string;
3608
- registrationNumberError: string;
3609
- registrationNumberPlaceholder: string;
3610
- mileageError: string;
3611
- mileagePlaceholder: string;
3612
- descriptionOptional: string;
3613
- descriptionError: string;
3614
- descriptionPlaceholder: string;
3615
- fetchValue: string;
3616
- proceedButton: string;
3617
- fetchError: string;
3618
- };
3619
- vehicleInfo: string;
3620
- orderCallback: {
3621
- thankYou: string;
3622
- orderId: string;
3623
- waykeId: string;
3624
- };
3625
- howTo: {
3626
- heading: string;
3627
- description: string;
3628
- timelineAriaLabel: string;
3629
- customerHeading: string;
3630
- centralStorageHeading: string;
3631
- centralStorageDescription: string;
3632
- deliveryHeading: string;
3633
- tradeInHeading: string;
3634
- tradeInDescription: string;
3635
- financialHeading: string;
3636
- insuranceHeading: string;
3637
- insuranceDescription: string;
3638
- accessoriesHeading: string;
3639
- accessoriesDescription: string;
3640
- financialDescriptionAll: string;
3641
- financialDescriptionCashLease: string;
3642
- financialDescriptionCashLoan: string;
3643
- financialDescriptionLoanLease: string;
3644
- financialDescriptionCash: string;
3645
- financialDescriptionLoan: string;
3646
- financialDescriptionLease: string;
3647
- deliveryDescriptionBoth: string;
3648
- deliveryDescriptionPickup: string;
3649
- deliveryDescriptionHome: string;
3650
- paymentHeading: string;
3651
- paymentDescription: string;
3652
- finalHeading: string;
3653
- finalDescription: string;
3654
- };
3655
- preview: {
3656
- heading: string;
3657
- proceedButton: string;
3658
- checklistTitle: string;
3659
- checklistAriaLabel: string;
3660
- checklistItem1: string;
3661
- checklistItem2: string;
3662
- checklistItem3: string;
3663
- checklistItem4: string;
3664
- error: string;
3665
- };
3666
- };
3667
- export default nbNO;
3668
-
3669
- }
3670
- declare module '@wayke-se/ecom-web/src/translation/sv-SE' {
3671
- const svSE: {
3672
- glossary: {
3673
- change: string;
3674
- showPrevious: string;
3675
- showNext: string;
3676
- showPreviousImage: string;
3677
- showNextImage: string;
3678
- readMore: string;
3679
- closeModal: string;
3680
- homeUrl: string;
3681
- goToHome: string;
3682
- company: string;
3683
- modalTitle: string;
3684
- add: string;
3685
- chosen: string;
3686
- ourAdvantages: string;
3687
- showHelp: string;
3688
- closeHelp: string;
3689
- whatDoesThisMean: string;
3690
- buyOnline: string;
3691
- };
3692
- confirmClose: {
3693
- heading: string;
3694
- message: string;
3695
- abortButton: string;
3696
- confirmButton: string;
3697
- };
3698
- accessoryItemInfo: {
3699
- backButton: string;
3700
- logoAlt: string;
3701
- };
3702
- accessories: {
3703
- title: string;
3704
- noSelected: string;
3705
- changeButtonTitle: string;
3706
- heading: string;
3707
- description: string;
3708
- proceedButton: string;
3709
- skipButton: string;
3710
- };
3711
- centralStorage: {
3712
- title: string;
3713
- heading: string;
3714
- description: string;
3715
- changeButtonTitle: string;
3716
- proceedButton: string;
3717
- errorMessage: string;
3718
- dealerSelection: string;
3719
- addressMissing: string;
3720
- };
3721
- confirmation: {
3722
- title: string;
3723
- paymentTitle: string;
3724
- heading: string;
3725
- description: string;
3726
- description2: string;
3727
- ageError: string;
3728
- requestError: string;
3729
- notAvailable: string;
3730
- socialIdNotMatchingError: string;
3731
- confirmConditionsTitle: string;
3732
- insuranceText: string;
3733
- reserveButton: string;
3734
- policyText: string;
3735
- reservationDisclaimer: string;
3736
- bankIdDescriptionQrCode: string;
3737
- bankIdDescriptionSameDevice: string;
3738
- bankIdErrorMessage: string;
3739
- bankIdQrCodeErrorMessage: string;
3740
- bankIdInitErrorMessage: string;
3741
- bankIdCompletedMessage: string;
3742
- paymentHeading: string;
3743
- paymentDescription: string;
3744
- paymentDescription2: string;
3745
- paymentCardType: string;
3746
- paymentCardTypeValue: string;
3747
- paymentCardNo3DSecure: string;
3748
- paymentCardNo3DSecureValue: string;
3749
- paymentCard3DSecure: string;
3750
- paymentCard3DSecureValue: string;
3751
- paymentExpiry: string;
3752
- paymentExpiryValue: string;
3753
- paymentCVC: string;
3754
- paymentCVCValue: string;
3755
- privacyPolicy: string;
3756
- purchaseTermsAndCancellationPolicy: string;
3757
- noVerifyConfirmMessage: string;
3758
- };
3759
- customer: {
3760
- title: string;
3761
- changeButtonTitle: string;
3762
- email: string;
3763
- phone: string;
3764
- socialId: string;
3765
- name: string;
3766
- givenName: string;
3767
- surname: string;
3768
- address: string;
3769
- street: string;
3770
- street2: string;
3771
- registeredAddress: string;
3772
- postalCode: string;
3773
- city: string;
3774
- contactInfoTitle: string;
3775
- contactInfoDescription: string;
3776
- emailPlaceholder: string;
3777
- emailErrorMessage: string;
3778
- phonePlaceholder: string;
3779
- phoneErrorMessage: string;
3780
- givenNamePlaceholder: string;
3781
- givenNameErrorMessage: string;
3782
- surnamePlaceholder: string;
3783
- surnameErrorMessage: string;
3784
- streetPlaceholder: string;
3785
- streetErrorMessage: string;
3786
- street2Placeholder: string;
3787
- street2ErrorMessage: string;
3788
- postalCodePlaceholder: string;
3789
- postalCodeErrorMessage: string;
3790
- cityPlaceholder: string;
3791
- cityErrorMessage: string;
3792
- proceedButton: string;
3793
- personalInfoTitle: string;
3794
- personalInfoDescription: string;
3795
- socialIdPlaceholder: string;
3796
- socialIdErrorMessage: string;
3797
- fetchButton: string;
3798
- fetchErrorMessage: string;
3799
- fetchInfoMessage: string;
3800
- policyText: string;
3801
- changeContactsButton: string;
3802
- };
3803
- delivery: {
3804
- title: string;
3805
- deliveryMethod: string;
3806
- homeDelivery: string;
3807
- pickup: string;
3808
- changeDeliveryMethod: string;
3809
- heading: string;
3810
- description: string;
3811
- free: string;
3812
- toYourAddress: string;
3813
- tooFarAway: string;
3814
- proceedButton: string;
3815
- };
3816
- creditAssessment: {
3817
- loanApplication: string;
3818
- loanApplicationDescription: string;
3819
- maritalStatus: string;
3820
- employment: string;
3821
- children: string;
3822
- income: string;
3823
- housingType: string;
3824
- housingTypeDescription: string;
3825
- housingCost: string;
3826
- debtsAndLiabilities: string;
3827
- debtsAndLiabilitiesDescription: string;
3828
- totalLoanAmount: string;
3829
- noPaymentInfo: string;
3830
- caseError: string;
3831
- bankIdError: string;
3832
- performLoanApplication: string;
3833
- disclaimer: string;
3834
- disclaimerSafe: string;
3835
- whyAnswer: string;
3836
- whyAnswerDescription: string;
3837
- waitingFor: string;
3838
- fetchingInfo: string;
3839
- errorOccurred: string;
3840
- bankIdStatusError: string;
3841
- descriptionQrCode: string;
3842
- descriptionSameDevice: string;
3843
- incomePerMonth: string;
3844
- incomeError: string;
3845
- incomeDescription: string;
3846
- childrenUnder18: string;
3847
- childrenError: string;
3848
- selectChildren: string;
3849
- tenOrMore: string;
3850
- myPartOfMonthlyFee: string;
3851
- myPartOfMonthlyRent: string;
3852
- excludingInterest: string;
3853
- housingCostError: string;
3854
- cardCredits: string;
3855
- cardCreditsError: string;
3856
- totalDebt: string;
3857
- vehicleLoan: string;
3858
- vehicleLoanError: string;
3859
- collateral: string;
3860
- collateralError: string;
3861
- totalAmount: string;
3862
- leasingFees: string;
3863
- leasingFeesError: string;
3864
- privateLoan: string;
3865
- privateLoanError: string;
3866
- fullTimeEmployed: string;
3867
- temporarilyEmployed: string;
3868
- selfEmployed: string;
3869
- retired: string;
3870
- student: string;
3871
- other: string;
3872
- married: string;
3873
- commonLaw: string;
3874
- single: string;
3875
- singleFamily: string;
3876
- condominium: string;
3877
- apartment: string;
3878
- proceedButton: string;
3879
- abortButton: string;
3880
- assessManually: string;
3881
- dataProtectionPolicy: string;
3882
- readMore: string;
3883
- };
3884
- financial: {
3885
- title: string;
3886
- description: string;
3887
- income: string;
3888
- incomePlaceholder: string;
3889
- incomeErrorMessage: string;
3890
- expenses: string;
3891
- expensesPlaceholder: string;
3892
- expensesErrorMessage: string;
3893
- assets: string;
3894
- assetsPlaceholder: string;
3895
- assetsErrorMessage: string;
3896
- liabilities: string;
3897
- liabilitiesPlaceholder: string;
3898
- liabilitiesErrorMessage: string;
3899
- proceedButton: string;
3900
- abortButton: string;
3901
- heading: string;
3902
- howToFinance: string;
3903
- buyCar: string;
3904
- buyCarDescription: string;
3905
- leaseCar: string;
3906
- leaseCarDescription: string;
3907
- cash: string;
3908
- cashDescription: string;
3909
- loanApplicationOnline: string;
3910
- loanApplicationResponse: string;
3911
- paymentAtContract: string;
3912
- calculatedOn: string;
3913
- from: string;
3914
- proceed: string;
3915
- privateLeasing: string;
3916
- privateLeasingDescription: string;
3917
- financialInformationToggle: string;
3918
- financialCashSelected: string;
3919
- financialLeaseSelected: string;
3920
- financialLoanSelected: string;
3921
- financialCashSet: string;
3922
- financialLeaseSet: string;
3923
- financialLoanSet: string;
3924
- financialEdit: string;
3925
- };
3926
- loan: {
3927
- title: string;
3928
- description: string;
3929
- creditScoringInfo: string;
3930
- instruction: string;
3931
- downPaymentTitle: string;
3932
- downPaymentInfoTitle: string;
3933
- downPaymentInfoDescription: string;
3934
- durationTitle: string;
3935
- residualTitle: string;
3936
- errorOccurred: string;
3937
- proceedButton: string;
3938
- };
3939
- loanDetails: {
3940
- disclaimerText: string;
3941
- showDetails: string;
3942
- details: string;
3943
- repaymentPeriod: string;
3944
- months: string;
3945
- interest: string;
3946
- effectiveInterest: string;
3947
- setupFee: string;
3948
- administrationFee: string;
3949
- totalCreditCost: string;
3950
- disclaimerText1: string;
3951
- disclaimerText2: string;
3952
- moreInfo: string;
3953
- };
3954
- loanDetailsDetailed: {
3955
- showDetails: string;
3956
- details: string;
3957
- repaymentPeriod: string;
3958
- months: string;
3959
- interest: string;
3960
- effectiveInterest: string;
3961
- setupFee: string;
3962
- administrationFee: string;
3963
- totalCreditCost: string;
3964
- disclaimerText1: string;
3965
- disclaimerText2: string;
3966
- moreInfo: string;
3967
- };
3968
- loanDetailsMonthlyCost: {
3969
- monthlyCost: string;
3970
- perMonth: string;
3971
- };
3972
- stageCompletedFinancial: {
3973
- downPayment: string;
3974
- loanAmount: string;
3975
- repaymentPeriod: string;
3976
- months: string;
3977
- monthlyCost: string;
3978
- disclaimerText: string;
3979
- orderAlmostReady: string;
3980
- changeFinancing: string;
3981
- financing: string;
3982
- cash: string;
3983
- lease: string;
3984
- };
3985
- stageCompletedFinancialCreditAssessment: {
3986
- approved: string;
3987
- approvedDescription: string;
3988
- assessManually: string;
3989
- assessManuallyDescription: string;
3990
- declined: string;
3991
- declinedDescription: string;
3992
- declinedNextSteps: string;
3993
- contactInfo: string;
3994
- };
3995
- loanSummary: {
3996
- title: string;
3997
- description: string;
3998
- successMessage: string;
3999
- notReserved: string;
4000
- downPayment: string;
4001
- loanAmount: string;
4002
- repaymentPeriod: string;
4003
- monthlyCost: string;
4004
- disclaimer: string;
4005
- };
4006
- summary: {
4007
- financing: string;
4008
- cash: string;
4009
- loan: string;
4010
- leasing: string;
4011
- changeButton: string;
4012
- centralStorageTitle: string;
4013
- dealerSelection: string;
4014
- customerTitle: string;
4015
- customerName: string;
4016
- customerSSN: string;
4017
- customerAddress: string;
4018
- customerEmail: string;
4019
- customerPhone: string;
4020
- deliveryTitle: string;
4021
- deliveryMethod: string;
4022
- homeDelivery: string;
4023
- pickup: string;
4024
- thankYou: string;
4025
- whatHappensNext: string;
4026
- orderConfirmation: string;
4027
- contactFromDealer: string;
4028
- driveSafely: string;
4029
- orderConfirmationDisclaimer: string;
4030
- orderNumber: string;
4031
- orderTitle: string;
4032
- paymentMethod: string;
4033
- perMonth: string;
4034
- lease: string;
4035
- from: string;
4036
- accessories: string;
4037
- insurance: string;
4038
- free: string;
4039
- tradeInTitle: string;
4040
- mileage: string;
4041
- description: string;
4042
- condition: string;
4043
- estimatedValue: string;
4044
- no: string;
4045
- };
4046
- insurance: {
4047
- heading: string;
4048
- description: string;
4049
- proceedButton: string;
4050
- backButton: string;
4051
- logoAlt: string;
4052
- ifDescription: string;
4053
- showInsurances: string;
4054
- ifAlert: string;
4055
- ifDisclaimer: string;
4056
- skipButton: string;
4057
- perMonth: string;
4058
- addons: string;
4059
- includes: string;
4060
- update: string;
4061
- select: string;
4062
- estimatedMileage: string;
4063
- edit: string;
4064
- fetchError: string;
4065
- retry: string;
4066
- title: string;
4067
- none: string;
4068
- changeButtonTitle: string;
4069
- };
4070
- tradeIn: {
4071
- title: string;
4072
- mileage: string;
4073
- description: string;
4074
- condition: string;
4075
- estimatedValue: string;
4076
- infoText: string;
4077
- infoDisclaimer: string;
4078
- no: string;
4079
- changeButtonTitle: string;
4080
- heading: string;
4081
- tradeInDescription: string;
4082
- yesButton: string;
4083
- skipButton: string;
4084
- veryGoodCondition: string;
4085
- goodCondition: string;
4086
- okCondition: string;
4087
- noScratches: string;
4088
- serviced: string;
4089
- goodTires: string;
4090
- someScratches: string;
4091
- okTires: string;
4092
- manyScratches: string;
4093
- notServiced: string;
4094
- badTires: string;
4095
- detailsHeading: string;
4096
- detailsDescription: string;
4097
- registrationNumber: string;
4098
- registrationNumberError: string;
4099
- registrationNumberPlaceholder: string;
4100
- mileageError: string;
4101
- mileagePlaceholder: string;
4102
- descriptionOptional: string;
4103
- descriptionError: string;
4104
- descriptionPlaceholder: string;
4105
- fetchValue: string;
4106
- proceedButton: string;
4107
- fetchError: string;
4108
- };
4109
- vehicleInfo: string;
4110
- orderCallback: {
4111
- thankYou: string;
4112
- orderId: string;
4113
- waykeId: string;
4114
- };
4115
- howTo: {
4116
- heading: string;
4117
- description: string;
4118
- timelineAriaLabel: string;
4119
- customerHeading: string;
4120
- centralStorageHeading: string;
4121
- centralStorageDescription: string;
4122
- deliveryHeading: string;
4123
- tradeInHeading: string;
4124
- tradeInDescription: string;
4125
- financialHeading: string;
4126
- insuranceHeading: string;
4127
- insuranceDescription: string;
4128
- accessoriesHeading: string;
4129
- accessoriesDescription: string;
4130
- financialDescriptionAll: string;
4131
- financialDescriptionCashLease: string;
4132
- financialDescriptionCashLoan: string;
4133
- financialDescriptionLoanLease: string;
4134
- financialDescriptionCash: string;
4135
- financialDescriptionLoan: string;
4136
- financialDescriptionLease: string;
4137
- deliveryDescriptionBoth: string;
4138
- deliveryDescriptionPickup: string;
4139
- deliveryDescriptionHome: string;
4140
- paymentHeading: string;
4141
- paymentDescription: string;
4142
- finalHeading: string;
4143
- finalDescription: string;
4144
- };
4145
- preview: {
4146
- heading: string;
4147
- proceedButton: string;
4148
- checklistTitle: string;
4149
- checklistAriaLabel: string;
4150
- checklistItem1: string;
4151
- checklistItem2: string;
4152
- checklistItem3: string;
4153
- checklistItem4: string;
4154
- error: string;
4155
- };
4156
- };
4157
- export default svSE;
4158
-
4159
- }
4160
- declare module '@wayke-se/ecom-web' {
4161
- import main = require('@wayke-se/ecom-web/src/index');
4162
- export = main;
4163
- }
1
+ import WaykeEcomWeb from './App';
2
+ export default WaykeEcomWeb;