nuki-api-js 0.0.5 → 0.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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +12 -0
- package/dist/index.cjs +1 -34
- package/dist/index.d.cts +18 -222
- package/dist/index.d.mts +18 -222
- package/dist/index.d.ts +18 -222
- package/dist/index.mjs +1 -34
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> nuki-api-js@0.0
|
|
2
|
+
> nuki-api-js@0.1.0 build /home/runner/work/openapi-clients/openapi-clients/packages/nuki-api-js
|
|
3
3
|
> unbuild
|
|
4
4
|
|
|
5
5
|
[info] Automatically detected entries: src/index [esm] [cjs] [dts]
|
|
6
6
|
[info] Building nuki-api-js
|
|
7
7
|
[info] Cleaning dist directory: `./dist`
|
|
8
8
|
[success] Build succeeded for nuki-api-js
|
|
9
|
-
[log] dist/index.cjs (total size:
|
|
9
|
+
[log] dist/index.cjs (total size: 21.9 kB, chunk size: 21.9 kB, exports: NukiApi)
|
|
10
10
|
|
|
11
|
-
[log] dist/index.mjs (total size:
|
|
11
|
+
[log] dist/index.mjs (total size: 21.9 kB, chunk size: 21.9 kB, exports: NukiApi)
|
|
12
12
|
|
|
13
|
-
Σ Total dist size (byte size):
|
|
13
|
+
Σ Total dist size (byte size): 820 kB
|
|
14
14
|
[log]
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -176,14 +176,6 @@ const deleteAccountSubResource = (variables, signal) => fetch$1({
|
|
|
176
176
|
...variables,
|
|
177
177
|
signal
|
|
178
178
|
});
|
|
179
|
-
const postAccountSubscriptionPayResource = (variables, signal) => fetch$1({
|
|
180
|
-
url: "/account/subscription/pay",
|
|
181
|
-
method: "post",
|
|
182
|
-
...variables,
|
|
183
|
-
signal
|
|
184
|
-
});
|
|
185
|
-
const postAccountSubscriptionActivateResource = (variables, signal) => fetch$1({ url: "/account/subscription/{id}/activate", method: "post", ...variables, signal });
|
|
186
|
-
const postAccountSubscriptionTerminateResource = (variables, signal) => fetch$1({ url: "/account/subscription/{id}/terminate", method: "post", ...variables, signal });
|
|
187
179
|
const getAccountUsersResource = (variables, signal) => fetch$1({ url: "/account/user", method: "get", ...variables, signal });
|
|
188
180
|
const putAccountUsersResource = (variables, signal) => fetch$1({
|
|
189
181
|
url: "/account/user",
|
|
@@ -314,12 +306,6 @@ const deleteApiKeyTokenResource = (variables, signal) => fetch$1({
|
|
|
314
306
|
signal
|
|
315
307
|
});
|
|
316
308
|
const getWebhookLogsResource = (variables, signal) => fetch$1({ url: "/api/key/{apiKeyId}/webhook/logs", method: "get", ...variables, signal });
|
|
317
|
-
const getAccountSubscriptionsResource = (variables, signal) => fetch$1({
|
|
318
|
-
url: "/app/account/subscription",
|
|
319
|
-
method: "get",
|
|
320
|
-
...variables,
|
|
321
|
-
signal
|
|
322
|
-
});
|
|
323
309
|
const postSmartlockBulkWebConfigResource = (variables, signal) => fetch$1({
|
|
324
310
|
url: "/bulk-web-config",
|
|
325
311
|
method: "post",
|
|
@@ -478,18 +464,6 @@ const postSmartlockSyncResource = (variables, signal) => fetch$1({
|
|
|
478
464
|
signal
|
|
479
465
|
});
|
|
480
466
|
const postSmartlockWebConfigResource = (variables, signal) => fetch$1({ url: "/smartlock/{smartlockId}/web/config", method: "post", ...variables, signal });
|
|
481
|
-
const getSubscriptionsResource = (variables, signal) => fetch$1({
|
|
482
|
-
url: "/subscription",
|
|
483
|
-
method: "get",
|
|
484
|
-
...variables,
|
|
485
|
-
signal
|
|
486
|
-
});
|
|
487
|
-
const getSubscriptionResource = (variables, signal) => fetch$1({
|
|
488
|
-
url: "/subscription/{subscriptionId}",
|
|
489
|
-
method: "get",
|
|
490
|
-
...variables,
|
|
491
|
-
signal
|
|
492
|
-
});
|
|
493
467
|
const operationsByTag = {
|
|
494
468
|
account: {
|
|
495
469
|
getAccountsResource,
|
|
@@ -512,12 +486,6 @@ const operationsByTag = {
|
|
|
512
486
|
postAccountSubResource,
|
|
513
487
|
deleteAccountSubResource
|
|
514
488
|
},
|
|
515
|
-
accountSubscription: {
|
|
516
|
-
postAccountSubscriptionPayResource,
|
|
517
|
-
postAccountSubscriptionActivateResource,
|
|
518
|
-
postAccountSubscriptionTerminateResource,
|
|
519
|
-
getAccountSubscriptionsResource
|
|
520
|
-
},
|
|
521
489
|
accountUser: {
|
|
522
490
|
getAccountUsersResource,
|
|
523
491
|
putAccountUsersResource,
|
|
@@ -617,8 +585,7 @@ const operationsByTag = {
|
|
|
617
585
|
postSmartlockAuthResource,
|
|
618
586
|
deleteSmartlockAuthResource
|
|
619
587
|
},
|
|
620
|
-
smartlockLog: { getSmartlocksLogsResource, getSmartlockLogsResource }
|
|
621
|
-
subscription: { getSubscriptionsResource, getSubscriptionResource }
|
|
588
|
+
smartlockLog: { getSmartlocksLogsResource, getSmartlockLogsResource }
|
|
622
589
|
};
|
|
623
590
|
|
|
624
591
|
class NukiApi {
|