@apifreaks/openapi-specs 0.3.2 → 0.4.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 +3486 -128
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3486 -127
- package/dist/specs/domain/domain-reputation.yaml +898 -0
- package/dist/specs/domain/domain-typosquatting.yaml +253 -0
- package/dist/specs/email-validation/bulk-email-validation.yaml +64 -10
- package/dist/specs/email-validation/email-checker.yaml +74 -11
- package/package.json +1 -1
- package/specs/domain/domain-reputation.json +1115 -0
- package/specs/domain/domain-typosquatting.json +344 -0
- package/specs/email-validation/bulk-email-validation.json +78 -9
- package/specs/email-validation/email-checker.json +88 -11
package/dist/index.d.cts
CHANGED
|
@@ -69,8 +69,10 @@ declare const SpecSlug: {
|
|
|
69
69
|
readonly DELETE_PDF_PAGE: "delete-pdf-page";
|
|
70
70
|
readonly DNS_HISTORY_LOOKUP: "dns-history-lookup";
|
|
71
71
|
readonly DNS_LOOKUP: "dns-lookup";
|
|
72
|
+
readonly DOMAIN_REPUTATION: "domain-reputation";
|
|
72
73
|
readonly DOMAIN_SEARCH: "domain-search";
|
|
73
74
|
readonly DOMAIN_SEARCH_WITH_SUGGESTIONS: "domain-search-with-suggestions";
|
|
75
|
+
readonly DOMAIN_TYPOSQUATTING: "domain-typosquatting";
|
|
74
76
|
readonly DOMAIN_WHOIS_HISTORY_LOOKUP: "domain-whois-history-lookup";
|
|
75
77
|
readonly EMAIL_CHECKER: "email-checker";
|
|
76
78
|
readonly FINANCIAL_APIS_SUPPORTED_COUNTRIES: "financial-apis-supported-countries";
|
|
@@ -169,8 +171,6 @@ type SpecCategoryValue = (typeof SpecCategory)[keyof typeof SpecCategory];
|
|
|
169
171
|
|
|
170
172
|
declare function getSpecJson(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
|
|
171
173
|
declare function getSpecYaml(slug: SpecSlugValue | (string & {})): string | undefined;
|
|
172
|
-
/** @deprecated Use {@link getSpecJson} instead. Removed in the next major version. */
|
|
173
|
-
declare function getSpec(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
|
|
174
174
|
declare function getSpecsByCategory(category: SpecCategoryValue | (string & {})): string[];
|
|
175
175
|
|
|
176
|
-
export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPECS_YAML, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue,
|
|
176
|
+
export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPECS_YAML, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue, getSpecJson, getSpecYaml, getSpecsByCategory };
|
package/dist/index.d.ts
CHANGED
|
@@ -69,8 +69,10 @@ declare const SpecSlug: {
|
|
|
69
69
|
readonly DELETE_PDF_PAGE: "delete-pdf-page";
|
|
70
70
|
readonly DNS_HISTORY_LOOKUP: "dns-history-lookup";
|
|
71
71
|
readonly DNS_LOOKUP: "dns-lookup";
|
|
72
|
+
readonly DOMAIN_REPUTATION: "domain-reputation";
|
|
72
73
|
readonly DOMAIN_SEARCH: "domain-search";
|
|
73
74
|
readonly DOMAIN_SEARCH_WITH_SUGGESTIONS: "domain-search-with-suggestions";
|
|
75
|
+
readonly DOMAIN_TYPOSQUATTING: "domain-typosquatting";
|
|
74
76
|
readonly DOMAIN_WHOIS_HISTORY_LOOKUP: "domain-whois-history-lookup";
|
|
75
77
|
readonly EMAIL_CHECKER: "email-checker";
|
|
76
78
|
readonly FINANCIAL_APIS_SUPPORTED_COUNTRIES: "financial-apis-supported-countries";
|
|
@@ -169,8 +171,6 @@ type SpecCategoryValue = (typeof SpecCategory)[keyof typeof SpecCategory];
|
|
|
169
171
|
|
|
170
172
|
declare function getSpecJson(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
|
|
171
173
|
declare function getSpecYaml(slug: SpecSlugValue | (string & {})): string | undefined;
|
|
172
|
-
/** @deprecated Use {@link getSpecJson} instead. Removed in the next major version. */
|
|
173
|
-
declare function getSpec(slug: SpecSlugValue | (string & {})): OpenAPISpec | undefined;
|
|
174
174
|
declare function getSpecsByCategory(category: SpecCategoryValue | (string & {})): string[];
|
|
175
175
|
|
|
176
|
-
export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPECS_YAML, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue,
|
|
176
|
+
export { type OpenAPISpec, SPECS, SPECS_BY_CATEGORY, SPECS_YAML, SPEC_CATEGORIES, SPEC_SLUGS, SpecCategory, type SpecCategoryValue, SpecSlug, type SpecSlugValue, getSpecJson, getSpecYaml, getSpecsByCategory };
|