@qlik/api 0.0.1 → 0.0.3
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/.github/CODEOWNERS +2 -0
- package/.github/workflows/release.yaml +35 -0
- package/README.md +1 -3
- package/api-keys.d.mts +27 -13
- package/api-keys.d.ts +27 -13
- package/api-keys.js +17 -13
- package/api-keys.mjs +12 -8
- package/apps.d.mts +580 -165
- package/apps.d.ts +580 -165
- package/apps.js +111 -44
- package/apps.mjs +78 -11
- package/audits.d.mts +20 -8
- package/audits.d.ts +20 -8
- package/audits.js +12 -11
- package/audits.mjs +7 -6
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-TE272Q34.mjs → auth-CPBNNC7S.mjs} +8 -3
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +56 -20
- package/automations.d.ts +56 -20
- package/automations.js +32 -25
- package/automations.mjs +18 -11
- package/brands.d.mts +45 -4
- package/brands.d.ts +45 -4
- package/brands.js +20 -15
- package/brands.mjs +7 -2
- package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
- package/{chunk-WM7FQU2U.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-4ES65KO3.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-4OMEH5SW.mjs → chunk-CYRLVHU3.mjs} +321 -53
- package/{chunk-XASXL2NC.js → chunk-D52VW5UN.js} +323 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-4FLMND6T.js → chunk-GV5SRHY2.js} +4 -4
- package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
- package/chunk-P57PW2II.js +11 -0
- package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
- package/chunk-ZFXKCRJC.mjs +11 -0
- package/collections.d.mts +52 -18
- package/collections.d.ts +52 -18
- package/collections.js +28 -14
- package/collections.mjs +16 -2
- package/csp-origins.d.mts +12 -0
- package/csp-origins.d.ts +12 -0
- package/csp-origins.js +12 -9
- package/csp-origins.mjs +5 -2
- package/data-assets.d.mts +10 -0
- package/data-assets.d.ts +10 -0
- package/data-assets.js +13 -8
- package/data-assets.mjs +7 -2
- package/data-connections.d.mts +20 -0
- package/data-connections.d.ts +20 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +10 -0
- package/data-credentials.d.ts +10 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +114 -29
- package/data-files.d.ts +114 -29
- package/data-files.js +25 -18
- package/data-files.mjs +15 -8
- package/{enigma-session-TEB53FAF.js → enigma-session-XPXDQAIV.js} +12 -7
- package/{enigma-session-4L373ALV.mjs → enigma-session-ZH6MYA54.mjs} +10 -5
- package/{esm-4X3DKK5D.js → esm-3VXX2GKL.js} +13 -9
- package/{esm-SOWVJKOQ.mjs → esm-OY4XVIJB.mjs} +13 -9
- package/extensions.d.mts +26 -2
- package/extensions.d.ts +26 -2
- package/extensions.js +13 -10
- package/extensions.mjs +5 -2
- package/glossaries.d.mts +55 -20
- package/glossaries.d.ts +55 -20
- package/glossaries.js +39 -27
- package/glossaries.mjs +14 -2
- package/groups.d.mts +29 -13
- package/groups.d.ts +29 -13
- package/groups.js +19 -14
- package/groups.mjs +13 -8
- package/identity-providers.d.mts +23 -7
- package/identity-providers.d.ts +23 -7
- package/identity-providers.js +16 -13
- package/identity-providers.mjs +8 -5
- package/index.js +150 -112
- package/index.mjs +146 -108
- package/{invoke-fetch-MSSJAZ7K.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +25 -22
- package/items.d.ts +25 -22
- package/items.js +17 -14
- package/items.mjs +11 -8
- package/licenses.d.mts +20 -0
- package/licenses.d.ts +20 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +7 -18
- package/{qix-RLTISYTB.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-EU7PXRZ6.mjs → qix-ZSJ4PIK3.mjs} +5 -4
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- package/qix.js +4 -3
- package/qix.mjs +3 -2
- package/quotas.d.mts +4 -0
- package/quotas.d.ts +4 -0
- package/quotas.js +6 -5
- package/quotas.mjs +3 -2
- package/reload-tasks.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +20 -11
- package/reloads.d.ts +20 -11
- package/reloads.js +9 -7
- package/reloads.mjs +4 -2
- package/roles.d.mts +4 -0
- package/roles.d.ts +4 -0
- package/roles.js +6 -5
- package/roles.mjs +3 -2
- package/spaces.d.mts +36 -30
- package/spaces.d.ts +36 -30
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +9 -70
- package/temp-contents.d.ts +9 -70
- package/temp-contents.js +10 -29
- package/temp-contents.mjs +5 -24
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +14 -9
- package/tenants.mjs +7 -2
- package/themes.d.mts +26 -2
- package/themes.d.ts +26 -2
- package/themes.js +13 -10
- package/themes.mjs +5 -2
- package/transports.d.mts +12 -0
- package/transports.d.ts +12 -0
- package/transports.js +12 -9
- package/transports.mjs +5 -2
- package/users.d.mts +48 -29
- package/users.d.ts +48 -29
- package/users.js +18 -13
- package/users.mjs +7 -2
- package/web-integrations.d.mts +10 -0
- package/web-integrations.d.ts +10 -0
- package/web-integrations.js +11 -8
- package/web-integrations.mjs +5 -2
- package/web-notifications.d.mts +12 -0
- package/web-notifications.d.ts +12 -0
- package/web-notifications.js +12 -9
- package/web-notifications.mjs +5 -2
- package/webhooks.d.mts +27 -7
- package/webhooks.d.ts +27 -7
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/invoke-fetch-PEI54KZO.js +0 -14
package/users.d.mts
CHANGED
|
@@ -211,6 +211,7 @@ type Users = {
|
|
|
211
211
|
};
|
|
212
212
|
/**
|
|
213
213
|
* Returns a list of users using cursor-based pagination.
|
|
214
|
+
*
|
|
214
215
|
* @param query an object with query parameters
|
|
215
216
|
* @throws GetUsersHttpError
|
|
216
217
|
*/
|
|
@@ -222,35 +223,34 @@ declare const getUsers: (query: {
|
|
|
222
223
|
/** A comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted. */
|
|
223
224
|
fields?: string;
|
|
224
225
|
/** 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.
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
// */
|
|
226
|
+
*
|
|
227
|
+
* The following fields support the `eq` operator: `id`, `subject`, `name`, `email`, `status`, `clientId`, `assignedRoles.id` `assignedRoles.name`, `assignedGroups.id`, `assignedGroupsAssignedRoles.name`
|
|
228
|
+
*
|
|
229
|
+
* Additionally, the following fields support the `co` operator: `name`, `email`, `subject`
|
|
230
|
+
*
|
|
231
|
+
* Queries may be rate limited if they differ greatly from these examples:
|
|
232
|
+
*
|
|
233
|
+
* ```
|
|
234
|
+
* (id eq "62716ab404a7bd8626af9bd6" or id eq "62716ac4c7e500e13ff5fa22") and (status eq "active" or status eq "disabled")
|
|
235
|
+
* ```
|
|
236
|
+
*
|
|
237
|
+
* ```
|
|
238
|
+
* name co "query" or email co "query" or subject co "query" or id eq "query" or assignedRoles.name eq "query"
|
|
239
|
+
* ```
|
|
240
|
+
*
|
|
241
|
+
* Any filters for status must be grouped together and applied to the whole query.
|
|
242
|
+
*
|
|
243
|
+
* Valid:
|
|
244
|
+
*
|
|
245
|
+
* ```
|
|
246
|
+
* (name eq "Bob" or name eq "Alice") and (status eq "active" or status eq "disabled")
|
|
247
|
+
* ```
|
|
248
|
+
*
|
|
249
|
+
* Invalid:
|
|
250
|
+
*
|
|
251
|
+
* ```
|
|
252
|
+
* name eq "Bob" or name eq "Alice" and (status eq "active" or status eq "disabled")
|
|
253
|
+
* ``` */
|
|
254
254
|
filter?: string;
|
|
255
255
|
/** The number of user entries to retrieve. */
|
|
256
256
|
limit?: number;
|
|
@@ -291,6 +291,7 @@ type GetUsersHttpError = {
|
|
|
291
291
|
};
|
|
292
292
|
/**
|
|
293
293
|
* Creates an invited user.
|
|
294
|
+
*
|
|
294
295
|
* @param body an object with the body content
|
|
295
296
|
* @throws CreateUserHttpError
|
|
296
297
|
*/
|
|
@@ -307,6 +308,7 @@ type CreateUserHttpError = {
|
|
|
307
308
|
};
|
|
308
309
|
/**
|
|
309
310
|
* Returns the number of users in a given tenant
|
|
311
|
+
*
|
|
310
312
|
* @param query an object with query parameters
|
|
311
313
|
* @throws CountUsersHttpError
|
|
312
314
|
*/
|
|
@@ -326,6 +328,7 @@ type CountUsersHttpError = {
|
|
|
326
328
|
};
|
|
327
329
|
/**
|
|
328
330
|
* Retrieves a list of users matching the filter using an advanced query string.
|
|
331
|
+
*
|
|
329
332
|
* @param query an object with query parameters
|
|
330
333
|
* @param body an object with the body content
|
|
331
334
|
* @throws FilterUsersHttpError
|
|
@@ -356,6 +359,7 @@ type FilterUsersHttpError = {
|
|
|
356
359
|
};
|
|
357
360
|
/**
|
|
358
361
|
* Invite one or more users by email address.
|
|
362
|
+
*
|
|
359
363
|
* @param body an object with the body content
|
|
360
364
|
* @throws InviteUsersHttpError
|
|
361
365
|
*/
|
|
@@ -372,6 +376,7 @@ type InviteUsersHttpError = {
|
|
|
372
376
|
};
|
|
373
377
|
/**
|
|
374
378
|
* Redirects to retrieve the user resource associated with the JWT claims.
|
|
379
|
+
*
|
|
375
380
|
* @throws GetMyUserHttpError
|
|
376
381
|
*/
|
|
377
382
|
declare const getMyUser: (options?: ApiCallOptions) => Promise<GetMyUserHttpResponse>;
|
|
@@ -393,6 +398,7 @@ type GetMyUser429HttpError = {
|
|
|
393
398
|
type GetMyUserHttpError = GetMyUser301HttpError | GetMyUser429HttpError;
|
|
394
399
|
/**
|
|
395
400
|
* Returns the metadata with regard to the user configuration. Deprecated, use GET /v1/roles instead.
|
|
401
|
+
*
|
|
396
402
|
* @throws GetUsersMetadataHttpError
|
|
397
403
|
*/
|
|
398
404
|
declare const getUsersMetadata: (options?: ApiCallOptions) => Promise<GetUsersMetadataHttpResponse>;
|
|
@@ -408,6 +414,7 @@ type GetUsersMetadataHttpError = {
|
|
|
408
414
|
};
|
|
409
415
|
/**
|
|
410
416
|
* Deletes the requested user.
|
|
417
|
+
*
|
|
411
418
|
* @param userId The ID of the user to delete.
|
|
412
419
|
* @throws DeleteUserHttpError
|
|
413
420
|
*/
|
|
@@ -424,6 +431,7 @@ type DeleteUserHttpError = {
|
|
|
424
431
|
};
|
|
425
432
|
/**
|
|
426
433
|
* Returns the requested user.
|
|
434
|
+
*
|
|
427
435
|
* @param userId The user's unique identifier
|
|
428
436
|
* @param query an object with query parameters
|
|
429
437
|
* @throws GetUserHttpError
|
|
@@ -444,6 +452,7 @@ type GetUserHttpError = {
|
|
|
444
452
|
};
|
|
445
453
|
/**
|
|
446
454
|
* Updates fields for a user resource
|
|
455
|
+
*
|
|
447
456
|
* @param userId The ID of the user to update.
|
|
448
457
|
* @param body an object with the body content
|
|
449
458
|
* @throws PatchUserHttpError
|
|
@@ -472,24 +481,28 @@ declare function clearCache(): void;
|
|
|
472
481
|
interface UsersAPI {
|
|
473
482
|
/**
|
|
474
483
|
* Returns a list of users using cursor-based pagination.
|
|
484
|
+
*
|
|
475
485
|
* @param query an object with query parameters
|
|
476
486
|
* @throws GetUsersHttpError
|
|
477
487
|
*/
|
|
478
488
|
getUsers: typeof getUsers;
|
|
479
489
|
/**
|
|
480
490
|
* Creates an invited user.
|
|
491
|
+
*
|
|
481
492
|
* @param body an object with the body content
|
|
482
493
|
* @throws CreateUserHttpError
|
|
483
494
|
*/
|
|
484
495
|
createUser: typeof createUser;
|
|
485
496
|
/**
|
|
486
497
|
* Returns the number of users in a given tenant
|
|
498
|
+
*
|
|
487
499
|
* @param query an object with query parameters
|
|
488
500
|
* @throws CountUsersHttpError
|
|
489
501
|
*/
|
|
490
502
|
countUsers: typeof countUsers;
|
|
491
503
|
/**
|
|
492
504
|
* Retrieves a list of users matching the filter using an advanced query string.
|
|
505
|
+
*
|
|
493
506
|
* @param query an object with query parameters
|
|
494
507
|
* @param body an object with the body content
|
|
495
508
|
* @throws FilterUsersHttpError
|
|
@@ -497,28 +510,33 @@ interface UsersAPI {
|
|
|
497
510
|
filterUsers: typeof filterUsers;
|
|
498
511
|
/**
|
|
499
512
|
* Invite one or more users by email address.
|
|
513
|
+
*
|
|
500
514
|
* @param body an object with the body content
|
|
501
515
|
* @throws InviteUsersHttpError
|
|
502
516
|
*/
|
|
503
517
|
inviteUsers: typeof inviteUsers;
|
|
504
518
|
/**
|
|
505
519
|
* Redirects to retrieve the user resource associated with the JWT claims.
|
|
520
|
+
*
|
|
506
521
|
* @throws GetMyUserHttpError
|
|
507
522
|
*/
|
|
508
523
|
getMyUser: typeof getMyUser;
|
|
509
524
|
/**
|
|
510
525
|
* Returns the metadata with regard to the user configuration. Deprecated, use GET /v1/roles instead.
|
|
526
|
+
*
|
|
511
527
|
* @throws GetUsersMetadataHttpError
|
|
512
528
|
*/
|
|
513
529
|
getUsersMetadata: typeof getUsersMetadata;
|
|
514
530
|
/**
|
|
515
531
|
* Deletes the requested user.
|
|
532
|
+
*
|
|
516
533
|
* @param userId The ID of the user to delete.
|
|
517
534
|
* @throws DeleteUserHttpError
|
|
518
535
|
*/
|
|
519
536
|
deleteUser: typeof deleteUser;
|
|
520
537
|
/**
|
|
521
538
|
* Returns the requested user.
|
|
539
|
+
*
|
|
522
540
|
* @param userId The user's unique identifier
|
|
523
541
|
* @param query an object with query parameters
|
|
524
542
|
* @throws GetUserHttpError
|
|
@@ -526,6 +544,7 @@ interface UsersAPI {
|
|
|
526
544
|
getUser: typeof getUser;
|
|
527
545
|
/**
|
|
528
546
|
* Updates fields for a user resource
|
|
547
|
+
*
|
|
529
548
|
* @param userId The ID of the user to update.
|
|
530
549
|
* @param body an object with the body content
|
|
531
550
|
* @throws PatchUserHttpError
|
package/users.d.ts
CHANGED
|
@@ -211,6 +211,7 @@ type Users = {
|
|
|
211
211
|
};
|
|
212
212
|
/**
|
|
213
213
|
* Returns a list of users using cursor-based pagination.
|
|
214
|
+
*
|
|
214
215
|
* @param query an object with query parameters
|
|
215
216
|
* @throws GetUsersHttpError
|
|
216
217
|
*/
|
|
@@ -222,35 +223,34 @@ declare const getUsers: (query: {
|
|
|
222
223
|
/** A comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted. */
|
|
223
224
|
fields?: string;
|
|
224
225
|
/** 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.
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
// */
|
|
226
|
+
*
|
|
227
|
+
* The following fields support the `eq` operator: `id`, `subject`, `name`, `email`, `status`, `clientId`, `assignedRoles.id` `assignedRoles.name`, `assignedGroups.id`, `assignedGroupsAssignedRoles.name`
|
|
228
|
+
*
|
|
229
|
+
* Additionally, the following fields support the `co` operator: `name`, `email`, `subject`
|
|
230
|
+
*
|
|
231
|
+
* Queries may be rate limited if they differ greatly from these examples:
|
|
232
|
+
*
|
|
233
|
+
* ```
|
|
234
|
+
* (id eq "62716ab404a7bd8626af9bd6" or id eq "62716ac4c7e500e13ff5fa22") and (status eq "active" or status eq "disabled")
|
|
235
|
+
* ```
|
|
236
|
+
*
|
|
237
|
+
* ```
|
|
238
|
+
* name co "query" or email co "query" or subject co "query" or id eq "query" or assignedRoles.name eq "query"
|
|
239
|
+
* ```
|
|
240
|
+
*
|
|
241
|
+
* Any filters for status must be grouped together and applied to the whole query.
|
|
242
|
+
*
|
|
243
|
+
* Valid:
|
|
244
|
+
*
|
|
245
|
+
* ```
|
|
246
|
+
* (name eq "Bob" or name eq "Alice") and (status eq "active" or status eq "disabled")
|
|
247
|
+
* ```
|
|
248
|
+
*
|
|
249
|
+
* Invalid:
|
|
250
|
+
*
|
|
251
|
+
* ```
|
|
252
|
+
* name eq "Bob" or name eq "Alice" and (status eq "active" or status eq "disabled")
|
|
253
|
+
* ``` */
|
|
254
254
|
filter?: string;
|
|
255
255
|
/** The number of user entries to retrieve. */
|
|
256
256
|
limit?: number;
|
|
@@ -291,6 +291,7 @@ type GetUsersHttpError = {
|
|
|
291
291
|
};
|
|
292
292
|
/**
|
|
293
293
|
* Creates an invited user.
|
|
294
|
+
*
|
|
294
295
|
* @param body an object with the body content
|
|
295
296
|
* @throws CreateUserHttpError
|
|
296
297
|
*/
|
|
@@ -307,6 +308,7 @@ type CreateUserHttpError = {
|
|
|
307
308
|
};
|
|
308
309
|
/**
|
|
309
310
|
* Returns the number of users in a given tenant
|
|
311
|
+
*
|
|
310
312
|
* @param query an object with query parameters
|
|
311
313
|
* @throws CountUsersHttpError
|
|
312
314
|
*/
|
|
@@ -326,6 +328,7 @@ type CountUsersHttpError = {
|
|
|
326
328
|
};
|
|
327
329
|
/**
|
|
328
330
|
* Retrieves a list of users matching the filter using an advanced query string.
|
|
331
|
+
*
|
|
329
332
|
* @param query an object with query parameters
|
|
330
333
|
* @param body an object with the body content
|
|
331
334
|
* @throws FilterUsersHttpError
|
|
@@ -356,6 +359,7 @@ type FilterUsersHttpError = {
|
|
|
356
359
|
};
|
|
357
360
|
/**
|
|
358
361
|
* Invite one or more users by email address.
|
|
362
|
+
*
|
|
359
363
|
* @param body an object with the body content
|
|
360
364
|
* @throws InviteUsersHttpError
|
|
361
365
|
*/
|
|
@@ -372,6 +376,7 @@ type InviteUsersHttpError = {
|
|
|
372
376
|
};
|
|
373
377
|
/**
|
|
374
378
|
* Redirects to retrieve the user resource associated with the JWT claims.
|
|
379
|
+
*
|
|
375
380
|
* @throws GetMyUserHttpError
|
|
376
381
|
*/
|
|
377
382
|
declare const getMyUser: (options?: ApiCallOptions) => Promise<GetMyUserHttpResponse>;
|
|
@@ -393,6 +398,7 @@ type GetMyUser429HttpError = {
|
|
|
393
398
|
type GetMyUserHttpError = GetMyUser301HttpError | GetMyUser429HttpError;
|
|
394
399
|
/**
|
|
395
400
|
* Returns the metadata with regard to the user configuration. Deprecated, use GET /v1/roles instead.
|
|
401
|
+
*
|
|
396
402
|
* @throws GetUsersMetadataHttpError
|
|
397
403
|
*/
|
|
398
404
|
declare const getUsersMetadata: (options?: ApiCallOptions) => Promise<GetUsersMetadataHttpResponse>;
|
|
@@ -408,6 +414,7 @@ type GetUsersMetadataHttpError = {
|
|
|
408
414
|
};
|
|
409
415
|
/**
|
|
410
416
|
* Deletes the requested user.
|
|
417
|
+
*
|
|
411
418
|
* @param userId The ID of the user to delete.
|
|
412
419
|
* @throws DeleteUserHttpError
|
|
413
420
|
*/
|
|
@@ -424,6 +431,7 @@ type DeleteUserHttpError = {
|
|
|
424
431
|
};
|
|
425
432
|
/**
|
|
426
433
|
* Returns the requested user.
|
|
434
|
+
*
|
|
427
435
|
* @param userId The user's unique identifier
|
|
428
436
|
* @param query an object with query parameters
|
|
429
437
|
* @throws GetUserHttpError
|
|
@@ -444,6 +452,7 @@ type GetUserHttpError = {
|
|
|
444
452
|
};
|
|
445
453
|
/**
|
|
446
454
|
* Updates fields for a user resource
|
|
455
|
+
*
|
|
447
456
|
* @param userId The ID of the user to update.
|
|
448
457
|
* @param body an object with the body content
|
|
449
458
|
* @throws PatchUserHttpError
|
|
@@ -472,24 +481,28 @@ declare function clearCache(): void;
|
|
|
472
481
|
interface UsersAPI {
|
|
473
482
|
/**
|
|
474
483
|
* Returns a list of users using cursor-based pagination.
|
|
484
|
+
*
|
|
475
485
|
* @param query an object with query parameters
|
|
476
486
|
* @throws GetUsersHttpError
|
|
477
487
|
*/
|
|
478
488
|
getUsers: typeof getUsers;
|
|
479
489
|
/**
|
|
480
490
|
* Creates an invited user.
|
|
491
|
+
*
|
|
481
492
|
* @param body an object with the body content
|
|
482
493
|
* @throws CreateUserHttpError
|
|
483
494
|
*/
|
|
484
495
|
createUser: typeof createUser;
|
|
485
496
|
/**
|
|
486
497
|
* Returns the number of users in a given tenant
|
|
498
|
+
*
|
|
487
499
|
* @param query an object with query parameters
|
|
488
500
|
* @throws CountUsersHttpError
|
|
489
501
|
*/
|
|
490
502
|
countUsers: typeof countUsers;
|
|
491
503
|
/**
|
|
492
504
|
* Retrieves a list of users matching the filter using an advanced query string.
|
|
505
|
+
*
|
|
493
506
|
* @param query an object with query parameters
|
|
494
507
|
* @param body an object with the body content
|
|
495
508
|
* @throws FilterUsersHttpError
|
|
@@ -497,28 +510,33 @@ interface UsersAPI {
|
|
|
497
510
|
filterUsers: typeof filterUsers;
|
|
498
511
|
/**
|
|
499
512
|
* Invite one or more users by email address.
|
|
513
|
+
*
|
|
500
514
|
* @param body an object with the body content
|
|
501
515
|
* @throws InviteUsersHttpError
|
|
502
516
|
*/
|
|
503
517
|
inviteUsers: typeof inviteUsers;
|
|
504
518
|
/**
|
|
505
519
|
* Redirects to retrieve the user resource associated with the JWT claims.
|
|
520
|
+
*
|
|
506
521
|
* @throws GetMyUserHttpError
|
|
507
522
|
*/
|
|
508
523
|
getMyUser: typeof getMyUser;
|
|
509
524
|
/**
|
|
510
525
|
* Returns the metadata with regard to the user configuration. Deprecated, use GET /v1/roles instead.
|
|
526
|
+
*
|
|
511
527
|
* @throws GetUsersMetadataHttpError
|
|
512
528
|
*/
|
|
513
529
|
getUsersMetadata: typeof getUsersMetadata;
|
|
514
530
|
/**
|
|
515
531
|
* Deletes the requested user.
|
|
532
|
+
*
|
|
516
533
|
* @param userId The ID of the user to delete.
|
|
517
534
|
* @throws DeleteUserHttpError
|
|
518
535
|
*/
|
|
519
536
|
deleteUser: typeof deleteUser;
|
|
520
537
|
/**
|
|
521
538
|
* Returns the requested user.
|
|
539
|
+
*
|
|
522
540
|
* @param userId The user's unique identifier
|
|
523
541
|
* @param query an object with query parameters
|
|
524
542
|
* @throws GetUserHttpError
|
|
@@ -526,6 +544,7 @@ interface UsersAPI {
|
|
|
526
544
|
getUser: typeof getUser;
|
|
527
545
|
/**
|
|
528
546
|
* Updates fields for a user resource
|
|
547
|
+
*
|
|
529
548
|
* @param userId The ID of the user to update.
|
|
530
549
|
* @param body an object with the body content
|
|
531
550
|
* @throws PatchUserHttpError
|
package/users.js
CHANGED
|
@@ -1,73 +1,78 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/users.ts
|
|
8
|
-
var getUsers = async (query, options) =>
|
|
9
|
+
var getUsers = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/users",
|
|
11
12
|
query,
|
|
12
13
|
options
|
|
13
14
|
});
|
|
14
|
-
var createUser = async (body, options) =>
|
|
15
|
+
var createUser = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/users",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
|
-
var countUsers = async (query, options) =>
|
|
22
|
+
var countUsers = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
21
23
|
method: "get",
|
|
22
24
|
pathTemplate: "/api/v1/users/actions/count",
|
|
23
25
|
query,
|
|
24
26
|
options
|
|
25
27
|
});
|
|
26
|
-
var filterUsers = async (query, body, options) =>
|
|
28
|
+
var filterUsers = async (query, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
27
29
|
method: "post",
|
|
28
30
|
pathTemplate: "/api/v1/users/actions/filter",
|
|
29
31
|
query,
|
|
30
32
|
body,
|
|
33
|
+
contentType: "application/json",
|
|
31
34
|
options
|
|
32
35
|
});
|
|
33
|
-
var inviteUsers = async (body, options) =>
|
|
36
|
+
var inviteUsers = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
34
37
|
method: "post",
|
|
35
38
|
pathTemplate: "/api/v1/users/actions/invite",
|
|
36
39
|
body,
|
|
40
|
+
contentType: "application/json",
|
|
37
41
|
options
|
|
38
42
|
});
|
|
39
|
-
var getMyUser = async (options) =>
|
|
43
|
+
var getMyUser = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
40
44
|
method: "get",
|
|
41
45
|
pathTemplate: "/api/v1/users/me",
|
|
42
46
|
options
|
|
43
47
|
});
|
|
44
|
-
var getUsersMetadata = async (options) =>
|
|
48
|
+
var getUsersMetadata = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
45
49
|
method: "get",
|
|
46
50
|
pathTemplate: "/api/v1/users/metadata",
|
|
47
51
|
options
|
|
48
52
|
});
|
|
49
|
-
var deleteUser = async (userId, options) =>
|
|
53
|
+
var deleteUser = async (userId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
50
54
|
method: "delete",
|
|
51
55
|
pathTemplate: "/api/v1/users/{userId}",
|
|
52
56
|
pathVariables: { userId },
|
|
53
57
|
options
|
|
54
58
|
});
|
|
55
|
-
var getUser = async (userId, query, options) =>
|
|
59
|
+
var getUser = async (userId, query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
56
60
|
method: "get",
|
|
57
61
|
pathTemplate: "/api/v1/users/{userId}",
|
|
58
62
|
pathVariables: { userId },
|
|
59
63
|
query,
|
|
60
64
|
options
|
|
61
65
|
});
|
|
62
|
-
var patchUser = async (userId, body, options) =>
|
|
66
|
+
var patchUser = async (userId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "users", {
|
|
63
67
|
method: "patch",
|
|
64
68
|
pathTemplate: "/api/v1/users/{userId}",
|
|
65
69
|
pathVariables: { userId },
|
|
66
70
|
body,
|
|
71
|
+
contentType: "application/json",
|
|
67
72
|
options
|
|
68
73
|
});
|
|
69
74
|
function clearCache() {
|
|
70
|
-
return
|
|
75
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "users");
|
|
71
76
|
}
|
|
72
77
|
var usersExport = {
|
|
73
78
|
getUsers,
|
package/users.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/users.ts
|
|
8
9
|
var getUsers = async (query, options) => invokeFetch("users", {
|
|
@@ -15,6 +16,7 @@ var createUser = async (body, options) => invokeFetch("users", {
|
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/users",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
22
|
var countUsers = async (query, options) => invokeFetch("users", {
|
|
@@ -28,12 +30,14 @@ var filterUsers = async (query, body, options) => invokeFetch("users", {
|
|
|
28
30
|
pathTemplate: "/api/v1/users/actions/filter",
|
|
29
31
|
query,
|
|
30
32
|
body,
|
|
33
|
+
contentType: "application/json",
|
|
31
34
|
options
|
|
32
35
|
});
|
|
33
36
|
var inviteUsers = async (body, options) => invokeFetch("users", {
|
|
34
37
|
method: "post",
|
|
35
38
|
pathTemplate: "/api/v1/users/actions/invite",
|
|
36
39
|
body,
|
|
40
|
+
contentType: "application/json",
|
|
37
41
|
options
|
|
38
42
|
});
|
|
39
43
|
var getMyUser = async (options) => invokeFetch("users", {
|
|
@@ -64,6 +68,7 @@ var patchUser = async (userId, body, options) => invokeFetch("users", {
|
|
|
64
68
|
pathTemplate: "/api/v1/users/{userId}",
|
|
65
69
|
pathVariables: { userId },
|
|
66
70
|
body,
|
|
71
|
+
contentType: "application/json",
|
|
67
72
|
options
|
|
68
73
|
});
|
|
69
74
|
function clearCache() {
|
package/web-integrations.d.mts
CHANGED
|
@@ -105,6 +105,7 @@ type WebIntegrations = {
|
|
|
105
105
|
};
|
|
106
106
|
/**
|
|
107
107
|
* Retrieves web integrations matching the query.
|
|
108
|
+
*
|
|
108
109
|
* @param query an object with query parameters
|
|
109
110
|
* @throws GetWebIntegrationsHttpError
|
|
110
111
|
*/
|
|
@@ -134,6 +135,7 @@ type GetWebIntegrationsHttpError = {
|
|
|
134
135
|
};
|
|
135
136
|
/**
|
|
136
137
|
* Creates a web integration.
|
|
138
|
+
*
|
|
137
139
|
* @param body an object with the body content
|
|
138
140
|
* @throws CreateWebIntegrationHttpError
|
|
139
141
|
*/
|
|
@@ -150,6 +152,7 @@ type CreateWebIntegrationHttpError = {
|
|
|
150
152
|
};
|
|
151
153
|
/**
|
|
152
154
|
* Deletes a single web integration by ID.
|
|
155
|
+
*
|
|
153
156
|
* @param id The ID of the web integration to delete.
|
|
154
157
|
* @throws DeleteWebIntegrationHttpError
|
|
155
158
|
*/
|
|
@@ -166,6 +169,7 @@ type DeleteWebIntegrationHttpError = {
|
|
|
166
169
|
};
|
|
167
170
|
/**
|
|
168
171
|
* Retrieves a single web integration by ID.
|
|
172
|
+
*
|
|
169
173
|
* @param id The ID of the web integration to retrieve.
|
|
170
174
|
* @throws GetWebIntegrationHttpError
|
|
171
175
|
*/
|
|
@@ -182,6 +186,7 @@ type GetWebIntegrationHttpError = {
|
|
|
182
186
|
};
|
|
183
187
|
/**
|
|
184
188
|
* Updates a single web integration by ID.
|
|
189
|
+
*
|
|
185
190
|
* @param id The ID of the web integration to update.
|
|
186
191
|
* @param body an object with the body content
|
|
187
192
|
* @throws PatchWebIntegrationHttpError
|
|
@@ -204,30 +209,35 @@ declare function clearCache(): void;
|
|
|
204
209
|
interface WebIntegrationsAPI {
|
|
205
210
|
/**
|
|
206
211
|
* Retrieves web integrations matching the query.
|
|
212
|
+
*
|
|
207
213
|
* @param query an object with query parameters
|
|
208
214
|
* @throws GetWebIntegrationsHttpError
|
|
209
215
|
*/
|
|
210
216
|
getWebIntegrations: typeof getWebIntegrations;
|
|
211
217
|
/**
|
|
212
218
|
* Creates a web integration.
|
|
219
|
+
*
|
|
213
220
|
* @param body an object with the body content
|
|
214
221
|
* @throws CreateWebIntegrationHttpError
|
|
215
222
|
*/
|
|
216
223
|
createWebIntegration: typeof createWebIntegration;
|
|
217
224
|
/**
|
|
218
225
|
* Deletes a single web integration by ID.
|
|
226
|
+
*
|
|
219
227
|
* @param id The ID of the web integration to delete.
|
|
220
228
|
* @throws DeleteWebIntegrationHttpError
|
|
221
229
|
*/
|
|
222
230
|
deleteWebIntegration: typeof deleteWebIntegration;
|
|
223
231
|
/**
|
|
224
232
|
* Retrieves a single web integration by ID.
|
|
233
|
+
*
|
|
225
234
|
* @param id The ID of the web integration to retrieve.
|
|
226
235
|
* @throws GetWebIntegrationHttpError
|
|
227
236
|
*/
|
|
228
237
|
getWebIntegration: typeof getWebIntegration;
|
|
229
238
|
/**
|
|
230
239
|
* Updates a single web integration by ID.
|
|
240
|
+
*
|
|
231
241
|
* @param id The ID of the web integration to update.
|
|
232
242
|
* @param body an object with the body content
|
|
233
243
|
* @throws PatchWebIntegrationHttpError
|