@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.
- package/LICENSE.md +6 -0
- package/README.md +6 -0
- package/eslint.config.mjs +15 -0
- package/gen/api/common/v1/common_pb.ts +391 -0
- package/gen/api/common/v1/media_pb.ts +578 -0
- package/gen/api/content/v1/block_catalog.ts +5978 -0
- package/gen/api/content/v1/block_content_pb.ts +11420 -0
- package/gen/api/intra/v1/artist_pb.ts +597 -0
- package/gen/api/intra/v1/campaign_pb.ts +383 -0
- package/gen/api/intra/v1/collaboration_pb.ts +661 -0
- package/gen/api/intra/v1/email_courier_pb.ts +98 -0
- package/gen/api/intra/v1/email_layout_pb.ts +295 -0
- package/gen/api/intra/v1/email_template_pb.ts +384 -0
- package/gen/api/intra/v1/file_ingest_pb.ts +144 -0
- package/gen/api/intra/v1/form_locale_catalog.ts +128 -0
- package/gen/api/intra/v1/form_locale_catalog_parity.json +24 -0
- package/gen/api/intra/v1/form_pb.ts +276 -0
- package/gen/api/intra/v1/gateway_authorization_pb.ts +96 -0
- package/gen/api/intra/v1/label_pb.ts +558 -0
- package/gen/api/intra/v1/map_pb.ts +382 -0
- package/gen/api/intra/v1/menu_pb.ts +282 -0
- package/gen/api/intra/v1/og_pb.ts +335 -0
- package/gen/api/intra/v1/page_pb.ts +572 -0
- package/gen/api/intra/v1/post_pb.ts +657 -0
- package/gen/api/intra/v1/post_series_pb.ts +217 -0
- package/gen/api/intra/v1/privacy_pb.ts +384 -0
- package/gen/api/intra/v1/program_event_pb.ts +390 -0
- package/gen/api/intra/v1/release_pb.ts +462 -0
- package/gen/api/intra/v1/terms_pb.ts +384 -0
- package/gen/api/intra/v1/work_pb.ts +477 -0
- package/gen/api/manage/v1/account_pb.ts +1311 -0
- package/gen/api/manage/v1/admin_pb.ts +681 -0
- package/gen/api/manage/v1/ai_pb.ts +2621 -0
- package/gen/api/manage/v1/artist_pb.ts +1271 -0
- package/gen/api/manage/v1/audience_pb.ts +597 -0
- package/gen/api/manage/v1/campaign_pb.ts +1289 -0
- package/gen/api/manage/v1/category_pb.ts +351 -0
- package/gen/api/manage/v1/client_pb.ts +512 -0
- package/gen/api/manage/v1/collaboration_pb.ts +112 -0
- package/gen/api/manage/v1/comment_pb.ts +530 -0
- package/gen/api/manage/v1/common_pb.ts +192 -0
- package/gen/api/manage/v1/email_layout_pb.ts +487 -0
- package/gen/api/manage/v1/email_suppression_pb.ts +192 -0
- package/gen/api/manage/v1/email_template_pb.ts +683 -0
- package/gen/api/manage/v1/events_pb.ts +3251 -0
- package/gen/api/manage/v1/file_pb.ts +2810 -0
- package/gen/api/manage/v1/form_pb.ts +1046 -0
- package/gen/api/manage/v1/format_pb.ts +321 -0
- package/gen/api/manage/v1/genre_pb.ts +340 -0
- package/gen/api/manage/v1/label_pb.ts +1105 -0
- package/gen/api/manage/v1/mail_adapter_pb.ts +656 -0
- package/gen/api/manage/v1/map_place_pb.ts +572 -0
- package/gen/api/manage/v1/map_theme_pb.ts +691 -0
- package/gen/api/manage/v1/member_pb.ts +1281 -0
- package/gen/api/manage/v1/menu_pb.ts +535 -0
- package/gen/api/manage/v1/page_pb.ts +894 -0
- package/gen/api/manage/v1/post_pb.ts +1475 -0
- package/gen/api/manage/v1/privacy_pb.ts +518 -0
- package/gen/api/manage/v1/program_event_pb.ts +2234 -0
- package/gen/api/manage/v1/release_pb.ts +1168 -0
- package/gen/api/manage/v1/series_pb.ts +1033 -0
- package/gen/api/manage/v1/share_link_pb.ts +351 -0
- package/gen/api/manage/v1/site_setting_pb.ts +623 -0
- package/gen/api/manage/v1/style_pb.ts +340 -0
- package/gen/api/manage/v1/tag_pb.ts +323 -0
- package/gen/api/manage/v1/terms_pb.ts +517 -0
- package/gen/api/manage/v1/track_pb.ts +543 -0
- package/gen/api/manage/v1/translation_pb.ts +1838 -0
- package/gen/api/manage/v1/work_pb.ts +1662 -0
- package/gen/api/open/v1/account_pb.ts +243 -0
- package/gen/api/open/v1/artist_pb.ts +732 -0
- package/gen/api/open/v1/category_pb.ts +143 -0
- package/gen/api/open/v1/client_pb.ts +190 -0
- package/gen/api/open/v1/file_pb.ts +244 -0
- package/gen/api/open/v1/form_pb.ts +698 -0
- package/gen/api/open/v1/label_pb.ts +512 -0
- package/gen/api/open/v1/manifest_pb.ts +326 -0
- package/gen/api/open/v1/map_place_pb.ts +228 -0
- package/gen/api/open/v1/map_theme_pb.ts +400 -0
- package/gen/api/open/v1/member_pb.ts +200 -0
- package/gen/api/open/v1/newsletter_pb.ts +77 -0
- package/gen/api/open/v1/page_pb.ts +236 -0
- package/gen/api/open/v1/post_pb.ts +834 -0
- package/gen/api/open/v1/privacy_pb.ts +257 -0
- package/gen/api/open/v1/program_event_pb.ts +1024 -0
- package/gen/api/open/v1/release_pb.ts +758 -0
- package/gen/api/open/v1/series_pb.ts +210 -0
- package/gen/api/open/v1/share_link_pb.ts +106 -0
- package/gen/api/open/v1/sitemap_pb.ts +188 -0
- package/gen/api/open/v1/tag_pb.ts +136 -0
- package/gen/api/open/v1/terms_pb.ts +257 -0
- package/gen/api/open/v1/translation_pb.ts +103 -0
- package/gen/api/open/v1/work_pb.ts +904 -0
- package/gen/api/policy/v1/access_pb.ts +105 -0
- package/gen/api/policy/v1/spicedb/artist.ts +101 -0
- package/gen/api/policy/v1/spicedb/audience.ts +64 -0
- package/gen/api/policy/v1/spicedb/campaign.ts +49 -0
- package/gen/api/policy/v1/spicedb/core.ts +196 -0
- package/gen/api/policy/v1/spicedb/email_authoring.ts +91 -0
- package/gen/api/policy/v1/spicedb/email_delivery.ts +44 -0
- package/gen/api/policy/v1/spicedb/file.ts +49 -0
- package/gen/api/policy/v1/spicedb/form.ts +54 -0
- package/gen/api/policy/v1/spicedb/internal.ts +350 -0
- package/gen/api/policy/v1/spicedb/label.ts +98 -0
- package/gen/api/policy/v1/spicedb/legal_policy.ts +103 -0
- package/gen/api/policy/v1/spicedb/map_theme.ts +48 -0
- package/gen/api/policy/v1/spicedb/member.ts +47 -0
- package/gen/api/policy/v1/spicedb/menu.ts +48 -0
- package/gen/api/policy/v1/spicedb/page.ts +54 -0
- package/gen/api/policy/v1/spicedb/post.ts +105 -0
- package/gen/api/policy/v1/spicedb/post_series.ts +70 -0
- package/gen/api/policy/v1/spicedb/program_event.ts +66 -0
- package/gen/api/policy/v1/spicedb/program_event_series.ts +62 -0
- package/gen/api/policy/v1/spicedb/reference_data.ts +209 -0
- package/gen/api/policy/v1/spicedb/release.ts +81 -0
- package/gen/api/policy/v1/spicedb/site_settings.ts +49 -0
- package/gen/api/policy/v1/spicedb/translation.ts +46 -0
- package/gen/api/policy/v1/spicedb/work.ts +58 -0
- package/package.json +66 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,683 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/manage/v1/email_template.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 {
|
|
21
|
+
LocalizedRichTextDocument,
|
|
22
|
+
RichTextDocument,
|
|
23
|
+
} from "../../content/v1/block_content_pb.ts";
|
|
24
|
+
import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
|
|
25
|
+
import type {
|
|
26
|
+
DeleteResponseSchema,
|
|
27
|
+
SuccessResponseSchema,
|
|
28
|
+
} from "./common_pb.ts";
|
|
29
|
+
import { file_api_manage_v1_common } from "./common_pb.ts";
|
|
30
|
+
import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
|
|
31
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
32
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
33
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Describes the file api/manage/v1/email_template.proto.
|
|
37
|
+
*/
|
|
38
|
+
export const file_api_manage_v1_email_template: GenFile =
|
|
39
|
+
/*@__PURE__*/
|
|
40
|
+
fileDesc(
|
|
41
|
+
"CiJhcGkvbWFuYWdlL3YxL2VtYWlsX3RlbXBsYXRlLnByb3RvEg1hcGkubWFuYWdlLnYxIv4DCg1FbWFpbFRlbXBsYXRlEgoKAmlkGAEgASgJEgsKA2tleRgCIAEoCRIMCgRuYW1lGAMgASgJEg8KB3N1YmplY3QYBCABKAkSGAoLZGVzY3JpcHRpb24YBSABKAlIAIgBARIyCghkb2N1bWVudBgGIAEoCzIgLmFwaS5jb250ZW50LnYxLlJpY2hUZXh0RG9jdW1lbnQSNwoJdmFyaWFibGVzGAcgAygLMiQuYXBpLm1hbmFnZS52MS5FbWFpbFRlbXBsYXRlVmFyaWFibGUSEQoJaXNfc3lzdGVtGAggASgIEhEKCWlzX2FjdGl2ZRgJIAEoCBIuCgpjcmVhdGVkX2F0GAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAsgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIWCglldmVudF9rZXkYDCABKAlIAYgBARIWCglsYXlvdXRfaWQYDSABKAlIAogBARIaChJkZWxpdmVyeV9ydW5fY291bnQYDiABKAUSGQoRZG9jdW1lbnRfcmV2aXNpb24YDyABKAkSFQoNc291cmNlX2xvY2FsZRg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ggEEmsKEEdldEV2ZW50TWFwcGluZ3MSJi5hcGkubWFuYWdlLnYxLkdldEV2ZW50TWFwcGluZ3NSZXF1ZXN0GicuYXBpLm1hbmFnZS52MS5HZXRFdmVudE1hcHBpbmdzUmVzcG9uc2UiBsrzGAIIBBJmChJVcGRhdGVFdmVudE1hcHBpbmcSKC5hcGkubWFuYWdlLnYxLlVwZGF0ZUV2ZW50TWFwcGluZ1JlcXVlc3QaHi5hcGkubWFuYWdlLnYxLlN1Y2Nlc3NSZXNwb25zZSIGyvMYAggEElwKDVNlbmRUZXN0RW1haWwSIy5hcGkubWFuYWdlLnYxLlNlbmRUZXN0RW1haWxSZXF1ZXN0Gh4uYXBpLm1hbmFnZS52MS5TdWNjZXNzUmVzcG9uc2UiBsrzGAIIBBJ3ChRQcmV2aWV3RW1haWxUZW1wbGF0ZRIqLmFwaS5tYW5hZ2UudjEuUHJldmlld0VtYWlsVGVtcGxhdGVSZXF1ZXN0GisuYXBpLm1hbmFnZS52MS5QcmV2aWV3RW1haWxUZW1wbGF0ZVJlc3BvbnNlIgbK8xgCCARCvAEKEWNvbS5hcGkubWFuYWdlLnYxQhJFbWFpbFRlbXBsYXRlUHJvdG9QAVo9Z2l0aHViLmNvbS9kc3ViLWlvL2V2ZW50LWNvbnRyYWN0cy9nZW4vYXBpL21hbmFnZS92MTttYW5hZ2V2MaICA0FNWKoCDUFwaS5NYW5hZ2UuVjHKAg1BcGlcTWFuYWdlXFYx4gIZQXBpXE1hbmFnZVxWMVxHUEJNZXRhZGF0YeoCD0FwaTo6TWFuYWdlOjpWMWIGcHJvdG8z",
|
|
42
|
+
[
|
|
43
|
+
file_api_common_v1_common,
|
|
44
|
+
file_api_content_v1_block_content,
|
|
45
|
+
file_api_manage_v1_common,
|
|
46
|
+
file_api_policy_v1_access,
|
|
47
|
+
file_google_protobuf_timestamp,
|
|
48
|
+
],
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message api.manage.v1.EmailTemplate
|
|
53
|
+
*/
|
|
54
|
+
export type EmailTemplate = Message<"api.manage.v1.EmailTemplate"> & {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string id = 1;
|
|
57
|
+
*/
|
|
58
|
+
id: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string key = 2;
|
|
62
|
+
*/
|
|
63
|
+
key: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: string name = 3;
|
|
67
|
+
*/
|
|
68
|
+
name: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: string subject = 4;
|
|
72
|
+
*/
|
|
73
|
+
subject: string;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: optional string description = 5;
|
|
77
|
+
*/
|
|
78
|
+
description?: string | undefined;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: api.content.v1.RichTextDocument document = 6;
|
|
82
|
+
*/
|
|
83
|
+
document?: RichTextDocument | undefined;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: repeated api.manage.v1.EmailTemplateVariable variables = 7;
|
|
87
|
+
*/
|
|
88
|
+
variables: EmailTemplateVariable[];
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: bool is_system = 8;
|
|
92
|
+
*/
|
|
93
|
+
isSystem: boolean;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: bool is_active = 9;
|
|
97
|
+
*/
|
|
98
|
+
isActive: boolean;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: google.protobuf.Timestamp created_at = 10;
|
|
102
|
+
*/
|
|
103
|
+
createdAt?: Timestamp | undefined;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 11;
|
|
107
|
+
*/
|
|
108
|
+
updatedAt?: Timestamp | undefined;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: optional string event_key = 12;
|
|
112
|
+
*/
|
|
113
|
+
eventKey?: string | undefined;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: optional string layout_id = 13;
|
|
117
|
+
*/
|
|
118
|
+
layoutId?: string | undefined;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Number of durable delivery runs that reference this template
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: int32 delivery_run_count = 14;
|
|
124
|
+
*/
|
|
125
|
+
deliveryRunCount: number;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: string document_revision = 15;
|
|
129
|
+
*/
|
|
130
|
+
documentRevision: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: string source_locale = 16;
|
|
134
|
+
*/
|
|
135
|
+
sourceLocale: string;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Describes the message api.manage.v1.EmailTemplate.
|
|
140
|
+
* Use `create(EmailTemplateSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
export const EmailTemplateSchema: GenMessage<EmailTemplate> =
|
|
143
|
+
/*@__PURE__*/
|
|
144
|
+
messageDesc(file_api_manage_v1_email_template, 0);
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* EmailTemplateVariable defines a variable available in the template
|
|
148
|
+
*
|
|
149
|
+
* @generated from message api.manage.v1.EmailTemplateVariable
|
|
150
|
+
*/
|
|
151
|
+
export type EmailTemplateVariable =
|
|
152
|
+
Message<"api.manage.v1.EmailTemplateVariable"> & {
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: string name = 1;
|
|
155
|
+
*/
|
|
156
|
+
name: string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: string description = 2;
|
|
160
|
+
*/
|
|
161
|
+
description: string;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: optional string default_value = 3;
|
|
165
|
+
*/
|
|
166
|
+
defaultValue?: string | undefined;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Describes the message api.manage.v1.EmailTemplateVariable.
|
|
171
|
+
* Use `create(EmailTemplateVariableSchema)` to create a new message.
|
|
172
|
+
*/
|
|
173
|
+
export const EmailTemplateVariableSchema: GenMessage<EmailTemplateVariable> =
|
|
174
|
+
/*@__PURE__*/
|
|
175
|
+
messageDesc(file_api_manage_v1_email_template, 1);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* EmailEventMapping maps an event type to a template
|
|
179
|
+
*
|
|
180
|
+
* @generated from message api.manage.v1.EmailEventMapping
|
|
181
|
+
*/
|
|
182
|
+
export type EmailEventMapping = Message<"api.manage.v1.EmailEventMapping"> & {
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: string event = 1;
|
|
185
|
+
*/
|
|
186
|
+
event: string;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: optional string template_id = 2;
|
|
190
|
+
*/
|
|
191
|
+
templateId?: string | undefined;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: optional string template_name = 3;
|
|
195
|
+
*/
|
|
196
|
+
templateName?: string | undefined;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Describes the message api.manage.v1.EmailEventMapping.
|
|
201
|
+
* Use `create(EmailEventMappingSchema)` to create a new message.
|
|
202
|
+
*/
|
|
203
|
+
export const EmailEventMappingSchema: GenMessage<EmailEventMapping> =
|
|
204
|
+
/*@__PURE__*/
|
|
205
|
+
messageDesc(file_api_manage_v1_email_template, 2);
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* ListEmailTemplatesAdminRequest - admin only, with pagination
|
|
209
|
+
*
|
|
210
|
+
* @generated from message api.manage.v1.ListEmailTemplatesAdminRequest
|
|
211
|
+
*/
|
|
212
|
+
export type ListEmailTemplatesAdminRequest =
|
|
213
|
+
Message<"api.manage.v1.ListEmailTemplatesAdminRequest"> & {
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: api.common.v1.PaginationRequest pagination = 1;
|
|
216
|
+
*/
|
|
217
|
+
pagination?: PaginationRequest | undefined;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
221
|
+
*/
|
|
222
|
+
filters: FilterSpec[];
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
226
|
+
*/
|
|
227
|
+
sorts: SortSpec[];
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Describes the message api.manage.v1.ListEmailTemplatesAdminRequest.
|
|
232
|
+
* Use `create(ListEmailTemplatesAdminRequestSchema)` to create a new message.
|
|
233
|
+
*/
|
|
234
|
+
export const ListEmailTemplatesAdminRequestSchema: GenMessage<ListEmailTemplatesAdminRequest> =
|
|
235
|
+
/*@__PURE__*/
|
|
236
|
+
messageDesc(file_api_manage_v1_email_template, 3);
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* @generated from message api.manage.v1.ListEmailTemplatesAdminResponse
|
|
240
|
+
*/
|
|
241
|
+
export type ListEmailTemplatesAdminResponse =
|
|
242
|
+
Message<"api.manage.v1.ListEmailTemplatesAdminResponse"> & {
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: repeated api.manage.v1.EmailTemplate templates = 1;
|
|
245
|
+
*/
|
|
246
|
+
templates: EmailTemplate[];
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: api.common.v1.PaginationResponse pagination = 2;
|
|
250
|
+
*/
|
|
251
|
+
pagination?: PaginationResponse | undefined;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message api.manage.v1.ListEmailTemplatesAdminResponse.
|
|
256
|
+
* Use `create(ListEmailTemplatesAdminResponseSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export const ListEmailTemplatesAdminResponseSchema: GenMessage<ListEmailTemplatesAdminResponse> =
|
|
259
|
+
/*@__PURE__*/
|
|
260
|
+
messageDesc(file_api_manage_v1_email_template, 4);
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* GetEmailTemplateRequest
|
|
264
|
+
*
|
|
265
|
+
* @generated from message api.manage.v1.GetEmailTemplateRequest
|
|
266
|
+
*/
|
|
267
|
+
export type GetEmailTemplateRequest =
|
|
268
|
+
Message<"api.manage.v1.GetEmailTemplateRequest"> & {
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: string id = 1;
|
|
271
|
+
*/
|
|
272
|
+
id: string;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Describes the message api.manage.v1.GetEmailTemplateRequest.
|
|
277
|
+
* Use `create(GetEmailTemplateRequestSchema)` to create a new message.
|
|
278
|
+
*/
|
|
279
|
+
export const GetEmailTemplateRequestSchema: GenMessage<GetEmailTemplateRequest> =
|
|
280
|
+
/*@__PURE__*/
|
|
281
|
+
messageDesc(file_api_manage_v1_email_template, 5);
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* CreateEmailTemplateRequest
|
|
285
|
+
*
|
|
286
|
+
* @generated from message api.manage.v1.CreateEmailTemplateRequest
|
|
287
|
+
*/
|
|
288
|
+
export type CreateEmailTemplateRequest =
|
|
289
|
+
Message<"api.manage.v1.CreateEmailTemplateRequest"> & {
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: string key = 1;
|
|
292
|
+
*/
|
|
293
|
+
key: string;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: string name = 2;
|
|
297
|
+
*/
|
|
298
|
+
name: string;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: string subject = 3;
|
|
302
|
+
*/
|
|
303
|
+
subject: string;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @generated from field: optional string description = 4;
|
|
307
|
+
*/
|
|
308
|
+
description?: string | undefined;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Required initial source locale for the new Email Template.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: string source_locale = 5;
|
|
314
|
+
*/
|
|
315
|
+
sourceLocale: string;
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Describes the message api.manage.v1.CreateEmailTemplateRequest.
|
|
320
|
+
* Use `create(CreateEmailTemplateRequestSchema)` to create a new message.
|
|
321
|
+
*/
|
|
322
|
+
export const CreateEmailTemplateRequestSchema: GenMessage<CreateEmailTemplateRequest> =
|
|
323
|
+
/*@__PURE__*/
|
|
324
|
+
messageDesc(file_api_manage_v1_email_template, 6);
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* UpdateEmailTemplateSubjectRequest
|
|
328
|
+
* UpdateEmailTemplateRequest - full update
|
|
329
|
+
*
|
|
330
|
+
* @generated from message api.manage.v1.UpdateEmailTemplateRequest
|
|
331
|
+
*/
|
|
332
|
+
export type UpdateEmailTemplateRequest =
|
|
333
|
+
Message<"api.manage.v1.UpdateEmailTemplateRequest"> & {
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: string id = 1;
|
|
336
|
+
*/
|
|
337
|
+
id: string;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* @generated from field: optional string name = 2;
|
|
341
|
+
*/
|
|
342
|
+
name?: string | undefined;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: optional string description = 3;
|
|
346
|
+
*/
|
|
347
|
+
description?: string | undefined;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: optional bool is_active = 4;
|
|
351
|
+
*/
|
|
352
|
+
isActive?: boolean | undefined;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: optional string layout_id = 5;
|
|
356
|
+
*/
|
|
357
|
+
layoutId?: string | undefined;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Describes the message api.manage.v1.UpdateEmailTemplateRequest.
|
|
362
|
+
* Use `create(UpdateEmailTemplateRequestSchema)` to create a new message.
|
|
363
|
+
*/
|
|
364
|
+
export const UpdateEmailTemplateRequestSchema: GenMessage<UpdateEmailTemplateRequest> =
|
|
365
|
+
/*@__PURE__*/
|
|
366
|
+
messageDesc(file_api_manage_v1_email_template, 7);
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @generated from message api.manage.v1.UpdateEmailTemplateResponse
|
|
370
|
+
*/
|
|
371
|
+
export type UpdateEmailTemplateResponse =
|
|
372
|
+
Message<"api.manage.v1.UpdateEmailTemplateResponse"> & {
|
|
373
|
+
/**
|
|
374
|
+
* @generated from field: string id = 1;
|
|
375
|
+
*/
|
|
376
|
+
id: string;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* @generated from field: bool changed = 2;
|
|
380
|
+
*/
|
|
381
|
+
changed: boolean;
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: string name = 3;
|
|
385
|
+
*/
|
|
386
|
+
name: string;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @generated from field: optional string description = 4;
|
|
390
|
+
*/
|
|
391
|
+
description?: string | undefined;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* @generated from field: bool is_active = 5;
|
|
395
|
+
*/
|
|
396
|
+
isActive: boolean;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* @generated from field: optional string layout_id = 6;
|
|
400
|
+
*/
|
|
401
|
+
layoutId?: string | undefined;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
405
|
+
*/
|
|
406
|
+
updatedAt?: Timestamp | undefined;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Describes the message api.manage.v1.UpdateEmailTemplateResponse.
|
|
411
|
+
* Use `create(UpdateEmailTemplateResponseSchema)` to create a new message.
|
|
412
|
+
*/
|
|
413
|
+
export const UpdateEmailTemplateResponseSchema: GenMessage<UpdateEmailTemplateResponse> =
|
|
414
|
+
/*@__PURE__*/
|
|
415
|
+
messageDesc(file_api_manage_v1_email_template, 8);
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @generated from message api.manage.v1.DeleteEmailTemplateRequest
|
|
419
|
+
*/
|
|
420
|
+
export type DeleteEmailTemplateRequest =
|
|
421
|
+
Message<"api.manage.v1.DeleteEmailTemplateRequest"> & {
|
|
422
|
+
/**
|
|
423
|
+
* @generated from field: string id = 1;
|
|
424
|
+
*/
|
|
425
|
+
id: string;
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Describes the message api.manage.v1.DeleteEmailTemplateRequest.
|
|
430
|
+
* Use `create(DeleteEmailTemplateRequestSchema)` to create a new message.
|
|
431
|
+
*/
|
|
432
|
+
export const DeleteEmailTemplateRequestSchema: GenMessage<DeleteEmailTemplateRequest> =
|
|
433
|
+
/*@__PURE__*/
|
|
434
|
+
messageDesc(file_api_manage_v1_email_template, 9);
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* GetEventMappingsRequest
|
|
438
|
+
*
|
|
439
|
+
* @generated from message api.manage.v1.GetEventMappingsRequest
|
|
440
|
+
*/
|
|
441
|
+
export type GetEventMappingsRequest =
|
|
442
|
+
Message<"api.manage.v1.GetEventMappingsRequest"> & {};
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Describes the message api.manage.v1.GetEventMappingsRequest.
|
|
446
|
+
* Use `create(GetEventMappingsRequestSchema)` to create a new message.
|
|
447
|
+
*/
|
|
448
|
+
export const GetEventMappingsRequestSchema: GenMessage<GetEventMappingsRequest> =
|
|
449
|
+
/*@__PURE__*/
|
|
450
|
+
messageDesc(file_api_manage_v1_email_template, 10);
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @generated from message api.manage.v1.GetEventMappingsResponse
|
|
454
|
+
*/
|
|
455
|
+
export type GetEventMappingsResponse =
|
|
456
|
+
Message<"api.manage.v1.GetEventMappingsResponse"> & {
|
|
457
|
+
/**
|
|
458
|
+
* @generated from field: repeated api.manage.v1.EmailEventMapping mappings = 1;
|
|
459
|
+
*/
|
|
460
|
+
mappings: EmailEventMapping[];
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Describes the message api.manage.v1.GetEventMappingsResponse.
|
|
465
|
+
* Use `create(GetEventMappingsResponseSchema)` to create a new message.
|
|
466
|
+
*/
|
|
467
|
+
export const GetEventMappingsResponseSchema: GenMessage<GetEventMappingsResponse> =
|
|
468
|
+
/*@__PURE__*/
|
|
469
|
+
messageDesc(file_api_manage_v1_email_template, 11);
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* UpdateEventMappingRequest
|
|
473
|
+
*
|
|
474
|
+
* @generated from message api.manage.v1.UpdateEventMappingRequest
|
|
475
|
+
*/
|
|
476
|
+
export type UpdateEventMappingRequest =
|
|
477
|
+
Message<"api.manage.v1.UpdateEventMappingRequest"> & {
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: string event = 1;
|
|
480
|
+
*/
|
|
481
|
+
event: string;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: optional string template_id = 2;
|
|
485
|
+
*/
|
|
486
|
+
templateId?: string | undefined;
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Describes the message api.manage.v1.UpdateEventMappingRequest.
|
|
491
|
+
* Use `create(UpdateEventMappingRequestSchema)` to create a new message.
|
|
492
|
+
*/
|
|
493
|
+
export const UpdateEventMappingRequestSchema: GenMessage<UpdateEventMappingRequest> =
|
|
494
|
+
/*@__PURE__*/
|
|
495
|
+
messageDesc(file_api_manage_v1_email_template, 12);
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* SendTestEmailRequest
|
|
499
|
+
*
|
|
500
|
+
* @generated from message api.manage.v1.SendTestEmailRequest
|
|
501
|
+
*/
|
|
502
|
+
export type SendTestEmailRequest =
|
|
503
|
+
Message<"api.manage.v1.SendTestEmailRequest"> & {
|
|
504
|
+
/**
|
|
505
|
+
* @generated from field: string id = 1;
|
|
506
|
+
*/
|
|
507
|
+
id: string;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @generated from field: string email = 2;
|
|
511
|
+
*/
|
|
512
|
+
email: string;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @generated from field: optional string locale = 3;
|
|
516
|
+
*/
|
|
517
|
+
locale?: string | undefined;
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Describes the message api.manage.v1.SendTestEmailRequest.
|
|
522
|
+
* Use `create(SendTestEmailRequestSchema)` to create a new message.
|
|
523
|
+
*/
|
|
524
|
+
export const SendTestEmailRequestSchema: GenMessage<SendTestEmailRequest> =
|
|
525
|
+
/*@__PURE__*/
|
|
526
|
+
messageDesc(file_api_manage_v1_email_template, 13);
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* PreviewEmailTemplateRequest
|
|
530
|
+
*
|
|
531
|
+
* @generated from message api.manage.v1.PreviewEmailTemplateRequest
|
|
532
|
+
*/
|
|
533
|
+
export type PreviewEmailTemplateRequest =
|
|
534
|
+
Message<"api.manage.v1.PreviewEmailTemplateRequest"> & {
|
|
535
|
+
/**
|
|
536
|
+
* @generated from field: string id = 1;
|
|
537
|
+
*/
|
|
538
|
+
id: string;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Optional: preview with specific layout (overrides saved layout)
|
|
542
|
+
*
|
|
543
|
+
* @generated from field: optional string layout_id = 2;
|
|
544
|
+
*/
|
|
545
|
+
layoutId?: string | undefined;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Optional: preview with unsaved subject text
|
|
549
|
+
*
|
|
550
|
+
* @generated from field: optional string subject = 3;
|
|
551
|
+
*/
|
|
552
|
+
subject?: string | undefined;
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Optional unsaved typed Block document
|
|
556
|
+
*
|
|
557
|
+
* @generated from field: optional api.content.v1.LocalizedRichTextDocument document = 4;
|
|
558
|
+
*/
|
|
559
|
+
document?: LocalizedRichTextDocument | undefined;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Optional: preview in a specific locale
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: optional string locale = 5;
|
|
565
|
+
*/
|
|
566
|
+
locale?: string | undefined;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Describes the message api.manage.v1.PreviewEmailTemplateRequest.
|
|
571
|
+
* Use `create(PreviewEmailTemplateRequestSchema)` to create a new message.
|
|
572
|
+
*/
|
|
573
|
+
export const PreviewEmailTemplateRequestSchema: GenMessage<PreviewEmailTemplateRequest> =
|
|
574
|
+
/*@__PURE__*/
|
|
575
|
+
messageDesc(file_api_manage_v1_email_template, 14);
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @generated from message api.manage.v1.PreviewEmailTemplateResponse
|
|
579
|
+
*/
|
|
580
|
+
export type PreviewEmailTemplateResponse =
|
|
581
|
+
Message<"api.manage.v1.PreviewEmailTemplateResponse"> & {
|
|
582
|
+
/**
|
|
583
|
+
* @generated from field: string subject = 1;
|
|
584
|
+
*/
|
|
585
|
+
subject: string;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @generated from field: string html = 2;
|
|
589
|
+
*/
|
|
590
|
+
html: string;
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Describes the message api.manage.v1.PreviewEmailTemplateResponse.
|
|
595
|
+
* Use `create(PreviewEmailTemplateResponseSchema)` to create a new message.
|
|
596
|
+
*/
|
|
597
|
+
export const PreviewEmailTemplateResponseSchema: GenMessage<PreviewEmailTemplateResponse> =
|
|
598
|
+
/*@__PURE__*/
|
|
599
|
+
messageDesc(file_api_manage_v1_email_template, 15);
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* @generated from service api.manage.v1.EmailTemplateService
|
|
603
|
+
*/
|
|
604
|
+
export const EmailTemplateService: GenService<{
|
|
605
|
+
/**
|
|
606
|
+
* Admin endpoints
|
|
607
|
+
*
|
|
608
|
+
* @generated from rpc api.manage.v1.EmailTemplateService.ListEmailTemplatesAdmin
|
|
609
|
+
*/
|
|
610
|
+
listEmailTemplatesAdmin: {
|
|
611
|
+
methodKind: "unary";
|
|
612
|
+
input: typeof ListEmailTemplatesAdminRequestSchema;
|
|
613
|
+
output: typeof ListEmailTemplatesAdminResponseSchema;
|
|
614
|
+
};
|
|
615
|
+
/**
|
|
616
|
+
* @generated from rpc api.manage.v1.EmailTemplateService.GetEmailTemplate
|
|
617
|
+
*/
|
|
618
|
+
getEmailTemplate: {
|
|
619
|
+
methodKind: "unary";
|
|
620
|
+
input: typeof GetEmailTemplateRequestSchema;
|
|
621
|
+
output: typeof EmailTemplateSchema;
|
|
622
|
+
};
|
|
623
|
+
/**
|
|
624
|
+
* @generated from rpc api.manage.v1.EmailTemplateService.CreateEmailTemplate
|
|
625
|
+
*/
|
|
626
|
+
createEmailTemplate: {
|
|
627
|
+
methodKind: "unary";
|
|
628
|
+
input: typeof CreateEmailTemplateRequestSchema;
|
|
629
|
+
output: typeof EmailTemplateSchema;
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* @generated from rpc api.manage.v1.EmailTemplateService.UpdateEmailTemplate
|
|
633
|
+
*/
|
|
634
|
+
updateEmailTemplate: {
|
|
635
|
+
methodKind: "unary";
|
|
636
|
+
input: typeof UpdateEmailTemplateRequestSchema;
|
|
637
|
+
output: typeof UpdateEmailTemplateResponseSchema;
|
|
638
|
+
};
|
|
639
|
+
/**
|
|
640
|
+
* @generated from rpc api.manage.v1.EmailTemplateService.DeleteEmailTemplate
|
|
641
|
+
*/
|
|
642
|
+
deleteEmailTemplate: {
|
|
643
|
+
methodKind: "unary";
|
|
644
|
+
input: typeof DeleteEmailTemplateRequestSchema;
|
|
645
|
+
output: typeof DeleteResponseSchema;
|
|
646
|
+
};
|
|
647
|
+
/**
|
|
648
|
+
* Event mapping management
|
|
649
|
+
*
|
|
650
|
+
* @generated from rpc api.manage.v1.EmailTemplateService.GetEventMappings
|
|
651
|
+
*/
|
|
652
|
+
getEventMappings: {
|
|
653
|
+
methodKind: "unary";
|
|
654
|
+
input: typeof GetEventMappingsRequestSchema;
|
|
655
|
+
output: typeof GetEventMappingsResponseSchema;
|
|
656
|
+
};
|
|
657
|
+
/**
|
|
658
|
+
* @generated from rpc api.manage.v1.EmailTemplateService.UpdateEventMapping
|
|
659
|
+
*/
|
|
660
|
+
updateEventMapping: {
|
|
661
|
+
methodKind: "unary";
|
|
662
|
+
input: typeof UpdateEventMappingRequestSchema;
|
|
663
|
+
output: typeof SuccessResponseSchema;
|
|
664
|
+
};
|
|
665
|
+
/**
|
|
666
|
+
* Template operations
|
|
667
|
+
*
|
|
668
|
+
* @generated from rpc api.manage.v1.EmailTemplateService.SendTestEmail
|
|
669
|
+
*/
|
|
670
|
+
sendTestEmail: {
|
|
671
|
+
methodKind: "unary";
|
|
672
|
+
input: typeof SendTestEmailRequestSchema;
|
|
673
|
+
output: typeof SuccessResponseSchema;
|
|
674
|
+
};
|
|
675
|
+
/**
|
|
676
|
+
* @generated from rpc api.manage.v1.EmailTemplateService.PreviewEmailTemplate
|
|
677
|
+
*/
|
|
678
|
+
previewEmailTemplate: {
|
|
679
|
+
methodKind: "unary";
|
|
680
|
+
input: typeof PreviewEmailTemplateRequestSchema;
|
|
681
|
+
output: typeof PreviewEmailTemplateResponseSchema;
|
|
682
|
+
};
|
|
683
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_email_template, 0);
|