@fragus/sam-types 1.0.49 → 1.0.51
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,35 @@
|
|
|
1
|
+
import { IUserResponse } from './user'
|
|
2
|
+
|
|
3
|
+
export type ISuperAdminUserResponse = IUserResponse & {
|
|
4
|
+
userLastSeen: Date | null
|
|
5
|
+
restrictToTheseCountries: string[]
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface ISuperAdminUserRequest {
|
|
9
|
+
email: string
|
|
10
|
+
restrictToTheseCountries: string[]
|
|
11
|
+
contactPerson: {
|
|
12
|
+
name: string
|
|
13
|
+
email: string
|
|
14
|
+
phone: string
|
|
15
|
+
address: {
|
|
16
|
+
address1: string
|
|
17
|
+
address2?: string
|
|
18
|
+
city: string
|
|
19
|
+
postalCode: string
|
|
20
|
+
countryIsoName: string
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface ISuperAdminUserRequestGet {
|
|
26
|
+
search?: string
|
|
27
|
+
country?: string
|
|
28
|
+
limit: number
|
|
29
|
+
cursor?: number
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface IPaginatedSuperAdminUserResponse {
|
|
33
|
+
data: ISuperAdminUserResponse[]
|
|
34
|
+
nextCursor: number | null
|
|
35
|
+
}
|
|
@@ -36,3 +36,10 @@ export interface ILocaleTranslation {
|
|
|
36
36
|
export interface ITranslation {
|
|
37
37
|
[key: string]: string
|
|
38
38
|
}
|
|
39
|
+
|
|
40
|
+
export type TTranslationSearchOptions = 'searchValuesToo' | 'matchCase' | 'wholeWord'
|
|
41
|
+
|
|
42
|
+
export interface ITranslationSearchOptions {
|
|
43
|
+
enabled: TTranslationSearchOptions[]
|
|
44
|
+
applications: ITranslationApplication[]
|
|
45
|
+
}
|