@qlik/api 1.29.0 → 1.31.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/api-keys.d.ts +2 -2
- package/api-keys.js +2 -2
- package/apps.d.ts +5 -13
- package/apps.js +2 -2
- package/audits.d.ts +2 -2
- package/audits.js +2 -2
- package/{auth-types-PkN9CAF_.d.ts → auth-types-DqfMuSRX.d.ts} +1 -0
- package/auth.d.ts +27 -3
- package/auth.js +8 -4
- package/automations.d.ts +38 -38
- package/automations.js +2 -2
- package/brands.d.ts +2 -2
- package/brands.js +2 -2
- package/chunks/{2BRBIRM2.js → 6ZONDHRN.js} +1 -1
- package/chunks/{2B7YWDQC.js → DLKLPD7T.js} +3 -3
- package/chunks/ETNHFALU.js +61 -0
- package/chunks/{NBW6PHZU.js → FKDGGR2O.js} +158 -45
- package/chunks/{KYCIMQ4L.js → GUU3KZGK.js} +11 -1
- package/chunks/{5XNSGPGZ.js → KBSD75QL.js} +1 -1
- package/chunks/{4D5NADHK.js → LY7RP2HA.js} +7 -3
- package/chunks/{QOOCP2TS.js → M64RLKVG.js} +2074 -12
- package/chunks/{5MRIMVKS.js → PLVPW5IR.js} +17 -20
- package/chunks/{MGXEGSJC.js → UZTIZ4H5.js} +392 -372
- package/chunks/{WQYEWU54.js → YKZ2QYHN.js} +2 -2
- package/collections.d.ts +3 -3
- package/collections.js +2 -2
- package/csp-origins.d.ts +2 -2
- package/csp-origins.js +2 -2
- package/data-assets.d.ts +2 -2
- package/data-assets.js +2 -2
- package/data-connections.d.ts +8 -8
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +2 -2
- package/data-credentials.js +2 -2
- package/data-files.d.ts +2 -2
- package/data-files.js +2 -2
- package/docs/authentication.md +47 -0
- package/extensions.d.ts +2 -2
- package/extensions.js +2 -2
- package/glossaries.d.ts +22 -15
- package/glossaries.js +2 -2
- package/groups.d.ts +5 -4
- package/groups.js +2 -2
- package/identity-providers.d.ts +2 -2
- package/identity-providers.js +2 -2
- package/index.d.ts +10 -4
- package/index.js +29 -4
- package/interceptors.d.ts +2 -2
- package/{invoke-fetch-types-BXn-uSF5.d.ts → invoke-fetch-types-Cq7bjkqn.d.ts} +10 -2
- package/items.d.ts +3 -3
- package/items.js +2 -2
- package/licenses.d.ts +5 -2
- package/licenses.js +2 -2
- package/oauth-clients.d.ts +521 -0
- package/oauth-clients.js +112 -0
- package/package.json +4 -2
- package/qix.d.ts +422 -27
- package/qix.js +2 -2
- package/quotas.d.ts +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +4 -2
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +6 -2
- package/reloads.js +2 -2
- package/reports.d.ts +4 -2
- package/reports.js +2 -2
- package/roles.d.ts +14 -4
- package/roles.js +2 -2
- package/spaces.d.ts +3 -7
- package/spaces.js +2 -2
- package/temp-contents.d.ts +2 -2
- package/temp-contents.js +2 -2
- package/tenants.d.ts +2 -2
- package/tenants.js +2 -2
- package/themes.d.ts +2 -2
- package/themes.js +2 -2
- package/transports.d.ts +2 -2
- package/transports.js +2 -2
- package/users.d.ts +2 -2
- package/users.js +2 -2
- package/web-integrations.d.ts +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.d.ts +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +2 -2
package/oauth-clients.js
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/YKZ2QYHN.js";
|
|
5
|
+
import "./chunks/DLKLPD7T.js";
|
|
6
|
+
import "./chunks/2ZQ3ZX7F.js";
|
|
7
|
+
|
|
8
|
+
// src/public/rest/oauth-clients.ts
|
|
9
|
+
var getOAuthClients = async (query, options) => invokeFetch("oauth-clients", {
|
|
10
|
+
method: "get",
|
|
11
|
+
pathTemplate: "/api/v1/oauth-clients",
|
|
12
|
+
query,
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
var createOAuthClient = async (body, options) => invokeFetch("oauth-clients", {
|
|
16
|
+
method: "post",
|
|
17
|
+
pathTemplate: "/api/v1/oauth-clients",
|
|
18
|
+
body,
|
|
19
|
+
contentType: "application/json",
|
|
20
|
+
options
|
|
21
|
+
});
|
|
22
|
+
var deleteOAuthClient = async (id, options) => invokeFetch("oauth-clients", {
|
|
23
|
+
method: "delete",
|
|
24
|
+
pathTemplate: "/api/v1/oauth-clients/{id}",
|
|
25
|
+
pathVariables: { id },
|
|
26
|
+
options
|
|
27
|
+
});
|
|
28
|
+
var getOAuthClient = async (id, options) => invokeFetch("oauth-clients", {
|
|
29
|
+
method: "get",
|
|
30
|
+
pathTemplate: "/api/v1/oauth-clients/{id}",
|
|
31
|
+
pathVariables: { id },
|
|
32
|
+
options
|
|
33
|
+
});
|
|
34
|
+
var patchOAuthClient = async (id, body, options) => invokeFetch("oauth-clients", {
|
|
35
|
+
method: "patch",
|
|
36
|
+
pathTemplate: "/api/v1/oauth-clients/{id}",
|
|
37
|
+
pathVariables: { id },
|
|
38
|
+
body,
|
|
39
|
+
contentType: "application/json",
|
|
40
|
+
options
|
|
41
|
+
});
|
|
42
|
+
var publishOAuthClient = async (id, options) => invokeFetch("oauth-clients", {
|
|
43
|
+
method: "post",
|
|
44
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/actions/publish",
|
|
45
|
+
pathVariables: { id },
|
|
46
|
+
options
|
|
47
|
+
});
|
|
48
|
+
var createOAuthClientSecret = async (id, options) => invokeFetch("oauth-clients", {
|
|
49
|
+
method: "post",
|
|
50
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/client-secrets",
|
|
51
|
+
pathVariables: { id },
|
|
52
|
+
options
|
|
53
|
+
});
|
|
54
|
+
var deleteOAuthClientSecret = async (id, hint, options) => invokeFetch("oauth-clients", {
|
|
55
|
+
method: "delete",
|
|
56
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/client-secrets/{hint}",
|
|
57
|
+
pathVariables: { id, hint },
|
|
58
|
+
options
|
|
59
|
+
});
|
|
60
|
+
var deleteOAuthClientConnectionConfig = async (id, options) => invokeFetch("oauth-clients", {
|
|
61
|
+
method: "delete",
|
|
62
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
|
|
63
|
+
pathVariables: { id },
|
|
64
|
+
options
|
|
65
|
+
});
|
|
66
|
+
var getOAuthClientConnectionConfig = async (id, options) => invokeFetch("oauth-clients", {
|
|
67
|
+
method: "get",
|
|
68
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
|
|
69
|
+
pathVariables: { id },
|
|
70
|
+
options
|
|
71
|
+
});
|
|
72
|
+
var patchOAuthClientConnectionConfig = async (id, body, options) => invokeFetch("oauth-clients", {
|
|
73
|
+
method: "patch",
|
|
74
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
|
|
75
|
+
pathVariables: { id },
|
|
76
|
+
body,
|
|
77
|
+
contentType: "application/json",
|
|
78
|
+
options
|
|
79
|
+
});
|
|
80
|
+
function clearCache() {
|
|
81
|
+
return clearApiCache("oauth-clients");
|
|
82
|
+
}
|
|
83
|
+
var oauthClientsExport = {
|
|
84
|
+
getOAuthClients,
|
|
85
|
+
createOAuthClient,
|
|
86
|
+
deleteOAuthClient,
|
|
87
|
+
getOAuthClient,
|
|
88
|
+
patchOAuthClient,
|
|
89
|
+
publishOAuthClient,
|
|
90
|
+
createOAuthClientSecret,
|
|
91
|
+
deleteOAuthClientSecret,
|
|
92
|
+
deleteOAuthClientConnectionConfig,
|
|
93
|
+
getOAuthClientConnectionConfig,
|
|
94
|
+
patchOAuthClientConnectionConfig,
|
|
95
|
+
clearCache
|
|
96
|
+
};
|
|
97
|
+
var oauth_clients_default = oauthClientsExport;
|
|
98
|
+
export {
|
|
99
|
+
clearCache,
|
|
100
|
+
createOAuthClient,
|
|
101
|
+
createOAuthClientSecret,
|
|
102
|
+
oauth_clients_default as default,
|
|
103
|
+
deleteOAuthClient,
|
|
104
|
+
deleteOAuthClientConnectionConfig,
|
|
105
|
+
deleteOAuthClientSecret,
|
|
106
|
+
getOAuthClient,
|
|
107
|
+
getOAuthClientConnectionConfig,
|
|
108
|
+
getOAuthClients,
|
|
109
|
+
patchOAuthClient,
|
|
110
|
+
patchOAuthClientConnectionConfig,
|
|
111
|
+
publishOAuthClient
|
|
112
|
+
};
|
package/package.json
CHANGED
|
@@ -12,11 +12,12 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"enigma.js": "^2.14.0",
|
|
15
|
+
"extend": "3.0.2",
|
|
15
16
|
"lodash": "^4.17.21",
|
|
16
17
|
"nanoid": "^5.0.9",
|
|
17
18
|
"ws": "^8.18.1"
|
|
18
19
|
},
|
|
19
|
-
"packageManager": "pnpm@10.
|
|
20
|
+
"packageManager": "pnpm@10.8.1",
|
|
20
21
|
"engines": {
|
|
21
22
|
"node": ">=20"
|
|
22
23
|
},
|
|
@@ -39,6 +40,7 @@
|
|
|
39
40
|
"./identity-providers": "./identity-providers.js",
|
|
40
41
|
"./items": "./items.js",
|
|
41
42
|
"./licenses": "./licenses.js",
|
|
43
|
+
"./oauth-clients": "./oauth-clients.js",
|
|
42
44
|
"./quotas": "./quotas.js",
|
|
43
45
|
"./reload-tasks": "./reload-tasks.js",
|
|
44
46
|
"./reloads": "./reloads.js",
|
|
@@ -56,5 +58,5 @@
|
|
|
56
58
|
"./qix": "./qix.js",
|
|
57
59
|
"./auth": "./auth.js"
|
|
58
60
|
},
|
|
59
|
-
"version": "1.
|
|
61
|
+
"version": "1.31.0"
|
|
60
62
|
}
|