@driveflux/pdf 4.0.27 → 4.0.28

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 (39) hide show
  1. package/dist/__mocks__/quotation.js +10 -11
  2. package/dist/__mocks__/subscription.js +379 -121
  3. package/dist/__mocks__/tou.js +9 -10
  4. package/dist/components/FluxLogo.js +62 -3
  5. package/dist/components/StandardPage.js +99 -10
  6. package/dist/debug.js +205 -26
  7. package/dist/index.js +0 -1
  8. package/dist/templates/QuotationPdf/CustomerSubscriptionSection.js +145 -27
  9. package/dist/templates/QuotationPdf/GFV.js +49 -12
  10. package/dist/templates/QuotationPdf/Header.js +63 -5
  11. package/dist/templates/QuotationPdf/Pricing.js +573 -201
  12. package/dist/templates/QuotationPdf/QuotationPdfPage.js +23 -3
  13. package/dist/templates/QuotationPdf/SectionBoxNew.js +34 -4
  14. package/dist/templates/QuotationPdf/TermsSection.js +42 -5
  15. package/dist/templates/QuotationPdf/VehiclePhotos.js +54 -24
  16. package/dist/templates/QuotationPdf/index.js +189 -10
  17. package/dist/templates/QuotationPdf/translations.js +34 -22
  18. package/dist/templates/QuotationPdf/utils.js +58 -29
  19. package/dist/templates/SubscriptionAgreement/Confirmation.js +65 -10
  20. package/dist/templates/SubscriptionAgreement/CoverPage.js +93 -10
  21. package/dist/templates/SubscriptionAgreement/CoverPageSection.js +16 -5
  22. package/dist/templates/SubscriptionAgreement/Details.js +129 -51
  23. package/dist/templates/SubscriptionAgreement/Footer.js +48 -6
  24. package/dist/templates/SubscriptionAgreement/Header.js +35 -5
  25. package/dist/templates/SubscriptionAgreement/LabelValue.js +25 -3
  26. package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.js +26 -3
  27. package/dist/templates/SubscriptionAgreement/TermsOfUse.js +94 -8
  28. package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.js +97 -11
  29. package/dist/templates/SubscriptionAgreement/index.js +245 -15
  30. package/dist/templates/SubscriptionAgreement/translations.js +195 -194
  31. package/dist/templates/SubscriptionAgreement/types.js +1 -2
  32. package/dist/templates/SubscriptionAgreement/utils.js +16 -11
  33. package/dist/templates/index.js +0 -1
  34. package/dist/theme/colors.js +44 -63
  35. package/dist/theme/index.js +0 -1
  36. package/dist/types.js +1 -2
  37. package/dist/utils.js +159 -16
  38. package/dist/watch.js +3 -4
  39. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { generateId } from '@driveflux/db/id';
2
- export const subscription = {
2
+ export var subscription = {
3
3
  customerId: 'U2DCCUKVW',
4
4
  invoicing: {
5
5
  payerId: 'U2DCCUKVW',
@@ -13,8 +13,8 @@ export const subscription = {
13
13
  state: 'Dubai',
14
14
  country: 'AE',
15
15
  postalCode: '00000',
16
- metadata: {},
17
- },
16
+ metadata: {}
17
+ }
18
18
  },
19
19
  scheduledEndAt: new Date('2024-05-25T16:00:00.000Z'),
20
20
  scheduledStartAt: new Date('2024-04-25T16:00:00.000Z'),
@@ -38,8 +38,8 @@ export const subscription = {
38
38
  expYear: 2028,
39
39
  funding: 'debit',
40
40
  country: 'AE',
41
- cardholderName: 'Zishan Kalim',
42
- },
41
+ cardholderName: 'Zishan Kalim'
42
+ }
43
43
  },
44
44
  onTheRoad: null,
