@apifreaks/openapi-specs 0.2.0 → 0.3.0

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.
Files changed (212) hide show
  1. package/README.md +37 -37
  2. package/dist/index.cjs +2787 -348
  3. package/dist/index.js +2787 -348
  4. package/dist/specs/commodity/commodity-fluctuation.yaml +14 -0
  5. package/dist/specs/commodity/commodity-prices.yaml +14 -0
  6. package/dist/specs/commodity/commodity-symbols.yaml +8 -0
  7. package/dist/specs/commodity/commodity-time-series.yaml +14 -0
  8. package/dist/specs/commodity/historical-commodity-prices.yaml +14 -0
  9. package/dist/specs/currency/currency-converter.yaml +14 -0
  10. package/dist/specs/currency/currency-fluctuation.yaml +14 -0
  11. package/dist/specs/currency/currency-historical-data-limit.yaml +11 -0
  12. package/dist/specs/currency/currency-rate.yaml +14 -0
  13. package/dist/specs/currency/currency-supported.yaml +11 -0
  14. package/dist/specs/currency/currency-symbols.yaml +11 -0
  15. package/dist/specs/currency/currency-time-series.yaml +14 -0
  16. package/dist/specs/currency/geolocalized-currency-conversion.yaml +14 -0
  17. package/dist/specs/currency/historical-currency-converter.yaml +14 -0
  18. package/dist/specs/currency/historical-currency-rate.yaml +14 -0
  19. package/dist/specs/dns/bulk-dns-lookup.yaml +14 -0
  20. package/dist/specs/dns/dns-history-lookup.yaml +14 -0
  21. package/dist/specs/dns/dns-lookup.yaml +11 -0
  22. package/dist/specs/dns/reverse-dns-lookup.yaml +34 -0
  23. package/dist/specs/domain/bulk-domain-checker.yaml +17 -0
  24. package/dist/specs/domain/domain-search-with-suggestions.yaml +14 -0
  25. package/dist/specs/domain/domain-search.yaml +14 -0
  26. package/dist/specs/domain/subdomain-lookup.yaml +14 -0
  27. package/dist/specs/email-validation/bulk-email-validation.yaml +17 -0
  28. package/dist/specs/email-validation/email-checker.yaml +41 -0
  29. package/dist/specs/financial/bulk-vat-rates-country.yaml +14 -0
  30. package/dist/specs/financial/financial-apis-supported-countries.yaml +8 -0
  31. package/dist/specs/financial/iban-validation.yaml +11 -0
  32. package/dist/specs/financial/swift-code-finder.yaml +11 -0
  33. package/dist/specs/financial/swift-code-lookup.yaml +14 -0
  34. package/dist/specs/financial/vat-number-validation.yaml +14 -0
  35. package/dist/specs/financial/vat-rates-by-ip.yaml +14 -0
  36. package/dist/specs/financial/vat-rates-country.yaml +14 -0
  37. package/dist/specs/general/usage-credits.yaml +11 -0
  38. package/dist/specs/geocoding/forward-geocoding.yaml +14 -0
  39. package/dist/specs/geocoding/reverse-geocoding.yaml +11 -0
  40. package/dist/specs/geodb/administrative-units-details.yaml +14 -0
  41. package/dist/specs/geodb/administrative-units-levels.yaml +14 -0
  42. package/dist/specs/geodb/administrative-units.yaml +14 -0
  43. package/dist/specs/geodb/cities.yaml +14 -0
  44. package/dist/specs/geodb/countries-details.yaml +11 -0
  45. package/dist/specs/geodb/countries.yaml +11 -0
  46. package/dist/specs/geodb/flags-supported.yaml +8 -0
  47. package/dist/specs/geodb/flags.yaml +14 -0
  48. package/dist/specs/geodb/regions.yaml +8 -0
  49. package/dist/specs/geodb/subregions.yaml +14 -0
  50. package/dist/specs/ip-intelligence/bulk-ip-lookup.yaml +14 -0
  51. package/dist/specs/ip-intelligence/bulk-ip-threat-intelligence.yaml +11 -0
  52. package/dist/specs/ip-intelligence/ip-locator.yaml +17 -0
  53. package/dist/specs/ip-intelligence/ip-threat-intelligence.yaml +14 -0
  54. package/dist/specs/other/astronomy-data.yaml +14 -0
  55. package/dist/specs/pdf/bulk-pdf-generator.yaml +32 -0
  56. package/dist/specs/pdf/delete-pdf-page.yaml +14 -0
  57. package/dist/specs/pdf/linearize-pdf.yaml +14 -0
  58. package/dist/specs/pdf/merge-pdf.yaml +14 -0
  59. package/dist/specs/pdf/pdf-compress.yaml +14 -0
  60. package/dist/specs/pdf/pdf-decrypt.yaml +14 -0
  61. package/dist/specs/pdf/pdf-encrypt.yaml +14 -0
  62. package/dist/specs/pdf/pdf-extract-pages.yaml +14 -0
  63. package/dist/specs/pdf/pdf-file-status.yaml +14 -0
  64. package/dist/specs/pdf/pdf-file.yaml +14 -0
  65. package/dist/specs/pdf/pdf-files.yaml +8 -0
  66. package/dist/specs/pdf/pdf-generator.yaml +32 -0
  67. package/dist/specs/pdf/pdf-resource-download.yaml +14 -0
  68. package/dist/specs/pdf/pdf-resource-upload-binary.yaml +14 -0
  69. package/dist/specs/pdf/pdf-resource-upload.yaml +14 -0
  70. package/dist/specs/pdf/pdf-restrict.yaml +14 -0
  71. package/dist/specs/pdf/pdf-split-pages.yaml +14 -0
  72. package/dist/specs/pdf/pdf-task-status.yaml +14 -0
  73. package/dist/specs/pdf/pdf-to-image.yaml +35 -0
  74. package/dist/specs/pdf/pdf-unrestrict.yaml +14 -0
  75. package/dist/specs/pdf/rotate-pdf-pages.yaml +14 -0
  76. package/dist/specs/phone-validation/bulk-phone-number-validation.yaml +23 -0
  77. package/dist/specs/phone-validation/phone-number-validation.yaml +20 -0
  78. package/dist/specs/scraper/web-scraper.yaml +34 -0
  79. package/dist/specs/screenshot/bulk-screenshot.yaml +34 -0
  80. package/dist/specs/screenshot/website-screenshot.yaml +34 -0
  81. package/dist/specs/ssl/ssl-certificate-chain-lookup.yaml +17 -0
  82. package/dist/specs/ssl/ssl-certificate-lookup.yaml +17 -0
  83. package/dist/specs/timezone/timezone-converter.yaml +14 -0
  84. package/dist/specs/timezone/timezone-lookup.yaml +14 -0
  85. package/dist/specs/user-agent/bulk-user-agent-parser.yaml +11 -0
  86. package/dist/specs/user-agent/user-agent-parser.yaml +11 -0
  87. package/dist/specs/weather/air-quality.yaml +14 -0
  88. package/dist/specs/weather/bulk-live-weather.yaml +11 -0
  89. package/dist/specs/weather/flood-forecast.yaml +14 -0
  90. package/dist/specs/weather/historical-weather.yaml +14 -0
  91. package/dist/specs/weather/live-weather.yaml +14 -0
  92. package/dist/specs/weather/marine-weather.yaml +14 -0
  93. package/dist/specs/weather/time-series-weather.yaml +11 -0
  94. package/dist/specs/weather/weather-forecast.yaml +11 -0
  95. package/dist/specs/whois/asn-lookup.yaml +14 -0
  96. package/dist/specs/whois/bulk-whois-lookup.yaml +17 -0
  97. package/dist/specs/whois/domain-whois-history-lookup.yaml +14 -0
  98. package/dist/specs/whois/reverse-whois.yaml +34 -0
  99. package/dist/specs/whois/whois-domain-lookup.yaml +17 -0
  100. package/dist/specs/whois/whois-ip-lookup.yaml +14 -0
  101. package/dist/specs/zip-code/bulk-zip-code-lookup.yaml +14 -0
  102. package/dist/specs/zip-code/zip-code-api.yaml +14 -0
  103. package/dist/specs/zip-code/zip-code-distance-match.yaml +14 -0
  104. package/dist/specs/zip-code/zip-code-distance.yaml +14 -0
  105. package/dist/specs/zip-code/zip-codes-by-city.yaml +14 -0
  106. package/dist/specs/zip-code/zip-codes-by-region.yaml +14 -0
  107. package/dist/specs/zip-code/zip-codes-radius-search.yaml +34 -0
  108. package/package.json +1 -1
  109. package/specs/commodity/commodity-fluctuation.json +23 -0
  110. package/specs/commodity/commodity-prices.json +23 -0
  111. package/specs/commodity/commodity-symbols.json +13 -0
  112. package/specs/commodity/commodity-time-series.json +27 -13
  113. package/specs/commodity/historical-commodity-prices.json +23 -0
  114. package/specs/currency/currency-converter.json +23 -0
  115. package/specs/currency/currency-fluctuation.json +23 -0
  116. package/specs/currency/currency-historical-data-limit.json +18 -0
  117. package/specs/currency/currency-rate.json +23 -0
  118. package/specs/currency/currency-supported.json +18 -0
  119. package/specs/currency/currency-symbols.json +18 -0
  120. package/specs/currency/currency-time-series.json +23 -0
  121. package/specs/currency/geolocalized-currency-conversion.json +23 -0
  122. package/specs/currency/historical-currency-converter.json +23 -0
  123. package/specs/currency/historical-currency-rate.json +23 -0
  124. package/specs/dns/bulk-dns-lookup.json +23 -0
  125. package/specs/dns/dns-history-lookup.json +23 -0
  126. package/specs/dns/dns-lookup.json +18 -0
  127. package/specs/dns/reverse-dns-lookup.json +61 -1
  128. package/specs/domain/bulk-domain-checker.json +28 -0
  129. package/specs/domain/domain-search-with-suggestions.json +23 -0
  130. package/specs/domain/domain-search.json +23 -0
  131. package/specs/domain/subdomain-lookup.json +23 -0
  132. package/specs/email-validation/bulk-email-validation.json +28 -0
  133. package/specs/email-validation/email-checker.json +64 -0
  134. package/specs/financial/bulk-vat-rates-country.json +23 -0
  135. package/specs/financial/financial-apis-supported-countries.json +34 -5
  136. package/specs/financial/iban-validation.json +18 -0
  137. package/specs/financial/swift-code-finder.json +31 -2
  138. package/specs/financial/swift-code-lookup.json +23 -0
  139. package/specs/financial/vat-number-validation.json +23 -0
  140. package/specs/financial/vat-rates-by-ip.json +23 -0
  141. package/specs/financial/vat-rates-country.json +23 -0
  142. package/specs/general/usage-credits.json +18 -0
  143. package/specs/geocoding/forward-geocoding.json +23 -0
  144. package/specs/geocoding/reverse-geocoding.json +18 -0
  145. package/specs/geodb/administrative-units-details.json +23 -0
  146. package/specs/geodb/administrative-units-levels.json +23 -0
  147. package/specs/geodb/administrative-units.json +23 -0
  148. package/specs/geodb/cities.json +23 -0
  149. package/specs/geodb/countries-details.json +18 -0
  150. package/specs/geodb/countries.json +18 -0
  151. package/specs/geodb/flags-supported.json +13 -0
  152. package/specs/geodb/flags.json +23 -0
  153. package/specs/geodb/regions.json +13 -0
  154. package/specs/geodb/subregions.json +23 -0
  155. package/specs/ip-intelligence/bulk-ip-lookup.json +23 -0
  156. package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +18 -0
  157. package/specs/ip-intelligence/ip-locator.json +33 -5
  158. package/specs/ip-intelligence/ip-threat-intelligence.json +23 -0
  159. package/specs/other/astronomy-data.json +24 -2
  160. package/specs/pdf/bulk-pdf-generator.json +61 -8
  161. package/specs/pdf/delete-pdf-page.json +33 -21
  162. package/specs/pdf/linearize-pdf.json +31 -19
  163. package/specs/pdf/merge-pdf.json +30 -18
  164. package/specs/pdf/pdf-compress.json +32 -25
  165. package/specs/pdf/pdf-decrypt.json +32 -21
  166. package/specs/pdf/pdf-encrypt.json +31 -19
  167. package/specs/pdf/pdf-extract-pages.json +33 -21
  168. package/specs/pdf/pdf-file-status.json +23 -0
  169. package/specs/pdf/pdf-file.json +23 -0
  170. package/specs/pdf/pdf-files.json +13 -0
  171. package/specs/pdf/pdf-generator.json +61 -8
  172. package/specs/pdf/pdf-resource-download.json +23 -0
  173. package/specs/pdf/pdf-resource-upload-binary.json +29 -16
  174. package/specs/pdf/pdf-resource-upload.json +30 -19
  175. package/specs/pdf/pdf-restrict.json +32 -20
  176. package/specs/pdf/pdf-split-pages.json +33 -21
  177. package/specs/pdf/pdf-task-status.json +23 -0
  178. package/specs/pdf/pdf-to-image.json +90 -101
  179. package/specs/pdf/pdf-unrestrict.json +32 -20
  180. package/specs/pdf/rotate-pdf-pages.json +32 -20
  181. package/specs/phone-validation/bulk-phone-number-validation.json +54 -16
  182. package/specs/phone-validation/phone-number-validation.json +33 -0
  183. package/specs/scraper/web-scraper.json +53 -0
  184. package/specs/screenshot/bulk-screenshot.json +53 -0
  185. package/specs/screenshot/website-screenshot.json +53 -0
  186. package/specs/ssl/ssl-certificate-chain-lookup.json +28 -0
  187. package/specs/ssl/ssl-certificate-lookup.json +28 -0
  188. package/specs/timezone/timezone-converter.json +23 -0
  189. package/specs/timezone/timezone-lookup.json +25 -2
  190. package/specs/user-agent/bulk-user-agent-parser.json +20 -2
  191. package/specs/user-agent/user-agent-parser.json +18 -0
  192. package/specs/weather/air-quality.json +23 -0
  193. package/specs/weather/bulk-live-weather.json +18 -0
  194. package/specs/weather/flood-forecast.json +23 -0
  195. package/specs/weather/historical-weather.json +23 -0
  196. package/specs/weather/live-weather.json +23 -0
  197. package/specs/weather/marine-weather.json +23 -0
  198. package/specs/weather/time-series-weather.json +18 -0
  199. package/specs/weather/weather-forecast.json +18 -0
  200. package/specs/whois/asn-lookup.json +23 -0
  201. package/specs/whois/bulk-whois-lookup.json +28 -0
  202. package/specs/whois/domain-whois-history-lookup.json +23 -0
  203. package/specs/whois/reverse-whois.json +53 -0
  204. package/specs/whois/whois-domain-lookup.json +28 -0
  205. package/specs/whois/whois-ip-lookup.json +23 -0
  206. package/specs/zip-code/bulk-zip-code-lookup.json +23 -0
  207. package/specs/zip-code/zip-code-api.json +23 -0
  208. package/specs/zip-code/zip-code-distance-match.json +23 -0
  209. package/specs/zip-code/zip-code-distance.json +23 -0
  210. package/specs/zip-code/zip-codes-by-city.json +23 -0
  211. package/specs/zip-code/zip-codes-by-region.json +24 -7
  212. package/specs/zip-code/zip-codes-radius-search.json +53 -0
