@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,192 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/manage/v1/common.proto (package api.manage.v1, syntax proto3)
3
+ import type {
4
+ GenEnum,
5
+ GenFile,
6
+ GenMessage,
7
+ } from "@bufbuild/protobuf/codegenv2";
8
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
9
+ import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
10
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
11
+ import type { Message } from "@bufbuild/protobuf";
12
+
13
+ /**
14
+ * Describes the file api/manage/v1/common.proto.
15
+ */
16
+ export const file_api_manage_v1_common: GenFile =
17
+ /*@__PURE__*/
18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google_protobuf_timestamp],
21
+ );
22
+
23
+ /**
24
+ * @generated from message api.manage.v1.DeleteResponse
25
+ */
26
+ export type DeleteResponse = Message<"api.manage.v1.DeleteResponse"> & {
27
+ /**
28
+ * @generated from field: bool success = 1;
29
+ */
30
+ success: boolean;
31
+ };
32
+
33
+ /**
34
+ * Describes the message api.manage.v1.DeleteResponse.
35
+ * Use `create(DeleteResponseSchema)` to create a new message.
36
+ */
37
+ export const DeleteResponseSchema: GenMessage<DeleteResponse> =
38
+ /*@__PURE__*/
39
+ messageDesc(file_api_manage_v1_common, 0);
40
+
41
+ /**
42
+ * Delete response for asset mutations that may enqueue OG generation.
43
+ *
44
+ * @generated from message api.manage.v1.OgAssetDeleteResponse
45
+ */
46
+ export type OgAssetDeleteResponse =
47
+ Message<"api.manage.v1.OgAssetDeleteResponse"> & {
48
+ /**
49
+ * @generated from field: bool success = 1;
50
+ */
51
+ success: boolean;
52
+
53
+ /**
54
+ * @generated from field: optional string og_generation_run_id = 2;
55
+ */
56
+ ogGenerationRunId?: string | undefined;
57
+ };
58
+
59
+ /**
60
+ * Describes the message api.manage.v1.OgAssetDeleteResponse.
61
+ * Use `create(OgAssetDeleteResponseSchema)` to create a new message.
62
+ */
63
+ export const OgAssetDeleteResponseSchema: GenMessage<OgAssetDeleteResponse> =
64
+ /*@__PURE__*/
65
+ messageDesc(file_api_manage_v1_common, 1);
66
+
67
+ /**
68
+ * Generic success response for operations that don't return data
69
+ *
70
+ * @generated from message api.manage.v1.SuccessResponse
71
+ */
72
+ export type SuccessResponse = Message<"api.manage.v1.SuccessResponse"> & {
73
+ /**
74
+ * @generated from field: bool success = 1;
75
+ */
76
+ success: boolean;
77
+ };
78
+
79
+ /**
80
+ * Describes the message api.manage.v1.SuccessResponse.
81
+ * Use `create(SuccessResponseSchema)` to create a new message.
82
+ */
83
+ export const SuccessResponseSchema: GenMessage<SuccessResponse> =
84
+ /*@__PURE__*/
85
+ messageDesc(file_api_manage_v1_common, 2);
86
+
87
+ /**
88
+ * One authenticated Member whose edits are included in a content version.
89
+ *
90
+ * @generated from message api.manage.v1.VersionContributor
91
+ */
92
+ export type VersionContributor = Message<"api.manage.v1.VersionContributor"> & {
93
+ /**
94
+ * @generated from field: string member_id = 1;
95
+ */
96
+ memberId: string;
97
+
98
+ /**
99
+ * @generated from field: string nickname = 2;
100
+ */
101
+ nickname: string;
102
+ };
103
+
104
+ /**
105
+ * Describes the message api.manage.v1.VersionContributor.
106
+ * Use `create(VersionContributorSchema)` to create a new message.
107
+ */
108
+ export const VersionContributorSchema: GenMessage<VersionContributor> =
109
+ /*@__PURE__*/
110
+ messageDesc(file_api_manage_v1_common, 3);
111
+
112
+ /**
113
+ * GeoIP information for request origin
114
+ *
115
+ * @generated from message api.manage.v1.GeoIPInfo
116
+ */
117
+ export type GeoIPInfo = Message<"api.manage.v1.GeoIPInfo"> & {
118
+ /**
119
+ * @generated from field: string country_code = 1;
120
+ */
121
+ countryCode: string;
122
+
123
+ /**
124
+ * @generated from field: string country_name = 2;
125
+ */
126
+ countryName: string;
127
+
128
+ /**
129
+ * @generated from field: optional string city = 3;
130
+ */
131
+ city?: string | undefined;
132
+
133
+ /**
134
+ * @generated from field: double latitude = 4;
135
+ */
136
+ latitude: number;
137
+
138
+ /**
139
+ * @generated from field: double longitude = 5;
140
+ */
141
+ longitude: number;
142
+
143
+ /**
144
+ * @generated from field: bool is_proxy = 6;
145
+ */
146
+ isProxy: boolean;
147
+
148
+ /**
149
+ * @generated from field: bool is_satellite = 7;
150
+ */
151
+ isSatellite: boolean;
152
+
153
+ /**
154
+ * @generated from field: optional string time_zone = 8;
155
+ */
156
+ timeZone?: string | undefined;
157
+ };
158
+
159
+ /**
160
+ * Describes the message api.manage.v1.GeoIPInfo.
161
+ * Use `create(GeoIPInfoSchema)` to create a new message.
162
+ */
163
+ export const GeoIPInfoSchema: GenMessage<GeoIPInfo> =
164
+ /*@__PURE__*/
165
+ messageDesc(file_api_manage_v1_common, 4);
166
+
167
+ /**
168
+ * @generated from enum api.manage.v1.ThemeAssetVariant
169
+ */
170
+ export enum ThemeAssetVariant {
171
+ /**
172
+ * @generated from enum value: THEME_ASSET_VARIANT_UNSPECIFIED = 0;
173
+ */
174
+ UNSPECIFIED = 0,
175
+
176
+ /**
177
+ * @generated from enum value: THEME_ASSET_VARIANT_LIGHT = 1;
178
+ */
179
+ LIGHT = 1,
180
+
181
+ /**
182
+ * @generated from enum value: THEME_ASSET_VARIANT_DARK = 2;
183
+ */
184
+ DARK = 2,
185
+ }
186
+
187
+ /**
188
+ * Describes the enum api.manage.v1.ThemeAssetVariant.
189
+ */
190
+ export const ThemeAssetVariantSchema: GenEnum<ThemeAssetVariant> =
191
+ /*@__PURE__*/
192
+ enumDesc(file_api_manage_v1_common, 0);
@@ -0,0 +1,487 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/manage/v1/email_layout.proto (package api.manage.v1, syntax proto3)
3
+ import type {
4
+ GenFile,
5
+ GenMessage,
6
+ GenService,
7
+ } from "@bufbuild/protobuf/codegenv2";
8
+ import {
9
+ fileDesc,
10
+ messageDesc,
11
+ serviceDesc,
12
+ } from "@bufbuild/protobuf/codegenv2";
13
+ import type {
14
+ FilterSpec,
15
+ PaginationRequest,
16
+ PaginationResponse,
17
+ SortSpec,
18
+ } from "../../common/v1/common_pb.ts";
19
+ import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
20
+ import type { DeleteResponseSchema } from "./common_pb.ts";
21
+ import { file_api_manage_v1_common } from "./common_pb.ts";
22
+ import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
23
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
24
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
25
+ import type { Message } from "@bufbuild/protobuf";
26
+
27
+ /**
28
+ * Describes the file api/manage/v1/email_layout.proto.
29
+ */
30
+ export const file_api_manage_v1_email_layout: GenFile =
31
+ /*@__PURE__*/
32
+ file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gZwcm90bzM",
34
+ [
35
+ file_api_common_v1_common,
36
+ file_api_manage_v1_common,
37
+ file_api_policy_v1_access,
38
+ file_google_protobuf_timestamp,
39
+ ],
40
+ );
41
+
42
+ /**
43
+ * @generated from message api.manage.v1.EmailLayout
44
+ */
45
+ export type EmailLayout = Message<"api.manage.v1.EmailLayout"> & {
46
+ /**
47
+ * @generated from field: string id = 1;
48
+ */
49
+ id: string;
50
+
51
+ /**
52
+ * @generated from field: string name = 2;
53
+ */
54
+ name: string;
55
+
56
+ /**
57
+ * @generated from field: string key = 3;
58
+ */
59
+ key: string;
60
+
61
+ /**
62
+ * @generated from field: string html_content = 4;
63
+ */
64
+ htmlContent: string;
65
+
66
+ /**
67
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
68
+ */
69
+ createdAt?: Timestamp | undefined;
70
+
71
+ /**
72
+ * @generated from field: google.protobuf.Timestamp updated_at = 6;
73
+ */
74
+ updatedAt?: Timestamp | undefined;
75
+
76
+ /**
77
+ * Number of campaigns that reference this layout
78
+ *
79
+ * @generated from field: int32 campaign_count = 7;
80
+ */
81
+ campaignCount: number;
82
+
83
+ /**
84
+ * Number of email templates that reference this layout
85
+ *
86
+ * @generated from field: int32 template_count = 8;
87
+ */
88
+ templateCount: number;
89
+
90
+ /**
91
+ * Number of durable delivery runs that reference this layout
92
+ *
93
+ * @generated from field: int32 delivery_run_count = 9;
94
+ */
95
+ deliveryRunCount: number;
96
+
97
+ /**
98
+ * @generated from field: string source_locale = 10;
99
+ */
100
+ sourceLocale: string;
101
+ };
102
+
103
+ /**
104
+ * Describes the message api.manage.v1.EmailLayout.
105
+ * Use `create(EmailLayoutSchema)` to create a new message.
106
+ */
107
+ export const EmailLayoutSchema: GenMessage<EmailLayout> =
108
+ /*@__PURE__*/
109
+ messageDesc(file_api_manage_v1_email_layout, 0);
110
+
111
+ /**
112
+ * @generated from message api.manage.v1.GetEmailLayoutRequest
113
+ */
114
+ export type GetEmailLayoutRequest =
115
+ Message<"api.manage.v1.GetEmailLayoutRequest"> & {
116
+ /**
117
+ * @generated from field: string id = 1;
118
+ */
119
+ id: string;
120
+ };
121
+
122
+ /**
123
+ * Describes the message api.manage.v1.GetEmailLayoutRequest.
124
+ * Use `create(GetEmailLayoutRequestSchema)` to create a new message.
125
+ */
126
+ export const GetEmailLayoutRequestSchema: GenMessage<GetEmailLayoutRequest> =
127
+ /*@__PURE__*/
128
+ messageDesc(file_api_manage_v1_email_layout, 1);
129
+
130
+ /**
131
+ * @generated from message api.manage.v1.ListEmailLayoutsAdminRequest
132
+ */
133
+ export type ListEmailLayoutsAdminRequest =
134
+ Message<"api.manage.v1.ListEmailLayoutsAdminRequest"> & {
135
+ /**
136
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
137
+ */
138
+ pagination?: PaginationRequest | undefined;
139
+
140
+ /**
141
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
142
+ */
143
+ filters: FilterSpec[];
144
+
145
+ /**
146
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
147
+ */
148
+ sorts: SortSpec[];
149
+ };
150
+
151
+ /**
152
+ * Describes the message api.manage.v1.ListEmailLayoutsAdminRequest.
153
+ * Use `create(ListEmailLayoutsAdminRequestSchema)` to create a new message.
154
+ */
155
+ export const ListEmailLayoutsAdminRequestSchema: GenMessage<ListEmailLayoutsAdminRequest> =
156
+ /*@__PURE__*/
157
+ messageDesc(file_api_manage_v1_email_layout, 2);
158
+
159
+ /**
160
+ * @generated from message api.manage.v1.ListEmailLayoutsAdminResponse
161
+ */
162
+ export type ListEmailLayoutsAdminResponse =
163
+ Message<"api.manage.v1.ListEmailLayoutsAdminResponse"> & {
164
+ /**
165
+ * @generated from field: repeated api.manage.v1.EmailLayout layouts = 1;
166
+ */
167
+ layouts: EmailLayout[];
168
+
169
+ /**
170
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
171
+ */
172
+ pagination?: PaginationResponse | undefined;
173
+ };
174
+
175
+ /**
176
+ * Describes the message api.manage.v1.ListEmailLayoutsAdminResponse.
177
+ * Use `create(ListEmailLayoutsAdminResponseSchema)` to create a new message.
178
+ */
179
+ export const ListEmailLayoutsAdminResponseSchema: GenMessage<ListEmailLayoutsAdminResponse> =
180
+ /*@__PURE__*/
181
+ messageDesc(file_api_manage_v1_email_layout, 3);
182
+
183
+ /**
184
+ * @generated from message api.manage.v1.CreateEmailLayoutRequest
185
+ */
186
+ export type CreateEmailLayoutRequest =
187
+ Message<"api.manage.v1.CreateEmailLayoutRequest"> & {
188
+ /**
189
+ * @generated from field: string name = 1;
190
+ */
191
+ name: string;
192
+
193
+ /**
194
+ * @generated from field: string key = 2;
195
+ */
196
+ key: string;
197
+
198
+ /**
199
+ * @generated from field: string html_content = 3;
200
+ */
201
+ htmlContent: string;
202
+
203
+ /**
204
+ * Required initial source locale for the new Email Layout.
205
+ *
206
+ * @generated from field: string source_locale = 4;
207
+ */
208
+ sourceLocale: string;
209
+ };
210
+
211
+ /**
212
+ * Describes the message api.manage.v1.CreateEmailLayoutRequest.
213
+ * Use `create(CreateEmailLayoutRequestSchema)` to create a new message.
214
+ */
215
+ export const CreateEmailLayoutRequestSchema: GenMessage<CreateEmailLayoutRequest> =
216
+ /*@__PURE__*/
217
+ messageDesc(file_api_manage_v1_email_layout, 4);
218
+
219
+ /**
220
+ * @generated from message api.manage.v1.UpdateEmailLayoutRequest
221
+ */
222
+ export type UpdateEmailLayoutRequest =
223
+ Message<"api.manage.v1.UpdateEmailLayoutRequest"> & {
224
+ /**
225
+ * @generated from field: string id = 1;
226
+ */
227
+ id: string;
228
+
229
+ /**
230
+ * @generated from field: optional string name = 2;
231
+ */
232
+ name?: string | undefined;
233
+
234
+ /**
235
+ * @generated from field: optional string key = 3;
236
+ */
237
+ key?: string | undefined;
238
+ };
239
+
240
+ /**
241
+ * Describes the message api.manage.v1.UpdateEmailLayoutRequest.
242
+ * Use `create(UpdateEmailLayoutRequestSchema)` to create a new message.
243
+ */
244
+ export const UpdateEmailLayoutRequestSchema: GenMessage<UpdateEmailLayoutRequest> =
245
+ /*@__PURE__*/
246
+ messageDesc(file_api_manage_v1_email_layout, 5);
247
+
248
+ /**
249
+ * @generated from message api.manage.v1.DeleteEmailLayoutRequest
250
+ */
251
+ export type DeleteEmailLayoutRequest =
252
+ Message<"api.manage.v1.DeleteEmailLayoutRequest"> & {
253
+ /**
254
+ * @generated from field: string id = 1;
255
+ */
256
+ id: string;
257
+ };
258
+
259
+ /**
260
+ * Describes the message api.manage.v1.DeleteEmailLayoutRequest.
261
+ * Use `create(DeleteEmailLayoutRequestSchema)` to create a new message.
262
+ */
263
+ export const DeleteEmailLayoutRequestSchema: GenMessage<DeleteEmailLayoutRequest> =
264
+ /*@__PURE__*/
265
+ messageDesc(file_api_manage_v1_email_layout, 6);
266
+
267
+ /**
268
+ * @generated from message api.manage.v1.PreviewEmailLayoutRequest
269
+ */
270
+ export type PreviewEmailLayoutRequest =
271
+ Message<"api.manage.v1.PreviewEmailLayoutRequest"> & {
272
+ /**
273
+ * @generated from field: string id = 1;
274
+ */
275
+ id: string;
276
+
277
+ /**
278
+ * Sample content for {{content}} placeholder
279
+ *
280
+ * @generated from field: optional string sample_content = 2;
281
+ */
282
+ sampleContent?: string | undefined;
283
+
284
+ /**
285
+ * Optional: preview in a specific locale
286
+ *
287
+ * @generated from field: optional string locale = 3;
288
+ */
289
+ locale?: string | undefined;
290
+ };
291
+
292
+ /**
293
+ * Describes the message api.manage.v1.PreviewEmailLayoutRequest.
294
+ * Use `create(PreviewEmailLayoutRequestSchema)` to create a new message.
295
+ */
296
+ export const PreviewEmailLayoutRequestSchema: GenMessage<PreviewEmailLayoutRequest> =
297
+ /*@__PURE__*/
298
+ messageDesc(file_api_manage_v1_email_layout, 7);
299
+
300
+ /**
301
+ * @generated from message api.manage.v1.PreviewEmailLayoutResponse
302
+ */
303
+ export type PreviewEmailLayoutResponse =
304
+ Message<"api.manage.v1.PreviewEmailLayoutResponse"> & {
305
+ /**
306
+ * @generated from field: string html = 1;
307
+ */
308
+ html: string;
309
+ };
310
+
311
+ /**
312
+ * Describes the message api.manage.v1.PreviewEmailLayoutResponse.
313
+ * Use `create(PreviewEmailLayoutResponseSchema)` to create a new message.
314
+ */
315
+ export const PreviewEmailLayoutResponseSchema: GenMessage<PreviewEmailLayoutResponse> =
316
+ /*@__PURE__*/
317
+ messageDesc(file_api_manage_v1_email_layout, 8);
318
+
319
+ /**
320
+ * Preview raw HTML content (for editor preview before saving)
321
+ *
322
+ * @generated from message api.manage.v1.PreviewEmailLayoutContentRequest
323
+ */
324
+ export type PreviewEmailLayoutContentRequest =
325
+ Message<"api.manage.v1.PreviewEmailLayoutContentRequest"> & {
326
+ /**
327
+ * @generated from field: string html_content = 1;
328
+ */
329
+ htmlContent: string;
330
+
331
+ /**
332
+ * @generated from field: optional string sample_content = 2;
333
+ */
334
+ sampleContent?: string | undefined;
335
+
336
+ /**
337
+ * @generated from field: optional string locale = 3;
338
+ */
339
+ locale?: string | undefined;
340
+ };
341
+
342
+ /**
343
+ * Describes the message api.manage.v1.PreviewEmailLayoutContentRequest.
344
+ * Use `create(PreviewEmailLayoutContentRequestSchema)` to create a new message.
345
+ */
346
+ export const PreviewEmailLayoutContentRequestSchema: GenMessage<PreviewEmailLayoutContentRequest> =
347
+ /*@__PURE__*/
348
+ messageDesc(file_api_manage_v1_email_layout, 9);
349
+
350
+ /**
351
+ * @generated from message api.manage.v1.PreviewEmailLayoutContentResponse
352
+ */
353
+ export type PreviewEmailLayoutContentResponse =
354
+ Message<"api.manage.v1.PreviewEmailLayoutContentResponse"> & {
355
+ /**
356
+ * @generated from field: bool valid = 1;
357
+ */
358
+ valid: boolean;
359
+
360
+ /**
361
+ * Rendered HTML (empty if invalid)
362
+ *
363
+ * @generated from field: string html = 2;
364
+ */
365
+ html: string;
366
+
367
+ /**
368
+ * @generated from field: repeated api.manage.v1.EmailLayoutValidationError errors = 3;
369
+ */
370
+ errors: EmailLayoutValidationError[];
371
+ };
372
+
373
+ /**
374
+ * Describes the message api.manage.v1.PreviewEmailLayoutContentResponse.
375
+ * Use `create(PreviewEmailLayoutContentResponseSchema)` to create a new message.
376
+ */
377
+ export const PreviewEmailLayoutContentResponseSchema: GenMessage<PreviewEmailLayoutContentResponse> =
378
+ /*@__PURE__*/
379
+ messageDesc(file_api_manage_v1_email_layout, 10);
380
+
381
+ /**
382
+ * @generated from message api.manage.v1.EmailLayoutValidationError
383
+ */
384
+ export type EmailLayoutValidationError =
385
+ Message<"api.manage.v1.EmailLayoutValidationError"> & {
386
+ /**
387
+ * e.g., "MISSING_CONTENT_PLACEHOLDER", "INVALID_HTML"
388
+ *
389
+ * @generated from field: string code = 1;
390
+ */
391
+ code: string;
392
+
393
+ /**
394
+ * Human-readable error message
395
+ *
396
+ * @generated from field: string message = 2;
397
+ */
398
+ message: string;
399
+
400
+ /**
401
+ * Line number if applicable
402
+ *
403
+ * @generated from field: optional int32 line = 3;
404
+ */
405
+ line?: number | undefined;
406
+
407
+ /**
408
+ * Column number if applicable
409
+ *
410
+ * @generated from field: optional int32 column = 4;
411
+ */
412
+ column?: number | undefined;
413
+ };
414
+
415
+ /**
416
+ * Describes the message api.manage.v1.EmailLayoutValidationError.
417
+ * Use `create(EmailLayoutValidationErrorSchema)` to create a new message.
418
+ */
419
+ export const EmailLayoutValidationErrorSchema: GenMessage<EmailLayoutValidationError> =
420
+ /*@__PURE__*/
421
+ messageDesc(file_api_manage_v1_email_layout, 11);
422
+
423
+ /**
424
+ * EmailLayout Service
425
+ *
426
+ * @generated from service api.manage.v1.EmailLayoutService
427
+ */
428
+ export const EmailLayoutService: GenService<{
429
+ /**
430
+ * Admin only - email layouts are internal configuration
431
+ *
432
+ * @generated from rpc api.manage.v1.EmailLayoutService.GetEmailLayout
433
+ */
434
+ getEmailLayout: {
435
+ methodKind: "unary";
436
+ input: typeof GetEmailLayoutRequestSchema;
437
+ output: typeof EmailLayoutSchema;
438
+ };
439
+ /**
440
+ * @generated from rpc api.manage.v1.EmailLayoutService.ListEmailLayoutsAdmin
441
+ */
442
+ listEmailLayoutsAdmin: {
443
+ methodKind: "unary";
444
+ input: typeof ListEmailLayoutsAdminRequestSchema;
445
+ output: typeof ListEmailLayoutsAdminResponseSchema;
446
+ };
447
+ /**
448
+ * @generated from rpc api.manage.v1.EmailLayoutService.CreateEmailLayout
449
+ */
450
+ createEmailLayout: {
451
+ methodKind: "unary";
452
+ input: typeof CreateEmailLayoutRequestSchema;
453
+ output: typeof EmailLayoutSchema;
454
+ };
455
+ /**
456
+ * @generated from rpc api.manage.v1.EmailLayoutService.UpdateEmailLayout
457
+ */
458
+ updateEmailLayout: {
459
+ methodKind: "unary";
460
+ input: typeof UpdateEmailLayoutRequestSchema;
461
+ output: typeof EmailLayoutSchema;
462
+ };
463
+ /**
464
+ * @generated from rpc api.manage.v1.EmailLayoutService.DeleteEmailLayout
465
+ */
466
+ deleteEmailLayout: {
467
+ methodKind: "unary";
468
+ input: typeof DeleteEmailLayoutRequestSchema;
469
+ output: typeof DeleteResponseSchema;
470
+ };
471
+ /**
472
+ * @generated from rpc api.manage.v1.EmailLayoutService.PreviewEmailLayout
473
+ */
474
+ previewEmailLayout: {
475
+ methodKind: "unary";
476
+ input: typeof PreviewEmailLayoutRequestSchema;
477
+ output: typeof PreviewEmailLayoutResponseSchema;
478
+ };
479
+ /**
480
+ * @generated from rpc api.manage.v1.EmailLayoutService.PreviewEmailLayoutContent
481
+ */
482
+ previewEmailLayoutContent: {
483
+ methodKind: "unary";
484
+ input: typeof PreviewEmailLayoutContentRequestSchema;
485
+ output: typeof PreviewEmailLayoutContentResponseSchema;
486
+ };
487
+ }> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_email_layout, 0);