@driveflux/pdf 1.6.40 → 1.6.41

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 (38) hide show
  1. package/dist/__mocks__/quotation.js +10 -11
  2. package/dist/__mocks__/subscription.js +380 -122
  3. package/dist/components/FluxLogo.js +62 -3
  4. package/dist/components/StandardPage.js +97 -8
  5. package/dist/debug.js +219 -29
  6. package/dist/index.js +0 -1
  7. package/dist/templates/QuotationPdf/CustomerSubscriptionSection.js +145 -27
  8. package/dist/templates/QuotationPdf/GFV.js +49 -12
  9. package/dist/templates/QuotationPdf/Header.js +63 -5
  10. package/dist/templates/QuotationPdf/Pricing.js +573 -201
  11. package/dist/templates/QuotationPdf/QuotationPdfPage.js +23 -3
  12. package/dist/templates/QuotationPdf/SectionBoxNew.js +34 -4
  13. package/dist/templates/QuotationPdf/TermsSection.js +42 -5
  14. package/dist/templates/QuotationPdf/VehiclePhotos.js +54 -24
  15. package/dist/templates/QuotationPdf/index.js +198 -11
  16. package/dist/templates/QuotationPdf/translations.js +34 -22
  17. package/dist/templates/QuotationPdf/utils.js +59 -29
  18. package/dist/templates/SubscriptionAgreement/Confirmation.js +66 -11
  19. package/dist/templates/SubscriptionAgreement/CoverPage.js +77 -10
  20. package/dist/templates/SubscriptionAgreement/CoverPageSection.js +16 -5
  21. package/dist/templates/SubscriptionAgreement/Details.js +69 -43
  22. package/dist/templates/SubscriptionAgreement/Footer.js +48 -6
  23. package/dist/templates/SubscriptionAgreement/Header.js +35 -5
  24. package/dist/templates/SubscriptionAgreement/LabelValue.js +25 -3
  25. package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.js +26 -3
  26. package/dist/templates/SubscriptionAgreement/TermsOfUse.js +52 -3
  27. package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.js +97 -9
  28. package/dist/templates/SubscriptionAgreement/index.js +249 -15
  29. package/dist/templates/SubscriptionAgreement/translations.js +194 -193
  30. package/dist/templates/SubscriptionAgreement/types.js +1 -2
  31. package/dist/templates/SubscriptionAgreement/utils.js +3 -5
  32. package/dist/templates/index.js +0 -1
  33. package/dist/theme/colors.js +44 -63
  34. package/dist/theme/index.js +0 -1
  35. package/dist/types.js +1 -2
  36. package/dist/utils.js +166 -16
  37. package/dist/watch.js +3 -4
  38. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- export const subscription = {
1
+ export var subscription = {
2
2
  invoicing: {
3
3
  payerId: 'U2DCCUKVW',
4
4
  name: 'Zishan Kalim',
@@ -11,8 +11,8 @@ export const subscription = {
11
11
  state: 'Dubai',
12
12
  country: 'AE',
13
13
  postalCode: '00000',
14
- metadata: {},
15
- },
14
+ metadata: {}
15
+ }
16
16
  },
17
17
  leadId: null,
18
18
  primaryPaymentMethod: {
@@ -24,8 +24,8 @@ export const subscription = {
24
24
  expYear: 2028,
25
25
  funding: 'debit',
26
26
  country: 'AE',
27
- cardholderName: 'Zishan Kalim',
28
- },
27
+ cardholderName: 'Zishan Kalim'
28
+ }
29
29
  },
30
30
  onTheRoad: null,
31
31
  fees: {
@@ -41,7 +41,7 @@ export const subscription = {
41
41
  startFee: 2700,
42
42
  noStartFeeReason: null,
43
43
  notes: null,
44
- hostPrepaymentRatio: 0,
44
+ hostPrepaymentRatio: 0
45
45
  },
46
46
  unaccountedMileage: null,
47
47
  signature: {
@@ -60,11 +60,11 @@ export const subscription = {
60
60
  heading: 0,
61
61
  altitude: 61.10000228881836,
62
62
  longitude: 101.6787272,
63
- accuracy: 100,
64
- },
63
+ accuracy: 100
64
+ }
65
65
  },