@@ -87,6 +87,11 @@
87
87
  }
88
88
  }
89
89
  }
90
+ },
91
+ "headers": {
92
+ "X-AF-Credits-Cost": {
93
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
94
+ }
90
95
  }
91
96
  }
92
97
  }
@@ -202,6 +207,14 @@
202
207
  }
203
208
  }
204
209
  }
210
+ },
211
+ "headers": {
212
+ "X-AF-Credits-Cost": {
213
+ "description": "Specifies the number of credits consumed by the current request.",
214
+ "schema": {
215
+ "type": "integer"
216
+ }
217
+ }
205
218
  }
206
219
  },
207
220
  "security": [
@@ -19,9 +19,7 @@
19
19
  "paths": {
20
20
  "/commodity/time-series": {
21
21
  "get": {
22
- "tags": [
23
- "Commodity APIs"
24
- ],
22
+ "tags": ["Commodity APIs"],
25
23
  "summary": "Get commodity price time series",
26
24
  "description": "Returns day-by-day OHLC data for the requested commodity symbols within a date range.",
27
25
  "operationId": "getCommodityTimeSeries",
@@ -34,9 +32,7 @@
34
32
  "schema": {
35
33
  "type": "string",
36
34
  "default": "json",
37
- "enum": [
38
- "json"
39
- ]
35
+ "enum": ["json"]
40
36
  }
41
37
  },
42
38
  {
@@ -112,10 +108,15 @@
112
108
  }
113
109
  }
114
110
  }
111
+ },
112
+ "headers": {
113
+ "X-AF-Credits-Cost": {
114
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
115
+ }
115
116
  }
