akeyless-types-commons 1.0.63 → 1.0.65
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.
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { firebase_timestamp } from "./global";
|
|
2
|
+
export type GoMobileUserRole = "go_user" | "installer";
|
|
3
|
+
export interface GoAuthModel {
|
|
4
|
+
phone_number: string;
|
|
5
|
+
role: GoMobileUserRole;
|
|
6
|
+
uid: string;
|
|
7
|
+
}
|
|
8
|
+
export type GoUserRole = "owner" | "guest";
|
|
9
|
+
export interface GoCarLink {
|
|
10
|
+
id: string;
|
|
11
|
+
uid: string;
|
|
12
|
+
role: GoUserRole;
|
|
13
|
+
car_number: string;
|
|
14
|
+
created: firebase_timestamp;
|
|
15
|
+
}
|
|
16
|
+
export declare enum RoleInToken {
|
|
17
|
+
owner = "3",
|
|
18
|
+
guest = "7"
|
|
19
|
+
}
|
|
20
|
+
export interface GoUserCar {
|
|
21
|
+
car_number: string;
|
|
22
|
+
vin: string;
|
|
23
|
+
brand: string;
|
|
24
|
+
model: string;
|
|
25
|
+
year: string;
|
|
26
|
+
color: string;
|
|
27
|
+
serial_number: string;
|
|
28
|
+
brand_icon: string;
|
|
29
|
+
owner_phone: string;
|
|
30
|
+
owner_email: string;
|
|
31
|
+
owner_name: string;
|
|
32
|
+
role: string;
|
|
33
|
+
linked_users: {
|
|
34
|
+
short_phone_number: string;
|
|
35
|
+
long_phone_number: string;
|
|
36
|
+
role: GoUserRole;
|
|
37
|
+
uid: string;
|
|
38
|
+
}[];
|
|
39
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RoleInToken = void 0;
|
|
4
|
+
var RoleInToken;
|
|
5
|
+
(function (RoleInToken) {
|
|
6
|
+
RoleInToken["owner"] = "3";
|
|
7
|
+
RoleInToken["guest"] = "7";
|
|
8
|
+
})(RoleInToken || (exports.RoleInToken = RoleInToken = {}));
|
|
9
|
+
//# sourceMappingURL=go.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"go.js","sourceRoot":"","sources":["../../src/interfaces/go.ts"],"names":[],"mappings":";;;AAoBA,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,0BAAW,CAAA;IACX,0BAAW,CAAA;AACf,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./global";
|
|
2
|
+
export * from "./go";
|
package/dist/interfaces/index.js
CHANGED
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./global"), exports);
|
|
18
|
+
__exportStar(require("./go"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,uCAAqB"}
|