66
66
  agreedToTerms: true,
67
- ipAddress: null,
67
+ ipAddress: null
68
68
  },
69
69
  id: 'S5Y9TWWSK',
70
70
  // subscriptionTag: 'new',
@@ -92,7 +92,9 @@ export const subscription = {
92
92
  chargingMethod: 'automatic',
93
93
  currentInvoiceId: 'IQVTSHDC9',
94
94
  currentCycleId: 'CY-S5Y9TWWSK-BR2WRKTU',
95
- discountIds: ['discount_5bOaD3WHUAPKuYd1PblpH'],
95
+ discountIds: [
96
+ 'discount_5bOaD3WHUAPKuYd1PblpH'
97
+ ],
96
98
  subscriptionRunnerId: null,
97
99
  status: 'active',
98
100
  error: null,
@@ -100,7 +102,11 @@ export const subscription = {
100
102
  createdAt: new Date('2024-03-12T04:38:31.275Z'),
101
103
  updatedAt: new Date('2024-05-16T03:13:57.487Z'),
102
104
  metadata: {},
103
- invoiceIds: ['IJJ3GHPCS', 'I9CC6JYET', 'IQVTSHDC9'],
105
+ invoiceIds: [
106
+ 'IJJ3GHPCS',
107
+ 'I9CC6JYET',
108
+ 'IQVTSHDC9'
109
+ ],
104
110
  excludeMileage: false,
105
111
  vehicleId: 'VM98GEJKS',
106
112
  vehicleType: 'car',
@@ -135,10 +141,14 @@ export const subscription = {
135
141
  payoutIds: [],
136
142
  prepared: true,
137
143
  criticalMissions: null,
138
- depositInvoiceIds: ['IQVTSHDC9'],
144
+ depositInvoiceIds: [
145
+ 'IQVTSHDC9'
146
+ ],
139
147
  totalDepositPaid: null,
140
148
  totalDepositRefunded: null,
141
- startFeeInvoiceIds: ['I9CC6JYET'],
149
+ startFeeInvoiceIds: [
150
+ 'I9CC6JYET'
151
+ ],
142
152
  totalStartFeePaid: null,
143
153
  startingMileage: 56,
144
154
  preparationInvoiceId: 'I9CC6JYET',
@@ -171,9 +181,11 @@ export const subscription = {
171
181
  department: null,
172
182
  signupParams: {
173
183
  method: 'email',
174
- source: null,
184
+ source: null
175
185
  },
176
- groups: ['member'],
186
+ groups: [
187
+ 'member'
188
+ ],
177
189
  maritalStatus: null,
178
190
  gender: null,
179
191
  emergencyContactName: null,
@@ -192,21 +204,47 @@ export const subscription = {
192
204
  'utilization.pricePerKm',
193
205
  'utilization.paid',
194
206
  'utilization.allowedMileage',
195
- 'utilization.mileage',
207
+ 'utilization.mileage'
196
208
  ],
197
- conditions: { subscription: { userId: 'U2DCCUKVW' } },
209
+ conditions: {
210
+ subscription: {
211
+ userId: 'U2DCCUKVW'
212
+ }
213
+ }
214
+ },
215
+ {
216
+ action: 'read',
217
+ subject: 'Vehicle',
218
+ conditions: {
219
+ status: 'listed'
220
+ }
221
+ },
222
+ {
223
+ action: 'create',
224
+ subject: 'Business'
198
225
  },
199
- { action: 'read', subject: 'Vehicle', conditions: { status: 'listed' } },
200
- { action: 'create', subject: 'Business' },
201
226
  {
202
227
  action: 'read',
203
228
  subject: 'Subscription',
204
- conditions: { userId: 'U2DCCUKVW' },
229
+ conditions: {
230
+ userId: 'U2DCCUKVW'
231
+ }
232
+ },
233
+ {
234
+ action: 'read',
235
+ subject: 'Coupon'
205
236
  },
206
- { action: 'read', subject: 'Coupon' },
207
- { action: 'manageAdmin', inverted: true, subject: 'User' },
208
237
  {
209
- action: ['create', 'update', 'delete'],
238
+ action: 'manageAdmin',
239
+ inverted: true,
240
+ subject: 'User'
241
+ },
242
+ {
243
+ action: [
244
+ 'create',
245
+ 'update',
246
+ 'delete'
247
+ ],
210
248
  inverted: true,
211
249
  subject: 'User',
212
250
  conditions: {
@@ -232,29 +270,54 @@ export const subscription = {
232
270
  'designer',
233
271
  'engineer',
234
272
  'productManager',
235
- 'ceo',
236
- ],
237
- },
273
+ 'ceo'
274
+ ]
275
+ }
238
276
  },
239
- reason: 'You are not allowed to update admin users',
277
+ reason: 'You are not allowed to update admin users'
240
278
  },
