@fragus/sam-types 1.0.33 → 1.0.35
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/package.json
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
export interface IBlacklistedVehicleRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
add: number[]
|
|
7
|
-
remove: number[]
|
|
8
|
-
}
|
|
2
|
+
id?: number
|
|
3
|
+
brand: string
|
|
4
|
+
model: string
|
|
5
|
+
fuelType: string
|
|
9
6
|
}
|
|
10
7
|
|
|
11
8
|
export interface IBlacklistedVehicleResponse {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
id: number
|
|
10
|
+
brand: string
|
|
11
|
+
model: string
|
|
12
|
+
fuelType: string
|
|
13
|
+
parentRecord?: boolean
|
|
17
14
|
}
|
|
18
15
|
|
|
19
|
-
export
|
|
20
|
-
providerId: number
|
|
21
|
-
providerName: string
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type BlacklistedVehicleOrderByType = 'id' | 'brand' | 'model' | 'fuelType'
|
|
16
|
+
export type BlacklistedVehicleOrderByType = keyof IBlacklistedVehicleRequest
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TIsoCountry } from './country';
|
|
2
|
+
/**
|
|
3
|
+
* Request body for creating or updating a dashboard banner (Superadmin)
|
|
4
|
+
*/
|
|
5
|
+
export interface DashboardBannerRequest {
|
|
6
|
+
text: string;
|
|
7
|
+
countryIso: TIsoCountry;
|
|
8
|
+
startDate: Date;
|
|
9
|
+
endDate: Date;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Response body for retrieving a dashboard banner (Superadmin)
|
|
13
|
+
*/
|
|
14
|
+
export interface DashboardBannerResponse extends DashboardBannerRequest {
|
|
15
|
+
id: number;
|
|
16
|
+
updatedByUser: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Response body for retrieving dashboard banner text in Admin
|
|
20
|
+
*/
|
|
21
|
+
export interface ProviderDashboardBannerResponse {
|
|
22
|
+
text: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboardBanner.js","sourceRoot":"","sources":["dashboardBanner.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TIsoCountry } from './country'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Request body for creating or updating a dashboard banner (Superadmin)
|
|
5
|
+
*/
|
|
6
|
+
export interface DashboardBannerRequest {
|
|
7
|
+
text: string
|
|
8
|
+
countryIso: TIsoCountry
|
|
9
|
+
startDate: Date
|
|
10
|
+
endDate: Date
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Response body for retrieving a dashboard banner (Superadmin)
|
|
15
|
+
*/
|
|
16
|
+
export interface DashboardBannerResponse extends DashboardBannerRequest {
|
|
17
|
+
id: number
|
|
18
|
+
updatedByUser: string
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Response body for retrieving dashboard banner text in Admin
|
|
23
|
+
*/
|
|
24
|
+
export interface ProviderDashboardBannerResponse {
|
|
25
|
+
text: string
|
|
26
|
+
}
|