@driveflux/pdf 1.7.1 → 1.7.2

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 +203 -26
  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 +574 -204
  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 +189 -10
  16. package/dist/templates/QuotationPdf/translations.js +38 -23
  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 +240 -14
  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 +159 -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',
@@ -490,7 +556,7 @@ export const subscription = {
490
556
  country: 'MY',
491
557
  postalCode: '50480',
492
558
  metadata: {},
493
- coordinates: null,
559
+ coordinates: null
494
560
  },
495
561
  pickup: {
496
562
  name: 'Main',
@@ -501,8 +567,8 @@ export const subscription = {
501
567
  country: 'MY',
502
568
  postalCode: '50480',
503
569
  metadata: {},
504
- coordinates: null,
505
- },
570
+ coordinates: null
571
+ }
506
572
  },
507
573
  documents: null,
508
574
  pricing: {
@@ -511,74 +577,267 @@ export const subscription = {
511
577
  tmv: 160000,
512
578
  bought: false,
513
579
  gfvNotApplicable: true,
514
- gfv: { plan60: 0, plan36: 0, plan24: 0 },
580
+ gfv: {
581
+ plan60: 0,
582
+ plan36: 0,
583
+ plan24: 0
584
+ },
515
585
  fluxPrice: {
516
586
  add: null,
517
587
  coefficient: 10,
518
588
  excessMileage: 1.4,
519
589
  originalExcessMileage: 1.8,
520
590
  matrix: {
521
- plan60: { lite: 2640, standard: 2970, plus: 3300, unlimited: 4140 },
522
- plan36: { lite: 3300, standard: 3630, plus: 3960, unlimited: 4800 },
523
- plan24: { lite: 3630, standard: 3960, plus: 4290, unlimited: 5130 },
524
- plan12: { lite: 3960, standard: 4290, plus: 4620, unlimited: 5460 },
525
- plan1: { lite: 7599, standard: 7599, plus: 7599, unlimited: 7599 },
526
- planWeekly: { lite: 200, standard: 530, plus: 860, unlimited: 1700 },
591
+ plan60: {
592
+ lite: 2640,
593
+ standard: 2970,
594
+ plus: 3300,
595
+ unlimited: 4140
596
+ },
597
+ plan36: {
598
+ lite: 3300,
599
+ standard: 3630,
600
+ plus: 3960,
601
+ unlimited: 4800
602
+ },
603
+ plan24: {
604
+ lite: 3630,
605
+ standard: 3960,
606
+ plus: 4290,
607
+ unlimited: 5130
608
+ },
609
+ plan12: {
610
+ lite: 3960,
611
+ standard: 4290,
612
+ plus: 4620,
613
+ unlimited: 5460
614
+ },
615
+ plan1: {
616
+ lite: 7599,
617
+ standard: 7599,
618
+ plus: 7599,
619
+ unlimited: 7599
620
+ },
621
+ planWeekly: {
622
+ lite: 200,
623
+ standard: 530,
624
+ plus: 860,
625
+ unlimited: 1700
626
+ }
527
627
  },
528
628
  originalMatrix: {
529
- plan60: { lite: 2640, standard: 2970, plus: 3300, unlimited: 4140 },
530
- plan36: { lite: 3300, standard: 3630, plus: 3960, unlimited: 4800 },
531
- plan24: { lite: 3630, standard: 3960, plus: 4290, unlimited: 5130 },
532
- plan12: { lite: 3960, standard: 4290, plus: 4620, unlimited: 5460 },
533
- plan1: { lite: 7599, standard: 7599, plus: 7599, unlimited: 7599 },
534
- planWeekly: { lite: 200, standard: 530, plus: 860, unlimited: 1700 },
629
+ plan60: {
630
+ lite: 2640,
631
+ standard: 2970,
632
+ plus: 3300,
633
+ unlimited: 4140
634
+ },
635
+ plan36: {
636
+ lite: 3300,
637
+ standard: 3630,
638
+ plus: 3960,
639
+ unlimited: 4800
640
+ },
641
+ plan24: {
642
+ lite: 3630,
643
+ standard: 3960,
644
+ plus: 4290,
645
+ unlimited: 5130
646
+ },
647
+ plan12: {
648
+ lite: 3960,
649
+ standard: 4290,
650
+ plus: 4620,
651
+ unlimited: 5460
652
+ },
653
+ plan1: {
654
+ lite: 7599,
655
+ standard: 7599,
656
+ plus: 7599,
657
+ unlimited: 7599
658
+ },
659
+ planWeekly: {
660
+ lite: 200,
661
+ standard: 530,
662
+ plus: 860,
663
+ unlimited: 1700
664
+ }
535
665
  },
536
- matrixComments: null,
666
+ matrixComments: null
537
667
  },
538
668
  hostTake: {
539
669
  excessMileage: 1.1,
540
670
  originalExcessMileage: 1.44,
541
671
  matrix: {
542
- plan60: { lite: 3000, standard: 3150, plus: 3150, unlimited: 4250 },
543
- plan36: { lite: 3000, standard: 3300, plus: 3600, unlimited: 4350 },
544
- plan24: { lite: 3300, standard: 3600, plus: 3900, unlimited: 4650 },
545
- plan12: { lite: 3600, standard: 3900, plus: 4200, unlimited: 4950 },
546
- plan1: { lite: 6500, standard: 6500, plus: 6500, unlimited: 6500 },
547
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
672
+ plan60: {
673
+ lite: 3000,
674
+ standard: 3150,
675
+ plus: 3150,
676
+ unlimited: 4250
677
+ },
678
+ plan36: {
679
+ lite: 3000,
680
+ standard: 3300,
681
+ plus: 3600,
682
+ unlimited: 4350
683
+ },
684
+ plan24: {
685
+ lite: 3300,
686
+ standard: 3600,
687
+ plus: 3900,
688
+ unlimited: 4650
689
+ },
690
+ plan12: {
691
+ lite: 3600,
692
+ standard: 3900,
693
+ plus: 4200,
694
+ unlimited: 4950
695
+ },
696
+ plan1: {
697
+ lite: 6500,
698
+ standard: 6500,
699
+ plus: 6500,
700
+ unlimited: 6500
701
+ },
702
+ planWeekly: {
703
+ lite: 0,
704
+ standard: 0,
705
+ plus: 0,
706
+ unlimited: 0
707
+ }
548
708
  },
549
709
  originalMatrix: {
550
- plan60: { lite: 2400, standard: 2700, plus: 3000, unlimited: 3750 },
551
- plan36: { lite: 3000, standard: 3300, plus: 3600, unlimited: 4350 },
552
- plan24: { lite: 3300, standard: 3600, plus: 3900, unlimited: 4650 },
553
- plan12: { lite: 3600, standard: 3900, plus: 4200, unlimited: 4950 },
554
- plan1: { lite: 6500, standard: 6500, plus: 6500, unlimited: 6500 },
555
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
710
+ plan60: {
711
+ lite: 2400,
712
+ standard: 2700,
713
+ plus: 3000,
714
+ unlimited: 3750
715
+ },
716
+ plan36: {
717
+ lite: 3000,
718
+ standard: 3300,
719
+ plus: 3600,
720
+ unlimited: 4350
721
+ },
722
+ plan24: {
723
+ lite: 3300,
724
+ standard: 3600,
725
+ plus: 3900,
726
+ unlimited: 4650
727
+ },
728
+ plan12: {
729
+ lite: 3600,
730
+ standard: 3900,
731
+ plus: 4200,
732
+ unlimited: 4950
733
+ },
734
+ plan1: {
735
+ lite: 6500,
736
+ standard: 6500,
737
+ plus: 6500,
738
+ unlimited: 6500
739
+ },
740
+ planWeekly: {
741
+ lite: 0,
742
+ standard: 0,
743
+ plus: 0,
744
+ unlimited: 0
745
+ }
556
746
  },
557
- matrixComments: null,
747
+ matrixComments: null
558
748
  },
559
749
  startFee: {
560
750
  matrix: {
561
- plan60: { lite: 1800, standard: 2040, plus: 2250, unlimited: 2820 },
562
- plan36: { lite: 2250, standard: 2490, plus: 2700, unlimited: 3270 },
563
- plan24: { lite: 2490, standard: 2700, plus: 2940, unlimited: 3510 },
564
- plan12: { lite: 2700, standard: 2940, plus: 3150, unlimited: 3720 },
565
- plan1: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
566
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
751
+ plan60: {
752
+ lite: 1800,
753
+ standard: 2040,
754
+ plus: 2250,
755
+ unlimited: 2820
756
+ },
757
+ plan36: {
758
+ lite: 2250,
759
+ standard: 2490,
760
+ plus: 2700,
761
+ unlimited: 3270
762
+ },
763
+ plan24: {
764
+ lite: 2490,
765
+ standard: 2700,
766
+ plus: 2940,
767
+ unlimited: 3510
768
+ },
769
+ plan12: {
770
+ lite: 2700,
771
+ standard: 2940,
772
+ plus: 3150,
773
+ unlimited: 3720
774
+ },
775
+ plan1: {
776
+ lite: 0,
777
+ standard: 0,
778
+ plus: 0,
779
+ unlimited: 0
780
+ },
781
+ planWeekly: {
782
+ lite: 0,
783
+ standard: 0,
784
+ plus: 0,
785
+ unlimited: 0
786
+ }
567
787
  },
568
788
  originalMatrix: {
569
- plan60: { lite: 1800, standard: 2040, plus: 2250, unlimited: 2820 },
570
- plan36: { lite: 2250, standard: 2490, plus: 2700, unlimited: 3270 },
571
- plan24: { lite: 2490, standard: 2700, plus: 2940, unlimited: 3510 },
572
- plan12: { lite: 2700, standard: 2940, plus: 3150, unlimited: 3720 },
573
- plan1: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
574
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
789
+ plan60: {
790
+ lite: 1800,
791
+ standard: 2040,
792
+ plus: 2250,
793
+ unlimited: 2820
794
+ },
795
+ plan36: {
796
+ lite: 2250,
797
+ standard: 2490,
798
+ plus: 2700,
799
+ unlimited: 3270
800
+ },
801
+ plan24: {
802
+ lite: 2490,
803
+ standard: 2700,
804
+ plus: 2940,
805
+ unlimited: 3510
806
+ },
807
+ plan12: {
808
+ lite: 2700,
809
+ standard: 2940,
810
+ plus: 3150,
811
+ unlimited: 3720
812
+ },
813
+ plan1: {
814
+ lite: 0,
815
+ standard: 0,
816
+ plus: 0,
817
+ unlimited: 0
818
+ },
819
+ planWeekly: {
820
+ lite: 0,
821
+ standard: 0,
822
+ plus: 0,
823
+ unlimited: 0
824
+ }
575
825
  },
576
- matrixComments: null,
826
+ matrixComments: null
577
827
  },
578
828
  ultraTier: 'tier11',
579
- availablePlans: ['plan36', 'plan24', 'plan12'],
580
- availableMileagePackages: ['lite', 'standard', 'plus', 'unlimited'],
581
- recommendedDeposit: null,
829
+ availablePlans: [
830
+ 'plan36',
831
+ 'plan24',
832
+ 'plan12'
833
+ ],
834
+ availableMileagePackages: [
835
+ 'lite',
836
+ 'standard',
837
+ 'plus',
838
+ 'unlimited'
839
+ ],
840
+ recommendedDeposit: null
582
841
  },
583
842
  images: [
584
843
  {
@@ -591,7 +850,7 @@ export const subscription = {
591
850
  description: null,
592
851
  inspection: true,
593
852
  inspectionType: 'exterior',
594
- notActualPhoto: false,
853
+ notActualPhoto: false
595
854
  },
596
855
  {
597
856
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/ae2738e1-0475-4ea1-bf9a-9721e80d9455.jpg',
@@ -603,7 +862,7 @@ export const subscription = {
603
862
  description: null,
604
863
  inspection: false,
605
864
  inspectionType: null,
606
- notActualPhoto: false,
865
+ notActualPhoto: false
607
866
  },
608
867
  {
609
868
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/78481cf6-ccb3-4914-a878-472267db0241.jpg',
@@ -615,7 +874,7 @@ export const subscription = {
615
874
  description: null,
616
875
  inspection: false,
617
876
  inspectionType: null,
618
- notActualPhoto: false,
877
+ notActualPhoto: false
619
878
  },
620
879
  {
621
880
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/8597f00c-8714-45f3-bc5f-07b108729152.jpg',
@@ -627,7 +886,7 @@ export const subscription = {
627
886
  description: null,
628
887
  inspection: false,
629
888
  inspectionType: null,
630
- notActualPhoto: false,
889
+ notActualPhoto: false
631
890
  },
632
891
  {
633
892
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/22e6bba8-23d6-4d64-997a-37bc502aac16.jpg',
@@ -639,7 +898,7 @@ export const subscription = {
639
898
  description: null,
640
899
  inspection: false,
641
900
  inspectionType: null,
642
- notActualPhoto: false,
901
+ notActualPhoto: false
643
902
  },
644
903
  {
645
904
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7884.JPG',
@@ -651,7 +910,7 @@ export const subscription = {
651
910
  description: null,
652
911
  inspection: false,
653
912
  inspectionType: null,
654
- notActualPhoto: false,
913
+ notActualPhoto: false
655
914
  },
656
915
  {
657
916
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7882.JPG',
@@ -663,7 +922,7 @@ export const subscription = {
663
922
  description: null,
664
923
  inspection: true,
665
924
  inspectionType: 'frame',
666
- notActualPhoto: false,
925
+ notActualPhoto: false
667
926
  },
668
927
  {
669
928
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7880.JPG',
@@ -675,7 +934,7 @@ export const subscription = {
675
934
  description: null,
676
935
  inspection: false,
677
936
  inspectionType: null,
678
- notActualPhoto: false,
937
+ notActualPhoto: false
679
938
  },
680
939
  {
681
940
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7879.JPG',
@@ -687,7 +946,7 @@ export const subscription = {
687
946
  description: null,
688
947
  inspection: false,
689
948
  inspectionType: null,
690
- notActualPhoto: false,
949
+ notActualPhoto: false
691
950
  },
692
951
  {
693
952
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7878.JPG',
@@ -699,7 +958,7 @@ export const subscription = {
699
958
  description: null,
700
959
  inspection: true,
701
960
  inspectionType: 'interior',
702
- notActualPhoto: false,
961
+ notActualPhoto: false
703
962
  },
704
963
  {
705
964
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7876.JPG',
@@ -711,7 +970,7 @@ export const subscription = {
711
970
  description: null,
712
971
  inspection: false,
713
972
  inspectionType: null,
714
- notActualPhoto: false,
973
+ notActualPhoto: false
715
974
  },
716
975
  {
717
976
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7877.JPG',
@@ -723,7 +982,7 @@ export const subscription = {
723
982
  description: null,
724
983
  inspection: false,
725
984
  inspectionType: null,
726
- notActualPhoto: false,
985
+ notActualPhoto: false
727
986
  },
728
987
  {
729
988
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7873.JPG',
@@ -735,7 +994,7 @@ export const subscription = {
735
994
  description: null,
736
995
  inspection: false,
737
996
  inspectionType: null,
738
- notActualPhoto: false,
997
+ notActualPhoto: false
739
998
  },
740
999
  {
741
1000
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7871.JPG',
@@ -747,7 +1006,7 @@ export const subscription = {
747
1006
  description: null,
748
1007
  inspection: false,
749
1008
  inspectionType: null,
750
- notActualPhoto: false,
1009
+ notActualPhoto: false
751
1010
  },
752
1011
  {
753
1012
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7885.JPG',
@@ -759,8 +1018,8 @@ export const subscription = {
759
1018
  description: null,
760
1019
  inspection: true,
761
1020
  inspectionType: 'engine',
762
- notActualPhoto: false,
763
- },
1021
+ notActualPhoto: false
1022
+ }
764
1023
  ],
765
1024
  details: {
766
1025
  numberOfSeats: 6,
@@ -794,9 +1053,9 @@ export const subscription = {
794
1053
  'abs',
795
1054
  'parking-sensor',
796
1055
  'braking-assist',
797
- 'adaptive-headlights',
1056
+ 'adaptive-headlights'
798
1057
  ],
799
- condition: 'used',
1058
+ condition: 'used'
800
1059
  },
801
1060
  inspection: {
802
1061
  exterior: 5,
@@ -806,9 +1065,9 @@ export const subscription = {
806
1065
  dashboard: null,
807
1066
  date: new Date('2023-09-18T16:00:00.000Z'),
808
1067
  total: 5,
809
- comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.',
1068
+ comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.'
810
1069
  },
811
- appliedCoupon: null,
1070
+ appliedCoupon: null
812
1071
  },
813
1072
  schedule: {
814
1073
  id: 'SC_6FLUKBFH',
@@ -827,8 +1086,7 @@ export const subscription = {
827
1086
  updatedAt: new Date('2024-04-30T09:39:11.564Z'),
828
1087
  metadata: {},
829
1088
  expiryNoticeSent: false,
830
- phases: [],
1089
+ phases: []
831
1090
  },
832
- subscriptionTag: 'new',
1091
+ subscriptionTag: 'new'
833
1092
  };
834
- //# sourceMappingURL=subscription.js.map