@driveflux/pdf 1.6.3 → 1.6.4

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 (33) hide show
  1. package/dist/__mocks__/subscription.d.ts.map +1 -1
  2. package/dist/__mocks__/subscription.js +122 -380
  3. package/dist/__mocks__/subscription.js.map +1 -1
  4. package/dist/components/FluxLogo.js +3 -62
  5. package/dist/components/StandardPage.js +8 -97
  6. package/dist/templates/QuotationPdf/CustomerSubscriptionSection.js +27 -145
  7. package/dist/templates/QuotationPdf/GFV.js +12 -49
  8. package/dist/templates/QuotationPdf/Header.js +5 -63
  9. package/dist/templates/QuotationPdf/Pricing.d.ts.map +1 -1
  10. package/dist/templates/QuotationPdf/Pricing.js +206 -566
  11. package/dist/templates/QuotationPdf/Pricing.js.map +1 -1
  12. package/dist/templates/QuotationPdf/QuotationPdfPage.js +3 -23
  13. package/dist/templates/QuotationPdf/SectionBoxNew.js +4 -34
  14. package/dist/templates/QuotationPdf/TermsSection.js +5 -42
  15. package/dist/templates/QuotationPdf/VehiclePhotos.js +24 -54
  16. package/dist/templates/QuotationPdf/index.js +11 -198
  17. package/dist/templates/QuotationPdf/translations.d.ts +1 -0
  18. package/dist/templates/QuotationPdf/translations.d.ts.map +1 -1
  19. package/dist/templates/QuotationPdf/translations.js +24 -38
  20. package/dist/templates/QuotationPdf/translations.js.map +1 -1
  21. package/dist/templates/SubscriptionAgreement/Confirmation.js +11 -66
  22. package/dist/templates/SubscriptionAgreement/CoverPage.js +10 -77
  23. package/dist/templates/SubscriptionAgreement/CoverPageSection.js +5 -16
  24. package/dist/templates/SubscriptionAgreement/Details.js +43 -69
  25. package/dist/templates/SubscriptionAgreement/Footer.js +6 -48
  26. package/dist/templates/SubscriptionAgreement/Header.js +5 -35
  27. package/dist/templates/SubscriptionAgreement/LabelValue.js +3 -25
  28. package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.js +3 -26
  29. package/dist/templates/SubscriptionAgreement/TermsOfUse.js +3 -52
  30. package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.js +9 -97
  31. package/dist/templates/SubscriptionAgreement/index.js +15 -249
  32. package/dist/utils.js +16 -166
  33. package/package.json +1 -1
@@ -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: {
@@ -576,267 +510,74 @@ export var subscription = {
576
510
  tmv: 160000,
577
511
  bought: false,
578
512
  gfvNotApplicable: true,
579
- gfv: {
580
- plan60: 0,
581
- plan36: 0,
582
- plan24: 0
583
- },
513
+ gfv: { plan60: 0, plan36: 0, plan24: 0 },
584
514
  fluxPrice: {
585
515
  add: null,
586
516
  coefficient: 10,
587
517
  excessMileage: 1.4,
588
518
  originalExcessMileage: 1.8,
589
519
  matrix: {
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
- }
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 },
626
526
  },
627
527
  originalMatrix: {
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
- }
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 },
664
534
  },
665
- matrixComments: null
535
+ matrixComments: null,
666
536
  },
667
537
  hostTake: {
668
538
  excessMileage: 1.1,
669
539
  originalExcessMileage: 1.44,
670
540
  matrix: {
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
- }
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 },
707
547
  },
708
548
  originalMatrix: {
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
- }
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 },
745
555
  },
746
- matrixComments: null
556
+ matrixComments: null,
747
557
  },
748
558
  startFee: {
749
559
  matrix: {
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
- }
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 },
786
566
  },
787
567
  originalMatrix: {
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
- }
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 },
824
574
  },
825
- matrixComments: null
575
+ matrixComments: null,
826
576
  },
827
577
  ultraTier: 'tier11',
828
- availablePlans: [
829
- 'plan36',
830
- 'plan24',
831
- 'plan12'
832
- ],
833
- availableMileagePackages: [
834
- 'lite',
835
- 'standard',
836
- 'plus',
837
- 'unlimited'
838
- ],
839
- recommendedDeposit: null
578
+ availablePlans: ['plan36', 'plan24', 'plan12'],
579
+ availableMileagePackages: ['lite', 'standard', 'plus', 'unlimited'],
580
+ recommendedDeposit: null,
840
581
  },
