@netwo/saas-sdk-v1 1.0.0 → 1.1.0
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 +9 -7
- package/fesm2022/netwo-saas-sdk-v1-openapi.zod-C8EyoRPK.mjs +3806 -0
- package/fesm2022/netwo-saas-sdk-v1-openapi.zod-C8EyoRPK.mjs.map +1 -0
- package/fesm2022/netwo-saas-sdk-v1.mjs +4 -1
- package/fesm2022/netwo-saas-sdk-v1.mjs.map +1 -1
- package/package.json +15 -5
- package/types/netwo-saas-sdk-v1.d.ts +4 -4
package/README.md
CHANGED
|
@@ -10,11 +10,17 @@ to use with the client of [`@netwo/openapi-client`](https://www.npmjs.com/packag
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
12
12
|
```sh
|
|
13
|
+
# npm
|
|
14
|
+
npm install @netwo/openapi-client @netwo/saas-sdk-v1
|
|
15
|
+
|
|
16
|
+
# pnpm
|
|
13
17
|
pnpm add @netwo/openapi-client @netwo/saas-sdk-v1
|
|
18
|
+
|
|
19
|
+
# yarn
|
|
20
|
+
yarn add @netwo/openapi-client @netwo/saas-sdk-v1
|
|
14
21
|
```
|
|
15
22
|
|
|
16
|
-
`@netwo/openapi-client` is a peer dependency
|
|
17
|
-
`ApiError`, same Angular providers, same interceptors).
|
|
23
|
+
`@netwo/openapi-client` is a peer dependency.
|
|
18
24
|
|
|
19
25
|
## With the Fetch API
|
|
20
26
|
|
|
@@ -110,8 +116,4 @@ type CartSearch = SchemaQuery<NetwoV1Schema, "get", "/api/v1/cart">; // query pa
|
|
|
110
116
|
```
|
|
111
117
|
|
|
112
118
|
See the [type helpers](https://www.npmjs.com/package/@netwo/openapi-client#7-type-helpers) for the full list
|
|
113
|
-
(`SchemaRequest`, `SchemaErrorBody`, `SchemaPathsWith`…).
|
|
114
|
-
|
|
115
|
-
```ts
|
|
116
|
-
export type NetwoV1Model = SchemaModels<NetwoV1Schema>;
|
|
117
|
-
```
|
|
119
|
+
(`SchemaRequest`, `SchemaErrorBody`, `SchemaPathsWith`…).
|