@addresszen/openapi 3.4.0 → 3.5.2
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/README.md +3 -5
- package/dist/openapi.cjs +19 -0
- package/dist/openapi.cjs.map +1 -0
- package/dist/openapi.d.cts +10185 -0
- package/dist/openapi.d.ts +376 -113
- package/dist/openapi.json +573 -99
- package/dist/openapi.mjs +1 -0
- package/dist/openapi.mjs.map +1 -0
- package/dist/openapi.yaml +534 -95
- package/openapi.ts +11185 -0
- package/package.json +36 -43
- package/dist/_headers +0 -2
- package/dist/index.html +0 -37
- package/dist/openapi.js +0 -6
package/package.json
CHANGED
|
@@ -1,52 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@addresszen/openapi",
|
|
3
3
|
"description": "AddressZen OpenAPI v3 specifications",
|
|
4
|
-
"version": "3.
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
4
|
+
"version": "3.5.2",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/openapi.cjs",
|
|
7
|
+
"module": "./dist/openapi.mjs",
|
|
8
|
+
"types": "./dist/openapi.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/openapi.d.ts",
|
|
12
|
+
"import": "./dist/openapi.mjs",
|
|
13
|
+
"require": "./dist/openapi.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./dist/openapi.json": "./dist/openapi.json",
|
|
16
|
+
"./dist/openapi.yaml": "./dist/openapi.yaml",
|
|
17
|
+
"./dist/*": "./dist/*"
|
|
12
18
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@redocly/cli": "~2.0.7",
|
|
21
|
+
"@stoplight/prism-cli": "~5.0.0",
|
|
22
|
+
"tsup": "~8.5.1",
|
|
23
|
+
"typescript": "~5.7.2",
|
|
24
|
+
"wrangler": "~4.80.0",
|
|
25
|
+
"@atlas/tsconfig-base": "0.0.0",
|
|
26
|
+
"@atlas/tsup-config": "0.0.0"
|
|
20
27
|
},
|
|
21
|
-
"main": "dist/openapi.js",
|
|
22
|
-
"types": "dist/openapi.d.ts",
|
|
23
28
|
"author": {
|
|
24
|
-
"name": "
|
|
29
|
+
"name": "AddressZen",
|
|
25
30
|
"email": "support@addresszen.com",
|
|
26
31
|
"url": "https://addresszen.com"
|
|
27
32
|
},
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
"
|
|
33
|
+
"license": "Copyright IDDQD Limited",
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
31
36
|
},
|
|
32
|
-
"homepage": "https://github.com/addresszen/openapi",
|
|
33
|
-
"repository": {
|
|
34
|
-
"type": "git",
|
|
35
|
-
"url": "https://github.com/addresszen/openapi.git"
|
|
36
|
-
},
|
|
37
|
-
"release": {
|
|
38
|
-
"extends": "@cablanchard/semantic-release/dist/npm",
|
|
39
|
-
"branches": [
|
|
40
|
-
"main",
|
|
41
|
-
{
|
|
42
|
-
"name": "beta",
|
|
43
|
-
"prerelease": true
|
|
44
|
-
},
|
|
45
|
-
"next"
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
"license": "MIT",
|
|
49
37
|
"files": [
|
|
38
|
+
"openapi.ts",
|
|
50
39
|
"dist"
|
|
51
40
|
],
|
|
52
41
|
"keywords": [
|
|
@@ -55,9 +44,13 @@
|
|
|
55
44
|
"Address Verification",
|
|
56
45
|
"Address Lookup"
|
|
57
46
|
],
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
47
|
+
"scripts": {
|
|
48
|
+
"check-types": "tsgo --noEmit",
|
|
49
|
+
"build": "tsup && node stamp-version.mjs",
|
|
50
|
+
"build:site": "node stamp-version.mjs site-dist && cp site/index.html site/_headers site-dist/ && cp -R site/public site-dist/",
|
|
51
|
+
"clean": "rm -rf dist site-dist",
|
|
52
|
+
"start": "redocly preview --project-dir dist",
|
|
53
|
+
"mock": "pnpm build && prism mock ./dist/openapi.yaml",
|
|
54
|
+
"lint": "redocly lint dist/openapi.yaml && redocly lint dist/openapi.json"
|
|
62
55
|
}
|
|
63
|
-
}
|
|
56
|
+
}
|
package/dist/_headers
DELETED
package/dist/index.html
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<title>API Reference - AddressZen</title>
|
|
6
|
-
<!-- needed for adaptive design -->
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
-
<link rel="icon" type="image/svg" href="http://img.ideal-postcodes.co.uk/favicon.svg">
|
|
9
|
-
<link rel="icon" type="image/png" href="http://img.ideal-postcodes.co.uk/favicon.png">
|
|
10
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
11
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
12
|
-
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&family=Lato&family=Lora:wght@500&display=swap" rel="stylesheet">
|
|
13
|
-
<style>
|
|
14
|
-
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&family=Lato&family=Lora:wght@500&display=swap');
|
|
15
|
-
body {
|
|
16
|
-
margin: 0;
|
|
17
|
-
padding: 0;
|
|
18
|
-
}
|
|
19
|
-
code {
|
|
20
|
-
font-family: "Fira Code", monospace;
|
|
21
|
-
}
|
|
22
|
-
.menu-content {
|
|
23
|
-
background: #7534d0 !important;
|
|
24
|
-
background: -webkit-linear-gradient(left, #6629bd, #673ba5) !important;
|
|
25
|
-
background: linear-gradient(to right, #6629bd, #673ba5) !important;
|
|
26
|
-
}
|
|
27
|
-
</style>
|
|
28
|
-
</head>
|
|
29
|
-
<body>
|
|
30
|
-
<div id="redoc"></div>
|
|
31
|
-
<script src="https://cdn.jsdelivr.net/npm/redoc@latest/bundles/redoc.standalone.js"> </script>
|
|
32
|
-
<script>
|
|
33
|
-
var container = document.getElementById('redoc');
|
|
34
|
-
Redoc.init("./openapi.json", {"htmlTemplate":"./openapi/index.html","theme":{"sidebar":{"textColor":"#f8f8ff","activeBgColor":"#000000","backgroundColor":"#6629bd","activeTextColor":"#f8f8ff"},"typography":{"code":{"fontFamily":"Fira Code, monospace","fontSize":"13px","backgroundColor":"rgba(38, 50, 56, 0.05)","color":"#e53935"},"headings":{"fontFamily":"Lato, sans-serif"},"fontFamily":"Lato, sans-serif"},"colors":{"primary":{"main":"#7534d0"}}}}, container)
|
|
35
|
-
</script>
|
|
36
|
-
</body>
|
|
37
|
-
</html>
|