@fivenet-app/gen 2025.9.1 → 2026.4.0

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.
Files changed (134) hide show
  1. package/README.md +1 -1
  2. package/clients.ts +36 -0
  3. package/codegen/perms/perms.ts +186 -15
  4. package/codegen/sanitizer/sanitizer.ts +34 -1
  5. package/package.json +2 -2
  6. package/perms.ts +140 -8
  7. package/resources/accounts/accounts.ts +98 -31
  8. package/resources/accounts/{oauth2.ts → oauth2/oauth2.ts} +20 -20
  9. package/resources/audit/audit.ts +156 -38
  10. package/resources/calendar/{access.ts → access/access.ts} +30 -30
  11. package/resources/calendar/calendar.ts +17 -477
  12. package/resources/calendar/entries/entries.ts +474 -0
  13. package/resources/centrum/{access.ts → access/access.ts} +22 -22
  14. package/resources/centrum/{dispatchers.ts → dispatchers/dispatchers.ts} +14 -14
  15. package/resources/centrum/{dispatches.ts → dispatches/dispatches.ts} +151 -185
  16. package/resources/centrum/joblist.ts +136 -0
  17. package/resources/centrum/{settings.ts → settings/settings.ts} +70 -70
  18. package/resources/centrum/{units_access.ts → units/access/access.ts} +30 -30
  19. package/resources/centrum/{units.ts → units/units.ts} +131 -51
  20. package/resources/citizens/labels/labels.ts +526 -0
  21. package/resources/{users → citizens/licenses}/licenses.ts +17 -17
  22. package/resources/clientconfig/clientconfig.ts +126 -258
  23. package/resources/collab/collab.ts +4 -16
  24. package/resources/common/content/content.ts +108 -85
  25. package/resources/common/content/diff_activity.ts +267 -0
  26. package/resources/common/i18n.ts +2 -2
  27. package/resources/{common/cron → cron}/cron.ts +43 -43
  28. package/resources/documents/{access.ts → access/access.ts} +29 -52
  29. package/resources/documents/{activity.ts → activity/activity.ts} +171 -123
  30. package/resources/documents/approval/approval.ts +945 -0
  31. package/resources/documents/{category.ts → category/category.ts} +7 -7
  32. package/resources/documents/{comment.ts → comment/comment.ts} +10 -10
  33. package/resources/documents/data/data.ts +303 -0
  34. package/resources/documents/documents.ts +282 -667
  35. package/resources/{common/uuid.ts → documents/forms/forms.ts} +20 -20
  36. package/resources/documents/{pins.ts → pins/pins.ts} +5 -5
  37. package/resources/documents/references/references.ts +187 -0
  38. package/resources/documents/relations/relations.ts +184 -0
  39. package/resources/documents/{requests.ts → requests/requests.ts} +18 -18
  40. package/resources/documents/stamps/stamp.ts +355 -0
  41. package/resources/documents/{templates.ts → templates/templates.ts} +426 -84
  42. package/resources/documents/{workflow.ts → workflow/workflow.ts} +264 -26
  43. package/resources/file/filestore.ts +1 -1
  44. package/resources/{common/grpcws → grpcws}/grpcws.ts +52 -52
  45. package/resources/jobs/{activity.ts → colleagues/activity/activity.ts} +54 -54
  46. package/resources/jobs/{colleagues.ts → colleagues/colleagues.ts} +17 -28
  47. package/resources/jobs/{conduct.ts → conduct/conduct.ts} +70 -45
  48. package/resources/jobs/{labels.ts → labels/labels.ts} +34 -23
  49. package/resources/jobs/{job_props.ts → props/props.ts} +26 -38
  50. package/resources/jobs/{job_settings.ts → settings/settings.ts} +53 -53
  51. package/resources/jobs/{timeclock.ts → timeclock/timeclock.ts} +17 -17
  52. package/resources/livemap/{heatmap.ts → heatmap/heatmap.ts} +4 -4
  53. package/resources/livemap/{marker_marker.ts → markers/marker_marker.ts} +35 -35
  54. package/resources/livemap/{user_marker.ts → markers/user_marker.ts} +115 -36
  55. package/resources/mailer/{access.ts → access/access.ts} +67 -67
  56. package/resources/mailer/{email.ts → emails/email.ts} +19 -19
  57. package/resources/mailer/{events.ts → events/events.ts} +24 -24
  58. package/resources/mailer/{message.ts → messages/message.ts} +29 -29
  59. package/resources/mailer/{settings.ts → settings/settings.ts} +14 -13
  60. package/resources/mailer/{template.ts → templates/template.ts} +15 -15
  61. package/resources/mailer/{thread.ts → threads/thread.ts} +29 -29
  62. package/resources/notifications/{client_view.ts → clientview/clientview.ts} +22 -22
  63. package/resources/notifications/{events.ts → events/events.ts} +20 -20
  64. package/resources/notifications/notifications.ts +4 -4
  65. package/resources/permissions/{attributes.ts → attributes/attributes.ts} +42 -42
  66. package/resources/permissions/{events.ts → events/events.ts} +7 -7
  67. package/resources/permissions/{permissions.ts → permissions/permissions.ts} +30 -19
  68. package/resources/qualifications/{access.ts → access/access.ts} +19 -19
  69. package/resources/qualifications/{exam.ts → exam/exam.ts} +269 -141
  70. package/resources/qualifications/qualifications.ts +51 -179
  71. package/resources/settings/banner.ts +3 -3
  72. package/resources/settings/config.ts +527 -25
  73. package/resources/{documents/state.ts → settings/data.ts} +41 -20
  74. package/resources/settings/perms.ts +14 -14
  75. package/resources/stats/stats.ts +379 -0
  76. package/resources/sync/{activity.ts → activity/activity.ts} +104 -25
  77. package/resources/sync/{data.ts → data/data.ts} +405 -59
  78. package/resources/userinfo/{user_info.ts → userinfo.ts} +71 -93
  79. package/resources/users/{activity.ts → activity/activity.ts} +242 -101
  80. package/resources/users/{props.ts → props/props.ts} +91 -69
  81. package/resources/users/short/user.ts +184 -0
  82. package/resources/users/{users.ts → user.ts} +266 -195
  83. package/resources/vehicles/{activity.ts → activity/activity.ts} +20 -20
  84. package/resources/vehicles/{props.ts → props/props.ts} +28 -6
  85. package/resources/vehicles/vehicles.ts +20 -8
  86. package/resources/wiki/{access.ts → access/access.ts} +30 -30
  87. package/resources/wiki/{activity.ts → activity/activity.ts} +104 -70
  88. package/resources/wiki/page.ts +39 -15
  89. package/services/auth/auth.client.ts +23 -10
  90. package/services/auth/auth.ts +445 -262
  91. package/services/calendar/calendar.ts +56 -34
  92. package/services/centrum/centrum.ts +127 -127
  93. package/services/citizens/citizens.client.ts +0 -13
  94. package/services/citizens/citizens.ts +44 -134
  95. package/services/citizens/labels.client.ts +77 -0
  96. package/services/citizens/labels.ts +455 -0
  97. package/services/completor/completor.ts +36 -16
  98. package/services/documents/approval.client.ts +188 -0
  99. package/services/documents/approval.ts +1776 -0
  100. package/services/documents/documents.ts +164 -186
  101. package/services/documents/forms.client.ts +51 -0
  102. package/services/documents/forms.ts +232 -0
  103. package/services/documents/stamps.client.ts +77 -0
  104. package/services/documents/stamps.ts +481 -0
  105. package/services/documents/stats.client.ts +38 -0
  106. package/services/documents/stats.ts +245 -0
  107. package/services/jobs/conduct.client.ts +30 -3
  108. package/services/jobs/conduct.ts +159 -33
  109. package/services/jobs/jobs.ts +43 -43
  110. package/services/jobs/stats.client.ts +38 -0
  111. package/services/jobs/stats.ts +207 -0
  112. package/services/jobs/timeclock.ts +39 -39
  113. package/services/livemap/livemap.ts +18 -18
  114. package/services/mailer/mailer.ts +78 -78
  115. package/services/notifications/notifications.ts +35 -35
  116. package/services/qualifications/qualifications.ts +81 -46
  117. package/services/settings/accounts.client.ts +23 -10
  118. package/services/settings/accounts.ts +191 -30
  119. package/services/settings/cron.client.ts +13 -0
  120. package/services/settings/cron.ts +118 -5
  121. package/services/settings/laws.ts +1 -1
  122. package/services/settings/settings.ts +73 -52
  123. package/services/settings/system.client.ts +13 -0
  124. package/services/settings/system.ts +115 -15
  125. package/services/stats/stats.client.ts +7 -7
  126. package/services/stats/stats.ts +24 -24
  127. package/services/sync/sync.client.ts +271 -37
  128. package/services/sync/sync.ts +1525 -421
  129. package/services/vehicles/vehicles.ts +8 -8
  130. package/services/wiki/wiki.ts +8 -8
  131. package/svcs.ts +100 -6
  132. package/resources/centrum/attributes.ts +0 -183
  133. package/resources/documents/signoff.ts +0 -55
  134. package/resources/users/labels.ts +0 -160