116
117
  },
117
118
  "400": {
118
- "description": "Bad Request \u2014 Missing parameters, invalid dates, or date range exceeded",
119
+ "description": "Bad Request Missing parameters, invalid dates, or date range exceeded",
119
120
  "content": {
120
121
  "application/json": {
121
122
  "examples": {
@@ -164,6 +165,11 @@
164
165
  "$ref": "#/components/schemas/ErrorResponse"
165
166
  }
166
167
  }
168
+ },
169
+ "headers": {
170
+ "X-AF-Credits-Cost": {
171
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
172
+ }
167
173
  }
168
174
  },
169
175
  "404": {
@@ -196,6 +202,11 @@
196
202
  }
197
203
  }
198
204
  }
205
+ },
206
+ "headers": {
207
+ "X-AF-Credits-Cost": {
208
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
209
+ }
199
210
  }
200
211
  }
201
212
  }
@@ -220,12 +231,7 @@
220
231
  "schemas": {
221
232
  "CommodityTimeSeriesResponse": {
222
233
  "type": "object",
223
- "required": [
224
- "success",
225
- "startDate",
226
- "endDate",
227
- "rates"
228
- ],
234
+ "required": ["success", "startDate", "endDate", "rates"],
229
235
  "properties": {
230
236
  "success": {
231
237
  "type": "boolean",
@@ -316,6 +322,14 @@
316
322
  }
317
323
  }
318
324
  }
325
+ },
326
+ "headers": {
327
+ "X-AF-Credits-Cost": {
328
+ "description": "Specifies the number of credits consumed by the current request.",
329
+ "schema": {
330
+ "type": "integer"
331
+ }
332
+ }
319
333
  }
