@addresszen/openapi 4.0.2 → 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 CHANGED
@@ -1,21 +1 @@
1
- The MIT License (MIT)
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
- > AddressZen OpenAPI (v3) Specification (api.addresszen.com)
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
- - OpenAPI v3 Raw Files: [JSON](https://openapi.addresszen.com/openapi.json)
15
- - OpenAPI v3 Raw Files: [YAML](https://openapi.addresszen.com/openapi.yaml)
16
- - [NPM Package](https://www.npmjs.com/package/@addresszen/openapi)
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
- ### Build Typings
12
+ ## Install
21
13
 
22
- ```
23
- pnpm build
14
+ ```bash
15
+ npm install @addresszen/openapi
24
16
  ```
25
17
 
26
- ### Validate Spec
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
- ```bash
37
- npm install --save @addresszen/openapi
38
- ```
24
+ ## This repository
39
25
 
40
- #### Require specs
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
- JSON and YAML specs can be accessed at `node_modules/@addresszen/openapi/dist/openapi.[json|yaml]`
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
- Copyright IDDQD Limited
32
+ SEE LICENSE IN LICENSE
package/dist/openapi.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "4.0.2",
4
+ "version": "4.0.3",
5
5
  "license": {
6
6
  "name": "Copyright (C) IDDQD Limited - All Rights Reserved",
7
7
  "url": "https://terms.addresszen.com"
package/dist/openapi.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
- version: 4.0.2
3
+ version: 4.0.3
4
4
  license:
5
5
  name: Copyright (C) IDDQD Limited - All Rights Reserved
6
6
  url: https://terms.addresszen.com
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.2",
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/openapi.mjs",
13
- "require": "./dist/openapi.cjs"
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",
@@ -31,7 +31,16 @@
31
31
  "email": "support@addresszen.com",
32
32
  "url": "https://addresszen.com"
33
33
  },
34
- "license": "Copyright IDDQD Limited",
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
  },