@qlik/api 1.22.0 → 1.23.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.
Files changed (54) hide show
  1. package/api-keys.js +2 -2
  2. package/apps.d.ts +9 -1
  3. package/apps.js +2 -2
  4. package/audits.js +2 -2
  5. package/auth.js +2 -2
  6. package/automations.js +2 -2
  7. package/brands.d.ts +22 -22
  8. package/brands.js +2 -2
  9. package/chunks/{SNQHDUYY.js → 3KD5W26Z.js} +3 -3
  10. package/chunks/{PR52AAWU.js → 3REGOC54.js} +35 -31
  11. package/chunks/{TGDZVKG2.js → 3W4PFUMC.js} +1 -1
  12. package/chunks/{SEBN4KFZ.js → CUC5USM5.js} +1 -1
  13. package/chunks/{GZRY5VHW.js → E5TLRYTH.js} +1 -1
  14. package/chunks/{OEVNZ5IQ.js → OCV75U5H.js} +9 -8
  15. package/chunks/{TUPLQG25.js → SMQGR3VM.js} +2 -2
  16. package/chunks/{KBR7JBWC.js → UJV2QU2J.js} +37 -23
  17. package/chunks/{VHPC6L7L.js → VXEOAWM6.js} +1 -1
  18. package/collections.js +2 -2
  19. package/csp-origins.js +2 -2
  20. package/data-assets.js +2 -2
  21. package/data-connections.d.ts +1 -1
  22. package/data-connections.js +2 -2
  23. package/data-credentials.d.ts +63 -1
  24. package/data-credentials.js +11 -2
  25. package/data-files.js +2 -2
  26. package/extensions.js +2 -2
  27. package/glossaries.js +2 -2
  28. package/groups.js +2 -2
  29. package/identity-providers.d.ts +16 -16
  30. package/identity-providers.js +2 -2
  31. package/index.js +5 -4
  32. package/items.js +2 -2
  33. package/licenses.js +2 -2
  34. package/package.json +2 -2
  35. package/qix.d.ts +5 -2
  36. package/qix.js +2 -2
  37. package/quotas.js +2 -2
  38. package/reload-tasks.js +2 -2
  39. package/reloads.js +2 -2
  40. package/reports.d.ts +37 -1
  41. package/reports.js +2 -2
  42. package/roles.js +2 -2
  43. package/spaces.d.ts +2 -0
  44. package/spaces.js +2 -2
  45. package/temp-contents.js +2 -2
  46. package/tenants.d.ts +24 -15
  47. package/tenants.js +2 -2
  48. package/themes.js +2 -2
  49. package/transports.js +2 -2
  50. package/users.d.ts +1 -1
  51. package/users.js +2 -2
  52. package/web-integrations.js +2 -2
  53. package/web-notifications.js +2 -2
  54. package/webhooks.js +2 -2
