@runapi.ai/suno 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,567 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ AuthenticationError: () => import_core19.AuthenticationError,
24
+ InsufficientCreditsError: () => import_core19.InsufficientCreditsError,
25
+ NetworkError: () => import_core19.NetworkError,
26
+ NotFoundError: () => import_core19.NotFoundError,
27
+ RateLimitError: () => import_core19.RateLimitError,
28
+ RunApiError: () => import_core19.RunApiError,
29
+ ServiceUnavailableError: () => import_core19.ServiceUnavailableError,
30
+ SunoClient: () => SunoClient,
31
+ TaskFailedError: () => import_core19.TaskFailedError,
32
+ TaskTimeoutError: () => import_core19.TaskTimeoutError,
33
+ TimeoutError: () => import_core19.TimeoutError,
34
+ ValidationError: () => import_core19.ValidationError
35
+ });
36
+ module.exports = __toCommonJS(index_exports);
37
+
38
+ // src/client.ts
39
+ var import_core18 = require("@runapi.ai/core");
40
+
41
+ // src/resources/text-to-music.ts
42
+ var import_core = require("@runapi.ai/core");
43
+ var import_internal = require("@runapi.ai/core/internal");
44
+ var ENDPOINT = "/api/v1/suno/text_to_music";
45
+ var TextToMusic = class {
46
+ constructor(http) {
47
+ this.http = http;
48
+ }
49
+ http;
50
+ async run(params, options) {
51
+ const { id } = await this.create(params, options);
52
+ const response = await (0, import_internal.pollUntilComplete)(() => this.get(id, options), {
53
+ maxWaitMs: options?.maxWaitMs,
54
+ pollIntervalMs: options?.pollIntervalMs
55
+ });
56
+ return response;
57
+ }
58
+ async create(params, options) {
59
+ return this.http.request("POST", ENDPOINT, {
60
+ body: (0, import_core.compactParams)(params),
61
+ ...options
62
+ });
63
+ }
64
+ async get(id, options) {
65
+ return this.http.request("GET", `${ENDPOINT}/${id}`, {
66
+ ...options
67
+ });
68
+ }
69
+ };
70
+
71
+ // src/resources/extend-music.ts
72
+ var import_core2 = require("@runapi.ai/core");
73
+ var import_internal2 = require("@runapi.ai/core/internal");
74
+ var ENDPOINT2 = "/api/v1/suno/extend_music";
75
+ var ExtendMusic = class {
76
+ constructor(http) {
77
+ this.http = http;
78
+ }
79
+ http;
80
+ async run(params, options) {
81
+ const { id } = await this.create(params, options);
82
+ const response = await (0, import_internal2.pollUntilComplete)(() => this.get(id, options), {
83
+ maxWaitMs: options?.maxWaitMs,
84
+ pollIntervalMs: options?.pollIntervalMs
85
+ });
86
+ return response;
87
+ }
88
+ async create(params, options) {
89
+ return this.http.request("POST", ENDPOINT2, {
90
+ body: (0, import_core2.compactParams)(params),
91
+ ...options
92
+ });
93
+ }
94
+ async get(id, options) {
95
+ return this.http.request("GET", `${ENDPOINT2}/${id}`, {
96
+ ...options
97
+ });
98
+ }
99
+ };
100
+
101
+ // src/resources/generate-artwork.ts
102
+ var import_core3 = require("@runapi.ai/core");
103
+ var import_internal3 = require("@runapi.ai/core/internal");
104
+ var ENDPOINT3 = "/api/v1/suno/generate_artwork";
105
+ var GenerateArtwork = class {
106
+ constructor(http) {
107
+ this.http = http;
108
+ }
109
+ http;
110
+ async run(params, options) {
111
+ const { id } = await this.create(params, options);
112
+ const response = await (0, import_internal3.pollUntilComplete)(() => this.get(id, options), {
113
+ maxWaitMs: options?.maxWaitMs,
114
+ pollIntervalMs: options?.pollIntervalMs
115
+ });
116
+ return response;
117
+ }
118
+ async create(params, options) {
119
+ return this.http.request("POST", ENDPOINT3, {
120
+ body: (0, import_core3.compactParams)(params),
121
+ ...options
122
+ });
123
+ }
124
+ async get(id, options) {
125
+ return this.http.request("GET", `${ENDPOINT3}/${id}`, {
126
+ ...options
127
+ });
128
+ }
129
+ };
130
+
131
+ // src/resources/cover-audio.ts
132
+ var import_core4 = require("@runapi.ai/core");
133
+ var import_internal4 = require("@runapi.ai/core/internal");
134
+ var ENDPOINT4 = "/api/v1/suno/cover_audio";
135
+ var CoverAudio = class {
136
+ constructor(http) {
137
+ this.http = http;
138
+ }
139
+ http;
140
+ async run(params, options) {
141
+ const { id } = await this.create(params, options);
142
+ const response = await (0, import_internal4.pollUntilComplete)(() => this.get(id, options), {
143
+ maxWaitMs: options?.maxWaitMs,
144
+ pollIntervalMs: options?.pollIntervalMs
145
+ });
146
+ return response;
147
+ }
148
+ async create(params, options) {
149
+ return this.http.request("POST", ENDPOINT4, {
150
+ body: (0, import_core4.compactParams)(params),
151
+ ...options
152
+ });
153
+ }
154
+ async get(id, options) {
155
+ return this.http.request("GET", `${ENDPOINT4}/${id}`, {
156
+ ...options
157
+ });
158
+ }
159
+ };
160
+
161
+ // src/resources/add-instrumental.ts
162
+ var import_core5 = require("@runapi.ai/core");
163
+ var import_internal5 = require("@runapi.ai/core/internal");
164
+ var ENDPOINT5 = "/api/v1/suno/add_instrumental";
165
+ var AddInstrumental = class {
166
+ constructor(http) {
167
+ this.http = http;
168
+ }
169
+ http;
170
+ async run(params, options) {
171
+ const { id } = await this.create(params, options);
172
+ const response = await (0, import_internal5.pollUntilComplete)(() => this.get(id, options), {
173
+ maxWaitMs: options?.maxWaitMs,
174
+ pollIntervalMs: options?.pollIntervalMs
175
+ });
176
+ return response;
177
+ }
178
+ async create(params, options) {
179
+ return this.http.request("POST", ENDPOINT5, {
180
+ body: (0, import_core5.compactParams)(params),
181
+ ...options
182
+ });
183
+ }
184
+ async get(id, options) {
185
+ return this.http.request("GET", `${ENDPOINT5}/${id}`, {
186
+ ...options
187
+ });
188
+ }
189
+ };
190
+
191
+ // src/resources/add-vocals.ts
192
+ var import_core6 = require("@runapi.ai/core");
193
+ var import_internal6 = require("@runapi.ai/core/internal");
194
+ var ENDPOINT6 = "/api/v1/suno/add_vocals";
195
+ var AddVocals = class {
196
+ constructor(http) {
197
+ this.http = http;
198
+ }
199
+ http;
200
+ async run(params, options) {
201
+ const { id } = await this.create(params, options);
202
+ const response = await (0, import_internal6.pollUntilComplete)(() => this.get(id, options), {
203
+ maxWaitMs: options?.maxWaitMs,
204
+ pollIntervalMs: options?.pollIntervalMs
205
+ });
206
+ return response;
207
+ }
208
+ async create(params, options) {
209
+ return this.http.request("POST", ENDPOINT6, {
210
+ body: (0, import_core6.compactParams)(params),
211
+ ...options
212
+ });
213
+ }
214
+ async get(id, options) {
215
+ return this.http.request("GET", `${ENDPOINT6}/${id}`, {
216
+ ...options
217
+ });
218
+ }
219
+ };
220
+
221
+ // src/resources/separate-audio-stems.ts
222
+ var import_core7 = require("@runapi.ai/core");
223
+ var import_internal7 = require("@runapi.ai/core/internal");
224
+ var ENDPOINT7 = "/api/v1/suno/separate_audio_stems";
225
+ var SeparateAudioStems = class {
226
+ constructor(http) {
227
+ this.http = http;
228
+ }
229
+ http;
230
+ async run(params, options) {
231
+ const { id } = await this.create(params, options);
232
+ const response = await (0, import_internal7.pollUntilComplete)(() => this.get(id, options), {
233
+ maxWaitMs: options?.maxWaitMs,
234
+ pollIntervalMs: options?.pollIntervalMs
235
+ });
236
+ return response;
237
+ }
238
+ async create(params, options) {
239
+ return this.http.request("POST", ENDPOINT7, {
240
+ body: (0, import_core7.compactParams)(params),
241
+ ...options
242
+ });
243
+ }
244
+ async get(id, options) {
245
+ return this.http.request("GET", `${ENDPOINT7}/${id}`, {
246
+ ...options
247
+ });
248
+ }
249
+ };
250
+
251
+ // src/resources/generate-midi.ts
252
+ var import_core8 = require("@runapi.ai/core");
253
+ var import_internal8 = require("@runapi.ai/core/internal");
254
+ var ENDPOINT8 = "/api/v1/suno/generate_midi";
255
+ var GenerateMidi = class {
256
+ constructor(http) {
257
+ this.http = http;
258
+ }
259
+ http;
260
+ async run(params, options) {
261
+ const { id } = await this.create(params, options);
262
+ const response = await (0, import_internal8.pollUntilComplete)(() => this.get(id, options), {
263
+ maxWaitMs: options?.maxWaitMs,
264
+ pollIntervalMs: options?.pollIntervalMs
265
+ });
266
+ return response;
267
+ }
268
+ async create(params, options) {
269
+ return this.http.request("POST", ENDPOINT8, {
270
+ body: (0, import_core8.compactParams)(params),
271
+ ...options
272
+ });
273
+ }
274
+ async get(id, options) {
275
+ return this.http.request("GET", `${ENDPOINT8}/${id}`, {
276
+ ...options
277
+ });
278
+ }
279
+ };
280
+
281
+ // src/resources/convert-audio.ts
282
+ var import_core9 = require("@runapi.ai/core");
283
+ var import_internal9 = require("@runapi.ai/core/internal");
284
+ var ENDPOINT9 = "/api/v1/suno/convert_audio";
285
+ var ConvertAudio = class {
286
+ constructor(http) {
287
+ this.http = http;
288
+ }
289
+ http;
290
+ async run(params, options) {
291
+ const { id } = await this.create(params, options);
292
+ const response = await (0, import_internal9.pollUntilComplete)(() => this.get(id, options), {
293
+ maxWaitMs: options?.maxWaitMs,
294
+ pollIntervalMs: options?.pollIntervalMs
295
+ });
296
+ return response;
297
+ }
298
+ async create(params, options) {
299
+ return this.http.request("POST", ENDPOINT9, {
300
+ body: (0, import_core9.compactParams)(params),
301
+ ...options
302
+ });
303
+ }
304
+ async get(id, options) {
305
+ return this.http.request("GET", `${ENDPOINT9}/${id}`, {
306
+ ...options
307
+ });
308
+ }
309
+ };
310
+
311
+ // src/resources/visualize-music.ts
312
+ var import_core10 = require("@runapi.ai/core");
313
+ var import_internal10 = require("@runapi.ai/core/internal");
314
+ var ENDPOINT10 = "/api/v1/suno/visualize_music";
315
+ var VisualizeMusic = class {
316
+ constructor(http) {
317
+ this.http = http;
318
+ }
319
+ http;
320
+ async run(params, options) {
321
+ const { id } = await this.create(params, options);
322
+ const response = await (0, import_internal10.pollUntilComplete)(() => this.get(id, options), {
323
+ maxWaitMs: options?.maxWaitMs,
324
+ pollIntervalMs: options?.pollIntervalMs
325
+ });
326
+ return response;
327
+ }
328
+ async create(params, options) {
329
+ return this.http.request("POST", ENDPOINT10, {
330
+ body: (0, import_core10.compactParams)(params),
331
+ ...options
332
+ });
333
+ }
334
+ async get(id, options) {
335
+ return this.http.request("GET", `${ENDPOINT10}/${id}`, {
336
+ ...options
337
+ });
338
+ }
339
+ };
340
+
341
+ // src/resources/generate-lyrics.ts
342
+ var import_core11 = require("@runapi.ai/core");
343
+ var import_internal11 = require("@runapi.ai/core/internal");
344
+ var ENDPOINT11 = "/api/v1/suno/generate_lyrics";
345
+ var GenerateLyrics = class {
346
+ constructor(http) {
347
+ this.http = http;
348
+ }
349
+ http;
350
+ async run(params, options) {
351
+ const { id } = await this.create(params, options);
352
+ const response = await (0, import_internal11.pollUntilComplete)(() => this.get(id, options), {
353
+ maxWaitMs: options?.maxWaitMs,
354
+ pollIntervalMs: options?.pollIntervalMs
355
+ });
356
+ return response;
357
+ }
358
+ async create(params, options) {
359
+ return this.http.request("POST", ENDPOINT11, {
360
+ body: (0, import_core11.compactParams)(params),
361
+ ...options
362
+ });
363
+ }
364
+ async get(id, options) {
365
+ return this.http.request("GET", `${ENDPOINT11}/${id}`, {
366
+ ...options
367
+ });
368
+ }
369
+ };
370
+
371
+ // src/resources/get-timestamped-lyrics.ts
372
+ var import_core12 = require("@runapi.ai/core");
373
+ var ENDPOINT12 = "/api/v1/suno/get_timestamped_lyrics";
374
+ var GetTimestampedLyrics = class {
375
+ constructor(http) {
376
+ this.http = http;
377
+ }
378
+ http;
379
+ async run(params, options) {
380
+ return this.http.request("POST", ENDPOINT12, {
381
+ body: (0, import_core12.compactParams)(params),
382
+ ...options
383
+ });
384
+ }
385
+ };
386
+
387
+ // src/resources/replace-section.ts
388
+ var import_core13 = require("@runapi.ai/core");
389
+ var import_internal12 = require("@runapi.ai/core/internal");
390
+ var ENDPOINT13 = "/api/v1/suno/replace_section";
391
+ var ReplaceSection = class {
392
+ constructor(http) {
393
+ this.http = http;
394
+ }
395
+ http;
396
+ async run(params, options) {
397
+ const { id } = await this.create(params, options);
398
+ const response = await (0, import_internal12.pollUntilComplete)(() => this.get(id, options), {
399
+ maxWaitMs: options?.maxWaitMs,
400
+ pollIntervalMs: options?.pollIntervalMs
401
+ });
402
+ return response;
403
+ }
404
+ async create(params, options) {
405
+ return this.http.request("POST", ENDPOINT13, {
406
+ body: (0, import_core13.compactParams)(params),
407
+ ...options
408
+ });
409
+ }
410
+ async get(id, options) {
411
+ return this.http.request("GET", `${ENDPOINT13}/${id}`, {
412
+ ...options
413
+ });
414
+ }
415
+ };
416
+
417
+ // src/resources/create-mashup.ts
418
+ var import_core14 = require("@runapi.ai/core");
419
+ var import_internal13 = require("@runapi.ai/core/internal");
420
+ var ENDPOINT14 = "/api/v1/suno/create_mashup";
421
+ var CreateMashup = class {
422
+ constructor(http) {
423
+ this.http = http;
424
+ }
425
+ http;
426
+ async run(params, options) {
427
+ const { id } = await this.create(params, options);
428
+ const response = await (0, import_internal13.pollUntilComplete)(() => this.get(id, options), {
429
+ maxWaitMs: options?.maxWaitMs,
430
+ pollIntervalMs: options?.pollIntervalMs
431
+ });
432
+ return response;
433
+ }
434
+ async create(params, options) {
435
+ return this.http.request("POST", ENDPOINT14, {
436
+ body: (0, import_core14.compactParams)(params),
437
+ ...options
438
+ });
439
+ }
440
+ async get(id, options) {
441
+ return this.http.request("GET", `${ENDPOINT14}/${id}`, {
442
+ ...options
443
+ });
444
+ }
445
+ };
446
+
447
+ // src/resources/text-to-sound.ts
448
+ var import_core15 = require("@runapi.ai/core");
449
+ var import_internal14 = require("@runapi.ai/core/internal");
450
+ var ENDPOINT15 = "/api/v1/suno/text_to_sound";
451
+ var TextToSound = class {
452
+ constructor(http) {
453
+ this.http = http;
454
+ }
455
+ http;
456
+ async run(params, options) {
457
+ const { id } = await this.create(params, options);
458
+ const response = await (0, import_internal14.pollUntilComplete)(() => this.get(id, options), {
459
+ maxWaitMs: options?.maxWaitMs,
460
+ pollIntervalMs: options?.pollIntervalMs
461
+ });
462
+ return response;
463
+ }
464
+ async create(params, options) {
465
+ return this.http.request("POST", ENDPOINT15, {
466
+ body: (0, import_core15.compactParams)(params),
467
+ ...options
468
+ });
469
+ }
470
+ async get(id, options) {
471
+ return this.http.request("GET", `${ENDPOINT15}/${id}`, {
472
+ ...options
473
+ });
474
+ }
475
+ };
476
+
477
+ // src/resources/generate-persona.ts
478
+ var import_core16 = require("@runapi.ai/core");
479
+ var ENDPOINT16 = "/api/v1/suno/generate_persona";
480
+ var GeneratePersona = class {
481
+ constructor(http) {
482
+ this.http = http;
483
+ }
484
+ http;
485
+ async run(params, options) {
486
+ return this.http.request("POST", ENDPOINT16, {
487
+ body: (0, import_core16.compactParams)(params),
488
+ ...options
489
+ });
490
+ }
491
+ };
492
+
493
+ // src/resources/boost-style.ts
494
+ var import_core17 = require("@runapi.ai/core");
495
+ var ENDPOINT17 = "/api/v1/suno/boost_style";
496
+ var BoostStyle = class {
497
+ constructor(http) {
498
+ this.http = http;
499
+ }
500
+ http;
501
+ async run(params, options) {
502
+ return this.http.request("POST", ENDPOINT17, {
503
+ body: (0, import_core17.compactParams)(params),
504
+ ...options
505
+ });
506
+ }
507
+ };
508
+
509
+ // src/client.ts
510
+ var SunoClient = class {
511
+ textToMusic;
512
+ extendMusic;
513
+ generateArtwork;
514
+ coverAudio;
515
+ addInstrumental;
516
+ addVocals;
517
+ separateAudioStems;
518
+ generateMidi;
519
+ convertAudio;
520
+ visualizeMusic;
521
+ generateLyrics;
522
+ getTimestampedLyrics;
523
+ replaceSection;
524
+ createMashup;
525
+ textToSound;
526
+ generatePersona;
527
+ boostStyle;
528
+ constructor(options = {}) {
529
+ const http = (0, import_core18.createHttpClient)(options);
530
+ this.textToMusic = new TextToMusic(http);
531
+ this.extendMusic = new ExtendMusic(http);
532
+ this.generateArtwork = new GenerateArtwork(http);
533
+ this.coverAudio = new CoverAudio(http);
534
+ this.addInstrumental = new AddInstrumental(http);
535
+ this.addVocals = new AddVocals(http);
536
+ this.separateAudioStems = new SeparateAudioStems(http);
537
+ this.generateMidi = new GenerateMidi(http);
538
+ this.convertAudio = new ConvertAudio(http);
539
+ this.visualizeMusic = new VisualizeMusic(http);
540
+ this.generateLyrics = new GenerateLyrics(http);
541
+ this.getTimestampedLyrics = new GetTimestampedLyrics(http);
542
+ this.replaceSection = new ReplaceSection(http);
543
+ this.createMashup = new CreateMashup(http);
544
+ this.textToSound = new TextToSound(http);
545
+ this.generatePersona = new GeneratePersona(http);
546
+ this.boostStyle = new BoostStyle(http);
547
+ }
548
+ };
549
+
550
+ // src/index.ts
551
+ var import_core19 = require("@runapi.ai/core");
552
+ // Annotate the CommonJS export names for ESM import in node:
553
+ 0 && (module.exports = {
554
+ AuthenticationError,
555
+ InsufficientCreditsError,
556
+ NetworkError,
557
+ NotFoundError,
558
+ RateLimitError,
559
+ RunApiError,
560
+ ServiceUnavailableError,
561
+ SunoClient,
562
+ TaskFailedError,
563
+ TaskTimeoutError,
564
+ TimeoutError,
565
+ ValidationError
566
+ });
567
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts","../src/client.ts","../src/resources/text-to-music.ts","../src/resources/extend-music.ts","../src/resources/generate-artwork.ts","../src/resources/cover-audio.ts","../src/resources/add-instrumental.ts","../src/resources/add-vocals.ts","../src/resources/separate-audio-stems.ts","../src/resources/generate-midi.ts","../src/resources/convert-audio.ts","../src/resources/visualize-music.ts","../src/resources/generate-lyrics.ts","../src/resources/get-timestamped-lyrics.ts","../src/resources/replace-section.ts","../src/resources/create-mashup.ts","../src/resources/text-to-sound.ts","../src/resources/generate-persona.ts","../src/resources/boost-style.ts"],"sourcesContent":["export { SunoClient } from './client';\nexport * from './types';\n\n// Re-export common errors from core for convenience\nexport {\n RunApiError,\n AuthenticationError,\n InsufficientCreditsError,\n NotFoundError,\n ValidationError,\n RateLimitError,\n ServiceUnavailableError,\n NetworkError,\n TimeoutError,\n TaskTimeoutError,\n TaskFailedError,\n} from '@runapi.ai/core';\n","import { createHttpClient, type ClientOptions } from '@runapi.ai/core';\nimport { TextToMusic } from './resources/text-to-music';\nimport { ExtendMusic } from './resources/extend-music';\nimport { GenerateArtwork } from './resources/generate-artwork';\nimport { CoverAudio } from './resources/cover-audio';\nimport { AddInstrumental } from './resources/add-instrumental';\nimport { AddVocals } from './resources/add-vocals';\nimport { SeparateAudioStems } from './resources/separate-audio-stems';\nimport { GenerateMidi } from './resources/generate-midi';\nimport { ConvertAudio } from './resources/convert-audio';\nimport { VisualizeMusic } from './resources/visualize-music';\nimport { GenerateLyrics } from './resources/generate-lyrics';\nimport { GetTimestampedLyrics } from './resources/get-timestamped-lyrics';\nimport { ReplaceSection } from './resources/replace-section';\nimport { CreateMashup } from './resources/create-mashup';\nimport { TextToSound } from './resources/text-to-sound';\nimport { GeneratePersona } from './resources/generate-persona';\nimport { BoostStyle } from './resources/boost-style';\n\n/**\n * Suno API client.\n *\n * @example\n * ```typescript\n * const client = new SunoClient({\n * apiKey: 'your-api-key',\n * baseUrl: 'https://runapi.ai',\n * });\n *\n * const result = await client.textToMusic.run({\n * custom_mode: false,\n * instrumental: false,\n * prompt: 'A chill lo-fi beat with soft vocals',\n * model: 'V4_5PLUS',\n * });\n * ```\n */\nexport class SunoClient {\n public readonly textToMusic: TextToMusic;\n public readonly extendMusic: ExtendMusic;\n public readonly generateArtwork: GenerateArtwork;\n public readonly coverAudio: CoverAudio;\n public readonly addInstrumental: AddInstrumental;\n public readonly addVocals: AddVocals;\n public readonly separateAudioStems: SeparateAudioStems;\n public readonly generateMidi: GenerateMidi;\n public readonly convertAudio: ConvertAudio;\n public readonly visualizeMusic: VisualizeMusic;\n public readonly generateLyrics: GenerateLyrics;\n public readonly getTimestampedLyrics: GetTimestampedLyrics;\n public readonly replaceSection: ReplaceSection;\n public readonly createMashup: CreateMashup;\n public readonly textToSound: TextToSound;\n public readonly generatePersona: GeneratePersona;\n public readonly boostStyle: BoostStyle;\n\n constructor(options: ClientOptions = {}) {\n const http = createHttpClient(options);\n this.textToMusic = new TextToMusic(http);\n this.extendMusic = new ExtendMusic(http);\n this.generateArtwork = new GenerateArtwork(http);\n this.coverAudio = new CoverAudio(http);\n this.addInstrumental = new AddInstrumental(http);\n this.addVocals = new AddVocals(http);\n this.separateAudioStems = new SeparateAudioStems(http);\n this.generateMidi = new GenerateMidi(http);\n this.convertAudio = new ConvertAudio(http);\n this.visualizeMusic = new VisualizeMusic(http);\n this.generateLyrics = new GenerateLyrics(http);\n this.getTimestampedLyrics = new GetTimestampedLyrics(http);\n this.replaceSection = new ReplaceSection(http);\n this.createMashup = new CreateMashup(http);\n this.textToSound = new TextToSound(http);\n this.generatePersona = new GeneratePersona(http);\n this.boostStyle = new BoostStyle(http);\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedTextToMusicResponse, TextToMusicParams, TextToMusicResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/text_to_music';\n\nexport class TextToMusic {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: TextToMusicParams, options?: RequestOptions & PollingOptions): Promise<CompletedTextToMusicResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<TextToMusicResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedTextToMusicResponse;\n }\n\n async create(params: TextToMusicParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<TextToMusicResponse> {\n return this.http.request<TextToMusicResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedExtendMusicResponse, ExtendMusicParams, ExtendMusicResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/extend_music';\n\nexport class ExtendMusic {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: ExtendMusicParams, options?: RequestOptions & PollingOptions): Promise<CompletedExtendMusicResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<ExtendMusicResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedExtendMusicResponse;\n }\n\n async create(params: ExtendMusicParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<ExtendMusicResponse> {\n return this.http.request<ExtendMusicResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedGenerateArtworkResponse, GenerateArtworkParams, GenerateArtworkResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/generate_artwork';\n\nexport class GenerateArtwork {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: GenerateArtworkParams, options?: RequestOptions & PollingOptions): Promise<CompletedGenerateArtworkResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<GenerateArtworkResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedGenerateArtworkResponse;\n }\n\n async create(params: GenerateArtworkParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<GenerateArtworkResponse> {\n return this.http.request<GenerateArtworkResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedCoverAudioResponse, CoverAudioParams, CoverAudioResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/cover_audio';\n\nexport class CoverAudio {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: CoverAudioParams, options?: RequestOptions & PollingOptions): Promise<CompletedCoverAudioResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<CoverAudioResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedCoverAudioResponse;\n }\n\n async create(params: CoverAudioParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<CoverAudioResponse> {\n return this.http.request<CoverAudioResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedAddInstrumentalResponse, AddInstrumentalParams, AddInstrumentalResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/add_instrumental';\n\nexport class AddInstrumental {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: AddInstrumentalParams, options?: RequestOptions & PollingOptions): Promise<CompletedAddInstrumentalResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<AddInstrumentalResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedAddInstrumentalResponse;\n }\n\n async create(params: AddInstrumentalParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<AddInstrumentalResponse> {\n return this.http.request<AddInstrumentalResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedAddVocalsResponse, AddVocalsParams, AddVocalsResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/add_vocals';\n\nexport class AddVocals {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: AddVocalsParams, options?: RequestOptions & PollingOptions): Promise<CompletedAddVocalsResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<AddVocalsResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedAddVocalsResponse;\n }\n\n async create(params: AddVocalsParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<AddVocalsResponse> {\n return this.http.request<AddVocalsResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedSeparateAudioStemsResponse, SeparateAudioStemsParams, SeparateAudioStemsResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/separate_audio_stems';\n\nexport class SeparateAudioStems {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: SeparateAudioStemsParams, options?: RequestOptions & PollingOptions): Promise<CompletedSeparateAudioStemsResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<SeparateAudioStemsResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedSeparateAudioStemsResponse;\n }\n\n async create(params: SeparateAudioStemsParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<SeparateAudioStemsResponse> {\n return this.http.request<SeparateAudioStemsResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedGenerateMidiResponse, GenerateMidiParams, GenerateMidiResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/generate_midi';\n\nexport class GenerateMidi {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: GenerateMidiParams, options?: RequestOptions & PollingOptions): Promise<CompletedGenerateMidiResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<GenerateMidiResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedGenerateMidiResponse;\n }\n\n async create(params: GenerateMidiParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<GenerateMidiResponse> {\n return this.http.request<GenerateMidiResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedConvertAudioResponse, ConvertAudioParams, ConvertAudioResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/convert_audio';\n\nexport class ConvertAudio {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: ConvertAudioParams, options?: RequestOptions & PollingOptions): Promise<CompletedConvertAudioResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<ConvertAudioResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedConvertAudioResponse;\n }\n\n async create(params: ConvertAudioParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<ConvertAudioResponse> {\n return this.http.request<ConvertAudioResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedVisualizeMusicResponse, VisualizeMusicParams, VisualizeMusicResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/visualize_music';\n\nexport class VisualizeMusic {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: VisualizeMusicParams, options?: RequestOptions & PollingOptions): Promise<CompletedVisualizeMusicResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<VisualizeMusicResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedVisualizeMusicResponse;\n }\n\n async create(params: VisualizeMusicParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<VisualizeMusicResponse> {\n return this.http.request<VisualizeMusicResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedGenerateLyricsResponse, GenerateLyricsParams, GenerateLyricsResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/generate_lyrics';\n\nexport class GenerateLyrics {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: GenerateLyricsParams, options?: RequestOptions & PollingOptions): Promise<CompletedGenerateLyricsResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<GenerateLyricsResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedGenerateLyricsResponse;\n }\n\n async create(params: GenerateLyricsParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<GenerateLyricsResponse> {\n return this.http.request<GenerateLyricsResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport type { GetTimestampedLyricsParams, GetTimestampedLyricsResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/get_timestamped_lyrics';\n\nexport class GetTimestampedLyrics {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: GetTimestampedLyricsParams, options?: RequestOptions): Promise<GetTimestampedLyricsResponse> {\n return this.http.request<GetTimestampedLyricsResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedReplaceSectionResponse, ReplaceSectionParams, ReplaceSectionResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/replace_section';\n\nexport class ReplaceSection {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: ReplaceSectionParams, options?: RequestOptions & PollingOptions): Promise<CompletedReplaceSectionResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<ReplaceSectionResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedReplaceSectionResponse;\n }\n\n async create(params: ReplaceSectionParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<ReplaceSectionResponse> {\n return this.http.request<ReplaceSectionResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedCreateMashupResponse, CreateMashupParams, CreateMashupResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/create_mashup';\n\nexport class CreateMashup {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: CreateMashupParams, options?: RequestOptions & PollingOptions): Promise<CompletedCreateMashupResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<CreateMashupResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedCreateMashupResponse;\n }\n\n async create(params: CreateMashupParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<CreateMashupResponse> {\n return this.http.request<CreateMashupResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions, PollingOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport { pollUntilComplete } from '@runapi.ai/core/internal';\nimport type { CompletedTextToSoundResponse, TextToSoundParams, TextToSoundResponse, TaskCreateResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/text_to_sound';\n\nexport class TextToSound {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: TextToSoundParams, options?: RequestOptions & PollingOptions): Promise<CompletedTextToSoundResponse> {\n const { id } = await this.create(params, options);\n const response = await pollUntilComplete<TextToSoundResponse>(() => this.get(id, options), {\n maxWaitMs: options?.maxWaitMs,\n pollIntervalMs: options?.pollIntervalMs,\n });\n return response as CompletedTextToSoundResponse;\n }\n\n async create(params: TextToSoundParams, options?: RequestOptions): Promise<TaskCreateResponse> {\n return this.http.request<TaskCreateResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n\n async get(id: string, options?: RequestOptions): Promise<TextToSoundResponse> {\n return this.http.request<TextToSoundResponse>('GET', `${ENDPOINT}/${id}`, {\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport type { GeneratePersonaParams, GeneratePersonaResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/generate_persona';\n\nexport class GeneratePersona {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: GeneratePersonaParams, options?: RequestOptions): Promise<GeneratePersonaResponse> {\n return this.http.request<GeneratePersonaResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n}\n","import type { HttpClient, RequestOptions } from '@runapi.ai/core';\nimport { compactParams } from '@runapi.ai/core';\nimport type { BoostStyleParams, BoostStyleResponse } from '../types';\n\nconst ENDPOINT = '/api/v1/suno/boost_style';\n\nexport class BoostStyle {\n constructor(private readonly http: HttpClient) {}\n\n async run(params: BoostStyleParams, options?: RequestOptions): Promise<BoostStyleResponse> {\n return this.http.request<BoostStyleResponse>('POST', ENDPOINT, {\n body: compactParams(params),\n ...options,\n });\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,gBAAqD;;;ACCrD,kBAA8B;AAC9B,sBAAkC;AAGlC,IAAM,WAAW;AAEV,IAAM,cAAN,MAAkB;AAAA,EACvB,YAA6B,MAAkB;AAAlB;AAAA,EAAmB;AAAA,EAAnB;AAAA,EAE7B,MAAM,IAAI,QAA2B,SAAkF;AACrH,UAAM,EAAE,GAAG,IAAI,MAAM,KAAK,OAAO,QAAQ,OAAO;AAChD,UAAM,WAAW,UAAM,mCAAuC,MAAM,KAAK,IAAI,IAAI,OAAO,GAAG;AAAA,MACzF,WAAW,SAAS;AAAA,MACpB,gBAAgB,SAAS;AAAA,IAC3B,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEA,MAAM,OAAO,QAA2B,SAAuD;AAC7F,WAAO,KAAK,KAAK,QAA4B,QAAQ,UAAU;AAAA,MAC7D,UAAM,2BAAc,MAAM;AAAA,MAC1B,GAAG;AAAA,IACL,CAAC;AAAA,EACH;AAAA,EAEA,MAAM,IAAI,IAAY,SAAwD;AAC5E,WAAO,KAAK,KAAK,QAA6B,OAAO,GAAG,QAAQ,IAAI,EAAE,IAAI;AAAA,MACxE,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B,IAAI;AACrD,SAAK,eAAe,IAAI,aAAa,IAAI;AACzC,SAAK,eAAe,IAAI,aAAa,IAAI;AACzC,SAAK,iBAAiB,IAAI,eAAe,IAAI;AAC7C,SAAK,iBAAiB,IAAI,eAAe,IAAI;AAC7C,SAAK,uBAAuB,IAAI,qBAAqB,IAAI;AACzD,SAAK,iBAAiB,IAAI,eAAe,IAAI;AAC7C,SAAK,eAAe,IAAI,aAAa,IAAI;AACzC,SAAK,cAAc,IAAI,YAAY,IAAI;AACvC,SAAK,kBAAkB,IAAI,gBAAgB,IAAI;AAC/C,SAAK,aAAa,IAAI,WAAW,IAAI;AAAA,EACvC;AACF;;;ADxEA,IAAAC,gBAYO;","names":["import_core","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","import_internal","ENDPOINT","import_core","ENDPOINT","import_core","ENDPOINT","import_core"]}