@misofm/api-client 0.5.1 → 0.5.3

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,1316 @@
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
+ coinBalance: z.ZodString;
1011
+ addressBalance: z.ZodString;
1012
+ decimals: z.ZodNumber;
1013
+ }, z.core.$strip>;
1014
+ export declare const ownershipSchema: z.ZodObject<{
1015
+ address: z.ZodString;
1016
+ objectId: z.ZodString;
1017
+ isOwner: z.ZodBoolean;
1018
+ capId: z.ZodOptional<z.ZodString>;
1019
+ }, z.core.$strip>;
1020
+ export declare const recordSaleSchema: z.ZodObject<{
1021
+ listingId: z.ZodString;
1022
+ pressingId: z.ZodString;
1023
+ releaseId: z.ZodString;
1024
+ recordId: z.ZodString;
1025
+ number: z.ZodString;
1026
+ paid: z.ZodString;
1027
+ price: z.ZodObject<{
1028
+ kind: z.ZodEnum<{
1029
+ fixed: "fixed";
1030
+ floor: "floor";
1031
+ }>;
1032
+ amount: z.ZodString;
1033
+ }, z.core.$strip>;
1034
+ currencyType: z.ZodString;
1035
+ buyer: z.ZodString;
1036
+ }, z.core.$strip>;
1037
+ export declare const trackRoyaltySchema: z.ZodObject<{
1038
+ no: z.ZodString;
1039
+ title: z.ZodString;
1040
+ recordingId: z.ZodString;
1041
+ splitBps: z.ZodNumber;
1042
+ amount: z.ZodString;
1043
+ composition: z.ZodNullable<z.ZodString>;
1044
+ recording: z.ZodNullable<z.ZodString>;
1045
+ }, z.core.$strip>;
1046
+ export declare const purchaseReceiptSchema: z.ZodObject<{
1047
+ sale: z.ZodObject<{
1048
+ listingId: z.ZodString;
1049
+ pressingId: z.ZodString;
1050
+ releaseId: z.ZodString;
1051
+ recordId: z.ZodString;
1052
+ number: z.ZodString;
1053
+ paid: z.ZodString;
1054
+ price: z.ZodObject<{
1055
+ kind: z.ZodEnum<{
1056
+ fixed: "fixed";
1057
+ floor: "floor";
1058
+ }>;
1059
+ amount: z.ZodString;
1060
+ }, z.core.$strip>;
1061
+ currencyType: z.ZodString;
1062
+ buyer: z.ZodString;
1063
+ }, z.core.$strip>;
1064
+ detail: z.ZodObject<{
1065
+ pressing: z.ZodObject<{
1066
+ id: z.ZodString;
1067
+ releaseId: z.ZodString;
1068
+ state: z.ZodUnion<readonly [z.ZodObject<{
1069
+ kind: z.ZodLiteral<"scheduled">;
1070
+ startTimestampMs: z.ZodNumber;
1071
+ }, z.core.$strip>, z.ZodObject<{
1072
+ kind: z.ZodLiteral<"active">;
1073
+ }, z.core.$strip>, z.ZodObject<{
1074
+ kind: z.ZodLiteral<"paused">;
1075
+ }, z.core.$strip>]>;
1076
+ supply: z.ZodString;
1077
+ }, z.core.$strip>;
1078
+ release: z.ZodObject<{
1079
+ id: z.ZodString;
1080
+ title: z.ZodString;
1081
+ subtitle: z.ZodNullable<z.ZodString>;
1082
+ kind: z.ZodNullable<z.ZodString>;
1083
+ state: z.ZodUnion<readonly [z.ZodObject<{
1084
+ type: z.ZodLiteral<"Initialized">;
1085
+ }, z.core.$strip>, z.ZodObject<{
1086
+ type: z.ZodLiteral<"Published">;
1087
+ timestampMs: z.ZodNumber;
1088
+ }, z.core.$strip>]>;
1089
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
1090
+ cover: z.ZodNullable<z.ZodObject<{
1091
+ still: z.ZodObject<{
1092
+ kind: z.ZodEnum<{
1093
+ blob: "blob";
1094
+ quiltPatch: "quiltPatch";
1095
+ }>;
1096
+ url: z.ZodString;
1097
+ }, z.core.$strip>;
1098
+ animated: z.ZodNullable<z.ZodObject<{
1099
+ kind: z.ZodEnum<{
1100
+ blob: "blob";
1101
+ quiltPatch: "quiltPatch";
1102
+ }>;
1103
+ url: z.ZodString;
1104
+ }, z.core.$strip>>;
1105
+ }, z.core.$strip>>;
1106
+ credits: z.ZodArray<z.ZodObject<{
1107
+ partyId: z.ZodString;
1108
+ displayName: z.ZodString;
1109
+ roles: z.ZodArray<z.ZodString>;
1110
+ }, z.core.$strip>>;
1111
+ primaryArtists: z.ZodArray<z.ZodString>;
1112
+ discCount: z.ZodNumber;
1113
+ tracks: z.ZodArray<z.ZodObject<{
1114
+ no: z.ZodString;
1115
+ title: z.ZodString;
1116
+ recordingId: z.ZodString;
1117
+ compositionId: z.ZodString;
1118
+ splitBps: z.ZodNumber;
1119
+ disc: z.ZodNumber;
1120
+ masterBlobId: z.ZodOptional<z.ZodString>;
1121
+ }, z.core.$strip>>;
1122
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1123
+ compositionCredits: z.ZodArray<z.ZodObject<{
1124
+ partyId: z.ZodString;
1125
+ displayName: z.ZodString;
1126
+ roles: z.ZodArray<z.ZodString>;
1127
+ }, z.core.$strip>>;
1128
+ recordingCredits: z.ZodObject<{
1129
+ credits: z.ZodArray<z.ZodObject<{
1130
+ partyId: z.ZodString;
1131
+ displayName: z.ZodString;
1132
+ roles: z.ZodArray<z.ZodString>;
1133
+ }, z.core.$strip>>;
1134
+ primaryArtistIds: z.ZodArray<z.ZodString>;
1135
+ featuredArtistIds: z.ZodArray<z.ZodString>;
1136
+ }, z.core.$strip>;
1137
+ }, z.core.$strip>, z.ZodObject<{
1138
+ credits: z.ZodArray<z.ZodObject<{
1139
+ partyId: z.ZodString;
1140
+ displayName: z.ZodString;
1141
+ roles: z.ZodArray<z.ZodString>;
1142
+ }, z.core.$strip>>;
1143
+ primaryArtistIds: z.ZodArray<z.ZodString>;
1144
+ featuredArtistIds: z.ZodArray<z.ZodString>;
1145
+ }, z.core.$strip>]>, z.ZodTransform<{
1146
+ compositionCredits: {
1147
+ partyId: string;
1148
+ displayName: string;
1149
+ roles: string[];
1150
+ }[];
1151
+ recordingCredits: {
1152
+ credits: {
1153
+ partyId: string;
1154
+ displayName: string;
1155
+ roles: string[];
1156
+ }[];
1157
+ primaryArtistIds: string[];
1158
+ featuredArtistIds: string[];
1159
+ };
1160
+ }, {
1161
+ credits: {
1162
+ partyId: string;
1163
+ displayName: string;
1164
+ roles: string[];
1165
+ }[];
1166
+ primaryArtistIds: string[];
1167
+ featuredArtistIds: string[];
1168
+ } | {
1169
+ compositionCredits: {
1170
+ partyId: string;
1171
+ displayName: string;
1172
+ roles: string[];
1173
+ }[];
1174
+ recordingCredits: {
1175
+ credits: {
1176
+ partyId: string;
1177
+ displayName: string;
1178
+ roles: string[];
1179
+ }[];
1180
+ primaryArtistIds: string[];
1181
+ featuredArtistIds: string[];
1182
+ };
1183
+ }>>>>;
1184
+ }, z.core.$strip>;
1185
+ }, z.core.$strip>;
1186
+ price: z.ZodString;
1187
+ tracks: z.ZodArray<z.ZodObject<{
1188
+ no: z.ZodString;
1189
+ title: z.ZodString;
1190
+ recordingId: z.ZodString;
1191
+ splitBps: z.ZodNumber;
1192
+ amount: z.ZodString;
1193
+ composition: z.ZodNullable<z.ZodString>;
1194
+ recording: z.ZodNullable<z.ZodString>;
1195
+ }, z.core.$strip>>;
1196
+ }, z.core.$strip>;
1197
+ export declare const purchaseReceiptWireSchema: z.ZodObject<{
1198
+ sale: z.ZodObject<{
1199
+ listingId: z.ZodString;
1200
+ pressingId: z.ZodString;
1201
+ releaseId: z.ZodString;
1202
+ recordId: z.ZodString;
1203
+ number: z.ZodString;
1204
+ paid: z.ZodString;
1205
+ price: z.ZodObject<{
1206
+ kind: z.ZodEnum<{
1207
+ fixed: "fixed";
1208
+ floor: "floor";
1209
+ }>;
1210
+ amount: z.ZodString;
1211
+ }, z.core.$strip>;
1212
+ currencyType: z.ZodString;
1213
+ buyer: z.ZodString;
1214
+ }, z.core.$strip>;
1215
+ detail: z.ZodObject<{
1216
+ pressing: z.ZodObject<{
1217
+ id: z.ZodString;
1218
+ releaseId: z.ZodString;
1219
+ state: z.ZodUnion<readonly [z.ZodObject<{
1220
+ kind: z.ZodLiteral<"scheduled">;
1221
+ startTimestampMs: z.ZodNumber;
1222
+ }, z.core.$strip>, z.ZodObject<{
1223
+ kind: z.ZodLiteral<"active">;
1224
+ }, z.core.$strip>, z.ZodObject<{
1225
+ kind: z.ZodLiteral<"paused">;
1226
+ }, z.core.$strip>]>;
1227
+ supply: z.ZodString;
1228
+ }, z.core.$strip>;
1229
+ release: z.ZodObject<{
1230
+ id: z.ZodString;
1231
+ title: z.ZodString;
1232
+ subtitle: z.ZodNullable<z.ZodString>;
1233
+ kind: z.ZodNullable<z.ZodString>;
1234
+ state: z.ZodUnion<readonly [z.ZodObject<{
1235
+ type: z.ZodLiteral<"Initialized">;
1236
+ }, z.core.$strip>, z.ZodObject<{
1237
+ type: z.ZodLiteral<"Published">;
1238
+ timestampMs: z.ZodNumber;
1239
+ }, z.core.$strip>]>;
1240
+ publishedAtMs: z.ZodNullable<z.ZodNumber>;
1241
+ cover: z.ZodNullable<z.ZodObject<{
1242
+ still: z.ZodObject<{
1243
+ kind: z.ZodEnum<{
1244
+ blob: "blob";
1245
+ quiltPatch: "quiltPatch";
1246
+ }>;
1247
+ url: z.ZodString;
1248
+ }, z.core.$strip>;
1249
+ animated: z.ZodNullable<z.ZodObject<{
1250
+ kind: z.ZodEnum<{
1251
+ blob: "blob";
1252
+ quiltPatch: "quiltPatch";
1253
+ }>;
1254
+ url: z.ZodString;
1255
+ }, z.core.$strip>>;
1256
+ }, z.core.$strip>>;
1257
+ credits: z.ZodArray<z.ZodObject<{
1258
+ partyId: z.ZodString;
1259
+ displayName: z.ZodString;
1260
+ roles: z.ZodArray<z.ZodString>;
1261
+ }, z.core.$strip>>;
1262
+ primaryArtists: z.ZodArray<z.ZodString>;
1263
+ discCount: z.ZodNumber;
1264
+ tracks: z.ZodArray<z.ZodObject<{
1265
+ no: z.ZodString;
1266
+ title: z.ZodString;
1267
+ recordingId: z.ZodString;
1268
+ compositionId: z.ZodString;
1269
+ splitBps: z.ZodNumber;
1270
+ disc: z.ZodNumber;
1271
+ masterBlobId: z.ZodOptional<z.ZodString>;
1272
+ }, z.core.$strip>>;
1273
+ trackCredits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1274
+ compositionCredits: z.ZodArray<z.ZodObject<{
1275
+ partyId: z.ZodString;
1276
+ displayName: z.ZodString;
1277
+ roles: z.ZodArray<z.ZodString>;
1278
+ }, z.core.$strip>>;
1279
+ recordingCredits: z.ZodObject<{
1280
+ credits: z.ZodArray<z.ZodObject<{
1281
+ partyId: z.ZodString;
1282
+ displayName: z.ZodString;
1283
+ roles: z.ZodArray<z.ZodString>;
1284
+ }, z.core.$strip>>;
1285
+ primaryArtistIds: z.ZodArray<z.ZodString>;
1286
+ featuredArtistIds: z.ZodArray<z.ZodString>;
1287
+ }, z.core.$strip>;
1288
+ }, z.core.$strip>, z.ZodObject<{
1289
+ credits: z.ZodArray<z.ZodObject<{
1290
+ partyId: z.ZodString;
1291
+ displayName: z.ZodString;
1292
+ roles: z.ZodArray<z.ZodString>;
1293
+ }, z.core.$strip>>;
1294
+ primaryArtistIds: z.ZodArray<z.ZodString>;
1295
+ featuredArtistIds: z.ZodArray<z.ZodString>;
1296
+ }, z.core.$strip>]>>>;
1297
+ }, z.core.$strip>;
1298
+ }, z.core.$strip>;
1299
+ price: z.ZodString;
1300
+ tracks: z.ZodArray<z.ZodObject<{
1301
+ no: z.ZodString;
1302
+ title: z.ZodString;
1303
+ recordingId: z.ZodString;
1304
+ splitBps: z.ZodNumber;
1305
+ amount: z.ZodString;
1306
+ composition: z.ZodNullable<z.ZodString>;
1307
+ recording: z.ZodNullable<z.ZodString>;
1308
+ }, z.core.$strip>>;
1309
+ }, z.core.$strip>;
1310
+ /** The envelope every non-2xx carries, matching miso-api's `apiError`. */
1311
+ export declare const apiErrorSchema: z.ZodObject<{
1312
+ error: z.ZodObject<{
1313
+ code: z.ZodString;
1314
+ message: z.ZodString;
1315
+ }, z.core.$strip>;
1316
+ }, z.core.$strip>;