@apifreaks/openapi-specs 0.1.2 → 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 (214) hide show
  1. package/README.md +37 -37
  2. package/dist/index.cjs +4288 -1107
  3. package/dist/index.d.cts +2 -0
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.js +4288 -1107
  6. package/dist/specs/commodity/commodity-fluctuation.yaml +14 -0
  7. package/dist/specs/commodity/commodity-prices.yaml +14 -0
  8. package/dist/specs/commodity/commodity-symbols.yaml +8 -0
  9. package/dist/specs/commodity/commodity-time-series.yaml +14 -0
  10. package/dist/specs/commodity/historical-commodity-prices.yaml +14 -0
  11. package/dist/specs/currency/currency-converter.yaml +14 -0
  12. package/dist/specs/currency/currency-fluctuation.yaml +14 -0
  13. package/dist/specs/currency/currency-historical-data-limit.yaml +11 -0
  14. package/dist/specs/currency/currency-rate.yaml +14 -0
  15. package/dist/specs/currency/currency-supported.yaml +11 -0
  16. package/dist/specs/currency/currency-symbols.yaml +11 -0
  17. package/dist/specs/currency/currency-time-series.yaml +14 -0
  18. package/dist/specs/currency/geolocalized-currency-conversion.yaml +14 -0
  19. package/dist/specs/currency/historical-currency-converter.yaml +14 -0
  20. package/dist/specs/currency/historical-currency-rate.yaml +14 -0
  21. package/dist/specs/dns/bulk-dns-lookup.yaml +14 -0
  22. package/dist/specs/dns/dns-history-lookup.yaml +14 -0
  23. package/dist/specs/dns/dns-lookup.yaml +11 -0
  24. package/dist/specs/dns/reverse-dns-lookup.yaml +34 -0
  25. package/dist/specs/domain/bulk-domain-checker.yaml +17 -0
  26. package/dist/specs/domain/domain-search-with-suggestions.yaml +14 -0
  27. package/dist/specs/domain/domain-search.yaml +14 -0
  28. package/dist/specs/domain/subdomain-lookup.yaml +14 -0
  29. package/dist/specs/email-validation/bulk-email-validation.yaml +17 -0
  30. package/dist/specs/email-validation/email-checker.yaml +41 -0
  31. package/dist/specs/financial/bulk-vat-rates-country.yaml +14 -0
  32. package/dist/specs/financial/financial-apis-supported-countries.yaml +8 -0
  33. package/dist/specs/financial/iban-validation.yaml +11 -0
  34. package/dist/specs/financial/swift-code-finder.yaml +11 -0
  35. package/dist/specs/financial/swift-code-lookup.yaml +14 -0
  36. package/dist/specs/financial/vat-number-validation.yaml +14 -0
  37. package/dist/specs/financial/vat-rates-by-ip.yaml +14 -0
  38. package/dist/specs/financial/vat-rates-country.yaml +14 -0
  39. package/dist/specs/general/usage-credits.yaml +11 -0
  40. package/dist/specs/geocoding/forward-geocoding.yaml +14 -0
  41. package/dist/specs/geocoding/reverse-geocoding.yaml +11 -0
  42. package/dist/specs/geodb/administrative-units-details.yaml +14 -0
  43. package/dist/specs/geodb/administrative-units-levels.yaml +14 -0
  44. package/dist/specs/geodb/administrative-units.yaml +14 -0
  45. package/dist/specs/geodb/cities.yaml +14 -0
  46. package/dist/specs/geodb/countries-details.yaml +11 -0
  47. package/dist/specs/geodb/countries.yaml +11 -0
  48. package/dist/specs/geodb/flags-supported.yaml +8 -0
  49. package/dist/specs/geodb/flags.yaml +14 -0
  50. package/dist/specs/geodb/regions.yaml +8 -0
  51. package/dist/specs/geodb/subregions.yaml +14 -0
  52. package/dist/specs/ip-intelligence/bulk-ip-lookup.yaml +14 -0
  53. package/dist/specs/ip-intelligence/bulk-ip-threat-intelligence.yaml +11 -0
  54. package/dist/specs/ip-intelligence/ip-locator.yaml +17 -0
  55. package/dist/specs/ip-intelligence/ip-threat-intelligence.yaml +14 -0
  56. package/dist/specs/other/astronomy-data.yaml +14 -0
  57. package/dist/specs/pdf/bulk-pdf-generator.yaml +231 -0
  58. package/dist/specs/pdf/delete-pdf-page.yaml +14 -0
  59. package/dist/specs/pdf/linearize-pdf.yaml +14 -0
  60. package/dist/specs/pdf/merge-pdf.yaml +14 -0
  61. package/dist/specs/pdf/pdf-compress.yaml +14 -0
  62. package/dist/specs/pdf/pdf-decrypt.yaml +14 -0
  63. package/dist/specs/pdf/pdf-encrypt.yaml +14 -0
  64. package/dist/specs/pdf/pdf-extract-pages.yaml +14 -0
  65. package/dist/specs/pdf/pdf-file-status.yaml +14 -0
  66. package/dist/specs/pdf/pdf-file.yaml +14 -0
  67. package/dist/specs/pdf/pdf-files.yaml +8 -0
  68. package/dist/specs/pdf/pdf-generator.yaml +348 -0
  69. package/dist/specs/pdf/pdf-resource-download.yaml +14 -0
  70. package/dist/specs/pdf/pdf-resource-upload-binary.yaml +14 -0
  71. package/dist/specs/pdf/pdf-resource-upload.yaml +14 -0
  72. package/dist/specs/pdf/pdf-restrict.yaml +14 -0
  73. package/dist/specs/pdf/pdf-split-pages.yaml +14 -0
  74. package/dist/specs/pdf/pdf-task-status.yaml +14 -0
  75. package/dist/specs/pdf/pdf-to-image.yaml +35 -0
  76. package/dist/specs/pdf/pdf-unrestrict.yaml +14 -0
  77. package/dist/specs/pdf/rotate-pdf-pages.yaml +14 -0
  78. package/dist/specs/phone-validation/bulk-phone-number-validation.yaml +23 -0
  79. package/dist/specs/phone-validation/phone-number-validation.yaml +20 -0
  80. package/dist/specs/scraper/web-scraper.yaml +34 -0
  81. package/dist/specs/screenshot/bulk-screenshot.yaml +34 -0
  82. package/dist/specs/screenshot/website-screenshot.yaml +34 -0
  83. package/dist/specs/ssl/ssl-certificate-chain-lookup.yaml +17 -0
  84. package/dist/specs/ssl/ssl-certificate-lookup.yaml +17 -0
  85. package/dist/specs/timezone/timezone-converter.yaml +14 -0
  86. package/dist/specs/timezone/timezone-lookup.yaml +14 -0
  87. package/dist/specs/user-agent/bulk-user-agent-parser.yaml +11 -0
  88. package/dist/specs/user-agent/user-agent-parser.yaml +11 -0
  89. package/dist/specs/weather/air-quality.yaml +14 -0
  90. package/dist/specs/weather/bulk-live-weather.yaml +11 -0
  91. package/dist/specs/weather/flood-forecast.yaml +14 -0
  92. package/dist/specs/weather/historical-weather.yaml +14 -0
  93. package/dist/specs/weather/live-weather.yaml +14 -0
  94. package/dist/specs/weather/marine-weather.yaml +14 -0
  95. package/dist/specs/weather/time-series-weather.yaml +11 -0
  96. package/dist/specs/weather/weather-forecast.yaml +11 -0
  97. package/dist/specs/whois/asn-lookup.yaml +14 -0
  98. package/dist/specs/whois/bulk-whois-lookup.yaml +17 -0
  99. package/dist/specs/whois/domain-whois-history-lookup.yaml +14 -0
  100. package/dist/specs/whois/reverse-whois.yaml +34 -0
  101. package/dist/specs/whois/whois-domain-lookup.yaml +17 -0
  102. package/dist/specs/whois/whois-ip-lookup.yaml +14 -0
  103. package/dist/specs/zip-code/bulk-zip-code-lookup.yaml +14 -0
  104. package/dist/specs/zip-code/zip-code-api.yaml +14 -0
  105. package/dist/specs/zip-code/zip-code-distance-match.yaml +14 -0
  106. package/dist/specs/zip-code/zip-code-distance.yaml +14 -0
  107. package/dist/specs/zip-code/zip-codes-by-city.yaml +14 -0
  108. package/dist/specs/zip-code/zip-codes-by-region.yaml +14 -0
  109. package/dist/specs/zip-code/zip-codes-radius-search.yaml +34 -0
  110. package/package.json +1 -1
  111. package/specs/commodity/commodity-fluctuation.json +23 -0
  112. package/specs/commodity/commodity-prices.json +23 -0
  113. package/specs/commodity/commodity-symbols.json +13 -0
  114. package/specs/commodity/commodity-time-series.json +27 -13
  115. package/specs/commodity/historical-commodity-prices.json +23 -0
  116. package/specs/currency/currency-converter.json +23 -0
  117. package/specs/currency/currency-fluctuation.json +23 -0
  118. package/specs/currency/currency-historical-data-limit.json +18 -0
  119. package/specs/currency/currency-rate.json +23 -0
  120. package/specs/currency/currency-supported.json +18 -0
  121. package/specs/currency/currency-symbols.json +18 -0
  122. package/specs/currency/currency-time-series.json +23 -0
  123. package/specs/currency/geolocalized-currency-conversion.json +23 -0
  124. package/specs/currency/historical-currency-converter.json +23 -0
  125. package/specs/currency/historical-currency-rate.json +23 -0
  126. package/specs/dns/bulk-dns-lookup.json +23 -0
  127. package/specs/dns/dns-history-lookup.json +23 -0
  128. package/specs/dns/dns-lookup.json +18 -0
  129. package/specs/dns/reverse-dns-lookup.json +61 -1
  130. package/specs/domain/bulk-domain-checker.json +28 -0
  131. package/specs/domain/domain-search-with-suggestions.json +23 -0
  132. package/specs/domain/domain-search.json +23 -0
  133. package/specs/domain/subdomain-lookup.json +23 -0
  134. package/specs/email-validation/bulk-email-validation.json +28 -0
  135. package/specs/email-validation/email-checker.json +64 -0
  136. package/specs/financial/bulk-vat-rates-country.json +23 -0
  137. package/specs/financial/financial-apis-supported-countries.json +34 -5
  138. package/specs/financial/iban-validation.json +18 -0
  139. package/specs/financial/swift-code-finder.json +31 -2
  140. package/specs/financial/swift-code-lookup.json +23 -0
  141. package/specs/financial/vat-number-validation.json +23 -0
  142. package/specs/financial/vat-rates-by-ip.json +23 -0
  143. package/specs/financial/vat-rates-country.json +23 -0
  144. package/specs/general/usage-credits.json +18 -0
  145. package/specs/geocoding/forward-geocoding.json +23 -0
  146. package/specs/geocoding/reverse-geocoding.json +18 -0
  147. package/specs/geodb/administrative-units-details.json +23 -0
  148. package/specs/geodb/administrative-units-levels.json +23 -0
  149. package/specs/geodb/administrative-units.json +23 -0
  150. package/specs/geodb/cities.json +23 -0
  151. package/specs/geodb/countries-details.json +18 -0
  152. package/specs/geodb/countries.json +18 -0
  153. package/specs/geodb/flags-supported.json +13 -0
  154. package/specs/geodb/flags.json +23 -0
  155. package/specs/geodb/regions.json +13 -0
  156. package/specs/geodb/subregions.json +23 -0
  157. package/specs/ip-intelligence/bulk-ip-lookup.json +23 -0
  158. package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +18 -0
  159. package/specs/ip-intelligence/ip-locator.json +33 -5
  160. package/specs/ip-intelligence/ip-threat-intelligence.json +23 -0
  161. package/specs/other/astronomy-data.json +24 -2
  162. package/specs/pdf/bulk-pdf-generator.json +343 -0
  163. package/specs/pdf/delete-pdf-page.json +33 -21
  164. package/specs/pdf/linearize-pdf.json +31 -19
  165. package/specs/pdf/merge-pdf.json +30 -18
  166. package/specs/pdf/pdf-compress.json +32 -25
  167. package/specs/pdf/pdf-decrypt.json +32 -21
  168. package/specs/pdf/pdf-encrypt.json +31 -19
  169. package/specs/pdf/pdf-extract-pages.json +33 -21
  170. package/specs/pdf/pdf-file-status.json +23 -0
  171. package/specs/pdf/pdf-file.json +23 -0
  172. package/specs/pdf/pdf-files.json +13 -0
  173. package/specs/pdf/pdf-generator.json +497 -0
  174. package/specs/pdf/pdf-resource-download.json +23 -0
  175. package/specs/pdf/pdf-resource-upload-binary.json +29 -16
  176. package/specs/pdf/pdf-resource-upload.json +30 -19
  177. package/specs/pdf/pdf-restrict.json +32 -20
  178. package/specs/pdf/pdf-split-pages.json +33 -21
  179. package/specs/pdf/pdf-task-status.json +23 -0
  180. package/specs/pdf/pdf-to-image.json +90 -101
  181. package/specs/pdf/pdf-unrestrict.json +32 -20
  182. package/specs/pdf/rotate-pdf-pages.json +32 -20
  183. package/specs/phone-validation/bulk-phone-number-validation.json +54 -16
  184. package/specs/phone-validation/phone-number-validation.json +33 -0
  185. package/specs/scraper/web-scraper.json +53 -0
  186. package/specs/screenshot/bulk-screenshot.json +53 -0
  187. package/specs/screenshot/website-screenshot.json +53 -0
  188. package/specs/ssl/ssl-certificate-chain-lookup.json +28 -0
  189. package/specs/ssl/ssl-certificate-lookup.json +28 -0
  190. package/specs/timezone/timezone-converter.json +23 -0
  191. package/specs/timezone/timezone-lookup.json +25 -2
  192. package/specs/user-agent/bulk-user-agent-parser.json +20 -2
  193. package/specs/user-agent/user-agent-parser.json +18 -0
  194. package/specs/weather/air-quality.json +23 -0
  195. package/specs/weather/bulk-live-weather.json +18 -0
  196. package/specs/weather/flood-forecast.json +23 -0
  197. package/specs/weather/historical-weather.json +23 -0
  198. package/specs/weather/live-weather.json +23 -0
  199. package/specs/weather/marine-weather.json +23 -0
  200. package/specs/weather/time-series-weather.json +18 -0
  201. package/specs/weather/weather-forecast.json +18 -0
  202. package/specs/whois/asn-lookup.json +23 -0
  203. package/specs/whois/bulk-whois-lookup.json +28 -0
  204. package/specs/whois/domain-whois-history-lookup.json +23 -0
  205. package/specs/whois/reverse-whois.json +53 -0
  206. package/specs/whois/whois-domain-lookup.json +28 -0
  207. package/specs/whois/whois-ip-lookup.json +23 -0
  208. package/specs/zip-code/bulk-zip-code-lookup.json +23 -0
  209. package/specs/zip-code/zip-code-api.json +23 -0
  210. package/specs/zip-code/zip-code-distance-match.json +23 -0
  211. package/specs/zip-code/zip-code-distance.json +23 -0
  212. package/specs/zip-code/zip-codes-by-city.json +23 -0
  213. package/specs/zip-code/zip-codes-by-region.json +24 -7
  214. package/specs/zip-code/zip-codes-radius-search.json +53 -0
