@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,732 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/open/v1/artist.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
+ PaginationRequest,
18
+ PaginationResponse,
19
+ SortSpec,
20
+ } from "../../common/v1/common_pb.ts";
21
+ import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
22
+ import type { AssetRef } from "../../common/v1/media_pb.ts";
23
+ import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
24
+ import type { LocalizedRichTextDocument } from "../../content/v1/block_content_pb.ts";
25
+ import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
26
+ import type { LocalizationInfo } from "./translation_pb.ts";
27
+ import { file_api_open_v1_translation } from "./translation_pb.ts";
28
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
29
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
30
+ import type { Message } from "@bufbuild/protobuf";
31
+
32
+ /**
33
+ * Describes the file api/open/v1/artist.proto.
34
+ */
35
+ export const file_api_open_v1_artist: GenFile =
36
+ /*@__PURE__*/
37
+ fileDesc(
38
+ "ChhhcGkvb3Blbi92MS9hcnRpc3QucHJvdG8SC2FwaS5vcGVuLnYxInoKEEdldEFydGlzdFJlcXVlc3QSDAoEc2x1ZxgBIAEoCRIYCgtzaGFyZV90b2tlbhgCIAEoCUgAiAEBEhsKDnNoYXJlX3Bhc3N3b3JkGAMgASgJSAGIAQFCDgoMX3NoYXJlX3Rva2VuQhEKD19zaGFyZV9wYXNzd29yZCJIChFHZXRBcnRpc3RSZXNwb25zZRIoCgZhcnRpc3QYASABKAsyEy5hcGkub3Blbi52MS5BcnRpc3RIAIgBAUIJCgdfYXJ0aXN0IqoHCgZBcnRpc3QSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIRCgRzbHVnGAMgASgJSACIAQESFgoJcmVhbF9uYW1lGAQgASgJSAGIAQESOwoIZG9jdW1lbnQYBSABKAsyKS5hcGkuY29udGVudC52MS5Mb2NhbGl6ZWRSaWNoVGV4dERvY3VtZW50EhkKDGNvdW50cnlfY29kZRgGIAEoCUgCiAEBEhQKB3dlYnNpdGUYByABKAlIA4gBARI6Cgxzb2NpYWxfbGlua3MYCCADKAsyJC5hcGkub3Blbi52MS5BcnRpc3QuU29jaWFsTGlua3NFbnRyeRIpCgZzdGF0dXMYCSABKA4yGS5hcGkub3Blbi52MS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udjGiAgNBT1iqAgtBcGkuT3Blbi5WMcoCC0FwaVxPcGVuXFYx4gIXQXBpXE9wZW5cVjFcR1BCTWV0YWRhdGHqAg1BcGk6Ok9wZW46OlYxYgZwcm90bzM",
39
+ [
40
+ file_api_common_v1_common,
41
+ file_api_common_v1_media,
42
+ file_api_content_v1_block_content,
43
+ file_api_open_v1_translation,
44
+ file_google_protobuf_timestamp,
45
+ ],
46
+ );
47
+
48
+ /**
49
+ * @generated from message api.open.v1.GetArtistRequest
50
+ */
51
+ export type GetArtistRequest = Message<"api.open.v1.GetArtistRequest"> & {
52
+ /**
53
+ * slug or ID (server handles both)
54
+ *
55
+ * @generated from field: string slug = 1;
56
+ */
57
+ slug: string;
58
+
59
+ /**
60
+ * @generated from field: optional string share_token = 2;
61
+ */
62
+ shareToken?: string | undefined;
63
+
64
+ /**
65
+ * @generated from field: optional string share_password = 3;
66
+ */
67
+ sharePassword?: string | undefined;
68
+ };
69
+
70
+ /**
71
+ * Describes the message api.open.v1.GetArtistRequest.
72
+ * Use `create(GetArtistRequestSchema)` to create a new message.
73
+ */
74
+ export const GetArtistRequestSchema: GenMessage<GetArtistRequest> =
75
+ /*@__PURE__*/
76
+ messageDesc(file_api_open_v1_artist, 0);
77
+
78
+ /**
79
+ * @generated from message api.open.v1.GetArtistResponse
80
+ */
81
+ export type GetArtistResponse = Message<"api.open.v1.GetArtistResponse"> & {
82
+ /**
83
+ * @generated from field: optional api.open.v1.Artist artist = 1;
84
+ */
85
+ artist?: Artist | undefined;
86
+ };
87
+
88
+ /**
89
+ * Describes the message api.open.v1.GetArtistResponse.
90
+ * Use `create(GetArtistResponseSchema)` to create a new message.
91
+ */
92
+ export const GetArtistResponseSchema: GenMessage<GetArtistResponse> =
93
+ /*@__PURE__*/
94
+ messageDesc(file_api_open_v1_artist, 1);
95
+
96
+ /**
97
+ * Artist for Get - includes counts and labels
98
+ * share_token can access drafts, so published_at is optional
99
+ *
100
+ * @generated from message api.open.v1.Artist
101
+ */
102
+ export type Artist = Message<"api.open.v1.Artist"> & {
103
+ /**
104
+ * @generated from field: string id = 1;
105
+ */
106
+ id: string;
107
+
108
+ /**
109
+ * @generated from field: string name = 2;
110
+ */
111
+ name: string;
112
+
113
+ /**
114
+ * @generated from field: optional string slug = 3;
115
+ */
116
+ slug?: string | undefined;
117
+
118
+ /**
119
+ * @generated from field: optional string real_name = 4;
120
+ */
121
+ realName?: string | undefined;
122
+
123
+ /**
124
+ * @generated from field: api.content.v1.LocalizedRichTextDocument document = 5;
125
+ */
126
+ document?: LocalizedRichTextDocument | undefined;
127
+
128
+ /**
129
+ * @generated from field: optional string country_code = 6;
130
+ */
131
+ countryCode?: string | undefined;
132
+
133
+ /**
134
+ * @generated from field: optional string website = 7;
135
+ */
136
+ website?: string | undefined;
137
+
138
+ /**
139
+ * @generated from field: map<string, string> social_links = 8;
140
+ */
141
+ socialLinks: { [key: string]: string };
142
+
143
+ /**
144
+ * @generated from field: api.open.v1.ArtistStatus status = 9;
145
+ */
146
+ status: ArtistStatus;
147
+
148
+ /**
149
+ * @generated from field: google.protobuf.Timestamp created_at = 10;
150
+ */
151
+ createdAt?: Timestamp | undefined;
152
+
153
+ /**
154
+ * @generated from field: google.protobuf.Timestamp updated_at = 11;
155
+ */
156
+ updatedAt?: Timestamp | undefined;
157
+
158
+ /**
159
+ * optional (share_token -> draft)
160
+ *
161
+ * @generated from field: optional google.protobuf.Timestamp published_at = 12;
162
+ */
163
+ publishedAt?: Timestamp | undefined;
164
+
165
+ /**
166
+ * @generated from field: optional api.common.v1.AssetRef og_asset = 13;
167
+ */
168
+ ogAsset?: AssetRef | undefined;
169
+
170
+ /**
171
+ * @generated from field: bool is_group = 14;
172
+ */
173
+ isGroup: boolean;
174
+
175
+ /**
176
+ * Counts
177
+ *
178
+ * @generated from field: int32 release_count = 15;
179
+ */
180
+ releaseCount: number;
181
+
182
+ /**
183
+ * @generated from field: int32 work_count = 16;
184
+ */
185
+ workCount: number;
186
+
187
+ /**
188
+ * Labels (published only)
189
+ *
190
+ * @generated from field: repeated api.open.v1.ArtistLabel labels = 17;
191
+ */
192
+ labels: ArtistLabel[];
193
+
194
+ /**
195
+ * @generated from field: optional api.open.v1.LocalizationInfo localization_info = 18;
196
+ */
197
+ localizationInfo?: LocalizationInfo | undefined;
198
+
199
+ /**
200
+ * @generated from field: optional api.common.v1.AssetRef image_asset = 19;
201
+ */
202
+ imageAsset?: AssetRef | undefined;
203
+
204
+ /**
205
+ * @generated from field: repeated api.open.v1.ArtistImage images = 20;
206
+ */
207
+ images: ArtistImage[];
208
+
209
+ /**
210
+ * @generated from field: string revision = 21;
211
+ */
212
+ revision: string;
213
+ };
214
+
215
+ /**
216
+ * Describes the message api.open.v1.Artist.
217
+ * Use `create(ArtistSchema)` to create a new message.
218
+ */
219
+ export const ArtistSchema: GenMessage<Artist> =
220
+ /*@__PURE__*/
221
+ messageDesc(file_api_open_v1_artist, 2);
222
+
223
+ /**
224
+ * @generated from message api.open.v1.ArtistImage
225
+ */
226
+ export type ArtistImage = Message<"api.open.v1.ArtistImage"> & {
227
+ /**
228
+ * @generated from field: string file_id = 1;
229
+ */
230
+ fileId: string;
231
+
232
+ /**
233
+ * @generated from field: api.common.v1.AssetRef asset = 2;
234
+ */
235
+ asset?: AssetRef | undefined;
236
+
237
+ /**
238
+ * @generated from field: int32 sort_order = 3;
239
+ */
240
+ sortOrder: number;
241
+
242
+ /**
243
+ * @generated from field: bool primary = 4;
244
+ */
245
+ primary: boolean;
246
+ };
247
+
248
+ /**
249
+ * Describes the message api.open.v1.ArtistImage.
250
+ * Use `create(ArtistImageSchema)` to create a new message.
251
+ */
252
+ export const ArtistImageSchema: GenMessage<ArtistImage> =
253
+ /*@__PURE__*/
254
+ messageDesc(file_api_open_v1_artist, 3);
255
+
256
+ /**
257
+ * @generated from message api.open.v1.GetArtistReleasesRequest
258
+ */
259
+ export type GetArtistReleasesRequest =
260
+ Message<"api.open.v1.GetArtistReleasesRequest"> & {
261
+ /**
262
+ * @generated from field: string artist_id = 1;
263
+ */
264
+ artistId: string;
265
+
266
+ /**
267
+ * default 20
268
+ *
269
+ * @generated from field: int32 limit = 2;
270
+ */
271
+ limit: number;
272
+
273
+ /**
274
+ * @generated from field: optional int32 offset = 3;
275
+ */
276
+ offset?: number | undefined;
277
+
278
+ /**
279
+ * title, release_date, published_at
280
+ *
281
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 4;
282
+ */
283
+ sorts: SortSpec[];
284
+ };
285
+
286
+ /**
287
+ * Describes the message api.open.v1.GetArtistReleasesRequest.
288
+ * Use `create(GetArtistReleasesRequestSchema)` to create a new message.
289
+ */
290
+ export const GetArtistReleasesRequestSchema: GenMessage<GetArtistReleasesRequest> =
291
+ /*@__PURE__*/
292
+ messageDesc(file_api_open_v1_artist, 4);
293
+
294
+ /**
295
+ * @generated from message api.open.v1.GetArtistReleasesResponse
296
+ */
297
+ export type GetArtistReleasesResponse =
298
+ Message<"api.open.v1.GetArtistReleasesResponse"> & {
299
+ /**
300
+ * @generated from field: repeated api.open.v1.ArtistRelease releases = 1;
301
+ */
302
+ releases: ArtistRelease[];
303
+
304
+ /**
305
+ * @generated from field: int32 total = 2;
306
+ */
307
+ total: number;
308
+ };
309
+
310
+ /**
311
+ * Describes the message api.open.v1.GetArtistReleasesResponse.
312
+ * Use `create(GetArtistReleasesResponseSchema)` to create a new message.
313
+ */
314
+ export const GetArtistReleasesResponseSchema: GenMessage<GetArtistReleasesResponse> =
315
+ /*@__PURE__*/
316
+ messageDesc(file_api_open_v1_artist, 5);
317
+
318
+ /**
319
+ * @generated from message api.open.v1.ArtistRelease
320
+ */
321
+ export type ArtistRelease = Message<"api.open.v1.ArtistRelease"> & {
322
+ /**
323
+ * @generated from field: string id = 1;
324
+ */
325
+ id: string;
326
+
327
+ /**
328
+ * @generated from field: string title = 2;
329
+ */
330
+ title: string;
331
+
332
+ /**
333
+ * @generated from field: optional string slug = 3;
334
+ */
335
+ slug?: string | undefined;
336
+
337
+ /**
338
+ * album, ep, single, compilation
339
+ *
340
+ * @generated from field: string type = 4;
341
+ */
342
+ type: string;
343
+
344
+ /**
345
+ * @generated from field: optional google.protobuf.Timestamp release_date = 5;
346
+ */
347
+ releaseDate?: Timestamp | undefined;
348
+
349
+ /**
350
+ * @generated from field: google.protobuf.Timestamp published_at = 6;
351
+ */
352
+ publishedAt?: Timestamp | undefined;
353
+
354
+ /**
355
+ * Other artists on the release
356
+ *
357
+ * @generated from field: repeated api.open.v1.ArtistReleaseArtist artists = 7;
358
+ */
359
+ artists: ArtistReleaseArtist[];
360
+
361
+ /**
362
+ * @generated from field: optional api.common.v1.AssetRef artwork_asset = 8;
363
+ */
364
+ artworkAsset?: AssetRef | undefined;
365
+ };
366
+
367
+ /**
368
+ * Describes the message api.open.v1.ArtistRelease.
369
+ * Use `create(ArtistReleaseSchema)` to create a new message.
370
+ */
371
+ export const ArtistReleaseSchema: GenMessage<ArtistRelease> =
372
+ /*@__PURE__*/
373
+ messageDesc(file_api_open_v1_artist, 6);
374
+
375
+ /**
376
+ * @generated from message api.open.v1.ArtistReleaseArtist
377
+ */
378
+ export type ArtistReleaseArtist = Message<"api.open.v1.ArtistReleaseArtist"> & {
379
+ /**
380
+ * @generated from field: string id = 1;
381
+ */
382
+ id: string;
383
+
384
+ /**
385
+ * @generated from field: string name = 2;
386
+ */
387
+ name: string;
388
+
389
+ /**
390
+ * @generated from field: optional string slug = 3;
391
+ */
392
+ slug?: string | undefined;
393
+ };
394
+
395
+ /**
396
+ * Describes the message api.open.v1.ArtistReleaseArtist.
397
+ * Use `create(ArtistReleaseArtistSchema)` to create a new message.
398
+ */
399
+ export const ArtistReleaseArtistSchema: GenMessage<ArtistReleaseArtist> =
400
+ /*@__PURE__*/
401
+ messageDesc(file_api_open_v1_artist, 7);
402
+
403
+ /**
404
+ * @generated from message api.open.v1.ListArtistsRequest
405
+ */
406
+ export type ListArtistsRequest = Message<"api.open.v1.ListArtistsRequest"> & {
407
+ /**
408
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
409
+ */
410
+ pagination?: PaginationRequest | undefined;
411
+
412
+ /**
413
+ * country_code, label_id, published_at
414
+ *
415
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
416
+ */
417
+ filters: FilterSpec[];
418
+
419
+ /**
420
+ * name, published_at
421
+ *
422
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
423
+ */
424
+ sorts: SortSpec[];
425
+ };
426
+
427
+ /**
428
+ * Describes the message api.open.v1.ListArtistsRequest.
429
+ * Use `create(ListArtistsRequestSchema)` to create a new message.
430
+ */
431
+ export const ListArtistsRequestSchema: GenMessage<ListArtistsRequest> =
432
+ /*@__PURE__*/
433
+ messageDesc(file_api_open_v1_artist, 8);
434
+
435
+ /**
436
+ * @generated from message api.open.v1.ListArtistsResponse
437
+ */
438
+ export type ListArtistsResponse = Message<"api.open.v1.ListArtistsResponse"> & {
439
+ /**
440
+ * @generated from field: repeated api.open.v1.ArtistSummary artists = 1;
441
+ */
442
+ artists: ArtistSummary[];
443
+
444
+ /**
445
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
446
+ */
447
+ pagination?: PaginationResponse | undefined;
448
+ };
449
+
450
+ /**
451
+ * Describes the message api.open.v1.ListArtistsResponse.
452
+ * Use `create(ListArtistsResponseSchema)` to create a new message.
453
+ */
454
+ export const ListArtistsResponseSchema: GenMessage<ListArtistsResponse> =
455
+ /*@__PURE__*/
456
+ messageDesc(file_api_open_v1_artist, 9);
457
+
458
+ /**
459
+ * ArtistSummary for List - minimal info, no counts
460
+ * List only returns published items, so published_at is NOT optional
461
+ *
462
+ * @generated from message api.open.v1.ArtistSummary
463
+ */
464
+ export type ArtistSummary = Message<"api.open.v1.ArtistSummary"> & {
465
+ /**
466
+ * @generated from field: string id = 1;
467
+ */
468
+ id: string;
469
+
470
+ /**
471
+ * @generated from field: string name = 2;
472
+ */
473
+ name: string;
474
+
475
+ /**
476
+ * @generated from field: optional string slug = 3;
477
+ */
478
+ slug?: string | undefined;
479
+
480
+ /**
481
+ * @generated from field: optional string country_code = 4;
482
+ */
483
+ countryCode?: string | undefined;
484
+
485
+ /**
486
+ * NOT optional (List = published only)
487
+ *
488
+ * @generated from field: google.protobuf.Timestamp published_at = 5;
489
+ */
490
+ publishedAt?: Timestamp | undefined;
491
+
492
+ /**
493
+ * @generated from field: optional api.common.v1.AssetRef og_asset = 6;
494
+ */
495
+ ogAsset?: AssetRef | undefined;
496
+
497
+ /**
498
+ * @generated from field: map<string, string> social_links = 7;
499
+ */
500
+ socialLinks: { [key: string]: string };
501
+
502
+ /**
503
+ * @generated from field: optional api.common.v1.AssetRef image_asset = 8;
504
+ */
505
+ imageAsset?: AssetRef | undefined;
506
+ };
507
+
508
+ /**
509
+ * Describes the message api.open.v1.ArtistSummary.
510
+ * Use `create(ArtistSummarySchema)` to create a new message.
511
+ */
512
+ export const ArtistSummarySchema: GenMessage<ArtistSummary> =
513
+ /*@__PURE__*/
514
+ messageDesc(file_api_open_v1_artist, 10);
515
+
516
+ /**
517
+ * @generated from message api.open.v1.GetArtistWorksRequest
518
+ */
519
+ export type GetArtistWorksRequest =
520
+ Message<"api.open.v1.GetArtistWorksRequest"> & {
521
+ /**
522
+ * @generated from field: string artist_id = 1;
523
+ */
524
+ artistId: string;
525
+
526
+ /**
527
+ * default 20
528
+ *
529
+ * @generated from field: int32 limit = 2;
530
+ */
531
+ limit: number;
532
+
533
+ /**
534
+ * @generated from field: optional int32 offset = 3;
535
+ */
536
+ offset?: number | undefined;
537
+
538
+ /**
539
+ * title, published_at
540
+ *
541
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 4;
542
+ */
543
+ sorts: SortSpec[];
544
+ };
545
+
546
+ /**
547
+ * Describes the message api.open.v1.GetArtistWorksRequest.
548
+ * Use `create(GetArtistWorksRequestSchema)` to create a new message.
549
+ */
550
+ export const GetArtistWorksRequestSchema: GenMessage<GetArtistWorksRequest> =
551
+ /*@__PURE__*/
552
+ messageDesc(file_api_open_v1_artist, 11);
553
+
554
+ /**
555
+ * @generated from message api.open.v1.GetArtistWorksResponse
556
+ */
557
+ export type GetArtistWorksResponse =
558
+ Message<"api.open.v1.GetArtistWorksResponse"> & {
559
+ /**
560
+ * @generated from field: repeated api.open.v1.ArtistWork works = 1;
561
+ */
562
+ works: ArtistWork[];
563
+
564
+ /**
565
+ * @generated from field: int32 total = 2;
566
+ */
567
+ total: number;
568
+ };
569
+
570
+ /**
571
+ * Describes the message api.open.v1.GetArtistWorksResponse.
572
+ * Use `create(GetArtistWorksResponseSchema)` to create a new message.
573
+ */
574
+ export const GetArtistWorksResponseSchema: GenMessage<GetArtistWorksResponse> =
575
+ /*@__PURE__*/
576
+ messageDesc(file_api_open_v1_artist, 12);
577
+
578
+ /**
579
+ * @generated from message api.open.v1.ArtistWork
580
+ */
581
+ export type ArtistWork = Message<"api.open.v1.ArtistWork"> & {
582
+ /**
583
+ * @generated from field: string id = 1;
584
+ */
585
+ id: string;
586
+
587
+ /**
588
+ * @generated from field: string title = 2;
589
+ */
590
+ title: string;
591
+
592
+ /**
593
+ * @generated from field: optional string slug = 3;
594
+ */
595
+ slug?: string | undefined;
596
+
597
+ /**
598
+ * @generated from field: optional string summary = 4;
599
+ */
600
+ summary?: string | undefined;
601
+
602
+ /**
603
+ * @generated from field: google.protobuf.Timestamp published_at = 5;
604
+ */
605
+ publishedAt?: Timestamp | undefined;
606
+
607
+ /**
608
+ * @generated from field: optional api.common.v1.AssetRef image_asset = 6;
609
+ */
610
+ imageAsset?: AssetRef | undefined;
611
+ };
612
+
613
+ /**
614
+ * Describes the message api.open.v1.ArtistWork.
615
+ * Use `create(ArtistWorkSchema)` to create a new message.
616
+ */
617
+ export const ArtistWorkSchema: GenMessage<ArtistWork> =
618
+ /*@__PURE__*/
619
+ messageDesc(file_api_open_v1_artist, 13);
620
+
621
+ /**
622
+ * @generated from message api.open.v1.ArtistLabel
623
+ */
624
+ export type ArtistLabel = Message<"api.open.v1.ArtistLabel"> & {
625
+ /**
626
+ * @generated from field: string id = 1;
627
+ */
628
+ id: string;
629
+
630
+ /**
631
+ * @generated from field: string name = 2;
632
+ */
633
+ name: string;
634
+
635
+ /**
636
+ * @generated from field: optional string slug = 3;
637
+ */
638
+ slug?: string | undefined;
639
+
640
+ /**
641
+ * @generated from field: optional api.common.v1.AssetRef image_asset = 4;
642
+ */
643
+ imageAsset?: AssetRef | undefined;
644
+ };
645
+
646
+ /**
647
+ * Describes the message api.open.v1.ArtistLabel.
648
+ * Use `create(ArtistLabelSchema)` to create a new message.
649
+ */
650
+ export const ArtistLabelSchema: GenMessage<ArtistLabel> =
651
+ /*@__PURE__*/
652
+ messageDesc(file_api_open_v1_artist, 14);
653
+
654
+ /**
655
+ * @generated from enum api.open.v1.ArtistStatus
656
+ */
657
+ export enum ArtistStatus {
658
+ /**
659
+ * @generated from enum value: ARTIST_STATUS_UNSPECIFIED = 0;
660
+ */
661
+ UNSPECIFIED = 0,
662
+
663
+ /**
664
+ * @generated from enum value: ARTIST_STATUS_DRAFT = 1;
665
+ */
666
+ DRAFT = 1,
667
+
668
+ /**
669
+ * @generated from enum value: ARTIST_STATUS_PUBLISHED = 2;
670
+ */
671
+ PUBLISHED = 2,
672
+ }
673
+
674
+ /**
675
+ * Describes the enum api.open.v1.ArtistStatus.
676
+ */
677
+ export const ArtistStatusSchema: GenEnum<ArtistStatus> =
678
+ /*@__PURE__*/
679
+ enumDesc(file_api_open_v1_artist, 0);
680
+
681
+ /**
682
+ * ArtistService provides public artist access
683
+ *
684
+ * @generated from service api.open.v1.ArtistService
685
+ */
686
+ export const ArtistService: GenService<{
687
+ /**
688
+ * List returns non-draft artists with multi-sort and filter support
689
+ *
690
+ * @generated from rpc api.open.v1.ArtistService.List
691
+ */
692
+ list: {
693
+ methodKind: "unary";
694
+ input: typeof ListArtistsRequestSchema;
695
+ output: typeof ListArtistsResponseSchema;
696
+ };
697
+ /**
698
+ * Get retrieves an artist by slug or ID
699
+ * - Server tries slug first, then ID (same as Label/Release pattern)
700
+ * - share_token allows access to draft artists
701
+ * - Includes release and work counts
702
+ *
703
+ * @generated from rpc api.open.v1.ArtistService.Get
704
+ */
705
+ get: {
706
+ methodKind: "unary";
707
+ input: typeof GetArtistRequestSchema;
708
+ output: typeof GetArtistResponseSchema;
709
+ };
710
+ /**
711
+ * GetReleases returns releases by an artist
712
+ * - Only returns published releases
713
+ *
714
+ * @generated from rpc api.open.v1.ArtistService.GetReleases
715
+ */
716
+ getReleases: {
717
+ methodKind: "unary";
718
+ input: typeof GetArtistReleasesRequestSchema;
719
+ output: typeof GetArtistReleasesResponseSchema;
720
+ };
721
+ /**
722
+ * GetWorks returns works by an artist
723
+ * - Only returns published works
724
+ *
725
+ * @generated from rpc api.open.v1.ArtistService.GetWorks
726
+ */
727
+ getWorks: {
728
+ methodKind: "unary";
729
+ input: typeof GetArtistWorksRequestSchema;
730
+ output: typeof GetArtistWorksResponseSchema;
731
+ };
732
+ }> = /*@__PURE__*/ serviceDesc(file_api_open_v1_artist, 0);