45
45
  fees: {
@@ -55,7 +55,7 @@ export const subscription = {
55
55
  startFee: 2700,
56
56
  noStartFeeReason: null,
57
57
  notes: null,
58
- hostPrepaymentRatio: 0,
58
+ hostPrepaymentRatio: 0
59
59
  },
60
60
  unaccountedMileage: null,
61
61
  signature: null,
@@ -77,14 +77,20 @@ export const subscription = {
77
77
  chargingMethod: 'automatic',
78
78
  currentInvoiceId: 'IQVTSHDC9',
79
79
  currentCycleId: 'CY-S5Y9TWWSK-BR2WRKTU',
80
- discountIds: ['discount_5bOaD3WHUAPKuYd1PblpH'],
80
+ discountIds: [
81
+ 'discount_5bOaD3WHUAPKuYd1PblpH'
82
+ ],
81
83
  status: 'active',
82
84
  error: null,
83
85
  agreedTermsOfUsePdf: null,
84
86
  createdAt: new Date('2024-03-12T04:38:31.275Z'),
85
87
  updatedAt: new Date('2024-05-16T03:13:57.487Z'),
86
88
  metadata: {},
87
- invoiceIds: ['IJJ3GHPCS', 'I9CC6JYET', 'IQVTSHDC9'],
89
+ invoiceIds: [
90
+ 'IJJ3GHPCS',
91
+ 'I9CC6JYET',
92
+ 'IQVTSHDC9'
93
+ ],
88
94
  excludeMileage: false,
89
95
  vehicleId: 'VM98GEJKS',
90
96
  vehicleType: 'car',
@@ -118,10 +124,14 @@ export const subscription = {
118
124
  nextHostPayoutId: 'XZB4HLGEP',
119
125
  payoutIds: [],
120
126
  prepared: true,
121
- depositInvoiceIds: ['IQVTSHDC9'],
127
+ depositInvoiceIds: [
128
+ 'IQVTSHDC9'
129
+ ],
122
130
  totalDepositPaid: null,
123
131
  totalDepositRefunded: null,
124
- startFeeInvoiceIds: ['I9CC6JYET'],
132
+ startFeeInvoiceIds: [
133
+ 'I9CC6JYET'
134
+ ],
125
135
  totalStartFeePaid: null,
126
136
  startingMileage: 56,
127
137
  preparationInvoiceId: 'I9CC6JYET',
@@ -154,9 +164,11 @@ export const subscription = {
154
164
  department: null,
155
165
  signupParams: {
156
166
  method: 'email',
157
- source: null,
167
+ source: null
158
168
  },
159
- groups: ['member'],
169
+ groups: [
170
+ 'member'
171
+ ],
160
172
  maritalStatus: null,
161
173
  gender: null,
162
174
  emergencyContactName: null,
@@ -175,21 +187,47 @@ export const subscription = {
175
187
  'utilization.pricePerKm',
176
188
  'utilization.paid',
177
189
  'utilization.allowedMileage',
178
- 'utilization.mileage',
190
+ 'utilization.mileage'
179
191
  ],
180
- conditions: { subscription: { userId: 'U2DCCUKVW' } },
192
+ conditions: {
193
+ subscription: {
194
+ userId: 'U2DCCUKVW'
195
+ }
196
+ }
197
+ },
198
+ {
199
+ action: 'read',
200
+ subject: 'Vehicle',
201
+ conditions: {
202
+ status: 'listed'
203
+ }
204
+ },
205
+ {
206
+ action: 'create',
207
+ subject: 'Business'
181
208
  },
182
- { action: 'read', subject: 'Vehicle', conditions: { status: 'listed' } },
183
- { action: 'create', subject: 'Business' },
184
209
  {
185
210
  action: 'read',
186
211
  subject: 'Subscription',
187
- conditions: { userId: 'U2DCCUKVW' },
212
+ conditions: {
213
+ userId: 'U2DCCUKVW'
214
+ }
188
215
  },
189
- { action: 'read', subject: 'Coupon' },
190
- { action: 'manageAdmin', inverted: true, subject: 'User' },
191
216
  {
192
- action: ['create', 'update', 'delete'],
217
+ action: 'read',
218
+ subject: 'Coupon'
219
+ },
220
+ {
221
+ action: 'manageAdmin',
222
+ inverted: true,
223
+ subject: 'User'
224
+ },
225
+ {
226
+ action: [
227
+ 'create',
228
+ 'update',
229
+ 'delete'
230
+ ],
193
231
  inverted: true,
194
232
  subject: 'User',
195
233
  conditions: {
@@ -215,29 +253,54 @@ export const subscription = {
215
253
  'designer',
216
254
  'engineer',
217
255
  'productManager',
218
- 'ceo',
219
- ],
220
- },
256
+ 'ceo'
257
+ ]
258
+ }
221
259
  },
222
- reason: 'You are not allowed to update admin users',
260
+ reason: 'You are not allowed to update admin users'
223
261
  },