@@ -128,6 +128,11 @@
128
128
  }
129
129
  }
130
130
  }
131
+ },
132
+ "headers": {
133
+ "X-AF-Credits-Cost": {
134
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
135
+ }
131
136
  }
132
137
  },
133
138
  "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
  "408": {
@@ -172,6 +182,11 @@
172
182
  }
173
183
  }
174
184
  }
185
+ },
186
+ "headers": {
187
+ "X-AF-Credits-Cost": {
188
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
189
+ }
175
190
  }
176
191
  }
177
192
  },
@@ -267,6 +282,14 @@
267
282
  }
268
283
  }
269
284
  }
285
+ },
286
+ "headers": {
287
+ "X-AF-Credits-Cost": {
288
+ "description": "Specifies the number of credits consumed by the current request.",
289
+ "schema": {
290
+ "type": "integer"
291
+ }
292
+ }
270
293
  }
271
294
  },
272
295
  "security": [
@@ -73,6 +73,11 @@
73
73
  }
74
74
  }
75
75
  }
76
+ },
77
+ "headers": {
78
+ "X-AF-Credits-Cost": {
79
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
80
+ }
76
81
  }
77
82
  },
78
83
  "400": {
@@ -105,6 +110,11 @@
105
110
  }
106
111
  }
107
112
  }
