@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,383 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/intra/v1/campaign.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 {
14
+ LocalizedRichTextDocument,
15
+ RichTextBlockMutationBatch,
16
+ } from "../../content/v1/block_content_pb.ts";
17
+ import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
18
+ import type { CollaborationPrincipal } from "./collaboration_pb.ts";
19
+ import { file_api_intra_v1_collaboration } from "./collaboration_pb.ts";
20
+ import type { AIDocumentFieldTarget } from "../../manage/v1/ai_pb.ts";
21
+ import { file_api_manage_v1_ai } from "../../manage/v1/ai_pb.ts";
22
+ import type { Message } from "@bufbuild/protobuf";
23
+
24
+ /**
25
+ * Describes the file api/intra/v1/campaign.proto.
26
+ */
27
+ export const file_api_intra_v1_campaign: GenFile =
28
+ /*@__PURE__*/
29
+ fileDesc(
30
+ "ChthcGkvaW50cmEvdjEvY2FtcGFpZ24ucHJvdG8SDGFwaS5pbnRyYS52MSKKAgoeQXBwbHlDYW1wYWlnbkJsb2NrQmF0Y2hSZXF1ZXN0EhMKC2NhbXBhaWduX2lkGAEgASgJEjkKBWJhdGNoGAIgASgLMiouYXBpLmNvbnRlbnQudjEuUmljaFRleHRCbG9ja011dGF0aW9uQmF0Y2gSDgoGbG9jYWxlGAMgASgJEiUKGGV4cGVjdGVkX3RhcmdldF9yZXZpc2lvbhgEIAEoCUgAiAEBEkQKFmFmZmVjdGVkX2xvY2FsZV92YWx1ZXMYBSADKAsyJC5hcGkubWFuYWdlLnYxLkFJRG9jdW1lbnRGaWVsZFRhcmdldEIbChlfZXhwZWN0ZWRfdGFyZ2V0X3JldmlzaW9uIsABCh9BcHBseUNhbXBhaWduQmxvY2tCYXRjaFJlc3BvbnNlEhkKEWRvY3VtZW50X3JldmlzaW9uGAEgASgJEg8KB2NoYW5nZWQYAiABKAgSFgoOc291cmNlX2NoYW5nZWQYAyABKAgSFwoPY2hhbmdlZF9sb2NhbGVzGAQgAygJEg4KBmxvY2FsZRgFIAEoCRIcCg90YXJnZXRfcmV2aXNpb24YBiABKAlIAIgBAUISChBfdGFyZ2V0X3JldmlzaW9uIusBCiNVcGRhdGVDYW1wYWlnbkxvY2FsZU1ldGFkYXRhUmVxdWVzdBITCgtjYW1wYWlnbl9pZBgBIAEoCRIZChFleHBlY3RlZF9yZXZpc2lvbhgCIAEoCRIUCgdzdWJqZWN0GAMgASgJSACIAQESHgoWY29udHJpYnV0b3JfbWVtYmVyX2lkcxgEIAMoCRIOCgZsb2NhbGUYBSABKAkSJQoYZXhwZWN0ZWRfdGFyZ2V0X3JldmlzaW9uGAYgASgJSAGIAQFCCgoIX3N1YmplY3RCGwoZX2V4cGVjdGVkX3RhcmdldF9yZXZpc2lvbiLFAQokVXBkYXRlQ2FtcGFpZ25Mb2NhbGVNZXRhZGF0YVJlc3BvbnNlEhkKEWRvY3VtZW50X3JldmlzaW9uGAEgASgJEg8KB2NoYW5nZWQYAiABKAgSFgoOc291cmNlX2NoYW5nZWQYAyABKAgSFwoPY2hhbmdlZF9sb2NhbGVzGAQgAygJEg4KBmxvY2FsZRgFIAEoCRIcCg90YXJnZXRfcmV2aXNpb24YBiABKAlIAIgBAUISChBfdGFyZ2V0X3JldmlzaW9uInsKG0xvYWRDYW1wYWlnbkRvY3VtZW50UmVxdWVzdBITCgtjYW1wYWlnbl9pZBgBIAEoCRI3CglwcmluY2lwYWwYAiABKAsyJC5hcGkuaW50cmEudjEuQ29sbGFib3JhdGlvblByaW5jaXBhbBIOCgZsb2NhbGUYAyABKAkiSgoWQ2FtcGFpZ25Mb2NhbGVNZXRhZGF0YRIOCgZsb2NhbGUYASABKAkSFAoHc3ViamVjdBgCIAEoCUgAiAEBQgoKCF9zdWJqZWN0IqsDChxMb2FkQ2FtcGFpZ25Eb2N1bWVudFJlc3BvbnNlEjsKCGRvY3VtZW50GAEgASgLMikuYXBpLmNvbnRlbnQudjEuTG9jYWxpemVkUmljaFRleHREb2N1bWVudBIZChFkb2N1bWVudF9yZXZpc2lvbhgCIAEoCRI9Cg9zb3VyY2VfbWV0YWRhdGEYAyABKAsyJC5hcGkuaW50cmEudjEuQ2FtcGFpZ25Mb2NhbGVNZXRhZGF0YRIOCgZsb2NhbGUYBCABKAkSFQoNbG9jYWxlX2V4aXN0cxgFIAEoCBJCCg9sb2NhbGVfbWV0YWRhdGEYBiABKAsyJC5hcGkuaW50cmEudjEuQ2FtcGFpZ25Mb2NhbGVNZXRhZGF0YUgAiAEBEhwKD3RhcmdldF9yZXZpc2lvbhgHIAEoCUgBiAEBEkMKFXByZXNlbnRfbG9jYWxlX3ZhbHVlcxgIIAMoCzIkLmFwaS5tYW5hZ2UudjEuQUlEb2N1bWVudEZpZWxkVGFyZ2V0QhIKEF9sb2NhbGVfbWV0YWRhdGFCEgoQX3RhcmdldF9yZXZpc2lvbjL4AgoXSW50ZXJuYWxDYW1wYWlnblNlcnZpY2USbgoPQXBwbHlCbG9ja0JhdGNoEiwuYXBpLmludHJhLnYxLkFwcGx5Q2FtcGFpZ25CbG9ja0JhdGNoUmVxdWVzdBotLmFwaS5pbnRyYS52MS5BcHBseUNhbXBhaWduQmxvY2tCYXRjaFJlc3BvbnNlEoUBChxVcGRhdGVDYW1wYWlnbkxvY2FsZU1ldGFkYXRhEjEuYXBpLmludHJhLnYxLlVwZGF0ZUNhbXBhaWduTG9jYWxlTWV0YWRhdGFSZXF1ZXN0GjIuYXBpLmludHJhLnYxLlVwZGF0ZUNhbXBhaWduTG9jYWxlTWV0YWRhdGFSZXNwb25zZRJlCgxMb2FkRG9jdW1lbnQSKS5hcGkuaW50cmEudjEuTG9hZENhbXBhaWduRG9jdW1lbnRSZXF1ZXN0GiouYXBpLmludHJhLnYxLkxvYWRDYW1wYWlnbkRvY3VtZW50UmVzcG9uc2VCsAEKEGNvbS5hcGkuaW50cmEudjFCDUNhbXBhaWduUHJvdG9QAVo7Z2l0aHViLmNvbS9kc3ViLWlvL2V2ZW50LWNvbnRyYWN0cy9nZW4vYXBpL2ludHJhL3YxO2ludHJhdjGiAgNBSViqAgxBcGkuSW50cmEuVjHKAgxBcGlcSW50cmFcVjHiAhhBcGlcSW50cmFcVjFcR1BCTWV0YWRhdGHqAg5BcGk6OkludHJhOjpWMWIGcHJvdG8z",
31
+ [
32
+ file_api_content_v1_block_content,
33
+ file_api_intra_v1_collaboration,
34
+ file_api_manage_v1_ai,
35
+ ],
36
+ );
37
+
38
+ /**
39
+ * @generated from message api.intra.v1.ApplyCampaignBlockBatchRequest
40
+ */
41
+ export type ApplyCampaignBlockBatchRequest =
42
+ Message<"api.intra.v1.ApplyCampaignBlockBatchRequest"> & {
43
+ /**
44
+ * @generated from field: string campaign_id = 1;
45
+ */
46
+ campaignId: string;
47
+
48
+ /**
49
+ * @generated from field: api.content.v1.RichTextBlockMutationBatch batch = 2;
50
+ */
51
+ batch?: RichTextBlockMutationBatch | undefined;
52
+
53
+ /**
54
+ * @generated from field: string locale = 3;
55
+ */
56
+ locale: string;
57
+
58
+ /**
59
+ * Required for a target locale and omitted for the source locale. Manual
60
+ * collaboration only writes an existing target created by the AIDocument
61
+ * lifecycle boundary.
62
+ *
63
+ * @generated from field: optional string expected_target_revision = 4;
64
+ */
65
+ expectedTargetRevision?: string | undefined;
66
+
67
+ /**
68
+ * Actual changed locale-owned leaf terminals in this batch, including
69
+ * explicit-empty writes and presence removal. Callers emit canonical-sorted,
70
+ * duplicate-free targets. relation_item, shared/topology/File,
71
+ * identity-terminal (row_id, cell_id, Page unit_id), and composite object/list
72
+ * targets are forbidden. Source/shared-only batches send an empty list.
73
+ *
74
+ * @generated from field: repeated api.manage.v1.AIDocumentFieldTarget affected_locale_values = 5;
75
+ */
76
+ affectedLocaleValues: AIDocumentFieldTarget[];
77
+ };
78
+
79
+ /**
80
+ * Describes the message api.intra.v1.ApplyCampaignBlockBatchRequest.
81
+ * Use `create(ApplyCampaignBlockBatchRequestSchema)` to create a new message.
82
+ */
83
+ export const ApplyCampaignBlockBatchRequestSchema: GenMessage<ApplyCampaignBlockBatchRequest> =
84
+ /*@__PURE__*/
85
+ messageDesc(file_api_intra_v1_campaign, 0);
86
+
87
+ /**
88
+ * @generated from message api.intra.v1.ApplyCampaignBlockBatchResponse
89
+ */
90
+ export type ApplyCampaignBlockBatchResponse =
91
+ Message<"api.intra.v1.ApplyCampaignBlockBatchResponse"> & {
92
+ /**
93
+ * @generated from field: string document_revision = 1;
94
+ */
95
+ documentRevision: string;
96
+
97
+ /**
98
+ * @generated from field: bool changed = 2;
99
+ */
100
+ changed: boolean;
101
+
102
+ /**
103
+ * @generated from field: bool source_changed = 3;
104
+ */
105
+ sourceChanged: boolean;
106
+
107
+ /**
108
+ * @generated from field: repeated string changed_locales = 4;
109
+ */
110
+ changedLocales: string[];
111
+
112
+ /**
113
+ * @generated from field: string locale = 5;
114
+ */
115
+ locale: string;
116
+
117
+ /**
118
+ * @generated from field: optional string target_revision = 6;
119
+ */
120
+ targetRevision?: string | undefined;
121
+ };
122
+
123
+ /**
124
+ * Describes the message api.intra.v1.ApplyCampaignBlockBatchResponse.
125
+ * Use `create(ApplyCampaignBlockBatchResponseSchema)` to create a new message.
126
+ */
127
+ export const ApplyCampaignBlockBatchResponseSchema: GenMessage<ApplyCampaignBlockBatchResponse> =
128
+ /*@__PURE__*/
129
+ messageDesc(file_api_intra_v1_campaign, 1);
130
+
131
+ /**
132
+ * @generated from message api.intra.v1.UpdateCampaignLocaleMetadataRequest
133
+ */
134
+ export type UpdateCampaignLocaleMetadataRequest =
135
+ Message<"api.intra.v1.UpdateCampaignLocaleMetadataRequest"> & {
136
+ /**
137
+ * @generated from field: string campaign_id = 1;
138
+ */
139
+ campaignId: string;
140
+
141
+ /**
142
+ * @generated from field: string expected_revision = 2;
143
+ */
144
+ expectedRevision: string;
145
+
146
+ /**
147
+ * @generated from field: optional string subject = 3;
148
+ */
149
+ subject?: string | undefined;
150
+
151
+ /**
152
+ * @generated from field: repeated string contributor_member_ids = 4;
153
+ */
154
+ contributorMemberIds: string[];
155
+
156
+ /**
157
+ * Required canonical room locale. A target locale must already exist.
158
+ *
159
+ * @generated from field: string locale = 5;
160
+ */
161
+ locale: string;
162
+
163
+ /**
164
+ * Required for a target locale and omitted for the source locale.
165
+ *
166
+ * @generated from field: optional string expected_target_revision = 6;
167
+ */
168
+ expectedTargetRevision?: string | undefined;
169
+ };
170
+
171
+ /**
172
+ * Describes the message api.intra.v1.UpdateCampaignLocaleMetadataRequest.
173
+ * Use `create(UpdateCampaignLocaleMetadataRequestSchema)` to create a new message.
174
+ */
175
+ export const UpdateCampaignLocaleMetadataRequestSchema: GenMessage<UpdateCampaignLocaleMetadataRequest> =
176
+ /*@__PURE__*/
177
+ messageDesc(file_api_intra_v1_campaign, 2);
178
+
179
+ /**
180
+ * @generated from message api.intra.v1.UpdateCampaignLocaleMetadataResponse
181
+ */
182
+ export type UpdateCampaignLocaleMetadataResponse =
183
+ Message<"api.intra.v1.UpdateCampaignLocaleMetadataResponse"> & {
184
+ /**
185
+ * @generated from field: string document_revision = 1;
186
+ */
187
+ documentRevision: string;
188
+
189
+ /**
190
+ * @generated from field: bool changed = 2;
191
+ */
192
+ changed: boolean;
193
+
194
+ /**
195
+ * @generated from field: bool source_changed = 3;
196
+ */
197
+ sourceChanged: boolean;
198
+
199
+ /**
200
+ * @generated from field: repeated string changed_locales = 4;
201
+ */
202
+ changedLocales: string[];
203
+
204
+ /**
205
+ * @generated from field: string locale = 5;
206
+ */
207
+ locale: string;
208
+
209
+ /**
210
+ * @generated from field: optional string target_revision = 6;
211
+ */
212
+ targetRevision?: string | undefined;
213
+ };
214
+
215
+ /**
216
+ * Describes the message api.intra.v1.UpdateCampaignLocaleMetadataResponse.
217
+ * Use `create(UpdateCampaignLocaleMetadataResponseSchema)` to create a new message.
218
+ */
219
+ export const UpdateCampaignLocaleMetadataResponseSchema: GenMessage<UpdateCampaignLocaleMetadataResponse> =
220
+ /*@__PURE__*/
221
+ messageDesc(file_api_intra_v1_campaign, 3);
222
+
223
+ /**
224
+ * @generated from message api.intra.v1.LoadCampaignDocumentRequest
225
+ */
226
+ export type LoadCampaignDocumentRequest =
227
+ Message<"api.intra.v1.LoadCampaignDocumentRequest"> & {
228
+ /**
229
+ * @generated from field: string campaign_id = 1;
230
+ */
231
+ campaignId: string;
232
+
233
+ /**
234
+ * @generated from field: api.intra.v1.CollaborationPrincipal principal = 2;
235
+ */
236
+ principal?: CollaborationPrincipal | undefined;
237
+
238
+ /**
239
+ * @generated from field: string locale = 3;
240
+ */
241
+ locale: string;
242
+ };
243
+
244
+ /**
245
+ * Describes the message api.intra.v1.LoadCampaignDocumentRequest.
246
+ * Use `create(LoadCampaignDocumentRequestSchema)` to create a new message.
247
+ */
248
+ export const LoadCampaignDocumentRequestSchema: GenMessage<LoadCampaignDocumentRequest> =
249
+ /*@__PURE__*/
250
+ messageDesc(file_api_intra_v1_campaign, 4);
251
+
252
+ /**
253
+ * @generated from message api.intra.v1.CampaignLocaleMetadata
254
+ */
255
+ export type CampaignLocaleMetadata =
256
+ Message<"api.intra.v1.CampaignLocaleMetadata"> & {
257
+ /**
258
+ * Canonical locale represented by this metadata projection.
259
+ *
260
+ * @generated from field: string locale = 1;
261
+ */
262
+ locale: string;
263
+
264
+ /**
265
+ * @generated from field: optional string subject = 2;
266
+ */
267
+ subject?: string | undefined;
268
+ };
269
+
270
+ /**
271
+ * Describes the message api.intra.v1.CampaignLocaleMetadata.
272
+ * Use `create(CampaignLocaleMetadataSchema)` to create a new message.
273
+ */
274
+ export const CampaignLocaleMetadataSchema: GenMessage<CampaignLocaleMetadata> =
275
+ /*@__PURE__*/
276
+ messageDesc(file_api_intra_v1_campaign, 5);
277
+
278
+ /**
279
+ * @generated from message api.intra.v1.LoadCampaignDocumentResponse
280
+ */
281
+ export type LoadCampaignDocumentResponse =
282
+ Message<"api.intra.v1.LoadCampaignDocumentResponse"> & {
283
+ /**
284
+ * Exact requested room projection. It contains the shared graph and one
285
+ * complete locale overlay; it is never a target-only RichTextDocument.
286
+ *
287
+ * @generated from field: api.content.v1.LocalizedRichTextDocument document = 1;
288
+ */
289
+ document?: LocalizedRichTextDocument | undefined;
290
+
291
+ /**
292
+ * Persisted content_document.revision. It advances only for source/shared
293
+ * graph changes; target-only writes must not advance it.
294
+ *
295
+ * @generated from field: string document_revision = 2;
296
+ */
297
+ documentRevision: string;
298
+
299
+ /**
300
+ * True source projection used for authority and fallback.
301
+ *
302
+ * @generated from field: api.intra.v1.CampaignLocaleMetadata source_metadata = 3;
303
+ */
304
+ sourceMetadata?: CampaignLocaleMetadata | undefined;
305
+
306
+ /**
307
+ * @generated from field: string locale = 4;
308
+ */
309
+ locale: string;
310
+
311
+ /**
312
+ * @generated from field: bool locale_exists = 5;
313
+ */
314
+ localeExists: boolean;
315
+
316
+ /**
317
+ * Present only when the exact requested locale exists.
318
+ *
319
+ * @generated from field: optional api.intra.v1.CampaignLocaleMetadata locale_metadata = 6;
320
+ */
321
+ localeMetadata?: CampaignLocaleMetadata | undefined;
322
+
323
+ /**
324
+ * Present only for an existing non-source locale. Source/shared changes
325
+ * invalidate every target token; target-only writes advance only this locale.
326
+ *
327
+ * @generated from field: optional string target_revision = 7;
328
+ */
329
+ targetRevision?: string | undefined;
330
+
331
+ /**
332
+ * Exact persisted locale-owned leaf-terminal presence for the requested room
333
+ * locale; never inferred from materialized/source-fallback values. Source and
334
+ * target rooms report actual presence; a missing target reports an empty list.
335
+ * Order is meaningless; producers emit canonical-sorted, duplicate-free
336
+ * targets. relation_item, shared/topology/File, identity-terminal (row_id,
337
+ * cell_id, Page unit_id), and composite object/list targets are forbidden.
338
+ *
339
+ * @generated from field: repeated api.manage.v1.AIDocumentFieldTarget present_locale_values = 8;
340
+ */
341
+ presentLocaleValues: AIDocumentFieldTarget[];
342
+ };
343
+
344
+ /**
345
+ * Describes the message api.intra.v1.LoadCampaignDocumentResponse.
346
+ * Use `create(LoadCampaignDocumentResponseSchema)` to create a new message.
347
+ */
348
+ export const LoadCampaignDocumentResponseSchema: GenMessage<LoadCampaignDocumentResponse> =
349
+ /*@__PURE__*/
350
+ messageDesc(file_api_intra_v1_campaign, 6);
351
+
352
+ /**
353
+ * InternalCampaignService is the typed Block persistence boundary for the
354
+ * single document owned by a Campaign root.
355
+ *
356
+ * @generated from service api.intra.v1.InternalCampaignService
357
+ */
358
+ export const InternalCampaignService: GenService<{
359
+ /**
360
+ * @generated from rpc api.intra.v1.InternalCampaignService.ApplyBlockBatch
361
+ */
362
+ applyBlockBatch: {
363
+ methodKind: "unary";
364
+ input: typeof ApplyCampaignBlockBatchRequestSchema;
365
+ output: typeof ApplyCampaignBlockBatchResponseSchema;
366
+ };
367
+ /**
368
+ * @generated from rpc api.intra.v1.InternalCampaignService.UpdateCampaignLocaleMetadata
369
+ */
370
+ updateCampaignLocaleMetadata: {
371
+ methodKind: "unary";
372
+ input: typeof UpdateCampaignLocaleMetadataRequestSchema;
373
+ output: typeof UpdateCampaignLocaleMetadataResponseSchema;
374
+ };
375
+ /**
376
+ * @generated from rpc api.intra.v1.InternalCampaignService.LoadDocument
377
+ */
378
+ loadDocument: {
379
+ methodKind: "unary";
380
+ input: typeof LoadCampaignDocumentRequestSchema;
381
+ output: typeof LoadCampaignDocumentResponseSchema;
382
+ };
383
+ }> = /*@__PURE__*/ serviceDesc(file_api_intra_v1_campaign, 0);