@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,1475 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/manage/v1/post.proto (package api.manage.v1, syntax proto3)
3
+ import type {
4
+ GenEnum,
5
+ GenFile,
6
+ GenMessage,
7
+ GenService,
8
+ } from "@bufbuild/protobuf/codegenv2";
9
+ import {
10
+ enumDesc,
11
+ fileDesc,
12
+ messageDesc,
13
+ serviceDesc,
14
+ } from "@bufbuild/protobuf/codegenv2";
15
+ import type {
16
+ DocumentLayout,
17
+ FilterSpec,
18
+ MemberSummary,
19
+ PaginationRequest,
20
+ PaginationResponse,
21
+ SortSpec,
22
+ } from "../../common/v1/common_pb.ts";
23
+ import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
24
+ import type { AssetRef, MediaDelivery } from "../../common/v1/media_pb.ts";
25
+ import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
26
+ import type {
27
+ ContentBlockMediaItem,
28
+ RichTextDocument,
29
+ } from "../../content/v1/block_content_pb.ts";
30
+ import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
31
+ import type { Category } from "./category_pb.ts";
32
+ import { file_api_manage_v1_category } from "./category_pb.ts";
33
+ import type {
34
+ DeleteResponseSchema,
35
+ OgAssetDeleteResponseSchema,
36
+ VersionContributor,
37
+ } from "./common_pb.ts";
38
+ import { file_api_manage_v1_common } from "./common_pb.ts";
39
+ import type { Series } from "./series_pb.ts";
40
+ import { file_api_manage_v1_series } from "./series_pb.ts";
41
+ import type { Tag } from "./tag_pb.ts";
42
+ import { file_api_manage_v1_tag } from "./tag_pb.ts";
43
+ import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
44
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
45
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
46
+ import type { Message } from "@bufbuild/protobuf";
47
+
48
+ /**
49
+ * Describes the file api/manage/v1/post.proto.
50
+ */
51
+ export const file_api_manage_v1_post: GenFile =
52
+ /*@__PURE__*/
53
+ fileDesc(
54
+ "ChhhcGkvbWFuYWdlL3YxL3Bvc3QucHJvdG8SDWFwaS5tYW5hZ2UudjEihAkKBFBvc3QSCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSEQoEc2x1ZxgDIAEoCUgAiAEBEhQKB3N1bW1hcnkYBCABKAlIAYgBARIyCghkb2N1bWVudBgFIAEoCzIgLmFwaS5jb250ZW50LnYxLlJpY2hUZXh0RG9jdW1lbnQSEAoIcmV2aXNpb24YBiABKAkSKQoGc3RhdHVzGAcgASgOMhkuYXBpLm1hbmFnZS52MS5Qb3N0U3RhdHVzEhgKEGNvbW1lbnRzX2VuYWJsZWQYCCABKAgSNQoMcHVibGlzaGVkX2F0GAkg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_manage_v1_category,
60
+ file_api_manage_v1_common,
61
+ file_api_manage_v1_series,
62
+ file_api_manage_v1_tag,
63
+ file_api_policy_v1_access,
64
+ file_google_protobuf_timestamp,
65
+ ],
66
+ );
67
+
68
+ /**
69
+ * Post entity (DTO - external representation)
70
+ *
71
+ * @generated from message api.manage.v1.Post
72
+ */
73
+ export type Post = Message<"api.manage.v1.Post"> & {
74
+ /**
75
+ * @generated from field: string id = 1;
76
+ */
77
+ id: string;
78
+
79
+ /**
80
+ * @generated from field: string title = 2;
81
+ */
82
+ title: string;
83
+
84
+ /**
85
+ * @generated from field: optional string slug = 3;
86
+ */
87
+ slug?: string | undefined;
88
+
89
+ /**
90
+ * @generated from field: optional string summary = 4;
91
+ */
92
+ summary?: string | undefined;
93
+
94
+ /**
95
+ * @generated from field: api.content.v1.RichTextDocument document = 5;
96
+ */
97
+ document?: RichTextDocument | undefined;
98
+
99
+ /**
100
+ * @generated from field: string revision = 6;
101
+ */
102
+ revision: string;
103
+
104
+ /**
105
+ * @generated from field: api.manage.v1.PostStatus status = 7;
106
+ */
107
+ status: PostStatus;
108
+
109
+ /**
110
+ * @generated from field: bool comments_enabled = 8;
111
+ */
112
+ commentsEnabled: boolean;
113
+
114
+ /**
115
+ * @generated from field: optional google.protobuf.Timestamp published_at = 9;
116
+ */
117
+ publishedAt?: Timestamp | undefined;
118
+
119
+ /**
120
+ * @generated from field: google.protobuf.Timestamp created_at = 10;
121
+ */
122
+ createdAt?: Timestamp | undefined;
123
+
124
+ /**
125
+ * @generated from field: google.protobuf.Timestamp updated_at = 11;
126
+ */
127
+ updatedAt?: Timestamp | undefined;
128
+
129
+ /**
130
+ * Embedded durable authorship. Members remain present after Identity deletion.
131
+ *
132
+ * @generated from field: repeated api.common.v1.MemberSummary author_members = 12;
133
+ */
134
+ authorMembers: MemberSummary[];
135
+
136
+ /**
137
+ * @generated from field: repeated api.manage.v1.Category categories = 13;
138
+ */
139
+ categories: Category[];
140
+
141
+ /**
142
+ * @generated from field: repeated api.manage.v1.Tag tags = 14;
143
+ */
144
+ tags: Tag[];
145
+
146
+ /**
147
+ * @generated from field: optional api.manage.v1.Series series = 15;
148
+ */
149
+ series?: Series | undefined;
150
+
151
+ /**
152
+ * @generated from field: optional int32 series_order = 16;
153
+ */
154
+ seriesOrder?: number | undefined;
155
+
156
+ /**
157
+ * OG image key (S3 path with timestamp, e.g., og/post/{id}/{timestamp}.webp)
158
+ *
159
+ * @generated from field: optional api.common.v1.AssetRef og_asset = 17;
160
+ */
161
+ ogAsset?: AssetRef | undefined;
162
+
163
+ /**
164
+ * @generated from field: optional string map_place_id = 18;
165
+ */
166
+ mapPlaceId?: string | undefined;
167
+
168
+ /**
169
+ * @generated from field: api.common.v1.DocumentLayout document_layout = 19;
170
+ */
171
+ documentLayout?: DocumentLayout | undefined;
172
+
173
+ /**
174
+ * @generated from field: optional google.protobuf.Timestamp scheduled_at = 20;
175
+ */
176
+ scheduledAt?: Timestamp | undefined;
177
+
178
+ /**
179
+ * @generated from field: optional string scheduled_time_zone = 21;
180
+ */
181
+ scheduledTimeZone?: string | undefined;
182
+
183
+ /**
184
+ * @generated from field: repeated api.manage.v1.PostAction allowed_actions = 22;
185
+ */
186
+ allowedActions: PostAction[];
187
+
188
+ /**
189
+ * @generated from field: optional api.common.v1.MediaDelivery featured_image_delivery = 23;
190
+ */
191
+ featuredImageDelivery?: MediaDelivery | undefined;
192
+
193
+ /**
194
+ * @generated from field: repeated api.content.v1.ContentBlockMediaItem block_media = 24;
195
+ */
196
+ blockMedia: ContentBlockMediaItem[];
197
+
198
+ /**
199
+ * @generated from field: string source_locale = 25;
200
+ */
201
+ sourceLocale: string;
202
+ };
203
+
204
+ /**
205
+ * Describes the message api.manage.v1.Post.
206
+ * Use `create(PostSchema)` to create a new message.
207
+ */
208
+ export const PostSchema: GenMessage<Post> =
209
+ /*@__PURE__*/
210
+ messageDesc(file_api_manage_v1_post, 0);
211
+
212
+ /**
213
+ * Post with stats (for admin list)
214
+ *
215
+ * @generated from message api.manage.v1.PostWithStats
216
+ */
217
+ export type PostWithStats = Message<"api.manage.v1.PostWithStats"> & {
218
+ /**
219
+ * @generated from field: api.manage.v1.Post post = 1;
220
+ */
221
+ post?: Post | undefined;
222
+
223
+ /**
224
+ * @generated from field: int32 view_count = 2;
225
+ */
226
+ viewCount: number;
227
+
228
+ /**
229
+ * @generated from field: int32 comment_count = 3;
230
+ */
231
+ commentCount: number;
232
+ };
233
+
234
+ /**
235
+ * Describes the message api.manage.v1.PostWithStats.
236
+ * Use `create(PostWithStatsSchema)` to create a new message.
237
+ */
238
+ export const PostWithStatsSchema: GenMessage<PostWithStats> =
239
+ /*@__PURE__*/
240
+ messageDesc(file_api_manage_v1_post, 1);
241
+
242
+ /**
243
+ * @generated from message api.manage.v1.GetPostRequest
244
+ */
245
+ export type GetPostRequest = Message<"api.manage.v1.GetPostRequest"> & {
246
+ /**
247
+ * @generated from field: string id = 1;
248
+ */
249
+ id: string;
250
+ };
251
+
252
+ /**
253
+ * Describes the message api.manage.v1.GetPostRequest.
254
+ * Use `create(GetPostRequestSchema)` to create a new message.
255
+ */
256
+ export const GetPostRequestSchema: GenMessage<GetPostRequest> =
257
+ /*@__PURE__*/
258
+ messageDesc(file_api_manage_v1_post, 2);
259
+
260
+ /**
261
+ * @generated from message api.manage.v1.ListPostsAdminRequest
262
+ */
263
+ export type ListPostsAdminRequest =
264
+ Message<"api.manage.v1.ListPostsAdminRequest"> & {
265
+ /**
266
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
267
+ */
268
+ pagination?: PaginationRequest | undefined;
269
+
270
+ /**
271
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
272
+ */
273
+ filters: FilterSpec[];
274
+
275
+ /**
276
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
277
+ */
278
+ sorts: SortSpec[];
279
+ };
280
+
281
+ /**
282
+ * Describes the message api.manage.v1.ListPostsAdminRequest.
283
+ * Use `create(ListPostsAdminRequestSchema)` to create a new message.
284
+ */
285
+ export const ListPostsAdminRequestSchema: GenMessage<ListPostsAdminRequest> =
286
+ /*@__PURE__*/
287
+ messageDesc(file_api_manage_v1_post, 3);
288
+
289
+ /**
290
+ * @generated from message api.manage.v1.ListPostsAdminResponse
291
+ */
292
+ export type ListPostsAdminResponse =
293
+ Message<"api.manage.v1.ListPostsAdminResponse"> & {
294
+ /**
295
+ * @generated from field: repeated api.manage.v1.PostWithStats posts = 1;
296
+ */
297
+ posts: PostWithStats[];
298
+
299
+ /**
300
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
301
+ */
302
+ pagination?: PaginationResponse | undefined;
303
+ };
304
+
305
+ /**
306
+ * Describes the message api.manage.v1.ListPostsAdminResponse.
307
+ * Use `create(ListPostsAdminResponseSchema)` to create a new message.
308
+ */
309
+ export const ListPostsAdminResponseSchema: GenMessage<ListPostsAdminResponse> =
310
+ /*@__PURE__*/
311
+ messageDesc(file_api_manage_v1_post, 4);
312
+
313
+ /**
314
+ * @generated from message api.manage.v1.CreatePostRequest
315
+ */
316
+ export type CreatePostRequest = Message<"api.manage.v1.CreatePostRequest"> & {
317
+ /**
318
+ * @generated from field: string title = 1;
319
+ */
320
+ title: string;
321
+
322
+ /**
323
+ * @generated from field: optional string slug = 2;
324
+ */
325
+ slug?: string | undefined;
326
+
327
+ /**
328
+ * @generated from field: optional string summary = 3;
329
+ */
330
+ summary?: string | undefined;
331
+
332
+ /**
333
+ * Optional initial source document. When omitted, the Post service creates an empty Post document atomically.
334
+ *
335
+ * @generated from field: api.content.v1.RichTextDocument document = 4;
336
+ */
337
+ document?: RichTextDocument | undefined;
338
+
339
+ /**
340
+ * @generated from field: bool comments_enabled = 5;
341
+ */
342
+ commentsEnabled: boolean;
343
+
344
+ /**
345
+ * @generated from field: repeated string category_ids = 6;
346
+ */
347
+ categoryIds: string[];
348
+
349
+ /**
350
+ * @generated from field: repeated string tag_ids = 7;
351
+ */
352
+ tagIds: string[];
353
+
354
+ /**
355
+ * @generated from field: optional string map_place_id = 8;
356
+ */
357
+ mapPlaceId?: string | undefined;
358
+
359
+ /**
360
+ * Required initial source locale for the new Post.
361
+ *
362
+ * @generated from field: string source_locale = 9;
363
+ */
364
+ sourceLocale: string;
365
+ };
366
+
367
+ /**
368
+ * Describes the message api.manage.v1.CreatePostRequest.
369
+ * Use `create(CreatePostRequestSchema)` to create a new message.
370
+ */
371
+ export const CreatePostRequestSchema: GenMessage<CreatePostRequest> =
372
+ /*@__PURE__*/
373
+ messageDesc(file_api_manage_v1_post, 5);
374
+
375
+ /**
376
+ * @generated from message api.manage.v1.UpdatePostRequest
377
+ */
378
+ export type UpdatePostRequest = Message<"api.manage.v1.UpdatePostRequest"> & {
379
+ /**
380
+ * @generated from field: string id = 1;
381
+ */
382
+ id: string;
383
+
384
+ /**
385
+ * @generated from field: optional string slug = 2;
386
+ */
387
+ slug?: string | undefined;
388
+
389
+ /**
390
+ * @generated from field: optional bool comments_enabled = 3;
391
+ */
392
+ commentsEnabled?: boolean | undefined;
393
+
394
+ /**
395
+ * @generated from field: optional string map_place_id = 4;
396
+ */
397
+ mapPlaceId?: string | undefined;
398
+
399
+ /**
400
+ * @generated from field: api.common.v1.DocumentLayout document_layout = 5;
401
+ */
402
+ documentLayout?: DocumentLayout | undefined;
403
+ };
404
+
405
+ /**
406
+ * Describes the message api.manage.v1.UpdatePostRequest.
407
+ * Use `create(UpdatePostRequestSchema)` to create a new message.
408
+ */
409
+ export const UpdatePostRequestSchema: GenMessage<UpdatePostRequest> =
410
+ /*@__PURE__*/
411
+ messageDesc(file_api_manage_v1_post, 6);
412
+
413
+ /**
414
+ * @generated from message api.manage.v1.DeletePostRequest
415
+ */
416
+ export type DeletePostRequest = Message<"api.manage.v1.DeletePostRequest"> & {
417
+ /**
418
+ * @generated from field: string id = 1;
419
+ */
420
+ id: string;
421
+ };
422
+
423
+ /**
424
+ * Describes the message api.manage.v1.DeletePostRequest.
425
+ * Use `create(DeletePostRequestSchema)` to create a new message.
426
+ */
427
+ export const DeletePostRequestSchema: GenMessage<DeletePostRequest> =
428
+ /*@__PURE__*/
429
+ messageDesc(file_api_manage_v1_post, 7);
430
+
431
+ /**
432
+ * @generated from message api.manage.v1.PublishPostRequest
433
+ */
434
+ export type PublishPostRequest = Message<"api.manage.v1.PublishPostRequest"> & {
435
+ /**
436
+ * @generated from field: string id = 1;
437
+ */
438
+ id: string;
439
+ };
440
+
441
+ /**
442
+ * Describes the message api.manage.v1.PublishPostRequest.
443
+ * Use `create(PublishPostRequestSchema)` to create a new message.
444
+ */
445
+ export const PublishPostRequestSchema: GenMessage<PublishPostRequest> =
446
+ /*@__PURE__*/
447
+ messageDesc(file_api_manage_v1_post, 8);
448
+
449
+ /**
450
+ * @generated from message api.manage.v1.UnpublishPostRequest
451
+ */
452
+ export type UnpublishPostRequest =
453
+ Message<"api.manage.v1.UnpublishPostRequest"> & {
454
+ /**
455
+ * @generated from field: string id = 1;
456
+ */
457
+ id: string;
458
+ };
459
+
460
+ /**
461
+ * Describes the message api.manage.v1.UnpublishPostRequest.
462
+ * Use `create(UnpublishPostRequestSchema)` to create a new message.
463
+ */
464
+ export const UnpublishPostRequestSchema: GenMessage<UnpublishPostRequest> =
465
+ /*@__PURE__*/
466
+ messageDesc(file_api_manage_v1_post, 9);
467
+
468
+ /**
469
+ * @generated from message api.manage.v1.ArchivePostRequest
470
+ */
471
+ export type ArchivePostRequest = Message<"api.manage.v1.ArchivePostRequest"> & {
472
+ /**
473
+ * @generated from field: string id = 1;
474
+ */
475
+ id: string;
476
+ };
477
+
478
+ /**
479
+ * Describes the message api.manage.v1.ArchivePostRequest.
480
+ * Use `create(ArchivePostRequestSchema)` to create a new message.
481
+ */
482
+ export const ArchivePostRequestSchema: GenMessage<ArchivePostRequest> =
483
+ /*@__PURE__*/
484
+ messageDesc(file_api_manage_v1_post, 10);
485
+
486
+ /**
487
+ * @generated from message api.manage.v1.SchedulePostRequest
488
+ */
489
+ export type SchedulePostRequest =
490
+ Message<"api.manage.v1.SchedulePostRequest"> & {
491
+ /**
492
+ * @generated from field: string id = 1;
493
+ */
494
+ id: string;
495
+
496
+ /**
497
+ * @generated from field: google.protobuf.Timestamp scheduled_at = 2;
498
+ */
499
+ scheduledAt?: Timestamp | undefined;
500
+
501
+ /**
502
+ * @generated from field: string scheduled_time_zone = 3;
503
+ */
504
+ scheduledTimeZone: string;
505
+ };
506
+
507
+ /**
508
+ * Describes the message api.manage.v1.SchedulePostRequest.
509
+ * Use `create(SchedulePostRequestSchema)` to create a new message.
510
+ */
511
+ export const SchedulePostRequestSchema: GenMessage<SchedulePostRequest> =
512
+ /*@__PURE__*/
513
+ messageDesc(file_api_manage_v1_post, 11);
514
+
515
+ /**
516
+ * @generated from message api.manage.v1.CancelPostScheduleRequest
517
+ */
518
+ export type CancelPostScheduleRequest =
519
+ Message<"api.manage.v1.CancelPostScheduleRequest"> & {
520
+ /**
521
+ * @generated from field: string id = 1;
522
+ */
523
+ id: string;
524
+ };
525
+
526
+ /**
527
+ * Describes the message api.manage.v1.CancelPostScheduleRequest.
528
+ * Use `create(CancelPostScheduleRequestSchema)` to create a new message.
529
+ */
530
+ export const CancelPostScheduleRequestSchema: GenMessage<CancelPostScheduleRequest> =
531
+ /*@__PURE__*/
532
+ messageDesc(file_api_manage_v1_post, 12);
533
+
534
+ /**
535
+ * @generated from message api.manage.v1.RepublishPostRequest
536
+ */
537
+ export type RepublishPostRequest =
538
+ Message<"api.manage.v1.RepublishPostRequest"> & {
539
+ /**
540
+ * @generated from field: string id = 1;
541
+ */
542
+ id: string;
543
+ };
544
+
545
+ /**
546
+ * Describes the message api.manage.v1.RepublishPostRequest.
547
+ * Use `create(RepublishPostRequestSchema)` to create a new message.
548
+ */
549
+ export const RepublishPostRequestSchema: GenMessage<RepublishPostRequest> =
550
+ /*@__PURE__*/
551
+ messageDesc(file_api_manage_v1_post, 13);
552
+
553
+ /**
554
+ * @generated from message api.manage.v1.UpdatePostResponse
555
+ */
556
+ export type UpdatePostResponse = Message<"api.manage.v1.UpdatePostResponse"> & {
557
+ /**
558
+ * @generated from field: string id = 1;
559
+ */
560
+ id: string;
561
+
562
+ /**
563
+ * @generated from field: bool changed = 2;
564
+ */
565
+ changed: boolean;
566
+
567
+ /**
568
+ * @generated from field: optional string slug = 3;
569
+ */
570
+ slug?: string | undefined;
571
+
572
+ /**
573
+ * @generated from field: bool comments_enabled = 4;
574
+ */
575
+ commentsEnabled: boolean;
576
+
577
+ /**
578
+ * @generated from field: optional string map_place_id = 5;
579
+ */
580
+ mapPlaceId?: string | undefined;
581
+
582
+ /**
583
+ * @generated from field: api.common.v1.DocumentLayout document_layout = 6;
584
+ */
585
+ documentLayout?: DocumentLayout | undefined;
586
+
587
+ /**
588
+ * @generated from field: google.protobuf.Timestamp updated_at = 7;
589
+ */
590
+ updatedAt?: Timestamp | undefined;
591
+ };
592
+
593
+ /**
594
+ * Describes the message api.manage.v1.UpdatePostResponse.
595
+ * Use `create(UpdatePostResponseSchema)` to create a new message.
596
+ */
597
+ export const UpdatePostResponseSchema: GenMessage<UpdatePostResponse> =
598
+ /*@__PURE__*/
599
+ messageDesc(file_api_manage_v1_post, 14);
600
+
601
+ /**
602
+ * @generated from message api.manage.v1.PostLifecycleMutationResponse
603
+ */
604
+ export type PostLifecycleMutationResponse =
605
+ Message<"api.manage.v1.PostLifecycleMutationResponse"> & {
606
+ /**
607
+ * @generated from field: string id = 1;
608
+ */
609
+ id: string;
610
+
611
+ /**
612
+ * @generated from field: bool changed = 2;
613
+ */
614
+ changed: boolean;
615
+
616
+ /**
617
+ * @generated from field: api.manage.v1.PostStatus status = 3;
618
+ */
619
+ status: PostStatus;
620
+
621
+ /**
622
+ * @generated from field: optional google.protobuf.Timestamp published_at = 4;
623
+ */
624
+ publishedAt?: Timestamp | undefined;
625
+
626
+ /**
627
+ * @generated from field: optional google.protobuf.Timestamp scheduled_at = 5;
628
+ */
629
+ scheduledAt?: Timestamp | undefined;
630
+
631
+ /**
632
+ * @generated from field: optional string scheduled_time_zone = 6;
633
+ */
634
+ scheduledTimeZone?: string | undefined;
635
+
636
+ /**
637
+ * @generated from field: google.protobuf.Timestamp updated_at = 7;
638
+ */
639
+ updatedAt?: Timestamp | undefined;
640
+
641
+ /**
642
+ * @generated from field: repeated api.manage.v1.PostAction allowed_actions = 8;
643
+ */
644
+ allowedActions: PostAction[];
645
+ };
646
+
647
+ /**
648
+ * Describes the message api.manage.v1.PostLifecycleMutationResponse.
649
+ * Use `create(PostLifecycleMutationResponseSchema)` to create a new message.
650
+ */
651
+ export const PostLifecycleMutationResponseSchema: GenMessage<PostLifecycleMutationResponse> =
652
+ /*@__PURE__*/
653
+ messageDesc(file_api_manage_v1_post, 15);
654
+
655
+ /**
656
+ * @generated from message api.manage.v1.SetPostFeaturedImageRequest
657
+ */
658
+ export type SetPostFeaturedImageRequest =
659
+ Message<"api.manage.v1.SetPostFeaturedImageRequest"> & {
660
+ /**
661
+ * @generated from field: string post_id = 1;
662
+ */
663
+ postId: string;
664
+
665
+ /**
666
+ * @generated from field: string file_id = 2;
667
+ */
668
+ fileId: string;
669
+ };
670
+
671
+ /**
672
+ * Describes the message api.manage.v1.SetPostFeaturedImageRequest.
673
+ * Use `create(SetPostFeaturedImageRequestSchema)` to create a new message.
674
+ */
675
+ export const SetPostFeaturedImageRequestSchema: GenMessage<SetPostFeaturedImageRequest> =
676
+ /*@__PURE__*/
677
+ messageDesc(file_api_manage_v1_post, 16);
678
+
679
+ /**
680
+ * @generated from message api.manage.v1.SetPostFeaturedImageResponse
681
+ */
682
+ export type SetPostFeaturedImageResponse =
683
+ Message<"api.manage.v1.SetPostFeaturedImageResponse"> & {
684
+ /**
685
+ * @generated from field: optional string og_generation_run_id = 1;
686
+ */
687
+ ogGenerationRunId?: string | undefined;
688
+
689
+ /**
690
+ * @generated from field: api.common.v1.MediaDelivery image_delivery = 2;
691
+ */
692
+ imageDelivery?: MediaDelivery | undefined;
693
+ };
694
+
695
+ /**
696
+ * Describes the message api.manage.v1.SetPostFeaturedImageResponse.
697
+ * Use `create(SetPostFeaturedImageResponseSchema)` to create a new message.
698
+ */
699
+ export const SetPostFeaturedImageResponseSchema: GenMessage<SetPostFeaturedImageResponse> =
700
+ /*@__PURE__*/
701
+ messageDesc(file_api_manage_v1_post, 17);
702
+
703
+ /**
704
+ * @generated from message api.manage.v1.DeletePostFeaturedImageRequest
705
+ */
706
+ export type DeletePostFeaturedImageRequest =
707
+ Message<"api.manage.v1.DeletePostFeaturedImageRequest"> & {
708
+ /**
709
+ * @generated from field: string post_id = 1;
710
+ */
711
+ postId: string;
712
+ };
713
+
714
+ /**
715
+ * Describes the message api.manage.v1.DeletePostFeaturedImageRequest.
716
+ * Use `create(DeletePostFeaturedImageRequestSchema)` to create a new message.
717
+ */
718
+ export const DeletePostFeaturedImageRequestSchema: GenMessage<DeletePostFeaturedImageRequest> =
719
+ /*@__PURE__*/
720
+ messageDesc(file_api_manage_v1_post, 18);
721
+
722
+ /**
723
+ * Author and Collaborator are mutually exclusive peer roles for one Member and
724
+ * Post. has_effective_authority is false for a preserved Author whose Identity
725
+ * is absent or no longer eligible.
726
+ *
727
+ * @generated from message api.manage.v1.PostParticipant
728
+ */
729
+ export type PostParticipant = Message<"api.manage.v1.PostParticipant"> & {
730
+ /**
731
+ * @generated from field: api.common.v1.MemberSummary member = 1;
732
+ */
733
+ member?: MemberSummary | undefined;
734
+
735
+ /**
736
+ * @generated from field: api.manage.v1.PostParticipantRole role = 2;
737
+ */
738
+ role: PostParticipantRole;
739
+
740
+ /**
741
+ * @generated from field: google.protobuf.Timestamp created_at = 3;
742
+ */
743
+ createdAt?: Timestamp | undefined;
744
+
745
+ /**
746
+ * @generated from field: bool has_effective_authority = 4;
747
+ */
748
+ hasEffectiveAuthority: boolean;
749
+ };
750
+
751
+ /**
752
+ * Describes the message api.manage.v1.PostParticipant.
753
+ * Use `create(PostParticipantSchema)` to create a new message.
754
+ */
755
+ export const PostParticipantSchema: GenMessage<PostParticipant> =
756
+ /*@__PURE__*/
757
+ messageDesc(file_api_manage_v1_post, 19);
758
+
759
+ /**
760
+ * @generated from message api.manage.v1.ListPostParticipantsRequest
761
+ */
762
+ export type ListPostParticipantsRequest =
763
+ Message<"api.manage.v1.ListPostParticipantsRequest"> & {
764
+ /**
765
+ * @generated from field: string post_id = 1;
766
+ */
767
+ postId: string;
768
+ };
769
+
770
+ /**
771
+ * Describes the message api.manage.v1.ListPostParticipantsRequest.
772
+ * Use `create(ListPostParticipantsRequestSchema)` to create a new message.
773
+ */
774
+ export const ListPostParticipantsRequestSchema: GenMessage<ListPostParticipantsRequest> =
775
+ /*@__PURE__*/
776
+ messageDesc(file_api_manage_v1_post, 20);
777
+
778
+ /**
779
+ * @generated from message api.manage.v1.ListPostParticipantsResponse
780
+ */
781
+ export type ListPostParticipantsResponse =
782
+ Message<"api.manage.v1.ListPostParticipantsResponse"> & {
783
+ /**
784
+ * @generated from field: repeated api.manage.v1.PostParticipant participants = 1;
785
+ */
786
+ participants: PostParticipant[];
787
+ };
788
+
789
+ /**
790
+ * Describes the message api.manage.v1.ListPostParticipantsResponse.
791
+ * Use `create(ListPostParticipantsResponseSchema)` to create a new message.
792
+ */
793
+ export const ListPostParticipantsResponseSchema: GenMessage<ListPostParticipantsResponse> =
794
+ /*@__PURE__*/
795
+ messageDesc(file_api_manage_v1_post, 21);
796
+
797
+ /**
798
+ * @generated from message api.manage.v1.AddPostAuthorRequest
799
+ */
800
+ export type AddPostAuthorRequest =
801
+ Message<"api.manage.v1.AddPostAuthorRequest"> & {
802
+ /**
803
+ * @generated from field: string post_id = 1;
804
+ */
805
+ postId: string;
806
+
807
+ /**
808
+ * @generated from field: string member_id = 2;
809
+ */
810
+ memberId: string;
811
+ };
812
+
813
+ /**
814
+ * Describes the message api.manage.v1.AddPostAuthorRequest.
815
+ * Use `create(AddPostAuthorRequestSchema)` to create a new message.
816
+ */
817
+ export const AddPostAuthorRequestSchema: GenMessage<AddPostAuthorRequest> =
818
+ /*@__PURE__*/
819
+ messageDesc(file_api_manage_v1_post, 22);
820
+
821
+ /**
822
+ * @generated from message api.manage.v1.RemovePostAuthorRequest
823
+ */
824
+ export type RemovePostAuthorRequest =
825
+ Message<"api.manage.v1.RemovePostAuthorRequest"> & {
826
+ /**
827
+ * @generated from field: string post_id = 1;
828
+ */
829
+ postId: string;
830
+
831
+ /**
832
+ * @generated from field: string member_id = 2;
833
+ */
834
+ memberId: string;
835
+ };
836
+
837
+ /**
838
+ * Describes the message api.manage.v1.RemovePostAuthorRequest.
839
+ * Use `create(RemovePostAuthorRequestSchema)` to create a new message.
840
+ */
841
+ export const RemovePostAuthorRequestSchema: GenMessage<RemovePostAuthorRequest> =
842
+ /*@__PURE__*/
843
+ messageDesc(file_api_manage_v1_post, 23);
844
+
845
+ /**
846
+ * @generated from message api.manage.v1.AddPostCollaboratorRequest
847
+ */
848
+ export type AddPostCollaboratorRequest =
849
+ Message<"api.manage.v1.AddPostCollaboratorRequest"> & {
850
+ /**
851
+ * @generated from field: string post_id = 1;
852
+ */
853
+ postId: string;
854
+
855
+ /**
856
+ * @generated from field: string member_id = 2;
857
+ */
858
+ memberId: string;
859
+ };
860
+
861
+ /**
862
+ * Describes the message api.manage.v1.AddPostCollaboratorRequest.
863
+ * Use `create(AddPostCollaboratorRequestSchema)` to create a new message.
864
+ */
865
+ export const AddPostCollaboratorRequestSchema: GenMessage<AddPostCollaboratorRequest> =
866
+ /*@__PURE__*/
867
+ messageDesc(file_api_manage_v1_post, 24);
868
+
869
+ /**
870
+ * @generated from message api.manage.v1.RemovePostCollaboratorRequest
871
+ */
872
+ export type RemovePostCollaboratorRequest =
873
+ Message<"api.manage.v1.RemovePostCollaboratorRequest"> & {
874
+ /**
875
+ * @generated from field: string post_id = 1;
876
+ */
877
+ postId: string;
878
+
879
+ /**
880
+ * @generated from field: string member_id = 2;
881
+ */
882
+ memberId: string;
883
+ };
884
+
885
+ /**
886
+ * Describes the message api.manage.v1.RemovePostCollaboratorRequest.
887
+ * Use `create(RemovePostCollaboratorRequestSchema)` to create a new message.
888
+ */
889
+ export const RemovePostCollaboratorRequestSchema: GenMessage<RemovePostCollaboratorRequest> =
890
+ /*@__PURE__*/
891
+ messageDesc(file_api_manage_v1_post, 25);
892
+
893
+ /**
894
+ * @generated from message api.manage.v1.CheckSlugAvailableRequest
895
+ */
896
+ export type CheckSlugAvailableRequest =
897
+ Message<"api.manage.v1.CheckSlugAvailableRequest"> & {
898
+ /**
899
+ * @generated from field: string slug = 1;
900
+ */
901
+ slug: string;
902
+
903
+ /**
904
+ * @generated from field: optional string exclude_post_id = 2;
905
+ */
906
+ excludePostId?: string | undefined;
907
+ };
908
+
909
+ /**
910
+ * Describes the message api.manage.v1.CheckSlugAvailableRequest.
911
+ * Use `create(CheckSlugAvailableRequestSchema)` to create a new message.
912
+ */
913
+ export const CheckSlugAvailableRequestSchema: GenMessage<CheckSlugAvailableRequest> =
914
+ /*@__PURE__*/
915
+ messageDesc(file_api_manage_v1_post, 26);
916
+
917
+ /**
918
+ * @generated from message api.manage.v1.CheckSlugAvailableResponse
919
+ */
920
+ export type CheckSlugAvailableResponse =
921
+ Message<"api.manage.v1.CheckSlugAvailableResponse"> & {
922
+ /**
923
+ * @generated from field: bool available = 1;
924
+ */
925
+ available: boolean;
926
+ };
927
+
928
+ /**
929
+ * Describes the message api.manage.v1.CheckSlugAvailableResponse.
930
+ * Use `create(CheckSlugAvailableResponseSchema)` to create a new message.
931
+ */
932
+ export const CheckSlugAvailableResponseSchema: GenMessage<CheckSlugAvailableResponse> =
933
+ /*@__PURE__*/
934
+ messageDesc(file_api_manage_v1_post, 27);
935
+
936
+ /**
937
+ * @generated from message api.manage.v1.ListMyPostsRequest
938
+ */
939
+ export type ListMyPostsRequest = Message<"api.manage.v1.ListMyPostsRequest"> & {
940
+ /**
941
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
942
+ */
943
+ pagination?: PaginationRequest | undefined;
944
+
945
+ /**
946
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
947
+ */
948
+ filters: FilterSpec[];
949
+
950
+ /**
951
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
952
+ */
953
+ sorts: SortSpec[];
954
+ };
955
+
956
+ /**
957
+ * Describes the message api.manage.v1.ListMyPostsRequest.
958
+ * Use `create(ListMyPostsRequestSchema)` to create a new message.
959
+ */
960
+ export const ListMyPostsRequestSchema: GenMessage<ListMyPostsRequest> =
961
+ /*@__PURE__*/
962
+ messageDesc(file_api_manage_v1_post, 28);
963
+
964
+ /**
965
+ * @generated from message api.manage.v1.ListMyPostsResponse
966
+ */
967
+ export type ListMyPostsResponse =
968
+ Message<"api.manage.v1.ListMyPostsResponse"> & {
969
+ /**
970
+ * @generated from field: repeated api.manage.v1.Post posts = 1;
971
+ */
972
+ posts: Post[];
973
+
974
+ /**
975
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
976
+ */
977
+ pagination?: PaginationResponse | undefined;
978
+ };
979
+
980
+ /**
981
+ * Describes the message api.manage.v1.ListMyPostsResponse.
982
+ * Use `create(ListMyPostsResponseSchema)` to create a new message.
983
+ */
984
+ export const ListMyPostsResponseSchema: GenMessage<ListMyPostsResponse> =
985
+ /*@__PURE__*/
986
+ messageDesc(file_api_manage_v1_post, 29);
987
+
988
+ /**
989
+ * Version history
990
+ *
991
+ * @generated from message api.manage.v1.PostVersion
992
+ */
993
+ export type PostVersion = Message<"api.manage.v1.PostVersion"> & {
994
+ /**
995
+ * @generated from field: string id = 1;
996
+ */
997
+ id: string;
998
+
999
+ /**
1000
+ * @generated from field: int32 version = 2;
1001
+ */
1002
+ version: number;
1003
+
1004
+ /**
1005
+ * @generated from field: string title = 3;
1006
+ */
1007
+ title: string;
1008
+
1009
+ /**
1010
+ * @generated from field: optional string summary = 4;
1011
+ */
1012
+ summary?: string | undefined;
1013
+
1014
+ /**
1015
+ * @generated from field: string canonical_hash = 5;
1016
+ */
1017
+ canonicalHash: string;
1018
+
1019
+ /**
1020
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
1021
+ */
1022
+ createdAt?: Timestamp | undefined;
1023
+
1024
+ /**
1025
+ * @generated from field: repeated api.manage.v1.VersionContributor contributors = 7;
1026
+ */
1027
+ contributors: VersionContributor[];
1028
+
1029
+ /**
1030
+ * @generated from field: string source_locale = 8;
1031
+ */
1032
+ sourceLocale: string;
1033
+ };
1034
+
1035
+ /**
1036
+ * Describes the message api.manage.v1.PostVersion.
1037
+ * Use `create(PostVersionSchema)` to create a new message.
1038
+ */
1039
+ export const PostVersionSchema: GenMessage<PostVersion> =
1040
+ /*@__PURE__*/
1041
+ messageDesc(file_api_manage_v1_post, 30);
1042
+
1043
+ /**
1044
+ * @generated from message api.manage.v1.ListPostVersionsRequest
1045
+ */
1046
+ export type ListPostVersionsRequest =
1047
+ Message<"api.manage.v1.ListPostVersionsRequest"> & {
1048
+ /**
1049
+ * @generated from field: string post_id = 1;
1050
+ */
1051
+ postId: string;
1052
+
1053
+ /**
1054
+ * @generated from field: api.common.v1.PaginationRequest pagination = 2;
1055
+ */
1056
+ pagination?: PaginationRequest | undefined;
1057
+ };
1058
+
1059
+ /**
1060
+ * Describes the message api.manage.v1.ListPostVersionsRequest.
1061
+ * Use `create(ListPostVersionsRequestSchema)` to create a new message.
1062
+ */
1063
+ export const ListPostVersionsRequestSchema: GenMessage<ListPostVersionsRequest> =
1064
+ /*@__PURE__*/
1065
+ messageDesc(file_api_manage_v1_post, 31);
1066
+
1067
+ /**
1068
+ * @generated from message api.manage.v1.ListPostVersionsResponse
1069
+ */
1070
+ export type ListPostVersionsResponse =
1071
+ Message<"api.manage.v1.ListPostVersionsResponse"> & {
1072
+ /**
1073
+ * @generated from field: repeated api.manage.v1.PostVersion versions = 1;
1074
+ */
1075
+ versions: PostVersion[];
1076
+
1077
+ /**
1078
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
1079
+ */
1080
+ pagination?: PaginationResponse | undefined;
1081
+ };
1082
+
1083
+ /**
1084
+ * Describes the message api.manage.v1.ListPostVersionsResponse.
1085
+ * Use `create(ListPostVersionsResponseSchema)` to create a new message.
1086
+ */
1087
+ export const ListPostVersionsResponseSchema: GenMessage<ListPostVersionsResponse> =
1088
+ /*@__PURE__*/
1089
+ messageDesc(file_api_manage_v1_post, 32);
1090
+
1091
+ /**
1092
+ * @generated from message api.manage.v1.RestorePostVersionRequest
1093
+ */
1094
+ export type RestorePostVersionRequest =
1095
+ Message<"api.manage.v1.RestorePostVersionRequest"> & {
1096
+ /**
1097
+ * @generated from field: string version_id = 1;
1098
+ */
1099
+ versionId: string;
1100
+
1101
+ /**
1102
+ * @generated from field: string post_id = 2;
1103
+ */
1104
+ postId: string;
1105
+ };
1106
+
1107
+ /**
1108
+ * Describes the message api.manage.v1.RestorePostVersionRequest.
1109
+ * Use `create(RestorePostVersionRequestSchema)` to create a new message.
1110
+ */
1111
+ export const RestorePostVersionRequestSchema: GenMessage<RestorePostVersionRequest> =
1112
+ /*@__PURE__*/
1113
+ messageDesc(file_api_manage_v1_post, 33);
1114
+
1115
+ /**
1116
+ * Post status enum
1117
+ *
1118
+ * @generated from enum api.manage.v1.PostStatus
1119
+ */
1120
+ export enum PostStatus {
1121
+ /**
1122
+ * @generated from enum value: POST_STATUS_UNSPECIFIED = 0;
1123
+ */
1124
+ UNSPECIFIED = 0,
1125
+
1126
+ /**
1127
+ * @generated from enum value: POST_STATUS_DRAFT = 1;
1128
+ */
1129
+ DRAFT = 1,
1130
+
1131
+ /**
1132
+ * @generated from enum value: POST_STATUS_PUBLISHED = 2;
1133
+ */
1134
+ PUBLISHED = 2,
1135
+
1136
+ /**
1137
+ * @generated from enum value: POST_STATUS_ARCHIVED = 3;
1138
+ */
1139
+ ARCHIVED = 3,
1140
+
1141
+ /**
1142
+ * @generated from enum value: POST_STATUS_SCHEDULED = 4;
1143
+ */
1144
+ SCHEDULED = 4,
1145
+ }
1146
+
1147
+ /**
1148
+ * Describes the enum api.manage.v1.PostStatus.
1149
+ */
1150
+ export const PostStatusSchema: GenEnum<PostStatus> =
1151
+ /*@__PURE__*/
1152
+ enumDesc(file_api_manage_v1_post, 0);
1153
+
1154
+ /**
1155
+ * @generated from enum api.manage.v1.PostParticipantRole
1156
+ */
1157
+ export enum PostParticipantRole {
1158
+ /**
1159
+ * @generated from enum value: POST_PARTICIPANT_ROLE_UNSPECIFIED = 0;
1160
+ */
1161
+ UNSPECIFIED = 0,
1162
+
1163
+ /**
1164
+ * @generated from enum value: POST_PARTICIPANT_ROLE_AUTHOR = 1;
1165
+ */
1166
+ AUTHOR = 1,
1167
+
1168
+ /**
1169
+ * @generated from enum value: POST_PARTICIPANT_ROLE_COLLABORATOR = 2;
1170
+ */
1171
+ COLLABORATOR = 2,
1172
+ }
1173
+
1174
+ /**
1175
+ * Describes the enum api.manage.v1.PostParticipantRole.
1176
+ */
1177
+ export const PostParticipantRoleSchema: GenEnum<PostParticipantRole> =
1178
+ /*@__PURE__*/
1179
+ enumDesc(file_api_manage_v1_post, 1);
1180
+
1181
+ /**
1182
+ * Effective actions are computed by the API for the current authenticated
1183
+ * actor. Web must not reconstruct them from the actor's site role.
1184
+ *
1185
+ * @generated from enum api.manage.v1.PostAction
1186
+ */
1187
+ export enum PostAction {
1188
+ /**
1189
+ * @generated from enum value: POST_ACTION_UNSPECIFIED = 0;
1190
+ */
1191
+ UNSPECIFIED = 0,
1192
+
1193
+ /**
1194
+ * @generated from enum value: POST_ACTION_EDIT = 1;
1195
+ */
1196
+ EDIT = 1,
1197
+
1198
+ /**
1199
+ * @generated from enum value: POST_ACTION_PUBLISH_NOW = 2;
1200
+ */
1201
+ PUBLISH_NOW = 2,
1202
+
1203
+ /**
1204
+ * @generated from enum value: POST_ACTION_SCHEDULE = 3;
1205
+ */
1206
+ SCHEDULE = 3,
1207
+
1208
+ /**
1209
+ * @generated from enum value: POST_ACTION_CANCEL_SCHEDULE = 4;
1210
+ */
1211
+ CANCEL_SCHEDULE = 4,
1212
+
1213
+ /**
1214
+ * @generated from enum value: POST_ACTION_UNPUBLISH = 5;
1215
+ */
1216
+ UNPUBLISH = 5,
1217
+
1218
+ /**
1219
+ * @generated from enum value: POST_ACTION_ARCHIVE = 6;
1220
+ */
1221
+ ARCHIVE = 6,
1222
+
1223
+ /**
1224
+ * @generated from enum value: POST_ACTION_REPUBLISH = 7;
1225
+ */
1226
+ REPUBLISH = 7,
1227
+
1228
+ /**
1229
+ * @generated from enum value: POST_ACTION_DELETE = 8;
1230
+ */
1231
+ DELETE = 8,
1232
+
1233
+ /**
1234
+ * @generated from enum value: POST_ACTION_ADD_AUTHOR = 9;
1235
+ */
1236
+ ADD_AUTHOR = 9,
1237
+
1238
+ /**
1239
+ * @generated from enum value: POST_ACTION_REMOVE_AUTHOR = 10;
1240
+ */
1241
+ REMOVE_AUTHOR = 10,
1242
+
1243
+ /**
1244
+ * @generated from enum value: POST_ACTION_MANAGE_COLLABORATORS = 11;
1245
+ */
1246
+ MANAGE_COLLABORATORS = 11,
1247
+
1248
+ /**
1249
+ * @generated from enum value: POST_ACTION_VIEW_VERSIONS = 12;
1250
+ */
1251
+ VIEW_VERSIONS = 12,
1252
+
1253
+ /**
1254
+ * @generated from enum value: POST_ACTION_RESTORE_VERSION = 13;
1255
+ */
1256
+ RESTORE_VERSION = 13,
1257
+
1258
+ /**
1259
+ * @generated from enum value: POST_ACTION_MANAGE_SHARE_LINKS = 14;
1260
+ */
1261
+ MANAGE_SHARE_LINKS = 14,
1262
+
1263
+ /**
1264
+ * @generated from enum value: POST_ACTION_MODERATE_COMMENTS = 15;
1265
+ */
1266
+ MODERATE_COMMENTS = 15,
1267
+ }
1268
+
1269
+ /**
1270
+ * Describes the enum api.manage.v1.PostAction.
1271
+ */
1272
+ export const PostActionSchema: GenEnum<PostAction> =
1273
+ /*@__PURE__*/
1274
+ enumDesc(file_api_manage_v1_post, 2);
1275
+
1276
+ /**
1277
+ * Post Service
1278
+ *
1279
+ * @generated from service api.manage.v1.PostService
1280
+ */
1281
+ export const PostService: GenService<{
1282
+ /**
1283
+ * Authenticated manage read; the API requires exact current view or
1284
+ * view_archived authorization. Public and ShareLink reads use open.v1.
1285
+ *
1286
+ * @generated from rpc api.manage.v1.PostService.GetPost
1287
+ */
1288
+ getPost: {
1289
+ methodKind: "unary";
1290
+ input: typeof GetPostRequestSchema;
1291
+ output: typeof PostSchema;
1292
+ };
1293
+ /**
1294
+ * Authenticated (author or admin)
1295
+ *
1296
+ * @generated from rpc api.manage.v1.PostService.CreatePost
1297
+ */
1298
+ createPost: {
1299
+ methodKind: "unary";
1300
+ input: typeof CreatePostRequestSchema;
1301
+ output: typeof PostSchema;
1302
+ };
1303
+ /**
1304
+ * @generated from rpc api.manage.v1.PostService.UpdatePost
1305
+ */
1306
+ updatePost: {
1307
+ methodKind: "unary";
1308
+ input: typeof UpdatePostRequestSchema;
1309
+ output: typeof UpdatePostResponseSchema;
1310
+ };
1311
+ /**
1312
+ * @generated from rpc api.manage.v1.PostService.DeletePost
1313
+ */
1314
+ deletePost: {
1315
+ methodKind: "unary";
1316
+ input: typeof DeletePostRequestSchema;
1317
+ output: typeof DeleteResponseSchema;
1318
+ };
1319
+ /**
1320
+ * Publishing workflow
1321
+ *
1322
+ * @generated from rpc api.manage.v1.PostService.PublishPost
1323
+ */
1324
+ publishPost: {
1325
+ methodKind: "unary";
1326
+ input: typeof PublishPostRequestSchema;
1327
+ output: typeof PostLifecycleMutationResponseSchema;
1328
+ };
1329
+ /**
1330
+ * @generated from rpc api.manage.v1.PostService.UnpublishPost
1331
+ */
1332
+ unpublishPost: {
1333
+ methodKind: "unary";
1334
+ input: typeof UnpublishPostRequestSchema;
1335
+ output: typeof PostLifecycleMutationResponseSchema;
1336
+ };
1337
+ /**
1338
+ * @generated from rpc api.manage.v1.PostService.ArchivePost
1339
+ */
1340
+ archivePost: {
1341
+ methodKind: "unary";
1342
+ input: typeof ArchivePostRequestSchema;
1343
+ output: typeof PostLifecycleMutationResponseSchema;
1344
+ };
1345
+ /**
1346
+ * @generated from rpc api.manage.v1.PostService.SchedulePost
1347
+ */
1348
+ schedulePost: {
1349
+ methodKind: "unary";
1350
+ input: typeof SchedulePostRequestSchema;
1351
+ output: typeof PostLifecycleMutationResponseSchema;
1352
+ };
1353
+ /**
1354
+ * @generated from rpc api.manage.v1.PostService.CancelPostSchedule
1355
+ */
1356
+ cancelPostSchedule: {
1357
+ methodKind: "unary";
1358
+ input: typeof CancelPostScheduleRequestSchema;
1359
+ output: typeof PostLifecycleMutationResponseSchema;
1360
+ };
1361
+ /**
1362
+ * @generated from rpc api.manage.v1.PostService.RepublishPost
1363
+ */
1364
+ republishPost: {
1365
+ methodKind: "unary";
1366
+ input: typeof RepublishPostRequestSchema;
1367
+ output: typeof PostLifecycleMutationResponseSchema;
1368
+ };
1369
+ /**
1370
+ * Admin
1371
+ *
1372
+ * @generated from rpc api.manage.v1.PostService.ListPostsAdmin
1373
+ */
1374
+ listPostsAdmin: {
1375
+ methodKind: "unary";
1376
+ input: typeof ListPostsAdminRequestSchema;
1377
+ output: typeof ListPostsAdminResponseSchema;
1378
+ };
1379
+ /**
1380
+ * Featured image management
1381
+ *
1382
+ * @generated from rpc api.manage.v1.PostService.SetPostFeaturedImage
1383
+ */
1384
+ setPostFeaturedImage: {
1385
+ methodKind: "unary";
1386
+ input: typeof SetPostFeaturedImageRequestSchema;
1387
+ output: typeof SetPostFeaturedImageResponseSchema;
1388
+ };
1389
+ /**
1390
+ * @generated from rpc api.manage.v1.PostService.DeletePostFeaturedImage
1391
+ */
1392
+ deletePostFeaturedImage: {
1393
+ methodKind: "unary";
1394
+ input: typeof DeletePostFeaturedImageRequestSchema;
1395
+ output: typeof OgAssetDeleteResponseSchema;
1396
+ };
1397
+ /**
1398
+ * Author and collaborator management. API enforces the exact per-Post action.
1399
+ *
1400
+ * @generated from rpc api.manage.v1.PostService.ListPostParticipants
1401
+ */
1402
+ listPostParticipants: {
1403
+ methodKind: "unary";
1404
+ input: typeof ListPostParticipantsRequestSchema;
1405
+ output: typeof ListPostParticipantsResponseSchema;
1406
+ };
1407
+ /**
1408
+ * @generated from rpc api.manage.v1.PostService.AddPostAuthor
1409
+ */
1410
+ addPostAuthor: {
1411
+ methodKind: "unary";
1412
+ input: typeof AddPostAuthorRequestSchema;
1413
+ output: typeof PostParticipantSchema;
1414
+ };
1415
+ /**
1416
+ * @generated from rpc api.manage.v1.PostService.RemovePostAuthor
1417
+ */
1418
+ removePostAuthor: {
1419
+ methodKind: "unary";
1420
+ input: typeof RemovePostAuthorRequestSchema;
1421
+ output: typeof DeleteResponseSchema;
1422
+ };
1423
+ /**
1424
+ * @generated from rpc api.manage.v1.PostService.AddPostCollaborator
1425
+ */
1426
+ addPostCollaborator: {
1427
+ methodKind: "unary";
1428
+ input: typeof AddPostCollaboratorRequestSchema;
1429
+ output: typeof PostParticipantSchema;
1430
+ };
1431
+ /**
1432
+ * @generated from rpc api.manage.v1.PostService.RemovePostCollaborator
1433
+ */
1434
+ removePostCollaborator: {
1435
+ methodKind: "unary";
1436
+ input: typeof RemovePostCollaboratorRequestSchema;
1437
+ output: typeof DeleteResponseSchema;
1438
+ };
1439
+ /**
1440
+ * Version history
1441
+ *
1442
+ * @generated from rpc api.manage.v1.PostService.ListPostVersions
1443
+ */
1444
+ listPostVersions: {
1445
+ methodKind: "unary";
1446
+ input: typeof ListPostVersionsRequestSchema;
1447
+ output: typeof ListPostVersionsResponseSchema;
1448
+ };
1449
+ /**
1450
+ * @generated from rpc api.manage.v1.PostService.RestorePostVersion
1451
+ */
1452
+ restorePostVersion: {
1453
+ methodKind: "unary";
1454
+ input: typeof RestorePostVersionRequestSchema;
1455
+ output: typeof PostSchema;
1456
+ };
1457
+ /**
1458
+ * Utility
1459
+ *
1460
+ * @generated from rpc api.manage.v1.PostService.CheckSlugAvailable
1461
+ */
1462
+ checkSlugAvailable: {
1463
+ methodKind: "unary";
1464
+ input: typeof CheckSlugAvailableRequestSchema;
1465
+ output: typeof CheckSlugAvailableResponseSchema;
1466
+ };
1467
+ /**
1468
+ * @generated from rpc api.manage.v1.PostService.ListMyPosts
1469
+ */
1470
+ listMyPosts: {
1471
+ methodKind: "unary";
1472
+ input: typeof ListMyPostsRequestSchema;
1473
+ output: typeof ListMyPostsResponseSchema;
1474
+ };
1475
+ }> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_post, 0);