@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.
@@ -245,9 +245,12 @@ components:
245
245
  dns:
246
246
  $ref: '#/components/schemas/DisposableDnsObject'
247
247
  ip:
248
- type: string
249
- format: ip
250
- description: The IP address that was looked up. Present only when an ip was sent in the request.
248
+ description: The IP address that was looked up.
249
+ anyOf:
250
+ - type: string
251
+ format: ipv4
252
+ - type: string
253
+ format: ipv6
251
254
  address:
252
255
  $ref: '#/components/schemas/AddressObject'
253
256
  description: Disposable email check result for a single item in the bulk request.
@@ -305,7 +308,7 @@ components:
305
308
  properties:
306
309
  emailData:
307
310
  type: array
308
- description: Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email — either condition rejects the whole request with a 400.
311
+ description: Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email.
309
312
  minItems: 1
310
313
  maxItems: 100
311
314
  items:
@@ -339,11 +342,14 @@ components:
339
342
  properties:
340
343
  email:
341
344
  type: string
342
- description: The email address to check. A malformed address still returns a normal response, with validSyntax and domain.validDomain set to false.
345
+ description: The email address to check.
343
346
  ip:
344
- type: string
345
- format: ip
346
- description: Optional IP address to look up for location and security data, such as the IP the signup came from. An invalid or reserved IP still returns 200, with address.validIpAddress set to false.
347
+ description: Optional IP address to look up for location and security data, such as the IP the signup came from.
348
+ anyOf:
349
+ - type: string
350
+ format: ipv4
351
+ - type: string
352
+ format: ipv6
347
353
  AddressObject:
348
354
  type: object
349
355
  properties:
@@ -354,7 +360,7 @@ components:
354
360
  $ref: '#/components/schemas/EmailLocation'
355
361
  security:
356
362
  $ref: '#/components/schemas/EmailSecurity'
357
- description: Geolocation and security enrichment data for the IP address. Present only when an ip was sent in the request. If the IP lookup fails, this object is omitted and the disposable email result is unaffected.
363
+ description: Geolocation and security enrichment data for the IP address.
358
364
  required: []
359
365
  EmailLocation:
360
366
  type: object
@@ -30,7 +30,7 @@ paths:
30
30
  description: Format of the response.
31
31
  responses:
32
32
  '200':
33
- description: Successful response with disposable email check result. ip and address appear only when an ip was sent.
33
+ description: Successful response with disposable email check result.
34
34
  content:
35
35
  application/json:
36
36
  schema:
@@ -315,9 +315,12 @@ components:
315
315
  dns:
316
316
  $ref: '#/components/schemas/DisposableDnsObject'
317
317
  ip:
318
- type: string
319
- format: ip
320
- description: The IP address that was looked up. Present only when an ip was sent in the request.
318
+ description: The IP address that was looked up.
319
+ anyOf:
320
+ - type: string
321
+ format: ipv4
322
+ - type: string
323
+ format: ipv6
321
324
  address:
322
325
  $ref: '#/components/schemas/AddressObject'
323
326
  description: Disposable email check response.
@@ -398,11 +401,14 @@ components:
398
401
  email:
399
402
  type: string
400
403
  format: email
401
- description: The email address to check. A malformed address still returns a normal response, with validSyntax and domain.validDomain set to false.
404
+ description: The email address to check.
402
405
  ip:
403
- type: string
404
- format: ip
405
- description: Optional IP address to look up for location and security data, such as the IP the signup came from. An invalid or reserved IP still returns 200, with address.validIpAddress set to false.
406
+ description: Optional IP address to look up for location and security data, such as the IP the signup came from.
407
+ anyOf:
408
+ - type: string
409
+ format: ipv4
410
+ - type: string
411
+ format: ipv6
406
412
  AddressObject:
407
413
  type: object
408
414
  properties:
@@ -413,7 +419,7 @@ components:
413
419
  $ref: '#/components/schemas/EmailLocation'
414
420
  security:
415
421
  $ref: '#/components/schemas/EmailSecurity'
416
- description: Geolocation and security enrichment data for the IP address. Present only when an ip was sent in the request. If the IP lookup fails, this object is omitted and the disposable email result is unaffected.
422
+ description: Geolocation and security enrichment data for the IP address.
417
423
  required: []
418
424
  EmailLocation:
419
425
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apifreaks/openapi-specs",
3
- "version": "0.4.16",
3
+ "version": "0.4.18",
4
4
  "description": "Public OpenAPI 3.1 specifications for all APIFreaks API products.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/specs/README.md CHANGED
@@ -179,6 +179,7 @@ Grouped by folder. Slug is the stable id; the name links to the file.
179
179
  | `historical-commodity-prices` | [Historical Commodity Prices](commodity/historical-commodity-prices.json) |
180
180
  | `commodity-fluctuation` | [Commodity Fluctuation](commodity/commodity-fluctuation.json) |
181
181
  | `commodity-time-series` | [Commodity Time Series](commodity/commodity-time-series.json) |
182
+ | `commodity-intraday-rates` | [Commodity Intraday Rates](commodity/commodity-intraday-rates.json) |
182
183
  | `commodity-symbols` | [Commodity Symbols](commodity/commodity-symbols.json) |
183
184
 
184
185
  ### Financial
@@ -127,7 +127,7 @@
127
127
  },
128
128
  "unresolved": {
129
129
  "FAKESYM": {
130
- "message": "We don't support this symbol, please visit our symbols page to see supported symbols."
130
+ "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."
131
131
  }
132
132
  }
133
133
  }
@@ -243,7 +243,7 @@
243
243
  "message": "The symbol is not supported, please visit the documentation for a list of supported symbols",
244
244
  "unresolved": {
245
245
  "FAKESYM": {
246
- "message": "We don't support this symbol, please visit our symbols page to see supported symbols."
246
+ "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."
247
247
  }
248
248
  }
249
249
  }