@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,904 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/open/v1/work.proto (package api.open.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
+ LocalizedRichTextDocument,
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 { MapPlaceBasic } from "./map_place_pb.ts";
31
+ import { file_api_open_v1_map_place } from "./map_place_pb.ts";
32
+ import type { LocalizationInfo } from "./translation_pb.ts";
33
+ import { file_api_open_v1_translation } from "./translation_pb.ts";
34
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
35
+ import {
36
+ file_google_protobuf_struct,
37
+ file_google_protobuf_timestamp,
38
+ } from "@bufbuild/protobuf/wkt";
39
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
40
+
41
+ /**
42
+ * Describes the file api/open/v1/work.proto.
43
+ */
44
+ export const file_api_open_v1_work: GenFile =
45
+ /*@__PURE__*/
46
+ fileDesc(
47
+ "ChZhcGkvb3Blbi92MS93b3JrLnByb3RvEgthcGkub3Blbi52MSJ4Cg5HZXRXb3JrUmVxdWVzdBIMCgRzbHVnGAEgASgJEhgKC3NoYXJlX3Rva2VuGAIgASgJSACIAQESGwoOc2hhcmVfcGFzc3dvcmQYAyABKAlIAYgBAUIOCgxfc2hhcmVfdG9rZW5CEQoPX3NoYXJlX3Bhc3N3b3JkInwKD0dldFdvcmtSZXNwb25zZRIkCgR3b3JrGAEgASgLMhEuYXBpLm9wZW4udjEuV29ya0gAiAEBEjoKC2Jsb2NrX21lZGlhGAIgAygLMiUuYXBpLmNvbnRlbnQudjEuQ29udGVudEJsb2NrTWVkaWFJdGVtQgcKBV93b3JrIswICgRXb3JrEgoKAmlkGAEgASgJEg0KBXRpdGxlGAIgASgJEhEKBHNsdWcYAyABKAlIAIgBARIjCgR0eXBlGAQgASgOMhUuYXBpLm9wZW4udjEuV29ya1R5cGUSFAoHc3VtbWFyeRgFIAEoCUgBiAEBEikKCG1ldGFkYXR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INQXBpOjpPcGVuOjpWMWIGcHJvdG8z",
48
+ [
49
+ file_api_common_v1_common,
50
+ file_api_common_v1_media,
51
+ file_api_content_v1_block_content,
52
+ file_api_open_v1_map_place,
53
+ file_api_open_v1_translation,
54
+ file_google_protobuf_struct,
55
+ file_google_protobuf_timestamp,
56
+ ],
57
+ );
58
+
59
+ /**
60
+ * @generated from message api.open.v1.GetWorkRequest
61
+ */
62
+ export type GetWorkRequest = Message<"api.open.v1.GetWorkRequest"> & {
63
+ /**
64
+ * slug or ID (server handles both)
65
+ *
66
+ * @generated from field: string slug = 1;
67
+ */
68
+ slug: string;
69
+
70
+ /**
71
+ * @generated from field: optional string share_token = 2;
72
+ */
73
+ shareToken?: string | undefined;
74
+
75
+ /**
76
+ * @generated from field: optional string share_password = 3;
77
+ */
78
+ sharePassword?: string | undefined;
79
+ };
80
+
81
+ /**
82
+ * Describes the message api.open.v1.GetWorkRequest.
83
+ * Use `create(GetWorkRequestSchema)` to create a new message.
84
+ */
85
+ export const GetWorkRequestSchema: GenMessage<GetWorkRequest> =
86
+ /*@__PURE__*/
87
+ messageDesc(file_api_open_v1_work, 0);
88
+
89
+ /**
90
+ * @generated from message api.open.v1.GetWorkResponse
91
+ */
92
+ export type GetWorkResponse = Message<"api.open.v1.GetWorkResponse"> & {
93
+ /**
94
+ * @generated from field: optional api.open.v1.Work work = 1;
95
+ */
96
+ work?: Work | undefined;
97
+
98
+ /**
99
+ * Work owns content authorization; File contributes only current usage and
100
+ * delivery/download policy after that authorization succeeds.
101
+ *
102
+ * @generated from field: repeated api.content.v1.ContentBlockMediaItem block_media = 2;
103
+ */
104
+ blockMedia: ContentBlockMediaItem[];
105
+ };
106
+
107
+ /**
108
+ * Describes the message api.open.v1.GetWorkResponse.
109
+ * Use `create(GetWorkResponseSchema)` to create a new message.
110
+ */
111
+ export const GetWorkResponseSchema: GenMessage<GetWorkResponse> =
112
+ /*@__PURE__*/
113
+ messageDesc(file_api_open_v1_work, 1);
114
+
115
+ /**
116
+ * Work for Get includes the authoritative typed Block document.
117
+ * share_token can access drafts, so published_at is optional
118
+ *
119
+ * @generated from message api.open.v1.Work
120
+ */
121
+ export type Work = Message<"api.open.v1.Work"> & {
122
+ /**
123
+ * @generated from field: string id = 1;
124
+ */
125
+ id: string;
126
+
127
+ /**
128
+ * @generated from field: string title = 2;
129
+ */
130
+ title: string;
131
+
132
+ /**
133
+ * @generated from field: optional string slug = 3;
134
+ */
135
+ slug?: string | undefined;
136
+
137
+ /**
138
+ * @generated from field: api.open.v1.WorkType type = 4;
139
+ */
140
+ type: WorkType;
141
+
142
+ /**
143
+ * @generated from field: optional string summary = 5;
144
+ */
145
+ summary?: string | undefined;
146
+
147
+ /**
148
+ * @generated from field: google.protobuf.Struct metadata = 6;
149
+ */
150
+ metadata?: JsonObject | undefined;
151
+
152
+ /**
153
+ * @generated from field: bool featured = 7;
154
+ */
155
+ featured: boolean;
156
+
157
+ /**
158
+ * @generated from field: api.open.v1.WorkStatus status = 8;
159
+ */
160
+ status: WorkStatus;
161
+
162
+ /**
163
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
164
+ */
165
+ createdAt?: Timestamp | undefined;
166
+
167
+ /**
168
+ * @generated from field: google.protobuf.Timestamp updated_at = 10;
169
+ */
170
+ updatedAt?: Timestamp | undefined;
171
+
172
+ /**
173
+ * @generated from field: optional google.protobuf.Timestamp published_at = 11;
174
+ */
175
+ publishedAt?: Timestamp | undefined;
176
+
177
+ /**
178
+ * Relations
179
+ *
180
+ * @generated from field: repeated api.open.v1.WorkCredit credits = 12;
181
+ */
182
+ credits: WorkCredit[];
183
+
184
+ /**
185
+ * @generated from field: repeated api.open.v1.WorkClient clients = 13;
186
+ */
187
+ clients: WorkClient[];
188
+
189
+ /**
190
+ * @generated from field: api.content.v1.LocalizedRichTextDocument document = 14;
191
+ */
192
+ document?: LocalizedRichTextDocument | undefined;
193
+
194
+ /**
195
+ * @generated from field: optional api.common.v1.AssetRef og_asset = 15;
196
+ */
197
+ ogAsset?: AssetRef | undefined;
198
+
199
+ /**
200
+ * @generated from field: int32 year = 16;
201
+ */
202
+ year: number;
203
+
204
+ /**
205
+ * @generated from field: int32 month = 17;
206
+ */
207
+ month: number;
208
+
209
+ /**
210
+ * @generated from field: optional string map_place_id = 18;
211
+ */
212
+ mapPlaceId?: string | undefined;
213
+
214
+ /**
215
+ * @generated from field: optional int32 until_year = 19;
216
+ */
217
+ untilYear?: number | undefined;
218
+
219
+ /**
220
+ * @generated from field: optional int32 until_month = 20;
221
+ */
222
+ untilMonth?: number | undefined;
223
+
224
+ /**
225
+ * @generated from field: bool is_present = 21;
226
+ */
227
+ isPresent: boolean;
228
+
229
+ /**
230
+ * @generated from field: optional api.open.v1.MapPlaceBasic location_place = 22;
231
+ */
232
+ locationPlace?: MapPlaceBasic | undefined;
233
+
234
+ /**
235
+ * @generated from field: optional api.open.v1.LocalizationInfo localization_info = 23;
236
+ */
237
+ localizationInfo?: LocalizationInfo | undefined;
238
+
239
+ /**
240
+ * @generated from field: optional api.common.v1.AssetRef featured_image_asset = 24;
241
+ */
242
+ featuredImageAsset?: AssetRef | undefined;
243
+
244
+ /**
245
+ * @generated from field: repeated api.open.v1.WorkCreditGroup credit_groups = 25;
246
+ */
247
+ creditGroups: WorkCreditGroup[];
248
+
249
+ /**
250
+ * @generated from field: string revision = 26;
251
+ */
252
+ revision: string;
253
+ };
254
+
255
+ /**
256
+ * Describes the message api.open.v1.Work.
257
+ * Use `create(WorkSchema)` to create a new message.
258
+ */
259
+ export const WorkSchema: GenMessage<Work> =
260
+ /*@__PURE__*/
261
+ messageDesc(file_api_open_v1_work, 2);
262
+
263
+ /**
264
+ * @generated from message api.open.v1.ListWorksRequest
265
+ */
266
+ export type ListWorksRequest = Message<"api.open.v1.ListWorksRequest"> & {
267
+ /**
268
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
269
+ */
270
+ pagination?: PaginationRequest | undefined;
271
+
272
+ /**
273
+ * type, featured, status, year, month, until_year, until_month, is_present, map_place_id, published_at
274
+ *
275
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
276
+ */
277
+ filters: FilterSpec[];
278
+
279
+ /**
280
+ * title, published_at, updated_at
281
+ *
282
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
283
+ */
284
+ sorts: SortSpec[];
285
+ };
286
+
287
+ /**
288
+ * Describes the message api.open.v1.ListWorksRequest.
289
+ * Use `create(ListWorksRequestSchema)` to create a new message.
290
+ */
291
+ export const ListWorksRequestSchema: GenMessage<ListWorksRequest> =
292
+ /*@__PURE__*/
293
+ messageDesc(file_api_open_v1_work, 3);
294
+
295
+ /**
296
+ * @generated from message api.open.v1.ListWorksResponse
297
+ */
298
+ export type ListWorksResponse = Message<"api.open.v1.ListWorksResponse"> & {
299
+ /**
300
+ * @generated from field: repeated api.open.v1.WorkSummary works = 1;
301
+ */
302
+ works: WorkSummary[];
303
+
304
+ /**
305
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
306
+ */
307
+ pagination?: PaginationResponse | undefined;
308
+ };
309
+
310
+ /**
311
+ * Describes the message api.open.v1.ListWorksResponse.
312
+ * Use `create(ListWorksResponseSchema)` to create a new message.
313
+ */
314
+ export const ListWorksResponseSchema: GenMessage<ListWorksResponse> =
315
+ /*@__PURE__*/
316
+ messageDesc(file_api_open_v1_work, 4);
317
+
318
+ /**
319
+ * @generated from message api.open.v1.WorkMapBounds
320
+ */
321
+ export type WorkMapBounds = Message<"api.open.v1.WorkMapBounds"> & {
322
+ /**
323
+ * @generated from field: double west = 1;
324
+ */
325
+ west: number;
326
+
327
+ /**
328
+ * @generated from field: double south = 2;
329
+ */
330
+ south: number;
331
+
332
+ /**
333
+ * @generated from field: double east = 3;
334
+ */
335
+ east: number;
336
+
337
+ /**
338
+ * @generated from field: double north = 4;
339
+ */
340
+ north: number;
341
+ };
342
+
343
+ /**
344
+ * Describes the message api.open.v1.WorkMapBounds.
345
+ * Use `create(WorkMapBoundsSchema)` to create a new message.
346
+ */
347
+ export const WorkMapBoundsSchema: GenMessage<WorkMapBounds> =
348
+ /*@__PURE__*/
349
+ messageDesc(file_api_open_v1_work, 5);
350
+
351
+ /**
352
+ * @generated from message api.open.v1.WorkMapViewport
353
+ */
354
+ export type WorkMapViewport = Message<"api.open.v1.WorkMapViewport"> & {
355
+ /**
356
+ * @generated from field: api.open.v1.WorkMapBounds bounds = 1;
357
+ */
358
+ bounds?: WorkMapBounds | undefined;
359
+
360
+ /**
361
+ * @generated from field: double zoom = 2;
362
+ */
363
+ zoom: number;
364
+
365
+ /**
366
+ * @generated from field: int32 width_px = 3;
367
+ */
368
+ widthPx: number;
369
+
370
+ /**
371
+ * @generated from field: int32 height_px = 4;
372
+ */
373
+ heightPx: number;
374
+
375
+ /**
376
+ * @generated from field: int32 cluster_radius_px = 5;
377
+ */
378
+ clusterRadiusPx: number;
379
+
380
+ /**
381
+ * @generated from field: int32 min_cluster_points = 6;
382
+ */
383
+ minClusterPoints: number;
384
+ };
385
+
386
+ /**
387
+ * Describes the message api.open.v1.WorkMapViewport.
388
+ * Use `create(WorkMapViewportSchema)` to create a new message.
389
+ */
390
+ export const WorkMapViewportSchema: GenMessage<WorkMapViewport> =
391
+ /*@__PURE__*/
392
+ messageDesc(file_api_open_v1_work, 6);
393
+
394
+ /**
395
+ * @generated from message api.open.v1.ListWorkMapFeaturesRequest
396
+ */
397
+ export type ListWorkMapFeaturesRequest =
398
+ Message<"api.open.v1.ListWorkMapFeaturesRequest"> & {
399
+ /**
400
+ * @generated from field: api.open.v1.WorkMapViewport viewport = 1;
401
+ */
402
+ viewport?: WorkMapViewport | undefined;
403
+
404
+ /**
405
+ * type, featured, status, year, month, until_year, until_month, is_present, map_place_id
406
+ *
407
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
408
+ */
409
+ filters: FilterSpec[];
410
+
411
+ /**
412
+ * title, published_at, updated_at
413
+ *
414
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
415
+ */
416
+ sorts: SortSpec[];
417
+ };
418
+
419
+ /**
420
+ * Describes the message api.open.v1.ListWorkMapFeaturesRequest.
421
+ * Use `create(ListWorkMapFeaturesRequestSchema)` to create a new message.
422
+ */
423
+ export const ListWorkMapFeaturesRequestSchema: GenMessage<ListWorkMapFeaturesRequest> =
424
+ /*@__PURE__*/
425
+ messageDesc(file_api_open_v1_work, 7);
426
+
427
+ /**
428
+ * @generated from message api.open.v1.WorkMapCluster
429
+ */
430
+ export type WorkMapCluster = Message<"api.open.v1.WorkMapCluster"> & {
431
+ /**
432
+ * @generated from field: string id = 1;
433
+ */
434
+ id: string;
435
+
436
+ /**
437
+ * @generated from field: double lat = 2;
438
+ */
439
+ lat: number;
440
+
441
+ /**
442
+ * @generated from field: double lng = 3;
443
+ */
444
+ lng: number;
445
+
446
+ /**
447
+ * @generated from field: int32 place_count = 4;
448
+ */
449
+ placeCount: number;
450
+
451
+ /**
452
+ * @generated from field: int32 work_count = 5;
453
+ */
454
+ workCount: number;
455
+
456
+ /**
457
+ * @generated from field: api.open.v1.WorkMapBounds bounds = 6;
458
+ */
459
+ bounds?: WorkMapBounds | undefined;
460
+
461
+ /**
462
+ * @generated from field: optional double min_breakout_zoom = 7;
463
+ */
464
+ minBreakoutZoom?: number | undefined;
465
+ };
466
+
467
+ /**
468
+ * Describes the message api.open.v1.WorkMapCluster.
469
+ * Use `create(WorkMapClusterSchema)` to create a new message.
470
+ */
471
+ export const WorkMapClusterSchema: GenMessage<WorkMapCluster> =
472
+ /*@__PURE__*/
473
+ messageDesc(file_api_open_v1_work, 8);
474
+
475
+ /**
476
+ * @generated from message api.open.v1.WorkMapItem
477
+ */
478
+ export type WorkMapItem = Message<"api.open.v1.WorkMapItem"> & {
479
+ /**
480
+ * @generated from field: string place_id = 1;
481
+ */
482
+ placeId: string;
483
+
484
+ /**
485
+ * @generated from field: string name = 2;
486
+ */
487
+ name: string;
488
+
489
+ /**
490
+ * @generated from field: string address = 3;
491
+ */
492
+ address: string;
493
+
494
+ /**
495
+ * @generated from field: double lat = 4;
496
+ */
497
+ lat: number;
498
+
499
+ /**
500
+ * @generated from field: double lng = 5;
501
+ */
502
+ lng: number;
503
+
504
+ /**
505
+ * @generated from field: int32 work_count = 6;
506
+ */
507
+ workCount: number;
508
+
509
+ /**
510
+ * @generated from field: string primary_work_id = 7;
511
+ */
512
+ primaryWorkId: string;
513
+
514
+ /**
515
+ * @generated from field: optional string primary_work_slug = 8;
516
+ */
517
+ primaryWorkSlug?: string | undefined;
518
+
519
+ /**
520
+ * @generated from field: string primary_work_title = 9;
521
+ */
522
+ primaryWorkTitle: string;
523
+ };
524
+
525
+ /**
526
+ * Describes the message api.open.v1.WorkMapItem.
527
+ * Use `create(WorkMapItemSchema)` to create a new message.
528
+ */
529
+ export const WorkMapItemSchema: GenMessage<WorkMapItem> =
530
+ /*@__PURE__*/
531
+ messageDesc(file_api_open_v1_work, 9);
532
+
533
+ /**
534
+ * @generated from message api.open.v1.ListWorkMapFeaturesResponse
535
+ */
536
+ export type ListWorkMapFeaturesResponse =
537
+ Message<"api.open.v1.ListWorkMapFeaturesResponse"> & {
538
+ /**
539
+ * @generated from field: repeated api.open.v1.WorkMapCluster clusters = 1;
540
+ */
541
+ clusters: WorkMapCluster[];
542
+
543
+ /**
544
+ * @generated from field: repeated api.open.v1.WorkMapItem items = 2;
545
+ */
546
+ items: WorkMapItem[];
547
+ };
548
+
549
+ /**
550
+ * Describes the message api.open.v1.ListWorkMapFeaturesResponse.
551
+ * Use `create(ListWorkMapFeaturesResponseSchema)` to create a new message.
552
+ */
553
+ export const ListWorkMapFeaturesResponseSchema: GenMessage<ListWorkMapFeaturesResponse> =
554
+ /*@__PURE__*/
555
+ messageDesc(file_api_open_v1_work, 10);
556
+
557
+ /**
558
+ * WorkSummary for List - metadata only, no content
559
+ *
560
+ * @generated from message api.open.v1.WorkSummary
561
+ */
562
+ export type WorkSummary = Message<"api.open.v1.WorkSummary"> & {
563
+ /**
564
+ * @generated from field: string id = 1;
565
+ */
566
+ id: string;
567
+
568
+ /**
569
+ * @generated from field: string title = 2;
570
+ */
571
+ title: string;
572
+
573
+ /**
574
+ * @generated from field: optional string slug = 3;
575
+ */
576
+ slug?: string | undefined;
577
+
578
+ /**
579
+ * @generated from field: api.open.v1.WorkType type = 4;
580
+ */
581
+ type: WorkType;
582
+
583
+ /**
584
+ * @generated from field: optional string summary = 5;
585
+ */
586
+ summary?: string | undefined;
587
+
588
+ /**
589
+ * @generated from field: bool featured = 6;
590
+ */
591
+ featured: boolean;
592
+
593
+ /**
594
+ * @generated from field: optional google.protobuf.Timestamp published_at = 7;
595
+ */
596
+ publishedAt?: Timestamp | undefined;
597
+
598
+ /**
599
+ * @generated from field: api.open.v1.WorkStatus status = 8;
600
+ */
601
+ status: WorkStatus;
602
+
603
+ /**
604
+ * @generated from field: int32 year = 9;
605
+ */
606
+ year: number;
607
+
608
+ /**
609
+ * @generated from field: int32 month = 10;
610
+ */
611
+ month: number;
612
+
613
+ /**
614
+ * @generated from field: optional string map_place_id = 11;
615
+ */
616
+ mapPlaceId?: string | undefined;
617
+
618
+ /**
619
+ * @generated from field: optional int32 until_year = 12;
620
+ */
621
+ untilYear?: number | undefined;
622
+
623
+ /**
624
+ * @generated from field: optional int32 until_month = 13;
625
+ */
626
+ untilMonth?: number | undefined;
627
+
628
+ /**
629
+ * @generated from field: bool is_present = 14;
630
+ */
631
+ isPresent: boolean;
632
+
633
+ /**
634
+ * @generated from field: optional api.common.v1.AssetRef featured_image_asset = 15;
635
+ */
636
+ featuredImageAsset?: AssetRef | undefined;
637
+ };
638
+
639
+ /**
640
+ * Describes the message api.open.v1.WorkSummary.
641
+ * Use `create(WorkSummarySchema)` to create a new message.
642
+ */
643
+ export const WorkSummarySchema: GenMessage<WorkSummary> =
644
+ /*@__PURE__*/
645
+ messageDesc(file_api_open_v1_work, 11);
646
+
647
+ /**
648
+ * Credit with artist/Member details (replaces GetWorkWithCredits)
649
+ *
650
+ * @generated from message api.open.v1.WorkCreditGroup
651
+ */
652
+ export type WorkCreditGroup = Message<"api.open.v1.WorkCreditGroup"> & {
653
+ /**
654
+ * @generated from field: string id = 1;
655
+ */
656
+ id: string;
657
+
658
+ /**
659
+ * @generated from field: string name = 2;
660
+ */
661
+ name: string;
662
+ };
663
+
664
+ /**
665
+ * Describes the message api.open.v1.WorkCreditGroup.
666
+ * Use `create(WorkCreditGroupSchema)` to create a new message.
667
+ */
668
+ export const WorkCreditGroupSchema: GenMessage<WorkCreditGroup> =
669
+ /*@__PURE__*/
670
+ messageDesc(file_api_open_v1_work, 12);
671
+
672
+ /**
673
+ * @generated from message api.open.v1.WorkCredit
674
+ */
675
+ export type WorkCredit = Message<"api.open.v1.WorkCredit"> & {
676
+ /**
677
+ * @generated from field: string id = 1;
678
+ */
679
+ id: string;
680
+
681
+ /**
682
+ * @generated from field: optional string group_id = 2;
683
+ */
684
+ groupId?: string | undefined;
685
+
686
+ /**
687
+ * @generated from field: optional string name = 3;
688
+ */
689
+ name?: string | undefined;
690
+
691
+ /**
692
+ * @generated from field: optional string credit_role = 4;
693
+ */
694
+ creditRole?: string | undefined;
695
+
696
+ /**
697
+ * @generated from field: optional api.open.v1.CreditArtist artist = 5;
698
+ */
699
+ artist?: CreditArtist | undefined;
700
+
701
+ /**
702
+ * @generated from field: optional api.common.v1.MemberSummary member = 6;
703
+ */
704
+ member?: MemberSummary | undefined;
705
+ };
706
+
707
+ /**
708
+ * Describes the message api.open.v1.WorkCredit.
709
+ * Use `create(WorkCreditSchema)` to create a new message.
710
+ */
711
+ export const WorkCreditSchema: GenMessage<WorkCredit> =
712
+ /*@__PURE__*/
713
+ messageDesc(file_api_open_v1_work, 13);
714
+
715
+ /**
716
+ * @generated from message api.open.v1.CreditArtist
717
+ */
718
+ export type CreditArtist = Message<"api.open.v1.CreditArtist"> & {
719
+ /**
720
+ * @generated from field: string id = 1;
721
+ */
722
+ id: string;
723
+
724
+ /**
725
+ * @generated from field: string name = 2;
726
+ */
727
+ name: string;
728
+
729
+ /**
730
+ * @generated from field: optional string slug = 3;
731
+ */
732
+ slug?: string | undefined;
733
+
734
+ /**
735
+ * @generated from field: optional api.common.v1.AssetRef image_asset = 4;
736
+ */
737
+ imageAsset?: AssetRef | undefined;
738
+ };
739
+
740
+ /**
741
+ * Describes the message api.open.v1.CreditArtist.
742
+ * Use `create(CreditArtistSchema)` to create a new message.
743
+ */
744
+ export const CreditArtistSchema: GenMessage<CreditArtist> =
745
+ /*@__PURE__*/
746
+ messageDesc(file_api_open_v1_work, 14);
747
+
748
+ /**
749
+ * Client associated with a work
750
+ *
751
+ * @generated from message api.open.v1.WorkClient
752
+ */
753
+ export type WorkClient = Message<"api.open.v1.WorkClient"> & {
754
+ /**
755
+ * @generated from field: string id = 1;
756
+ */
757
+ id: string;
758
+
759
+ /**
760
+ * @generated from field: string name = 2;
761
+ */
762
+ name: string;
763
+
764
+ /**
765
+ * @generated from field: optional string website = 3;
766
+ */
767
+ website?: string | undefined;
768
+
769
+ /**
770
+ * @generated from field: optional api.common.v1.AssetRef logo_light_asset = 4;
771
+ */
772
+ logoLightAsset?: AssetRef | undefined;
773
+
774
+ /**
775
+ * @generated from field: optional api.common.v1.AssetRef logo_dark_asset = 5;
776
+ */
777
+ logoDarkAsset?: AssetRef | undefined;
778
+ };
779
+
780
+ /**
781
+ * Describes the message api.open.v1.WorkClient.
782
+ * Use `create(WorkClientSchema)` to create a new message.
783
+ */
784
+ export const WorkClientSchema: GenMessage<WorkClient> =
785
+ /*@__PURE__*/
786
+ messageDesc(file_api_open_v1_work, 15);
787
+
788
+ /**
789
+ * @generated from enum api.open.v1.WorkType
790
+ */
791
+ export enum WorkType {
792
+ /**
793
+ * @generated from enum value: WORK_TYPE_UNSPECIFIED = 0;
794
+ */
795
+ UNSPECIFIED = 0,
796
+
797
+ /**
798
+ * @generated from enum value: WORK_TYPE_MUSIC_PROJECT = 1;
799
+ */
800
+ MUSIC_PROJECT = 1,
801
+
802
+ /**
803
+ * @generated from enum value: WORK_TYPE_PORTFOLIO = 2;
804
+ */
805
+ PORTFOLIO = 2,
806
+
807
+ /**
808
+ * @generated from enum value: WORK_TYPE_ARTICLE = 3;
809
+ */
810
+ ARTICLE = 3,
811
+
812
+ /**
813
+ * @generated from enum value: WORK_TYPE_CONTRIBUTION = 4;
814
+ */
815
+ CONTRIBUTION = 4,
816
+ }
817
+
818
+ /**
819
+ * Describes the enum api.open.v1.WorkType.
820
+ */
821
+ export const WorkTypeSchema: GenEnum<WorkType> =
822
+ /*@__PURE__*/
823
+ enumDesc(file_api_open_v1_work, 0);
824
+
825
+ /**
826
+ * @generated from enum api.open.v1.WorkStatus
827
+ */
828
+ export enum WorkStatus {
829
+ /**
830
+ * @generated from enum value: WORK_STATUS_UNSPECIFIED = 0;
831
+ */
832
+ UNSPECIFIED = 0,
833
+
834
+ /**
835
+ * @generated from enum value: WORK_STATUS_DRAFT = 1;
836
+ */
837
+ DRAFT = 1,
838
+
839
+ /**
840
+ * @generated from enum value: WORK_STATUS_PUBLISHED = 2;
841
+ */
842
+ PUBLISHED = 2,
843
+
844
+ /**
845
+ * Publicly visible legacy state. Archived Works remain readable but are
846
+ * read-only on management surfaces until republished.
847
+ *
848
+ * @generated from enum value: WORK_STATUS_ARCHIVED = 3;
849
+ */
850
+ ARCHIVED = 3,
851
+ }
852
+
853
+ /**
854
+ * Describes the enum api.open.v1.WorkStatus.
855
+ */
856
+ export const WorkStatusSchema: GenEnum<WorkStatus> =
857
+ /*@__PURE__*/
858
+ enumDesc(file_api_open_v1_work, 1);
859
+
860
+ /**
861
+ * WorkService provides public work access
862
+ *
863
+ * @generated from service api.open.v1.WorkService
864
+ */
865
+ export const WorkService: GenService<{
866
+ /**
867
+ * Get retrieves a work by slug or ID
868
+ * - A UUID selects by ID; any other value selects by slug
869
+ * - An exact share_token plus its optional password allows access to a draft
870
+ * - Includes credits with artist/user details
871
+ *
872
+ * @generated from rpc api.open.v1.WorkService.Get
873
+ */
874
+ get: {
875
+ methodKind: "unary";
876
+ input: typeof GetWorkRequestSchema;
877
+ output: typeof GetWorkResponseSchema;
878
+ };
879
+ /**
880
+ * List returns public works for list/table blocks.
881
+ * - Defaults to published and archived works
882
+ * - An explicit status filter may narrow the public states
883
+ * - Filters by type, featured, status, period fields
884
+ *
885
+ * @generated from rpc api.open.v1.WorkService.List
886
+ */
887
+ list: {
888
+ methodKind: "unary";
889
+ input: typeof ListWorksRequestSchema;
890
+ output: typeof ListWorksResponseSchema;
891
+ };
892
+ /**
893
+ * ListMapFeatures returns server-clustered map data for public works.
894
+ * - Defaults to published and archived works
895
+ * - An explicit status filter may narrow the public states
896
+ *
897
+ * @generated from rpc api.open.v1.WorkService.ListMapFeatures
898
+ */
899
+ listMapFeatures: {
900
+ methodKind: "unary";
901
+ input: typeof ListWorkMapFeaturesRequestSchema;
902
+ output: typeof ListWorkMapFeaturesResponseSchema;
903
+ };
904
+ }> = /*@__PURE__*/ serviceDesc(file_api_open_v1_work, 0);