@qlik/api 0.0.5 → 0.0.7

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 (98) hide show
  1. package/api-keys.js +10 -10
  2. package/api-keys.mjs +2 -2
  3. package/apps.d.mts +20 -61
  4. package/apps.d.ts +20 -61
  5. package/apps.js +46 -46
  6. package/apps.mjs +2 -2
  7. package/audits.js +9 -9
  8. package/audits.mjs +2 -2
  9. package/auth-TB6NYHVR.js +41 -0
  10. package/{auth-7HMK2Q6F.mjs → auth-UH5NRF5W.mjs} +1 -1
  11. package/auth.js +3 -3
  12. package/auth.mjs +2 -2
  13. package/automations.js +21 -21
  14. package/automations.mjs +2 -2
  15. package/brands.js +15 -15
  16. package/brands.mjs +2 -2
  17. package/{chunk-2II4JNZO.js → chunk-2EGD2BDX.js} +8 -4
  18. package/{chunk-GLWHVX4M.mjs → chunk-7HKUAHVA.mjs} +3 -3
  19. package/{chunk-UXRTUKY5.mjs → chunk-AHJ5TCGF.mjs} +1 -1
  20. package/{chunk-QLS6D4AX.mjs → chunk-AHWPRCGA.mjs} +6 -2
  21. package/{chunk-XJKF347C.js → chunk-KPCXSJ7B.js} +3 -3
  22. package/{chunk-EDRFS7GY.mjs → chunk-OQ7JMHBC.mjs} +1 -1
  23. package/{chunk-7PAVHCQG.js → chunk-RG5MJMTS.js} +2 -2
  24. package/{chunk-2NSUC46G.js → chunk-VTS2AFOU.js} +4 -4
  25. package/{chunk-PUBPF4EZ.mjs → chunk-ZNLWUSS5.mjs} +1 -1
  26. package/{chunk-JZAPZIPR.js → chunk-ZXQHFWQH.js} +3 -3
  27. package/collections.js +14 -14
  28. package/collections.mjs +2 -2
  29. package/csp-origins.js +9 -9
  30. package/csp-origins.mjs +2 -2
  31. package/data-assets.js +8 -8
  32. package/data-assets.mjs +2 -2
  33. package/data-connections.js +12 -12
  34. package/data-connections.mjs +2 -2
  35. package/data-credentials.js +7 -7
  36. package/data-credentials.mjs +2 -2
  37. package/data-files.js +15 -15
  38. package/data-files.mjs +2 -2
  39. package/docs/qix.md +1 -1
  40. package/{enigma-session-L4P4IJWW.mjs → enigma-session-BUSRMT72.mjs} +1 -1
  41. package/{enigma-session-2OXUKTWL.js → enigma-session-SX3S4D67.js} +4 -4
  42. package/extensions.js +10 -10
  43. package/extensions.mjs +2 -2
  44. package/glossaries.d.mts +51 -4
  45. package/glossaries.d.ts +51 -4
  46. package/glossaries.js +27 -27
  47. package/glossaries.mjs +2 -2
  48. package/groups.js +11 -11
  49. package/groups.mjs +2 -2
  50. package/identity-providers.js +11 -11
  51. package/identity-providers.mjs +2 -2
  52. package/index.js +8 -8
  53. package/index.mjs +4 -4
  54. package/invoke-fetch-JU62OAXK.js +17 -0
  55. package/{invoke-fetch-CK5Y37H3.mjs → invoke-fetch-O6G2T5EO.mjs} +1 -1
  56. package/items.js +11 -11
  57. package/items.mjs +2 -2
  58. package/licenses.js +12 -12
  59. package/licenses.mjs +2 -2
  60. package/package.json +1 -4
  61. package/{qix-MP65NOTD.mjs → qix-6ZR6KLUS.mjs} +2 -2
  62. package/{qix-FLNSZRQX.js → qix-H5YPUSPO.js} +8 -8
  63. package/qix.d.mts +16 -2
  64. package/qix.d.ts +16 -2
  65. package/qix.js +3 -3
  66. package/qix.mjs +2 -2
  67. package/quotas.js +5 -5
  68. package/quotas.mjs +2 -2
  69. package/reload-tasks.js +8 -8
  70. package/reload-tasks.mjs +2 -2
  71. package/reloads.js +7 -7
  72. package/reloads.mjs +2 -2
  73. package/roles.d.mts +12 -0
  74. package/roles.d.ts +12 -0
  75. package/roles.js +5 -5
  76. package/roles.mjs +2 -2
  77. package/spaces.js +15 -15
  78. package/spaces.mjs +2 -2
  79. package/temp-contents.js +6 -6
  80. package/temp-contents.mjs +2 -2
  81. package/tenants.js +9 -9
  82. package/tenants.mjs +2 -2
  83. package/themes.js +10 -10
  84. package/themes.mjs +2 -2
  85. package/transports.js +9 -9
  86. package/transports.mjs +2 -2
  87. package/users.d.mts +4 -1
  88. package/users.d.ts +4 -1
  89. package/users.js +13 -13
  90. package/users.mjs +2 -2
  91. package/web-integrations.js +8 -8
  92. package/web-integrations.mjs +2 -2
  93. package/web-notifications.js +9 -9
  94. package/web-notifications.mjs +2 -2
  95. package/webhooks.js +13 -13
  96. package/webhooks.mjs +2 -2
  97. package/auth-6VOJ5YIL.js +0 -41
  98. package/invoke-fetch-D52L5Y7B.js +0 -17