241
- { action: 'update', subject: 'User', conditions: { id: 'U2DCCUKVW' } },
242
279
  {
243
- action: ['read', 'update'],
280
+ action: 'update',
244
281
  subject: 'User',
245
- conditions: { id: 'U2DCCUKVW' },
282
+ conditions: {
283
+ id: 'U2DCCUKVW'
284
+ }
246
285
  },
247
286
  {
248
- action: ['read'],
287
+ action: [
288
+ 'read',
289
+ 'update'
290
+ ],
291
+ subject: 'User',
292
+ conditions: {
293
+ id: 'U2DCCUKVW'
294
+ }
295
+ },
296
+ {
297
+ action: [
298
+ 'read'
299
+ ],
249
300
  subject: 'Invoice',
250
- conditions: { payerId: 'U2DCCUKVW' },
301
+ conditions: {
302
+ payerId: 'U2DCCUKVW'
303
+ }
251
304
  },
252
305
  {
253
306
  action: 'reserveVehicle',
254
307
  subject: 'User',
255
- conditions: { banned: false, consented: true },
308
+ conditions: {
309
+ banned: false,
310
+ consented: true
311
+ }
256
312
  },
257
- { action: 'update', inverted: true, subject: 'User', fields: ['groups'] },
313
+ {
314
+ action: 'update',
315
+ inverted: true,
316
+ subject: 'User',
317
+ fields: [
318
+ 'groups'
319
+ ]
320
+ }
258
321
  ],
259
322
  banned: false,
260
323
  banReason: null,
@@ -282,7 +345,7 @@ export const subscription = {
282
345
  entryDate: null,
283
346
  visaExpiry: null,
284
347
  visaValidityMonths: null,
285
- verified: false,
348
+ verified: false
286
349
  },
