@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,1662 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/manage/v1/work.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
+ FilterSpec,
17
+ MemberSummary,
18
+ PaginationRequest,
19
+ PaginationResponse,
20
+ SortSpec,
21
+ } from "../../common/v1/common_pb.ts";
22
+ import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
23
+ import type { AssetRef } from "../../common/v1/media_pb.ts";
24
+ import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
25
+ import type {
26
+ ContentBlockMediaItem,
27
+ RichTextDocument,
28
+ } from "../../content/v1/block_content_pb.ts";
29
+ import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
30
+ import type {
31
+ DeleteResponseSchema,
32
+ OgAssetDeleteResponseSchema,
33
+ VersionContributor,
34
+ } from "./common_pb.ts";
35
+ import { file_api_manage_v1_common } from "./common_pb.ts";
36
+ import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
37
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
38
+ import {
39
+ file_google_protobuf_struct,
40
+ file_google_protobuf_timestamp,
41
+ } from "@bufbuild/protobuf/wkt";
42
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
43
+
44
+ /**
45
+ * Describes the file api/manage/v1/work.proto.
46
+ */
47
+ export const file_api_manage_v1_work: GenFile =
48
+ /*@__PURE__*/
49
+ fileDesc(
50
+ "ChhhcGkvbWFuYWdlL3YxL3dvcmsucHJvdG8SDWFwaS5tYW5hZ2UudjEinAcKBFdvcmsSCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSEQoEc2x1ZxgDIAEoCUgAiAEBEiUKBHR5cGUYBCABKA4yFy5hcGkubWFuYWdlLnYxLldvcmtUeXBlEhQKB3N1bW1hcnkYBSABKAlIAYgBARIpCghtZXRhZGF0YRgGIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSEAoIZmVhdHVyZWQYByABKAgSKQoGc3RhdHVzGAggASgOMhkuYXBpLm1hbmFnZS52MS5Xb3JrU3RhdHVzEjIKCGRvY3VtZW50GAkgASgLMiAuYXBpLmNvbnRlbnQudjEuUmljaFRleHREb2N1bWVudBIuCgpjcmVhdGVkX2F0GAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAsgASgLMhouZ29vZ2xlLnByb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DcmVkaXRlZFdvcmtzUmVxdWVzdBoqLmFwaS5tYW5hZ2UudjEuTGlzdE15Q3JlZGl0ZWRXb3Jrc1Jlc3BvbnNlIgbK8xgCCAISawoQTGlzdFdvcmtWZXJzaW9ucxImLmFwaS5tYW5hZ2UudjEuTGlzdFdvcmtWZXJzaW9uc1JlcXVlc3QaJy5hcGkubWFuYWdlLnYxLkxpc3RXb3JrVmVyc2lvbnNSZXNwb25zZSIGyvMYAggEElsKElJlc3RvcmVXb3JrVmVyc2lvbhIoLmFwaS5tYW5hZ2UudjEuUmVzdG9yZVdvcmtWZXJzaW9uUmVxdWVzdBoTLmFwaS5tYW5hZ2UudjEuV29yayIGyvMYAggEEn0KFkNoZWNrV29ya1NsdWdBdmFpbGFibGUSLC5hcGkubWFuYWdlLnYxLkNoZWNrV29ya1NsdWdBdmFpbGFibGVSZXF1ZXN0Gi0uYXBpLm1hbmFnZS52MS5DaGVja1dvcmtTbHVnQXZhaWxhYmxlUmVzcG9uc2UiBsrzGAIIBEKzAQoRY29tLmFwaS5tYW5hZ2UudjFCCVdvcmtQcm90b1ABWj1naXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvbWFuYWdlL3YxO21hbmFnZXYxogIDQU1YqgINQXBpLk1hbmFnZS5WMcoCDUFwaVxNYW5hZ2VcVjHiAhlBcGlcTWFuYWdlXFYxXEdQQk1ldGFkYXRh6gIPQXBpOjpNYW5hZ2U6OlYxYgZwcm90bzM",
51
+ [
52
+ file_api_common_v1_common,
53
+ file_api_common_v1_media,
54
+ file_api_content_v1_block_content,
55
+ file_api_manage_v1_common,
56
+ file_api_policy_v1_access,
57
+ file_google_protobuf_struct,
58
+ file_google_protobuf_timestamp,
59
+ ],
60
+ );
61
+
62
+ /**
63
+ * Work entity
64
+ *
65
+ * @generated from message api.manage.v1.Work
66
+ */
67
+ export type Work = Message<"api.manage.v1.Work"> & {
68
+ /**
69
+ * @generated from field: string id = 1;
70
+ */
71
+ id: string;
72
+
73
+ /**
74
+ * @generated from field: string title = 2;
75
+ */
76
+ title: string;
77
+
78
+ /**
79
+ * @generated from field: optional string slug = 3;
80
+ */
81
+ slug?: string | undefined;
82
+
83
+ /**
84
+ * @generated from field: api.manage.v1.WorkType type = 4;
85
+ */
86
+ type: WorkType;
87
+
88
+ /**
89
+ * @generated from field: optional string summary = 5;
90
+ */
91
+ summary?: string | undefined;
92
+
93
+ /**
94
+ * @generated from field: google.protobuf.Struct metadata = 6;
95
+ */
96
+ metadata?: JsonObject | undefined;
97
+
98
+ /**
99
+ * @generated from field: bool featured = 7;
100
+ */
101
+ featured: boolean;
102
+
103
+ /**
104
+ * @generated from field: api.manage.v1.WorkStatus status = 8;
105
+ */
106
+ status: WorkStatus;
107
+
108
+ /**
109
+ * @generated from field: api.content.v1.RichTextDocument document = 9;
110
+ */
111
+ document?: RichTextDocument | undefined;
112
+
113
+ /**
114
+ * @generated from field: google.protobuf.Timestamp created_at = 10;
115
+ */
116
+ createdAt?: Timestamp | undefined;
117
+
118
+ /**
119
+ * @generated from field: google.protobuf.Timestamp updated_at = 11;
120
+ */
121
+ updatedAt?: Timestamp | undefined;
122
+
123
+ /**
124
+ * @generated from field: optional google.protobuf.Timestamp published_at = 12;
125
+ */
126
+ publishedAt?: Timestamp | undefined;
127
+
128
+ /**
129
+ * @generated from field: string revision = 13;
130
+ */
131
+ revision: string;
132
+
133
+ /**
134
+ * OG image key (S3 path with timestamp, e.g., og/work/{id}/{timestamp}.webp)
135
+ *
136
+ * @generated from field: optional api.common.v1.AssetRef og_asset = 14;
137
+ */
138
+ ogAsset?: AssetRef | undefined;
139
+
140
+ /**
141
+ * Clients associated with this work (for edit UI)
142
+ *
143
+ * @generated from field: repeated api.manage.v1.WorkClient clients = 15;
144
+ */
145
+ clients: WorkClient[];
146
+
147
+ /**
148
+ * @generated from field: int32 year = 16;
149
+ */
150
+ year: number;
151
+
152
+ /**
153
+ * @generated from field: int32 month = 17;
154
+ */
155
+ month: number;
156
+
157
+ /**
158
+ * @generated from field: optional string map_place_id = 18;
159
+ */
160
+ mapPlaceId?: string | undefined;
161
+
162
+ /**
163
+ * @generated from field: optional int32 until_year = 19;
164
+ */
165
+ untilYear?: number | undefined;
166
+
167
+ /**
168
+ * @generated from field: optional int32 until_month = 20;
169
+ */
170
+ untilMonth?: number | undefined;
171
+
172
+ /**
173
+ * @generated from field: bool is_present = 21;
174
+ */
175
+ isPresent: boolean;
176
+
177
+ /**
178
+ * @generated from field: optional api.common.v1.AssetRef featured_image_asset = 22;
179
+ */
180
+ featuredImageAsset?: AssetRef | undefined;
181
+
182
+ /**
183
+ * @generated from field: repeated api.content.v1.ContentBlockMediaItem block_media = 23;
184
+ */
185
+ blockMedia: ContentBlockMediaItem[];
186
+
187
+ /**
188
+ * @generated from field: string source_locale = 24;
189
+ */
190
+ sourceLocale: string;
191
+ };
192
+
193
+ /**
194
+ * Describes the message api.manage.v1.Work.
195
+ * Use `create(WorkSchema)` to create a new message.
196
+ */
197
+ export const WorkSchema: GenMessage<Work> =
198
+ /*@__PURE__*/
199
+ messageDesc(file_api_manage_v1_work, 0);
200
+
201
+ /**
202
+ * Client associated with a work
203
+ *
204
+ * @generated from message api.manage.v1.WorkClient
205
+ */
206
+ export type WorkClient = Message<"api.manage.v1.WorkClient"> & {
207
+ /**
208
+ * @generated from field: string id = 1;
209
+ */
210
+ id: string;
211
+
212
+ /**
213
+ * @generated from field: string name = 2;
214
+ */
215
+ name: string;
216
+
217
+ /**
218
+ * @generated from field: optional string website = 3;
219
+ */
220
+ website?: string | undefined;
221
+
222
+ /**
223
+ * @generated from field: optional api.common.v1.AssetRef logo_light_asset = 4;
224
+ */
225
+ logoLightAsset?: AssetRef | undefined;
226
+
227
+ /**
228
+ * @generated from field: optional api.common.v1.AssetRef logo_dark_asset = 5;
229
+ */
230
+ logoDarkAsset?: AssetRef | undefined;
231
+ };
232
+
233
+ /**
234
+ * Describes the message api.manage.v1.WorkClient.
235
+ * Use `create(WorkClientSchema)` to create a new message.
236
+ */
237
+ export const WorkClientSchema: GenMessage<WorkClient> =
238
+ /*@__PURE__*/
239
+ messageDesc(file_api_manage_v1_work, 1);
240
+
241
+ /**
242
+ * Credit for a work
243
+ *
244
+ * @generated from message api.manage.v1.WorkCredit
245
+ */
246
+ export type WorkCredit = Message<"api.manage.v1.WorkCredit"> & {
247
+ /**
248
+ * @generated from field: string id = 1;
249
+ */
250
+ id: string;
251
+
252
+ /**
253
+ * @generated from field: optional string group_id = 2;
254
+ */
255
+ groupId?: string | undefined;
256
+
257
+ /**
258
+ * @generated from field: optional string name = 3;
259
+ */
260
+ name?: string | undefined;
261
+
262
+ /**
263
+ * @generated from field: optional string credit_role = 4;
264
+ */
265
+ creditRole?: string | undefined;
266
+
267
+ /**
268
+ * @generated from field: optional api.manage.v1.CreditArtist artist = 5;
269
+ */
270
+ artist?: CreditArtist | undefined;
271
+
272
+ /**
273
+ * @generated from field: optional api.common.v1.MemberSummary member = 6;
274
+ */
275
+ member?: MemberSummary | undefined;
276
+ };
277
+
278
+ /**
279
+ * Describes the message api.manage.v1.WorkCredit.
280
+ * Use `create(WorkCreditSchema)` to create a new message.
281
+ */
282
+ export const WorkCreditSchema: GenMessage<WorkCredit> =
283
+ /*@__PURE__*/
284
+ messageDesc(file_api_manage_v1_work, 2);
285
+
286
+ /**
287
+ * @generated from message api.manage.v1.CreditArtist
288
+ */
289
+ export type CreditArtist = Message<"api.manage.v1.CreditArtist"> & {
290
+ /**
291
+ * @generated from field: string id = 1;
292
+ */
293
+ id: string;
294
+
295
+ /**
296
+ * @generated from field: string name = 2;
297
+ */
298
+ name: string;
299
+
300
+ /**
301
+ * @generated from field: optional string slug = 3;
302
+ */
303
+ slug?: string | undefined;
304
+
305
+ /**
306
+ * @generated from field: optional api.common.v1.AssetRef image_asset = 4;
307
+ */
308
+ imageAsset?: AssetRef | undefined;
309
+ };
310
+
311
+ /**
312
+ * Describes the message api.manage.v1.CreditArtist.
313
+ * Use `create(CreditArtistSchema)` to create a new message.
314
+ */
315
+ export const CreditArtistSchema: GenMessage<CreditArtist> =
316
+ /*@__PURE__*/
317
+ messageDesc(file_api_manage_v1_work, 3);
318
+
319
+ /**
320
+ * Credit group
321
+ *
322
+ * @generated from message api.manage.v1.WorkCreditGroup
323
+ */
324
+ export type WorkCreditGroup = Message<"api.manage.v1.WorkCreditGroup"> & {
325
+ /**
326
+ * @generated from field: string id = 1;
327
+ */
328
+ id: string;
329
+
330
+ /**
331
+ * @generated from field: string work_id = 2;
332
+ */
333
+ workId: string;
334
+
335
+ /**
336
+ * @generated from field: string name = 3;
337
+ */
338
+ name: string;
339
+ };
340
+
341
+ /**
342
+ * Describes the message api.manage.v1.WorkCreditGroup.
343
+ * Use `create(WorkCreditGroupSchema)` to create a new message.
344
+ */
345
+ export const WorkCreditGroupSchema: GenMessage<WorkCreditGroup> =
346
+ /*@__PURE__*/
347
+ messageDesc(file_api_manage_v1_work, 4);
348
+
349
+ /**
350
+ * @generated from message api.manage.v1.GetWorkRequest
351
+ */
352
+ export type GetWorkRequest = Message<"api.manage.v1.GetWorkRequest"> & {
353
+ /**
354
+ * @generated from field: string id = 1;
355
+ */
356
+ id: string;
357
+ };
358
+
359
+ /**
360
+ * Describes the message api.manage.v1.GetWorkRequest.
361
+ * Use `create(GetWorkRequestSchema)` to create a new message.
362
+ */
363
+ export const GetWorkRequestSchema: GenMessage<GetWorkRequest> =
364
+ /*@__PURE__*/
365
+ messageDesc(file_api_manage_v1_work, 5);
366
+
367
+ /**
368
+ * @generated from message api.manage.v1.CreateWorkRequest
369
+ */
370
+ export type CreateWorkRequest = Message<"api.manage.v1.CreateWorkRequest"> & {
371
+ /**
372
+ * @generated from field: string title = 1;
373
+ */
374
+ title: string;
375
+
376
+ /**
377
+ * @generated from field: optional string slug = 2;
378
+ */
379
+ slug?: string | undefined;
380
+
381
+ /**
382
+ * @generated from field: api.manage.v1.WorkType type = 3;
383
+ */
384
+ type: WorkType;
385
+
386
+ /**
387
+ * @generated from field: optional string summary = 4;
388
+ */
389
+ summary?: string | undefined;
390
+
391
+ /**
392
+ * @generated from field: google.protobuf.Struct metadata = 5;
393
+ */
394
+ metadata?: JsonObject | undefined;
395
+
396
+ /**
397
+ * @generated from field: optional bool featured = 6;
398
+ */
399
+ featured?: boolean | undefined;
400
+
401
+ /**
402
+ * @generated from field: int32 year = 7;
403
+ */
404
+ year: number;
405
+
406
+ /**
407
+ * @generated from field: int32 month = 8;
408
+ */
409
+ month: number;
410
+
411
+ /**
412
+ * @generated from field: optional int32 until_year = 9;
413
+ */
414
+ untilYear?: number | undefined;
415
+
416
+ /**
417
+ * @generated from field: optional int32 until_month = 10;
418
+ */
419
+ untilMonth?: number | undefined;
420
+
421
+ /**
422
+ * @generated from field: optional bool is_present = 11;
423
+ */
424
+ isPresent?: boolean | undefined;
425
+
426
+ /**
427
+ * Optional initial source document. When omitted, the Work service creates an empty Work document atomically.
428
+ *
429
+ * @generated from field: api.content.v1.RichTextDocument document = 12;
430
+ */
431
+ document?: RichTextDocument | undefined;
432
+
433
+ /**
434
+ * Required initial source locale for the new Work.
435
+ *
436
+ * @generated from field: string source_locale = 13;
437
+ */
438
+ sourceLocale: string;
439
+ };
440
+
441
+ /**
442
+ * Describes the message api.manage.v1.CreateWorkRequest.
443
+ * Use `create(CreateWorkRequestSchema)` to create a new message.
444
+ */
445
+ export const CreateWorkRequestSchema: GenMessage<CreateWorkRequest> =
446
+ /*@__PURE__*/
447
+ messageDesc(file_api_manage_v1_work, 6);
448
+
449
+ /**
450
+ * @generated from message api.manage.v1.UpdateWorkRequest
451
+ */
452
+ export type UpdateWorkRequest = Message<"api.manage.v1.UpdateWorkRequest"> & {
453
+ /**
454
+ * @generated from field: string id = 1;
455
+ */
456
+ id: string;
457
+
458
+ /**
459
+ * @generated from field: optional string slug = 2;
460
+ */
461
+ slug?: string | undefined;
462
+
463
+ /**
464
+ * @generated from field: optional api.manage.v1.WorkType type = 3;
465
+ */
466
+ type?: WorkType | undefined;
467
+
468
+ /**
469
+ * @generated from field: google.protobuf.Struct metadata = 4;
470
+ */
471
+ metadata?: JsonObject | undefined;
472
+
473
+ /**
474
+ * @generated from field: optional bool featured = 5;
475
+ */
476
+ featured?: boolean | undefined;
477
+
478
+ /**
479
+ * Clients management - ordered list of client IDs
480
+ * If present (even empty), replaces all clients; if absent, no change
481
+ *
482
+ * @generated from field: optional api.manage.v1.WorkClientsUpdate clients = 6;
483
+ */
484
+ clients?: WorkClientsUpdate | undefined;
485
+
486
+ /**
487
+ * @generated from field: optional int32 year = 7;
488
+ */
489
+ year?: number | undefined;
490
+
491
+ /**
492
+ * @generated from field: optional int32 month = 8;
493
+ */
494
+ month?: number | undefined;
495
+
496
+ /**
497
+ * @generated from field: optional string map_place_id = 9;
498
+ */
499
+ mapPlaceId?: string | undefined;
500
+
501
+ /**
502
+ * @generated from field: optional int32 until_year = 10;
503
+ */
504
+ untilYear?: number | undefined;
505
+
506
+ /**
507
+ * @generated from field: optional int32 until_month = 11;
508
+ */
509
+ untilMonth?: number | undefined;
510
+
511
+ /**
512
+ * @generated from field: optional bool is_present = 12;
513
+ */
514
+ isPresent?: boolean | undefined;
515
+ };
516
+
517
+ /**
518
+ * Describes the message api.manage.v1.UpdateWorkRequest.
519
+ * Use `create(UpdateWorkRequestSchema)` to create a new message.
520
+ */
521
+ export const UpdateWorkRequestSchema: GenMessage<UpdateWorkRequest> =
522
+ /*@__PURE__*/
523
+ messageDesc(file_api_manage_v1_work, 7);
524
+
525
+ /**
526
+ * Wrapper for clients update to distinguish "not provided" from "empty list"
527
+ *
528
+ * @generated from message api.manage.v1.WorkClientsUpdate
529
+ */
530
+ export type WorkClientsUpdate = Message<"api.manage.v1.WorkClientsUpdate"> & {
531
+ /**
532
+ * Ordered list of client IDs
533
+ *
534
+ * @generated from field: repeated string client_ids = 1;
535
+ */
536
+ clientIds: string[];
537
+ };
538
+
539
+ /**
540
+ * Describes the message api.manage.v1.WorkClientsUpdate.
541
+ * Use `create(WorkClientsUpdateSchema)` to create a new message.
542
+ */
543
+ export const WorkClientsUpdateSchema: GenMessage<WorkClientsUpdate> =
544
+ /*@__PURE__*/
545
+ messageDesc(file_api_manage_v1_work, 8);
546
+
547
+ /**
548
+ * @generated from message api.manage.v1.DeleteWorkRequest
549
+ */
550
+ export type DeleteWorkRequest = Message<"api.manage.v1.DeleteWorkRequest"> & {
551
+ /**
552
+ * @generated from field: string id = 1;
553
+ */
554
+ id: string;
555
+ };
556
+
557
+ /**
558
+ * Describes the message api.manage.v1.DeleteWorkRequest.
559
+ * Use `create(DeleteWorkRequestSchema)` to create a new message.
560
+ */
561
+ export const DeleteWorkRequestSchema: GenMessage<DeleteWorkRequest> =
562
+ /*@__PURE__*/
563
+ messageDesc(file_api_manage_v1_work, 9);
564
+
565
+ /**
566
+ * @generated from message api.manage.v1.PublishWorkRequest
567
+ */
568
+ export type PublishWorkRequest = Message<"api.manage.v1.PublishWorkRequest"> & {
569
+ /**
570
+ * @generated from field: string id = 1;
571
+ */
572
+ id: string;
573
+ };
574
+
575
+ /**
576
+ * Describes the message api.manage.v1.PublishWorkRequest.
577
+ * Use `create(PublishWorkRequestSchema)` to create a new message.
578
+ */
579
+ export const PublishWorkRequestSchema: GenMessage<PublishWorkRequest> =
580
+ /*@__PURE__*/
581
+ messageDesc(file_api_manage_v1_work, 10);
582
+
583
+ /**
584
+ * @generated from message api.manage.v1.UnpublishWorkRequest
585
+ */
586
+ export type UnpublishWorkRequest =
587
+ Message<"api.manage.v1.UnpublishWorkRequest"> & {
588
+ /**
589
+ * @generated from field: string id = 1;
590
+ */
591
+ id: string;
592
+ };
593
+
594
+ /**
595
+ * Describes the message api.manage.v1.UnpublishWorkRequest.
596
+ * Use `create(UnpublishWorkRequestSchema)` to create a new message.
597
+ */
598
+ export const UnpublishWorkRequestSchema: GenMessage<UnpublishWorkRequest> =
599
+ /*@__PURE__*/
600
+ messageDesc(file_api_manage_v1_work, 11);
601
+
602
+ /**
603
+ * @generated from message api.manage.v1.UpdateWorkResponse
604
+ */
605
+ export type UpdateWorkResponse = Message<"api.manage.v1.UpdateWorkResponse"> & {
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: optional string slug = 3;
618
+ */
619
+ slug?: string | undefined;
620
+
621
+ /**
622
+ * @generated from field: api.manage.v1.WorkType type = 4;
623
+ */
624
+ type: WorkType;
625
+
626
+ /**
627
+ * @generated from field: google.protobuf.Struct metadata = 5;
628
+ */
629
+ metadata?: JsonObject | undefined;
630
+
631
+ /**
632
+ * @generated from field: bool featured = 6;
633
+ */
634
+ featured: boolean;
635
+
636
+ /**
637
+ * @generated from field: repeated api.manage.v1.WorkClient clients = 7;
638
+ */
639
+ clients: WorkClient[];
640
+
641
+ /**
642
+ * @generated from field: int32 year = 8;
643
+ */
644
+ year: number;
645
+
646
+ /**
647
+ * @generated from field: int32 month = 9;
648
+ */
649
+ month: number;
650
+
651
+ /**
652
+ * @generated from field: optional int32 until_year = 10;
653
+ */
654
+ untilYear?: number | undefined;
655
+
656
+ /**
657
+ * @generated from field: optional int32 until_month = 11;
658
+ */
659
+ untilMonth?: number | undefined;
660
+
661
+ /**
662
+ * @generated from field: bool is_present = 12;
663
+ */
664
+ isPresent: boolean;
665
+
666
+ /**
667
+ * @generated from field: optional string map_place_id = 13;
668
+ */
669
+ mapPlaceId?: string | undefined;
670
+
671
+ /**
672
+ * @generated from field: google.protobuf.Timestamp updated_at = 14;
673
+ */
674
+ updatedAt?: Timestamp | undefined;
675
+ };
676
+
677
+ /**
678
+ * Describes the message api.manage.v1.UpdateWorkResponse.
679
+ * Use `create(UpdateWorkResponseSchema)` to create a new message.
680
+ */
681
+ export const UpdateWorkResponseSchema: GenMessage<UpdateWorkResponse> =
682
+ /*@__PURE__*/
683
+ messageDesc(file_api_manage_v1_work, 12);
684
+
685
+ /**
686
+ * @generated from message api.manage.v1.WorkLifecycleMutationResponse
687
+ */
688
+ export type WorkLifecycleMutationResponse =
689
+ Message<"api.manage.v1.WorkLifecycleMutationResponse"> & {
690
+ /**
691
+ * @generated from field: string id = 1;
692
+ */
693
+ id: string;
694
+
695
+ /**
696
+ * @generated from field: bool changed = 2;
697
+ */
698
+ changed: boolean;
699
+
700
+ /**
701
+ * @generated from field: api.manage.v1.WorkStatus status = 3;
702
+ */
703
+ status: WorkStatus;
704
+
705
+ /**
706
+ * @generated from field: optional google.protobuf.Timestamp published_at = 4;
707
+ */
708
+ publishedAt?: Timestamp | undefined;
709
+
710
+ /**
711
+ * @generated from field: google.protobuf.Timestamp updated_at = 5;
712
+ */
713
+ updatedAt?: Timestamp | undefined;
714
+ };
715
+
716
+ /**
717
+ * Describes the message api.manage.v1.WorkLifecycleMutationResponse.
718
+ * Use `create(WorkLifecycleMutationResponseSchema)` to create a new message.
719
+ */
720
+ export const WorkLifecycleMutationResponseSchema: GenMessage<WorkLifecycleMutationResponse> =
721
+ /*@__PURE__*/
722
+ messageDesc(file_api_manage_v1_work, 13);
723
+
724
+ /**
725
+ * Featured image
726
+ *
727
+ * @generated from message api.manage.v1.SetWorkFeaturedImageRequest
728
+ */
729
+ export type SetWorkFeaturedImageRequest =
730
+ Message<"api.manage.v1.SetWorkFeaturedImageRequest"> & {
731
+ /**
732
+ * @generated from field: string work_id = 1;
733
+ */
734
+ workId: string;
735
+
736
+ /**
737
+ * @generated from field: string file_id = 2;
738
+ */
739
+ fileId: string;
740
+ };
741
+
742
+ /**
743
+ * Describes the message api.manage.v1.SetWorkFeaturedImageRequest.
744
+ * Use `create(SetWorkFeaturedImageRequestSchema)` to create a new message.
745
+ */
746
+ export const SetWorkFeaturedImageRequestSchema: GenMessage<SetWorkFeaturedImageRequest> =
747
+ /*@__PURE__*/
748
+ messageDesc(file_api_manage_v1_work, 14);
749
+
750
+ /**
751
+ * @generated from message api.manage.v1.SetWorkFeaturedImageResponse
752
+ */
753
+ export type SetWorkFeaturedImageResponse =
754
+ Message<"api.manage.v1.SetWorkFeaturedImageResponse"> & {
755
+ /**
756
+ * @generated from field: api.common.v1.AssetRef image_asset = 1;
757
+ */
758
+ imageAsset?: AssetRef | undefined;
759
+
760
+ /**
761
+ * @generated from field: optional string og_generation_run_id = 2;
762
+ */
763
+ ogGenerationRunId?: string | undefined;
764
+ };
765
+
766
+ /**
767
+ * Describes the message api.manage.v1.SetWorkFeaturedImageResponse.
768
+ * Use `create(SetWorkFeaturedImageResponseSchema)` to create a new message.
769
+ */
770
+ export const SetWorkFeaturedImageResponseSchema: GenMessage<SetWorkFeaturedImageResponse> =
771
+ /*@__PURE__*/
772
+ messageDesc(file_api_manage_v1_work, 15);
773
+
774
+ /**
775
+ * @generated from message api.manage.v1.DeleteWorkFeaturedImageRequest
776
+ */
777
+ export type DeleteWorkFeaturedImageRequest =
778
+ Message<"api.manage.v1.DeleteWorkFeaturedImageRequest"> & {
779
+ /**
780
+ * @generated from field: string work_id = 1;
781
+ */
782
+ workId: string;
783
+ };
784
+
785
+ /**
786
+ * Describes the message api.manage.v1.DeleteWorkFeaturedImageRequest.
787
+ * Use `create(DeleteWorkFeaturedImageRequestSchema)` to create a new message.
788
+ */
789
+ export const DeleteWorkFeaturedImageRequestSchema: GenMessage<DeleteWorkFeaturedImageRequest> =
790
+ /*@__PURE__*/
791
+ messageDesc(file_api_manage_v1_work, 16);
792
+
793
+ /**
794
+ * Credits management
795
+ *
796
+ * @generated from message api.manage.v1.GetWorkCreditsRequest
797
+ */
798
+ export type GetWorkCreditsRequest =
799
+ Message<"api.manage.v1.GetWorkCreditsRequest"> & {
800
+ /**
801
+ * @generated from field: string work_id = 1;
802
+ */
803
+ workId: string;
804
+ };
805
+
806
+ /**
807
+ * Describes the message api.manage.v1.GetWorkCreditsRequest.
808
+ * Use `create(GetWorkCreditsRequestSchema)` to create a new message.
809
+ */
810
+ export const GetWorkCreditsRequestSchema: GenMessage<GetWorkCreditsRequest> =
811
+ /*@__PURE__*/
812
+ messageDesc(file_api_manage_v1_work, 17);
813
+
814
+ /**
815
+ * @generated from message api.manage.v1.GetWorkCreditsResponse
816
+ */
817
+ export type GetWorkCreditsResponse =
818
+ Message<"api.manage.v1.GetWorkCreditsResponse"> & {
819
+ /**
820
+ * @generated from field: repeated api.manage.v1.WorkCreditGroup groups = 1;
821
+ */
822
+ groups: WorkCreditGroup[];
823
+
824
+ /**
825
+ * @generated from field: repeated api.manage.v1.WorkCredit credits = 2;
826
+ */
827
+ credits: WorkCredit[];
828
+ };
829
+
830
+ /**
831
+ * Describes the message api.manage.v1.GetWorkCreditsResponse.
832
+ * Use `create(GetWorkCreditsResponseSchema)` to create a new message.
833
+ */
834
+ export const GetWorkCreditsResponseSchema: GenMessage<GetWorkCreditsResponse> =
835
+ /*@__PURE__*/
836
+ messageDesc(file_api_manage_v1_work, 18);
837
+
838
+ /**
839
+ * @generated from message api.manage.v1.AddWorkCreditRequest
840
+ */
841
+ export type AddWorkCreditRequest =
842
+ Message<"api.manage.v1.AddWorkCreditRequest"> & {
843
+ /**
844
+ * @generated from field: string work_id = 1;
845
+ */
846
+ workId: string;
847
+
848
+ /**
849
+ * @generated from field: optional string group_id = 2;
850
+ */
851
+ groupId?: string | undefined;
852
+
853
+ /**
854
+ * @generated from field: optional string artist_id = 3;
855
+ */
856
+ artistId?: string | undefined;
857
+
858
+ /**
859
+ * @generated from field: optional string member_id = 4;
860
+ */
861
+ memberId?: string | undefined;
862
+
863
+ /**
864
+ * @generated from field: optional string name = 5;
865
+ */
866
+ name?: string | undefined;
867
+
868
+ /**
869
+ * @generated from field: optional string credit_role = 6;
870
+ */
871
+ creditRole?: string | undefined;
872
+ };
873
+
874
+ /**
875
+ * Describes the message api.manage.v1.AddWorkCreditRequest.
876
+ * Use `create(AddWorkCreditRequestSchema)` to create a new message.
877
+ */
878
+ export const AddWorkCreditRequestSchema: GenMessage<AddWorkCreditRequest> =
879
+ /*@__PURE__*/
880
+ messageDesc(file_api_manage_v1_work, 19);
881
+
882
+ /**
883
+ * @generated from message api.manage.v1.UpdateWorkCreditRequest
884
+ */
885
+ export type UpdateWorkCreditRequest =
886
+ Message<"api.manage.v1.UpdateWorkCreditRequest"> & {
887
+ /**
888
+ * @generated from field: string credit_id = 1;
889
+ */
890
+ creditId: string;
891
+
892
+ /**
893
+ * @generated from field: optional string group_id = 2;
894
+ */
895
+ groupId?: string | undefined;
896
+
897
+ /**
898
+ * @generated from field: optional string credit_role = 3;
899
+ */
900
+ creditRole?: string | undefined;
901
+ };
902
+
903
+ /**
904
+ * Describes the message api.manage.v1.UpdateWorkCreditRequest.
905
+ * Use `create(UpdateWorkCreditRequestSchema)` to create a new message.
906
+ */
907
+ export const UpdateWorkCreditRequestSchema: GenMessage<UpdateWorkCreditRequest> =
908
+ /*@__PURE__*/
909
+ messageDesc(file_api_manage_v1_work, 20);
910
+
911
+ /**
912
+ * @generated from message api.manage.v1.DeleteWorkCreditRequest
913
+ */
914
+ export type DeleteWorkCreditRequest =
915
+ Message<"api.manage.v1.DeleteWorkCreditRequest"> & {
916
+ /**
917
+ * @generated from field: string credit_id = 1;
918
+ */
919
+ creditId: string;
920
+ };
921
+
922
+ /**
923
+ * Describes the message api.manage.v1.DeleteWorkCreditRequest.
924
+ * Use `create(DeleteWorkCreditRequestSchema)` to create a new message.
925
+ */
926
+ export const DeleteWorkCreditRequestSchema: GenMessage<DeleteWorkCreditRequest> =
927
+ /*@__PURE__*/
928
+ messageDesc(file_api_manage_v1_work, 21);
929
+
930
+ /**
931
+ * @generated from message api.manage.v1.CreateWorkCreditGroupRequest
932
+ */
933
+ export type CreateWorkCreditGroupRequest =
934
+ Message<"api.manage.v1.CreateWorkCreditGroupRequest"> & {
935
+ /**
936
+ * @generated from field: string work_id = 1;
937
+ */
938
+ workId: string;
939
+
940
+ /**
941
+ * @generated from field: string name = 2;
942
+ */
943
+ name: string;
944
+ };
945
+
946
+ /**
947
+ * Describes the message api.manage.v1.CreateWorkCreditGroupRequest.
948
+ * Use `create(CreateWorkCreditGroupRequestSchema)` to create a new message.
949
+ */
950
+ export const CreateWorkCreditGroupRequestSchema: GenMessage<CreateWorkCreditGroupRequest> =
951
+ /*@__PURE__*/
952
+ messageDesc(file_api_manage_v1_work, 22);
953
+
954
+ /**
955
+ * @generated from message api.manage.v1.UpdateWorkCreditGroupRequest
956
+ */
957
+ export type UpdateWorkCreditGroupRequest =
958
+ Message<"api.manage.v1.UpdateWorkCreditGroupRequest"> & {
959
+ /**
960
+ * @generated from field: string group_id = 1;
961
+ */
962
+ groupId: string;
963
+
964
+ /**
965
+ * @generated from field: optional string name = 2;
966
+ */
967
+ name?: string | undefined;
968
+ };
969
+
970
+ /**
971
+ * Describes the message api.manage.v1.UpdateWorkCreditGroupRequest.
972
+ * Use `create(UpdateWorkCreditGroupRequestSchema)` to create a new message.
973
+ */
974
+ export const UpdateWorkCreditGroupRequestSchema: GenMessage<UpdateWorkCreditGroupRequest> =
975
+ /*@__PURE__*/
976
+ messageDesc(file_api_manage_v1_work, 23);
977
+
978
+ /**
979
+ * @generated from message api.manage.v1.DeleteWorkCreditGroupRequest
980
+ */
981
+ export type DeleteWorkCreditGroupRequest =
982
+ Message<"api.manage.v1.DeleteWorkCreditGroupRequest"> & {
983
+ /**
984
+ * @generated from field: string group_id = 1;
985
+ */
986
+ groupId: string;
987
+ };
988
+
989
+ /**
990
+ * Describes the message api.manage.v1.DeleteWorkCreditGroupRequest.
991
+ * Use `create(DeleteWorkCreditGroupRequestSchema)` to create a new message.
992
+ */
993
+ export const DeleteWorkCreditGroupRequestSchema: GenMessage<DeleteWorkCreditGroupRequest> =
994
+ /*@__PURE__*/
995
+ messageDesc(file_api_manage_v1_work, 24);
996
+
997
+ /**
998
+ * Admin list with stats
999
+ *
1000
+ * @generated from message api.manage.v1.ListWorksAdminRequest
1001
+ */
1002
+ export type ListWorksAdminRequest =
1003
+ Message<"api.manage.v1.ListWorksAdminRequest"> & {
1004
+ /**
1005
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
1006
+ */
1007
+ pagination?: PaginationRequest | undefined;
1008
+
1009
+ /**
1010
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
1011
+ */
1012
+ filters: FilterSpec[];
1013
+
1014
+ /**
1015
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
1016
+ */
1017
+ sorts: SortSpec[];
1018
+ };
1019
+
1020
+ /**
1021
+ * Describes the message api.manage.v1.ListWorksAdminRequest.
1022
+ * Use `create(ListWorksAdminRequestSchema)` to create a new message.
1023
+ */
1024
+ export const ListWorksAdminRequestSchema: GenMessage<ListWorksAdminRequest> =
1025
+ /*@__PURE__*/
1026
+ messageDesc(file_api_manage_v1_work, 25);
1027
+
1028
+ /**
1029
+ * @generated from message api.manage.v1.WorkWithStats
1030
+ */
1031
+ export type WorkWithStats = Message<"api.manage.v1.WorkWithStats"> & {
1032
+ /**
1033
+ * @generated from field: api.manage.v1.Work work = 1;
1034
+ */
1035
+ work?: Work | undefined;
1036
+
1037
+ /**
1038
+ * @generated from field: int32 credit_count = 2;
1039
+ */
1040
+ creditCount: number;
1041
+
1042
+ /**
1043
+ * @generated from field: int32 client_count = 3;
1044
+ */
1045
+ clientCount: number;
1046
+ };
1047
+
1048
+ /**
1049
+ * Describes the message api.manage.v1.WorkWithStats.
1050
+ * Use `create(WorkWithStatsSchema)` to create a new message.
1051
+ */
1052
+ export const WorkWithStatsSchema: GenMessage<WorkWithStats> =
1053
+ /*@__PURE__*/
1054
+ messageDesc(file_api_manage_v1_work, 26);
1055
+
1056
+ /**
1057
+ * @generated from message api.manage.v1.ListWorksAdminResponse
1058
+ */
1059
+ export type ListWorksAdminResponse =
1060
+ Message<"api.manage.v1.ListWorksAdminResponse"> & {
1061
+ /**
1062
+ * @generated from field: repeated api.manage.v1.WorkWithStats works = 1;
1063
+ */
1064
+ works: WorkWithStats[];
1065
+
1066
+ /**
1067
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
1068
+ */
1069
+ pagination?: PaginationResponse | undefined;
1070
+ };
1071
+
1072
+ /**
1073
+ * Describes the message api.manage.v1.ListWorksAdminResponse.
1074
+ * Use `create(ListWorksAdminResponseSchema)` to create a new message.
1075
+ */
1076
+ export const ListWorksAdminResponseSchema: GenMessage<ListWorksAdminResponse> =
1077
+ /*@__PURE__*/
1078
+ messageDesc(file_api_manage_v1_work, 27);
1079
+
1080
+ /**
1081
+ * @generated from message api.manage.v1.MyCreditedWork
1082
+ */
1083
+ export type MyCreditedWork = Message<"api.manage.v1.MyCreditedWork"> & {
1084
+ /**
1085
+ * @generated from field: string work_id = 1;
1086
+ */
1087
+ workId: string;
1088
+
1089
+ /**
1090
+ * @generated from field: string title = 2;
1091
+ */
1092
+ title: string;
1093
+
1094
+ /**
1095
+ * @generated from field: optional string slug = 3;
1096
+ */
1097
+ slug?: string | undefined;
1098
+
1099
+ /**
1100
+ * @generated from field: api.manage.v1.WorkType type = 4;
1101
+ */
1102
+ type: WorkType;
1103
+
1104
+ /**
1105
+ * @generated from field: api.manage.v1.WorkStatus status = 5;
1106
+ */
1107
+ status: WorkStatus;
1108
+
1109
+ /**
1110
+ * @generated from field: string credit_id = 6;
1111
+ */
1112
+ creditId: string;
1113
+
1114
+ /**
1115
+ * @generated from field: optional string credit_role = 7;
1116
+ */
1117
+ creditRole?: string | undefined;
1118
+
1119
+ /**
1120
+ * @generated from field: api.manage.v1.MyCreditedWorkCreditType credit_type = 8;
1121
+ */
1122
+ creditType: MyCreditedWorkCreditType;
1123
+
1124
+ /**
1125
+ * @generated from field: string credited_as = 9;
1126
+ */
1127
+ creditedAs: string;
1128
+
1129
+ /**
1130
+ * @generated from field: google.protobuf.Timestamp created_at = 10;
1131
+ */
1132
+ createdAt?: Timestamp | undefined;
1133
+
1134
+ /**
1135
+ * @generated from field: optional api.common.v1.AssetRef credited_as_image_asset = 11;
1136
+ */
1137
+ creditedAsImageAsset?: AssetRef | undefined;
1138
+
1139
+ /**
1140
+ * @generated from field: string source_locale = 12;
1141
+ */
1142
+ sourceLocale: string;
1143
+ };
1144
+
1145
+ /**
1146
+ * Describes the message api.manage.v1.MyCreditedWork.
1147
+ * Use `create(MyCreditedWorkSchema)` to create a new message.
1148
+ */
1149
+ export const MyCreditedWorkSchema: GenMessage<MyCreditedWork> =
1150
+ /*@__PURE__*/
1151
+ messageDesc(file_api_manage_v1_work, 28);
1152
+
1153
+ /**
1154
+ * @generated from message api.manage.v1.ListMyCreditedWorksRequest
1155
+ */
1156
+ export type ListMyCreditedWorksRequest =
1157
+ Message<"api.manage.v1.ListMyCreditedWorksRequest"> & {
1158
+ /**
1159
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
1160
+ */
1161
+ pagination?: PaginationRequest | undefined;
1162
+
1163
+ /**
1164
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
1165
+ */
1166
+ filters: FilterSpec[];
1167
+
1168
+ /**
1169
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
1170
+ */
1171
+ sorts: SortSpec[];
1172
+ };
1173
+
1174
+ /**
1175
+ * Describes the message api.manage.v1.ListMyCreditedWorksRequest.
1176
+ * Use `create(ListMyCreditedWorksRequestSchema)` to create a new message.
1177
+ */
1178
+ export const ListMyCreditedWorksRequestSchema: GenMessage<ListMyCreditedWorksRequest> =
1179
+ /*@__PURE__*/
1180
+ messageDesc(file_api_manage_v1_work, 29);
1181
+
1182
+ /**
1183
+ * @generated from message api.manage.v1.ListMyCreditedWorksResponse
1184
+ */
1185
+ export type ListMyCreditedWorksResponse =
1186
+ Message<"api.manage.v1.ListMyCreditedWorksResponse"> & {
1187
+ /**
1188
+ * @generated from field: repeated api.manage.v1.MyCreditedWork works = 1;
1189
+ */
1190
+ works: MyCreditedWork[];
1191
+
1192
+ /**
1193
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
1194
+ */
1195
+ pagination?: PaginationResponse | undefined;
1196
+ };
1197
+
1198
+ /**
1199
+ * Describes the message api.manage.v1.ListMyCreditedWorksResponse.
1200
+ * Use `create(ListMyCreditedWorksResponseSchema)` to create a new message.
1201
+ */
1202
+ export const ListMyCreditedWorksResponseSchema: GenMessage<ListMyCreditedWorksResponse> =
1203
+ /*@__PURE__*/
1204
+ messageDesc(file_api_manage_v1_work, 30);
1205
+
1206
+ /**
1207
+ * Slug availability
1208
+ *
1209
+ * @generated from message api.manage.v1.CheckWorkSlugAvailableRequest
1210
+ */
1211
+ export type CheckWorkSlugAvailableRequest =
1212
+ Message<"api.manage.v1.CheckWorkSlugAvailableRequest"> & {
1213
+ /**
1214
+ * @generated from field: string slug = 1;
1215
+ */
1216
+ slug: string;
1217
+
1218
+ /**
1219
+ * @generated from field: optional string exclude_work_id = 2;
1220
+ */
1221
+ excludeWorkId?: string | undefined;
1222
+ };
1223
+
1224
+ /**
1225
+ * Describes the message api.manage.v1.CheckWorkSlugAvailableRequest.
1226
+ * Use `create(CheckWorkSlugAvailableRequestSchema)` to create a new message.
1227
+ */
1228
+ export const CheckWorkSlugAvailableRequestSchema: GenMessage<CheckWorkSlugAvailableRequest> =
1229
+ /*@__PURE__*/
1230
+ messageDesc(file_api_manage_v1_work, 31);
1231
+
1232
+ /**
1233
+ * @generated from message api.manage.v1.CheckWorkSlugAvailableResponse
1234
+ */
1235
+ export type CheckWorkSlugAvailableResponse =
1236
+ Message<"api.manage.v1.CheckWorkSlugAvailableResponse"> & {
1237
+ /**
1238
+ * @generated from field: bool available = 1;
1239
+ */
1240
+ available: boolean;
1241
+ };
1242
+
1243
+ /**
1244
+ * Describes the message api.manage.v1.CheckWorkSlugAvailableResponse.
1245
+ * Use `create(CheckWorkSlugAvailableResponseSchema)` to create a new message.
1246
+ */
1247
+ export const CheckWorkSlugAvailableResponseSchema: GenMessage<CheckWorkSlugAvailableResponse> =
1248
+ /*@__PURE__*/
1249
+ messageDesc(file_api_manage_v1_work, 32);
1250
+
1251
+ /**
1252
+ * Version history
1253
+ *
1254
+ * @generated from message api.manage.v1.WorkVersion
1255
+ */
1256
+ export type WorkVersion = Message<"api.manage.v1.WorkVersion"> & {
1257
+ /**
1258
+ * @generated from field: string id = 1;
1259
+ */
1260
+ id: string;
1261
+
1262
+ /**
1263
+ * @generated from field: int32 version = 2;
1264
+ */
1265
+ version: number;
1266
+
1267
+ /**
1268
+ * @generated from field: string title = 3;
1269
+ */
1270
+ title: string;
1271
+
1272
+ /**
1273
+ * @generated from field: optional string summary = 4;
1274
+ */
1275
+ summary?: string | undefined;
1276
+
1277
+ /**
1278
+ * @generated from field: string canonical_hash = 5;
1279
+ */
1280
+ canonicalHash: string;
1281
+
1282
+ /**
1283
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
1284
+ */
1285
+ createdAt?: Timestamp | undefined;
1286
+
1287
+ /**
1288
+ * @generated from field: repeated api.manage.v1.VersionContributor contributors = 7;
1289
+ */
1290
+ contributors: VersionContributor[];
1291
+
1292
+ /**
1293
+ * @generated from field: string source_locale = 8;
1294
+ */
1295
+ sourceLocale: string;
1296
+ };
1297
+
1298
+ /**
1299
+ * Describes the message api.manage.v1.WorkVersion.
1300
+ * Use `create(WorkVersionSchema)` to create a new message.
1301
+ */
1302
+ export const WorkVersionSchema: GenMessage<WorkVersion> =
1303
+ /*@__PURE__*/
1304
+ messageDesc(file_api_manage_v1_work, 33);
1305
+
1306
+ /**
1307
+ * @generated from message api.manage.v1.ListWorkVersionsRequest
1308
+ */
1309
+ export type ListWorkVersionsRequest =
1310
+ Message<"api.manage.v1.ListWorkVersionsRequest"> & {
1311
+ /**
1312
+ * @generated from field: string work_id = 1;
1313
+ */
1314
+ workId: string;
1315
+
1316
+ /**
1317
+ * @generated from field: api.common.v1.PaginationRequest pagination = 2;
1318
+ */
1319
+ pagination?: PaginationRequest | undefined;
1320
+ };
1321
+
1322
+ /**
1323
+ * Describes the message api.manage.v1.ListWorkVersionsRequest.
1324
+ * Use `create(ListWorkVersionsRequestSchema)` to create a new message.
1325
+ */
1326
+ export const ListWorkVersionsRequestSchema: GenMessage<ListWorkVersionsRequest> =
1327
+ /*@__PURE__*/
1328
+ messageDesc(file_api_manage_v1_work, 34);
1329
+
1330
+ /**
1331
+ * @generated from message api.manage.v1.ListWorkVersionsResponse
1332
+ */
1333
+ export type ListWorkVersionsResponse =
1334
+ Message<"api.manage.v1.ListWorkVersionsResponse"> & {
1335
+ /**
1336
+ * @generated from field: repeated api.manage.v1.WorkVersion versions = 1;
1337
+ */
1338
+ versions: WorkVersion[];
1339
+
1340
+ /**
1341
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
1342
+ */
1343
+ pagination?: PaginationResponse | undefined;
1344
+ };
1345
+
1346
+ /**
1347
+ * Describes the message api.manage.v1.ListWorkVersionsResponse.
1348
+ * Use `create(ListWorkVersionsResponseSchema)` to create a new message.
1349
+ */
1350
+ export const ListWorkVersionsResponseSchema: GenMessage<ListWorkVersionsResponse> =
1351
+ /*@__PURE__*/
1352
+ messageDesc(file_api_manage_v1_work, 35);
1353
+
1354
+ /**
1355
+ * @generated from message api.manage.v1.RestoreWorkVersionRequest
1356
+ */
1357
+ export type RestoreWorkVersionRequest =
1358
+ Message<"api.manage.v1.RestoreWorkVersionRequest"> & {
1359
+ /**
1360
+ * @generated from field: string version_id = 1;
1361
+ */
1362
+ versionId: string;
1363
+
1364
+ /**
1365
+ * @generated from field: string work_id = 2;
1366
+ */
1367
+ workId: string;
1368
+ };
1369
+
1370
+ /**
1371
+ * Describes the message api.manage.v1.RestoreWorkVersionRequest.
1372
+ * Use `create(RestoreWorkVersionRequestSchema)` to create a new message.
1373
+ */
1374
+ export const RestoreWorkVersionRequestSchema: GenMessage<RestoreWorkVersionRequest> =
1375
+ /*@__PURE__*/
1376
+ messageDesc(file_api_manage_v1_work, 36);
1377
+
1378
+ /**
1379
+ * @generated from enum api.manage.v1.WorkType
1380
+ */
1381
+ export enum WorkType {
1382
+ /**
1383
+ * @generated from enum value: WORK_TYPE_UNSPECIFIED = 0;
1384
+ */
1385
+ UNSPECIFIED = 0,
1386
+
1387
+ /**
1388
+ * @generated from enum value: WORK_TYPE_MUSIC_PROJECT = 1;
1389
+ */
1390
+ MUSIC_PROJECT = 1,
1391
+
1392
+ /**
1393
+ * @generated from enum value: WORK_TYPE_PORTFOLIO = 2;
1394
+ */
1395
+ PORTFOLIO = 2,
1396
+
1397
+ /**
1398
+ * @generated from enum value: WORK_TYPE_ARTICLE = 3;
1399
+ */
1400
+ ARTICLE = 3,
1401
+
1402
+ /**
1403
+ * @generated from enum value: WORK_TYPE_CONTRIBUTION = 4;
1404
+ */
1405
+ CONTRIBUTION = 4,
1406
+ }
1407
+
1408
+ /**
1409
+ * Describes the enum api.manage.v1.WorkType.
1410
+ */
1411
+ export const WorkTypeSchema: GenEnum<WorkType> =
1412
+ /*@__PURE__*/
1413
+ enumDesc(file_api_manage_v1_work, 0);
1414
+
1415
+ /**
1416
+ * Work status enum
1417
+ *
1418
+ * @generated from enum api.manage.v1.WorkStatus
1419
+ */
1420
+ export enum WorkStatus {
1421
+ /**
1422
+ * @generated from enum value: WORK_STATUS_UNSPECIFIED = 0;
1423
+ */
1424
+ UNSPECIFIED = 0,
1425
+
1426
+ /**
1427
+ * @generated from enum value: WORK_STATUS_DRAFT = 1;
1428
+ */
1429
+ DRAFT = 1,
1430
+
1431
+ /**
1432
+ * @generated from enum value: WORK_STATUS_PUBLISHED = 2;
1433
+ */
1434
+ PUBLISHED = 2,
1435
+
1436
+ /**
1437
+ * Publicly visible legacy state. Archived Works are read-only until
1438
+ * PublishWork moves them back to PUBLISHED.
1439
+ *
1440
+ * @generated from enum value: WORK_STATUS_ARCHIVED = 3;
1441
+ */
1442
+ ARCHIVED = 3,
1443
+ }
1444
+
1445
+ /**
1446
+ * Describes the enum api.manage.v1.WorkStatus.
1447
+ */
1448
+ export const WorkStatusSchema: GenEnum<WorkStatus> =
1449
+ /*@__PURE__*/
1450
+ enumDesc(file_api_manage_v1_work, 1);
1451
+
1452
+ /**
1453
+ * @generated from enum api.manage.v1.MyCreditedWorkCreditType
1454
+ */
1455
+ export enum MyCreditedWorkCreditType {
1456
+ /**
1457
+ * @generated from enum value: MY_CREDITED_WORK_CREDIT_TYPE_UNSPECIFIED = 0;
1458
+ */
1459
+ UNSPECIFIED = 0,
1460
+
1461
+ /**
1462
+ * @generated from enum value: MY_CREDITED_WORK_CREDIT_TYPE_ARTIST = 1;
1463
+ */
1464
+ ARTIST = 1,
1465
+
1466
+ /**
1467
+ * @generated from enum value: MY_CREDITED_WORK_CREDIT_TYPE_MEMBER = 2;
1468
+ */
1469
+ MEMBER = 2,
1470
+
1471
+ /**
1472
+ * @generated from enum value: MY_CREDITED_WORK_CREDIT_TYPE_NAME = 3;
1473
+ */
1474
+ NAME = 3,
1475
+ }
1476
+
1477
+ /**
1478
+ * Describes the enum api.manage.v1.MyCreditedWorkCreditType.
1479
+ */
1480
+ export const MyCreditedWorkCreditTypeSchema: GenEnum<MyCreditedWorkCreditType> =
1481
+ /*@__PURE__*/
1482
+ enumDesc(file_api_manage_v1_work, 2);
1483
+
1484
+ /**
1485
+ * Work Service
1486
+ *
1487
+ * @generated from service api.manage.v1.WorkService
1488
+ */
1489
+ export const WorkService: GenService<{
1490
+ /**
1491
+ * Admin (all works)
1492
+ *
1493
+ * @generated from rpc api.manage.v1.WorkService.ListWorksAdmin
1494
+ */
1495
+ listWorksAdmin: {
1496
+ methodKind: "unary";
1497
+ input: typeof ListWorksAdminRequestSchema;
1498
+ output: typeof ListWorksAdminResponseSchema;
1499
+ };
1500
+ /**
1501
+ * @generated from rpc api.manage.v1.WorkService.CreateWork
1502
+ */
1503
+ createWork: {
1504
+ methodKind: "unary";
1505
+ input: typeof CreateWorkRequestSchema;
1506
+ output: typeof WorkSchema;
1507
+ };
1508
+ /**
1509
+ * @generated from rpc api.manage.v1.WorkService.DeleteWork
1510
+ */
1511
+ deleteWork: {
1512
+ methodKind: "unary";
1513
+ input: typeof DeleteWorkRequestSchema;
1514
+ output: typeof DeleteResponseSchema;
1515
+ };
1516
+ /**
1517
+ * @generated from rpc api.manage.v1.WorkService.PublishWork
1518
+ */
1519
+ publishWork: {
1520
+ methodKind: "unary";
1521
+ input: typeof PublishWorkRequestSchema;
1522
+ output: typeof WorkLifecycleMutationResponseSchema;
1523
+ };
1524
+ /**
1525
+ * @generated from rpc api.manage.v1.WorkService.UnpublishWork
1526
+ */
1527
+ unpublishWork: {
1528
+ methodKind: "unary";
1529
+ input: typeof UnpublishWorkRequestSchema;
1530
+ output: typeof WorkLifecycleMutationResponseSchema;
1531
+ };
1532
+ /**
1533
+ * Site Admin management surface. Public reads use api.open.v1.WorkService.
1534
+ *
1535
+ * @generated from rpc api.manage.v1.WorkService.GetWork
1536
+ */
1537
+ getWork: {
1538
+ methodKind: "unary";
1539
+ input: typeof GetWorkRequestSchema;
1540
+ output: typeof WorkSchema;
1541
+ };
1542
+ /**
1543
+ * @generated from rpc api.manage.v1.WorkService.UpdateWork
1544
+ */
1545
+ updateWork: {
1546
+ methodKind: "unary";
1547
+ input: typeof UpdateWorkRequestSchema;
1548
+ output: typeof UpdateWorkResponseSchema;
1549
+ };
1550
+ /**
1551
+ * @generated from rpc api.manage.v1.WorkService.SetWorkFeaturedImage
1552
+ */
1553
+ setWorkFeaturedImage: {
1554
+ methodKind: "unary";
1555
+ input: typeof SetWorkFeaturedImageRequestSchema;
1556
+ output: typeof SetWorkFeaturedImageResponseSchema;
1557
+ };
1558
+ /**
1559
+ * @generated from rpc api.manage.v1.WorkService.DeleteWorkFeaturedImage
1560
+ */
1561
+ deleteWorkFeaturedImage: {
1562
+ methodKind: "unary";
1563
+ input: typeof DeleteWorkFeaturedImageRequestSchema;
1564
+ output: typeof OgAssetDeleteResponseSchema;
1565
+ };
1566
+ /**
1567
+ * Credit mutation is Site Admin-only; credits remain public attribution.
1568
+ *
1569
+ * @generated from rpc api.manage.v1.WorkService.GetWorkCredits
1570
+ */
1571
+ getWorkCredits: {
1572
+ methodKind: "unary";
1573
+ input: typeof GetWorkCreditsRequestSchema;
1574
+ output: typeof GetWorkCreditsResponseSchema;
1575
+ };
1576
+ /**
1577
+ * @generated from rpc api.manage.v1.WorkService.AddWorkCredit
1578
+ */
1579
+ addWorkCredit: {
1580
+ methodKind: "unary";
1581
+ input: typeof AddWorkCreditRequestSchema;
1582
+ output: typeof WorkCreditSchema;
1583
+ };
1584
+ /**
1585
+ * @generated from rpc api.manage.v1.WorkService.UpdateWorkCredit
1586
+ */
1587
+ updateWorkCredit: {
1588
+ methodKind: "unary";
1589
+ input: typeof UpdateWorkCreditRequestSchema;
1590
+ output: typeof WorkCreditSchema;
1591
+ };
1592
+ /**
1593
+ * @generated from rpc api.manage.v1.WorkService.DeleteWorkCredit
1594
+ */
1595
+ deleteWorkCredit: {
1596
+ methodKind: "unary";
1597
+ input: typeof DeleteWorkCreditRequestSchema;
1598
+ output: typeof DeleteResponseSchema;
1599
+ };
1600
+ /**
1601
+ * @generated from rpc api.manage.v1.WorkService.CreateWorkCreditGroup
1602
+ */
1603
+ createWorkCreditGroup: {
1604
+ methodKind: "unary";
1605
+ input: typeof CreateWorkCreditGroupRequestSchema;
1606
+ output: typeof WorkCreditGroupSchema;
1607
+ };
1608
+ /**
1609
+ * @generated from rpc api.manage.v1.WorkService.UpdateWorkCreditGroup
1610
+ */
1611
+ updateWorkCreditGroup: {
1612
+ methodKind: "unary";
1613
+ input: typeof UpdateWorkCreditGroupRequestSchema;
1614
+ output: typeof WorkCreditGroupSchema;
1615
+ };
1616
+ /**
1617
+ * @generated from rpc api.manage.v1.WorkService.DeleteWorkCreditGroup
1618
+ */
1619
+ deleteWorkCreditGroup: {
1620
+ methodKind: "unary";
1621
+ input: typeof DeleteWorkCreditGroupRequestSchema;
1622
+ output: typeof DeleteResponseSchema;
1623
+ };
1624
+ /**
1625
+ * Credits are attribution only and do not grant Work management rights.
1626
+ *
1627
+ * @generated from rpc api.manage.v1.WorkService.ListMyCreditedWorks
1628
+ */
1629
+ listMyCreditedWorks: {
1630
+ methodKind: "unary";
1631
+ input: typeof ListMyCreditedWorksRequestSchema;
1632
+ output: typeof ListMyCreditedWorksResponseSchema;
1633
+ };
1634
+ /**
1635
+ * Version history
1636
+ *
1637
+ * @generated from rpc api.manage.v1.WorkService.ListWorkVersions
1638
+ */
1639
+ listWorkVersions: {
1640
+ methodKind: "unary";
1641
+ input: typeof ListWorkVersionsRequestSchema;
1642
+ output: typeof ListWorkVersionsResponseSchema;
1643
+ };
1644
+ /**
1645
+ * @generated from rpc api.manage.v1.WorkService.RestoreWorkVersion
1646
+ */
1647
+ restoreWorkVersion: {
1648
+ methodKind: "unary";
1649
+ input: typeof RestoreWorkVersionRequestSchema;
1650
+ output: typeof WorkSchema;
1651
+ };
1652
+ /**
1653
+ * Utility
1654
+ *
1655
+ * @generated from rpc api.manage.v1.WorkService.CheckWorkSlugAvailable
1656
+ */
1657
+ checkWorkSlugAvailable: {
1658
+ methodKind: "unary";
1659
+ input: typeof CheckWorkSlugAvailableRequestSchema;
1660
+ output: typeof CheckWorkSlugAvailableResponseSchema;
1661
+ };
1662
+ }> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_work, 0);