@qlik/api 0.0.1
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/LICENSE +17 -0
- package/README.md +8 -0
- package/api-keys.d.mts +313 -0
- package/api-keys.d.ts +313 -0
- package/api-keys.js +76 -0
- package/api-keys.mjs +76 -0
- package/apps.d.mts +1921 -0
- package/apps.d.ts +1921 -0
- package/apps.js +331 -0
- package/apps.mjs +331 -0
- package/audits.d.mts +262 -0
- package/audits.d.ts +262 -0
- package/audits.js +63 -0
- package/audits.mjs +63 -0
- package/auth-CSVTXOZX.js +36 -0
- package/auth-TE272Q34.mjs +36 -0
- package/auth-types-nnUcWhuU.d.mts +98 -0
- package/auth-types-nnUcWhuU.d.ts +98 -0
- package/auth.d.mts +26 -0
- package/auth.d.ts +26 -0
- package/auth.js +13 -0
- package/auth.mjs +13 -0
- package/automations.d.mts +638 -0
- package/automations.d.ts +638 -0
- package/automations.js +166 -0
- package/automations.mjs +166 -0
- package/brands.d.mts +614 -0
- package/brands.d.ts +614 -0
- package/brands.js +118 -0
- package/brands.mjs +118 -0
- package/chunk-3YE7EI7I.mjs +17 -0
- package/chunk-4ES65KO3.js +57 -0
- package/chunk-4FLMND6T.js +25 -0
- package/chunk-4OMEH5SW.mjs +1337 -0
- package/chunk-CKPJE4IA.mjs +57 -0
- package/chunk-GUQBHY3H.mjs +25 -0
- package/chunk-OULT3V2U.js +17 -0
- package/chunk-WM7FQU2U.mjs +21 -0
- package/chunk-XASXL2NC.js +1337 -0
- package/chunk-ZT4C7KCQ.js +21 -0
- package/collections.d.mts +535 -0
- package/collections.d.ts +535 -0
- package/collections.js +100 -0
- package/collections.mjs +100 -0
- package/csp-origins.d.mts +258 -0
- package/csp-origins.d.ts +258 -0
- package/csp-origins.js +66 -0
- package/csp-origins.mjs +66 -0
- package/data-assets.d.mts +195 -0
- package/data-assets.d.ts +195 -0
- package/data-assets.js +61 -0
- package/data-assets.mjs +61 -0
- package/data-connections.d.mts +527 -0
- package/data-connections.d.ts +527 -0
- package/data-connections.js +96 -0
- package/data-connections.mjs +96 -0
- package/data-credentials.d.mts +188 -0
- package/data-credentials.d.ts +188 -0
- package/data-credentials.js +56 -0
- package/data-credentials.mjs +56 -0
- package/data-files.d.mts +471 -0
- package/data-files.d.ts +471 -0
- package/data-files.js +116 -0
- package/data-files.mjs +116 -0
- package/docs/examples.md +4 -0
- package/enigma-session-4L373ALV.mjs +10196 -0
- package/enigma-session-TEB53FAF.js +10196 -0
- package/esm-4X3DKK5D.js +63 -0
- package/esm-SOWVJKOQ.mjs +63 -0
- package/extensions.d.mts +257 -0
- package/extensions.d.ts +257 -0
- package/extensions.js +74 -0
- package/extensions.mjs +74 -0
- package/global.types-Eto4uYwy.d.mts +102 -0
- package/global.types-hIvp-WdX.d.ts +102 -0
- package/glossaries.d.mts +1041 -0
- package/glossaries.d.ts +1041 -0
- package/glossaries.js +225 -0
- package/glossaries.mjs +225 -0
- package/groups.d.mts +379 -0
- package/groups.d.ts +379 -0
- package/groups.js +83 -0
- package/groups.mjs +83 -0
- package/identity-providers.d.mts +492 -0
- package/identity-providers.d.ts +492 -0
- package/identity-providers.js +80 -0
- package/identity-providers.mjs +80 -0
- package/index.d.mts +142 -0
- package/index.d.ts +142 -0
- package/index.js +678 -0
- package/index.mjs +678 -0
- package/invoke-fetch-MSSJAZ7K.mjs +14 -0
- package/invoke-fetch-PEI54KZO.js +14 -0
- package/items.d.mts +501 -0
- package/items.d.ts +501 -0
- package/items.js +84 -0
- package/items.mjs +84 -0
- package/licenses.d.mts +436 -0
- package/licenses.d.ts +436 -0
- package/licenses.js +87 -0
- package/licenses.mjs +87 -0
- package/package.json +264 -0
- package/qix-EU7PXRZ6.mjs +573 -0
- package/qix-RLTISYTB.js +573 -0
- package/qix.d.mts +11543 -0
- package/qix.d.ts +11543 -0
- package/qix.js +9 -0
- package/qix.mjs +9 -0
- package/quotas.d.mts +105 -0
- package/quotas.d.ts +105 -0
- package/quotas.js +31 -0
- package/quotas.mjs +31 -0
- package/reload-tasks.d.mts +222 -0
- package/reload-tasks.d.ts +222 -0
- package/reload-tasks.js +59 -0
- package/reload-tasks.mjs +59 -0
- package/reloads.d.mts +189 -0
- package/reloads.d.ts +189 -0
- package/reloads.js +44 -0
- package/reloads.mjs +44 -0
- package/roles.d.mts +150 -0
- package/roles.d.ts +150 -0
- package/roles.js +30 -0
- package/roles.mjs +30 -0
- package/spaces.d.mts +524 -0
- package/spaces.d.ts +524 -0
- package/spaces.js +118 -0
- package/spaces.mjs +118 -0
- package/temp-contents.d.mts +222 -0
- package/temp-contents.d.ts +222 -0
- package/temp-contents.js +60 -0
- package/temp-contents.mjs +60 -0
- package/tenants.d.mts +276 -0
- package/tenants.d.ts +276 -0
- package/tenants.js +68 -0
- package/tenants.mjs +68 -0
- package/themes.d.mts +235 -0
- package/themes.d.ts +235 -0
- package/themes.js +74 -0
- package/themes.mjs +74 -0
- package/transports.d.mts +298 -0
- package/transports.d.ts +298 -0
- package/transports.js +62 -0
- package/transports.mjs +62 -0
- package/users.d.mts +544 -0
- package/users.d.ts +544 -0
- package/users.js +99 -0
- package/users.mjs +99 -0
- package/web-integrations.d.mts +246 -0
- package/web-integrations.d.ts +246 -0
- package/web-integrations.js +59 -0
- package/web-integrations.mjs +59 -0
- package/web-notifications.d.mts +220 -0
- package/web-notifications.d.ts +220 -0
- package/web-notifications.js +66 -0
- package/web-notifications.mjs +66 -0
- package/webhooks.d.mts +422 -0
- package/webhooks.d.ts +422 -0
- package/webhooks.js +100 -0
- package/webhooks.mjs +100 -0
package/licenses.d.mts
ADDED
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-Eto4uYwy.mjs';
|
|
2
|
+
import './auth-types-nnUcWhuU.mjs';
|
|
3
|
+
|
|
4
|
+
type AssignmentsActionsAddRequest = {
|
|
5
|
+
add: {
|
|
6
|
+
/** User name */
|
|
7
|
+
name?: string;
|
|
8
|
+
/** User subject */
|
|
9
|
+
subject: string;
|
|
10
|
+
/** Allotment type */
|
|
11
|
+
type: string;
|
|
12
|
+
/** User ID */
|
|
13
|
+
userId?: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
type AssignmentsActionsAddResponse = {
|
|
17
|
+
data: {
|
|
18
|
+
/** Error code */
|
|
19
|
+
code?: string;
|
|
20
|
+
/** Response status */
|
|
21
|
+
status: number;
|
|
22
|
+
/** Subject */
|
|
23
|
+
subject: string;
|
|
24
|
+
/** Error title */
|
|
25
|
+
title?: string;
|
|
26
|
+
/** Allotment type */
|
|
27
|
+
type?: string;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
type AssignmentsActionsDeleteRequest = {
|
|
31
|
+
delete: {
|
|
32
|
+
/** User subject */
|
|
33
|
+
subject: string;
|
|
34
|
+
/** Allotment type */
|
|
35
|
+
type: string;
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
type AssignmentsActionsDeleteResponse = {
|
|
39
|
+
data: {
|
|
40
|
+
/** Error code */
|
|
41
|
+
code?: string;
|
|
42
|
+
/** Response status */
|
|
43
|
+
status: number;
|
|
44
|
+
/** Subject */
|
|
45
|
+
subject?: string;
|
|
46
|
+
/** Error title */
|
|
47
|
+
title?: string;
|
|
48
|
+
/** Allotment type */
|
|
49
|
+
type?: string;
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
type AssignmentsActionsUpdateRequest = {
|
|
53
|
+
update: {
|
|
54
|
+
/** Current assignment type. */
|
|
55
|
+
sourceType: string;
|
|
56
|
+
/** User subject */
|
|
57
|
+
subject: string;
|
|
58
|
+
/** Target assignment type. */
|
|
59
|
+
type: string;
|
|
60
|
+
}[];
|
|
61
|
+
};
|
|
62
|
+
type AssignmentsActionsUpdateResponse = {
|
|
63
|
+
data: {
|
|
64
|
+
/** Error code */
|
|
65
|
+
code?: string;
|
|
66
|
+
/** Current allotment type. */
|
|
67
|
+
sourceType?: string;
|
|
68
|
+
/** Response status */
|
|
69
|
+
status: number;
|
|
70
|
+
/** Subject */
|
|
71
|
+
subject?: string;
|
|
72
|
+
/** Error title */
|
|
73
|
+
title?: string;
|
|
74
|
+
/** Target allotment type. */
|
|
75
|
+
type?: string;
|
|
76
|
+
}[];
|
|
77
|
+
};
|
|
78
|
+
type AssignmentsResponse = {
|
|
79
|
+
data: {
|
|
80
|
+
/** Assignment created date. */
|
|
81
|
+
created: string;
|
|
82
|
+
/** Assignment excess status. */
|
|
83
|
+
excess: boolean;
|
|
84
|
+
/** Subject */
|
|
85
|
+
subject: string;
|
|
86
|
+
/** Allotment type */
|
|
87
|
+
type: string;
|
|
88
|
+
/** User ID */
|
|
89
|
+
userId?: string;
|
|
90
|
+
}[];
|
|
91
|
+
links: {
|
|
92
|
+
next?: Href;
|
|
93
|
+
prev?: Href;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
type ConsumptionEventsResponse = {
|
|
97
|
+
data: {
|
|
98
|
+
/** Allotment ID */
|
|
99
|
+
allotmentId?: string;
|
|
100
|
+
/** App ID */
|
|
101
|
+
appId?: string;
|
|
102
|
+
/** Analyzer capacity chunks consumed. */
|
|
103
|
+
capacityUsed?: number;
|
|
104
|
+
/** Engine session duration. */
|
|
105
|
+
duration?: string;
|
|
106
|
+
/** Engine session end time. */
|
|
107
|
+
endTime?: string;
|
|
108
|
+
/** ID */
|
|
109
|
+
id?: string;
|
|
110
|
+
/** License usage */
|
|
111
|
+
licenseUsage?: string;
|
|
112
|
+
/** Analyzer capacity minutes consumed. */
|
|
113
|
+
minutesUsed?: number;
|
|
114
|
+
/** Engine session ID. */
|
|
115
|
+
sessionId?: string;
|
|
116
|
+
/** User ID */
|
|
117
|
+
userId?: string;
|
|
118
|
+
}[];
|
|
119
|
+
links: {
|
|
120
|
+
next?: Href;
|
|
121
|
+
prev?: Href;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
type ErrorResponse = {
|
|
125
|
+
/** Error type */
|
|
126
|
+
error: string;
|
|
127
|
+
errors: {
|
|
128
|
+
/** Error code */
|
|
129
|
+
code: string;
|
|
130
|
+
/** Additional error detail. */
|
|
131
|
+
detail?: string;
|
|
132
|
+
/** Error title */
|
|
133
|
+
title: string;
|
|
134
|
+
}[];
|
|
135
|
+
/** Error message */
|
|
136
|
+
message: string;
|
|
137
|
+
};
|
|
138
|
+
type Href = {
|
|
139
|
+
/** link */
|
|
140
|
+
href?: string;
|
|
141
|
+
};
|
|
142
|
+
type LicenseOverview = {
|
|
143
|
+
allotments: {
|
|
144
|
+
name: "professional" | "analyzer" | "analyzer_time";
|
|
145
|
+
/** Overage value; -1 means unbounded overage. */
|
|
146
|
+
overage?: number;
|
|
147
|
+
units: number;
|
|
148
|
+
unitsUsed: number;
|
|
149
|
+
usageClass: string;
|
|
150
|
+
}[];
|
|
151
|
+
/** An ISO 8601 timestamp for when the license was last changed. */
|
|
152
|
+
changeTime?: string;
|
|
153
|
+
/** An ISO 8601 timestamp for when the latest time the license has been known to be valid, a missing value indicates the indefinite future. */
|
|
154
|
+
latestValidTime?: string;
|
|
155
|
+
licenseKey: string;
|
|
156
|
+
licenseNumber: string;
|
|
157
|
+
licenseType?: string;
|
|
158
|
+
/** Origin of license key. */
|
|
159
|
+
origin: "Internal" | "External";
|
|
160
|
+
/** The license parameters. */
|
|
161
|
+
parameters: {
|
|
162
|
+
/** Parameters for licenses to control access to the parameters. */
|
|
163
|
+
access?: {
|
|
164
|
+
/** Name of an allotment that the user must have access to. to */
|
|
165
|
+
allotment?: string;
|
|
166
|
+
};
|
|
167
|
+
/** Parameter set (provision) name. */
|
|
168
|
+
name: string;
|
|
169
|
+
/** Time interval for parameter validity. */
|
|
170
|
+
valid: string;
|
|
171
|
+
/** Parameter values */
|
|
172
|
+
values?: unknown;
|
|
173
|
+
}[];
|
|
174
|
+
/** The product the license is valid for. */
|
|
175
|
+
product: string;
|
|
176
|
+
/** The secondary number of a definition. */
|
|
177
|
+
secondaryNumber: string;
|
|
178
|
+
/** Enum with status of license. Only status Ok grants license. access. */
|
|
179
|
+
status: "Ok" | "Blacklisted" | "Expired";
|
|
180
|
+
/** Boolean indicating if it is a trial license. */
|
|
181
|
+
trial: boolean;
|
|
182
|
+
/** An ISO 8601 timestamp for when the license was last updated. */
|
|
183
|
+
updated: string;
|
|
184
|
+
/** Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end. */
|
|
185
|
+
valid: string;
|
|
186
|
+
};
|
|
187
|
+
type LicenseStatus = {
|
|
188
|
+
/** Origin of license key. */
|
|
189
|
+
origin: "Internal" | "External";
|
|
190
|
+
/** The product the license is valid for. */
|
|
191
|
+
product: string;
|
|
192
|
+
/** Enum with status of license. Only status Ok grants license. access. */
|
|
193
|
+
status: "Ok" | "Blacklisted" | "Expired" | "Missing";
|
|
194
|
+
/** Boolean indicating if it is a trial license. */
|
|
195
|
+
trial: boolean;
|
|
196
|
+
/** Type of license key. */
|
|
197
|
+
type: "Signed" | "Plain";
|
|
198
|
+
/** Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end. */
|
|
199
|
+
valid: string;
|
|
200
|
+
};
|
|
201
|
+
type SettingsBody = {
|
|
202
|
+
/** If analyzer users are available, they will be automatically assigned. Otherwise, analyzer capacity will be assigned, if available. */
|
|
203
|
+
autoAssignAnalyzer?: boolean;
|
|
204
|
+
/** If professional users are available, they will be automatically assigned. Otherwise, analyzer capacity will be assigned, if available. */
|
|
205
|
+
autoAssignProfessional?: boolean;
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* Retrieves assignments for the current tenant
|
|
209
|
+
* @param query an object with query parameters
|
|
210
|
+
* @throws GetLicenseAssignmentsHttpError
|
|
211
|
+
*/
|
|
212
|
+
declare const getLicenseAssignments: (query: {
|
|
213
|
+
/** The filter for finding entries. */
|
|
214
|
+
filter?: string;
|
|
215
|
+
/** The preferred number of entries to return. */
|
|
216
|
+
limit?: number;
|
|
217
|
+
/** The requested page. */
|
|
218
|
+
page?: string;
|
|
219
|
+
/** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
|
|
220
|
+
sort?: string;
|
|
221
|
+
}, options?: ApiCallOptions) => Promise<GetLicenseAssignmentsHttpResponse>;
|
|
222
|
+
type GetLicenseAssignmentsHttpResponse = {
|
|
223
|
+
data: AssignmentsResponse;
|
|
224
|
+
headers: Headers;
|
|
225
|
+
status: number;
|
|
226
|
+
prev?: (options?: ApiCallOptions) => Promise<GetLicenseAssignmentsHttpResponse>;
|
|
227
|
+
next?: (options?: ApiCallOptions) => Promise<GetLicenseAssignmentsHttpResponse>;
|
|
228
|
+
};
|
|
229
|
+
type GetLicenseAssignmentsHttpError = {
|
|
230
|
+
data: ErrorResponse;
|
|
231
|
+
headers: Headers;
|
|
232
|
+
status: number;
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Assigns license access to the given users
|
|
236
|
+
* @param body an object with the body content
|
|
237
|
+
* @throws AddLicenseAssignmentsHttpError
|
|
238
|
+
*/
|
|
239
|
+
declare const addLicenseAssignments: (body: AssignmentsActionsAddRequest, options?: ApiCallOptions) => Promise<AddLicenseAssignmentsHttpResponse>;
|
|
240
|
+
type AddLicenseAssignmentsHttpResponse = {
|
|
241
|
+
data: AssignmentsActionsAddResponse;
|
|
242
|
+
headers: Headers;
|
|
243
|
+
status: number;
|
|
244
|
+
};
|
|
245
|
+
type AddLicenseAssignmentsHttpError = {
|
|
246
|
+
data: ErrorResponse;
|
|
247
|
+
headers: Headers;
|
|
248
|
+
status: number;
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* Removes license access for the given users
|
|
252
|
+
* @param body an object with the body content
|
|
253
|
+
* @throws DeleteLicenseAssignmentsHttpError
|
|
254
|
+
*/
|
|
255
|
+
declare const deleteLicenseAssignments: (body: AssignmentsActionsDeleteRequest, options?: ApiCallOptions) => Promise<DeleteLicenseAssignmentsHttpResponse>;
|
|
256
|
+
type DeleteLicenseAssignmentsHttpResponse = {
|
|
257
|
+
data: AssignmentsActionsDeleteResponse;
|
|
258
|
+
headers: Headers;
|
|
259
|
+
status: number;
|
|
260
|
+
};
|
|
261
|
+
type DeleteLicenseAssignmentsHttpError = {
|
|
262
|
+
data: ErrorResponse;
|
|
263
|
+
headers: Headers;
|
|
264
|
+
status: number;
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* Updates license access for the given users
|
|
268
|
+
* @param body an object with the body content
|
|
269
|
+
* @throws UpdateLicenseAssignmentsHttpError
|
|
270
|
+
*/
|
|
271
|
+
declare const updateLicenseAssignments: (body: AssignmentsActionsUpdateRequest, options?: ApiCallOptions) => Promise<UpdateLicenseAssignmentsHttpResponse>;
|
|
272
|
+
type UpdateLicenseAssignmentsHttpResponse = {
|
|
273
|
+
data: AssignmentsActionsUpdateResponse;
|
|
274
|
+
headers: Headers;
|
|
275
|
+
status: number;
|
|
276
|
+
};
|
|
277
|
+
type UpdateLicenseAssignmentsHttpError = {
|
|
278
|
+
data: ErrorResponse;
|
|
279
|
+
headers: Headers;
|
|
280
|
+
status: number;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Retrieves license consumption for the current tenant
|
|
284
|
+
* @param query an object with query parameters
|
|
285
|
+
* @throws GetLicenseConsumptionHttpError
|
|
286
|
+
*/
|
|
287
|
+
declare const getLicenseConsumption: (query: {
|
|
288
|
+
/** The filter for finding entries. */
|
|
289
|
+
filter?: string;
|
|
290
|
+
/** The preferred number of entries to return. */
|
|
291
|
+
limit?: number;
|
|
292
|
+
/** The requested page. */
|
|
293
|
+
page?: string;
|
|
294
|
+
/** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
|
|
295
|
+
sort?: string;
|
|
296
|
+
}, options?: ApiCallOptions) => Promise<GetLicenseConsumptionHttpResponse>;
|
|
297
|
+
type GetLicenseConsumptionHttpResponse = {
|
|
298
|
+
data: ConsumptionEventsResponse;
|
|
299
|
+
headers: Headers;
|
|
300
|
+
status: number;
|
|
301
|
+
prev?: (options?: ApiCallOptions) => Promise<GetLicenseConsumptionHttpResponse>;
|
|
302
|
+
next?: (options?: ApiCallOptions) => Promise<GetLicenseConsumptionHttpResponse>;
|
|
303
|
+
};
|
|
304
|
+
type GetLicenseConsumptionHttpError = {
|
|
305
|
+
data: ErrorResponse;
|
|
306
|
+
headers: Headers;
|
|
307
|
+
status: number;
|
|
308
|
+
};
|
|
309
|
+
/**
|
|
310
|
+
* Gets the general information of the license applied to the current tenant
|
|
311
|
+
* @throws GetLicenseOverviewHttpError
|
|
312
|
+
*/
|
|
313
|
+
declare const getLicenseOverview: (options?: ApiCallOptions) => Promise<GetLicenseOverviewHttpResponse>;
|
|
314
|
+
type GetLicenseOverviewHttpResponse = {
|
|
315
|
+
data: LicenseOverview;
|
|
316
|
+
headers: Headers;
|
|
317
|
+
status: number;
|
|
318
|
+
};
|
|
319
|
+
type GetLicenseOverviewHttpError = {
|
|
320
|
+
data: ErrorResponse;
|
|
321
|
+
headers: Headers;
|
|
322
|
+
status: number;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* Get auto assign settings for tenant.
|
|
326
|
+
* @throws GetLicenseSettingsHttpError
|
|
327
|
+
*/
|
|
328
|
+
declare const getLicenseSettings: (options?: ApiCallOptions) => Promise<GetLicenseSettingsHttpResponse>;
|
|
329
|
+
type GetLicenseSettingsHttpResponse = {
|
|
330
|
+
data: SettingsBody;
|
|
331
|
+
headers: Headers;
|
|
332
|
+
status: number;
|
|
333
|
+
};
|
|
334
|
+
type GetLicenseSettingsHttpError = {
|
|
335
|
+
data: ErrorResponse;
|
|
336
|
+
headers: Headers;
|
|
337
|
+
status: number;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* Set auto assign settings for tenant
|
|
341
|
+
* @param body an object with the body content
|
|
342
|
+
* @throws UpdateLicenseSettingsHttpError
|
|
343
|
+
*/
|
|
344
|
+
declare const updateLicenseSettings: (body: SettingsBody, options?: ApiCallOptions) => Promise<UpdateLicenseSettingsHttpResponse>;
|
|
345
|
+
type UpdateLicenseSettingsHttpResponse = {
|
|
346
|
+
data: SettingsBody;
|
|
347
|
+
headers: Headers;
|
|
348
|
+
status: number;
|
|
349
|
+
};
|
|
350
|
+
type UpdateLicenseSettingsHttpError = {
|
|
351
|
+
data: ErrorResponse;
|
|
352
|
+
headers: Headers;
|
|
353
|
+
status: number;
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* Gets the license status information of the current tenant
|
|
357
|
+
* @throws GetLicenseStatusHttpError
|
|
358
|
+
*/
|
|
359
|
+
declare const getLicenseStatus: (options?: ApiCallOptions) => Promise<GetLicenseStatusHttpResponse>;
|
|
360
|
+
type GetLicenseStatusHttpResponse = {
|
|
361
|
+
data: LicenseStatus;
|
|
362
|
+
headers: Headers;
|
|
363
|
+
status: number;
|
|
364
|
+
};
|
|
365
|
+
type GetLicenseStatusHttpError = {
|
|
366
|
+
data: ErrorResponse;
|
|
367
|
+
headers: Headers;
|
|
368
|
+
status: number;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* Clears the cache for licenses api requests.
|
|
372
|
+
*/
|
|
373
|
+
declare function clearCache(): void;
|
|
374
|
+
interface LicensesAPI {
|
|
375
|
+
/**
|
|
376
|
+
* Retrieves assignments for the current tenant
|
|
377
|
+
* @param query an object with query parameters
|
|
378
|
+
* @throws GetLicenseAssignmentsHttpError
|
|
379
|
+
*/
|
|
380
|
+
getLicenseAssignments: typeof getLicenseAssignments;
|
|
381
|
+
/**
|
|
382
|
+
* Assigns license access to the given users
|
|
383
|
+
* @param body an object with the body content
|
|
384
|
+
* @throws AddLicenseAssignmentsHttpError
|
|
385
|
+
*/
|
|
386
|
+
addLicenseAssignments: typeof addLicenseAssignments;
|
|
387
|
+
/**
|
|
388
|
+
* Removes license access for the given users
|
|
389
|
+
* @param body an object with the body content
|
|
390
|
+
* @throws DeleteLicenseAssignmentsHttpError
|
|
391
|
+
*/
|
|
392
|
+
deleteLicenseAssignments: typeof deleteLicenseAssignments;
|
|
393
|
+
/**
|
|
394
|
+
* Updates license access for the given users
|
|
395
|
+
* @param body an object with the body content
|
|
396
|
+
* @throws UpdateLicenseAssignmentsHttpError
|
|
397
|
+
*/
|
|
398
|
+
updateLicenseAssignments: typeof updateLicenseAssignments;
|
|
399
|
+
/**
|
|
400
|
+
* Retrieves license consumption for the current tenant
|
|
401
|
+
* @param query an object with query parameters
|
|
402
|
+
* @throws GetLicenseConsumptionHttpError
|
|
403
|
+
*/
|
|
404
|
+
getLicenseConsumption: typeof getLicenseConsumption;
|
|
405
|
+
/**
|
|
406
|
+
* Gets the general information of the license applied to the current tenant
|
|
407
|
+
* @throws GetLicenseOverviewHttpError
|
|
408
|
+
*/
|
|
409
|
+
getLicenseOverview: typeof getLicenseOverview;
|
|
410
|
+
/**
|
|
411
|
+
* Get auto assign settings for tenant.
|
|
412
|
+
* @throws GetLicenseSettingsHttpError
|
|
413
|
+
*/
|
|
414
|
+
getLicenseSettings: typeof getLicenseSettings;
|
|
415
|
+
/**
|
|
416
|
+
* Set auto assign settings for tenant
|
|
417
|
+
* @param body an object with the body content
|
|
418
|
+
* @throws UpdateLicenseSettingsHttpError
|
|
419
|
+
*/
|
|
420
|
+
updateLicenseSettings: typeof updateLicenseSettings;
|
|
421
|
+
/**
|
|
422
|
+
* Gets the license status information of the current tenant
|
|
423
|
+
* @throws GetLicenseStatusHttpError
|
|
424
|
+
*/
|
|
425
|
+
getLicenseStatus: typeof getLicenseStatus;
|
|
426
|
+
/**
|
|
427
|
+
* Clears the cache for licenses api requests.
|
|
428
|
+
*/
|
|
429
|
+
clearCache: typeof clearCache;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Functions for the licenses api
|
|
433
|
+
*/
|
|
434
|
+
declare const licensesExport: LicensesAPI;
|
|
435
|
+
|
|
436
|
+
export { type AddLicenseAssignmentsHttpError, type AddLicenseAssignmentsHttpResponse, type AssignmentsActionsAddRequest, type AssignmentsActionsAddResponse, type AssignmentsActionsDeleteRequest, type AssignmentsActionsDeleteResponse, type AssignmentsActionsUpdateRequest, type AssignmentsActionsUpdateResponse, type AssignmentsResponse, type ConsumptionEventsResponse, type DeleteLicenseAssignmentsHttpError, type DeleteLicenseAssignmentsHttpResponse, type ErrorResponse, type GetLicenseAssignmentsHttpError, type GetLicenseAssignmentsHttpResponse, type GetLicenseConsumptionHttpError, type GetLicenseConsumptionHttpResponse, type GetLicenseOverviewHttpError, type GetLicenseOverviewHttpResponse, type GetLicenseSettingsHttpError, type GetLicenseSettingsHttpResponse, type GetLicenseStatusHttpError, type GetLicenseStatusHttpResponse, type Href, type LicenseOverview, type LicenseStatus, type LicensesAPI, type SettingsBody, type UpdateLicenseAssignmentsHttpError, type UpdateLicenseAssignmentsHttpResponse, type UpdateLicenseSettingsHttpError, type UpdateLicenseSettingsHttpResponse, addLicenseAssignments, clearCache, licensesExport as default, deleteLicenseAssignments, getLicenseAssignments, getLicenseConsumption, getLicenseOverview, getLicenseSettings, getLicenseStatus, updateLicenseAssignments, updateLicenseSettings };
|