113
+ },
114
+ "headers": {
115
+ "X-AF-Credits-Cost": {
116
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
117
+ }
108
118
  }
109
119
  },
110
120
  "408": {
@@ -127,6 +137,11 @@
127
137
  }
128
138
  }
129
139
  }
140
+ },
141
+ "headers": {
142
+ "X-AF-Credits-Cost": {
143
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
144
+ }
130
145
  }
131
146
  }
132
147
  },
@@ -193,6 +208,14 @@
193
208
  }
194
209
  }
195
210
  }
211
+ },
212
+ "headers": {
213
+ "X-AF-Credits-Cost": {
214
+ "description": "Specifies the number of credits consumed by the current request.",
215
+ "schema": {
216
+ "type": "integer"
217
+ }
218
+ }
196
219
  }
197
220
  },
198
221
  "security": [
@@ -123,6 +123,11 @@
123
123
  }
124
124
  }
125
125
  }
126
+ },
127
+ "headers": {
128
+ "X-AF-Credits-Cost": {
129
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
130
+ }
126
131
  }
127
132
  },
128
133
  "400": {
@@ -185,6 +190,11 @@
185
190
  }
186
191
  }
187
192
  }
193
+ },
194
+ "headers": {
195
+ "X-AF-Credits-Cost": {
196
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
197
+ }
188
198
  }
