@driveflux/pdf 1.7.0 → 1.7.1

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