@driveflux/pdf 2.0.4 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__mocks__/quotation.js +10 -11
- package/dist/__mocks__/subscription.js +381 -123
- package/dist/__mocks__/tou.js +10 -11
- package/dist/components/FluxLogo.js +62 -3
- package/dist/components/StandardPage.js +107 -8
- package/dist/debug.js +205 -26
- package/dist/index.js +0 -1
- package/dist/templates/QuotationPdf/CustomerSubscriptionSection.js +145 -27
- package/dist/templates/QuotationPdf/GFV.js +49 -12
- package/dist/templates/QuotationPdf/Header.js +63 -5
- package/dist/templates/QuotationPdf/Pricing.js +573 -201
- package/dist/templates/QuotationPdf/QuotationPdfPage.js +23 -3
- package/dist/templates/QuotationPdf/SectionBoxNew.js +34 -4
- package/dist/templates/QuotationPdf/TermsSection.js +42 -5
- package/dist/templates/QuotationPdf/VehiclePhotos.js +54 -24
- package/dist/templates/QuotationPdf/index.js +189 -10
- package/dist/templates/QuotationPdf/translations.js +34 -22
- package/dist/templates/QuotationPdf/utils.js +59 -29
- package/dist/templates/SubscriptionAgreement/Confirmation.js +65 -10
- package/dist/templates/SubscriptionAgreement/CoverPage.js +93 -10
- package/dist/templates/SubscriptionAgreement/CoverPageSection.js +16 -5
- package/dist/templates/SubscriptionAgreement/Details.js +129 -51
- package/dist/templates/SubscriptionAgreement/Footer.js +48 -6
- package/dist/templates/SubscriptionAgreement/Header.js +35 -5
- package/dist/templates/SubscriptionAgreement/LabelValue.js +25 -3
- package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.js +26 -3
- package/dist/templates/SubscriptionAgreement/TermsOfUse.js +95 -10
- package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.js +98 -9
- package/dist/templates/SubscriptionAgreement/index.js +245 -15
- package/dist/templates/SubscriptionAgreement/translations.js +195 -194
- package/dist/templates/SubscriptionAgreement/types.js +1 -2
- package/dist/templates/SubscriptionAgreement/utils.d.ts +3 -0
- package/dist/templates/SubscriptionAgreement/utils.js +36 -5
- package/dist/templates/index.js +0 -1
- package/dist/theme/colors.js +44 -63
- package/dist/theme/index.js +0 -1
- package/dist/types.js +1 -2
- package/dist/utils.js +159 -16
- package/dist/watch.js +3 -4
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { generateId } from '@driveflux/db/id';
|
|
2
|
-
export
|
|
2
|
+
export var subscription = {
|
|
3
3
|
invoicing: {
|
|
4
4
|
payerId: 'U2DCCUKVW',
|
|
5
5
|
name: 'Zishan Kalim',
|
|
@@ -12,8 +12,8 @@ export const subscription = {
|
|
|
12
12
|
state: 'Dubai',
|
|
13
13
|
country: 'AE',
|
|
14
14
|
postalCode: '00000',
|
|
15
|
-
metadata: {}
|
|
16
|
-
}
|
|
15
|
+
metadata: {}
|
|
16
|
+
}
|
|
17
17
|
},
|
|
18
18
|
leadId: null,
|
|
19
19
|
primaryPaymentMethod: {
|
|
@@ -25,8 +25,8 @@ export const subscription = {
|
|
|
25
25
|
expYear: 2028,
|
|
26
26
|
funding: 'debit',
|
|
27
27
|
country: 'AE',
|
|
28
|
-
cardholderName: 'Zishan Kalim'
|
|
29
|
-
}
|
|
28
|
+
cardholderName: 'Zishan Kalim'
|
|
29
|
+
}
|
|
30
30
|
},
|
|
31
31
|
onTheRoad: null,
|
|
32
32
|
fees: {
|
|
@@ -42,7 +42,7 @@ export const subscription = {
|
|
|
42
42
|
startFee: 2700,
|
|
43
43
|
noStartFeeReason: null,
|
|
44
44
|
notes: null,
|
|
45
|
-
hostPrepaymentRatio: 0
|
|
45
|
+
hostPrepaymentRatio: 0
|
|
46
46
|
},
|
|
47
47
|
unaccountedMileage: null,
|
|
48
48
|
signature: null,
|
|
@@ -72,7 +72,9 @@ export const subscription = {
|
|
|
72
72
|
chargingMethod: 'automatic',
|
|
73
73
|
currentInvoiceId: 'IQVTSHDC9',
|
|
74
74
|
currentCycleId: 'CY-S5Y9TWWSK-BR2WRKTU',
|
|
75
|
-
discountIds: [
|
|
75
|
+
discountIds: [
|
|
76
|
+
'discount_5bOaD3WHUAPKuYd1PblpH'
|
|
77
|
+
],
|
|
76
78
|
subscriptionRunnerId: null,
|
|
77
79
|
status: 'active',
|
|
78
80
|
error: null,
|
|
@@ -80,7 +82,11 @@ export const subscription = {
|
|
|
80
82
|
createdAt: new Date('2024-03-12T04:38:31.275Z'),
|
|
81
83
|
updatedAt: new Date('2024-05-16T03:13:57.487Z'),
|
|
82
84
|
metadata: {},
|
|
83
|
-
invoiceIds: [
|
|
85
|
+
invoiceIds: [
|
|
86
|
+
'IJJ3GHPCS',
|
|
87
|
+
'I9CC6JYET',
|
|
88
|
+
'IQVTSHDC9'
|
|
89
|
+
],
|
|
84
90
|
excludeMileage: false,
|
|
85
91
|
vehicleId: 'VM98GEJKS',
|
|
86
92
|
vehicleType: 'car',
|
|
@@ -115,10 +121,14 @@ export const subscription = {
|
|
|
115
121
|
payoutIds: [],
|
|
116
122
|
prepared: true,
|
|
117
123
|
criticalMissions: null,
|
|
118
|
-
depositInvoiceIds: [
|
|
124
|
+
depositInvoiceIds: [
|
|
125
|
+
'IQVTSHDC9'
|
|
126
|
+
],
|
|
119
127
|
totalDepositPaid: null,
|
|
120
128
|
totalDepositRefunded: null,
|
|
121
|
-
startFeeInvoiceIds: [
|
|
129
|
+
startFeeInvoiceIds: [
|
|
130
|
+
'I9CC6JYET'
|
|
131
|
+
],
|
|
122
132
|
totalStartFeePaid: null,
|
|
123
133
|
startingMileage: 56,
|
|
124
134
|
preparationInvoiceId: 'I9CC6JYET',
|
|
@@ -151,9 +161,11 @@ export const subscription = {
|
|
|
151
161
|
department: null,
|
|
152
162
|
signupParams: {
|
|
153
163
|
method: 'email',
|
|
154
|
-
source: null
|
|
164
|
+
source: null
|
|
155
165
|
},
|
|
156
|
-
groups: [
|
|
166
|
+
groups: [
|
|
167
|
+
'member'
|
|
168
|
+
],
|
|
157
169
|
maritalStatus: null,
|
|
158
170
|
gender: null,
|
|
159
171
|
emergencyContactName: null,
|
|
@@ -172,21 +184,47 @@ export const subscription = {
|
|
|
172
184
|
'utilization.pricePerKm',
|
|
173
185
|
'utilization.paid',
|
|
174
186
|
'utilization.allowedMileage',
|
|
175
|
-
'utilization.mileage'
|
|
187
|
+
'utilization.mileage'
|
|
176
188
|
],
|
|
177
|
-
conditions: {
|
|
189
|
+
conditions: {
|
|
190
|
+
subscription: {
|
|
191
|
+
userId: 'U2DCCUKVW'
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
action: 'read',
|
|
197
|
+
subject: 'Vehicle',
|
|
198
|
+
conditions: {
|
|
199
|
+
status: 'listed'
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
action: 'create',
|
|
204
|
+
subject: 'Business'
|
|
178
205
|
},
|
|
179
|
-
{ action: 'read', subject: 'Vehicle', conditions: { status: 'listed' } },
|
|
180
|
-
{ action: 'create', subject: 'Business' },
|
|
181
206
|
{
|
|
182
207
|
action: 'read',
|
|
183
208
|
subject: 'Subscription',
|
|
184
|
-
conditions: {
|
|
209
|
+
conditions: {
|
|
210
|
+
userId: 'U2DCCUKVW'
|
|
211
|
+
}
|
|
185
212
|
},
|
|
186
|
-
{ action: 'read', subject: 'Coupon' },
|
|
187
|
-
{ action: 'manageAdmin', inverted: true, subject: 'User' },
|
|
188
213
|
{
|
|
189
|
-
action:
|
|
214
|
+
action: 'read',
|
|
215
|
+
subject: 'Coupon'
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
action: 'manageAdmin',
|
|
219
|
+
inverted: true,
|
|
220
|
+
subject: 'User'
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
action: [
|
|
224
|
+
'create',
|
|
225
|
+
'update',
|
|
226
|
+
'delete'
|
|
227
|
+
],
|
|
190
228
|
inverted: true,
|
|
191
229
|
subject: 'User',
|
|
192
230
|
conditions: {
|
|
@@ -212,29 +250,54 @@ export const subscription = {
|
|
|
212
250
|
'designer',
|
|
213
251
|
'engineer',
|
|
214
252
|
'productManager',
|
|
215
|
-
'ceo'
|
|
216
|
-
]
|
|
217
|
-
}
|
|
253
|
+
'ceo'
|
|
254
|
+
]
|
|
255
|
+
}
|
|
218
256
|
},
|
|
219
|
-
reason: 'You are not allowed to update admin users'
|
|
257
|
+
reason: 'You are not allowed to update admin users'
|
|
220
258
|
},
|
|
221
|
-
{ action: 'update', subject: 'User', conditions: { id: 'U2DCCUKVW' } },
|
|
222
259
|
{
|
|
223
|
-
action:
|
|
260
|
+
action: 'update',
|
|
224
261
|
subject: 'User',
|
|
225
|
-
conditions: {
|
|
262
|
+
conditions: {
|
|
263
|
+
id: 'U2DCCUKVW'
|
|
264
|
+
}
|
|
226
265
|
},
|
|
227
266
|
{
|
|
228
|
-
action: [
|
|
267
|
+
action: [
|
|
268
|
+
'read',
|
|
269
|
+
'update'
|
|
270
|
+
],
|
|
271
|
+
subject: 'User',
|
|
272
|
+
conditions: {
|
|
273
|
+
id: 'U2DCCUKVW'
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
action: [
|
|
278
|
+
'read'
|
|
279
|
+
],
|
|
229
280
|
subject: 'Invoice',
|
|
230
|
-
conditions: {
|
|
281
|
+
conditions: {
|
|
282
|
+
payerId: 'U2DCCUKVW'
|
|
283
|
+
}
|
|
231
284
|
},
|
|
232
285
|
{
|
|
233
286
|
action: 'reserveVehicle',
|
|
234
287
|
subject: 'User',
|
|
235
|
-
conditions: {
|
|
288
|
+
conditions: {
|
|
289
|
+
banned: false,
|
|
290
|
+
consented: true
|
|
291
|
+
}
|
|
236
292
|
},
|
|
237
|
-
{
|
|
293
|
+
{
|
|
294
|
+
action: 'update',
|
|
295
|
+
inverted: true,
|
|
296
|
+
subject: 'User',
|
|
297
|
+
fields: [
|
|
298
|
+
'groups'
|
|
299
|
+
]
|
|
300
|
+
}
|
|
238
301
|
],
|
|
239
302
|
banned: false,
|
|
240
303
|
banReason: null,
|
|
@@ -262,7 +325,7 @@ export const subscription = {
|
|
|
262
325
|
entryDate: null,
|
|
263
326
|
visaExpiry: null,
|
|
264
327
|
visaValidityMonths: null,
|
|
265
|
-
verified: false
|
|
328
|
+
verified: false
|
|
266
329
|
},
|
|
267
330
|
documents: {
|
|
268
331
|
passport: {
|
|
@@ -274,7 +337,7 @@ export const subscription = {
|
|
|
274
337
|
uploaded: true,
|
|
275
338
|
createdAt: new Date('2024-03-12T04:18:36.116Z'),
|
|
276
339
|
updatedAt: null,
|
|
277
|
-
metadata: null
|
|
340
|
+
metadata: null
|
|
278
341
|
},
|
|
279
342
|
visa: {
|
|
280
343
|
name: 'Visa',
|
|
@@ -285,7 +348,7 @@ export const subscription = {
|
|
|
285
348
|
uploaded: true,
|
|
286
349
|
createdAt: new Date('2024-03-12T04:18:36.116Z'),
|
|
287
350
|
updatedAt: null,
|
|
288
|
-
metadata: null
|
|
351
|
+
metadata: null
|
|
289
352
|
},
|
|
290
353
|
idFront: null,
|
|
291
354
|
idBack: null,
|
|
@@ -298,7 +361,7 @@ export const subscription = {
|
|
|
298
361
|
uploaded: true,
|
|
299
362
|
createdAt: new Date('2024-03-12T04:22:11.640Z'),
|
|
300
363
|
updatedAt: null,
|
|
301
|
-
metadata: null
|
|
364
|
+
metadata: null
|
|
302
365
|
},
|
|
303
366
|
experianReport: null,
|
|
304
367
|
pdrm: null,
|
|
@@ -313,7 +376,7 @@ export const subscription = {
|
|
|
313
376
|
uploaded: true,
|
|
314
377
|
createdAt: new Date('2024-03-12T04:29:23.025Z'),
|
|
315
378
|
updatedAt: null,
|
|
316
|
-
metadata: null
|
|
379
|
+
metadata: null
|
|
317
380
|
},
|
|
318
381
|
bankStatement2: {
|
|
319
382
|
name: 'Bank Statement 2',
|
|
@@ -324,7 +387,7 @@ export const subscription = {
|
|
|
324
387
|
uploaded: true,
|
|
325
388
|
createdAt: new Date('2024-03-12T04:29:23.025Z'),
|
|
326
389
|
updatedAt: null,
|
|
327
|
-
metadata: null
|
|
390
|
+
metadata: null
|
|
328
391
|
},
|
|
329
392
|
bankStatement3: {
|
|
330
393
|
name: 'Bank Statement 3',
|
|
@@ -335,7 +398,7 @@ export const subscription = {
|
|
|
335
398
|
uploaded: true,
|
|
336
399
|
createdAt: new Date('2024-03-12T04:29:23.025Z'),
|
|
337
400
|
updatedAt: null,
|
|
338
|
-
metadata: null
|
|
401
|
+
metadata: null
|
|
339
402
|
},
|
|
340
403
|
epfStatement: null,
|
|
341
404
|
offerLetter: {
|
|
@@ -347,8 +410,8 @@ export const subscription = {
|
|
|
347
410
|
uploaded: true,
|
|
348
411
|
createdAt: new Date('2024-03-12T04:32:27.837Z'),
|
|
349
412
|
updatedAt: null,
|
|
350
|
-
metadata: null
|
|
351
|
-
}
|
|
413
|
+
metadata: null
|
|
414
|
+
}
|
|
352
415
|
},
|
|
353
416
|
paymentMethods: [
|
|
354
417
|
{
|
|
@@ -361,7 +424,7 @@ export const subscription = {
|
|
|
361
424
|
stripe: {
|
|
362
425
|
customerId: 'cus_PioidrQGcxLkbQ',
|
|
363
426
|
paymentMethodId: 'pm_1PGL4QGmjNrRwDjL0HpLF2OS',
|
|
364
|
-
setupIntentId: null
|
|
427
|
+
setupIntentId: null
|
|
365
428
|
},
|
|
366
429
|
curlec: null,
|
|
367
430
|
payex: null,
|
|
@@ -372,12 +435,12 @@ export const subscription = {
|
|
|
372
435
|
expYear: 2029,
|
|
373
436
|
funding: 'prepaid',
|
|
374
437
|
country: 'MY',
|
|
375
|
-
cardholderName: 'Zishan Kalim'
|
|
438
|
+
cardholderName: 'Zishan Kalim'
|
|
376
439
|
},
|
|
377
440
|
accountType: 'personal',
|
|
378
441
|
status: 'active',
|
|
379
|
-
metadata: {}
|
|
380
|
-
}
|
|
442
|
+
metadata: {}
|
|
443
|
+
}
|
|
381
444
|
],
|
|
382
445
|
addresses: {
|
|
383
446
|
home: {
|
|
@@ -389,7 +452,7 @@ export const subscription = {
|
|
|
389
452
|
country: 'AE',
|
|
390
453
|
postalCode: '00000',
|
|
391
454
|
metadata: {},
|
|
392
|
-
coordinates: null
|
|
455
|
+
coordinates: null
|
|
393
456
|
},
|
|
394
457
|
billing: {
|
|
395
458
|
name: null,
|
|
@@ -399,8 +462,8 @@ export const subscription = {
|
|
|
399
462
|
state: 'Dubai',
|
|
400
463
|
country: 'AE',
|
|
401
464
|
postalCode: '00000',
|
|
402
|
-
metadata: {}
|
|
403
|
-
}
|
|
465
|
+
metadata: {}
|
|
466
|
+
}
|
|
404
467
|
},
|
|
405
468
|
verifications: null,
|
|
406
469
|
emailPreferences: {
|
|
@@ -409,11 +472,11 @@ export const subscription = {
|
|
|
409
472
|
signUpOnly: false,
|
|
410
473
|
signUpPaymentAdded: false,
|
|
411
474
|
activeSub: true,
|
|
412
|
-
expiredSub: false
|
|
475
|
+
expiredSub: false
|
|
413
476
|
},
|
|
414
477
|
companyName: 'FLUX',
|
|
415
478
|
ethnicity: null,
|
|
416
|
-
geoRegion: null
|
|
479
|
+
geoRegion: null
|
|
417
480
|
},
|
|
418
481
|
vehicle: {
|
|
419
482
|
id: 'VM98GEJKS',
|
|
@@ -452,7 +515,10 @@ export const subscription = {
|
|
|
452
515
|
mileageTrackingOff: false,
|
|
453
516
|
featureOnLandingPage: false,
|
|
454
517
|
lastMileageRecordedAt: new Date('2024-04-23T08:36:08.893Z'),
|
|
455
|
-
locationAvailability: [
|
|
518
|
+
locationAvailability: [
|
|
519
|
+
'Kuala Lumpur',
|
|
520
|
+
'Johor'
|
|
521
|
+
],
|
|
456
522
|
temporary: true,
|
|
457
523
|
hotDeal: null,
|
|
458
524
|
activeSubscriptionId: 'S5Y9TWWSK',
|
|
@@ -471,7 +537,7 @@ export const subscription = {
|
|
|
471
537
|
country: 'MY',
|
|
472
538
|
postalCode: '50480',
|
|
473
539
|
metadata: {},
|
|
474
|
-
coordinates: null
|
|
540
|
+
coordinates: null
|
|
475
541
|
},
|
|
476
542
|
pickup: {
|
|
477
543
|
name: 'Main',
|
|
@@ -482,8 +548,8 @@ export const subscription = {
|
|
|
482
548
|
country: 'MY',
|
|
483
549
|
postalCode: '50480',
|
|
484
550
|
metadata: {},
|
|
485
|
-
coordinates: null
|
|
486
|
-
}
|
|
551
|
+
coordinates: null
|
|
552
|
+
}
|
|
487
553
|
},
|
|
488
554
|
documents: null,
|
|
489
555
|
pricing: {
|
|
@@ -492,74 +558,267 @@ export const subscription = {
|
|
|
492
558
|
tmv: 160000,
|
|
493
559
|
bought: false,
|
|
494
560
|
gfvNotApplicable: true,
|
|
495
|
-
gfv: {
|
|
561
|
+
gfv: {
|
|
562
|
+
plan60: 0,
|
|
563
|
+
plan36: 0,
|
|
564
|
+
plan24: 0
|
|
565
|
+
},
|
|
496
566
|
fluxPrice: {
|
|
497
567
|
add: null,
|
|
498
568
|
coefficient: 10,
|
|
499
569
|
excessMileage: 1.4,
|
|
500
570
|
originalExcessMileage: 1.8,
|
|
501
571
|
matrix: {
|
|
502
|
-
plan60: {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
572
|
+
plan60: {
|
|
573
|
+
lite: 2640,
|
|
574
|
+
standard: 2970,
|
|
575
|
+
plus: 3300,
|
|
576
|
+
unlimited: 4140
|
|
577
|
+
},
|
|
578
|
+
plan36: {
|
|
579
|
+
lite: 3300,
|
|
580
|
+
standard: 3630,
|
|
581
|
+
plus: 3960,
|
|
582
|
+
unlimited: 4800
|
|
583
|
+
},
|
|
584
|
+
plan24: {
|
|
585
|
+
lite: 3630,
|
|
586
|
+
standard: 3960,
|
|
587
|
+
plus: 4290,
|
|
588
|
+
unlimited: 5130
|
|
589
|
+
},
|
|
590
|
+
plan12: {
|
|
591
|
+
lite: 3960,
|
|
592
|
+
standard: 4290,
|
|
593
|
+
plus: 4620,
|
|
594
|
+
unlimited: 5460
|
|
595
|
+
},
|
|
596
|
+
plan1: {
|
|
597
|
+
lite: 7599,
|
|
598
|
+
standard: 7599,
|
|
599
|
+
plus: 7599,
|
|
600
|
+
unlimited: 7599
|
|
601
|
+
},
|
|
602
|
+
planWeekly: {
|
|
603
|
+
lite: 200,
|
|
604
|
+
standard: 530,
|
|
605
|
+
plus: 860,
|
|
606
|
+
unlimited: 1700
|
|
607
|
+
}
|
|
508
608
|
},
|
|
509
609
|
originalMatrix: {
|
|
510
|
-
plan60: {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
610
|
+
plan60: {
|
|
611
|
+
lite: 2640,
|
|
612
|
+
standard: 2970,
|
|
613
|
+
plus: 3300,
|
|
614
|
+
unlimited: 4140
|
|
615
|
+
},
|
|
616
|
+
plan36: {
|
|
617
|
+
lite: 3300,
|
|
618
|
+
standard: 3630,
|
|
619
|
+
plus: 3960,
|
|
620
|
+
unlimited: 4800
|
|
621
|
+
},
|
|
622
|
+
plan24: {
|
|
623
|
+
lite: 3630,
|
|
624
|
+
standard: 3960,
|
|
625
|
+
plus: 4290,
|
|
626
|
+
unlimited: 5130
|
|
627
|
+
},
|
|
628
|
+
plan12: {
|
|
629
|
+
lite: 3960,
|
|
630
|
+
standard: 4290,
|
|
631
|
+
plus: 4620,
|
|
632
|
+
unlimited: 5460
|
|
633
|
+
},
|
|
634
|
+
plan1: {
|
|
635
|
+
lite: 7599,
|
|
636
|
+
standard: 7599,
|
|
637
|
+
plus: 7599,
|
|
638
|
+
unlimited: 7599
|
|
639
|
+
},
|
|
640
|
+
planWeekly: {
|
|
641
|
+
lite: 200,
|
|
642
|
+
standard: 530,
|
|
643
|
+
plus: 860,
|
|
644
|
+
unlimited: 1700
|
|
645
|
+
}
|
|
516
646
|
},
|
|
517
|
-
matrixComments: null
|
|
647
|
+
matrixComments: null
|
|
518
648
|
},
|
|
519
649
|
hostTake: {
|
|
520
650
|
excessMileage: 1.1,
|
|
521
651
|
originalExcessMileage: 1.44,
|
|
522
652
|
matrix: {
|
|
523
|
-
plan60: {
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
653
|
+
plan60: {
|
|
654
|
+
lite: 3000,
|
|
655
|
+
standard: 3150,
|
|
656
|
+
plus: 3150,
|
|
657
|
+
unlimited: 4250
|
|
658
|
+
},
|
|
659
|
+
plan36: {
|
|
660
|
+
lite: 3000,
|
|
661
|
+
standard: 3300,
|
|
662
|
+
plus: 3600,
|
|
663
|
+
unlimited: 4350
|
|
664
|
+
},
|
|
665
|
+
plan24: {
|
|
666
|
+
lite: 3300,
|
|
667
|
+
standard: 3600,
|
|
668
|
+
plus: 3900,
|
|
669
|
+
unlimited: 4650
|
|
670
|
+
},
|
|
671
|
+
plan12: {
|
|
672
|
+
lite: 3600,
|
|
673
|
+
standard: 3900,
|
|
674
|
+
plus: 4200,
|
|
675
|
+
unlimited: 4950
|
|
676
|
+
},
|
|
677
|
+
plan1: {
|
|
678
|
+
lite: 6500,
|
|
679
|
+
standard: 6500,
|
|
680
|
+
plus: 6500,
|
|
681
|
+
unlimited: 6500
|
|
682
|
+
},
|
|
683
|
+
planWeekly: {
|
|
684
|
+
lite: 0,
|
|
685
|
+
standard: 0,
|
|
686
|
+
plus: 0,
|
|
687
|
+
unlimited: 0
|
|
688
|
+
}
|
|
529
689
|
},
|
|
530
690
|
originalMatrix: {
|
|
531
|
-
plan60: {
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
691
|
+
plan60: {
|
|
692
|
+
lite: 2400,
|
|
693
|
+
standard: 2700,
|
|
694
|
+
plus: 3000,
|
|
695
|
+
unlimited: 3750
|
|
696
|
+
},
|
|
697
|
+
plan36: {
|
|
698
|
+
lite: 3000,
|
|
699
|
+
standard: 3300,
|
|
700
|
+
plus: 3600,
|
|
701
|
+
unlimited: 4350
|
|
702
|
+
},
|
|
703
|
+
plan24: {
|
|
704
|
+
lite: 3300,
|
|
705
|
+
standard: 3600,
|
|
706
|
+
plus: 3900,
|
|
707
|
+
unlimited: 4650
|
|
708
|
+
},
|
|
709
|
+
plan12: {
|
|
710
|
+
lite: 3600,
|
|
711
|
+
standard: 3900,
|
|
712
|
+
plus: 4200,
|
|
713
|
+
unlimited: 4950
|
|
714
|
+
},
|
|
715
|
+
plan1: {
|
|
716
|
+
lite: 6500,
|
|
717
|
+
standard: 6500,
|
|
718
|
+
plus: 6500,
|
|
719
|
+
unlimited: 6500
|
|
720
|
+
},
|
|
721
|
+
planWeekly: {
|
|
722
|
+
lite: 0,
|
|
723
|
+
standard: 0,
|
|
724
|
+
plus: 0,
|
|
725
|
+
unlimited: 0
|
|
726
|
+
}
|
|
537
727
|
},
|
|
538
|
-
matrixComments: null
|
|
728
|
+
matrixComments: null
|
|
539
729
|
},
|
|
540
730
|
startFee: {
|
|
541
731
|
matrix: {
|
|
542
|
-
plan60: {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
732
|
+
plan60: {
|
|
733
|
+
lite: 1800,
|
|
734
|
+
standard: 2040,
|
|
735
|
+
plus: 2250,
|
|
736
|
+
unlimited: 2820
|
|
737
|
+
},
|
|
738
|
+
plan36: {
|
|
739
|
+
lite: 2250,
|
|
740
|
+
standard: 2490,
|
|
741
|
+
plus: 2700,
|
|
742
|
+
unlimited: 3270
|
|
743
|
+
},
|
|
744
|
+
plan24: {
|
|
745
|
+
lite: 2490,
|
|
746
|
+
standard: 2700,
|
|
747
|
+
plus: 2940,
|
|
748
|
+
unlimited: 3510
|
|
749
|
+
},
|
|
750
|
+
plan12: {
|
|
751
|
+
lite: 2700,
|
|
752
|
+
standard: 2940,
|
|
753
|
+
plus: 3150,
|
|
754
|
+
unlimited: 3720
|
|
755
|
+
},
|
|
756
|
+
plan1: {
|
|
757
|
+
lite: 0,
|
|
758
|
+
standard: 0,
|
|
759
|
+
plus: 0,
|
|
760
|
+
unlimited: 0
|
|
761
|
+
},
|
|
762
|
+
planWeekly: {
|
|
763
|
+
lite: 0,
|
|
764
|
+
standard: 0,
|
|
765
|
+
plus: 0,
|
|
766
|
+
unlimited: 0
|
|
767
|
+
}
|
|
548
768
|
},
|
|
549
769
|
originalMatrix: {
|
|
550
|
-
plan60: {
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
770
|
+
plan60: {
|
|
771
|
+
lite: 1800,
|
|
772
|
+
standard: 2040,
|
|
773
|
+
plus: 2250,
|
|
774
|
+
unlimited: 2820
|
|
775
|
+
},
|
|
776
|
+
plan36: {
|
|
777
|
+
lite: 2250,
|
|
778
|
+
standard: 2490,
|
|
779
|
+
plus: 2700,
|
|
780
|
+
unlimited: 3270
|
|
781
|
+
},
|
|
782
|
+
plan24: {
|
|
783
|
+
lite: 2490,
|
|
784
|
+
standard: 2700,
|
|
785
|
+
plus: 2940,
|
|
786
|
+
unlimited: 3510
|
|
787
|
+
},
|
|
788
|
+
plan12: {
|
|
789
|
+
lite: 2700,
|
|
790
|
+
standard: 2940,
|
|
791
|
+
plus: 3150,
|
|
792
|
+
unlimited: 3720
|
|
793
|
+
},
|
|
794
|
+
plan1: {
|
|
795
|
+
lite: 0,
|
|
796
|
+
standard: 0,
|
|
797
|
+
plus: 0,
|
|
798
|
+
unlimited: 0
|
|
799
|
+
},
|
|
800
|
+
planWeekly: {
|
|
801
|
+
lite: 0,
|
|
802
|
+
standard: 0,
|
|
803
|
+
plus: 0,
|
|
804
|
+
unlimited: 0
|
|
805
|
+
}
|
|
556
806
|
},
|
|
557
|
-
matrixComments: null
|
|
807
|
+
matrixComments: null
|
|
558
808
|
},
|
|
559
809
|
ultraTier: 'tier11',
|
|
560
|
-
availablePlans: [
|
|
561
|
-
|
|
562
|
-
|
|
810
|
+
availablePlans: [
|
|
811
|
+
'plan36',
|
|
812
|
+
'plan24',
|
|
813
|
+
'plan12'
|
|
814
|
+
],
|
|
815
|
+
availableMileagePackages: [
|
|
816
|
+
'lite',
|
|
817
|
+
'standard',
|
|
818
|
+
'plus',
|
|
819
|
+
'unlimited'
|
|
820
|
+
],
|
|
821
|
+
recommendedDeposit: null
|
|
563
822
|
},
|
|
564
823
|
images: [
|
|
565
824
|
{
|
|
@@ -572,7 +831,7 @@ export const subscription = {
|
|
|
572
831
|
description: null,
|
|
573
832
|
inspection: true,
|
|
574
833
|
inspectionType: 'exterior',
|
|
575
|
-
notActualPhoto: false
|
|
834
|
+
notActualPhoto: false
|
|
576
835
|
},
|
|
577
836
|
{
|
|
578
837
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/ae2738e1-0475-4ea1-bf9a-9721e80d9455.jpg',
|
|
@@ -584,7 +843,7 @@ export const subscription = {
|
|
|
584
843
|
description: null,
|
|
585
844
|
inspection: false,
|
|
586
845
|
inspectionType: null,
|
|
587
|
-
notActualPhoto: false
|
|
846
|
+
notActualPhoto: false
|
|
588
847
|
},
|
|
589
848
|
{
|
|
590
849
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/78481cf6-ccb3-4914-a878-472267db0241.jpg',
|
|
@@ -596,7 +855,7 @@ export const subscription = {
|
|
|
596
855
|
description: null,
|
|
597
856
|
inspection: false,
|
|
598
857
|
inspectionType: null,
|
|
599
|
-
notActualPhoto: false
|
|
858
|
+
notActualPhoto: false
|
|
600
859
|
},
|
|
601
860
|
{
|
|
602
861
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/8597f00c-8714-45f3-bc5f-07b108729152.jpg',
|
|
@@ -608,7 +867,7 @@ export const subscription = {
|
|
|
608
867
|
description: null,
|
|
609
868
|
inspection: false,
|
|
610
869
|
inspectionType: null,
|
|
611
|
-
notActualPhoto: false
|
|
870
|
+
notActualPhoto: false
|
|
612
871
|
},
|
|
613
872
|
{
|
|
614
873
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/22e6bba8-23d6-4d64-997a-37bc502aac16.jpg',
|
|
@@ -620,7 +879,7 @@ export const subscription = {
|
|
|
620
879
|
description: null,
|
|
621
880
|
inspection: false,
|
|
622
881
|
inspectionType: null,
|
|
623
|
-
notActualPhoto: false
|
|
882
|
+
notActualPhoto: false
|
|
624
883
|
},
|
|
625
884
|
{
|
|
626
885
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7884.JPG',
|
|
@@ -632,7 +891,7 @@ export const subscription = {
|
|
|
632
891
|
description: null,
|
|
633
892
|
inspection: false,
|
|
634
893
|
inspectionType: null,
|
|
635
|
-
notActualPhoto: false
|
|
894
|
+
notActualPhoto: false
|
|
636
895
|
},
|
|
637
896
|
{
|
|
638
897
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7882.JPG',
|
|
@@ -644,7 +903,7 @@ export const subscription = {
|
|
|
644
903
|
description: null,
|
|
645
904
|
inspection: true,
|
|
646
905
|
inspectionType: 'frame',
|
|
647
|
-
notActualPhoto: false
|
|
906
|
+
notActualPhoto: false
|
|
648
907
|
},
|
|
649
908
|
{
|
|
650
909
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7880.JPG',
|
|
@@ -656,7 +915,7 @@ export const subscription = {
|
|
|
656
915
|
description: null,
|
|
657
916
|
inspection: false,
|
|
658
917
|
inspectionType: null,
|
|
659
|
-
notActualPhoto: false
|
|
918
|
+
notActualPhoto: false
|
|
660
919
|
},
|
|
661
920
|
{
|
|
662
921
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7879.JPG',
|
|
@@ -668,7 +927,7 @@ export const subscription = {
|
|
|
668
927
|
description: null,
|
|
669
928
|
inspection: false,
|
|
670
929
|
inspectionType: null,
|
|
671
|
-
notActualPhoto: false
|
|
930
|
+
notActualPhoto: false
|
|
672
931
|
},
|
|
673
932
|
{
|
|
674
933
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7878.JPG',
|
|
@@ -680,7 +939,7 @@ export const subscription = {
|
|
|
680
939
|
description: null,
|
|
681
940
|
inspection: true,
|
|
682
941
|
inspectionType: 'interior',
|
|
683
|
-
notActualPhoto: false
|
|
942
|
+
notActualPhoto: false
|
|
684
943
|
},
|
|
685
944
|
{
|
|
686
945
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7876.JPG',
|
|
@@ -692,7 +951,7 @@ export const subscription = {
|
|
|
692
951
|
description: null,
|
|
693
952
|
inspection: false,
|
|
694
953
|
inspectionType: null,
|
|
695
|
-
notActualPhoto: false
|
|
954
|
+
notActualPhoto: false
|
|
696
955
|
},
|
|
697
956
|
{
|
|
698
957
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7877.JPG',
|
|
@@ -704,7 +963,7 @@ export const subscription = {
|
|
|
704
963
|
description: null,
|
|
705
964
|
inspection: false,
|
|
706
965
|
inspectionType: null,
|
|
707
|
-
notActualPhoto: false
|
|
966
|
+
notActualPhoto: false
|
|
708
967
|
},
|
|
709
968
|
{
|
|
710
969
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7873.JPG',
|
|
@@ -716,7 +975,7 @@ export const subscription = {
|
|
|
716
975
|
description: null,
|
|
717
976
|
inspection: false,
|
|
718
977
|
inspectionType: null,
|
|
719
|
-
notActualPhoto: false
|
|
978
|
+
notActualPhoto: false
|
|
720
979
|
},
|
|
721
980
|
{
|
|
722
981
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7871.JPG',
|
|
@@ -728,7 +987,7 @@ export const subscription = {
|
|
|
728
987
|
description: null,
|
|
729
988
|
inspection: false,
|
|
730
989
|
inspectionType: null,
|
|
731
|
-
notActualPhoto: false
|
|
990
|
+
notActualPhoto: false
|
|
732
991
|
},
|
|
733
992
|
{
|
|
734
993
|
default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7885.JPG',
|
|
@@ -740,8 +999,8 @@ export const subscription = {
|
|
|
740
999
|
description: null,
|
|
741
1000
|
inspection: true,
|
|
742
1001
|
inspectionType: 'engine',
|
|
743
|
-
notActualPhoto: false
|
|
744
|
-
}
|
|
1002
|
+
notActualPhoto: false
|
|
1003
|
+
}
|
|
745
1004
|
],
|
|
746
1005
|
details: {
|
|
747
1006
|
numberOfSeats: 6,
|
|
@@ -775,9 +1034,9 @@ export const subscription = {
|
|
|
775
1034
|
'abs',
|
|
776
1035
|
'parking-sensor',
|
|
777
1036
|
'braking-assist',
|
|
778
|
-
'adaptive-headlights'
|
|
1037
|
+
'adaptive-headlights'
|
|
779
1038
|
],
|
|
780
|
-
condition: 'used'
|
|
1039
|
+
condition: 'used'
|
|
781
1040
|
},
|
|
782
1041
|
inspection: {
|
|
783
1042
|
exterior: 5,
|
|
@@ -787,11 +1046,11 @@ export const subscription = {
|
|
|
787
1046
|
dashboard: null,
|
|
788
1047
|
date: new Date('2023-09-18T16:00:00.000Z'),
|
|
789
1048
|
total: 5,
|
|
790
|
-
comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.'
|
|
1049
|
+
comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.'
|
|
791
1050
|
},
|
|
792
1051
|
appliedCoupon: null,
|
|
793
1052
|
displayVehicleId: null,
|
|
794
|
-
isHostConfirmed: null
|
|
1053
|
+
isHostConfirmed: null
|
|
795
1054
|
},
|
|
796
1055
|
schedule: {
|
|
797
1056
|
id: 'SC_6FLUKBFH',
|
|
@@ -810,11 +1069,11 @@ export const subscription = {
|
|
|
810
1069
|
updatedAt: new Date('2024-04-30T09:39:11.564Z'),
|
|
811
1070
|
metadata: {},
|
|
812
1071
|
expiryNoticeSent: false,
|
|
813
|
-
phases: []
|
|
1072
|
+
phases: []
|
|
814
1073
|
},
|
|
815
|
-
subscriptionTag: 'new'
|
|
1074
|
+
subscriptionTag: 'new'
|
|
816
1075
|
};
|
|
817
|
-
export
|
|
1076
|
+
export var signature = {
|
|
818
1077
|
id: generateId('SubscriptionSignature'),
|
|
819
1078
|
subscriptionId: subscription.id,
|
|
820
1079
|
object: 'subscriptionSignature',
|
|
@@ -835,10 +1094,9 @@ export const signature = {
|
|
|
835
1094
|
heading: 0,
|
|
836
1095
|
altitude: 61.10000228881836,
|
|
837
1096
|
longitude: 101.6787272,
|
|
838
|
-
accuracy: 100
|
|
839
|
-
}
|
|
1097
|
+
accuracy: 100
|
|
1098
|
+
}
|
|
840
1099
|
},
|
|
841
1100
|
agreedToTerms: true,
|
|
842
|
-
ipAddress: null
|
|
1101
|
+
ipAddress: null
|
|
843
1102
|
};
|
|
844
|
-
//# sourceMappingURL=subscription.js.map
|