320
334
  },
321
335
  "security": [
@@ -88,6 +88,11 @@
88
88
  }
89
89
  }
90
90
  }
91
+ },
92
+ "headers": {
93
+ "X-AF-Credits-Cost": {
94
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
95
+ }
91
96
  }
92
97
  },
93
98
  "400": {
@@ -120,6 +125,11 @@
120
125
  }
121
126
  }
122
127
  }
128
+ },
129
+ "headers": {
130
+ "X-AF-Credits-Cost": {
131
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
132
+ }
123
133
  }
124
134
  },
125
135
  "404": {
@@ -152,6 +162,11 @@
152
162
  }
153
163
  }
154
164
  }
165
+ },
166
+ "headers": {
167
+ "X-AF-Credits-Cost": {
168
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
169
+ }
155
170
  }
156
171
  }
157
172
  }
@@ -260,6 +275,14 @@
260
275
  },
261
276
  "description": "Standard error envelope returned by the API on failed requests."
262
277
  }
278
+ },
279
+ "headers": {
280
+ "X-AF-Credits-Cost": {
281
+ "description": "Specifies the number of credits consumed by the current request.",
282
+ "schema": {
283
+ "type": "integer"
284
+ }
285
+ }
263
286
  }
264
287
  },
265
288
  "security": [
@@ -97,6 +97,11 @@
97
97
  }
