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