@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.
- package/api-keys.js +2 -2
- package/apps.d.ts +9 -1
- package/apps.js +2 -2
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.js +2 -2
- package/brands.d.ts +22 -22
- package/brands.js +2 -2
- package/chunks/{SNQHDUYY.js → 3KD5W26Z.js} +3 -3
- package/chunks/{PR52AAWU.js → 3REGOC54.js} +35 -31
- package/chunks/{TGDZVKG2.js → 3W4PFUMC.js} +1 -1
- package/chunks/{SEBN4KFZ.js → CUC5USM5.js} +1 -1
- package/chunks/{GZRY5VHW.js → E5TLRYTH.js} +1 -1
- package/chunks/{OEVNZ5IQ.js → OCV75U5H.js} +9 -8
- package/chunks/{TUPLQG25.js → SMQGR3VM.js} +2 -2
- package/chunks/{KBR7JBWC.js → UJV2QU2J.js} +37 -23
- package/chunks/{VHPC6L7L.js → VXEOAWM6.js} +1 -1
- package/collections.js +2 -2
- package/csp-origins.js +2 -2
- package/data-assets.js +2 -2
- package/data-connections.d.ts +1 -1
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +63 -1
- package/data-credentials.js +11 -2
- package/data-files.js +2 -2
- package/extensions.js +2 -2
- package/glossaries.js +2 -2
- package/groups.js +2 -2
- package/identity-providers.d.ts +16 -16
- package/identity-providers.js +2 -2
- package/index.js +5 -4
- package/items.js +2 -2
- package/licenses.js +2 -2
- package/package.json +2 -2
- package/qix.d.ts +5 -2
- package/qix.js +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.js +2 -2
- package/reloads.js +2 -2
- package/reports.d.ts +37 -1
- package/reports.js +2 -2
- package/roles.js +2 -2
- package/spaces.d.ts +2 -0
- package/spaces.js +2 -2
- package/temp-contents.js +2 -2
- package/tenants.d.ts +24 -15
- package/tenants.js +2 -2
- package/themes.js +2 -2
- package/transports.js +2 -2
- package/users.d.ts +1 -1
- package/users.js +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.js +2 -2
- 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
package/temp-contents.js
CHANGED
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
|
-
*
|
|
161
|
+
* Retrieves a specific tenant by ID.
|
|
153
162
|
*
|
|
154
|
-
* @param tenantId The
|
|
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
|
-
*
|
|
178
|
+
* Updates properties of a specific tenant by ID.
|
|
170
179
|
*
|
|
171
|
-
* @param tenantId The
|
|
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
|
|
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
|
-
*
|
|
271
|
+
* Retrieves a specific tenant by ID.
|
|
263
272
|
*
|
|
264
|
-
* @param tenantId The
|
|
273
|
+
* @param tenantId The ID of the tenant to retrieve
|
|
265
274
|
* @throws GetTenantHttpError
|
|
266
275
|
*/
|
|
267
276
|
getTenant: typeof getTenant;
|
|
268
277
|
/**
|
|
269
|
-
*
|
|
278
|
+
* Updates properties of a specific tenant by ID.
|
|
270
279
|
*
|
|
271
|
-
* @param tenantId The
|
|
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
|
|
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
package/themes.js
CHANGED
package/transports.js
CHANGED
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
package/web-integrations.js
CHANGED
package/web-notifications.js
CHANGED
package/webhooks.js
CHANGED