ovi-kit 1.0.5 → 1.0.7
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare class MetaDto {
|
|
2
2
|
id: string;
|
|
3
|
-
|
|
3
|
+
lat: string;
|
|
4
|
+
lon: string;
|
|
5
|
+
language: string;
|
|
4
6
|
initiator: string;
|
|
5
7
|
initiatorId?: string;
|
|
6
8
|
initiatorRole: string;
|
|
@@ -10,8 +12,11 @@ export declare class MetaDto {
|
|
|
10
12
|
mac?: string;
|
|
11
13
|
sessionSecret?: string;
|
|
12
14
|
reqTime: Date;
|
|
13
|
-
tenantId?: string | null;
|
|
14
15
|
method: string;
|
|
16
|
+
osVersion: string | null | undefined;
|
|
17
|
+
appVersion: string | null | undefined;
|
|
18
|
+
os: string | null | undefined;
|
|
19
|
+
device_id: string | null | undefined;
|
|
15
20
|
}
|
|
16
21
|
export declare class MetaDataDto {
|
|
17
22
|
meta: MetaDto;
|
|
@@ -14,7 +14,9 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
class MetaDto {
|
|
16
16
|
id;
|
|
17
|
-
|
|
17
|
+
lat;
|
|
18
|
+
lon;
|
|
19
|
+
language;
|
|
18
20
|
initiator;
|
|
19
21
|
initiatorId;
|
|
20
22
|
initiatorRole;
|
|
@@ -24,8 +26,11 @@ class MetaDto {
|
|
|
24
26
|
mac;
|
|
25
27
|
sessionSecret;
|
|
26
28
|
reqTime;
|
|
27
|
-
tenantId;
|
|
28
29
|
method;
|
|
30
|
+
osVersion;
|
|
31
|
+
appVersion;
|
|
32
|
+
os;
|
|
33
|
+
device_id;
|
|
29
34
|
}
|
|
30
35
|
exports.MetaDto = MetaDto;
|
|
31
36
|
__decorate([
|
|
@@ -33,9 +38,20 @@ __decorate([
|
|
|
33
38
|
__metadata("design:type", String)
|
|
34
39
|
], MetaDto.prototype, "id", void 0);
|
|
35
40
|
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
42
|
(0, class_validator_1.IsString)(),
|
|
37
43
|
__metadata("design:type", String)
|
|
38
|
-
], MetaDto.prototype, "
|
|
44
|
+
], MetaDto.prototype, "lat", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], MetaDto.prototype, "lon", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], MetaDto.prototype, "language", void 0);
|
|
39
55
|
__decorate([
|
|
40
56
|
(0, class_validator_1.IsString)(),
|
|
41
57
|
__metadata("design:type", String)
|
|
@@ -78,15 +94,30 @@ __decorate([
|
|
|
78
94
|
(0, class_validator_1.IsDate)(),
|
|
79
95
|
__metadata("design:type", Date)
|
|
80
96
|
], MetaDto.prototype, "reqTime", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_validator_1.IsString)(),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], MetaDto.prototype, "method", void 0);
|
|
81
101
|
__decorate([
|
|
82
102
|
(0, class_validator_1.IsOptional)(),
|
|
83
103
|
(0, class_validator_1.IsString)(),
|
|
84
104
|
__metadata("design:type", Object)
|
|
85
|
-
], MetaDto.prototype, "
|
|
105
|
+
], MetaDto.prototype, "osVersion", void 0);
|
|
86
106
|
__decorate([
|
|
107
|
+
(0, class_validator_1.IsOptional)(),
|
|
87
108
|
(0, class_validator_1.IsString)(),
|
|
88
|
-
__metadata("design:type",
|
|
89
|
-
], MetaDto.prototype, "
|
|
109
|
+
__metadata("design:type", Object)
|
|
110
|
+
], MetaDto.prototype, "appVersion", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, class_validator_1.IsOptional)(),
|
|
113
|
+
(0, class_validator_1.IsString)(),
|
|
114
|
+
__metadata("design:type", Object)
|
|
115
|
+
], MetaDto.prototype, "os", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, class_validator_1.IsOptional)(),
|
|
118
|
+
(0, class_validator_1.IsString)(),
|
|
119
|
+
__metadata("design:type", Object)
|
|
120
|
+
], MetaDto.prototype, "device_id", void 0);
|
|
90
121
|
class MetaDataDto {
|
|
91
122
|
meta;
|
|
92
123
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-data.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/meta-data.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"meta-data.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/meta-data.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AAEzC,MAAa,OAAO;IAElB,EAAE,CAAS;IAIX,GAAG,CAAS;IAIZ,GAAG,CAAS;IAIZ,QAAQ,CAAS;IAGjB,SAAS,CAAS;IAIlB,WAAW,CAAU;IAGrB,aAAa,CAAS;IAGtB,aAAa,CAAS;IAItB,EAAE,CAAU;IAIZ,MAAM,CAAU;IAIhB,GAAG,CAAU;IAIb,aAAa,CAAU;IAIvB,OAAO,CAAO;IAGd,MAAM,CAAS;IAIf,SAAS,CAA4B;IAIrC,UAAU,CAA4B;IAItC,EAAE,CAA4B;IAI9B,SAAS,CAA4B;CACtC;AAnED,0BAmEC;AAjEC;IADC,IAAA,wBAAM,GAAE;;mCACE;AAIX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oCACC;AAIZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oCACC;AAIZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yCACM;AAGjB;IADC,IAAA,0BAAQ,GAA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@@ -10,8 +10,11 @@ export interface MetaData {
|
|
|
10
10
|
mac?: string;
|
|
11
11
|
sessionSecret?: string;
|
|
12
12
|
reqTime: Date;
|
|
13
|
-
tenantId?: string | null;
|
|
14
13
|
method: string;
|
|
14
|
+
lat: string;
|
|
15
|
+
lon: string;
|
|
16
|
+
osVersion: string | null | undefined;
|
|
15
17
|
appVersion: string | null | undefined;
|
|
16
|
-
|
|
18
|
+
os: string | null | undefined;
|
|
19
|
+
device_id: string | null | undefined;
|
|
17
20
|
}
|