package/spaces.d.ts CHANGED
@@ -359,6 +359,8 @@ type UpdateSpaceHttpError = {
359
359
  * @throws GetSpaceAssignmentsHttpError
360
360
  */
361
361
  declare const getSpaceAssignments: (spaceId: string, query: {
362
+ /** Filters assignment for a specific assigneeid. */
363
+ assigneeId?: string;
362
364
  /** Maximum number of assignments to return. */
363
365
  limit?: number;
364
366
  /** The next page cursor. Next links make use of this. */
package/spaces.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/TUPLQG25.js";
5
- import "./chunks/SNQHDUYY.js";
4
+ } from "./chunks/SMQGR3VM.js";
5
+ import "./chunks/3KD5W26Z.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/spaces.ts
package/temp-contents.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/TUPLQG25.js";
5
- import "./chunks/SNQHDUYY.js";
4
+ } from "./chunks/SMQGR3VM.js";
5
+ import "./chunks/3KD5W26Z.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/temp-contents.ts
package/tenants.d.ts CHANGED
@@ -62,7 +62,16 @@ type Tenant = {
62
62
  status?: "active" | "disabled" | "deleted";
63
63
  };
64
64
  type TenantCreationRequest = {
65
- /** The datacenter where the tenant is located. */
65
+ /** The datacenter where the tenant is located.
66
+ *
67
+ * Supported locations for commercial licenses:
68
+ * - `ap-northeast-1`: Japan (jp)
69
+ * - `ap-southeast-1`: Australia (ap)
70
+ * - `ap-southeast-2`: Singapore (sg)
71
+ * - `eu-central-1`: Germany (de)
72
+ * - `eu-west-1`: Ireland (eu)
73
+ * - `eu-west-2`: United Kingdom (uk)
74
+ * - `us-east-1`: United States of America (us) */
66
75
  datacenter?: string;
67
76
  /** The signed license key of the license that will be associated with the created tenant. */
68
77
  licenseKey?: string;
@@ -116,7 +125,7 @@ type TenantPatchSchema = {
116
125
  value: string | boolean;
117
126
  }[];
118
127
  /**
119
- * Creates a Tenant
128
+ * Creates a tenant in the requested region, linked to the provided license key. You must use a regional OAuth client generated via the [My Qlik portal](https://account.myqlik.qlik.com/account) to call this endpoint. Tenant creation, deactivation, and reactivation requests must be sent to the register endpoint in the relevant Qlik Cloud region, e.g. `https://register.us.qlikcloud.com/api/v1/tenants` if interacting with tenants in the `us` region.
120
129
  *
121
130
  * @param body an object with the body content
122
131
  * @throws CreateTenantHttpError
@@ -149,9 +158,9 @@ type GetMyTenantHttpError = {
149
158
  status: number;
150
159
  };
151
160
  /**
152
- * Retrieve a single tenant by id.
161
+ * Retrieves a specific tenant by ID.
153
162
  *
154
- * @param tenantId The id of the tenant to retrieve
163
+ * @param tenantId The ID of the tenant to retrieve
155
164
  * @throws GetTenantHttpError
156
165
  */
157
166
  declare const getTenant: (tenantId: string, options?: ApiCallOptions) => Promise<GetTenantHttpResponse>;
@@ -166,9 +175,9 @@ type GetTenantHttpError = {
166
175
  status: number;
167
176
  };
168
177
  /**
169
- * Update a tenant by id.
178
+ * Updates properties of a specific tenant by ID.
170
179
  *
171
- * @param tenantId The id of the tenant to update
180
+ * @param tenantId The ID of the tenant to update
172
181
  * @param body an object with the body content
173
182
  * @throws PatchTenantHttpError
174
183
  */
@@ -205,7 +214,7 @@ type PatchTenantDefaultHttpError = {
205
214
  };
206
215
  type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantDefaultHttpError;
207
216
  /**
208
- * Deactivates a tenant.
217
+ * Deactivates a specific tenant. Once deactivated, tenant will be deleted on or after `estimatedPurgeDate`. Tenant can be reactivated using `/v1/tenants/{tenantId}/actions/reactivate` until this date. You must use a regional OAuth client generated via the [My Qlik portal](https://account.myqlik.qlik.com/account) to call this endpoint. Tenant creation, deactivation, and reactivation requests must be sent to the register endpoint in the relevant Qlik Cloud region, e.g. `https://register.us.qlikcloud.com/api/v1/tenants/{tenantId}/actions/deactivate` if interacting with tenants in the `us` region.
209
218
  *
210
219
  * @param tenantId The id of the tenant to deactivate
211
220
  * @param body an object with the body content
@@ -223,7 +232,7 @@ type DeactivateTenantHttpError = {
223
232
  status: number;
224
233
  };
225
234
  /**
226
- * Reactivates a disabled tenant.
235
+ * Reactivates a deactivated tenant. Tenants can be reactivated until the `estimatedPurgeDate` provided at time of deactivation. You must use a regional OAuth client generated via the [My Qlik portal](https://account.myqlik.qlik.com/account) to call this endpoint. Tenant creation, deactivation, and reactivation requests must be sent to the register endpoint in the relevant Qlik Cloud region, e.g. `https://register.us.qlikcloud.com/api/v1/tenants/{tenantId}/actions/reactivate` if interacting with tenants in the `us` region.
227
236
  *
228
237
  * @param tenantId The id of the tenant to reactivate
229
238
  * @param body an object with the body content
@@ -246,7 +255,7 @@ type ReactivateTenantHttpError = {
246
255
  declare function clearCache(): void;
247
256
  interface TenantsAPI {
248
257
  /**
249
- * Creates a Tenant
258
+ * Creates a tenant in the requested region, linked to the provided license key. You must use a regional OAuth client generated via the [My Qlik portal](https://account.myqlik.qlik.com/account) to call this endpoint. Tenant creation, deactivation, and reactivation requests must be sent to the register endpoint in the relevant Qlik Cloud region, e.g. `https://register.us.qlikcloud.com/api/v1/tenants` if interacting with tenants in the `us` region.
250
259
  *
251
260
  * @param body an object with the body content
252
261
  * @throws CreateTenantHttpError
@@ -259,22 +268,22 @@ interface TenantsAPI {
259
268
  */
260
269
  getMyTenant: typeof getMyTenant;
261
270
  /**
262
- * Retrieve a single tenant by id.
271
+ * Retrieves a specific tenant by ID.
263
272
  *
264
- * @param tenantId The id of the tenant to retrieve
273
+ * @param tenantId The ID of the tenant to retrieve
265
274
  * @throws GetTenantHttpError
266
275
  */
267
276
  getTenant: typeof getTenant;
268
277
  /**
269
- * Update a tenant by id.
278
+ * Updates properties of a specific tenant by ID.
270
279
  *
271
- * @param tenantId The id of the tenant to update
280
+ * @param tenantId The ID of the tenant to update
272
281
  * @param body an object with the body content
273
282
  * @throws PatchTenantHttpError
274
283
  */
275
284
  patchTenant: typeof patchTenant;
276
285
  /**
277
- * Deactivates a tenant.
286
+ * Deactivates a specific tenant. Once deactivated, tenant will be deleted on or after `estimatedPurgeDate`. Tenant can be reactivated using `/v1/tenants/{tenantId}/actions/reactivate` until this date. You must use a regional OAuth client generated via the [My Qlik portal](https://account.myqlik.qlik.com/account) to call this endpoint. Tenant creation, deactivation, and reactivation requests must be sent to the register endpoint in the relevant Qlik Cloud region, e.g. `https://register.us.qlikcloud.com/api/v1/tenants/{tenantId}/actions/deactivate` if interacting with tenants in the `us` region.
278
287
  *
279
288
  * @param tenantId The id of the tenant to deactivate
280
289
  * @param body an object with the body content
@@ -282,7 +291,7 @@ interface TenantsAPI {
282
291
  */
283
292
  deactivateTenant: typeof deactivateTenant;
284
293
  /**
285
- * Reactivates a disabled tenant.
294
+ * Reactivates a deactivated tenant. Tenants can be reactivated until the `estimatedPurgeDate` provided at time of deactivation. You must use a regional OAuth client generated via the [My Qlik portal](https://account.myqlik.qlik.com/account) to call this endpoint. Tenant creation, deactivation, and reactivation requests must be sent to the register endpoint in the relevant Qlik Cloud region, e.g. `https://register.us.qlikcloud.com/api/v1/tenants/{tenantId}/actions/reactivate` if interacting with tenants in the `us` region.
286
295
  *
287
296
  * @param tenantId The id of the tenant to reactivate
288
297
  * @param body an object with the body content
package/tenants.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/TUPLQG25.js";
5
- import "./chunks/SNQHDUYY.js";
4
+ } from "./chunks/SMQGR3VM.js";
5
+ import "./chunks/3KD5W26Z.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/tenants.ts
package/themes.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/TUPLQG25.js";
5
- import "./chunks/SNQHDUYY.js";
4
+ } from "./chunks/SMQGR3VM.js";
5
+ import "./chunks/3KD5W26Z.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/themes.ts
package/transports.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/TUPLQG25.js";
5
- import "./chunks/SNQHDUYY.js";
4
+ } from "./chunks/SMQGR3VM.js";
5
+ import "./chunks/3KD5W26Z.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/transports.ts
package/users.d.ts CHANGED
@@ -135,7 +135,7 @@ type JSONPatch = {
135
135
  /** The operation to be performed. */
136
136
  op: "replace" | "set (Deprecated)" | "unset (Deprecated)" | "add (Deprecated)" | "renew";
137
137
  /** A JSON Pointer. */
138
- path: "/name" | "/roles (Deprecated)" | "/assignedRoles" | "/inviteExpiry" | "/preferredZoneinfo" | "/preferredLocale" | "/status";
138
+ path: "/name" | "/roles (Deprecated)" | "/assignedRoles" | "/inviteExpiry" | "/preferredZoneinfo" | "/preferredLocale" | "/status" | "/assignedGroups";
139
139
  /** The value to be used for this operation. */
140
140
  value: string | boolean | unknown[] | AssignedRolesRefIDs | AssignedRolesRefNames;
141
141
  };
package/users.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/TUPLQG25.js";
5
- import "./chunks/SNQHDUYY.js";
4
+ } from "./chunks/SMQGR3VM.js";
5
+ import "./chunks/3KD5W26Z.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/users.ts
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/TUPLQG25.js";
5
- import "./chunks/SNQHDUYY.js";
4
+ } from "./chunks/SMQGR3VM.js";
5
+ import "./chunks/3KD5W26Z.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/web-integrations.ts
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/TUPLQG25.js";
5
- import "./chunks/SNQHDUYY.js";
4
+ } from "./chunks/SMQGR3VM.js";
5
+ import "./chunks/3KD5W26Z.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/web-notifications.ts
package/webhooks.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/TUPLQG25.js";
5
- import "./chunks/SNQHDUYY.js";
4
+ } from "./chunks/SMQGR3VM.js";
5
+ import "./chunks/3KD5W26Z.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/webhooks.ts