package/roles.d.ts CHANGED
@@ -47,10 +47,20 @@ type ListRolesResult = {
47
47
  totalResults?: number;
48
48
  };
49
49
  type Role = {
50
+ /** Selection of scopes added to this Role */
51
+ assignedScopes?: string[];
52
+ /** Indicate if role can be deleted */
53
+ readonly canDelete?: boolean;
54
+ /** Indicate if role can be edited by tenant (Shown as Profile in MC) */
55
+ readonly canEdit?: boolean;
50
56
  /** The timestamp for when the role was created. */
51
57
  createdAt: string;
58
+ /** Id of user that created role */
59
+ readonly createdBy?: string;
52
60
  /** Descriptive text for the role. */
53
61
  description: string;
62
+ /** Indicate if this role will trigger promotion to full user in STP */
63
+ readonly fullUser?: boolean;
54
64
  /** The unique identifier for the role. */
55
65
  readonly id: string;
56
66
  /** The timestamp for when the role was last updated. */
@@ -72,6 +82,8 @@ type Role = {
72
82
  tenantId: string;
73
83
  /** The type of role. */
74
84
  type: "default";
85
+ /** Id of user that last updated`` role */
86
+ readonly updatedBy?: string;
75
87
  };
76
88
  /**
77
89
  * Returns a list of roles using cursor-based pagination.
package/roles.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXJKF347Cjs = require('./chunk-XJKF347C.js');
5
- require('./chunk-JZAPZIPR.js');
4
+ var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
+ require('./chunk-ZXQHFWQH.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/roles.ts
9
- var getRoles = async (query, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "roles", {
9
+ var getRoles = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "roles", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/roles",
12
12
  query,
13
13
  options
14
14
  });
15
- var getRole = async (id, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "roles", {
15
+ var getRole = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "roles", {
16
16
  method: "get",
17
17
  pathTemplate: "/api/v1/roles/{id}",
18
18
  pathVariables: { id },
19
19
  options
20
20
  });
21
21
  function clearCache() {
22
- return _chunkXJKF347Cjs.clearApiCache.call(void 0, "roles");
22
+ return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "roles");
23
23
  }
24
24
  var rolesExport = { getRoles, getRole, clearCache };
25
25
  var roles_default = rolesExport;
package/roles.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-PUBPF4EZ.mjs";
5
- import "./chunk-GLWHVX4M.mjs";
4
+ } from "./chunk-ZNLWUSS5.mjs";
5
+ import "./chunk-7HKUAHVA.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/roles.ts
package/spaces.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXJKF347Cjs = require('./chunk-XJKF347C.js');
5
- require('./chunk-JZAPZIPR.js');
4
+ var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
+ require('./chunk-ZXQHFWQH.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/spaces.ts
9
- var getSpaces = async (query, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
9
+ var getSpaces = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/spaces",
12
12
  query,
13
13
  options
14
14
  });
15
- var createSpace = async (body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
15
+ var createSpace = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/spaces",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getSpaceTypes = async (options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
22
+ var getSpaceTypes = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/spaces/types",
25
25
  options
26
26
  });
27
- var deleteSpace = async (spaceId, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
27
+ var deleteSpace = async (spaceId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/spaces/{spaceId}",
30
30
  pathVariables: { spaceId },
31
31
  options
32
32
  });
33
- var getSpace = async (spaceId, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
33
+ var getSpace = async (spaceId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/spaces/{spaceId}",
36
36
  pathVariables: { spaceId },
37
37
  options
38
38
  });
39
- var patchSpace = async (spaceId, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
39
+ var patchSpace = async (spaceId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
40
40
  method: "patch",
41
41
  pathTemplate: "/api/v1/spaces/{spaceId}",
42
42
  pathVariables: { spaceId },
@@ -44,7 +44,7 @@ var patchSpace = async (spaceId, body, options) => _chunkXJKF347Cjs.invokeFetch.
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var updateSpace = async (spaceId, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
47
+ var updateSpace = async (spaceId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
48
48
  method: "put",
49
49
  pathTemplate: "/api/v1/spaces/{spaceId}",
50
50
  pathVariables: { spaceId },
@@ -52,14 +52,14 @@ var updateSpace = async (spaceId, body, options) => _chunkXJKF347Cjs.invokeFetch
52
52
  contentType: "application/json",
53
53
  options
54
54
  });
55
- var getSpaceAssignments = async (spaceId, query, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
55
+ var getSpaceAssignments = async (spaceId, query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
56
56
  method: "get",
57
57
  pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
58
58
  pathVariables: { spaceId },
59
59
  query,
60
60
  options
61
61
  });
62
- var createSpaceAssignment = async (spaceId, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
62
+ var createSpaceAssignment = async (spaceId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
63
63
  method: "post",
64
64
  pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
65
65
  pathVariables: { spaceId },
@@ -67,19 +67,19 @@ var createSpaceAssignment = async (spaceId, body, options) => _chunkXJKF347Cjs.i
67
67
  contentType: "application/json",
68
68
  options
69
69
  });
70
- var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
70
+ var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
71
71
  method: "delete",
72
72
  pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
73
73
  pathVariables: { spaceId, assignmentId },
74
74
  options
75
75
  });
76
- var getSpaceAssignment = async (spaceId, assignmentId, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
76
+ var getSpaceAssignment = async (spaceId, assignmentId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
77
77
  method: "get",
78
78
  pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
79
79
  pathVariables: { spaceId, assignmentId },
80
80
  options
81
81
  });
82
- var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "spaces", {
82
+ var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "spaces", {
83
83
  method: "put",
84
84
  pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
85
85
  pathVariables: { spaceId, assignmentId },
@@ -88,7 +88,7 @@ var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _chu
88
88
  options
89
89
  });
90
90
  function clearCache() {
91
- return _chunkXJKF347Cjs.clearApiCache.call(void 0, "spaces");
91
+ return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "spaces");
92
92
  }
93
93
  var spacesExport = {
94
94
  getSpaces,
package/spaces.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-PUBPF4EZ.mjs";
5
- import "./chunk-GLWHVX4M.mjs";
4
+ } from "./chunk-ZNLWUSS5.mjs";
5
+ import "./chunk-7HKUAHVA.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/spaces.ts
package/temp-contents.js CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXJKF347Cjs = require('./chunk-XJKF347C.js');
5
- require('./chunk-JZAPZIPR.js');
4
+ var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
+ require('./chunk-ZXQHFWQH.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/temp-contents.ts
9
- var uploadTempFile = async (query, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "temp-contents", {
9
+ var uploadTempFile = async (query, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "temp-contents", {
10
10
  method: "post",
11
11
  pathTemplate: "/api/v1/temp-contents",
12
12
  query,
@@ -14,21 +14,21 @@ var uploadTempFile = async (query, body, options) => _chunkXJKF347Cjs.invokeFetc
14
14
  contentType: "application/octet-stream",
15
15
  options
16
16
  });
17
- var downloadTempFile = async (id, query, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "temp-contents", {
17
+ var downloadTempFile = async (id, query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "temp-contents", {
18
18
  method: "get",
19
19
  pathTemplate: "/api/v1/temp-contents/{id}",
20
20
  pathVariables: { id },
21
21
  query,
22
22
  options
23
23
  });
24
- var getTempFileDetails = async (id, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "temp-contents", {
24
+ var getTempFileDetails = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "temp-contents", {
25
25
  method: "get",
26
26
  pathTemplate: "/api/v1/temp-contents/{id}/details",
27
27
  pathVariables: { id },
28
28
  options
29
29
  });
30
30
  function clearCache() {
31
- return _chunkXJKF347Cjs.clearApiCache.call(void 0, "temp-contents");
31
+ return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "temp-contents");
32
32
  }
33
33
  var tempContentsExport = { uploadTempFile, downloadTempFile, getTempFileDetails, clearCache };
34
34
  var temp_contents_default = tempContentsExport;
package/temp-contents.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-PUBPF4EZ.mjs";
5
- import "./chunk-GLWHVX4M.mjs";
4
+ } from "./chunk-ZNLWUSS5.mjs";
5
+ import "./chunk-7HKUAHVA.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/temp-contents.ts
package/tenants.js CHANGED
@@ -1,30 +1,30 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXJKF347Cjs = require('./chunk-XJKF347C.js');
5
- require('./chunk-JZAPZIPR.js');
4
+ var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
+ require('./chunk-ZXQHFWQH.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/tenants.ts
9
- var createTenant = async (body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "tenants", {
9
+ var createTenant = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "tenants", {
10
10
  method: "post",
11
11
  pathTemplate: "/api/v1/tenants",
12
12
  body,
13
13
  contentType: "application/json",
14
14
  options
15
15
  });
16
- var getMyTenant = async (options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "tenants", {
16
+ var getMyTenant = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "tenants", {
17
17
  method: "get",
18
18
  pathTemplate: "/api/v1/tenants/me",
19
19
  options
20
20
  });
21
- var getTenant = async (tenantId, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "tenants", {
21
+ var getTenant = async (tenantId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "tenants", {
22
22
  method: "get",
23
23
  pathTemplate: "/api/v1/tenants/{tenantId}",
24
24
  pathVariables: { tenantId },
25
25
  options
26
26
  });
27
- var patchTenant = async (tenantId, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "tenants", {
27
+ var patchTenant = async (tenantId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "tenants", {
28
28
  method: "patch",
29
29
  pathTemplate: "/api/v1/tenants/{tenantId}",
30
30
  pathVariables: { tenantId },
@@ -32,7 +32,7 @@ var patchTenant = async (tenantId, body, options) => _chunkXJKF347Cjs.invokeFetc
32
32
  contentType: "application/json",
33
33
  options
34
34
  });
35
- var deactivateTenant = async (tenantId, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "tenants", {
35
+ var deactivateTenant = async (tenantId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "tenants", {
36
36
  method: "post",
37
37
  pathTemplate: "/api/v1/tenants/{tenantId}/actions/deactivate",
38
38
  pathVariables: { tenantId },
@@ -40,7 +40,7 @@ var deactivateTenant = async (tenantId, body, options) => _chunkXJKF347Cjs.invok
40
40
  contentType: "application/json",
41
41
  options
42
42
  });
43
- var reactivateTenant = async (tenantId, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "tenants", {
43
+ var reactivateTenant = async (tenantId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "tenants", {
44
44
  method: "post",
45
45
  pathTemplate: "/api/v1/tenants/{tenantId}/actions/reactivate",
46
46
  pathVariables: { tenantId },
@@ -49,7 +49,7 @@ var reactivateTenant = async (tenantId, body, options) => _chunkXJKF347Cjs.invok
49
49
  options
50
50
  });
51
51
  function clearCache() {
52
- return _chunkXJKF347Cjs.clearApiCache.call(void 0, "tenants");
52
+ return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "tenants");
53
53
  }
54
54
  var tenantsExport = {
55
55
  createTenant,
package/tenants.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-PUBPF4EZ.mjs";
5
- import "./chunk-GLWHVX4M.mjs";
4
+ } from "./chunk-ZNLWUSS5.mjs";
5
+ import "./chunk-7HKUAHVA.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/tenants.ts
package/themes.js CHANGED
@@ -1,36 +1,36 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXJKF347Cjs = require('./chunk-XJKF347C.js');
5
- require('./chunk-JZAPZIPR.js');
4
+ var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
+ require('./chunk-ZXQHFWQH.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/themes.ts
9
- var getThemes = async (options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "themes", {
9
+ var getThemes = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "themes", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/themes",
12
12
  options
13
13
  });
14
- var uploadTheme = async (body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "themes", {
14
+ var uploadTheme = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "themes", {
15
15
  method: "post",
16
16
  pathTemplate: "/api/v1/themes",
17
17
  body,
18
18
  contentType: "multipart/form-data",
19
19
  options
20
20
  });
21
- var deleteTheme = async (id, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "themes", {
21
+ var deleteTheme = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "themes", {
22
22
  method: "delete",
23
23
  pathTemplate: "/api/v1/themes/{id}",
24
24
  pathVariables: { id },
25
25
  options
26
26
  });
27
- var getTheme = async (id, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "themes", {
27
+ var getTheme = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "themes", {
28
28
  method: "get",
29
29
  pathTemplate: "/api/v1/themes/{id}",
30
30
  pathVariables: { id },
31
31
  options
32
32
  });
33
- var patchTheme = async (id, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "themes", {
33
+ var patchTheme = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "themes", {
34
34
  method: "patch",
35
35
  pathTemplate: "/api/v1/themes/{id}",
36
36
  pathVariables: { id },
@@ -38,20 +38,20 @@ var patchTheme = async (id, body, options) => _chunkXJKF347Cjs.invokeFetch.call(
38
38
  contentType: "multipart/form-data",
39
39
  options
40
40
  });
41
- var downloadTheme = async (id, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "themes", {
41
+ var downloadTheme = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "themes", {
42
42
  method: "get",
43
43
  pathTemplate: "/api/v1/themes/{id}/file",
44
44
  pathVariables: { id },
45
45
  options
46
46
  });
47
- var downloadFileFromTheme = async (id, filepath, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "themes", {
47
+ var downloadFileFromTheme = async (id, filepath, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "themes", {
48
48
  method: "get",
49
49
  pathTemplate: "/api/v1/themes/{id}/file/{filepath}",
50
50
  pathVariables: { id, filepath },
51
51
  options
52
52
  });
53
53
  function clearCache() {
54
- return _chunkXJKF347Cjs.clearApiCache.call(void 0, "themes");
54
+ return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "themes");
55
55
  }
56
56
  var themesExport = {
57
57
  getThemes,
package/themes.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-PUBPF4EZ.mjs";
5
- import "./chunk-GLWHVX4M.mjs";
4
+ } from "./chunk-ZNLWUSS5.mjs";
5
+ import "./chunk-7HKUAHVA.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/themes.ts
package/transports.js CHANGED
@@ -1,47 +1,47 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXJKF347Cjs = require('./chunk-XJKF347C.js');
5
- require('./chunk-JZAPZIPR.js');
4
+ var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
+ require('./chunk-ZXQHFWQH.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/transports.ts
9
- var deleteEmailConfig = async (options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "transports", {
9
+ var deleteEmailConfig = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "transports", {
10
10
  method: "delete",
11
11
  pathTemplate: "/api/v1/transports/email-config",
12
12
  options
13
13
  });
14
- var getEmailConfig = async (options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "transports", {
14
+ var getEmailConfig = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "transports", {
15
15
  method: "get",
16
16
  pathTemplate: "/api/v1/transports/email-config",
17
17
  options
18
18
  });
19
- var patchEmailConfig = async (body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "transports", {
19
+ var patchEmailConfig = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "transports", {
20
20
  method: "patch",
21
21
  pathTemplate: "/api/v1/transports/email-config",
22
22
  body,
23
23
  contentType: "application/json",
24
24
  options
25
25
  });
26
- var sendTestEmail = async (body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "transports", {
26
+ var sendTestEmail = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "transports", {
27
27
  method: "post",
28
28
  pathTemplate: "/api/v1/transports/email-config/actions/send-test-email",
29
29
  body,
30
30
  contentType: "application/json",
31
31
  options
32
32
  });
33
- var validateEmailConfig = async (options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "transports", {
33
+ var validateEmailConfig = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "transports", {
34
34
  method: "post",
35
35
  pathTemplate: "/api/v1/transports/email-config/actions/validate",
36
36
  options
37
37
  });
38
- var verifyEmailConfigConnection = async (options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "transports", {
38
+ var verifyEmailConfigConnection = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "transports", {
39
39
  method: "post",
40
40
  pathTemplate: "/api/v1/transports/email-config/actions/verify-connection",
41
41
  options
42
42
  });
43
43
  function clearCache() {
44
- return _chunkXJKF347Cjs.clearApiCache.call(void 0, "transports");
44
+ return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "transports");
45
45
  }
46
46
  var transportsExport = {
47
47
  deleteEmailConfig,
package/transports.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-PUBPF4EZ.mjs";
5
- import "./chunk-GLWHVX4M.mjs";
4
+ } from "./chunk-ZNLWUSS5.mjs";
5
+ import "./chunk-7HKUAHVA.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/transports.ts
package/users.d.mts CHANGED
@@ -29,6 +29,7 @@ type AssignedRolesRefNames = {
29
29
  /** The name of the role */
30
30
  name: string;
31
31
  }[];
