@fivenet-app/gen 0.9.5-0 → 2025.5.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/README.md +7 -1
- package/clients.ts +48 -42
- package/google/protobuf/any.ts +1 -1
- package/google/protobuf/descriptor.ts +108 -50
- package/google/protobuf/duration.ts +1 -1
- package/google/protobuf/timestamp.ts +1 -1
- package/package.json +3 -2
- package/perms.ts +96 -99
- package/resources/accounts/accounts.ts +39 -3
- package/resources/accounts/oauth2.ts +6 -6
- package/resources/{rector → audit}/audit.ts +22 -23
- package/resources/calendar/access.ts +4 -4
- package/resources/calendar/calendar.ts +1 -1
- package/resources/centrum/attributes.ts +6 -2
- package/resources/centrum/dispatches.ts +4 -4
- package/resources/centrum/disponents.ts +2 -2
- package/resources/centrum/settings.ts +3 -3
- package/resources/centrum/units.ts +4 -4
- package/resources/centrum/{access.ts → units_access.ts} +4 -4
- package/resources/centrum/user_unit.ts +2 -2
- package/resources/common/content/content.ts +2 -2
- package/resources/common/cron/cron.ts +53 -12
- package/resources/common/database/database.ts +1 -1
- package/resources/common/error.ts +1 -1
- package/resources/common/grpcws/grpcws.ts +1 -1
- package/resources/common/i18n.ts +1 -1
- package/resources/common/tests/objects.ts +1 -1
- package/resources/common/uuid.ts +1 -1
- package/resources/documents/access.ts +4 -4
- package/resources/documents/activity.ts +7 -7
- package/resources/documents/category.ts +49 -26
- package/resources/documents/comment.ts +1 -1
- package/resources/documents/documents.ts +1 -1
- package/resources/documents/requests.ts +1 -1
- package/resources/documents/templates.ts +5 -5
- package/resources/documents/workflow.ts +2 -2
- package/resources/filestore/file.ts +1 -1
- package/resources/internet/access.ts +4 -4
- package/resources/internet/ads.ts +1 -1
- package/resources/internet/domain.ts +1 -1
- package/resources/internet/page.ts +3 -3
- package/resources/internet/search.ts +1 -1
- package/resources/jobs/activity.ts +114 -114
- package/resources/jobs/colleagues.ts +59 -48
- package/resources/jobs/conduct.ts +52 -41
- package/resources/{users → jobs}/job_props.ts +28 -29
- package/resources/{users → jobs}/job_settings.ts +54 -54
- package/resources/{users → jobs}/jobs.ts +12 -12
- package/resources/jobs/labels.ts +29 -17
- package/resources/jobs/timeclock.ts +7 -7
- package/resources/laws/laws.ts +2 -2
- package/resources/livemap/livemap.ts +1 -1
- package/resources/livemap/tracker.ts +3 -3
- package/resources/mailer/access.ts +5 -5
- package/resources/mailer/email.ts +11 -23
- package/resources/mailer/events.ts +1 -1
- package/resources/mailer/message.ts +2 -2
- package/resources/mailer/settings.ts +1 -1
- package/resources/mailer/template.ts +1 -1
- package/resources/mailer/thread.ts +2 -2
- package/resources/notifications/events.ts +9 -9
- package/resources/notifications/notifications.ts +1 -1
- package/resources/permissions/attributes.ts +689 -0
- package/resources/permissions/permissions.ts +16 -570
- package/resources/qualifications/access.ts +2 -2
- package/resources/qualifications/exam.ts +7 -7
- package/resources/qualifications/qualifications.ts +9 -9
- package/resources/{rector → settings}/banner.ts +5 -5
- package/resources/{rector → settings}/config.ts +83 -83
- package/resources/stats/stats.ts +1 -1
- package/resources/sync/activity.ts +20 -20
- package/resources/sync/data.ts +26 -26
- package/resources/timestamp/timestamp.ts +1 -1
- package/resources/users/activity.ts +196 -196
- package/resources/users/labels.ts +28 -28
- package/resources/users/licenses.ts +12 -12
- package/resources/users/props.ts +28 -17
- package/resources/users/users.ts +2 -2
- package/resources/vehicles/vehicles.ts +4 -4
- package/resources/wiki/access.ts +4 -4
- package/resources/wiki/activity.ts +7 -7
- package/resources/wiki/page.ts +2 -2
- package/services/auth/auth.client.ts +8 -8
- package/services/auth/auth.ts +32 -32
- package/services/calendar/calendar.client.ts +44 -27
- package/services/calendar/calendar.ts +138 -27
- package/services/centrum/centrum.client.ts +1 -1
- package/services/centrum/centrum.ts +8 -8
- package/services/{citizenstore/citizenstore.client.ts → citizens/citizens.client.ts} +37 -37
- package/services/{citizenstore/citizenstore.ts → citizens/citizens.ts} +72 -72
- package/services/completor/completor.client.ts +1 -1
- package/services/completor/completor.ts +17 -17
- package/services/{docstore/docstore.client.ts → documents/documents.client.ts} +165 -182
- package/services/{docstore/docstore.ts → documents/documents.ts} +280 -377
- package/services/internet/ads.client.ts +1 -1
- package/services/internet/ads.ts +2 -2
- package/services/internet/domain.client.ts +1 -1
- package/services/internet/domain.ts +3 -3
- package/services/internet/internet.client.ts +1 -1
- package/services/internet/internet.ts +2 -2
- package/services/jobs/conduct.client.ts +9 -9
- package/services/jobs/conduct.ts +4 -4
- package/services/jobs/jobs.client.ts +15 -15
- package/services/jobs/jobs.ts +77 -77
- package/services/jobs/timeclock.client.ts +9 -9
- package/services/jobs/timeclock.ts +15 -15
- package/services/{livemapper → livemap}/livemap.client.ts +16 -16
- package/services/{livemapper → livemap}/livemap.ts +63 -52
- package/services/mailer/mailer.client.ts +5 -5
- package/services/mailer/mailer.ts +6 -6
- package/services/notificator/notificator.client.ts +1 -1
- package/services/notificator/notificator.ts +5 -5
- package/services/qualifications/qualifications.client.ts +9 -9
- package/services/qualifications/qualifications.ts +4 -4
- package/services/settings/accounts.client.ts +92 -0
- package/services/settings/accounts.ts +526 -0
- package/services/{rector → settings}/config.client.ts +18 -18
- package/services/{rector → settings}/config.ts +26 -26
- package/services/settings/cron.client.ts +41 -0
- package/services/settings/cron.ts +119 -0
- package/services/{rector → settings}/filestore.client.ts +22 -22
- package/services/{rector → settings}/filestore.ts +23 -23
- package/services/{rector → settings}/laws.client.ts +26 -26
- package/services/{rector → settings}/laws.ts +28 -28
- package/services/settings/settings.client.ts +262 -0
- package/services/{rector/rector.ts → settings/settings.ts} +558 -149
- package/services/stats/stats.client.ts +1 -1
- package/services/stats/stats.ts +1 -1
- package/services/sync/sync.client.ts +1 -1
- package/services/sync/sync.ts +33 -33
- package/services/{dmv → vehicles}/vehicles.client.ts +12 -12
- package/services/{dmv → vehicles}/vehicles.ts +11 -11
- package/services/wiki/wiki.client.ts +3 -3
- package/services/wiki/wiki.ts +3 -3
- package/svcs.ts +247 -234
- package/services/rector/rector.client.ts +0 -211
package/services/auth/auth.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "services/auth/auth.proto" (package "services.auth", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
@@ -12,7 +12,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
|
12
12
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
13
13
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
14
14
|
import { User } from "../../resources/users/users";
|
|
15
|
-
import { JobProps } from "../../resources/
|
|
15
|
+
import { JobProps } from "../../resources/jobs/job_props";
|
|
16
16
|
import { Character } from "../../resources/accounts/accounts";
|
|
17
17
|
import { OAuth2Account } from "../../resources/accounts/oauth2";
|
|
18
18
|
import { OAuth2Provider } from "../../resources/accounts/oauth2";
|
|
@@ -190,7 +190,7 @@ export interface ChooseCharacterResponse {
|
|
|
190
190
|
*/
|
|
191
191
|
permissions: string[];
|
|
192
192
|
/**
|
|
193
|
-
* @generated from protobuf field: resources.
|
|
193
|
+
* @generated from protobuf field: resources.jobs.JobProps job_props = 3;
|
|
194
194
|
*/
|
|
195
195
|
jobProps?: JobProps;
|
|
196
196
|
/**
|
|
@@ -235,9 +235,9 @@ export interface DeleteOAuth2ConnectionResponse {
|
|
|
235
235
|
success: boolean;
|
|
236
236
|
}
|
|
237
237
|
/**
|
|
238
|
-
* @generated from protobuf message services.auth.
|
|
238
|
+
* @generated from protobuf message services.auth.SetSuperuserModeRequest
|
|
239
239
|
*/
|
|
240
|
-
export interface
|
|
240
|
+
export interface SetSuperuserModeRequest {
|
|
241
241
|
/**
|
|
242
242
|
* @generated from protobuf field: bool superuser = 1;
|
|
243
243
|
*/
|
|
@@ -248,9 +248,9 @@ export interface SetSuperUserModeRequest {
|
|
|
248
248
|
job?: string;
|
|
249
249
|
}
|
|
250
250
|
/**
|
|
251
|
-
* @generated from protobuf message services.auth.
|
|
251
|
+
* @generated from protobuf message services.auth.SetSuperuserModeResponse
|
|
252
252
|
*/
|
|
253
|
-
export interface
|
|
253
|
+
export interface SetSuperuserModeResponse {
|
|
254
254
|
/**
|
|
255
255
|
* @generated from protobuf field: resources.timestamp.Timestamp expires = 1;
|
|
256
256
|
*/
|
|
@@ -260,7 +260,7 @@ export interface SetSuperUserModeResponse {
|
|
|
260
260
|
*/
|
|
261
261
|
permissions: string[];
|
|
262
262
|
/**
|
|
263
|
-
* @generated from protobuf field: optional resources.
|
|
263
|
+
* @generated from protobuf field: optional resources.jobs.JobProps job_props = 3;
|
|
264
264
|
*/
|
|
265
265
|
jobProps?: JobProps;
|
|
266
266
|
/**
|
|
@@ -824,8 +824,8 @@ class GetAccountInfoResponse$Type extends MessageType<GetAccountInfoResponse> {
|
|
|
824
824
|
constructor() {
|
|
825
825
|
super("services.auth.GetAccountInfoResponse", [
|
|
826
826
|
{ no: 1, name: "account", kind: "message", T: () => Account },
|
|
827
|
-
{ no: 2, name: "oauth2_providers", kind: "message", repeat:
|
|
828
|
-
{ no: 3, name: "oauth2_connections", kind: "message", repeat:
|
|
827
|
+
{ no: 2, name: "oauth2_providers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OAuth2Provider },
|
|
828
|
+
{ no: 3, name: "oauth2_connections", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OAuth2Account }
|
|
829
829
|
]);
|
|
830
830
|
}
|
|
831
831
|
create(value?: PartialMessage<GetAccountInfoResponse>): GetAccountInfoResponse {
|
|
@@ -923,7 +923,7 @@ export const GetCharactersRequest = new GetCharactersRequest$Type();
|
|
|
923
923
|
class GetCharactersResponse$Type extends MessageType<GetCharactersResponse> {
|
|
924
924
|
constructor() {
|
|
925
925
|
super("services.auth.GetCharactersResponse", [
|
|
926
|
-
{ no: 1, name: "chars", kind: "message", repeat:
|
|
926
|
+
{ no: 1, name: "chars", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Character }
|
|
927
927
|
]);
|
|
928
928
|
}
|
|
929
929
|
create(value?: PartialMessage<GetCharactersResponse>): GetCharactersResponse {
|
|
@@ -1043,7 +1043,7 @@ class ChooseCharacterResponse$Type extends MessageType<ChooseCharacterResponse>
|
|
|
1043
1043
|
case /* repeated string permissions */ 2:
|
|
1044
1044
|
message.permissions.push(reader.string());
|
|
1045
1045
|
break;
|
|
1046
|
-
case /* resources.
|
|
1046
|
+
case /* resources.jobs.JobProps job_props */ 3:
|
|
1047
1047
|
message.jobProps = JobProps.internalBinaryRead(reader, reader.uint32(), options, message.jobProps);
|
|
1048
1048
|
break;
|
|
1049
1049
|
case /* resources.users.User char */ 4:
|
|
@@ -1070,7 +1070,7 @@ class ChooseCharacterResponse$Type extends MessageType<ChooseCharacterResponse>
|
|
|
1070
1070
|
/* repeated string permissions = 2; */
|
|
1071
1071
|
for (let i = 0; i < message.permissions.length; i++)
|
|
1072
1072
|
writer.tag(2, WireType.LengthDelimited).string(message.permissions[i]);
|
|
1073
|
-
/* resources.
|
|
1073
|
+
/* resources.jobs.JobProps job_props = 3; */
|
|
1074
1074
|
if (message.jobProps)
|
|
1075
1075
|
JobProps.internalBinaryWrite(message.jobProps, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1076
1076
|
/* resources.users.User char = 4; */
|
|
@@ -1269,21 +1269,21 @@ class DeleteOAuth2ConnectionResponse$Type extends MessageType<DeleteOAuth2Connec
|
|
|
1269
1269
|
*/
|
|
1270
1270
|
export const DeleteOAuth2ConnectionResponse = new DeleteOAuth2ConnectionResponse$Type();
|
|
1271
1271
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1272
|
-
class
|
|
1272
|
+
class SetSuperuserModeRequest$Type extends MessageType<SetSuperuserModeRequest> {
|
|
1273
1273
|
constructor() {
|
|
1274
|
-
super("services.auth.
|
|
1274
|
+
super("services.auth.SetSuperuserModeRequest", [
|
|
1275
1275
|
{ no: 1, name: "superuser", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1276
1276
|
{ no: 2, name: "job", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } }
|
|
1277
1277
|
]);
|
|
1278
1278
|
}
|
|
1279
|
-
create(value?: PartialMessage<
|
|
1279
|
+
create(value?: PartialMessage<SetSuperuserModeRequest>): SetSuperuserModeRequest {
|
|
1280
1280
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1281
1281
|
message.superuser = false;
|
|
1282
1282
|
if (value !== undefined)
|
|
1283
|
-
reflectionMergePartial<
|
|
1283
|
+
reflectionMergePartial<SetSuperuserModeRequest>(this, message, value);
|
|
1284
1284
|
return message;
|
|
1285
1285
|
}
|
|
1286
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1286
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetSuperuserModeRequest): SetSuperuserModeRequest {
|
|
1287
1287
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
1288
1288
|
while (reader.pos < end) {
|
|
1289
1289
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -1305,7 +1305,7 @@ class SetSuperUserModeRequest$Type extends MessageType<SetSuperUserModeRequest>
|
|
|
1305
1305
|
}
|
|
1306
1306
|
return message;
|
|
1307
1307
|
}
|
|
1308
|
-
internalBinaryWrite(message:
|
|
1308
|
+
internalBinaryWrite(message: SetSuperuserModeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1309
1309
|
/* bool superuser = 1; */
|
|
1310
1310
|
if (message.superuser !== false)
|
|
1311
1311
|
writer.tag(1, WireType.Varint).bool(message.superuser);
|
|
@@ -1319,27 +1319,27 @@ class SetSuperUserModeRequest$Type extends MessageType<SetSuperUserModeRequest>
|
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
/**
|
|
1322
|
-
* @generated MessageType for protobuf message services.auth.
|
|
1322
|
+
* @generated MessageType for protobuf message services.auth.SetSuperuserModeRequest
|
|
1323
1323
|
*/
|
|
1324
|
-
export const
|
|
1324
|
+
export const SetSuperuserModeRequest = new SetSuperuserModeRequest$Type();
|
|
1325
1325
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1326
|
-
class
|
|
1326
|
+
class SetSuperuserModeResponse$Type extends MessageType<SetSuperuserModeResponse> {
|
|
1327
1327
|
constructor() {
|
|
1328
|
-
super("services.auth.
|
|
1328
|
+
super("services.auth.SetSuperuserModeResponse", [
|
|
1329
1329
|
{ no: 1, name: "expires", kind: "message", T: () => Timestamp },
|
|
1330
1330
|
{ no: 2, name: "permissions", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
1331
1331
|
{ no: 3, name: "job_props", kind: "message", T: () => JobProps },
|
|
1332
1332
|
{ no: 4, name: "char", kind: "message", T: () => User }
|
|
1333
1333
|
]);
|
|
1334
1334
|
}
|
|
1335
|
-
create(value?: PartialMessage<
|
|
1335
|
+
create(value?: PartialMessage<SetSuperuserModeResponse>): SetSuperuserModeResponse {
|
|
1336
1336
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1337
1337
|
message.permissions = [];
|
|
1338
1338
|
if (value !== undefined)
|
|
1339
|
-
reflectionMergePartial<
|
|
1339
|
+
reflectionMergePartial<SetSuperuserModeResponse>(this, message, value);
|
|
1340
1340
|
return message;
|
|
1341
1341
|
}
|
|
1342
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1342
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetSuperuserModeResponse): SetSuperuserModeResponse {
|
|
1343
1343
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
1344
1344
|
while (reader.pos < end) {
|
|
1345
1345
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -1350,7 +1350,7 @@ class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse
|
|
|
1350
1350
|
case /* repeated string permissions */ 2:
|
|
1351
1351
|
message.permissions.push(reader.string());
|
|
1352
1352
|
break;
|
|
1353
|
-
case /* optional resources.
|
|
1353
|
+
case /* optional resources.jobs.JobProps job_props */ 3:
|
|
1354
1354
|
message.jobProps = JobProps.internalBinaryRead(reader, reader.uint32(), options, message.jobProps);
|
|
1355
1355
|
break;
|
|
1356
1356
|
case /* resources.users.User char */ 4:
|
|
@@ -1367,14 +1367,14 @@ class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse
|
|
|
1367
1367
|
}
|
|
1368
1368
|
return message;
|
|
1369
1369
|
}
|
|
1370
|
-
internalBinaryWrite(message:
|
|
1370
|
+
internalBinaryWrite(message: SetSuperuserModeResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1371
1371
|
/* resources.timestamp.Timestamp expires = 1; */
|
|
1372
1372
|
if (message.expires)
|
|
1373
1373
|
Timestamp.internalBinaryWrite(message.expires, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1374
1374
|
/* repeated string permissions = 2; */
|
|
1375
1375
|
for (let i = 0; i < message.permissions.length; i++)
|
|
1376
1376
|
writer.tag(2, WireType.LengthDelimited).string(message.permissions[i]);
|
|
1377
|
-
/* optional resources.
|
|
1377
|
+
/* optional resources.jobs.JobProps job_props = 3; */
|
|
1378
1378
|
if (message.jobProps)
|
|
1379
1379
|
JobProps.internalBinaryWrite(message.jobProps, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1380
1380
|
/* resources.users.User char = 4; */
|
|
@@ -1387,9 +1387,9 @@ class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse
|
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
1389
|
/**
|
|
1390
|
-
* @generated MessageType for protobuf message services.auth.
|
|
1390
|
+
* @generated MessageType for protobuf message services.auth.SetSuperuserModeResponse
|
|
1391
1391
|
*/
|
|
1392
|
-
export const
|
|
1392
|
+
export const SetSuperuserModeResponse = new SetSuperuserModeResponse$Type();
|
|
1393
1393
|
/**
|
|
1394
1394
|
* @generated ServiceType for protobuf service services.auth.AuthService
|
|
1395
1395
|
*/
|
|
@@ -1404,5 +1404,5 @@ export const AuthService = new ServiceType("services.auth.AuthService", [
|
|
|
1404
1404
|
{ name: "ChooseCharacter", options: {}, I: ChooseCharacterRequest, O: ChooseCharacterResponse },
|
|
1405
1405
|
{ name: "GetAccountInfo", options: {}, I: GetAccountInfoRequest, O: GetAccountInfoResponse },
|
|
1406
1406
|
{ name: "DeleteOAuth2Connection", options: {}, I: DeleteOAuth2ConnectionRequest, O: DeleteOAuth2ConnectionResponse },
|
|
1407
|
-
{ name: "
|
|
1407
|
+
{ name: "SetSuperuserMode", options: {}, I: SetSuperuserModeRequest, O: SetSuperuserModeResponse }
|
|
1408
1408
|
]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "services/calendar/calendar.proto" (package "services.calendar", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
@@ -26,8 +26,10 @@ import type { ListCalendarEntriesResponse } from "./calendar";
|
|
|
26
26
|
import type { ListCalendarEntriesRequest } from "./calendar";
|
|
27
27
|
import type { DeleteCalendarResponse } from "./calendar";
|
|
28
28
|
import type { DeleteCalendarRequest } from "./calendar";
|
|
29
|
-
import type {
|
|
30
|
-
import type {
|
|
29
|
+
import type { UpdateCalendarResponse } from "./calendar";
|
|
30
|
+
import type { UpdateCalendarRequest } from "./calendar";
|
|
31
|
+
import type { CreateCalendarResponse } from "./calendar";
|
|
32
|
+
import type { CreateCalendarRequest } from "./calendar";
|
|
31
33
|
import type { GetCalendarResponse } from "./calendar";
|
|
32
34
|
import type { GetCalendarRequest } from "./calendar";
|
|
33
35
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
@@ -54,11 +56,17 @@ export interface ICalendarServiceClient {
|
|
|
54
56
|
/**
|
|
55
57
|
* @perm: Attrs=Fields/StringList:[]string{"Job", "Public"}
|
|
56
58
|
*
|
|
57
|
-
* @generated from protobuf rpc:
|
|
59
|
+
* @generated from protobuf rpc: CreateCalendar(services.calendar.CreateCalendarRequest) returns (services.calendar.CreateCalendarResponse);
|
|
58
60
|
*/
|
|
59
|
-
|
|
61
|
+
createCalendar(input: CreateCalendarRequest, options?: RpcOptions): UnaryCall<CreateCalendarRequest, CreateCalendarResponse>;
|
|
60
62
|
/**
|
|
61
|
-
* @perm
|
|
63
|
+
* @perm: Name=Any
|
|
64
|
+
*
|
|
65
|
+
* @generated from protobuf rpc: UpdateCalendar(services.calendar.UpdateCalendarRequest) returns (services.calendar.UpdateCalendarResponse);
|
|
66
|
+
*/
|
|
67
|
+
updateCalendar(input: UpdateCalendarRequest, options?: RpcOptions): UnaryCall<UpdateCalendarRequest, UpdateCalendarResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* @perm: Name=Any
|
|
62
70
|
*
|
|
63
71
|
* @generated from protobuf rpc: DeleteCalendar(services.calendar.DeleteCalendarRequest) returns (services.calendar.DeleteCalendarResponse);
|
|
64
72
|
*/
|
|
@@ -82,19 +90,19 @@ export interface ICalendarServiceClient {
|
|
|
82
90
|
*/
|
|
83
91
|
getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse>;
|
|
84
92
|
/**
|
|
85
|
-
* @perm
|
|
93
|
+
* @perm: Name=Any
|
|
86
94
|
*
|
|
87
95
|
* @generated from protobuf rpc: CreateOrUpdateCalendarEntry(services.calendar.CreateOrUpdateCalendarEntryRequest) returns (services.calendar.CreateOrUpdateCalendarEntryResponse);
|
|
88
96
|
*/
|
|
89
97
|
createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>;
|
|
90
98
|
/**
|
|
91
|
-
* @perm
|
|
99
|
+
* @perm: Name=Any
|
|
92
100
|
*
|
|
93
101
|
* @generated from protobuf rpc: DeleteCalendarEntry(services.calendar.DeleteCalendarEntryRequest) returns (services.calendar.DeleteCalendarEntryResponse);
|
|
94
102
|
*/
|
|
95
103
|
deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>;
|
|
96
104
|
/**
|
|
97
|
-
* @perm: Name=
|
|
105
|
+
* @perm: Name=Any
|
|
98
106
|
*
|
|
99
107
|
* @generated from protobuf rpc: ShareCalendarEntry(services.calendar.ShareCalendarEntryRequest) returns (services.calendar.ShareCalendarEntryResponse);
|
|
100
108
|
*/
|
|
@@ -154,19 +162,28 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
|
|
154
162
|
/**
|
|
155
163
|
* @perm: Attrs=Fields/StringList:[]string{"Job", "Public"}
|
|
156
164
|
*
|
|
157
|
-
* @generated from protobuf rpc:
|
|
165
|
+
* @generated from protobuf rpc: CreateCalendar(services.calendar.CreateCalendarRequest) returns (services.calendar.CreateCalendarResponse);
|
|
158
166
|
*/
|
|
159
|
-
|
|
167
|
+
createCalendar(input: CreateCalendarRequest, options?: RpcOptions): UnaryCall<CreateCalendarRequest, CreateCalendarResponse> {
|
|
160
168
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
161
|
-
return stackIntercept<
|
|
169
|
+
return stackIntercept<CreateCalendarRequest, CreateCalendarResponse>("unary", this._transport, method, opt, input);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @perm: Name=Any
|
|
173
|
+
*
|
|
174
|
+
* @generated from protobuf rpc: UpdateCalendar(services.calendar.UpdateCalendarRequest) returns (services.calendar.UpdateCalendarResponse);
|
|
175
|
+
*/
|
|
176
|
+
updateCalendar(input: UpdateCalendarRequest, options?: RpcOptions): UnaryCall<UpdateCalendarRequest, UpdateCalendarResponse> {
|
|
177
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
178
|
+
return stackIntercept<UpdateCalendarRequest, UpdateCalendarResponse>("unary", this._transport, method, opt, input);
|
|
162
179
|
}
|
|
163
180
|
/**
|
|
164
|
-
* @perm
|
|
181
|
+
* @perm: Name=Any
|
|
165
182
|
*
|
|
166
183
|
* @generated from protobuf rpc: DeleteCalendar(services.calendar.DeleteCalendarRequest) returns (services.calendar.DeleteCalendarResponse);
|
|
167
184
|
*/
|
|
168
185
|
deleteCalendar(input: DeleteCalendarRequest, options?: RpcOptions): UnaryCall<DeleteCalendarRequest, DeleteCalendarResponse> {
|
|
169
|
-
const method = this.methods[
|
|
186
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
170
187
|
return stackIntercept<DeleteCalendarRequest, DeleteCalendarResponse>("unary", this._transport, method, opt, input);
|
|
171
188
|
}
|
|
172
189
|
/**
|
|
@@ -175,7 +192,7 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
|
|
175
192
|
* @generated from protobuf rpc: ListCalendarEntries(services.calendar.ListCalendarEntriesRequest) returns (services.calendar.ListCalendarEntriesResponse);
|
|
176
193
|
*/
|
|
177
194
|
listCalendarEntries(input: ListCalendarEntriesRequest, options?: RpcOptions): UnaryCall<ListCalendarEntriesRequest, ListCalendarEntriesResponse> {
|
|
178
|
-
const method = this.methods[
|
|
195
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
179
196
|
return stackIntercept<ListCalendarEntriesRequest, ListCalendarEntriesResponse>("unary", this._transport, method, opt, input);
|
|
180
197
|
}
|
|
181
198
|
/**
|
|
@@ -184,7 +201,7 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
|
|
184
201
|
* @generated from protobuf rpc: GetUpcomingEntries(services.calendar.GetUpcomingEntriesRequest) returns (services.calendar.GetUpcomingEntriesResponse);
|
|
185
202
|
*/
|
|
186
203
|
getUpcomingEntries(input: GetUpcomingEntriesRequest, options?: RpcOptions): UnaryCall<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse> {
|
|
187
|
-
const method = this.methods[
|
|
204
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
188
205
|
return stackIntercept<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse>("unary", this._transport, method, opt, input);
|
|
189
206
|
}
|
|
190
207
|
/**
|
|
@@ -193,34 +210,34 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
|
|
193
210
|
* @generated from protobuf rpc: GetCalendarEntry(services.calendar.GetCalendarEntryRequest) returns (services.calendar.GetCalendarEntryResponse);
|
|
194
211
|
*/
|
|
195
212
|
getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse> {
|
|
196
|
-
const method = this.methods[
|
|
213
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
197
214
|
return stackIntercept<GetCalendarEntryRequest, GetCalendarEntryResponse>("unary", this._transport, method, opt, input);
|
|
198
215
|
}
|
|
199
216
|
/**
|
|
200
|
-
* @perm
|
|
217
|
+
* @perm: Name=Any
|
|
201
218
|
*
|
|
202
219
|
* @generated from protobuf rpc: CreateOrUpdateCalendarEntry(services.calendar.CreateOrUpdateCalendarEntryRequest) returns (services.calendar.CreateOrUpdateCalendarEntryResponse);
|
|
203
220
|
*/
|
|
204
221
|
createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse> {
|
|
205
|
-
const method = this.methods[
|
|
222
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
206
223
|
return stackIntercept<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>("unary", this._transport, method, opt, input);
|
|
207
224
|
}
|
|
208
225
|
/**
|
|
209
|
-
* @perm
|
|
226
|
+
* @perm: Name=Any
|
|
210
227
|
*
|
|
211
228
|
* @generated from protobuf rpc: DeleteCalendarEntry(services.calendar.DeleteCalendarEntryRequest) returns (services.calendar.DeleteCalendarEntryResponse);
|
|
212
229
|
*/
|
|
213
230
|
deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse> {
|
|
214
|
-
const method = this.methods[
|
|
231
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
215
232
|
return stackIntercept<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>("unary", this._transport, method, opt, input);
|
|
216
233
|
}
|
|
217
234
|
/**
|
|
218
|
-
* @perm: Name=
|
|
235
|
+
* @perm: Name=Any
|
|
219
236
|
*
|
|
220
237
|
* @generated from protobuf rpc: ShareCalendarEntry(services.calendar.ShareCalendarEntryRequest) returns (services.calendar.ShareCalendarEntryResponse);
|
|
221
238
|
*/
|
|
222
239
|
shareCalendarEntry(input: ShareCalendarEntryRequest, options?: RpcOptions): UnaryCall<ShareCalendarEntryRequest, ShareCalendarEntryResponse> {
|
|
223
|
-
const method = this.methods[
|
|
240
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
224
241
|
return stackIntercept<ShareCalendarEntryRequest, ShareCalendarEntryResponse>("unary", this._transport, method, opt, input);
|
|
225
242
|
}
|
|
226
243
|
/**
|
|
@@ -229,7 +246,7 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
|
|
229
246
|
* @generated from protobuf rpc: ListCalendarEntryRSVP(services.calendar.ListCalendarEntryRSVPRequest) returns (services.calendar.ListCalendarEntryRSVPResponse);
|
|
230
247
|
*/
|
|
231
248
|
listCalendarEntryRSVP(input: ListCalendarEntryRSVPRequest, options?: RpcOptions): UnaryCall<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse> {
|
|
232
|
-
const method = this.methods[
|
|
249
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
233
250
|
return stackIntercept<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse>("unary", this._transport, method, opt, input);
|
|
234
251
|
}
|
|
235
252
|
/**
|
|
@@ -238,7 +255,7 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
|
|
238
255
|
* @generated from protobuf rpc: RSVPCalendarEntry(services.calendar.RSVPCalendarEntryRequest) returns (services.calendar.RSVPCalendarEntryResponse);
|
|
239
256
|
*/
|
|
240
257
|
rSVPCalendarEntry(input: RSVPCalendarEntryRequest, options?: RpcOptions): UnaryCall<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse> {
|
|
241
|
-
const method = this.methods[
|
|
258
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
242
259
|
return stackIntercept<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse>("unary", this._transport, method, opt, input);
|
|
243
260
|
}
|
|
244
261
|
/**
|
|
@@ -247,7 +264,7 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
|
|
247
264
|
* @generated from protobuf rpc: ListSubscriptions(services.calendar.ListSubscriptionsRequest) returns (services.calendar.ListSubscriptionsResponse);
|
|
248
265
|
*/
|
|
249
266
|
listSubscriptions(input: ListSubscriptionsRequest, options?: RpcOptions): UnaryCall<ListSubscriptionsRequest, ListSubscriptionsResponse> {
|
|
250
|
-
const method = this.methods[
|
|
267
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
251
268
|
return stackIntercept<ListSubscriptionsRequest, ListSubscriptionsResponse>("unary", this._transport, method, opt, input);
|
|
252
269
|
}
|
|
253
270
|
/**
|
|
@@ -256,7 +273,7 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
|
|
256
273
|
* @generated from protobuf rpc: SubscribeToCalendar(services.calendar.SubscribeToCalendarRequest) returns (services.calendar.SubscribeToCalendarResponse);
|
|
257
274
|
*/
|
|
258
275
|
subscribeToCalendar(input: SubscribeToCalendarRequest, options?: RpcOptions): UnaryCall<SubscribeToCalendarRequest, SubscribeToCalendarResponse> {
|
|
259
|
-
const method = this.methods[
|
|
276
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
260
277
|
return stackIntercept<SubscribeToCalendarRequest, SubscribeToCalendarResponse>("unary", this._transport, method, opt, input);
|
|
261
278
|
}
|
|
262
279
|
}
|