@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,98 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/intra/v1/email_courier.proto (package api.intra.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 { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
14
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file api/intra/v1/email_courier.proto.
|
|
18
|
+
*/
|
|
19
|
+
export const file_api_intra_v1_email_courier: GenFile =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
fileDesc(
|
|
22
|
+
"CiBhcGkvaW50cmEvdjEvZW1haWxfY291cmllci5wcm90bxIMYXBpLmludHJhLnYxImwKEFNlbmRFbWFpbFJlcXVlc3QSEQoJcmVjaXBpZW50GAEgASgJEhUKDXRlbXBsYXRlX3R5cGUYAiABKAkSLgoNdGVtcGxhdGVfZGF0YRgDIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QiIwoRU2VuZEVtYWlsUmVzcG9uc2USDgoGcXVldWVkGAEgASgIMmMKE0VtYWlsQ291cmllclNlcnZpY2USTAoJU2VuZEVtYWlsEh4uYXBpLmludHJhLnYxLlNlbmRFbWFpbFJlcXVlc3QaHy5hcGkuaW50cmEudjEuU2VuZEVtYWlsUmVzcG9uc2VCtAEKEGNvbS5hcGkuaW50cmEudjFCEUVtYWlsQ291cmllclByb3RvUAFaO2dpdGh1Yi5jb20vZHN1Yi1pby9ldmVudC1jb250cmFjdHMvZ2VuL2FwaS9pbnRyYS92MTtpbnRyYXYxogIDQUlYqgIMQXBpLkludHJhLlYxygIMQXBpXEludHJhXFYx4gIYQXBpXEludHJhXFYxXEdQQk1ldGFkYXRh6gIOQXBpOjpJbnRyYTo6VjFiBnByb3RvMw",
|
|
23
|
+
[file_google_protobuf_struct],
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* SendEmailRequest mirrors the pinned identity courier HTTP data model.
|
|
28
|
+
*
|
|
29
|
+
* @generated from message api.intra.v1.SendEmailRequest
|
|
30
|
+
*/
|
|
31
|
+
export type SendEmailRequest = Message<"api.intra.v1.SendEmailRequest"> & {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: string recipient = 1;
|
|
34
|
+
*/
|
|
35
|
+
recipient: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Provider selector normalized at the API boundary.
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: string template_type = 2;
|
|
41
|
+
*/
|
|
42
|
+
templateType: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Contains variables like code, urls, identity info
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: google.protobuf.Struct template_data = 3;
|
|
48
|
+
*/
|
|
49
|
+
templateData?: JsonObject | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message api.intra.v1.SendEmailRequest.
|
|
54
|
+
* Use `create(SendEmailRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const SendEmailRequestSchema: GenMessage<SendEmailRequest> =
|
|
57
|
+
/*@__PURE__*/
|
|
58
|
+
messageDesc(file_api_intra_v1_email_courier, 0);
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from message api.intra.v1.SendEmailResponse
|
|
62
|
+
*/
|
|
63
|
+
export type SendEmailResponse = Message<"api.intra.v1.SendEmailResponse"> & {
|
|
64
|
+
/**
|
|
65
|
+
* Whether the email was successfully queued
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: bool queued = 1;
|
|
68
|
+
*/
|
|
69
|
+
queued: boolean;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message api.intra.v1.SendEmailResponse.
|
|
74
|
+
* Use `create(SendEmailResponseSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const SendEmailResponseSchema: GenMessage<SendEmailResponse> =
|
|
77
|
+
/*@__PURE__*/
|
|
78
|
+
messageDesc(file_api_intra_v1_email_courier, 1);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* EmailCourierService - Internal service for receiving identity-provider courier requests
|
|
82
|
+
* This endpoint is called by the identity provider's HTTP courier, not by external clients.
|
|
83
|
+
* Protected by X-Internal-Service header authentication.
|
|
84
|
+
*
|
|
85
|
+
* @generated from service api.intra.v1.EmailCourierService
|
|
86
|
+
*/
|
|
87
|
+
export const EmailCourierService: GenService<{
|
|
88
|
+
/**
|
|
89
|
+
* SendEmail receives email requests from the identity provider and queues them for processing
|
|
90
|
+
*
|
|
91
|
+
* @generated from rpc api.intra.v1.EmailCourierService.SendEmail
|
|
92
|
+
*/
|
|
93
|
+
sendEmail: {
|
|
94
|
+
methodKind: "unary";
|
|
95
|
+
input: typeof SendEmailRequestSchema;
|
|
96
|
+
output: typeof SendEmailResponseSchema;
|
|
97
|
+
};
|
|
98
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_intra_v1_email_courier, 0);
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/intra/v1/email_layout.proto (package api.intra.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 { Message } from "@bufbuild/protobuf";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file api/intra/v1/email_layout.proto.
|
|
17
|
+
*/
|
|
18
|
+
export const file_api_intra_v1_email_layout: GenFile =
|
|
19
|
+
/*@__PURE__*/
|
|
20
|
+
fileDesc(
|
|
21
|
+
"Ch9hcGkvaW50cmEvdjEvZW1haWxfbGF5b3V0LnByb3RvEgxhcGkuaW50cmEudjEiugIKHlNhdmVFbWFpbExheW91dERvY3VtZW50UmVxdWVzdBIXCg9lbWFpbF9sYXlvdXRfaWQYASABKAkSFAoMY29udGVudF9odG1sGAIgASgJEhQKDGNvbnRlbnRfdGV4dBgDIAEoCRIeChZjb250cmlidXRvcl9tZW1iZXJfaWRzGAQgAygJEg4KBmxvY2FsZRgFIAEoCRIiChpleHBlY3RlZF9kb2N1bWVudF9yZXZpc2lvbhgGIAEoCRIlChhleHBlY3RlZF90YXJnZXRfcmV2aXNpb24YByABKAlIAIgBARI7Cg1sb2NhbGVfdmFsdWVzGAggAygLMiQuYXBpLmludHJhLnYxLkVtYWlsTGF5b3V0TG9jYWxlVmFsdWVCGwoZX2V4cGVjdGVkX3RhcmdldF9yZXZpc2lvbiKPAQofU2F2ZUVtYWlsTGF5b3V0RG9jdW1lbnRSZXNwb25zZRIPCgdzdWNjZXNzGAEgASgIEg4KBmxvY2FsZRgCIAEoCRIZChFkb2N1bWVudF9yZXZpc2lvbhgDIAEoCRIcCg90YXJnZXRfcmV2aXNpb24YBCABKAlIAIgBAUISChBfdGFyZ2V0X3JldmlzaW9uIkkKHkxvYWRFbWFpbExheW91dERvY3VtZW50UmVxdWVzdBIXCg9lbWFpbF9sYXlvdXRfaWQYASABKAkSDgoGbG9jYWxlGAIgASgJIrMCCh9Mb2FkRW1haWxMYXlvdXREb2N1bWVudFJlc3BvbnNlEhQKDGNvbnRlbnRfaHRtbBgBIAEoCRIUCgxjb250ZW50X3RleHQYAiABKAkSFQoNc291cmNlX2xvY2FsZRgDIAEoCRIOCgZsb2NhbGUYBCABKAkSGQoRZG9jdW1lbnRfcmV2aXNpb24YBSABKAkSHAoPdGFyZ2V0X3JldmlzaW9uGAYgASgJSACIAQESMwoFdW5pdHMYByADKAsyJC5hcGkuaW50cmEudjEuRW1haWxMYXlvdXRDb250ZW50VW5pdBI7Cg1sb2NhbGVfdmFsdWVzGAggAygLMiQuYXBpLmludHJhLnYxLkVtYWlsTGF5b3V0TG9jYWxlVmFsdWVCEgoQX3RhcmdldF9yZXZpc2lvbiJ/ChZFbWFpbExheW91dENvbnRlbnRVbml0Eg4KBmhhbmRsZRgBIAEoCRIMCgRraW5kGAIgASgJEg8KB2VsZW1lbnQYAyABKAkSEQoJYXR0cmlidXRlGAQgASgJEg0KBW9yZGVyGAUgASgNEhQKDHNvdXJjZV92YWx1ZRgGIAEoCSI3ChZFbWFpbExheW91dExvY2FsZVZhbHVlEg4KBmhhbmRsZRgBIAEoCRINCgV2YWx1ZRgCIAEoCTL2AQoaSW50ZXJuYWxFbWFpbExheW91dFNlcnZpY2USawoMU2F2ZURvY3VtZW50EiwuYXBpLmludHJhLnYxLlNhdmVFbWFpbExheW91dERvY3VtZW50UmVxdWVzdBotLmFwaS5pbnRyYS52MS5TYXZlRW1haWxMYXlvdXREb2N1bWVudFJlc3BvbnNlEmsKDExvYWREb2N1bWVudBIsLmFwaS5pbnRyYS52MS5Mb2FkRW1haWxMYXlvdXREb2N1bWVudFJlcXVlc3QaLS5hcGkuaW50cmEudjEuTG9hZEVtYWlsTGF5b3V0RG9jdW1lbnRSZXNwb25zZUKzAQoQY29tLmFwaS5pbnRyYS52MUIQRW1haWxMYXlvdXRQcm90b1ABWjtnaXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvaW50cmEvdjE7aW50cmF2MaICA0FJWKoCDEFwaS5JbnRyYS5WMcoCDEFwaVxJbnRyYVxWMeICGEFwaVxJbnRyYVxWMVxHUEJNZXRhZGF0YeoCDkFwaTo6SW50cmE6OlYxYgZwcm90bzM",
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from message api.intra.v1.SaveEmailLayoutDocumentRequest
|
|
26
|
+
*/
|
|
27
|
+
export type SaveEmailLayoutDocumentRequest =
|
|
28
|
+
Message<"api.intra.v1.SaveEmailLayoutDocumentRequest"> & {
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string email_layout_id = 1;
|
|
31
|
+
*/
|
|
32
|
+
emailLayoutId: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: string content_html = 2;
|
|
36
|
+
*/
|
|
37
|
+
contentHtml: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: string content_text = 3;
|
|
41
|
+
*/
|
|
42
|
+
contentText: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: repeated string contributor_member_ids = 4;
|
|
46
|
+
*/
|
|
47
|
+
contributorMemberIds: string[];
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Exact canonical collaboration room locale. The owning root source pointer
|
|
51
|
+
* is loaded by the API and protected by expected_document_revision.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string locale = 5;
|
|
54
|
+
*/
|
|
55
|
+
locale: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: string expected_document_revision = 6;
|
|
59
|
+
*/
|
|
60
|
+
expectedDocumentRevision: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: optional string expected_target_revision = 7;
|
|
64
|
+
*/
|
|
65
|
+
expectedTargetRevision?: string | undefined;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Target rooms send only sparse locale-owned values. Source rooms send
|
|
69
|
+
* content_html and must leave this list empty.
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: repeated api.intra.v1.EmailLayoutLocaleValue locale_values = 8;
|
|
72
|
+
*/
|
|
73
|
+
localeValues: EmailLayoutLocaleValue[];
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message api.intra.v1.SaveEmailLayoutDocumentRequest.
|
|
78
|
+
* Use `create(SaveEmailLayoutDocumentRequestSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const SaveEmailLayoutDocumentRequestSchema: GenMessage<SaveEmailLayoutDocumentRequest> =
|
|
81
|
+
/*@__PURE__*/
|
|
82
|
+
messageDesc(file_api_intra_v1_email_layout, 0);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from message api.intra.v1.SaveEmailLayoutDocumentResponse
|
|
86
|
+
*/
|
|
87
|
+
export type SaveEmailLayoutDocumentResponse =
|
|
88
|
+
Message<"api.intra.v1.SaveEmailLayoutDocumentResponse"> & {
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: bool success = 1;
|
|
91
|
+
*/
|
|
92
|
+
success: boolean;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: string locale = 2;
|
|
96
|
+
*/
|
|
97
|
+
locale: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string document_revision = 3;
|
|
101
|
+
*/
|
|
102
|
+
documentRevision: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: optional string target_revision = 4;
|
|
106
|
+
*/
|
|
107
|
+
targetRevision?: string | undefined;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message api.intra.v1.SaveEmailLayoutDocumentResponse.
|
|
112
|
+
* Use `create(SaveEmailLayoutDocumentResponseSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export const SaveEmailLayoutDocumentResponseSchema: GenMessage<SaveEmailLayoutDocumentResponse> =
|
|
115
|
+
/*@__PURE__*/
|
|
116
|
+
messageDesc(file_api_intra_v1_email_layout, 1);
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from message api.intra.v1.LoadEmailLayoutDocumentRequest
|
|
120
|
+
*/
|
|
121
|
+
export type LoadEmailLayoutDocumentRequest =
|
|
122
|
+
Message<"api.intra.v1.LoadEmailLayoutDocumentRequest"> & {
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: string email_layout_id = 1;
|
|
125
|
+
*/
|
|
126
|
+
emailLayoutId: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: string locale = 2;
|
|
130
|
+
*/
|
|
131
|
+
locale: string;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Describes the message api.intra.v1.LoadEmailLayoutDocumentRequest.
|
|
136
|
+
* Use `create(LoadEmailLayoutDocumentRequestSchema)` to create a new message.
|
|
137
|
+
*/
|
|
138
|
+
export const LoadEmailLayoutDocumentRequestSchema: GenMessage<LoadEmailLayoutDocumentRequest> =
|
|
139
|
+
/*@__PURE__*/
|
|
140
|
+
messageDesc(file_api_intra_v1_email_layout, 2);
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from message api.intra.v1.LoadEmailLayoutDocumentResponse
|
|
144
|
+
*/
|
|
145
|
+
export type LoadEmailLayoutDocumentResponse =
|
|
146
|
+
Message<"api.intra.v1.LoadEmailLayoutDocumentResponse"> & {
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: string content_html = 1;
|
|
149
|
+
*/
|
|
150
|
+
contentHtml: string;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: string content_text = 2;
|
|
154
|
+
*/
|
|
155
|
+
contentText: string;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string source_locale = 3;
|
|
159
|
+
*/
|
|
160
|
+
sourceLocale: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string locale = 4;
|
|
164
|
+
*/
|
|
165
|
+
locale: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: string document_revision = 5;
|
|
169
|
+
*/
|
|
170
|
+
documentRevision: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: optional string target_revision = 6;
|
|
174
|
+
*/
|
|
175
|
+
targetRevision?: string | undefined;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Stable source-owned unit catalog and the exact sparse values owned by the
|
|
179
|
+
* requested target locale. Source rooms leave both lists empty.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: repeated api.intra.v1.EmailLayoutContentUnit units = 7;
|
|
182
|
+
*/
|
|
183
|
+
units: EmailLayoutContentUnit[];
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @generated from field: repeated api.intra.v1.EmailLayoutLocaleValue locale_values = 8;
|
|
187
|
+
*/
|
|
188
|
+
localeValues: EmailLayoutLocaleValue[];
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message api.intra.v1.LoadEmailLayoutDocumentResponse.
|
|
193
|
+
* Use `create(LoadEmailLayoutDocumentResponseSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export const LoadEmailLayoutDocumentResponseSchema: GenMessage<LoadEmailLayoutDocumentResponse> =
|
|
196
|
+
/*@__PURE__*/
|
|
197
|
+
messageDesc(file_api_intra_v1_email_layout, 3);
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from message api.intra.v1.EmailLayoutContentUnit
|
|
201
|
+
*/
|
|
202
|
+
export type EmailLayoutContentUnit =
|
|
203
|
+
Message<"api.intra.v1.EmailLayoutContentUnit"> & {
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: string handle = 1;
|
|
206
|
+
*/
|
|
207
|
+
handle: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: string kind = 2;
|
|
211
|
+
*/
|
|
212
|
+
kind: string;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: string element = 3;
|
|
216
|
+
*/
|
|
217
|
+
element: string;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: string attribute = 4;
|
|
221
|
+
*/
|
|
222
|
+
attribute: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: uint32 order = 5;
|
|
226
|
+
*/
|
|
227
|
+
order: number;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: string source_value = 6;
|
|
231
|
+
*/
|
|
232
|
+
sourceValue: string;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Describes the message api.intra.v1.EmailLayoutContentUnit.
|
|
237
|
+
* Use `create(EmailLayoutContentUnitSchema)` to create a new message.
|
|
238
|
+
*/
|
|
239
|
+
export const EmailLayoutContentUnitSchema: GenMessage<EmailLayoutContentUnit> =
|
|
240
|
+
/*@__PURE__*/
|
|
241
|
+
messageDesc(file_api_intra_v1_email_layout, 4);
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @generated from message api.intra.v1.EmailLayoutLocaleValue
|
|
245
|
+
*/
|
|
246
|
+
export type EmailLayoutLocaleValue =
|
|
247
|
+
Message<"api.intra.v1.EmailLayoutLocaleValue"> & {
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: string handle = 1;
|
|
250
|
+
*/
|
|
251
|
+
handle: string;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: string value = 2;
|
|
255
|
+
*/
|
|
256
|
+
value: string;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Describes the message api.intra.v1.EmailLayoutLocaleValue.
|
|
261
|
+
* Use `create(EmailLayoutLocaleValueSchema)` to create a new message.
|
|
262
|
+
*/
|
|
263
|
+
export const EmailLayoutLocaleValueSchema: GenMessage<EmailLayoutLocaleValue> =
|
|
264
|
+
/*@__PURE__*/
|
|
265
|
+
messageDesc(file_api_intra_v1_email_layout, 5);
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* InternalEmailLayoutService provides internal-only access for email layout document operations.
|
|
269
|
+
* This service is NOT exposed via the public gateway and should only be called
|
|
270
|
+
* by trusted internal services (e.g., Collab server).
|
|
271
|
+
*
|
|
272
|
+
* @generated from service api.intra.v1.InternalEmailLayoutService
|
|
273
|
+
*/
|
|
274
|
+
export const InternalEmailLayoutService: GenService<{
|
|
275
|
+
/**
|
|
276
|
+
* SaveDocument saves the exact source or existing target locale room.
|
|
277
|
+
*
|
|
278
|
+
* @generated from rpc api.intra.v1.InternalEmailLayoutService.SaveDocument
|
|
279
|
+
*/
|
|
280
|
+
saveDocument: {
|
|
281
|
+
methodKind: "unary";
|
|
282
|
+
input: typeof SaveEmailLayoutDocumentRequestSchema;
|
|
283
|
+
output: typeof SaveEmailLayoutDocumentResponseSchema;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* LoadDocument loads the exact source or requested target locale room.
|
|
287
|
+
*
|
|
288
|
+
* @generated from rpc api.intra.v1.InternalEmailLayoutService.LoadDocument
|
|
289
|
+
*/
|
|
290
|
+
loadDocument: {
|
|
291
|
+
methodKind: "unary";
|
|
292
|
+
input: typeof LoadEmailLayoutDocumentRequestSchema;
|
|
293
|
+
output: typeof LoadEmailLayoutDocumentResponseSchema;
|
|
294
|
+
};
|
|
295
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_intra_v1_email_layout, 0);
|