189
199
  },
190
200
  "408": {
@@ -207,6 +217,11 @@
207
217
  }
208
218
  }
209
219
  }
220
+ },
221
+ "headers": {
222
+ "X-AF-Credits-Cost": {
223
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
224
+ }
210
225
  }
211
226
  }
212
227
  },
@@ -330,6 +345,14 @@
330
345
  }
331
346
  }
332
347
  }
348
+ },
349
+ "headers": {
350
+ "X-AF-Credits-Cost": {
351
+ "description": "Specifies the number of credits consumed by the current request.",
352
+ "schema": {
353
+ "type": "integer"
354
+ }
355
+ }
333
356
  }
334
357
  },
335
358
  "security": [
@@ -100,6 +100,11 @@
100
100
  }
101
101
  }
102
102
  }
103
+ },
104
+ "headers": {
105
+ "X-AF-Credits-Cost": {
106
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
107
+ }
103
108
  }
104
109
  },
105
110
  "400": {
@@ -122,6 +127,11 @@
122
127
  }
123
128
  }
124
129
  }
130
+ },
131
+ "headers": {
132
+ "X-AF-Credits-Cost": {
133
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
134
+ }
125
135
  }
126
136
  },
127
137
  "408": {
@@ -143,6 +153,11 @@
143
153
  }
