@aims-api/aims-node
Advanced tools
Comparing version 0.0.2 to 0.0.4
@@ -10,3 +10,3 @@ import { AxiosInstance } from 'axios'; | ||
type: z.ZodString; | ||
value: z.ZodUnion<[z.ZodString, z.ZodObject<{ | ||
value: z.ZodUnion<[z.ZodString, z.ZodObject<z.objectUtil.extendShape<{ | ||
id: z.ZodUnion<[z.ZodString, z.ZodNumber]>; | ||
@@ -43,2 +43,3 @@ id_client: z.ZodString; | ||
}>, "many">>; | ||
}, { | ||
streaming_hash: z.ZodOptional<z.ZodString>; | ||
@@ -122,3 +123,3 @@ streaming_id: z.ZodOptional<z.ZodNumber>; | ||
add_file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
}, "strip", z.ZodTypeAny, { | ||
}>, "strip", z.ZodTypeAny, { | ||
track_number: string | null; | ||
@@ -176,11 +177,7 @@ track_code: string | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -198,17 +195,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -221,2 +210,6 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
}, { | ||
@@ -275,11 +268,7 @@ track_number: string | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -297,17 +286,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -320,2 +301,6 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
}>]>; | ||
@@ -325,3 +310,3 @@ included: z.ZodBoolean; | ||
type: string; | ||
value: (string | { | ||
value: string | { | ||
track_number: string | null; | ||
@@ -379,11 +364,7 @@ track_code: string | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -401,17 +382,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -424,87 +397,2 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
}) & (string | { | ||
track_number: string | null; | ||
track_code: string | null; | ||
track_description: string | null; | ||
version: boolean | null; | ||
version_tag: string | null; | ||
version_name: string | null; | ||
master_track_number: string | null; | ||
master_track_id: string | null; | ||
isrc: string | null; | ||
label_name: string | null; | ||
label_code: string | null; | ||
label_lc_name: string | null; | ||
album_number: string | null; | ||
album_code: string | null; | ||
album_name: string | null; | ||
album_description: string | null; | ||
tempo: string | null; | ||
bpm: number | null; | ||
music_key: string | null; | ||
music_meter: string | null; | ||
lyrics: string | null; | ||
lyrics_language: string | null; | ||
artists: string[] | null; | ||
composers: string[] | null; | ||
publisher: string | null; | ||
genres: string[] | null; | ||
instruments: string[] | null; | ||
moods: string[] | null; | ||
music_for: string[] | null; | ||
album_keywords: string[] | null; | ||
active: boolean | null; | ||
licensable: boolean | null; | ||
restricted: boolean | null; | ||
commercial: boolean | null; | ||
process_input_error_details: string | null; | ||
explicit: boolean | null; | ||
profane: boolean | null; | ||
territories: string[] | null; | ||
decades: string[] | null; | ||
vocals: string[] | null; | ||
owner: string[] | null; | ||
publishing_partner: string[] | null; | ||
publishing_partner_us: string[] | null; | ||
recognisable: boolean | null; | ||
share: number | null; | ||
top: boolean | null; | ||
subgenres: string[] | null; | ||
categories: string[] | null; | ||
looped: boolean | null; | ||
pro_affiliated: boolean | null; | ||
content_id_registered: boolean | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
filepath: string | null; | ||
external_id: string | null; | ||
sync_history: boolean | null; | ||
jam_sync: boolean | null; | ||
hit: boolean | null; | ||
cuesheet_info: string | null; | ||
id: string | number; | ||
id_client: string; | ||
duration: number | null; | ||
release_year: number | null; | ||
track_name: string; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
@@ -514,14 +402,7 @@ duration: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
streaming_id?: number | undefined; | ||
custom_data?: any; | ||
auto_tagging_output?: Record<string, any> | null | undefined; | ||
net_duration?: Record<string, any> | null | undefined; | ||
artist_canonical?: string | null | undefined; | ||
add_file_hash?: string | null | undefined; | ||
} | undefined); | ||
}; | ||
included: boolean; | ||
}, { | ||
type: string; | ||
value: (string | { | ||
value: string | { | ||
track_number: string | null; | ||
@@ -579,11 +460,7 @@ track_code: string | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -601,17 +478,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -624,87 +493,2 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
}) & (string | { | ||
track_number: string | null; | ||
track_code: string | null; | ||
track_description: string | null; | ||
version: boolean | null; | ||
version_tag: string | null; | ||
version_name: string | null; | ||
master_track_number: string | null; | ||
master_track_id: string | null; | ||
isrc: string | null; | ||
label_name: string | null; | ||
label_code: string | null; | ||
label_lc_name: string | null; | ||
album_number: string | null; | ||
album_code: string | null; | ||
album_name: string | null; | ||
album_description: string | null; | ||
tempo: string | null; | ||
bpm: number | null; | ||
music_key: string | null; | ||
music_meter: string | null; | ||
lyrics: string | null; | ||
lyrics_language: string | null; | ||
artists: string[] | null; | ||
composers: string[] | null; | ||
publisher: string | null; | ||
genres: string[] | null; | ||
instruments: string[] | null; | ||
moods: string[] | null; | ||
music_for: string[] | null; | ||
album_keywords: string[] | null; | ||
active: boolean | null; | ||
licensable: boolean | null; | ||
restricted: boolean | null; | ||
commercial: boolean | null; | ||
process_input_error_details: string | null; | ||
explicit: boolean | null; | ||
profane: boolean | null; | ||
territories: string[] | null; | ||
decades: string[] | null; | ||
vocals: string[] | null; | ||
owner: string[] | null; | ||
publishing_partner: string[] | null; | ||
publishing_partner_us: string[] | null; | ||
recognisable: boolean | null; | ||
share: number | null; | ||
top: boolean | null; | ||
subgenres: string[] | null; | ||
categories: string[] | null; | ||
looped: boolean | null; | ||
pro_affiliated: boolean | null; | ||
content_id_registered: boolean | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
filepath: string | null; | ||
external_id: string | null; | ||
sync_history: boolean | null; | ||
jam_sync: boolean | null; | ||
hit: boolean | null; | ||
cuesheet_info: string | null; | ||
id: string | number; | ||
id_client: string; | ||
duration: number | null; | ||
release_year: number | null; | ||
track_name: string; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
@@ -714,10 +498,3 @@ duration: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
streaming_id?: number | undefined; | ||
custom_data?: any; | ||
auto_tagging_output?: Record<string, any> | null | undefined; | ||
net_duration?: Record<string, any> | null | undefined; | ||
artist_canonical?: string | null | undefined; | ||
add_file_hash?: string | null | undefined; | ||
} | undefined); | ||
}; | ||
included: boolean; | ||
@@ -788,19 +565,19 @@ }>, "many">; | ||
}, "strip", z.ZodTypeAny, { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -810,19 +587,19 @@ relation?: "gte" | "eq" | undefined; | ||
}, { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -871,11 +648,7 @@ relation?: "gte" | "eq" | undefined; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
@@ -894,11 +667,7 @@ store_secret: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
@@ -922,11 +691,7 @@ store_secret: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
@@ -940,19 +705,19 @@ store_secret: string | null; | ||
totals: { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -964,3 +729,3 @@ relation?: "gte" | "eq" | undefined; | ||
type: string; | ||
value: (string | { | ||
value: string | { | ||
track_number: string | null; | ||
@@ -1018,11 +783,7 @@ track_code: string | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -1040,17 +801,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -1063,87 +816,2 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
}) & (string | { | ||
track_number: string | null; | ||
track_code: string | null; | ||
track_description: string | null; | ||
version: boolean | null; | ||
version_tag: string | null; | ||
version_name: string | null; | ||
master_track_number: string | null; | ||
master_track_id: string | null; | ||
isrc: string | null; | ||
label_name: string | null; | ||
label_code: string | null; | ||
label_lc_name: string | null; | ||
album_number: string | null; | ||
album_code: string | null; | ||
album_name: string | null; | ||
album_description: string | null; | ||
tempo: string | null; | ||
bpm: number | null; | ||
music_key: string | null; | ||
music_meter: string | null; | ||
lyrics: string | null; | ||
lyrics_language: string | null; | ||
artists: string[] | null; | ||
composers: string[] | null; | ||
publisher: string | null; | ||
genres: string[] | null; | ||
instruments: string[] | null; | ||
moods: string[] | null; | ||
music_for: string[] | null; | ||
album_keywords: string[] | null; | ||
active: boolean | null; | ||
licensable: boolean | null; | ||
restricted: boolean | null; | ||
commercial: boolean | null; | ||
process_input_error_details: string | null; | ||
explicit: boolean | null; | ||
profane: boolean | null; | ||
territories: string[] | null; | ||
decades: string[] | null; | ||
vocals: string[] | null; | ||
owner: string[] | null; | ||
publishing_partner: string[] | null; | ||
publishing_partner_us: string[] | null; | ||
recognisable: boolean | null; | ||
share: number | null; | ||
top: boolean | null; | ||
subgenres: string[] | null; | ||
categories: string[] | null; | ||
looped: boolean | null; | ||
pro_affiliated: boolean | null; | ||
content_id_registered: boolean | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
filepath: string | null; | ||
external_id: string | null; | ||
sync_history: boolean | null; | ||
jam_sync: boolean | null; | ||
hit: boolean | null; | ||
cuesheet_info: string | null; | ||
id: string | number; | ||
id_client: string; | ||
duration: number | null; | ||
release_year: number | null; | ||
track_name: string; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
@@ -1153,13 +821,5 @@ duration: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
streaming_id?: number | undefined; | ||
custom_data?: any; | ||
auto_tagging_output?: Record<string, any> | null | undefined; | ||
net_duration?: Record<string, any> | null | undefined; | ||
artist_canonical?: string | null | undefined; | ||
add_file_hash?: string | null | undefined; | ||
} | undefined); | ||
}; | ||
included: boolean; | ||
}[]; | ||
aggregations?: any; | ||
lyrics_search?: { | ||
@@ -1169,2 +829,3 @@ active: boolean; | ||
} | undefined; | ||
aggregations?: any; | ||
}, { | ||
@@ -1180,11 +841,7 @@ type: "code" | "url" | "prompt" | "tag" | "internal" | "file-url" | "prompt-and-keyword" | "keyword" | "full-text" | "numeric" | "code-and-keyword" | "code-and-prompt" | "internal-and-prompt"; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
@@ -1198,19 +855,19 @@ store_secret: string | null; | ||
totals: { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -1222,3 +879,3 @@ relation?: "gte" | "eq" | undefined; | ||
type: string; | ||
value: (string | { | ||
value: string | { | ||
track_number: string | null; | ||
@@ -1276,11 +933,7 @@ track_code: string | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -1298,17 +951,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -1321,87 +966,2 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
}) & (string | { | ||
track_number: string | null; | ||
track_code: string | null; | ||
track_description: string | null; | ||
version: boolean | null; | ||
version_tag: string | null; | ||
version_name: string | null; | ||
master_track_number: string | null; | ||
master_track_id: string | null; | ||
isrc: string | null; | ||
label_name: string | null; | ||
label_code: string | null; | ||
label_lc_name: string | null; | ||
album_number: string | null; | ||
album_code: string | null; | ||
album_name: string | null; | ||
album_description: string | null; | ||
tempo: string | null; | ||
bpm: number | null; | ||
music_key: string | null; | ||
music_meter: string | null; | ||
lyrics: string | null; | ||
lyrics_language: string | null; | ||
artists: string[] | null; | ||
composers: string[] | null; | ||
publisher: string | null; | ||
genres: string[] | null; | ||
instruments: string[] | null; | ||
moods: string[] | null; | ||
music_for: string[] | null; | ||
album_keywords: string[] | null; | ||
active: boolean | null; | ||
licensable: boolean | null; | ||
restricted: boolean | null; | ||
commercial: boolean | null; | ||
process_input_error_details: string | null; | ||
explicit: boolean | null; | ||
profane: boolean | null; | ||
territories: string[] | null; | ||
decades: string[] | null; | ||
vocals: string[] | null; | ||
owner: string[] | null; | ||
publishing_partner: string[] | null; | ||
publishing_partner_us: string[] | null; | ||
recognisable: boolean | null; | ||
share: number | null; | ||
top: boolean | null; | ||
subgenres: string[] | null; | ||
categories: string[] | null; | ||
looped: boolean | null; | ||
pro_affiliated: boolean | null; | ||
content_id_registered: boolean | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
filepath: string | null; | ||
external_id: string | null; | ||
sync_history: boolean | null; | ||
jam_sync: boolean | null; | ||
hit: boolean | null; | ||
cuesheet_info: string | null; | ||
id: string | number; | ||
id_client: string; | ||
duration: number | null; | ||
release_year: number | null; | ||
track_name: string; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
@@ -1411,13 +971,5 @@ duration: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
streaming_id?: number | undefined; | ||
custom_data?: any; | ||
auto_tagging_output?: Record<string, any> | null | undefined; | ||
net_duration?: Record<string, any> | null | undefined; | ||
artist_canonical?: string | null | undefined; | ||
add_file_hash?: string | null | undefined; | ||
} | undefined); | ||
}; | ||
included: boolean; | ||
}[]; | ||
aggregations?: any; | ||
lyrics_search?: { | ||
@@ -1427,2 +979,3 @@ active: boolean; | ||
} | undefined; | ||
aggregations?: any; | ||
}>; | ||
@@ -1429,0 +982,0 @@ export type SearchResponse = z.infer<typeof searchResponseSchema>; |
@@ -66,8 +66,9 @@ import { z } from 'zod'; | ||
}>; | ||
export declare const detailedCollectionSchema: z.ZodObject<{ | ||
export declare const detailedCollectionSchema: z.ZodObject<z.objectUtil.extendShape<{ | ||
followers: z.ZodNullable<z.ZodAny>; | ||
owner: z.ZodNullable<z.ZodAny>; | ||
followers: z.ZodNullable<z.ZodAny>; | ||
contact: z.ZodNullable<z.ZodAny>; | ||
number_of_tracks: z.ZodNumber; | ||
keywords: z.ZodNullable<z.ZodAny>; | ||
}, { | ||
id: z.ZodString; | ||
@@ -92,3 +93,3 @@ key: z.ZodString; | ||
}>, "many">>>; | ||
}, "strip", z.ZodTypeAny, { | ||
}>, "strip", z.ZodTypeAny, { | ||
id: string; | ||
@@ -101,5 +102,2 @@ processed_at: string | null; | ||
owner?: any; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
description?: string | null | undefined; | ||
@@ -111,2 +109,5 @@ grouping_data?: { | ||
}[] | null | undefined; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
}, { | ||
@@ -120,5 +121,2 @@ id: string; | ||
owner?: any; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
description?: string | null | undefined; | ||
@@ -130,2 +128,5 @@ grouping_data?: { | ||
}[] | null | undefined; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
}>; | ||
@@ -295,8 +296,9 @@ export declare const collectionResponseSchema: z.ZodObject<{ | ||
export declare const collectionsListSchemaDetailed: z.ZodObject<{ | ||
collections: z.ZodArray<z.ZodObject<{ | ||
collections: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{ | ||
followers: z.ZodNullable<z.ZodAny>; | ||
owner: z.ZodNullable<z.ZodAny>; | ||
followers: z.ZodNullable<z.ZodAny>; | ||
contact: z.ZodNullable<z.ZodAny>; | ||
number_of_tracks: z.ZodNumber; | ||
keywords: z.ZodNullable<z.ZodAny>; | ||
}, { | ||
id: z.ZodString; | ||
@@ -321,3 +323,3 @@ key: z.ZodString; | ||
}>, "many">>>; | ||
}, "strip", z.ZodTypeAny, { | ||
}>, "strip", z.ZodTypeAny, { | ||
id: string; | ||
@@ -330,5 +332,2 @@ processed_at: string | null; | ||
owner?: any; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
description?: string | null | undefined; | ||
@@ -340,2 +339,5 @@ grouping_data?: { | ||
}[] | null | undefined; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
}, { | ||
@@ -349,5 +351,2 @@ id: string; | ||
owner?: any; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
description?: string | null | undefined; | ||
@@ -359,2 +358,5 @@ grouping_data?: { | ||
}[] | null | undefined; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
}>, "many">; | ||
@@ -380,5 +382,2 @@ pagination: z.ZodObject<{ | ||
owner?: any; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
description?: string | null | undefined; | ||
@@ -390,2 +389,5 @@ grouping_data?: { | ||
}[] | null | undefined; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
}[]; | ||
@@ -404,5 +406,2 @@ }, { | ||
owner?: any; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
description?: string | null | undefined; | ||
@@ -414,2 +413,5 @@ grouping_data?: { | ||
}[] | null | undefined; | ||
followers?: any; | ||
contact?: any; | ||
keywords?: any; | ||
}[]; | ||
@@ -515,3 +517,3 @@ }>; | ||
title: z.ZodString; | ||
tracks: z.ZodArray<z.ZodObject<{ | ||
tracks: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{ | ||
id: z.ZodUnion<[z.ZodString, z.ZodNumber]>; | ||
@@ -548,2 +550,3 @@ id_client: z.ZodString; | ||
}>, "many">>; | ||
}, { | ||
streaming_hash: z.ZodOptional<z.ZodString>; | ||
@@ -627,3 +630,3 @@ streaming_id: z.ZodOptional<z.ZodNumber>; | ||
add_file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
}, "strip", z.ZodTypeAny, { | ||
}>, "strip", z.ZodTypeAny, { | ||
track_number: string | null; | ||
@@ -681,11 +684,7 @@ track_code: string | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -703,17 +702,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -726,2 +717,6 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
}, { | ||
@@ -780,11 +775,7 @@ track_number: string | null; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -802,17 +793,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -825,2 +808,6 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
}>, "many">; | ||
@@ -884,11 +871,7 @@ streaming_secret: z.ZodString; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -906,17 +889,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -929,2 +904,6 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
}[]; | ||
@@ -993,11 +972,7 @@ title: string; | ||
visibility: string[] | null; | ||
released_at: ((string | { | ||
released_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
filepath: string | null; | ||
@@ -1015,17 +990,9 @@ external_id: string | null; | ||
tags: string[] | null; | ||
processed_at: ((string | { | ||
processed_at: string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
}) & (string | { | ||
date: string; | ||
timezone_type: number; | ||
timezone: string; | ||
} | undefined)) | null; | ||
} | null; | ||
process_input_error: string | null; | ||
store_secret: string | null; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
streaming_hash?: string | undefined; | ||
@@ -1038,2 +1005,6 @@ streaming_id?: number | undefined; | ||
add_file_hash?: string | null | undefined; | ||
highlights?: { | ||
duration: number; | ||
offset: number; | ||
}[] | undefined; | ||
}[]; | ||
@@ -1040,0 +1011,0 @@ title: string; |
@@ -54,19 +54,19 @@ import z from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -76,19 +76,19 @@ relation?: "gte" | "eq" | undefined; | ||
}, { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -189,19 +189,19 @@ relation?: "gte" | "eq" | undefined; | ||
}, "strip", z.ZodTypeAny, { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -211,19 +211,19 @@ relation?: "gte" | "eq" | undefined; | ||
}, { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -242,19 +242,19 @@ relation?: "gte" | "eq" | undefined; | ||
totals: { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -273,19 +273,19 @@ relation?: "gte" | "eq" | undefined; | ||
totals: { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -368,19 +368,19 @@ relation?: "gte" | "eq" | undefined; | ||
}, "strip", z.ZodTypeAny, { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -390,19 +390,19 @@ relation?: "gte" | "eq" | undefined; | ||
}, { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -421,19 +421,19 @@ relation?: "gte" | "eq" | undefined; | ||
totals: { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -452,19 +452,19 @@ relation?: "gte" | "eq" | undefined; | ||
totals: { | ||
albums?: { | ||
artists?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
artists?: { | ||
tags?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
playlists?: { | ||
tracks?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tags?: { | ||
albums?: { | ||
value: number; | ||
relation?: "gte" | "eq" | undefined; | ||
} | undefined; | ||
tracks?: { | ||
playlists?: { | ||
value: number; | ||
@@ -471,0 +471,0 @@ relation?: "gte" | "eq" | undefined; |
{ | ||
"name": "@aims-api/aims-node", | ||
"version": "0.0.2", | ||
"version": "0.0.4", | ||
"license": "UNLICENSED", | ||
@@ -9,2 +9,3 @@ "homepage": "https://github.com/aims-api/aims-node", | ||
"music search", | ||
"similarity search", | ||
"api" | ||
@@ -29,6 +30,7 @@ ], | ||
"ci-lint": "eslint '*/**/*.{js,jsx,ts,tsx}' --quiet", | ||
"test": "jest --runInBand" | ||
"test": "jest --runInBand", | ||
"publish-npm": "yarn build && changeset publish" | ||
}, | ||
"dependencies": { | ||
"axios": "^1.4.0", | ||
"axios": "1.6.0", | ||
"form-data": "^4.0.0", | ||
@@ -39,2 +41,3 @@ "typescript": "^5.1.6", | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.7", | ||
"@types/node": "^20.4.5", | ||
@@ -58,3 +61,6 @@ "@typescript-eslint/eslint-plugin": "^6.2.0", | ||
"test": "test" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
205
462240
15
9895
+ Addedaxios@1.6.0(transitive)
- Removedaxios@1.7.9(transitive)
Updatedaxios@1.6.0