@vulog/aima-booking 1.1.56 → 1.1.57
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.
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/package.json +3 -3
- package/src/types.ts +10 -1
package/dist/index.d.mts
CHANGED
|
@@ -17,6 +17,14 @@ type PaymentReceipts = {
|
|
|
17
17
|
scope: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
+
type CustomPrice = {
|
|
21
|
+
id: string;
|
|
22
|
+
fleetId: string;
|
|
23
|
+
type: 'CUSTOM_FIXED_PRICE' | 'EXTENDED_FIXED_PRICE';
|
|
24
|
+
amount: number;
|
|
25
|
+
reason: string;
|
|
26
|
+
pricingReferenceId: string | null;
|
|
27
|
+
};
|
|
20
28
|
type BookingRequest = {
|
|
21
29
|
id: string;
|
|
22
30
|
startDate: string;
|
|
@@ -52,7 +60,7 @@ type BookingRequest = {
|
|
|
52
60
|
rollingContract: boolean;
|
|
53
61
|
planDurationInMonths?: number;
|
|
54
62
|
contractType?: string;
|
|
55
|
-
customPrice
|
|
63
|
+
customPrice: CustomPrice | null;
|
|
56
64
|
productIds: string[];
|
|
57
65
|
bookingReferenceId?: string;
|
|
58
66
|
pricingDetails: {
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,14 @@ type PaymentReceipts = {
|
|
|
17
17
|
scope: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
+
type CustomPrice = {
|
|
21
|
+
id: string;
|
|
22
|
+
fleetId: string;
|
|
23
|
+
type: 'CUSTOM_FIXED_PRICE' | 'EXTENDED_FIXED_PRICE';
|
|
24
|
+
amount: number;
|
|
25
|
+
reason: string;
|
|
26
|
+
pricingReferenceId: string | null;
|
|
27
|
+
};
|
|
20
28
|
type BookingRequest = {
|
|
21
29
|
id: string;
|
|
22
30
|
startDate: string;
|
|
@@ -52,7 +60,7 @@ type BookingRequest = {
|
|
|
52
60
|
rollingContract: boolean;
|
|
53
61
|
planDurationInMonths?: number;
|
|
54
62
|
contractType?: string;
|
|
55
|
-
customPrice
|
|
63
|
+
customPrice: CustomPrice | null;
|
|
56
64
|
productIds: string[];
|
|
57
65
|
bookingReferenceId?: string;
|
|
58
66
|
pricingDetails: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vulog/aima-booking",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.57",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"author": "Vulog",
|
|
20
20
|
"license": "ISC",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@vulog/aima-client": "1.1.
|
|
23
|
-
"@vulog/aima-core": "1.1.
|
|
22
|
+
"@vulog/aima-client": "1.1.57",
|
|
23
|
+
"@vulog/aima-core": "1.1.57"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"es-toolkit": "^1.33.0",
|
package/src/types.ts
CHANGED
|
@@ -15,6 +15,15 @@ export type PaymentReceipts = {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
+
export type CustomPrice = {
|
|
19
|
+
id: string;
|
|
20
|
+
fleetId: string;
|
|
21
|
+
type: 'CUSTOM_FIXED_PRICE' | 'EXTENDED_FIXED_PRICE';
|
|
22
|
+
amount: number;
|
|
23
|
+
reason: string;
|
|
24
|
+
pricingReferenceId: string | null;
|
|
25
|
+
};
|
|
26
|
+
|
|
18
27
|
export type BookingRequest = {
|
|
19
28
|
id: string;
|
|
20
29
|
startDate: string;
|
|
@@ -50,7 +59,7 @@ export type BookingRequest = {
|
|
|
50
59
|
rollingContract: boolean;
|
|
51
60
|
planDurationInMonths?: number;
|
|
52
61
|
contractType?: string;
|
|
53
|
-
customPrice
|
|
62
|
+
customPrice: CustomPrice | null;
|
|
54
63
|
productIds: string[];
|
|
55
64
|
bookingReferenceId?: string;
|
|
56
65
|
pricingDetails: {
|