@driveflux/api-functions 1.0.86 → 1.0.87

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.
@@ -15,6 +15,8 @@ export declare const fetchDisplayVehicle: (displayVehicle: DisplayVehicle | stri
15
15
  defaultHostId: string;
16
16
  vehicleSlug: string;
17
17
  availableStock: number | null;
18
+ customTermsUrl: string | null;
19
+ customTermsText: string | null;
18
20
  saveValue: number | null;
19
21
  details: ({
20
22
  features: string[];
@@ -208,6 +210,8 @@ export declare const createVehicleFromDisplayVehicle: (displayVehicle: DisplayVe
208
210
  emergencyContactName: string | null;
209
211
  emergencyPhoneNumber: string | null;
210
212
  active: boolean;
213
+ sstNumber: string | null;
214
+ tinNumber: string | null;
211
215
  commencementDate: Date | null;
212
216
  registrationNumber: string | null;
213
217
  stripeAccountId: string | null;
@@ -272,10 +276,10 @@ export declare const createVehicleFromDisplayVehicle: (displayVehicle: DisplayVe
272
276
  metadata: PrismaJson.AnyMetadata | null;
273
277
  createdAt: Date;
274
278
  updatedAt: Date;
279
+ hostId: string;
275
280
  status: import("@driveflux/db").VehicleStatus;
276
281
  temporary: boolean;
277
282
  registrationNumber: string | null;
278
- hostId: string;
279
283
  make: string;
280
284
  vehicleModel: string;
281
285
  variant: string;
@@ -699,10 +703,10 @@ export declare const transfromVehicleDisplayToVehicle: (displayVehicle: DisplayV
699
703
  metadata: PrismaJson.AnyMetadata | null;
700
704
  createdAt: Date;
701
705
  updatedAt: Date;
706
+ hostId: string;
702
707
  status: import("@driveflux/db").VehicleStatus;
703
708
  temporary: boolean;
704
709
  registrationNumber: string | null;
705
- hostId: string;
706
710
  make: string;
707
711
  vehicleModel: string;
708
712
  variant: string;
@@ -1 +1 @@
1
- {"version":3,"file":"display-vehicle.d.ts","sourceRoot":"","sources":["../../src/reservation/display-vehicle.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,cAAc,EAEnB,KAAK,cAAc,EACnB,KAAK,QAAQ,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA0BE;QAAE,OAAO,EAAE;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE;eACrD,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,IAAI,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB3D,CAAA;AAED,eAAO,MAAM,eAAe,GAC3B,QAAQ,cAAc,CAAC,QAAQ,CAAC,KAC9B,OAAO,CAAC,QAAQ,CAWlB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/api-functions",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./notion": {
@@ -73,23 +73,23 @@
73
73
  ],
74
74
  "dependencies": {
75
75
  "@casl/ability": "^6.7.3",
76
- "@driveflux/auth": "4.0.50",
77
- "@driveflux/billing": "8.0.9",
78
- "@driveflux/config": "3.0.7",
79
- "@driveflux/coupon": "9.0.27",
80
- "@driveflux/db": "4.0.22",
81
- "@driveflux/email": "7.0.22",
82
- "@driveflux/email-templates": "1.0.25",
83
- "@driveflux/engine": "1.0.65",
76
+ "@driveflux/auth": "4.0.51",
77
+ "@driveflux/billing": "8.0.11",
78
+ "@driveflux/config": "3.0.8",
79
+ "@driveflux/coupon": "9.0.32",
80
+ "@driveflux/db": "4.0.27",
81
+ "@driveflux/email": "7.0.27",
82
+ "@driveflux/email-templates": "1.0.30",
83
+ "@driveflux/engine": "1.0.70",
84
84
  "@driveflux/fetch": "8.0.0",
85
85
  "@driveflux/format-money": "7.0.0",
86
86
  "@driveflux/logger": "1.0.1",
87
87
  "@driveflux/problem": "6.0.0",
88
88
  "@driveflux/reporter": "7.0.1",
89
89
  "@driveflux/result": "6.0.0",
90
- "@driveflux/scheduler": "8.0.27",
90
+ "@driveflux/scheduler": "8.0.32",
91
91
  "@driveflux/singleton": "3.0.0",
92
- "@driveflux/subscription": "9.0.16",
92
+ "@driveflux/subscription": "9.0.17",
93
93
  "@driveflux/time": "6.0.0",
94
94
  "@driveflux/utils": "6.0.0",
95
95
  "@notionhq/client": "^5.3.0",