@addresszen/openapi 4.0.1 → 4.0.3
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/LICENSE +1 -21
- package/README.md +14 -28
- package/dist/openapi.json +1 -1
- package/dist/openapi.yaml +1 -1
- package/package.json +14 -5
package/LICENSE
CHANGED
|
@@ -1,21 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019 IDDQD Limited
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
Copyright (C) IDDQD Limited - All Rights Reserved
|
package/README.md
CHANGED
|
@@ -1,46 +1,32 @@
|
|
|
1
1
|
# AddressZen OpenAPI
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Features
|
|
6
|
-
|
|
7
|
-
- OpenAPI v3 specification for api.addresszen.com
|
|
8
|
-
- Exports API Typings
|
|
3
|
+
OpenAPI v3 specification for `api.addresszen.com` and the TypeScript types generated from it.
|
|
9
4
|
|
|
10
5
|
## Links
|
|
11
6
|
|
|
12
|
-
- [Github Repository](https://github.com/addresszen/openapi)
|
|
13
7
|
- [API Reference](https://openapi.addresszen.com)
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
- [
|
|
17
|
-
|
|
18
|
-
## Getting Started
|
|
8
|
+
- [openapi.json](https://openapi.addresszen.com/openapi.json) / [openapi.yaml](https://openapi.addresszen.com/openapi.yaml)
|
|
9
|
+
- [npm: @addresszen/openapi](https://www.npmjs.com/package/@addresszen/openapi)
|
|
10
|
+
- [Documentation](https://docs.addresszen.com)
|
|
19
11
|
|
|
20
|
-
|
|
12
|
+
## Install
|
|
21
13
|
|
|
22
|
-
```
|
|
23
|
-
|
|
14
|
+
```bash
|
|
15
|
+
npm install @addresszen/openapi
|
|
24
16
|
```
|
|
25
17
|
|
|
26
|
-
|
|
18
|
+
Types are exported from the package root. The raw specs are at `node_modules/@addresszen/openapi/dist/openapi.json` and `dist/openapi.yaml`.
|
|
27
19
|
|
|
20
|
+
```ts
|
|
21
|
+
import type { paths, components } from "@addresszen/openapi";
|
|
28
22
|
```
|
|
29
|
-
pnpm test
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
### Download and Access via npm
|
|
33
|
-
|
|
34
|
-
#### Install
|
|
35
23
|
|
|
36
|
-
|
|
37
|
-
npm install --save @addresszen/openapi
|
|
38
|
-
```
|
|
24
|
+
## This repository
|
|
39
25
|
|
|
40
|
-
|
|
26
|
+
A read-only release mirror. Each tag matches the npm version and contains the spec (`openapi.json` and `openapi.yaml` at the repository root), the generated types, the deprecated type aliases and the changelog for that release. The spec is generated from the API source and updated here on each release, so pull requests against the spec files cannot be merged directly: open an issue or a PR and a maintainer will apply the change upstream and re-release.
|
|
41
27
|
|
|
42
|
-
|
|
28
|
+
For anything involving your account, keys or sensitive data, email support@addresszen.com rather than opening an issue.
|
|
43
29
|
|
|
44
30
|
## License
|
|
45
31
|
|
|
46
|
-
|
|
32
|
+
SEE LICENSE IN LICENSE
|
package/dist/openapi.json
CHANGED
package/dist/openapi.yaml
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@addresszen/openapi",
|
|
3
3
|
"description": "AddressZen OpenAPI v3 specifications",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/
|
|
13
|
-
"require": "./dist/
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
15
|
"./dist/openapi.json": "./dist/openapi.json",
|
|
16
16
|
"./dist/openapi.yaml": "./dist/openapi.yaml",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@atlas/tsconfig-base": "0.0.0",
|
|
21
21
|
"@atlas/tsup-config": "0.0.0",
|
|
22
|
-
"@redocly/cli": "~2.
|
|
22
|
+
"@redocly/cli": "~2.53.2",
|
|
23
23
|
"@stoplight/prism-cli": "~5.0.0",
|
|
24
24
|
"ts7": "npm:typescript@~7.0.2",
|
|
25
25
|
"tsup": "~8.5.1",
|
|
@@ -31,7 +31,16 @@
|
|
|
31
31
|
"email": "support@addresszen.com",
|
|
32
32
|
"url": "https://addresszen.com"
|
|
33
33
|
},
|
|
34
|
-
"license": "
|
|
34
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
35
|
+
"homepage": "https://openapi.addresszen.com",
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "https://github.com/addresszen/openapi.git"
|
|
39
|
+
},
|
|
40
|
+
"bugs": {
|
|
41
|
+
"url": "https://github.com/addresszen/openapi/issues",
|
|
42
|
+
"email": "support@addresszen.com"
|
|
43
|
+
},
|
|
35
44
|
"publishConfig": {
|
|
36
45
|
"access": "public"
|
|
37
46
|
},
|