@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,657 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/intra/v1/post.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
+ ContentBlockMediaItem,
15
+ LocalizedRichTextDocument,
16
+ RichTextBlockMutationBatch,
17
+ } from "../../content/v1/block_content_pb.ts";
18
+ import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
19
+ import type { CollaborationPrincipal } from "./collaboration_pb.ts";
20
+ import { file_api_intra_v1_collaboration } from "./collaboration_pb.ts";
21
+ import type { AIDocumentFieldTarget } from "../../manage/v1/ai_pb.ts";
22
+ import { file_api_manage_v1_ai } from "../../manage/v1/ai_pb.ts";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file api/intra/v1/post.proto.
27
+ */
28
+ export const file_api_intra_v1_post: GenFile =
29
+ /*@__PURE__*/
30
+ fileDesc(
31
+ "ChdhcGkvaW50cmEvdjEvcG9zdC5wcm90bxIMYXBpLmludHJhLnYxIngKHExvYWRQb3N0QmxvY2tEb2N1bWVudFJlcXVlc3QSDwoHcG9zdF9pZBgBIAEoCRI3CglwcmluY2lwYWwYAiABKAsyJC5hcGkuaW50cmEudjEuQ29sbGFib3JhdGlvblByaW5jaXBhbBIOCgZsb2NhbGUYAyABKAkihwQKHUxvYWRQb3N0QmxvY2tEb2N1bWVudFJlc3BvbnNlEjsKCGRvY3VtZW50GAEgASgLMikuYXBpLmNvbnRlbnQudjEuTG9jYWxpemVkUmljaFRleHREb2N1bWVudBIZChFkb2N1bWVudF9yZXZpc2lvbhgCIAEoCRIUCgxjYXRlZ29yeV9pZHMYAyADKAkSDwoHdGFnX2lkcxgEIAMoCRI6CgtibG9ja19tZWRpYRgFIAMoCzIlLmFwaS5jb250ZW50LnYxLkNvbnRlbnRCbG9ja01lZGlhSXRlbRI5Cg9zb3VyY2VfbWV0YWRhdGEYBiABKAsyIC5hcGkuaW50cmEudjEuUG9zdExvY2FsZU1ldGFkYXRhEg4KBmxvY2FsZRgHIAEoCRIVCg1sb2NhbGVfZXhpc3RzGAggASgIEj4KD2xvY2FsZV9tZXRhZGF0YRgJIAEoCzIgLmFwaS5pbnRyYS52MS5Qb3N0TG9jYWxlTWV0YWRhdGFIAIgBARIcCg90YXJnZXRfcmV2aXNpb24YCiABKAlIAYgBARJDChVwcmVzZW50X2xvY2FsZV92YWx1ZXMYCyADKAsyJC5hcGkubWFuYWdlLnYxLkFJRG9jdW1l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GVQb3N0VmVyc2lvbkNoZWNrcG9pbnRSZXF1ZXN0GjEuYXBpLmludHJhLnYxLkNyZWF0ZVBvc3RWZXJzaW9uQ2hlY2twb2ludFJlc3BvbnNlQqwBChBjb20uYXBpLmludHJhLnYxQglQb3N0UHJvdG9QAVo7Z2l0aHViLmNvbS9kc3ViLWlvL2V2ZW50LWNvbnRyYWN0cy9nZW4vYXBpL2ludHJhL3YxO2ludHJhdjGiAgNBSViqAgxBcGkuSW50cmEuVjHKAgxBcGlcSW50cmFcVjHiAhhBcGlcSW50cmFcVjFcR1BCTWV0YWRhdGHqAg5BcGk6OkludHJhOjpWMWIGcHJvdG8z",
32
+ [
33
+ file_api_content_v1_block_content,
34
+ file_api_intra_v1_collaboration,
35
+ file_api_manage_v1_ai,
36
+ ],
37
+ );
38
+
39
+ /**
40
+ * @generated from message api.intra.v1.LoadPostBlockDocumentRequest
41
+ */
42
+ export type LoadPostBlockDocumentRequest =
43
+ Message<"api.intra.v1.LoadPostBlockDocumentRequest"> & {
44
+ /**
45
+ * @generated from field: string post_id = 1;
46
+ */
47
+ postId: string;
48
+
49
+ /**
50
+ * @generated from field: api.intra.v1.CollaborationPrincipal principal = 2;
51
+ */
52
+ principal?: CollaborationPrincipal | undefined;
53
+
54
+ /**
55
+ * @generated from field: string locale = 3;
56
+ */
57
+ locale: string;
58
+ };
59
+
60
+ /**
61
+ * Describes the message api.intra.v1.LoadPostBlockDocumentRequest.
62
+ * Use `create(LoadPostBlockDocumentRequestSchema)` to create a new message.
63
+ */
64
+ export const LoadPostBlockDocumentRequestSchema: GenMessage<LoadPostBlockDocumentRequest> =
65
+ /*@__PURE__*/
66
+ messageDesc(file_api_intra_v1_post, 0);
67
+
68
+ /**
69
+ * @generated from message api.intra.v1.LoadPostBlockDocumentResponse
70
+ */
71
+ export type LoadPostBlockDocumentResponse =
72
+ Message<"api.intra.v1.LoadPostBlockDocumentResponse"> & {
73
+ /**
74
+ * Exact room projection: shared/source base plus one complete materialized
75
+ * requested-locale overlay. LocalizedRichTextDocument validates without
76
+ * mislabeling a target overlay as the source overlay. Missing target values
77
+ * are materialized from source fallback but locale_exists remains false and
78
+ * Collab must not open a writable target room before explicit creation.
79
+ *
80
+ * @generated from field: api.content.v1.LocalizedRichTextDocument document = 1;
81
+ */
82
+ document?: LocalizedRichTextDocument | undefined;
83
+
84
+ /**
85
+ * Persisted content_document.revision, hard-cut to mean only the
86
+ * shared/source graph CAS. Target-only writes never advance it; source/shared
87
+ * changes invalidate every target room.
88
+ *
89
+ * @generated from field: string document_revision = 2;
90
+ */
91
+ documentRevision: string;
92
+
93
+ /**
94
+ * @generated from field: repeated string category_ids = 3;
95
+ */
96
+ categoryIds: string[];
97
+
98
+ /**
99
+ * @generated from field: repeated string tag_ids = 4;
100
+ */
101
+ tagIds: string[];
102
+
103
+ /**
104
+ * @generated from field: repeated api.content.v1.ContentBlockMediaItem block_media = 5;
105
+ */
106
+ blockMedia: ContentBlockMediaItem[];
107
+
108
+ /**
109
+ * Server-derived current source locale and its locale-owned metadata.
110
+ *
111
+ * @generated from field: api.intra.v1.PostLocaleMetadata source_metadata = 6;
112
+ */
113
+ sourceMetadata?: PostLocaleMetadata | undefined;
114
+
115
+ /**
116
+ * Exact canonical locale requested by the caller.
117
+ *
118
+ * @generated from field: string locale = 7;
119
+ */
120
+ locale: string;
121
+
122
+ /**
123
+ * Presence of the exact requested locale resource, not lifecycle state.
124
+ *
125
+ * @generated from field: bool locale_exists = 8;
126
+ */
127
+ localeExists: boolean;
128
+
129
+ /**
130
+ * Present only when the exact requested locale exists. For a source room it
131
+ * equals source_metadata; a missing target has no locale metadata message.
132
+ *
133
+ * @generated from field: optional api.intra.v1.PostLocaleMetadata locale_metadata = 9;
134
+ */
135
+ localeMetadata?: PostLocaleMetadata | undefined;
136
+
137
+ /**
138
+ * Present only for an existing non-source locale. It is an opaque token
139
+ * derived from document_revision plus that exact locale row's updated_at:
140
+ * source/shared change invalidates every target room; target-only change
141
+ * advances only its locale. Source rooms and missing targets receive none.
142
+ *
143
+ * @generated from field: optional string target_revision = 10;
144
+ */
145
+ targetRevision?: string | undefined;
146
+
147
+ /**
148
+ * Exact persisted locale-owned leaf-terminal presence for the requested room
149
+ * locale; never inferred from materialized/source-fallback values. Source and
150
+ * target rooms report actual presence; a missing target reports an empty list.
151
+ * Order is meaningless; producers emit canonical-sorted, duplicate-free
152
+ * targets. relation_item, shared/topology/File, identity-terminal (row_id,
153
+ * cell_id, Page unit_id), and composite object/list targets are forbidden.
154
+ *
155
+ * @generated from field: repeated api.manage.v1.AIDocumentFieldTarget present_locale_values = 11;
156
+ */
157
+ presentLocaleValues: AIDocumentFieldTarget[];
158
+ };
159
+
160
+ /**
161
+ * Describes the message api.intra.v1.LoadPostBlockDocumentResponse.
162
+ * Use `create(LoadPostBlockDocumentResponseSchema)` to create a new message.
163
+ */
164
+ export const LoadPostBlockDocumentResponseSchema: GenMessage<LoadPostBlockDocumentResponse> =
165
+ /*@__PURE__*/
166
+ messageDesc(file_api_intra_v1_post, 1);
167
+
168
+ /**
169
+ * @generated from message api.intra.v1.PostLocaleMetadata
170
+ */
171
+ export type PostLocaleMetadata = Message<"api.intra.v1.PostLocaleMetadata"> & {
172
+ /**
173
+ * Exact canonical locale owned by these values.
174
+ *
175
+ * @generated from field: string locale = 1;
176
+ */
177
+ locale: string;
178
+
179
+ /**
180
+ * @generated from field: optional string title = 2;
181
+ */
182
+ title?: string | undefined;
183
+
184
+ /**
185
+ * @generated from field: optional string summary = 3;
186
+ */
187
+ summary?: string | undefined;
188
+ };
189
+
190
+ /**
191
+ * Describes the message api.intra.v1.PostLocaleMetadata.
192
+ * Use `create(PostLocaleMetadataSchema)` to create a new message.
193
+ */
194
+ export const PostLocaleMetadataSchema: GenMessage<PostLocaleMetadata> =
195
+ /*@__PURE__*/
196
+ messageDesc(file_api_intra_v1_post, 2);
197
+
198
+ /**
199
+ * @generated from message api.intra.v1.PostNullableStringChange
200
+ */
201
+ export type PostNullableStringChange =
202
+ Message<"api.intra.v1.PostNullableStringChange"> & {
203
+ /**
204
+ * @generated from oneof api.intra.v1.PostNullableStringChange.value
205
+ */
206
+ value:
207
+ | {
208
+ /**
209
+ * @generated from field: string set_value = 1;
210
+ */
211
+ value: string;
212
+ case: "setValue";
213
+ }
214
+ | {
215
+ /**
216
+ * @generated from field: bool clear = 2;
217
+ */
218
+ value: boolean;
219
+ case: "clear";
220
+ }
221
+ | { case: undefined; value?: undefined };
222
+ };
223
+
224
+ /**
225
+ * Describes the message api.intra.v1.PostNullableStringChange.
226
+ * Use `create(PostNullableStringChangeSchema)` to create a new message.
227
+ */
228
+ export const PostNullableStringChangeSchema: GenMessage<PostNullableStringChange> =
229
+ /*@__PURE__*/
230
+ messageDesc(file_api_intra_v1_post, 3);
231
+
232
+ /**
233
+ * @generated from message api.intra.v1.PostStringIdList
234
+ */
235
+ export type PostStringIdList = Message<"api.intra.v1.PostStringIdList"> & {
236
+ /**
237
+ * @generated from field: repeated string ids = 1;
238
+ */
239
+ ids: string[];
240
+ };
241
+
242
+ /**
243
+ * Describes the message api.intra.v1.PostStringIdList.
244
+ * Use `create(PostStringIdListSchema)` to create a new message.
245
+ */
246
+ export const PostStringIdListSchema: GenMessage<PostStringIdList> =
247
+ /*@__PURE__*/
248
+ messageDesc(file_api_intra_v1_post, 4);
249
+
250
+ /**
251
+ * @generated from message api.intra.v1.ApplyPostBlockBatchRequest
252
+ */
253
+ export type ApplyPostBlockBatchRequest =
254
+ Message<"api.intra.v1.ApplyPostBlockBatchRequest"> & {
255
+ /**
256
+ * @generated from field: string post_id = 1;
257
+ */
258
+ postId: string;
259
+
260
+ /**
261
+ * The batch expected_revision is the persisted content_document.revision,
262
+ * hard-cut to observe only the shared/source graph.
263
+ *
264
+ * @generated from field: api.content.v1.RichTextBlockMutationBatch batch = 2;
265
+ */
266
+ batch?: RichTextBlockMutationBatch | undefined;
267
+
268
+ /**
269
+ * Exact canonical room locale. The API rejects a mismatched room locale and
270
+ * rejects structural operations outside the source locale with typed
271
+ * CollaborationMutationRejectionDetail.
272
+ *
273
+ * @generated from field: string locale = 3;
274
+ */
275
+ locale: string;
276
+
277
+ /**
278
+ * Required for every non-source save and absent for source. A missing target
279
+ * is rejected: Web/Collab must explicitly create and source-seed it through
280
+ * AIDocument, commit, then reconnect/load the returned target token before
281
+ * this save boundary becomes writable.
282
+ *
283
+ * @generated from field: optional string expected_target_revision = 4;
284
+ */
285
+ expectedTargetRevision?: string | undefined;
286
+
287
+ /**
288
+ * Actual changed locale-owned leaf terminals in this batch, including
289
+ * explicit-empty writes and presence removal. Callers emit canonical-sorted,
290
+ * duplicate-free targets. relation_item, shared/topology/File,
291
+ * identity-terminal (row_id, cell_id, Page unit_id), and composite object/list
292
+ * targets are forbidden. Source/shared-only batches send an empty list.
293
+ *
294
+ * @generated from field: repeated api.manage.v1.AIDocumentFieldTarget affected_locale_values = 5;
295
+ */
296
+ affectedLocaleValues: AIDocumentFieldTarget[];
297
+ };
298
+
299
+ /**
300
+ * Describes the message api.intra.v1.ApplyPostBlockBatchRequest.
301
+ * Use `create(ApplyPostBlockBatchRequestSchema)` to create a new message.
302
+ */
303
+ export const ApplyPostBlockBatchRequestSchema: GenMessage<ApplyPostBlockBatchRequest> =
304
+ /*@__PURE__*/
305
+ messageDesc(file_api_intra_v1_post, 5);
306
+
307
+ /**
308
+ * @generated from message api.intra.v1.ApplyPostBlockBatchResponse
309
+ */
310
+ export type ApplyPostBlockBatchResponse =
311
+ Message<"api.intra.v1.ApplyPostBlockBatchResponse"> & {
312
+ /**
313
+ * New shared/source graph token. It remains equal to the request token for a
314
+ * target-only write; unrelated target locales never conflict.
315
+ *
316
+ * @generated from field: string document_revision = 1;
317
+ */
318
+ documentRevision: string;
319
+
320
+ /**
321
+ * @generated from field: bool changed = 2;
322
+ */
323
+ changed: boolean;
324
+
325
+ /**
326
+ * @generated from field: bool source_changed = 3;
327
+ */
328
+ sourceChanged: boolean;
329
+
330
+ /**
331
+ * @generated from field: repeated string changed_locales = 4;
332
+ */
333
+ changedLocales: string[];
334
+
335
+ /**
336
+ * @generated from field: string locale = 5;
337
+ */
338
+ locale: string;
339
+
340
+ /**
341
+ * New target CAS after an accepted non-source create/value write. Absent for
342
+ * source mutations and after target deletion.
343
+ *
344
+ * @generated from field: optional string target_revision = 6;
345
+ */
346
+ targetRevision?: string | undefined;
347
+ };
348
+
349
+ /**
350
+ * Describes the message api.intra.v1.ApplyPostBlockBatchResponse.
351
+ * Use `create(ApplyPostBlockBatchResponseSchema)` to create a new message.
352
+ */
353
+ export const ApplyPostBlockBatchResponseSchema: GenMessage<ApplyPostBlockBatchResponse> =
354
+ /*@__PURE__*/
355
+ messageDesc(file_api_intra_v1_post, 6);
356
+
357
+ /**
358
+ * @generated from message api.intra.v1.UpdatePostLocaleMetadataRequest
359
+ */
360
+ export type UpdatePostLocaleMetadataRequest =
361
+ Message<"api.intra.v1.UpdatePostLocaleMetadataRequest"> & {
362
+ /**
363
+ * @generated from field: string post_id = 1;
364
+ */
365
+ postId: string;
366
+
367
+ /**
368
+ * @generated from field: api.intra.v1.PostNullableStringChange title_change = 2;
369
+ */
370
+ titleChange?: PostNullableStringChange | undefined;
371
+
372
+ /**
373
+ * @generated from field: api.intra.v1.PostNullableStringChange summary_change = 3;
374
+ */
375
+ summaryChange?: PostNullableStringChange | undefined;
376
+
377
+ /**
378
+ * Persisted content_document.revision observed by the caller, hard-cut to
379
+ * change only for the shared/source graph.
380
+ *
381
+ * @generated from field: string expected_revision = 4;
382
+ */
383
+ expectedRevision: string;
384
+
385
+ /**
386
+ * @generated from field: repeated string contributor_member_ids = 5;
387
+ */
388
+ contributorMemberIds: string[];
389
+
390
+ /**
391
+ * Required canonical room locale. Non-source rooms may mutate only these
392
+ * locale-owned fields and never Post structure or shared metadata.
393
+ *
394
+ * @generated from field: string locale = 6;
395
+ */
396
+ locale: string;
397
+
398
+ /**
399
+ * Required for every non-source save and absent for source. A missing target
400
+ * is rejected until AIDocument explicit create commits its source seed and
401
+ * the room reconnects with the returned target token.
402
+ *
403
+ * @generated from field: optional string expected_target_revision = 7;
404
+ */
405
+ expectedTargetRevision?: string | undefined;
406
+ };
407
+
408
+ /**
409
+ * Describes the message api.intra.v1.UpdatePostLocaleMetadataRequest.
410
+ * Use `create(UpdatePostLocaleMetadataRequestSchema)` to create a new message.
411
+ */
412
+ export const UpdatePostLocaleMetadataRequestSchema: GenMessage<UpdatePostLocaleMetadataRequest> =
413
+ /*@__PURE__*/
414
+ messageDesc(file_api_intra_v1_post, 7);
415
+
416
+ /**
417
+ * @generated from message api.intra.v1.UpdatePostLocaleMetadataResponse
418
+ */
419
+ export type UpdatePostLocaleMetadataResponse =
420
+ Message<"api.intra.v1.UpdatePostLocaleMetadataResponse"> & {
421
+ /**
422
+ * New shared/source graph token. It remains equal to the request token for a
423
+ * target-only write.
424
+ *
425
+ * @generated from field: string document_revision = 1;
426
+ */
427
+ documentRevision: string;
428
+
429
+ /**
430
+ * @generated from field: bool changed = 2;
431
+ */
432
+ changed: boolean;
433
+
434
+ /**
435
+ * @generated from field: bool source_changed = 3;
436
+ */
437
+ sourceChanged: boolean;
438
+
439
+ /**
440
+ * @generated from field: repeated string changed_locales = 4;
441
+ */
442
+ changedLocales: string[];
443
+
444
+ /**
445
+ * @generated from field: string locale = 5;
446
+ */
447
+ locale: string;
448
+
449
+ /**
450
+ * @generated from field: optional string target_revision = 6;
451
+ */
452
+ targetRevision?: string | undefined;
453
+ };
454
+
455
+ /**
456
+ * Describes the message api.intra.v1.UpdatePostLocaleMetadataResponse.
457
+ * Use `create(UpdatePostLocaleMetadataResponseSchema)` to create a new message.
458
+ */
459
+ export const UpdatePostLocaleMetadataResponseSchema: GenMessage<UpdatePostLocaleMetadataResponse> =
460
+ /*@__PURE__*/
461
+ messageDesc(file_api_intra_v1_post, 8);
462
+
463
+ /**
464
+ * @generated from message api.intra.v1.UpdatePostDocumentMetadataRequest
465
+ */
466
+ export type UpdatePostDocumentMetadataRequest =
467
+ Message<"api.intra.v1.UpdatePostDocumentMetadataRequest"> & {
468
+ /**
469
+ * @generated from field: string post_id = 1;
470
+ */
471
+ postId: string;
472
+
473
+ /**
474
+ * @generated from field: api.intra.v1.PostStringIdList category_ids = 2;
475
+ */
476
+ categoryIds?: PostStringIdList | undefined;
477
+
478
+ /**
479
+ * @generated from field: api.intra.v1.PostStringIdList tag_ids = 3;
480
+ */
481
+ tagIds?: PostStringIdList | undefined;
482
+
483
+ /**
484
+ * @generated from field: string expected_revision = 4;
485
+ */
486
+ expectedRevision: string;
487
+
488
+ /**
489
+ * @generated from field: repeated string contributor_member_ids = 5;
490
+ */
491
+ contributorMemberIds: string[];
492
+
493
+ /**
494
+ * @generated from field: string locale = 6;
495
+ */
496
+ locale: string;
497
+ };
498
+
499
+ /**
500
+ * Describes the message api.intra.v1.UpdatePostDocumentMetadataRequest.
501
+ * Use `create(UpdatePostDocumentMetadataRequestSchema)` to create a new message.
502
+ */
503
+ export const UpdatePostDocumentMetadataRequestSchema: GenMessage<UpdatePostDocumentMetadataRequest> =
504
+ /*@__PURE__*/
505
+ messageDesc(file_api_intra_v1_post, 9);
506
+
507
+ /**
508
+ * @generated from message api.intra.v1.UpdatePostDocumentMetadataResponse
509
+ */
510
+ export type UpdatePostDocumentMetadataResponse =
511
+ Message<"api.intra.v1.UpdatePostDocumentMetadataResponse"> & {
512
+ /**
513
+ * @generated from field: string document_revision = 1;
514
+ */
515
+ documentRevision: string;
516
+
517
+ /**
518
+ * @generated from field: bool changed = 2;
519
+ */
520
+ changed: boolean;
521
+
522
+ /**
523
+ * @generated from field: bool source_changed = 3;
524
+ */
525
+ sourceChanged: boolean;
526
+
527
+ /**
528
+ * @generated from field: string locale = 4;
529
+ */
530
+ locale: string;
531
+ };
532
+
533
+ /**
534
+ * Describes the message api.intra.v1.UpdatePostDocumentMetadataResponse.
535
+ * Use `create(UpdatePostDocumentMetadataResponseSchema)` to create a new message.
536
+ */
537
+ export const UpdatePostDocumentMetadataResponseSchema: GenMessage<UpdatePostDocumentMetadataResponse> =
538
+ /*@__PURE__*/
539
+ messageDesc(file_api_intra_v1_post, 10);
540
+
541
+ /**
542
+ * @generated from message api.intra.v1.CreatePostVersionCheckpointRequest
543
+ */
544
+ export type CreatePostVersionCheckpointRequest =
545
+ Message<"api.intra.v1.CreatePostVersionCheckpointRequest"> & {
546
+ /**
547
+ * @generated from field: string post_id = 1;
548
+ */
549
+ postId: string;
550
+
551
+ /**
552
+ * @generated from field: string expected_revision = 2;
553
+ */
554
+ expectedRevision: string;
555
+
556
+ /**
557
+ * @generated from field: repeated string contributor_member_ids = 3;
558
+ */
559
+ contributorMemberIds: string[];
560
+
561
+ /**
562
+ * @generated from field: string locale = 4;
563
+ */
564
+ locale: string;
565
+ };
566
+
567
+ /**
568
+ * Describes the message api.intra.v1.CreatePostVersionCheckpointRequest.
569
+ * Use `create(CreatePostVersionCheckpointRequestSchema)` to create a new message.
570
+ */
571
+ export const CreatePostVersionCheckpointRequestSchema: GenMessage<CreatePostVersionCheckpointRequest> =
572
+ /*@__PURE__*/
573
+ messageDesc(file_api_intra_v1_post, 11);
574
+
575
+ /**
576
+ * @generated from message api.intra.v1.CreatePostVersionCheckpointResponse
577
+ */
578
+ export type CreatePostVersionCheckpointResponse =
579
+ Message<"api.intra.v1.CreatePostVersionCheckpointResponse"> & {
580
+ /**
581
+ * @generated from field: bool created = 1;
582
+ */
583
+ created: boolean;
584
+
585
+ /**
586
+ * @generated from field: optional string version_id = 2;
587
+ */
588
+ versionId?: string | undefined;
589
+
590
+ /**
591
+ * @generated from field: string revision = 3;
592
+ */
593
+ revision: string;
594
+
595
+ /**
596
+ * @generated from field: string locale = 4;
597
+ */
598
+ locale: string;
599
+ };
600
+
601
+ /**
602
+ * Describes the message api.intra.v1.CreatePostVersionCheckpointResponse.
603
+ * Use `create(CreatePostVersionCheckpointResponseSchema)` to create a new message.
604
+ */
605
+ export const CreatePostVersionCheckpointResponseSchema: GenMessage<CreatePostVersionCheckpointResponse> =
606
+ /*@__PURE__*/
607
+ messageDesc(file_api_intra_v1_post, 12);
608
+
609
+ /**
610
+ * InternalPostService is the authoritative typed Block boundary for Post
611
+ * collaboration. Yjs remains collaboration runtime state and never crosses
612
+ * this durable API.
613
+ *
614
+ * @generated from service api.intra.v1.InternalPostService
615
+ */
616
+ export const InternalPostService: GenService<{
617
+ /**
618
+ * @generated from rpc api.intra.v1.InternalPostService.LoadPostBlockDocument
619
+ */
620
+ loadPostBlockDocument: {
621
+ methodKind: "unary";
622
+ input: typeof LoadPostBlockDocumentRequestSchema;
623
+ output: typeof LoadPostBlockDocumentResponseSchema;
624
+ };
625
+ /**
626
+ * @generated from rpc api.intra.v1.InternalPostService.ApplyPostBlockBatch
627
+ */
628
+ applyPostBlockBatch: {
629
+ methodKind: "unary";
630
+ input: typeof ApplyPostBlockBatchRequestSchema;
631
+ output: typeof ApplyPostBlockBatchResponseSchema;
632
+ };
633
+ /**
634
+ * @generated from rpc api.intra.v1.InternalPostService.UpdatePostLocaleMetadata
635
+ */
636
+ updatePostLocaleMetadata: {
637
+ methodKind: "unary";
638
+ input: typeof UpdatePostLocaleMetadataRequestSchema;
639
+ output: typeof UpdatePostLocaleMetadataResponseSchema;
640
+ };
641
+ /**
642
+ * @generated from rpc api.intra.v1.InternalPostService.UpdatePostDocumentMetadata
643
+ */
644
+ updatePostDocumentMetadata: {
645
+ methodKind: "unary";
646
+ input: typeof UpdatePostDocumentMetadataRequestSchema;
647
+ output: typeof UpdatePostDocumentMetadataResponseSchema;
648
+ };
649
+ /**
650
+ * @generated from rpc api.intra.v1.InternalPostService.CreatePostVersionCheckpoint
651
+ */
652
+ createPostVersionCheckpoint: {
653
+ methodKind: "unary";
654
+ input: typeof CreatePostVersionCheckpointRequestSchema;
655
+ output: typeof CreatePostVersionCheckpointResponseSchema;
656
+ };
657
+ }> = /*@__PURE__*/ serviceDesc(file_api_intra_v1_post, 0);