@qlik/api 0.0.2 → 0.0.4
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/api-keys.d.mts +14 -0
- package/api-keys.d.ts +14 -0
- package/api-keys.js +14 -10
- package/api-keys.mjs +6 -2
- package/apps.d.mts +479 -149
- package/apps.d.ts +479 -149
- package/apps.js +100 -42
- package/apps.mjs +60 -2
- package/audits.d.mts +12 -0
- package/audits.d.ts +12 -0
- package/audits.js +10 -9
- package/audits.mjs +3 -2
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +36 -0
- package/automations.d.ts +36 -0
- package/automations.js +28 -21
- package/automations.mjs +9 -2
- 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-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
- package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-QN23TPIE.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 +51 -17
- package/collections.d.ts +51 -17
- package/collections.js +28 -14
- package/collections.mjs +16 -2
- package/csp-origins.d.mts +16 -1
- package/csp-origins.d.ts +16 -1
- 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 +18 -0
- package/data-connections.d.ts +18 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +8 -0
- package/data-credentials.d.ts +8 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +98 -13
- package/data-files.d.ts +98 -13
- package/data-files.js +22 -15
- package/data-files.mjs +9 -2
- package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
- package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
- package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
- package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
- 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 +16 -0
- package/groups.d.ts +16 -0
- package/groups.js +16 -11
- package/groups.mjs +7 -2
- package/identity-providers.d.mts +16 -0
- package/identity-providers.d.ts +16 -0
- package/identity-providers.js +14 -11
- package/identity-providers.mjs +5 -2
- package/index.js +135 -101
- package/index.mjs +131 -97
- package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +6 -6
- package/items.d.ts +6 -6
- package/items.js +14 -11
- package/items.mjs +5 -2
- package/licenses.d.mts +18 -0
- package/licenses.d.ts +18 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +4 -4
- package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- 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.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +17 -10
- package/reloads.d.ts +17 -10
- 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 +27 -4
- package/spaces.d.ts +27 -4
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +8 -3
- package/temp-contents.d.ts +8 -3
- package/temp-contents.js +8 -6
- package/temp-contents.mjs +4 -2
- 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 +25 -5
- package/webhooks.d.ts +25 -5
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/auth-OU7OTB7Y.js +0 -38
- package/auth-TE272Q34.mjs +0 -36
- package/chunk-4ES65KO3.js +0 -57
- package/chunk-4FLMND6T.js +0 -25
- package/chunk-4OMEH5SW.mjs +0 -1337
- package/chunk-6JERR27K.js +0 -17
- package/chunk-E42WUFCK.mjs +0 -57
- package/chunk-H7SAZYEE.js +0 -21
- package/chunk-KMMWJZHM.mjs +0 -25
- package/chunk-W4J34XGA.mjs +0 -17
- package/chunk-WM7FQU2U.mjs +0 -21
- package/chunk-XASXL2NC.js +0 -1337
- package/enigma-session-4L373ALV.mjs +0 -10196
- package/enigma-session-TEB53FAF.js +0 -10196
- package/esm-4X3DKK5D.js +0 -63
- package/esm-SOWVJKOQ.mjs +0 -63
- package/invoke-fetch-7PKPQ3FD.js +0 -14
- package/invoke-fetch-MSSJAZ7K.mjs +0 -14
- package/invoke-fetch-PEI54KZO.js +0 -14
- package/qix-EU7PXRZ6.mjs +0 -573
- package/qix-RLTISYTB.js +0 -573
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
|
package/web-integrations.d.ts
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
|
package/web-integrations.js
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
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/web-integrations.ts
|
|
8
|
-
var getWebIntegrations = async (query, options) =>
|
|
9
|
+
var getWebIntegrations = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/web-integrations",
|
|
11
12
|
query,
|
|
12
13
|
options
|
|
13
14
|
});
|
|
14
|
-
var createWebIntegration = async (body, options) =>
|
|
15
|
+
var createWebIntegration = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/web-integrations",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
|
-
var deleteWebIntegration = async (id, options) =>
|
|
22
|
+
var deleteWebIntegration = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
|
|
21
23
|
method: "delete",
|
|
22
24
|
pathTemplate: "/api/v1/web-integrations/{id}",
|
|
23
25
|
pathVariables: { id },
|
|
24
26
|
options
|
|
25
27
|
});
|
|
26
|
-
var getWebIntegration = async (id, options) =>
|
|
28
|
+
var getWebIntegration = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
|
|
27
29
|
method: "get",
|
|
28
30
|
pathTemplate: "/api/v1/web-integrations/{id}",
|
|
29
31
|
pathVariables: { id },
|
|
30
32
|
options
|
|
31
33
|
});
|
|
32
|
-
var patchWebIntegration = async (id, body, options) =>
|
|
34
|
+
var patchWebIntegration = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
|
|
33
35
|
method: "patch",
|
|
34
36
|
pathTemplate: "/api/v1/web-integrations/{id}",
|
|
35
37
|
pathVariables: { id },
|
|
36
38
|
body,
|
|
39
|
+
contentType: "application/json",
|
|
37
40
|
options
|
|
38
41
|
});
|
|
39
42
|
function clearCache() {
|
|
40
|
-
return
|
|
43
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "web-integrations");
|
|
41
44
|
}
|
|
42
45
|
var webIntegrationsExport = {
|
|
43
46
|
getWebIntegrations,
|
package/web-integrations.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/web-integrations.ts
|
|
8
9
|
var getWebIntegrations = async (query, options) => invokeFetch("web-integrations", {
|
|
@@ -15,6 +16,7 @@ var createWebIntegration = async (body, options) => invokeFetch("web-integration
|
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/web-integrations",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
22
|
var deleteWebIntegration = async (id, options) => invokeFetch("web-integrations", {
|
|
@@ -34,6 +36,7 @@ var patchWebIntegration = async (id, body, options) => invokeFetch("web-integrat
|
|
|
34
36
|
pathTemplate: "/api/v1/web-integrations/{id}",
|
|
35
37
|
pathVariables: { id },
|
|
36
38
|
body,
|
|
39
|
+
contentType: "application/json",
|
|
37
40
|
options
|
|
38
41
|
});
|
|
39
42
|
function clearCache() {
|
package/web-notifications.d.mts
CHANGED
|
@@ -61,6 +61,7 @@ type Notifications = {
|
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* Retrieve notifications matching the query.
|
|
64
|
+
*
|
|
64
65
|
* @param query an object with query parameters
|
|
65
66
|
* @throws GetNotificationsHttpError
|
|
66
67
|
*/
|
|
@@ -88,6 +89,7 @@ type GetNotificationsHttpError = {
|
|
|
88
89
|
};
|
|
89
90
|
/**
|
|
90
91
|
* Delete all notifications.
|
|
92
|
+
*
|
|
91
93
|
* @throws DeleteNotificationsHttpError
|
|
92
94
|
*/
|
|
93
95
|
declare const deleteNotifications: (options?: ApiCallOptions) => Promise<DeleteNotificationsHttpResponse>;
|
|
@@ -103,6 +105,7 @@ type DeleteNotificationsHttpError = {
|
|
|
103
105
|
};
|
|
104
106
|
/**
|
|
105
107
|
* Patch all notifications.
|
|
108
|
+
*
|
|
106
109
|
* @param body an object with the body content
|
|
107
110
|
* @throws PatchNotificationsHttpError
|
|
108
111
|
*/
|
|
@@ -119,6 +122,7 @@ type PatchNotificationsHttpError = {
|
|
|
119
122
|
};
|
|
120
123
|
/**
|
|
121
124
|
* Delete a notification.
|
|
125
|
+
*
|
|
122
126
|
* @param notificationId The id of the notification to delete.
|
|
123
127
|
* @throws DeleteNotificationHttpError
|
|
124
128
|
*/
|
|
@@ -135,6 +139,7 @@ type DeleteNotificationHttpError = {
|
|
|
135
139
|
};
|
|
136
140
|
/**
|
|
137
141
|
* Retrieve a single notification by Id.
|
|
142
|
+
*
|
|
138
143
|
* @param notificationId The id of the notification to retrieve.
|
|
139
144
|
* @throws GetNotificationHttpError
|
|
140
145
|
*/
|
|
@@ -151,6 +156,7 @@ type GetNotificationHttpError = {
|
|
|
151
156
|
};
|
|
152
157
|
/**
|
|
153
158
|
* Patch a notification.
|
|
159
|
+
*
|
|
154
160
|
* @param notificationId The id of the notification to update.
|
|
155
161
|
* @param body an object with the body content
|
|
156
162
|
* @throws PatchNotificationHttpError
|
|
@@ -173,35 +179,41 @@ declare function clearCache(): void;
|
|
|
173
179
|
interface WebNotificationsAPI {
|
|
174
180
|
/**
|
|
175
181
|
* Retrieve notifications matching the query.
|
|
182
|
+
*
|
|
176
183
|
* @param query an object with query parameters
|
|
177
184
|
* @throws GetNotificationsHttpError
|
|
178
185
|
*/
|
|
179
186
|
getNotifications: typeof getNotifications;
|
|
180
187
|
/**
|
|
181
188
|
* Delete all notifications.
|
|
189
|
+
*
|
|
182
190
|
* @throws DeleteNotificationsHttpError
|
|
183
191
|
*/
|
|
184
192
|
deleteNotifications: typeof deleteNotifications;
|
|
185
193
|
/**
|
|
186
194
|
* Patch all notifications.
|
|
195
|
+
*
|
|
187
196
|
* @param body an object with the body content
|
|
188
197
|
* @throws PatchNotificationsHttpError
|
|
189
198
|
*/
|
|
190
199
|
patchNotifications: typeof patchNotifications;
|
|
191
200
|
/**
|
|
192
201
|
* Delete a notification.
|
|
202
|
+
*
|
|
193
203
|
* @param notificationId The id of the notification to delete.
|
|
194
204
|
* @throws DeleteNotificationHttpError
|
|
195
205
|
*/
|
|
196
206
|
deleteNotification: typeof deleteNotification;
|
|
197
207
|
/**
|
|
198
208
|
* Retrieve a single notification by Id.
|
|
209
|
+
*
|
|
199
210
|
* @param notificationId The id of the notification to retrieve.
|
|
200
211
|
* @throws GetNotificationHttpError
|
|
201
212
|
*/
|
|
202
213
|
getNotification: typeof getNotification;
|
|
203
214
|
/**
|
|
204
215
|
* Patch a notification.
|
|
216
|
+
*
|
|
205
217
|
* @param notificationId The id of the notification to update.
|
|
206
218
|
* @param body an object with the body content
|
|
207
219
|
* @throws PatchNotificationHttpError
|