@fragus/sam-types 1.0.35 → 1.0.37
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,16 +1,24 @@
|
|
|
1
1
|
export interface IBlacklistedVehicleRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
brand: string
|
|
3
|
+
model: string
|
|
4
|
+
fuelType: string
|
|
5
|
+
providerIds: {
|
|
6
|
+
add: number[]
|
|
7
|
+
remove: number[]
|
|
8
|
+
}
|
|
6
9
|
}
|
|
7
10
|
|
|
8
11
|
export interface IBlacklistedVehicleResponse {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
id: number
|
|
13
|
+
brand: string
|
|
14
|
+
model: string
|
|
15
|
+
fuelType: string
|
|
16
|
+
parentRecord?: boolean
|
|
14
17
|
}
|
|
15
18
|
|
|
16
|
-
export
|
|
19
|
+
export interface IBlacklistedVehicleListRecord extends IBlacklistedVehicleResponse {
|
|
20
|
+
providerId: number
|
|
21
|
+
providerName: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type BlacklistedVehicleOrderByType = 'id' | 'brand' | 'model' | 'fuelType'
|
package/types/country.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { TCurrency } from '../types/currency'
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated (Since 20222-08-31) Please use the own local config (cfgCountries or supportedCountries (in src/config)) file instead. (This is set individually on each repo: API, Admin and SuperAdmin for finer control.)
|
|
5
|
-
*/
|
|
6
|
-
export type IsoCountryCodeSupported = 'DK' | 'SE' | 'FI'
|
|
7
|
-
|
|
8
3
|
/**
|
|
9
4
|
* ISO 3166-1 two letter (Alpha-2) codes for countries.
|
|
10
5
|
*
|
|
@@ -5,14 +5,23 @@ import { TIsoCountry } from './country';
|
|
|
5
5
|
export interface DashboardBannerRequest {
|
|
6
6
|
text: string;
|
|
7
7
|
countryIso: TIsoCountry;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/**
|
|
9
|
+
* ISO date string (YYYY-MM-DD) for the start date of the banner
|
|
10
|
+
*/
|
|
11
|
+
startDate: string;
|
|
12
|
+
/**
|
|
13
|
+
* ISO date string (YYYY-MM-DD) for the end date of the banner
|
|
14
|
+
*/
|
|
15
|
+
endDate: string;
|
|
10
16
|
}
|
|
11
17
|
/**
|
|
12
18
|
* Response body for retrieving a dashboard banner (Superadmin)
|
|
13
19
|
*/
|
|
14
20
|
export interface DashboardBannerResponse extends DashboardBannerRequest {
|
|
15
21
|
id: number;
|
|
22
|
+
/**
|
|
23
|
+
* Email of the user who last updated the banner
|
|
24
|
+
*/
|
|
16
25
|
updatedByUser: string;
|
|
17
26
|
}
|
|
18
27
|
/**
|
package/types/dashboardBanner.ts
CHANGED
|
@@ -6,8 +6,14 @@ import { TIsoCountry } from './country'
|
|
|
6
6
|
export interface DashboardBannerRequest {
|
|
7
7
|
text: string
|
|
8
8
|
countryIso: TIsoCountry
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
/**
|
|
10
|
+
* ISO date string (YYYY-MM-DD) for the start date of the banner
|
|
11
|
+
*/
|
|
12
|
+
startDate: string
|
|
13
|
+
/**
|
|
14
|
+
* ISO date string (YYYY-MM-DD) for the end date of the banner
|
|
15
|
+
*/
|
|
16
|
+
endDate: string
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
/**
|
|
@@ -15,6 +21,9 @@ export interface DashboardBannerRequest {
|
|
|
15
21
|
*/
|
|
16
22
|
export interface DashboardBannerResponse extends DashboardBannerRequest {
|
|
17
23
|
id: number
|
|
24
|
+
/**
|
|
25
|
+
* Email of the user who last updated the banner
|
|
26
|
+
*/
|
|
18
27
|
updatedByUser: string
|
|
19
28
|
}
|
|
20
29
|
|