@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,321 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/manage/v1/format.proto (package api.manage.v1, syntax proto3)
3
+ import type {
4
+ GenFile,
5
+ GenMessage,
6
+ GenService,
7
+ } from "@bufbuild/protobuf/codegenv2";
8
+ import {
9
+ fileDesc,
10
+ messageDesc,
11
+ serviceDesc,
12
+ } from "@bufbuild/protobuf/codegenv2";
13
+ import type {
14
+ FilterSpec,
15
+ PaginationRequest,
16
+ PaginationResponse,
17
+ SortSpec,
18
+ } from "../../common/v1/common_pb.ts";
19
+ import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
20
+ import type { DeleteResponseSchema } from "./common_pb.ts";
21
+ import { file_api_manage_v1_common } from "./common_pb.ts";
22
+ import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file api/manage/v1/format.proto.
27
+ */
28
+ export const file_api_manage_v1_format: GenFile =
29
+ /*@__PURE__*/
30
+ fileDesc(
31
+ "ChphcGkvbWFuYWdlL3YxL2Zvcm1hdC5wcm90bxINYXBpLm1hbmFnZS52MSIwCgZGb3JtYXQSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCgRzbHVnGAMgASgJIk8KD0Zvcm1hdFdpdGhTdGF0cxIlCgZmb3JtYXQYASABKAsyFS5hcGkubWFuYWdlLnYxLkZvcm1hdBIVCg1yZWxlYXNlX2NvdW50GAIgASgFIp4BChJMaXN0Rm9ybWF0c1JlcXVlc3QSNAoKcGFnaW5hdGlvbhgBIAEoCzIgLmFwaS5jb21tb24udjEuUGFnaW5hdGlvblJlcXVlc3QSKgoHZmlsdGVycxgCIAMoCzIZLmFwaS5jb21tb24udjEuRmlsdGVyU3BlYxImCgVzb3J0cxgDIAMoCzIXLmFwaS5jb21tb24udjEuU29ydFNwZWMidAoTTGlzdEZvcm1hdHNSZXNwb25zZRImCgdmb3JtYXRzGAEgAygLMhUuYXBpLm1hbmFnZS52MS5Gb3JtYXQSNQoKcGFnaW5hdGlvbhgCIAEoCzIhLmFwaS5jb21tb24udjEuUGFnaW5hdGlvblJlc3BvbnNlIqMBChdMaXN0Rm9ybWF0c0FkbWluUmVxdWVzdBI0CgpwYWdpbmF0aW9uGAEgASgLMiAuYXBpLmNvbW1vbi52MS5QYWdpbmF0aW9uUmVxdWVzdBIqCgdmaWx0ZXJzGAIgAygLMhkuYXBpLmNvbW1vbi52MS5GaWx0ZXJTcGVjEiYKBXNvcnRzGAMgAygLMhcuYXBpLmNvbW1vbi52MS5Tb3J0U3BlYyKCAQoYTGlzdEZvcm1hdHNBZG1pblJlc3BvbnNlEi8KB2Zvcm1hdHMYASADKAsyHi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YXRQcm90b1ABWj1naXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvbWFuYWdlL3YxO21hbmFnZXYxogIDQU1YqgINQXBpLk1hbmFnZS5WMcoCDUFwaVxNYW5hZ2VcVjHiAhlBcGlcTWFuYWdlXFYxXEdQQk1ldGFkYXRh6gIPQXBpOjpNYW5hZ2U6OlYxYgZwcm90bzM",
32
+ [
33
+ file_api_common_v1_common,
34
+ file_api_manage_v1_common,
35
+ file_api_policy_v1_access,
36
+ ],
37
+ );
38
+
39
+ /**
40
+ * @generated from message api.manage.v1.Format
41
+ */
42
+ export type Format = Message<"api.manage.v1.Format"> & {
43
+ /**
44
+ * @generated from field: string id = 1;
45
+ */
46
+ id: string;
47
+
48
+ /**
49
+ * @generated from field: string name = 2;
50
+ */
51
+ name: string;
52
+
53
+ /**
54
+ * @generated from field: string slug = 3;
55
+ */
56
+ slug: string;
57
+ };
58
+
59
+ /**
60
+ * Describes the message api.manage.v1.Format.
61
+ * Use `create(FormatSchema)` to create a new message.
62
+ */
63
+ export const FormatSchema: GenMessage<Format> =
64
+ /*@__PURE__*/
65
+ messageDesc(file_api_manage_v1_format, 0);
66
+
67
+ /**
68
+ * Format with release count for admin list
69
+ *
70
+ * @generated from message api.manage.v1.FormatWithStats
71
+ */
72
+ export type FormatWithStats = Message<"api.manage.v1.FormatWithStats"> & {
73
+ /**
74
+ * @generated from field: api.manage.v1.Format format = 1;
75
+ */
76
+ format?: Format | undefined;
77
+
78
+ /**
79
+ * @generated from field: int32 release_count = 2;
80
+ */
81
+ releaseCount: number;
82
+ };
83
+
84
+ /**
85
+ * Describes the message api.manage.v1.FormatWithStats.
86
+ * Use `create(FormatWithStatsSchema)` to create a new message.
87
+ */
88
+ export const FormatWithStatsSchema: GenMessage<FormatWithStats> =
89
+ /*@__PURE__*/
90
+ messageDesc(file_api_manage_v1_format, 1);
91
+
92
+ /**
93
+ * @generated from message api.manage.v1.ListFormatsRequest
94
+ */
95
+ export type ListFormatsRequest = Message<"api.manage.v1.ListFormatsRequest"> & {
96
+ /**
97
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
98
+ */
99
+ pagination?: PaginationRequest | undefined;
100
+
101
+ /**
102
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
103
+ */
104
+ filters: FilterSpec[];
105
+
106
+ /**
107
+ * Default: name ASC
108
+ *
109
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
110
+ */
111
+ sorts: SortSpec[];
112
+ };
113
+
114
+ /**
115
+ * Describes the message api.manage.v1.ListFormatsRequest.
116
+ * Use `create(ListFormatsRequestSchema)` to create a new message.
117
+ */
118
+ export const ListFormatsRequestSchema: GenMessage<ListFormatsRequest> =
119
+ /*@__PURE__*/
120
+ messageDesc(file_api_manage_v1_format, 2);
121
+
122
+ /**
123
+ * @generated from message api.manage.v1.ListFormatsResponse
124
+ */
125
+ export type ListFormatsResponse =
126
+ Message<"api.manage.v1.ListFormatsResponse"> & {
127
+ /**
128
+ * @generated from field: repeated api.manage.v1.Format formats = 1;
129
+ */
130
+ formats: Format[];
131
+
132
+ /**
133
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
134
+ */
135
+ pagination?: PaginationResponse | undefined;
136
+ };
137
+
138
+ /**
139
+ * Describes the message api.manage.v1.ListFormatsResponse.
140
+ * Use `create(ListFormatsResponseSchema)` to create a new message.
141
+ */
142
+ export const ListFormatsResponseSchema: GenMessage<ListFormatsResponse> =
143
+ /*@__PURE__*/
144
+ messageDesc(file_api_manage_v1_format, 3);
145
+
146
+ /**
147
+ * @generated from message api.manage.v1.ListFormatsAdminRequest
148
+ */
149
+ export type ListFormatsAdminRequest =
150
+ Message<"api.manage.v1.ListFormatsAdminRequest"> & {
151
+ /**
152
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
153
+ */
154
+ pagination?: PaginationRequest | undefined;
155
+
156
+ /**
157
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
158
+ */
159
+ filters: FilterSpec[];
160
+
161
+ /**
162
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
163
+ */
164
+ sorts: SortSpec[];
165
+ };
166
+
167
+ /**
168
+ * Describes the message api.manage.v1.ListFormatsAdminRequest.
169
+ * Use `create(ListFormatsAdminRequestSchema)` to create a new message.
170
+ */
171
+ export const ListFormatsAdminRequestSchema: GenMessage<ListFormatsAdminRequest> =
172
+ /*@__PURE__*/
173
+ messageDesc(file_api_manage_v1_format, 4);
174
+
175
+ /**
176
+ * @generated from message api.manage.v1.ListFormatsAdminResponse
177
+ */
178
+ export type ListFormatsAdminResponse =
179
+ Message<"api.manage.v1.ListFormatsAdminResponse"> & {
180
+ /**
181
+ * @generated from field: repeated api.manage.v1.FormatWithStats formats = 1;
182
+ */
183
+ formats: FormatWithStats[];
184
+
185
+ /**
186
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
187
+ */
188
+ pagination?: PaginationResponse | undefined;
189
+ };
190
+
191
+ /**
192
+ * Describes the message api.manage.v1.ListFormatsAdminResponse.
193
+ * Use `create(ListFormatsAdminResponseSchema)` to create a new message.
194
+ */
195
+ export const ListFormatsAdminResponseSchema: GenMessage<ListFormatsAdminResponse> =
196
+ /*@__PURE__*/
197
+ messageDesc(file_api_manage_v1_format, 5);
198
+
199
+ /**
200
+ * @generated from message api.manage.v1.CreateFormatRequest
201
+ */
202
+ export type CreateFormatRequest =
203
+ Message<"api.manage.v1.CreateFormatRequest"> & {
204
+ /**
205
+ * @generated from field: string name = 1;
206
+ */
207
+ name: string;
208
+
209
+ /**
210
+ * @generated from field: optional string slug = 2;
211
+ */
212
+ slug?: string | undefined;
213
+ };
214
+
215
+ /**
216
+ * Describes the message api.manage.v1.CreateFormatRequest.
217
+ * Use `create(CreateFormatRequestSchema)` to create a new message.
218
+ */
219
+ export const CreateFormatRequestSchema: GenMessage<CreateFormatRequest> =
220
+ /*@__PURE__*/
221
+ messageDesc(file_api_manage_v1_format, 6);
222
+
223
+ /**
224
+ * @generated from message api.manage.v1.UpdateFormatRequest
225
+ */
226
+ export type UpdateFormatRequest =
227
+ Message<"api.manage.v1.UpdateFormatRequest"> & {
228
+ /**
229
+ * @generated from field: string id = 1;
230
+ */
231
+ id: string;
232
+
233
+ /**
234
+ * @generated from field: optional string name = 2;
235
+ */
236
+ name?: string | undefined;
237
+
238
+ /**
239
+ * @generated from field: optional string slug = 3;
240
+ */
241
+ slug?: string | undefined;
242
+ };
243
+
244
+ /**
245
+ * Describes the message api.manage.v1.UpdateFormatRequest.
246
+ * Use `create(UpdateFormatRequestSchema)` to create a new message.
247
+ */
248
+ export const UpdateFormatRequestSchema: GenMessage<UpdateFormatRequest> =
249
+ /*@__PURE__*/
250
+ messageDesc(file_api_manage_v1_format, 7);
251
+
252
+ /**
253
+ * @generated from message api.manage.v1.DeleteFormatRequest
254
+ */
255
+ export type DeleteFormatRequest =
256
+ Message<"api.manage.v1.DeleteFormatRequest"> & {
257
+ /**
258
+ * @generated from field: string id = 1;
259
+ */
260
+ id: string;
261
+ };
262
+
263
+ /**
264
+ * Describes the message api.manage.v1.DeleteFormatRequest.
265
+ * Use `create(DeleteFormatRequestSchema)` to create a new message.
266
+ */
267
+ export const DeleteFormatRequestSchema: GenMessage<DeleteFormatRequest> =
268
+ /*@__PURE__*/
269
+ messageDesc(file_api_manage_v1_format, 8);
270
+
271
+ /**
272
+ * Format Service
273
+ *
274
+ * @generated from service api.manage.v1.FormatService
275
+ */
276
+ export const FormatService: GenService<{
277
+ /**
278
+ * Public
279
+ *
280
+ * @generated from rpc api.manage.v1.FormatService.ListFormats
281
+ */
282
+ listFormats: {
283
+ methodKind: "unary";
284
+ input: typeof ListFormatsRequestSchema;
285
+ output: typeof ListFormatsResponseSchema;
286
+ };
287
+ /**
288
+ * Admin
289
+ *
290
+ * @generated from rpc api.manage.v1.FormatService.ListFormatsAdmin
291
+ */
292
+ listFormatsAdmin: {
293
+ methodKind: "unary";
294
+ input: typeof ListFormatsAdminRequestSchema;
295
+ output: typeof ListFormatsAdminResponseSchema;
296
+ };
297
+ /**
298
+ * @generated from rpc api.manage.v1.FormatService.CreateFormat
299
+ */
300
+ createFormat: {
301
+ methodKind: "unary";
302
+ input: typeof CreateFormatRequestSchema;
303
+ output: typeof FormatSchema;
304
+ };
305
+ /**
306
+ * @generated from rpc api.manage.v1.FormatService.UpdateFormat
307
+ */
308
+ updateFormat: {
309
+ methodKind: "unary";
310
+ input: typeof UpdateFormatRequestSchema;
311
+ output: typeof FormatSchema;
312
+ };
313
+ /**
314
+ * @generated from rpc api.manage.v1.FormatService.DeleteFormat
315
+ */
316
+ deleteFormat: {
317
+ methodKind: "unary";
318
+ input: typeof DeleteFormatRequestSchema;
319
+ output: typeof DeleteResponseSchema;
320
+ };
321
+ }> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_format, 0);
@@ -0,0 +1,340 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/manage/v1/genre.proto (package api.manage.v1, syntax proto3)
3
+ import type {
4
+ GenFile,
5
+ GenMessage,
6
+ GenService,
7
+ } from "@bufbuild/protobuf/codegenv2";
8
+ import {
9
+ fileDesc,
10
+ messageDesc,
11
+ serviceDesc,
12
+ } from "@bufbuild/protobuf/codegenv2";
13
+ import type {
14
+ FilterSpec,
15
+ PaginationRequest,
16
+ PaginationResponse,
17
+ SortSpec,
18
+ } from "../../common/v1/common_pb.ts";
19
+ import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
20
+ import type { DeleteResponseSchema } from "./common_pb.ts";
21
+ import { file_api_manage_v1_common } from "./common_pb.ts";
22
+ import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
23
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
24
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
25
+ import type { Message } from "@bufbuild/protobuf";
26
+
27
+ /**
28
+ * Describes the file api/manage/v1/genre.proto.
29
+ */
30
+ export const file_api_manage_v1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xgCCARCtAEKEWNvbS5hcGkubWFuYWdlLnYxQgpHZW5yZVByb3RvUAFaPWdpdGh1Yi5jb20vZHN1Yi1pby9ldmVudC1jb250cmFjdHMvZ2VuL2FwaS9tYW5hZ2UvdjE7bWFuYWdldjGiAgNBTViqAg1BcGkuTWFuYWdlLlYxygINQXBpXE1hbmFnZVxWMeICGUFwaVxNYW5hZ2VcVjFcR1BCTWV0YWRhdGHqAg9BcGk6Ok1hbmFnZTo6VjFiBnByb3RvMw",
34
+ [
35
+ file_api_common_v1_common,
36
+ file_api_manage_v1_common,
37
+ file_api_policy_v1_access,
38
+ file_google_protobuf_timestamp,
39
+ ],
40
+ );
41
+
42
+ /**
43
+ * @generated from message api.manage.v1.Genre
44
+ */
45
+ export type Genre = Message<"api.manage.v1.Genre"> & {
46
+ /**
47
+ * @generated from field: string id = 1;
48
+ */
49
+ id: string;
50
+
51
+ /**
52
+ * @generated from field: string name = 2;
53
+ */
54
+ name: string;
55
+
56
+ /**
57
+ * @generated from field: string slug = 3;
58
+ */
59
+ slug: string;
60
+
61
+ /**
62
+ * @generated from field: optional string description = 4;
63
+ */
64
+ description?: string | undefined;
65
+
66
+ /**
67
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
68
+ */
69
+ createdAt?: Timestamp | undefined;
70
+ };
71
+
72
+ /**
73
+ * Describes the message api.manage.v1.Genre.
74
+ * Use `create(GenreSchema)` to create a new message.
75
+ */
76
+ export const GenreSchema: GenMessage<Genre> =
77
+ /*@__PURE__*/
78
+ messageDesc(file_api_manage_v1_genre, 0);
79
+
80
+ /**
81
+ * Genre with release count for admin list
82
+ *
83
+ * @generated from message api.manage.v1.GenreWithStats
84
+ */
85
+ export type GenreWithStats = Message<"api.manage.v1.GenreWithStats"> & {
86
+ /**
87
+ * @generated from field: api.manage.v1.Genre genre = 1;
88
+ */
89
+ genre?: Genre | undefined;
90
+
91
+ /**
92
+ * @generated from field: int32 release_count = 2;
93
+ */
94
+ releaseCount: number;
95
+ };
96
+
97
+ /**
98
+ * Describes the message api.manage.v1.GenreWithStats.
99
+ * Use `create(GenreWithStatsSchema)` to create a new message.
100
+ */
101
+ export const GenreWithStatsSchema: GenMessage<GenreWithStats> =
102
+ /*@__PURE__*/
103
+ messageDesc(file_api_manage_v1_genre, 1);
104
+
105
+ /**
106
+ * @generated from message api.manage.v1.ListGenresRequest
107
+ */
108
+ export type ListGenresRequest = Message<"api.manage.v1.ListGenresRequest"> & {
109
+ /**
110
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
111
+ */
112
+ pagination?: PaginationRequest | undefined;
113
+
114
+ /**
115
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
116
+ */
117
+ filters: FilterSpec[];
118
+
119
+ /**
120
+ * Default: name ASC
121
+ *
122
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
123
+ */
124
+ sorts: SortSpec[];
125
+ };
126
+
127
+ /**
128
+ * Describes the message api.manage.v1.ListGenresRequest.
129
+ * Use `create(ListGenresRequestSchema)` to create a new message.
130
+ */
131
+ export const ListGenresRequestSchema: GenMessage<ListGenresRequest> =
132
+ /*@__PURE__*/
133
+ messageDesc(file_api_manage_v1_genre, 2);
134
+
135
+ /**
136
+ * @generated from message api.manage.v1.ListGenresResponse
137
+ */
138
+ export type ListGenresResponse = Message<"api.manage.v1.ListGenresResponse"> & {
139
+ /**
140
+ * @generated from field: repeated api.manage.v1.Genre genres = 1;
141
+ */
142
+ genres: Genre[];
143
+
144
+ /**
145
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
146
+ */
147
+ pagination?: PaginationResponse | undefined;
148
+ };
149
+
150
+ /**
151
+ * Describes the message api.manage.v1.ListGenresResponse.
152
+ * Use `create(ListGenresResponseSchema)` to create a new message.
153
+ */
154
+ export const ListGenresResponseSchema: GenMessage<ListGenresResponse> =
155
+ /*@__PURE__*/
156
+ messageDesc(file_api_manage_v1_genre, 3);
157
+
158
+ /**
159
+ * @generated from message api.manage.v1.ListGenresAdminRequest
160
+ */
161
+ export type ListGenresAdminRequest =
162
+ Message<"api.manage.v1.ListGenresAdminRequest"> & {
163
+ /**
164
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
165
+ */
166
+ pagination?: PaginationRequest | undefined;
167
+
168
+ /**
169
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
170
+ */
171
+ filters: FilterSpec[];
172
+
173
+ /**
174
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
175
+ */
176
+ sorts: SortSpec[];
177
+ };
178
+
179
+ /**
180
+ * Describes the message api.manage.v1.ListGenresAdminRequest.
181
+ * Use `create(ListGenresAdminRequestSchema)` to create a new message.
182
+ */
183
+ export const ListGenresAdminRequestSchema: GenMessage<ListGenresAdminRequest> =
184
+ /*@__PURE__*/
185
+ messageDesc(file_api_manage_v1_genre, 4);
186
+
187
+ /**
188
+ * @generated from message api.manage.v1.ListGenresAdminResponse
189
+ */
190
+ export type ListGenresAdminResponse =
191
+ Message<"api.manage.v1.ListGenresAdminResponse"> & {
192
+ /**
193
+ * @generated from field: repeated api.manage.v1.GenreWithStats genres = 1;
194
+ */
195
+ genres: GenreWithStats[];
196
+
197
+ /**
198
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
199
+ */
200
+ pagination?: PaginationResponse | undefined;
201
+ };
202
+
203
+ /**
204
+ * Describes the message api.manage.v1.ListGenresAdminResponse.
205
+ * Use `create(ListGenresAdminResponseSchema)` to create a new message.
206
+ */
207
+ export const ListGenresAdminResponseSchema: GenMessage<ListGenresAdminResponse> =
208
+ /*@__PURE__*/
209
+ messageDesc(file_api_manage_v1_genre, 5);
210
+
211
+ /**
212
+ * @generated from message api.manage.v1.CreateGenreRequest
213
+ */
214
+ export type CreateGenreRequest = Message<"api.manage.v1.CreateGenreRequest"> & {
215
+ /**
216
+ * @generated from field: string name = 1;
217
+ */
218
+ name: string;
219
+
220
+ /**
221
+ * @generated from field: optional string slug = 2;
222
+ */
223
+ slug?: string | undefined;
224
+
225
+ /**
226
+ * @generated from field: optional string description = 3;
227
+ */
228
+ description?: string | undefined;
229
+ };
230
+
231
+ /**
232
+ * Describes the message api.manage.v1.CreateGenreRequest.
233
+ * Use `create(CreateGenreRequestSchema)` to create a new message.
234
+ */
235
+ export const CreateGenreRequestSchema: GenMessage<CreateGenreRequest> =
236
+ /*@__PURE__*/
237
+ messageDesc(file_api_manage_v1_genre, 6);
238
+
239
+ /**
240
+ * @generated from message api.manage.v1.UpdateGenreRequest
241
+ */
242
+ export type UpdateGenreRequest = Message<"api.manage.v1.UpdateGenreRequest"> & {
243
+ /**
244
+ * @generated from field: string id = 1;
245
+ */
246
+ id: string;
247
+
248
+ /**
249
+ * @generated from field: optional string name = 2;
250
+ */
251
+ name?: string | undefined;
252
+
253
+ /**
254
+ * @generated from field: optional string slug = 3;
255
+ */
256
+ slug?: string | undefined;
257
+
258
+ /**
259
+ * @generated from field: optional string description = 4;
260
+ */
261
+ description?: string | undefined;
262
+ };
263
+
264
+ /**
265
+ * Describes the message api.manage.v1.UpdateGenreRequest.
266
+ * Use `create(UpdateGenreRequestSchema)` to create a new message.
267
+ */
268
+ export const UpdateGenreRequestSchema: GenMessage<UpdateGenreRequest> =
269
+ /*@__PURE__*/
270
+ messageDesc(file_api_manage_v1_genre, 7);
271
+
272
+ /**
273
+ * @generated from message api.manage.v1.DeleteGenreRequest
274
+ */
275
+ export type DeleteGenreRequest = Message<"api.manage.v1.DeleteGenreRequest"> & {
276
+ /**
277
+ * @generated from field: string id = 1;
278
+ */
279
+ id: string;
280
+ };
281
+
282
+ /**
283
+ * Describes the message api.manage.v1.DeleteGenreRequest.
284
+ * Use `create(DeleteGenreRequestSchema)` to create a new message.
285
+ */
286
+ export const DeleteGenreRequestSchema: GenMessage<DeleteGenreRequest> =
287
+ /*@__PURE__*/
288
+ messageDesc(file_api_manage_v1_genre, 8);
289
+
290
+ /**
291
+ * Genre Service
292
+ *
293
+ * @generated from service api.manage.v1.GenreService
294
+ */
295
+ export const GenreService: GenService<{
296
+ /**
297
+ * Public
298
+ *
299
+ * @generated from rpc api.manage.v1.GenreService.ListGenres
300
+ */
301
+ listGenres: {
302
+ methodKind: "unary";
303
+ input: typeof ListGenresRequestSchema;
304
+ output: typeof ListGenresResponseSchema;
305
+ };
306
+ /**
307
+ * Admin
308
+ *
309
+ * @generated from rpc api.manage.v1.GenreService.ListGenresAdmin
310
+ */
311
+ listGenresAdmin: {
312
+ methodKind: "unary";
313
+ input: typeof ListGenresAdminRequestSchema;
314
+ output: typeof ListGenresAdminResponseSchema;
315
+ };
316
+ /**
317
+ * @generated from rpc api.manage.v1.GenreService.CreateGenre
318
+ */
319
+ createGenre: {
320
+ methodKind: "unary";
321
+ input: typeof CreateGenreRequestSchema;
322
+ output: typeof GenreSchema;
323
+ };
324
+ /**
325
+ * @generated from rpc api.manage.v1.GenreService.UpdateGenre
326
+ */
327
+ updateGenre: {
328
+ methodKind: "unary";
329
+ input: typeof UpdateGenreRequestSchema;
330
+ output: typeof GenreSchema;
331
+ };
332
+ /**
333
+ * @generated from rpc api.manage.v1.GenreService.DeleteGenre
334
+ */
335
+ deleteGenre: {
336
+ methodKind: "unary";
337
+ input: typeof DeleteGenreRequestSchema;
338
+ output: typeof DeleteResponseSchema;
339
+ };
340
+ }> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_genre, 0);