@apifreaks/openapi-specs 0.1.0 → 0.1.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/dist/index.cjs +131 -0
- package/dist/index.d.cts +140 -3
- package/dist/index.d.ts +140 -3
- package/dist/index.js +129 -0
- package/dist/specs/commodity/commodity-fluctuation.yaml +225 -0
- package/dist/specs/commodity/commodity-prices.yaml +236 -0
- package/dist/specs/commodity/commodity-symbols.yaml +159 -0
- package/dist/specs/commodity/commodity-time-series.yaml +238 -0
- package/dist/specs/commodity/historical-commodity-prices.yaml +208 -0
- package/dist/specs/currency/currency-converter.yaml +193 -0
- package/dist/specs/currency/currency-fluctuation.yaml +211 -0
- package/dist/specs/currency/currency-historical-data-limit.yaml +112 -0
- package/dist/specs/currency/currency-rate.yaml +173 -0
- package/dist/specs/currency/currency-supported.yaml +176 -0
- package/dist/specs/currency/currency-symbols.yaml +115 -0
- package/dist/specs/currency/currency-time-series.yaml +232 -0
- package/dist/specs/currency/geolocalized-currency-conversion.yaml +214 -0
- package/dist/specs/currency/historical-currency-converter.yaml +195 -0
- package/dist/specs/currency/historical-currency-rate.yaml +180 -0
- package/dist/specs/dns/bulk-dns-lookup.yaml +484 -0
- package/dist/specs/dns/dns-history-lookup.yaml +451 -0
- package/dist/specs/dns/dns-lookup.yaml +360 -0
- package/dist/specs/dns/reverse-dns-lookup.yaml +338 -0
- package/dist/specs/domain/bulk-domain-checker.yaml +198 -0
- package/dist/specs/domain/domain-search-with-suggestions.yaml +196 -0
- package/dist/specs/domain/domain-search.yaml +149 -0
- package/dist/specs/domain/subdomain-lookup.yaml +251 -0
- package/dist/specs/email-validation/bulk-email-validation.yaml +403 -0
- package/dist/specs/email-validation/email-checker.yaml +451 -0
- package/dist/specs/financial/bulk-vat-rates-country.yaml +250 -0
- package/dist/specs/financial/financial-apis-supported-countries.yaml +152 -0
- package/dist/specs/financial/iban-validation.yaml +270 -0
- package/dist/specs/financial/swift-code-finder.yaml +146 -0
- package/dist/specs/financial/swift-code-lookup.yaml +156 -0
- package/dist/specs/financial/vat-number-validation.yaml +205 -0
- package/dist/specs/financial/vat-rates-by-ip.yaml +200 -0
- package/dist/specs/financial/vat-rates-country.yaml +212 -0
- package/dist/specs/general/usage-credits.yaml +188 -0
- package/dist/specs/geocoding/forward-geocoding.yaml +292 -0
- package/dist/specs/geocoding/reverse-geocoding.yaml +237 -0
- package/dist/specs/geodb/administrative-units-details.yaml +180 -0
- package/dist/specs/geodb/administrative-units-levels.yaml +140 -0
- package/dist/specs/geodb/administrative-units.yaml +168 -0
- package/dist/specs/geodb/cities.yaml +209 -0
- package/dist/specs/geodb/countries-details.yaml +207 -0
- package/dist/specs/geodb/countries.yaml +199 -0
- package/dist/specs/geodb/flags-supported.yaml +119 -0
- package/dist/specs/geodb/flags.yaml +170 -0
- package/dist/specs/geodb/regions.yaml +76 -0
- package/dist/specs/geodb/subregions.yaml +158 -0
- package/dist/specs/ip-intelligence/bulk-ip-lookup.yaml +895 -0
- package/dist/specs/ip-intelligence/bulk-ip-threat-intelligence.yaml +310 -0
- package/dist/specs/ip-intelligence/ip-locator.yaml +708 -0
- package/dist/specs/ip-intelligence/ip-threat-intelligence.yaml +230 -0
- package/dist/specs/other/astronomy-data.yaml +632 -0
- package/dist/specs/pdf/delete-pdf-page.yaml +193 -0
- package/dist/specs/pdf/linearize-pdf.yaml +187 -0
- package/dist/specs/pdf/merge-pdf.yaml +193 -0
- package/dist/specs/pdf/pdf-compress.yaml +208 -0
- package/dist/specs/pdf/pdf-decrypt.yaml +202 -0
- package/dist/specs/pdf/pdf-encrypt.yaml +213 -0
- package/dist/specs/pdf/pdf-extract-pages.yaml +199 -0
- package/dist/specs/pdf/pdf-file-status.yaml +148 -0
- package/dist/specs/pdf/pdf-file.yaml +136 -0
- package/dist/specs/pdf/pdf-files.yaml +85 -0
- package/dist/specs/pdf/pdf-resource-download.yaml +117 -0
- package/dist/specs/pdf/pdf-resource-upload-binary.yaml +152 -0
- package/dist/specs/pdf/pdf-resource-upload.yaml +163 -0
- package/dist/specs/pdf/pdf-restrict.yaml +246 -0
- package/dist/specs/pdf/pdf-split-pages.yaml +208 -0
- package/dist/specs/pdf/pdf-task-status.yaml +187 -0
- package/dist/specs/pdf/pdf-to-image.yaml +844 -0
- package/dist/specs/pdf/pdf-unrestrict.yaml +221 -0
- package/dist/specs/pdf/rotate-pdf-pages.yaml +207 -0
- package/dist/specs/phone-validation/bulk-phone-number-validation.yaml +374 -0
- package/dist/specs/phone-validation/phone-number-validation.yaml +344 -0
- package/dist/specs/scraper/web-scraper.yaml +479 -0
- package/dist/specs/screenshot/bulk-screenshot.yaml +728 -0
- package/dist/specs/screenshot/website-screenshot.yaml +822 -0
- package/dist/specs/ssl/ssl-certificate-chain-lookup.yaml +593 -0
- package/dist/specs/ssl/ssl-certificate-lookup.yaml +478 -0
- package/dist/specs/timezone/timezone-converter.yaml +249 -0
- package/dist/specs/timezone/timezone-lookup.yaml +712 -0
- package/dist/specs/user-agent/bulk-user-agent-parser.yaml +340 -0
- package/dist/specs/user-agent/user-agent-parser.yaml +271 -0
- package/dist/specs/weather/air-quality.yaml +590 -0
- package/dist/specs/weather/bulk-live-weather.yaml +654 -0
- package/dist/specs/weather/flood-forecast.yaml +519 -0
- package/dist/specs/weather/historical-weather.yaml +842 -0
- package/dist/specs/weather/live-weather.yaml +633 -0
- package/dist/specs/weather/marine-weather.yaml +806 -0
- package/dist/specs/weather/time-series-weather.yaml +821 -0
- package/dist/specs/weather/weather-forecast.yaml +935 -0
- package/dist/specs/whois/asn-lookup.yaml +618 -0
- package/dist/specs/whois/bulk-whois-lookup.yaml +827 -0
- package/dist/specs/whois/domain-whois-history-lookup.yaml +445 -0
- package/dist/specs/whois/reverse-whois.yaml +566 -0
- package/dist/specs/whois/whois-domain-lookup.yaml +537 -0
- package/dist/specs/whois/whois-ip-lookup.yaml +1123 -0
- package/dist/specs/zip-code/bulk-zip-code-lookup.yaml +232 -0
- package/dist/specs/zip-code/zip-code-api.yaml +216 -0
- package/dist/specs/zip-code/zip-code-distance-match.yaml +239 -0
- package/dist/specs/zip-code/zip-code-distance.yaml +233 -0
- package/dist/specs/zip-code/zip-codes-by-city.yaml +201 -0
- package/dist/specs/zip-code/zip-codes-by-region.yaml +200 -0
- package/dist/specs/zip-code/zip-codes-radius-search.yaml +262 -0
- package/package.json +6 -2
package/dist/index.cjs
CHANGED
|
@@ -24,6 +24,8 @@ __export(index_exports, {
|
|
|
24
24
|
SPECS_BY_CATEGORY: () => SPECS_BY_CATEGORY,
|
|
25
25
|
SPEC_CATEGORIES: () => SPEC_CATEGORIES,
|
|
26
26
|
SPEC_SLUGS: () => SPEC_SLUGS,
|
|
27
|
+
SpecCategory: () => SpecCategory,
|
|
28
|
+
SpecSlug: () => SpecSlug,
|
|
27
29
|
getSpec: () => getSpec,
|
|
28
30
|
getSpecsByCategory: () => getSpecsByCategory
|
|
29
31
|
});
|
|
@@ -44644,6 +44646,133 @@ var SPECS_BY_CATEGORY = {
|
|
|
44644
44646
|
"whois": ["asn-lookup", "bulk-whois-lookup", "domain-whois-history-lookup", "reverse-whois", "whois-domain-lookup", "whois-ip-lookup"],
|
|
44645
44647
|
"zip-code": ["bulk-zip-code-lookup", "zip-code-api", "zip-code-distance-match", "zip-code-distance", "zip-codes-by-city", "zip-codes-by-region", "zip-codes-radius-search"]
|
|
44646
44648
|
};
|
|
44649
|
+
var SpecSlug = {
|
|
44650
|
+
ADMINISTRATIVE_UNITS: "administrative-units",
|
|
44651
|
+
ADMINISTRATIVE_UNITS_DETAILS: "administrative-units-details",
|
|
44652
|
+
ADMINISTRATIVE_UNITS_LEVELS: "administrative-units-levels",
|
|
44653
|
+
AIR_QUALITY: "air-quality",
|
|
44654
|
+
ASN_LOOKUP: "asn-lookup",
|
|
44655
|
+
ASTRONOMY_DATA: "astronomy-data",
|
|
44656
|
+
BULK_DNS_LOOKUP: "bulk-dns-lookup",
|
|
44657
|
+
BULK_DOMAIN_CHECKER: "bulk-domain-checker",
|
|
44658
|
+
BULK_EMAIL_VALIDATION: "bulk-email-validation",
|
|
44659
|
+
BULK_IP_LOOKUP: "bulk-ip-lookup",
|
|
44660
|
+
BULK_IP_THREAT_INTELLIGENCE: "bulk-ip-threat-intelligence",
|
|
44661
|
+
BULK_LIVE_WEATHER: "bulk-live-weather",
|
|
44662
|
+
BULK_PHONE_NUMBER_VALIDATION: "bulk-phone-number-validation",
|
|
44663
|
+
BULK_SCREENSHOT: "bulk-screenshot",
|
|
44664
|
+
BULK_USER_AGENT_PARSER: "bulk-user-agent-parser",
|
|
44665
|
+
BULK_VAT_RATES_COUNTRY: "bulk-vat-rates-country",
|
|
44666
|
+
BULK_WHOIS_LOOKUP: "bulk-whois-lookup",
|
|
44667
|
+
BULK_ZIP_CODE_LOOKUP: "bulk-zip-code-lookup",
|
|
44668
|
+
CITIES: "cities",
|
|
44669
|
+
COMMODITY_FLUCTUATION: "commodity-fluctuation",
|
|
44670
|
+
COMMODITY_PRICES: "commodity-prices",
|
|
44671
|
+
COMMODITY_SYMBOLS: "commodity-symbols",
|
|
44672
|
+
COMMODITY_TIME_SERIES: "commodity-time-series",
|
|
44673
|
+
COUNTRIES: "countries",
|
|
44674
|
+
COUNTRIES_DETAILS: "countries-details",
|
|
44675
|
+
CURRENCY_CONVERTER: "currency-converter",
|
|
44676
|
+
CURRENCY_FLUCTUATION: "currency-fluctuation",
|
|
44677
|
+
CURRENCY_HISTORICAL_DATA_LIMIT: "currency-historical-data-limit",
|
|
44678
|
+
CURRENCY_RATE: "currency-rate",
|
|
44679
|
+
CURRENCY_SUPPORTED: "currency-supported",
|
|
44680
|
+
CURRENCY_SYMBOLS: "currency-symbols",
|
|
44681
|
+
CURRENCY_TIME_SERIES: "currency-time-series",
|
|
44682
|
+
DELETE_PDF_PAGE: "delete-pdf-page",
|
|
44683
|
+
DNS_HISTORY_LOOKUP: "dns-history-lookup",
|
|
44684
|
+
DNS_LOOKUP: "dns-lookup",
|
|
44685
|
+
DOMAIN_SEARCH: "domain-search",
|
|
44686
|
+
DOMAIN_SEARCH_WITH_SUGGESTIONS: "domain-search-with-suggestions",
|
|
44687
|
+
DOMAIN_WHOIS_HISTORY_LOOKUP: "domain-whois-history-lookup",
|
|
44688
|
+
EMAIL_CHECKER: "email-checker",
|
|
44689
|
+
FINANCIAL_APIS_SUPPORTED_COUNTRIES: "financial-apis-supported-countries",
|
|
44690
|
+
FLAGS: "flags",
|
|
44691
|
+
FLAGS_SUPPORTED: "flags-supported",
|
|
44692
|
+
FLOOD_FORECAST: "flood-forecast",
|
|
44693
|
+
FORWARD_GEOCODING: "forward-geocoding",
|
|
44694
|
+
GEOLOCALIZED_CURRENCY_CONVERSION: "geolocalized-currency-conversion",
|
|
44695
|
+
HISTORICAL_COMMODITY_PRICES: "historical-commodity-prices",
|
|
44696
|
+
HISTORICAL_CURRENCY_CONVERTER: "historical-currency-converter",
|
|
44697
|
+
HISTORICAL_CURRENCY_RATE: "historical-currency-rate",
|
|
44698
|
+
HISTORICAL_WEATHER: "historical-weather",
|
|
44699
|
+
IBAN_VALIDATION: "iban-validation",
|
|
44700
|
+
IP_LOCATOR: "ip-locator",
|
|
44701
|
+
IP_THREAT_INTELLIGENCE: "ip-threat-intelligence",
|
|
44702
|
+
LINEARIZE_PDF: "linearize-pdf",
|
|
44703
|
+
LIVE_WEATHER: "live-weather",
|
|
44704
|
+
MARINE_WEATHER: "marine-weather",
|
|
44705
|
+
MERGE_PDF: "merge-pdf",
|
|
44706
|
+
PDF_COMPRESS: "pdf-compress",
|
|
44707
|
+
PDF_DECRYPT: "pdf-decrypt",
|
|
44708
|
+
PDF_ENCRYPT: "pdf-encrypt",
|
|
44709
|
+
PDF_EXTRACT_PAGES: "pdf-extract-pages",
|
|
44710
|
+
PDF_FILE: "pdf-file",
|
|
44711
|
+
PDF_FILE_STATUS: "pdf-file-status",
|
|
44712
|
+
PDF_FILES: "pdf-files",
|
|
44713
|
+
PDF_RESOURCE_DOWNLOAD: "pdf-resource-download",
|
|
44714
|
+
PDF_RESOURCE_UPLOAD: "pdf-resource-upload",
|
|
44715
|
+
PDF_RESOURCE_UPLOAD_BINARY: "pdf-resource-upload-binary",
|
|
44716
|
+
PDF_RESTRICT: "pdf-restrict",
|
|
44717
|
+
PDF_SPLIT_PAGES: "pdf-split-pages",
|
|
44718
|
+
PDF_TASK_STATUS: "pdf-task-status",
|
|
44719
|
+
PDF_TO_IMAGE: "pdf-to-image",
|
|
44720
|
+
PDF_UNRESTRICT: "pdf-unrestrict",
|
|
44721
|
+
PHONE_NUMBER_VALIDATION: "phone-number-validation",
|
|
44722
|
+
REGIONS: "regions",
|
|
44723
|
+
REVERSE_DNS_LOOKUP: "reverse-dns-lookup",
|
|
44724
|
+
REVERSE_GEOCODING: "reverse-geocoding",
|
|
44725
|
+
REVERSE_WHOIS: "reverse-whois",
|
|
44726
|
+
ROTATE_PDF_PAGES: "rotate-pdf-pages",
|
|
44727
|
+
SSL_CERTIFICATE_CHAIN_LOOKUP: "ssl-certificate-chain-lookup",
|
|
44728
|
+
SSL_CERTIFICATE_LOOKUP: "ssl-certificate-lookup",
|
|
44729
|
+
SUBDOMAIN_LOOKUP: "subdomain-lookup",
|
|
44730
|
+
SUBREGIONS: "subregions",
|
|
44731
|
+
SWIFT_CODE_FINDER: "swift-code-finder",
|
|
44732
|
+
SWIFT_CODE_LOOKUP: "swift-code-lookup",
|
|
44733
|
+
TIME_SERIES_WEATHER: "time-series-weather",
|
|
44734
|
+
TIMEZONE_CONVERTER: "timezone-converter",
|
|
44735
|
+
TIMEZONE_LOOKUP: "timezone-lookup",
|
|
44736
|
+
USAGE_CREDITS: "usage-credits",
|
|
44737
|
+
USER_AGENT_PARSER: "user-agent-parser",
|
|
44738
|
+
VAT_NUMBER_VALIDATION: "vat-number-validation",
|
|
44739
|
+
VAT_RATES_BY_IP: "vat-rates-by-ip",
|
|
44740
|
+
VAT_RATES_COUNTRY: "vat-rates-country",
|
|
44741
|
+
WEATHER_FORECAST: "weather-forecast",
|
|
44742
|
+
WEB_SCRAPER: "web-scraper",
|
|
44743
|
+
WEBSITE_SCREENSHOT: "website-screenshot",
|
|
44744
|
+
WHOIS_DOMAIN_LOOKUP: "whois-domain-lookup",
|
|
44745
|
+
WHOIS_IP_LOOKUP: "whois-ip-lookup",
|
|
44746
|
+
ZIP_CODE_API: "zip-code-api",
|
|
44747
|
+
ZIP_CODE_DISTANCE: "zip-code-distance",
|
|
44748
|
+
ZIP_CODE_DISTANCE_MATCH: "zip-code-distance-match",
|
|
44749
|
+
ZIP_CODES_BY_CITY: "zip-codes-by-city",
|
|
44750
|
+
ZIP_CODES_BY_REGION: "zip-codes-by-region",
|
|
44751
|
+
ZIP_CODES_RADIUS_SEARCH: "zip-codes-radius-search"
|
|
44752
|
+
};
|
|
44753
|
+
var SpecCategory = {
|
|
44754
|
+
COMMODITY: "commodity",
|
|
44755
|
+
CURRENCY: "currency",
|
|
44756
|
+
DNS: "dns",
|
|
44757
|
+
DOMAIN: "domain",
|
|
44758
|
+
EMAIL_VALIDATION: "email-validation",
|
|
44759
|
+
FINANCIAL: "financial",
|
|
44760
|
+
GENERAL: "general",
|
|
44761
|
+
GEOCODING: "geocoding",
|
|
44762
|
+
GEODB: "geodb",
|
|
44763
|
+
IP_INTELLIGENCE: "ip-intelligence",
|
|
44764
|
+
OTHER: "other",
|
|
44765
|
+
PDF: "pdf",
|
|
44766
|
+
PHONE_VALIDATION: "phone-validation",
|
|
44767
|
+
SCRAPER: "scraper",
|
|
44768
|
+
SCREENSHOT: "screenshot",
|
|
44769
|
+
SSL: "ssl",
|
|
44770
|
+
TIMEZONE: "timezone",
|
|
44771
|
+
USER_AGENT: "user-agent",
|
|
44772
|
+
WEATHER: "weather",
|
|
44773
|
+
WHOIS: "whois",
|
|
44774
|
+
ZIP_CODE: "zip-code"
|
|
44775
|
+
};
|
|
44647
44776
|
|
|
44648
44777
|
// src/index.ts
|
|
44649
44778
|
function getSpec(slug) {
|
|
@@ -44658,6 +44787,8 @@ function getSpecsByCategory(category) {
|
|
|
44658
44787
|
SPECS_BY_CATEGORY,
|
|
44659
44788
|
SPEC_CATEGORIES,
|
|
44660
44789
|
SPEC_SLUGS,
|
|
44790
|
+
SpecCategory,
|
|
44791
|
+
SpecSlug,
|
|
44661
44792
|
getSpec,
|
|
44662
44793
|
getSpecsByCategory
|
|
44663
44794
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -23,8 +23,145 @@ declare const SPECS: Record<string, OpenAPISpec>;
|
|
|
23
23
|
declare const SPEC_SLUGS: string[];
|
|
24
24
|
declare const SPEC_CATEGORIES: string[];
|
|
25
25
|
declare const SPECS_BY_CATEGORY: Record<string, string[]>;
|
|
26
|
+
/**
|
|
27
|
+
* Enumerated spec slugs. Import and reference these instead of raw strings —
|
|
28
|
+
* if a spec file is renamed or removed, the corresponding key disappears here
|
|
29
|
+
* and every usage in a host app fails to compile instead of failing silently at runtime.
|
|
30
|
+
*/
|
|
31
|
+
declare const SpecSlug: {
|
|
32
|
+
readonly ADMINISTRATIVE_UNITS: "administrative-units";
|
|
33
|
+
readonly ADMINISTRATIVE_UNITS_DETAILS: "administrative-units-details";
|
|
34
|
+
readonly ADMINISTRATIVE_UNITS_LEVELS: "administrative-units-levels";
|
|
35
|
+
readonly AIR_QUALITY: "air-quality";
|
|
36
|
+
readonly ASN_LOOKUP: "asn-lookup";
|
|
37
|
+
readonly ASTRONOMY_DATA: "astronomy-data";
|
|
38
|
+
readonly BULK_DNS_LOOKUP: "bulk-dns-lookup";
|
|
39
|
+
readonly BULK_DOMAIN_CHECKER: "bulk-domain-checker";
|
|
40
|
+
readonly BULK_EMAIL_VALIDATION: "bulk-email-validation";
|
|
41
|
+
readonly BULK_IP_LOOKUP: "bulk-ip-lookup";
|
|
42
|
+
readonly BULK_IP_THREAT_INTELLIGENCE: "bulk-ip-threat-intelligence";
|
|
43
|
+
readonly BULK_LIVE_WEATHER: "bulk-live-weather";
|
|
44
|
+
readonly BULK_PHONE_NUMBER_VALIDATION: "bulk-phone-number-validation";
|
|
45
|
+
readonly BULK_SCREENSHOT: "bulk-screenshot";
|
|
46
|
+
readonly BULK_USER_AGENT_PARSER: "bulk-user-agent-parser";
|
|
47
|
+
readonly BULK_VAT_RATES_COUNTRY: "bulk-vat-rates-country";
|
|
48
|
+
readonly BULK_WHOIS_LOOKUP: "bulk-whois-lookup";
|
|
49
|
+
readonly BULK_ZIP_CODE_LOOKUP: "bulk-zip-code-lookup";
|
|
50
|
+
readonly CITIES: "cities";
|
|
51
|
+
readonly COMMODITY_FLUCTUATION: "commodity-fluctuation";
|
|
52
|
+
readonly COMMODITY_PRICES: "commodity-prices";
|
|
53
|
+
readonly COMMODITY_SYMBOLS: "commodity-symbols";
|
|
54
|
+
readonly COMMODITY_TIME_SERIES: "commodity-time-series";
|
|
55
|
+
readonly COUNTRIES: "countries";
|
|
56
|
+
readonly COUNTRIES_DETAILS: "countries-details";
|
|
57
|
+
readonly CURRENCY_CONVERTER: "currency-converter";
|
|
58
|
+
readonly CURRENCY_FLUCTUATION: "currency-fluctuation";
|
|
59
|
+
readonly CURRENCY_HISTORICAL_DATA_LIMIT: "currency-historical-data-limit";
|
|
60
|
+
readonly CURRENCY_RATE: "currency-rate";
|
|
61
|
+
readonly CURRENCY_SUPPORTED: "currency-supported";
|
|
62
|
+
readonly CURRENCY_SYMBOLS: "currency-symbols";
|
|
63
|
+
readonly CURRENCY_TIME_SERIES: "currency-time-series";
|
|
64
|
+
readonly DELETE_PDF_PAGE: "delete-pdf-page";
|
|
65
|
+
readonly DNS_HISTORY_LOOKUP: "dns-history-lookup";
|
|
66
|
+
readonly DNS_LOOKUP: "dns-lookup";
|
|
67
|
+
readonly DOMAIN_SEARCH: "domain-search";
|
|
68
|
+
readonly DOMAIN_SEARCH_WITH_SUGGESTIONS: "domain-search-with-suggestions";
|
|
69
|
+
readonly DOMAIN_WHOIS_HISTORY_LOOKUP: "domain-whois-history-lookup";
|
|
70
|
+
readonly EMAIL_CHECKER: "email-checker";
|
|
71
|
+
readonly FINANCIAL_APIS_SUPPORTED_COUNTRIES: "financial-apis-supported-countries";
|
|
72
|
+
readonly FLAGS: "flags";
|
|
73
|
+
readonly FLAGS_SUPPORTED: "flags-supported";
|
|
74
|
+
readonly FLOOD_FORECAST: "flood-forecast";
|
|
75
|
+
readonly FORWARD_GEOCODING: "forward-geocoding";
|
|
76
|
+
readonly GEOLOCALIZED_CURRENCY_CONVERSION: "geolocalized-currency-conversion";
|
|
77
|
+
readonly HISTORICAL_COMMODITY_PRICES: "historical-commodity-prices";
|
|
78
|
+
readonly HISTORICAL_CURRENCY_CONVERTER: "historical-currency-converter";
|
|
79
|
+
readonly HISTORICAL_CURRENCY_RATE: "historical-currency-rate";
|
|
80
|
+
readonly HISTORICAL_WEATHER: "historical-weather";
|
|
81
|
+
readonly IBAN_VALIDATION: "iban-validation";
|
|
82
|
+
readonly IP_LOCATOR: "ip-locator";
|
|
83
|
+
readonly IP_THREAT_INTELLIGENCE: "ip-threat-intelligence";
|
|
84
|
+
readonly LINEARIZE_PDF: "linearize-pdf";
|
|
85
|
+
readonly LIVE_WEATHER: "live-weather";
|
|
86
|
+
readonly MARINE_WEATHER: "marine-weather";
|
|
87
|
+
readonly MERGE_PDF: "merge-pdf";
|
|
88
|
+
readonly PDF_COMPRESS: "pdf-compress";
|
|
89
|
+
readonly PDF_DECRYPT: "pdf-decrypt";
|
|
90
|
+
readonly PDF_ENCRYPT: "pdf-encrypt";
|
|
91
|
+
readonly PDF_EXTRACT_PAGES: "pdf-extract-pages";
|
|
92
|
+
readonly PDF_FILE: "pdf-file";
|
|
93
|
+
readonly PDF_FILE_STATUS: "pdf-file-status";
|
|
94
|
+
readonly PDF_FILES: "pdf-files";
|
|
95
|
+
readonly PDF_RESOURCE_DOWNLOAD: "pdf-resource-download";
|
|
96
|
+
readonly PDF_RESOURCE_UPLOAD: "pdf-resource-upload";
|
|
97
|
+
readonly PDF_RESOURCE_UPLOAD_BINARY: "pdf-resource-upload-binary";
|
|
98
|
+
readonly PDF_RESTRICT: "pdf-restrict";
|
|
99
|
+
readonly PDF_SPLIT_PAGES: "pdf-split-pages";
|
|
100
|
+
readonly PDF_TASK_STATUS: "pdf-task-status";
|
|
101
|
+
readonly PDF_TO_IMAGE: "pdf-to-image";
|
|
102
|
+
readonly PDF_UNRESTRICT: "pdf-unrestrict";
|
|
103
|
+
readonly PHONE_NUMBER_VALIDATION: "phone-number-validation";
|
|
104
|
+
readonly REGIONS: "regions";
|
|
105
|
+
readonly REVERSE_DNS_LOOKUP: "reverse-dns-lookup";
|
|
106
|
+
readonly REVERSE_GEOCODING: "reverse-geocoding";
|
|
107
|
+
readonly REVERSE_WHOIS: "reverse-whois";
|
|
108
|
+
readonly ROTATE_PDF_PAGES: "rotate-pdf-pages";
|
|
109
|
+
readonly SSL_CERTIFICATE_CHAIN_LOOKUP: "ssl-certificate-chain-lookup";
|
|
110
|
+
readonly SSL_CERTIFICATE_LOOKUP: "ssl-certificate-lookup";
|
|
111
|
+
readonly SUBDOMAIN_LOOKUP: "subdomain-lookup";
|
|
112
|
+
readonly SUBREGIONS: "subregions";
|
|
113
|
+
readonly SWIFT_CODE_FINDER: "swift-code-finder";
|
|
114
|
+
readonly SWIFT_CODE_LOOKUP: "swift-code-lookup";
|
|
115
|
+
readonly TIME_SERIES_WEATHER: "time-series-weather";
|
|
116
|
+
readonly TIMEZONE_CONVERTER: "timezone-converter";
|
|
117
|
+
readonly TIMEZONE_LOOKUP: "timezone-lookup";
|
|
118
|
+
readonly USAGE_CREDITS: "usage-credits";
|
|
119
|
+
readonly USER_AGENT_PARSER: "user-agent-parser";
|
|
120
|
+
readonly VAT_NUMBER_VALIDATION: "vat-number-validation";
|
|
121
|
+
readonly VAT_RATES_BY_IP: "vat-rates-by-ip";
|
|
122
|
+
readonly VAT_RATES_COUNTRY: "vat-rates-country";
|
|
123
|
+
readonly WEATHER_FORECAST: "weather-forecast";
|
|
124
|
+
readonly WEB_SCRAPER: "web-scraper";
|
|
125
|
+
readonly WEBSITE_SCREENSHOT: "website-screenshot";
|
|
126
|
+
readonly WHOIS_DOMAIN_LOOKUP: "whois-domain-lookup";
|
|
127
|
+
readonly WHOIS_IP_LOOKUP: "whois-ip-lookup";
|
|
128
|
+
readonly ZIP_CODE_API: "zip-code-api";
|
|
129
|
+
readonly ZIP_CODE_DISTANCE: "zip-code-distance";
|
|
130
|
+
readonly ZIP_CODE_DISTANCE_MATCH: "zip-code-distance-match";
|
|
131
|
+
readonly ZIP_CODES_BY_CITY: "zip-codes-by-city";
|
|
132
|
+
readonly ZIP_CODES_BY_REGION: "zip-codes-by-region";
|
|
133
|
+
readonly ZIP_CODES_RADIUS_SEARCH: "zip-codes-radius-search";
|
|
134
|
+
};
|
|
135
|
+
type SpecSlugValue = (typeof SpecSlug)[keyof typeof SpecSlug];
|
|
136
|
+
/**
|
|
137
|
+
* Enumerated spec categories, same rename-safety guarantee as SpecSlug.
|
|
138
|
+
*/
|
|
139
|
+
declare const SpecCategory: {
|
|
140
|
+
readonly COMMODITY: "commodity";
|
|
141
|
+
readonly CURRENCY: "currency";
|
|
142
|
+
readonly DNS: "dns";
|
|
143
|
+
readonly DOMAIN: "domain";
|
|
144
|
+
readonly EMAIL_VALIDATION: "email-validation";
|
|
145
|
+
readonly FINANCIAL: "financial";
|
|
146
|
+
readonly GENERAL: "general";
|
|
147
|
+
readonly GEOCODING: "geocoding";
|
|
148
|
+
readonly GEODB: "geodb";
|
|
149
|
+
readonly IP_INTELLIGENCE: "ip-intelligence";
|
|
150
|
+
readonly OTHER: "other";
|
|
151
|
+
readonly PDF: "pdf";
|
|
152
|
+
readonly PHONE_VALIDATION: "phone-validation";
|
|
153
|
+
readonly SCRAPER: "scraper";
|
|
154
|
+
readonly SCREENSHOT: "screenshot";
|
|
155
|
+
readonly SSL: "ssl";
|
|
156
|
+
readonly TIMEZONE: "timezone";
|
|
157
|
+
readonly USER_AGENT: "user-agent";
|
|
158
|
+
readonly WEATHER: "weather";
|
|
159
|
+
readonly WHOIS: "whois";
|
|
160
|
+
readonly ZIP_CODE: "zip-code";
|
|
161
|
+
};
|
|
162
|
+
type SpecCategoryValue = (typeof SpecCategory)[keyof typeof SpecCategory];
|
|
26
163
|
|
|
27
|
-
declare function getSpec(slug: string): OpenAPISpec | undefined;
|
|
28
|
-
declare function getSpecsByCategory(category: string): string[];
|
|
164
|
+
declare function getSpec(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
|
|
165
|
+
declare function getSpecsByCategory(category: SpecCategoryValue | (string & {})): string[];
|
|
29
166
|
|
|
30
|
-
export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPEC_CATEGORIES, SPEC_SLUGS, getSpec, getSpecsByCategory };
|
|
167
|
+
export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue, getSpec, getSpecsByCategory };
|
package/dist/index.d.ts
CHANGED
|
@@ -23,8 +23,145 @@ declare const SPECS: Record<string, OpenAPISpec>;
|
|
|
23
23
|
declare const SPEC_SLUGS: string[];
|
|
24
24
|
declare const SPEC_CATEGORIES: string[];
|
|
25
25
|
declare const SPECS_BY_CATEGORY: Record<string, string[]>;
|
|
26
|
+
/**
|
|
27
|
+
* Enumerated spec slugs. Import and reference these instead of raw strings —
|
|
28
|
+
* if a spec file is renamed or removed, the corresponding key disappears here
|
|
29
|
+
* and every usage in a host app fails to compile instead of failing silently at runtime.
|
|
30
|
+
*/
|
|
31
|
+
declare const SpecSlug: {
|
|
32
|
+
readonly ADMINISTRATIVE_UNITS: "administrative-units";
|
|
33
|
+
readonly ADMINISTRATIVE_UNITS_DETAILS: "administrative-units-details";
|
|
34
|
+
readonly ADMINISTRATIVE_UNITS_LEVELS: "administrative-units-levels";
|
|
35
|
+
readonly AIR_QUALITY: "air-quality";
|
|
36
|
+
readonly ASN_LOOKUP: "asn-lookup";
|
|
37
|
+
readonly ASTRONOMY_DATA: "astronomy-data";
|
|
38
|
+
readonly BULK_DNS_LOOKUP: "bulk-dns-lookup";
|
|
39
|
+
readonly BULK_DOMAIN_CHECKER: "bulk-domain-checker";
|
|
40
|
+
readonly BULK_EMAIL_VALIDATION: "bulk-email-validation";
|
|
41
|
+
readonly BULK_IP_LOOKUP: "bulk-ip-lookup";
|
|
42
|
+
readonly BULK_IP_THREAT_INTELLIGENCE: "bulk-ip-threat-intelligence";
|
|
43
|
+
readonly BULK_LIVE_WEATHER: "bulk-live-weather";
|
|
44
|
+
readonly BULK_PHONE_NUMBER_VALIDATION: "bulk-phone-number-validation";
|
|
45
|
+
readonly BULK_SCREENSHOT: "bulk-screenshot";
|
|
46
|
+
readonly BULK_USER_AGENT_PARSER: "bulk-user-agent-parser";
|
|
47
|
+
readonly BULK_VAT_RATES_COUNTRY: "bulk-vat-rates-country";
|
|
48
|
+
readonly BULK_WHOIS_LOOKUP: "bulk-whois-lookup";
|
|
49
|
+
readonly BULK_ZIP_CODE_LOOKUP: "bulk-zip-code-lookup";
|
|
50
|
+
readonly CITIES: "cities";
|
|
51
|
+
readonly COMMODITY_FLUCTUATION: "commodity-fluctuation";
|
|
52
|
+
readonly COMMODITY_PRICES: "commodity-prices";
|
|
53
|
+
readonly COMMODITY_SYMBOLS: "commodity-symbols";
|
|
54
|
+
readonly COMMODITY_TIME_SERIES: "commodity-time-series";
|
|
55
|
+
readonly COUNTRIES: "countries";
|
|
56
|
+
readonly COUNTRIES_DETAILS: "countries-details";
|
|
57
|
+
readonly CURRENCY_CONVERTER: "currency-converter";
|
|
58
|
+
readonly CURRENCY_FLUCTUATION: "currency-fluctuation";
|
|
59
|
+
readonly CURRENCY_HISTORICAL_DATA_LIMIT: "currency-historical-data-limit";
|
|
60
|
+
readonly CURRENCY_RATE: "currency-rate";
|
|
61
|
+
readonly CURRENCY_SUPPORTED: "currency-supported";
|
|
62
|
+
readonly CURRENCY_SYMBOLS: "currency-symbols";
|
|
63
|
+
readonly CURRENCY_TIME_SERIES: "currency-time-series";
|
|
64
|
+
readonly DELETE_PDF_PAGE: "delete-pdf-page";
|
|
65
|
+
readonly DNS_HISTORY_LOOKUP: "dns-history-lookup";
|
|
66
|
+
readonly DNS_LOOKUP: "dns-lookup";
|
|
67
|
+
readonly DOMAIN_SEARCH: "domain-search";
|
|
68
|
+
readonly DOMAIN_SEARCH_WITH_SUGGESTIONS: "domain-search-with-suggestions";
|
|
69
|
+
readonly DOMAIN_WHOIS_HISTORY_LOOKUP: "domain-whois-history-lookup";
|
|
70
|
+
readonly EMAIL_CHECKER: "email-checker";
|
|
71
|
+
readonly FINANCIAL_APIS_SUPPORTED_COUNTRIES: "financial-apis-supported-countries";
|
|
72
|
+
readonly FLAGS: "flags";
|
|
73
|
+
readonly FLAGS_SUPPORTED: "flags-supported";
|
|
74
|
+
readonly FLOOD_FORECAST: "flood-forecast";
|
|
75
|
+
readonly FORWARD_GEOCODING: "forward-geocoding";
|
|
76
|
+
readonly GEOLOCALIZED_CURRENCY_CONVERSION: "geolocalized-currency-conversion";
|
|
77
|
+
readonly HISTORICAL_COMMODITY_PRICES: "historical-commodity-prices";
|
|
78
|
+
readonly HISTORICAL_CURRENCY_CONVERTER: "historical-currency-converter";
|
|
79
|
+
readonly HISTORICAL_CURRENCY_RATE: "historical-currency-rate";
|
|
80
|
+
readonly HISTORICAL_WEATHER: "historical-weather";
|
|
81
|
+
readonly IBAN_VALIDATION: "iban-validation";
|
|
82
|
+
readonly IP_LOCATOR: "ip-locator";
|
|
83
|
+
readonly IP_THREAT_INTELLIGENCE: "ip-threat-intelligence";
|
|
84
|
+
readonly LINEARIZE_PDF: "linearize-pdf";
|
|
85
|
+
readonly LIVE_WEATHER: "live-weather";
|
|
86
|
+
readonly MARINE_WEATHER: "marine-weather";
|
|
87
|
+
readonly MERGE_PDF: "merge-pdf";
|
|
88
|
+
readonly PDF_COMPRESS: "pdf-compress";
|
|
89
|
+
readonly PDF_DECRYPT: "pdf-decrypt";
|
|
90
|
+
readonly PDF_ENCRYPT: "pdf-encrypt";
|
|
91
|
+
readonly PDF_EXTRACT_PAGES: "pdf-extract-pages";
|
|
92
|
+
readonly PDF_FILE: "pdf-file";
|
|
93
|
+
readonly PDF_FILE_STATUS: "pdf-file-status";
|
|
94
|
+
readonly PDF_FILES: "pdf-files";
|
|
95
|
+
readonly PDF_RESOURCE_DOWNLOAD: "pdf-resource-download";
|
|
96
|
+
readonly PDF_RESOURCE_UPLOAD: "pdf-resource-upload";
|
|
97
|
+
readonly PDF_RESOURCE_UPLOAD_BINARY: "pdf-resource-upload-binary";
|
|
98
|
+
readonly PDF_RESTRICT: "pdf-restrict";
|
|
99
|
+
readonly PDF_SPLIT_PAGES: "pdf-split-pages";
|
|
100
|
+
readonly PDF_TASK_STATUS: "pdf-task-status";
|
|
101
|
+
readonly PDF_TO_IMAGE: "pdf-to-image";
|
|
102
|
+
readonly PDF_UNRESTRICT: "pdf-unrestrict";
|
|
103
|
+
readonly PHONE_NUMBER_VALIDATION: "phone-number-validation";
|
|
104
|
+
readonly REGIONS: "regions";
|
|
105
|
+
readonly REVERSE_DNS_LOOKUP: "reverse-dns-lookup";
|
|
106
|
+
readonly REVERSE_GEOCODING: "reverse-geocoding";
|
|
107
|
+
readonly REVERSE_WHOIS: "reverse-whois";
|
|
108
|
+
readonly ROTATE_PDF_PAGES: "rotate-pdf-pages";
|
|
109
|
+
readonly SSL_CERTIFICATE_CHAIN_LOOKUP: "ssl-certificate-chain-lookup";
|
|
110
|
+
readonly SSL_CERTIFICATE_LOOKUP: "ssl-certificate-lookup";
|
|
111
|
+
readonly SUBDOMAIN_LOOKUP: "subdomain-lookup";
|
|
112
|
+
readonly SUBREGIONS: "subregions";
|
|
113
|
+
readonly SWIFT_CODE_FINDER: "swift-code-finder";
|
|
114
|
+
readonly SWIFT_CODE_LOOKUP: "swift-code-lookup";
|
|
115
|
+
readonly TIME_SERIES_WEATHER: "time-series-weather";
|
|
116
|
+
readonly TIMEZONE_CONVERTER: "timezone-converter";
|
|
117
|
+
readonly TIMEZONE_LOOKUP: "timezone-lookup";
|
|
118
|
+
readonly USAGE_CREDITS: "usage-credits";
|
|
119
|
+
readonly USER_AGENT_PARSER: "user-agent-parser";
|
|
120
|
+
readonly VAT_NUMBER_VALIDATION: "vat-number-validation";
|
|
121
|
+
readonly VAT_RATES_BY_IP: "vat-rates-by-ip";
|
|
122
|
+
readonly VAT_RATES_COUNTRY: "vat-rates-country";
|
|
123
|
+
readonly WEATHER_FORECAST: "weather-forecast";
|
|
124
|
+
readonly WEB_SCRAPER: "web-scraper";
|
|
125
|
+
readonly WEBSITE_SCREENSHOT: "website-screenshot";
|
|
126
|
+
readonly WHOIS_DOMAIN_LOOKUP: "whois-domain-lookup";
|
|
127
|
+
readonly WHOIS_IP_LOOKUP: "whois-ip-lookup";
|
|
128
|
+
readonly ZIP_CODE_API: "zip-code-api";
|
|
129
|
+
readonly ZIP_CODE_DISTANCE: "zip-code-distance";
|
|
130
|
+
readonly ZIP_CODE_DISTANCE_MATCH: "zip-code-distance-match";
|
|
131
|
+
readonly ZIP_CODES_BY_CITY: "zip-codes-by-city";
|
|
132
|
+
readonly ZIP_CODES_BY_REGION: "zip-codes-by-region";
|
|
133
|
+
readonly ZIP_CODES_RADIUS_SEARCH: "zip-codes-radius-search";
|
|
134
|
+
};
|
|
135
|
+
type SpecSlugValue = (typeof SpecSlug)[keyof typeof SpecSlug];
|
|
136
|
+
/**
|
|
137
|
+
* Enumerated spec categories, same rename-safety guarantee as SpecSlug.
|
|
138
|
+
*/
|
|
139
|
+
declare const SpecCategory: {
|
|
140
|
+
readonly COMMODITY: "commodity";
|
|
141
|
+
readonly CURRENCY: "currency";
|
|
142
|
+
readonly DNS: "dns";
|
|
143
|
+
readonly DOMAIN: "domain";
|
|
144
|
+
readonly EMAIL_VALIDATION: "email-validation";
|
|
145
|
+
readonly FINANCIAL: "financial";
|
|
146
|
+
readonly GENERAL: "general";
|
|
147
|
+
readonly GEOCODING: "geocoding";
|
|
148
|
+
readonly GEODB: "geodb";
|
|
149
|
+
readonly IP_INTELLIGENCE: "ip-intelligence";
|
|
150
|
+
readonly OTHER: "other";
|
|
151
|
+
readonly PDF: "pdf";
|
|
152
|
+
readonly PHONE_VALIDATION: "phone-validation";
|
|
153
|
+
readonly SCRAPER: "scraper";
|
|
154
|
+
readonly SCREENSHOT: "screenshot";
|
|
155
|
+
readonly SSL: "ssl";
|
|
156
|
+
readonly TIMEZONE: "timezone";
|
|
157
|
+
readonly USER_AGENT: "user-agent";
|
|
158
|
+
readonly WEATHER: "weather";
|
|
159
|
+
readonly WHOIS: "whois";
|
|
160
|
+
readonly ZIP_CODE: "zip-code";
|
|
161
|
+
};
|
|
162
|
+
type SpecCategoryValue = (typeof SpecCategory)[keyof typeof SpecCategory];
|
|
26
163
|
|
|
27
|
-
declare function getSpec(slug: string): OpenAPISpec | undefined;
|
|
28
|
-
declare function getSpecsByCategory(category: string): string[];
|
|
164
|
+
declare function getSpec(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
|
|
165
|
+
declare function getSpecsByCategory(category: SpecCategoryValue | (string & {})): string[];
|
|
29
166
|
|
|
30
|
-
export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPEC_CATEGORIES, SPEC_SLUGS, getSpec, getSpecsByCategory };
|
|
167
|
+
export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue, getSpec, getSpecsByCategory };
|
package/dist/index.js
CHANGED
|
@@ -44613,6 +44613,133 @@ var SPECS_BY_CATEGORY = {
|
|
|
44613
44613
|
"whois": ["asn-lookup", "bulk-whois-lookup", "domain-whois-history-lookup", "reverse-whois", "whois-domain-lookup", "whois-ip-lookup"],
|
|
44614
44614
|
"zip-code": ["bulk-zip-code-lookup", "zip-code-api", "zip-code-distance-match", "zip-code-distance", "zip-codes-by-city", "zip-codes-by-region", "zip-codes-radius-search"]
|
|
44615
44615
|
};
|
|
44616
|
+
var SpecSlug = {
|
|
44617
|
+
ADMINISTRATIVE_UNITS: "administrative-units",
|
|
44618
|
+
ADMINISTRATIVE_UNITS_DETAILS: "administrative-units-details",
|
|
44619
|
+
ADMINISTRATIVE_UNITS_LEVELS: "administrative-units-levels",
|
|
44620
|
+
AIR_QUALITY: "air-quality",
|
|
44621
|
+
ASN_LOOKUP: "asn-lookup",
|
|
44622
|
+
ASTRONOMY_DATA: "astronomy-data",
|
|
44623
|
+
BULK_DNS_LOOKUP: "bulk-dns-lookup",
|
|
44624
|
+
BULK_DOMAIN_CHECKER: "bulk-domain-checker",
|
|
44625
|
+
BULK_EMAIL_VALIDATION: "bulk-email-validation",
|
|
44626
|
+
BULK_IP_LOOKUP: "bulk-ip-lookup",
|
|
44627
|
+
BULK_IP_THREAT_INTELLIGENCE: "bulk-ip-threat-intelligence",
|
|
44628
|
+
BULK_LIVE_WEATHER: "bulk-live-weather",
|
|
44629
|
+
BULK_PHONE_NUMBER_VALIDATION: "bulk-phone-number-validation",
|
|
44630
|
+
BULK_SCREENSHOT: "bulk-screenshot",
|
|
44631
|
+
BULK_USER_AGENT_PARSER: "bulk-user-agent-parser",
|
|
44632
|
+
BULK_VAT_RATES_COUNTRY: "bulk-vat-rates-country",
|
|
44633
|
+
BULK_WHOIS_LOOKUP: "bulk-whois-lookup",
|
|
44634
|
+
BULK_ZIP_CODE_LOOKUP: "bulk-zip-code-lookup",
|
|
44635
|
+
CITIES: "cities",
|
|
44636
|
+
COMMODITY_FLUCTUATION: "commodity-fluctuation",
|
|
44637
|
+
COMMODITY_PRICES: "commodity-prices",
|
|
44638
|
+
COMMODITY_SYMBOLS: "commodity-symbols",
|
|
44639
|
+
COMMODITY_TIME_SERIES: "commodity-time-series",
|
|
44640
|
+
COUNTRIES: "countries",
|
|
44641
|
+
COUNTRIES_DETAILS: "countries-details",
|
|
44642
|
+
CURRENCY_CONVERTER: "currency-converter",
|
|
44643
|
+
CURRENCY_FLUCTUATION: "currency-fluctuation",
|
|
44644
|
+
CURRENCY_HISTORICAL_DATA_LIMIT: "currency-historical-data-limit",
|
|
44645
|
+
CURRENCY_RATE: "currency-rate",
|
|
44646
|
+
CURRENCY_SUPPORTED: "currency-supported",
|
|
44647
|
+
CURRENCY_SYMBOLS: "currency-symbols",
|
|
44648
|
+
CURRENCY_TIME_SERIES: "currency-time-series",
|
|
44649
|
+
DELETE_PDF_PAGE: "delete-pdf-page",
|
|
44650
|
+
DNS_HISTORY_LOOKUP: "dns-history-lookup",
|
|
44651
|
+
DNS_LOOKUP: "dns-lookup",
|
|
44652
|
+
DOMAIN_SEARCH: "domain-search",
|
|
44653
|
+
DOMAIN_SEARCH_WITH_SUGGESTIONS: "domain-search-with-suggestions",
|
|
44654
|
+
DOMAIN_WHOIS_HISTORY_LOOKUP: "domain-whois-history-lookup",
|
|
44655
|
+
EMAIL_CHECKER: "email-checker",
|
|
44656
|
+
FINANCIAL_APIS_SUPPORTED_COUNTRIES: "financial-apis-supported-countries",
|
|
44657
|
+
FLAGS: "flags",
|
|
44658
|
+
FLAGS_SUPPORTED: "flags-supported",
|
|
44659
|
+
FLOOD_FORECAST: "flood-forecast",
|
|
44660
|
+
FORWARD_GEOCODING: "forward-geocoding",
|
|
44661
|
+
GEOLOCALIZED_CURRENCY_CONVERSION: "geolocalized-currency-conversion",
|
|
44662
|
+
HISTORICAL_COMMODITY_PRICES: "historical-commodity-prices",
|
|
44663
|
+
HISTORICAL_CURRENCY_CONVERTER: "historical-currency-converter",
|
|
44664
|
+
HISTORICAL_CURRENCY_RATE: "historical-currency-rate",
|
|
44665
|
+
HISTORICAL_WEATHER: "historical-weather",
|
|
44666
|
+
IBAN_VALIDATION: "iban-validation",
|
|
44667
|
+
IP_LOCATOR: "ip-locator",
|
|
44668
|
+
IP_THREAT_INTELLIGENCE: "ip-threat-intelligence",
|
|
44669
|
+
LINEARIZE_PDF: "linearize-pdf",
|
|
44670
|
+
LIVE_WEATHER: "live-weather",
|
|
44671
|
+
MARINE_WEATHER: "marine-weather",
|
|
44672
|
+
MERGE_PDF: "merge-pdf",
|
|
44673
|
+
PDF_COMPRESS: "pdf-compress",
|
|
44674
|
+
PDF_DECRYPT: "pdf-decrypt",
|
|
44675
|
+
PDF_ENCRYPT: "pdf-encrypt",
|
|
44676
|
+
PDF_EXTRACT_PAGES: "pdf-extract-pages",
|
|
44677
|
+
PDF_FILE: "pdf-file",
|
|
44678
|
+
PDF_FILE_STATUS: "pdf-file-status",
|
|
44679
|
+
PDF_FILES: "pdf-files",
|
|
44680
|
+
PDF_RESOURCE_DOWNLOAD: "pdf-resource-download",
|
|
44681
|
+
PDF_RESOURCE_UPLOAD: "pdf-resource-upload",
|
|
44682
|
+
PDF_RESOURCE_UPLOAD_BINARY: "pdf-resource-upload-binary",
|
|
44683
|
+
PDF_RESTRICT: "pdf-restrict",
|
|
44684
|
+
PDF_SPLIT_PAGES: "pdf-split-pages",
|
|
44685
|
+
PDF_TASK_STATUS: "pdf-task-status",
|
|
44686
|
+
PDF_TO_IMAGE: "pdf-to-image",
|
|
44687
|
+
PDF_UNRESTRICT: "pdf-unrestrict",
|
|
44688
|
+
PHONE_NUMBER_VALIDATION: "phone-number-validation",
|
|
44689
|
+
REGIONS: "regions",
|
|
44690
|
+
REVERSE_DNS_LOOKUP: "reverse-dns-lookup",
|
|
44691
|
+
REVERSE_GEOCODING: "reverse-geocoding",
|
|
44692
|
+
REVERSE_WHOIS: "reverse-whois",
|
|
44693
|
+
ROTATE_PDF_PAGES: "rotate-pdf-pages",
|
|
44694
|
+
SSL_CERTIFICATE_CHAIN_LOOKUP: "ssl-certificate-chain-lookup",
|
|
44695
|
+
SSL_CERTIFICATE_LOOKUP: "ssl-certificate-lookup",
|
|
44696
|
+
SUBDOMAIN_LOOKUP: "subdomain-lookup",
|
|
44697
|
+
SUBREGIONS: "subregions",
|
|
44698
|
+
SWIFT_CODE_FINDER: "swift-code-finder",
|
|
44699
|
+
SWIFT_CODE_LOOKUP: "swift-code-lookup",
|
|
44700
|
+
TIME_SERIES_WEATHER: "time-series-weather",
|
|
44701
|
+
TIMEZONE_CONVERTER: "timezone-converter",
|
|
44702
|
+
TIMEZONE_LOOKUP: "timezone-lookup",
|
|
44703
|
+
USAGE_CREDITS: "usage-credits",
|
|
44704
|
+
USER_AGENT_PARSER: "user-agent-parser",
|
|
44705
|
+
VAT_NUMBER_VALIDATION: "vat-number-validation",
|
|
44706
|
+
VAT_RATES_BY_IP: "vat-rates-by-ip",
|
|
44707
|
+
VAT_RATES_COUNTRY: "vat-rates-country",
|
|
44708
|
+
WEATHER_FORECAST: "weather-forecast",
|
|
44709
|
+
WEB_SCRAPER: "web-scraper",
|
|
44710
|
+
WEBSITE_SCREENSHOT: "website-screenshot",
|
|
44711
|
+
WHOIS_DOMAIN_LOOKUP: "whois-domain-lookup",
|
|
44712
|
+
WHOIS_IP_LOOKUP: "whois-ip-lookup",
|
|
44713
|
+
ZIP_CODE_API: "zip-code-api",
|
|
44714
|
+
ZIP_CODE_DISTANCE: "zip-code-distance",
|
|
44715
|
+
ZIP_CODE_DISTANCE_MATCH: "zip-code-distance-match",
|
|
44716
|
+
ZIP_CODES_BY_CITY: "zip-codes-by-city",
|
|
44717
|
+
ZIP_CODES_BY_REGION: "zip-codes-by-region",
|
|
44718
|
+
ZIP_CODES_RADIUS_SEARCH: "zip-codes-radius-search"
|
|
44719
|
+
};
|
|
44720
|
+
var SpecCategory = {
|
|
44721
|
+
COMMODITY: "commodity",
|
|
44722
|
+
CURRENCY: "currency",
|
|
44723
|
+
DNS: "dns",
|
|
44724
|
+
DOMAIN: "domain",
|
|
44725
|
+
EMAIL_VALIDATION: "email-validation",
|
|
44726
|
+
FINANCIAL: "financial",
|
|
44727
|
+
GENERAL: "general",
|
|
44728
|
+
GEOCODING: "geocoding",
|
|
44729
|
+
GEODB: "geodb",
|
|
44730
|
+
IP_INTELLIGENCE: "ip-intelligence",
|
|
44731
|
+
OTHER: "other",
|
|
44732
|
+
PDF: "pdf",
|
|
44733
|
+
PHONE_VALIDATION: "phone-validation",
|
|
44734
|
+
SCRAPER: "scraper",
|
|
44735
|
+
SCREENSHOT: "screenshot",
|
|
44736
|
+
SSL: "ssl",
|
|
44737
|
+
TIMEZONE: "timezone",
|
|
44738
|
+
USER_AGENT: "user-agent",
|
|
44739
|
+
WEATHER: "weather",
|
|
44740
|
+
WHOIS: "whois",
|
|
44741
|
+
ZIP_CODE: "zip-code"
|
|
44742
|
+
};
|
|
44616
44743
|
|
|
44617
44744
|
// src/index.ts
|
|
44618
44745
|
function getSpec(slug) {
|
|
@@ -44626,6 +44753,8 @@ export {
|
|
|
44626
44753
|
SPECS_BY_CATEGORY,
|
|
44627
44754
|
SPEC_CATEGORIES,
|
|
44628
44755
|
SPEC_SLUGS,
|
|
44756
|
+
SpecCategory,
|
|
44757
|
+
SpecSlug,
|
|
44629
44758
|
getSpec,
|
|
44630
44759
|
getSpecsByCategory
|
|
44631
44760
|
};
|