@@ -0,0 +1,245 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter force_server_none,long_type_number,optimize_speed,ts_nocheck
2
+ // @generated from protobuf file "services/documents/stats.proto" (package "services.documents", syntax proto3)
3
+ // tslint:disable
4
+ // @ts-nocheck
5
+ import { ServiceType } from "@protobuf-ts/runtime-rpc";
6
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
7
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
8
+ import { WireType } from "@protobuf-ts/runtime";
9
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
10
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
11
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
12
+ import type { PartialMessage } from "@protobuf-ts/runtime";
13
+ import { reflectionMergePartial } from "@protobuf-ts/runtime";
14
+ import { MessageType } from "@protobuf-ts/runtime";
15
+ import { PeriodSeriesValue } from "../../resources/stats/stats";
16
+ import { CategoryValue } from "../../resources/stats/stats";
17
+ import { DailyValue } from "../../resources/stats/stats";
18
+ import { KeyValue } from "../../resources/stats/stats";
19
+ import { StatsCategory } from "../../resources/stats/stats";
20
+ import { StatsPeriod } from "../../resources/stats/stats";
21
+ import { Timestamp } from "../../resources/timestamp/timestamp";
22
+ /**
23
+ * @generated from protobuf message services.documents.GetStatsRequest
24
+ */
25
+ export interface GetStatsRequest {
26
+ /**
27
+ * @generated from protobuf field: resources.timestamp.Timestamp start = 1
28
+ */
29
+ start?: Timestamp;
30
+ /**
31
+ * @generated from protobuf field: resources.timestamp.Timestamp end = 2
32
+ */
33
+ end?: Timestamp;
34
+ /**
35
+ * @generated from protobuf field: resources.stats.StatsPeriod period = 3
36
+ */
37
+ period: StatsPeriod;
38
+ /**
39
+ * @generated from protobuf field: resources.stats.StatsCategory category = 4
40
+ */
41
+ category: StatsCategory;
42
+ }
43
+ /**
44
+ * @generated from protobuf message services.documents.GetStatsResponse
45
+ */
46
+ export interface GetStatsResponse {
47
+ /**
48
+ * @generated from protobuf field: repeated resources.stats.KeyValue top_laws = 1
49
+ */
50
+ topLaws: KeyValue[];
51
+ /**
52
+ * @generated from protobuf field: repeated resources.stats.DailyValue fines_over_time = 2
53
+ */
54
+ finesOverTime: DailyValue[];
55
+ /**
56
+ * @generated from protobuf field: repeated resources.stats.CategoryValue documents_by_category = 3
57
+ */
58
+ documentsByCategory: CategoryValue[];
59
+ /**
60
+ * @generated from protobuf field: repeated resources.stats.DailyValue period_values = 4
61
+ */
62
+ periodValues: DailyValue[];
63
+ /**
64
+ * @generated from protobuf field: repeated resources.stats.PeriodSeriesValue period_series_values = 5
65
+ */
66
+ periodSeriesValues: PeriodSeriesValue[];
67
+ /**
68
+ * @generated from protobuf field: int64 total_value = 6
69
+ */
70
+ totalValue: number;
71
+ /**
72
+ * @generated from protobuf field: double average_value = 7
73
+ */
74
+ averageValue: number;
75
+ }
76
+ // @generated message type with reflection information, may provide speed optimized methods
77
+ class GetStatsRequest$Type extends MessageType<GetStatsRequest> {
78
+ constructor() {
79
+ super("services.documents.GetStatsRequest", [
80
+ { no: 1, name: "start", kind: "message", T: () => Timestamp },
81
+ { no: 2, name: "end", kind: "message", T: () => Timestamp },
82
+ { no: 3, name: "period", kind: "enum", T: () => ["resources.stats.StatsPeriod", StatsPeriod, "STATS_PERIOD_"], options: { "buf.validate.field": { enum: { definedOnly: true } } } },
83
+ { no: 4, name: "category", kind: "enum", T: () => ["resources.stats.StatsCategory", StatsCategory, "STATS_CATEGORY_"], options: { "buf.validate.field": { enum: { definedOnly: true } } } }
84
+ ]);
85
+ }
86
+ create(value?: PartialMessage<GetStatsRequest>): GetStatsRequest {
87
+ const message = globalThis.Object.create((this.messagePrototype!));
88
+ message.period = 0;
89
+ message.category = 0;
90
+ if (value !== undefined)
91
+ reflectionMergePartial<GetStatsRequest>(this, message, value);
92
+ return message;
93
+ }
94
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetStatsRequest): GetStatsRequest {
95
+ let message = target ?? this.create(), end = reader.pos + length;
96
+ while (reader.pos < end) {
97
+ let [fieldNo, wireType] = reader.tag();
98
+ switch (fieldNo) {
99
+ case /* resources.timestamp.Timestamp start */ 1:
100
+ message.start = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.start);
101
+ break;
102
+ case /* resources.timestamp.Timestamp end */ 2:
103
+ message.end = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.end);
104
+ break;
105
+ case /* resources.stats.StatsPeriod period */ 3:
106
+ message.period = reader.int32();
107
+ break;
108
+ case /* resources.stats.StatsCategory category */ 4:
109
+ message.category = reader.int32();
110
+ break;
111
+ default:
112
+ let u = options.readUnknownField;
113
+ if (u === "throw")
114
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
115
+ let d = reader.skip(wireType);
116
+ if (u !== false)
117
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
118
+ }
119
+ }
120
+ return message;
121
+ }
122
+ internalBinaryWrite(message: GetStatsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
123
+ /* resources.timestamp.Timestamp start = 1; */
124
+ if (message.start)
125
+ Timestamp.internalBinaryWrite(message.start, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
126
+ /* resources.timestamp.Timestamp end = 2; */
127
+ if (message.end)
128
+ Timestamp.internalBinaryWrite(message.end, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
129
+ /* resources.stats.StatsPeriod period = 3; */
130
+ if (message.period !== 0)
131
+ writer.tag(3, WireType.Varint).int32(message.period);
132
+ /* resources.stats.StatsCategory category = 4; */
133
+ if (message.category !== 0)
134
+ writer.tag(4, WireType.Varint).int32(message.category);
135
+ let u = options.writeUnknownFields;
136
+ if (u !== false)
137
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
138
+ return writer;
139
+ }
140
+ }
141
+ /**
142
+ * @generated MessageType for protobuf message services.documents.GetStatsRequest
143
+ */
144
+ export const GetStatsRequest = new GetStatsRequest$Type();
145
+ // @generated message type with reflection information, may provide speed optimized methods
146
+ class GetStatsResponse$Type extends MessageType<GetStatsResponse> {
147
+ constructor() {
148
+ super("services.documents.GetStatsResponse", [
149
+ { no: 1, name: "top_laws", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => KeyValue },
150
+ { no: 2, name: "fines_over_time", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DailyValue },
151
+ { no: 3, name: "documents_by_category", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CategoryValue },
152
+ { no: 4, name: "period_values", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DailyValue },
153
+ { no: 5, name: "period_series_values", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PeriodSeriesValue },
154
+ { no: 6, name: "total_value", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ },
155
+ { no: 7, name: "average_value", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ }
156
+ ]);
157
+ }
158
+ create(value?: PartialMessage<GetStatsResponse>): GetStatsResponse {
159
+ const message = globalThis.Object.create((this.messagePrototype!));
160
+ message.topLaws = [];
161
+ message.finesOverTime = [];
162
+ message.documentsByCategory = [];
163
+ message.periodValues = [];
164
+ message.periodSeriesValues = [];
165
+ message.totalValue = 0;
166
+ message.averageValue = 0;
167
+ if (value !== undefined)
168
+ reflectionMergePartial<GetStatsResponse>(this, message, value);
169
+ return message;
170
+ }
171
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetStatsResponse): GetStatsResponse {
172
+ let message = target ?? this.create(), end = reader.pos + length;
173
+ while (reader.pos < end) {
174
+ let [fieldNo, wireType] = reader.tag();
175
+ switch (fieldNo) {
176
+ case /* repeated resources.stats.KeyValue top_laws */ 1:
177
+ message.topLaws.push(KeyValue.internalBinaryRead(reader, reader.uint32(), options));
178
+ break;
179
+ case /* repeated resources.stats.DailyValue fines_over_time */ 2:
180
+ message.finesOverTime.push(DailyValue.internalBinaryRead(reader, reader.uint32(), options));
181
+ break;
182
+ case /* repeated resources.stats.CategoryValue documents_by_category */ 3:
183
+ message.documentsByCategory.push(CategoryValue.internalBinaryRead(reader, reader.uint32(), options));
184
+ break;
185
+ case /* repeated resources.stats.DailyValue period_values */ 4:
186
+ message.periodValues.push(DailyValue.internalBinaryRead(reader, reader.uint32(), options));
187
+ break;
188
+ case /* repeated resources.stats.PeriodSeriesValue period_series_values */ 5:
189
+ message.periodSeriesValues.push(PeriodSeriesValue.internalBinaryRead(reader, reader.uint32(), options));
190
+ break;
191
+ case /* int64 total_value */ 6:
192
+ message.totalValue = reader.int64().toNumber();
193
+ break;
194
+ case /* double average_value */ 7:
195
+ message.averageValue = reader.double();
196
+ break;
197
+ default:
198
+ let u = options.readUnknownField;
199
+ if (u === "throw")
200
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
201
+ let d = reader.skip(wireType);
202
+ if (u !== false)
203
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
204
+ }
205
+ }
206
+ return message;
207
+ }
208
+ internalBinaryWrite(message: GetStatsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
209
+ /* repeated resources.stats.KeyValue top_laws = 1; */
210
+ for (let i = 0; i < message.topLaws.length; i++)
211
+ KeyValue.internalBinaryWrite(message.topLaws[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
212
+ /* repeated resources.stats.DailyValue fines_over_time = 2; */
213
+ for (let i = 0; i < message.finesOverTime.length; i++)
214
+ DailyValue.internalBinaryWrite(message.finesOverTime[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
215
+ /* repeated resources.stats.CategoryValue documents_by_category = 3; */
216
+ for (let i = 0; i < message.documentsByCategory.length; i++)
217
+ CategoryValue.internalBinaryWrite(message.documentsByCategory[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
218
+ /* repeated resources.stats.DailyValue period_values = 4; */
219
+ for (let i = 0; i < message.periodValues.length; i++)
220
+ DailyValue.internalBinaryWrite(message.periodValues[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
221
+ /* repeated resources.stats.PeriodSeriesValue period_series_values = 5; */
222
+ for (let i = 0; i < message.periodSeriesValues.length; i++)
223
+ PeriodSeriesValue.internalBinaryWrite(message.periodSeriesValues[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
224
+ /* int64 total_value = 6; */
225
+ if (message.totalValue !== 0)
226
+ writer.tag(6, WireType.Varint).int64(message.totalValue);
227
+ /* double average_value = 7; */
228
+ if (message.averageValue !== 0)
229
+ writer.tag(7, WireType.Bit64).double(message.averageValue);
230
+ let u = options.writeUnknownFields;
231
+ if (u !== false)
232
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
233
+ return writer;
234
+ }
235
+ }
236
+ /**
237
+ * @generated MessageType for protobuf message services.documents.GetStatsResponse
238
+ */
239
+ export const GetStatsResponse = new GetStatsResponse$Type();
240
+ /**
241
+ * @generated ServiceType for protobuf service services.documents.StatsService
242
+ */
243
+ export const StatsService = new ServiceType("services.documents.StatsService", [
244
+ { name: "GetStats", options: { "codegen.perms.perms": { enabled: true, attrs: [{ key: "Categories", type: "ATTRIBUTE_TYPE_STRING_LIST", validStringList: ["PenaltyCalculator"] }] } }, I: GetStatsRequest, O: GetStatsResponse }
245
+ ], { "codegen.perms.perms_svc": { order: 58, icon: "i-mdi-graph-box-multiple-outline" } });
@@ -5,12 +5,17 @@
5
5
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
6
6
  import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
7
7
  import { ConductService } from "./conduct";
8
+ import type { UploadFileResponse } from "../../resources/file/filestore";
9
+ import type { UploadFileRequest } from "../../resources/file/filestore";
10
+ import type { ClientStreamingCall } from "@protobuf-ts/runtime-rpc";
8
11
  import type { DeleteConductEntryResponse } from "./conduct";
9
12
  import type { DeleteConductEntryRequest } from "./conduct";
10
13
  import type { UpdateConductEntryResponse } from "./conduct";
11
14
  import type { UpdateConductEntryRequest } from "./conduct";
12
15
  import type { CreateConductEntryResponse } from "./conduct";
13
16
  import type { CreateConductEntryRequest } from "./conduct";
17
+ import type { GetConductEntryResponse } from "./conduct";
18
+ import type { GetConductEntryRequest } from "./conduct";
14
19
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
15
20
  import type { ListConductEntriesResponse } from "./conduct";
16
21
  import type { ListConductEntriesRequest } from "./conduct";
@@ -24,6 +29,10 @@ export interface IConductServiceClient {
24
29
  * @generated from protobuf rpc: ListConductEntries
25
30
  */
26
31
  listConductEntries(input: ListConductEntriesRequest, options?: RpcOptions): UnaryCall<ListConductEntriesRequest, ListConductEntriesResponse>;
32
+ /**
33
+ * @generated from protobuf rpc: GetConductEntry
34
+ */
35
+ getConductEntry(input: GetConductEntryRequest, options?: RpcOptions): UnaryCall<GetConductEntryRequest, GetConductEntryResponse>;
27
36
  /**
28
37
  * @generated from protobuf rpc: CreateConductEntry
29
38
  */
@@ -36,6 +45,10 @@ export interface IConductServiceClient {
36
45
  * @generated from protobuf rpc: DeleteConductEntry
37
46
  */
38
47
  deleteConductEntry(input: DeleteConductEntryRequest, options?: RpcOptions): UnaryCall<DeleteConductEntryRequest, DeleteConductEntryResponse>;
48
+ /**
49
+ * @generated from protobuf rpc: UploadFile
50
+ */
51
+ uploadFile(options?: RpcOptions): ClientStreamingCall<UploadFileRequest, UploadFileResponse>;
39
52
  }
40
53
  /**
41
54
  * @generated from protobuf service services.jobs.ConductService
@@ -53,25 +66,39 @@ export class ConductServiceClient implements IConductServiceClient, ServiceInfo
53
66
  const method = this.methods[0], opt = this._transport.mergeOptions(options);
54
67
  return stackIntercept<ListConductEntriesRequest, ListConductEntriesResponse>("unary", this._transport, method, opt, input);
55
68
  }
69
+ /**
70
+ * @generated from protobuf rpc: GetConductEntry
71
+ */
72
+ getConductEntry(input: GetConductEntryRequest, options?: RpcOptions): UnaryCall<GetConductEntryRequest, GetConductEntryResponse> {
73
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
74
+ return stackIntercept<GetConductEntryRequest, GetConductEntryResponse>("unary", this._transport, method, opt, input);
75
+ }
56
76
  /**
57
77
  * @generated from protobuf rpc: CreateConductEntry
58
78
  */
59
79
  createConductEntry(input: CreateConductEntryRequest, options?: RpcOptions): UnaryCall<CreateConductEntryRequest, CreateConductEntryResponse> {
60
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
80
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
61
81
  return stackIntercept<CreateConductEntryRequest, CreateConductEntryResponse>("unary", this._transport, method, opt, input);
62
82
  }
63
83
  /**
64
84
  * @generated from protobuf rpc: UpdateConductEntry
65
85
  */
66
86
  updateConductEntry(input: UpdateConductEntryRequest, options?: RpcOptions): UnaryCall<UpdateConductEntryRequest, UpdateConductEntryResponse> {
67
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
87
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
68
88
  return stackIntercept<UpdateConductEntryRequest, UpdateConductEntryResponse>("unary", this._transport, method, opt, input);
69
89
  }
70
90
  /**
71
91
  * @generated from protobuf rpc: DeleteConductEntry
72
92
  */
73
93
  deleteConductEntry(input: DeleteConductEntryRequest, options?: RpcOptions): UnaryCall<DeleteConductEntryRequest, DeleteConductEntryResponse> {
74
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
94
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
75
95
  return stackIntercept<DeleteConductEntryRequest, DeleteConductEntryResponse>("unary", this._transport, method, opt, input);
76
96
  }
97
+ /**
98
+ * @generated from protobuf rpc: UploadFile
99
+ */
100
+ uploadFile(options?: RpcOptions): ClientStreamingCall<UploadFileRequest, UploadFileResponse> {
101
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
102
+ return stackIntercept<UploadFileRequest, UploadFileResponse>("clientStreaming", this._transport, method, opt);
103
+ }
77
104
  }