144
154
  }
145
155
  }
156
+ },
157
+ "headers": {
158
+ "X-AF-Credits-Cost": {
159
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
160
+ }
146
161
  }
147
162
  },
148
163
  "429": {
@@ -164,6 +179,11 @@
164
179
  }
165
180
  }
166
181
  }
182
+ },
183
+ "headers": {
184
+ "X-AF-Credits-Cost": {
185
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
186
+ }
167
187
  }
168
188
  }
169
189
  },
@@ -521,6 +541,14 @@
521
541
  }
522
542
  }
523
543
  }
544
+ },
545
+ "headers": {
546
+ "X-AF-Credits-Cost": {
547
+ "description": "Specifies the number of credits consumed by the current request.",
548
+ "schema": {
549
+ "type": "integer"
550
+ }
551
+ }
524
552
  }
525
553
  },
526
554
  "security": [
@@ -181,6 +181,17 @@
181
181
  }
182
182
  }
183
183
  }
184
+ },
185
+ "headers": {
186
+ "X-AF-Credits-Cost": {
187
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
188
+ },
189
+ "X-Concurrent-Threads": {
190
+ "$ref": "#/components/headers/X-Concurrent-Threads"
191
+ },
192
+ "X-Concurrent-Threads-Active": {
193
+ "$ref": "#/components/headers/X-Concurrent-Threads-Active"
194
+ }
184
195
  }