224
- { action: 'update', subject: 'User', conditions: { id: 'U2DCCUKVW' } },
225
262
  {
226
- action: ['read', 'update'],
263
+ action: 'update',
227
264
  subject: 'User',
228
- conditions: { id: 'U2DCCUKVW' },
265
+ conditions: {
266
+ id: 'U2DCCUKVW'
267
+ }
229
268
  },
230
269
  {
231
- action: ['read'],
270
+ action: [
271
+ 'read',
272
+ 'update'
273
+ ],
274
+ subject: 'User',
275
+ conditions: {
276
+ id: 'U2DCCUKVW'
277
+ }
278
+ },
279
+ {
280
+ action: [
281
+ 'read'
282
+ ],
232
283
  subject: 'Invoice',
233
- conditions: { payerId: 'U2DCCUKVW' },
284
+ conditions: {
285
+ payerId: 'U2DCCUKVW'
286
+ }
234
287
  },
235
288
  {
236
289
  action: 'reserveVehicle',
237
290
  subject: 'User',
238
- conditions: { banned: false, consented: true },
291
+ conditions: {
292
+ banned: false,
293
+ consented: true
294
+ }
239
295
  },
240
- { action: 'update', inverted: true, subject: 'User', fields: ['groups'] },
296
+ {
297
+ action: 'update',
298
+ inverted: true,
299
+ subject: 'User',
300
+ fields: [
301
+ 'groups'
302
+ ]
303
+ }
241
304
  ],
242
305
  banned: false,
243
306
  banReason: null,
@@ -265,7 +328,7 @@ export const subscription = {
265
328
  entryDate: null,
266
329
  visaExpiry: null,
267
330
  visaValidityMonths: null,
268
- verified: false,
331
+ verified: false
269
332
  },
