@acequants/aegis-contracts 0.1.53 → 0.1.55
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.
|
@@ -208,20 +208,26 @@ export const GrpcDtoPermissionsAdd = {
|
|
|
208
208
|
return message;
|
|
209
209
|
},
|
|
210
210
|
};
|
|
211
|
-
function
|
|
212
|
-
return { name: "" };
|
|
211
|
+
function createBaseGrpcInputFeatureSeed() {
|
|
212
|
+
return { name: "", code: "" };
|
|
213
213
|
}
|
|
214
|
-
export const
|
|
214
|
+
export const GrpcInputFeatureSeed = {
|
|
215
215
|
encode(message, writer = _m0.Writer.create()) {
|
|
216
216
|
if (message.name !== "") {
|
|
217
217
|
writer.uint32(10).string(message.name);
|
|
218
218
|
}
|
|
219
|
+
if (message.code !== "") {
|
|
220
|
+
writer.uint32(18).string(message.code);
|
|
221
|
+
}
|
|
222
|
+
if (message.description !== undefined) {
|
|
223
|
+
writer.uint32(26).string(message.description);
|
|
224
|
+
}
|
|
219
225
|
return writer;
|
|
220
226
|
},
|
|
221
227
|
decode(input, length) {
|
|
222
228
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
223
229
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
224
|
-
const message =
|
|
230
|
+
const message = createBaseGrpcInputFeatureSeed();
|
|
225
231
|
while (reader.pos < end) {
|
|
226
232
|
const tag = reader.uint32();
|
|
227
233
|
switch (tag >>> 3) {
|
|
@@ -231,6 +237,18 @@ export const GrpcInputClientTypeSeed = {
|
|
|
231
237
|
}
|
|
232
238
|
message.name = reader.string();
|
|
233
239
|
continue;
|
|
240
|
+
case 2:
|
|
241
|
+
if (tag !== 18) {
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
message.code = reader.string();
|
|
245
|
+
continue;
|
|
246
|
+
case 3:
|
|
247
|
+
if (tag !== 26) {
|
|
248
|
+
break;
|
|
249
|
+
}
|
|
250
|
+
message.description = reader.string();
|
|
251
|
+
continue;
|
|
234
252
|
}
|
|
235
253
|
if ((tag & 7) === 4 || tag === 0) {
|
|
236
254
|
break;
|
|
@@ -240,20 +258,20 @@ export const GrpcInputClientTypeSeed = {
|
|
|
240
258
|
return message;
|
|
241
259
|
},
|
|
242
260
|
};
|
|
243
|
-
function
|
|
244
|
-
return {
|
|
261
|
+
function createBaseGrpcInputFeaturesSeed() {
|
|
262
|
+
return { features: [] };
|
|
245
263
|
}
|
|
246
|
-
export const
|
|
264
|
+
export const GrpcInputFeaturesSeed = {
|
|
247
265
|
encode(message, writer = _m0.Writer.create()) {
|
|
248
|
-
for (const v of message.
|
|
249
|
-
|
|
266
|
+
for (const v of message.features) {
|
|
267
|
+
GrpcInputFeatureSeed.encode(v, writer.uint32(10).fork()).ldelim();
|
|
250
268
|
}
|
|
251
269
|
return writer;
|
|
252
270
|
},
|
|
253
271
|
decode(input, length) {
|
|
254
272
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
255
273
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
256
|
-
const message =
|
|
274
|
+
const message = createBaseGrpcInputFeaturesSeed();
|
|
257
275
|
while (reader.pos < end) {
|
|
258
276
|
const tag = reader.uint32();
|
|
259
277
|
switch (tag >>> 3) {
|
|
@@ -261,7 +279,7 @@ export const GrpcInputClientTypesSeed = {
|
|
|
261
279
|
if (tag !== 10) {
|
|
262
280
|
break;
|
|
263
281
|
}
|
|
264
|
-
message.
|
|
282
|
+
message.features.push(GrpcInputFeatureSeed.decode(reader, reader.uint32()));
|
|
265
283
|
continue;
|
|
266
284
|
}
|
|
267
285
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -272,10 +290,10 @@ export const GrpcInputClientTypesSeed = {
|
|
|
272
290
|
return message;
|
|
273
291
|
},
|
|
274
292
|
};
|
|
275
|
-
function
|
|
293
|
+
function createBaseGrpcInputFeature() {
|
|
276
294
|
return { publicId: "" };
|
|
277
295
|
}
|
|
278
|
-
export const
|
|
296
|
+
export const GrpcInputFeature = {
|
|
279
297
|
encode(message, writer = _m0.Writer.create()) {
|
|
280
298
|
if (message.publicId !== "") {
|
|
281
299
|
writer.uint32(10).string(message.publicId);
|
|
@@ -285,7 +303,7 @@ export const GrpcInputClientType = {
|
|
|
285
303
|
decode(input, length) {
|
|
286
304
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
287
305
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
288
|
-
const message =
|
|
306
|
+
const message = createBaseGrpcInputFeature();
|
|
289
307
|
while (reader.pos < end) {
|
|
290
308
|
const tag = reader.uint32();
|
|
291
309
|
switch (tag >>> 3) {
|
|
@@ -304,10 +322,10 @@ export const GrpcInputClientType = {
|
|
|
304
322
|
return message;
|
|
305
323
|
},
|
|
306
324
|
};
|
|
307
|
-
function
|
|
325
|
+
function createBaseGrpcInputFeatures() {
|
|
308
326
|
return {};
|
|
309
327
|
}
|
|
310
|
-
export const
|
|
328
|
+
export const GrpcInputFeatures = {
|
|
311
329
|
encode(message, writer = _m0.Writer.create()) {
|
|
312
330
|
if (message.search !== undefined) {
|
|
313
331
|
writer.uint32(10).string(message.search);
|
|
@@ -329,7 +347,7 @@ export const GrpcInputClientTypes = {
|
|
|
329
347
|
decode(input, length) {
|
|
330
348
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
331
349
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
332
|
-
const message =
|
|
350
|
+
const message = createBaseGrpcInputFeatures();
|
|
333
351
|
while (reader.pos < end) {
|
|
334
352
|
const tag = reader.uint32();
|
|
335
353
|
switch (tag >>> 3) {
|
|
@@ -372,10 +390,10 @@ export const GrpcInputClientTypes = {
|
|
|
372
390
|
return message;
|
|
373
391
|
},
|
|
374
392
|
};
|
|
375
|
-
function
|
|
376
|
-
return { publicId: "", name: "" };
|
|
393
|
+
function createBaseGrpcDtoFeature() {
|
|
394
|
+
return { publicId: "", name: "", code: "" };
|
|
377
395
|
}
|
|
378
|
-
export const
|
|
396
|
+
export const GrpcDtoFeature = {
|
|
379
397
|
encode(message, writer = _m0.Writer.create()) {
|
|
380
398
|
if (message.publicId !== "") {
|
|
381
399
|
writer.uint32(10).string(message.publicId);
|
|
@@ -383,21 +401,27 @@ export const GrpcDtoClientType = {
|
|
|
383
401
|
if (message.name !== "") {
|
|
384
402
|
writer.uint32(18).string(message.name);
|
|
385
403
|
}
|
|
404
|
+
if (message.code !== "") {
|
|
405
|
+
writer.uint32(26).string(message.code);
|
|
406
|
+
}
|
|
407
|
+
if (message.description !== undefined) {
|
|
408
|
+
writer.uint32(34).string(message.description);
|
|
409
|
+
}
|
|
386
410
|
if (message.createdAt !== undefined) {
|
|
387
|
-
Timestamp.encode(message.createdAt, writer.uint32(
|
|
411
|
+
Timestamp.encode(message.createdAt, writer.uint32(42).fork()).ldelim();
|
|
388
412
|
}
|
|
389
413
|
if (message.updatedAt !== undefined) {
|
|
390
|
-
Timestamp.encode(message.updatedAt, writer.uint32(
|
|
414
|
+
Timestamp.encode(message.updatedAt, writer.uint32(50).fork()).ldelim();
|
|
391
415
|
}
|
|
392
416
|
if (message.deletedAt !== undefined) {
|
|
393
|
-
Timestamp.encode(message.deletedAt, writer.uint32(
|
|
417
|
+
Timestamp.encode(message.deletedAt, writer.uint32(58).fork()).ldelim();
|
|
394
418
|
}
|
|
395
419
|
return writer;
|
|
396
420
|
},
|
|
397
421
|
decode(input, length) {
|
|
398
422
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
399
423
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
400
|
-
const message =
|
|
424
|
+
const message = createBaseGrpcDtoFeature();
|
|
401
425
|
while (reader.pos < end) {
|
|
402
426
|
const tag = reader.uint32();
|
|
403
427
|
switch (tag >>> 3) {
|
|
@@ -417,18 +441,30 @@ export const GrpcDtoClientType = {
|
|
|
417
441
|
if (tag !== 26) {
|
|
418
442
|
break;
|
|
419
443
|
}
|
|
420
|
-
message.
|
|
444
|
+
message.code = reader.string();
|
|
421
445
|
continue;
|
|
422
446
|
case 4:
|
|
423
447
|
if (tag !== 34) {
|
|
424
448
|
break;
|
|
425
449
|
}
|
|
426
|
-
message.
|
|
450
|
+
message.description = reader.string();
|
|
427
451
|
continue;
|
|
428
452
|
case 5:
|
|
429
453
|
if (tag !== 42) {
|
|
430
454
|
break;
|
|
431
455
|
}
|
|
456
|
+
message.createdAt = Timestamp.decode(reader, reader.uint32());
|
|
457
|
+
continue;
|
|
458
|
+
case 6:
|
|
459
|
+
if (tag !== 50) {
|
|
460
|
+
break;
|
|
461
|
+
}
|
|
462
|
+
message.updatedAt = Timestamp.decode(reader, reader.uint32());
|
|
463
|
+
continue;
|
|
464
|
+
case 7:
|
|
465
|
+
if (tag !== 58) {
|
|
466
|
+
break;
|
|
467
|
+
}
|
|
432
468
|
message.deletedAt = Timestamp.decode(reader, reader.uint32());
|
|
433
469
|
continue;
|
|
434
470
|
}
|
|
@@ -440,20 +476,20 @@ export const GrpcDtoClientType = {
|
|
|
440
476
|
return message;
|
|
441
477
|
},
|
|
442
478
|
};
|
|
443
|
-
function
|
|
444
|
-
return {
|
|
479
|
+
function createBaseGrpcDtoFeaturesSeed() {
|
|
480
|
+
return { features: [] };
|
|
445
481
|
}
|
|
446
|
-
export const
|
|
482
|
+
export const GrpcDtoFeaturesSeed = {
|
|
447
483
|
encode(message, writer = _m0.Writer.create()) {
|
|
448
|
-
for (const v of message.
|
|
449
|
-
|
|
484
|
+
for (const v of message.features) {
|
|
485
|
+
GrpcDtoFeature.encode(v, writer.uint32(10).fork()).ldelim();
|
|
450
486
|
}
|
|
451
487
|
return writer;
|
|
452
488
|
},
|
|
453
489
|
decode(input, length) {
|
|
454
490
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
455
491
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
456
|
-
const message =
|
|
492
|
+
const message = createBaseGrpcDtoFeaturesSeed();
|
|
457
493
|
while (reader.pos < end) {
|
|
458
494
|
const tag = reader.uint32();
|
|
459
495
|
switch (tag >>> 3) {
|
|
@@ -461,7 +497,7 @@ export const GrpcDtoClientTypesSeed = {
|
|
|
461
497
|
if (tag !== 10) {
|
|
462
498
|
break;
|
|
463
499
|
}
|
|
464
|
-
message.
|
|
500
|
+
message.features.push(GrpcDtoFeature.decode(reader, reader.uint32()));
|
|
465
501
|
continue;
|
|
466
502
|
}
|
|
467
503
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -472,13 +508,13 @@ export const GrpcDtoClientTypesSeed = {
|
|
|
472
508
|
return message;
|
|
473
509
|
},
|
|
474
510
|
};
|
|
475
|
-
function
|
|
511
|
+
function createBaseGrpcDtoFeatures() {
|
|
476
512
|
return { items: [] };
|
|
477
513
|
}
|
|
478
|
-
export const
|
|
514
|
+
export const GrpcDtoFeatures = {
|
|
479
515
|
encode(message, writer = _m0.Writer.create()) {
|
|
480
516
|
for (const v of message.items) {
|
|
481
|
-
|
|
517
|
+
GrpcDtoFeature.encode(v, writer.uint32(10).fork()).ldelim();
|
|
482
518
|
}
|
|
483
519
|
if (message.meta !== undefined) {
|
|
484
520
|
GrpcDtoPagination.encode(message.meta, writer.uint32(18).fork()).ldelim();
|
|
@@ -488,7 +524,7 @@ export const GrpcDtoClientTypes = {
|
|
|
488
524
|
decode(input, length) {
|
|
489
525
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
490
526
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
491
|
-
const message =
|
|
527
|
+
const message = createBaseGrpcDtoFeatures();
|
|
492
528
|
while (reader.pos < end) {
|
|
493
529
|
const tag = reader.uint32();
|
|
494
530
|
switch (tag >>> 3) {
|
|
@@ -496,7 +532,7 @@ export const GrpcDtoClientTypes = {
|
|
|
496
532
|
if (tag !== 10) {
|
|
497
533
|
break;
|
|
498
534
|
}
|
|
499
|
-
message.items.push(
|
|
535
|
+
message.items.push(GrpcDtoFeature.decode(reader, reader.uint32()));
|
|
500
536
|
continue;
|
|
501
537
|
case 2:
|
|
502
538
|
if (tag !== 18) {
|
|
@@ -513,26 +549,23 @@ export const GrpcDtoClientTypes = {
|
|
|
513
549
|
return message;
|
|
514
550
|
},
|
|
515
551
|
};
|
|
516
|
-
function
|
|
517
|
-
return {
|
|
552
|
+
function createBaseGrpcInputFeaturePermissionsAdd() {
|
|
553
|
+
return { publicId: "", permissionIds: [] };
|
|
518
554
|
}
|
|
519
|
-
export const
|
|
555
|
+
export const GrpcInputFeaturePermissionsAdd = {
|
|
520
556
|
encode(message, writer = _m0.Writer.create()) {
|
|
521
|
-
if (message.
|
|
522
|
-
writer.uint32(10).string(message.
|
|
523
|
-
}
|
|
524
|
-
if (message.code !== "") {
|
|
525
|
-
writer.uint32(18).string(message.code);
|
|
557
|
+
if (message.publicId !== "") {
|
|
558
|
+
writer.uint32(10).string(message.publicId);
|
|
526
559
|
}
|
|
527
|
-
|
|
528
|
-
writer.uint32(
|
|
560
|
+
for (const v of message.permissionIds) {
|
|
561
|
+
writer.uint32(18).string(v);
|
|
529
562
|
}
|
|
530
563
|
return writer;
|
|
531
564
|
},
|
|
532
565
|
decode(input, length) {
|
|
533
566
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
534
567
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
535
|
-
const message =
|
|
568
|
+
const message = createBaseGrpcInputFeaturePermissionsAdd();
|
|
536
569
|
while (reader.pos < end) {
|
|
537
570
|
const tag = reader.uint32();
|
|
538
571
|
switch (tag >>> 3) {
|
|
@@ -540,19 +573,13 @@ export const GrpcInputFeatureSeed = {
|
|
|
540
573
|
if (tag !== 10) {
|
|
541
574
|
break;
|
|
542
575
|
}
|
|
543
|
-
message.
|
|
576
|
+
message.publicId = reader.string();
|
|
544
577
|
continue;
|
|
545
578
|
case 2:
|
|
546
579
|
if (tag !== 18) {
|
|
547
580
|
break;
|
|
548
581
|
}
|
|
549
|
-
message.
|
|
550
|
-
continue;
|
|
551
|
-
case 3:
|
|
552
|
-
if (tag !== 26) {
|
|
553
|
-
break;
|
|
554
|
-
}
|
|
555
|
-
message.description = reader.string();
|
|
582
|
+
message.permissionIds.push(reader.string());
|
|
556
583
|
continue;
|
|
557
584
|
}
|
|
558
585
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -563,20 +590,20 @@ export const GrpcInputFeatureSeed = {
|
|
|
563
590
|
return message;
|
|
564
591
|
},
|
|
565
592
|
};
|
|
566
|
-
function
|
|
567
|
-
return {
|
|
593
|
+
function createBaseGrpcInputFeaturePermissionsRemove() {
|
|
594
|
+
return { publicFeaturePermissionIds: [] };
|
|
568
595
|
}
|
|
569
|
-
export const
|
|
596
|
+
export const GrpcInputFeaturePermissionsRemove = {
|
|
570
597
|
encode(message, writer = _m0.Writer.create()) {
|
|
571
|
-
for (const v of message.
|
|
572
|
-
|
|
598
|
+
for (const v of message.publicFeaturePermissionIds) {
|
|
599
|
+
writer.uint32(10).string(v);
|
|
573
600
|
}
|
|
574
601
|
return writer;
|
|
575
602
|
},
|
|
576
603
|
decode(input, length) {
|
|
577
604
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
578
605
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
579
|
-
const message =
|
|
606
|
+
const message = createBaseGrpcInputFeaturePermissionsRemove();
|
|
580
607
|
while (reader.pos < end) {
|
|
581
608
|
const tag = reader.uint32();
|
|
582
609
|
switch (tag >>> 3) {
|
|
@@ -584,7 +611,7 @@ export const GrpcInputFeaturesSeed = {
|
|
|
584
611
|
if (tag !== 10) {
|
|
585
612
|
break;
|
|
586
613
|
}
|
|
587
|
-
message.
|
|
614
|
+
message.publicFeaturePermissionIds.push(reader.string());
|
|
588
615
|
continue;
|
|
589
616
|
}
|
|
590
617
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -595,20 +622,20 @@ export const GrpcInputFeaturesSeed = {
|
|
|
595
622
|
return message;
|
|
596
623
|
},
|
|
597
624
|
};
|
|
598
|
-
function
|
|
599
|
-
return {
|
|
625
|
+
function createBaseGrpcInputFeaturePermissions() {
|
|
626
|
+
return { featurePublicId: "" };
|
|
600
627
|
}
|
|
601
|
-
export const
|
|
628
|
+
export const GrpcInputFeaturePermissions = {
|
|
602
629
|
encode(message, writer = _m0.Writer.create()) {
|
|
603
|
-
if (message.
|
|
604
|
-
writer.uint32(10).string(message.
|
|
630
|
+
if (message.featurePublicId !== "") {
|
|
631
|
+
writer.uint32(10).string(message.featurePublicId);
|
|
605
632
|
}
|
|
606
633
|
return writer;
|
|
607
634
|
},
|
|
608
635
|
decode(input, length) {
|
|
609
636
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
610
637
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
611
|
-
const message =
|
|
638
|
+
const message = createBaseGrpcInputFeaturePermissions();
|
|
612
639
|
while (reader.pos < end) {
|
|
613
640
|
const tag = reader.uint32();
|
|
614
641
|
switch (tag >>> 3) {
|
|
@@ -616,7 +643,7 @@ export const GrpcInputFeature = {
|
|
|
616
643
|
if (tag !== 10) {
|
|
617
644
|
break;
|
|
618
645
|
}
|
|
619
|
-
message.
|
|
646
|
+
message.featurePublicId = reader.string();
|
|
620
647
|
continue;
|
|
621
648
|
}
|
|
622
649
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -627,32 +654,26 @@ export const GrpcInputFeature = {
|
|
|
627
654
|
return message;
|
|
628
655
|
},
|
|
629
656
|
};
|
|
630
|
-
function
|
|
631
|
-
return {};
|
|
657
|
+
function createBaseGrpcDtoFeaturePermission() {
|
|
658
|
+
return { publicId: "" };
|
|
632
659
|
}
|
|
633
|
-
export const
|
|
660
|
+
export const GrpcDtoFeaturePermission = {
|
|
634
661
|
encode(message, writer = _m0.Writer.create()) {
|
|
635
|
-
if (message.
|
|
636
|
-
writer.uint32(10).string(message.
|
|
637
|
-
}
|
|
638
|
-
if (message.page !== undefined) {
|
|
639
|
-
writer.uint32(16).int32(message.page);
|
|
640
|
-
}
|
|
641
|
-
if (message.pageSize !== undefined) {
|
|
642
|
-
writer.uint32(24).int32(message.pageSize);
|
|
662
|
+
if (message.publicId !== "") {
|
|
663
|
+
writer.uint32(10).string(message.publicId);
|
|
643
664
|
}
|
|
644
|
-
if (message.
|
|
645
|
-
writer.uint32(
|
|
665
|
+
if (message.permission !== undefined) {
|
|
666
|
+
GrpcDtoPermission.encode(message.permission, writer.uint32(18).fork()).ldelim();
|
|
646
667
|
}
|
|
647
|
-
if (message.
|
|
648
|
-
writer.uint32(
|
|
668
|
+
if (message.feature !== undefined) {
|
|
669
|
+
GrpcDtoFeature.encode(message.feature, writer.uint32(26).fork()).ldelim();
|
|
649
670
|
}
|
|
650
671
|
return writer;
|
|
651
672
|
},
|
|
652
673
|
decode(input, length) {
|
|
653
674
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
654
675
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
655
|
-
const message =
|
|
676
|
+
const message = createBaseGrpcDtoFeaturePermission();
|
|
656
677
|
while (reader.pos < end) {
|
|
657
678
|
const tag = reader.uint32();
|
|
658
679
|
switch (tag >>> 3) {
|
|
@@ -660,31 +681,51 @@ export const GrpcInputFeatures = {
|
|
|
660
681
|
if (tag !== 10) {
|
|
661
682
|
break;
|
|
662
683
|
}
|
|
663
|
-
message.
|
|
684
|
+
message.publicId = reader.string();
|
|
664
685
|
continue;
|
|
665
686
|
case 2:
|
|
666
|
-
if (tag !==
|
|
687
|
+
if (tag !== 18) {
|
|
667
688
|
break;
|
|
668
689
|
}
|
|
669
|
-
message.
|
|
690
|
+
message.permission = GrpcDtoPermission.decode(reader, reader.uint32());
|
|
670
691
|
continue;
|
|
671
692
|
case 3:
|
|
672
|
-
if (tag !==
|
|
673
|
-
break;
|
|
674
|
-
}
|
|
675
|
-
message.pageSize = reader.int32();
|
|
676
|
-
continue;
|
|
677
|
-
case 4:
|
|
678
|
-
if (tag !== 34) {
|
|
693
|
+
if (tag !== 26) {
|
|
679
694
|
break;
|
|
680
695
|
}
|
|
681
|
-
message.
|
|
696
|
+
message.feature = GrpcDtoFeature.decode(reader, reader.uint32());
|
|
682
697
|
continue;
|
|
683
|
-
|
|
684
|
-
|
|
698
|
+
}
|
|
699
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
700
|
+
break;
|
|
701
|
+
}
|
|
702
|
+
reader.skipType(tag & 7);
|
|
703
|
+
}
|
|
704
|
+
return message;
|
|
705
|
+
},
|
|
706
|
+
};
|
|
707
|
+
function createBaseGrpcDtoFeaturePermissions() {
|
|
708
|
+
return { featurePermissions: [] };
|
|
709
|
+
}
|
|
710
|
+
export const GrpcDtoFeaturePermissions = {
|
|
711
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
712
|
+
for (const v of message.featurePermissions) {
|
|
713
|
+
GrpcDtoFeaturePermission.encode(v, writer.uint32(10).fork()).ldelim();
|
|
714
|
+
}
|
|
715
|
+
return writer;
|
|
716
|
+
},
|
|
717
|
+
decode(input, length) {
|
|
718
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
719
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
720
|
+
const message = createBaseGrpcDtoFeaturePermissions();
|
|
721
|
+
while (reader.pos < end) {
|
|
722
|
+
const tag = reader.uint32();
|
|
723
|
+
switch (tag >>> 3) {
|
|
724
|
+
case 1:
|
|
725
|
+
if (tag !== 10) {
|
|
685
726
|
break;
|
|
686
727
|
}
|
|
687
|
-
message.
|
|
728
|
+
message.featurePermissions.push(GrpcDtoFeaturePermission.decode(reader, reader.uint32()));
|
|
688
729
|
continue;
|
|
689
730
|
}
|
|
690
731
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -695,38 +736,93 @@ export const GrpcInputFeatures = {
|
|
|
695
736
|
return message;
|
|
696
737
|
},
|
|
697
738
|
};
|
|
698
|
-
function
|
|
699
|
-
return {
|
|
739
|
+
function createBaseGrpcDtoGeoDivision() {
|
|
740
|
+
return {
|
|
741
|
+
publicId: "",
|
|
742
|
+
parentPublicId: "",
|
|
743
|
+
type: "",
|
|
744
|
+
level: 0,
|
|
745
|
+
code: "",
|
|
746
|
+
path: "",
|
|
747
|
+
name: "",
|
|
748
|
+
iso2: "",
|
|
749
|
+
iso3: "",
|
|
750
|
+
phoneCode: "",
|
|
751
|
+
isCapital: false,
|
|
752
|
+
isActive: false,
|
|
753
|
+
geoJson: "",
|
|
754
|
+
timezonePublicId: "",
|
|
755
|
+
currencyPublicId: "",
|
|
756
|
+
};
|
|
700
757
|
}
|
|
701
|
-
export const
|
|
758
|
+
export const GrpcDtoGeoDivision = {
|
|
702
759
|
encode(message, writer = _m0.Writer.create()) {
|
|
703
760
|
if (message.publicId !== "") {
|
|
704
761
|
writer.uint32(10).string(message.publicId);
|
|
705
762
|
}
|
|
706
|
-
if (message.
|
|
707
|
-
writer.uint32(18).string(message.
|
|
763
|
+
if (message.parentPublicId !== "") {
|
|
764
|
+
writer.uint32(18).string(message.parentPublicId);
|
|
765
|
+
}
|
|
766
|
+
if (message.type !== "") {
|
|
767
|
+
writer.uint32(26).string(message.type);
|
|
768
|
+
}
|
|
769
|
+
if (message.level !== 0) {
|
|
770
|
+
writer.uint32(32).int32(message.level);
|
|
708
771
|
}
|
|
709
772
|
if (message.code !== "") {
|
|
710
|
-
writer.uint32(
|
|
773
|
+
writer.uint32(42).string(message.code);
|
|
711
774
|
}
|
|
712
|
-
if (message.
|
|
713
|
-
writer.uint32(
|
|
775
|
+
if (message.path !== "") {
|
|
776
|
+
writer.uint32(50).string(message.path);
|
|
777
|
+
}
|
|
778
|
+
if (message.name !== "") {
|
|
779
|
+
writer.uint32(58).string(message.name);
|
|
780
|
+
}
|
|
781
|
+
if (message.iso2 !== "") {
|
|
782
|
+
writer.uint32(66).string(message.iso2);
|
|
783
|
+
}
|
|
784
|
+
if (message.iso3 !== "") {
|
|
785
|
+
writer.uint32(74).string(message.iso3);
|
|
786
|
+
}
|
|
787
|
+
if (message.phoneCode !== "") {
|
|
788
|
+
writer.uint32(82).string(message.phoneCode);
|
|
789
|
+
}
|
|
790
|
+
if (message.isCapital !== false) {
|
|
791
|
+
writer.uint32(88).bool(message.isCapital);
|
|
792
|
+
}
|
|
793
|
+
if (message.isActive !== false) {
|
|
794
|
+
writer.uint32(96).bool(message.isActive);
|
|
795
|
+
}
|
|
796
|
+
if (message.lat !== undefined) {
|
|
797
|
+
writer.uint32(105).double(message.lat);
|
|
798
|
+
}
|
|
799
|
+
if (message.lng !== undefined) {
|
|
800
|
+
writer.uint32(113).double(message.lng);
|
|
801
|
+
}
|
|
802
|
+
if (message.geoJson !== "") {
|
|
803
|
+
writer.uint32(122).string(message.geoJson);
|
|
804
|
+
}
|
|
805
|
+
if (message.timezonePublicId !== "") {
|
|
806
|
+
writer.uint32(130).string(message.timezonePublicId);
|
|
807
|
+
}
|
|
808
|
+
if (message.currencyPublicId !== "") {
|
|
809
|
+
writer.uint32(138).string(message.currencyPublicId);
|
|
714
810
|
}
|
|
715
811
|
if (message.createdAt !== undefined) {
|
|
716
|
-
Timestamp.encode(message.createdAt, writer.uint32(
|
|
812
|
+
Timestamp.encode(message.createdAt, writer.uint32(146).fork()).ldelim();
|
|
717
813
|
}
|
|
718
814
|
if (message.updatedAt !== undefined) {
|
|
719
|
-
Timestamp.encode(message.updatedAt, writer.uint32(
|
|
815
|
+
Timestamp.encode(message.updatedAt, writer.uint32(154).fork()).ldelim();
|
|
720
816
|
}
|
|
721
817
|
if (message.deletedAt !== undefined) {
|
|
722
|
-
Timestamp.encode(message.deletedAt, writer.uint32(
|
|
818
|
+
Timestamp.encode(message.deletedAt, writer.uint32(162).fork()).ldelim();
|
|
723
819
|
}
|
|
724
820
|
return writer;
|
|
725
821
|
},
|
|
726
822
|
decode(input, length) {
|
|
727
823
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
728
824
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
729
|
-
const message =
|
|
825
|
+
const message = createBaseGrpcDtoGeoDivision();
|
|
730
826
|
while (reader.pos < end) {
|
|
731
827
|
const tag = reader.uint32();
|
|
732
828
|
switch (tag >>> 3) {
|
|
@@ -740,647 +836,115 @@ export const GrpcDtoFeature = {
|
|
|
740
836
|
if (tag !== 18) {
|
|
741
837
|
break;
|
|
742
838
|
}
|
|
743
|
-
message.
|
|
839
|
+
message.parentPublicId = reader.string();
|
|
744
840
|
continue;
|
|
745
841
|
case 3:
|
|
746
842
|
if (tag !== 26) {
|
|
747
843
|
break;
|
|
748
844
|
}
|
|
749
|
-
message.
|
|
845
|
+
message.type = reader.string();
|
|
750
846
|
continue;
|
|
751
847
|
case 4:
|
|
752
|
-
if (tag !==
|
|
848
|
+
if (tag !== 32) {
|
|
753
849
|
break;
|
|
754
850
|
}
|
|
755
|
-
message.
|
|
851
|
+
message.level = reader.int32();
|
|
756
852
|
continue;
|
|
757
853
|
case 5:
|
|
758
854
|
if (tag !== 42) {
|
|
759
855
|
break;
|
|
760
856
|
}
|
|
761
|
-
message.
|
|
857
|
+
message.code = reader.string();
|
|
762
858
|
continue;
|
|
763
859
|
case 6:
|
|
764
860
|
if (tag !== 50) {
|
|
765
861
|
break;
|
|
766
862
|
}
|
|
767
|
-
message.
|
|
863
|
+
message.path = reader.string();
|
|
768
864
|
continue;
|
|
769
865
|
case 7:
|
|
770
866
|
if (tag !== 58) {
|
|
771
867
|
break;
|
|
772
868
|
}
|
|
773
|
-
message.
|
|
869
|
+
message.name = reader.string();
|
|
774
870
|
continue;
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
break;
|
|
778
|
-
}
|
|
779
|
-
reader.skipType(tag & 7);
|
|
780
|
-
}
|
|
781
|
-
return message;
|
|
782
|
-
},
|
|
783
|
-
};
|
|
784
|
-
function createBaseGrpcDtoFeaturesSeed() {
|
|
785
|
-
return { features: [] };
|
|
786
|
-
}
|
|
787
|
-
export const GrpcDtoFeaturesSeed = {
|
|
788
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
789
|
-
for (const v of message.features) {
|
|
790
|
-
GrpcDtoFeature.encode(v, writer.uint32(10).fork()).ldelim();
|
|
791
|
-
}
|
|
792
|
-
return writer;
|
|
793
|
-
},
|
|
794
|
-
decode(input, length) {
|
|
795
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
796
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
797
|
-
const message = createBaseGrpcDtoFeaturesSeed();
|
|
798
|
-
while (reader.pos < end) {
|
|
799
|
-
const tag = reader.uint32();
|
|
800
|
-
switch (tag >>> 3) {
|
|
801
|
-
case 1:
|
|
802
|
-
if (tag !== 10) {
|
|
803
|
-
break;
|
|
804
|
-
}
|
|
805
|
-
message.features.push(GrpcDtoFeature.decode(reader, reader.uint32()));
|
|
806
|
-
continue;
|
|
807
|
-
}
|
|
808
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
809
|
-
break;
|
|
810
|
-
}
|
|
811
|
-
reader.skipType(tag & 7);
|
|
812
|
-
}
|
|
813
|
-
return message;
|
|
814
|
-
},
|
|
815
|
-
};
|
|
816
|
-
function createBaseGrpcDtoFeatures() {
|
|
817
|
-
return { items: [] };
|
|
818
|
-
}
|
|
819
|
-
export const GrpcDtoFeatures = {
|
|
820
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
821
|
-
for (const v of message.items) {
|
|
822
|
-
GrpcDtoFeature.encode(v, writer.uint32(10).fork()).ldelim();
|
|
823
|
-
}
|
|
824
|
-
if (message.meta !== undefined) {
|
|
825
|
-
GrpcDtoPagination.encode(message.meta, writer.uint32(18).fork()).ldelim();
|
|
826
|
-
}
|
|
827
|
-
return writer;
|
|
828
|
-
},
|
|
829
|
-
decode(input, length) {
|
|
830
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
831
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
832
|
-
const message = createBaseGrpcDtoFeatures();
|
|
833
|
-
while (reader.pos < end) {
|
|
834
|
-
const tag = reader.uint32();
|
|
835
|
-
switch (tag >>> 3) {
|
|
836
|
-
case 1:
|
|
837
|
-
if (tag !== 10) {
|
|
838
|
-
break;
|
|
839
|
-
}
|
|
840
|
-
message.items.push(GrpcDtoFeature.decode(reader, reader.uint32()));
|
|
841
|
-
continue;
|
|
842
|
-
case 2:
|
|
843
|
-
if (tag !== 18) {
|
|
844
|
-
break;
|
|
845
|
-
}
|
|
846
|
-
message.meta = GrpcDtoPagination.decode(reader, reader.uint32());
|
|
847
|
-
continue;
|
|
848
|
-
}
|
|
849
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
850
|
-
break;
|
|
851
|
-
}
|
|
852
|
-
reader.skipType(tag & 7);
|
|
853
|
-
}
|
|
854
|
-
return message;
|
|
855
|
-
},
|
|
856
|
-
};
|
|
857
|
-
function createBaseGrpcInputFeaturePermissionsAdd() {
|
|
858
|
-
return { publicId: "", permissionIds: [] };
|
|
859
|
-
}
|
|
860
|
-
export const GrpcInputFeaturePermissionsAdd = {
|
|
861
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
862
|
-
if (message.publicId !== "") {
|
|
863
|
-
writer.uint32(10).string(message.publicId);
|
|
864
|
-
}
|
|
865
|
-
for (const v of message.permissionIds) {
|
|
866
|
-
writer.uint32(18).string(v);
|
|
867
|
-
}
|
|
868
|
-
return writer;
|
|
869
|
-
},
|
|
870
|
-
decode(input, length) {
|
|
871
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
872
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
873
|
-
const message = createBaseGrpcInputFeaturePermissionsAdd();
|
|
874
|
-
while (reader.pos < end) {
|
|
875
|
-
const tag = reader.uint32();
|
|
876
|
-
switch (tag >>> 3) {
|
|
877
|
-
case 1:
|
|
878
|
-
if (tag !== 10) {
|
|
879
|
-
break;
|
|
880
|
-
}
|
|
881
|
-
message.publicId = reader.string();
|
|
882
|
-
continue;
|
|
883
|
-
case 2:
|
|
884
|
-
if (tag !== 18) {
|
|
885
|
-
break;
|
|
886
|
-
}
|
|
887
|
-
message.permissionIds.push(reader.string());
|
|
888
|
-
continue;
|
|
889
|
-
}
|
|
890
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
891
|
-
break;
|
|
892
|
-
}
|
|
893
|
-
reader.skipType(tag & 7);
|
|
894
|
-
}
|
|
895
|
-
return message;
|
|
896
|
-
},
|
|
897
|
-
};
|
|
898
|
-
function createBaseGrpcInputFeaturePermissionsRemove() {
|
|
899
|
-
return { publicFeaturePermissionIds: [] };
|
|
900
|
-
}
|
|
901
|
-
export const GrpcInputFeaturePermissionsRemove = {
|
|
902
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
903
|
-
for (const v of message.publicFeaturePermissionIds) {
|
|
904
|
-
writer.uint32(10).string(v);
|
|
905
|
-
}
|
|
906
|
-
return writer;
|
|
907
|
-
},
|
|
908
|
-
decode(input, length) {
|
|
909
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
910
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
911
|
-
const message = createBaseGrpcInputFeaturePermissionsRemove();
|
|
912
|
-
while (reader.pos < end) {
|
|
913
|
-
const tag = reader.uint32();
|
|
914
|
-
switch (tag >>> 3) {
|
|
915
|
-
case 1:
|
|
916
|
-
if (tag !== 10) {
|
|
917
|
-
break;
|
|
918
|
-
}
|
|
919
|
-
message.publicFeaturePermissionIds.push(reader.string());
|
|
920
|
-
continue;
|
|
921
|
-
}
|
|
922
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
923
|
-
break;
|
|
924
|
-
}
|
|
925
|
-
reader.skipType(tag & 7);
|
|
926
|
-
}
|
|
927
|
-
return message;
|
|
928
|
-
},
|
|
929
|
-
};
|
|
930
|
-
function createBaseGrpcInputFeaturePermissions() {
|
|
931
|
-
return { featurePublicId: "" };
|
|
932
|
-
}
|
|
933
|
-
export const GrpcInputFeaturePermissions = {
|
|
934
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
935
|
-
if (message.featurePublicId !== "") {
|
|
936
|
-
writer.uint32(10).string(message.featurePublicId);
|
|
937
|
-
}
|
|
938
|
-
return writer;
|
|
939
|
-
},
|
|
940
|
-
decode(input, length) {
|
|
941
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
942
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
943
|
-
const message = createBaseGrpcInputFeaturePermissions();
|
|
944
|
-
while (reader.pos < end) {
|
|
945
|
-
const tag = reader.uint32();
|
|
946
|
-
switch (tag >>> 3) {
|
|
947
|
-
case 1:
|
|
948
|
-
if (tag !== 10) {
|
|
949
|
-
break;
|
|
950
|
-
}
|
|
951
|
-
message.featurePublicId = reader.string();
|
|
952
|
-
continue;
|
|
953
|
-
}
|
|
954
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
955
|
-
break;
|
|
956
|
-
}
|
|
957
|
-
reader.skipType(tag & 7);
|
|
958
|
-
}
|
|
959
|
-
return message;
|
|
960
|
-
},
|
|
961
|
-
};
|
|
962
|
-
function createBaseGrpcDtoFeaturePermission() {
|
|
963
|
-
return { publicId: "" };
|
|
964
|
-
}
|
|
965
|
-
export const GrpcDtoFeaturePermission = {
|
|
966
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
967
|
-
if (message.publicId !== "") {
|
|
968
|
-
writer.uint32(10).string(message.publicId);
|
|
969
|
-
}
|
|
970
|
-
if (message.permission !== undefined) {
|
|
971
|
-
GrpcDtoPermission.encode(message.permission, writer.uint32(18).fork()).ldelim();
|
|
972
|
-
}
|
|
973
|
-
if (message.feature !== undefined) {
|
|
974
|
-
GrpcDtoFeature.encode(message.feature, writer.uint32(26).fork()).ldelim();
|
|
975
|
-
}
|
|
976
|
-
return writer;
|
|
977
|
-
},
|
|
978
|
-
decode(input, length) {
|
|
979
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
980
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
981
|
-
const message = createBaseGrpcDtoFeaturePermission();
|
|
982
|
-
while (reader.pos < end) {
|
|
983
|
-
const tag = reader.uint32();
|
|
984
|
-
switch (tag >>> 3) {
|
|
985
|
-
case 1:
|
|
986
|
-
if (tag !== 10) {
|
|
987
|
-
break;
|
|
988
|
-
}
|
|
989
|
-
message.publicId = reader.string();
|
|
990
|
-
continue;
|
|
991
|
-
case 2:
|
|
992
|
-
if (tag !== 18) {
|
|
993
|
-
break;
|
|
994
|
-
}
|
|
995
|
-
message.permission = GrpcDtoPermission.decode(reader, reader.uint32());
|
|
996
|
-
continue;
|
|
997
|
-
case 3:
|
|
998
|
-
if (tag !== 26) {
|
|
999
|
-
break;
|
|
1000
|
-
}
|
|
1001
|
-
message.feature = GrpcDtoFeature.decode(reader, reader.uint32());
|
|
1002
|
-
continue;
|
|
1003
|
-
}
|
|
1004
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1005
|
-
break;
|
|
1006
|
-
}
|
|
1007
|
-
reader.skipType(tag & 7);
|
|
1008
|
-
}
|
|
1009
|
-
return message;
|
|
1010
|
-
},
|
|
1011
|
-
};
|
|
1012
|
-
function createBaseGrpcDtoFeaturePermissions() {
|
|
1013
|
-
return { featurePermissions: [] };
|
|
1014
|
-
}
|
|
1015
|
-
export const GrpcDtoFeaturePermissions = {
|
|
1016
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1017
|
-
for (const v of message.featurePermissions) {
|
|
1018
|
-
GrpcDtoFeaturePermission.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1019
|
-
}
|
|
1020
|
-
return writer;
|
|
1021
|
-
},
|
|
1022
|
-
decode(input, length) {
|
|
1023
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1024
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1025
|
-
const message = createBaseGrpcDtoFeaturePermissions();
|
|
1026
|
-
while (reader.pos < end) {
|
|
1027
|
-
const tag = reader.uint32();
|
|
1028
|
-
switch (tag >>> 3) {
|
|
1029
|
-
case 1:
|
|
1030
|
-
if (tag !== 10) {
|
|
1031
|
-
break;
|
|
1032
|
-
}
|
|
1033
|
-
message.featurePermissions.push(GrpcDtoFeaturePermission.decode(reader, reader.uint32()));
|
|
1034
|
-
continue;
|
|
1035
|
-
}
|
|
1036
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1037
|
-
break;
|
|
1038
|
-
}
|
|
1039
|
-
reader.skipType(tag & 7);
|
|
1040
|
-
}
|
|
1041
|
-
return message;
|
|
1042
|
-
},
|
|
1043
|
-
};
|
|
1044
|
-
function createBaseGrpcInputClientCreate() {
|
|
1045
|
-
return { clientTypePublicId: "", name: "" };
|
|
1046
|
-
}
|
|
1047
|
-
export const GrpcInputClientCreate = {
|
|
1048
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1049
|
-
if (message.clientTypePublicId !== "") {
|
|
1050
|
-
writer.uint32(10).string(message.clientTypePublicId);
|
|
1051
|
-
}
|
|
1052
|
-
if (message.name !== "") {
|
|
1053
|
-
writer.uint32(18).string(message.name);
|
|
1054
|
-
}
|
|
1055
|
-
if (message.managerPublicId !== undefined) {
|
|
1056
|
-
writer.uint32(26).string(message.managerPublicId);
|
|
1057
|
-
}
|
|
1058
|
-
if (message.description !== undefined) {
|
|
1059
|
-
writer.uint32(34).string(message.description);
|
|
1060
|
-
}
|
|
1061
|
-
return writer;
|
|
1062
|
-
},
|
|
1063
|
-
decode(input, length) {
|
|
1064
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1065
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1066
|
-
const message = createBaseGrpcInputClientCreate();
|
|
1067
|
-
while (reader.pos < end) {
|
|
1068
|
-
const tag = reader.uint32();
|
|
1069
|
-
switch (tag >>> 3) {
|
|
1070
|
-
case 1:
|
|
1071
|
-
if (tag !== 10) {
|
|
1072
|
-
break;
|
|
1073
|
-
}
|
|
1074
|
-
message.clientTypePublicId = reader.string();
|
|
1075
|
-
continue;
|
|
1076
|
-
case 2:
|
|
1077
|
-
if (tag !== 18) {
|
|
1078
|
-
break;
|
|
1079
|
-
}
|
|
1080
|
-
message.name = reader.string();
|
|
1081
|
-
continue;
|
|
1082
|
-
case 3:
|
|
1083
|
-
if (tag !== 26) {
|
|
1084
|
-
break;
|
|
1085
|
-
}
|
|
1086
|
-
message.managerPublicId = reader.string();
|
|
1087
|
-
continue;
|
|
1088
|
-
case 4:
|
|
1089
|
-
if (tag !== 34) {
|
|
1090
|
-
break;
|
|
1091
|
-
}
|
|
1092
|
-
message.description = reader.string();
|
|
1093
|
-
continue;
|
|
1094
|
-
}
|
|
1095
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1096
|
-
break;
|
|
1097
|
-
}
|
|
1098
|
-
reader.skipType(tag & 7);
|
|
1099
|
-
}
|
|
1100
|
-
return message;
|
|
1101
|
-
},
|
|
1102
|
-
};
|
|
1103
|
-
function createBaseGrpcInputClientUpdate() {
|
|
1104
|
-
return { publicId: "" };
|
|
1105
|
-
}
|
|
1106
|
-
export const GrpcInputClientUpdate = {
|
|
1107
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1108
|
-
if (message.publicId !== "") {
|
|
1109
|
-
writer.uint32(10).string(message.publicId);
|
|
1110
|
-
}
|
|
1111
|
-
if (message.name !== undefined) {
|
|
1112
|
-
writer.uint32(18).string(message.name);
|
|
1113
|
-
}
|
|
1114
|
-
if (message.description !== undefined) {
|
|
1115
|
-
writer.uint32(26).string(message.description);
|
|
1116
|
-
}
|
|
1117
|
-
if (message.clientTypePublicId !== undefined) {
|
|
1118
|
-
writer.uint32(34).string(message.clientTypePublicId);
|
|
1119
|
-
}
|
|
1120
|
-
if (message.managerPublicId !== undefined) {
|
|
1121
|
-
writer.uint32(42).string(message.managerPublicId);
|
|
1122
|
-
}
|
|
1123
|
-
return writer;
|
|
1124
|
-
},
|
|
1125
|
-
decode(input, length) {
|
|
1126
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1127
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1128
|
-
const message = createBaseGrpcInputClientUpdate();
|
|
1129
|
-
while (reader.pos < end) {
|
|
1130
|
-
const tag = reader.uint32();
|
|
1131
|
-
switch (tag >>> 3) {
|
|
1132
|
-
case 1:
|
|
1133
|
-
if (tag !== 10) {
|
|
1134
|
-
break;
|
|
1135
|
-
}
|
|
1136
|
-
message.publicId = reader.string();
|
|
1137
|
-
continue;
|
|
1138
|
-
case 2:
|
|
1139
|
-
if (tag !== 18) {
|
|
1140
|
-
break;
|
|
1141
|
-
}
|
|
1142
|
-
message.name = reader.string();
|
|
1143
|
-
continue;
|
|
1144
|
-
case 3:
|
|
1145
|
-
if (tag !== 26) {
|
|
1146
|
-
break;
|
|
1147
|
-
}
|
|
1148
|
-
message.description = reader.string();
|
|
1149
|
-
continue;
|
|
1150
|
-
case 4:
|
|
1151
|
-
if (tag !== 34) {
|
|
1152
|
-
break;
|
|
1153
|
-
}
|
|
1154
|
-
message.clientTypePublicId = reader.string();
|
|
1155
|
-
continue;
|
|
1156
|
-
case 5:
|
|
1157
|
-
if (tag !== 42) {
|
|
1158
|
-
break;
|
|
1159
|
-
}
|
|
1160
|
-
message.managerPublicId = reader.string();
|
|
1161
|
-
continue;
|
|
1162
|
-
}
|
|
1163
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1164
|
-
break;
|
|
1165
|
-
}
|
|
1166
|
-
reader.skipType(tag & 7);
|
|
1167
|
-
}
|
|
1168
|
-
return message;
|
|
1169
|
-
},
|
|
1170
|
-
};
|
|
1171
|
-
function createBaseGrpcInputClientFeaturesAdd() {
|
|
1172
|
-
return { publicId: "", featureIds: [] };
|
|
1173
|
-
}
|
|
1174
|
-
export const GrpcInputClientFeaturesAdd = {
|
|
1175
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1176
|
-
if (message.publicId !== "") {
|
|
1177
|
-
writer.uint32(10).string(message.publicId);
|
|
1178
|
-
}
|
|
1179
|
-
for (const v of message.featureIds) {
|
|
1180
|
-
writer.uint32(18).string(v);
|
|
1181
|
-
}
|
|
1182
|
-
return writer;
|
|
1183
|
-
},
|
|
1184
|
-
decode(input, length) {
|
|
1185
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1186
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1187
|
-
const message = createBaseGrpcInputClientFeaturesAdd();
|
|
1188
|
-
while (reader.pos < end) {
|
|
1189
|
-
const tag = reader.uint32();
|
|
1190
|
-
switch (tag >>> 3) {
|
|
1191
|
-
case 1:
|
|
1192
|
-
if (tag !== 10) {
|
|
1193
|
-
break;
|
|
1194
|
-
}
|
|
1195
|
-
message.publicId = reader.string();
|
|
1196
|
-
continue;
|
|
1197
|
-
case 2:
|
|
1198
|
-
if (tag !== 18) {
|
|
1199
|
-
break;
|
|
1200
|
-
}
|
|
1201
|
-
message.featureIds.push(reader.string());
|
|
1202
|
-
continue;
|
|
1203
|
-
}
|
|
1204
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1205
|
-
break;
|
|
1206
|
-
}
|
|
1207
|
-
reader.skipType(tag & 7);
|
|
1208
|
-
}
|
|
1209
|
-
return message;
|
|
1210
|
-
},
|
|
1211
|
-
};
|
|
1212
|
-
function createBaseGrpcInputClientFeaturesRemove() {
|
|
1213
|
-
return { publicClientFeatureIds: [] };
|
|
1214
|
-
}
|
|
1215
|
-
export const GrpcInputClientFeaturesRemove = {
|
|
1216
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1217
|
-
for (const v of message.publicClientFeatureIds) {
|
|
1218
|
-
writer.uint32(10).string(v);
|
|
1219
|
-
}
|
|
1220
|
-
return writer;
|
|
1221
|
-
},
|
|
1222
|
-
decode(input, length) {
|
|
1223
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1224
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1225
|
-
const message = createBaseGrpcInputClientFeaturesRemove();
|
|
1226
|
-
while (reader.pos < end) {
|
|
1227
|
-
const tag = reader.uint32();
|
|
1228
|
-
switch (tag >>> 3) {
|
|
1229
|
-
case 1:
|
|
1230
|
-
if (tag !== 10) {
|
|
871
|
+
case 8:
|
|
872
|
+
if (tag !== 66) {
|
|
1231
873
|
break;
|
|
1232
874
|
}
|
|
1233
|
-
message.
|
|
875
|
+
message.iso2 = reader.string();
|
|
1234
876
|
continue;
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
break;
|
|
1238
|
-
}
|
|
1239
|
-
reader.skipType(tag & 7);
|
|
1240
|
-
}
|
|
1241
|
-
return message;
|
|
1242
|
-
},
|
|
1243
|
-
};
|
|
1244
|
-
function createBaseGrpcInputClient() {
|
|
1245
|
-
return { publicId: "" };
|
|
1246
|
-
}
|
|
1247
|
-
export const GrpcInputClient = {
|
|
1248
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1249
|
-
if (message.publicId !== "") {
|
|
1250
|
-
writer.uint32(10).string(message.publicId);
|
|
1251
|
-
}
|
|
1252
|
-
return writer;
|
|
1253
|
-
},
|
|
1254
|
-
decode(input, length) {
|
|
1255
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1256
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1257
|
-
const message = createBaseGrpcInputClient();
|
|
1258
|
-
while (reader.pos < end) {
|
|
1259
|
-
const tag = reader.uint32();
|
|
1260
|
-
switch (tag >>> 3) {
|
|
1261
|
-
case 1:
|
|
1262
|
-
if (tag !== 10) {
|
|
877
|
+
case 9:
|
|
878
|
+
if (tag !== 74) {
|
|
1263
879
|
break;
|
|
1264
880
|
}
|
|
1265
|
-
message.
|
|
881
|
+
message.iso3 = reader.string();
|
|
1266
882
|
continue;
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
break;
|
|
1270
|
-
}
|
|
1271
|
-
reader.skipType(tag & 7);
|
|
1272
|
-
}
|
|
1273
|
-
return message;
|
|
1274
|
-
},
|
|
1275
|
-
};
|
|
1276
|
-
function createBaseGrpcInputClientFeatures() {
|
|
1277
|
-
return { clientPublicId: "" };
|
|
1278
|
-
}
|
|
1279
|
-
export const GrpcInputClientFeatures = {
|
|
1280
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1281
|
-
if (message.clientPublicId !== "") {
|
|
1282
|
-
writer.uint32(10).string(message.clientPublicId);
|
|
1283
|
-
}
|
|
1284
|
-
return writer;
|
|
1285
|
-
},
|
|
1286
|
-
decode(input, length) {
|
|
1287
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1288
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1289
|
-
const message = createBaseGrpcInputClientFeatures();
|
|
1290
|
-
while (reader.pos < end) {
|
|
1291
|
-
const tag = reader.uint32();
|
|
1292
|
-
switch (tag >>> 3) {
|
|
1293
|
-
case 1:
|
|
1294
|
-
if (tag !== 10) {
|
|
883
|
+
case 10:
|
|
884
|
+
if (tag !== 82) {
|
|
1295
885
|
break;
|
|
1296
886
|
}
|
|
1297
|
-
message.
|
|
887
|
+
message.phoneCode = reader.string();
|
|
1298
888
|
continue;
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
break;
|
|
1302
|
-
}
|
|
1303
|
-
reader.skipType(tag & 7);
|
|
1304
|
-
}
|
|
1305
|
-
return message;
|
|
1306
|
-
},
|
|
1307
|
-
};
|
|
1308
|
-
function createBaseGrpcInputClients() {
|
|
1309
|
-
return {};
|
|
1310
|
-
}
|
|
1311
|
-
export const GrpcInputClients = {
|
|
1312
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1313
|
-
if (message.clientTypePublicId !== undefined) {
|
|
1314
|
-
writer.uint32(10).string(message.clientTypePublicId);
|
|
1315
|
-
}
|
|
1316
|
-
if (message.managerPublicId !== undefined) {
|
|
1317
|
-
writer.uint32(18).string(message.managerPublicId);
|
|
1318
|
-
}
|
|
1319
|
-
if (message.search !== undefined) {
|
|
1320
|
-
writer.uint32(26).string(message.search);
|
|
1321
|
-
}
|
|
1322
|
-
if (message.page !== undefined) {
|
|
1323
|
-
writer.uint32(32).int32(message.page);
|
|
1324
|
-
}
|
|
1325
|
-
if (message.pageSize !== undefined) {
|
|
1326
|
-
writer.uint32(40).int32(message.pageSize);
|
|
1327
|
-
}
|
|
1328
|
-
if (message.sortBy !== undefined) {
|
|
1329
|
-
writer.uint32(50).string(message.sortBy);
|
|
1330
|
-
}
|
|
1331
|
-
if (message.sortOrder !== undefined) {
|
|
1332
|
-
writer.uint32(58).string(message.sortOrder);
|
|
1333
|
-
}
|
|
1334
|
-
return writer;
|
|
1335
|
-
},
|
|
1336
|
-
decode(input, length) {
|
|
1337
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1338
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1339
|
-
const message = createBaseGrpcInputClients();
|
|
1340
|
-
while (reader.pos < end) {
|
|
1341
|
-
const tag = reader.uint32();
|
|
1342
|
-
switch (tag >>> 3) {
|
|
1343
|
-
case 1:
|
|
1344
|
-
if (tag !== 10) {
|
|
889
|
+
case 11:
|
|
890
|
+
if (tag !== 88) {
|
|
1345
891
|
break;
|
|
1346
892
|
}
|
|
1347
|
-
message.
|
|
893
|
+
message.isCapital = reader.bool();
|
|
1348
894
|
continue;
|
|
1349
|
-
case
|
|
1350
|
-
if (tag !==
|
|
895
|
+
case 12:
|
|
896
|
+
if (tag !== 96) {
|
|
1351
897
|
break;
|
|
1352
898
|
}
|
|
1353
|
-
message.
|
|
899
|
+
message.isActive = reader.bool();
|
|
1354
900
|
continue;
|
|
1355
|
-
case
|
|
1356
|
-
if (tag !==
|
|
901
|
+
case 13:
|
|
902
|
+
if (tag !== 105) {
|
|
1357
903
|
break;
|
|
1358
904
|
}
|
|
1359
|
-
message.
|
|
905
|
+
message.lat = reader.double();
|
|
1360
906
|
continue;
|
|
1361
|
-
case
|
|
1362
|
-
if (tag !==
|
|
907
|
+
case 14:
|
|
908
|
+
if (tag !== 113) {
|
|
1363
909
|
break;
|
|
1364
910
|
}
|
|
1365
|
-
message.
|
|
911
|
+
message.lng = reader.double();
|
|
1366
912
|
continue;
|
|
1367
|
-
case
|
|
1368
|
-
if (tag !==
|
|
913
|
+
case 15:
|
|
914
|
+
if (tag !== 122) {
|
|
1369
915
|
break;
|
|
1370
916
|
}
|
|
1371
|
-
message.
|
|
917
|
+
message.geoJson = reader.string();
|
|
1372
918
|
continue;
|
|
1373
|
-
case
|
|
1374
|
-
if (tag !==
|
|
919
|
+
case 16:
|
|
920
|
+
if (tag !== 130) {
|
|
1375
921
|
break;
|
|
1376
922
|
}
|
|
1377
|
-
message.
|
|
923
|
+
message.timezonePublicId = reader.string();
|
|
1378
924
|
continue;
|
|
1379
|
-
case
|
|
1380
|
-
if (tag !==
|
|
925
|
+
case 17:
|
|
926
|
+
if (tag !== 138) {
|
|
1381
927
|
break;
|
|
1382
928
|
}
|
|
1383
|
-
message.
|
|
929
|
+
message.currencyPublicId = reader.string();
|
|
930
|
+
continue;
|
|
931
|
+
case 18:
|
|
932
|
+
if (tag !== 146) {
|
|
933
|
+
break;
|
|
934
|
+
}
|
|
935
|
+
message.createdAt = Timestamp.decode(reader, reader.uint32());
|
|
936
|
+
continue;
|
|
937
|
+
case 19:
|
|
938
|
+
if (tag !== 154) {
|
|
939
|
+
break;
|
|
940
|
+
}
|
|
941
|
+
message.updatedAt = Timestamp.decode(reader, reader.uint32());
|
|
942
|
+
continue;
|
|
943
|
+
case 20:
|
|
944
|
+
if (tag !== 162) {
|
|
945
|
+
break;
|
|
946
|
+
}
|
|
947
|
+
message.deletedAt = Timestamp.decode(reader, reader.uint32());
|
|
1384
948
|
continue;
|
|
1385
949
|
}
|
|
1386
950
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -1391,38 +955,23 @@ export const GrpcInputClients = {
|
|
|
1391
955
|
return message;
|
|
1392
956
|
},
|
|
1393
957
|
};
|
|
1394
|
-
function
|
|
1395
|
-
return {
|
|
958
|
+
function createBaseGrpcDtoGeoDivisionsPage() {
|
|
959
|
+
return { items: [], nextCursor: "" };
|
|
1396
960
|
}
|
|
1397
|
-
export const
|
|
961
|
+
export const GrpcDtoGeoDivisionsPage = {
|
|
1398
962
|
encode(message, writer = _m0.Writer.create()) {
|
|
1399
|
-
|
|
1400
|
-
writer.uint32(10).
|
|
1401
|
-
}
|
|
1402
|
-
if (message.name !== "") {
|
|
1403
|
-
writer.uint32(18).string(message.name);
|
|
1404
|
-
}
|
|
1405
|
-
if (message.description !== undefined) {
|
|
1406
|
-
writer.uint32(26).string(message.description);
|
|
1407
|
-
}
|
|
1408
|
-
if (message.clientType !== undefined) {
|
|
1409
|
-
GrpcDtoClientType.encode(message.clientType, writer.uint32(34).fork()).ldelim();
|
|
1410
|
-
}
|
|
1411
|
-
if (message.createdAt !== undefined) {
|
|
1412
|
-
Timestamp.encode(message.createdAt, writer.uint32(42).fork()).ldelim();
|
|
1413
|
-
}
|
|
1414
|
-
if (message.updatedAt !== undefined) {
|
|
1415
|
-
Timestamp.encode(message.updatedAt, writer.uint32(50).fork()).ldelim();
|
|
963
|
+
for (const v of message.items) {
|
|
964
|
+
GrpcDtoGeoDivision.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1416
965
|
}
|
|
1417
|
-
if (message.
|
|
1418
|
-
|
|
966
|
+
if (message.nextCursor !== "") {
|
|
967
|
+
writer.uint32(18).string(message.nextCursor);
|
|
1419
968
|
}
|
|
1420
969
|
return writer;
|
|
1421
970
|
},
|
|
1422
971
|
decode(input, length) {
|
|
1423
972
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1424
973
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1425
|
-
const message =
|
|
974
|
+
const message = createBaseGrpcDtoGeoDivisionsPage();
|
|
1426
975
|
while (reader.pos < end) {
|
|
1427
976
|
const tag = reader.uint32();
|
|
1428
977
|
switch (tag >>> 3) {
|
|
@@ -1430,43 +979,13 @@ export const GrpcDtoClient = {
|
|
|
1430
979
|
if (tag !== 10) {
|
|
1431
980
|
break;
|
|
1432
981
|
}
|
|
1433
|
-
message.
|
|
982
|
+
message.items.push(GrpcDtoGeoDivision.decode(reader, reader.uint32()));
|
|
1434
983
|
continue;
|
|
1435
984
|
case 2:
|
|
1436
985
|
if (tag !== 18) {
|
|
1437
986
|
break;
|
|
1438
987
|
}
|
|
1439
|
-
message.
|
|
1440
|
-
continue;
|
|
1441
|
-
case 3:
|
|
1442
|
-
if (tag !== 26) {
|
|
1443
|
-
break;
|
|
1444
|
-
}
|
|
1445
|
-
message.description = reader.string();
|
|
1446
|
-
continue;
|
|
1447
|
-
case 4:
|
|
1448
|
-
if (tag !== 34) {
|
|
1449
|
-
break;
|
|
1450
|
-
}
|
|
1451
|
-
message.clientType = GrpcDtoClientType.decode(reader, reader.uint32());
|
|
1452
|
-
continue;
|
|
1453
|
-
case 5:
|
|
1454
|
-
if (tag !== 42) {
|
|
1455
|
-
break;
|
|
1456
|
-
}
|
|
1457
|
-
message.createdAt = Timestamp.decode(reader, reader.uint32());
|
|
1458
|
-
continue;
|
|
1459
|
-
case 6:
|
|
1460
|
-
if (tag !== 50) {
|
|
1461
|
-
break;
|
|
1462
|
-
}
|
|
1463
|
-
message.updatedAt = Timestamp.decode(reader, reader.uint32());
|
|
1464
|
-
continue;
|
|
1465
|
-
case 7:
|
|
1466
|
-
if (tag !== 58) {
|
|
1467
|
-
break;
|
|
1468
|
-
}
|
|
1469
|
-
message.deletedAt = Timestamp.decode(reader, reader.uint32());
|
|
988
|
+
message.nextCursor = reader.string();
|
|
1470
989
|
continue;
|
|
1471
990
|
}
|
|
1472
991
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -1477,23 +996,20 @@ export const GrpcDtoClient = {
|
|
|
1477
996
|
return message;
|
|
1478
997
|
},
|
|
1479
998
|
};
|
|
1480
|
-
function
|
|
999
|
+
function createBaseGrpcDtoGeoDivisions() {
|
|
1481
1000
|
return { items: [] };
|
|
1482
1001
|
}
|
|
1483
|
-
export const
|
|
1002
|
+
export const GrpcDtoGeoDivisions = {
|
|
1484
1003
|
encode(message, writer = _m0.Writer.create()) {
|
|
1485
1004
|
for (const v of message.items) {
|
|
1486
|
-
|
|
1487
|
-
}
|
|
1488
|
-
if (message.meta !== undefined) {
|
|
1489
|
-
GrpcDtoPagination.encode(message.meta, writer.uint32(18).fork()).ldelim();
|
|
1005
|
+
GrpcDtoGeoDivision.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1490
1006
|
}
|
|
1491
1007
|
return writer;
|
|
1492
1008
|
},
|
|
1493
1009
|
decode(input, length) {
|
|
1494
1010
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1495
1011
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1496
|
-
const message =
|
|
1012
|
+
const message = createBaseGrpcDtoGeoDivisions();
|
|
1497
1013
|
while (reader.pos < end) {
|
|
1498
1014
|
const tag = reader.uint32();
|
|
1499
1015
|
switch (tag >>> 3) {
|
|
@@ -1501,13 +1017,7 @@ export const GrpcDtoClients = {
|
|
|
1501
1017
|
if (tag !== 10) {
|
|
1502
1018
|
break;
|
|
1503
1019
|
}
|
|
1504
|
-
message.items.push(
|
|
1505
|
-
continue;
|
|
1506
|
-
case 2:
|
|
1507
|
-
if (tag !== 18) {
|
|
1508
|
-
break;
|
|
1509
|
-
}
|
|
1510
|
-
message.meta = GrpcDtoPagination.decode(reader, reader.uint32());
|
|
1020
|
+
message.items.push(GrpcDtoGeoDivision.decode(reader, reader.uint32()));
|
|
1511
1021
|
continue;
|
|
1512
1022
|
}
|
|
1513
1023
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -1518,20 +1028,23 @@ export const GrpcDtoClients = {
|
|
|
1518
1028
|
return message;
|
|
1519
1029
|
},
|
|
1520
1030
|
};
|
|
1521
|
-
function
|
|
1522
|
-
return {
|
|
1031
|
+
function createBaseGrpcInputGeoDivisionsListAll() {
|
|
1032
|
+
return { cursor: "", limit: 0 };
|
|
1523
1033
|
}
|
|
1524
|
-
export const
|
|
1034
|
+
export const GrpcInputGeoDivisionsListAll = {
|
|
1525
1035
|
encode(message, writer = _m0.Writer.create()) {
|
|
1526
|
-
|
|
1527
|
-
|
|
1036
|
+
if (message.cursor !== "") {
|
|
1037
|
+
writer.uint32(10).string(message.cursor);
|
|
1038
|
+
}
|
|
1039
|
+
if (message.limit !== 0) {
|
|
1040
|
+
writer.uint32(16).int32(message.limit);
|
|
1528
1041
|
}
|
|
1529
1042
|
return writer;
|
|
1530
1043
|
},
|
|
1531
1044
|
decode(input, length) {
|
|
1532
1045
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1533
1046
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1534
|
-
const message =
|
|
1047
|
+
const message = createBaseGrpcInputGeoDivisionsListAll();
|
|
1535
1048
|
while (reader.pos < end) {
|
|
1536
1049
|
const tag = reader.uint32();
|
|
1537
1050
|
switch (tag >>> 3) {
|
|
@@ -1539,7 +1052,13 @@ export const GrpcDtoFeaturesAdd = {
|
|
|
1539
1052
|
if (tag !== 10) {
|
|
1540
1053
|
break;
|
|
1541
1054
|
}
|
|
1542
|
-
message.
|
|
1055
|
+
message.cursor = reader.string();
|
|
1056
|
+
continue;
|
|
1057
|
+
case 2:
|
|
1058
|
+
if (tag !== 16) {
|
|
1059
|
+
break;
|
|
1060
|
+
}
|
|
1061
|
+
message.limit = reader.int32();
|
|
1543
1062
|
continue;
|
|
1544
1063
|
}
|
|
1545
1064
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -1550,26 +1069,20 @@ export const GrpcDtoFeaturesAdd = {
|
|
|
1550
1069
|
return message;
|
|
1551
1070
|
},
|
|
1552
1071
|
};
|
|
1553
|
-
function
|
|
1554
|
-
return {
|
|
1072
|
+
function createBaseGrpcInputGeoDivisionsGetByPublicIds() {
|
|
1073
|
+
return { publicIds: [] };
|
|
1555
1074
|
}
|
|
1556
|
-
export const
|
|
1075
|
+
export const GrpcInputGeoDivisionsGetByPublicIds = {
|
|
1557
1076
|
encode(message, writer = _m0.Writer.create()) {
|
|
1558
|
-
|
|
1559
|
-
writer.uint32(10).string(
|
|
1560
|
-
}
|
|
1561
|
-
if (message.feature !== undefined) {
|
|
1562
|
-
GrpcDtoFeature.encode(message.feature, writer.uint32(18).fork()).ldelim();
|
|
1563
|
-
}
|
|
1564
|
-
if (message.client !== undefined) {
|
|
1565
|
-
GrpcDtoClient.encode(message.client, writer.uint32(26).fork()).ldelim();
|
|
1077
|
+
for (const v of message.publicIds) {
|
|
1078
|
+
writer.uint32(10).string(v);
|
|
1566
1079
|
}
|
|
1567
1080
|
return writer;
|
|
1568
1081
|
},
|
|
1569
1082
|
decode(input, length) {
|
|
1570
1083
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1571
1084
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1572
|
-
const message =
|
|
1085
|
+
const message = createBaseGrpcInputGeoDivisionsGetByPublicIds();
|
|
1573
1086
|
while (reader.pos < end) {
|
|
1574
1087
|
const tag = reader.uint32();
|
|
1575
1088
|
switch (tag >>> 3) {
|
|
@@ -1577,19 +1090,7 @@ export const GrpcDtoClientFeature = {
|
|
|
1577
1090
|
if (tag !== 10) {
|
|
1578
1091
|
break;
|
|
1579
1092
|
}
|
|
1580
|
-
message.
|
|
1581
|
-
continue;
|
|
1582
|
-
case 2:
|
|
1583
|
-
if (tag !== 18) {
|
|
1584
|
-
break;
|
|
1585
|
-
}
|
|
1586
|
-
message.feature = GrpcDtoFeature.decode(reader, reader.uint32());
|
|
1587
|
-
continue;
|
|
1588
|
-
case 3:
|
|
1589
|
-
if (tag !== 26) {
|
|
1590
|
-
break;
|
|
1591
|
-
}
|
|
1592
|
-
message.client = GrpcDtoClient.decode(reader, reader.uint32());
|
|
1093
|
+
message.publicIds.push(reader.string());
|
|
1593
1094
|
continue;
|
|
1594
1095
|
}
|
|
1595
1096
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -1600,20 +1101,26 @@ export const GrpcDtoClientFeature = {
|
|
|
1600
1101
|
return message;
|
|
1601
1102
|
},
|
|
1602
1103
|
};
|
|
1603
|
-
function
|
|
1604
|
-
return {
|
|
1104
|
+
function createBaseGrpcInputGeoDivisionsListChangedSince() {
|
|
1105
|
+
return { cursor: "", limit: 0 };
|
|
1605
1106
|
}
|
|
1606
|
-
export const
|
|
1107
|
+
export const GrpcInputGeoDivisionsListChangedSince = {
|
|
1607
1108
|
encode(message, writer = _m0.Writer.create()) {
|
|
1608
|
-
|
|
1609
|
-
|
|
1109
|
+
if (message.since !== undefined) {
|
|
1110
|
+
Timestamp.encode(message.since, writer.uint32(10).fork()).ldelim();
|
|
1111
|
+
}
|
|
1112
|
+
if (message.cursor !== "") {
|
|
1113
|
+
writer.uint32(18).string(message.cursor);
|
|
1114
|
+
}
|
|
1115
|
+
if (message.limit !== 0) {
|
|
1116
|
+
writer.uint32(24).int32(message.limit);
|
|
1610
1117
|
}
|
|
1611
1118
|
return writer;
|
|
1612
1119
|
},
|
|
1613
1120
|
decode(input, length) {
|
|
1614
1121
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1615
1122
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1616
|
-
const message =
|
|
1123
|
+
const message = createBaseGrpcInputGeoDivisionsListChangedSince();
|
|
1617
1124
|
while (reader.pos < end) {
|
|
1618
1125
|
const tag = reader.uint32();
|
|
1619
1126
|
switch (tag >>> 3) {
|
|
@@ -1621,7 +1128,19 @@ export const GrpcDtoClientFeatures = {
|
|
|
1621
1128
|
if (tag !== 10) {
|
|
1622
1129
|
break;
|
|
1623
1130
|
}
|
|
1624
|
-
message.
|
|
1131
|
+
message.since = Timestamp.decode(reader, reader.uint32());
|
|
1132
|
+
continue;
|
|
1133
|
+
case 2:
|
|
1134
|
+
if (tag !== 18) {
|
|
1135
|
+
break;
|
|
1136
|
+
}
|
|
1137
|
+
message.cursor = reader.string();
|
|
1138
|
+
continue;
|
|
1139
|
+
case 3:
|
|
1140
|
+
if (tag !== 24) {
|
|
1141
|
+
break;
|
|
1142
|
+
}
|
|
1143
|
+
message.limit = reader.int32();
|
|
1625
1144
|
continue;
|
|
1626
1145
|
}
|
|
1627
1146
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -1635,22 +1154,12 @@ export const GrpcDtoClientFeatures = {
|
|
|
1635
1154
|
export function SystemServiceControllerMethods() {
|
|
1636
1155
|
return function (constructor) {
|
|
1637
1156
|
const grpcMethods = [
|
|
1638
|
-
"clientTypesSeed",
|
|
1639
|
-
"clientTypes",
|
|
1640
|
-
"clientType",
|
|
1641
1157
|
"featuresSeed",
|
|
1642
1158
|
"features",
|
|
1643
1159
|
"feature",
|
|
1644
1160
|
"featurePermissions",
|
|
1645
1161
|
"featurePermissionsAdd",
|
|
1646
1162
|
"featurePermissionsRemove",
|
|
1647
|
-
"clientCreate",
|
|
1648
|
-
"clientUpdate",
|
|
1649
|
-
"clients",
|
|
1650
|
-
"client",
|
|
1651
|
-
"clientFeaturesAdd",
|
|
1652
|
-
"clientFeaturesRemove",
|
|
1653
|
-
"clientFeatures",
|
|
1654
1163
|
];
|
|
1655
1164
|
for (const method of grpcMethods) {
|
|
1656
1165
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
@@ -1665,34 +1174,6 @@ export function SystemServiceControllerMethods() {
|
|
|
1665
1174
|
}
|
|
1666
1175
|
export const SYSTEM_SERVICE_NAME = "SystemService";
|
|
1667
1176
|
export const SystemServiceService = {
|
|
1668
|
-
/** --- Client Types --- */
|
|
1669
|
-
clientTypesSeed: {
|
|
1670
|
-
path: "/aegis.system.v1.SystemService/ClientTypesSeed",
|
|
1671
|
-
requestStream: false,
|
|
1672
|
-
responseStream: false,
|
|
1673
|
-
requestSerialize: (value) => Buffer.from(GrpcInputClientTypesSeed.encode(value).finish()),
|
|
1674
|
-
requestDeserialize: (value) => GrpcInputClientTypesSeed.decode(value),
|
|
1675
|
-
responseSerialize: (value) => Buffer.from(GrpcDtoClientTypesSeed.encode(value).finish()),
|
|
1676
|
-
responseDeserialize: (value) => GrpcDtoClientTypesSeed.decode(value),
|
|
1677
|
-
},
|
|
1678
|
-
clientTypes: {
|
|
1679
|
-
path: "/aegis.system.v1.SystemService/ClientTypes",
|
|
1680
|
-
requestStream: false,
|
|
1681
|
-
responseStream: false,
|
|
1682
|
-
requestSerialize: (value) => Buffer.from(GrpcInputClientTypes.encode(value).finish()),
|
|
1683
|
-
requestDeserialize: (value) => GrpcInputClientTypes.decode(value),
|
|
1684
|
-
responseSerialize: (value) => Buffer.from(GrpcDtoClientTypes.encode(value).finish()),
|
|
1685
|
-
responseDeserialize: (value) => GrpcDtoClientTypes.decode(value),
|
|
1686
|
-
},
|
|
1687
|
-
clientType: {
|
|
1688
|
-
path: "/aegis.system.v1.SystemService/ClientType",
|
|
1689
|
-
requestStream: false,
|
|
1690
|
-
responseStream: false,
|
|
1691
|
-
requestSerialize: (value) => Buffer.from(GrpcInputClientType.encode(value).finish()),
|
|
1692
|
-
requestDeserialize: (value) => GrpcInputClientType.decode(value),
|
|
1693
|
-
responseSerialize: (value) => Buffer.from(GrpcDtoClientType.encode(value).finish()),
|
|
1694
|
-
responseDeserialize: (value) => GrpcDtoClientType.decode(value),
|
|
1695
|
-
},
|
|
1696
1177
|
/** --- Features --- */
|
|
1697
1178
|
featuresSeed: {
|
|
1698
1179
|
path: "/aegis.system.v1.SystemService/FeaturesSeed",
|
|
@@ -1748,68 +1229,54 @@ export const SystemServiceService = {
|
|
|
1748
1229
|
responseSerialize: (value) => Buffer.from(GrpcDtoMessage.encode(value).finish()),
|
|
1749
1230
|
responseDeserialize: (value) => GrpcDtoMessage.decode(value),
|
|
1750
1231
|
},
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
path: "/aegis.system.v1.SystemService/Clients",
|
|
1772
|
-
requestStream: false,
|
|
1773
|
-
responseStream: false,
|
|
1774
|
-
requestSerialize: (value) => Buffer.from(GrpcInputClients.encode(value).finish()),
|
|
1775
|
-
requestDeserialize: (value) => GrpcInputClients.decode(value),
|
|
1776
|
-
responseSerialize: (value) => Buffer.from(GrpcDtoClients.encode(value).finish()),
|
|
1777
|
-
responseDeserialize: (value) => GrpcDtoClients.decode(value),
|
|
1778
|
-
},
|
|
1779
|
-
client: {
|
|
1780
|
-
path: "/aegis.system.v1.SystemService/Client",
|
|
1781
|
-
requestStream: false,
|
|
1782
|
-
responseStream: false,
|
|
1783
|
-
requestSerialize: (value) => Buffer.from(GrpcInputClient.encode(value).finish()),
|
|
1784
|
-
requestDeserialize: (value) => GrpcInputClient.decode(value),
|
|
1785
|
-
responseSerialize: (value) => Buffer.from(GrpcDtoClient.encode(value).finish()),
|
|
1786
|
-
responseDeserialize: (value) => GrpcDtoClient.decode(value),
|
|
1787
|
-
},
|
|
1788
|
-
clientFeaturesAdd: {
|
|
1789
|
-
path: "/aegis.system.v1.SystemService/ClientFeaturesAdd",
|
|
1232
|
+
};
|
|
1233
|
+
export function GeoServiceControllerMethods() {
|
|
1234
|
+
return function (constructor) {
|
|
1235
|
+
const grpcMethods = ["geoDivisionsListAll", "geoDivisionsGetByPublicIds", "geoDivisionsListChangedSince"];
|
|
1236
|
+
for (const method of grpcMethods) {
|
|
1237
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
1238
|
+
GrpcMethod("GeoService", method)(constructor.prototype[method], method, descriptor);
|
|
1239
|
+
}
|
|
1240
|
+
const grpcStreamMethods = [];
|
|
1241
|
+
for (const method of grpcStreamMethods) {
|
|
1242
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
1243
|
+
GrpcStreamMethod("GeoService", method)(constructor.prototype[method], method, descriptor);
|
|
1244
|
+
}
|
|
1245
|
+
};
|
|
1246
|
+
}
|
|
1247
|
+
export const GEO_SERVICE_NAME = "GeoService";
|
|
1248
|
+
export const GeoServiceService = {
|
|
1249
|
+
/** Full sync (used on first mirror boot). Paged by public_id cursor. */
|
|
1250
|
+
geoDivisionsListAll: {
|
|
1251
|
+
path: "/aegis.system.v1.GeoService/GeoDivisionsListAll",
|
|
1790
1252
|
requestStream: false,
|
|
1791
1253
|
responseStream: false,
|
|
1792
|
-
requestSerialize: (value) => Buffer.from(
|
|
1793
|
-
requestDeserialize: (value) =>
|
|
1794
|
-
responseSerialize: (value) => Buffer.from(
|
|
1795
|
-
responseDeserialize: (value) =>
|
|
1796
|
-
},
|
|
1797
|
-
|
|
1798
|
-
|
|
1254
|
+
requestSerialize: (value) => Buffer.from(GrpcInputGeoDivisionsListAll.encode(value).finish()),
|
|
1255
|
+
requestDeserialize: (value) => GrpcInputGeoDivisionsListAll.decode(value),
|
|
1256
|
+
responseSerialize: (value) => Buffer.from(GrpcDtoGeoDivisionsPage.encode(value).finish()),
|
|
1257
|
+
responseDeserialize: (value) => GrpcDtoGeoDivisionsPage.decode(value),
|
|
1258
|
+
},
|
|
1259
|
+
/** Batch fetch by public_id (used by live Redis event consumers). */
|
|
1260
|
+
geoDivisionsGetByPublicIds: {
|
|
1261
|
+
path: "/aegis.system.v1.GeoService/GeoDivisionsGetByPublicIds",
|
|
1799
1262
|
requestStream: false,
|
|
1800
1263
|
responseStream: false,
|
|
1801
|
-
requestSerialize: (value) => Buffer.from(
|
|
1802
|
-
requestDeserialize: (value) =>
|
|
1803
|
-
responseSerialize: (value) => Buffer.from(
|
|
1804
|
-
responseDeserialize: (value) =>
|
|
1805
|
-
},
|
|
1806
|
-
|
|
1807
|
-
|
|
1264
|
+
requestSerialize: (value) => Buffer.from(GrpcInputGeoDivisionsGetByPublicIds.encode(value).finish()),
|
|
1265
|
+
requestDeserialize: (value) => GrpcInputGeoDivisionsGetByPublicIds.decode(value),
|
|
1266
|
+
responseSerialize: (value) => Buffer.from(GrpcDtoGeoDivisions.encode(value).finish()),
|
|
1267
|
+
responseDeserialize: (value) => GrpcDtoGeoDivisions.decode(value),
|
|
1268
|
+
},
|
|
1269
|
+
/**
|
|
1270
|
+
* Hourly safety-net reconciler. Catches anything the Redis publisher
|
|
1271
|
+
* dropped due to restart races.
|
|
1272
|
+
*/
|
|
1273
|
+
geoDivisionsListChangedSince: {
|
|
1274
|
+
path: "/aegis.system.v1.GeoService/GeoDivisionsListChangedSince",
|
|
1808
1275
|
requestStream: false,
|
|
1809
1276
|
responseStream: false,
|
|
1810
|
-
requestSerialize: (value) => Buffer.from(
|
|
1811
|
-
requestDeserialize: (value) =>
|
|
1812
|
-
responseSerialize: (value) => Buffer.from(
|
|
1813
|
-
responseDeserialize: (value) =>
|
|
1277
|
+
requestSerialize: (value) => Buffer.from(GrpcInputGeoDivisionsListChangedSince.encode(value).finish()),
|
|
1278
|
+
requestDeserialize: (value) => GrpcInputGeoDivisionsListChangedSince.decode(value),
|
|
1279
|
+
responseSerialize: (value) => Buffer.from(GrpcDtoGeoDivisionsPage.encode(value).finish()),
|
|
1280
|
+
responseDeserialize: (value) => GrpcDtoGeoDivisionsPage.decode(value),
|
|
1814
1281
|
},
|
|
1815
1282
|
};
|