@echovisionlab/geul-proto 0.1.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 (120) hide show
  1. package/LICENSE.md +6 -0
  2. package/README.md +6 -0
  3. package/eslint.config.mjs +15 -0
  4. package/gen/api/common/v1/common_pb.ts +391 -0
  5. package/gen/api/common/v1/media_pb.ts +578 -0
  6. package/gen/api/content/v1/block_catalog.ts +5978 -0
  7. package/gen/api/content/v1/block_content_pb.ts +11420 -0
  8. package/gen/api/intra/v1/artist_pb.ts +597 -0
  9. package/gen/api/intra/v1/campaign_pb.ts +383 -0
  10. package/gen/api/intra/v1/collaboration_pb.ts +661 -0
  11. package/gen/api/intra/v1/email_courier_pb.ts +98 -0
  12. package/gen/api/intra/v1/email_layout_pb.ts +295 -0
  13. package/gen/api/intra/v1/email_template_pb.ts +384 -0
  14. package/gen/api/intra/v1/file_ingest_pb.ts +144 -0
  15. package/gen/api/intra/v1/form_locale_catalog.ts +128 -0
  16. package/gen/api/intra/v1/form_locale_catalog_parity.json +24 -0
  17. package/gen/api/intra/v1/form_pb.ts +276 -0
  18. package/gen/api/intra/v1/gateway_authorization_pb.ts +96 -0
  19. package/gen/api/intra/v1/label_pb.ts +558 -0
  20. package/gen/api/intra/v1/map_pb.ts +382 -0
  21. package/gen/api/intra/v1/menu_pb.ts +282 -0
  22. package/gen/api/intra/v1/og_pb.ts +335 -0
  23. package/gen/api/intra/v1/page_pb.ts +572 -0
  24. package/gen/api/intra/v1/post_pb.ts +657 -0
  25. package/gen/api/intra/v1/post_series_pb.ts +217 -0
  26. package/gen/api/intra/v1/privacy_pb.ts +384 -0
  27. package/gen/api/intra/v1/program_event_pb.ts +390 -0
  28. package/gen/api/intra/v1/release_pb.ts +462 -0
  29. package/gen/api/intra/v1/terms_pb.ts +384 -0
  30. package/gen/api/intra/v1/work_pb.ts +477 -0
  31. package/gen/api/manage/v1/account_pb.ts +1311 -0
  32. package/gen/api/manage/v1/admin_pb.ts +681 -0
  33. package/gen/api/manage/v1/ai_pb.ts +2621 -0
  34. package/gen/api/manage/v1/artist_pb.ts +1271 -0
  35. package/gen/api/manage/v1/audience_pb.ts +597 -0
  36. package/gen/api/manage/v1/campaign_pb.ts +1289 -0
  37. package/gen/api/manage/v1/category_pb.ts +351 -0
  38. package/gen/api/manage/v1/client_pb.ts +512 -0
  39. package/gen/api/manage/v1/collaboration_pb.ts +112 -0
  40. package/gen/api/manage/v1/comment_pb.ts +530 -0
  41. package/gen/api/manage/v1/common_pb.ts +192 -0
  42. package/gen/api/manage/v1/email_layout_pb.ts +487 -0
  43. package/gen/api/manage/v1/email_suppression_pb.ts +192 -0
  44. package/gen/api/manage/v1/email_template_pb.ts +683 -0
  45. package/gen/api/manage/v1/events_pb.ts +3251 -0
  46. package/gen/api/manage/v1/file_pb.ts +2810 -0
  47. package/gen/api/manage/v1/form_pb.ts +1046 -0
  48. package/gen/api/manage/v1/format_pb.ts +321 -0
  49. package/gen/api/manage/v1/genre_pb.ts +340 -0
  50. package/gen/api/manage/v1/label_pb.ts +1105 -0
  51. package/gen/api/manage/v1/mail_adapter_pb.ts +656 -0
  52. package/gen/api/manage/v1/map_place_pb.ts +572 -0
  53. package/gen/api/manage/v1/map_theme_pb.ts +691 -0
  54. package/gen/api/manage/v1/member_pb.ts +1281 -0
  55. package/gen/api/manage/v1/menu_pb.ts +535 -0
  56. package/gen/api/manage/v1/page_pb.ts +894 -0
  57. package/gen/api/manage/v1/post_pb.ts +1475 -0
  58. package/gen/api/manage/v1/privacy_pb.ts +518 -0
  59. package/gen/api/manage/v1/program_event_pb.ts +2234 -0
  60. package/gen/api/manage/v1/release_pb.ts +1168 -0
  61. package/gen/api/manage/v1/series_pb.ts +1033 -0
  62. package/gen/api/manage/v1/share_link_pb.ts +351 -0
  63. package/gen/api/manage/v1/site_setting_pb.ts +623 -0
  64. package/gen/api/manage/v1/style_pb.ts +340 -0
  65. package/gen/api/manage/v1/tag_pb.ts +323 -0
  66. package/gen/api/manage/v1/terms_pb.ts +517 -0
  67. package/gen/api/manage/v1/track_pb.ts +543 -0
  68. package/gen/api/manage/v1/translation_pb.ts +1838 -0
  69. package/gen/api/manage/v1/work_pb.ts +1662 -0
  70. package/gen/api/open/v1/account_pb.ts +243 -0
  71. package/gen/api/open/v1/artist_pb.ts +732 -0
  72. package/gen/api/open/v1/category_pb.ts +143 -0
  73. package/gen/api/open/v1/client_pb.ts +190 -0
  74. package/gen/api/open/v1/file_pb.ts +244 -0
  75. package/gen/api/open/v1/form_pb.ts +698 -0
  76. package/gen/api/open/v1/label_pb.ts +512 -0
  77. package/gen/api/open/v1/manifest_pb.ts +326 -0
  78. package/gen/api/open/v1/map_place_pb.ts +228 -0
  79. package/gen/api/open/v1/map_theme_pb.ts +400 -0
  80. package/gen/api/open/v1/member_pb.ts +200 -0
  81. package/gen/api/open/v1/newsletter_pb.ts +77 -0
  82. package/gen/api/open/v1/page_pb.ts +236 -0
  83. package/gen/api/open/v1/post_pb.ts +834 -0
  84. package/gen/api/open/v1/privacy_pb.ts +257 -0
  85. package/gen/api/open/v1/program_event_pb.ts +1024 -0
  86. package/gen/api/open/v1/release_pb.ts +758 -0
  87. package/gen/api/open/v1/series_pb.ts +210 -0
  88. package/gen/api/open/v1/share_link_pb.ts +106 -0
  89. package/gen/api/open/v1/sitemap_pb.ts +188 -0
  90. package/gen/api/open/v1/tag_pb.ts +136 -0
  91. package/gen/api/open/v1/terms_pb.ts +257 -0
  92. package/gen/api/open/v1/translation_pb.ts +103 -0
  93. package/gen/api/open/v1/work_pb.ts +904 -0
  94. package/gen/api/policy/v1/access_pb.ts +105 -0
  95. package/gen/api/policy/v1/spicedb/artist.ts +101 -0
  96. package/gen/api/policy/v1/spicedb/audience.ts +64 -0
  97. package/gen/api/policy/v1/spicedb/campaign.ts +49 -0
  98. package/gen/api/policy/v1/spicedb/core.ts +196 -0
  99. package/gen/api/policy/v1/spicedb/email_authoring.ts +91 -0
  100. package/gen/api/policy/v1/spicedb/email_delivery.ts +44 -0
  101. package/gen/api/policy/v1/spicedb/file.ts +49 -0
  102. package/gen/api/policy/v1/spicedb/form.ts +54 -0
  103. package/gen/api/policy/v1/spicedb/internal.ts +350 -0
  104. package/gen/api/policy/v1/spicedb/label.ts +98 -0
  105. package/gen/api/policy/v1/spicedb/legal_policy.ts +103 -0
  106. package/gen/api/policy/v1/spicedb/map_theme.ts +48 -0
  107. package/gen/api/policy/v1/spicedb/member.ts +47 -0
  108. package/gen/api/policy/v1/spicedb/menu.ts +48 -0
  109. package/gen/api/policy/v1/spicedb/page.ts +54 -0
  110. package/gen/api/policy/v1/spicedb/post.ts +105 -0
  111. package/gen/api/policy/v1/spicedb/post_series.ts +70 -0
  112. package/gen/api/policy/v1/spicedb/program_event.ts +66 -0
  113. package/gen/api/policy/v1/spicedb/program_event_series.ts +62 -0
  114. package/gen/api/policy/v1/spicedb/reference_data.ts +209 -0
  115. package/gen/api/policy/v1/spicedb/release.ts +81 -0
  116. package/gen/api/policy/v1/spicedb/site_settings.ts +49 -0
  117. package/gen/api/policy/v1/spicedb/translation.ts +46 -0
  118. package/gen/api/policy/v1/spicedb/work.ts +58 -0
  119. package/package.json +66 -0
  120. package/tsconfig.json +15 -0
