@qlik/api 1.24.0 → 1.25.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/chunks/UA6BE3VB.js +1 -1
- package/groups.d.ts +2 -2
- package/items.d.ts +2 -2
- package/package.json +1 -1
- package/qix.d.ts +34 -1
- package/spaces.d.ts +22 -22
- package/users.d.ts +37 -26
package/chunks/UA6BE3VB.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./2ZQ3ZX7F.js";
|
|
7
7
|
|
|
8
8
|
// src/public/invoke-fetch.ts
|
|
9
|
-
var defaultUserAgent = "qlik-api/1.
|
|
9
|
+
var defaultUserAgent = "qlik-api/1.25.0";
|
|
10
10
|
async function invokeFetch(api, props) {
|
|
11
11
|
const hostConfig = props.options?.hostConfig;
|
|
12
12
|
let userAgent;
|
package/groups.d.ts
CHANGED
|
@@ -108,8 +108,8 @@ type GroupPatch = {
|
|
|
108
108
|
op: "replace";
|
|
109
109
|
/** Attribute name of a field of the Groups entity. "Name" and "description" is only available for custom groups. */
|
|
110
110
|
path: "assignedRoles" | "name" | "description";
|
|
111
|
-
/** The roles to assign to the group (limit of 100 roles per group). */
|
|
112
|
-
value: AssignedRolesRefIDs | AssignedRolesRefNames;
|
|
111
|
+
/** The roles to assign to the group (limit of 100 roles per group) or the new custom group name or description. */
|
|
112
|
+
value: AssignedRolesRefIDs | AssignedRolesRefNames | string;
|
|
113
113
|
};
|
|
114
114
|
/**
|
|
115
115
|
* An array of JSON Patches for a group.
|
package/items.d.ts
CHANGED
|
@@ -289,8 +289,8 @@ declare const getItems: (query: {
|
|
|
289
289
|
/** @deprecated
|
|
290
290
|
* Whether or not to return items in a shared space. */
|
|
291
291
|
shared?: boolean;
|
|
292
|
-
/** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
293
|
-
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
|
|
292
|
+
/** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, recentlyUsed and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
293
|
+
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt" | "+recentlyUsed" | "-recentlyUsed";
|
|
294
294
|
/** The space's unique identifier (supports \'personal\' as spaceId). */
|
|
295
295
|
spaceId?: string;
|
|
296
296
|
/** The case-sensitive string used to filter items on space type(s). For example '?spaceType=shared,personal'. */
|
package/package.json
CHANGED
package/qix.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { H as HostConfig } from './auth-types-PkN9CAF_.js';
|
|
2
2
|
import './invoke-fetch-types-BLrpeZOL.js';
|
|
3
3
|
|
|
4
|
-
declare const QIX_SCHEMA_VERSION = "12.
|
|
4
|
+
declare const QIX_SCHEMA_VERSION = "12.2246.0";
|
|
5
5
|
type AlfaNumString = {
|
|
6
6
|
/**
|
|
7
7
|
* Calculated value.
|
|
@@ -10391,6 +10391,22 @@ type NativeGenericObjectFunctions<CustomProperties, CustomLayout, GenericObjectR
|
|
|
10391
10391
|
* Stability: *locked*
|
|
10392
10392
|
*/
|
|
10393
10393
|
selectPivotCells: (path: string, selections: NxSelectionCell[], softLock?: boolean, deselectOnlyOneSelected?: boolean) => Promise<boolean>;
|
|
10394
|
+
/**
|
|
10395
|
+
* You can use the SetActiveField method with any object that contains a cyclic group as a dimension.
|
|
10396
|
+
* This method allows you to jump to a specific field in a cyclic dimension. If NewIndex is out-of-bounds of the dimension's fields then no action is taken.
|
|
10397
|
+
* A hypercube will avoid field collisions with its other dimensions when setting the active field in this manner. If there are any collisions then no action is performed.
|
|
10398
|
+
*
|
|
10399
|
+
* Parameters:
|
|
10400
|
+
*
|
|
10401
|
+
* - `path` - Path to the definition of the object to be selected.
|
|
10402
|
+
* For example, _/qHyperCubeDef_ .
|
|
10403
|
+
* - `dimNo` - Dimension number or index starting from 0.
|
|
10404
|
+
* The default value is 0.
|
|
10405
|
+
* - `newIndex` - Index of the field to jump to.
|
|
10406
|
+
*
|
|
10407
|
+
* Stability: *experimental*
|
|
10408
|
+
*/
|
|
10409
|
+
setActiveField: (path: string, dimNo: number, newIndex: number) => Promise<void>;
|
|
10394
10410
|
/**
|
|
10395
10411
|
* Sets the order of the children in a generic object.
|
|
10396
10412
|
* <div class=note>To change the order of the children in a generic object, the identifiers of all the children must be included in the list of the identifiers (in _qIds_ ). </div>
|
|
@@ -10428,6 +10444,23 @@ type NativeGenericObjectFunctions<CustomProperties, CustomLayout, GenericObjectR
|
|
|
10428
10444
|
* Stability: *locked*
|
|
10429
10445
|
*/
|
|
10430
10446
|
setProperties: (prop: CustomProperties) => Promise<void>;
|
|
10447
|
+
/**
|
|
10448
|
+
* You can use the StepCycle method with any object that contains a cyclic group as a dimension.
|
|
10449
|
+
* This method allows you to move between different fields in a cyclic dimension.
|
|
10450
|
+
* A hypercube will avoid field collisions with its other dimensions when cycling in this manner. If all other fields cause collisions then no cycling is performed.
|
|
10451
|
+
*
|
|
10452
|
+
* Parameters:
|
|
10453
|
+
*
|
|
10454
|
+
* - `path` - Path to the definition of the object to be selected.
|
|
10455
|
+
* For example, _/qHyperCubeDef_ .
|
|
10456
|
+
* - `dimNo` - Dimension number or index starting from 0.
|
|
10457
|
+
* The default value is 0.
|
|
10458
|
+
* - `nbrSteps` - Number of steps you want to cycle.
|
|
10459
|
+
* Positive values cycle forwards while negative values cycle backwards. A value of 0 leads to no action being taken.
|
|
10460
|
+
*
|
|
10461
|
+
* Stability: *experimental*
|
|
10462
|
+
*/
|
|
10463
|
+
stepCycle: (path: string, dimNo: number, nbrSteps: number) => Promise<void>;
|
|
10431
10464
|
/**
|
|
10432
10465
|
* Removes the generic object from the list of approved objects
|
|
10433
10466
|
* <div class=note>This operation is possible only in Qlik Sense Enterprise.</div>
|
package/spaces.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
|
|
|
2
2
|
import './auth-types-PkN9CAF_.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* The supported actions for user-created spaces
|
|
5
|
+
* The supported actions for user-created spaces.
|
|
6
6
|
*/
|
|
7
|
-
type ActionName = "create" | "read" | "update" | "delete" | "publish";
|
|
7
|
+
type ActionName = "change_owner" | "create" | "read" | "update" | "delete" | "publish";
|
|
8
8
|
type Assignment = {
|
|
9
9
|
/** The userId or groupId based on the type. */
|
|
10
10
|
assigneeId: string;
|
|
@@ -33,7 +33,7 @@ type Assignment = {
|
|
|
33
33
|
type AssignmentCreate = {
|
|
34
34
|
/** The userId or groupId based on the type. */
|
|
35
35
|
assigneeId: string;
|
|
36
|
-
/** The roles assigned to the assigneeId. */
|
|
36
|
+
/** The roles assigned to the assigneeId. For the full list of roles assignable in this space type, call `GET /spaces/{spaceId}` and inspect the `meta.assignableRoles` object. */
|
|
37
37
|
roles: RoleType[];
|
|
38
38
|
/** The type of assignment such as user or group */
|
|
39
39
|
type: AssignmentType;
|
|
@@ -43,7 +43,7 @@ type AssignmentCreate = {
|
|
|
43
43
|
*/
|
|
44
44
|
type AssignmentType = "user" | "group";
|
|
45
45
|
type AssignmentUpdate = {
|
|
46
|
-
/** The roles assigned to the assigneeId. */
|
|
46
|
+
/** The roles assigned to the assigneeId. For the full list of roles assignable in this space type, call `GET /spaces/{spaceId}` and inspect the `meta.assignableRoles` object. */
|
|
47
47
|
roles?: RoleType[];
|
|
48
48
|
};
|
|
49
49
|
type Assignments = {
|
|
@@ -111,9 +111,9 @@ type Link = {
|
|
|
111
111
|
* Supported roles by space type:
|
|
112
112
|
* - Shared: codeveloper, consumer, dataconsumer, facilitator, producer
|
|
113
113
|
* - Managed: consumer, contributor, dataconsumer, facilitator, publisher, basicconsumer
|
|
114
|
-
* - Data: consumer, dataconsumer, facilitator, operator, producer, publisher
|
|
114
|
+
* - Data: consumer, dataconsumer, datapreview, facilitator, operator, producer, publisher
|
|
115
115
|
*/
|
|
116
|
-
type RoleType = "consumer" | "contributor" | "dataconsumer" | "facilitator" | "operator" | "producer" | "publisher" | "basicconsumer" | "codeveloper";
|
|
116
|
+
type RoleType = "consumer" | "contributor" | "dataconsumer" | "datapreview" | "facilitator" | "operator" | "producer" | "publisher" | "basicconsumer" | "codeveloper";
|
|
117
117
|
/**
|
|
118
118
|
* The supported roles for Shared spaces.
|
|
119
119
|
*/
|
|
@@ -249,7 +249,7 @@ type GetSpacesHttpError = {
|
|
|
249
249
|
status: number;
|
|
250
250
|
};
|
|
251
251
|
/**
|
|
252
|
-
* Creates a space.
|
|
252
|
+
* Creates a space. Spaces names must be unique. Spaces of type `data` should only be used for Qlik Talend Data Integration projects.
|
|
253
253
|
*
|
|
254
254
|
* @param body an object with the body content
|
|
255
255
|
* @throws CreateSpaceHttpError
|
|
@@ -266,7 +266,7 @@ type CreateSpaceHttpError = {
|
|
|
266
266
|
status: number;
|
|
267
267
|
};
|
|
268
268
|
/**
|
|
269
|
-
* Gets a list of distinct space types.
|
|
269
|
+
* Gets a list of distinct space types available for use in the tenant.
|
|
270
270
|
*
|
|
271
271
|
* @throws GetSpaceTypesHttpError
|
|
272
272
|
*/
|
|
@@ -316,7 +316,7 @@ type GetSpaceHttpError = {
|
|
|
316
316
|
status: number;
|
|
317
317
|
};
|
|
318
318
|
/**
|
|
319
|
-
*
|
|
319
|
+
* Updates one or more properties of a space. To update all properties at once, use `PUT /spaces/{spaceId}`.
|
|
320
320
|
*
|
|
321
321
|
* @param spaceId The ID of the space to update.
|
|
322
322
|
* @param body an object with the body content
|
|
@@ -334,7 +334,7 @@ type PatchSpaceHttpError = {
|
|
|
334
334
|
status: number;
|
|
335
335
|
};
|
|
336
336
|
/**
|
|
337
|
-
* Updates a space.
|
|
337
|
+
* Updates a space. To update specific properties, use `PATCH /spaces/{spaceId}`.
|
|
338
338
|
*
|
|
339
339
|
* @param spaceId The ID of the space to update.
|
|
340
340
|
* @param body an object with the body content
|
|
@@ -352,7 +352,7 @@ type UpdateSpaceHttpError = {
|
|
|
352
352
|
status: number;
|
|
353
353
|
};
|
|
354
354
|
/**
|
|
355
|
-
* Retrieves the assignments of the space matching the query.
|
|
355
|
+
* Retrieves the assignments of the space matching the query. Each assignment represents one user or group and their corresponding roles in the space. Assignments are not shown for the owner of a space, who receive all `assignableRoles` by default.
|
|
356
356
|
*
|
|
357
357
|
* @param spaceId The ID of the space of the assignment.
|
|
358
358
|
* @param query an object with query parameters
|
|
@@ -383,7 +383,7 @@ type GetSpaceAssignmentsHttpError = {
|
|
|
383
383
|
status: number;
|
|
384
384
|
};
|
|
385
385
|
/**
|
|
386
|
-
* Creates an assignment.
|
|
386
|
+
* Creates an assignment for a user or group (assignee) to a space with the specified roles. Assignments are not required for space owners, who receive all `assignableRoles` by default. Only one assignment can exist per space, per user or group.
|
|
387
387
|
*
|
|
388
388
|
* @param spaceId The ID of the space of the assignment.
|
|
389
389
|
* @param body an object with the body content
|
|
@@ -419,7 +419,7 @@ type DeleteSpaceAssignmentHttpError = {
|
|
|
419
419
|
status: number;
|
|
420
420
|
};
|
|
421
421
|
/**
|
|
422
|
-
* Retrieves a single assignment by ID.
|
|
422
|
+
* Retrieves a single assignment by assignment ID. Use `GET /spaces/{spaceId}/assignments` to list all users and groups assigned to the space and their assignment ID.
|
|
423
423
|
*
|
|
424
424
|
* @param spaceId The ID of the space of the assignment.
|
|
425
425
|
* @param assignmentId The ID of the assignment to retrieve.
|
|
@@ -437,7 +437,7 @@ type GetSpaceAssignmentHttpError = {
|
|
|
437
437
|
status: number;
|
|
438
438
|
};
|
|
439
439
|
/**
|
|
440
|
-
* Updates a single assignment by ID. The complete list of roles must be provided.
|
|
440
|
+
* Updates a single assignment by assignment ID. Use `GET /spaces/{spaceId}/assignments` to list all users and groups assigned to the space and their assignment ID. The complete list of roles must be provided.
|
|
441
441
|
*
|
|
442
442
|
* @param spaceId The ID of the space of the assignment.
|
|
443
443
|
* @param assignmentId The ID of the assignment to update.
|
|
@@ -468,14 +468,14 @@ interface SpacesAPI {
|
|
|
468
468
|
*/
|
|
469
469
|
getSpaces: typeof getSpaces;
|
|
470
470
|
/**
|
|
471
|
-
* Creates a space.
|
|
471
|
+
* Creates a space. Spaces names must be unique. Spaces of type `data` should only be used for Qlik Talend Data Integration projects.
|
|
472
472
|
*
|
|
473
473
|
* @param body an object with the body content
|
|
474
474
|
* @throws CreateSpaceHttpError
|
|
475
475
|
*/
|
|
476
476
|
createSpace: typeof createSpace;
|
|
477
477
|
/**
|
|
478
|
-
* Gets a list of distinct space types.
|
|
478
|
+
* Gets a list of distinct space types available for use in the tenant.
|
|
479
479
|
*
|
|
480
480
|
* @throws GetSpaceTypesHttpError
|
|
481
481
|
*/
|
|
@@ -495,7 +495,7 @@ interface SpacesAPI {
|
|
|
495
495
|
*/
|
|
496
496
|
getSpace: typeof getSpace;
|
|
497
497
|
/**
|
|
498
|
-
*
|
|
498
|
+
* Updates one or more properties of a space. To update all properties at once, use `PUT /spaces/{spaceId}`.
|
|
499
499
|
*
|
|
500
500
|
* @param spaceId The ID of the space to update.
|
|
501
501
|
* @param body an object with the body content
|
|
@@ -503,7 +503,7 @@ interface SpacesAPI {
|
|
|
503
503
|
*/
|
|
504
504
|
patchSpace: typeof patchSpace;
|
|
505
505
|
/**
|
|
506
|
-
* Updates a space.
|
|
506
|
+
* Updates a space. To update specific properties, use `PATCH /spaces/{spaceId}`.
|
|
507
507
|
*
|
|
508
508
|
* @param spaceId The ID of the space to update.
|
|
509
509
|
* @param body an object with the body content
|
|
@@ -511,7 +511,7 @@ interface SpacesAPI {
|
|
|
511
511
|
*/
|
|
512
512
|
updateSpace: typeof updateSpace;
|
|
513
513
|
/**
|
|
514
|
-
* Retrieves the assignments of the space matching the query.
|
|
514
|
+
* Retrieves the assignments of the space matching the query. Each assignment represents one user or group and their corresponding roles in the space. Assignments are not shown for the owner of a space, who receive all `assignableRoles` by default.
|
|
515
515
|
*
|
|
516
516
|
* @param spaceId The ID of the space of the assignment.
|
|
517
517
|
* @param query an object with query parameters
|
|
@@ -519,7 +519,7 @@ interface SpacesAPI {
|
|
|
519
519
|
*/
|
|
520
520
|
getSpaceAssignments: typeof getSpaceAssignments;
|
|
521
521
|
/**
|
|
522
|
-
* Creates an assignment.
|
|
522
|
+
* Creates an assignment for a user or group (assignee) to a space with the specified roles. Assignments are not required for space owners, who receive all `assignableRoles` by default. Only one assignment can exist per space, per user or group.
|
|
523
523
|
*
|
|
524
524
|
* @param spaceId The ID of the space of the assignment.
|
|
525
525
|
* @param body an object with the body content
|
|
@@ -535,7 +535,7 @@ interface SpacesAPI {
|
|
|
535
535
|
*/
|
|
536
536
|
deleteSpaceAssignment: typeof deleteSpaceAssignment;
|
|
537
537
|
/**
|
|
538
|
-
* Retrieves a single assignment by ID.
|
|
538
|
+
* Retrieves a single assignment by assignment ID. Use `GET /spaces/{spaceId}/assignments` to list all users and groups assigned to the space and their assignment ID.
|
|
539
539
|
*
|
|
540
540
|
* @param spaceId The ID of the space of the assignment.
|
|
541
541
|
* @param assignmentId The ID of the assignment to retrieve.
|
|
@@ -543,7 +543,7 @@ interface SpacesAPI {
|
|
|
543
543
|
*/
|
|
544
544
|
getSpaceAssignment: typeof getSpaceAssignment;
|
|
545
545
|
/**
|
|
546
|
-
* Updates a single assignment by ID. The complete list of roles must be provided.
|
|
546
|
+
* Updates a single assignment by assignment ID. Use `GET /spaces/{spaceId}/assignments` to list all users and groups assigned to the space and their assignment ID. The complete list of roles must be provided.
|
|
547
547
|
*
|
|
548
548
|
* @param spaceId The ID of the space of the assignment.
|
|
549
549
|
* @param assignmentId The ID of the assignment to update.
|
package/users.d.ts
CHANGED
|
@@ -14,6 +14,15 @@ type AssignedGroups = {
|
|
|
14
14
|
/** The provider type of the group */
|
|
15
15
|
providerType?: "idp" | "custom";
|
|
16
16
|
}[];
|
|
17
|
+
/**
|
|
18
|
+
* An array of group reference names and provider type.
|
|
19
|
+
*/
|
|
20
|
+
type AssignedGroupsRefNames = {
|
|
21
|
+
/** The name of the group */
|
|
22
|
+
name: string;
|
|
23
|
+
/** The type of provider for the group. */
|
|
24
|
+
providerType: "idp" | "custom";
|
|
25
|
+
}[];
|
|
17
26
|
/**
|
|
18
27
|
* An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles.
|
|
19
28
|
*/
|
|
@@ -28,21 +37,7 @@ type AssignedRoles = {
|
|
|
28
37
|
readonly type: "default" | "custom";
|
|
29
38
|
}[];
|
|
30
39
|
/**
|
|
31
|
-
* An array of
|
|
32
|
-
*/
|
|
33
|
-
type AssignedRolesRefIDs = {
|
|
34
|
-
/** The unique role identitier */
|
|
35
|
-
id: string;
|
|
36
|
-
}[];
|
|
37
|
-
/**
|
|
38
|
-
* An array of role reference names.
|
|
39
|
-
*/
|
|
40
|
-
type AssignedRolesRefNames = {
|
|
41
|
-
/** The name of the role */
|
|
42
|
-
name: string;
|
|
43
|
-
}[];
|
|
44
|
-
/**
|
|
45
|
-
* An array of scopes assigned to user
|
|
40
|
+
* An array of scopes assigned to a user
|
|
46
41
|
*/
|
|
47
42
|
type AssignedScopes = string[];
|
|
48
43
|
/**
|
|
@@ -132,17 +127,31 @@ type InviteRequestData = {
|
|
|
132
127
|
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
133
128
|
*/
|
|
134
129
|
type JSONPatch = {
|
|
135
|
-
/** The operation to be performed. */
|
|
136
|
-
op: "replace" | "set
|
|
137
|
-
/** A JSON Pointer. */
|
|
138
|
-
path: "/name" | "/roles
|
|
130
|
+
/** The operation to be performed. The fields `set`, `unset`, and `add` are deprecated. */
|
|
131
|
+
op: "replace" | "set" | "unset" | "add" | "renew";
|
|
132
|
+
/** A JSON Pointer. The field `roles` is deprecated. */
|
|
133
|
+
path: "/name" | "/roles" | "/assignedRoles" | "/inviteExpiry" | "/preferredZoneinfo" | "/preferredLocale" | "/status" | "/assignedGroups";
|
|
139
134
|
/** The value to be used for this operation. */
|
|
140
|
-
value: string | boolean | unknown[] |
|
|
135
|
+
value: string | boolean | unknown[] | RefIDs | RefNames | AssignedGroupsRefNames;
|
|
141
136
|
};
|
|
142
137
|
/**
|
|
143
138
|
* An array of JSON Patch documents
|
|
144
139
|
*/
|
|
145
140
|
type JSONPatchArray = JSONPatch[];
|
|
141
|
+
/**
|
|
142
|
+
* An array of entity reference identifiers (e.g. roles, groups).
|
|
143
|
+
*/
|
|
144
|
+
type RefIDs = {
|
|
145
|
+
/** The unique identitier */
|
|
146
|
+
id: string;
|
|
147
|
+
}[];
|
|
148
|
+
/**
|
|
149
|
+
* An array of reference names (e.g. roles).
|
|
150
|
+
*/
|
|
151
|
+
type RefNames = {
|
|
152
|
+
/** The name of the entity */
|
|
153
|
+
name: string;
|
|
154
|
+
}[];
|
|
146
155
|
/**
|
|
147
156
|
* Invitee result item
|
|
148
157
|
*/
|
|
@@ -164,7 +173,7 @@ type User = {
|
|
|
164
173
|
assignedGroups?: AssignedGroups;
|
|
165
174
|
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
|
|
166
175
|
assignedRoles?: AssignedRoles;
|
|
167
|
-
/** An array of scopes assigned to user */
|
|
176
|
+
/** An array of scopes assigned to a user */
|
|
168
177
|
readonly assignedScopes?: AssignedScopes;
|
|
169
178
|
/** @deprecated
|
|
170
179
|
* Deprecated. Use `createdAt` instead. */
|
|
@@ -204,7 +213,7 @@ type User = {
|
|
|
204
213
|
* List of system roles to which the user has been assigned. Only returned when permitted by access control. Deprecated. Use `assignedRoles` instead. */
|
|
205
214
|
roles?: ("TenantAdmin" | "Developer" | "AnalyticsAdmin" | "DataAdmin" | "DataSpaceCreator" | "ManagedSpaceCreator" | "SharedSpaceCreator")[];
|
|
206
215
|
/** The status of the user within the tenant. */
|
|
207
|
-
status?: "active" | "invited" | "disabled" | "deleted";
|
|
216
|
+
status?: "active" | "invited" | "disabled" | "deleted" | "provisioned";
|
|
208
217
|
/** The unique user identitier from an identity provider. */
|
|
209
218
|
subject: string;
|
|
210
219
|
/** The tenant that the user belongs too. */
|
|
@@ -221,7 +230,7 @@ type UserCount = {
|
|
|
221
230
|
};
|
|
222
231
|
type UserPostSchema = {
|
|
223
232
|
/** The roles to assign to the user. */
|
|
224
|
-
assignedRoles?:
|
|
233
|
+
assignedRoles?: RefIDs | RefNames;
|
|
225
234
|
/** The email address for the user. This is a required field when inviting a user. */
|
|
226
235
|
email?: string;
|
|
227
236
|
/** The name of the user. */
|
|
@@ -259,6 +268,8 @@ type Users = {
|
|
|
259
268
|
href: string;
|
|
260
269
|
};
|
|
261
270
|
};
|
|
271
|
+
/** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
|
|
272
|
+
totalResults?: number;
|
|
262
273
|
};
|
|
263
274
|
/**
|
|
264
275
|
* Returns a list of users using cursor-based pagination.
|
|
@@ -315,7 +326,7 @@ declare const getUsers: (query: {
|
|
|
315
326
|
* The role to filter by. Deprecated. */
|
|
316
327
|
role?: string;
|
|
317
328
|
/** The field to sort by, with +/- prefix indicating sort order */
|
|
318
|
-
sort?: "name" | "+name" | "-name";
|
|
329
|
+
sort?: "name" | "+name" | "-name" | "_id" | "+_id" | "-_id" | "id" | "+id" | "-id" | "tenantId" | "+tenantId" | "-tenantId" | "clientId" | "+clientId" | "-clientId" | "status" | "+status" | "-status" | "subject" | "+subject" | "-subject" | "email" | "+email" | "-email" | "inviteExpiry" | "+inviteExpiry" | "-inviteExpiry" | "createdAt" | "+createdAt" | "-createdAt";
|
|
319
330
|
/** @deprecated
|
|
320
331
|
* The user parameter to sort by. Deprecated. Use `sort` instead. */
|
|
321
332
|
sortBy?: "name";
|
|
@@ -327,7 +338,7 @@ declare const getUsers: (query: {
|
|
|
327
338
|
startingAfter?: string;
|
|
328
339
|
/** @deprecated
|
|
329
340
|
* The status to filter by. Supports multiple values delimited by commas. Deprecated. Use the new `filter` parameter to provide an advanced query filter. */
|
|
330
|
-
status?: "active" | "invited" | "disabled" | "deleted";
|
|
341
|
+
status?: "active" | "invited" | "disabled" | "deleted" | "provisioned";
|
|
331
342
|
/** @deprecated
|
|
332
343
|
* The subject to filter by. Deprecated. Use the new `filter` parameter to provide an advanced query filter. */
|
|
333
344
|
subject?: string;
|
|
@@ -593,4 +604,4 @@ interface UsersAPI {
|
|
|
593
604
|
*/
|
|
594
605
|
declare const usersExport: UsersAPI;
|
|
595
606
|
|
|
596
|
-
export { type AssignedGroups, type
|
|
607
|
+
export { type AssignedGroups, type AssignedGroupsRefNames, type AssignedRoles, type AssignedScopes, type CountUsersHttpError, type CountUsersHttpResponse, type CreateUserHttpError, type CreateUserHttpResponse, type DeleteUserHttpError, type DeleteUserHttpResponse, type Error, type ErrorItem, type Errors, type ErrorsResponse, type Filter, type FilterUsersHttpError, type FilterUsersHttpResponse, type GetMyUserHttpError, type GetMyUserHttpResponse, type GetUserHttpError, type GetUserHttpResponse, type GetUsersHttpError, type GetUsersHttpResponse, type InviteDataResponse, type InviteErrorItem, type InviteItem, type InviteRequestData, type InviteUsersHttpError, type InviteUsersHttpResponse, type JSONPatch, type JSONPatchArray, type PatchUser204HttpResponse, type PatchUser207HttpResponse, type PatchUserHttpError, type PatchUserHttpResponse, type RefIDs, type RefNames, type ResultItem, type User, type UserCount, type UserPostSchema, type Users, type UsersAPI, clearCache, countUsers, createUser, usersExport as default, deleteUser, filterUsers, getMyUser, getUser, getUsers, inviteUsers, patchUser };
|