@fivenet-app/gen 2026.4.0 → 2026.5.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 (41) hide show
  1. package/clients.ts +60 -0
  2. package/codegen/perms/perms.ts +11 -0
  3. package/package.json +1 -1
  4. package/perms.ts +10 -0
  5. package/resources/citizens/labels/access.ts +216 -0
  6. package/resources/citizens/labels/labels.ts +8 -214
  7. package/services/calendar/calendar.client.ts +2 -106
  8. package/services/calendar/calendar.ts +0 -1018
  9. package/services/calendar/entries.client.ts +129 -0
  10. package/services/calendar/entries.ts +1040 -0
  11. package/services/centrum/centrum.client.ts +23 -244
  12. package/services/centrum/centrum.ts +246 -2383
  13. package/services/centrum/dispatches.client.ts +155 -0
  14. package/services/centrum/dispatches.ts +1305 -0
  15. package/services/centrum/units.client.ts +116 -0
  16. package/services/centrum/units.ts +876 -0
  17. package/services/documents/categories.client.ts +64 -0
  18. package/services/documents/categories.ts +331 -0
  19. package/services/documents/comments.client.ts +77 -0
  20. package/services/documents/comments.ts +479 -0
  21. package/services/documents/documents.client.ts +26 -182
  22. package/services/documents/documents.ts +335 -1682
  23. package/services/documents/templates.client.ts +90 -0
  24. package/services/documents/templates.ts +591 -0
  25. package/services/jobs/colleagues.client.ts +129 -0
  26. package/services/jobs/colleagues.ts +1129 -0
  27. package/services/jobs/jobs.client.ts +3 -107
  28. package/services/jobs/jobs.ts +1 -1113
  29. package/services/mailer/mailer.client.ts +0 -208
  30. package/services/mailer/mailer.ts +1 -2010
  31. package/services/mailer/settings.client.ts +103 -0
  32. package/services/mailer/settings.ts +708 -0
  33. package/services/mailer/thread.client.ts +155 -0
  34. package/services/mailer/thread.ts +1343 -0
  35. package/services/qualifications/exam.client.ts +77 -0
  36. package/services/qualifications/exam.ts +609 -0
  37. package/services/qualifications/qualifications.client.ts +1 -53
  38. package/services/qualifications/qualifications.ts +0 -591
  39. package/services/sync/sync.client.ts +4 -4
  40. package/services/sync/sync.ts +23 -0
  41. package/svcs.ts +153 -67
@@ -12,6 +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 { Duration } from "../../../google/protobuf/duration";
15
+ import { LabelAccess } from "./access";
15
16
  import { Timestamp } from "../../timestamp/timestamp";
16
17
  /**
17
18
  * @generated from protobuf message resources.citizens.labels.Labels
@@ -63,9 +64,9 @@ export interface Label {
63
64
  */
64
65
  settings?: Settings;
65
66
  /**
66
- * @generated from protobuf field: optional resources.citizens.labels.Access access = 10
67
+ * @generated from protobuf field: optional resources.citizens.labels.LabelAccess access = 10
67
68
  */
68
- access?: Access;
69
+ access?: LabelAccess;
69
70
  /**
70
71
  * Citizen label assignment data
71
72
  *
@@ -90,73 +91,6 @@ export interface Settings {
90
91
  */
91
92
  maxDuration?: Duration;
92
93
  }