270
333
  documents: {
271
334
  passport: {
@@ -277,7 +340,7 @@ export const subscription = {
277
340
  uploaded: true,
278
341
  createdAt: new Date('2024-03-12T04:18:36.116Z'),
279
342
  updatedAt: null,
280
- metadata: null,
343
+ metadata: null
281
344
  },
282
345
  visa: {
283
346
  name: 'Visa',
@@ -288,7 +351,7 @@ export const subscription = {
288
351
  uploaded: true,
289
352
  createdAt: new Date('2024-03-12T04:18:36.116Z'),
290
353
  updatedAt: null,
291
- metadata: null,
354
+ metadata: null
292
355
  },
293
356
  idFront: null,
294
357
  idBack: null,
@@ -301,7 +364,7 @@ export const subscription = {
301
364
  uploaded: true,
302
365
  createdAt: new Date('2024-03-12T04:22:11.640Z'),
303
366
  updatedAt: null,
304
- metadata: null,
367
+ metadata: null
305
368
  },
306
369
  experianReport: null,
307
370
  pdrm: null,
@@ -316,7 +379,7 @@ export const subscription = {
316
379
  uploaded: true,
317
380
  createdAt: new Date('2024-03-12T04:29:23.025Z'),
318
381
  updatedAt: null,
319
- metadata: null,
382
+ metadata: null
320
383
  },
321
384
  bankStatement2: {
322
385
  name: 'Bank Statement 2',
@@ -327,7 +390,7 @@ export const subscription = {
327
390
  uploaded: true,
328
391
  createdAt: new Date('2024-03-12T04:29:23.025Z'),
329
392
  updatedAt: null,
330
- metadata: null,
393
+ metadata: null
331
394
  },
332
395
  bankStatement3: {
333
396
  name: 'Bank Statement 3',
@@ -338,7 +401,7 @@ export const subscription = {
338
401
  uploaded: true,
339
402
  createdAt: new Date('2024-03-12T04:29:23.025Z'),
340
403
  updatedAt: null,
341
- metadata: null,
404
+ metadata: null
342
405
  },
343
406
  epfStatement: null,
344
407
  offerLetter: {
@@ -350,8 +413,8 @@ export const subscription = {
350
413
  uploaded: true,
351
414
  createdAt: new Date('2024-03-12T04:32:27.837Z'),
352
415
  updatedAt: null,
353
- metadata: null,
354
- },
416
+ metadata: null
417
+ }
355
418
  },
356
419
  paymentMethods: [
357
420
  {
@@ -375,12 +438,12 @@ export const subscription = {
375
438
  expYear: 2029,
376
439
  funding: 'prepaid',
377
440
  country: 'MY',
378
- cardholderName: 'Zishan Kalim',
441
+ cardholderName: 'Zishan Kalim'
379
442
  },
380
443
  accountType: 'personal',
381
444
  status: 'active',
382
- metadata: {},
383
- },
445
+ metadata: {}
446
+ }
384
447
  ],
385
448
  addresses: {
386
449
  home: {
@@ -391,7 +454,7 @@ export const subscription = {
391
454
  state: 'Dubai',
392
455
  country: 'AE',
393
456
  postalCode: '00000',
394
- coordinates: null,
457
+ coordinates: null
395
458
  },
396
459
  billing: {
397
460
  name: null,
@@ -400,8 +463,8 @@ export const subscription = {
400
463
  city: 'Dubai',
401
464
  state: 'Dubai',
402
465
  country: 'AE',
403
- postalCode: '00000',
404
- },
466
+ postalCode: '00000'
467
+ }
405
468
  },
406
469
  verifications: null,
407
470
  emailPreferences: {
@@ -410,11 +473,11 @@ export const subscription = {
410
473
  signUpOnly: false,
411
474
  signUpPaymentAdded: false,
412
475
  activeSub: true,
413
- expiredSub: false,
476
+ expiredSub: false
414
477
  },
415
478
  companyName: 'FLUX',
416
479
  ethnicity: null,
417
- geoRegion: null,
480
+ geoRegion: null
418
481
  },
419
482
  vehicle: {
420
483
  id: 'VM98GEJKS',
@@ -453,7 +516,10 @@ export const subscription = {
453
516
  mileageTrackingOff: false,
454
517
  featureOnLandingPage: false,
455
518
  lastMileageRecordedAt: new Date('2024-04-23T08:36:08.893Z'),
456
- locationAvailability: ['Kuala Lumpur', 'Johor'],
519
+ locationAvailability: [
520
+ 'Kuala Lumpur',
521
+ 'Johor'
522
+ ],
457
523
  temporary: true,
458
524
  hotDeal: null,
459
525
  activeSubscriptionId: 'S5Y9TWWSK',
@@ -471,7 +537,7 @@ export const subscription = {
471
537
  state: 'Kuala Lumpur',
472
538
  country: 'MY',
473
539
  postalCode: '50480',
474
- coordinates: null,
540
+ coordinates: null
475
541
  },
476
542
  pickup: {
477
543
  name: 'Main',
@@ -481,8 +547,8 @@ export const subscription = {
481
547
  state: 'Kuala Lumpur',
482
548
  country: 'MY',
483
549
  postalCode: '50480',
484
- coordinates: null,
485
- },
550
+ coordinates: null
551
+ }
486
552
  },
487
553
  documents: null,
488
554
  pricing: {
@@ -491,74 +557,267 @@ export const subscription = {
491
557
  tmv: 160000,
492
558
  bought: false,
493
559
  gfvNotApplicable: true,
494
- gfv: { plan60: 0, plan36: 0, plan24: 0 },
560
+ gfv: {
561
+ plan60: 0,
562
+ plan36: 0,
563
+ plan24: 0
564
+ },
495
565
  fluxPrice: {
496
566
  add: null,
497
567
  coefficient: 10,
498
568
  excessMileage: 1.4,
499
569
  originalExcessMileage: 1.8,
500
570
  matrix: {
501
- plan60: { lite: 2640, standard: 2970, plus: 3300, unlimited: 4140 },
502
- plan36: { lite: 3300, standard: 3630, plus: 3960, unlimited: 4800 },
503
- plan24: { lite: 3630, standard: 3960, plus: 4290, unlimited: 5130 },
504
- plan12: { lite: 3960, standard: 4290, plus: 4620, unlimited: 5460 },
505
- plan1: { lite: 7599, standard: 7599, plus: 7599, unlimited: 7599 },
506
- planWeekly: { lite: 200, standard: 530, plus: 860, unlimited: 1700 },
571
+ plan60: {
572
+ lite: 2640,
573
+ standard: 2970,
574
+ plus: 3300,
575
+ unlimited: 4140
576
+ },
577
+ plan36: {
578
+ lite: 3300,
579
+ standard: 3630,
580
+ plus: 3960,
581
+ unlimited: 4800
582
+ },
583
+ plan24: {
584
+ lite: 3630,
585
+ standard: 3960,
586
+ plus: 4290,
587
+ unlimited: 5130
588
+ },
589
+ plan12: {
590
+ lite: 3960,
591
+ standard: 4290,
592
+ plus: 4620,
593
+ unlimited: 5460
594
+ },
595
+ plan1: {
596
+ lite: 7599,
597
+ standard: 7599,
598
+ plus: 7599,
599
+ unlimited: 7599
600
+ },
601
+ planWeekly: {
602
+ lite: 200,
603
+ standard: 530,
604
+ plus: 860,
605
+ unlimited: 1700
606
+ }
507
607
  },
508
608
  originalMatrix: {
509
- plan60: { lite: 2640, standard: 2970, plus: 3300, unlimited: 4140 },
510
- plan36: { lite: 3300, standard: 3630, plus: 3960, unlimited: 4800 },
511
- plan24: { lite: 3630, standard: 3960, plus: 4290, unlimited: 5130 },
512
- plan12: { lite: 3960, standard: 4290, plus: 4620, unlimited: 5460 },
513
- plan1: { lite: 7599, standard: 7599, plus: 7599, unlimited: 7599 },
514
- planWeekly: { lite: 200, standard: 530, plus: 860, unlimited: 1700 },
609
+ plan60: {
610
+ lite: 2640,
611
+ standard: 2970,
612
+ plus: 3300,
613
+ unlimited: 4140
614
+ },
615
+ plan36: {
616
+ lite: 3300,
617
+ standard: 3630,
618
+ plus: 3960,
619
+ unlimited: 4800
620
+ },
621
+ plan24: {
622
+ lite: 3630,
623
+ standard: 3960,
624
+ plus: 4290,
625
+ unlimited: 5130
626
+ },
627
+ plan12: {
628
+ lite: 3960,
629
+ standard: 4290,
630
+ plus: 4620,
631
+ unlimited: 5460
632
+ },
633
+ plan1: {
634
+ lite: 7599,
635
+ standard: 7599,
636
+ plus: 7599,
637
+ unlimited: 7599
638
+ },
639
+ planWeekly: {
640
+ lite: 200,
641
+ standard: 530,
642
+ plus: 860,
643
+ unlimited: 1700
644
+ }
515
645
  },
516
- matrixComments: null,
646
+ matrixComments: null
517
647
  },
518
648
  hostTake: {
519
649
  excessMileage: 1.1,
520
650
  originalExcessMileage: 1.44,
521
651
  matrix: {
522
- plan60: { lite: 3000, standard: 3150, plus: 3150, unlimited: 4250 },
523
- plan36: { lite: 3000, standard: 3300, plus: 3600, unlimited: 4350 },
524
- plan24: { lite: 3300, standard: 3600, plus: 3900, unlimited: 4650 },
525
- plan12: { lite: 3600, standard: 3900, plus: 4200, unlimited: 4950 },
526
- plan1: { lite: 6500, standard: 6500, plus: 6500, unlimited: 6500 },
527
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
652
+ plan60: {
653
+ lite: 3000,
654
+ standard: 3150,
655
+ plus: 3150,
656
+ unlimited: 4250
657
+ },
658
+ plan36: {
659
+ lite: 3000,
660
+ standard: 3300,
661
+ plus: 3600,
662
+ unlimited: 4350
663
+ },
664
+ plan24: {
665
+ lite: 3300,
666
+ standard: 3600,
667
+ plus: 3900,
668
+ unlimited: 4650
669
+ },
670
+ plan12: {
671
+ lite: 3600,
672
+ standard: 3900,
673
+ plus: 4200,
674
+ unlimited: 4950
675
+ },
676
+ plan1: {
677
+ lite: 6500,
678
+ standard: 6500,
679
+ plus: 6500,
680
+ unlimited: 6500
681
+ },
682
+ planWeekly: {
683
+ lite: 0,
684
+ standard: 0,
685
+ plus: 0,
686
+ unlimited: 0
687
+ }
528
688
  },
529
689
  originalMatrix: {
530
- plan60: { lite: 2400, standard: 2700, plus: 3000, unlimited: 3750 },
531
- plan36: { lite: 3000, standard: 3300, plus: 3600, unlimited: 4350 },
532
- plan24: { lite: 3300, standard: 3600, plus: 3900, unlimited: 4650 },
533
- plan12: { lite: 3600, standard: 3900, plus: 4200, unlimited: 4950 },
534
- plan1: { lite: 6500, standard: 6500, plus: 6500, unlimited: 6500 },
535
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
690
+ plan60: {
691
+ lite: 2400,
692
+ standard: 2700,
693
+ plus: 3000,
694
+ unlimited: 3750
695
+ },
696
+ plan36: {
697
+ lite: 3000,
698
+ standard: 3300,
699
+ plus: 3600,
700
+ unlimited: 4350
701
+ },
702
+ plan24: {
703
+ lite: 3300,
704
+ standard: 3600,
705
+ plus: 3900,
706
+ unlimited: 4650
707
+ },
708
+ plan12: {
709
+ lite: 3600,
710
+ standard: 3900,
711
+ plus: 4200,
712
+ unlimited: 4950
713
+ },
714
+ plan1: {
715
+ lite: 6500,
716
+ standard: 6500,
717
+ plus: 6500,
718
+ unlimited: 6500
719
+ },
720
+ planWeekly: {
721
+ lite: 0,
722
+ standard: 0,
723
+ plus: 0,
724
+ unlimited: 0
725
+ }
536
726
  },
537
- matrixComments: null,
727
+ matrixComments: null
538
728
  },
539
729
  startFee: {
540
730
  matrix: {
541
- plan60: { lite: 1800, standard: 2040, plus: 2250, unlimited: 2820 },
542
- plan36: { lite: 2250, standard: 2490, plus: 2700, unlimited: 3270 },
543
- plan24: { lite: 2490, standard: 2700, plus: 2940, unlimited: 3510 },
544
- plan12: { lite: 2700, standard: 2940, plus: 3150, unlimited: 3720 },
545
- plan1: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
546
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
731
+ plan60: {
732
+ lite: 1800,
733
+ standard: 2040,
734
+ plus: 2250,
735
+ unlimited: 2820
736
+ },
737
+ plan36: {
738
+ lite: 2250,
739
+ standard: 2490,
740
+ plus: 2700,
741
+ unlimited: 3270
742
+ },
743
+ plan24: {
744
+ lite: 2490,
745
+ standard: 2700,
746
+ plus: 2940,
747
+ unlimited: 3510
748
+ },
749
+ plan12: {
750
+ lite: 2700,
751
+ standard: 2940,
752
+ plus: 3150,
753
+ unlimited: 3720
754
+ },
755
+ plan1: {
756
+ lite: 0,
757
+ standard: 0,
758
+ plus: 0,
759
+ unlimited: 0
760
+ },
761
+ planWeekly: {
762
+ lite: 0,
763
+ standard: 0,
764
+ plus: 0,
765
+ unlimited: 0
766
+ }
547
767
  },
548
768
  originalMatrix: {
549
- plan60: { lite: 1800, standard: 2040, plus: 2250, unlimited: 2820 },
550
- plan36: { lite: 2250, standard: 2490, plus: 2700, unlimited: 3270 },
551
- plan24: { lite: 2490, standard: 2700, plus: 2940, unlimited: 3510 },
552
- plan12: { lite: 2700, standard: 2940, plus: 3150, unlimited: 3720 },
553
- plan1: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
554
- planWeekly: { lite: 0, standard: 0, plus: 0, unlimited: 0 },
769
+ plan60: {
770
+ lite: 1800,
771
+ standard: 2040,
772
+ plus: 2250,
773
+ unlimited: 2820
774
+ },
775
+ plan36: {
776
+ lite: 2250,
777
+ standard: 2490,
778
+ plus: 2700,
779
+ unlimited: 3270
780
+ },
781
+ plan24: {
782
+ lite: 2490,
783
+ standard: 2700,
784
+ plus: 2940,
785
+ unlimited: 3510
786
+ },
787
+ plan12: {
788
+ lite: 2700,
789
+ standard: 2940,
790
+ plus: 3150,
791
+ unlimited: 3720
792
+ },
793
+ plan1: {
794
+ lite: 0,
795
+ standard: 0,
796
+ plus: 0,
797
+ unlimited: 0
798
+ },
799
+ planWeekly: {
800
+ lite: 0,
801
+ standard: 0,
802
+ plus: 0,
803
+ unlimited: 0
804
+ }
555
805
  },
556
- matrixComments: null,
806
+ matrixComments: null
557
807
  },
558
808
  ultraTier: 'tier11',
559
- availablePlans: ['plan36', 'plan24', 'plan12'],
560
- availableMileagePackages: ['lite', 'standard', 'plus', 'unlimited'],
561
- recommendedDeposit: null,
809
+ availablePlans: [
810
+ 'plan36',
811
+ 'plan24',
812
+ 'plan12'
813
+ ],
814
+ availableMileagePackages: [
815
+ 'lite',
816
+ 'standard',
817
+ 'plus',
818
+ 'unlimited'
819
+ ],
820
+ recommendedDeposit: null
562
821
  },
563
822
  images: [
564
823
  {
@@ -571,7 +830,7 @@ export const subscription = {
571
830
  description: null,
572
831
  inspection: true,
573
832
  inspectionType: 'exterior',
574
- notActualPhoto: false,
833
+ notActualPhoto: false
575
834
  },
576
835
  {
577
836
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/ae2738e1-0475-4ea1-bf9a-9721e80d9455.jpg',
@@ -583,7 +842,7 @@ export const subscription = {
583
842
  description: null,
584
843
  inspection: false,
585
844
  inspectionType: null,
586
- notActualPhoto: false,
845
+ notActualPhoto: false
587
846
  },
588
847
  {
589
848
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/78481cf6-ccb3-4914-a878-472267db0241.jpg',
@@ -595,7 +854,7 @@ export const subscription = {
595
854
  description: null,
596
855
  inspection: false,
597
856
  inspectionType: null,
598
- notActualPhoto: false,
857
+ notActualPhoto: false
599
858
  },
600
859
  {
601
860
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/8597f00c-8714-45f3-bc5f-07b108729152.jpg',
@@ -607,7 +866,7 @@ export const subscription = {
607
866
  description: null,
608
867
  inspection: false,
609
868
  inspectionType: null,
610
- notActualPhoto: false,
869
+ notActualPhoto: false
611
870
  },
612
871
  {
613
872
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/22e6bba8-23d6-4d64-997a-37bc502aac16.jpg',
@@ -619,7 +878,7 @@ export const subscription = {
619
878
  description: null,
620
879
  inspection: false,
621
880
  inspectionType: null,
622
- notActualPhoto: false,
881
+ notActualPhoto: false
623
882
  },
624
883
  {
625
884
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7884.JPG',
@@ -631,7 +890,7 @@ export const subscription = {
631
890
  description: null,
632
891
  inspection: false,
633
892
  inspectionType: null,
634
- notActualPhoto: false,
893
+ notActualPhoto: false
635
894
  },
636
895
  {
637
896
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7882.JPG',
@@ -643,7 +902,7 @@ export const subscription = {
643
902
  description: null,
644
903
  inspection: true,
645
904
  inspectionType: 'frame',
646
- notActualPhoto: false,
905
+ notActualPhoto: false
647
906
  },
648
907
  {
649
908
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7880.JPG',
@@ -655,7 +914,7 @@ export const subscription = {
655
914
  description: null,
656
915
  inspection: false,
657
916
  inspectionType: null,
658
- notActualPhoto: false,
917
+ notActualPhoto: false
659
918
  },
660
919
  {
661
920
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7879.JPG',
@@ -667,7 +926,7 @@ export const subscription = {
667
926
  description: null,
668
927
  inspection: false,
669
928
  inspectionType: null,
670
- notActualPhoto: false,
929
+ notActualPhoto: false
671
930
  },
672
931
  {
673
932
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7878.JPG',
@@ -679,7 +938,7 @@ export const subscription = {
679
938
  description: null,
680
939
  inspection: true,
681
940
  inspectionType: 'interior',
682
- notActualPhoto: false,
941
+ notActualPhoto: false
683
942
  },
684
943
  {
685
944
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7876.JPG',
@@ -691,7 +950,7 @@ export const subscription = {
691
950
  description: null,
692
951
  inspection: false,
693
952
  inspectionType: null,
694
- notActualPhoto: false,
953
+ notActualPhoto: false
695
954
  },
696
955
  {
697
956
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7877.JPG',
@@ -703,7 +962,7 @@ export const subscription = {
703
962
  description: null,
704
963
  inspection: false,
705
964
  inspectionType: null,
706
- notActualPhoto: false,
965
+ notActualPhoto: false
707
966
  },
708
967
  {
709
968
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7873.JPG',
@@ -715,7 +974,7 @@ export const subscription = {
715
974
  description: null,
716
975
  inspection: false,
717
976
  inspectionType: null,
718
- notActualPhoto: false,
977
+ notActualPhoto: false
719
978
  },
720
979
  {
721
980
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7871.JPG',
@@ -727,7 +986,7 @@ export const subscription = {
727
986
  description: null,
728
987
  inspection: false,
729
988
  inspectionType: null,
730
- notActualPhoto: false,
989
+ notActualPhoto: false
731
990
  },
732
991
  {
733
992
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles/VDDVYB78L/images/IMG_7885.JPG',
@@ -739,8 +998,8 @@ export const subscription = {
739
998
  description: null,
740
999
  inspection: true,
741
1000
  inspectionType: 'engine',
742
- notActualPhoto: false,
743
- },
1001
+ notActualPhoto: false
1002
+ }
744
1003
  ],
745
1004
  details: {
746
1005
  numberOfSeats: 6,
@@ -774,9 +1033,9 @@ export const subscription = {
774
1033
  'abs',
775
1034
  'parking-sensor',
776
1035
  'braking-assist',
777
- 'adaptive-headlights',
1036
+ 'adaptive-headlights'
778
1037
  ],
779
- condition: 'used',
1038
+ condition: 'used'
780
1039
  },
781
1040
  inspection: {
782
1041
  exterior: 5,
@@ -786,15 +1045,15 @@ export const subscription = {
786
1045
  dashboard: null,
787
1046
  date: new Date('2023-09-18T16:00:00.000Z'),
788
1047
  total: 5,
789
- comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.',
1048
+ comment: 'All new Proton X90, prestigious, high-riding motoring for corporate and family use. Well-detailed cabin and clean exterior.'
790
1049
  },
791
1050
  appliedCoupon: null,
792
1051
  displayVehicleId: null,
793
- isHostConfirmed: null,
1052
+ isHostConfirmed: null
794
1053
  },
795
- subscriptionTag: 'new',
1054
+ subscriptionTag: 'new'
796
1055
  };
797
- export const signature = {
1056
+ export var signature = {
798
1057
  id: generateId('SubscriptionSignature'),
799
1058
  subscriptionId: subscription.id,
800
1059
  object: 'subscriptionSignature',
@@ -815,10 +1074,9 @@ export const signature = {
815
1074
  heading: 0,
816
1075
  altitude: 61.10000228881836,
817
1076
  longitude: 101.6787272,
818
- accuracy: 100,
819
- },
1077
+ accuracy: 100
1078
+ }
820
1079
  },
821
1080
  agreedToTerms: true,
822
- ipAddress: null,
1081
+ ipAddress: null
823
1082
  };
824
- //# sourceMappingURL=subscription.js.map