841
582
  images: [
842
583
  {
@@ -849,7 +590,7 @@ export var subscription = {
849
590
  description: null,
850
591
  inspection: true,
851
592
  inspectionType: 'exterior',
852
- notActualPhoto: false
593
+ notActualPhoto: false,
853
594
  },
854
595
  {
855
596
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/ae2738e1-0475-4ea1-bf9a-9721e80d9455.jpg',
@@ -861,7 +602,7 @@ export var subscription = {
861
602
  description: null,
862
603
  inspection: false,
863
604
  inspectionType: null,
864
- notActualPhoto: false
605
+ notActualPhoto: false,
865
606
  },
866
607
  {
867
608
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/78481cf6-ccb3-4914-a878-472267db0241.jpg',
@@ -873,7 +614,7 @@ export var subscription = {
873
614
  description: null,
874
615
  inspection: false,
875
616
  inspectionType: null,
876
- notActualPhoto: false
617
+ notActualPhoto: false,
877
618
  },
878
619
  {
879
620
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/8597f00c-8714-45f3-bc5f-07b108729152.jpg',
@@ -885,7 +626,7 @@ export var subscription = {
885
626
  description: null,
886
627
  inspection: false,
887
628
  inspectionType: null,
888
- notActualPhoto: false
629
+ notActualPhoto: false,
889
630
  },
890
631
  {
891
632
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/22e6bba8-23d6-4d64-997a-37bc502aac16.jpg',
@@ -897,7 +638,7 @@ export var subscription = {
897
638
  description: null,
898
639
  inspection: false,
899
640
  inspectionType: null,
900
- notActualPhoto: false
641
+ notActualPhoto: false,
901
642
  },
902
643
  {
903
644
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7884.JPG',
@@ -909,7 +650,7 @@ export var subscription = {
909
650
  description: null,
910
651
  inspection: false,
911
652
  inspectionType: null,
912
- notActualPhoto: false
653
+ notActualPhoto: false,
913
654
  },
914
655
  {
915
656
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7882.JPG',
@@ -921,7 +662,7 @@ export var subscription = {
921
662
  description: null,
922
663
  inspection: true,
923
664
  inspectionType: 'frame',
924
- notActualPhoto: false
665
+ notActualPhoto: false,
925
666
  },
926
667
  {
927
668
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7880.JPG',
@@ -933,7 +674,7 @@ export var subscription = {
933
674
  description: null,
934
675
  inspection: false,
935
676
  inspectionType: null,
936
- notActualPhoto: false
677
+ notActualPhoto: false,
937
678
  },
938
679
  {
939
680
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7879.JPG',
@@ -945,7 +686,7 @@ export var subscription = {
945
686
  description: null,
946
687
  inspection: false,
947
688
  inspectionType: null,
948
- notActualPhoto: false
689
+ notActualPhoto: false,
949
690
  },
950
691
  {
951
692
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7878.JPG',
@@ -957,7 +698,7 @@ export var subscription = {
957
698
  description: null,
958
699
  inspection: true,
959
700
  inspectionType: 'interior',
960
- notActualPhoto: false
701
+ notActualPhoto: false,
961
702
  },
962
703
  {
963
704
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7876.JPG',
@@ -969,7 +710,7 @@ export var subscription = {
969
710
  description: null,
970
711
  inspection: false,
971
712
  inspectionType: null,
972
- notActualPhoto: false
713
+ notActualPhoto: false,
973
714
  },
974
715
  {
975
716
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7877.JPG',
@@ -981,7 +722,7 @@ export var subscription = {
981
722
  description: null,
982
723
  inspection: false,
983
724
  inspectionType: null,
984
- notActualPhoto: false
725
+ notActualPhoto: false,
985
726
  },
986
727
  {
987
728
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7873.JPG',
@@ -993,7 +734,7 @@ export var subscription = {
993
734
  description: null,
994
735
  inspection: false,
995
736
  inspectionType: null,
996
- notActualPhoto: false
737
+ notActualPhoto: false,
997
738
  },
998
739
  {
999
740
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7871.JPG',
@@ -1005,7 +746,7 @@ export var subscription = {
1005
746
  description: null,
1006
747
  inspection: false,
1007
748
  inspectionType: null,
1008
- notActualPhoto: false
749
+ notActualPhoto: false,
1009
750
  },
1010
751
  {
1011
752
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7885.JPG',
@@ -1017,8 +758,8 @@ export var subscription = {
1017
758
  description: null,
1018
759
  inspection: true,
1019
760
  inspectionType: 'engine',
1020
- notActualPhoto: false
1021
- }
761
+ notActualPhoto: false,
762
+ },
1022
763
  ],
1023
764
  details: {
1024
765
  numberOfSeats: 6,
@@ -1052,9 +793,9 @@ export var subscription = {
1052
793
  'abs',
1053
794
  'parking-sensor',
1054
795
  'braking-assist',
1055
- 'adaptive-headlights'
796
+ 'adaptive-headlights',
1056
797
  ],
1057
- condition: 'used'
798
+ condition: 'used',
1058
799
  },
1059
800
  inspection: {
1060
801
  exterior: 5,
@@ -1064,9 +805,9 @@ export var subscription = {
1064
805
  dashboard: null,
1065
806
  date: new Date('2023-09-18T16:00:00.000Z'),
1066
807
  total: 5,
1067
- comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.'
808
+ comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.',
1068
809
  },
1069
- appliedCoupon: null
810
+ appliedCoupon: null,
1070
811
  },
1071
812
  schedule: {
1072
813
  id: 'SC_6FLUKBFH',
@@ -1085,7 +826,8 @@ export var subscription = {
1085
826
  updatedAt: new Date('2024-04-30T09:39:11.564Z'),
1086
827
  metadata: {},
1087
828
  expiryNoticeSent: false,
1088
- phases: []
829
+ phases: [],
1089
830
  },
1090
- subscriptionTag: 'new'
831
+ subscriptionTag: 'new',
1091
832
  };
833
+ //# sourceMappingURL=subscription.js.map