93
- /**
94
- * @generated from protobuf message resources.citizens.labels.Access
95
- */
96
- export interface Access {
97
- /**
98
- * @generated from protobuf field: repeated resources.citizens.labels.JobAccess jobs = 1
99
- */
100
- jobs: JobAccess[];
101
- }
102
- /**
103
- * @generated from protobuf message resources.citizens.labels.JobAccess
104
- */
105
- export interface JobAccess {
106
- /**
107
- * @generated from protobuf field: int64 id = 1
108
- */
109
- id: number;
110
- /**
111
- * @generated from protobuf field: int64 target_id = 2
112
- */
113
- targetId: number;
114
- /**
115
- * @generated from protobuf field: string job = 3
116
- */
117
- job: string;
118
- /**
119
- * @generated from protobuf field: optional string job_label = 4
120
- */
121
- jobLabel?: string;
122
- /**
123
- * @generated from protobuf field: int32 minimum_grade = 5
124
- */
125
- minimumGrade: number;
126
- /**
127
- * @generated from protobuf field: optional string job_grade_label = 6
128
- */
129
- jobGradeLabel?: string;
130
- /**
131
- * @generated from protobuf field: resources.citizens.labels.AccessLevel access = 7
132
- */
133
- access: AccessLevel;
134
- }
135
- /**
136
- * @generated from protobuf enum resources.citizens.labels.AccessLevel
137
- */
138
- export enum AccessLevel {
139
- /**
140
- * @generated from protobuf enum value: ACCESS_LEVEL_UNSPECIFIED = 0;
141
- */
142
- UNSPECIFIED = 0,
143
- /**
144
- * @generated from protobuf enum value: ACCESS_LEVEL_VIEW = 1;
145
- */
146
- VIEW = 1,
147
- /**
148
- * @generated from protobuf enum value: ACCESS_LEVEL_ADD = 2;
149
- */
150
- ADD = 2,
151
- /**
152
- * @generated from protobuf enum value: ACCESS_LEVEL_REMOVE = 3;
153
- */
154
- REMOVE = 3,
155
- /**
156
- * @generated from protobuf enum value: ACCESS_LEVEL_EDIT = 4;
157
- */
158
- EDIT = 4
159
- }
160
94
  // @generated message type with reflection information, may provide speed optimized methods
161
95
  class Labels$Type extends MessageType<Labels> {
162
96
  constructor() {
@@ -217,7 +151,7 @@ class Label$Type extends MessageType<Label> {
217
151
  { no: 7, name: "color", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { len: "7", pattern: "^#[A-Fa-f0-9]{6}$" } }, "codegen.sanitizer.sanitizer": { enabled: true, stripHtmlTags: true } } },
218
152
  { no: 8, name: "icon", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "128" } }, "codegen.sanitizer.sanitizer": { enabled: true, stripHtmlTags: true } } },
219
153
  { no: 9, name: "settings", kind: "message", T: () => Settings },
220
- { no: 10, name: "access", kind: "message", T: () => Access, options: { "buf.validate.field": { required: true } } },
154
+ { no: 10, name: "access", kind: "message", T: () => LabelAccess, options: { "buf.validate.field": { required: true } } },
221
155
  { no: 11, name: "expires_at", kind: "message", T: () => Timestamp }
222
156
  ]);
223
157
  }
@@ -262,8 +196,8 @@ class Label$Type extends MessageType<Label> {
262
196
  case /* optional resources.citizens.labels.Settings settings */ 9:
263
197
  message.settings = Settings.internalBinaryRead(reader, reader.uint32(), options, message.settings);
264
198
  break;
265
- case /* optional resources.citizens.labels.Access access */ 10:
266
- message.access = Access.internalBinaryRead(reader, reader.uint32(), options, message.access);
199
+ case /* optional resources.citizens.labels.LabelAccess access */ 10:
200
+ message.access = LabelAccess.internalBinaryRead(reader, reader.uint32(), options, message.access);
267
201
  break;
268
202
  case /* optional resources.timestamp.Timestamp expires_at */ 11:
269
203
  message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);
