@fatehan/tsrp 1.4.37 → 1.4.38
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/dist/api.d.ts +1 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +8 -9
- package/dist/fatehan/activities/camera.js +43 -53
- package/dist/fatehan/activities/workflow.js +95 -110
- package/dist/fatehan/apis/client.js +228 -265
- package/dist/fatehan/areas/area.js +36 -43
- package/dist/fatehan/devices/devices.d.ts +0 -12
- package/dist/fatehan/devices/devices.d.ts.map +1 -1
- package/dist/fatehan/devices/devices.js +151 -362
- package/dist/fatehan/devices/maintenance.js +19 -21
- package/dist/fatehan/financial/financial.js +97 -111
- package/dist/fatehan/google/error_details.js +61 -81
- package/dist/fatehan/google/protobuf/any.js +3 -4
- package/dist/fatehan/google/protobuf/descriptor.js +266 -319
- package/dist/fatehan/google/protobuf/duration.js +2 -3
- package/dist/fatehan/google/protobuf/field_mask.js +3 -4
- package/dist/fatehan/google/protobuf/timestamp.js +2 -3
- package/dist/fatehan/google/status.js +6 -8
- package/dist/fatehan/identities/authentication.d.ts +7 -0
- package/dist/fatehan/identities/authentication.d.ts.map +1 -1
- package/dist/fatehan/identities/authentication.js +134 -57
- package/dist/fatehan/identities/identities.js +127 -144
- package/dist/fatehan/models/fusion.js +104 -113
- package/dist/fatehan/models/models.js +81 -96
- package/dist/fatehan/notifies/notify.js +146 -184
- package/dist/fatehan/packets/dataModel.d.ts +3 -0
- package/dist/fatehan/packets/dataModel.d.ts.map +1 -1
- package/dist/fatehan/packets/dataModel.js +1004 -1045
- package/dist/fatehan/packets/dataModule.js +25 -30
- package/dist/fatehan/packets/messages.js +35 -44
- package/dist/fatehan/reports/report.js +587 -712
- package/dist/fatehan/services/api.d.ts +23 -41
- package/dist/fatehan/services/api.d.ts.map +1 -1
- package/dist/fatehan/services/api.js +392 -701
- package/dist/fatehan/services/repositories.js +28 -36
- package/dist/fatehan/trips/trip.js +135 -155
- package/dist/fatehan/utils/buf/validate/validate.js +329 -386
- package/dist/report.js +4 -1
- package/dist/system.io.d.ts.map +1 -1
- package/dist/system.io.js +4 -2
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -29,9 +29,8 @@ export declare class ApiService {
|
|
|
29
29
|
EventDestroy(request: import("./fatehan/services/api").EventDestroyRequest): Promise<import("./fatehan/services/api").EventDestroyResponse>;
|
|
30
30
|
IoIndex(request: import("./fatehan/services/api").IoRequest): Promise<import("./fatehan/services/api").IoResponse>;
|
|
31
31
|
IoCast(data: Data): Promise<ShownIo[]>;
|
|
32
|
-
TrackerOutputCommandIndex(request: import("./fatehan/services/api").TrackerOutputCommandIndexRequest): Promise<import("./fatehan/services/api").TrackerOutputCommandIndexResponse>;
|
|
33
|
-
TrackerOutputCommandStore(request: import("./fatehan/devices/devices").TrackerOutputCommand): Promise<import("./fatehan/devices/devices").TrackerOutputCommand>;
|
|
34
32
|
CommandActionIndex(request: import("./fatehan/services/api").CommandActionIndexRequest): Promise<import("./fatehan/services/api").CommandActionIndexResponse>;
|
|
35
33
|
CommandActionShow(request: import("./fatehan/services/api").CommandActionShowRequest): Promise<import("./fatehan/devices/devices").CommandAction>;
|
|
34
|
+
CommandActionList(request: import("./fatehan/services/api").CommandActionListRequest): Promise<import("./fatehan/services/api").CommandActionListResponse>;
|
|
36
35
|
}
|
|
37
36
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,OAA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CAC7B,OAAO,EAAE,OAAO,wBAAwB,EAAE,yBAAyB,GAClE,OAAO,CAAC,OAAO,wBAAwB,EAAE,0BAA0B,CAAC;IAa1D,iBAAiB,CAC5B,OAAO,EAAE,OAAO,wBAAwB,EAAE,wBAAwB,GACjE,OAAO,CAAC,OAAO,2BAA2B,EAAE,aAAa,CAAC;IAgBhD,iBAAiB,CAC5B,OAAO,EAAE,OAAO,wBAAwB,EAAE,wBAAwB,GACjE,OAAO,CAAC,OAAO,wBAAwB,EAAE,yBAAyB,CAAC;CAYvE"}
|
package/dist/api.js
CHANGED
|
@@ -40,6 +40,7 @@ exports.ApiService = exports.ApiError = void 0;
|
|
|
40
40
|
const system_io_1 = require("./store/system.io");
|
|
41
41
|
const system_io_2 = __importDefault(require("./system.io"));
|
|
42
42
|
class ApiError extends Error {
|
|
43
|
+
status;
|
|
43
44
|
constructor(status, message) {
|
|
44
45
|
super(message);
|
|
45
46
|
this.status = status;
|
|
@@ -47,8 +48,10 @@ class ApiError extends Error {
|
|
|
47
48
|
}
|
|
48
49
|
exports.ApiError = ApiError;
|
|
49
50
|
class ApiService {
|
|
51
|
+
url;
|
|
52
|
+
namespace = "com.fatehan.services.ApiService";
|
|
53
|
+
getDynamicHeaders;
|
|
50
54
|
constructor(url, headerProvider) {
|
|
51
|
-
this.namespace = "com.fatehan.services.ApiService";
|
|
52
55
|
this.url = url;
|
|
53
56
|
this.getDynamicHeaders = headerProvider;
|
|
54
57
|
}
|
|
@@ -167,14 +170,6 @@ class ApiService {
|
|
|
167
170
|
const deviceIo = await this.IoIndex({ deviceId: data.deviceId });
|
|
168
171
|
return (0, system_io_2.default)(ioData.ios, deviceIo.ios, data);
|
|
169
172
|
}
|
|
170
|
-
async TrackerOutputCommandIndex(request) {
|
|
171
|
-
const { TrackerOutputCommandIndexRequest, TrackerOutputCommandIndexResponse } = await Promise.resolve().then(() => __importStar(require("./fatehan/services/api")));
|
|
172
|
-
return this._call("TrackerOutputCommandIndex", request, TrackerOutputCommandIndexRequest, TrackerOutputCommandIndexResponse);
|
|
173
|
-
}
|
|
174
|
-
async TrackerOutputCommandStore(request) {
|
|
175
|
-
const { TrackerOutputCommand } = await Promise.resolve().then(() => __importStar(require("./fatehan/devices/devices")));
|
|
176
|
-
return this._call("TrackerOutputCommandStore", request, TrackerOutputCommand, TrackerOutputCommand);
|
|
177
|
-
}
|
|
178
173
|
async CommandActionIndex(request) {
|
|
179
174
|
const { CommandActionIndexRequest, CommandActionIndexResponse } = await Promise.resolve().then(() => __importStar(require("./fatehan/services/api")));
|
|
180
175
|
return this._call("CommandActionIndex", request, CommandActionIndexRequest, CommandActionIndexResponse);
|
|
@@ -184,5 +179,9 @@ class ApiService {
|
|
|
184
179
|
const { CommandAction } = await Promise.resolve().then(() => __importStar(require("./fatehan/devices/devices")));
|
|
185
180
|
return this._call("CommandActionShow", request, CommandActionShowRequest, CommandAction);
|
|
186
181
|
}
|
|
182
|
+
async CommandActionList(request) {
|
|
183
|
+
const { CommandActionListRequest, CommandActionListResponse } = await Promise.resolve().then(() => __importStar(require("./fatehan/services/api")));
|
|
184
|
+
return this._call("CommandActionList", request, CommandActionListRequest, CommandActionListResponse);
|
|
185
|
+
}
|
|
187
186
|
}
|
|
188
187
|
exports.ApiService = ApiService;
|
|
@@ -100,15 +100,14 @@ exports.CameraRequest = {
|
|
|
100
100
|
return obj;
|
|
101
101
|
},
|
|
102
102
|
create(base) {
|
|
103
|
-
return exports.CameraRequest.fromPartial(base
|
|
103
|
+
return exports.CameraRequest.fromPartial(base ?? {});
|
|
104
104
|
},
|
|
105
105
|
fromPartial(object) {
|
|
106
|
-
var _a;
|
|
107
106
|
const message = createBaseCameraRequest();
|
|
108
107
|
message.deviceId = (object.deviceId !== undefined && object.deviceId !== null)
|
|
109
108
|
? long_1.default.fromValue(object.deviceId)
|
|
110
109
|
: long_1.default.UZERO;
|
|
111
|
-
message.serialNumber =
|
|
110
|
+
message.serialNumber = object.serialNumber ?? 0;
|
|
112
111
|
message.attachRequest = (object.attachRequest !== undefined && object.attachRequest !== null)
|
|
113
112
|
? exports.CameraRequest_Attach.fromPartial(object.attachRequest)
|
|
114
113
|
: undefined;
|
|
@@ -191,14 +190,13 @@ exports.CameraRequest_Attach = {
|
|
|
191
190
|
return obj;
|
|
192
191
|
},
|
|
193
192
|
create(base) {
|
|
194
|
-
return exports.CameraRequest_Attach.fromPartial(base
|
|
193
|
+
return exports.CameraRequest_Attach.fromPartial(base ?? {});
|
|
195
194
|
},
|
|
196
195
|
fromPartial(object) {
|
|
197
|
-
var _a, _b, _c;
|
|
198
196
|
const message = createBaseCameraRequest_Attach();
|
|
199
|
-
message.channelNumber =
|
|
200
|
-
message.dataType =
|
|
201
|
-
message.streamType =
|
|
197
|
+
message.channelNumber = object.channelNumber ?? 0;
|
|
198
|
+
message.dataType = object.dataType ?? 0;
|
|
199
|
+
message.streamType = object.streamType ?? 0;
|
|
202
200
|
return message;
|
|
203
201
|
},
|
|
204
202
|
};
|
|
@@ -289,15 +287,14 @@ exports.CameraRequest_Detach = {
|
|
|
289
287
|
return obj;
|
|
290
288
|
},
|
|
291
289
|
create(base) {
|
|
292
|
-
return exports.CameraRequest_Detach.fromPartial(base
|
|
290
|
+
return exports.CameraRequest_Detach.fromPartial(base ?? {});
|
|
293
291
|
},
|
|
294
292
|
fromPartial(object) {
|
|
295
|
-
var _a, _b, _c, _d;
|
|
296
293
|
const message = createBaseCameraRequest_Detach();
|
|
297
|
-
message.control =
|
|
298
|
-
message.channelNumber =
|
|
299
|
-
message.disabler =
|
|
300
|
-
message.streamType =
|
|
294
|
+
message.control = object.control ?? 0;
|
|
295
|
+
message.channelNumber = object.channelNumber ?? 0;
|
|
296
|
+
message.disabler = object.disabler ?? 0;
|
|
297
|
+
message.streamType = object.streamType ?? 0;
|
|
301
298
|
return message;
|
|
302
299
|
},
|
|
303
300
|
};
|
|
@@ -455,15 +452,14 @@ exports.CameraEvent = {
|
|
|
455
452
|
return obj;
|
|
456
453
|
},
|
|
457
454
|
create(base) {
|
|
458
|
-
return exports.CameraEvent.fromPartial(base
|
|
455
|
+
return exports.CameraEvent.fromPartial(base ?? {});
|
|
459
456
|
},
|
|
460
457
|
fromPartial(object) {
|
|
461
|
-
var _a;
|
|
462
458
|
const message = createBaseCameraEvent();
|
|
463
459
|
message.deviceId = (object.deviceId !== undefined && object.deviceId !== null)
|
|
464
460
|
? long_1.default.fromValue(object.deviceId)
|
|
465
461
|
: long_1.default.UZERO;
|
|
466
|
-
message.serialNumber =
|
|
462
|
+
message.serialNumber = object.serialNumber ?? 0;
|
|
467
463
|
message.started = (object.started !== undefined && object.started !== null)
|
|
468
464
|
? exports.CameraEvent_Started.fromPartial(object.started)
|
|
469
465
|
: undefined;
|
|
@@ -572,15 +568,14 @@ exports.CameraEvent_Started = {
|
|
|
572
568
|
return obj;
|
|
573
569
|
},
|
|
574
570
|
create(base) {
|
|
575
|
-
return exports.CameraEvent_Started.fromPartial(base
|
|
571
|
+
return exports.CameraEvent_Started.fromPartial(base ?? {});
|
|
576
572
|
},
|
|
577
573
|
fromPartial(object) {
|
|
578
|
-
var _a, _b, _c, _d;
|
|
579
574
|
const message = createBaseCameraEvent_Started();
|
|
580
|
-
message.stream =
|
|
581
|
-
message.protocol =
|
|
582
|
-
message.remoteAddr =
|
|
583
|
-
message.sink =
|
|
575
|
+
message.stream = object.stream ?? undefined;
|
|
576
|
+
message.protocol = object.protocol ?? undefined;
|
|
577
|
+
message.remoteAddr = object.remoteAddr ?? undefined;
|
|
578
|
+
message.sink = object.sink ?? undefined;
|
|
584
579
|
return message;
|
|
585
580
|
},
|
|
586
581
|
};
|
|
@@ -671,15 +666,14 @@ exports.CameraEvent_Publish = {
|
|
|
671
666
|
return obj;
|
|
672
667
|
},
|
|
673
668
|
create(base) {
|
|
674
|
-
return exports.CameraEvent_Publish.fromPartial(base
|
|
669
|
+
return exports.CameraEvent_Publish.fromPartial(base ?? {});
|
|
675
670
|
},
|
|
676
671
|
fromPartial(object) {
|
|
677
|
-
var _a, _b, _c, _d;
|
|
678
672
|
const message = createBaseCameraEvent_Publish();
|
|
679
|
-
message.stream =
|
|
680
|
-
message.protocol =
|
|
681
|
-
message.remoteAddr =
|
|
682
|
-
message.sink =
|
|
673
|
+
message.stream = object.stream ?? undefined;
|
|
674
|
+
message.protocol = object.protocol ?? undefined;
|
|
675
|
+
message.remoteAddr = object.remoteAddr ?? undefined;
|
|
676
|
+
message.sink = object.sink ?? undefined;
|
|
683
677
|
return message;
|
|
684
678
|
},
|
|
685
679
|
};
|
|
@@ -770,15 +764,14 @@ exports.CameraEvent_PublishDone = {
|
|
|
770
764
|
return obj;
|
|
771
765
|
},
|
|
772
766
|
create(base) {
|
|
773
|
-
return exports.CameraEvent_PublishDone.fromPartial(base
|
|
767
|
+
return exports.CameraEvent_PublishDone.fromPartial(base ?? {});
|
|
774
768
|
},
|
|
775
769
|
fromPartial(object) {
|
|
776
|
-
var _a, _b, _c, _d;
|
|
777
770
|
const message = createBaseCameraEvent_PublishDone();
|
|
778
|
-
message.stream =
|
|
779
|
-
message.protocol =
|
|
780
|
-
message.remoteAddr =
|
|
781
|
-
message.sink =
|
|
771
|
+
message.stream = object.stream ?? undefined;
|
|
772
|
+
message.protocol = object.protocol ?? undefined;
|
|
773
|
+
message.remoteAddr = object.remoteAddr ?? undefined;
|
|
774
|
+
message.sink = object.sink ?? undefined;
|
|
782
775
|
return message;
|
|
783
776
|
},
|
|
784
777
|
};
|
|
@@ -869,15 +862,14 @@ exports.CameraEvent_Record = {
|
|
|
869
862
|
return obj;
|
|
870
863
|
},
|
|
871
864
|
create(base) {
|
|
872
|
-
return exports.CameraEvent_Record.fromPartial(base
|
|
865
|
+
return exports.CameraEvent_Record.fromPartial(base ?? {});
|
|
873
866
|
},
|
|
874
867
|
fromPartial(object) {
|
|
875
|
-
var _a, _b, _c, _d;
|
|
876
868
|
const message = createBaseCameraEvent_Record();
|
|
877
|
-
message.stream =
|
|
878
|
-
message.protocol =
|
|
879
|
-
message.remoteAddr =
|
|
880
|
-
message.sink =
|
|
869
|
+
message.stream = object.stream ?? undefined;
|
|
870
|
+
message.protocol = object.protocol ?? undefined;
|
|
871
|
+
message.remoteAddr = object.remoteAddr ?? undefined;
|
|
872
|
+
message.sink = object.sink ?? undefined;
|
|
881
873
|
return message;
|
|
882
874
|
},
|
|
883
875
|
};
|
|
@@ -968,15 +960,14 @@ exports.CameraEvent_IdleTimeout = {
|
|
|
968
960
|
return obj;
|
|
969
961
|
},
|
|
970
962
|
create(base) {
|
|
971
|
-
return exports.CameraEvent_IdleTimeout.fromPartial(base
|
|
963
|
+
return exports.CameraEvent_IdleTimeout.fromPartial(base ?? {});
|
|
972
964
|
},
|
|
973
965
|
fromPartial(object) {
|
|
974
|
-
var _a, _b, _c, _d;
|
|
975
966
|
const message = createBaseCameraEvent_IdleTimeout();
|
|
976
|
-
message.stream =
|
|
977
|
-
message.protocol =
|
|
978
|
-
message.remoteAddr =
|
|
979
|
-
message.sink =
|
|
967
|
+
message.stream = object.stream ?? undefined;
|
|
968
|
+
message.protocol = object.protocol ?? undefined;
|
|
969
|
+
message.remoteAddr = object.remoteAddr ?? undefined;
|
|
970
|
+
message.sink = object.sink ?? undefined;
|
|
980
971
|
return message;
|
|
981
972
|
},
|
|
982
973
|
};
|
|
@@ -1067,15 +1058,14 @@ exports.CameraEvent_ReceiveTimeout = {
|
|
|
1067
1058
|
return obj;
|
|
1068
1059
|
},
|
|
1069
1060
|
create(base) {
|
|
1070
|
-
return exports.CameraEvent_ReceiveTimeout.fromPartial(base
|
|
1061
|
+
return exports.CameraEvent_ReceiveTimeout.fromPartial(base ?? {});
|
|
1071
1062
|
},
|
|
1072
1063
|
fromPartial(object) {
|
|
1073
|
-
var _a, _b, _c, _d;
|
|
1074
1064
|
const message = createBaseCameraEvent_ReceiveTimeout();
|
|
1075
|
-
message.stream =
|
|
1076
|
-
message.protocol =
|
|
1077
|
-
message.remoteAddr =
|
|
1078
|
-
message.sink =
|
|
1065
|
+
message.stream = object.stream ?? undefined;
|
|
1066
|
+
message.protocol = object.protocol ?? undefined;
|
|
1067
|
+
message.remoteAddr = object.remoteAddr ?? undefined;
|
|
1068
|
+
message.sink = object.sink ?? undefined;
|
|
1079
1069
|
return message;
|
|
1080
1070
|
},
|
|
1081
1071
|
};
|