287
350
  documents: {
288
351
  passport: {
@@ -294,7 +357,7 @@ export const subscription = {
294
357
  uploaded: true,
295
358
  createdAt: new Date('2024-03-12T04:18:36.116Z'),
296
359
  updatedAt: null,
297
- metadata: null,
360
+ metadata: null
298
361
  },
299
362
  visa: {
300
363
  name: 'Visa',
@@ -305,7 +368,7 @@ export const subscription = {
305
368
  uploaded: true,
306
369
  createdAt: new Date('2024-03-12T04:18:36.116Z'),
307
370
  updatedAt: null,
308
- metadata: null,
371
+ metadata: null
309
372
  },
310
373
  idFront: null,
311
374
  idBack: null,
@@ -318,7 +381,7 @@ export const subscription = {
318
381
  uploaded: true,
319
382
  createdAt: new Date('2024-03-12T04:22:11.640Z'),
320
383
  updatedAt: null,
321
- metadata: null,
384
+ metadata: null
322
385
  },
323
386
  experianReport: null,
324
387
  pdrm: null,
@@ -333,7 +396,7 @@ export const subscription = {
333
396
  uploaded: true,
334
397
  createdAt: new Date('2024-03-12T04:29:23.025Z'),
335
398
  updatedAt: null,
336
- metadata: null,
399
+ metadata: null
337
400
  },
338
401
  bankStatement2: {
339
402
  name: 'Bank Statement 2',
@@ -344,7 +407,7 @@ export const subscription = {
344
407
  uploaded: true,
345
408
  createdAt: new Date('2024-03-12T04:29:23.025Z'),
346
409
  updatedAt: null,
347
- metadata: null,
410
+ metadata: null
348
411
  },
349
412
  bankStatement3: {
350
413
  name: 'Bank Statement 3',
@@ -355,7 +418,7 @@ export const subscription = {
355
418
  uploaded: true,
356
419
  createdAt: new Date('2024-03-12T04:29:23.025Z'),
357
420
  updatedAt: null,
358
- metadata: null,
421
+ metadata: null
359
422
  },
360
423
  epfStatement: null,
361
424
  offerLetter: {
@@ -367,8 +430,8 @@ export const subscription = {
367
430
  uploaded: true,
368
431
  createdAt: new Date('2024-03-12T04:32:27.837Z'),
369
432
  updatedAt: null,
370
- metadata: null,
371
- },
433
+ metadata: null
434
+ }
372
435
  },
373
436
  paymentMethods: [
374
437
  {
@@ -381,7 +444,7 @@ export const subscription = {
381
444
  stripe: {
382
445
  customerId: 'cus_PioidrQGcxLkbQ',
383
446
  paymentMethodId: 'pm_1PGL4QGmjNrRwDjL0HpLF2OS',
384
- setupIntentId: null,
447
+ setupIntentId: null
385
448
  },
386
449
  curlec: null,
387
450
  payex: null,
@@ -392,12 +455,12 @@ export const subscription = {
392
455
  expYear: 2029,
393
456
  funding: 'prepaid',
394
457
  country: 'MY',
395
- cardholderName: 'Zishan Kalim',
458
+ cardholderName: 'Zishan Kalim'
396
459
  },
397
460
  accountType: 'personal',
398
461
  status: 'active',
399
- metadata: {},
400
- },
462
+ metadata: {}
463
+ }
401
464
  ],
402
465
  addresses: {
403
466
  home: {
@@ -409,7 +472,7 @@ export const subscription = {
409
472
  country: 'AE',
410
473
  postalCode: '00000',
411
474
  metadata: {},
412
- coordinates: null,
475
+ coordinates: null
413
476
  },
414
477
  billing: {
415
478
  name: null,
@@ -419,8 +482,8 @@ export const subscription = {
419
482
  state: 'Dubai',
420
483
  country: 'AE',
421
484
  postalCode: '00000',
422
- metadata: {},
423
- },
485
+ metadata: {}
486
+ }
424
487
  },
425
488
  verifications: null,
426
489
  emailPreferences: {
@@ -429,11 +492,11 @@ export const subscription = {
429
492
  signUpOnly: false,
430
493
  signUpPaymentAdded: false,
431
494
  activeSub: true,
432
- expiredSub: false,
495
+ expiredSub: false
433
496
  },
434
497
  companyName: 'FLUX',
435
498
  ethnicity: null,
436
- geoRegion: null,
499
+ geoRegion: null
437
500
  },
438
501
  vehicle: {
439
502
  id: 'VM98GEJKS',
@@ -472,7 +535,10 @@ export const subscription = {
472
535
  mileageTrackingOff: false,
473
536
  featureOnLandingPage: false,
474
537
  lastMileageRecordedAt: new Date('2024-04-23T08:36:08.893Z'),
475
- locationAvailability: ['Kuala Lumpur', 'Johor'],
538
+ locationAvailability: [
539
+ 'Kuala Lumpur',
540
+ 'Johor'
541
+ ],
476
542
  temporary: true,
477
543
  hotDeal: null,
478
544
  activeSubscriptionId: 'S5Y9TWWSK',
@@ -491,7 +557,7 @@ export const subscription = {
491
557
  country: 'MY',
492
558
  postalCode: '50480',
493
559
  metadata: {},
494
- coordinates: null,
560
+ coordinates: null
495
561
  },
496
562
  pickup: {
497
563
  name: 'Main',
@@ -502,8 +568,8 @@ export const subscription = {
502
568
  country: 'MY',
503
569
  postalCode: '50480',
504
570
  metadata: {},
505
- coordinates: null,
506
- },
571
+ coordinates: null
572
+ }
507
573
  },
508
574
  documents: null,
509
575
  pricing: {
@@ -512,74 +578,267 @@ export const subscription = {
512
578
  tmv: 160000,
513
579
  bought: false,
514
580
  gfvNotApplicable: true,
515
- gfv: { plan60: 0, plan36: 0, plan24: 0 },
581
+ gfv: {
582
+ plan60: 0,
583
+ plan36: 0,
584
+ plan24: 0
585
+ },
516
586
  fluxPrice: {
517
587
  add: null,
518
588
  coefficient: 10,
519
589
  excessMileage: 1.4,
520
590
  originalExcessMileage: 1.8,
521
591
  matrix: {
522
- plan60: { lite: 2640, standard: 2970, plus: 3300, unlimited: 4140 },
523
- plan36: { lite: 3300, standard: 3630, plus: 3960, unlimited: 4800 },
524
- plan24: { lite: 3630, standard: 3960, plus: 4290, unlimited: 5130 },
525
- plan12: { lite: 3960, standard: 4290, plus: 4620, unlimited: 5460 },
526
- plan1: { lite: 7599, standard: 7599, plus: 7599, unlimited: 7599 },
527
- planWeekly: { lite: 200, standard: 530, plus: 860, unlimited: 1700 },
592
+ plan60: {
593
+ lite: 2640,
594
+ standard: 2970,
595
+ plus: 3300,
596
+ unlimited: 4140
597
+ },
598
+ plan36: {
599
+ lite: 3300,
600
+ standard: 3630,
601
+ plus: 3960,
602
+ unlimited: 4800
603
+ },
604
+ plan24: {
605
+ lite: 3630,
606
+ standard: 3960,
607
+ plus: 4290,
608
+ unlimited: 5130
609
+ },
610
+ plan12: {
611
+ lite: 3960,
612
+ standard: 4290,
613
+ plus: 4620,
614
+ unlimited: 5460
615
+ },
616
+ plan1: {
617
+ lite: 7599,
618
+ standard: 7599,
619
+ plus: 7599,
620
+ unlimited: 7599
621
+ },
622
+ planWeekly: {
623
+ lite: 200,
624
+ standard: 530,
625
+ plus: 860,
626
+ unlimited: 1700
627
+ }
528
628
  },
529
629
  originalMatrix: {
530
- plan60: { lite: 2640, standard: 2970, plus: 3300, unlimited: 4140 },
531
- plan36: { lite: 3300, standard: 3630, plus: 3960, unlimited: 4800 },
532
- plan24: { lite: 3630, standard: 3960, plus: 4290, unlimited: 5130 },
533
- plan12: { lite: 3960, standard: 4290, plus: 4620, unlimited: 5460 },
534
- plan1: { lite: 7599, standard: 7599, plus: 7599, unlimited: 7599 },
535
- planWeekly: { lite: 200, standard: 530, plus: 860, unlimited: 1700 },
630
+ plan60: {
631
+ lite: 2640,
632
+ standard: 2970,
633
+ plus: 3300,
634
+ unlimited: 4140
635
+ },
636
+ plan36: {
637
+ lite: 3300,
638
+ standard: 3630,
639
+ plus: 3960,
640
+ unlimited: 4800
641
+ },
642
+ plan24: {
643
+ lite: 3630,
644
+ standard: 3960,
645
+ plus: 4290,
646
+ unlimited: 5130
647
+ },
648
+ plan12: {
649
+ lite: 3960,
650
+ standard: 4290,
651
+ plus: 4620,
652
+ unlimited: 5460
653
+ },
654
+ plan1: {
655
+ lite: 7599,
656
+ standard: 7599,
657
+ plus: 7599,
658
+ unlimited: 7599
659
+ },
660
+ planWeekly: {
661
+ lite: 200,
662
+ standard: 530,
663
+ plus: 860,
664
+ unlimited: 1700
665
+ }
536
666
  },
537
- matrixComments: null,
667
+ matrixComments: null
538
668
  },
539
669
  hostTake: {
540
670
  excessMileage: 1.1,
541
671
  originalExcessMileage: 1.44,
542
672
  matrix: {
543
- plan60: { lite: 3000, standard: 3150, plus: 3150, unlimited: 4250 },
544
- plan36: { lite: 3000, standard: 3300, plus: 3600, unlimited: 4350 },
545
- plan24: { lite: 3300, standard: 3600, plus: 3900, unlimited: 4650 },
546
- plan12: { lite: 3600, standard: 3900, plus: 4200, unlimited: 4950 },
547
- plan1: { lite: 6500, standard: 6500, plus: 6500, unlimited: 6500 },
548
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
673
+ plan60: {
674
+ lite: 3000,
675
+ standard: 3150,
676
+ plus: 3150,
677
+ unlimited: 4250
678
+ },
679
+ plan36: {
680
+ lite: 3000,
681
+ standard: 3300,
682
+ plus: 3600,
683
+ unlimited: 4350
684
+ },
685
+ plan24: {
686
+ lite: 3300,
687
+ standard: 3600,
688
+ plus: 3900,
689
+ unlimited: 4650
690
+ },
691
+ plan12: {
692
+ lite: 3600,
693
+ standard: 3900,
694
+ plus: 4200,
695
+ unlimited: 4950
696
+ },
697
+ plan1: {
698
+ lite: 6500,
699
+ standard: 6500,
700
+ plus: 6500,
701
+ unlimited: 6500
702
+ },
703
+ planWeekly: {
704
+ lite: 0,
705
+ standard: 0,
706
+ plus: 0,
707
+ unlimited: 0
708
+ }
549
709
  },
550
710
  originalMatrix: {
551
- plan60: { lite: 2400, standard: 2700, plus: 3000, unlimited: 3750 },
552
- plan36: { lite: 3000, standard: 3300, plus: 3600, unlimited: 4350 },
553
- plan24: { lite: 3300, standard: 3600, plus: 3900, unlimited: 4650 },
554
- plan12: { lite: 3600, standard: 3900, plus: 4200, unlimited: 4950 },
555
- plan1: { lite: 6500, standard: 6500, plus: 6500, unlimited: 6500 },
556
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
711
+ plan60: {
712
+ lite: 2400,
713
+ standard: 2700,
714
+ plus: 3000,
715
+ unlimited: 3750
716
+ },
717
+ plan36: {
718
+ lite: 3000,
719
+ standard: 3300,
720
+ plus: 3600,
721
+ unlimited: 4350
722
+ },
723
+ plan24: {
724
+ lite: 3300,
725
+ standard: 3600,
726
+ plus: 3900,
727
+ unlimited: 4650
728
+ },
729
+ plan12: {
730
+ lite: 3600,
731
+ standard: 3900,
732
+ plus: 4200,
733
+ unlimited: 4950
734
+ },
735
+ plan1: {
736
+ lite: 6500,
737
+ standard: 6500,
738
+ plus: 6500,
739
+ unlimited: 6500
740
+ },
741
+ planWeekly: {
742
+ lite: 0,
743
+ standard: 0,
744
+ plus: 0,
745
+ unlimited: 0
746
+ }
557
747
  },
558
- matrixComments: null,
748
+ matrixComments: null
559
749
  },
560
750
  startFee: {
561
751
  matrix: {
562
- plan60: { lite: 1800, standard: 2040, plus: 2250, unlimited: 2820 },
563
- plan36: { lite: 2250, standard: 2490, plus: 2700, unlimited: 3270 },
564
- plan24: { lite: 2490, standard: 2700, plus: 2940, unlimited: 3510 },
565
- plan12: { lite: 2700, standard: 2940, plus: 3150, unlimited: 3720 },
566
- plan1: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
567
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
752
+ plan60: {
753
+ lite: 1800,
754
+ standard: 2040,
755
+ plus: 2250,
756
+ unlimited: 2820
757
+ },
758
+ plan36: {
759
+ lite: 2250,
760
+ standard: 2490,
761
+ plus: 2700,
762
+ unlimited: 3270
763
+ },
764
+ plan24: {
765
+ lite: 2490,
766
+ standard: 2700,
767
+ plus: 2940,
768
+ unlimited: 3510
769
+ },
770
+ plan12: {
771
+ lite: 2700,
772
+ standard: 2940,
773
+ plus: 3150,
774
+ unlimited: 3720
775
+ },
776
+ plan1: {
777
+ lite: 0,
778
+ standard: 0,
779
+ plus: 0,
780
+ unlimited: 0
781
+ },
782
+ planWeekly: {
783
+ lite: 0,
784
+ standard: 0,
785
+ plus: 0,
786
+ unlimited: 0
787
+ }
568
788
  },
569
789
  originalMatrix: {
570
- plan60: { lite: 1800, standard: 2040, plus: 2250, unlimited: 2820 },
571
- plan36: { lite: 2250, standard: 2490, plus: 2700, unlimited: 3270 },
572
- plan24: { lite: 2490, standard: 2700, plus: 2940, unlimited: 3510 },
573
- plan12: { lite: 2700, standard: 2940, plus: 3150, unlimited: 3720 },
574
- plan1: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
575
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
790
+ plan60: {
791
+ lite: 1800,
792
+ standard: 2040,
793
+ plus: 2250,
794
+ unlimited: 2820
795
+ },
796
+ plan36: {
797
+ lite: 2250,
798
+ standard: 2490,
799
+ plus: 2700,
800
+ unlimited: 3270
801
+ },
802
+ plan24: {
803
+ lite: 2490,
804
+ standard: 2700,
805
+ plus: 2940,
806
+ unlimited: 3510
807
+ },
808
+ plan12: {
809
+ lite: 2700,
810
+ standard: 2940,
811
+ plus: 3150,
812
+ unlimited: 3720
813
+ },
814
+ plan1: {
815
+ lite: 0,
816
+ standard: 0,
817
+ plus: 0,
818
+ unlimited: 0
819
+ },
820
+ planWeekly: {
821
+ lite: 0,
822
+ standard: 0,
823
+ plus: 0,
824
+ unlimited: 0
825
+ }
576
826
  },
577
- matrixComments: null,
827
+ matrixComments: null
578
828
  },
579
829
  ultraTier: 'tier11',
580
- availablePlans: ['plan36', 'plan24', 'plan12'],
581
- availableMileagePackages: ['lite', 'standard', 'plus', 'unlimited'],
582
- recommendedDeposit: null,
830
+ availablePlans: [
831
+ 'plan36',
832
+ 'plan24',
833
+ 'plan12'
834
+ ],
835
+ availableMileagePackages: [
836
+ 'lite',
837
+ 'standard',
838
+ 'plus',
839
+ 'unlimited'
840
+ ],
841
+ recommendedDeposit: null
583
842
  },
584
843
  images: [
585
844
  {
@@ -592,7 +851,7 @@ export const subscription = {
592
851
  description: null,
593
852
  inspection: true,
594
853
  inspectionType: 'exterior',
595
- notActualPhoto: false,
854
+ notActualPhoto: false
596
855
  },
597
856
  {
598
857
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/ae2738e1-0475-4ea1-bf9a-9721e80d9455.jpg',
@@ -604,7 +863,7 @@ export const subscription = {
604
863
  description: null,
605
864
  inspection: false,
606
865
  inspectionType: null,
607
- notActualPhoto: false,
866
+ notActualPhoto: false
608
867
  },
609
868
  {
610
869
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/78481cf6-ccb3-4914-a878-472267db0241.jpg',
@@ -616,7 +875,7 @@ export const subscription = {
616
875
  description: null,
617
876
  inspection: false,
618
877
  inspectionType: null,
619
- notActualPhoto: false,
878
+ notActualPhoto: false
620
879
  },
621
880
  {
622
881
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/8597f00c-8714-45f3-bc5f-07b108729152.jpg',
@@ -628,7 +887,7 @@ export const subscription = {
628
887
  description: null,
629
888
  inspection: false,
630
889
  inspectionType: null,
631
- notActualPhoto: false,
890
+ notActualPhoto: false
632
891
  },
633
892
  {
634
893
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/22e6bba8-23d6-4d64-997a-37bc502aac16.jpg',
@@ -640,7 +899,7 @@ export const subscription = {
640
899
  description: null,
641
900
  inspection: false,
642
901
  inspectionType: null,
643
- notActualPhoto: false,
902
+ notActualPhoto: false
644
903
  },
645
904
  {
646
905
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7884.JPG',
@@ -652,7 +911,7 @@ export const subscription = {
652
911
  description: null,
653
912
  inspection: false,
654
913
  inspectionType: null,
655
- notActualPhoto: false,
914
+ notActualPhoto: false
656
915
  },
657
916
  {
658
917
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7882.JPG',
@@ -664,7 +923,7 @@ export const subscription = {
664
923
  description: null,
665
924
  inspection: true,
666
925
  inspectionType: 'frame',
667
- notActualPhoto: false,
926
+ notActualPhoto: false
668
927
  },
669
928
  {
670
929
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7880.JPG',
@@ -676,7 +935,7 @@ export const subscription = {
676
935
  description: null,
677
936
  inspection: false,
678
937
  inspectionType: null,
679
- notActualPhoto: false,
938
+ notActualPhoto: false
680
939
  },
681
940
  {
682
941
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7879.JPG',
@@ -688,7 +947,7 @@ export const subscription = {
688
947
  description: null,
689
948
  inspection: false,
690
949
  inspectionType: null,
691
- notActualPhoto: false,
950
+ notActualPhoto: false
692
951
  },
693
952
  {
694
953
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7878.JPG',
@@ -700,7 +959,7 @@ export const subscription = {
700
959
  description: null,
701
960
  inspection: true,
702
961
  inspectionType: 'interior',
703
- notActualPhoto: false,
962
+ notActualPhoto: false
704
963
  },
705
964
  {
706
965
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7876.JPG',
@@ -712,7 +971,7 @@ export const subscription = {
712
971
  description: null,
713
972
  inspection: false,
714
973
  inspectionType: null,
715
- notActualPhoto: false,
974
+ notActualPhoto: false
716
975
  },
717
976
  {
718
977
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7877.JPG',
@@ -724,7 +983,7 @@ export const subscription = {
724
983
  description: null,
725
984
  inspection: false,
726
985
  inspectionType: null,
727
- notActualPhoto: false,
986
+ notActualPhoto: false
728
987
  },
729
988
  {
730
989
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7873.JPG',
@@ -736,7 +995,7 @@ export const subscription = {
736
995
  description: null,
737
996
  inspection: false,
738
997
  inspectionType: null,
739
- notActualPhoto: false,
998
+ notActualPhoto: false
740
999
  },
741
1000
  {
742
1001
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7871.JPG',
@@ -748,7 +1007,7 @@ export const subscription = {
748
1007
  description: null,
749
1008
  inspection: false,
750
1009
  inspectionType: null,
751
- notActualPhoto: false,
1010
+ notActualPhoto: false
752
1011
  },
753
1012
  {
754
1013
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7885.JPG',
@@ -760,8 +1019,8 @@ export const subscription = {
760
1019
  description: null,
761
1020
  inspection: true,
762
1021
  inspectionType: 'engine',
763
- notActualPhoto: false,
764
- },
1022
+ notActualPhoto: false
1023
+ }
765
1024
  ],
766
1025
  details: {
767
1026
  numberOfSeats: 6,
@@ -795,9 +1054,9 @@ export const subscription = {
795
1054
  'abs',
796
1055
  'parking-sensor',
797
1056
  'braking-assist',
798
- 'adaptive-headlights',
1057
+ 'adaptive-headlights'
799
1058
  ],
800
- condition: 'used',
1059
+ condition: 'used'
801
1060
  },
802
1061
  inspection: {
803
1062
  exterior: 5,
@@ -807,9 +1066,9 @@ export const subscription = {
807
1066
  dashboard: null,
808
1067
  date: new Date('2023-09-18T16:00:00.000Z'),
809
1068
  total: 5,
810
- comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.',
1069
+ comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.'
811
1070
  },
812
- appliedCoupon: null,
1071
+ appliedCoupon: null
813
1072
  },
814
1073
  schedule: {
815
1074
  id: 'SC_6FLUKBFH',
@@ -828,8 +1087,7 @@ export const subscription = {
828
1087
  updatedAt: new Date('2024-04-30T09:39:11.564Z'),
829
1088
  metadata: {},
830
1089
  expiryNoticeSent: false,
831
- phases: [],
1090
+ phases: []
832
1091
  },
833
- subscriptionTag: 'new',
1092
+ subscriptionTag: 'new'
834
1093
  };
835
- //# sourceMappingURL=subscription.js.map