@fivenet-app/gen 0.9.3-1

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 (123) hide show
  1. package/README.md +1 -0
  2. package/google/protobuf/any.ts +322 -0
  3. package/google/protobuf/descriptor.ts +3475 -0
  4. package/google/protobuf/duration.ts +231 -0
  5. package/google/protobuf/timestamp.ts +290 -0
  6. package/package.json +15 -0
  7. package/perms.ts +178 -0
  8. package/resources/accounts/accounts.ts +195 -0
  9. package/resources/accounts/oauth2.ts +230 -0
  10. package/resources/calendar/access.ts +362 -0
  11. package/resources/calendar/calendar.ts +955 -0
  12. package/resources/centrum/access.ts +380 -0
  13. package/resources/centrum/dispatches.ts +854 -0
  14. package/resources/centrum/general.ts +231 -0
  15. package/resources/centrum/settings.ts +303 -0
  16. package/resources/centrum/units.ts +620 -0
  17. package/resources/common/access/dummy.ts +309 -0
  18. package/resources/common/content/content.ts +252 -0
  19. package/resources/common/cron/cron.ts +536 -0
  20. package/resources/common/database/database.ts +306 -0
  21. package/resources/common/error.ts +79 -0
  22. package/resources/common/grpcws/grpcws.ts +615 -0
  23. package/resources/common/i18n.ts +102 -0
  24. package/resources/common/uuid.ts +68 -0
  25. package/resources/documents/access.ts +388 -0
  26. package/resources/documents/activity.ts +803 -0
  27. package/resources/documents/category.ts +132 -0
  28. package/resources/documents/comment.ts +161 -0
  29. package/resources/documents/documents.ts +1124 -0
  30. package/resources/documents/requests.ts +196 -0
  31. package/resources/documents/templates.ts +949 -0
  32. package/resources/documents/workflow.ts +349 -0
  33. package/resources/filestore/file.ts +204 -0
  34. package/resources/internet/ads.ts +257 -0
  35. package/resources/internet/domain.ts +136 -0
  36. package/resources/internet/internet.ts +344 -0
  37. package/resources/internet/page.ts +236 -0
  38. package/resources/internet/search.ts +104 -0
  39. package/resources/jobs/activity.ts +600 -0
  40. package/resources/jobs/colleagues.ts +346 -0
  41. package/resources/jobs/conduct.ts +220 -0
  42. package/resources/jobs/labels.ts +240 -0
  43. package/resources/jobs/timeclock.ts +372 -0
  44. package/resources/laws/laws.ts +293 -0
  45. package/resources/livemap/livemap.ts +728 -0
  46. package/resources/livemap/tracker.ts +81 -0
  47. package/resources/mailer/access.ts +485 -0
  48. package/resources/mailer/email.ts +222 -0
  49. package/resources/mailer/events.ts +196 -0
  50. package/resources/mailer/message.ts +285 -0
  51. package/resources/mailer/settings.ts +95 -0
  52. package/resources/mailer/template.ts +164 -0
  53. package/resources/mailer/thread.ts +422 -0
  54. package/resources/mailer/user.ts +93 -0
  55. package/resources/notifications/events.ts +287 -0
  56. package/resources/notifications/notifications.ts +444 -0
  57. package/resources/permissions/permissions.ts +829 -0
  58. package/resources/qualifications/access.ts +275 -0
  59. package/resources/qualifications/exam.ts +1421 -0
  60. package/resources/qualifications/qualifications.ts +1289 -0
  61. package/resources/rector/audit.ts +226 -0
  62. package/resources/rector/config.ts +922 -0
  63. package/resources/stats/stats.ts +67 -0
  64. package/resources/sync/activity.ts +356 -0
  65. package/resources/sync/data.ts +455 -0
  66. package/resources/timestamp/timestamp.ts +78 -0
  67. package/resources/users/activity.ts +211 -0
  68. package/resources/users/job_props.ts +992 -0
  69. package/resources/users/jobs.ts +171 -0
  70. package/resources/users/labels.ts +161 -0
  71. package/resources/users/props.ts +207 -0
  72. package/resources/users/users.ts +570 -0
  73. package/resources/vehicles/vehicles.ts +114 -0
  74. package/resources/wiki/access.ts +362 -0
  75. package/resources/wiki/activity.ts +591 -0
  76. package/resources/wiki/page.ts +548 -0
  77. package/services/auth/auth.client.ts +171 -0
  78. package/services/auth/auth.ts +1331 -0
  79. package/services/calendar/calendar.client.ts +262 -0
  80. package/services/calendar/calendar.ts +1733 -0
  81. package/services/centrum/centrum.client.ts +365 -0
  82. package/services/centrum/centrum.ts +2619 -0
  83. package/services/citizenstore/citizenstore.client.ts +126 -0
  84. package/services/citizenstore/citizenstore.ts +847 -0
  85. package/services/completor/completor.client.ts +109 -0
  86. package/services/completor/completor.ts +616 -0
  87. package/services/dmv/vehicles.client.ts +41 -0
  88. package/services/dmv/vehicles.ts +191 -0
  89. package/services/docstore/docstore.client.ts +653 -0
  90. package/services/docstore/docstore.ts +4571 -0
  91. package/services/internet/ads.client.ts +41 -0
  92. package/services/internet/ads.ts +145 -0
  93. package/services/internet/internet.client.ts +58 -0
  94. package/services/internet/internet.ts +257 -0
  95. package/services/jobs/conduct.client.ts +92 -0
  96. package/services/jobs/conduct.ts +541 -0
  97. package/services/jobs/jobs.client.ts +194 -0
  98. package/services/jobs/jobs.ts +1301 -0
  99. package/services/jobs/timeclock.client.ts +75 -0
  100. package/services/jobs/timeclock.ts +808 -0
  101. package/services/livemapper/livemap.client.ts +76 -0
  102. package/services/livemapper/livemap.ts +552 -0
  103. package/services/mailer/mailer.client.ts +381 -0
  104. package/services/mailer/mailer.ts +2590 -0
  105. package/services/notificator/notificator.client.ts +76 -0
  106. package/services/notificator/notificator.ts +510 -0
  107. package/services/qualifications/qualifications.client.ts +279 -0
  108. package/services/qualifications/qualifications.ts +2142 -0
  109. package/services/rector/config.client.ts +58 -0
  110. package/services/rector/config.ts +216 -0
  111. package/services/rector/filestore.client.ts +75 -0
  112. package/services/rector/filestore.ts +378 -0
  113. package/services/rector/laws.client.ts +92 -0
  114. package/services/rector/laws.ts +416 -0
  115. package/services/rector/rector.client.ts +211 -0
  116. package/services/rector/rector.ts +1540 -0
  117. package/services/stats/stats.client.ts +37 -0
  118. package/services/stats/stats.ts +128 -0
  119. package/services/sync/sync.client.ts +110 -0
  120. package/services/sync/sync.ts +831 -0
  121. package/services/wiki/wiki.client.ts +126 -0
  122. package/services/wiki/wiki.ts +749 -0
  123. package/svcs.ts +307 -0
