@apifreaks/openapi-specs 0.4.16 → 0.4.18
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.cjs +762 -45
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +762 -45
- package/dist/specs/commodity/commodity-fluctuation.yaml +2 -2
- package/dist/specs/commodity/commodity-intraday-rates.yaml +539 -0
- package/dist/specs/commodity/commodity-prices.yaml +3 -3
- package/dist/specs/commodity/commodity-symbols.yaml +1 -1
- package/dist/specs/commodity/commodity-time-series.yaml +2 -2
- package/dist/specs/commodity/historical-commodity-prices.yaml +2 -2
- package/dist/specs/email-validation/bulk-disposable-email-checker.yaml +15 -9
- package/dist/specs/email-validation/disposable-email-checker.yaml +15 -9
- package/package.json +1 -1
- package/specs/README.md +1 -0
- package/specs/commodity/commodity-fluctuation.json +2 -2
- package/specs/commodity/commodity-intraday-rates.json +698 -0
- package/specs/commodity/commodity-prices.json +3 -3
- package/specs/commodity/commodity-symbols.json +1 -1
- package/specs/commodity/commodity-time-series.json +2 -2
- package/specs/commodity/historical-commodity-prices.json +2 -2
- package/specs/email-validation/bulk-disposable-email-checker.json +13 -9
- package/specs/email-validation/disposable-email-checker.json +13 -9
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Live Commodity Prices API - Real Time Market Insights",
|
|
5
5
|
"version": "2.0.0",
|
|
6
|
-
"description": "Real-time prices for
|
|
6
|
+
"description": "Real-time prices for 520+ commodities in a single request, updated on a rolling ~1 minute cadence. Optionally convert prices into a target quote currency. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "APIFreaks Support",
|
|
9
9
|
"url": "https://apifreaks.com/contact",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
},
|
|
134
134
|
"unresolved": {
|
|
135
135
|
"FAKESYM": {
|
|
136
|
-
"message": "We don't
|
|
136
|
+
"message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
"message": "The symbol is not supported, please visit the documentation for a list of supported symbols",
|
|
242
242
|
"unresolved": {
|
|
243
243
|
"FAKESYM": {
|
|
244
|
-
"message": "We don't
|
|
244
|
+
"message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Commodity Symbols API Reference",
|
|
5
5
|
"version": "2.0.0",
|
|
6
|
-
"description": "Full catalog of
|
|
6
|
+
"description": "Full catalog of 520+ supported commodities across Metals, Energy, Agriculture, Industrial, Raw Materials, Oils and Meals, Textiles, Meats, Poultry, and Livestock, with pricing currency, unit, and update interval per symbol. Deprecated symbols stay listed with `status: \"inactive\"` and a `deprecationDate`.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "APIFreaks Support",
|
|
9
9
|
"url": "https://apifreaks.com/contact",
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
},
|
|
192
192
|
"unresolved": {
|
|
193
193
|
"FAKESYM": {
|
|
194
|
-
"message": "We don't
|
|
194
|
+
"message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
}
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
"message": "The symbol is not supported, please visit the documentation for a list of supported symbols",
|
|
308
308
|
"unresolved": {
|
|
309
309
|
"FAKESYM": {
|
|
310
|
-
"message": "We don't
|
|
310
|
+
"message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
},
|
|
136
136
|
"unresolved": {
|
|
137
137
|
"FAKESYM": {
|
|
138
|
-
"message": "We don't
|
|
138
|
+
"message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
"message": "The symbol is not supported, please visit the documentation for a list of supported symbols",
|
|
242
242
|
"unresolved": {
|
|
243
243
|
"FAKESYM": {
|
|
244
|
-
"message": "We don't
|
|
244
|
+
"message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
}
|
|
@@ -341,9 +341,11 @@
|
|
|
341
341
|
"$ref": "#/components/schemas/DisposableDnsObject"
|
|
342
342
|
},
|
|
343
343
|
"ip": {
|
|
344
|
-
"
|
|
345
|
-
"
|
|
346
|
-
|
|
344
|
+
"description": "The IP address that was looked up.",
|
|
345
|
+
"anyOf": [
|
|
346
|
+
{ "type": "string", "format": "ipv4" },
|
|
347
|
+
{ "type": "string", "format": "ipv6" }
|
|
348
|
+
]
|
|
347
349
|
},
|
|
348
350
|
"address": {
|
|
349
351
|
"$ref": "#/components/schemas/AddressObject"
|
|
@@ -417,7 +419,7 @@
|
|
|
417
419
|
"properties": {
|
|
418
420
|
"emailData": {
|
|
419
421
|
"type": "array",
|
|
420
|
-
"description": "Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email
|
|
422
|
+
"description": "Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email.",
|
|
421
423
|
"minItems": 1,
|
|
422
424
|
"maxItems": 100,
|
|
423
425
|
"items": {
|
|
@@ -460,12 +462,14 @@
|
|
|
460
462
|
"properties": {
|
|
461
463
|
"email": {
|
|
462
464
|
"type": "string",
|
|
463
|
-
"description": "The email address to check.
|
|
465
|
+
"description": "The email address to check."
|
|
464
466
|
},
|
|
465
467
|
"ip": {
|
|
466
|
-
"
|
|
467
|
-
"
|
|
468
|
-
|
|
468
|
+
"description": "Optional IP address to look up for location and security data, such as the IP the signup came from.",
|
|
469
|
+
"anyOf": [
|
|
470
|
+
{ "type": "string", "format": "ipv4" },
|
|
471
|
+
{ "type": "string", "format": "ipv6" }
|
|
472
|
+
]
|
|
469
473
|
}
|
|
470
474
|
}
|
|
471
475
|
},
|
|
@@ -483,7 +487,7 @@
|
|
|
483
487
|
"$ref": "#/components/schemas/EmailSecurity"
|
|
484
488
|
}
|
|
485
489
|
},
|
|
486
|
-
"description": "Geolocation and security enrichment data for the IP address.
|
|
490
|
+
"description": "Geolocation and security enrichment data for the IP address.",
|
|
487
491
|
"required": []
|
|
488
492
|
},
|
|
489
493
|
"EmailLocation": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
],
|
|
38
38
|
"responses": {
|
|
39
39
|
"200": {
|
|
40
|
-
"description": "Successful response with disposable email check result.
|
|
40
|
+
"description": "Successful response with disposable email check result.",
|
|
41
41
|
"content": {
|
|
42
42
|
"application/json": {
|
|
43
43
|
"schema": {
|
|
@@ -419,9 +419,11 @@
|
|
|
419
419
|
"$ref": "#/components/schemas/DisposableDnsObject"
|
|
420
420
|
},
|
|
421
421
|
"ip": {
|
|
422
|
-
"
|
|
423
|
-
"
|
|
424
|
-
|
|
422
|
+
"description": "The IP address that was looked up.",
|
|
423
|
+
"anyOf": [
|
|
424
|
+
{ "type": "string", "format": "ipv4" },
|
|
425
|
+
{ "type": "string", "format": "ipv6" }
|
|
426
|
+
]
|
|
425
427
|
},
|
|
426
428
|
"address": {
|
|
427
429
|
"$ref": "#/components/schemas/AddressObject"
|
|
@@ -524,12 +526,14 @@
|
|
|
524
526
|
"email": {
|
|
525
527
|
"type": "string",
|
|
526
528
|
"format": "email",
|
|
527
|
-
"description": "The email address to check.
|
|
529
|
+
"description": "The email address to check."
|
|
528
530
|
},
|
|
529
531
|
"ip": {
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
|
|
532
|
+
"description": "Optional IP address to look up for location and security data, such as the IP the signup came from.",
|
|
533
|
+
"anyOf": [
|
|
534
|
+
{ "type": "string", "format": "ipv4" },
|
|
535
|
+
{ "type": "string", "format": "ipv6" }
|
|
536
|
+
]
|
|
533
537
|
}
|
|
534
538
|
}
|
|
535
539
|
},
|
|
@@ -547,7 +551,7 @@
|
|
|
547
551
|
"$ref": "#/components/schemas/EmailSecurity"
|
|
548
552
|
}
|
|
549
553
|
},
|
|
550
|
-
"description": "Geolocation and security enrichment data for the IP address.
|
|
554
|
+
"description": "Geolocation and security enrichment data for the IP address.",
|
|
551
555
|
"required": []
|
|
552
556
|
},
|
|
553
557
|
"EmailLocation": {
|