32
+ type AssignedScopes = string[];
32
33
  type Error = {
33
34
  /** The error code. */
34
35
  code: string;
@@ -122,6 +123,8 @@ type User = {
122
123
  assignedGroups?: AssignedGroups;
123
124
  /** An array of role references. */
124
125
  assignedRoles?: AssignedRoles;
126
+ /** An array of scopes assigned to user */
127
+ readonly assignedScopes?: AssignedScopes;
125
128
  /** Deprecated. Use `createdAt` instead. */
126
129
  readonly created?: string;
127
130
  /** The timestamp for when the user record was created. */
@@ -560,4 +563,4 @@ interface UsersAPI {
560
563
  */
561
564
  declare const usersExport: UsersAPI;
562
565
 
563
- export { type AssignedGroups, type AssignedRoles, type AssignedRolesRefIDs, type AssignedRolesRefNames, type CountUsersHttpError, type CountUsersHttpResponse, type CreateUserHttpError, type CreateUserHttpResponse, type DeleteUserHttpError, type DeleteUserHttpResponse, type Error, type ErrorItem, type Errors, type ErrorsResponse, type Filter, type FilterUsersHttpError, type FilterUsersHttpResponse, type GetMyUser301HttpError, type GetMyUser429HttpError, type GetMyUserHttpError, type GetMyUserHttpResponse, type GetUserHttpError, type GetUserHttpResponse, type GetUsersHttpError, type GetUsersHttpResponse, type GetUsersMetadataHttpError, type GetUsersMetadataHttpResponse, type InviteDataResponse, type InviteErrorItem, type InviteItem, type InviteRequestData, type InviteUsersHttpError, type InviteUsersHttpResponse, type JSONPatch, type JSONPatchArray, type Metadata, type PatchUser204HttpResponse, type PatchUser207HttpResponse, type PatchUserHttpError, type PatchUserHttpResponse, type ResultItem, type User, type UserCount, type UserPostSchema, type Users, type UsersAPI, clearCache, countUsers, createUser, usersExport as default, deleteUser, filterUsers, getMyUser, getUser, getUsers, getUsersMetadata, inviteUsers, patchUser };
566
+ export { type AssignedGroups, type AssignedRoles, type AssignedRolesRefIDs, type AssignedRolesRefNames, type AssignedScopes, type CountUsersHttpError, type CountUsersHttpResponse, type CreateUserHttpError, type CreateUserHttpResponse, type DeleteUserHttpError, type DeleteUserHttpResponse, type Error, type ErrorItem, type Errors, type ErrorsResponse, type Filter, type FilterUsersHttpError, type FilterUsersHttpResponse, type GetMyUser301HttpError, type GetMyUser429HttpError, type GetMyUserHttpError, type GetMyUserHttpResponse, type GetUserHttpError, type GetUserHttpResponse, type GetUsersHttpError, type GetUsersHttpResponse, type GetUsersMetadataHttpError, type GetUsersMetadataHttpResponse, type InviteDataResponse, type InviteErrorItem, type InviteItem, type InviteRequestData, type InviteUsersHttpError, type InviteUsersHttpResponse, type JSONPatch, type JSONPatchArray, type Metadata, type PatchUser204HttpResponse, type PatchUser207HttpResponse, type PatchUserHttpError, type PatchUserHttpResponse, type ResultItem, type User, type UserCount, type UserPostSchema, type Users, type UsersAPI, clearCache, countUsers, createUser, usersExport as default, deleteUser, filterUsers, getMyUser, getUser, getUsers, getUsersMetadata, inviteUsers, patchUser };
package/users.d.ts CHANGED
@@ -29,6 +29,7 @@ type AssignedRolesRefNames = {
29
29
  /** The name of the role */
30
30
  name: string;
31
31
  }[];
32
+ type AssignedScopes = string[];
32
33
  type Error = {
33
34
  /** The error code. */
34
35
  code: string;
@@ -122,6 +123,8 @@ type User = {
122
123
  assignedGroups?: AssignedGroups;
123
124
  /** An array of role references. */
124
125
  assignedRoles?: AssignedRoles;
126
+ /** An array of scopes assigned to user */
127
+ readonly assignedScopes?: AssignedScopes;
125
128
  /** Deprecated. Use `createdAt` instead. */
126
129
  readonly created?: string;
127
130
  /** The timestamp for when the user record was created. */
@@ -560,4 +563,4 @@ interface UsersAPI {
560
563
  */
561
564
  declare const usersExport: UsersAPI;
562
565
 
563
- export { type AssignedGroups, type AssignedRoles, type AssignedRolesRefIDs, type AssignedRolesRefNames, type CountUsersHttpError, type CountUsersHttpResponse, type CreateUserHttpError, type CreateUserHttpResponse, type DeleteUserHttpError, type DeleteUserHttpResponse, type Error, type ErrorItem, type Errors, type ErrorsResponse, type Filter, type FilterUsersHttpError, type FilterUsersHttpResponse, type GetMyUser301HttpError, type GetMyUser429HttpError, type GetMyUserHttpError, type GetMyUserHttpResponse, type GetUserHttpError, type GetUserHttpResponse, type GetUsersHttpError, type GetUsersHttpResponse, type GetUsersMetadataHttpError, type GetUsersMetadataHttpResponse, type InviteDataResponse, type InviteErrorItem, type InviteItem, type InviteRequestData, type InviteUsersHttpError, type InviteUsersHttpResponse, type JSONPatch, type JSONPatchArray, type Metadata, type PatchUser204HttpResponse, type PatchUser207HttpResponse, type PatchUserHttpError, type PatchUserHttpResponse, type ResultItem, type User, type UserCount, type UserPostSchema, type Users, type UsersAPI, clearCache, countUsers, createUser, usersExport as default, deleteUser, filterUsers, getMyUser, getUser, getUsers, getUsersMetadata, inviteUsers, patchUser };
566
+ export { type AssignedGroups, type AssignedRoles, type AssignedRolesRefIDs, type AssignedRolesRefNames, type AssignedScopes, type CountUsersHttpError, type CountUsersHttpResponse, type CreateUserHttpError, type CreateUserHttpResponse, type DeleteUserHttpError, type DeleteUserHttpResponse, type Error, type ErrorItem, type Errors, type ErrorsResponse, type Filter, type FilterUsersHttpError, type FilterUsersHttpResponse, type GetMyUser301HttpError, type GetMyUser429HttpError, type GetMyUserHttpError, type GetMyUserHttpResponse, type GetUserHttpError, type GetUserHttpResponse, type GetUsersHttpError, type GetUsersHttpResponse, type GetUsersMetadataHttpError, type GetUsersMetadataHttpResponse, type InviteDataResponse, type InviteErrorItem, type InviteItem, type InviteRequestData, type InviteUsersHttpError, type InviteUsersHttpResponse, type JSONPatch, type JSONPatchArray, type Metadata, type PatchUser204HttpResponse, type PatchUser207HttpResponse, type PatchUserHttpError, type PatchUserHttpResponse, type ResultItem, type User, type UserCount, type UserPostSchema, type Users, type UsersAPI, clearCache, countUsers, createUser, usersExport as default, deleteUser, filterUsers, getMyUser, getUser, getUsers, getUsersMetadata, inviteUsers, patchUser };
package/users.js CHANGED
@@ -1,31 +1,31 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXJKF347Cjs = require('./chunk-XJKF347C.js');
5
- require('./chunk-JZAPZIPR.js');
4
+ var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
+ require('./chunk-ZXQHFWQH.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/users.ts
9
- var getUsers = async (query, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
9
+ var getUsers = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/users",
12
12
  query,
13
13
  options
14
14
  });
15
- var createUser = async (body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
15
+ var createUser = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/users",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var countUsers = async (query, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
22
+ var countUsers = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/users/actions/count",
25
25
  query,
26
26
  options
27
27
  });
28
- var filterUsers = async (query, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
28
+ var filterUsers = async (query, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
29
29
  method: "post",
30
30
  pathTemplate: "/api/v1/users/actions/filter",
31
31
  query,
@@ -33,37 +33,37 @@ var filterUsers = async (query, body, options) => _chunkXJKF347Cjs.invokeFetch.c
33
33
  contentType: "application/json",
34
34
  options
35
35
  });
36
- var inviteUsers = async (body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
36
+ var inviteUsers = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
37
37
  method: "post",
38
38
  pathTemplate: "/api/v1/users/actions/invite",
39
39
  body,
40
40
  contentType: "application/json",
41
41
  options
42
42
  });
43
- var getMyUser = async (options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
43
+ var getMyUser = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
44
44
  method: "get",
45
45
  pathTemplate: "/api/v1/users/me",
46
46
  options
47
47
  });
48
- var getUsersMetadata = async (options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
48
+ var getUsersMetadata = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
49
49
  method: "get",
50
50
  pathTemplate: "/api/v1/users/metadata",
51
51
  options
52
52
  });
53
- var deleteUser = async (userId, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
53
+ var deleteUser = async (userId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
54
54
  method: "delete",
55
55
  pathTemplate: "/api/v1/users/{userId}",
56
56
  pathVariables: { userId },
57
57
  options
58
58
  });
59
- var getUser = async (userId, query, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
59
+ var getUser = async (userId, query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
60
60
  method: "get",
61
61
  pathTemplate: "/api/v1/users/{userId}",
62
62
  pathVariables: { userId },
63
63
  query,
64
64
  options
65
65
  });
66
- var patchUser = async (userId, body, options) => _chunkXJKF347Cjs.invokeFetch.call(void 0, "users", {
66
+ var patchUser = async (userId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "users", {
67
67
  method: "patch",
68
68
  pathTemplate: "/api/v1/users/{userId}",
69
69
  pathVariables: { userId },
@@ -72,7 +72,7 @@ var patchUser = async (userId, body, options) => _chunkXJKF347Cjs.invokeFetch.ca
72
72
  options
73
73
  });
74
74
  function clearCache() {
75
- return _chunkXJKF347Cjs.clearApiCache.call(void 0, "users");
75
+ return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "users");
76
76
  }
77
77
  var usersExport = {
78
78
  getUsers,
package/users.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-PUBPF4EZ.mjs";
5
- import "./chunk-GLWHVX4M.mjs";
4
+ } from "./chunk-ZNLWUSS5.mjs";
5
+ import "./chunk-7HKUAHVA.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/users.ts