@misofm/api-client 0.5.0 → 0.5.2

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.
@@ -0,0 +1,1314 @@
1
+ import { z } from "zod";
2
+ /** A u64/u128 in base units, as a decimal string. See the file header. */
3
+ export declare const u64Schema: z.ZodString;
4
+ /** A 0x-prefixed 32-byte Sui object id or address, in canonical form. */
5
+ export declare const suiIdSchema: z.ZodString;
6
+ /** A 32-byte Walrus blob id encoded as URL-safe, unpadded base64. */
7
+ export declare const walrusBlobIdSchema: z.ZodString;
8
+ export declare const workStateSchema: z.ZodUnion<readonly [z.ZodObject<{
9
+ type: z.ZodLiteral<"Initialized">;
10
+ }, z.core.$strip>, z.ZodObject<{
11
+ type: z.ZodLiteral<"Published">;
12
+ timestampMs: z.ZodNumber;
13
+ }, z.core.$strip>]>;
14
+ export declare const coverImageSchema: z.ZodObject<{
15
+ kind: z.ZodEnum<{
16
+ blob: "blob";
17
+ quiltPatch: "quiltPatch";
18
+ }>;
19
+ url: z.ZodString;
20
+ }, z.core.$strip>;
21
+ export declare const coverSchema: z.ZodObject<{
22
+ still: z.ZodObject<{
23
+ kind: z.ZodEnum<{
24
+ blob: "blob";
25
+ quiltPatch: "quiltPatch";
26
+ }>;
27
+ url: z.ZodString;
28
+ }, z.core.$strip>;
29
+ animated: z.ZodNullable<z.ZodObject<{
30
+ kind: z.ZodEnum<{
31
+ blob: "blob";
32
+ quiltPatch: "quiltPatch";
33
+ }>;
34
+ url: z.ZodString;
35
+ }, z.core.$strip>>;
36
+ }, z.core.$strip>;
37
+ export declare const creditSchema: z.ZodObject<{
38
+ partyId: z.ZodString;
39
+ displayName: z.ZodString;
40
+ roles: z.ZodArray<z.ZodString>;
41
+ }, z.core.$strip>;
42
+ export declare const trackViewSchema: z.ZodObject<{
43
+ no: z.ZodString;
44
+ title: z.ZodString;
45
+ recordingId: z.ZodString;
46
+ compositionId: z.ZodString;
47
+ splitBps: z.ZodNumber;
48
+ disc: z.ZodNumber;
49
+ masterBlobId: z.ZodOptional<z.ZodString>;
50
+ }, z.core.$strip>;
51
+ /** A recording's work-role credits and recording billing positions. */
52
+ export declare const recordingCreditsSchema: z.ZodObject<{
53
+ credits: z.ZodArray<z.ZodObject<{
54
+ partyId: z.ZodString;
55
+ displayName: z.ZodString;
56
+ roles: z.ZodArray<z.ZodString>;
57
+ }, z.core.$strip>>;
58
+ primaryArtistIds: z.ZodArray<z.ZodString>;
59
+ featuredArtistIds: z.ZodArray<z.ZodString>;
60
+ }, z.core.$strip>;
61
+ /** The HTTP wire accepts the complete shape and the deployed recording-only shape. */
62
+ export declare const trackCreditsWireSchema: z.ZodUnion<readonly [z.ZodObject<{
63
+ compositionCredits: z.ZodArray<z.ZodObject<{
64
+ partyId: z.ZodString;
65
+ displayName: z.ZodString;
66
+ roles: z.ZodArray<z.ZodString>;
67
+ }, z.core.$strip>>;
68
+ recordingCredits: z.ZodObject<{
69
+ credits: z.ZodArray<z.ZodObject<{
70
+ partyId: z.ZodString;
71
+ displayName: z.ZodString;
72
+ roles: z.ZodArray<z.ZodString>;
73
+ }, z.core.$strip>>;
74
+ primaryArtistIds: z.ZodArray<z.ZodString>;
75
+ featuredArtistIds: z.ZodArray<z.ZodString>;
76
+ }, z.core.$strip>;
77
+ }, z.core.$strip>, z.ZodObject<{
78
+ credits: z.ZodArray<z.ZodObject<{
79
+ partyId: z.ZodString;
80
+ displayName: z.ZodString;
81
+ roles: z.ZodArray<z.ZodString>;
82
+ }, z.core.$strip>>;
83
+ primaryArtistIds: z.ZodArray<z.ZodString>;
84
+ featuredArtistIds: z.ZodArray<z.ZodString>;
85
+ }, z.core.$strip>]>;
86
+ /** Clients always receive the complete shape, including during the rollout. */
87
+ export declare const trackCreditsSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
88
+ compositionCredits: z.ZodArray<z.ZodObject<{
89
+ partyId: z.ZodString;
90
+ displayName: z.ZodString;
91
+ roles: z.ZodArray<z.ZodString>;
92
+ }, z.core.$strip>>;
93
+ recordingCredits: z.ZodObject<{
94
+ credits: z.ZodArray<z.ZodObject<{
95
+ partyId: z.ZodString;
96
+ displayName: z.ZodString;
97
+ roles: z.ZodArray<z.ZodString>;
98
+ }, z.core.$strip>>;
99
+ primaryArtistIds: z.ZodArray<z.ZodString>;
100
+ featuredArtistIds: z.ZodArray<z.ZodString>;
101
+ }, z.core.$strip>;
102
+ }, z.core.$strip>, z.ZodObject<{
103
+ credits: z.ZodArray<z.ZodObject<{
104
+ partyId: z.ZodString;
105
+ displayName: z.ZodString;
106
+ roles: z.ZodArray<z.ZodString>;
107
+ }, z.core.$strip>>;
108
+ primaryArtistIds: z.ZodArray<z.ZodString>;
109
+ featuredArtistIds: z.ZodArray<z.ZodString>;
110
+ }, z.core.$strip>]>, z.ZodTransform<{
111
+ compositionCredits: {
112
+ partyId: string;
113
+ displayName: string;
114
+ roles: string[];
115
+ }[];
116
+ recordingCredits: {
117
+ credits: {
118
+ partyId: string;
119
+ displayName: string;
120
+ roles: string[];
121
+ }[];
122
+ primaryArtistIds: string[];
123
+ featuredArtistIds: string[];
124
+ };
125
+ }, {
126
+ credits: {
127
+ partyId: string;
128
+ displayName: string;
129
+ roles: string[];
130
+ }[];
131
+ primaryArtistIds: string[];
132
+ featuredArtistIds: string[];
133
+ } | {
134
+ compositionCredits: {
135
+ partyId: string;
136
+ displayName: string;
137
+ roles: string[];
138
+ }[];
139
+ recordingCredits: {
140
+ credits: {
141
+ partyId: string;
142
+ displayName: string;
143
+ roles: string[];
144
+ }[];
145
+ primaryArtistIds: string[];
146
+ featuredArtistIds: string[];
147
+ };
148
+ }>>;
149
+ /** Transform-free wire form used by OpenAPI generation. */
150
+ export declare const releaseDetailWireSchema: z.ZodObject<{
151
+ id: z.ZodString;
152
+ title: z.ZodString;
153
+ subtitle: z.ZodNullable<z.ZodString>;
154
+ kind: z.ZodNullable<z.ZodString>;
155
+ state: z.ZodUnion<readonly [z.ZodObject<{
156
+ type: z.ZodLiteral<"Initialized">;
157
+ }, z.core.$strip>, z.ZodObject<{
158
+ type: z.ZodLiteral<"Published">;
159
+ timestampMs: z.ZodNumber;
160
+ }, z.core.$strip>]>;
161
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
162
+ cover: z.ZodNullable<z.ZodObject<{
163
+ still: z.ZodObject<{
164
+ kind: z.ZodEnum<{
165
+ blob: "blob";
166
+ quiltPatch: "quiltPatch";
167
+ }>;
168
+ url: z.ZodString;
169
+ }, z.core.$strip>;
170
+ animated: z.ZodNullable<z.ZodObject<{
171
+ kind: z.ZodEnum<{
172
+ blob: "blob";
173
+ quiltPatch: "quiltPatch";
174
+ }>;
175
+ url: z.ZodString;
176
+ }, z.core.$strip>>;
177
+ }, z.core.$strip>>;
178
+ credits: z.ZodArray<z.ZodObject<{
179
+ partyId: z.ZodString;
180
+ displayName: z.ZodString;
181
+ roles: z.ZodArray<z.ZodString>;
182
+ }, z.core.$strip>>;
183
+ primaryArtists: z.ZodArray<z.ZodString>;
184
+ discCount: z.ZodNumber;
185
+ tracks: z.ZodArray<z.ZodObject<{
186
+ no: z.ZodString;
187
+ title: z.ZodString;
188
+ recordingId: z.ZodString;
189
+ compositionId: z.ZodString;
190
+ splitBps: z.ZodNumber;
191
+ disc: z.ZodNumber;
192
+ masterBlobId: z.ZodOptional<z.ZodString>;
193
+ }, z.core.$strip>>;
194
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
195
+ compositionCredits: z.ZodArray<z.ZodObject<{
196
+ partyId: z.ZodString;
197
+ displayName: z.ZodString;
198
+ roles: z.ZodArray<z.ZodString>;
199
+ }, z.core.$strip>>;
200
+ recordingCredits: z.ZodObject<{
201
+ credits: z.ZodArray<z.ZodObject<{
202
+ partyId: z.ZodString;
203
+ displayName: z.ZodString;
204
+ roles: z.ZodArray<z.ZodString>;
205
+ }, z.core.$strip>>;
206
+ primaryArtistIds: z.ZodArray<z.ZodString>;
207
+ featuredArtistIds: z.ZodArray<z.ZodString>;
208
+ }, z.core.$strip>;
209
+ }, z.core.$strip>, z.ZodObject<{
210
+ credits: z.ZodArray<z.ZodObject<{
211
+ partyId: z.ZodString;
212
+ displayName: z.ZodString;
213
+ roles: z.ZodArray<z.ZodString>;
214
+ }, z.core.$strip>>;
215
+ primaryArtistIds: z.ZodArray<z.ZodString>;
216
+ featuredArtistIds: z.ZodArray<z.ZodString>;
217
+ }, z.core.$strip>]>>>;
218
+ }, z.core.$strip>;
219
+ export declare const releaseDetailSchema: z.ZodObject<{
220
+ id: z.ZodString;
221
+ title: z.ZodString;
222
+ subtitle: z.ZodNullable<z.ZodString>;
223
+ kind: z.ZodNullable<z.ZodString>;
224
+ state: z.ZodUnion<readonly [z.ZodObject<{
225
+ type: z.ZodLiteral<"Initialized">;
226
+ }, z.core.$strip>, z.ZodObject<{
227
+ type: z.ZodLiteral<"Published">;
228
+ timestampMs: z.ZodNumber;
229
+ }, z.core.$strip>]>;
230
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
231
+ cover: z.ZodNullable<z.ZodObject<{
232
+ still: z.ZodObject<{
233
+ kind: z.ZodEnum<{
234
+ blob: "blob";
235
+ quiltPatch: "quiltPatch";
236
+ }>;
237
+ url: z.ZodString;
238
+ }, z.core.$strip>;
239
+ animated: z.ZodNullable<z.ZodObject<{
240
+ kind: z.ZodEnum<{
241
+ blob: "blob";
242
+ quiltPatch: "quiltPatch";
243
+ }>;
244
+ url: z.ZodString;
245
+ }, z.core.$strip>>;
246
+ }, z.core.$strip>>;
247
+ credits: z.ZodArray<z.ZodObject<{
248
+ partyId: z.ZodString;
249
+ displayName: z.ZodString;
250
+ roles: z.ZodArray<z.ZodString>;
251
+ }, z.core.$strip>>;
252
+ primaryArtists: z.ZodArray<z.ZodString>;
253
+ discCount: z.ZodNumber;
254
+ tracks: z.ZodArray<z.ZodObject<{
255
+ no: z.ZodString;
256
+ title: z.ZodString;
257
+ recordingId: z.ZodString;
258
+ compositionId: z.ZodString;
259
+ splitBps: z.ZodNumber;
260
+ disc: z.ZodNumber;
261
+ masterBlobId: z.ZodOptional<z.ZodString>;
262
+ }, z.core.$strip>>;
263
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
264
+ compositionCredits: z.ZodArray<z.ZodObject<{
265
+ partyId: z.ZodString;
266
+ displayName: z.ZodString;
267
+ roles: z.ZodArray<z.ZodString>;
268
+ }, z.core.$strip>>;
269
+ recordingCredits: z.ZodObject<{
270
+ credits: z.ZodArray<z.ZodObject<{
271
+ partyId: z.ZodString;
272
+ displayName: z.ZodString;
273
+ roles: z.ZodArray<z.ZodString>;
274
+ }, z.core.$strip>>;
275
+ primaryArtistIds: z.ZodArray<z.ZodString>;
276
+ featuredArtistIds: z.ZodArray<z.ZodString>;
277
+ }, z.core.$strip>;
278
+ }, z.core.$strip>, z.ZodObject<{
279
+ credits: z.ZodArray<z.ZodObject<{
280
+ partyId: z.ZodString;
281
+ displayName: z.ZodString;
282
+ roles: z.ZodArray<z.ZodString>;
283
+ }, z.core.$strip>>;
284
+ primaryArtistIds: z.ZodArray<z.ZodString>;
285
+ featuredArtistIds: z.ZodArray<z.ZodString>;
286
+ }, z.core.$strip>]>, z.ZodTransform<{
287
+ compositionCredits: {
288
+ partyId: string;
289
+ displayName: string;
290
+ roles: string[];
291
+ }[];
292
+ recordingCredits: {
293
+ credits: {
294
+ partyId: string;
295
+ displayName: string;
296
+ roles: string[];
297
+ }[];
298
+ primaryArtistIds: string[];
299
+ featuredArtistIds: string[];
300
+ };
301
+ }, {
302
+ credits: {
303
+ partyId: string;
304
+ displayName: string;
305
+ roles: string[];
306
+ }[];
307
+ primaryArtistIds: string[];
308
+ featuredArtistIds: string[];
309
+ } | {
310
+ compositionCredits: {
311
+ partyId: string;
312
+ displayName: string;
313
+ roles: string[];
314
+ }[];
315
+ recordingCredits: {
316
+ credits: {
317
+ partyId: string;
318
+ displayName: string;
319
+ roles: string[];
320
+ }[];
321
+ primaryArtistIds: string[];
322
+ featuredArtistIds: string[];
323
+ };
324
+ }>>>>;
325
+ }, z.core.$strip>;
326
+ export declare const priceSchema: z.ZodObject<{
327
+ kind: z.ZodEnum<{
328
+ fixed: "fixed";
329
+ floor: "floor";
330
+ }>;
331
+ amount: z.ZodString;
332
+ }, z.core.$strip>;
333
+ export declare const currencySchema: z.ZodObject<{
334
+ type: z.ZodNullable<z.ZodString>;
335
+ symbol: z.ZodString;
336
+ decimals: z.ZodNumber;
337
+ }, z.core.$strip>;
338
+ export declare const pressingStateSchema: z.ZodUnion<readonly [z.ZodObject<{
339
+ kind: z.ZodLiteral<"scheduled">;
340
+ startTimestampMs: z.ZodNumber;
341
+ }, z.core.$strip>, z.ZodObject<{
342
+ kind: z.ZodLiteral<"active">;
343
+ }, z.core.$strip>, z.ZodObject<{
344
+ kind: z.ZodLiteral<"paused">;
345
+ }, z.core.$strip>]>;
346
+ export declare const pressingViewSchema: z.ZodObject<{
347
+ id: z.ZodString;
348
+ releaseId: z.ZodString;
349
+ state: z.ZodUnion<readonly [z.ZodObject<{
350
+ kind: z.ZodLiteral<"scheduled">;
351
+ startTimestampMs: z.ZodNumber;
352
+ }, z.core.$strip>, z.ZodObject<{
353
+ kind: z.ZodLiteral<"active">;
354
+ }, z.core.$strip>, z.ZodObject<{
355
+ kind: z.ZodLiteral<"paused">;
356
+ }, z.core.$strip>]>;
357
+ supply: z.ZodString;
358
+ }, z.core.$strip>;
359
+ export declare const listingViewSchema: z.ZodObject<{
360
+ id: z.ZodString;
361
+ pressingId: z.ZodString;
362
+ releaseId: z.ZodString;
363
+ price: z.ZodObject<{
364
+ kind: z.ZodEnum<{
365
+ fixed: "fixed";
366
+ floor: "floor";
367
+ }>;
368
+ amount: z.ZodString;
369
+ }, z.core.$strip>;
370
+ currency: z.ZodObject<{
371
+ type: z.ZodNullable<z.ZodString>;
372
+ symbol: z.ZodString;
373
+ decimals: z.ZodNumber;
374
+ }, z.core.$strip>;
375
+ state: z.ZodEnum<{
376
+ enabled: "enabled";
377
+ disabled: "disabled";
378
+ }>;
379
+ }, z.core.$strip>;
380
+ export declare const pressingDetailSchema: z.ZodObject<{
381
+ pressing: z.ZodObject<{
382
+ id: z.ZodString;
383
+ releaseId: z.ZodString;
384
+ state: z.ZodUnion<readonly [z.ZodObject<{
385
+ kind: z.ZodLiteral<"scheduled">;
386
+ startTimestampMs: z.ZodNumber;
387
+ }, z.core.$strip>, z.ZodObject<{
388
+ kind: z.ZodLiteral<"active">;
389
+ }, z.core.$strip>, z.ZodObject<{
390
+ kind: z.ZodLiteral<"paused">;
391
+ }, z.core.$strip>]>;
392
+ supply: z.ZodString;
393
+ }, z.core.$strip>;
394
+ release: z.ZodObject<{
395
+ id: z.ZodString;
396
+ title: z.ZodString;
397
+ subtitle: z.ZodNullable<z.ZodString>;
398
+ kind: z.ZodNullable<z.ZodString>;
399
+ state: z.ZodUnion<readonly [z.ZodObject<{
400
+ type: z.ZodLiteral<"Initialized">;
401
+ }, z.core.$strip>, z.ZodObject<{
402
+ type: z.ZodLiteral<"Published">;
403
+ timestampMs: z.ZodNumber;
404
+ }, z.core.$strip>]>;
405
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
406
+ cover: z.ZodNullable<z.ZodObject<{
407
+ still: z.ZodObject<{
408
+ kind: z.ZodEnum<{
409
+ blob: "blob";
410
+ quiltPatch: "quiltPatch";
411
+ }>;
412
+ url: z.ZodString;
413
+ }, z.core.$strip>;
414
+ animated: z.ZodNullable<z.ZodObject<{
415
+ kind: z.ZodEnum<{
416
+ blob: "blob";
417
+ quiltPatch: "quiltPatch";
418
+ }>;
419
+ url: z.ZodString;
420
+ }, z.core.$strip>>;
421
+ }, z.core.$strip>>;
422
+ credits: z.ZodArray<z.ZodObject<{
423
+ partyId: z.ZodString;
424
+ displayName: z.ZodString;
425
+ roles: z.ZodArray<z.ZodString>;
426
+ }, z.core.$strip>>;
427
+ primaryArtists: z.ZodArray<z.ZodString>;
428
+ discCount: z.ZodNumber;
429
+ tracks: z.ZodArray<z.ZodObject<{
430
+ no: z.ZodString;
431
+ title: z.ZodString;
432
+ recordingId: z.ZodString;
433
+ compositionId: z.ZodString;
434
+ splitBps: z.ZodNumber;
435
+ disc: z.ZodNumber;
436
+ masterBlobId: z.ZodOptional<z.ZodString>;
437
+ }, z.core.$strip>>;
438
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
439
+ compositionCredits: z.ZodArray<z.ZodObject<{
440
+ partyId: z.ZodString;
441
+ displayName: z.ZodString;
442
+ roles: z.ZodArray<z.ZodString>;
443
+ }, z.core.$strip>>;
444
+ recordingCredits: z.ZodObject<{
445
+ credits: z.ZodArray<z.ZodObject<{
446
+ partyId: z.ZodString;
447
+ displayName: z.ZodString;
448
+ roles: z.ZodArray<z.ZodString>;
449
+ }, z.core.$strip>>;
450
+ primaryArtistIds: z.ZodArray<z.ZodString>;
451
+ featuredArtistIds: z.ZodArray<z.ZodString>;
452
+ }, z.core.$strip>;
453
+ }, z.core.$strip>, z.ZodObject<{
454
+ credits: z.ZodArray<z.ZodObject<{
455
+ partyId: z.ZodString;
456
+ displayName: z.ZodString;
457
+ roles: z.ZodArray<z.ZodString>;
458
+ }, z.core.$strip>>;
459
+ primaryArtistIds: z.ZodArray<z.ZodString>;
460
+ featuredArtistIds: z.ZodArray<z.ZodString>;
461
+ }, z.core.$strip>]>, z.ZodTransform<{
462
+ compositionCredits: {
463
+ partyId: string;
464
+ displayName: string;
465
+ roles: string[];
466
+ }[];
467
+ recordingCredits: {
468
+ credits: {
469
+ partyId: string;
470
+ displayName: string;
471
+ roles: string[];
472
+ }[];
473
+ primaryArtistIds: string[];
474
+ featuredArtistIds: string[];
475
+ };
476
+ }, {
477
+ credits: {
478
+ partyId: string;
479
+ displayName: string;
480
+ roles: string[];
481
+ }[];
482
+ primaryArtistIds: string[];
483
+ featuredArtistIds: string[];
484
+ } | {
485
+ compositionCredits: {
486
+ partyId: string;
487
+ displayName: string;
488
+ roles: string[];
489
+ }[];
490
+ recordingCredits: {
491
+ credits: {
492
+ partyId: string;
493
+ displayName: string;
494
+ roles: string[];
495
+ }[];
496
+ primaryArtistIds: string[];
497
+ featuredArtistIds: string[];
498
+ };
499
+ }>>>>;
500
+ }, z.core.$strip>;
501
+ }, z.core.$strip>;
502
+ export declare const pressingDetailWireSchema: z.ZodObject<{
503
+ pressing: z.ZodObject<{
504
+ id: z.ZodString;
505
+ releaseId: z.ZodString;
506
+ state: z.ZodUnion<readonly [z.ZodObject<{
507
+ kind: z.ZodLiteral<"scheduled">;
508
+ startTimestampMs: z.ZodNumber;
509
+ }, z.core.$strip>, z.ZodObject<{
510
+ kind: z.ZodLiteral<"active">;
511
+ }, z.core.$strip>, z.ZodObject<{
512
+ kind: z.ZodLiteral<"paused">;
513
+ }, z.core.$strip>]>;
514
+ supply: z.ZodString;
515
+ }, z.core.$strip>;
516
+ release: z.ZodObject<{
517
+ id: z.ZodString;
518
+ title: z.ZodString;
519
+ subtitle: z.ZodNullable<z.ZodString>;
520
+ kind: z.ZodNullable<z.ZodString>;
521
+ state: z.ZodUnion<readonly [z.ZodObject<{
522
+ type: z.ZodLiteral<"Initialized">;
523
+ }, z.core.$strip>, z.ZodObject<{
524
+ type: z.ZodLiteral<"Published">;
525
+ timestampMs: z.ZodNumber;
526
+ }, z.core.$strip>]>;
527
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
528
+ cover: z.ZodNullable<z.ZodObject<{
529
+ still: z.ZodObject<{
530
+ kind: z.ZodEnum<{
531
+ blob: "blob";
532
+ quiltPatch: "quiltPatch";
533
+ }>;
534
+ url: z.ZodString;
535
+ }, z.core.$strip>;
536
+ animated: z.ZodNullable<z.ZodObject<{
537
+ kind: z.ZodEnum<{
538
+ blob: "blob";
539
+ quiltPatch: "quiltPatch";
540
+ }>;
541
+ url: z.ZodString;
542
+ }, z.core.$strip>>;
543
+ }, z.core.$strip>>;
544
+ credits: z.ZodArray<z.ZodObject<{
545
+ partyId: z.ZodString;
546
+ displayName: z.ZodString;
547
+ roles: z.ZodArray<z.ZodString>;
548
+ }, z.core.$strip>>;
549
+ primaryArtists: z.ZodArray<z.ZodString>;
550
+ discCount: z.ZodNumber;
551
+ tracks: z.ZodArray<z.ZodObject<{
552
+ no: z.ZodString;
553
+ title: z.ZodString;
554
+ recordingId: z.ZodString;
555
+ compositionId: z.ZodString;
556
+ splitBps: z.ZodNumber;
557
+ disc: z.ZodNumber;
558
+ masterBlobId: z.ZodOptional<z.ZodString>;
559
+ }, z.core.$strip>>;
560
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
561
+ compositionCredits: z.ZodArray<z.ZodObject<{
562
+ partyId: z.ZodString;
563
+ displayName: z.ZodString;
564
+ roles: z.ZodArray<z.ZodString>;
565
+ }, z.core.$strip>>;
566
+ recordingCredits: z.ZodObject<{
567
+ credits: z.ZodArray<z.ZodObject<{
568
+ partyId: z.ZodString;
569
+ displayName: z.ZodString;
570
+ roles: z.ZodArray<z.ZodString>;
571
+ }, z.core.$strip>>;
572
+ primaryArtistIds: z.ZodArray<z.ZodString>;
573
+ featuredArtistIds: z.ZodArray<z.ZodString>;
574
+ }, z.core.$strip>;
575
+ }, z.core.$strip>, z.ZodObject<{
576
+ credits: z.ZodArray<z.ZodObject<{
577
+ partyId: z.ZodString;
578
+ displayName: z.ZodString;
579
+ roles: z.ZodArray<z.ZodString>;
580
+ }, z.core.$strip>>;
581
+ primaryArtistIds: z.ZodArray<z.ZodString>;
582
+ featuredArtistIds: z.ZodArray<z.ZodString>;
583
+ }, z.core.$strip>]>>>;
584
+ }, z.core.$strip>;
585
+ }, z.core.$strip>;
586
+ export declare const recordAlbumSchema: z.ZodObject<{
587
+ recordId: z.ZodString;
588
+ releaseId: z.ZodNullable<z.ZodString>;
589
+ release: z.ZodOptional<z.ZodNullable<z.ZodObject<{
590
+ id: z.ZodString;
591
+ title: z.ZodString;
592
+ subtitle: z.ZodNullable<z.ZodString>;
593
+ kind: z.ZodNullable<z.ZodString>;
594
+ state: z.ZodUnion<readonly [z.ZodObject<{
595
+ type: z.ZodLiteral<"Initialized">;
596
+ }, z.core.$strip>, z.ZodObject<{
597
+ type: z.ZodLiteral<"Published">;
598
+ timestampMs: z.ZodNumber;
599
+ }, z.core.$strip>]>;
600
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
601
+ cover: z.ZodNullable<z.ZodObject<{
602
+ still: z.ZodObject<{
603
+ kind: z.ZodEnum<{
604
+ blob: "blob";
605
+ quiltPatch: "quiltPatch";
606
+ }>;
607
+ url: z.ZodString;
608
+ }, z.core.$strip>;
609
+ animated: z.ZodNullable<z.ZodObject<{
610
+ kind: z.ZodEnum<{
611
+ blob: "blob";
612
+ quiltPatch: "quiltPatch";
613
+ }>;
614
+ url: z.ZodString;
615
+ }, z.core.$strip>>;
616
+ }, z.core.$strip>>;
617
+ credits: z.ZodArray<z.ZodObject<{
618
+ partyId: z.ZodString;
619
+ displayName: z.ZodString;
620
+ roles: z.ZodArray<z.ZodString>;
621
+ }, z.core.$strip>>;
622
+ primaryArtists: z.ZodArray<z.ZodString>;
623
+ discCount: z.ZodNumber;
624
+ tracks: z.ZodArray<z.ZodObject<{
625
+ no: z.ZodString;
626
+ title: z.ZodString;
627
+ recordingId: z.ZodString;
628
+ compositionId: z.ZodString;
629
+ splitBps: z.ZodNumber;
630
+ disc: z.ZodNumber;
631
+ masterBlobId: z.ZodOptional<z.ZodString>;
632
+ }, z.core.$strip>>;
633
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
634
+ compositionCredits: z.ZodArray<z.ZodObject<{
635
+ partyId: z.ZodString;
636
+ displayName: z.ZodString;
637
+ roles: z.ZodArray<z.ZodString>;
638
+ }, z.core.$strip>>;
639
+ recordingCredits: z.ZodObject<{
640
+ credits: z.ZodArray<z.ZodObject<{
641
+ partyId: z.ZodString;
642
+ displayName: z.ZodString;
643
+ roles: z.ZodArray<z.ZodString>;
644
+ }, z.core.$strip>>;
645
+ primaryArtistIds: z.ZodArray<z.ZodString>;
646
+ featuredArtistIds: z.ZodArray<z.ZodString>;
647
+ }, z.core.$strip>;
648
+ }, z.core.$strip>, z.ZodObject<{
649
+ credits: z.ZodArray<z.ZodObject<{
650
+ partyId: z.ZodString;
651
+ displayName: z.ZodString;
652
+ roles: z.ZodArray<z.ZodString>;
653
+ }, z.core.$strip>>;
654
+ primaryArtistIds: z.ZodArray<z.ZodString>;
655
+ featuredArtistIds: z.ZodArray<z.ZodString>;
656
+ }, z.core.$strip>]>, z.ZodTransform<{
657
+ compositionCredits: {
658
+ partyId: string;
659
+ displayName: string;
660
+ roles: string[];
661
+ }[];
662
+ recordingCredits: {
663
+ credits: {
664
+ partyId: string;
665
+ displayName: string;
666
+ roles: string[];
667
+ }[];
668
+ primaryArtistIds: string[];
669
+ featuredArtistIds: string[];
670
+ };
671
+ }, {
672
+ credits: {
673
+ partyId: string;
674
+ displayName: string;
675
+ roles: string[];
676
+ }[];
677
+ primaryArtistIds: string[];
678
+ featuredArtistIds: string[];
679
+ } | {
680
+ compositionCredits: {
681
+ partyId: string;
682
+ displayName: string;
683
+ roles: string[];
684
+ }[];
685
+ recordingCredits: {
686
+ credits: {
687
+ partyId: string;
688
+ displayName: string;
689
+ roles: string[];
690
+ }[];
691
+ primaryArtistIds: string[];
692
+ featuredArtistIds: string[];
693
+ };
694
+ }>>>>;
695
+ }, z.core.$strip>>>;
696
+ }, z.core.$strip>;
697
+ export declare const recordAlbumWireSchema: z.ZodObject<{
698
+ recordId: z.ZodString;
699
+ releaseId: z.ZodNullable<z.ZodString>;
700
+ release: z.ZodOptional<z.ZodNullable<z.ZodObject<{
701
+ id: z.ZodString;
702
+ title: z.ZodString;
703
+ subtitle: z.ZodNullable<z.ZodString>;
704
+ kind: z.ZodNullable<z.ZodString>;
705
+ state: z.ZodUnion<readonly [z.ZodObject<{
706
+ type: z.ZodLiteral<"Initialized">;
707
+ }, z.core.$strip>, z.ZodObject<{
708
+ type: z.ZodLiteral<"Published">;
709
+ timestampMs: z.ZodNumber;
710
+ }, z.core.$strip>]>;
711
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
712
+ cover: z.ZodNullable<z.ZodObject<{
713
+ still: z.ZodObject<{
714
+ kind: z.ZodEnum<{
715
+ blob: "blob";
716
+ quiltPatch: "quiltPatch";
717
+ }>;
718
+ url: z.ZodString;
719
+ }, z.core.$strip>;
720
+ animated: z.ZodNullable<z.ZodObject<{
721
+ kind: z.ZodEnum<{
722
+ blob: "blob";
723
+ quiltPatch: "quiltPatch";
724
+ }>;
725
+ url: z.ZodString;
726
+ }, z.core.$strip>>;
727
+ }, z.core.$strip>>;
728
+ credits: z.ZodArray<z.ZodObject<{
729
+ partyId: z.ZodString;
730
+ displayName: z.ZodString;
731
+ roles: z.ZodArray<z.ZodString>;
732
+ }, z.core.$strip>>;
733
+ primaryArtists: z.ZodArray<z.ZodString>;
734
+ discCount: z.ZodNumber;
735
+ tracks: z.ZodArray<z.ZodObject<{
736
+ no: z.ZodString;
737
+ title: z.ZodString;
738
+ recordingId: z.ZodString;
739
+ compositionId: z.ZodString;
740
+ splitBps: z.ZodNumber;
741
+ disc: z.ZodNumber;
742
+ masterBlobId: z.ZodOptional<z.ZodString>;
743
+ }, z.core.$strip>>;
744
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
745
+ compositionCredits: z.ZodArray<z.ZodObject<{
746
+ partyId: z.ZodString;
747
+ displayName: z.ZodString;
748
+ roles: z.ZodArray<z.ZodString>;
749
+ }, z.core.$strip>>;
750
+ recordingCredits: z.ZodObject<{
751
+ credits: z.ZodArray<z.ZodObject<{
752
+ partyId: z.ZodString;
753
+ displayName: z.ZodString;
754
+ roles: z.ZodArray<z.ZodString>;
755
+ }, z.core.$strip>>;
756
+ primaryArtistIds: z.ZodArray<z.ZodString>;
757
+ featuredArtistIds: z.ZodArray<z.ZodString>;
758
+ }, z.core.$strip>;
759
+ }, z.core.$strip>, z.ZodObject<{
760
+ credits: z.ZodArray<z.ZodObject<{
761
+ partyId: z.ZodString;
762
+ displayName: z.ZodString;
763
+ roles: z.ZodArray<z.ZodString>;
764
+ }, z.core.$strip>>;
765
+ primaryArtistIds: z.ZodArray<z.ZodString>;
766
+ featuredArtistIds: z.ZodArray<z.ZodString>;
767
+ }, z.core.$strip>]>>>;
768
+ }, z.core.$strip>>>;
769
+ }, z.core.$strip>;
770
+ export declare const partyMemberSchema: z.ZodObject<{
771
+ id: z.ZodString;
772
+ name: z.ZodString;
773
+ }, z.core.$strip>;
774
+ /**
775
+ * Every external platform the party link extensions know how to build a URL for,
776
+ * spanning social, music, and professional payloads. Enumerated rather than left
777
+ * as `string` so a renderer's icon/label switch is exhaustive at compile time —
778
+ * adding a platform on-chain should break the UI that has no icon for it.
779
+ */
780
+ export declare const platformKeySchema: z.ZodEnum<{
781
+ x: "x";
782
+ instagram: "instagram";
783
+ threads: "threads";
784
+ tiktok: "tiktok";
785
+ youtube: "youtube";
786
+ discord: "discord";
787
+ telegram: "telegram";
788
+ reddit: "reddit";
789
+ twitch: "twitch";
790
+ facebook: "facebook";
791
+ spotify: "spotify";
792
+ bandcamp: "bandcamp";
793
+ soundcloud: "soundcloud";
794
+ appleMusic: "appleMusic";
795
+ deezer: "deezer";
796
+ tidal: "tidal";
797
+ amazonMusic: "amazonMusic";
798
+ audiomack: "audiomack";
799
+ website: "website";
800
+ bookingPage: "bookingPage";
801
+ managementPage: "managementPage";
802
+ publisherPage: "publisherPage";
803
+ labelPage: "labelPage";
804
+ epk: "epk";
805
+ patreon: "patreon";
806
+ substack: "substack";
807
+ kofi: "kofi";
808
+ }>;
809
+ export declare const partyLinkSchema: z.ZodObject<{
810
+ platform: z.ZodEnum<{
811
+ x: "x";
812
+ instagram: "instagram";
813
+ threads: "threads";
814
+ tiktok: "tiktok";
815
+ youtube: "youtube";
816
+ discord: "discord";
817
+ telegram: "telegram";
818
+ reddit: "reddit";
819
+ twitch: "twitch";
820
+ facebook: "facebook";
821
+ spotify: "spotify";
822
+ bandcamp: "bandcamp";
823
+ soundcloud: "soundcloud";
824
+ appleMusic: "appleMusic";
825
+ deezer: "deezer";
826
+ tidal: "tidal";
827
+ amazonMusic: "amazonMusic";
828
+ audiomack: "audiomack";
829
+ website: "website";
830
+ bookingPage: "bookingPage";
831
+ managementPage: "managementPage";
832
+ publisherPage: "publisherPage";
833
+ labelPage: "labelPage";
834
+ epk: "epk";
835
+ patreon: "patreon";
836
+ substack: "substack";
837
+ kofi: "kofi";
838
+ }>;
839
+ value: z.ZodString;
840
+ url: z.ZodString;
841
+ }, z.core.$strip>;
842
+ export declare const partyCtaSchema: z.ZodObject<{
843
+ label: z.ZodString;
844
+ url: z.ZodString;
845
+ }, z.core.$strip>;
846
+ export declare const artistProfileSchema: z.ZodObject<{
847
+ id: z.ZodString;
848
+ kind: z.ZodEnum<{
849
+ individual: "individual";
850
+ group: "group";
851
+ }>;
852
+ name: z.ZodString;
853
+ createdAtMs: z.ZodNumber;
854
+ bioShort: z.ZodNullable<z.ZodString>;
855
+ bioLong: z.ZodNullable<z.ZodString>;
856
+ country: z.ZodNullable<z.ZodString>;
857
+ languages: z.ZodArray<z.ZodString>;
858
+ genres: z.ZodArray<z.ZodString>;
859
+ links: z.ZodArray<z.ZodObject<{
860
+ platform: z.ZodEnum<{
861
+ x: "x";
862
+ instagram: "instagram";
863
+ threads: "threads";
864
+ tiktok: "tiktok";
865
+ youtube: "youtube";
866
+ discord: "discord";
867
+ telegram: "telegram";
868
+ reddit: "reddit";
869
+ twitch: "twitch";
870
+ facebook: "facebook";
871
+ spotify: "spotify";
872
+ bandcamp: "bandcamp";
873
+ soundcloud: "soundcloud";
874
+ appleMusic: "appleMusic";
875
+ deezer: "deezer";
876
+ tidal: "tidal";
877
+ amazonMusic: "amazonMusic";
878
+ audiomack: "audiomack";
879
+ website: "website";
880
+ bookingPage: "bookingPage";
881
+ managementPage: "managementPage";
882
+ publisherPage: "publisherPage";
883
+ labelPage: "labelPage";
884
+ epk: "epk";
885
+ patreon: "patreon";
886
+ substack: "substack";
887
+ kofi: "kofi";
888
+ }>;
889
+ value: z.ZodString;
890
+ url: z.ZodString;
891
+ }, z.core.$strip>>;
892
+ ctas: z.ZodArray<z.ZodObject<{
893
+ label: z.ZodString;
894
+ url: z.ZodString;
895
+ }, z.core.$strip>>;
896
+ members: z.ZodArray<z.ZodObject<{
897
+ id: z.ZodString;
898
+ name: z.ZodString;
899
+ }, z.core.$strip>>;
900
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
901
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
902
+ avatarUrl: z.ZodString;
903
+ }, z.core.$strip>;
904
+ export declare const partySummarySchema: z.ZodObject<{
905
+ id: z.ZodString;
906
+ name: z.ZodString;
907
+ kind: z.ZodEnum<{
908
+ individual: "individual";
909
+ group: "group";
910
+ }>;
911
+ }, z.core.$strip>;
912
+ export declare const partySummariesSchema: z.ZodArray<z.ZodObject<{
913
+ id: z.ZodString;
914
+ name: z.ZodString;
915
+ kind: z.ZodEnum<{
916
+ individual: "individual";
917
+ group: "group";
918
+ }>;
919
+ }, z.core.$strip>>;
920
+ export declare const ownedRecordSchema: z.ZodObject<{
921
+ id: z.ZodString;
922
+ type: z.ZodString;
923
+ releaseId: z.ZodNullable<z.ZodString>;
924
+ number: z.ZodNullable<z.ZodNumber>;
925
+ }, z.core.$strip>;
926
+ export declare const ownedRecordsSchema: z.ZodArray<z.ZodObject<{
927
+ id: z.ZodString;
928
+ type: z.ZodString;
929
+ releaseId: z.ZodNullable<z.ZodString>;
930
+ number: z.ZodNullable<z.ZodNumber>;
931
+ }, z.core.$strip>>;
932
+ export declare const ownedPartySchema: z.ZodObject<{
933
+ partyId: z.ZodString;
934
+ capId: z.ZodString;
935
+ name: z.ZodString;
936
+ kind: z.ZodEnum<{
937
+ individual: "individual";
938
+ group: "group";
939
+ }>;
940
+ }, z.core.$strip>;
941
+ export declare const ownedPartiesSchema: z.ZodArray<z.ZodObject<{
942
+ partyId: z.ZodString;
943
+ capId: z.ZodString;
944
+ name: z.ZodString;
945
+ kind: z.ZodEnum<{
946
+ individual: "individual";
947
+ group: "group";
948
+ }>;
949
+ }, z.core.$strip>>;
950
+ /** A group invitation awaiting action by a party the wallet administers. */
951
+ export declare const pendingMembershipSchema: z.ZodObject<{
952
+ memberPartyId: z.ZodString;
953
+ memberCapId: z.ZodString;
954
+ groupId: z.ZodString;
955
+ groupName: z.ZodString;
956
+ }, z.core.$strip>;
957
+ export declare const pendingMembershipsSchema: z.ZodArray<z.ZodObject<{
958
+ memberPartyId: z.ZodString;
959
+ memberCapId: z.ZodString;
960
+ groupId: z.ZodString;
961
+ groupName: z.ZodString;
962
+ }, z.core.$strip>>;
963
+ export declare const workKindSchema: z.ZodEnum<{
964
+ release: "release";
965
+ composition: "composition";
966
+ recording: "recording";
967
+ }>;
968
+ export declare const ownedWorkSchema: z.ZodObject<{
969
+ capId: z.ZodString;
970
+ kind: z.ZodEnum<{
971
+ release: "release";
972
+ composition: "composition";
973
+ recording: "recording";
974
+ }>;
975
+ workId: z.ZodString;
976
+ title: z.ZodString;
977
+ state: z.ZodString;
978
+ }, z.core.$strip>;
979
+ export declare const ownedWorksSchema: z.ZodArray<z.ZodObject<{
980
+ capId: z.ZodString;
981
+ kind: z.ZodEnum<{
982
+ release: "release";
983
+ composition: "composition";
984
+ recording: "recording";
985
+ }>;
986
+ workId: z.ZodString;
987
+ title: z.ZodString;
988
+ state: z.ZodString;
989
+ }, z.core.$strip>>;
990
+ export declare const workDetailSchema: z.ZodObject<{
991
+ capId: z.ZodString;
992
+ kind: z.ZodEnum<{
993
+ release: "release";
994
+ composition: "composition";
995
+ recording: "recording";
996
+ }>;
997
+ workId: z.ZodString;
998
+ title: z.ZodString;
999
+ state: z.ZodString;
1000
+ subtitle: z.ZodOptional<z.ZodString>;
1001
+ royaltyRateBps: z.ZodOptional<z.ZodNumber>;
1002
+ shareType: z.ZodOptional<z.ZodString>;
1003
+ discCount: z.ZodOptional<z.ZodNumber>;
1004
+ trackCount: z.ZodOptional<z.ZodNumber>;
1005
+ }, z.core.$strip>;
1006
+ export declare const balanceSchema: z.ZodObject<{
1007
+ address: z.ZodString;
1008
+ coinType: z.ZodString;
1009
+ balance: z.ZodString;
1010
+ decimals: z.ZodNumber;
1011
+ }, z.core.$strip>;
1012
+ export declare const ownershipSchema: z.ZodObject<{
1013
+ address: z.ZodString;
1014
+ objectId: z.ZodString;
1015
+ isOwner: z.ZodBoolean;
1016
+ capId: z.ZodOptional<z.ZodString>;
1017
+ }, z.core.$strip>;
1018
+ export declare const recordSaleSchema: z.ZodObject<{
1019
+ listingId: z.ZodString;
1020
+ pressingId: z.ZodString;
1021
+ releaseId: z.ZodString;
1022
+ recordId: z.ZodString;
1023
+ number: z.ZodString;
1024
+ paid: z.ZodString;
1025
+ price: z.ZodObject<{
1026
+ kind: z.ZodEnum<{
1027
+ fixed: "fixed";
1028
+ floor: "floor";
1029
+ }>;
1030
+ amount: z.ZodString;
1031
+ }, z.core.$strip>;
1032
+ currencyType: z.ZodString;
1033
+ buyer: z.ZodString;
1034
+ }, z.core.$strip>;
1035
+ export declare const trackRoyaltySchema: z.ZodObject<{
1036
+ no: z.ZodString;
1037
+ title: z.ZodString;
1038
+ recordingId: z.ZodString;
1039
+ splitBps: z.ZodNumber;
1040
+ amount: z.ZodString;
1041
+ composition: z.ZodNullable<z.ZodString>;
1042
+ recording: z.ZodNullable<z.ZodString>;
1043
+ }, z.core.$strip>;
1044
+ export declare const purchaseReceiptSchema: z.ZodObject<{
1045
+ sale: z.ZodObject<{
1046
+ listingId: z.ZodString;
1047
+ pressingId: z.ZodString;
1048
+ releaseId: z.ZodString;
1049
+ recordId: z.ZodString;
1050
+ number: z.ZodString;
1051
+ paid: z.ZodString;
1052
+ price: z.ZodObject<{
1053
+ kind: z.ZodEnum<{
1054
+ fixed: "fixed";
1055
+ floor: "floor";
1056
+ }>;
1057
+ amount: z.ZodString;
1058
+ }, z.core.$strip>;
1059
+ currencyType: z.ZodString;
1060
+ buyer: z.ZodString;
1061
+ }, z.core.$strip>;
1062
+ detail: z.ZodObject<{
1063
+ pressing: z.ZodObject<{
1064
+ id: z.ZodString;
1065
+ releaseId: z.ZodString;
1066
+ state: z.ZodUnion<readonly [z.ZodObject<{
1067
+ kind: z.ZodLiteral<"scheduled">;
1068
+ startTimestampMs: z.ZodNumber;
1069
+ }, z.core.$strip>, z.ZodObject<{
1070
+ kind: z.ZodLiteral<"active">;
1071
+ }, z.core.$strip>, z.ZodObject<{
1072
+ kind: z.ZodLiteral<"paused">;
1073
+ }, z.core.$strip>]>;
1074
+ supply: z.ZodString;
1075
+ }, z.core.$strip>;
1076
+ release: z.ZodObject<{
1077
+ id: z.ZodString;
1078
+ title: z.ZodString;
1079
+ subtitle: z.ZodNullable<z.ZodString>;
1080
+ kind: z.ZodNullable<z.ZodString>;
1081
+ state: z.ZodUnion<readonly [z.ZodObject<{
1082
+ type: z.ZodLiteral<"Initialized">;
1083
+ }, z.core.$strip>, z.ZodObject<{
1084
+ type: z.ZodLiteral<"Published">;
1085
+ timestampMs: z.ZodNumber;
1086
+ }, z.core.$strip>]>;
1087
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
1088
+ cover: z.ZodNullable<z.ZodObject<{
1089
+ still: z.ZodObject<{
1090
+ kind: z.ZodEnum<{
1091
+ blob: "blob";
1092
+ quiltPatch: "quiltPatch";
1093
+ }>;
1094
+ url: z.ZodString;
1095
+ }, z.core.$strip>;
1096
+ animated: z.ZodNullable<z.ZodObject<{
1097
+ kind: z.ZodEnum<{
1098
+ blob: "blob";
1099
+ quiltPatch: "quiltPatch";
1100
+ }>;
1101
+ url: z.ZodString;
1102
+ }, z.core.$strip>>;
1103
+ }, z.core.$strip>>;
1104
+ credits: z.ZodArray<z.ZodObject<{
1105
+ partyId: z.ZodString;
1106
+ displayName: z.ZodString;
1107
+ roles: z.ZodArray<z.ZodString>;
1108
+ }, z.core.$strip>>;
1109
+ primaryArtists: z.ZodArray<z.ZodString>;
1110
+ discCount: z.ZodNumber;
1111
+ tracks: z.ZodArray<z.ZodObject<{
1112
+ no: z.ZodString;
1113
+ title: z.ZodString;
1114
+ recordingId: z.ZodString;
1115
+ compositionId: z.ZodString;
1116
+ splitBps: z.ZodNumber;
1117
+ disc: z.ZodNumber;
1118
+ masterBlobId: z.ZodOptional<z.ZodString>;
1119
+ }, z.core.$strip>>;
1120
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1121
+ compositionCredits: z.ZodArray<z.ZodObject<{
1122
+ partyId: z.ZodString;
1123
+ displayName: z.ZodString;
1124
+ roles: z.ZodArray<z.ZodString>;
1125
+ }, z.core.$strip>>;
1126
+ recordingCredits: z.ZodObject<{
1127
+ credits: z.ZodArray<z.ZodObject<{
1128
+ partyId: z.ZodString;
1129
+ displayName: z.ZodString;
1130
+ roles: z.ZodArray<z.ZodString>;
1131
+ }, z.core.$strip>>;
1132
+ primaryArtistIds: z.ZodArray<z.ZodString>;
1133
+ featuredArtistIds: z.ZodArray<z.ZodString>;
1134
+ }, z.core.$strip>;
1135
+ }, z.core.$strip>, z.ZodObject<{
1136
+ credits: z.ZodArray<z.ZodObject<{
1137
+ partyId: z.ZodString;
1138
+ displayName: z.ZodString;
1139
+ roles: z.ZodArray<z.ZodString>;
1140
+ }, z.core.$strip>>;
1141
+ primaryArtistIds: z.ZodArray<z.ZodString>;
1142
+ featuredArtistIds: z.ZodArray<z.ZodString>;
1143
+ }, z.core.$strip>]>, z.ZodTransform<{
1144
+ compositionCredits: {
1145
+ partyId: string;
1146
+ displayName: string;
1147
+ roles: string[];
1148
+ }[];
1149
+ recordingCredits: {
1150
+ credits: {
1151
+ partyId: string;
1152
+ displayName: string;
1153
+ roles: string[];
1154
+ }[];
1155
+ primaryArtistIds: string[];
1156
+ featuredArtistIds: string[];
1157
+ };
1158
+ }, {
1159
+ credits: {
1160
+ partyId: string;
1161
+ displayName: string;
1162
+ roles: string[];
1163
+ }[];
1164
+ primaryArtistIds: string[];
1165
+ featuredArtistIds: string[];
1166
+ } | {
1167
+ compositionCredits: {
1168
+ partyId: string;
1169
+ displayName: string;
1170
+ roles: string[];
1171
+ }[];
1172
+ recordingCredits: {
1173
+ credits: {
1174
+ partyId: string;
1175
+ displayName: string;
1176
+ roles: string[];
1177
+ }[];
1178
+ primaryArtistIds: string[];
1179
+ featuredArtistIds: string[];
1180
+ };
1181
+ }>>>>;
1182
+ }, z.core.$strip>;
1183
+ }, z.core.$strip>;
1184
+ price: z.ZodString;
1185
+ tracks: z.ZodArray<z.ZodObject<{
1186
+ no: z.ZodString;
1187
+ title: z.ZodString;
1188
+ recordingId: z.ZodString;
1189
+ splitBps: z.ZodNumber;
1190
+ amount: z.ZodString;
1191
+ composition: z.ZodNullable<z.ZodString>;
1192
+ recording: z.ZodNullable<z.ZodString>;
1193
+ }, z.core.$strip>>;
1194
+ }, z.core.$strip>;
1195
+ export declare const purchaseReceiptWireSchema: z.ZodObject<{
1196
+ sale: z.ZodObject<{
1197
+ listingId: z.ZodString;
1198
+ pressingId: z.ZodString;
1199
+ releaseId: z.ZodString;
1200
+ recordId: z.ZodString;
1201
+ number: z.ZodString;
1202
+ paid: z.ZodString;
1203
+ price: z.ZodObject<{
1204
+ kind: z.ZodEnum<{
1205
+ fixed: "fixed";
1206
+ floor: "floor";
1207
+ }>;
1208
+ amount: z.ZodString;
1209
+ }, z.core.$strip>;
1210
+ currencyType: z.ZodString;
1211
+ buyer: z.ZodString;
1212
+ }, z.core.$strip>;
1213
+ detail: z.ZodObject<{
1214
+ pressing: z.ZodObject<{
1215
+ id: z.ZodString;
1216
+ releaseId: z.ZodString;
1217
+ state: z.ZodUnion<readonly [z.ZodObject<{
1218
+ kind: z.ZodLiteral<"scheduled">;
1219
+ startTimestampMs: z.ZodNumber;
1220
+ }, z.core.$strip>, z.ZodObject<{
1221
+ kind: z.ZodLiteral<"active">;
1222
+ }, z.core.$strip>, z.ZodObject<{
1223
+ kind: z.ZodLiteral<"paused">;
1224
+ }, z.core.$strip>]>;
1225
+ supply: z.ZodString;
1226
+ }, z.core.$strip>;
1227
+ release: z.ZodObject<{
1228
+ id: z.ZodString;
1229
+ title: z.ZodString;
1230
+ subtitle: z.ZodNullable<z.ZodString>;
1231
+ kind: z.ZodNullable<z.ZodString>;
1232
+ state: z.ZodUnion<readonly [z.ZodObject<{
1233
+ type: z.ZodLiteral<"Initialized">;
1234
+ }, z.core.$strip>, z.ZodObject<{
1235
+ type: z.ZodLiteral<"Published">;
1236
+ timestampMs: z.ZodNumber;
1237
+ }, z.core.$strip>]>;
1238
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
1239
+ cover: z.ZodNullable<z.ZodObject<{
1240
+ still: z.ZodObject<{
1241
+ kind: z.ZodEnum<{
1242
+ blob: "blob";
1243
+ quiltPatch: "quiltPatch";
1244
+ }>;
1245
+ url: z.ZodString;
1246
+ }, z.core.$strip>;
1247
+ animated: z.ZodNullable<z.ZodObject<{
1248
+ kind: z.ZodEnum<{
1249
+ blob: "blob";
1250
+ quiltPatch: "quiltPatch";
1251
+ }>;
1252
+ url: z.ZodString;
1253
+ }, z.core.$strip>>;
1254
+ }, z.core.$strip>>;
1255
+ credits: z.ZodArray<z.ZodObject<{
1256
+ partyId: z.ZodString;
1257
+ displayName: z.ZodString;
1258
+ roles: z.ZodArray<z.ZodString>;
1259
+ }, z.core.$strip>>;
1260
+ primaryArtists: z.ZodArray<z.ZodString>;
1261
+ discCount: z.ZodNumber;
1262
+ tracks: z.ZodArray<z.ZodObject<{
1263
+ no: z.ZodString;
1264
+ title: z.ZodString;
1265
+ recordingId: z.ZodString;
1266
+ compositionId: z.ZodString;
1267
+ splitBps: z.ZodNumber;
1268
+ disc: z.ZodNumber;
1269
+ masterBlobId: z.ZodOptional<z.ZodString>;
1270
+ }, z.core.$strip>>;
1271
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1272
+ compositionCredits: z.ZodArray<z.ZodObject<{
1273
+ partyId: z.ZodString;
1274
+ displayName: z.ZodString;
1275
+ roles: z.ZodArray<z.ZodString>;
1276
+ }, z.core.$strip>>;
1277
+ recordingCredits: z.ZodObject<{
1278
+ credits: z.ZodArray<z.ZodObject<{
1279
+ partyId: z.ZodString;
1280
+ displayName: z.ZodString;
1281
+ roles: z.ZodArray<z.ZodString>;
1282
+ }, z.core.$strip>>;
1283
+ primaryArtistIds: z.ZodArray<z.ZodString>;
1284
+ featuredArtistIds: z.ZodArray<z.ZodString>;
1285
+ }, z.core.$strip>;
1286
+ }, z.core.$strip>, z.ZodObject<{
1287
+ credits: z.ZodArray<z.ZodObject<{
1288
+ partyId: z.ZodString;
1289
+ displayName: z.ZodString;
1290
+ roles: z.ZodArray<z.ZodString>;
1291
+ }, z.core.$strip>>;
1292
+ primaryArtistIds: z.ZodArray<z.ZodString>;
1293
+ featuredArtistIds: z.ZodArray<z.ZodString>;
1294
+ }, z.core.$strip>]>>>;
1295
+ }, z.core.$strip>;
1296
+ }, z.core.$strip>;
1297
+ price: z.ZodString;
1298
+ tracks: z.ZodArray<z.ZodObject<{
1299
+ no: z.ZodString;
1300
+ title: z.ZodString;
1301
+ recordingId: z.ZodString;
1302
+ splitBps: z.ZodNumber;
1303
+ amount: z.ZodString;
1304
+ composition: z.ZodNullable<z.ZodString>;
1305
+ recording: z.ZodNullable<z.ZodString>;
1306
+ }, z.core.$strip>>;
1307
+ }, z.core.$strip>;
1308
+ /** The envelope every non-2xx carries, matching miso-api's `apiError`. */
1309
+ export declare const apiErrorSchema: z.ZodObject<{
1310
+ error: z.ZodObject<{
1311
+ code: z.ZodString;
1312
+ message: z.ZodString;
1313
+ }, z.core.$strip>;
1314
+ }, z.core.$strip>;