@@ -0,0 +1,262 @@
1
+ // @generated by protobuf-ts 2.9.4 with parameter optimize_speed,long_type_number,force_server_none
2
+ // @generated from protobuf file "services/calendar/calendar.proto" (package "services.calendar", syntax proto3)
3
+ // @ts-nocheck
4
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
+ import { CalendarService } from "./calendar";
7
+ import type { SubscribeToCalendarResponse } from "./calendar";
8
+ import type { SubscribeToCalendarRequest } from "./calendar";
9
+ import type { ListSubscriptionsResponse } from "./calendar";
10
+ import type { ListSubscriptionsRequest } from "./calendar";
11
+ import type { RSVPCalendarEntryResponse } from "./calendar";
12
+ import type { RSVPCalendarEntryRequest } from "./calendar";
13
+ import type { ListCalendarEntryRSVPResponse } from "./calendar";
14
+ import type { ListCalendarEntryRSVPRequest } from "./calendar";
15
+ import type { ShareCalendarEntryResponse } from "./calendar";
16
+ import type { ShareCalendarEntryRequest } from "./calendar";
17
+ import type { DeleteCalendarEntryResponse } from "./calendar";
18
+ import type { DeleteCalendarEntryRequest } from "./calendar";
19
+ import type { CreateOrUpdateCalendarEntryResponse } from "./calendar";
20
+ import type { CreateOrUpdateCalendarEntryRequest } from "./calendar";
21
+ import type { GetCalendarEntryResponse } from "./calendar";
22
+ import type { GetCalendarEntryRequest } from "./calendar";
23
+ import type { GetUpcomingEntriesResponse } from "./calendar";
24
+ import type { GetUpcomingEntriesRequest } from "./calendar";
25
+ import type { ListCalendarEntriesResponse } from "./calendar";
26
+ import type { ListCalendarEntriesRequest } from "./calendar";
27
+ import type { DeleteCalendarResponse } from "./calendar";
28
+ import type { DeleteCalendarRequest } from "./calendar";
29
+ import type { CreateOrUpdateCalendarResponse } from "./calendar";
30
+ import type { CreateOrUpdateCalendarRequest } from "./calendar";
31
+ import type { GetCalendarResponse } from "./calendar";
32
+ import type { GetCalendarRequest } from "./calendar";
33
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
34
+ import type { ListCalendarsResponse } from "./calendar";
35
+ import type { ListCalendarsRequest } from "./calendar";
36
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
37
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
38
+ /**
39
+ * @generated from protobuf service services.calendar.CalendarService
40
+ */
41
+ export interface ICalendarServiceClient {
42
+ /**
43
+ * @perm: Name=Any
44
+ *
45
+ * @generated from protobuf rpc: ListCalendars(services.calendar.ListCalendarsRequest) returns (services.calendar.ListCalendarsResponse);
46
+ */
47
+ listCalendars(input: ListCalendarsRequest, options?: RpcOptions): UnaryCall<ListCalendarsRequest, ListCalendarsResponse>;
48
+ /**
49
+ * @perm: Name=Any
50
+ *
51
+ * @generated from protobuf rpc: GetCalendar(services.calendar.GetCalendarRequest) returns (services.calendar.GetCalendarResponse);
52
+ */
53
+ getCalendar(input: GetCalendarRequest, options?: RpcOptions): UnaryCall<GetCalendarRequest, GetCalendarResponse>;
54
+ /**
55
+ * @perm: Attrs=Fields/StringList:[]string{"Job", "Public"}
56
+ *
57
+ * @generated from protobuf rpc: CreateOrUpdateCalendar(services.calendar.CreateOrUpdateCalendarRequest) returns (services.calendar.CreateOrUpdateCalendarResponse);
58
+ */
59
+ createOrUpdateCalendar(input: CreateOrUpdateCalendarRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarRequest, CreateOrUpdateCalendarResponse>;
60
+ /**
61
+ * @perm
62
+ *
63
+ * @generated from protobuf rpc: DeleteCalendar(services.calendar.DeleteCalendarRequest) returns (services.calendar.DeleteCalendarResponse);
64
+ */
65
+ deleteCalendar(input: DeleteCalendarRequest, options?: RpcOptions): UnaryCall<DeleteCalendarRequest, DeleteCalendarResponse>;
66
+ /**
67
+ * @perm: Name=Any
68
+ *
69
+ * @generated from protobuf rpc: ListCalendarEntries(services.calendar.ListCalendarEntriesRequest) returns (services.calendar.ListCalendarEntriesResponse);
70
+ */
71
+ listCalendarEntries(input: ListCalendarEntriesRequest, options?: RpcOptions): UnaryCall<ListCalendarEntriesRequest, ListCalendarEntriesResponse>;
72
+ /**
73
+ * @perm: Name=Any
74
+ *
75
+ * @generated from protobuf rpc: GetUpcomingEntries(services.calendar.GetUpcomingEntriesRequest) returns (services.calendar.GetUpcomingEntriesResponse);
76
+ */
77
+ getUpcomingEntries(input: GetUpcomingEntriesRequest, options?: RpcOptions): UnaryCall<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse>;
78
+ /**
79
+ * @perm: Name=Any
80
+ *
81
+ * @generated from protobuf rpc: GetCalendarEntry(services.calendar.GetCalendarEntryRequest) returns (services.calendar.GetCalendarEntryResponse);
82
+ */
83
+ getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse>;
84
+ /**
85
+ * @perm
86
+ *
87
+ * @generated from protobuf rpc: CreateOrUpdateCalendarEntry(services.calendar.CreateOrUpdateCalendarEntryRequest) returns (services.calendar.CreateOrUpdateCalendarEntryResponse);
88
+ */
89
+ createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>;
90
+ /**
91
+ * @perm
92
+ *
93
+ * @generated from protobuf rpc: DeleteCalendarEntry(services.calendar.DeleteCalendarEntryRequest) returns (services.calendar.DeleteCalendarEntryResponse);
94
+ */
95
+ deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>;
96
+ /**
97
+ * @perm: Name=CreateOrUpdateCalendarEntry
98
+ *
99
+ * @generated from protobuf rpc: ShareCalendarEntry(services.calendar.ShareCalendarEntryRequest) returns (services.calendar.ShareCalendarEntryResponse);
100
+ */
101
+ shareCalendarEntry(input: ShareCalendarEntryRequest, options?: RpcOptions): UnaryCall<ShareCalendarEntryRequest, ShareCalendarEntryResponse>;
102
+ /**
103
+ * @perm: Name=Any
104
+ *
105
+ * @generated from protobuf rpc: ListCalendarEntryRSVP(services.calendar.ListCalendarEntryRSVPRequest) returns (services.calendar.ListCalendarEntryRSVPResponse);
106
+ */
107
+ listCalendarEntryRSVP(input: ListCalendarEntryRSVPRequest, options?: RpcOptions): UnaryCall<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse>;
108
+ /**
109
+ * @perm: Name=Any
110
+ *
111
+ * @generated from protobuf rpc: RSVPCalendarEntry(services.calendar.RSVPCalendarEntryRequest) returns (services.calendar.RSVPCalendarEntryResponse);
112
+ */
113
+ rSVPCalendarEntry(input: RSVPCalendarEntryRequest, options?: RpcOptions): UnaryCall<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse>;
114
+ /**
115
+ * @perm: Name=Any
116
+ *
117
+ * @generated from protobuf rpc: ListSubscriptions(services.calendar.ListSubscriptionsRequest) returns (services.calendar.ListSubscriptionsResponse);
118
+ */
119
+ listSubscriptions(input: ListSubscriptionsRequest, options?: RpcOptions): UnaryCall<ListSubscriptionsRequest, ListSubscriptionsResponse>;
120
+ /**
121
+ * @perm: Name=Any
122
+ *
123
+ * @generated from protobuf rpc: SubscribeToCalendar(services.calendar.SubscribeToCalendarRequest) returns (services.calendar.SubscribeToCalendarResponse);
124
+ */
125
+ subscribeToCalendar(input: SubscribeToCalendarRequest, options?: RpcOptions): UnaryCall<SubscribeToCalendarRequest, SubscribeToCalendarResponse>;
126
+ }
127
+ /**
128
+ * @generated from protobuf service services.calendar.CalendarService
129
+ */
130
+ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInfo {
131
+ typeName = CalendarService.typeName;
132
+ methods = CalendarService.methods;
133
+ options = CalendarService.options;
134
+ constructor(private readonly _transport: RpcTransport) {
135
+ }
136
+ /**
137
+ * @perm: Name=Any
138
+ *
139
+ * @generated from protobuf rpc: ListCalendars(services.calendar.ListCalendarsRequest) returns (services.calendar.ListCalendarsResponse);
140
+ */
141
+ listCalendars(input: ListCalendarsRequest, options?: RpcOptions): UnaryCall<ListCalendarsRequest, ListCalendarsResponse> {
142
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
143
+ return stackIntercept<ListCalendarsRequest, ListCalendarsResponse>("unary", this._transport, method, opt, input);
144
+ }
145
+ /**
146
+ * @perm: Name=Any
147
+ *
148
+ * @generated from protobuf rpc: GetCalendar(services.calendar.GetCalendarRequest) returns (services.calendar.GetCalendarResponse);
149
+ */
150
+ getCalendar(input: GetCalendarRequest, options?: RpcOptions): UnaryCall<GetCalendarRequest, GetCalendarResponse> {
151
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
152
+ return stackIntercept<GetCalendarRequest, GetCalendarResponse>("unary", this._transport, method, opt, input);
153
+ }
154
+ /**
155
+ * @perm: Attrs=Fields/StringList:[]string{"Job", "Public"}
156
+ *
157
+ * @generated from protobuf rpc: CreateOrUpdateCalendar(services.calendar.CreateOrUpdateCalendarRequest) returns (services.calendar.CreateOrUpdateCalendarResponse);
158
+ */
159
+ createOrUpdateCalendar(input: CreateOrUpdateCalendarRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarRequest, CreateOrUpdateCalendarResponse> {
160
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
161
+ return stackIntercept<CreateOrUpdateCalendarRequest, CreateOrUpdateCalendarResponse>("unary", this._transport, method, opt, input);
162
+ }
163
+ /**
164
+ * @perm
165
+ *
166
+ * @generated from protobuf rpc: DeleteCalendar(services.calendar.DeleteCalendarRequest) returns (services.calendar.DeleteCalendarResponse);
167
+ */
168
+ deleteCalendar(input: DeleteCalendarRequest, options?: RpcOptions): UnaryCall<DeleteCalendarRequest, DeleteCalendarResponse> {
169
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
170
+ return stackIntercept<DeleteCalendarRequest, DeleteCalendarResponse>("unary", this._transport, method, opt, input);
171
+ }
172
+ /**
173
+ * @perm: Name=Any
174
+ *
175
+ * @generated from protobuf rpc: ListCalendarEntries(services.calendar.ListCalendarEntriesRequest) returns (services.calendar.ListCalendarEntriesResponse);
176
+ */
177
+ listCalendarEntries(input: ListCalendarEntriesRequest, options?: RpcOptions): UnaryCall<ListCalendarEntriesRequest, ListCalendarEntriesResponse> {
178
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
179
+ return stackIntercept<ListCalendarEntriesRequest, ListCalendarEntriesResponse>("unary", this._transport, method, opt, input);
180
+ }
181
+ /**
182
+ * @perm: Name=Any
183
+ *
184
+ * @generated from protobuf rpc: GetUpcomingEntries(services.calendar.GetUpcomingEntriesRequest) returns (services.calendar.GetUpcomingEntriesResponse);
185
+ */
186
+ getUpcomingEntries(input: GetUpcomingEntriesRequest, options?: RpcOptions): UnaryCall<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse> {
187
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
188
+ return stackIntercept<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse>("unary", this._transport, method, opt, input);
189
+ }
190
+ /**
191
+ * @perm: Name=Any
192
+ *
193
+ * @generated from protobuf rpc: GetCalendarEntry(services.calendar.GetCalendarEntryRequest) returns (services.calendar.GetCalendarEntryResponse);
194
+ */
195
+ getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse> {
196
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
197
+ return stackIntercept<GetCalendarEntryRequest, GetCalendarEntryResponse>("unary", this._transport, method, opt, input);
198
+ }
199
+ /**
200
+ * @perm
201
+ *
202
+ * @generated from protobuf rpc: CreateOrUpdateCalendarEntry(services.calendar.CreateOrUpdateCalendarEntryRequest) returns (services.calendar.CreateOrUpdateCalendarEntryResponse);
203
+ */
204
+ createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse> {
205
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
206
+ return stackIntercept<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>("unary", this._transport, method, opt, input);
207
+ }
208
+ /**
209
+ * @perm
210
+ *
211
+ * @generated from protobuf rpc: DeleteCalendarEntry(services.calendar.DeleteCalendarEntryRequest) returns (services.calendar.DeleteCalendarEntryResponse);
212
+ */
213
+ deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse> {
214
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
215
+ return stackIntercept<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>("unary", this._transport, method, opt, input);
216
+ }
217
+ /**
218
+ * @perm: Name=CreateOrUpdateCalendarEntry
219
+ *
220
+ * @generated from protobuf rpc: ShareCalendarEntry(services.calendar.ShareCalendarEntryRequest) returns (services.calendar.ShareCalendarEntryResponse);
221
+ */
222
+ shareCalendarEntry(input: ShareCalendarEntryRequest, options?: RpcOptions): UnaryCall<ShareCalendarEntryRequest, ShareCalendarEntryResponse> {
223
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
224
+ return stackIntercept<ShareCalendarEntryRequest, ShareCalendarEntryResponse>("unary", this._transport, method, opt, input);
225
+ }
226
+ /**
227
+ * @perm: Name=Any
228
+ *
229
+ * @generated from protobuf rpc: ListCalendarEntryRSVP(services.calendar.ListCalendarEntryRSVPRequest) returns (services.calendar.ListCalendarEntryRSVPResponse);
230
+ */
231
+ listCalendarEntryRSVP(input: ListCalendarEntryRSVPRequest, options?: RpcOptions): UnaryCall<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse> {
232
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
233
+ return stackIntercept<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse>("unary", this._transport, method, opt, input);
234
+ }
235
+ /**
236
+ * @perm: Name=Any
237
+ *
238
+ * @generated from protobuf rpc: RSVPCalendarEntry(services.calendar.RSVPCalendarEntryRequest) returns (services.calendar.RSVPCalendarEntryResponse);
239
+ */
240
+ rSVPCalendarEntry(input: RSVPCalendarEntryRequest, options?: RpcOptions): UnaryCall<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse> {
241
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
242
+ return stackIntercept<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse>("unary", this._transport, method, opt, input);
243
+ }
244
+ /**
245
+ * @perm: Name=Any
246
+ *
247
+ * @generated from protobuf rpc: ListSubscriptions(services.calendar.ListSubscriptionsRequest) returns (services.calendar.ListSubscriptionsResponse);
248
+ */
249
+ listSubscriptions(input: ListSubscriptionsRequest, options?: RpcOptions): UnaryCall<ListSubscriptionsRequest, ListSubscriptionsResponse> {
250
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
251
+ return stackIntercept<ListSubscriptionsRequest, ListSubscriptionsResponse>("unary", this._transport, method, opt, input);
252
+ }
253
+ /**
254
+ * @perm: Name=Any
255
+ *
256
+ * @generated from protobuf rpc: SubscribeToCalendar(services.calendar.SubscribeToCalendarRequest) returns (services.calendar.SubscribeToCalendarResponse);
257
+ */
258
+ subscribeToCalendar(input: SubscribeToCalendarRequest, options?: RpcOptions): UnaryCall<SubscribeToCalendarRequest, SubscribeToCalendarResponse> {
259
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
260
+ return stackIntercept<SubscribeToCalendarRequest, SubscribeToCalendarResponse>("unary", this._transport, method, opt, input);
261
+ }
262
+ }