185
196
  },
186
197
  "400": {
@@ -203,6 +214,17 @@
203
214
  }
204
215
  }
205
216
  }
217
+ },
218
+ "headers": {
219
+ "X-AF-Credits-Cost": {
220
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
221
+ },
222
+ "X-Concurrent-Threads": {
223
+ "$ref": "#/components/headers/X-Concurrent-Threads"
224
+ },
225
+ "X-Concurrent-Threads-Active": {
226
+ "$ref": "#/components/headers/X-Concurrent-Threads-Active"
227
+ }
206
228
  }
207
229
  },
208
230
  "408": {
@@ -224,6 +246,17 @@
224
246
  }
225
247
  }
226
248
  }
249
+ },
250
+ "headers": {
251
+ "X-AF-Credits-Cost": {
252
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
253
+ },
254
+ "X-Concurrent-Threads": {
255
+ "$ref": "#/components/headers/X-Concurrent-Threads"
256
+ },
257
+ "X-Concurrent-Threads-Active": {
258
+ "$ref": "#/components/headers/X-Concurrent-Threads-Active"
259
+ }
227
260
  }
228
261
  },
229
262
  "429": {
@@ -245,6 +278,17 @@
245
278
  }
246
279
  }
247
280
  }
281
+ },
282
+ "headers": {
283
+ "X-AF-Credits-Cost": {
284
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
285
+ },
286
+ "X-Concurrent-Threads": {
287
+ "$ref": "#/components/headers/X-Concurrent-Threads"
288
+ },
289
+ "X-Concurrent-Threads-Active": {
290
+ "$ref": "#/components/headers/X-Concurrent-Threads-Active"
291
+ }
248
292
  }
249
293
  }
250
294
  },
@@ -573,6 +617,26 @@
573
617
  }
574
618
  }
575
619
  }
620
+ },
621
+ "headers": {
622
+ "X-AF-Credits-Cost": {
623
+ "description": "Specifies the number of credits consumed by the current request.",
624
+ "schema": {
625
+ "type": "integer"
626
+ }
627
+ },
628
+ "X-Concurrent-Threads": {
629
+ "description": "Specifies the maximum number of concurrent requests allowed.",
630
+ "schema": {
631
+ "type": "integer"
632
+ }
633
+ },
634
+ "X-Concurrent-Threads-Active": {
635
+ "description": "Indicates the number of active concurrent requests being processed.",
636
+ "schema": {
637
+ "type": "integer"
638
+ }
639
+ }
576
640
  }
577
641
  },
578
642
  "security": [
@@ -116,6 +116,11 @@
116
116
  }
117
117
  }
118
118
  }
119
+ },
120
+ "headers": {
121
+ "X-AF-Credits-Cost": {
122
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
123
+ }
119
124
  }
120
125
  },
121
126
  "400": {
@@ -138,6 +143,11 @@
138
143
  }
139
144
  }
140
145
  }
146
+ },
147
+ "headers": {
148
+ "X-AF-Credits-Cost": {
149
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
150
+ }
141
151
  }
142
152
  },
143
153
  "413": {
@@ -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
  }
@@ -328,6 +343,14 @@
328
343
  }
329
344
  }
330
345
  }
346
+ },
347
+ "headers": {
348
+ "X-AF-Credits-Cost": {
349
+ "description": "Specifies the number of credits consumed by the current request.",
350
+ "schema": {
351
+ "type": "integer"
352
+ }
353
+ }
331
354
  }
332
355
  },
