@qlik/api 1.32.0 → 1.34.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 +13 -12
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +34 -34
- package/assistants.js +257 -201
- package/audits.d.ts +10 -10
- package/audits.js +48 -36
- package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
- package/auth.d.ts +17 -4
- package/auth.js +4 -2
- package/automation-connections.d.ts +12 -12
- package/automation-connections.js +75 -59
- package/automations.d.ts +29 -29
- package/automations.js +159 -123
- package/automl-deployments.d.ts +4 -4
- package/automl-deployments.js +14 -12
- package/automl-predictions.d.ts +13 -13
- package/automl-predictions.js +56 -44
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
- package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
- package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
- package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
- package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
- package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
- package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
- package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +13 -13
- package/conditions.js +97 -75
- package/consumption.d.ts +4 -4
- package/consumption.js +11 -9
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +3 -3
- package/csrf-token.js +10 -8
- package/data-alerts.d.ts +22 -22
- package/data-alerts.js +139 -107
- package/data-assets.d.ts +8 -8
- package/data-assets.js +50 -40
- package/data-connections.d.ts +16 -16
- package/data-connections.js +87 -69
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +52 -42
- package/data-files.d.ts +18 -18
- package/data-files.js +107 -83
- package/data-qualities.d.ts +6 -6
- package/data-qualities.js +28 -22
- package/data-sets.d.ts +10 -10
- package/data-sets.js +59 -47
- package/data-sources.d.ts +7 -7
- package/data-sources.js +28 -22
- package/data-stores.d.ts +16 -16
- package/data-stores.js +92 -72
- package/dcaas.d.ts +6 -6
- package/dcaas.js +28 -22
- package/di-projects.d.ts +22 -22
- package/di-projects.js +148 -116
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +12 -12
- package/encryption.js +82 -62
- package/extensions.d.ts +11 -11
- package/extensions.js +61 -47
- package/glossaries.d.ts +33 -33
- package/glossaries.js +221 -173
- package/groups.d.ts +12 -12
- package/groups.js +72 -56
- package/identity-providers.d.ts +11 -11
- package/identity-providers.js +67 -51
- package/index.d.ts +9 -4
- package/index.js +102 -67
- package/interceptors.d.ts +9 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
- package/items.d.ts +14 -13
- package/items.js +71 -55
- package/knowledgebases.d.ts +23 -23
- package/knowledgebases.js +153 -119
- package/licenses.d.ts +16 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +238 -60
- package/ml.js +391 -286
- package/notes.d.ts +4 -4
- package/notes.js +19 -15
- package/notifications.d.ts +4 -4
- package/notifications.js +11 -9
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +5 -5
- package/oauth-tokens.js +19 -15
- package/package.json +8 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +5 -5
- package/questions.js +22 -18
- package/quotas.d.ts +6 -6
- package/quotas.js +20 -16
- package/reload-tasks.d.ts +8 -8
- package/reload-tasks.js +46 -36
- package/reloads.d.ts +7 -7
- package/reloads.js +36 -28
- package/report-templates.d.ts +10 -10
- package/report-templates.js +64 -50
- package/reports.d.ts +4 -4
- package/reports.js +20 -16
- package/roles.d.ts +8 -8
- package/roles.js +46 -36
- package/sharing-tasks.d.ts +14 -14
- package/sharing-tasks.js +89 -69
- package/spaces.d.ts +27 -23
- package/spaces.js +153 -119
- package/tasks.d.ts +17 -17
- package/tasks.js +90 -70
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +30 -24
- package/tenants.d.ts +8 -8
- package/tenants.js +57 -45
- package/themes.d.ts +11 -11
- package/themes.js +61 -47
- package/transports.d.ts +8 -8
- package/transports.js +49 -37
- package/ui-config.d.ts +9 -9
- package/ui-config.js +61 -47
- package/users.d.ts +15 -15
- package/users.js +81 -63
- package/web-integrations.d.ts +8 -8
- package/web-integrations.js +46 -36
- package/web-notifications.d.ts +9 -9
- package/web-notifications.js +53 -41
- package/webhooks.d.ts +14 -14
- package/webhooks.js +88 -68
- package/chunks/2ZQ3ZX7F.js +0 -33
- package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/notes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The possible states for the status of notes configuration GET or POST operation
|
|
@@ -51,7 +51,7 @@ type NotesUserSettings = {
|
|
|
51
51
|
*
|
|
52
52
|
* @throws GetNotesSettingsHttpError
|
|
53
53
|
*/
|
|
54
|
-
declare
|
|
54
|
+
declare function getNotesSettings(options?: ApiCallOptions): Promise<GetNotesSettingsHttpResponse>;
|
|
55
55
|
type GetNotesSettingsHttpResponse = {
|
|
56
56
|
data: NotesUserSettings;
|
|
57
57
|
headers: Headers;
|
|
@@ -68,7 +68,7 @@ type GetNotesSettingsHttpError = {
|
|
|
68
68
|
* @param body an object with the body content
|
|
69
69
|
* @throws SetNotesSettingsHttpError
|
|
70
70
|
*/
|
|
71
|
-
declare
|
|
71
|
+
declare function setNotesSettings(body: NoteSettingsPutPayload, options?: ApiCallOptions): Promise<SetNotesSettingsHttpResponse>;
|
|
72
72
|
type SetNotesSettingsHttpResponse = {
|
|
73
73
|
data: NoteSettingsPutResponse;
|
|
74
74
|
headers: Headers;
|
package/notes.js
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/notes.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
async function getNotesSettings(options) {
|
|
10
|
+
return invokeFetch("notes", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/notes/settings",
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function setNotesSettings(body, options) {
|
|
17
|
+
return invokeFetch("notes", {
|
|
18
|
+
method: "put",
|
|
19
|
+
pathTemplate: "/api/v1/notes/settings",
|
|
20
|
+
body,
|
|
21
|
+
contentType: "application/json",
|
|
22
|
+
options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
21
25
|
function clearCache() {
|
|
22
26
|
return clearApiCache("notes");
|
|
23
27
|
}
|
package/notifications.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An error object.
|
|
@@ -55,14 +55,14 @@ type NotificationsObject = {
|
|
|
55
55
|
* @param query an object with query parameters
|
|
56
56
|
* @throws GetNotificationsHttpError
|
|
57
57
|
*/
|
|
58
|
-
declare
|
|
58
|
+
declare function getNotifications(query: {
|
|
59
59
|
/** If present, idenfies the language of the returned 'friendlyName' property. */
|
|
60
60
|
locale?: string;
|
|
61
61
|
/** If present, represents the 'manageableInHub' value to filter by. */
|
|
62
62
|
manageableInHub?: true | false;
|
|
63
63
|
/** If present, represents the 'subscribable' value to filter by. */
|
|
64
64
|
subscribable?: true | false;
|
|
65
|
-
}, options?: ApiCallOptions)
|
|
65
|
+
}, options?: ApiCallOptions): Promise<GetNotificationsHttpResponse>;
|
|
66
66
|
type GetNotificationsHttpResponse = {
|
|
67
67
|
data: NotificationsObject;
|
|
68
68
|
headers: Headers;
|
package/notifications.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/notifications.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
async function getNotifications(query, options) {
|
|
10
|
+
return invokeFetch("notifications", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/notifications",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
15
17
|
function clearCache() {
|
|
16
18
|
return clearApiCache("notifications");
|
|
17
19
|
}
|
package/oauth-clients.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Hints of any client application secrets
|
|
@@ -219,7 +219,7 @@ type OAuthConnectionConfigUpdate = {
|
|
|
219
219
|
* @param query an object with query parameters
|
|
220
220
|
* @throws GetOAuthClientsHttpError
|
|
221
221
|
*/
|
|
222
|
-
declare
|
|
222
|
+
declare function getOAuthClients(query: {
|
|
223
223
|
/** The filter query that should be used to filter the list of oauth clients. The filter syntax is defined in RFC 7644. Valid attributes for filtering are `clientId`, `clientName`, `appType`, and `tenantId`. */
|
|
224
224
|
filter?: string;
|
|
225
225
|
/** The number of OAuth client entries to retrieve. */
|
|
@@ -232,7 +232,7 @@ declare const getOAuthClients: (query: {
|
|
|
232
232
|
sort?: string;
|
|
233
233
|
/** Boolean query parameter that determines if the total count of results should be included in the response. If true, the response includes the total number of results in the `totalResults` field. If false or not included in the query, `totalResults` will be excluded from the response. */
|
|
234
234
|
totalResults?: boolean;
|
|
235
|
-
}, options?: ApiCallOptions)
|
|
235
|
+
}, options?: ApiCallOptions): Promise<GetOAuthClientsHttpResponse>;
|
|
236
236
|
type GetOAuthClientsHttpResponse = {
|
|
237
237
|
data: OAuthClientAdminListResponse | OAuthClientListResponse;
|
|
238
238
|
headers: Headers;
|
|
@@ -249,7 +249,7 @@ type GetOAuthClientsHttpError = {
|
|
|
249
249
|
* @param body an object with the body content
|
|
250
250
|
* @throws CreateOAuthClientHttpError
|
|
251
251
|
*/
|
|
252
|
-
declare
|
|
252
|
+
declare function createOAuthClient(body: OAuthClientCreateRequest, options?: ApiCallOptions): Promise<CreateOAuthClientHttpResponse>;
|
|
253
253
|
type CreateOAuthClientHttpResponse = {
|
|
254
254
|
data: OAuthClientCreateResponse;
|
|
255
255
|
headers: Headers;
|
|
@@ -266,7 +266,7 @@ type CreateOAuthClientHttpError = {
|
|
|
266
266
|
* @param id The unique identifier for the OAuth client
|
|
267
267
|
* @throws DeleteOAuthClientHttpError
|
|
268
268
|
*/
|
|
269
|
-
declare
|
|
269
|
+
declare function deleteOAuthClient(id: string, options?: ApiCallOptions): Promise<DeleteOAuthClientHttpResponse>;
|
|
270
270
|
type DeleteOAuthClientHttpResponse = {
|
|
271
271
|
data: void;
|
|
272
272
|
headers: Headers;
|
|
@@ -283,7 +283,7 @@ type DeleteOAuthClientHttpError = {
|
|
|
283
283
|
* @param id The unique identifier for the OAuth client
|
|
284
284
|
* @throws GetOAuthClientHttpError
|
|
285
285
|
*/
|
|
286
|
-
declare
|
|
286
|
+
declare function getOAuthClient(id: string, options?: ApiCallOptions): Promise<GetOAuthClientHttpResponse>;
|
|
287
287
|
type GetOAuthClientHttpResponse = {
|
|
288
288
|
data: OAuthClientAdminReadResponse | OAuthClientReadResponse;
|
|
289
289
|
headers: Headers;
|
|
@@ -301,7 +301,7 @@ type GetOAuthClientHttpError = {
|
|
|
301
301
|
* @param body an object with the body content
|
|
302
302
|
* @throws PatchOAuthClientHttpError
|
|
303
303
|
*/
|
|
304
|
-
declare
|
|
304
|
+
declare function patchOAuthClient(id: string, body: OAuthClientUpdate[], options?: ApiCallOptions): Promise<PatchOAuthClientHttpResponse>;
|
|
305
305
|
type PatchOAuthClientHttpResponse = {
|
|
306
306
|
data: void;
|
|
307
307
|
headers: Headers;
|
|
@@ -318,7 +318,7 @@ type PatchOAuthClientHttpError = {
|
|
|
318
318
|
* @param id The unique identifier for the OAuth client
|
|
319
319
|
* @throws PublishOAuthClientHttpError
|
|
320
320
|
*/
|
|
321
|
-
declare
|
|
321
|
+
declare function publishOAuthClient(id: string, options?: ApiCallOptions): Promise<PublishOAuthClientHttpResponse>;
|
|
322
322
|
type PublishOAuthClientHttpResponse = {
|
|
323
323
|
data: OAuthClientPublishResponse;
|
|
324
324
|
headers: Headers;
|
|
@@ -335,7 +335,7 @@ type PublishOAuthClientHttpError = {
|
|
|
335
335
|
* @param id The unique identifier for the OAuth client
|
|
336
336
|
* @throws CreateOAuthClientSecretHttpError
|
|
337
337
|
*/
|
|
338
|
-
declare
|
|
338
|
+
declare function createOAuthClientSecret(id: string, options?: ApiCallOptions): Promise<CreateOAuthClientSecretHttpResponse>;
|
|
339
339
|
type CreateOAuthClientSecretHttpResponse = {
|
|
340
340
|
data: OAuthClientSecretResponse;
|
|
341
341
|
headers: Headers;
|
|
@@ -353,7 +353,7 @@ type CreateOAuthClientSecretHttpError = {
|
|
|
353
353
|
* @param hint The unique identifier for the OAuth secret
|
|
354
354
|
* @throws DeleteOAuthClientSecretHttpError
|
|
355
355
|
*/
|
|
356
|
-
declare
|
|
356
|
+
declare function deleteOAuthClientSecret(id: string, hint: string, options?: ApiCallOptions): Promise<DeleteOAuthClientSecretHttpResponse>;
|
|
357
357
|
type DeleteOAuthClientSecretHttpResponse = {
|
|
358
358
|
data: void;
|
|
359
359
|
headers: Headers;
|
|
@@ -370,7 +370,7 @@ type DeleteOAuthClientSecretHttpError = {
|
|
|
370
370
|
* @param id The unique identifier for the OAuth client
|
|
371
371
|
* @throws DeleteOAuthClientConnectionConfigHttpError
|
|
372
372
|
*/
|
|
373
|
-
declare
|
|
373
|
+
declare function deleteOAuthClientConnectionConfig(id: string, options?: ApiCallOptions): Promise<DeleteOAuthClientConnectionConfigHttpResponse>;
|
|
374
374
|
type DeleteOAuthClientConnectionConfigHttpResponse = {
|
|
375
375
|
data: void;
|
|
376
376
|
headers: Headers;
|
|
@@ -387,7 +387,7 @@ type DeleteOAuthClientConnectionConfigHttpError = {
|
|
|
387
387
|
* @param id The unique identifier for an OAuth client
|
|
388
388
|
* @throws GetOAuthClientConnectionConfigHttpError
|
|
389
389
|
*/
|
|
390
|
-
declare
|
|
390
|
+
declare function getOAuthClientConnectionConfig(id: string, options?: ApiCallOptions): Promise<GetOAuthClientConnectionConfigHttpResponse>;
|
|
391
391
|
type GetOAuthClientConnectionConfigHttpResponse = {
|
|
392
392
|
data: ConnectionConfigReadResponse;
|
|
393
393
|
headers: Headers;
|
|
@@ -405,7 +405,7 @@ type GetOAuthClientConnectionConfigHttpError = {
|
|
|
405
405
|
* @param body an object with the body content
|
|
406
406
|
* @throws PatchOAuthClientConnectionConfigHttpError
|
|
407
407
|
*/
|
|
408
|
-
declare
|
|
408
|
+
declare function patchOAuthClientConnectionConfig(id: string, body: OAuthConnectionConfigUpdate[], options?: ApiCallOptions): Promise<PatchOAuthClientConnectionConfigHttpResponse>;
|
|
409
409
|
type PatchOAuthClientConnectionConfigHttpResponse = {
|
|
410
410
|
data: void;
|
|
411
411
|
headers: Headers;
|
package/oauth-clients.js
CHANGED
|
@@ -1,82 +1,104 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/oauth-clients.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
9
|
+
async function getOAuthClients(query, options) {
|
|
10
|
+
return invokeFetch("oauth-clients", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/oauth-clients",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createOAuthClient(body, options) {
|
|
18
|
+
return invokeFetch("oauth-clients", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/oauth-clients",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function deleteOAuthClient(id, options) {
|
|
27
|
+
return invokeFetch("oauth-clients", {
|
|
28
|
+
method: "delete",
|
|
29
|
+
pathTemplate: "/api/v1/oauth-clients/{id}",
|
|
30
|
+
pathVariables: { id },
|
|
31
|
+
options
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
async function getOAuthClient(id, options) {
|
|
35
|
+
return invokeFetch("oauth-clients", {
|
|
36
|
+
method: "get",
|
|
37
|
+
pathTemplate: "/api/v1/oauth-clients/{id}",
|
|
38
|
+
pathVariables: { id },
|
|
39
|
+
options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async function patchOAuthClient(id, body, options) {
|
|
43
|
+
return invokeFetch("oauth-clients", {
|
|
44
|
+
method: "patch",
|
|
45
|
+
pathTemplate: "/api/v1/oauth-clients/{id}",
|
|
46
|
+
pathVariables: { id },
|
|
47
|
+
body,
|
|
48
|
+
contentType: "application/json",
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function publishOAuthClient(id, options) {
|
|
53
|
+
return invokeFetch("oauth-clients", {
|
|
54
|
+
method: "post",
|
|
55
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/actions/publish",
|
|
56
|
+
pathVariables: { id },
|
|
57
|
+
options
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
async function createOAuthClientSecret(id, options) {
|
|
61
|
+
return invokeFetch("oauth-clients", {
|
|
62
|
+
method: "post",
|
|
63
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/client-secrets",
|
|
64
|
+
pathVariables: { id },
|
|
65
|
+
options
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
async function deleteOAuthClientSecret(id, hint, options) {
|
|
69
|
+
return invokeFetch("oauth-clients", {
|
|
70
|
+
method: "delete",
|
|
71
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/client-secrets/{hint}",
|
|
72
|
+
pathVariables: { id, hint },
|
|
73
|
+
options
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
async function deleteOAuthClientConnectionConfig(id, options) {
|
|
77
|
+
return invokeFetch("oauth-clients", {
|
|
78
|
+
method: "delete",
|
|
79
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
|
|
80
|
+
pathVariables: { id },
|
|
81
|
+
options
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
async function getOAuthClientConnectionConfig(id, options) {
|
|
85
|
+
return invokeFetch("oauth-clients", {
|
|
86
|
+
method: "get",
|
|
87
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
|
|
88
|
+
pathVariables: { id },
|
|
89
|
+
options
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
async function patchOAuthClientConnectionConfig(id, body, options) {
|
|
93
|
+
return invokeFetch("oauth-clients", {
|
|
94
|
+
method: "patch",
|
|
95
|
+
pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
|
|
96
|
+
pathVariables: { id },
|
|
97
|
+
body,
|
|
98
|
+
contentType: "application/json",
|
|
99
|
+
options
|
|
100
|
+
});
|
|
101
|
+
}
|
|
80
102
|
function clearCache() {
|
|
81
103
|
return clearApiCache("oauth-clients");
|
|
82
104
|
}
|
package/oauth-tokens.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An error object.
|
|
@@ -55,7 +55,7 @@ type OauthTokenPage = {
|
|
|
55
55
|
* @param query an object with query parameters
|
|
56
56
|
* @throws GetOauthTokensHttpError
|
|
57
57
|
*/
|
|
58
|
-
declare
|
|
58
|
+
declare function getOauthTokens(query: {
|
|
59
59
|
/** The maximum number of tokens to return. */
|
|
60
60
|
limit?: number;
|
|
61
61
|
/** The target page. */
|
|
@@ -64,7 +64,7 @@ declare const getOauthTokens: (query: {
|
|
|
64
64
|
sort?: "userId";
|
|
65
65
|
/** The ID of the user to limit results to. */
|
|
66
66
|
userId?: string;
|
|
67
|
-
}, options?: ApiCallOptions)
|
|
67
|
+
}, options?: ApiCallOptions): Promise<GetOauthTokensHttpResponse>;
|
|
68
68
|
type GetOauthTokensHttpResponse = {
|
|
69
69
|
data: OauthTokenPage;
|
|
70
70
|
headers: Headers;
|
|
@@ -83,7 +83,7 @@ type GetOauthTokensHttpError = {
|
|
|
83
83
|
* @param tokenId The ID of the token to revoke.
|
|
84
84
|
* @throws DeleteOauthTokenHttpError
|
|
85
85
|
*/
|
|
86
|
-
declare
|
|
86
|
+
declare function deleteOauthToken(tokenId: string, options?: ApiCallOptions): Promise<DeleteOauthTokenHttpResponse>;
|
|
87
87
|
type DeleteOauthTokenHttpResponse = {
|
|
88
88
|
data: void;
|
|
89
89
|
headers: Headers;
|
package/oauth-tokens.js
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/oauth-tokens.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
9
|
+
async function getOauthTokens(query, options) {
|
|
10
|
+
return invokeFetch("oauth-tokens", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/oauth-tokens",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function deleteOauthToken(tokenId, options) {
|
|
18
|
+
return invokeFetch("oauth-tokens", {
|
|
19
|
+
method: "delete",
|
|
20
|
+
pathTemplate: "/api/v1/oauth-tokens/{tokenId}",
|
|
21
|
+
pathVariables: { tokenId },
|
|
22
|
+
options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
21
25
|
function clearCache() {
|
|
22
26
|
return clearApiCache("oauth-tokens");
|
|
23
27
|
}
|
package/package.json
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"enigma.js": "^2.14.0",
|
|
15
15
|
"extend": "3.0.2",
|
|
16
16
|
"lodash": "^4.17.21",
|
|
17
|
-
"nanoid": "^5.
|
|
18
|
-
"ws": "^8.18.
|
|
17
|
+
"nanoid": "^5.1.5",
|
|
18
|
+
"ws": "^8.18.2"
|
|
19
19
|
},
|
|
20
|
-
"packageManager": "pnpm@10.
|
|
20
|
+
"packageManager": "pnpm@10.12.1",
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=20"
|
|
23
23
|
},
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"./data-stores": "./data-stores.js",
|
|
49
49
|
"./dcaas": "./dcaas.js",
|
|
50
50
|
"./di-projects": "./di-projects.js",
|
|
51
|
+
"./direct-access-agents": "./direct-access-agents.js",
|
|
51
52
|
"./encryption": "./encryption.js",
|
|
52
53
|
"./extensions": "./extensions.js",
|
|
53
54
|
"./glossaries": "./glossaries.js",
|
|
@@ -81,8 +82,9 @@
|
|
|
81
82
|
"./web-integrations": "./web-integrations.js",
|
|
82
83
|
"./web-notifications": "./web-notifications.js",
|
|
83
84
|
"./webhooks": "./webhooks.js",
|
|
84
|
-
"./
|
|
85
|
-
"./
|
|
85
|
+
"./auth": "./auth.js",
|
|
86
|
+
"./interceptors": "./interceptors.js",
|
|
87
|
+
"./qix": "./qix.js"
|
|
86
88
|
},
|
|
87
|
-
"version": "1.
|
|
89
|
+
"version": "1.34.0"
|
|
88
90
|
}
|