@fivenet-app/gen 2026.5.1 → 2026.7.2
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/clients.ts +6 -0
- package/codegen/perms/perms.ts +14 -2
- package/codegen/sanitizer/sanitizer.ts +6 -0
- package/google/protobuf/descriptor.ts +11 -3
- package/google/protobuf/timestamp.ts +7 -6
- package/package.json +1 -1
- package/perms.ts +352 -8
- package/resources/access/access.ts +481 -0
- package/resources/calendar/access/access.ts +0 -330
- package/resources/calendar/calendar.ts +307 -25
- package/resources/calendar/entries/entries.ts +204 -11
- package/resources/centrum/units/access/access.ts +0 -373
- package/resources/centrum/units/units.ts +20 -8
- package/resources/citizens/labels/access.ts +0 -191
- package/resources/citizens/labels/labels.ts +20 -8
- package/resources/clientconfig/clientconfig.ts +11 -0
- package/resources/common/content/diff_activity.ts +1 -1
- package/resources/cron/cron.ts +1 -1
- package/resources/documents/access/access.ts +0 -329
- package/resources/documents/activity/activity.ts +49 -45
- package/resources/documents/documents.ts +1 -1
- package/resources/documents/requests/requests.ts +1 -1
- package/resources/documents/stamps/stamp.ts +40 -210
- package/resources/documents/templates/templates.ts +158 -318
- package/resources/jobs/colleagues/activity/activity.ts +1 -1
- package/resources/jobs/conduct/conduct.ts +2 -2
- package/resources/jobs/labels/labels.ts +9 -9
- package/resources/laws/laws.ts +24 -0
- package/resources/livemap/markers/marker_marker.ts +311 -4
- package/resources/mailer/access/access.ts +0 -457
- package/resources/mailer/emails/email.ts +4 -4
- package/resources/notifications/events/events.ts +37 -2
- package/resources/qualifications/access/access.ts +0 -248
- package/resources/qualifications/qualifications.ts +9 -9
- package/resources/settings/config.ts +64 -5
- package/resources/settings/data.ts +1 -1
- package/resources/stats/stats.ts +32 -20
- package/resources/sync/data/data.ts +26 -1
- package/resources/timestamp/timestamp.ts +1 -1
- package/resources/userinfo/userinfo.ts +202 -51
- package/resources/users/activity/activity.ts +1 -1
- package/resources/vehicles/activity/activity.ts +146 -10
- package/resources/wiki/access/access.ts +0 -330
- package/resources/wiki/activity/activity.ts +45 -45
- package/resources/wiki/page.ts +9 -9
- package/services/auth/auth.client.ts +15 -2
- package/services/auth/auth.ts +135 -0
- package/services/calendar/calendar.ts +1 -1
- package/services/calendar/entries.ts +12 -1
- package/services/centrum/dispatches.ts +27 -7
- package/services/centrum/units.client.ts +15 -2
- package/services/centrum/units.ts +231 -123
- package/services/citizens/citizens.ts +1 -1
- package/services/citizens/labels.client.ts +7 -20
- package/services/citizens/labels.ts +35 -183
- package/services/documents/approval.ts +15 -4
- package/services/documents/collab.ts +1 -1
- package/services/documents/documents.ts +38 -38
- package/services/documents/stats.ts +14 -2
- package/services/filestore/filestore.ts +4 -4
- package/services/jobs/colleagues.ts +3 -3
- package/services/jobs/conduct.ts +15 -4
- package/services/jobs/groups.client.ts +22 -0
- package/services/jobs/groups.ts +9 -0
- package/services/jobs/timeclock.ts +2 -2
- package/services/mailer/thread.ts +2 -2
- package/services/qualifications/qualifications.ts +52 -34
- package/services/settings/accounts.ts +5 -5
- package/services/settings/config.ts +2 -2
- package/services/settings/cron.ts +2 -2
- package/services/settings/laws.client.ts +28 -2
- package/services/settings/laws.ts +229 -1
- package/services/settings/system.ts +6 -6
- package/services/sync/sync.client.ts +129 -20
- package/services/sync/sync.ts +262 -19
- package/services/vehicles/vehicles.client.ts +13 -0
- package/services/vehicles/vehicles.ts +181 -13
- package/services/wiki/wiki.client.ts +15 -2
- package/services/wiki/wiki.ts +122 -0
- package/svcs.ts +21 -2
|
@@ -101,6 +101,38 @@ export interface DeleteLawResponse {
|
|
|
101
101
|
*/
|
|
102
102
|
deletedAt?: Timestamp;
|
|
103
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* @generated from protobuf message services.settings.ReorderLawsRequest
|
|
106
|
+
*/
|
|
107
|
+
export interface ReorderLawsRequest {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from protobuf field: int64 law_book_id = 1
|
|
110
|
+
*/
|
|
111
|
+
lawBookId: number;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from protobuf field: repeated int64 law_ids = 2
|
|
114
|
+
*/
|
|
115
|
+
lawIds: number[];
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @generated from protobuf message services.settings.ReorderLawsResponse
|
|
119
|
+
*/
|
|
120
|
+
export interface ReorderLawsResponse {
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @generated from protobuf message services.settings.ReorderLawBooksRequest
|
|
124
|
+
*/
|
|
125
|
+
export interface ReorderLawBooksRequest {
|
|
126
|
+
/**
|
|
127
|
+
* @generated from protobuf field: repeated int64 law_book_ids = 1
|
|
128
|
+
*/
|
|
129
|
+
lawBookIds: number[];
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @generated from protobuf message services.settings.ReorderLawBooksResponse
|
|
133
|
+
*/
|
|
134
|
+
export interface ReorderLawBooksResponse {
|
|
135
|
+
}
|
|
104
136
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
105
137
|
class ListLawBooksRequest$Type extends MessageType<ListLawBooksRequest> {
|
|
106
138
|
constructor() {
|
|
@@ -556,6 +588,200 @@ class DeleteLawResponse$Type extends MessageType<DeleteLawResponse> {
|
|
|
556
588
|
* @generated MessageType for protobuf message services.settings.DeleteLawResponse
|
|
557
589
|
*/
|
|
558
590
|
export const DeleteLawResponse = new DeleteLawResponse$Type();
|
|
591
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
592
|
+
class ReorderLawsRequest$Type extends MessageType<ReorderLawsRequest> {
|
|
593
|
+
constructor() {
|
|
594
|
+
super("services.settings.ReorderLawsRequest", [
|
|
595
|
+
{ no: 1, name: "law_book_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/, options: { "buf.validate.field": { int64: { gt: "0" } } } },
|
|
596
|
+
{ no: 2, name: "law_ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/, options: { "buf.validate.field": { repeated: { minItems: "1", maxItems: "200", items: { int64: { gt: "0" } } } } } }
|
|
597
|
+
]);
|
|
598
|
+
}
|
|
599
|
+
create(value?: PartialMessage<ReorderLawsRequest>): ReorderLawsRequest {
|
|
600
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
601
|
+
message.lawBookId = 0;
|
|
602
|
+
message.lawIds = [];
|
|
603
|
+
if (value !== undefined)
|
|
604
|
+
reflectionMergePartial<ReorderLawsRequest>(this, message, value);
|
|
605
|
+
return message;
|
|
606
|
+
}
|
|
607
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReorderLawsRequest): ReorderLawsRequest {
|
|
608
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
609
|
+
while (reader.pos < end) {
|
|
610
|
+
let [fieldNo, wireType] = reader.tag();
|
|
611
|
+
switch (fieldNo) {
|
|
612
|
+
case /* int64 law_book_id */ 1:
|
|
613
|
+
message.lawBookId = reader.int64().toNumber();
|
|
614
|
+
break;
|
|
615
|
+
case /* repeated int64 law_ids */ 2:
|
|
616
|
+
if (wireType === WireType.LengthDelimited)
|
|
617
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
618
|
+
message.lawIds.push(reader.int64().toNumber());
|
|
619
|
+
else
|
|
620
|
+
message.lawIds.push(reader.int64().toNumber());
|
|
621
|
+
break;
|
|
622
|
+
default:
|
|
623
|
+
let u = options.readUnknownField;
|
|
624
|
+
if (u === "throw")
|
|
625
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
626
|
+
let d = reader.skip(wireType);
|
|
627
|
+
if (u !== false)
|
|
628
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
return message;
|
|
632
|
+
}
|
|
633
|
+
internalBinaryWrite(message: ReorderLawsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
634
|
+
/* int64 law_book_id = 1; */
|
|
635
|
+
if (message.lawBookId !== 0)
|
|
636
|
+
writer.tag(1, WireType.Varint).int64(message.lawBookId);
|
|
637
|
+
/* repeated int64 law_ids = 2; */
|
|
638
|
+
if (message.lawIds.length) {
|
|
639
|
+
writer.tag(2, WireType.LengthDelimited).fork();
|
|
640
|
+
for (let i = 0; i < message.lawIds.length; i++)
|
|
641
|
+
writer.int64(message.lawIds[i]);
|
|
642
|
+
writer.join();
|
|
643
|
+
}
|
|
644
|
+
let u = options.writeUnknownFields;
|
|
645
|
+
if (u !== false)
|
|
646
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
647
|
+
return writer;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* @generated MessageType for protobuf message services.settings.ReorderLawsRequest
|
|
652
|
+
*/
|
|
653
|
+
export const ReorderLawsRequest = new ReorderLawsRequest$Type();
|
|
654
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
655
|
+
class ReorderLawsResponse$Type extends MessageType<ReorderLawsResponse> {
|
|
656
|
+
constructor() {
|
|
657
|
+
super("services.settings.ReorderLawsResponse", []);
|
|
658
|
+
}
|
|
659
|
+
create(value?: PartialMessage<ReorderLawsResponse>): ReorderLawsResponse {
|
|
660
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
661
|
+
if (value !== undefined)
|
|
662
|
+
reflectionMergePartial<ReorderLawsResponse>(this, message, value);
|
|
663
|
+
return message;
|
|
664
|
+
}
|
|
665
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReorderLawsResponse): ReorderLawsResponse {
|
|
666
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
667
|
+
while (reader.pos < end) {
|
|
668
|
+
let [fieldNo, wireType] = reader.tag();
|
|
669
|
+
switch (fieldNo) {
|
|
670
|
+
default:
|
|
671
|
+
let u = options.readUnknownField;
|
|
672
|
+
if (u === "throw")
|
|
673
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
674
|
+
let d = reader.skip(wireType);
|
|
675
|
+
if (u !== false)
|
|
676
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
return message;
|
|
680
|
+
}
|
|
681
|
+
internalBinaryWrite(message: ReorderLawsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
682
|
+
let u = options.writeUnknownFields;
|
|
683
|
+
if (u !== false)
|
|
684
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
685
|
+
return writer;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* @generated MessageType for protobuf message services.settings.ReorderLawsResponse
|
|
690
|
+
*/
|
|
691
|
+
export const ReorderLawsResponse = new ReorderLawsResponse$Type();
|
|
692
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
693
|
+
class ReorderLawBooksRequest$Type extends MessageType<ReorderLawBooksRequest> {
|
|
694
|
+
constructor() {
|
|
695
|
+
super("services.settings.ReorderLawBooksRequest", [
|
|
696
|
+
{ no: 1, name: "law_book_ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/, options: { "buf.validate.field": { repeated: { minItems: "1", maxItems: "200", items: { int64: { gt: "0" } } } } } }
|
|
697
|
+
]);
|
|
698
|
+
}
|
|
699
|
+
create(value?: PartialMessage<ReorderLawBooksRequest>): ReorderLawBooksRequest {
|
|
700
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
701
|
+
message.lawBookIds = [];
|
|
702
|
+
if (value !== undefined)
|
|
703
|
+
reflectionMergePartial<ReorderLawBooksRequest>(this, message, value);
|
|
704
|
+
return message;
|
|
705
|
+
}
|
|
706
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReorderLawBooksRequest): ReorderLawBooksRequest {
|
|
707
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
708
|
+
while (reader.pos < end) {
|
|
709
|
+
let [fieldNo, wireType] = reader.tag();
|
|
710
|
+
switch (fieldNo) {
|
|
711
|
+
case /* repeated int64 law_book_ids */ 1:
|
|
712
|
+
if (wireType === WireType.LengthDelimited)
|
|
713
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
714
|
+
message.lawBookIds.push(reader.int64().toNumber());
|
|
715
|
+
else
|
|
716
|
+
message.lawBookIds.push(reader.int64().toNumber());
|
|
717
|
+
break;
|
|
718
|
+
default:
|
|
719
|
+
let u = options.readUnknownField;
|
|
720
|
+
if (u === "throw")
|
|
721
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
722
|
+
let d = reader.skip(wireType);
|
|
723
|
+
if (u !== false)
|
|
724
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
return message;
|
|
728
|
+
}
|
|
729
|
+
internalBinaryWrite(message: ReorderLawBooksRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
730
|
+
/* repeated int64 law_book_ids = 1; */
|
|
731
|
+
if (message.lawBookIds.length) {
|
|
732
|
+
writer.tag(1, WireType.LengthDelimited).fork();
|
|
733
|
+
for (let i = 0; i < message.lawBookIds.length; i++)
|
|
734
|
+
writer.int64(message.lawBookIds[i]);
|
|
735
|
+
writer.join();
|
|
736
|
+
}
|
|
737
|
+
let u = options.writeUnknownFields;
|
|
738
|
+
if (u !== false)
|
|
739
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
740
|
+
return writer;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* @generated MessageType for protobuf message services.settings.ReorderLawBooksRequest
|
|
745
|
+
*/
|
|
746
|
+
export const ReorderLawBooksRequest = new ReorderLawBooksRequest$Type();
|
|
747
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
748
|
+
class ReorderLawBooksResponse$Type extends MessageType<ReorderLawBooksResponse> {
|
|
749
|
+
constructor() {
|
|
750
|
+
super("services.settings.ReorderLawBooksResponse", []);
|
|
751
|
+
}
|
|
752
|
+
create(value?: PartialMessage<ReorderLawBooksResponse>): ReorderLawBooksResponse {
|
|
753
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
754
|
+
if (value !== undefined)
|
|
755
|
+
reflectionMergePartial<ReorderLawBooksResponse>(this, message, value);
|
|
756
|
+
return message;
|
|
757
|
+
}
|
|
758
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReorderLawBooksResponse): ReorderLawBooksResponse {
|
|
759
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
760
|
+
while (reader.pos < end) {
|
|
761
|
+
let [fieldNo, wireType] = reader.tag();
|
|
762
|
+
switch (fieldNo) {
|
|
763
|
+
default:
|
|
764
|
+
let u = options.readUnknownField;
|
|
765
|
+
if (u === "throw")
|
|
766
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
767
|
+
let d = reader.skip(wireType);
|
|
768
|
+
if (u !== false)
|
|
769
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
return message;
|
|
773
|
+
}
|
|
774
|
+
internalBinaryWrite(message: ReorderLawBooksResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
775
|
+
let u = options.writeUnknownFields;
|
|
776
|
+
if (u !== false)
|
|
777
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
778
|
+
return writer;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* @generated MessageType for protobuf message services.settings.ReorderLawBooksResponse
|
|
783
|
+
*/
|
|
784
|
+
export const ReorderLawBooksResponse = new ReorderLawBooksResponse$Type();
|
|
559
785
|
/**
|
|
560
786
|
* @generated ServiceType for protobuf service services.settings.LawsService
|
|
561
787
|
*/
|
|
@@ -563,6 +789,8 @@ export const LawsService = new ServiceType("services.settings.LawsService", [
|
|
|
563
789
|
{ name: "ListLawBooks", options: { "codegen.perms.perms": { enabled: true, name: "CreateOrUpdateLawBook" } }, I: ListLawBooksRequest, O: ListLawBooksResponse },
|
|
564
790
|
{ name: "CreateOrUpdateLawBook", options: { "codegen.perms.perms": { enabled: true } }, I: CreateOrUpdateLawBookRequest, O: CreateOrUpdateLawBookResponse },
|
|
565
791
|
{ name: "DeleteLawBook", options: { "codegen.perms.perms": { enabled: true } }, I: DeleteLawBookRequest, O: DeleteLawBookResponse },
|
|
792
|
+
{ name: "ReorderLawBooks", options: { "codegen.perms.perms": { enabled: true, name: "CreateOrUpdateLawBook" } }, I: ReorderLawBooksRequest, O: ReorderLawBooksResponse },
|
|
566
793
|
{ name: "CreateOrUpdateLaw", options: { "codegen.perms.perms": { enabled: true, name: "CreateOrUpdateLawBook" } }, I: CreateOrUpdateLawRequest, O: CreateOrUpdateLawResponse },
|
|
567
|
-
{ name: "DeleteLaw", options: { "codegen.perms.perms": { enabled: true, name: "DeleteLawBook" } }, I: DeleteLawRequest, O: DeleteLawResponse }
|
|
794
|
+
{ name: "DeleteLaw", options: { "codegen.perms.perms": { enabled: true, name: "DeleteLawBook" } }, I: DeleteLawRequest, O: DeleteLawResponse },
|
|
795
|
+
{ name: "ReorderLaws", options: { "codegen.perms.perms": { enabled: true, name: "CreateOrUpdateLawBook" } }, I: ReorderLawsRequest, O: ReorderLawsResponse }
|
|
568
796
|
], { "codegen.perms.perms_svc": { order: 122, icon: "i-mdi-scale-balance" } });
|
|
@@ -709,10 +709,10 @@ export const TriggerUserSyncResponse = new TriggerUserSyncResponse$Type();
|
|
|
709
709
|
* @generated ServiceType for protobuf service services.settings.SystemService
|
|
710
710
|
*/
|
|
711
711
|
export const SystemService = new ServiceType("services.settings.SystemService", [
|
|
712
|
-
{ name: "GetStatus", options: { "codegen.perms.perms": { enabled: true, name: "
|
|
713
|
-
{ name: "GetAllPermissions", options: { "codegen.perms.perms": { enabled: true, name: "
|
|
714
|
-
{ name: "GetJobLimits", options: { "codegen.perms.perms": { enabled: true, name: "
|
|
715
|
-
{ name: "UpdateJobLimits", options: { "codegen.perms.perms": { enabled: true, name: "
|
|
716
|
-
{ name: "DeleteFaction", options: { "codegen.perms.perms": { enabled: true, name: "
|
|
717
|
-
{ name: "TriggerUserSync", options: { "codegen.perms.perms": { enabled: true, name: "
|
|
712
|
+
{ name: "GetStatus", options: { "codegen.perms.perms": { enabled: true, name: "ConfigAdmin" } }, I: GetStatusRequest, O: GetStatusResponse },
|
|
713
|
+
{ name: "GetAllPermissions", options: { "codegen.perms.perms": { enabled: true, name: "JobAdmin" } }, I: GetAllPermissionsRequest, O: GetAllPermissionsResponse },
|
|
714
|
+
{ name: "GetJobLimits", options: { "codegen.perms.perms": { enabled: true, name: "JobAdmin" } }, I: GetJobLimitsRequest, O: GetJobLimitsResponse },
|
|
715
|
+
{ name: "UpdateJobLimits", options: { "codegen.perms.perms": { enabled: true, name: "JobAdmin" } }, I: UpdateJobLimitsRequest, O: UpdateJobLimitsResponse },
|
|
716
|
+
{ name: "DeleteFaction", options: { "codegen.perms.perms": { enabled: true, name: "JobAdmin" } }, I: DeleteFactionRequest, O: DeleteFactionResponse },
|
|
717
|
+
{ name: "TriggerUserSync", options: { "codegen.perms.perms": { enabled: true, name: "ConfigAdmin" } }, I: TriggerUserSyncRequest, O: TriggerUserSyncResponse }
|
|
718
718
|
]);
|
|
@@ -12,7 +12,6 @@ import type { StreamResponse } from "./sync";
|
|
|
12
12
|
import type { StreamRequest } from "./sync";
|
|
13
13
|
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
14
14
|
import type { DeleteVehiclesRequest } from "./sync";
|
|
15
|
-
import type { DeleteDataResponse } from "./sync";
|
|
16
15
|
import type { DeleteUsersRequest } from "./sync";
|
|
17
16
|
import type { SetLastCharIDRequest } from "./sync";
|
|
18
17
|
import type { SendUserLocationsRequest } from "./sync";
|
|
@@ -22,6 +21,11 @@ import type { SendAccountsRequest } from "./sync";
|
|
|
22
21
|
import type { SendLicensesRequest } from "./sync";
|
|
23
22
|
import type { SendDataResponse } from "./sync";
|
|
24
23
|
import type { SendJobsRequest } from "./sync";
|
|
24
|
+
import type { EndActiveJobTimeclocksResponse } from "./sync";
|
|
25
|
+
import type { EndActiveJobTimeclocksRequest } from "./sync";
|
|
26
|
+
import type { DeleteDataResponse } from "./sync";
|
|
27
|
+
import type { DeleteMarkerRequest } from "./sync";
|
|
28
|
+
import type { AddMarkerRequest } from "./sync";
|
|
25
29
|
import type { AddDispatchRequest } from "./sync";
|
|
26
30
|
import type { AddJobTimeclockRequest } from "./sync";
|
|
27
31
|
import type { AddColleaguePropsRequest } from "./sync";
|
|
@@ -67,80 +71,128 @@ export interface ISyncServiceClient {
|
|
|
67
71
|
*/
|
|
68
72
|
transferAccount(input: TransferAccountRequest, options?: RpcOptions): UnaryCall<TransferAccountRequest, TransferAccountResponse>;
|
|
69
73
|
/**
|
|
70
|
-
*
|
|
74
|
+
* Add Discord OAuth2/social login connection for a user's account.
|
|
71
75
|
*
|
|
72
76
|
* @generated from protobuf rpc: AddUserOAuth2Conn
|
|
73
77
|
*/
|
|
74
78
|
addUserOAuth2Conn(input: AddUserOAuth2ConnRequest, options?: RpcOptions): UnaryCall<AddUserOAuth2ConnRequest, AddActivityResponse>;
|
|
75
79
|
/**
|
|
80
|
+
* Record an account update activity.
|
|
81
|
+
*
|
|
76
82
|
* @generated from protobuf rpc: AddAccountUpdate
|
|
77
83
|
*/
|
|
78
84
|
addAccountUpdate(input: AddAccountUpdateRequest, options?: RpcOptions): UnaryCall<AddAccountUpdateRequest, AddActivityResponse>;
|
|
79
85
|
/**
|
|
86
|
+
* Record a user update activity.
|
|
87
|
+
*
|
|
80
88
|
* @generated from protobuf rpc: AddUserUpdate
|
|
81
89
|
*/
|
|
82
90
|
addUserUpdate(input: AddUserUpdateRequest, options?: RpcOptions): UnaryCall<AddUserUpdateRequest, AddActivityResponse>;
|
|
83
91
|
/**
|
|
92
|
+
* Record a user activity entry.
|
|
93
|
+
*
|
|
84
94
|
* @generated from protobuf rpc: AddUserActivity
|
|
85
95
|
*/
|
|
86
96
|
addUserActivity(input: AddUserActivityRequest, options?: RpcOptions): UnaryCall<AddUserActivityRequest, AddActivityResponse>;
|
|
87
97
|
/**
|
|
98
|
+
* Record user property changes.
|
|
99
|
+
*
|
|
88
100
|
* @generated from protobuf rpc: AddUserProps
|
|
89
101
|
*/
|
|
90
102
|
addUserProps(input: AddUserPropsRequest, options?: RpcOptions): UnaryCall<AddUserPropsRequest, AddActivityResponse>;
|
|
91
103
|
/**
|
|
104
|
+
* Record a colleague activity entry.
|
|
105
|
+
*
|
|
92
106
|
* @generated from protobuf rpc: AddColleagueActivity
|
|
93
107
|
*/
|
|
94
108
|
addColleagueActivity(input: AddColleagueActivityRequest, options?: RpcOptions): UnaryCall<AddColleagueActivityRequest, AddActivityResponse>;
|
|
95
109
|
/**
|
|
110
|
+
* Record colleague property changes.
|
|
111
|
+
*
|
|
96
112
|
* @generated from protobuf rpc: AddColleagueProps
|
|
97
113
|
*/
|
|
98
114
|
addColleagueProps(input: AddColleaguePropsRequest, options?: RpcOptions): UnaryCall<AddColleaguePropsRequest, AddActivityResponse>;
|
|
99
115
|
/**
|
|
116
|
+
* Record a job timeclock entry.
|
|
117
|
+
*
|
|
100
118
|
* @generated from protobuf rpc: AddJobTimeclock
|
|
101
119
|
*/
|
|
102
120
|
addJobTimeclock(input: AddJobTimeclockRequest, options?: RpcOptions): UnaryCall<AddJobTimeclockRequest, AddActivityResponse>;
|
|
103
121
|
/**
|
|
122
|
+
* Record a dispatch activity entry.
|
|
123
|
+
*
|
|
104
124
|
* @generated from protobuf rpc: AddDispatch
|
|
105
125
|
*/
|
|
106
126
|
addDispatch(input: AddDispatchRequest, options?: RpcOptions): UnaryCall<AddDispatchRequest, AddActivityResponse>;
|
|
107
127
|
/**
|
|
108
|
-
*
|
|
128
|
+
* AddMarker Create a temporary marker on the live map (if no expiration time is provided, it will default to 24 hours).
|
|
129
|
+
*
|
|
130
|
+
* @generated from protobuf rpc: AddMarker
|
|
131
|
+
*/
|
|
132
|
+
addMarker(input: AddMarkerRequest, options?: RpcOptions): UnaryCall<AddMarkerRequest, AddActivityResponse>;
|
|
133
|
+
/**
|
|
134
|
+
* Remove a temporary map marker.
|
|
135
|
+
*
|
|
136
|
+
* @generated from protobuf rpc: DeleteMarker
|
|
137
|
+
*/
|
|
138
|
+
deleteMarker(input: DeleteMarkerRequest, options?: RpcOptions): UnaryCall<DeleteMarkerRequest, DeleteDataResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* End all active job timeclock entries, typically during server shutdown.
|
|
141
|
+
*
|
|
142
|
+
* @generated from protobuf rpc: EndActiveJobTimeclocks
|
|
143
|
+
*/
|
|
144
|
+
endActiveJobTimeclocks(input: EndActiveJobTimeclocksRequest, options?: RpcOptions): UnaryCall<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* Sync job data to the server.
|
|
109
147
|
*
|
|
110
148
|
* @generated from protobuf rpc: SendJobs
|
|
111
149
|
*/
|
|
112
150
|
sendJobs(input: SendJobsRequest, options?: RpcOptions): UnaryCall<SendJobsRequest, SendDataResponse>;
|
|
113
151
|
/**
|
|
152
|
+
* Sync license data to the server.
|
|
153
|
+
*
|
|
114
154
|
* @generated from protobuf rpc: SendLicenses
|
|
115
155
|
*/
|
|
116
156
|
sendLicenses(input: SendLicensesRequest, options?: RpcOptions): UnaryCall<SendLicensesRequest, SendDataResponse>;
|
|
117
157
|
/**
|
|
158
|
+
* Sync account data to the server.
|
|
159
|
+
*
|
|
118
160
|
* @generated from protobuf rpc: SendAccounts
|
|
119
161
|
*/
|
|
120
162
|
sendAccounts(input: SendAccountsRequest, options?: RpcOptions): UnaryCall<SendAccountsRequest, SendDataResponse>;
|
|
121
163
|
/**
|
|
164
|
+
* Sync user data to the server.
|
|
165
|
+
*
|
|
122
166
|
* @generated from protobuf rpc: SendUsers
|
|
123
167
|
*/
|
|
124
168
|
sendUsers(input: SendUsersRequest, options?: RpcOptions): UnaryCall<SendUsersRequest, SendDataResponse>;
|
|
125
169
|
/**
|
|
170
|
+
* Sync vehicle data to the server.
|
|
171
|
+
*
|
|
126
172
|
* @generated from protobuf rpc: SendVehicles
|
|
127
173
|
*/
|
|
128
174
|
sendVehicles(input: SendVehiclesRequest, options?: RpcOptions): UnaryCall<SendVehiclesRequest, SendDataResponse>;
|
|
129
175
|
/**
|
|
176
|
+
* Sync user location data to the server.
|
|
177
|
+
*
|
|
130
178
|
* @generated from protobuf rpc: SendUserLocations
|
|
131
179
|
*/
|
|
132
180
|
sendUserLocations(input: SendUserLocationsRequest, options?: RpcOptions): UnaryCall<SendUserLocationsRequest, SendDataResponse>;
|
|
133
181
|
/**
|
|
182
|
+
* Sync the last character ID for a user.
|
|
183
|
+
*
|
|
134
184
|
* @generated from protobuf rpc: SetLastCharID
|
|
135
185
|
*/
|
|
136
186
|
setLastCharID(input: SetLastCharIDRequest, options?: RpcOptions): UnaryCall<SetLastCharIDRequest, SendDataResponse>;
|
|
137
187
|
/**
|
|
138
|
-
*
|
|
188
|
+
* Delete users from the sync store.
|
|
139
189
|
*
|
|
140
190
|
* @generated from protobuf rpc: DeleteUsers
|
|
141
191
|
*/
|
|
142
192
|
deleteUsers(input: DeleteUsersRequest, options?: RpcOptions): UnaryCall<DeleteUsersRequest, DeleteDataResponse>;
|
|
143
193
|
/**
|
|
194
|
+
* Delete vehicles from the sync store.
|
|
195
|
+
*
|
|
144
196
|
* @generated from protobuf rpc: DeleteVehicles
|
|
145
197
|
*/
|
|
146
198
|
deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse>;
|
|
@@ -212,7 +264,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
212
264
|
return stackIntercept<TransferAccountRequest, TransferAccountResponse>("unary", this._transport, method, opt, input);
|
|
213
265
|
}
|
|
214
266
|
/**
|
|
215
|
-
*
|
|
267
|
+
* Add Discord OAuth2/social login connection for a user's account.
|
|
216
268
|
*
|
|
217
269
|
* @generated from protobuf rpc: AddUserOAuth2Conn
|
|
218
270
|
*/
|
|
@@ -221,6 +273,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
221
273
|
return stackIntercept<AddUserOAuth2ConnRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
222
274
|
}
|
|
223
275
|
/**
|
|
276
|
+
* Record an account update activity.
|
|
277
|
+
*
|
|
224
278
|
* @generated from protobuf rpc: AddAccountUpdate
|
|
225
279
|
*/
|
|
226
280
|
addAccountUpdate(input: AddAccountUpdateRequest, options?: RpcOptions): UnaryCall<AddAccountUpdateRequest, AddActivityResponse> {
|
|
@@ -228,6 +282,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
228
282
|
return stackIntercept<AddAccountUpdateRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
229
283
|
}
|
|
230
284
|
/**
|
|
285
|
+
* Record a user update activity.
|
|
286
|
+
*
|
|
231
287
|
* @generated from protobuf rpc: AddUserUpdate
|
|
232
288
|
*/
|
|
233
289
|
addUserUpdate(input: AddUserUpdateRequest, options?: RpcOptions): UnaryCall<AddUserUpdateRequest, AddActivityResponse> {
|
|
@@ -235,6 +291,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
235
291
|
return stackIntercept<AddUserUpdateRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
236
292
|
}
|
|
237
293
|
/**
|
|
294
|
+
* Record a user activity entry.
|
|
295
|
+
*
|
|
238
296
|
* @generated from protobuf rpc: AddUserActivity
|
|
239
297
|
*/
|
|
240
298
|
addUserActivity(input: AddUserActivityRequest, options?: RpcOptions): UnaryCall<AddUserActivityRequest, AddActivityResponse> {
|
|
@@ -242,6 +300,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
242
300
|
return stackIntercept<AddUserActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
243
301
|
}
|
|
244
302
|
/**
|
|
303
|
+
* Record user property changes.
|
|
304
|
+
*
|
|
245
305
|
* @generated from protobuf rpc: AddUserProps
|
|
246
306
|
*/
|
|
247
307
|
addUserProps(input: AddUserPropsRequest, options?: RpcOptions): UnaryCall<AddUserPropsRequest, AddActivityResponse> {
|
|
@@ -249,6 +309,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
249
309
|
return stackIntercept<AddUserPropsRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
250
310
|
}
|
|
251
311
|
/**
|
|
312
|
+
* Record a colleague activity entry.
|
|
313
|
+
*
|
|
252
314
|
* @generated from protobuf rpc: AddColleagueActivity
|
|
253
315
|
*/
|
|
254
316
|
addColleagueActivity(input: AddColleagueActivityRequest, options?: RpcOptions): UnaryCall<AddColleagueActivityRequest, AddActivityResponse> {
|
|
@@ -256,6 +318,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
256
318
|
return stackIntercept<AddColleagueActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
257
319
|
}
|
|
258
320
|
/**
|
|
321
|
+
* Record colleague property changes.
|
|
322
|
+
*
|
|
259
323
|
* @generated from protobuf rpc: AddColleagueProps
|
|
260
324
|
*/
|
|
261
325
|
addColleagueProps(input: AddColleaguePropsRequest, options?: RpcOptions): UnaryCall<AddColleaguePropsRequest, AddActivityResponse> {
|
|
@@ -263,6 +327,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
263
327
|
return stackIntercept<AddColleaguePropsRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
264
328
|
}
|
|
265
329
|
/**
|
|
330
|
+
* Record a job timeclock entry.
|
|
331
|
+
*
|
|
266
332
|
* @generated from protobuf rpc: AddJobTimeclock
|
|
267
333
|
*/
|
|
268
334
|
addJobTimeclock(input: AddJobTimeclockRequest, options?: RpcOptions): UnaryCall<AddJobTimeclockRequest, AddActivityResponse> {
|
|
@@ -270,6 +336,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
270
336
|
return stackIntercept<AddJobTimeclockRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
271
337
|
}
|
|
272
338
|
/**
|
|
339
|
+
* Record a dispatch activity entry.
|
|
340
|
+
*
|
|
273
341
|
* @generated from protobuf rpc: AddDispatch
|
|
274
342
|
*/
|
|
275
343
|
addDispatch(input: AddDispatchRequest, options?: RpcOptions): UnaryCall<AddDispatchRequest, AddActivityResponse> {
|
|
@@ -277,70 +345,111 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
277
345
|
return stackIntercept<AddDispatchRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
278
346
|
}
|
|
279
347
|
/**
|
|
280
|
-
*
|
|
348
|
+
* AddMarker Create a temporary marker on the live map (if no expiration time is provided, it will default to 24 hours).
|
|
349
|
+
*
|
|
350
|
+
* @generated from protobuf rpc: AddMarker
|
|
351
|
+
*/
|
|
352
|
+
addMarker(input: AddMarkerRequest, options?: RpcOptions): UnaryCall<AddMarkerRequest, AddActivityResponse> {
|
|
353
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
354
|
+
return stackIntercept<AddMarkerRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Remove a temporary map marker.
|
|
358
|
+
*
|
|
359
|
+
* @generated from protobuf rpc: DeleteMarker
|
|
360
|
+
*/
|
|
361
|
+
deleteMarker(input: DeleteMarkerRequest, options?: RpcOptions): UnaryCall<DeleteMarkerRequest, DeleteDataResponse> {
|
|
362
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
363
|
+
return stackIntercept<DeleteMarkerRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* End all active job timeclock entries, typically during server shutdown.
|
|
367
|
+
*
|
|
368
|
+
* @generated from protobuf rpc: EndActiveJobTimeclocks
|
|
369
|
+
*/
|
|
370
|
+
endActiveJobTimeclocks(input: EndActiveJobTimeclocksRequest, options?: RpcOptions): UnaryCall<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse> {
|
|
371
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
372
|
+
return stackIntercept<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse>("unary", this._transport, method, opt, input);
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Sync job data to the server.
|
|
281
376
|
*
|
|
282
377
|
* @generated from protobuf rpc: SendJobs
|
|
283
378
|
*/
|
|
284
379
|
sendJobs(input: SendJobsRequest, options?: RpcOptions): UnaryCall<SendJobsRequest, SendDataResponse> {
|
|
285
|
-
const method = this.methods[
|
|
380
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
286
381
|
return stackIntercept<SendJobsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
287
382
|
}
|
|
288
383
|
/**
|
|
384
|
+
* Sync license data to the server.
|
|
385
|
+
*
|
|
289
386
|
* @generated from protobuf rpc: SendLicenses
|
|
290
387
|
*/
|
|
291
388
|
sendLicenses(input: SendLicensesRequest, options?: RpcOptions): UnaryCall<SendLicensesRequest, SendDataResponse> {
|
|
292
|
-
const method = this.methods[
|
|
389
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
293
390
|
return stackIntercept<SendLicensesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
294
391
|
}
|
|
295
392
|
/**
|
|
393
|
+
* Sync account data to the server.
|
|
394
|
+
*
|
|
296
395
|
* @generated from protobuf rpc: SendAccounts
|
|
297
396
|
*/
|
|
298
397
|
sendAccounts(input: SendAccountsRequest, options?: RpcOptions): UnaryCall<SendAccountsRequest, SendDataResponse> {
|
|
299
|
-
const method = this.methods[
|
|
398
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
300
399
|
return stackIntercept<SendAccountsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
301
400
|
}
|
|
302
401
|
/**
|
|
402
|
+
* Sync user data to the server.
|
|
403
|
+
*
|
|
303
404
|
* @generated from protobuf rpc: SendUsers
|
|
304
405
|
*/
|
|
305
406
|
sendUsers(input: SendUsersRequest, options?: RpcOptions): UnaryCall<SendUsersRequest, SendDataResponse> {
|
|
306
|
-
const method = this.methods[
|
|
407
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
307
408
|
return stackIntercept<SendUsersRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
308
409
|
}
|
|
309
410
|
/**
|
|
411
|
+
* Sync vehicle data to the server.
|
|
412
|
+
*
|
|
310
413
|
* @generated from protobuf rpc: SendVehicles
|
|
311
414
|
*/
|
|
312
415
|
sendVehicles(input: SendVehiclesRequest, options?: RpcOptions): UnaryCall<SendVehiclesRequest, SendDataResponse> {
|
|
313
|
-
const method = this.methods[
|
|
416
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
314
417
|
return stackIntercept<SendVehiclesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
315
418
|
}
|
|
316
419
|
/**
|
|
420
|
+
* Sync user location data to the server.
|
|
421
|
+
*
|
|
317
422
|
* @generated from protobuf rpc: SendUserLocations
|
|
318
423
|
*/
|
|
319
424
|
sendUserLocations(input: SendUserLocationsRequest, options?: RpcOptions): UnaryCall<SendUserLocationsRequest, SendDataResponse> {
|
|
320
|
-
const method = this.methods[
|
|
425
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
321
426
|
return stackIntercept<SendUserLocationsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
322
427
|
}
|
|
323
428
|
/**
|
|
429
|
+
* Sync the last character ID for a user.
|
|
430
|
+
*
|
|
324
431
|
* @generated from protobuf rpc: SetLastCharID
|
|
325
432
|
*/
|
|
326
433
|
setLastCharID(input: SetLastCharIDRequest, options?: RpcOptions): UnaryCall<SetLastCharIDRequest, SendDataResponse> {
|
|
327
|
-
const method = this.methods[
|
|
434
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
328
435
|
return stackIntercept<SetLastCharIDRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
329
436
|
}
|
|
330
437
|
/**
|
|
331
|
-
*
|
|
438
|
+
* Delete users from the sync store.
|
|
332
439
|
*
|
|
333
440
|
* @generated from protobuf rpc: DeleteUsers
|
|
334
441
|
*/
|
|
335
442
|
deleteUsers(input: DeleteUsersRequest, options?: RpcOptions): UnaryCall<DeleteUsersRequest, DeleteDataResponse> {
|
|
336
|
-
const method = this.methods[
|
|
443
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
337
444
|
return stackIntercept<DeleteUsersRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
338
445
|
}
|
|
339
446
|
/**
|
|
447
|
+
* Delete vehicles from the sync store.
|
|
448
|
+
*
|
|
340
449
|
* @generated from protobuf rpc: DeleteVehicles
|
|
341
450
|
*/
|
|
342
451
|
deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse> {
|
|
343
|
-
const method = this.methods[
|
|
452
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
344
453
|
return stackIntercept<DeleteVehiclesRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
345
454
|
}
|
|
346
455
|
/**
|
|
@@ -349,7 +458,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
349
458
|
* @generated from protobuf rpc: Stream
|
|
350
459
|
*/
|
|
351
460
|
stream(input: StreamRequest, options?: RpcOptions): ServerStreamingCall<StreamRequest, StreamResponse> {
|
|
352
|
-
const method = this.methods[
|
|
461
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
353
462
|
return stackIntercept<StreamRequest, StreamResponse>("serverStreaming", this._transport, method, opt, input);
|
|
354
463
|
}
|
|
355
464
|
/**
|
|
@@ -359,7 +468,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
359
468
|
* @generated from protobuf rpc: AddActivity
|
|
360
469
|
*/
|
|
361
470
|
addActivity(input: AddActivityRequest, options?: RpcOptions): UnaryCall<AddActivityRequest, AddActivityResponse> {
|
|
362
|
-
const method = this.methods[
|
|
471
|
+
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
363
472
|
return stackIntercept<AddActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
364
473
|
}
|
|
365
474
|
/**
|
|
@@ -369,7 +478,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
369
478
|
* @generated from protobuf rpc: SendData
|
|
370
479
|
*/
|
|
371
480
|
sendData(input: SendDataRequest, options?: RpcOptions): UnaryCall<SendDataRequest, SendDataResponse> {
|
|
372
|
-
const method = this.methods[
|
|
481
|
+
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
|
373
482
|
return stackIntercept<SendDataRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
374
483
|
}
|
|
375
484
|
/**
|
|
@@ -379,7 +488,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
379
488
|
* @generated from protobuf rpc: DeleteData
|
|
380
489
|
*/
|
|
381
490
|
deleteData(input: DeleteDataRequest, options?: RpcOptions): UnaryCall<DeleteDataRequest, DeleteDataResponse> {
|
|
382
|
-
const method = this.methods[
|
|
491
|
+
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
383
492
|
return stackIntercept<DeleteDataRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
384
493
|
}
|
|
385
494
|
}
|