perfume-api 2.5.0 → 2.5.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/README.md +1 -1
- package/dist/types.d.ts +9 -9
- package/dist/types.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -141,7 +141,7 @@ vanilla, a gourmand note: Warm, creamy, sweet and comforting, like custard and c
|
|
|
141
141
|
|
|
142
142
|
## Languages
|
|
143
143
|
|
|
144
|
-
Every call takes `locale` (`en`, `de`, `fr`, `es`, `it`, `ro`, `el`, `hu`, `cs`, `pl`) for the 10ml.com links in the answer, and `format` (`concise` or `detailed`). Notes are understood in other languages too: "Vanille" finds vanilla.
|
|
144
|
+
Every call takes `locale` (`en`, `de`, `fr`, `es`, `it`, `ro`, `el`, `hu`, `cs`, `pl`, `nl`) for the 10ml.com links in the answer, and `format` (`concise` or `detailed`). Notes are understood in other languages too: "Vanille" finds vanilla.
|
|
145
145
|
|
|
146
146
|
## Limits and fair use
|
|
147
147
|
|
package/dist/types.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export interface SearchPerfumesParams {
|
|
|
85
85
|
/** concise (default) or detailed (adds pyramid, seasons, occasions, longevity). */
|
|
86
86
|
format?: "concise" | "detailed";
|
|
87
87
|
/** Language of the 10ml.com links and labels. */
|
|
88
|
-
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl";
|
|
88
|
+
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl" | "nl";
|
|
89
89
|
}
|
|
90
90
|
export interface GetPerfumeResponse {
|
|
91
91
|
found: boolean;
|
|
@@ -124,7 +124,7 @@ export interface GetPerfumeParams {
|
|
|
124
124
|
/** concise (default) or detailed (adds pyramid, seasons, occasions, longevity). */
|
|
125
125
|
format?: "concise" | "detailed";
|
|
126
126
|
/** Language of the 10ml.com links and labels. */
|
|
127
|
-
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl";
|
|
127
|
+
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl" | "nl";
|
|
128
128
|
}
|
|
129
129
|
export interface FindSimilarPerfumesResponse {
|
|
130
130
|
/** How many results matched in all */
|
|
@@ -174,7 +174,7 @@ export interface FindSimilarPerfumesParams {
|
|
|
174
174
|
/** concise (default) or detailed (adds pyramid, seasons, occasions, longevity). */
|
|
175
175
|
format?: "concise" | "detailed";
|
|
176
176
|
/** Language of the 10ml.com links and labels. */
|
|
177
|
-
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl";
|
|
177
|
+
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl" | "nl";
|
|
178
178
|
}
|
|
179
179
|
export interface FindPerfumeAlternativesResponse {
|
|
180
180
|
/** How many results matched in all */
|
|
@@ -216,7 +216,7 @@ export interface FindPerfumeAlternativesParams {
|
|
|
216
216
|
/** next_cursor from the previous page. */
|
|
217
217
|
cursor?: string;
|
|
218
218
|
/** Language of the 10ml.com links and labels. */
|
|
219
|
-
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl";
|
|
219
|
+
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl" | "nl";
|
|
220
220
|
}
|
|
221
221
|
export interface ExplainNoteResponse {
|
|
222
222
|
found: boolean;
|
|
@@ -242,7 +242,7 @@ export interface ExplainNoteParams {
|
|
|
242
242
|
/** concise (default) or detailed (adds pyramid, seasons, occasions, longevity). */
|
|
243
243
|
format?: "concise" | "detailed";
|
|
244
244
|
/** Language of the 10ml.com links and labels. */
|
|
245
|
-
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl";
|
|
245
|
+
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl" | "nl";
|
|
246
246
|
}
|
|
247
247
|
export interface ListHousesResponse {
|
|
248
248
|
/** How many results matched in all */
|
|
@@ -274,7 +274,7 @@ export interface ListHousesParams {
|
|
|
274
274
|
/** next_cursor from the previous page. */
|
|
275
275
|
cursor?: string;
|
|
276
276
|
/** Language of the 10ml.com links and labels. */
|
|
277
|
-
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl";
|
|
277
|
+
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl" | "nl";
|
|
278
278
|
}
|
|
279
279
|
export interface GetHouseResponse {
|
|
280
280
|
found: boolean;
|
|
@@ -299,7 +299,7 @@ export interface GetHouseParams {
|
|
|
299
299
|
/** concise (default) or detailed (adds pyramid, seasons, occasions, longevity). */
|
|
300
300
|
format?: "concise" | "detailed";
|
|
301
301
|
/** Language of the 10ml.com links and labels. */
|
|
302
|
-
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl";
|
|
302
|
+
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl" | "nl";
|
|
303
303
|
}
|
|
304
304
|
export interface SearchGuidesResponse {
|
|
305
305
|
/** How many results matched in all */
|
|
@@ -328,7 +328,7 @@ export interface SearchGuidesParams {
|
|
|
328
328
|
/** next_cursor from the previous page. */
|
|
329
329
|
cursor?: string;
|
|
330
330
|
/** Language of the 10ml.com links and labels. */
|
|
331
|
-
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl";
|
|
331
|
+
locale?: "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl" | "nl";
|
|
332
332
|
}
|
|
333
|
-
export type Locale = "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl";
|
|
333
|
+
export type Locale = "en" | "de" | "fr" | "es" | "it" | "ro" | "el" | "hu" | "cs" | "pl" | "nl";
|
|
334
334
|
export type ResponseFormat = "concise" | "detailed";
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// Generated by scripts/gen-types.mjs from spec/openapi.json (10ML Fragrance Index API 2.5.
|
|
1
|
+
// Generated by scripts/gen-types.mjs from spec/openapi.json (10ML Fragrance Index API 2.5.1). Do not edit by hand.
|
|
2
2
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "perfume-api",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Free perfume API client: perfumes, note pyramids, accords, similar scents, notes and houses from the 10ML Fragrance Index. No API key, JSON over HTTPS.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"perfume",
|