@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.
- package/LICENSE.md +6 -0
- package/README.md +6 -0
- package/eslint.config.mjs +15 -0
- package/gen/api/common/v1/common_pb.ts +391 -0
- package/gen/api/common/v1/media_pb.ts +578 -0
- package/gen/api/content/v1/block_catalog.ts +5978 -0
- package/gen/api/content/v1/block_content_pb.ts +11420 -0
- package/gen/api/intra/v1/artist_pb.ts +597 -0
- package/gen/api/intra/v1/campaign_pb.ts +383 -0
- package/gen/api/intra/v1/collaboration_pb.ts +661 -0
- package/gen/api/intra/v1/email_courier_pb.ts +98 -0
- package/gen/api/intra/v1/email_layout_pb.ts +295 -0
- package/gen/api/intra/v1/email_template_pb.ts +384 -0
- package/gen/api/intra/v1/file_ingest_pb.ts +144 -0
- package/gen/api/intra/v1/form_locale_catalog.ts +128 -0
- package/gen/api/intra/v1/form_locale_catalog_parity.json +24 -0
- package/gen/api/intra/v1/form_pb.ts +276 -0
- package/gen/api/intra/v1/gateway_authorization_pb.ts +96 -0
- package/gen/api/intra/v1/label_pb.ts +558 -0
- package/gen/api/intra/v1/map_pb.ts +382 -0
- package/gen/api/intra/v1/menu_pb.ts +282 -0
- package/gen/api/intra/v1/og_pb.ts +335 -0
- package/gen/api/intra/v1/page_pb.ts +572 -0
- package/gen/api/intra/v1/post_pb.ts +657 -0
- package/gen/api/intra/v1/post_series_pb.ts +217 -0
- package/gen/api/intra/v1/privacy_pb.ts +384 -0
- package/gen/api/intra/v1/program_event_pb.ts +390 -0
- package/gen/api/intra/v1/release_pb.ts +462 -0
- package/gen/api/intra/v1/terms_pb.ts +384 -0
- package/gen/api/intra/v1/work_pb.ts +477 -0
- package/gen/api/manage/v1/account_pb.ts +1311 -0
- package/gen/api/manage/v1/admin_pb.ts +681 -0
- package/gen/api/manage/v1/ai_pb.ts +2621 -0
- package/gen/api/manage/v1/artist_pb.ts +1271 -0
- package/gen/api/manage/v1/audience_pb.ts +597 -0
- package/gen/api/manage/v1/campaign_pb.ts +1289 -0
- package/gen/api/manage/v1/category_pb.ts +351 -0
- package/gen/api/manage/v1/client_pb.ts +512 -0
- package/gen/api/manage/v1/collaboration_pb.ts +112 -0
- package/gen/api/manage/v1/comment_pb.ts +530 -0
- package/gen/api/manage/v1/common_pb.ts +192 -0
- package/gen/api/manage/v1/email_layout_pb.ts +487 -0
- package/gen/api/manage/v1/email_suppression_pb.ts +192 -0
- package/gen/api/manage/v1/email_template_pb.ts +683 -0
- package/gen/api/manage/v1/events_pb.ts +3251 -0
- package/gen/api/manage/v1/file_pb.ts +2810 -0
- package/gen/api/manage/v1/form_pb.ts +1046 -0
- package/gen/api/manage/v1/format_pb.ts +321 -0
- package/gen/api/manage/v1/genre_pb.ts +340 -0
- package/gen/api/manage/v1/label_pb.ts +1105 -0
- package/gen/api/manage/v1/mail_adapter_pb.ts +656 -0
- package/gen/api/manage/v1/map_place_pb.ts +572 -0
- package/gen/api/manage/v1/map_theme_pb.ts +691 -0
- package/gen/api/manage/v1/member_pb.ts +1281 -0
- package/gen/api/manage/v1/menu_pb.ts +535 -0
- package/gen/api/manage/v1/page_pb.ts +894 -0
- package/gen/api/manage/v1/post_pb.ts +1475 -0
- package/gen/api/manage/v1/privacy_pb.ts +518 -0
- package/gen/api/manage/v1/program_event_pb.ts +2234 -0
- package/gen/api/manage/v1/release_pb.ts +1168 -0
- package/gen/api/manage/v1/series_pb.ts +1033 -0
- package/gen/api/manage/v1/share_link_pb.ts +351 -0
- package/gen/api/manage/v1/site_setting_pb.ts +623 -0
- package/gen/api/manage/v1/style_pb.ts +340 -0
- package/gen/api/manage/v1/tag_pb.ts +323 -0
- package/gen/api/manage/v1/terms_pb.ts +517 -0
- package/gen/api/manage/v1/track_pb.ts +543 -0
- package/gen/api/manage/v1/translation_pb.ts +1838 -0
- package/gen/api/manage/v1/work_pb.ts +1662 -0
- package/gen/api/open/v1/account_pb.ts +243 -0
- package/gen/api/open/v1/artist_pb.ts +732 -0
- package/gen/api/open/v1/category_pb.ts +143 -0
- package/gen/api/open/v1/client_pb.ts +190 -0
- package/gen/api/open/v1/file_pb.ts +244 -0
- package/gen/api/open/v1/form_pb.ts +698 -0
- package/gen/api/open/v1/label_pb.ts +512 -0
- package/gen/api/open/v1/manifest_pb.ts +326 -0
- package/gen/api/open/v1/map_place_pb.ts +228 -0
- package/gen/api/open/v1/map_theme_pb.ts +400 -0
- package/gen/api/open/v1/member_pb.ts +200 -0
- package/gen/api/open/v1/newsletter_pb.ts +77 -0
- package/gen/api/open/v1/page_pb.ts +236 -0
- package/gen/api/open/v1/post_pb.ts +834 -0
- package/gen/api/open/v1/privacy_pb.ts +257 -0
- package/gen/api/open/v1/program_event_pb.ts +1024 -0
- package/gen/api/open/v1/release_pb.ts +758 -0
- package/gen/api/open/v1/series_pb.ts +210 -0
- package/gen/api/open/v1/share_link_pb.ts +106 -0
- package/gen/api/open/v1/sitemap_pb.ts +188 -0
- package/gen/api/open/v1/tag_pb.ts +136 -0
- package/gen/api/open/v1/terms_pb.ts +257 -0
- package/gen/api/open/v1/translation_pb.ts +103 -0
- package/gen/api/open/v1/work_pb.ts +904 -0
- package/gen/api/policy/v1/access_pb.ts +105 -0
- package/gen/api/policy/v1/spicedb/artist.ts +101 -0
- package/gen/api/policy/v1/spicedb/audience.ts +64 -0
- package/gen/api/policy/v1/spicedb/campaign.ts +49 -0
- package/gen/api/policy/v1/spicedb/core.ts +196 -0
- package/gen/api/policy/v1/spicedb/email_authoring.ts +91 -0
- package/gen/api/policy/v1/spicedb/email_delivery.ts +44 -0
- package/gen/api/policy/v1/spicedb/file.ts +49 -0
- package/gen/api/policy/v1/spicedb/form.ts +54 -0
- package/gen/api/policy/v1/spicedb/internal.ts +350 -0
- package/gen/api/policy/v1/spicedb/label.ts +98 -0
- package/gen/api/policy/v1/spicedb/legal_policy.ts +103 -0
- package/gen/api/policy/v1/spicedb/map_theme.ts +48 -0
- package/gen/api/policy/v1/spicedb/member.ts +47 -0
- package/gen/api/policy/v1/spicedb/menu.ts +48 -0
- package/gen/api/policy/v1/spicedb/page.ts +54 -0
- package/gen/api/policy/v1/spicedb/post.ts +105 -0
- package/gen/api/policy/v1/spicedb/post_series.ts +70 -0
- package/gen/api/policy/v1/spicedb/program_event.ts +66 -0
- package/gen/api/policy/v1/spicedb/program_event_series.ts +62 -0
- package/gen/api/policy/v1/spicedb/reference_data.ts +209 -0
- package/gen/api/policy/v1/spicedb/release.ts +81 -0
- package/gen/api/policy/v1/spicedb/site_settings.ts +49 -0
- package/gen/api/policy/v1/spicedb/translation.ts +46 -0
- package/gen/api/policy/v1/spicedb/work.ts +58 -0
- package/package.json +66 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/label.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/label.proto.
|
|
34
|
+
*/
|
|
35
|
+
export const file_api_open_v1_label: GenFile =
|
|
36
|
+
/*@__PURE__*/
|
|
37
|
+
fileDesc(
|
|
38
|
+
"ChdhcGkvb3Blbi92MS9sYWJlbC5wcm90bxILYXBpLm9wZW4udjEinQEKEUxpc3RMYWJlbHNSZXF1ZXN0EjQKCnBhZ2luYXRpb24YASABKAsyIC5hcGkuY29tbW9uLnYxLlBhZ2luYXRpb25SZXF1ZXN0EioKB2ZpbHRlcnMYAiADKAsyGS5hcGkuY29tbW9uLnYxLkZpbHRlclNwZWMSJgoFc29ydHMYAyADKAsyFy5hcGkuY29tbW9uLnYxLlNvcnRTcGVjInYKEkxpc3RMYWJlbHNSZXNwb25zZRIpCgZsYWJlbHMYASADKAsyGS5hcGkub3Blbi52MS5MYWJlbFN1bW1hcnkSNQoKcGFnaW5hdGlvbhgCIAEoCzIhLmFwaS5jb21tb24udjEuUGFnaW5hdGlvblJlc3BvbnNlInkKD0dldExhYmVsUmVxdWVzdBIMCgRzbHVnGAEgASgJEhgKC3NoYXJlX3Rva2VuGAIgASgJSACIAQESGwoOc2hhcmVfcGFzc3dvcmQYAyABKAlIAYgBAUIOCgxfc2hhcmVfdG9rZW5CEQoPX3NoYXJlX3Bhc3N3b3JkIkQKEEdldExhYmVsUmVzcG9uc2USJgoFbGFiZWwYASABKAsyEi5hcGkub3Blbi52MS5MYWJlbEgAiAEBQggKBl9sYWJlbCKVCAoFTGFiZWwSCgoCaWQYASABKAkSDAo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To6T3Blbjo6VjFiBnByb3RvMw",
|
|
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.ListLabelsRequest
|
|
50
|
+
*/
|
|
51
|
+
export type ListLabelsRequest = Message<"api.open.v1.ListLabelsRequest"> & {
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: api.common.v1.PaginationRequest pagination = 1;
|
|
54
|
+
*/
|
|
55
|
+
pagination?: PaginationRequest | undefined;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* id, country_code, parent_label_id, published_at
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
61
|
+
*/
|
|
62
|
+
filters: FilterSpec[];
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* name, published_at
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
68
|
+
*/
|
|
69
|
+
sorts: SortSpec[];
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message api.open.v1.ListLabelsRequest.
|
|
74
|
+
* Use `create(ListLabelsRequestSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const ListLabelsRequestSchema: GenMessage<ListLabelsRequest> =
|
|
77
|
+
/*@__PURE__*/
|
|
78
|
+
messageDesc(file_api_open_v1_label, 0);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from message api.open.v1.ListLabelsResponse
|
|
82
|
+
*/
|
|
83
|
+
export type ListLabelsResponse = Message<"api.open.v1.ListLabelsResponse"> & {
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: repeated api.open.v1.LabelSummary labels = 1;
|
|
86
|
+
*/
|
|
87
|
+
labels: LabelSummary[];
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: api.common.v1.PaginationResponse pagination = 2;
|
|
91
|
+
*/
|
|
92
|
+
pagination?: PaginationResponse | undefined;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Describes the message api.open.v1.ListLabelsResponse.
|
|
97
|
+
* Use `create(ListLabelsResponseSchema)` to create a new message.
|
|
98
|
+
*/
|
|
99
|
+
export const ListLabelsResponseSchema: GenMessage<ListLabelsResponse> =
|
|
100
|
+
/*@__PURE__*/
|
|
101
|
+
messageDesc(file_api_open_v1_label, 1);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from message api.open.v1.GetLabelRequest
|
|
105
|
+
*/
|
|
106
|
+
export type GetLabelRequest = Message<"api.open.v1.GetLabelRequest"> & {
|
|
107
|
+
/**
|
|
108
|
+
* slug or ID (server handles both)
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: string slug = 1;
|
|
111
|
+
*/
|
|
112
|
+
slug: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: optional string share_token = 2;
|
|
116
|
+
*/
|
|
117
|
+
shareToken?: string | undefined;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: optional string share_password = 3;
|
|
121
|
+
*/
|
|
122
|
+
sharePassword?: string | undefined;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Describes the message api.open.v1.GetLabelRequest.
|
|
127
|
+
* Use `create(GetLabelRequestSchema)` to create a new message.
|
|
128
|
+
*/
|
|
129
|
+
export const GetLabelRequestSchema: GenMessage<GetLabelRequest> =
|
|
130
|
+
/*@__PURE__*/
|
|
131
|
+
messageDesc(file_api_open_v1_label, 2);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message api.open.v1.GetLabelResponse
|
|
135
|
+
*/
|
|
136
|
+
export type GetLabelResponse = Message<"api.open.v1.GetLabelResponse"> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: optional api.open.v1.Label label = 1;
|
|
139
|
+
*/
|
|
140
|
+
label?: Label | undefined;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message api.open.v1.GetLabelResponse.
|
|
145
|
+
* Use `create(GetLabelResponseSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export const GetLabelResponseSchema: GenMessage<GetLabelResponse> =
|
|
148
|
+
/*@__PURE__*/
|
|
149
|
+
messageDesc(file_api_open_v1_label, 3);
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Label for Get - includes counts and shallow lists
|
|
153
|
+
* share_token can access drafts, so published_at is optional
|
|
154
|
+
*
|
|
155
|
+
* @generated from message api.open.v1.Label
|
|
156
|
+
*/
|
|
157
|
+
export type Label = Message<"api.open.v1.Label"> & {
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: string id = 1;
|
|
160
|
+
*/
|
|
161
|
+
id: string;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: string name = 2;
|
|
165
|
+
*/
|
|
166
|
+
name: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: optional string slug = 3;
|
|
170
|
+
*/
|
|
171
|
+
slug?: string | undefined;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: api.content.v1.LocalizedRichTextDocument document = 4;
|
|
175
|
+
*/
|
|
176
|
+
document?: LocalizedRichTextDocument | undefined;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: optional string website = 5;
|
|
180
|
+
*/
|
|
181
|
+
website?: string | undefined;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: optional string country_code = 6;
|
|
185
|
+
*/
|
|
186
|
+
countryCode?: string | undefined;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: map<string, string> social_links = 7;
|
|
190
|
+
*/
|
|
191
|
+
socialLinks: { [key: string]: string };
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: api.open.v1.LabelStatus status = 8;
|
|
195
|
+
*/
|
|
196
|
+
status: LabelStatus;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: google.protobuf.Timestamp created_at = 9;
|
|
200
|
+
*/
|
|
201
|
+
createdAt?: Timestamp | undefined;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 10;
|
|
205
|
+
*/
|
|
206
|
+
updatedAt?: Timestamp | undefined;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* optional (share_token -> draft)
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: optional google.protobuf.Timestamp published_at = 11;
|
|
212
|
+
*/
|
|
213
|
+
publishedAt?: Timestamp | undefined;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: optional api.common.v1.AssetRef og_asset = 12;
|
|
217
|
+
*/
|
|
218
|
+
ogAsset?: AssetRef | undefined;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Counts
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: int32 release_count = 13;
|
|
224
|
+
*/
|
|
225
|
+
releaseCount: number;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: int32 artist_count = 14;
|
|
229
|
+
*/
|
|
230
|
+
artistCount: number;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Parent label (if sublabel)
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: optional api.open.v1.LabelSummary parent_label = 15;
|
|
236
|
+
*/
|
|
237
|
+
parentLabel?: LabelSummary | undefined;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Shallow lists (first 12 items for preview)
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: repeated api.open.v1.LabelArtist artists = 16;
|
|
243
|
+
*/
|
|
244
|
+
artists: LabelArtist[];
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: repeated api.open.v1.LabelRelease releases = 17;
|
|
248
|
+
*/
|
|
249
|
+
releases: LabelRelease[];
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: optional api.open.v1.LocalizationInfo localization_info = 18;
|
|
253
|
+
*/
|
|
254
|
+
localizationInfo?: LocalizationInfo | undefined;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: optional api.common.v1.AssetRef image_light_asset = 19;
|
|
258
|
+
*/
|
|
259
|
+
imageLightAsset?: AssetRef | undefined;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: optional api.common.v1.AssetRef image_dark_asset = 20;
|
|
263
|
+
*/
|
|
264
|
+
imageDarkAsset?: AssetRef | undefined;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string revision = 21;
|
|
268
|
+
*/
|
|
269
|
+
revision: string;
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Describes the message api.open.v1.Label.
|
|
274
|
+
* Use `create(LabelSchema)` to create a new message.
|
|
275
|
+
*/
|
|
276
|
+
export const LabelSchema: GenMessage<Label> =
|
|
277
|
+
/*@__PURE__*/
|
|
278
|
+
messageDesc(file_api_open_v1_label, 4);
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @generated from message api.open.v1.LabelArtist
|
|
282
|
+
*/
|
|
283
|
+
export type LabelArtist = Message<"api.open.v1.LabelArtist"> & {
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: string id = 1;
|
|
286
|
+
*/
|
|
287
|
+
id: string;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @generated from field: string name = 2;
|
|
291
|
+
*/
|
|
292
|
+
name: string;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* @generated from field: optional string slug = 3;
|
|
296
|
+
*/
|
|
297
|
+
slug?: string | undefined;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @generated from field: optional api.common.v1.AssetRef image_asset = 4;
|
|
301
|
+
*/
|
|
302
|
+
imageAsset?: AssetRef | undefined;
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Describes the message api.open.v1.LabelArtist.
|
|
307
|
+
* Use `create(LabelArtistSchema)` to create a new message.
|
|
308
|
+
*/
|
|
309
|
+
export const LabelArtistSchema: GenMessage<LabelArtist> =
|
|
310
|
+
/*@__PURE__*/
|
|
311
|
+
messageDesc(file_api_open_v1_label, 5);
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* @generated from message api.open.v1.LabelRelease
|
|
315
|
+
*/
|
|
316
|
+
export type LabelRelease = Message<"api.open.v1.LabelRelease"> & {
|
|
317
|
+
/**
|
|
318
|
+
* @generated from field: string id = 1;
|
|
319
|
+
*/
|
|
320
|
+
id: string;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* @generated from field: string title = 2;
|
|
324
|
+
*/
|
|
325
|
+
title: string;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @generated from field: optional string slug = 3;
|
|
329
|
+
*/
|
|
330
|
+
slug?: string | undefined;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* album, ep, single, compilation
|
|
334
|
+
*
|
|
335
|
+
* @generated from field: string type = 4;
|
|
336
|
+
*/
|
|
337
|
+
type: string;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* @generated from field: optional google.protobuf.Timestamp release_date = 5;
|
|
341
|
+
*/
|
|
342
|
+
releaseDate?: Timestamp | undefined;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: google.protobuf.Timestamp published_at = 6;
|
|
346
|
+
*/
|
|
347
|
+
publishedAt?: Timestamp | undefined;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: repeated api.open.v1.LabelReleaseArtist artists = 7;
|
|
351
|
+
*/
|
|
352
|
+
artists: LabelReleaseArtist[];
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: optional api.common.v1.AssetRef artwork_asset = 8;
|
|
356
|
+
*/
|
|
357
|
+
artworkAsset?: AssetRef | undefined;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Describes the message api.open.v1.LabelRelease.
|
|
362
|
+
* Use `create(LabelReleaseSchema)` to create a new message.
|
|
363
|
+
*/
|
|
364
|
+
export const LabelReleaseSchema: GenMessage<LabelRelease> =
|
|
365
|
+
/*@__PURE__*/
|
|
366
|
+
messageDesc(file_api_open_v1_label, 6);
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @generated from message api.open.v1.LabelReleaseArtist
|
|
370
|
+
*/
|
|
371
|
+
export type LabelReleaseArtist = Message<"api.open.v1.LabelReleaseArtist"> & {
|
|
372
|
+
/**
|
|
373
|
+
* @generated from field: string id = 1;
|
|
374
|
+
*/
|
|
375
|
+
id: string;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* @generated from field: string name = 2;
|
|
379
|
+
*/
|
|
380
|
+
name: string;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* @generated from field: optional string slug = 3;
|
|
384
|
+
*/
|
|
385
|
+
slug?: string | undefined;
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Describes the message api.open.v1.LabelReleaseArtist.
|
|
390
|
+
* Use `create(LabelReleaseArtistSchema)` to create a new message.
|
|
391
|
+
*/
|
|
392
|
+
export const LabelReleaseArtistSchema: GenMessage<LabelReleaseArtist> =
|
|
393
|
+
/*@__PURE__*/
|
|
394
|
+
messageDesc(file_api_open_v1_label, 7);
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* @generated from message api.open.v1.LabelSummary
|
|
398
|
+
*/
|
|
399
|
+
export type LabelSummary = Message<"api.open.v1.LabelSummary"> & {
|
|
400
|
+
/**
|
|
401
|
+
* @generated from field: string id = 1;
|
|
402
|
+
*/
|
|
403
|
+
id: string;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: string name = 2;
|
|
407
|
+
*/
|
|
408
|
+
name: string;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: optional string slug = 3;
|
|
412
|
+
*/
|
|
413
|
+
slug?: string | undefined;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: optional string country_code = 4;
|
|
417
|
+
*/
|
|
418
|
+
countryCode?: string | undefined;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* for List (published only)
|
|
422
|
+
*
|
|
423
|
+
* @generated from field: optional google.protobuf.Timestamp published_at = 5;
|
|
424
|
+
*/
|
|
425
|
+
publishedAt?: Timestamp | undefined;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* @generated from field: optional api.common.v1.AssetRef og_asset = 6;
|
|
429
|
+
*/
|
|
430
|
+
ogAsset?: AssetRef | undefined;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* @generated from field: optional api.common.v1.AssetRef image_light_asset = 7;
|
|
434
|
+
*/
|
|
435
|
+
imageLightAsset?: AssetRef | undefined;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: optional api.common.v1.AssetRef image_dark_asset = 8;
|
|
439
|
+
*/
|
|
440
|
+
imageDarkAsset?: AssetRef | undefined;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: optional string website = 9;
|
|
444
|
+
*/
|
|
445
|
+
website?: string | undefined;
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Describes the message api.open.v1.LabelSummary.
|
|
450
|
+
* Use `create(LabelSummarySchema)` to create a new message.
|
|
451
|
+
*/
|
|
452
|
+
export const LabelSummarySchema: GenMessage<LabelSummary> =
|
|
453
|
+
/*@__PURE__*/
|
|
454
|
+
messageDesc(file_api_open_v1_label, 8);
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @generated from enum api.open.v1.LabelStatus
|
|
458
|
+
*/
|
|
459
|
+
export enum LabelStatus {
|
|
460
|
+
/**
|
|
461
|
+
* @generated from enum value: LABEL_STATUS_UNSPECIFIED = 0;
|
|
462
|
+
*/
|
|
463
|
+
UNSPECIFIED = 0,
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* @generated from enum value: LABEL_STATUS_DRAFT = 1;
|
|
467
|
+
*/
|
|
468
|
+
DRAFT = 1,
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* @generated from enum value: LABEL_STATUS_PUBLISHED = 2;
|
|
472
|
+
*/
|
|
473
|
+
PUBLISHED = 2,
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Describes the enum api.open.v1.LabelStatus.
|
|
478
|
+
*/
|
|
479
|
+
export const LabelStatusSchema: GenEnum<LabelStatus> =
|
|
480
|
+
/*@__PURE__*/
|
|
481
|
+
enumDesc(file_api_open_v1_label, 0);
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* LabelService provides public label access
|
|
485
|
+
*
|
|
486
|
+
* @generated from service api.open.v1.LabelService
|
|
487
|
+
*/
|
|
488
|
+
export const LabelService: GenService<{
|
|
489
|
+
/**
|
|
490
|
+
* List returns non-draft labels with filter support
|
|
491
|
+
*
|
|
492
|
+
* @generated from rpc api.open.v1.LabelService.List
|
|
493
|
+
*/
|
|
494
|
+
list: {
|
|
495
|
+
methodKind: "unary";
|
|
496
|
+
input: typeof ListLabelsRequestSchema;
|
|
497
|
+
output: typeof ListLabelsResponseSchema;
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* Get retrieves a label by slug or ID
|
|
501
|
+
* - Server tries slug first, then ID (same as Release/Work pattern)
|
|
502
|
+
* - share_token allows access to draft labels
|
|
503
|
+
* - Includes release and artist counts
|
|
504
|
+
*
|
|
505
|
+
* @generated from rpc api.open.v1.LabelService.Get
|
|
506
|
+
*/
|
|
507
|
+
get: {
|
|
508
|
+
methodKind: "unary";
|
|
509
|
+
input: typeof GetLabelRequestSchema;
|
|
510
|
+
output: typeof GetLabelResponseSchema;
|
|
511
|
+
};
|
|
512
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_label, 0);
|