333
356
  "security": [
@@ -58,7 +58,11 @@
58
58
  "summary": "Typical successful response (truncated)",
59
59
  "value": {
60
60
  "VAT_Supported_Countries_And_States": [
61
- { "germany": { "code": "de" } },
61
+ {
62
+ "germany": {
63
+ "code": "de"
64
+ }
65
+ },
62
66
  {
63
67
  "united_states": {
64
68
  "code": "us",
@@ -71,17 +75,34 @@
71
75
  }
72
76
  ],
73
77
  "IBAN_Supported_Countries": [
74
- { "countryCode": "DE", "name": "Germany" },
75
- { "countryCode": "GB", "name": "United Kingdom" }
78
+ {
79
+ "countryCode": "DE",
80
+ "name": "Germany"
81
+ },
82
+ {
83
+ "countryCode": "GB",
84
+ "name": "United Kingdom"
85
+ }
76
86
  ],
77
87
  "SWIFT_Supported_Countries": [
78
- { "name": "Germany", "countryCode": "DE" },
79
- { "name": "United States", "countryCode": "US" }
88
+ {
89
+ "name": "Germany",
90
+ "countryCode": "DE"
91
+ },
92
+ {
93
+ "name": "United States",
94
+ "countryCode": "US"
95
+ }
80
96
  ]
81
97
  }
82
98
  }
83
99
  }
84
100
  }
101
+ },
102
+ "headers": {
103
+ "X-AF-Credits-Cost": {
104
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
105
+ }
85
106
  }
86
107
  }
87
108
  }
@@ -191,6 +212,14 @@
191
212
  }
192
213
  }
193
214
  }
215
+ },
216
+ "headers": {
217
+ "X-AF-Credits-Cost": {
218
+ "description": "Specifies the number of credits consumed by the current request.",
219
+ "schema": {
220
+ "type": "integer"
221
+ }
222
+ }
194
223
  }
195
224
  },
196
225
  "security": [
@@ -136,6 +136,11 @@
136
136
  }
137
137
  }
138
138
  }
139
+ },
140
+ "headers": {
141
+ "X-AF-Credits-Cost": {
142
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
143
+ }
139
144
  }
140
145
  },
141
146
  "400": {
@@ -158,6 +163,11 @@
158
163
  }
159
164
  }
160
165
  }
166
+ },
167
+ "headers": {
168
+ "X-AF-Credits-Cost": {
169
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
170
+ }
161
171
  }
162
172
  }
163
173
  },
@@ -315,6 +325,14 @@
315
325
  },
316
326
  "description": "Standard error envelope returned by the API on failed requests."
317
327
  }
328
+ },
329
+ "headers": {
330
+ "X-AF-Credits-Cost": {
331
+ "description": "Specifies the number of credits consumed by the current request.",
332
+ "schema": {
333
+ "type": "integer"
334
+ }
335
+ }
318
336
  }
319
337
  },
320
338
  "security": [
@@ -74,7 +74,13 @@
74
74
  "examples": {
75
75
  "allCountries": {
76
76
  "summary": "No parameters — all supported countries",
77
- "value": ["Albania", "Algeria", "Andorra", "Germany", "United States"]
77
+ "value": [
78
+ "Albania",
79
+ "Algeria",
80
+ "Andorra",
81
+ "Germany",
82
+ "United States"
83
+ ]
78
84
  },
79
85
  "banksInCountry": {
80
86
  "summary": "country only — bank names in that country",
@@ -82,7 +88,12 @@
82
88
  },
83
89
  "citiesForBank": {
84
90
  "summary": "country + bank — cities that bank operates in",
85
- "value": ["AACHEN", "BERLIN", "FRANKFURT AM MAIN", "MUENCHEN"]
91
+ "value": [
92
+ "AACHEN",
93
+ "BERLIN",
94
+ "FRANKFURT AM MAIN",
95
+ "MUENCHEN"
96
+ ]
86
97
  },
87
98
  "swiftCodes": {
88
99
  "summary": "country + bank + city — matching SWIFT/BIC codes",
@@ -100,6 +111,11 @@
100
111
  }
101
112
  }
102
113
  }
114
+ },
115
+ "headers": {
116
+ "X-AF-Credits-Cost": {
117
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
118
+ }
103
119
  }
104
120
  },
