nuki-api-js 0.0.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/.turbo/turbo-build.log +15 -0
- package/.turbo/turbo-generate.log +6 -0
- package/README.md +13 -0
- package/dist/index.cjs +668 -0
- package/dist/index.d.cts +5850 -0
- package/dist/index.d.mts +5850 -0
- package/dist/index.d.ts +5850 -0
- package/dist/index.mjs +666 -0
- package/package.json +37 -0
- package/tsconfig.json +19 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> zoom-api-js@0.1.3 build /Users/sfera/Workspace/xata/extra/openapi-clients/packages/zoom-api-js
|
|
4
|
+
> unbuild
|
|
5
|
+
|
|
6
|
+
[36mℹ[39m Automatically detected entries: [36m[1msrc/index[22m[39m [90m[esm] [cjs] [dts][39m [90m8:04:11 AM[39m
|
|
7
|
+
[36mℹ[39m [36mBuilding zoom-api-js[39m [90m8:04:11 AM[39m
|
|
8
|
+
[36mℹ[39m Cleaning dist directory: [36m./dist[39m [90m8:04:11 AM[39m
|
|
9
|
+
[32m✔[39m [32mBuild succeeded for zoom-api-js[39m [90m8:04:14 AM[39m
|
|
10
|
+
[1mdist/index.cjs[22m (total size: [36m3.21 kB[39m, chunk size: [36m3.21 kB[39m, exports: [90mZoomApi[39m) [90m8:04:14 AM[39m
|
|
11
|
+
|
|
12
|
+
[1mdist/index.mjs[22m (total size: [36m3.19 kB[39m, chunk size: [36m3.19 kB[39m, exports: [90mZoomApi[39m) [90m8:04:14 AM[39m
|
|
13
|
+
|
|
14
|
+
Σ Total dist size (byte size): [36m3.35 MB[39m
|
|
15
|
+
[90m8:04:14 AM[39m
|
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Nuki API JavaScript SDK
|
|
2
|
+
|
|
3
|
+
Unofficial Nuki API JavaScript SDK built from the OpenAPI specification and with TypeScript types.
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
const nuki = new NukiApi({ token: 'token' });
|
|
7
|
+
|
|
8
|
+
// Direct methods
|
|
9
|
+
const { accountId, name } = await nuki.request('GET /account', {});
|
|
10
|
+
|
|
11
|
+
// Namespaced methods
|
|
12
|
+
await nuki.api.smartlock.postSmartlockLockActionResource({ pathParams: { smartlockId: 'smartlockId' } });
|
|
13
|
+
```
|