98
98
  }
99
99
  }
100
+ },
101
+ "headers": {
102
+ "X-AF-Credits-Cost": {
103
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
104
+ }
100
105
  }
101
106
  },
102
107
  "400": {
@@ -139,6 +144,11 @@
139
144
  }
140
145
  }
141
146
  }
147
+ },
148
+ "headers": {
149
+ "X-AF-Credits-Cost": {
150
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
151
+ }
142
152
  }
143
153
  },
144
154
  "404": {
@@ -161,6 +171,11 @@
161
171
  }
162
172
  }
163
173
  }
174
+ },
175
+ "headers": {
176
+ "X-AF-Credits-Cost": {
177
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
178
+ }
164
179
  }
165
180
  }
166
181
  }
@@ -248,6 +263,14 @@
248
263
  }
249
264
  }
250
265
  }
266
+ },
267
+ "headers": {
268
+ "X-AF-Credits-Cost": {
269
+ "description": "Specifies the number of credits consumed by the current request.",
270
+ "schema": {
271
+ "type": "integer"
272
+ }
273
+ }
251
274
  }
252
275
  },
253
276
  "security": [
@@ -106,6 +106,11 @@
106
106
  }
107
107
  }
108
108
  }
109
+ },
110
+ "headers": {
111
+ "X-AF-Credits-Cost": {
112
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
113
+ }
109
114
  }
