@qlik/api 2.2.0 → 2.3.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/analytics/change-stores.d.ts +386 -0
- package/analytics/change-stores.js +123 -0
- package/analytics.d.ts +14 -0
- package/analytics.js +13 -0
- package/api-keys.d.ts +362 -3
- package/api-keys.js +2 -3
- package/apps.d.ts +2673 -3
- package/apps.js +2 -3
- package/assistants.d.ts +1370 -3
- package/assistants.js +2 -3
- package/audits.d.ts +318 -3
- package/audits.js +4 -4
- package/auth-types.d.ts +1 -1
- package/auth-types.js +1 -2
- package/auth.d.ts +94 -2
- package/auth.js +63 -3
- package/automation-connections.d.ts +366 -3
- package/automation-connections.js +2 -3
- package/automation-connectors.d.ts +84 -3
- package/automation-connectors.js +2 -3
- package/automations.d.ts +805 -3
- package/automations.js +2 -3
- package/automl-deployments.d.ts +101 -3
- package/automl-deployments.js +2 -3
- package/automl-predictions.d.ts +238 -3
- package/automl-predictions.js +2 -3
- package/banners.d.ts +184 -3
- package/banners.js +2 -3
- package/brands.d.ts +670 -3
- package/brands.js +2 -3
- package/chunks/{auth-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
- package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
- package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
- package/chunks/{auth-functions-BmZgZYSs.js → interceptors-DipDBQQ5.js} +258 -54
- package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
- package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
- package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
- package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
- package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
- package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.js} +48 -50
- package/collections.d.ts +582 -3
- package/collections.js +2 -3
- package/conditions.d.ts +662 -3
- package/conditions.js +2 -3
- package/consumption.d.ts +182 -3
- package/consumption.js +2 -3
- package/core/ip-policies.d.ts +328 -4
- package/core/ip-policies.js +108 -5
- package/core.d.ts +13 -4
- package/core.js +3 -4
- package/csp-origins.d.ts +273 -3
- package/csp-origins.js +2 -3
- package/csrf-token.d.ts +62 -3
- package/csrf-token.js +2 -3
- package/data-alerts.d.ts +1004 -3
- package/data-alerts.js +2 -3
- package/data-assets.d.ts +207 -3
- package/data-assets.js +2 -3
- package/data-connections.d.ts +678 -3
- package/data-connections.js +2 -3
- package/data-credentials.d.ts +292 -3
- package/data-credentials.js +2 -3
- package/data-files.d.ts +860 -3
- package/data-files.js +2 -3
- package/data-qualities.d.ts +175 -3
- package/data-qualities.js +2 -3
- package/data-sets.d.ts +424 -3
- package/data-sets.js +2 -3
- package/data-sources.d.ts +348 -3
- package/data-sources.js +2 -3
- package/data-stores.d.ts +537 -3
- package/data-stores.js +2 -3
- package/dcaas.d.ts +192 -3
- package/dcaas.js +2 -3
- package/di-projects.d.ts +812 -4
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +710 -4
- package/direct-access-agents.js +37 -5
- package/docs/authentication.md +1 -1
- package/encryption.d.ts +372 -3
- package/encryption.js +2 -3
- package/extensions.d.ts +295 -3
- package/extensions.js +2 -3
- package/global-types.d.ts +1 -1
- package/global-types.js +0 -2
- package/glossaries.d.ts +1223 -3
- package/glossaries.js +2 -3
- package/groups.d.ts +510 -3
- package/groups.js +2 -3
- package/identity-providers.d.ts +711 -3
- package/identity-providers.js +2 -3
- package/index.d.ts +78 -69
- package/index.js +28 -10
- package/interceptors.d.ts +52 -3
- package/interceptors.js +1 -2
- package/invoke-fetch-types.d.ts +1 -1
- package/items.d.ts +536 -3
- package/items.js +2 -3
- package/knowledgebases.d.ts +976 -3
- package/knowledgebases.js +2 -3
- package/licenses.d.ts +663 -3
- package/licenses.js +2 -3
- package/lineage-graphs.d.ts +704 -3
- package/lineage-graphs.js +2 -3
- package/ml.d.ts +2808 -3
- package/ml.js +2 -3
- package/notes.d.ts +110 -3
- package/notes.js +2 -3
- package/notifications.d.ts +98 -3
- package/notifications.js +2 -3
- package/oauth-callback.iife.js +1151 -0
- package/oauth-clients.d.ts +562 -3
- package/oauth-clients.js +2 -3
- package/oauth-tokens.d.ts +126 -3
- package/oauth-tokens.js +2 -3
- package/package.json +6 -4
- package/qix.d.ts +3 -3
- package/qix.js +38 -3
- package/questions.d.ts +364 -3
- package/questions.js +2 -3
- package/quotas.d.ts +112 -3
- package/quotas.js +2 -3
- package/reload-tasks.d.ts +249 -3
- package/reload-tasks.js +2 -3
- package/reloads.d.ts +260 -3
- package/reloads.js +2 -3
- package/report-templates.d.ts +287 -3
- package/report-templates.js +2 -3
- package/reports.d.ts +863 -3
- package/reports.js +2 -3
- package/roles.d.ts +312 -3
- package/roles.js +2 -3
- package/sharing-tasks.d.ts +1164 -3
- package/sharing-tasks.js +2 -3
- package/spaces.d.ts +779 -3
- package/spaces.js +2 -3
- package/tasks.d.ts +564 -3
- package/tasks.js +2 -3
- package/temp-contents.d.ts +167 -3
- package/temp-contents.js +2 -3
- package/tenants.d.ts +360 -3
- package/tenants.js +2 -3
- package/themes.d.ts +270 -3
- package/themes.js +2 -3
- package/transports.d.ts +435 -4
- package/transports.js +20 -5
- package/ui-config.d.ts +274 -3
- package/ui-config.js +2 -3
- package/users.d.ts +674 -3
- package/users.js +2 -3
- package/web-integrations.d.ts +294 -3
- package/web-integrations.js +2 -3
- package/web-notifications.d.ts +273 -3
- package/web-notifications.js +2 -3
- package/webhooks.d.ts +505 -3
- package/webhooks.js +2 -3
- package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
- package/chunks/apps-BwpXUGDb.d.ts +0 -2673
- package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
- package/chunks/audits-DakwzT97.d.ts +0 -316
- package/chunks/auth-6mptVm5Q.d.ts +0 -95
- package/chunks/auth-D11iO7ZV.js +0 -65
- package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
- package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
- package/chunks/automations-BGy83EBO.d.ts +0 -797
- package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
- package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
- package/chunks/banners-CgBRnZGv.d.ts +0 -184
- package/chunks/brands-DCgk6Gqx.d.ts +0 -671
- package/chunks/collections-BpYjcpIY.d.ts +0 -582
- package/chunks/conditions-CJJG7Uph.d.ts +0 -662
- package/chunks/consumption-DerFk437.d.ts +0 -182
- package/chunks/core-DQXNZdnf.d.ts +0 -12
- package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
- package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
- package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
- package/chunks/data-assets-CJDcssoX.d.ts +0 -207
- package/chunks/data-connections-VSB13K6g.d.ts +0 -678
- package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
- package/chunks/data-files-CVzn9M6V.d.ts +0 -860
- package/chunks/data-qualities-DBrot957.d.ts +0 -176
- package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
- package/chunks/data-sources-IsAaof_C.d.ts +0 -346
- package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
- package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
- package/chunks/di-projects-DVQTxASr.d.ts +0 -777
- package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
- package/chunks/encryption-BjA6xbCO.d.ts +0 -372
- package/chunks/extensions-OO0WtInj.d.ts +0 -294
- package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
- package/chunks/groups-C86-UG7S.d.ts +0 -511
- package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
- package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
- package/chunks/interceptors-DTYm37AU.js +0 -104
- package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
- package/chunks/ip-policies-DXlf172B.js +0 -108
- package/chunks/items-C-jzqvFW.d.ts +0 -536
- package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
- package/chunks/licenses-xzjnkitW.d.ts +0 -663
- package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
- package/chunks/ml-Abt2MUva.d.ts +0 -2809
- package/chunks/notes-BZxuyDgt.d.ts +0 -111
- package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
- package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
- package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
- package/chunks/qix-CYQsLyGQ.js +0 -40
- package/chunks/questions-BVp0tvNs.d.ts +0 -364
- package/chunks/quotas-CfAebRJd.d.ts +0 -113
- package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
- package/chunks/reloads-CwmagnFx.d.ts +0 -260
- package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
- package/chunks/reports-DzNC6Uq3.d.ts +0 -861
- package/chunks/roles-BYFIY6E7.d.ts +0 -312
- package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
- package/chunks/spaces-BK823t-b.d.ts +0 -780
- package/chunks/tasks-COKDfShO.d.ts +0 -564
- package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
- package/chunks/tenants-Bhn86519.d.ts +0 -361
- package/chunks/themes-v9NbhiBo.d.ts +0 -269
- package/chunks/transports-CqEiFxD3.d.ts +0 -362
- package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
- package/chunks/users-BSOBU_fg.d.ts +0 -675
- package/chunks/web-integrations-MisPAHod.d.ts +0 -295
- package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
- package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
- /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
- /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
- /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
- /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
- /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
- /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
package/glossaries.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./chunks/
|
|
2
|
-
import "./chunks/
|
|
3
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
|
|
1
|
+
import "./chunks/public-runtime-modules-QhLPeQr5.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/glossaries.ts
|
|
6
5
|
/**
|
package/groups.d.ts
CHANGED
|
@@ -1,4 +1,511 @@
|
|
|
1
|
-
import "./chunks/auth-types-
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
3
|
-
|
|
1
|
+
import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
|
|
2
|
+
import "./chunks/invoke-fetch-C1Z0RJYU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/public/rest/groups.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles.
|
|
7
|
+
*/
|
|
8
|
+
type AssignedRoles = {
|
|
9
|
+
/** The unique role identitier */
|
|
10
|
+
id: string;
|
|
11
|
+
/** The role level */
|
|
12
|
+
readonly level: "admin" | "user";
|
|
13
|
+
/** The role name */
|
|
14
|
+
readonly name: string;
|
|
15
|
+
/** The type of role */
|
|
16
|
+
readonly type: "default" | "custom";
|
|
17
|
+
}[];
|
|
18
|
+
/**
|
|
19
|
+
* An array of role reference identifiers.
|
|
20
|
+
* @example
|
|
21
|
+
* [
|
|
22
|
+
* {
|
|
23
|
+
* id: "507f191e810c19729de860ea"
|
|
24
|
+
* }
|
|
25
|
+
* ]
|
|
26
|
+
*/
|
|
27
|
+
type AssignedRolesRefIDs = {
|
|
28
|
+
/** The unique role identitier */
|
|
29
|
+
id: string;
|
|
30
|
+
}[];
|
|
31
|
+
/**
|
|
32
|
+
* An array of role reference names.
|
|
33
|
+
* @example
|
|
34
|
+
* [
|
|
35
|
+
* {
|
|
36
|
+
* name: "TenantAdmin"
|
|
37
|
+
* }
|
|
38
|
+
* ]
|
|
39
|
+
*/
|
|
40
|
+
type AssignedRolesRefNames = {
|
|
41
|
+
/** The name of the role */
|
|
42
|
+
name: string;
|
|
43
|
+
}[];
|
|
44
|
+
/**
|
|
45
|
+
* An error object describing the error.
|
|
46
|
+
*/
|
|
47
|
+
type Error = {
|
|
48
|
+
/** The error code. */
|
|
49
|
+
code: string;
|
|
50
|
+
/** A human-readable explanation specific to this occurrence of the problem. */
|
|
51
|
+
detail?: string;
|
|
52
|
+
/** Additional properties relating to the error. */
|
|
53
|
+
meta?: unknown;
|
|
54
|
+
/** References to the source of the error. */
|
|
55
|
+
source?: {
|
|
56
|
+
/** The URI query parameter that caused the error. */
|
|
57
|
+
parameter?: string;
|
|
58
|
+
/** A JSON Pointer to the property that caused the error. */
|
|
59
|
+
pointer?: string;
|
|
60
|
+
};
|
|
61
|
+
/** The HTTP status code. */
|
|
62
|
+
status?: number;
|
|
63
|
+
/** Summary of the problem. */
|
|
64
|
+
title: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* The error response object describing the error from the handling of an HTTP request.
|
|
68
|
+
* @example
|
|
69
|
+
* {
|
|
70
|
+
* errors: [
|
|
71
|
+
* {
|
|
72
|
+
* code: "GROUPS-7",
|
|
73
|
+
* status: 404,
|
|
74
|
+
* title: "Not found"
|
|
75
|
+
* }
|
|
76
|
+
* ],
|
|
77
|
+
* traceId: "00000000000000000137b213cf12a77b"
|
|
78
|
+
* }
|
|
79
|
+
*/
|
|
80
|
+
type Errors = {
|
|
81
|
+
/** An array of errors related to the operation. */
|
|
82
|
+
errors?: Error[];
|
|
83
|
+
/** A unique identifier for tracing the error. */
|
|
84
|
+
traceId?: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* An advanced query filter to be used for complex user querying in the tenant.
|
|
88
|
+
*/
|
|
89
|
+
type Filter = {
|
|
90
|
+
/** The advanced filtering to be applied the query. All conditional statements within this query parameter are case insensitive. */
|
|
91
|
+
filter?: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* represents a Group document
|
|
95
|
+
*/
|
|
96
|
+
type Group = {
|
|
97
|
+
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
|
|
98
|
+
assignedRoles?: AssignedRoles;
|
|
99
|
+
/** The timestamp for when the group record was created. */
|
|
100
|
+
createdAt: string;
|
|
101
|
+
/** Id of user that created role. */
|
|
102
|
+
readonly createdBy?: string;
|
|
103
|
+
/** A description of a custom group. */
|
|
104
|
+
description?: string;
|
|
105
|
+
/** The unique identifier for the group */
|
|
106
|
+
readonly id: string;
|
|
107
|
+
/** The timestamp for when the group record was last updated. */
|
|
108
|
+
lastUpdatedAt: string;
|
|
109
|
+
/** Contains Links for current document */
|
|
110
|
+
links: {
|
|
111
|
+
self: {
|
|
112
|
+
/** Link to the current group document */
|
|
113
|
+
href: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
/** The name of the group. */
|
|
117
|
+
name: string;
|
|
118
|
+
/** The type of provider for the group. */
|
|
119
|
+
providerType?: "idp" | "custom";
|
|
120
|
+
/** The state of the group. */
|
|
121
|
+
status: "active" | "disabled";
|
|
122
|
+
/** The tenant identifier associated with the given group */
|
|
123
|
+
tenantId: string;
|
|
124
|
+
/** Id of user that last updated this role. */
|
|
125
|
+
readonly updatedBy?: string;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* A JSON Patch document.
|
|
129
|
+
*/
|
|
130
|
+
type GroupPatch = {
|
|
131
|
+
/** The operation to be performed. Currently "replace" is the only supported operation. */
|
|
132
|
+
op: "replace";
|
|
133
|
+
/** Attribute name of a field of the Groups entity. "Name" and "description" is only available for custom groups. */
|
|
134
|
+
path: "assignedRoles" | "name" | "description";
|
|
135
|
+
/** The roles to assign to the group (limit of 100 roles per group) or the new custom group name or description. */
|
|
136
|
+
value: AssignedRolesRefIDs | AssignedRolesRefNames | string;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* An array of JSON Patches for a group.
|
|
140
|
+
* @example
|
|
141
|
+
* [
|
|
142
|
+
* {
|
|
143
|
+
* op: "replace",
|
|
144
|
+
* value: [
|
|
145
|
+
* {
|
|
146
|
+
* name: "TenantAdmin"
|
|
147
|
+
* },
|
|
148
|
+
* {
|
|
149
|
+
* name: "AnalyticsAdmin"
|
|
150
|
+
* }
|
|
151
|
+
* ]
|
|
152
|
+
* }
|
|
153
|
+
* ]
|
|
154
|
+
*/
|
|
155
|
+
type GroupPatchSchema = GroupPatch[];
|
|
156
|
+
/**
|
|
157
|
+
* @example
|
|
158
|
+
* {
|
|
159
|
+
* assignedRoles: [
|
|
160
|
+
* {
|
|
161
|
+
* name: "Developer"
|
|
162
|
+
* }
|
|
163
|
+
* ],
|
|
164
|
+
* name: "Development",
|
|
165
|
+
* status: "active"
|
|
166
|
+
* }
|
|
167
|
+
*/
|
|
168
|
+
type GroupPostSchema = {
|
|
169
|
+
/** The roles to assign to the group (limit of 100 roles per group). */
|
|
170
|
+
assignedRoles?: AssignedRolesRefIDs | AssignedRolesRefNames;
|
|
171
|
+
/** The description of the group. */
|
|
172
|
+
description?: string;
|
|
173
|
+
/** The name of the group (maximum length of 256 characters). */
|
|
174
|
+
name: string;
|
|
175
|
+
/** The type of group provider. Must be "idp" or "custom". Defaults to "idp" if not provided. */
|
|
176
|
+
providerType?: "idp" | "custom";
|
|
177
|
+
/** The status of the created group within the tenant. Defaults to active if empty. */
|
|
178
|
+
status?: "active";
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* represents a GroupSetting document
|
|
182
|
+
*/
|
|
183
|
+
type GroupSettings = {
|
|
184
|
+
/** Determines if groups should be created on login. */
|
|
185
|
+
autoCreateGroups: boolean;
|
|
186
|
+
/** Contains Links for current document */
|
|
187
|
+
links: {
|
|
188
|
+
self: {
|
|
189
|
+
/** Link to the current group settings document */
|
|
190
|
+
href: string;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
/** @deprecated
|
|
194
|
+
* Determines if groups should be created on login. */
|
|
195
|
+
syncIdpGroups?: boolean;
|
|
196
|
+
systemGroups?: {
|
|
197
|
+
"000000000000000000000001"?: {
|
|
198
|
+
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
|
|
199
|
+
assignedRoles?: AssignedRoles;
|
|
200
|
+
/** The timestamp for when the Everyone group was created. */
|
|
201
|
+
createdAt?: string;
|
|
202
|
+
/** For Everyone, this is always `true` and can't be patched. */
|
|
203
|
+
enabled?: boolean;
|
|
204
|
+
/** The ID of the Everyone group. This value will not change and is immutable. */
|
|
205
|
+
id?: "000000000000000000000001";
|
|
206
|
+
/** The timestamp for when the Everyone group was last updated. */
|
|
207
|
+
lastUpdatedAt?: string;
|
|
208
|
+
/** The name of the Everyone group. This value will not change and is immutable. */
|
|
209
|
+
name?: "com.qlik.Everyone";
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
/** The unique tenant identifier. */
|
|
213
|
+
tenantId: string;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* A result object when listing groups.
|
|
217
|
+
*/
|
|
218
|
+
type Groups = {
|
|
219
|
+
/** An array of groups. */
|
|
220
|
+
data?: Group[];
|
|
221
|
+
links?: {
|
|
222
|
+
next?: {
|
|
223
|
+
/** Link to the next page of items */
|
|
224
|
+
href: string;
|
|
225
|
+
};
|
|
226
|
+
prev?: {
|
|
227
|
+
/** Link to the previous page of items */
|
|
228
|
+
href: string;
|
|
229
|
+
};
|
|
230
|
+
self: {
|
|
231
|
+
/** Link to the current page of items */
|
|
232
|
+
href: string;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
/** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
|
|
236
|
+
totalResults?: number;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
240
|
+
*/
|
|
241
|
+
type SettingsPatch = {
|
|
242
|
+
/** The operation to be performed. */
|
|
243
|
+
op: "replace";
|
|
244
|
+
/** A JSON Pointer. */
|
|
245
|
+
path: "/autoCreateGroups" | "/syncIdpGroups" | "/systemGroups/{id}/assignedRoles";
|
|
246
|
+
/** The value to be used for this operation. */
|
|
247
|
+
value: boolean | AssignedRolesRefIDs | AssignedRolesRefNames;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* An array of JSON Patches for the groups settings.
|
|
251
|
+
* @example
|
|
252
|
+
* [
|
|
253
|
+
* {
|
|
254
|
+
* op: "replace",
|
|
255
|
+
* path: "/syncIdpGroups",
|
|
256
|
+
* value: true
|
|
257
|
+
* },
|
|
258
|
+
* {
|
|
259
|
+
* op: "replace",
|
|
260
|
+
* path: "/autoCreateGroups",
|
|
261
|
+
* value: true
|
|
262
|
+
* },
|
|
263
|
+
* {
|
|
264
|
+
* op: "replace",
|
|
265
|
+
* value: [
|
|
266
|
+
* {
|
|
267
|
+
* name: "Steward"
|
|
268
|
+
* }
|
|
269
|
+
* ]
|
|
270
|
+
* }
|
|
271
|
+
* ]
|
|
272
|
+
*/
|
|
273
|
+
type SettingsPatchSchema = SettingsPatch[];
|
|
274
|
+
/**
|
|
275
|
+
* Returns a list of groups with cursor-based pagination.
|
|
276
|
+
*
|
|
277
|
+
* @param query an object with query parameters
|
|
278
|
+
* @throws GetGroupsHttpError
|
|
279
|
+
*/
|
|
280
|
+
declare function getGroups(query: {
|
|
281
|
+
/** The advanced filtering to use for the query. Refer to [RFC 7644](https://datatracker.ietf.org/doc/rfc7644/) for the syntax. Cannot be combined with any of the fields marked as deprecated. All conditional statements within this query parameter are case insensitive. */
|
|
282
|
+
filter?: string;
|
|
283
|
+
/** The number of groups to retrieve. */
|
|
284
|
+
limit?: number;
|
|
285
|
+
/** The next page cursor. */
|
|
286
|
+
next?: string;
|
|
287
|
+
/** The previous page cursor. */
|
|
288
|
+
prev?: string;
|
|
289
|
+
/** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
|
|
290
|
+
sort?: string;
|
|
291
|
+
/** Return system groups (e.g. Everyone) instead of regular groups. Cannot be combined with any other query parameters. */
|
|
292
|
+
systemGroups?: boolean;
|
|
293
|
+
/** Whether to return a total match count in the result. Defaults to false. */
|
|
294
|
+
totalResults?: boolean;
|
|
295
|
+
}, options?: ApiCallOptions): Promise<GetGroupsHttpResponse>;
|
|
296
|
+
type GetGroupsHttpResponse = {
|
|
297
|
+
data: Groups;
|
|
298
|
+
headers: Headers;
|
|
299
|
+
status: 200;
|
|
300
|
+
prev?: (options?: ApiCallOptions) => Promise<GetGroupsHttpResponse>;
|
|
301
|
+
next?: (options?: ApiCallOptions) => Promise<GetGroupsHttpResponse>;
|
|
302
|
+
};
|
|
303
|
+
type GetGroupsHttpError = {
|
|
304
|
+
data: Errors;
|
|
305
|
+
headers: Headers;
|
|
306
|
+
status: 400 | 401 | 403 | 429 | 500;
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* Creates a new group. The maximum number of groups a tenant can have is 10,000. Group names are case-sensitive, and must be unique.
|
|
310
|
+
*
|
|
311
|
+
* @param body an object with the body content
|
|
312
|
+
* @throws CreateGroupHttpError
|
|
313
|
+
*/
|
|
314
|
+
declare function createGroup(body: GroupPostSchema, options?: ApiCallOptions): Promise<CreateGroupHttpResponse>;
|
|
315
|
+
type CreateGroupHttpResponse = {
|
|
316
|
+
data: Group;
|
|
317
|
+
headers: Headers;
|
|
318
|
+
status: 201;
|
|
319
|
+
};
|
|
320
|
+
type CreateGroupHttpError = {
|
|
321
|
+
data: Errors;
|
|
322
|
+
headers: Headers;
|
|
323
|
+
status: 400 | 401 | 403 | 409 | 413 | 429 | 500;
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Retrieves a list of groups matching the filter using advanced query string.
|
|
327
|
+
*
|
|
328
|
+
* @param query an object with query parameters
|
|
329
|
+
* @param body an object with the body content
|
|
330
|
+
* @throws FilterGroupsHttpError
|
|
331
|
+
*/
|
|
332
|
+
declare function filterGroups(query: {
|
|
333
|
+
/** The number of user entries to retrieve. */
|
|
334
|
+
limit?: number;
|
|
335
|
+
/** Get users with IDs that are higher than the target user ID. Cannot be used in conjunction with prev. */
|
|
336
|
+
next?: string;
|
|
337
|
+
/** Get users with IDs that are lower than the target user ID. Cannot be used in conjunction with next. */
|
|
338
|
+
prev?: string;
|
|
339
|
+
/** The field to sort by, with +/- prefix indicating sort order */
|
|
340
|
+
sort?: "name" | "+name" | "-name";
|
|
341
|
+
}, body: Filter, options?: ApiCallOptions): Promise<FilterGroupsHttpResponse>;
|
|
342
|
+
type FilterGroupsHttpResponse = {
|
|
343
|
+
data: Groups;
|
|
344
|
+
headers: Headers;
|
|
345
|
+
status: 200;
|
|
346
|
+
prev?: (options?: ApiCallOptions) => Promise<FilterGroupsHttpResponse>;
|
|
347
|
+
next?: (options?: ApiCallOptions) => Promise<FilterGroupsHttpResponse>;
|
|
348
|
+
};
|
|
349
|
+
type FilterGroupsHttpError = {
|
|
350
|
+
data: Errors;
|
|
351
|
+
headers: Headers;
|
|
352
|
+
status: 400 | 401 | 403 | 429 | 500;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* Returns the tenant's group settings, such as whether automatic group creation and IdP group synchronization are enabled or disabled, and roles assigned to system groups.
|
|
356
|
+
*
|
|
357
|
+
* @throws GetGroupsSettingsHttpError
|
|
358
|
+
*/
|
|
359
|
+
declare function getGroupsSettings(options?: ApiCallOptions): Promise<GetGroupsSettingsHttpResponse>;
|
|
360
|
+
type GetGroupsSettingsHttpResponse = {
|
|
361
|
+
data: GroupSettings;
|
|
362
|
+
headers: Headers;
|
|
363
|
+
status: 200;
|
|
364
|
+
};
|
|
365
|
+
type GetGroupsSettingsHttpError = {
|
|
366
|
+
data: Errors;
|
|
367
|
+
headers: Headers;
|
|
368
|
+
status: 401 | 403 | 429 | 500;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* Updates the tenant's group settings, such as whether automatic group creation and IdP group synchronization are enabled or disabled, and roles assigned to system groups.
|
|
372
|
+
*
|
|
373
|
+
* @param body an object with the body content
|
|
374
|
+
* @throws PatchGroupsSettingsHttpError
|
|
375
|
+
*/
|
|
376
|
+
declare function patchGroupsSettings(body: SettingsPatchSchema, options?: ApiCallOptions): Promise<PatchGroupsSettingsHttpResponse>;
|
|
377
|
+
type PatchGroupsSettingsHttpResponse = {
|
|
378
|
+
data: void;
|
|
379
|
+
headers: Headers;
|
|
380
|
+
status: 204;
|
|
381
|
+
};
|
|
382
|
+
type PatchGroupsSettingsHttpError = {
|
|
383
|
+
data: Errors;
|
|
384
|
+
headers: Headers;
|
|
385
|
+
status: 400 | 401 | 403 | 429 | 500;
|
|
386
|
+
};
|
|
387
|
+
/**
|
|
388
|
+
* Deletes the requested group.
|
|
389
|
+
*
|
|
390
|
+
* @param groupId The ID of the group to delete.
|
|
391
|
+
* @throws DeleteGroupHttpError
|
|
392
|
+
*/
|
|
393
|
+
declare function deleteGroup(groupId: string, options?: ApiCallOptions): Promise<DeleteGroupHttpResponse>;
|
|
394
|
+
type DeleteGroupHttpResponse = {
|
|
395
|
+
data: void;
|
|
396
|
+
headers: Headers;
|
|
397
|
+
status: 204;
|
|
398
|
+
};
|
|
399
|
+
type DeleteGroupHttpError = {
|
|
400
|
+
data: Errors;
|
|
401
|
+
headers: Headers;
|
|
402
|
+
status: 401 | 404 | 429;
|
|
403
|
+
};
|
|
404
|
+
/**
|
|
405
|
+
* Returns the requested group.
|
|
406
|
+
*
|
|
407
|
+
* @param groupId The group's unique identifier
|
|
408
|
+
* @throws GetGroupHttpError
|
|
409
|
+
*/
|
|
410
|
+
declare function getGroup(groupId: string, options?: ApiCallOptions): Promise<GetGroupHttpResponse>;
|
|
411
|
+
type GetGroupHttpResponse = {
|
|
412
|
+
data: Group;
|
|
413
|
+
headers: Headers;
|
|
414
|
+
status: 200;
|
|
415
|
+
};
|
|
416
|
+
type GetGroupHttpError = {
|
|
417
|
+
data: Errors;
|
|
418
|
+
headers: Headers;
|
|
419
|
+
status: 403 | 404 | 429 | 500;
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* Updates the requested group.
|
|
423
|
+
*
|
|
424
|
+
* @param groupId The ID of the group to update.
|
|
425
|
+
* @param body an object with the body content
|
|
426
|
+
* @throws PatchGroupHttpError
|
|
427
|
+
*/
|
|
428
|
+
declare function patchGroup(groupId: string, body: GroupPatchSchema, options?: ApiCallOptions): Promise<PatchGroupHttpResponse>;
|
|
429
|
+
type PatchGroupHttpResponse = {
|
|
430
|
+
data: void;
|
|
431
|
+
headers: Headers;
|
|
432
|
+
status: 204;
|
|
433
|
+
};
|
|
434
|
+
type PatchGroupHttpError = {
|
|
435
|
+
data: Errors;
|
|
436
|
+
headers: Headers;
|
|
437
|
+
status: 400 | 401 | 403 | 404 | 429 | 500;
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* Clears the cache for groups api requests.
|
|
441
|
+
*/
|
|
442
|
+
declare function clearCache(): void;
|
|
443
|
+
type GroupsAPI = {
|
|
444
|
+
/**
|
|
445
|
+
* Returns a list of groups with cursor-based pagination.
|
|
446
|
+
*
|
|
447
|
+
* @param query an object with query parameters
|
|
448
|
+
* @throws GetGroupsHttpError
|
|
449
|
+
*/
|
|
450
|
+
getGroups: typeof getGroups;
|
|
451
|
+
/**
|
|
452
|
+
* Creates a new group. The maximum number of groups a tenant can have is 10,000. Group names are case-sensitive, and must be unique.
|
|
453
|
+
*
|
|
454
|
+
* @param body an object with the body content
|
|
455
|
+
* @throws CreateGroupHttpError
|
|
456
|
+
*/
|
|
457
|
+
createGroup: typeof createGroup;
|
|
458
|
+
/**
|
|
459
|
+
* Retrieves a list of groups matching the filter using advanced query string.
|
|
460
|
+
*
|
|
461
|
+
* @param query an object with query parameters
|
|
462
|
+
* @param body an object with the body content
|
|
463
|
+
* @throws FilterGroupsHttpError
|
|
464
|
+
*/
|
|
465
|
+
filterGroups: typeof filterGroups;
|
|
466
|
+
/**
|
|
467
|
+
* Returns the tenant's group settings, such as whether automatic group creation and IdP group synchronization are enabled or disabled, and roles assigned to system groups.
|
|
468
|
+
*
|
|
469
|
+
* @throws GetGroupsSettingsHttpError
|
|
470
|
+
*/
|
|
471
|
+
getGroupsSettings: typeof getGroupsSettings;
|
|
472
|
+
/**
|
|
473
|
+
* Updates the tenant's group settings, such as whether automatic group creation and IdP group synchronization are enabled or disabled, and roles assigned to system groups.
|
|
474
|
+
*
|
|
475
|
+
* @param body an object with the body content
|
|
476
|
+
* @throws PatchGroupsSettingsHttpError
|
|
477
|
+
*/
|
|
478
|
+
patchGroupsSettings: typeof patchGroupsSettings;
|
|
479
|
+
/**
|
|
480
|
+
* Deletes the requested group.
|
|
481
|
+
*
|
|
482
|
+
* @param groupId The ID of the group to delete.
|
|
483
|
+
* @throws DeleteGroupHttpError
|
|
484
|
+
*/
|
|
485
|
+
deleteGroup: typeof deleteGroup;
|
|
486
|
+
/**
|
|
487
|
+
* Returns the requested group.
|
|
488
|
+
*
|
|
489
|
+
* @param groupId The group's unique identifier
|
|
490
|
+
* @throws GetGroupHttpError
|
|
491
|
+
*/
|
|
492
|
+
getGroup: typeof getGroup;
|
|
493
|
+
/**
|
|
494
|
+
* Updates the requested group.
|
|
495
|
+
*
|
|
496
|
+
* @param groupId The ID of the group to update.
|
|
497
|
+
* @param body an object with the body content
|
|
498
|
+
* @throws PatchGroupHttpError
|
|
499
|
+
*/
|
|
500
|
+
patchGroup: typeof patchGroup;
|
|
501
|
+
/**
|
|
502
|
+
* Clears the cache for groups api requests.
|
|
503
|
+
*/
|
|
504
|
+
clearCache: typeof clearCache;
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* Functions for the groups api
|
|
508
|
+
*/
|
|
509
|
+
declare const groupsExport: GroupsAPI;
|
|
510
|
+
//#endregion
|
|
4
511
|
export { AssignedRoles, AssignedRolesRefIDs, AssignedRolesRefNames, CreateGroupHttpError, CreateGroupHttpResponse, DeleteGroupHttpError, DeleteGroupHttpResponse, Error, Errors, Filter, FilterGroupsHttpError, FilterGroupsHttpResponse, GetGroupHttpError, GetGroupHttpResponse, GetGroupsHttpError, GetGroupsHttpResponse, GetGroupsSettingsHttpError, GetGroupsSettingsHttpResponse, Group, GroupPatch, GroupPatchSchema, GroupPostSchema, GroupSettings, Groups, GroupsAPI, PatchGroupHttpError, PatchGroupHttpResponse, PatchGroupsSettingsHttpError, PatchGroupsSettingsHttpResponse, SettingsPatch, SettingsPatchSchema, clearCache, createGroup, groupsExport as default, deleteGroup, filterGroups, getGroup, getGroups, getGroupsSettings, patchGroup, patchGroupsSettings };
|
package/groups.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./chunks/
|
|
2
|
-
import "./chunks/
|
|
3
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
|
|
1
|
+
import "./chunks/public-runtime-modules-QhLPeQr5.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/groups.ts
|
|
6
5
|
/**
|