@qlik/api 0.0.2 → 0.0.3
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.mts +14 -0
- package/api-keys.d.ts +14 -0
- package/api-keys.js +14 -10
- package/api-keys.mjs +6 -2
- package/apps.d.mts +478 -148
- package/apps.d.ts +478 -148
- package/apps.js +100 -42
- package/apps.mjs +60 -2
- package/audits.d.mts +12 -0
- package/audits.d.ts +12 -0
- package/audits.js +10 -9
- package/audits.mjs +3 -2
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +36 -0
- package/automations.d.ts +36 -0
- package/automations.js +28 -21
- package/automations.mjs +9 -2
- package/brands.d.mts +45 -4
- package/brands.d.ts +45 -4
- package/brands.js +20 -15
- package/brands.mjs +7 -2
- package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
- package/{chunk-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
- package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-QN23TPIE.js → chunk-GV5SRHY2.js} +4 -4
- package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
- package/chunk-P57PW2II.js +11 -0
- package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
- package/chunk-ZFXKCRJC.mjs +11 -0
- package/collections.d.mts +51 -17
- package/collections.d.ts +51 -17
- package/collections.js +28 -14
- package/collections.mjs +16 -2
- package/csp-origins.d.mts +12 -0
- package/csp-origins.d.ts +12 -0
- package/csp-origins.js +12 -9
- package/csp-origins.mjs +5 -2
- package/data-assets.d.mts +10 -0
- package/data-assets.d.ts +10 -0
- package/data-assets.js +13 -8
- package/data-assets.mjs +7 -2
- package/data-connections.d.mts +18 -0
- package/data-connections.d.ts +18 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +8 -0
- package/data-credentials.d.ts +8 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +98 -13
- package/data-files.d.ts +98 -13
- package/data-files.js +22 -15
- package/data-files.mjs +9 -2
- package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
- package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
- package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
- package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
- package/extensions.d.mts +26 -2
- package/extensions.d.ts +26 -2
- package/extensions.js +13 -10
- package/extensions.mjs +5 -2
- package/glossaries.d.mts +55 -20
- package/glossaries.d.ts +55 -20
- package/glossaries.js +39 -27
- package/glossaries.mjs +14 -2
- package/groups.d.mts +16 -0
- package/groups.d.ts +16 -0
- package/groups.js +16 -11
- package/groups.mjs +7 -2
- package/identity-providers.d.mts +16 -0
- package/identity-providers.d.ts +16 -0
- package/identity-providers.js +14 -11
- package/identity-providers.mjs +5 -2
- package/index.js +135 -101
- package/index.mjs +131 -97
- package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +6 -6
- package/items.d.ts +6 -6
- package/items.js +14 -11
- package/items.mjs +5 -2
- package/licenses.d.mts +18 -0
- package/licenses.d.ts +18 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +4 -4
- package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +4 -3
- package/qix.mjs +3 -2
- package/quotas.d.mts +4 -0
- package/quotas.d.ts +4 -0
- package/quotas.js +6 -5
- package/quotas.mjs +3 -2
- package/reload-tasks.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +17 -10
- package/reloads.d.ts +17 -10
- package/reloads.js +9 -7
- package/reloads.mjs +4 -2
- package/roles.d.mts +4 -0
- package/roles.d.ts +4 -0
- package/roles.js +6 -5
- package/roles.mjs +3 -2
- package/spaces.d.mts +27 -4
- package/spaces.d.ts +27 -4
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +8 -3
- package/temp-contents.d.ts +8 -3
- package/temp-contents.js +8 -6
- package/temp-contents.mjs +4 -2
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +14 -9
- package/tenants.mjs +7 -2
- package/themes.d.mts +26 -2
- package/themes.d.ts +26 -2
- package/themes.js +13 -10
- package/themes.mjs +5 -2
- package/transports.d.mts +12 -0
- package/transports.d.ts +12 -0
- package/transports.js +12 -9
- package/transports.mjs +5 -2
- package/users.d.mts +48 -29
- package/users.d.ts +48 -29
- package/users.js +18 -13
- package/users.mjs +7 -2
- package/web-integrations.d.mts +10 -0
- package/web-integrations.d.ts +10 -0
- package/web-integrations.js +11 -8
- package/web-integrations.mjs +5 -2
- package/web-notifications.d.mts +12 -0
- package/web-notifications.d.ts +12 -0
- package/web-notifications.js +12 -9
- package/web-notifications.mjs +5 -2
- package/webhooks.d.mts +25 -5
- package/webhooks.d.ts +25 -5
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/auth-OU7OTB7Y.js +0 -38
- package/auth-TE272Q34.mjs +0 -36
- package/chunk-4ES65KO3.js +0 -57
- package/chunk-4FLMND6T.js +0 -25
- package/chunk-4OMEH5SW.mjs +0 -1337
- package/chunk-6JERR27K.js +0 -17
- package/chunk-E42WUFCK.mjs +0 -57
- package/chunk-H7SAZYEE.js +0 -21
- package/chunk-KMMWJZHM.mjs +0 -25
- package/chunk-W4J34XGA.mjs +0 -17
- package/chunk-WM7FQU2U.mjs +0 -21
- package/chunk-XASXL2NC.js +0 -1337
- package/enigma-session-4L373ALV.mjs +0 -10196
- package/enigma-session-TEB53FAF.js +0 -10196
- package/esm-4X3DKK5D.js +0 -63
- package/esm-SOWVJKOQ.mjs +0 -63
- package/invoke-fetch-7PKPQ3FD.js +0 -14
- package/invoke-fetch-MSSJAZ7K.mjs +0 -14
- package/invoke-fetch-PEI54KZO.js +0 -14
- package/qix-EU7PXRZ6.mjs +0 -573
- package/qix-RLTISYTB.js +0 -573
package/web-notifications.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ type Notifications = {
|
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* Retrieve notifications matching the query.
|
|
64
|
+
*
|
|
64
65
|
* @param query an object with query parameters
|
|
65
66
|
* @throws GetNotificationsHttpError
|
|
66
67
|
*/
|
|
@@ -88,6 +89,7 @@ type GetNotificationsHttpError = {
|
|
|
88
89
|
};
|
|
89
90
|
/**
|
|
90
91
|
* Delete all notifications.
|
|
92
|
+
*
|
|
91
93
|
* @throws DeleteNotificationsHttpError
|
|
92
94
|
*/
|
|
93
95
|
declare const deleteNotifications: (options?: ApiCallOptions) => Promise<DeleteNotificationsHttpResponse>;
|
|
@@ -103,6 +105,7 @@ type DeleteNotificationsHttpError = {
|
|
|
103
105
|
};
|
|
104
106
|
/**
|
|
105
107
|
* Patch all notifications.
|
|
108
|
+
*
|
|
106
109
|
* @param body an object with the body content
|
|
107
110
|
* @throws PatchNotificationsHttpError
|
|
108
111
|
*/
|
|
@@ -119,6 +122,7 @@ type PatchNotificationsHttpError = {
|
|
|
119
122
|
};
|
|
120
123
|
/**
|
|
121
124
|
* Delete a notification.
|
|
125
|
+
*
|
|
122
126
|
* @param notificationId The id of the notification to delete.
|
|
123
127
|
* @throws DeleteNotificationHttpError
|
|
124
128
|
*/
|
|
@@ -135,6 +139,7 @@ type DeleteNotificationHttpError = {
|
|
|
135
139
|
};
|
|
136
140
|
/**
|
|
137
141
|
* Retrieve a single notification by Id.
|
|
142
|
+
*
|
|
138
143
|
* @param notificationId The id of the notification to retrieve.
|
|
139
144
|
* @throws GetNotificationHttpError
|
|
140
145
|
*/
|
|
@@ -151,6 +156,7 @@ type GetNotificationHttpError = {
|
|
|
151
156
|
};
|
|
152
157
|
/**
|
|
153
158
|
* Patch a notification.
|
|
159
|
+
*
|
|
154
160
|
* @param notificationId The id of the notification to update.
|
|
155
161
|
* @param body an object with the body content
|
|
156
162
|
* @throws PatchNotificationHttpError
|
|
@@ -173,35 +179,41 @@ declare function clearCache(): void;
|
|
|
173
179
|
interface WebNotificationsAPI {
|
|
174
180
|
/**
|
|
175
181
|
* Retrieve notifications matching the query.
|
|
182
|
+
*
|
|
176
183
|
* @param query an object with query parameters
|
|
177
184
|
* @throws GetNotificationsHttpError
|
|
178
185
|
*/
|
|
179
186
|
getNotifications: typeof getNotifications;
|
|
180
187
|
/**
|
|
181
188
|
* Delete all notifications.
|
|
189
|
+
*
|
|
182
190
|
* @throws DeleteNotificationsHttpError
|
|
183
191
|
*/
|
|
184
192
|
deleteNotifications: typeof deleteNotifications;
|
|
185
193
|
/**
|
|
186
194
|
* Patch all notifications.
|
|
195
|
+
*
|
|
187
196
|
* @param body an object with the body content
|
|
188
197
|
* @throws PatchNotificationsHttpError
|
|
189
198
|
*/
|
|
190
199
|
patchNotifications: typeof patchNotifications;
|
|
191
200
|
/**
|
|
192
201
|
* Delete a notification.
|
|
202
|
+
*
|
|
193
203
|
* @param notificationId The id of the notification to delete.
|
|
194
204
|
* @throws DeleteNotificationHttpError
|
|
195
205
|
*/
|
|
196
206
|
deleteNotification: typeof deleteNotification;
|
|
197
207
|
/**
|
|
198
208
|
* Retrieve a single notification by Id.
|
|
209
|
+
*
|
|
199
210
|
* @param notificationId The id of the notification to retrieve.
|
|
200
211
|
* @throws GetNotificationHttpError
|
|
201
212
|
*/
|
|
202
213
|
getNotification: typeof getNotification;
|
|
203
214
|
/**
|
|
204
215
|
* Patch a notification.
|
|
216
|
+
*
|
|
205
217
|
* @param notificationId The id of the notification to update.
|
|
206
218
|
* @param body an object with the body content
|
|
207
219
|
* @throws PatchNotificationHttpError
|
package/web-notifications.js
CHANGED
|
@@ -1,48 +1,51 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/web-notifications.ts
|
|
8
|
-
var getNotifications = async (query, options) =>
|
|
9
|
+
var getNotifications = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/web-notifications",
|
|
11
12
|
query,
|
|
12
13
|
options
|
|
13
14
|
});
|
|
14
|
-
var deleteNotifications = async (options) =>
|
|
15
|
+
var deleteNotifications = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
|
|
15
16
|
method: "delete",
|
|
16
17
|
pathTemplate: "/api/v1/web-notifications/all",
|
|
17
18
|
options
|
|
18
19
|
});
|
|
19
|
-
var patchNotifications = async (body, options) =>
|
|
20
|
+
var patchNotifications = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
|
|
20
21
|
method: "patch",
|
|
21
22
|
pathTemplate: "/api/v1/web-notifications/all",
|
|
22
23
|
body,
|
|
24
|
+
contentType: "application/json",
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
|
-
var deleteNotification = async (notificationId, options) =>
|
|
27
|
+
var deleteNotification = async (notificationId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
|
|
26
28
|
method: "delete",
|
|
27
29
|
pathTemplate: "/api/v1/web-notifications/{notificationId}",
|
|
28
30
|
pathVariables: { notificationId },
|
|
29
31
|
options
|
|
30
32
|
});
|
|
31
|
-
var getNotification = async (notificationId, options) =>
|
|
33
|
+
var getNotification = async (notificationId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
|
|
32
34
|
method: "get",
|
|
33
35
|
pathTemplate: "/api/v1/web-notifications/{notificationId}",
|
|
34
36
|
pathVariables: { notificationId },
|
|
35
37
|
options
|
|
36
38
|
});
|
|
37
|
-
var patchNotification = async (notificationId, body, options) =>
|
|
39
|
+
var patchNotification = async (notificationId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
|
|
38
40
|
method: "patch",
|
|
39
41
|
pathTemplate: "/api/v1/web-notifications/{notificationId}",
|
|
40
42
|
pathVariables: { notificationId },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
47
|
function clearCache() {
|
|
45
|
-
return
|
|
48
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "web-notifications");
|
|
46
49
|
}
|
|
47
50
|
var webNotificationsExport = {
|
|
48
51
|
getNotifications,
|
package/web-notifications.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/web-notifications.ts
|
|
8
9
|
var getNotifications = async (query, options) => invokeFetch("web-notifications", {
|
|
@@ -20,6 +21,7 @@ var patchNotifications = async (body, options) => invokeFetch("web-notifications
|
|
|
20
21
|
method: "patch",
|
|
21
22
|
pathTemplate: "/api/v1/web-notifications/all",
|
|
22
23
|
body,
|
|
24
|
+
contentType: "application/json",
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
27
|
var deleteNotification = async (notificationId, options) => invokeFetch("web-notifications", {
|
|
@@ -39,6 +41,7 @@ var patchNotification = async (notificationId, body, options) => invokeFetch("we
|
|
|
39
41
|
pathTemplate: "/api/v1/web-notifications/{notificationId}",
|
|
40
42
|
pathVariables: { notificationId },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
47
|
function clearCache() {
|
package/webhooks.d.mts
CHANGED
|
@@ -85,11 +85,11 @@ type WebhookBase = {
|
|
|
85
85
|
/** Types of events for which the webhook should trigger. */
|
|
86
86
|
eventTypes?: string[];
|
|
87
87
|
/** Filter that should match for a webhook to be triggered.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
* Supported common attribute names are 'id', 'spaceId' and 'topLevelResourceId', beside the common attributes the "com.qlik.v1.app.reload.finished" event also supports "data.status" that could be either "ok" or "error" but can't be used together with other event types.
|
|
89
|
+
* Supported attribute operators are 'eq' and 'ne'.
|
|
90
|
+
* Supported logical operators are 'and' and 'or'.
|
|
91
|
+
* Note that attribute values must be valid JSON strings, hence they're enclosed with double quotes
|
|
92
|
+
* For more detailed information regarding the SCIM filter syntax (RFC7644) used please follow the link to external documentation. */
|
|
93
93
|
filter?: string;
|
|
94
94
|
/** Additional headers in the post request */
|
|
95
95
|
headers?: unknown;
|
|
@@ -136,6 +136,7 @@ type WebhookResponse = WebhookBase & {
|
|
|
136
136
|
};
|
|
137
137
|
/**
|
|
138
138
|
* Retrieves all webhooks entries for a tenant
|
|
139
|
+
*
|
|
139
140
|
* @param query an object with query parameters
|
|
140
141
|
* @throws GetWebhooksHttpError
|
|
141
142
|
*/
|
|
@@ -179,6 +180,7 @@ type GetWebhooksHttpError = {
|
|
|
179
180
|
};
|
|
180
181
|
/**
|
|
181
182
|
* Creates a new webhook
|
|
183
|
+
*
|
|
182
184
|
* @param body an object with the body content
|
|
183
185
|
* @throws CreateWebhookHttpError
|
|
184
186
|
*/
|
|
@@ -195,6 +197,7 @@ type CreateWebhookHttpError = {
|
|
|
195
197
|
};
|
|
196
198
|
/**
|
|
197
199
|
* List of event-types that are possible to subscribe to.
|
|
200
|
+
*
|
|
198
201
|
* @throws GetWebhookEventTypesHttpError
|
|
199
202
|
*/
|
|
200
203
|
declare const getWebhookEventTypes: (options?: ApiCallOptions) => Promise<GetWebhookEventTypesHttpResponse>;
|
|
@@ -210,6 +213,7 @@ type GetWebhookEventTypesHttpError = {
|
|
|
210
213
|
};
|
|
211
214
|
/**
|
|
212
215
|
* Deletes a specific webhook
|
|
216
|
+
*
|
|
213
217
|
* @param id The webhook's unique identifier.
|
|
214
218
|
* @throws DeleteWebhookHttpError
|
|
215
219
|
*/
|
|
@@ -226,6 +230,7 @@ type DeleteWebhookHttpError = {
|
|
|
226
230
|
};
|
|
227
231
|
/**
|
|
228
232
|
* Returns details for a specific webhook
|
|
233
|
+
*
|
|
229
234
|
* @param id The webhook's unique identifier.
|
|
230
235
|
* @throws GetWebhookHttpError
|
|
231
236
|
*/
|
|
@@ -242,6 +247,7 @@ type GetWebhookHttpError = {
|
|
|
242
247
|
};
|
|
243
248
|
/**
|
|
244
249
|
* Patches a webhook
|
|
250
|
+
*
|
|
245
251
|
* @param id The webhook's unique identifier.
|
|
246
252
|
* @param body an object with the body content
|
|
247
253
|
* @throws PatchWebhookHttpError
|
|
@@ -259,6 +265,7 @@ type PatchWebhookHttpError = {
|
|
|
259
265
|
};
|
|
260
266
|
/**
|
|
261
267
|
* Updates a webhook
|
|
268
|
+
*
|
|
262
269
|
* @param id The webhook's unique identifier.
|
|
263
270
|
* @param body an object with the body content
|
|
264
271
|
* @throws UpdateWebhookHttpError
|
|
@@ -276,6 +283,7 @@ type UpdateWebhookHttpError = {
|
|
|
276
283
|
};
|
|
277
284
|
/**
|
|
278
285
|
* Returns deliveries for a specific webhook
|
|
286
|
+
*
|
|
279
287
|
* @param id The webhook's unique identifier.
|
|
280
288
|
* @param query an object with query parameters
|
|
281
289
|
* @throws GetWebhookDeliveriesHttpError
|
|
@@ -308,6 +316,7 @@ type GetWebhookDeliveriesHttpError = {
|
|
|
308
316
|
};
|
|
309
317
|
/**
|
|
310
318
|
* Returns details for a specific delivery
|
|
319
|
+
*
|
|
311
320
|
* @param id The webhook's unique identifier.
|
|
312
321
|
* @param deliveryId The delivery's unique identifier.
|
|
313
322
|
* @throws GetWebhookDeliveryHttpError
|
|
@@ -325,6 +334,7 @@ type GetWebhookDeliveryHttpError = {
|
|
|
325
334
|
};
|
|
326
335
|
/**
|
|
327
336
|
* Resend the delivery with the same payload
|
|
337
|
+
*
|
|
328
338
|
* @param id The webhook's unique identifier.
|
|
329
339
|
* @param deliveryId The delivery's unique identifier.
|
|
330
340
|
* @throws ResendWebhookDeliveryHttpError
|
|
@@ -347,35 +357,41 @@ declare function clearCache(): void;
|
|
|
347
357
|
interface WebhooksAPI {
|
|
348
358
|
/**
|
|
349
359
|
* Retrieves all webhooks entries for a tenant
|
|
360
|
+
*
|
|
350
361
|
* @param query an object with query parameters
|
|
351
362
|
* @throws GetWebhooksHttpError
|
|
352
363
|
*/
|
|
353
364
|
getWebhooks: typeof getWebhooks;
|
|
354
365
|
/**
|
|
355
366
|
* Creates a new webhook
|
|
367
|
+
*
|
|
356
368
|
* @param body an object with the body content
|
|
357
369
|
* @throws CreateWebhookHttpError
|
|
358
370
|
*/
|
|
359
371
|
createWebhook: typeof createWebhook;
|
|
360
372
|
/**
|
|
361
373
|
* List of event-types that are possible to subscribe to.
|
|
374
|
+
*
|
|
362
375
|
* @throws GetWebhookEventTypesHttpError
|
|
363
376
|
*/
|
|
364
377
|
getWebhookEventTypes: typeof getWebhookEventTypes;
|
|
365
378
|
/**
|
|
366
379
|
* Deletes a specific webhook
|
|
380
|
+
*
|
|
367
381
|
* @param id The webhook's unique identifier.
|
|
368
382
|
* @throws DeleteWebhookHttpError
|
|
369
383
|
*/
|
|
370
384
|
deleteWebhook: typeof deleteWebhook;
|
|
371
385
|
/**
|
|
372
386
|
* Returns details for a specific webhook
|
|
387
|
+
*
|
|
373
388
|
* @param id The webhook's unique identifier.
|
|
374
389
|
* @throws GetWebhookHttpError
|
|
375
390
|
*/
|
|
376
391
|
getWebhook: typeof getWebhook;
|
|
377
392
|
/**
|
|
378
393
|
* Patches a webhook
|
|
394
|
+
*
|
|
379
395
|
* @param id The webhook's unique identifier.
|
|
380
396
|
* @param body an object with the body content
|
|
381
397
|
* @throws PatchWebhookHttpError
|
|
@@ -383,6 +399,7 @@ interface WebhooksAPI {
|
|
|
383
399
|
patchWebhook: typeof patchWebhook;
|
|
384
400
|
/**
|
|
385
401
|
* Updates a webhook
|
|
402
|
+
*
|
|
386
403
|
* @param id The webhook's unique identifier.
|
|
387
404
|
* @param body an object with the body content
|
|
388
405
|
* @throws UpdateWebhookHttpError
|
|
@@ -390,6 +407,7 @@ interface WebhooksAPI {
|
|
|
390
407
|
updateWebhook: typeof updateWebhook;
|
|
391
408
|
/**
|
|
392
409
|
* Returns deliveries for a specific webhook
|
|
410
|
+
*
|
|
393
411
|
* @param id The webhook's unique identifier.
|
|
394
412
|
* @param query an object with query parameters
|
|
395
413
|
* @throws GetWebhookDeliveriesHttpError
|
|
@@ -397,6 +415,7 @@ interface WebhooksAPI {
|
|
|
397
415
|
getWebhookDeliveries: typeof getWebhookDeliveries;
|
|
398
416
|
/**
|
|
399
417
|
* Returns details for a specific delivery
|
|
418
|
+
*
|
|
400
419
|
* @param id The webhook's unique identifier.
|
|
401
420
|
* @param deliveryId The delivery's unique identifier.
|
|
402
421
|
* @throws GetWebhookDeliveryHttpError
|
|
@@ -404,6 +423,7 @@ interface WebhooksAPI {
|
|
|
404
423
|
getWebhookDelivery: typeof getWebhookDelivery;
|
|
405
424
|
/**
|
|
406
425
|
* Resend the delivery with the same payload
|
|
426
|
+
*
|
|
407
427
|
* @param id The webhook's unique identifier.
|
|
408
428
|
* @param deliveryId The delivery's unique identifier.
|
|
409
429
|
* @throws ResendWebhookDeliveryHttpError
|
package/webhooks.d.ts
CHANGED
|
@@ -85,11 +85,11 @@ type WebhookBase = {
|
|
|
85
85
|
/** Types of events for which the webhook should trigger. */
|
|
86
86
|
eventTypes?: string[];
|
|
87
87
|
/** Filter that should match for a webhook to be triggered.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
* Supported common attribute names are 'id', 'spaceId' and 'topLevelResourceId', beside the common attributes the "com.qlik.v1.app.reload.finished" event also supports "data.status" that could be either "ok" or "error" but can't be used together with other event types.
|
|
89
|
+
* Supported attribute operators are 'eq' and 'ne'.
|
|
90
|
+
* Supported logical operators are 'and' and 'or'.
|
|
91
|
+
* Note that attribute values must be valid JSON strings, hence they're enclosed with double quotes
|
|
92
|
+
* For more detailed information regarding the SCIM filter syntax (RFC7644) used please follow the link to external documentation. */
|
|
93
93
|
filter?: string;
|
|
94
94
|
/** Additional headers in the post request */
|
|
95
95
|
headers?: unknown;
|
|
@@ -136,6 +136,7 @@ type WebhookResponse = WebhookBase & {
|
|
|
136
136
|
};
|
|
137
137
|
/**
|
|
138
138
|
* Retrieves all webhooks entries for a tenant
|
|
139
|
+
*
|
|
139
140
|
* @param query an object with query parameters
|
|
140
141
|
* @throws GetWebhooksHttpError
|
|
141
142
|
*/
|
|
@@ -179,6 +180,7 @@ type GetWebhooksHttpError = {
|
|
|
179
180
|
};
|
|
180
181
|
/**
|
|
181
182
|
* Creates a new webhook
|
|
183
|
+
*
|
|
182
184
|
* @param body an object with the body content
|
|
183
185
|
* @throws CreateWebhookHttpError
|
|
184
186
|
*/
|
|
@@ -195,6 +197,7 @@ type CreateWebhookHttpError = {
|
|
|
195
197
|
};
|
|
196
198
|
/**
|
|
197
199
|
* List of event-types that are possible to subscribe to.
|
|
200
|
+
*
|
|
198
201
|
* @throws GetWebhookEventTypesHttpError
|
|
199
202
|
*/
|
|
200
203
|
declare const getWebhookEventTypes: (options?: ApiCallOptions) => Promise<GetWebhookEventTypesHttpResponse>;
|
|
@@ -210,6 +213,7 @@ type GetWebhookEventTypesHttpError = {
|
|
|
210
213
|
};
|
|
211
214
|
/**
|
|
212
215
|
* Deletes a specific webhook
|
|
216
|
+
*
|
|
213
217
|
* @param id The webhook's unique identifier.
|
|
214
218
|
* @throws DeleteWebhookHttpError
|
|
215
219
|
*/
|
|
@@ -226,6 +230,7 @@ type DeleteWebhookHttpError = {
|
|
|
226
230
|
};
|
|
227
231
|
/**
|
|
228
232
|
* Returns details for a specific webhook
|
|
233
|
+
*
|
|
229
234
|
* @param id The webhook's unique identifier.
|
|
230
235
|
* @throws GetWebhookHttpError
|
|
231
236
|
*/
|
|
@@ -242,6 +247,7 @@ type GetWebhookHttpError = {
|
|
|
242
247
|
};
|
|
243
248
|
/**
|
|
244
249
|
* Patches a webhook
|
|
250
|
+
*
|
|
245
251
|
* @param id The webhook's unique identifier.
|
|
246
252
|
* @param body an object with the body content
|
|
247
253
|
* @throws PatchWebhookHttpError
|
|
@@ -259,6 +265,7 @@ type PatchWebhookHttpError = {
|
|
|
259
265
|
};
|
|
260
266
|
/**
|
|
261
267
|
* Updates a webhook
|
|
268
|
+
*
|
|
262
269
|
* @param id The webhook's unique identifier.
|
|
263
270
|
* @param body an object with the body content
|
|
264
271
|
* @throws UpdateWebhookHttpError
|
|
@@ -276,6 +283,7 @@ type UpdateWebhookHttpError = {
|
|
|
276
283
|
};
|
|
277
284
|
/**
|
|
278
285
|
* Returns deliveries for a specific webhook
|
|
286
|
+
*
|
|
279
287
|
* @param id The webhook's unique identifier.
|
|
280
288
|
* @param query an object with query parameters
|
|
281
289
|
* @throws GetWebhookDeliveriesHttpError
|
|
@@ -308,6 +316,7 @@ type GetWebhookDeliveriesHttpError = {
|
|
|
308
316
|
};
|
|
309
317
|
/**
|
|
310
318
|
* Returns details for a specific delivery
|
|
319
|
+
*
|
|
311
320
|
* @param id The webhook's unique identifier.
|
|
312
321
|
* @param deliveryId The delivery's unique identifier.
|
|
313
322
|
* @throws GetWebhookDeliveryHttpError
|
|
@@ -325,6 +334,7 @@ type GetWebhookDeliveryHttpError = {
|
|
|
325
334
|
};
|
|
326
335
|
/**
|
|
327
336
|
* Resend the delivery with the same payload
|
|
337
|
+
*
|
|
328
338
|
* @param id The webhook's unique identifier.
|
|
329
339
|
* @param deliveryId The delivery's unique identifier.
|
|
330
340
|
* @throws ResendWebhookDeliveryHttpError
|
|
@@ -347,35 +357,41 @@ declare function clearCache(): void;
|
|
|
347
357
|
interface WebhooksAPI {
|
|
348
358
|
/**
|
|
349
359
|
* Retrieves all webhooks entries for a tenant
|
|
360
|
+
*
|
|
350
361
|
* @param query an object with query parameters
|
|
351
362
|
* @throws GetWebhooksHttpError
|
|
352
363
|
*/
|
|
353
364
|
getWebhooks: typeof getWebhooks;
|
|
354
365
|
/**
|
|
355
366
|
* Creates a new webhook
|
|
367
|
+
*
|
|
356
368
|
* @param body an object with the body content
|
|
357
369
|
* @throws CreateWebhookHttpError
|
|
358
370
|
*/
|
|
359
371
|
createWebhook: typeof createWebhook;
|
|
360
372
|
/**
|
|
361
373
|
* List of event-types that are possible to subscribe to.
|
|
374
|
+
*
|
|
362
375
|
* @throws GetWebhookEventTypesHttpError
|
|
363
376
|
*/
|
|
364
377
|
getWebhookEventTypes: typeof getWebhookEventTypes;
|
|
365
378
|
/**
|
|
366
379
|
* Deletes a specific webhook
|
|
380
|
+
*
|
|
367
381
|
* @param id The webhook's unique identifier.
|
|
368
382
|
* @throws DeleteWebhookHttpError
|
|
369
383
|
*/
|
|
370
384
|
deleteWebhook: typeof deleteWebhook;
|
|
371
385
|
/**
|
|
372
386
|
* Returns details for a specific webhook
|
|
387
|
+
*
|
|
373
388
|
* @param id The webhook's unique identifier.
|
|
374
389
|
* @throws GetWebhookHttpError
|
|
375
390
|
*/
|
|
376
391
|
getWebhook: typeof getWebhook;
|
|
377
392
|
/**
|
|
378
393
|
* Patches a webhook
|
|
394
|
+
*
|
|
379
395
|
* @param id The webhook's unique identifier.
|
|
380
396
|
* @param body an object with the body content
|
|
381
397
|
* @throws PatchWebhookHttpError
|
|
@@ -383,6 +399,7 @@ interface WebhooksAPI {
|
|
|
383
399
|
patchWebhook: typeof patchWebhook;
|
|
384
400
|
/**
|
|
385
401
|
* Updates a webhook
|
|
402
|
+
*
|
|
386
403
|
* @param id The webhook's unique identifier.
|
|
387
404
|
* @param body an object with the body content
|
|
388
405
|
* @throws UpdateWebhookHttpError
|
|
@@ -390,6 +407,7 @@ interface WebhooksAPI {
|
|
|
390
407
|
updateWebhook: typeof updateWebhook;
|
|
391
408
|
/**
|
|
392
409
|
* Returns deliveries for a specific webhook
|
|
410
|
+
*
|
|
393
411
|
* @param id The webhook's unique identifier.
|
|
394
412
|
* @param query an object with query parameters
|
|
395
413
|
* @throws GetWebhookDeliveriesHttpError
|
|
@@ -397,6 +415,7 @@ interface WebhooksAPI {
|
|
|
397
415
|
getWebhookDeliveries: typeof getWebhookDeliveries;
|
|
398
416
|
/**
|
|
399
417
|
* Returns details for a specific delivery
|
|
418
|
+
*
|
|
400
419
|
* @param id The webhook's unique identifier.
|
|
401
420
|
* @param deliveryId The delivery's unique identifier.
|
|
402
421
|
* @throws GetWebhookDeliveryHttpError
|
|
@@ -404,6 +423,7 @@ interface WebhooksAPI {
|
|
|
404
423
|
getWebhookDelivery: typeof getWebhookDelivery;
|
|
405
424
|
/**
|
|
406
425
|
* Resend the delivery with the same payload
|
|
426
|
+
*
|
|
407
427
|
* @param id The webhook's unique identifier.
|
|
408
428
|
* @param deliveryId The delivery's unique identifier.
|
|
409
429
|
* @throws ResendWebhookDeliveryHttpError
|
package/webhooks.js
CHANGED
|
@@ -1,74 +1,78 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/webhooks.ts
|
|
8
|
-
var getWebhooks = async (query, options) =>
|
|
9
|
+
var getWebhooks = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/webhooks",
|
|
11
12
|
query,
|
|
12
13
|
options
|
|
13
14
|
});
|
|
14
|
-
var createWebhook = async (body, options) =>
|
|
15
|
+
var createWebhook = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/webhooks",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
|
-
var getWebhookEventTypes = async (options) =>
|
|
22
|
+
var getWebhookEventTypes = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
21
23
|
method: "get",
|
|
22
24
|
pathTemplate: "/api/v1/webhooks/event-types",
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
|
-
var deleteWebhook = async (id, options) =>
|
|
27
|
+
var deleteWebhook = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
26
28
|
method: "delete",
|
|
27
29
|
pathTemplate: "/api/v1/webhooks/{id}",
|
|
28
30
|
pathVariables: { id },
|
|
29
31
|
options
|
|
30
32
|
});
|
|
31
|
-
var getWebhook = async (id, options) =>
|
|
33
|
+
var getWebhook = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
32
34
|
method: "get",
|
|
33
35
|
pathTemplate: "/api/v1/webhooks/{id}",
|
|
34
36
|
pathVariables: { id },
|
|
35
37
|
options
|
|
36
38
|
});
|
|
37
|
-
var patchWebhook = async (id, body, options) =>
|
|
39
|
+
var patchWebhook = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
38
40
|
method: "patch",
|
|
39
41
|
pathTemplate: "/api/v1/webhooks/{id}",
|
|
40
42
|
pathVariables: { id },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
|
-
var updateWebhook = async (id, body, options) =>
|
|
47
|
+
var updateWebhook = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
45
48
|
method: "put",
|
|
46
49
|
pathTemplate: "/api/v1/webhooks/{id}",
|
|
47
50
|
pathVariables: { id },
|
|
48
51
|
body,
|
|
52
|
+
contentType: "application/json",
|
|
49
53
|
options
|
|
50
54
|
});
|
|
51
|
-
var getWebhookDeliveries = async (id, query, options) =>
|
|
55
|
+
var getWebhookDeliveries = async (id, query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
52
56
|
method: "get",
|
|
53
57
|
pathTemplate: "/api/v1/webhooks/{id}/deliveries",
|
|
54
58
|
pathVariables: { id },
|
|
55
59
|
query,
|
|
56
60
|
options
|
|
57
61
|
});
|
|
58
|
-
var getWebhookDelivery = async (id, deliveryId, options) =>
|
|
62
|
+
var getWebhookDelivery = async (id, deliveryId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
59
63
|
method: "get",
|
|
60
64
|
pathTemplate: "/api/v1/webhooks/{id}/deliveries/{deliveryId}",
|
|
61
65
|
pathVariables: { id, deliveryId },
|
|
62
66
|
options
|
|
63
67
|
});
|
|
64
|
-
var resendWebhookDelivery = async (id, deliveryId, options) =>
|
|
68
|
+
var resendWebhookDelivery = async (id, deliveryId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "webhooks", {
|
|
65
69
|
method: "post",
|
|
66
70
|
pathTemplate: "/api/v1/webhooks/{id}/deliveries/{deliveryId}/actions/resend",
|
|
67
71
|
pathVariables: { id, deliveryId },
|
|
68
72
|
options
|
|
69
73
|
});
|
|
70
74
|
function clearCache() {
|
|
71
|
-
return
|
|
75
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "webhooks");
|
|
72
76
|
}
|
|
73
77
|
var webhooksExport = {
|
|
74
78
|
getWebhooks,
|
package/webhooks.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/webhooks.ts
|
|
8
9
|
var getWebhooks = async (query, options) => invokeFetch("webhooks", {
|
|
@@ -15,6 +16,7 @@ var createWebhook = async (body, options) => invokeFetch("webhooks", {
|
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/webhooks",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
22
|
var getWebhookEventTypes = async (options) => invokeFetch("webhooks", {
|
|
@@ -39,6 +41,7 @@ var patchWebhook = async (id, body, options) => invokeFetch("webhooks", {
|
|
|
39
41
|
pathTemplate: "/api/v1/webhooks/{id}",
|
|
40
42
|
pathVariables: { id },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
47
|
var updateWebhook = async (id, body, options) => invokeFetch("webhooks", {
|
|
@@ -46,6 +49,7 @@ var updateWebhook = async (id, body, options) => invokeFetch("webhooks", {
|
|
|
46
49
|
pathTemplate: "/api/v1/webhooks/{id}",
|
|
47
50
|
pathVariables: { id },
|
|
48
51
|
body,
|
|
52
|
+
contentType: "application/json",
|
|
49
53
|
options
|
|
50
54
|
});
|
|
51
55
|
var getWebhookDeliveries = async (id, query, options) => invokeFetch("webhooks", {
|
package/auth-CSVTXOZX.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var _chunkXASXL2NCjs = require('./chunk-XASXL2NC.js');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
exports.InvalidAuthTypeError = _chunkXASXL2NCjs.InvalidAuthTypeError; exports.InvalidHostConfigError = _chunkXASXL2NCjs.InvalidHostConfigError; exports.UnexpectedAuthTypeError = _chunkXASXL2NCjs.UnexpectedAuthTypeError; exports.checkForCrossDomainRequest = _chunkXASXL2NCjs.checkForCrossDomainRequest; exports.default = _chunkXASXL2NCjs.auth_default; exports.getRestCallAuthParams = _chunkXASXL2NCjs.getRestCallAuthParams; exports.getWebResourceAuthParams = _chunkXASXL2NCjs.getWebResourceAuthParams; exports.getWebSocketAuthParams = _chunkXASXL2NCjs.getWebSocketAuthParams; exports.handleAuthenticationError = _chunkXASXL2NCjs.handleAuthenticationError; exports.isHostCrossOrigin = _chunkXASXL2NCjs.isHostCrossOrigin; exports.isWindows = _chunkXASXL2NCjs.isWindows; exports.logout = _chunkXASXL2NCjs.logout; exports.registerAuthModule = _chunkXASXL2NCjs.registerAuthModule; exports.setDefaultHostConfig = _chunkXASXL2NCjs.setDefaultHostConfig; exports.toValidEnigmaLocationUrl = _chunkXASXL2NCjs.toValidEnigmaLocationUrl; exports.toValidLocationUrl = _chunkXASXL2NCjs.toValidLocationUrl;
|