@fivenet-app/gen 0.9.4-0 → 2025.4.8
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 +150 -0
- package/google/protobuf/any.ts +10 -6
- package/google/protobuf/descriptor.ts +1255 -76
- package/google/protobuf/duration.ts +1 -2
- package/google/protobuf/timestamp.ts +3 -6
- package/package.json +2 -2
- package/perms.ts +7 -11
- package/resources/accounts/accounts.ts +1 -1
- package/resources/accounts/oauth2.ts +1 -1
- package/resources/calendar/access.ts +3 -3
- package/resources/calendar/calendar.ts +3 -1
- package/resources/centrum/access.ts +19 -4
- package/resources/centrum/attributes.ts +182 -0
- package/resources/centrum/dispatches.ts +11 -9
- package/resources/centrum/disponents.ts +81 -0
- package/resources/centrum/settings.ts +5 -1
- package/resources/centrum/units.ts +9 -9
- package/resources/centrum/user_unit.ts +104 -0
- package/resources/common/content/content.ts +47 -26
- package/resources/common/cron/cron.ts +37 -1
- package/resources/common/database/database.ts +37 -19
- package/resources/common/error.ts +1 -1
- package/resources/common/grpcws/grpcws.ts +59 -33
- package/resources/common/i18n.ts +4 -1
- package/resources/common/tests/objects.ts +82 -0
- package/resources/common/uuid.ts +1 -1
- package/resources/documents/access.ts +7 -5
- package/resources/documents/activity.ts +3 -1
- package/resources/documents/category.ts +1 -1
- package/resources/documents/comment.ts +1 -1
- package/resources/documents/documents.ts +3 -3
- package/resources/documents/requests.ts +1 -1
- package/resources/documents/templates.ts +18 -3
- package/resources/documents/workflow.ts +3 -1
- package/resources/filestore/file.ts +1 -1
- package/resources/internet/access.ts +47 -47
- package/resources/internet/ads.ts +1 -1
- package/resources/internet/domain.ts +44 -11
- package/resources/internet/page.ts +194 -4
- package/resources/internet/search.ts +34 -10
- package/resources/jobs/activity.ts +3 -1
- package/resources/jobs/colleagues.ts +1 -1
- package/resources/jobs/conduct.ts +1 -1
- package/resources/jobs/labels.ts +1 -1
- package/resources/jobs/timeclock.ts +1 -1
- package/resources/laws/laws.ts +1 -1
- package/resources/livemap/livemap.ts +313 -294
- package/resources/livemap/tracker.ts +1 -1
- package/resources/mailer/access.ts +4 -4
- package/resources/mailer/email.ts +1 -1
- package/resources/mailer/events.ts +1 -1
- package/resources/mailer/message.ts +127 -21
- package/resources/mailer/settings.ts +1 -1
- package/resources/mailer/template.ts +1 -1
- package/resources/mailer/thread.ts +1 -1
- package/resources/notifications/events.ts +74 -2
- package/resources/notifications/notifications.ts +3 -1
- package/resources/permissions/permissions.ts +174 -3
- package/resources/qualifications/access.ts +18 -9
- package/resources/qualifications/exam.ts +186 -4
- package/resources/qualifications/qualifications.ts +35 -7
- package/resources/rector/audit.ts +1 -1
- package/resources/rector/banner.ts +133 -0
- package/resources/rector/config.ts +84 -17
- package/resources/stats/stats.ts +1 -1
- package/resources/sync/activity.ts +1 -1
- package/resources/sync/data.ts +1 -1
- package/resources/timestamp/timestamp.ts +1 -1
- package/resources/users/activity.ts +3 -1
- package/resources/users/job_props.ts +3 -1
- package/resources/users/job_settings.ts +47 -3
- package/resources/users/jobs.ts +1 -1
- package/resources/users/labels.ts +3 -1
- package/resources/users/licenses.ts +3 -3
- package/resources/users/props.ts +1 -1
- package/resources/users/users.ts +1 -1
- package/resources/vehicles/vehicles.ts +38 -5
- package/resources/wiki/access.ts +4 -8
- package/resources/wiki/activity.ts +3 -1
- package/resources/wiki/page.ts +1 -1
- package/services/auth/auth.client.ts +7 -1
- package/services/auth/auth.ts +94 -17
- package/services/calendar/calendar.client.ts +44 -27
- package/services/calendar/calendar.ts +175 -25
- package/services/centrum/centrum.client.ts +1 -1
- package/services/centrum/centrum.ts +156 -13
- package/services/citizenstore/citizenstore.client.ts +1 -1
- package/services/citizenstore/citizenstore.ts +1 -1
- package/services/completor/completor.client.ts +1 -1
- package/services/completor/completor.ts +15 -2
- package/services/dmv/vehicles.client.ts +1 -1
- package/services/dmv/vehicles.ts +13 -2
- package/services/docstore/docstore.client.ts +3 -3
- package/services/docstore/docstore.ts +212 -17
- package/services/internet/ads.client.ts +1 -1
- package/services/internet/ads.ts +1 -1
- package/services/internet/domain.client.ts +13 -30
- package/services/internet/domain.ts +159 -196
- package/services/internet/internet.client.ts +1 -1
- package/services/internet/internet.ts +13 -2
- package/services/jobs/conduct.client.ts +1 -1
- package/services/jobs/conduct.ts +15 -2
- package/services/jobs/jobs.client.ts +1 -1
- package/services/jobs/jobs.ts +29 -3
- package/services/jobs/timeclock.client.ts +1 -1
- package/services/jobs/timeclock.ts +19 -19
- package/services/livemapper/livemap.client.ts +1 -1
- package/services/livemapper/livemap.ts +129 -27
- package/services/mailer/mailer.client.ts +1 -1
- package/services/mailer/mailer.ts +57 -5
- package/services/notificator/notificator.client.ts +1 -1
- package/services/notificator/notificator.ts +15 -2
- package/services/qualifications/qualifications.client.ts +11 -11
- package/services/qualifications/qualifications.ts +82 -7
- package/services/rector/config.client.ts +1 -1
- package/services/rector/config.ts +16 -3
- package/services/rector/filestore.client.ts +1 -1
- package/services/rector/filestore.ts +15 -2
- package/services/rector/laws.client.ts +1 -1
- package/services/rector/laws.ts +29 -3
- package/services/rector/rector.client.ts +1 -1
- package/services/rector/rector.ts +72 -7
- package/services/stats/stats.client.ts +1 -1
- package/services/stats/stats.ts +16 -3
- package/services/sync/sync.client.ts +7 -1
- package/services/sync/sync.ts +58 -6
- package/services/wiki/wiki.client.ts +3 -3
- package/services/wiki/wiki.ts +15 -2
- package/svcs.ts +8 -4
- package/resources/centrum/general.ts +0 -231
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/users/licenses.proto" (package "resources.users", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -40,8 +40,8 @@ export interface UserLicenses {
|
|
|
40
40
|
class License$Type extends MessageType<License> {
|
|
41
41
|
constructor() {
|
|
42
42
|
super("resources.users.License", [
|
|
43
|
-
{ no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "
|
|
44
|
-
{ no: 2, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING
|
|
43
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", maxLen: "60" } } } },
|
|
44
|
+
{ no: 2, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "60" } } } }
|
|
45
45
|
]);
|
|
46
46
|
}
|
|
47
47
|
create(value?: PartialMessage<License>): License {
|
package/resources/users/props.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/users/props.proto" (package "resources.users", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
package/resources/users/users.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/users/users.proto" (package "resources.users", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/vehicles/vehicles.proto" (package "resources.vehicles", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -32,9 +32,21 @@ export interface Vehicle {
|
|
|
32
32
|
*/
|
|
33
33
|
ownerId?: number;
|
|
34
34
|
/**
|
|
35
|
-
* @generated from protobuf field:
|
|
35
|
+
* @generated from protobuf field: optional string owner_identifier = 6;
|
|
36
|
+
*/
|
|
37
|
+
ownerIdentifier?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @generated from protobuf field: optional resources.users.UserShort owner = 5;
|
|
36
40
|
*/
|
|
37
41
|
owner?: UserShort;
|
|
42
|
+
/**
|
|
43
|
+
* @generated from protobuf field: optional string job = 7;
|
|
44
|
+
*/
|
|
45
|
+
job?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @generated from protobuf field: optional string job_label = 8;
|
|
48
|
+
*/
|
|
49
|
+
jobLabel?: string;
|
|
38
50
|
}
|
|
39
51
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
40
52
|
class Vehicle$Type extends MessageType<Vehicle> {
|
|
@@ -44,7 +56,10 @@ class Vehicle$Type extends MessageType<Vehicle> {
|
|
|
44
56
|
{ no: 2, name: "model", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "64" } } } },
|
|
45
57
|
{ no: 3, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "32" } } } },
|
|
46
58
|
{ no: 4, name: "owner_id", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
47
|
-
{ no:
|
|
59
|
+
{ no: 6, name: "owner_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "64" } } } },
|
|
60
|
+
{ no: 5, name: "owner", kind: "message", T: () => UserShort },
|
|
61
|
+
{ no: 7, name: "job", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } },
|
|
62
|
+
{ no: 8, name: "job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50" } } } }
|
|
48
63
|
]);
|
|
49
64
|
}
|
|
50
65
|
create(value?: PartialMessage<Vehicle>): Vehicle {
|
|
@@ -72,9 +87,18 @@ class Vehicle$Type extends MessageType<Vehicle> {
|
|
|
72
87
|
case /* optional int32 owner_id */ 4:
|
|
73
88
|
message.ownerId = reader.int32();
|
|
74
89
|
break;
|
|
75
|
-
case /*
|
|
90
|
+
case /* optional string owner_identifier */ 6:
|
|
91
|
+
message.ownerIdentifier = reader.string();
|
|
92
|
+
break;
|
|
93
|
+
case /* optional resources.users.UserShort owner */ 5:
|
|
76
94
|
message.owner = UserShort.internalBinaryRead(reader, reader.uint32(), options, message.owner);
|
|
77
95
|
break;
|
|
96
|
+
case /* optional string job */ 7:
|
|
97
|
+
message.job = reader.string();
|
|
98
|
+
break;
|
|
99
|
+
case /* optional string job_label */ 8:
|
|
100
|
+
message.jobLabel = reader.string();
|
|
101
|
+
break;
|
|
78
102
|
default:
|
|
79
103
|
let u = options.readUnknownField;
|
|
80
104
|
if (u === "throw")
|
|
@@ -99,9 +123,18 @@ class Vehicle$Type extends MessageType<Vehicle> {
|
|
|
99
123
|
/* optional int32 owner_id = 4; */
|
|
100
124
|
if (message.ownerId !== undefined)
|
|
101
125
|
writer.tag(4, WireType.Varint).int32(message.ownerId);
|
|
102
|
-
/*
|
|
126
|
+
/* optional string owner_identifier = 6; */
|
|
127
|
+
if (message.ownerIdentifier !== undefined)
|
|
128
|
+
writer.tag(6, WireType.LengthDelimited).string(message.ownerIdentifier);
|
|
129
|
+
/* optional resources.users.UserShort owner = 5; */
|
|
103
130
|
if (message.owner)
|
|
104
131
|
UserShort.internalBinaryWrite(message.owner, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
132
|
+
/* optional string job = 7; */
|
|
133
|
+
if (message.job !== undefined)
|
|
134
|
+
writer.tag(7, WireType.LengthDelimited).string(message.job);
|
|
135
|
+
/* optional string job_label = 8; */
|
|
136
|
+
if (message.jobLabel !== undefined)
|
|
137
|
+
writer.tag(8, WireType.LengthDelimited).string(message.jobLabel);
|
|
105
138
|
let u = options.writeUnknownFields;
|
|
106
139
|
if (u !== false)
|
|
107
140
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
package/resources/wiki/access.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/wiki/access.proto" (package "resources.wiki", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -40,7 +40,7 @@ export interface PageJobAccess {
|
|
|
40
40
|
/**
|
|
41
41
|
* @generated from protobuf field: uint64 target_id = 3;
|
|
42
42
|
*/
|
|
43
|
-
targetId: number;
|
|
43
|
+
targetId: number;
|
|
44
44
|
/**
|
|
45
45
|
* @generated from protobuf field: string job = 4;
|
|
46
46
|
*/
|
|
@@ -77,7 +77,7 @@ export interface PageUserAccess {
|
|
|
77
77
|
/**
|
|
78
78
|
* @generated from protobuf field: uint64 target_id = 3;
|
|
79
79
|
*/
|
|
80
|
-
targetId: number;
|
|
80
|
+
targetId: number;
|
|
81
81
|
/**
|
|
82
82
|
* @generated from protobuf field: int32 user_id = 4;
|
|
83
83
|
*/
|
|
@@ -114,11 +114,7 @@ export enum AccessLevel {
|
|
|
114
114
|
/**
|
|
115
115
|
* @generated from protobuf enum value: ACCESS_LEVEL_EDIT = 4;
|
|
116
116
|
*/
|
|
117
|
-
EDIT = 4
|
|
118
|
-
/**
|
|
119
|
-
* @generated from protobuf enum value: ACCESS_LEVEL_OWNER = 5;
|
|
120
|
-
*/
|
|
121
|
-
OWNER = 5
|
|
117
|
+
EDIT = 4
|
|
122
118
|
}
|
|
123
119
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
124
120
|
class PageAccess$Type extends MessageType<PageAccess> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/wiki/activity.proto" (package "resources.wiki", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -60,6 +60,8 @@ export interface PageActivity {
|
|
|
60
60
|
data?: PageActivityData;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
+
* @dbscanner: json
|
|
64
|
+
*
|
|
63
65
|
* @generated from protobuf message resources.wiki.PageActivityData
|
|
64
66
|
*/
|
|
65
67
|
export interface PageActivityData {
|
package/resources/wiki/page.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
2
|
// @generated from protobuf file "resources/wiki/page.proto" (package "resources.wiki", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 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 type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
@@ -30,6 +30,9 @@ import type { LoginRequest } from "./auth";
|
|
|
30
30
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
31
31
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
32
32
|
/**
|
|
33
|
+
* Auth Service handles user authentication, character selection and oauth2 connections
|
|
34
|
+
* Some methods **must** be caled via HTTP-based GRPC web request to allow cookies to be set/unset.
|
|
35
|
+
*
|
|
33
36
|
* @generated from protobuf service services.auth.AuthService
|
|
34
37
|
*/
|
|
35
38
|
export interface IAuthServiceClient {
|
|
@@ -81,6 +84,9 @@ export interface IAuthServiceClient {
|
|
|
81
84
|
setSuperUserMode(input: SetSuperUserModeRequest, options?: RpcOptions): UnaryCall<SetSuperUserModeRequest, SetSuperUserModeResponse>;
|
|
82
85
|
}
|
|
83
86
|
/**
|
|
87
|
+
* Auth Service handles user authentication, character selection and oauth2 connections
|
|
88
|
+
* Some methods **must** be caled via HTTP-based GRPC web request to allow cookies to be set/unset.
|
|
89
|
+
*
|
|
84
90
|
* @generated from protobuf service services.auth.AuthService
|
|
85
91
|
*/
|
|
86
92
|
export class AuthServiceClient implements IAuthServiceClient, ServiceInfo {
|
package/services/auth/auth.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 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";
|
|
@@ -256,13 +256,17 @@ export interface SetSuperUserModeResponse {
|
|
|
256
256
|
*/
|
|
257
257
|
expires?: Timestamp;
|
|
258
258
|
/**
|
|
259
|
-
* @generated from protobuf field:
|
|
259
|
+
* @generated from protobuf field: repeated string permissions = 2;
|
|
260
|
+
*/
|
|
261
|
+
permissions: string[];
|
|
262
|
+
/**
|
|
263
|
+
* @generated from protobuf field: optional resources.users.JobProps job_props = 3;
|
|
260
264
|
*/
|
|
261
265
|
jobProps?: JobProps;
|
|
262
266
|
/**
|
|
263
|
-
* @generated from protobuf field: resources.users.User char =
|
|
267
|
+
* @generated from protobuf field: resources.users.User char = 4;
|
|
264
268
|
*/
|
|
265
|
-
char?: User;
|
|
269
|
+
char?: User; // @gotags: alias:"user"
|
|
266
270
|
}
|
|
267
271
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
268
272
|
class CreateAccountRequest$Type extends MessageType<CreateAccountRequest> {
|
|
@@ -658,7 +662,20 @@ class ChangeUsernameResponse$Type extends MessageType<ChangeUsernameResponse> {
|
|
|
658
662
|
return message;
|
|
659
663
|
}
|
|
660
664
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ChangeUsernameResponse): ChangeUsernameResponse {
|
|
661
|
-
|
|
665
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
666
|
+
while (reader.pos < end) {
|
|
667
|
+
let [fieldNo, wireType] = reader.tag();
|
|
668
|
+
switch (fieldNo) {
|
|
669
|
+
default:
|
|
670
|
+
let u = options.readUnknownField;
|
|
671
|
+
if (u === "throw")
|
|
672
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
673
|
+
let d = reader.skip(wireType);
|
|
674
|
+
if (u !== false)
|
|
675
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
return message;
|
|
662
679
|
}
|
|
663
680
|
internalBinaryWrite(message: ChangeUsernameResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
664
681
|
let u = options.writeUnknownFields;
|
|
@@ -738,7 +755,20 @@ class ForgotPasswordResponse$Type extends MessageType<ForgotPasswordResponse> {
|
|
|
738
755
|
return message;
|
|
739
756
|
}
|
|
740
757
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ForgotPasswordResponse): ForgotPasswordResponse {
|
|
741
|
-
|
|
758
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
759
|
+
while (reader.pos < end) {
|
|
760
|
+
let [fieldNo, wireType] = reader.tag();
|
|
761
|
+
switch (fieldNo) {
|
|
762
|
+
default:
|
|
763
|
+
let u = options.readUnknownField;
|
|
764
|
+
if (u === "throw")
|
|
765
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
766
|
+
let d = reader.skip(wireType);
|
|
767
|
+
if (u !== false)
|
|
768
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
return message;
|
|
742
772
|
}
|
|
743
773
|
internalBinaryWrite(message: ForgotPasswordResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
744
774
|
let u = options.writeUnknownFields;
|
|
@@ -763,7 +793,20 @@ class GetAccountInfoRequest$Type extends MessageType<GetAccountInfoRequest> {
|
|
|
763
793
|
return message;
|
|
764
794
|
}
|
|
765
795
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAccountInfoRequest): GetAccountInfoRequest {
|
|
766
|
-
|
|
796
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
797
|
+
while (reader.pos < end) {
|
|
798
|
+
let [fieldNo, wireType] = reader.tag();
|
|
799
|
+
switch (fieldNo) {
|
|
800
|
+
default:
|
|
801
|
+
let u = options.readUnknownField;
|
|
802
|
+
if (u === "throw")
|
|
803
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
804
|
+
let d = reader.skip(wireType);
|
|
805
|
+
if (u !== false)
|
|
806
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
return message;
|
|
767
810
|
}
|
|
768
811
|
internalBinaryWrite(message: GetAccountInfoRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
769
812
|
let u = options.writeUnknownFields;
|
|
@@ -850,7 +893,20 @@ class GetCharactersRequest$Type extends MessageType<GetCharactersRequest> {
|
|
|
850
893
|
return message;
|
|
851
894
|
}
|
|
852
895
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCharactersRequest): GetCharactersRequest {
|
|
853
|
-
|
|
896
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
897
|
+
while (reader.pos < end) {
|
|
898
|
+
let [fieldNo, wireType] = reader.tag();
|
|
899
|
+
switch (fieldNo) {
|
|
900
|
+
default:
|
|
901
|
+
let u = options.readUnknownField;
|
|
902
|
+
if (u === "throw")
|
|
903
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
904
|
+
let d = reader.skip(wireType);
|
|
905
|
+
if (u !== false)
|
|
906
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
return message;
|
|
854
910
|
}
|
|
855
911
|
internalBinaryWrite(message: GetCharactersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
856
912
|
let u = options.writeUnknownFields;
|
|
@@ -1045,7 +1101,20 @@ class LogoutRequest$Type extends MessageType<LogoutRequest> {
|
|
|
1045
1101
|
return message;
|
|
1046
1102
|
}
|
|
1047
1103
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LogoutRequest): LogoutRequest {
|
|
1048
|
-
|
|
1104
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1105
|
+
while (reader.pos < end) {
|
|
1106
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1107
|
+
switch (fieldNo) {
|
|
1108
|
+
default:
|
|
1109
|
+
let u = options.readUnknownField;
|
|
1110
|
+
if (u === "throw")
|
|
1111
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1112
|
+
let d = reader.skip(wireType);
|
|
1113
|
+
if (u !== false)
|
|
1114
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
return message;
|
|
1049
1118
|
}
|
|
1050
1119
|
internalBinaryWrite(message: LogoutRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1051
1120
|
let u = options.writeUnknownFields;
|
|
@@ -1258,12 +1327,14 @@ class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse
|
|
|
1258
1327
|
constructor() {
|
|
1259
1328
|
super("services.auth.SetSuperUserModeResponse", [
|
|
1260
1329
|
{ no: 1, name: "expires", kind: "message", T: () => Timestamp },
|
|
1261
|
-
{ no: 2, name: "
|
|
1262
|
-
{ no: 3, name: "
|
|
1330
|
+
{ no: 2, name: "permissions", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
1331
|
+
{ no: 3, name: "job_props", kind: "message", T: () => JobProps },
|
|
1332
|
+
{ no: 4, name: "char", kind: "message", T: () => User }
|
|
1263
1333
|
]);
|
|
1264
1334
|
}
|
|
1265
1335
|
create(value?: PartialMessage<SetSuperUserModeResponse>): SetSuperUserModeResponse {
|
|
1266
1336
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1337
|
+
message.permissions = [];
|
|
1267
1338
|
if (value !== undefined)
|
|
1268
1339
|
reflectionMergePartial<SetSuperUserModeResponse>(this, message, value);
|
|
1269
1340
|
return message;
|
|
@@ -1276,10 +1347,13 @@ class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse
|
|
|
1276
1347
|
case /* resources.timestamp.Timestamp expires */ 1:
|
|
1277
1348
|
message.expires = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expires);
|
|
1278
1349
|
break;
|
|
1279
|
-
case /*
|
|
1350
|
+
case /* repeated string permissions */ 2:
|
|
1351
|
+
message.permissions.push(reader.string());
|
|
1352
|
+
break;
|
|
1353
|
+
case /* optional resources.users.JobProps job_props */ 3:
|
|
1280
1354
|
message.jobProps = JobProps.internalBinaryRead(reader, reader.uint32(), options, message.jobProps);
|
|
1281
1355
|
break;
|
|
1282
|
-
case /* resources.users.User char */
|
|
1356
|
+
case /* resources.users.User char */ 4:
|
|
1283
1357
|
message.char = User.internalBinaryRead(reader, reader.uint32(), options, message.char);
|
|
1284
1358
|
break;
|
|
1285
1359
|
default:
|
|
@@ -1297,12 +1371,15 @@ class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse
|
|
|
1297
1371
|
/* resources.timestamp.Timestamp expires = 1; */
|
|
1298
1372
|
if (message.expires)
|
|
1299
1373
|
Timestamp.internalBinaryWrite(message.expires, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1300
|
-
/*
|
|
1374
|
+
/* repeated string permissions = 2; */
|
|
1375
|
+
for (let i = 0; i < message.permissions.length; i++)
|
|
1376
|
+
writer.tag(2, WireType.LengthDelimited).string(message.permissions[i]);
|
|
1377
|
+
/* optional resources.users.JobProps job_props = 3; */
|
|
1301
1378
|
if (message.jobProps)
|
|
1302
|
-
JobProps.internalBinaryWrite(message.jobProps, writer.tag(
|
|
1303
|
-
/* resources.users.User char =
|
|
1379
|
+
JobProps.internalBinaryWrite(message.jobProps, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1380
|
+
/* resources.users.User char = 4; */
|
|
1304
1381
|
if (message.char)
|
|
1305
|
-
User.internalBinaryWrite(message.char, writer.tag(
|
|
1382
|
+
User.internalBinaryWrite(message.char, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
1306
1383
|
let u = options.writeUnknownFields;
|
|
1307
1384
|
if (u !== false)
|
|
1308
1385
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.6 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
|
}
|