105
121
  "400": {
@@ -118,6 +134,11 @@
118
134
  }
119
135
  }
120
136
  }
137
+ },
138
+ "headers": {
139
+ "X-AF-Credits-Cost": {
140
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
141
+ }
121
142
  }
122
143
  }
123
144
  }
@@ -179,6 +200,14 @@
179
200
  }
180
201
  }
181
202
  }
203
+ },
204
+ "headers": {
205
+ "X-AF-Credits-Cost": {
206
+ "description": "Specifies the number of credits consumed by the current request.",
207
+ "schema": {
208
+ "type": "integer"
209
+ }
210
+ }
182
211
  }
183
212
  },
184
213
  "security": [
@@ -67,6 +67,11 @@
67
67
  }
68
68
  }
69
69
  }
70
+ },
71
+ "headers": {
72
+ "X-AF-Credits-Cost": {
73
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
74
+ }
70
75
  }
71
76
  },
72
77
  "400": {
@@ -95,6 +100,11 @@
95
100
  }
96
101
  }
97
102
  }
103
+ },
104
+ "headers": {
105
+ "X-AF-Credits-Cost": {
106
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
107
+ }
98
108
  }
99
109
  },
100
110
  "404": {
@@ -113,6 +123,11 @@
113
123
  }
114
124
  }
115
125
  }
126
+ },
127
+ "headers": {
128
+ "X-AF-Credits-Cost": {
129
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
130
+ }
116
131
  }
117
132
  }
118
133
  },
@@ -207,6 +222,14 @@
207
222
  },
208
223
  "description": "Standard error envelope returned by the API on failed requests."
209
224
  }
225
+ },
226
+ "headers": {
227
+ "X-AF-Credits-Cost": {
228
+ "description": "Specifies the number of credits consumed by the current request.",
229
+ "schema": {
230
+ "type": "integer"
231
+ }
232
+ }
210
233
  }
211
234
  },
212
235
  "security": [
@@ -99,6 +99,11 @@
99
99
  }
100
100
  }
101
101
  }
102
+ },
103
+ "headers": {
104
+ "X-AF-Credits-Cost": {
105
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
106
+ }
102
107
  }
103
108
  },
104
109
  "400": {
@@ -127,6 +132,11 @@
127
132
  }
128
133
  }
129
134
  }
135
+ },
136
+ "headers": {
137
+ "X-AF-Credits-Cost": {
138
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
139
+ }
130
140
  }
131
141
  },
132
142
  "404": {
@@ -145,6 +155,11 @@
145
155
  }
146
156
  }
147
157
  }
158
+ },
159
+ "headers": {
160
+ "X-AF-Credits-Cost": {
161
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
162
+ }
148
163
  }
149
164
  }
150
165
  },
@@ -270,6 +285,14 @@
270
285
  },
271
286
  "description": "Standard error envelope returned by the API on failed requests."
272
287
  }
288
+ },
289
+ "headers": {
290
+ "X-AF-Credits-Cost": {
291
+ "description": "Specifies the number of credits consumed by the current request.",
292
+ "schema": {
293
+ "type": "integer"
294
+ }
295
+ }
273
296
  }
274
297
  },
275
298
  "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": {
@@ -104,6 +109,11 @@
104
109
  }
105
110
  }
106
111
  }
112
+ },
113
+ "headers": {
114
+ "X-AF-Credits-Cost": {
115
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
116
+ }
107
117
  }
108
118
  },
109
119
  "404": {
@@ -122,6 +132,11 @@
122
132
  }
123
133
  }
124
134
  }
135
+ },
136
+ "headers": {
137
+ "X-AF-Credits-Cost": {
138
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
139
+ }
125
140
  }
126
141
  }
127
142
  }
@@ -262,6 +277,14 @@
262
277
  },
263
278
  "description": "Standard error envelope returned by the API on failed requests."
264
279
  }
280
+ },
281
+ "headers": {
282
+ "X-AF-Credits-Cost": {
283
+ "description": "Specifies the number of credits consumed by the current request.",
284
+ "schema": {
285
+ "type": "integer"
286
+ }
287
+ }
265
288
  }
266
289
  },
267
290
  "security": [