@qlik/api 1.28.0 → 1.30.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 +20 -0
- package/api-keys.js +2 -2
- package/apps.d.ts +123 -4
- package/apps.js +2 -2
- package/audits.d.ts +1 -1
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.d.ts +49 -37
- package/automations.js +2 -2
- package/brands.js +2 -2
- package/chunks/{5MRIMVKS.js → F5UDCCRD.js} +17 -20
- package/chunks/{QOOCP2TS.js → FKCZFVJL.js} +1 -1
- package/chunks/{NBW6PHZU.js → G6QUM5WQ.js} +27 -6
- package/chunks/{5XNSGPGZ.js → IQBP2PKS.js} +1 -1
- package/chunks/{2BRBIRM2.js → JIX6RMFP.js} +1 -1
- package/chunks/{4D5NADHK.js → OTTC4QSX.js} +1 -1
- package/chunks/{WQYEWU54.js → PTDXR7AY.js} +2 -2
- package/chunks/{KYCIMQ4L.js → QK4TMJ64.js} +1 -1
- package/chunks/{MGXEGSJC.js → QWQLGDMI.js} +2 -2
- package/chunks/{2B7YWDQC.js → TXC5XORK.js} +3 -3
- package/collections.d.ts +1 -1
- package/collections.js +2 -2
- package/csp-origins.js +2 -2
- package/data-assets.d.ts +1 -1
- package/data-assets.js +2 -2
- package/data-connections.d.ts +83 -1
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +28 -0
- package/data-credentials.js +2 -2
- package/data-files.d.ts +90 -0
- package/data-files.js +2 -2
- package/extensions.js +2 -2
- package/glossaries.d.ts +34 -14
- package/glossaries.js +2 -2
- package/groups.d.ts +70 -0
- package/groups.js +2 -2
- package/identity-providers.js +2 -2
- package/index.d.ts +6 -2
- package/index.js +33 -4
- package/items.d.ts +1 -1
- package/items.js +2 -2
- package/licenses.d.ts +191 -0
- package/licenses.js +2 -2
- package/oauth-clients.d.ts +516 -0
- package/oauth-clients.js +112 -0
- package/package.json +5 -4
- package/qix.d.ts +19 -3
- package/qix.js +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +20 -0
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +41 -10
- package/reloads.js +2 -2
- package/reports.d.ts +159 -17
- package/reports.js +2 -2
- package/roles.d.ts +42 -2
- package/roles.js +2 -2
- package/spaces.d.ts +225 -38
- package/spaces.js +47 -2
- package/temp-contents.js +2 -2
- package/tenants.d.ts +47 -1
- package/tenants.js +2 -2
- package/themes.js +2 -2
- package/transports.d.ts +9 -0
- package/transports.js +2 -2
- package/users.d.ts +88 -0
- package/users.js +2 -2
- package/web-integrations.d.ts +20 -0
- package/web-integrations.js +2 -2
- package/web-notifications.d.ts +19 -0
- package/web-notifications.js +2 -2
- package/webhooks.d.ts +3 -3
- package/webhooks.js +2 -2
package/users.d.ts
CHANGED
|
@@ -16,6 +16,13 @@ type AssignedGroups = {
|
|
|
16
16
|
}[];
|
|
17
17
|
/**
|
|
18
18
|
* An array of group reference names and provider type.
|
|
19
|
+
* @example
|
|
20
|
+
* [
|
|
21
|
+
* {
|
|
22
|
+
* name: "Developers",
|
|
23
|
+
* providerType: "custom"
|
|
24
|
+
* }
|
|
25
|
+
* ]
|
|
19
26
|
*/
|
|
20
27
|
type AssignedGroupsRefNames = {
|
|
21
28
|
/** The name of the group */
|
|
@@ -75,6 +82,17 @@ type ErrorItem = {
|
|
|
75
82
|
};
|
|
76
83
|
/**
|
|
77
84
|
* The error response object describing the error from the handling of an HTTP request.
|
|
85
|
+
* @example
|
|
86
|
+
* {
|
|
87
|
+
* errors: [
|
|
88
|
+
* {
|
|
89
|
+
* code: "USERS-7",
|
|
90
|
+
* status: 404,
|
|
91
|
+
* title: "Not found"
|
|
92
|
+
* }
|
|
93
|
+
* ],
|
|
94
|
+
* traceId: "000000000000000079cf1ebeae103de1"
|
|
95
|
+
* }
|
|
78
96
|
*/
|
|
79
97
|
type Errors = {
|
|
80
98
|
/** An array of errors related to the operation. */
|
|
@@ -136,10 +154,58 @@ type JSONPatch = {
|
|
|
136
154
|
};
|
|
137
155
|
/**
|
|
138
156
|
* An array of JSON Patch documents
|
|
157
|
+
* @example
|
|
158
|
+
* [
|
|
159
|
+
* {
|
|
160
|
+
* op: "replace",
|
|
161
|
+
* path: "/name",
|
|
162
|
+
* value: "John"
|
|
163
|
+
* },
|
|
164
|
+
* {
|
|
165
|
+
* op: "replace",
|
|
166
|
+
* path: "/assignedRoles",
|
|
167
|
+
* value: [
|
|
168
|
+
* {
|
|
169
|
+
* "name": "Developer"
|
|
170
|
+
* }
|
|
171
|
+
* ]
|
|
172
|
+
* },
|
|
173
|
+
* {
|
|
174
|
+
* op: "replace",
|
|
175
|
+
* value: "unicorn@corp.example"
|
|
176
|
+
* },
|
|
177
|
+
* {
|
|
178
|
+
* op: "replace",
|
|
179
|
+
* value: "America/Halifax"
|
|
180
|
+
* },
|
|
181
|
+
* {
|
|
182
|
+
* op: "replace",
|
|
183
|
+
* path: "/preferredLocale",
|
|
184
|
+
* value: "en_US_POSIX"
|
|
185
|
+
* },
|
|
186
|
+
* {
|
|
187
|
+
* op: "replace",
|
|
188
|
+
* path: "/status",
|
|
189
|
+
* value: "active"
|
|
190
|
+
* },
|
|
191
|
+
* {
|
|
192
|
+
* op: "add"
|
|
193
|
+
* },
|
|
194
|
+
* {
|
|
195
|
+
* op: "remove-value",
|
|
196
|
+
* path: "/assignedRoles"
|
|
197
|
+
* }
|
|
198
|
+
* ]
|
|
139
199
|
*/
|
|
140
200
|
type JSONPatchArray = JSONPatch[];
|
|
141
201
|
/**
|
|
142
202
|
* An array of entity reference identifiers (e.g. roles, groups).
|
|
203
|
+
* @example
|
|
204
|
+
* [
|
|
205
|
+
* {
|
|
206
|
+
* id: "507f191e810c19729de860ea"
|
|
207
|
+
* }
|
|
208
|
+
* ]
|
|
143
209
|
*/
|
|
144
210
|
type RefIDs = {
|
|
145
211
|
/** The unique identitier */
|
|
@@ -147,6 +213,12 @@ type RefIDs = {
|
|
|
147
213
|
}[];
|
|
148
214
|
/**
|
|
149
215
|
* An array of reference names (e.g. roles).
|
|
216
|
+
* @example
|
|
217
|
+
* [
|
|
218
|
+
* {
|
|
219
|
+
* name: "TenantAdmin"
|
|
220
|
+
* }
|
|
221
|
+
* ]
|
|
150
222
|
*/
|
|
151
223
|
type RefNames = {
|
|
152
224
|
/** The name of the entity */
|
|
@@ -228,6 +300,22 @@ type UserCount = {
|
|
|
228
300
|
/** The total number of users in the tenant. */
|
|
229
301
|
total: number;
|
|
230
302
|
};
|
|
303
|
+
/**
|
|
304
|
+
* @example
|
|
305
|
+
* {
|
|
306
|
+
* assignedRoles: [
|
|
307
|
+
* {
|
|
308
|
+
* name: "Developer"
|
|
309
|
+
* }
|
|
310
|
+
* ],
|
|
311
|
+
* email: "john.smith@corp.example",
|
|
312
|
+
* name: "John Smith",
|
|
313
|
+
* picture: "https://corp.example/docs/jsmith.png",
|
|
314
|
+
* status: "invited",
|
|
315
|
+
* subject: "1234asdasa6789",
|
|
316
|
+
* tenantId: "q3VRZ4YMixRaLKEPhkZWM-XMIDN7cO8f"
|
|
317
|
+
* }
|
|
318
|
+
*/
|
|
231
319
|
type UserPostSchema = {
|
|
232
320
|
/** The roles to assign to the user. */
|
|
233
321
|
assignedRoles?: RefIDs | RefNames;
|
package/users.js
CHANGED
package/web-integrations.d.ts
CHANGED
|
@@ -25,6 +25,16 @@ type Error = {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* The error response object describing the error from the handling of an HTTP request.
|
|
28
|
+
* @example
|
|
29
|
+
* {
|
|
30
|
+
* errors: [
|
|
31
|
+
* {
|
|
32
|
+
* code: "TENANTS-8",
|
|
33
|
+
* title: "Not found"
|
|
34
|
+
* }
|
|
35
|
+
* ],
|
|
36
|
+
* traceId: "000000000000000079cf1ebeae103de1"
|
|
37
|
+
* }
|
|
28
38
|
*/
|
|
29
39
|
type Errors = {
|
|
30
40
|
/** An array of errors related to the operation. */
|
|
@@ -62,6 +72,16 @@ type WebIntegrationPatch = {
|
|
|
62
72
|
/** New value to be used for this operation. */
|
|
63
73
|
value: string;
|
|
64
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* [
|
|
78
|
+
* {
|
|
79
|
+
* op: "replace",
|
|
80
|
+
* path: "/name",
|
|
81
|
+
* value: "New name"
|
|
82
|
+
* }
|
|
83
|
+
* ]
|
|
84
|
+
*/
|
|
65
85
|
type WebIntegrationPatchSchema = WebIntegrationPatch[];
|
|
66
86
|
/**
|
|
67
87
|
* The creation of a web integration response.
|
package/web-integrations.js
CHANGED
package/web-notifications.d.ts
CHANGED
|
@@ -70,6 +70,13 @@ type NotificationPatch = {
|
|
|
70
70
|
};
|
|
71
71
|
/**
|
|
72
72
|
* An array of JSON Patch documents
|
|
73
|
+
* @example
|
|
74
|
+
* [
|
|
75
|
+
* {
|
|
76
|
+
* op: "replace",
|
|
77
|
+
* path: "/read"
|
|
78
|
+
* }
|
|
79
|
+
* ]
|
|
73
80
|
*/
|
|
74
81
|
type NotificationPatchSchema = NotificationPatch[];
|
|
75
82
|
type Notifications = {
|
|
@@ -81,6 +88,12 @@ type Notifications = {
|
|
|
81
88
|
};
|
|
82
89
|
/**
|
|
83
90
|
* Retrieve notifications matching the query.
|
|
91
|
+
* @example
|
|
92
|
+
* getNotifications(
|
|
93
|
+
* {
|
|
94
|
+
* resourceType: "app,space"
|
|
95
|
+
* }
|
|
96
|
+
* )
|
|
84
97
|
*
|
|
85
98
|
* @param query an object with query parameters
|
|
86
99
|
* @throws GetNotificationsHttpError
|
|
@@ -201,6 +214,12 @@ declare function clearCache(): void;
|
|
|
201
214
|
interface WebNotificationsAPI {
|
|
202
215
|
/**
|
|
203
216
|
* Retrieve notifications matching the query.
|
|
217
|
+
* @example
|
|
218
|
+
* getNotifications(
|
|
219
|
+
* {
|
|
220
|
+
* resourceType: "app,space"
|
|
221
|
+
* }
|
|
222
|
+
* )
|
|
204
223
|
*
|
|
205
224
|
* @param query an object with query parameters
|
|
206
225
|
* @throws GetNotificationsHttpError
|
package/web-notifications.js
CHANGED
package/webhooks.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ type Delivery = {
|
|
|
10
10
|
/** The sent body/payload of the delivery */
|
|
11
11
|
body?: unknown;
|
|
12
12
|
/** Headers sent for this delivery */
|
|
13
|
-
headers?:
|
|
13
|
+
headers?: Record<string, string>;
|
|
14
14
|
/** URL used for this delivery */
|
|
15
15
|
url?: string;
|
|
16
16
|
};
|
|
@@ -18,7 +18,7 @@ type Delivery = {
|
|
|
18
18
|
/** The received body of the delivery */
|
|
19
19
|
body?: string;
|
|
20
20
|
/** Headers received for this delivery */
|
|
21
|
-
headers?:
|
|
21
|
+
headers?: Record<string, string>;
|
|
22
22
|
/** The HTTP status code of the response */
|
|
23
23
|
statusCode?: number;
|
|
24
24
|
};
|
|
@@ -94,7 +94,7 @@ type WebhookBase = {
|
|
|
94
94
|
* For more detailed information regarding the SCIM filter syntax (RFC7644) used please follow the link to external documentation. */
|
|
95
95
|
filter?: string;
|
|
96
96
|
/** Additional headers in the post request */
|
|
97
|
-
headers?:
|
|
97
|
+
headers?: Record<string, string>;
|
|
98
98
|
/** The webhook's unique identifier */
|
|
99
99
|
readonly id?: string;
|
|
100
100
|
/** Defines at what level the webhook should operate: for all resources belonging to a tenant or restricted to only those accessible by the webhook-creator. */
|
package/webhooks.js
CHANGED