110
115
  },
111
116
  "400": {
@@ -148,6 +153,11 @@
148
153
  }
149
154
  }
150
155
  }
156
+ },
157
+ "headers": {
158
+ "X-AF-Credits-Cost": {
159
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
160
+ }
151
161
  }
152
162
  },
153
163
  "404": {
@@ -170,6 +180,11 @@
170
180
  }
171
181
  }
172
182
  }
183
+ },
184
+ "headers": {
185
+ "X-AF-Credits-Cost": {
186
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
187
+ }
173
188
  }
174
189
  }
175
190
  }
@@ -269,6 +284,14 @@
269
284
  }
270
285
  }
271
286
  }
287
+ },
288
+ "headers": {
289
+ "X-AF-Credits-Cost": {
290
+ "description": "Specifies the number of credits consumed by the current request.",
291
+ "schema": {
292
+ "type": "integer"
293
+ }
294
+ }
272
295
  }
273
296
  },
274
297
  "security": [
@@ -57,6 +57,11 @@
57
57
  }
58
58
  }
59
59
  }
60
+ },
61
+ "headers": {
62
+ "X-AF-Credits-Cost": {
63
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
64
+ }
60
65
  }
61
66
  },
62
67
  "406": {
@@ -79,6 +84,11 @@
79
84
  }
80
85
  }
81
86
  }
87
+ },
88
+ "headers": {
89
+ "X-AF-Credits-Cost": {
90
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
91
+ }
82
92
  }
83
93
  }
84
94
  }
@@ -145,6 +155,14 @@
145
155
  }
146
156
  }
147
157
  }
158
+ },
159
+ "headers": {
160
+ "X-AF-Credits-Cost": {
161
+ "description": "Specifies the number of credits consumed by the current request.",
162
+ "schema": {
163
+ "type": "integer"
164
+ }
165
+ }
148
166
  }
149
167
  },
150
168
  "security": [
@@ -88,6 +88,11 @@
88
88
  }
89
89
  }
90
90
  }
91
+ },
92
+ "headers": {
93
+ "X-AF-Credits-Cost": {
94
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
95
+ }
91
96
  }
92
97
  },
93
98
  "400": {
@@ -110,6 +115,11 @@
110
115
  }
111
116
  }
112
117
  }
118
+ },
119
+ "headers": {
120
+ "X-AF-Credits-Cost": {
121
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
122
+ }
113
123
  }
114
124
  },
115
125
  "404": {
@@ -142,6 +152,11 @@
142
152
  }
143
153
  }
144
154
  }
155
+ },
156
+ "headers": {
157
+ "X-AF-Credits-Cost": {
158
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
159
+ }
145
160
  }
146
161
  }
147
162
  }
@@ -216,6 +231,14 @@
216
231
  },
