@driveflux/pdf 1.6.51 → 1.6.53

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