@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,381 @@
1
+ // @generated by protobuf-ts 2.9.4 with parameter optimize_speed,long_type_number,force_server_none
2
+ // @generated from protobuf file "services/mailer/mailer.proto" (package "services.mailer", 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 { MailerService } from "./mailer";
7
+ import type { SetEmailSettingsResponse } from "./mailer";
8
+ import type { SetEmailSettingsRequest } from "./mailer";
9
+ import type { GetEmailSettingsResponse } from "./mailer";
10
+ import type { GetEmailSettingsRequest } from "./mailer";
11
+ import type { DeleteMessageResponse } from "./mailer";
12
+ import type { DeleteMessageRequest } from "./mailer";
13
+ import type { PostMessageResponse } from "./mailer";
14
+ import type { PostMessageRequest } from "./mailer";
15
+ import type { ListThreadMessagesResponse } from "./mailer";
16
+ import type { ListThreadMessagesRequest } from "./mailer";
17
+ import type { SearchThreadsResponse } from "./mailer";
18
+ import type { SearchThreadsRequest } from "./mailer";
19
+ import type { SetThreadStateResponse } from "./mailer";
20
+ import type { SetThreadStateRequest } from "./mailer";
21
+ import type { GetThreadStateResponse } from "./mailer";
22
+ import type { GetThreadStateRequest } from "./mailer";
23
+ import type { DeleteThreadResponse } from "./mailer";
24
+ import type { DeleteThreadRequest } from "./mailer";
25
+ import type { CreateThreadResponse } from "./mailer";
26
+ import type { CreateThreadRequest } from "./mailer";
27
+ import type { GetThreadResponse } from "./mailer";
28
+ import type { GetThreadRequest } from "./mailer";
29
+ import type { ListThreadsResponse } from "./mailer";
30
+ import type { ListThreadsRequest } from "./mailer";
31
+ import type { DeleteTemplateResponse } from "./mailer";
32
+ import type { DeleteTemplateRequest } from "./mailer";
33
+ import type { CreateOrUpdateTemplateResponse } from "./mailer";
34
+ import type { CreateOrUpdateTemplateRequest } from "./mailer";
35
+ import type { GetTemplateResponse } from "./mailer";
36
+ import type { GetTemplateRequest } from "./mailer";
37
+ import type { ListTemplatesResponse } from "./mailer";
38
+ import type { ListTemplatesRequest } from "./mailer";
39
+ import type { GetEmailProposalsResponse } from "./mailer";
40
+ import type { GetEmailProposalsRequest } from "./mailer";
41
+ import type { DeleteEmailResponse } from "./mailer";
42
+ import type { DeleteEmailRequest } from "./mailer";
43
+ import type { CreateOrUpdateEmailResponse } from "./mailer";
44
+ import type { CreateOrUpdateEmailRequest } from "./mailer";
45
+ import type { GetEmailResponse } from "./mailer";
46
+ import type { GetEmailRequest } from "./mailer";
47
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
48
+ import type { ListEmailsResponse } from "./mailer";
49
+ import type { ListEmailsRequest } from "./mailer";
50
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
51
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
52
+ /**
53
+ * @generated from protobuf service services.mailer.MailerService
54
+ */
55
+ export interface IMailerServiceClient {
56
+ /**
57
+ * @perm
58
+ *
59
+ * @generated from protobuf rpc: ListEmails(services.mailer.ListEmailsRequest) returns (services.mailer.ListEmailsResponse);
60
+ */
61
+ listEmails(input: ListEmailsRequest, options?: RpcOptions): UnaryCall<ListEmailsRequest, ListEmailsResponse>;
62
+ /**
63
+ * @perm: Name=ListEmails
64
+ *
65
+ * @generated from protobuf rpc: GetEmail(services.mailer.GetEmailRequest) returns (services.mailer.GetEmailResponse);
66
+ */
67
+ getEmail(input: GetEmailRequest, options?: RpcOptions): UnaryCall<GetEmailRequest, GetEmailResponse>;
68
+ /**
69
+ * @perm: Attrs=Fields/StringList:[]string{"Job"}
70
+ *
71
+ * @generated from protobuf rpc: CreateOrUpdateEmail(services.mailer.CreateOrUpdateEmailRequest) returns (services.mailer.CreateOrUpdateEmailResponse);
72
+ */
73
+ createOrUpdateEmail(input: CreateOrUpdateEmailRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateEmailRequest, CreateOrUpdateEmailResponse>;
74
+ /**
75
+ * @perm
76
+ *
77
+ * @generated from protobuf rpc: DeleteEmail(services.mailer.DeleteEmailRequest) returns (services.mailer.DeleteEmailResponse);
78
+ */
79
+ deleteEmail(input: DeleteEmailRequest, options?: RpcOptions): UnaryCall<DeleteEmailRequest, DeleteEmailResponse>;
80
+ /**
81
+ * @perm: Name=ListEmails
82
+ *
83
+ * @generated from protobuf rpc: GetEmailProposals(services.mailer.GetEmailProposalsRequest) returns (services.mailer.GetEmailProposalsResponse);
84
+ */
85
+ getEmailProposals(input: GetEmailProposalsRequest, options?: RpcOptions): UnaryCall<GetEmailProposalsRequest, GetEmailProposalsResponse>;
86
+ /**
87
+ * @perm: Name=ListEmails
88
+ *
89
+ * @generated from protobuf rpc: ListTemplates(services.mailer.ListTemplatesRequest) returns (services.mailer.ListTemplatesResponse);
90
+ */
91
+ listTemplates(input: ListTemplatesRequest, options?: RpcOptions): UnaryCall<ListTemplatesRequest, ListTemplatesResponse>;
92
+ /**
93
+ * @perm: Name=ListEmails
94
+ *
95
+ * @generated from protobuf rpc: GetTemplate(services.mailer.GetTemplateRequest) returns (services.mailer.GetTemplateResponse);
96
+ */
97
+ getTemplate(input: GetTemplateRequest, options?: RpcOptions): UnaryCall<GetTemplateRequest, GetTemplateResponse>;
98
+ /**
99
+ * @perm: Name=ListEmails
100
+ *
101
+ * @generated from protobuf rpc: CreateOrUpdateTemplate(services.mailer.CreateOrUpdateTemplateRequest) returns (services.mailer.CreateOrUpdateTemplateResponse);
102
+ */
103
+ createOrUpdateTemplate(input: CreateOrUpdateTemplateRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateTemplateRequest, CreateOrUpdateTemplateResponse>;
104
+ /**
105
+ * @perm: Name=ListEmails
106
+ *
107
+ * @generated from protobuf rpc: DeleteTemplate(services.mailer.DeleteTemplateRequest) returns (services.mailer.DeleteTemplateResponse);
108
+ */
109
+ deleteTemplate(input: DeleteTemplateRequest, options?: RpcOptions): UnaryCall<DeleteTemplateRequest, DeleteTemplateResponse>;
110
+ /**
111
+ * @perm: Name=ListEmails
112
+ *
113
+ * @generated from protobuf rpc: ListThreads(services.mailer.ListThreadsRequest) returns (services.mailer.ListThreadsResponse);
114
+ */
115
+ listThreads(input: ListThreadsRequest, options?: RpcOptions): UnaryCall<ListThreadsRequest, ListThreadsResponse>;
116
+ /**
117
+ * @perm: Name=ListEmails
118
+ *
119
+ * @generated from protobuf rpc: GetThread(services.mailer.GetThreadRequest) returns (services.mailer.GetThreadResponse);
120
+ */
121
+ getThread(input: GetThreadRequest, options?: RpcOptions): UnaryCall<GetThreadRequest, GetThreadResponse>;
122
+ /**
123
+ * @perm: Name=ListEmails
124
+ *
125
+ * @generated from protobuf rpc: CreateThread(services.mailer.CreateThreadRequest) returns (services.mailer.CreateThreadResponse);
126
+ */
127
+ createThread(input: CreateThreadRequest, options?: RpcOptions): UnaryCall<CreateThreadRequest, CreateThreadResponse>;
128
+ /**
129
+ * @perm: Name=SuperUser
130
+ *
131
+ * @generated from protobuf rpc: DeleteThread(services.mailer.DeleteThreadRequest) returns (services.mailer.DeleteThreadResponse);
132
+ */
133
+ deleteThread(input: DeleteThreadRequest, options?: RpcOptions): UnaryCall<DeleteThreadRequest, DeleteThreadResponse>;
134
+ /**
135
+ * @perm: Name=ListEmails
136
+ *
137
+ * @generated from protobuf rpc: GetThreadState(services.mailer.GetThreadStateRequest) returns (services.mailer.GetThreadStateResponse);
138
+ */
139
+ getThreadState(input: GetThreadStateRequest, options?: RpcOptions): UnaryCall<GetThreadStateRequest, GetThreadStateResponse>;
140
+ /**
141
+ * @perm: Name=ListEmails
142
+ *
143
+ * @generated from protobuf rpc: SetThreadState(services.mailer.SetThreadStateRequest) returns (services.mailer.SetThreadStateResponse);
144
+ */
145
+ setThreadState(input: SetThreadStateRequest, options?: RpcOptions): UnaryCall<SetThreadStateRequest, SetThreadStateResponse>;
146
+ /**
147
+ * @perm: Name=ListEmails
148
+ *
149
+ * @generated from protobuf rpc: SearchThreads(services.mailer.SearchThreadsRequest) returns (services.mailer.SearchThreadsResponse);
150
+ */
151
+ searchThreads(input: SearchThreadsRequest, options?: RpcOptions): UnaryCall<SearchThreadsRequest, SearchThreadsResponse>;
152
+ /**
153
+ * @perm: Name=ListEmails
154
+ *
155
+ * @generated from protobuf rpc: ListThreadMessages(services.mailer.ListThreadMessagesRequest) returns (services.mailer.ListThreadMessagesResponse);
156
+ */
157
+ listThreadMessages(input: ListThreadMessagesRequest, options?: RpcOptions): UnaryCall<ListThreadMessagesRequest, ListThreadMessagesResponse>;
158
+ /**
159
+ * @perm: Name=ListEmails
160
+ *
161
+ * @generated from protobuf rpc: PostMessage(services.mailer.PostMessageRequest) returns (services.mailer.PostMessageResponse);
162
+ */
163
+ postMessage(input: PostMessageRequest, options?: RpcOptions): UnaryCall<PostMessageRequest, PostMessageResponse>;
164
+ /**
165
+ * @perm: Name=SuperUser
166
+ *
167
+ * @generated from protobuf rpc: DeleteMessage(services.mailer.DeleteMessageRequest) returns (services.mailer.DeleteMessageResponse);
168
+ */
169
+ deleteMessage(input: DeleteMessageRequest, options?: RpcOptions): UnaryCall<DeleteMessageRequest, DeleteMessageResponse>;
170
+ /**
171
+ * @perm: Name=ListEmails
172
+ *
173
+ * @generated from protobuf rpc: GetEmailSettings(services.mailer.GetEmailSettingsRequest) returns (services.mailer.GetEmailSettingsResponse);
174
+ */
175
+ getEmailSettings(input: GetEmailSettingsRequest, options?: RpcOptions): UnaryCall<GetEmailSettingsRequest, GetEmailSettingsResponse>;
176
+ /**
177
+ * @perm: Name=ListEmails
178
+ *
179
+ * @generated from protobuf rpc: SetEmailSettings(services.mailer.SetEmailSettingsRequest) returns (services.mailer.SetEmailSettingsResponse);
180
+ */
181
+ setEmailSettings(input: SetEmailSettingsRequest, options?: RpcOptions): UnaryCall<SetEmailSettingsRequest, SetEmailSettingsResponse>;
182
+ }
183
+ /**
184
+ * @generated from protobuf service services.mailer.MailerService
185
+ */
186
+ export class MailerServiceClient implements IMailerServiceClient, ServiceInfo {
187
+ typeName = MailerService.typeName;
188
+ methods = MailerService.methods;
189
+ options = MailerService.options;
190
+ constructor(private readonly _transport: RpcTransport) {
191
+ }
192
+ /**
193
+ * @perm
194
+ *
195
+ * @generated from protobuf rpc: ListEmails(services.mailer.ListEmailsRequest) returns (services.mailer.ListEmailsResponse);
196
+ */
197
+ listEmails(input: ListEmailsRequest, options?: RpcOptions): UnaryCall<ListEmailsRequest, ListEmailsResponse> {
198
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
199
+ return stackIntercept<ListEmailsRequest, ListEmailsResponse>("unary", this._transport, method, opt, input);
200
+ }
201
+ /**
202
+ * @perm: Name=ListEmails
203
+ *
204
+ * @generated from protobuf rpc: GetEmail(services.mailer.GetEmailRequest) returns (services.mailer.GetEmailResponse);
205
+ */
206
+ getEmail(input: GetEmailRequest, options?: RpcOptions): UnaryCall<GetEmailRequest, GetEmailResponse> {
207
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
208
+ return stackIntercept<GetEmailRequest, GetEmailResponse>("unary", this._transport, method, opt, input);
209
+ }
210
+ /**
211
+ * @perm: Attrs=Fields/StringList:[]string{"Job"}
212
+ *
213
+ * @generated from protobuf rpc: CreateOrUpdateEmail(services.mailer.CreateOrUpdateEmailRequest) returns (services.mailer.CreateOrUpdateEmailResponse);
214
+ */
215
+ createOrUpdateEmail(input: CreateOrUpdateEmailRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateEmailRequest, CreateOrUpdateEmailResponse> {
216
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
217
+ return stackIntercept<CreateOrUpdateEmailRequest, CreateOrUpdateEmailResponse>("unary", this._transport, method, opt, input);
218
+ }
219
+ /**
220
+ * @perm
221
+ *
222
+ * @generated from protobuf rpc: DeleteEmail(services.mailer.DeleteEmailRequest) returns (services.mailer.DeleteEmailResponse);
223
+ */
224
+ deleteEmail(input: DeleteEmailRequest, options?: RpcOptions): UnaryCall<DeleteEmailRequest, DeleteEmailResponse> {
225
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
226
+ return stackIntercept<DeleteEmailRequest, DeleteEmailResponse>("unary", this._transport, method, opt, input);
227
+ }
228
+ /**
229
+ * @perm: Name=ListEmails
230
+ *
231
+ * @generated from protobuf rpc: GetEmailProposals(services.mailer.GetEmailProposalsRequest) returns (services.mailer.GetEmailProposalsResponse);
232
+ */
233
+ getEmailProposals(input: GetEmailProposalsRequest, options?: RpcOptions): UnaryCall<GetEmailProposalsRequest, GetEmailProposalsResponse> {
234
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
235
+ return stackIntercept<GetEmailProposalsRequest, GetEmailProposalsResponse>("unary", this._transport, method, opt, input);
236
+ }
237
+ /**
238
+ * @perm: Name=ListEmails
239
+ *
240
+ * @generated from protobuf rpc: ListTemplates(services.mailer.ListTemplatesRequest) returns (services.mailer.ListTemplatesResponse);
241
+ */
242
+ listTemplates(input: ListTemplatesRequest, options?: RpcOptions): UnaryCall<ListTemplatesRequest, ListTemplatesResponse> {
243
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
244
+ return stackIntercept<ListTemplatesRequest, ListTemplatesResponse>("unary", this._transport, method, opt, input);
245
+ }
246
+ /**
247
+ * @perm: Name=ListEmails
248
+ *
249
+ * @generated from protobuf rpc: GetTemplate(services.mailer.GetTemplateRequest) returns (services.mailer.GetTemplateResponse);
250
+ */
251
+ getTemplate(input: GetTemplateRequest, options?: RpcOptions): UnaryCall<GetTemplateRequest, GetTemplateResponse> {
252
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
253
+ return stackIntercept<GetTemplateRequest, GetTemplateResponse>("unary", this._transport, method, opt, input);
254
+ }
255
+ /**
256
+ * @perm: Name=ListEmails
257
+ *
258
+ * @generated from protobuf rpc: CreateOrUpdateTemplate(services.mailer.CreateOrUpdateTemplateRequest) returns (services.mailer.CreateOrUpdateTemplateResponse);
259
+ */
260
+ createOrUpdateTemplate(input: CreateOrUpdateTemplateRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateTemplateRequest, CreateOrUpdateTemplateResponse> {
261
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
262
+ return stackIntercept<CreateOrUpdateTemplateRequest, CreateOrUpdateTemplateResponse>("unary", this._transport, method, opt, input);
263
+ }
264
+ /**
265
+ * @perm: Name=ListEmails
266
+ *
267
+ * @generated from protobuf rpc: DeleteTemplate(services.mailer.DeleteTemplateRequest) returns (services.mailer.DeleteTemplateResponse);
268
+ */
269
+ deleteTemplate(input: DeleteTemplateRequest, options?: RpcOptions): UnaryCall<DeleteTemplateRequest, DeleteTemplateResponse> {
270
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
271
+ return stackIntercept<DeleteTemplateRequest, DeleteTemplateResponse>("unary", this._transport, method, opt, input);
272
+ }
273
+ /**
274
+ * @perm: Name=ListEmails
275
+ *
276
+ * @generated from protobuf rpc: ListThreads(services.mailer.ListThreadsRequest) returns (services.mailer.ListThreadsResponse);
277
+ */
278
+ listThreads(input: ListThreadsRequest, options?: RpcOptions): UnaryCall<ListThreadsRequest, ListThreadsResponse> {
279
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
280
+ return stackIntercept<ListThreadsRequest, ListThreadsResponse>("unary", this._transport, method, opt, input);
281
+ }
282
+ /**
283
+ * @perm: Name=ListEmails
284
+ *
285
+ * @generated from protobuf rpc: GetThread(services.mailer.GetThreadRequest) returns (services.mailer.GetThreadResponse);
286
+ */
287
+ getThread(input: GetThreadRequest, options?: RpcOptions): UnaryCall<GetThreadRequest, GetThreadResponse> {
288
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
289
+ return stackIntercept<GetThreadRequest, GetThreadResponse>("unary", this._transport, method, opt, input);
290
+ }
291
+ /**
292
+ * @perm: Name=ListEmails
293
+ *
294
+ * @generated from protobuf rpc: CreateThread(services.mailer.CreateThreadRequest) returns (services.mailer.CreateThreadResponse);
295
+ */
296
+ createThread(input: CreateThreadRequest, options?: RpcOptions): UnaryCall<CreateThreadRequest, CreateThreadResponse> {
297
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
298
+ return stackIntercept<CreateThreadRequest, CreateThreadResponse>("unary", this._transport, method, opt, input);
299
+ }
300
+ /**
301
+ * @perm: Name=SuperUser
302
+ *
303
+ * @generated from protobuf rpc: DeleteThread(services.mailer.DeleteThreadRequest) returns (services.mailer.DeleteThreadResponse);
304
+ */
305
+ deleteThread(input: DeleteThreadRequest, options?: RpcOptions): UnaryCall<DeleteThreadRequest, DeleteThreadResponse> {
306
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
307
+ return stackIntercept<DeleteThreadRequest, DeleteThreadResponse>("unary", this._transport, method, opt, input);
308
+ }
309
+ /**
310
+ * @perm: Name=ListEmails
311
+ *
312
+ * @generated from protobuf rpc: GetThreadState(services.mailer.GetThreadStateRequest) returns (services.mailer.GetThreadStateResponse);
313
+ */
314
+ getThreadState(input: GetThreadStateRequest, options?: RpcOptions): UnaryCall<GetThreadStateRequest, GetThreadStateResponse> {
315
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
316
+ return stackIntercept<GetThreadStateRequest, GetThreadStateResponse>("unary", this._transport, method, opt, input);
317
+ }
318
+ /**
319
+ * @perm: Name=ListEmails
320
+ *
321
+ * @generated from protobuf rpc: SetThreadState(services.mailer.SetThreadStateRequest) returns (services.mailer.SetThreadStateResponse);
322
+ */
323
+ setThreadState(input: SetThreadStateRequest, options?: RpcOptions): UnaryCall<SetThreadStateRequest, SetThreadStateResponse> {
324
+ const method = this.methods[14], opt = this._transport.mergeOptions(options);
325
+ return stackIntercept<SetThreadStateRequest, SetThreadStateResponse>("unary", this._transport, method, opt, input);
326
+ }
327
+ /**
328
+ * @perm: Name=ListEmails
329
+ *
330
+ * @generated from protobuf rpc: SearchThreads(services.mailer.SearchThreadsRequest) returns (services.mailer.SearchThreadsResponse);
331
+ */
332
+ searchThreads(input: SearchThreadsRequest, options?: RpcOptions): UnaryCall<SearchThreadsRequest, SearchThreadsResponse> {
333
+ const method = this.methods[15], opt = this._transport.mergeOptions(options);
334
+ return stackIntercept<SearchThreadsRequest, SearchThreadsResponse>("unary", this._transport, method, opt, input);
335
+ }
336
+ /**
337
+ * @perm: Name=ListEmails
338
+ *
339
+ * @generated from protobuf rpc: ListThreadMessages(services.mailer.ListThreadMessagesRequest) returns (services.mailer.ListThreadMessagesResponse);
340
+ */
341
+ listThreadMessages(input: ListThreadMessagesRequest, options?: RpcOptions): UnaryCall<ListThreadMessagesRequest, ListThreadMessagesResponse> {
342
+ const method = this.methods[16], opt = this._transport.mergeOptions(options);
343
+ return stackIntercept<ListThreadMessagesRequest, ListThreadMessagesResponse>("unary", this._transport, method, opt, input);
344
+ }
345
+ /**
346
+ * @perm: Name=ListEmails
347
+ *
348
+ * @generated from protobuf rpc: PostMessage(services.mailer.PostMessageRequest) returns (services.mailer.PostMessageResponse);
349
+ */
350
+ postMessage(input: PostMessageRequest, options?: RpcOptions): UnaryCall<PostMessageRequest, PostMessageResponse> {
351
+ const method = this.methods[17], opt = this._transport.mergeOptions(options);
352
+ return stackIntercept<PostMessageRequest, PostMessageResponse>("unary", this._transport, method, opt, input);
353
+ }
354
+ /**
355
+ * @perm: Name=SuperUser
356
+ *
357
+ * @generated from protobuf rpc: DeleteMessage(services.mailer.DeleteMessageRequest) returns (services.mailer.DeleteMessageResponse);
358
+ */
359
+ deleteMessage(input: DeleteMessageRequest, options?: RpcOptions): UnaryCall<DeleteMessageRequest, DeleteMessageResponse> {
360
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
361
+ return stackIntercept<DeleteMessageRequest, DeleteMessageResponse>("unary", this._transport, method, opt, input);
362
+ }
363
+ /**
364
+ * @perm: Name=ListEmails
365
+ *
366
+ * @generated from protobuf rpc: GetEmailSettings(services.mailer.GetEmailSettingsRequest) returns (services.mailer.GetEmailSettingsResponse);
367
+ */
368
+ getEmailSettings(input: GetEmailSettingsRequest, options?: RpcOptions): UnaryCall<GetEmailSettingsRequest, GetEmailSettingsResponse> {
369
+ const method = this.methods[19], opt = this._transport.mergeOptions(options);
370
+ return stackIntercept<GetEmailSettingsRequest, GetEmailSettingsResponse>("unary", this._transport, method, opt, input);
371
+ }
372
+ /**
373
+ * @perm: Name=ListEmails
374
+ *
375
+ * @generated from protobuf rpc: SetEmailSettings(services.mailer.SetEmailSettingsRequest) returns (services.mailer.SetEmailSettingsResponse);
376
+ */
377
+ setEmailSettings(input: SetEmailSettingsRequest, options?: RpcOptions): UnaryCall<SetEmailSettingsRequest, SetEmailSettingsResponse> {
378
+ const method = this.methods[20], opt = this._transport.mergeOptions(options);
379
+ return stackIntercept<SetEmailSettingsRequest, SetEmailSettingsResponse>("unary", this._transport, method, opt, input);
380
+ }
381
+ }