@fatehan/tsrp 1.1.12 → 1.1.14
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 +2 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +16 -1
- package/dist/fatehan/activities/workflow.d.ts +25 -5
- package/dist/fatehan/activities/workflow.d.ts.map +1 -1
- package/dist/fatehan/activities/workflow.js +439 -114
- package/dist/fatehan/identities/identities.d.ts +2 -0
- package/dist/fatehan/identities/identities.d.ts.map +1 -1
- package/dist/fatehan/identities/identities.js +17 -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 +9 -9
- package/dist/fatehan/services/api.d.ts +30 -1
- package/dist/fatehan/services/api.d.ts.map +1 -1
- package/dist/fatehan/services/api.js +421 -1
- 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.FilterScope = exports.FilterConditions = exports.AreaIndexResponse = exports.AreaIndexRequest = exports.MeResponse = exports.MeRequest = exports.DeviceResponse = exports.DeviceRequest_QueryFilterEntry = exports.DeviceRequest = exports.ConfigResponse = exports.ConfigRequest = exports.protobufPackage = void 0;
|
|
11
|
+
exports.FilterScope = exports.FilterConditions = exports.AreaIndexResponse = exports.AreaIndexRequest = exports.MeResponse = exports.MeRequest = exports.DeviceResponse = exports.DeviceRequest_QueryFilterEntry = exports.DeviceRequest = exports.UserResponse = exports.UserRequest_QueryFilterEntry = exports.UserRequest = exports.ConfigResponse = exports.ConfigRequest = 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"));
|
|
@@ -174,6 +174,426 @@ exports.ConfigResponse = {
|
|
|
174
174
|
return message;
|
|
175
175
|
},
|
|
176
176
|
};
|
|
177
|
+
function createBaseUserRequest() {
|
|
178
|
+
return {
|
|
179
|
+
disablePagination: false,
|
|
180
|
+
page: undefined,
|
|
181
|
+
pageSize: undefined,
|
|
182
|
+
organizationId: undefined,
|
|
183
|
+
search: undefined,
|
|
184
|
+
sort: undefined,
|
|
185
|
+
order: undefined,
|
|
186
|
+
queryFilter: {},
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
exports.UserRequest = {
|
|
190
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
191
|
+
if (message.disablePagination !== false) {
|
|
192
|
+
writer.uint32(8).bool(message.disablePagination);
|
|
193
|
+
}
|
|
194
|
+
if (message.page !== undefined) {
|
|
195
|
+
writer.uint32(16).uint32(message.page);
|
|
196
|
+
}
|
|
197
|
+
if (message.pageSize !== undefined) {
|
|
198
|
+
writer.uint32(24).uint32(message.pageSize);
|
|
199
|
+
}
|
|
200
|
+
if (message.organizationId !== undefined) {
|
|
201
|
+
writer.uint32(32).uint64(message.organizationId.toString());
|
|
202
|
+
}
|
|
203
|
+
if (message.search !== undefined) {
|
|
204
|
+
writer.uint32(42).string(message.search);
|
|
205
|
+
}
|
|
206
|
+
if (message.sort !== undefined) {
|
|
207
|
+
writer.uint32(50).string(message.sort);
|
|
208
|
+
}
|
|
209
|
+
if (message.order !== undefined) {
|
|
210
|
+
writer.uint32(58).string(message.order);
|
|
211
|
+
}
|
|
212
|
+
Object.entries(message.queryFilter).forEach(([key, value]) => {
|
|
213
|
+
exports.UserRequest_QueryFilterEntry.encode({ key: key, value }, writer.uint32(66).fork()).join();
|
|
214
|
+
});
|
|
215
|
+
return writer;
|
|
216
|
+
},
|
|
217
|
+
decode(input, length) {
|
|
218
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
219
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
220
|
+
const message = createBaseUserRequest();
|
|
221
|
+
while (reader.pos < end) {
|
|
222
|
+
const tag = reader.uint32();
|
|
223
|
+
switch (tag >>> 3) {
|
|
224
|
+
case 1: {
|
|
225
|
+
if (tag !== 8) {
|
|
226
|
+
break;
|
|
227
|
+
}
|
|
228
|
+
message.disablePagination = reader.bool();
|
|
229
|
+
continue;
|
|
230
|
+
}
|
|
231
|
+
case 2: {
|
|
232
|
+
if (tag !== 16) {
|
|
233
|
+
break;
|
|
234
|
+
}
|
|
235
|
+
message.page = reader.uint32();
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
case 3: {
|
|
239
|
+
if (tag !== 24) {
|
|
240
|
+
break;
|
|
241
|
+
}
|
|
242
|
+
message.pageSize = reader.uint32();
|
|
243
|
+
continue;
|
|
244
|
+
}
|
|
245
|
+
case 4: {
|
|
246
|
+
if (tag !== 32) {
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
message.organizationId = long_1.default.fromString(reader.uint64().toString(), true);
|
|
250
|
+
continue;
|
|
251
|
+
}
|
|
252
|
+
case 5: {
|
|
253
|
+
if (tag !== 42) {
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
message.search = reader.string();
|
|
257
|
+
continue;
|
|
258
|
+
}
|
|
259
|
+
case 6: {
|
|
260
|
+
if (tag !== 50) {
|
|
261
|
+
break;
|
|
262
|
+
}
|
|
263
|
+
message.sort = reader.string();
|
|
264
|
+
continue;
|
|
265
|
+
}
|
|
266
|
+
case 7: {
|
|
267
|
+
if (tag !== 58) {
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
message.order = reader.string();
|
|
271
|
+
continue;
|
|
272
|
+
}
|
|
273
|
+
case 8: {
|
|
274
|
+
if (tag !== 66) {
|
|
275
|
+
break;
|
|
276
|
+
}
|
|
277
|
+
const entry8 = exports.UserRequest_QueryFilterEntry.decode(reader, reader.uint32());
|
|
278
|
+
if (entry8.value !== undefined) {
|
|
279
|
+
message.queryFilter[entry8.key] = entry8.value;
|
|
280
|
+
}
|
|
281
|
+
continue;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
285
|
+
break;
|
|
286
|
+
}
|
|
287
|
+
reader.skip(tag & 7);
|
|
288
|
+
}
|
|
289
|
+
return message;
|
|
290
|
+
},
|
|
291
|
+
fromJSON(object) {
|
|
292
|
+
return {
|
|
293
|
+
disablePagination: isSet(object.disable_pagination) ? globalThis.Boolean(object.disable_pagination) : false,
|
|
294
|
+
page: isSet(object.page) ? globalThis.Number(object.page) : undefined,
|
|
295
|
+
pageSize: isSet(object.page_size) ? globalThis.Number(object.page_size) : undefined,
|
|
296
|
+
organizationId: isSet(object.organization_id) ? long_1.default.fromValue(object.organization_id) : undefined,
|
|
297
|
+
search: isSet(object.search) ? globalThis.String(object.search) : undefined,
|
|
298
|
+
sort: isSet(object.sort) ? globalThis.String(object.sort) : undefined,
|
|
299
|
+
order: isSet(object.order) ? globalThis.String(object.order) : undefined,
|
|
300
|
+
queryFilter: isObject(object.query_filter)
|
|
301
|
+
? Object.entries(object.query_filter).reduce((acc, [key, value]) => {
|
|
302
|
+
acc[key] = exports.FilterScope.fromJSON(value);
|
|
303
|
+
return acc;
|
|
304
|
+
}, {})
|
|
305
|
+
: {},
|
|
306
|
+
};
|
|
307
|
+
},
|
|
308
|
+
toJSON(message) {
|
|
309
|
+
const obj = {};
|
|
310
|
+
if (message.disablePagination !== false) {
|
|
311
|
+
obj.disable_pagination = message.disablePagination;
|
|
312
|
+
}
|
|
313
|
+
if (message.page !== undefined) {
|
|
314
|
+
obj.page = Math.round(message.page);
|
|
315
|
+
}
|
|
316
|
+
if (message.pageSize !== undefined) {
|
|
317
|
+
obj.page_size = Math.round(message.pageSize);
|
|
318
|
+
}
|
|
319
|
+
if (message.organizationId !== undefined) {
|
|
320
|
+
obj.organization_id = (message.organizationId || long_1.default.UZERO).toString();
|
|
321
|
+
}
|
|
322
|
+
if (message.search !== undefined) {
|
|
323
|
+
obj.search = message.search;
|
|
324
|
+
}
|
|
325
|
+
if (message.sort !== undefined) {
|
|
326
|
+
obj.sort = message.sort;
|
|
327
|
+
}
|
|
328
|
+
if (message.order !== undefined) {
|
|
329
|
+
obj.order = message.order;
|
|
330
|
+
}
|
|
331
|
+
if (message.queryFilter) {
|
|
332
|
+
const entries = Object.entries(message.queryFilter);
|
|
333
|
+
if (entries.length > 0) {
|
|
334
|
+
obj.query_filter = {};
|
|
335
|
+
entries.forEach(([k, v]) => {
|
|
336
|
+
obj.query_filter[k] = exports.FilterScope.toJSON(v);
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
return obj;
|
|
341
|
+
},
|
|
342
|
+
create(base) {
|
|
343
|
+
return exports.UserRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
344
|
+
},
|
|
345
|
+
fromPartial(object) {
|
|
346
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
347
|
+
const message = createBaseUserRequest();
|
|
348
|
+
message.disablePagination = (_a = object.disablePagination) !== null && _a !== void 0 ? _a : false;
|
|
349
|
+
message.page = (_b = object.page) !== null && _b !== void 0 ? _b : undefined;
|
|
350
|
+
message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : undefined;
|
|
351
|
+
message.organizationId = (object.organizationId !== undefined && object.organizationId !== null)
|
|
352
|
+
? long_1.default.fromValue(object.organizationId)
|
|
353
|
+
: undefined;
|
|
354
|
+
message.search = (_d = object.search) !== null && _d !== void 0 ? _d : undefined;
|
|
355
|
+
message.sort = (_e = object.sort) !== null && _e !== void 0 ? _e : undefined;
|
|
356
|
+
message.order = (_f = object.order) !== null && _f !== void 0 ? _f : undefined;
|
|
357
|
+
message.queryFilter = Object.entries((_g = object.queryFilter) !== null && _g !== void 0 ? _g : {}).reduce((acc, [key, value]) => {
|
|
358
|
+
if (value !== undefined) {
|
|
359
|
+
acc[key] = exports.FilterScope.fromPartial(value);
|
|
360
|
+
}
|
|
361
|
+
return acc;
|
|
362
|
+
}, {});
|
|
363
|
+
return message;
|
|
364
|
+
},
|
|
365
|
+
};
|
|
366
|
+
function createBaseUserRequest_QueryFilterEntry() {
|
|
367
|
+
return { key: "", value: undefined };
|
|
368
|
+
}
|
|
369
|
+
exports.UserRequest_QueryFilterEntry = {
|
|
370
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
371
|
+
if (message.key !== "") {
|
|
372
|
+
writer.uint32(10).string(message.key);
|
|
373
|
+
}
|
|
374
|
+
if (message.value !== undefined) {
|
|
375
|
+
exports.FilterScope.encode(message.value, writer.uint32(18).fork()).join();
|
|
376
|
+
}
|
|
377
|
+
return writer;
|
|
378
|
+
},
|
|
379
|
+
decode(input, length) {
|
|
380
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
381
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
382
|
+
const message = createBaseUserRequest_QueryFilterEntry();
|
|
383
|
+
while (reader.pos < end) {
|
|
384
|
+
const tag = reader.uint32();
|
|
385
|
+
switch (tag >>> 3) {
|
|
386
|
+
case 1: {
|
|
387
|
+
if (tag !== 10) {
|
|
388
|
+
break;
|
|
389
|
+
}
|
|
390
|
+
message.key = reader.string();
|
|
391
|
+
continue;
|
|
392
|
+
}
|
|
393
|
+
case 2: {
|
|
394
|
+
if (tag !== 18) {
|
|
395
|
+
break;
|
|
396
|
+
}
|
|
397
|
+
message.value = exports.FilterScope.decode(reader, reader.uint32());
|
|
398
|
+
continue;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
402
|
+
break;
|
|
403
|
+
}
|
|
404
|
+
reader.skip(tag & 7);
|
|
405
|
+
}
|
|
406
|
+
return message;
|
|
407
|
+
},
|
|
408
|
+
fromJSON(object) {
|
|
409
|
+
return {
|
|
410
|
+
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
411
|
+
value: isSet(object.value) ? exports.FilterScope.fromJSON(object.value) : undefined,
|
|
412
|
+
};
|
|
413
|
+
},
|
|
414
|
+
toJSON(message) {
|
|
415
|
+
const obj = {};
|
|
416
|
+
if (message.key !== "") {
|
|
417
|
+
obj.key = message.key;
|
|
418
|
+
}
|
|
419
|
+
if (message.value !== undefined) {
|
|
420
|
+
obj.value = exports.FilterScope.toJSON(message.value);
|
|
421
|
+
}
|
|
422
|
+
return obj;
|
|
423
|
+
},
|
|
424
|
+
create(base) {
|
|
425
|
+
return exports.UserRequest_QueryFilterEntry.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
426
|
+
},
|
|
427
|
+
fromPartial(object) {
|
|
428
|
+
var _a;
|
|
429
|
+
const message = createBaseUserRequest_QueryFilterEntry();
|
|
430
|
+
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
|
|
431
|
+
message.value = (object.value !== undefined && object.value !== null)
|
|
432
|
+
? exports.FilterScope.fromPartial(object.value)
|
|
433
|
+
: undefined;
|
|
434
|
+
return message;
|
|
435
|
+
},
|
|
436
|
+
};
|
|
437
|
+
function createBaseUserResponse() {
|
|
438
|
+
return { currentPage: 0, from: 0, to: 0, lastPage: 0, perPage: 0, cost: long_1.default.ZERO, total: 0, data: [] };
|
|
439
|
+
}
|
|
440
|
+
exports.UserResponse = {
|
|
441
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
442
|
+
if (message.currentPage !== 0) {
|
|
443
|
+
writer.uint32(8).uint32(message.currentPage);
|
|
444
|
+
}
|
|
445
|
+
if (message.from !== 0) {
|
|
446
|
+
writer.uint32(16).uint32(message.from);
|
|
447
|
+
}
|
|
448
|
+
if (message.to !== 0) {
|
|
449
|
+
writer.uint32(24).uint32(message.to);
|
|
450
|
+
}
|
|
451
|
+
if (message.lastPage !== 0) {
|
|
452
|
+
writer.uint32(32).uint32(message.lastPage);
|
|
453
|
+
}
|
|
454
|
+
if (message.perPage !== 0) {
|
|
455
|
+
writer.uint32(40).uint32(message.perPage);
|
|
456
|
+
}
|
|
457
|
+
if (!message.cost.equals(long_1.default.ZERO)) {
|
|
458
|
+
writer.uint32(48).sint64(message.cost.toString());
|
|
459
|
+
}
|
|
460
|
+
if (message.total !== 0) {
|
|
461
|
+
writer.uint32(56).uint32(message.total);
|
|
462
|
+
}
|
|
463
|
+
for (const v of message.data) {
|
|
464
|
+
repositories_1.UserRepo.encode(v, writer.uint32(66).fork()).join();
|
|
465
|
+
}
|
|
466
|
+
return writer;
|
|
467
|
+
},
|
|
468
|
+
decode(input, length) {
|
|
469
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
470
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
471
|
+
const message = createBaseUserResponse();
|
|
472
|
+
while (reader.pos < end) {
|
|
473
|
+
const tag = reader.uint32();
|
|
474
|
+
switch (tag >>> 3) {
|
|
475
|
+
case 1: {
|
|
476
|
+
if (tag !== 8) {
|
|
477
|
+
break;
|
|
478
|
+
}
|
|
479
|
+
message.currentPage = reader.uint32();
|
|
480
|
+
continue;
|
|
481
|
+
}
|
|
482
|
+
case 2: {
|
|
483
|
+
if (tag !== 16) {
|
|
484
|
+
break;
|
|
485
|
+
}
|
|
486
|
+
message.from = reader.uint32();
|
|
487
|
+
continue;
|
|
488
|
+
}
|
|
489
|
+
case 3: {
|
|
490
|
+
if (tag !== 24) {
|
|
491
|
+
break;
|
|
492
|
+
}
|
|
493
|
+
message.to = reader.uint32();
|
|
494
|
+
continue;
|
|
495
|
+
}
|
|
496
|
+
case 4: {
|
|
497
|
+
if (tag !== 32) {
|
|
498
|
+
break;
|
|
499
|
+
}
|
|
500
|
+
message.lastPage = reader.uint32();
|
|
501
|
+
continue;
|
|
502
|
+
}
|
|
503
|
+
case 5: {
|
|
504
|
+
if (tag !== 40) {
|
|
505
|
+
break;
|
|
506
|
+
}
|
|
507
|
+
message.perPage = reader.uint32();
|
|
508
|
+
continue;
|
|
509
|
+
}
|
|
510
|
+
case 6: {
|
|
511
|
+
if (tag !== 48) {
|
|
512
|
+
break;
|
|
513
|
+
}
|
|
514
|
+
message.cost = long_1.default.fromString(reader.sint64().toString());
|
|
515
|
+
continue;
|
|
516
|
+
}
|
|
517
|
+
case 7: {
|
|
518
|
+
if (tag !== 56) {
|
|
519
|
+
break;
|
|
520
|
+
}
|
|
521
|
+
message.total = reader.uint32();
|
|
522
|
+
continue;
|
|
523
|
+
}
|
|
524
|
+
case 8: {
|
|
525
|
+
if (tag !== 66) {
|
|
526
|
+
break;
|
|
527
|
+
}
|
|
528
|
+
message.data.push(repositories_1.UserRepo.decode(reader, reader.uint32()));
|
|
529
|
+
continue;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
533
|
+
break;
|
|
534
|
+
}
|
|
535
|
+
reader.skip(tag & 7);
|
|
536
|
+
}
|
|
537
|
+
return message;
|
|
538
|
+
},
|
|
539
|
+
fromJSON(object) {
|
|
540
|
+
return {
|
|
541
|
+
currentPage: isSet(object.current_page) ? globalThis.Number(object.current_page) : 0,
|
|
542
|
+
from: isSet(object.from) ? globalThis.Number(object.from) : 0,
|
|
543
|
+
to: isSet(object.to) ? globalThis.Number(object.to) : 0,
|
|
544
|
+
lastPage: isSet(object.last_page) ? globalThis.Number(object.last_page) : 0,
|
|
545
|
+
perPage: isSet(object.per_page) ? globalThis.Number(object.per_page) : 0,
|
|
546
|
+
cost: isSet(object.cost) ? long_1.default.fromValue(object.cost) : long_1.default.ZERO,
|
|
547
|
+
total: isSet(object.total) ? globalThis.Number(object.total) : 0,
|
|
548
|
+
data: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.data) ? object.data.map((e) => repositories_1.UserRepo.fromJSON(e)) : [],
|
|
549
|
+
};
|
|
550
|
+
},
|
|
551
|
+
toJSON(message) {
|
|
552
|
+
var _a;
|
|
553
|
+
const obj = {};
|
|
554
|
+
if (message.currentPage !== 0) {
|
|
555
|
+
obj.current_page = Math.round(message.currentPage);
|
|
556
|
+
}
|
|
557
|
+
if (message.from !== 0) {
|
|
558
|
+
obj.from = Math.round(message.from);
|
|
559
|
+
}
|
|
560
|
+
if (message.to !== 0) {
|
|
561
|
+
obj.to = Math.round(message.to);
|
|
562
|
+
}
|
|
563
|
+
if (message.lastPage !== 0) {
|
|
564
|
+
obj.last_page = Math.round(message.lastPage);
|
|
565
|
+
}
|
|
566
|
+
if (message.perPage !== 0) {
|
|
567
|
+
obj.per_page = Math.round(message.perPage);
|
|
568
|
+
}
|
|
569
|
+
if (!message.cost.equals(long_1.default.ZERO)) {
|
|
570
|
+
obj.cost = (message.cost || long_1.default.ZERO).toString();
|
|
571
|
+
}
|
|
572
|
+
if (message.total !== 0) {
|
|
573
|
+
obj.total = Math.round(message.total);
|
|
574
|
+
}
|
|
575
|
+
if ((_a = message.data) === null || _a === void 0 ? void 0 : _a.length) {
|
|
576
|
+
obj.data = message.data.map((e) => repositories_1.UserRepo.toJSON(e));
|
|
577
|
+
}
|
|
578
|
+
return obj;
|
|
579
|
+
},
|
|
580
|
+
create(base) {
|
|
581
|
+
return exports.UserResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
582
|
+
},
|
|
583
|
+
fromPartial(object) {
|
|
584
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
585
|
+
const message = createBaseUserResponse();
|
|
586
|
+
message.currentPage = (_a = object.currentPage) !== null && _a !== void 0 ? _a : 0;
|
|
587
|
+
message.from = (_b = object.from) !== null && _b !== void 0 ? _b : 0;
|
|
588
|
+
message.to = (_c = object.to) !== null && _c !== void 0 ? _c : 0;
|
|
589
|
+
message.lastPage = (_d = object.lastPage) !== null && _d !== void 0 ? _d : 0;
|
|
590
|
+
message.perPage = (_e = object.perPage) !== null && _e !== void 0 ? _e : 0;
|
|
591
|
+
message.cost = (object.cost !== undefined && object.cost !== null) ? long_1.default.fromValue(object.cost) : long_1.default.ZERO;
|
|
592
|
+
message.total = (_f = object.total) !== null && _f !== void 0 ? _f : 0;
|
|
593
|
+
message.data = ((_g = object.data) === null || _g === void 0 ? void 0 : _g.map((e) => repositories_1.UserRepo.fromPartial(e))) || [];
|
|
594
|
+
return message;
|
|
595
|
+
},
|
|
596
|
+
};
|
|
177
597
|
function createBaseDeviceRequest() {
|
|
178
598
|
return {
|
|
179
599
|
disablePagination: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fatehan/tsrp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.14",
|
|
4
4
|
"description": "fatehan main models",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/google-protobuf": "^3.15.12",
|
|
30
30
|
"@types/long": "^5.0.0",
|
|
31
|
-
"@types/node": "^24.
|
|
31
|
+
"@types/node": "^24.5.0",
|
|
32
32
|
"ts-node": "^10.9.2",
|
|
33
33
|
"ts-proto": "^2.7.7",
|
|
34
34
|
"typescript": "^5.9.2",
|