@@ -307,9 +241,9 @@ class Label$Type extends MessageType<Label> {
307
241
  /* optional resources.citizens.labels.Settings settings = 9; */
308
242
  if (message.settings)
309
243
  Settings.internalBinaryWrite(message.settings, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
310
- /* optional resources.citizens.labels.Access access = 10; */
244
+ /* optional resources.citizens.labels.LabelAccess access = 10; */
311
245
  if (message.access)
312
- Access.internalBinaryWrite(message.access, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
246
+ LabelAccess.internalBinaryWrite(message.access, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
313
247
  /* optional resources.timestamp.Timestamp expires_at = 11; */
314
248
  if (message.expiresAt)
315
249
  Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
@@ -384,143 +318,3 @@ class Settings$Type extends MessageType<Settings> {
384
318
  * @generated MessageType for protobuf message resources.citizens.labels.Settings
385
319
  */
386
320
  export const Settings = new Settings$Type();
387
- // @generated message type with reflection information, may provide speed optimized methods
388
- class Access$Type extends MessageType<Access> {
389
- constructor() {
390
- super("resources.citizens.labels.Access", [
391
- { no: 1, name: "jobs", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => JobAccess, options: { "buf.validate.field": { repeated: { maxItems: "20" } }, "tagger.tags": "alias:\"job_access\"" } }
392
- ]);
393
- }
394
- create(value?: PartialMessage<Access>): Access {
395
- const message = globalThis.Object.create((this.messagePrototype!));
396
- message.jobs = [];
397
- if (value !== undefined)
398
- reflectionMergePartial<Access>(this, message, value);
399
- return message;
400
- }
401
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Access): Access {
402
- let message = target ?? this.create(), end = reader.pos + length;
403
- while (reader.pos < end) {
404
- let [fieldNo, wireType] = reader.tag();
405
- switch (fieldNo) {
406
- case /* repeated resources.citizens.labels.JobAccess jobs */ 1:
407
- message.jobs.push(JobAccess.internalBinaryRead(reader, reader.uint32(), options));
408
- break;
409
- default:
410
- let u = options.readUnknownField;
411
- if (u === "throw")
412
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
413
- let d = reader.skip(wireType);
414
- if (u !== false)
415
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
416
- }
417
- }
418
- return message;
419
- }
420
- internalBinaryWrite(message: Access, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
421
- /* repeated resources.citizens.labels.JobAccess jobs = 1; */
422
- for (let i = 0; i < message.jobs.length; i++)
423
- JobAccess.internalBinaryWrite(message.jobs[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
424
- let u = options.writeUnknownFields;
425
- if (u !== false)
426
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
427
- return writer;
428
- }
429
- }
430
- /**
431
- * @generated MessageType for protobuf message resources.citizens.labels.Access
432
- */
433
- export const Access = new Access$Type();
434
- // @generated message type with reflection information, may provide speed optimized methods
435
- class JobAccess$Type extends MessageType<JobAccess> {
436
- constructor() {
437
- super("resources.citizens.labels.JobAccess", [
438
- { no: 1, name: "id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/, options: { "tagger.tags": "sql:\"primary_key\"" } },
439
- { no: 2, name: "target_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ },
440
- { no: 3, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "20" } } } },
441
- { no: 4, name: "job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
442
- { no: 5, name: "minimum_grade", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gte: 0 } } } },
443
- { no: 6, name: "job_grade_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
444
- { no: 7, name: "access", kind: "enum", T: () => ["resources.citizens.labels.AccessLevel", AccessLevel, "ACCESS_LEVEL_"], options: { "buf.validate.field": { enum: { definedOnly: true } } } }
445
- ]);
446
- }
447
- create(value?: PartialMessage<JobAccess>): JobAccess {
448
- const message = globalThis.Object.create((this.messagePrototype!));
449
- message.id = 0;
450
- message.targetId = 0;
451
- message.job = "";
452
- message.minimumGrade = 0;
453
- message.access = 0;
454
- if (value !== undefined)
455
- reflectionMergePartial<JobAccess>(this, message, value);
456
- return message;
457
- }
458
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JobAccess): JobAccess {
459
- let message = target ?? this.create(), end = reader.pos + length;
460
- while (reader.pos < end) {
461
- let [fieldNo, wireType] = reader.tag();
462
- switch (fieldNo) {
463
- case /* int64 id */ 1:
464
- message.id = reader.int64().toNumber();
465
- break;
466
- case /* int64 target_id */ 2:
467
- message.targetId = reader.int64().toNumber();
468
- break;
469
- case /* string job */ 3:
470
- message.job = reader.string();
471
- break;
472
- case /* optional string job_label */ 4:
473
- message.jobLabel = reader.string();
474
- break;
475
- case /* int32 minimum_grade */ 5:
476
- message.minimumGrade = reader.int32();
477
- break;
478
- case /* optional string job_grade_label */ 6:
479
- message.jobGradeLabel = reader.string();
480
- break;
481
- case /* resources.citizens.labels.AccessLevel access */ 7:
482
- message.access = reader.int32();
483
- break;
484
- default:
485
- let u = options.readUnknownField;
486
- if (u === "throw")
487
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
488
- let d = reader.skip(wireType);
489
- if (u !== false)
490
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
491
- }
492
- }
493
- return message;
494
- }
495
- internalBinaryWrite(message: JobAccess, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
496
- /* int64 id = 1; */
497
- if (message.id !== 0)
498
- writer.tag(1, WireType.Varint).int64(message.id);
499
- /* int64 target_id = 2; */
500
- if (message.targetId !== 0)
501
- writer.tag(2, WireType.Varint).int64(message.targetId);
502
- /* string job = 3; */
503
- if (message.job !== "")
504
- writer.tag(3, WireType.LengthDelimited).string(message.job);
505
- /* optional string job_label = 4; */
506
- if (message.jobLabel !== undefined)
507
- writer.tag(4, WireType.LengthDelimited).string(message.jobLabel);
508
- /* int32 minimum_grade = 5; */
509
- if (message.minimumGrade !== 0)
510
- writer.tag(5, WireType.Varint).int32(message.minimumGrade);
511
- /* optional string job_grade_label = 6; */
512
- if (message.jobGradeLabel !== undefined)
513
- writer.tag(6, WireType.LengthDelimited).string(message.jobGradeLabel);
514
- /* resources.citizens.labels.AccessLevel access = 7; */
515
- if (message.access !== 0)
516
- writer.tag(7, WireType.Varint).int32(message.access);
517
- let u = options.writeUnknownFields;
518
- if (u !== false)
519
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
520
- return writer;
521
- }
522
- }
523
- /**
524
- * @generated MessageType for protobuf message resources.citizens.labels.JobAccess
525
- */
526
- export const JobAccess = new JobAccess$Type();
@@ -9,22 +9,6 @@ import type { SubscribeToCalendarResponse } from "./calendar";
9
9
  import type { SubscribeToCalendarRequest } from "./calendar";
10
10
  import type { ListSubscriptionsResponse } from "./calendar";
11
11
  import type { ListSubscriptionsRequest } from "./calendar";
12
- import type { RSVPCalendarEntryResponse } from "./calendar";
13
- import type { RSVPCalendarEntryRequest } from "./calendar";
14
- import type { ListCalendarEntryRSVPResponse } from "./calendar";
15
- import type { ListCalendarEntryRSVPRequest } from "./calendar";
16
- import type { ShareCalendarEntryResponse } from "./calendar";
17
- import type { ShareCalendarEntryRequest } from "./calendar";
18
- import type { DeleteCalendarEntryResponse } from "./calendar";
19
- import type { DeleteCalendarEntryRequest } from "./calendar";
20
- import type { CreateOrUpdateCalendarEntryResponse } from "./calendar";
21
- import type { CreateOrUpdateCalendarEntryRequest } from "./calendar";
22
- import type { GetCalendarEntryResponse } from "./calendar";
23
- import type { GetCalendarEntryRequest } from "./calendar";
24
- import type { GetUpcomingEntriesResponse } from "./calendar";
25
- import type { GetUpcomingEntriesRequest } from "./calendar";
26
- import type { ListCalendarEntriesResponse } from "./calendar";
27
- import type { ListCalendarEntriesRequest } from "./calendar";
28
12
  import type { DeleteCalendarResponse } from "./calendar";
29
13
  import type { DeleteCalendarRequest } from "./calendar";
30
14
  import type { UpdateCalendarResponse } from "./calendar";
@@ -62,38 +46,6 @@ export interface ICalendarServiceClient {
62
46
  * @generated from protobuf rpc: DeleteCalendar
63
47
  */
64
48
  deleteCalendar(input: DeleteCalendarRequest, options?: RpcOptions): UnaryCall<DeleteCalendarRequest, DeleteCalendarResponse>;
65
- /**
66
- * @generated from protobuf rpc: ListCalendarEntries
67
- */
68
- listCalendarEntries(input: ListCalendarEntriesRequest, options?: RpcOptions): UnaryCall<ListCalendarEntriesRequest, ListCalendarEntriesResponse>;
69
- /**
70
- * @generated from protobuf rpc: GetUpcomingEntries
71
- */
72
- getUpcomingEntries(input: GetUpcomingEntriesRequest, options?: RpcOptions): UnaryCall<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse>;
73
- /**
74
- * @generated from protobuf rpc: GetCalendarEntry
75
- */
76
- getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse>;
77
- /**
78
- * @generated from protobuf rpc: CreateOrUpdateCalendarEntry
79
- */
80
- createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>;
81
- /**
82
- * @generated from protobuf rpc: DeleteCalendarEntry
83
- */
84
- deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>;
85
- /**
86
- * @generated from protobuf rpc: ShareCalendarEntry
87
- */
88
- shareCalendarEntry(input: ShareCalendarEntryRequest, options?: RpcOptions): UnaryCall<ShareCalendarEntryRequest, ShareCalendarEntryResponse>;
89
- /**
90
- * @generated from protobuf rpc: ListCalendarEntryRSVP
91
- */
92
- listCalendarEntryRSVP(input: ListCalendarEntryRSVPRequest, options?: RpcOptions): UnaryCall<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse>;
93
- /**
94
- * @generated from protobuf rpc: RSVPCalendarEntry
95
- */
96
- rSVPCalendarEntry(input: RSVPCalendarEntryRequest, options?: RpcOptions): UnaryCall<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse>;
97
49
  /**
98
50
  * @generated from protobuf rpc: ListSubscriptions
99
51
  */
@@ -147,74 +99,18 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
147
99
  const method = this.methods[4], opt = this._transport.mergeOptions(options);
148
100
  return stackIntercept<DeleteCalendarRequest, DeleteCalendarResponse>("unary", this._transport, method, opt, input);
149
101
  }
150
- /**
151
- * @generated from protobuf rpc: ListCalendarEntries
152
- */
153
- listCalendarEntries(input: ListCalendarEntriesRequest, options?: RpcOptions): UnaryCall<ListCalendarEntriesRequest, ListCalendarEntriesResponse> {
154
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
155
- return stackIntercept<ListCalendarEntriesRequest, ListCalendarEntriesResponse>("unary", this._transport, method, opt, input);
156
- }
157
- /**
158
- * @generated from protobuf rpc: GetUpcomingEntries
159
- */
160
- getUpcomingEntries(input: GetUpcomingEntriesRequest, options?: RpcOptions): UnaryCall<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse> {
161
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
162
- return stackIntercept<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse>("unary", this._transport, method, opt, input);
163
- }
164
- /**
165
- * @generated from protobuf rpc: GetCalendarEntry
166
- */
167
- getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse> {
168
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
169
- return stackIntercept<GetCalendarEntryRequest, GetCalendarEntryResponse>("unary", this._transport, method, opt, input);
170
- }
171
- /**
172
- * @generated from protobuf rpc: CreateOrUpdateCalendarEntry
173
- */
174
- createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse> {
175
- const method = this.methods[8], opt = this._transport.mergeOptions(options);
176
- return stackIntercept<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>("unary", this._transport, method, opt, input);
177
- }
178
- /**
179
- * @generated from protobuf rpc: DeleteCalendarEntry
180
- */
181
- deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse> {
182
- const method = this.methods[9], opt = this._transport.mergeOptions(options);
183
- return stackIntercept<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>("unary", this._transport, method, opt, input);
184
- }
185
- /**
186
- * @generated from protobuf rpc: ShareCalendarEntry
187
- */
188
- shareCalendarEntry(input: ShareCalendarEntryRequest, options?: RpcOptions): UnaryCall<ShareCalendarEntryRequest, ShareCalendarEntryResponse> {
189
- const method = this.methods[10], opt = this._transport.mergeOptions(options);
190
- return stackIntercept<ShareCalendarEntryRequest, ShareCalendarEntryResponse>("unary", this._transport, method, opt, input);
191
- }
192
- /**
193
- * @generated from protobuf rpc: ListCalendarEntryRSVP
194
- */
195
- listCalendarEntryRSVP(input: ListCalendarEntryRSVPRequest, options?: RpcOptions): UnaryCall<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse> {
196
- const method = this.methods[11], opt = this._transport.mergeOptions(options);
197
- return stackIntercept<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse>("unary", this._transport, method, opt, input);
198
- }
199
- /**
200
- * @generated from protobuf rpc: RSVPCalendarEntry
201
- */
202
- rSVPCalendarEntry(input: RSVPCalendarEntryRequest, options?: RpcOptions): UnaryCall<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse> {
203
- const method = this.methods[12], opt = this._transport.mergeOptions(options);
204
- return stackIntercept<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse>("unary", this._transport, method, opt, input);
205
- }
206
102
  /**
207
103
  * @generated from protobuf rpc: ListSubscriptions
208
104
  */
209
105
  listSubscriptions(input: ListSubscriptionsRequest, options?: RpcOptions): UnaryCall<ListSubscriptionsRequest, ListSubscriptionsResponse> {
210
- const method = this.methods[13], opt = this._transport.mergeOptions(options);
106
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
211
107
  return stackIntercept<ListSubscriptionsRequest, ListSubscriptionsResponse>("unary", this._transport, method, opt, input);
212
108
  }
213
109
  /**
214
110
  * @generated from protobuf rpc: SubscribeToCalendar
215
111
  */
216
112
  subscribeToCalendar(input: SubscribeToCalendarRequest, options?: RpcOptions): UnaryCall<SubscribeToCalendarRequest, SubscribeToCalendarResponse> {
217
- const method = this.methods[14], opt = this._transport.mergeOptions(options);
113
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
218
114
  return stackIntercept<SubscribeToCalendarRequest, SubscribeToCalendarResponse>("unary", this._transport, method, opt, input);
219
115
  }
220
116
  }