217
232
  "description": "Standard error envelope returned by the API on failed requests."
218
233
  }
234
+ },
235
+ "headers": {
236
+ "X-AF-Credits-Cost": {
237
+ "description": "Specifies the number of credits consumed by the current request.",
238
+ "schema": {
239
+ "type": "integer"
240
+ }
241
+ }
219
242
  }
220
243
  },
221
244
  "security": [
@@ -84,6 +84,11 @@
84
84
  }
85
85
  }
86
86
  }
87
+ },
88
+ "headers": {
89
+ "X-AF-Credits-Cost": {
90
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
91
+ }
87
92
  }
88
93
  },
89
94
  "406": {
@@ -106,6 +111,11 @@
106
111
  }
107
112
  }
108
113
  }
114
+ },
115
+ "headers": {
116
+ "X-AF-Credits-Cost": {
117
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
118
+ }
109
119
  }
110
120
  }
111
121
  }
@@ -221,6 +231,14 @@
221
231
  }
222
232
  }
223
233
  }
234
+ },
235
+ "headers": {
236
+ "X-AF-Credits-Cost": {
237
+ "description": "Specifies the number of credits consumed by the current request.",
238
+ "schema": {
239
+ "type": "integer"
240
+ }
241
+ }
224
242
  }
225
243
  },
226
244
  "security": [
@@ -60,6 +60,11 @@
60
60
  }
61
61
  }
62
62
  }
63
+ },
64
+ "headers": {
65
+ "X-AF-Credits-Cost": {
66
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
67
+ }
63
68
  }
64
69
  },
65
70
  "406": {
@@ -82,6 +87,11 @@
82
87
  }
83
88
  }
84
89
  }
90
+ },
91
+ "headers": {
92
+ "X-AF-Credits-Cost": {
93
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
94
+ }
85
95
  }
86
96
  }
87
97
  }
@@ -148,6 +158,14 @@
148
158
  }
149
159
  }
150
160
  }
161
+ },
162
+ "headers": {
163
+ "X-AF-Credits-Cost": {
164
+ "description": "Specifies the number of credits consumed by the current request.",
165
+ "schema": {
166
+ "type": "integer"
167
+ }
168
+ }
151
169
  }
152
170
  },
153
171
  "security": [
@@ -143,6 +143,11 @@
143
143
  }
144
144
  }
145
145
  }
146
+ },
147
+ "headers": {
148
+ "X-AF-Credits-Cost": {
149
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
150
+ }
146
151
  }
147
152
  },
148
153
  "400": {
@@ -195,6 +200,11 @@
195
200
  }
196
201
  }
197
202
  }
203
+ },
204
+ "headers": {
205
+ "X-AF-Credits-Cost": {
206
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
207
+ }
198
208
  }
199
209
  },
200
210
  "404": {
@@ -217,6 +227,11 @@
217
227
  }
218
228
  }
219
229
  }
230
+ },
231
+ "headers": {
232
+ "X-AF-Credits-Cost": {
233
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
234
+ }
220
235
  }
221
236
  }
222
237
  }
@@ -312,6 +327,14 @@
312
327
  }
313
328
  }
314
329
  }
330
+ },
331
+ "headers": {
332
+ "X-AF-Credits-Cost": {
333
+ "description": "Specifies the number of credits consumed by the current request.",
334
+ "schema": {
335
+ "type": "integer"
336
+ }
337
+ }
315
338
  }
316
339
  },
317
340
  "security": [
@@ -98,6 +98,11 @@
98
98
  }
99
99
  }
100
100
  }
101
+ },
102
+ "headers": {
103
+ "X-AF-Credits-Cost": {
104
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
105
+ }
101
106
  }
102
107
  },
103
108
  "400": {
@@ -150,6 +155,11 @@
150
155
  }
151
156
  }
152
157
  }
158
+ },
159
+ "headers": {
160
+ "X-AF-Credits-Cost": {
161
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
162
+ }
153
163
  }
154
164
  },
155
165
  "404": {
@@ -182,6 +192,11 @@
182
192
  }
183
193
  }
184
194
  }
