@fatehan/tsrp 1.4.24 → 1.4.26
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/fatehan/devices/devices.d.ts +10 -0
- package/dist/fatehan/devices/devices.d.ts.map +1 -1
- package/dist/fatehan/devices/devices.js +161 -1
- package/dist/fatehan/packets/dataModel.d.ts +1 -1
- package/dist/fatehan/packets/dataModel.d.ts.map +1 -1
- package/dist/fatehan/packets/dataModel.js +18 -18
- package/dist/fatehan/packets/dataModule.d.ts +1 -0
- package/dist/fatehan/packets/dataModule.d.ts.map +1 -1
- package/dist/fatehan/packets/dataModule.js +55 -3
- package/dist/fatehan/services/api.d.ts +36 -1
- package/dist/fatehan/services/api.d.ts.map +1 -1
- package/dist/fatehan/services/api.js +498 -1
- package/dist/fatehan/trips/trip.d.ts +2 -0
- package/dist/fatehan/trips/trip.d.ts.map +1 -1
- package/dist/fatehan/trips/trip.js +12 -0
- package/package.json +2 -2
|
@@ -8,7 +8,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.SubmitOrderResponse = exports.FilterScope = exports.FilterConditions = exports.AlertAndNotifications = exports.AreaIndexResponse = exports.AreaIndexRequest = exports.MeResponse = exports.MeRequest = exports.DeviceShowResponse = exports.DeviceShowRequest = exports.DeviceResponse = exports.DeviceRequest_QueryFilterEntry = exports.DeviceRequest = exports.UserResponse = exports.UserRequest_QueryFilterEntry = exports.UserRequest = exports.ConfigResponse_AppSecConfig = exports.ConfigResponse_AppDesignConfig = exports.ConfigResponse = exports.ConfigRequest = exports.IoResponse = exports.IoRequest = exports.AuthResponse = exports.AuthRequest = exports.MaintenanceIndexResponse_Statistics = exports.MaintenanceIndexResponse_MostUsed = exports.MaintenanceIndexResponse = exports.MaintenanceIndexRequest = exports.EventIndexResponse = exports.EventIndexRequest = exports.EventTemplateIndexRequest_QueryFilterEntry = exports.EventTemplateIndexRequest = exports.EventTemplateIndexResponse = exports.EventDestroyResponse = exports.EventDestroyRequest = exports.EventTemplateDestroyResponse = exports.EventTemplateDestroyRequest = exports.SubscriptionMethodIndexRequest = exports.EventShowRequest = exports.EventTemplateShowRequest = exports.protobufPackage = void 0;
|
|
11
|
+
exports.TrackerOutputCommandDestroyResponse = exports.TrackerOutputCommandDestroyRequest = exports.TrackerOutputCommandIndexResponse = exports.TrackerOutputCommandIndexRequest_QueryFilterEntry = exports.TrackerOutputCommandIndexRequest = exports.SubmitOrderResponse = exports.FilterScope = exports.FilterConditions = exports.AlertAndNotifications = exports.AreaIndexResponse = exports.AreaIndexRequest = exports.MeResponse = exports.MeRequest = exports.DeviceShowResponse = exports.DeviceShowRequest = exports.DeviceResponse = exports.DeviceRequest_QueryFilterEntry = exports.DeviceRequest = exports.UserResponse = exports.UserRequest_QueryFilterEntry = exports.UserRequest = exports.ConfigResponse_AppSecConfig = exports.ConfigResponse_AppDesignConfig = exports.ConfigResponse = exports.ConfigRequest = exports.IoResponse = exports.IoRequest = exports.AuthResponse = exports.AuthRequest = exports.MaintenanceIndexResponse_Statistics = exports.MaintenanceIndexResponse_MostUsed = exports.MaintenanceIndexResponse = exports.MaintenanceIndexRequest = exports.EventIndexResponse = exports.EventIndexRequest = exports.EventTemplateIndexRequest_QueryFilterEntry = exports.EventTemplateIndexRequest = exports.EventTemplateIndexResponse = exports.EventDestroyResponse = exports.EventDestroyRequest = exports.EventTemplateDestroyResponse = exports.EventTemplateDestroyRequest = exports.SubscriptionMethodIndexRequest = exports.EventShowRequest = exports.EventTemplateShowRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
14
14
|
const long_1 = __importDefault(require("long"));
|
|
@@ -4418,6 +4418,503 @@ exports.SubmitOrderResponse = {
|
|
|
4418
4418
|
return message;
|
|
4419
4419
|
},
|
|
4420
4420
|
};
|
|
4421
|
+
function createBaseTrackerOutputCommandIndexRequest() {
|
|
4422
|
+
return {
|
|
4423
|
+
disablePagination: false,
|
|
4424
|
+
page: undefined,
|
|
4425
|
+
pageSize: undefined,
|
|
4426
|
+
queryFilter: {},
|
|
4427
|
+
sort: undefined,
|
|
4428
|
+
order: undefined,
|
|
4429
|
+
};
|
|
4430
|
+
}
|
|
4431
|
+
exports.TrackerOutputCommandIndexRequest = {
|
|
4432
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4433
|
+
if (message.disablePagination !== false) {
|
|
4434
|
+
writer.uint32(8).bool(message.disablePagination);
|
|
4435
|
+
}
|
|
4436
|
+
if (message.page !== undefined) {
|
|
4437
|
+
writer.uint32(16).uint32(message.page);
|
|
4438
|
+
}
|
|
4439
|
+
if (message.pageSize !== undefined) {
|
|
4440
|
+
writer.uint32(24).uint32(message.pageSize);
|
|
4441
|
+
}
|
|
4442
|
+
Object.entries(message.queryFilter).forEach(([key, value]) => {
|
|
4443
|
+
exports.TrackerOutputCommandIndexRequest_QueryFilterEntry.encode({ key: key, value }, writer.uint32(34).fork())
|
|
4444
|
+
.join();
|
|
4445
|
+
});
|
|
4446
|
+
if (message.sort !== undefined) {
|
|
4447
|
+
writer.uint32(42).string(message.sort);
|
|
4448
|
+
}
|
|
4449
|
+
if (message.order !== undefined) {
|
|
4450
|
+
writer.uint32(50).string(message.order);
|
|
4451
|
+
}
|
|
4452
|
+
return writer;
|
|
4453
|
+
},
|
|
4454
|
+
decode(input, length) {
|
|
4455
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4456
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4457
|
+
const message = createBaseTrackerOutputCommandIndexRequest();
|
|
4458
|
+
while (reader.pos < end) {
|
|
4459
|
+
const tag = reader.uint32();
|
|
4460
|
+
switch (tag >>> 3) {
|
|
4461
|
+
case 1: {
|
|
4462
|
+
if (tag !== 8) {
|
|
4463
|
+
break;
|
|
4464
|
+
}
|
|
4465
|
+
message.disablePagination = reader.bool();
|
|
4466
|
+
continue;
|
|
4467
|
+
}
|
|
4468
|
+
case 2: {
|
|
4469
|
+
if (tag !== 16) {
|
|
4470
|
+
break;
|
|
4471
|
+
}
|
|
4472
|
+
message.page = reader.uint32();
|
|
4473
|
+
continue;
|
|
4474
|
+
}
|
|
4475
|
+
case 3: {
|
|
4476
|
+
if (tag !== 24) {
|
|
4477
|
+
break;
|
|
4478
|
+
}
|
|
4479
|
+
message.pageSize = reader.uint32();
|
|
4480
|
+
continue;
|
|
4481
|
+
}
|
|
4482
|
+
case 4: {
|
|
4483
|
+
if (tag !== 34) {
|
|
4484
|
+
break;
|
|
4485
|
+
}
|
|
4486
|
+
const entry4 = exports.TrackerOutputCommandIndexRequest_QueryFilterEntry.decode(reader, reader.uint32());
|
|
4487
|
+
if (entry4.value !== undefined) {
|
|
4488
|
+
message.queryFilter[entry4.key] = entry4.value;
|
|
4489
|
+
}
|
|
4490
|
+
continue;
|
|
4491
|
+
}
|
|
4492
|
+
case 5: {
|
|
4493
|
+
if (tag !== 42) {
|
|
4494
|
+
break;
|
|
4495
|
+
}
|
|
4496
|
+
message.sort = reader.string();
|
|
4497
|
+
continue;
|
|
4498
|
+
}
|
|
4499
|
+
case 6: {
|
|
4500
|
+
if (tag !== 50) {
|
|
4501
|
+
break;
|
|
4502
|
+
}
|
|
4503
|
+
message.order = reader.string();
|
|
4504
|
+
continue;
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4508
|
+
break;
|
|
4509
|
+
}
|
|
4510
|
+
reader.skip(tag & 7);
|
|
4511
|
+
}
|
|
4512
|
+
return message;
|
|
4513
|
+
},
|
|
4514
|
+
fromJSON(object) {
|
|
4515
|
+
return {
|
|
4516
|
+
disablePagination: isSet(object.disable_pagination) ? globalThis.Boolean(object.disable_pagination) : false,
|
|
4517
|
+
page: isSet(object.page) ? globalThis.Number(object.page) : undefined,
|
|
4518
|
+
pageSize: isSet(object.page_size) ? globalThis.Number(object.page_size) : undefined,
|
|
4519
|
+
queryFilter: isObject(object.query_filter)
|
|
4520
|
+
? Object.entries(object.query_filter).reduce((acc, [key, value]) => {
|
|
4521
|
+
acc[key] = exports.FilterScope.fromJSON(value);
|
|
4522
|
+
return acc;
|
|
4523
|
+
}, {})
|
|
4524
|
+
: {},
|
|
4525
|
+
sort: isSet(object.sort) ? globalThis.String(object.sort) : undefined,
|
|
4526
|
+
order: isSet(object.order) ? globalThis.String(object.order) : undefined,
|
|
4527
|
+
};
|
|
4528
|
+
},
|
|
4529
|
+
toJSON(message) {
|
|
4530
|
+
const obj = {};
|
|
4531
|
+
if (message.disablePagination !== false) {
|
|
4532
|
+
obj.disable_pagination = message.disablePagination;
|
|
4533
|
+
}
|
|
4534
|
+
if (message.page !== undefined) {
|
|
4535
|
+
obj.page = Math.round(message.page);
|
|
4536
|
+
}
|
|
4537
|
+
if (message.pageSize !== undefined) {
|
|
4538
|
+
obj.page_size = Math.round(message.pageSize);
|
|
4539
|
+
}
|
|
4540
|
+
if (message.queryFilter) {
|
|
4541
|
+
const entries = Object.entries(message.queryFilter);
|
|
4542
|
+
if (entries.length > 0) {
|
|
4543
|
+
obj.query_filter = {};
|
|
4544
|
+
entries.forEach(([k, v]) => {
|
|
4545
|
+
obj.query_filter[k] = exports.FilterScope.toJSON(v);
|
|
4546
|
+
});
|
|
4547
|
+
}
|
|
4548
|
+
}
|
|
4549
|
+
if (message.sort !== undefined) {
|
|
4550
|
+
obj.sort = message.sort;
|
|
4551
|
+
}
|
|
4552
|
+
if (message.order !== undefined) {
|
|
4553
|
+
obj.order = message.order;
|
|
4554
|
+
}
|
|
4555
|
+
return obj;
|
|
4556
|
+
},
|
|
4557
|
+
create(base) {
|
|
4558
|
+
return exports.TrackerOutputCommandIndexRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
4559
|
+
},
|
|
4560
|
+
fromPartial(object) {
|
|
4561
|
+
var _a, _b, _c, _d, _e, _f;
|
|
4562
|
+
const message = createBaseTrackerOutputCommandIndexRequest();
|
|
4563
|
+
message.disablePagination = (_a = object.disablePagination) !== null && _a !== void 0 ? _a : false;
|
|
4564
|
+
message.page = (_b = object.page) !== null && _b !== void 0 ? _b : undefined;
|
|
4565
|
+
message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : undefined;
|
|
4566
|
+
message.queryFilter = Object.entries((_d = object.queryFilter) !== null && _d !== void 0 ? _d : {}).reduce((acc, [key, value]) => {
|
|
4567
|
+
if (value !== undefined) {
|
|
4568
|
+
acc[key] = exports.FilterScope.fromPartial(value);
|
|
4569
|
+
}
|
|
4570
|
+
return acc;
|
|
4571
|
+
}, {});
|
|
4572
|
+
message.sort = (_e = object.sort) !== null && _e !== void 0 ? _e : undefined;
|
|
4573
|
+
message.order = (_f = object.order) !== null && _f !== void 0 ? _f : undefined;
|
|
4574
|
+
return message;
|
|
4575
|
+
},
|
|
4576
|
+
};
|
|
4577
|
+
function createBaseTrackerOutputCommandIndexRequest_QueryFilterEntry() {
|
|
4578
|
+
return { key: "", value: undefined };
|
|
4579
|
+
}
|
|
4580
|
+
exports.TrackerOutputCommandIndexRequest_QueryFilterEntry = {
|
|
4581
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4582
|
+
if (message.key !== "") {
|
|
4583
|
+
writer.uint32(10).string(message.key);
|
|
4584
|
+
}
|
|
4585
|
+
if (message.value !== undefined) {
|
|
4586
|
+
exports.FilterScope.encode(message.value, writer.uint32(18).fork()).join();
|
|
4587
|
+
}
|
|
4588
|
+
return writer;
|
|
4589
|
+
},
|
|
4590
|
+
decode(input, length) {
|
|
4591
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4592
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4593
|
+
const message = createBaseTrackerOutputCommandIndexRequest_QueryFilterEntry();
|
|
4594
|
+
while (reader.pos < end) {
|
|
4595
|
+
const tag = reader.uint32();
|
|
4596
|
+
switch (tag >>> 3) {
|
|
4597
|
+
case 1: {
|
|
4598
|
+
if (tag !== 10) {
|
|
4599
|
+
break;
|
|
4600
|
+
}
|
|
4601
|
+
message.key = reader.string();
|
|
4602
|
+
continue;
|
|
4603
|
+
}
|
|
4604
|
+
case 2: {
|
|
4605
|
+
if (tag !== 18) {
|
|
4606
|
+
break;
|
|
4607
|
+
}
|
|
4608
|
+
message.value = exports.FilterScope.decode(reader, reader.uint32());
|
|
4609
|
+
continue;
|
|
4610
|
+
}
|
|
4611
|
+
}
|
|
4612
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4613
|
+
break;
|
|
4614
|
+
}
|
|
4615
|
+
reader.skip(tag & 7);
|
|
4616
|
+
}
|
|
4617
|
+
return message;
|
|
4618
|
+
},
|
|
4619
|
+
fromJSON(object) {
|
|
4620
|
+
return {
|
|
4621
|
+
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
4622
|
+
value: isSet(object.value) ? exports.FilterScope.fromJSON(object.value) : undefined,
|
|
4623
|
+
};
|
|
4624
|
+
},
|
|
4625
|
+
toJSON(message) {
|
|
4626
|
+
const obj = {};
|
|
4627
|
+
if (message.key !== "") {
|
|
4628
|
+
obj.key = message.key;
|
|
4629
|
+
}
|
|
4630
|
+
if (message.value !== undefined) {
|
|
4631
|
+
obj.value = exports.FilterScope.toJSON(message.value);
|
|
4632
|
+
}
|
|
4633
|
+
return obj;
|
|
4634
|
+
},
|
|
4635
|
+
create(base) {
|
|
4636
|
+
return exports.TrackerOutputCommandIndexRequest_QueryFilterEntry.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
4637
|
+
},
|
|
4638
|
+
fromPartial(object) {
|
|
4639
|
+
var _a;
|
|
4640
|
+
const message = createBaseTrackerOutputCommandIndexRequest_QueryFilterEntry();
|
|
4641
|
+
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
|
|
4642
|
+
message.value = (object.value !== undefined && object.value !== null)
|
|
4643
|
+
? exports.FilterScope.fromPartial(object.value)
|
|
4644
|
+
: undefined;
|
|
4645
|
+
return message;
|
|
4646
|
+
},
|
|
4647
|
+
};
|
|
4648
|
+
function createBaseTrackerOutputCommandIndexResponse() {
|
|
4649
|
+
return { currentPage: 0, from: 0, to: 0, lastPage: 0, perPage: 0, cost: long_1.default.ZERO, total: 0, data: [] };
|
|
4650
|
+
}
|
|
4651
|
+
exports.TrackerOutputCommandIndexResponse = {
|
|
4652
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4653
|
+
if (message.currentPage !== 0) {
|
|
4654
|
+
writer.uint32(8).uint32(message.currentPage);
|
|
4655
|
+
}
|
|
4656
|
+
if (message.from !== 0) {
|
|
4657
|
+
writer.uint32(16).uint32(message.from);
|
|
4658
|
+
}
|
|
4659
|
+
if (message.to !== 0) {
|
|
4660
|
+
writer.uint32(24).uint32(message.to);
|
|
4661
|
+
}
|
|
4662
|
+
if (message.lastPage !== 0) {
|
|
4663
|
+
writer.uint32(32).uint32(message.lastPage);
|
|
4664
|
+
}
|
|
4665
|
+
if (message.perPage !== 0) {
|
|
4666
|
+
writer.uint32(40).uint32(message.perPage);
|
|
4667
|
+
}
|
|
4668
|
+
if (!message.cost.equals(long_1.default.ZERO)) {
|
|
4669
|
+
writer.uint32(48).sint64(message.cost.toString());
|
|
4670
|
+
}
|
|
4671
|
+
if (message.total !== 0) {
|
|
4672
|
+
writer.uint32(56).uint32(message.total);
|
|
4673
|
+
}
|
|
4674
|
+
for (const v of message.data) {
|
|
4675
|
+
devices_1.TrackerOutputCommand.encode(v, writer.uint32(66).fork()).join();
|
|
4676
|
+
}
|
|
4677
|
+
return writer;
|
|
4678
|
+
},
|
|
4679
|
+
decode(input, length) {
|
|
4680
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4681
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4682
|
+
const message = createBaseTrackerOutputCommandIndexResponse();
|
|
4683
|
+
while (reader.pos < end) {
|
|
4684
|
+
const tag = reader.uint32();
|
|
4685
|
+
switch (tag >>> 3) {
|
|
4686
|
+
case 1: {
|
|
4687
|
+
if (tag !== 8) {
|
|
4688
|
+
break;
|
|
4689
|
+
}
|
|
4690
|
+
message.currentPage = reader.uint32();
|
|
4691
|
+
continue;
|
|
4692
|
+
}
|
|
4693
|
+
case 2: {
|
|
4694
|
+
if (tag !== 16) {
|
|
4695
|
+
break;
|
|
4696
|
+
}
|
|
4697
|
+
message.from = reader.uint32();
|
|
4698
|
+
continue;
|
|
4699
|
+
}
|
|
4700
|
+
case 3: {
|
|
4701
|
+
if (tag !== 24) {
|
|
4702
|
+
break;
|
|
4703
|
+
}
|
|
4704
|
+
message.to = reader.uint32();
|
|
4705
|
+
continue;
|
|
4706
|
+
}
|
|
4707
|
+
case 4: {
|
|
4708
|
+
if (tag !== 32) {
|
|
4709
|
+
break;
|
|
4710
|
+
}
|
|
4711
|
+
message.lastPage = reader.uint32();
|
|
4712
|
+
continue;
|
|
4713
|
+
}
|
|
4714
|
+
case 5: {
|
|
4715
|
+
if (tag !== 40) {
|
|
4716
|
+
break;
|
|
4717
|
+
}
|
|
4718
|
+
message.perPage = reader.uint32();
|
|
4719
|
+
continue;
|
|
4720
|
+
}
|
|
4721
|
+
case 6: {
|
|
4722
|
+
if (tag !== 48) {
|
|
4723
|
+
break;
|
|
4724
|
+
}
|
|
4725
|
+
message.cost = long_1.default.fromString(reader.sint64().toString());
|
|
4726
|
+
continue;
|
|
4727
|
+
}
|
|
4728
|
+
case 7: {
|
|
4729
|
+
if (tag !== 56) {
|
|
4730
|
+
break;
|
|
4731
|
+
}
|
|
4732
|
+
message.total = reader.uint32();
|
|
4733
|
+
continue;
|
|
4734
|
+
}
|
|
4735
|
+
case 8: {
|
|
4736
|
+
if (tag !== 66) {
|
|
4737
|
+
break;
|
|
4738
|
+
}
|
|
4739
|
+
message.data.push(devices_1.TrackerOutputCommand.decode(reader, reader.uint32()));
|
|
4740
|
+
continue;
|
|
4741
|
+
}
|
|
4742
|
+
}
|
|
4743
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4744
|
+
break;
|
|
4745
|
+
}
|
|
4746
|
+
reader.skip(tag & 7);
|
|
4747
|
+
}
|
|
4748
|
+
return message;
|
|
4749
|
+
},
|
|
4750
|
+
fromJSON(object) {
|
|
4751
|
+
return {
|
|
4752
|
+
currentPage: isSet(object.current_page) ? globalThis.Number(object.current_page) : 0,
|
|
4753
|
+
from: isSet(object.from) ? globalThis.Number(object.from) : 0,
|
|
4754
|
+
to: isSet(object.to) ? globalThis.Number(object.to) : 0,
|
|
4755
|
+
lastPage: isSet(object.last_page) ? globalThis.Number(object.last_page) : 0,
|
|
4756
|
+
perPage: isSet(object.per_page) ? globalThis.Number(object.per_page) : 0,
|
|
4757
|
+
cost: isSet(object.cost) ? long_1.default.fromValue(object.cost) : long_1.default.ZERO,
|
|
4758
|
+
total: isSet(object.total) ? globalThis.Number(object.total) : 0,
|
|
4759
|
+
data: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.data) ? object.data.map((e) => devices_1.TrackerOutputCommand.fromJSON(e)) : [],
|
|
4760
|
+
};
|
|
4761
|
+
},
|
|
4762
|
+
toJSON(message) {
|
|
4763
|
+
var _a;
|
|
4764
|
+
const obj = {};
|
|
4765
|
+
if (message.currentPage !== 0) {
|
|
4766
|
+
obj.current_page = Math.round(message.currentPage);
|
|
4767
|
+
}
|
|
4768
|
+
if (message.from !== 0) {
|
|
4769
|
+
obj.from = Math.round(message.from);
|
|
4770
|
+
}
|
|
4771
|
+
if (message.to !== 0) {
|
|
4772
|
+
obj.to = Math.round(message.to);
|
|
4773
|
+
}
|
|
4774
|
+
if (message.lastPage !== 0) {
|
|
4775
|
+
obj.last_page = Math.round(message.lastPage);
|
|
4776
|
+
}
|
|
4777
|
+
if (message.perPage !== 0) {
|
|
4778
|
+
obj.per_page = Math.round(message.perPage);
|
|
4779
|
+
}
|
|
4780
|
+
if (!message.cost.equals(long_1.default.ZERO)) {
|
|
4781
|
+
obj.cost = (message.cost || long_1.default.ZERO).toString();
|
|
4782
|
+
}
|
|
4783
|
+
if (message.total !== 0) {
|
|
4784
|
+
obj.total = Math.round(message.total);
|
|
4785
|
+
}
|
|
4786
|
+
if ((_a = message.data) === null || _a === void 0 ? void 0 : _a.length) {
|
|
4787
|
+
obj.data = message.data.map((e) => devices_1.TrackerOutputCommand.toJSON(e));
|
|
4788
|
+
}
|
|
4789
|
+
return obj;
|
|
4790
|
+
},
|
|
4791
|
+
create(base) {
|
|
4792
|
+
return exports.TrackerOutputCommandIndexResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
4793
|
+
},
|
|
4794
|
+
fromPartial(object) {
|
|
4795
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
4796
|
+
const message = createBaseTrackerOutputCommandIndexResponse();
|
|
4797
|
+
message.currentPage = (_a = object.currentPage) !== null && _a !== void 0 ? _a : 0;
|
|
4798
|
+
message.from = (_b = object.from) !== null && _b !== void 0 ? _b : 0;
|
|
4799
|
+
message.to = (_c = object.to) !== null && _c !== void 0 ? _c : 0;
|
|
4800
|
+
message.lastPage = (_d = object.lastPage) !== null && _d !== void 0 ? _d : 0;
|
|
4801
|
+
message.perPage = (_e = object.perPage) !== null && _e !== void 0 ? _e : 0;
|
|
4802
|
+
message.cost = (object.cost !== undefined && object.cost !== null) ? long_1.default.fromValue(object.cost) : long_1.default.ZERO;
|
|
4803
|
+
message.total = (_f = object.total) !== null && _f !== void 0 ? _f : 0;
|
|
4804
|
+
message.data = ((_g = object.data) === null || _g === void 0 ? void 0 : _g.map((e) => devices_1.TrackerOutputCommand.fromPartial(e))) || [];
|
|
4805
|
+
return message;
|
|
4806
|
+
},
|
|
4807
|
+
};
|
|
4808
|
+
function createBaseTrackerOutputCommandDestroyRequest() {
|
|
4809
|
+
return { trackerOutputCommandId: long_1.default.UZERO };
|
|
4810
|
+
}
|
|
4811
|
+
exports.TrackerOutputCommandDestroyRequest = {
|
|
4812
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4813
|
+
if (!message.trackerOutputCommandId.equals(long_1.default.UZERO)) {
|
|
4814
|
+
writer.uint32(8).uint64(message.trackerOutputCommandId.toString());
|
|
4815
|
+
}
|
|
4816
|
+
return writer;
|
|
4817
|
+
},
|
|
4818
|
+
decode(input, length) {
|
|
4819
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4820
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4821
|
+
const message = createBaseTrackerOutputCommandDestroyRequest();
|
|
4822
|
+
while (reader.pos < end) {
|
|
4823
|
+
const tag = reader.uint32();
|
|
4824
|
+
switch (tag >>> 3) {
|
|
4825
|
+
case 1: {
|
|
4826
|
+
if (tag !== 8) {
|
|
4827
|
+
break;
|
|
4828
|
+
}
|
|
4829
|
+
message.trackerOutputCommandId = long_1.default.fromString(reader.uint64().toString(), true);
|
|
4830
|
+
continue;
|
|
4831
|
+
}
|
|
4832
|
+
}
|
|
4833
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4834
|
+
break;
|
|
4835
|
+
}
|
|
4836
|
+
reader.skip(tag & 7);
|
|
4837
|
+
}
|
|
4838
|
+
return message;
|
|
4839
|
+
},
|
|
4840
|
+
fromJSON(object) {
|
|
4841
|
+
return {
|
|
4842
|
+
trackerOutputCommandId: isSet(object.tracker_output_command_id)
|
|
4843
|
+
? long_1.default.fromValue(object.tracker_output_command_id)
|
|
4844
|
+
: long_1.default.UZERO,
|
|
4845
|
+
};
|
|
4846
|
+
},
|
|
4847
|
+
toJSON(message) {
|
|
4848
|
+
const obj = {};
|
|
4849
|
+
if (!message.trackerOutputCommandId.equals(long_1.default.UZERO)) {
|
|
4850
|
+
obj.tracker_output_command_id = (message.trackerOutputCommandId || long_1.default.UZERO).toString();
|
|
4851
|
+
}
|
|
4852
|
+
return obj;
|
|
4853
|
+
},
|
|
4854
|
+
create(base) {
|
|
4855
|
+
return exports.TrackerOutputCommandDestroyRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
4856
|
+
},
|
|
4857
|
+
fromPartial(object) {
|
|
4858
|
+
const message = createBaseTrackerOutputCommandDestroyRequest();
|
|
4859
|
+
message.trackerOutputCommandId =
|
|
4860
|
+
(object.trackerOutputCommandId !== undefined && object.trackerOutputCommandId !== null)
|
|
4861
|
+
? long_1.default.fromValue(object.trackerOutputCommandId)
|
|
4862
|
+
: long_1.default.UZERO;
|
|
4863
|
+
return message;
|
|
4864
|
+
},
|
|
4865
|
+
};
|
|
4866
|
+
function createBaseTrackerOutputCommandDestroyResponse() {
|
|
4867
|
+
return { status: false };
|
|
4868
|
+
}
|
|
4869
|
+
exports.TrackerOutputCommandDestroyResponse = {
|
|
4870
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4871
|
+
if (message.status !== false) {
|
|
4872
|
+
writer.uint32(8).bool(message.status);
|
|
4873
|
+
}
|
|
4874
|
+
return writer;
|
|
4875
|
+
},
|
|
4876
|
+
decode(input, length) {
|
|
4877
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4878
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4879
|
+
const message = createBaseTrackerOutputCommandDestroyResponse();
|
|
4880
|
+
while (reader.pos < end) {
|
|
4881
|
+
const tag = reader.uint32();
|
|
4882
|
+
switch (tag >>> 3) {
|
|
4883
|
+
case 1: {
|
|
4884
|
+
if (tag !== 8) {
|
|
4885
|
+
break;
|
|
4886
|
+
}
|
|
4887
|
+
message.status = reader.bool();
|
|
4888
|
+
continue;
|
|
4889
|
+
}
|
|
4890
|
+
}
|
|
4891
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4892
|
+
break;
|
|
4893
|
+
}
|
|
4894
|
+
reader.skip(tag & 7);
|
|
4895
|
+
}
|
|
4896
|
+
return message;
|
|
4897
|
+
},
|
|
4898
|
+
fromJSON(object) {
|
|
4899
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
4900
|
+
},
|
|
4901
|
+
toJSON(message) {
|
|
4902
|
+
const obj = {};
|
|
4903
|
+
if (message.status !== false) {
|
|
4904
|
+
obj.status = message.status;
|
|
4905
|
+
}
|
|
4906
|
+
return obj;
|
|
4907
|
+
},
|
|
4908
|
+
create(base) {
|
|
4909
|
+
return exports.TrackerOutputCommandDestroyResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
4910
|
+
},
|
|
4911
|
+
fromPartial(object) {
|
|
4912
|
+
var _a;
|
|
4913
|
+
const message = createBaseTrackerOutputCommandDestroyResponse();
|
|
4914
|
+
message.status = (_a = object.status) !== null && _a !== void 0 ? _a : false;
|
|
4915
|
+
return message;
|
|
4916
|
+
},
|
|
4917
|
+
};
|
|
4421
4918
|
function isObject(value) {
|
|
4422
4919
|
return typeof value === "object" && value !== null;
|
|
4423
4920
|
}
|
|
@@ -20,6 +20,8 @@ export declare enum GreenDrivingTypeEnum {
|
|
|
20
20
|
harshCornering = 3,
|
|
21
21
|
bloodAlcoholContent = 4,
|
|
22
22
|
overSpeeding = 5,
|
|
23
|
+
idling = 6,
|
|
24
|
+
score = 7,
|
|
23
25
|
UNRECOGNIZED = -1
|
|
24
26
|
}
|
|
25
27
|
export declare function greenDrivingTypeEnumFromJSON(object: any): GreenDrivingTypeEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trip.d.ts","sourceRoot":"","sources":["../../../src/fatehan/trips/trip.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,eAAO,MAAM,eAAe,sBAAsB,CAAC;AAEnD,oBAAY,SAAS;IACnB,SAAS,IAAI;IACb,SAAS,IAAI;IACb,iBAAiB,IAAI;IACrB,8BAA8B,I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ACpD,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GACrD,CAAC,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CAAE,CAAC;AAoCnG,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
|
|
@@ -93,6 +93,8 @@ var GreenDrivingTypeEnum;
|
|
|
93
93
|
GreenDrivingTypeEnum[GreenDrivingTypeEnum["harshCornering"] = 3] = "harshCornering";
|
|
94
94
|
GreenDrivingTypeEnum[GreenDrivingTypeEnum["bloodAlcoholContent"] = 4] = "bloodAlcoholContent";
|
|
95
95
|
GreenDrivingTypeEnum[GreenDrivingTypeEnum["overSpeeding"] = 5] = "overSpeeding";
|
|
96
|
+
GreenDrivingTypeEnum[GreenDrivingTypeEnum["idling"] = 6] = "idling";
|
|
97
|
+
GreenDrivingTypeEnum[GreenDrivingTypeEnum["score"] = 7] = "score";
|
|
96
98
|
GreenDrivingTypeEnum[GreenDrivingTypeEnum["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
97
99
|
})(GreenDrivingTypeEnum || (exports.GreenDrivingTypeEnum = GreenDrivingTypeEnum = {}));
|
|
98
100
|
function greenDrivingTypeEnumFromJSON(object) {
|
|
@@ -115,6 +117,12 @@ function greenDrivingTypeEnumFromJSON(object) {
|
|
|
115
117
|
case 5:
|
|
116
118
|
case "overSpeeding":
|
|
117
119
|
return GreenDrivingTypeEnum.overSpeeding;
|
|
120
|
+
case 6:
|
|
121
|
+
case "idling":
|
|
122
|
+
return GreenDrivingTypeEnum.idling;
|
|
123
|
+
case 7:
|
|
124
|
+
case "score":
|
|
125
|
+
return GreenDrivingTypeEnum.score;
|
|
118
126
|
case -1:
|
|
119
127
|
case "UNRECOGNIZED":
|
|
120
128
|
default:
|
|
@@ -135,6 +143,10 @@ function greenDrivingTypeEnumToJSON(object) {
|
|
|
135
143
|
return "bloodAlcoholContent";
|
|
136
144
|
case GreenDrivingTypeEnum.overSpeeding:
|
|
137
145
|
return "overSpeeding";
|
|
146
|
+
case GreenDrivingTypeEnum.idling:
|
|
147
|
+
return "idling";
|
|
148
|
+
case GreenDrivingTypeEnum.score:
|
|
149
|
+
return "score";
|
|
138
150
|
case GreenDrivingTypeEnum.UNRECOGNIZED:
|
|
139
151
|
default:
|
|
140
152
|
return "UNRECOGNIZED";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fatehan/tsrp",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.26",
|
|
4
4
|
"description": "fatehan main models",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@types/long": "^5.0.0",
|
|
35
35
|
"@types/node": "^25.0.3",
|
|
36
36
|
"ts-node": "^10.9.2",
|
|
37
|
-
"ts-proto": "^2.
|
|
37
|
+
"ts-proto": "^2.10.0",
|
|
38
38
|
"typescript": "^5.9.3",
|
|
39
39
|
"vitest": "^4.0.16"
|
|
40
40
|
},
|