@driveflux/pdf 1.6.4 → 1.6.5

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