195
+ },
196
+ "headers": {
197
+ "X-AF-Credits-Cost": {
198
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
199
+ }
185
200
  }
186
201
  }
187
202
  }
@@ -274,6 +289,14 @@
274
289
  }
275
290
  }
276
291
  }
292
+ },
293
+ "headers": {
294
+ "X-AF-Credits-Cost": {
295
+ "description": "Specifies the number of credits consumed by the current request.",
296
+ "schema": {
297
+ "type": "integer"
298
+ }
299
+ }
277
300
  }
278
301
  },
279
302
  "security": [
@@ -95,6 +95,11 @@
95
95
  }
96
96
  }
97
97
  }
98
+ },
99
+ "headers": {
100
+ "X-AF-Credits-Cost": {
101
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
102
+ }
98
103
  }
99
104
  },
100
105
  "400": {
@@ -137,6 +142,11 @@
137
142
  }
138
143
  }
139
144
  }
145
+ },
146
+ "headers": {
147
+ "X-AF-Credits-Cost": {
148
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
149
+ }
140
150
  }
141
151
  },
142
152
  "404": {
@@ -169,6 +179,11 @@
169
179
  }
170
180
  }
171
181
  }
182
+ },
183
+ "headers": {
184
+ "X-AF-Credits-Cost": {
185
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
186
+ }
172
187
  }
173
188
  }
174
189
  }
@@ -256,6 +271,14 @@
256
271
  }
257
272
  }
258
273
  }
274
+ },
275
+ "headers": {
276
+ "X-AF-Credits-Cost": {
277
+ "description": "Specifies the number of credits consumed by the current request.",
278
+ "schema": {
279
+ "type": "integer"
280
+ }
281
+ }
259
282
  }
260
283
  },
261
284
  "security": [
@@ -86,6 +86,11 @@
86
86
  }
87
87
  }
88
88
  }
89
+ },
90
+ "headers": {
91
+ "X-AF-Credits-Cost": {
92
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
93
+ }
89
94
  }
90
95
  },
91
96
  "400": {
@@ -118,6 +123,11 @@
118
123
  }
119
124
  }
120
125
  }
126
+ },
127
+ "headers": {
128
+ "X-AF-Credits-Cost": {
129
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
130
+ }
121
131
  }
122
132
  },
123
133
  "404": {
@@ -160,6 +170,11 @@
160
170
  }
161
171
  }
162
172
  }
173
+ },
174
+ "headers": {
175
+ "X-AF-Credits-Cost": {
176
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
177
+ }
163
178
  }
164
179
  }
165
180
  }
@@ -233,6 +248,14 @@
233
248
  }
234
249
  }
235
250
  }
251
+ },
252
+ "headers": {
253
+ "X-AF-Credits-Cost": {
254
+ "description": "Specifies the number of credits consumed by the current request.",
255
+ "schema": {
256
+ "type": "integer"
257
+ }
258
+ }
236
259
  }
237
260
  },
238
261
  "security": [
@@ -333,6 +333,11 @@
333
333
  }
334
334
  }
335
335
  }
336
+ },
337
+ "headers": {
338
+ "X-AF-Credits-Cost": {
339
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
340
+ }
336
341
  }
337
342
  },
338
343
  "400": {
@@ -365,6 +370,11 @@
365
370
  }
366
371
  }
367
372
  }
373
+ },
374
+ "headers": {
375
+ "X-AF-Credits-Cost": {
376
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
377
+ }
368
378
  }
369
379
  },
370
380
  "413": {
@@ -387,6 +397,11 @@
387
397
  }
388
398
  }
389
399
  }
400
+ },
401
+ "headers": {
402
+ "X-AF-Credits-Cost": {
403
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
404
+ }
390
405
  }
391
406
  }
392
407
  }
@@ -611,6 +626,14 @@
611
626
  }
612
627
  }
613
628
  }
629
+ },
630
+ "headers": {
631
+ "X-AF-Credits-Cost": {
632
+ "description": "Specifies the number of credits consumed by the current request.",
633
+ "schema": {
634
+ "type": "integer"
635
+ }
636
+ }
614
637
  }
615
638
  },
616
639
  "security": [