@@ -0,0 +1,656 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/manage/v1/mail_adapter.proto (package api.manage.v1, syntax proto3)
3
+ import type {
4
+ GenEnum,
5
+ GenFile,
6
+ GenMessage,
7
+ GenService,
8
+ } from "@bufbuild/protobuf/codegenv2";
9
+ import {
10
+ enumDesc,
11
+ fileDesc,
12
+ messageDesc,
13
+ serviceDesc,
14
+ } from "@bufbuild/protobuf/codegenv2";
15
+ import type {
16
+ FilterSpec,
17
+ PaginationRequest,
18
+ PaginationResponse,
19
+ SortSpec,
20
+ } from "../../common/v1/common_pb.ts";
21
+ import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
22
+ import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file api/manage/v1/mail_adapter.proto.
27
+ */
28
+ export const file_api_manage_v1_mail_adapter: GenFile =
29
+ /*@__PURE__*/
30
+ fileDesc(
31
+ "CiBhcGkvbWFuYWdlL3YxL21haWxfYWRhcHRlci5wcm90bxINYXBpLm1hbmFnZS52MSKHAQoJU0VTQ29uZmlnEg4KBnJlZ2lvbhgBIAEoCRIVCg1hY2Nlc3Nfa2V5X2lkGAIgASgJEhkKEXNlY3JldF9hY2Nlc3Nfa2V5GAMgASgJEhIKCmZyb21fZW1haWwYBCABKAkSFgoJZnJvbV9uYW1lGAUgASgJSACIAQFCDAoKX2Zyb21fbmFtZSKSAQoKU01UUENvbmZpZxIMCgRob3N0GAEgASgJEgwKBHBvcnQYAiABKAUSDgoGc2VjdXJlGAMgASgIEgwKBHVzZXIYBCABKAkSEAoIcGFzc3dvcmQYBSABKAkSEgoKZnJvbV9lbWFpbBgGIAEoCRIWCglmcm9tX25hbWUYByABKAlIAIgBAUIMCgpfZnJvbV9uYW1lIo4CCgtNYWlsQWRhcHRlchIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEiwKBHR5cGUYAyABKA4yHi5hcGkubWFuYWdlLnYxLk1haWxBZGFwdGVyVHlwZRIRCglpc19hY3RpdmUYBCABKAgSEAoIcHJpb3JpdHkYBSABKAUSLgoKc2VzX2NvbmZpZxgGIAEoCzIYLmFwaS5tYW5hZ2UudjEuU0VTQ29uZmlnSAASMAoLc210cF9jb25maWcYByABKAsyGS5hcGkubWFuYWdlLnYxLlNNVFBDb25maWdIABISCgpjcmVhdGVkX2F0GAggASgJEhIKCnVwZGF0ZWRfYXQYCSABKAlCCAoGY29uZmlnIvkBChhDcmVhdGVNYWlsQWRhcHRlclJlcXVlc3QSDAoEbmFtZRgBIAEoCRIsCgR0eXBlGAIgASgOMh4uYXBpLm1hbmFnZS52MS5NYWlsQWRhcHRlcl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+
35
+ /**
36
+ * @generated from message api.manage.v1.SESConfig
37
+ */
38
+ export type SESConfig = Message<"api.manage.v1.SESConfig"> & {
39
+ /**
40
+ * @generated from field: string region = 1;
41
+ */
42
+ region: string;
43
+
44
+ /**
45
+ * @generated from field: string access_key_id = 2;
46
+ */
47
+ accessKeyId: string;
48
+
49
+ /**
50
+ * write-only, never returned in Get
51
+ *
52
+ * @generated from field: string secret_access_key = 3;
53
+ */
54
+ secretAccessKey: string;
55
+
56
+ /**
57
+ * @generated from field: string from_email = 4;
58
+ */
59
+ fromEmail: string;
60
+
61
+ /**
62
+ * @generated from field: optional string from_name = 5;
63
+ */
64
+ fromName?: string | undefined;
65
+ };
66
+
67
+ /**
68
+ * Describes the message api.manage.v1.SESConfig.
69
+ * Use `create(SESConfigSchema)` to create a new message.
70
+ */
71
+ export const SESConfigSchema: GenMessage<SESConfig> =
72
+ /*@__PURE__*/
73
+ messageDesc(file_api_manage_v1_mail_adapter, 0);
74
+
75
+ /**
76
+ * SMTPConfig contains SMTP adapter configuration
77
+ *
78
+ * @generated from message api.manage.v1.SMTPConfig
79
+ */
80
+ export type SMTPConfig = Message<"api.manage.v1.SMTPConfig"> & {
81
+ /**
82
+ * @generated from field: string host = 1;
83
+ */
84
+ host: string;
85
+
86
+ /**
87
+ * @generated from field: int32 port = 2;
88
+ */
89
+ port: number;
90
+
91
+ /**
92
+ * @generated from field: bool secure = 3;
93
+ */
94
+ secure: boolean;
95
+
96
+ /**
97
+ * @generated from field: string user = 4;
98
+ */
99
+ user: string;
100
+
101
+ /**
102
+ * write-only, never returned in Get
103
+ *
104
+ * @generated from field: string password = 5;
105
+ */
106
+ password: string;
107
+
108
+ /**
109
+ * @generated from field: string from_email = 6;
110
+ */
111
+ fromEmail: string;
112
+
113
+ /**
114
+ * @generated from field: optional string from_name = 7;
115
+ */
116
+ fromName?: string | undefined;
117
+ };
118
+
119
+ /**
120
+ * Describes the message api.manage.v1.SMTPConfig.
121
+ * Use `create(SMTPConfigSchema)` to create a new message.
122
+ */
123
+ export const SMTPConfigSchema: GenMessage<SMTPConfig> =
124
+ /*@__PURE__*/
125
+ messageDesc(file_api_manage_v1_mail_adapter, 1);
126
+
127
+ /**
128
+ * MailAdapter represents a mail sending adapter configuration
129
+ *
130
+ * @generated from message api.manage.v1.MailAdapter
131
+ */
132
+ export type MailAdapter = Message<"api.manage.v1.MailAdapter"> & {
133
+ /**
134
+ * @generated from field: string id = 1;
135
+ */
136
+ id: string;
137
+
138
+ /**
139
+ * @generated from field: string name = 2;
140
+ */
141
+ name: string;
142
+
143
+ /**
144
+ * @generated from field: api.manage.v1.MailAdapterType type = 3;
145
+ */
146
+ type: MailAdapterType;
147
+
148
+ /**
149
+ * @generated from field: bool is_active = 4;
150
+ */
151
+ isActive: boolean;
152
+
153
+ /**
154
+ * @generated from field: int32 priority = 5;
155
+ */
156
+ priority: number;
157
+
158
+ /**
159
+ * Type-specific config (only one will be set based on type)
160
+ *
161
+ * @generated from oneof api.manage.v1.MailAdapter.config
162
+ */
163
+ config:
164
+ | {
165
+ /**
166
+ * @generated from field: api.manage.v1.SESConfig ses_config = 6;
167
+ */
168
+ value: SESConfig;
169
+ case: "sesConfig";
170
+ }
171
+ | {
172
+ /**
173
+ * @generated from field: api.manage.v1.SMTPConfig smtp_config = 7;
174
+ */
175
+ value: SMTPConfig;
176
+ case: "smtpConfig";
177
+ }
178
+ | { case: undefined; value?: undefined };
179
+
180
+ /**
181
+ * @generated from field: string created_at = 8;
182
+ */
183
+ createdAt: string;
184
+
185
+ /**
186
+ * @generated from field: string updated_at = 9;
187
+ */
188
+ updatedAt: string;
189
+ };
190
+
191
+ /**
192
+ * Describes the message api.manage.v1.MailAdapter.
193
+ * Use `create(MailAdapterSchema)` to create a new message.
194
+ */
195
+ export const MailAdapterSchema: GenMessage<MailAdapter> =
196
+ /*@__PURE__*/
197
+ messageDesc(file_api_manage_v1_mail_adapter, 2);
198
+
199
+ /**
200
+ * CreateMailAdapterRequest creates a new mail adapter
201
+ *
202
+ * @generated from message api.manage.v1.CreateMailAdapterRequest
203
+ */
204
+ export type CreateMailAdapterRequest =
205
+ Message<"api.manage.v1.CreateMailAdapterRequest"> & {
206
+ /**
207
+ * @generated from field: string name = 1;
208
+ */
209
+ name: string;
210
+
211
+ /**
212
+ * @generated from field: api.manage.v1.MailAdapterType type = 2;
213
+ */
214
+ type: MailAdapterType;
215
+
216
+ /**
217
+ * @generated from field: bool is_active = 3;
218
+ */
219
+ isActive: boolean;
220
+
221
+ /**
222
+ * @generated from field: optional int32 priority = 4;
223
+ */
224
+ priority?: number | undefined;
225
+
226
+ /**
227
+ * @generated from oneof api.manage.v1.CreateMailAdapterRequest.config
228
+ */
229
+ config:
230
+ | {
231
+ /**
232
+ * @generated from field: api.manage.v1.SESConfig ses_config = 5;
233
+ */
234
+ value: SESConfig;
235
+ case: "sesConfig";
236
+ }
237
+ | {
238
+ /**
239
+ * @generated from field: api.manage.v1.SMTPConfig smtp_config = 6;
240
+ */
241
+ value: SMTPConfig;
242
+ case: "smtpConfig";
243
+ }
244
+ | { case: undefined; value?: undefined };
245
+ };
246
+
247
+ /**
248
+ * Describes the message api.manage.v1.CreateMailAdapterRequest.
249
+ * Use `create(CreateMailAdapterRequestSchema)` to create a new message.
250
+ */
251
+ export const CreateMailAdapterRequestSchema: GenMessage<CreateMailAdapterRequest> =
252
+ /*@__PURE__*/
253
+ messageDesc(file_api_manage_v1_mail_adapter, 3);
254
+
255
+ /**
256
+ * CreateMailAdapterResponse
257
+ *
258
+ * @generated from message api.manage.v1.CreateMailAdapterResponse
259
+ */
260
+ export type CreateMailAdapterResponse =
261
+ Message<"api.manage.v1.CreateMailAdapterResponse"> & {
262
+ /**
263
+ * @generated from field: api.manage.v1.MailAdapter adapter = 1;
264
+ */
265
+ adapter?: MailAdapter | undefined;
266
+ };
267
+
268
+ /**
269
+ * Describes the message api.manage.v1.CreateMailAdapterResponse.
270
+ * Use `create(CreateMailAdapterResponseSchema)` to create a new message.
271
+ */
272
+ export const CreateMailAdapterResponseSchema: GenMessage<CreateMailAdapterResponse> =
273
+ /*@__PURE__*/
274
+ messageDesc(file_api_manage_v1_mail_adapter, 4);
275
+
276
+ /**
277
+ * UpdateMailAdapterRequest updates a mail adapter
278
+ *
279
+ * @generated from message api.manage.v1.UpdateMailAdapterRequest
280
+ */
281
+ export type UpdateMailAdapterRequest =
282
+ Message<"api.manage.v1.UpdateMailAdapterRequest"> & {
283
+ /**
284
+ * @generated from field: string id = 1;
285
+ */
286
+ id: string;
287
+
288
+ /**
289
+ * @generated from field: optional string name = 2;
290
+ */
291
+ name?: string | undefined;
292
+
293
+ /**
294
+ * @generated from field: optional bool is_active = 3;
295
+ */
296
+ isActive?: boolean | undefined;
297
+
298
+ /**
299
+ * @generated from field: optional int32 priority = 4;
300
+ */
301
+ priority?: number | undefined;
302
+
303
+ /**
304
+ * @generated from field: optional api.manage.v1.MailAdapterType type = 5;
305
+ */
306
+ type?: MailAdapterType | undefined;
307
+
308
+ /**
309
+ * @generated from oneof api.manage.v1.UpdateMailAdapterRequest.config
310
+ */
311
+ config:
312
+ | {
313
+ /**
314
+ * @generated from field: api.manage.v1.SESConfig ses_config = 6;
315
+ */
316
+ value: SESConfig;
317
+ case: "sesConfig";
318
+ }
319
+ | {
320
+ /**
321
+ * @generated from field: api.manage.v1.SMTPConfig smtp_config = 7;
322
+ */
323
+ value: SMTPConfig;
324
+ case: "smtpConfig";
325
+ }
326
+ | { case: undefined; value?: undefined };
327
+ };
328
+
329
+ /**
330
+ * Describes the message api.manage.v1.UpdateMailAdapterRequest.
331
+ * Use `create(UpdateMailAdapterRequestSchema)` to create a new message.
332
+ */
333
+ export const UpdateMailAdapterRequestSchema: GenMessage<UpdateMailAdapterRequest> =
334
+ /*@__PURE__*/
335
+ messageDesc(file_api_manage_v1_mail_adapter, 5);
336
+
337
+ /**
338
+ * UpdateMailAdapterResponse
339
+ *
340
+ * @generated from message api.manage.v1.UpdateMailAdapterResponse
341
+ */
342
+ export type UpdateMailAdapterResponse =
343
+ Message<"api.manage.v1.UpdateMailAdapterResponse"> & {
344
+ /**
345
+ * @generated from field: api.manage.v1.MailAdapter adapter = 1;
346
+ */
347
+ adapter?: MailAdapter | undefined;
348
+ };
349
+
350
+ /**
351
+ * Describes the message api.manage.v1.UpdateMailAdapterResponse.
352
+ * Use `create(UpdateMailAdapterResponseSchema)` to create a new message.
353
+ */
354
+ export const UpdateMailAdapterResponseSchema: GenMessage<UpdateMailAdapterResponse> =
355
+ /*@__PURE__*/
356
+ messageDesc(file_api_manage_v1_mail_adapter, 6);
357
+
358
+ /**
359
+ * DeleteMailAdapterRequest deletes a mail adapter
360
+ *
361
+ * @generated from message api.manage.v1.DeleteMailAdapterRequest
362
+ */
363
+ export type DeleteMailAdapterRequest =
364
+ Message<"api.manage.v1.DeleteMailAdapterRequest"> & {
365
+ /**
366
+ * @generated from field: string id = 1;
367
+ */
368
+ id: string;
369
+ };
370
+
371
+ /**
372
+ * Describes the message api.manage.v1.DeleteMailAdapterRequest.
373
+ * Use `create(DeleteMailAdapterRequestSchema)` to create a new message.
374
+ */
375
+ export const DeleteMailAdapterRequestSchema: GenMessage<DeleteMailAdapterRequest> =
376
+ /*@__PURE__*/
377
+ messageDesc(file_api_manage_v1_mail_adapter, 7);
378
+
379
+ /**
380
+ * DeleteMailAdapterResponse
381
+ *
382
+ * @generated from message api.manage.v1.DeleteMailAdapterResponse
383
+ */
384
+ export type DeleteMailAdapterResponse =
385
+ Message<"api.manage.v1.DeleteMailAdapterResponse"> & {};
386
+
387
+ /**
388
+ * Describes the message api.manage.v1.DeleteMailAdapterResponse.
389
+ * Use `create(DeleteMailAdapterResponseSchema)` to create a new message.
390
+ */
391
+ export const DeleteMailAdapterResponseSchema: GenMessage<DeleteMailAdapterResponse> =
392
+ /*@__PURE__*/
393
+ messageDesc(file_api_manage_v1_mail_adapter, 8);
394
+
395
+ /**
396
+ * ListMailAdaptersAdminRequest lists mail adapters
397
+ *
398
+ * @generated from message api.manage.v1.ListMailAdaptersAdminRequest
399
+ */
400
+ export type ListMailAdaptersAdminRequest =
401
+ Message<"api.manage.v1.ListMailAdaptersAdminRequest"> & {
402
+ /**
403
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
404
+ */
405
+ pagination?: PaginationRequest | undefined;
406
+
407
+ /**
408
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
409
+ */
410
+ filters: FilterSpec[];
411
+
412
+ /**
413
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
414
+ */
415
+ sorts: SortSpec[];
416
+ };
417
+
418
+ /**
419
+ * Describes the message api.manage.v1.ListMailAdaptersAdminRequest.
420
+ * Use `create(ListMailAdaptersAdminRequestSchema)` to create a new message.
421
+ */
422
+ export const ListMailAdaptersAdminRequestSchema: GenMessage<ListMailAdaptersAdminRequest> =
423
+ /*@__PURE__*/
424
+ messageDesc(file_api_manage_v1_mail_adapter, 9);
425
+
426
+ /**
427
+ * ListMailAdaptersAdminResponse
428
+ *
429
+ * @generated from message api.manage.v1.ListMailAdaptersAdminResponse
430
+ */
431
+ export type ListMailAdaptersAdminResponse =
432
+ Message<"api.manage.v1.ListMailAdaptersAdminResponse"> & {
433
+ /**
434
+ * @generated from field: repeated api.manage.v1.MailAdapter adapters = 1;
435
+ */
436
+ adapters: MailAdapter[];
437
+
438
+ /**
439
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
440
+ */
441
+ pagination?: PaginationResponse | undefined;
442
+ };
443
+
444
+ /**
445
+ * Describes the message api.manage.v1.ListMailAdaptersAdminResponse.
446
+ * Use `create(ListMailAdaptersAdminResponseSchema)` to create a new message.
447
+ */
448
+ export const ListMailAdaptersAdminResponseSchema: GenMessage<ListMailAdaptersAdminResponse> =
449
+ /*@__PURE__*/
450
+ messageDesc(file_api_manage_v1_mail_adapter, 10);
451
+
452
+ /**
453
+ * TestMailAdapterRequest tests a mail adapter by sending a test email
454
+ *
455
+ * @generated from message api.manage.v1.TestMailAdapterRequest
456
+ */
457
+ export type TestMailAdapterRequest =
458
+ Message<"api.manage.v1.TestMailAdapterRequest"> & {
459
+ /**
460
+ * @generated from field: string id = 1;
461
+ */
462
+ id: string;
463
+
464
+ /**
465
+ * @generated from field: string test_email = 2;
466
+ */
467
+ testEmail: string;
468
+ };
469
+
470
+ /**
471
+ * Describes the message api.manage.v1.TestMailAdapterRequest.
472
+ * Use `create(TestMailAdapterRequestSchema)` to create a new message.
473
+ */
474
+ export const TestMailAdapterRequestSchema: GenMessage<TestMailAdapterRequest> =
475
+ /*@__PURE__*/
476
+ messageDesc(file_api_manage_v1_mail_adapter, 11);
477
+
478
+ /**
479
+ * TestMailAdapterConfigRequest tests adapter configuration before saving
480
+ *
481
+ * @generated from message api.manage.v1.TestMailAdapterConfigRequest
482
+ */
483
+ export type TestMailAdapterConfigRequest =
484
+ Message<"api.manage.v1.TestMailAdapterConfigRequest"> & {
485
+ /**
486
+ * @generated from field: api.manage.v1.MailAdapterType type = 1;
487
+ */
488
+ type: MailAdapterType;
489
+
490
+ /**
491
+ * @generated from oneof api.manage.v1.TestMailAdapterConfigRequest.config
492
+ */
493
+ config:
494
+ | {
495
+ /**
496
+ * @generated from field: api.manage.v1.SESConfig ses_config = 2;
497
+ */
498
+ value: SESConfig;
499
+ case: "sesConfig";
500
+ }
501
+ | {
502
+ /**
503
+ * @generated from field: api.manage.v1.SMTPConfig smtp_config = 3;
504
+ */
505
+ value: SMTPConfig;
506
+ case: "smtpConfig";
507
+ }
508
+ | { case: undefined; value?: undefined };
509
+
510
+ /**
511
+ * @generated from field: string test_email = 4;
512
+ */
513
+ testEmail: string;
514
+ };
515
+
516
+ /**
517
+ * Describes the message api.manage.v1.TestMailAdapterConfigRequest.
518
+ * Use `create(TestMailAdapterConfigRequestSchema)` to create a new message.
519
+ */
520
+ export const TestMailAdapterConfigRequestSchema: GenMessage<TestMailAdapterConfigRequest> =
521
+ /*@__PURE__*/
522
+ messageDesc(file_api_manage_v1_mail_adapter, 12);
523
+
524
+ /**
525
+ * TestMailAdapterResponse
526
+ *
527
+ * @generated from message api.manage.v1.TestMailAdapterResponse
528
+ */
529
+ export type TestMailAdapterResponse =
530
+ Message<"api.manage.v1.TestMailAdapterResponse"> & {
531
+ /**
532
+ * @generated from field: bool success = 1;
533
+ */
534
+ success: boolean;
535
+
536
+ /**
537
+ * @generated from field: optional string error = 2;
538
+ */
539
+ error?: string | undefined;
540
+
541
+ /**
542
+ * @generated from field: optional string message_id = 3;
543
+ */
544
+ messageId?: string | undefined;
545
+ };
546
+
547
+ /**
548
+ * Describes the message api.manage.v1.TestMailAdapterResponse.
549
+ * Use `create(TestMailAdapterResponseSchema)` to create a new message.
550
+ */
551
+ export const TestMailAdapterResponseSchema: GenMessage<TestMailAdapterResponse> =
552
+ /*@__PURE__*/
553
+ messageDesc(file_api_manage_v1_mail_adapter, 13);
554
+
555
+ /**
556
+ * MailAdapterType defines the type of mail adapter
557
+ *
558
+ * @generated from enum api.manage.v1.MailAdapterType
559
+ */
560
+ export enum MailAdapterType {
561
+ /**
562
+ * @generated from enum value: MAIL_ADAPTER_TYPE_UNSPECIFIED = 0;
563
+ */
564
+ UNSPECIFIED = 0,
565
+
566
+ /**
567
+ * @generated from enum value: MAIL_ADAPTER_TYPE_LOGGING = 1;
568
+ */
569
+ LOGGING = 1,
570
+
571
+ /**
572
+ * @generated from enum value: MAIL_ADAPTER_TYPE_SES = 2;
573
+ */
574
+ SES = 2,
575
+
576
+ /**
577
+ * @generated from enum value: MAIL_ADAPTER_TYPE_SMTP = 3;
578
+ */
579
+ SMTP = 3,
580
+ }
581
+
582
+ /**
583
+ * Describes the enum api.manage.v1.MailAdapterType.
584
+ */
585
+ export const MailAdapterTypeSchema: GenEnum<MailAdapterType> =
586
+ /*@__PURE__*/
587
+ enumDesc(file_api_manage_v1_mail_adapter, 0);
588
+
589
+ /**
590
+ * MailAdapterService provides mail adapter management
591
+ * All methods require admin authentication
592
+ *
593
+ * @generated from service api.manage.v1.MailAdapterService
594
+ */
595
+ export const MailAdapterService: GenService<{
596
+ /**
597
+ * Create a new mail adapter
598
+ *
599
+ * @generated from rpc api.manage.v1.MailAdapterService.Create
600
+ */
601
+ create: {
602
+ methodKind: "unary";
603
+ input: typeof CreateMailAdapterRequestSchema;
604
+ output: typeof CreateMailAdapterResponseSchema;
605
+ };
606
+ /**
607
+ * Update a mail adapter
608
+ *
609
+ * @generated from rpc api.manage.v1.MailAdapterService.Update
610
+ */
611
+ update: {
612
+ methodKind: "unary";
613
+ input: typeof UpdateMailAdapterRequestSchema;
614
+ output: typeof UpdateMailAdapterResponseSchema;
615
+ };
616
+ /**
617
+ * Delete a mail adapter
618
+ *
619
+ * @generated from rpc api.manage.v1.MailAdapterService.Delete
620
+ */
621
+ delete: {
622
+ methodKind: "unary";
623
+ input: typeof DeleteMailAdapterRequestSchema;
624
+ output: typeof DeleteMailAdapterResponseSchema;
625
+ };
626
+ /**
627
+ * List all mail adapters
628
+ *
629
+ * @generated from rpc api.manage.v1.MailAdapterService.ListMailAdaptersAdmin
630
+ */
631
+ listMailAdaptersAdmin: {
632
+ methodKind: "unary";
633
+ input: typeof ListMailAdaptersAdminRequestSchema;
634
+ output: typeof ListMailAdaptersAdminResponseSchema;
635
+ };
636
+ /**
637
+ * Test adapter configuration before creating/updating
638
+ *
639
+ * @generated from rpc api.manage.v1.MailAdapterService.TestConfig
640
+ */
641
+ testConfig: {
642
+ methodKind: "unary";
643
+ input: typeof TestMailAdapterConfigRequestSchema;
644
+ output: typeof TestMailAdapterResponseSchema;
645
+ };
646
+ /**
647
+ * Test a mail adapter by sending a test email
648
+ *
649
+ * @generated from rpc api.manage.v1.MailAdapterService.Test
650
+ */
651
+ test: {
652
+ methodKind: "unary";
653
+ input: typeof TestMailAdapterRequestSchema;
654
+ output: typeof TestMailAdapterResponseSchema;
655
+ };
656
+ }> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_mail_adapter, 0);