@qlik/api 0.0.16 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/README.md +1 -1
  2. package/api-keys.js +25 -25
  3. package/apps.d.ts +9 -1
  4. package/apps.js +97 -97
  5. package/audits.js +23 -23
  6. package/auth.js +14 -14
  7. package/automations.js +47 -47
  8. package/brands.js +35 -35
  9. package/chunks/4HB3TAEO.js +4 -4
  10. package/chunks/{HHOVS7QC.mjs → CHNBNLXY.js} +3 -3
  11. package/chunks/{3YV6X7S6.mjs → FFGE2RP7.js} +1 -1
  12. package/chunks/{HOCTJESP.mjs → JEGN7XQV.js} +3 -3
  13. package/chunks/{6WX5AGKQ.mjs → L2BJNKLV.js} +2 -2
  14. package/chunks/OPRGGO4C.js +8 -8
  15. package/chunks/{O4EAKEIN.mjs → RHF624NQ.js} +1 -1
  16. package/chunks/{BYD63JCG.mjs → SIU6HO6B.js} +5 -3
  17. package/chunks/{EHAANYDL.mjs → TT66UJZY.js} +3 -3
  18. package/chunks/{UKVTBYP6.mjs → XOVMZWDC.js} +2 -2
  19. package/chunks/{6AD3HYSF.mjs → XZQNE4HH.js} +1 -1
  20. package/collections.js +33 -33
  21. package/csp-origins.js +23 -23
  22. package/data-assets.js +21 -21
  23. package/data-connections.js +29 -29
  24. package/data-credentials.js +19 -19
  25. package/data-files.js +35 -35
  26. package/docs/authentication.md +5 -5
  27. package/docs/examples/fetch-spaces.md +1 -15
  28. package/docs/examples/show-sheet-list.md +1 -1
  29. package/docs/features.md +1 -1
  30. package/extensions.js +25 -25
  31. package/glossaries.js +59 -59
  32. package/groups.d.ts +0 -3
  33. package/groups.js +27 -27
  34. package/identity-providers.d.ts +144 -10
  35. package/identity-providers.js +27 -27
  36. package/index.js +53 -53
  37. package/items.js +27 -27
  38. package/licenses.js +29 -29
  39. package/package.json +36 -232
  40. package/qix.d.ts +1 -1
  41. package/qix.js +10 -10
  42. package/quotas.js +15 -15
  43. package/reload-tasks.js +21 -21
  44. package/reloads.js +19 -19
  45. package/roles.js +15 -15
  46. package/spaces.js +35 -35
  47. package/temp-contents.js +17 -17
  48. package/tenants.js +23 -23
  49. package/themes.js +25 -25
  50. package/transports.js +23 -23
  51. package/users.d.ts +1 -3
  52. package/users.js +31 -31
  53. package/web-integrations.js +21 -21
  54. package/web-notifications.js +23 -23
  55. package/webhooks.js +31 -31
  56. package/api-keys.d.mts +0 -336
  57. package/api-keys.mjs +0 -80
  58. package/apps.d.mts +0 -2431
  59. package/apps.mjs +0 -398
  60. package/audits.d.mts +0 -286
  61. package/audits.mjs +0 -64
  62. package/auth-types-nnUcWhuU.d.mts +0 -98
  63. package/auth.d.mts +0 -26
  64. package/auth.mjs +0 -14
  65. package/automations.d.mts +0 -682
  66. package/automations.mjs +0 -173
  67. package/brands.d.mts +0 -670
  68. package/brands.mjs +0 -123
  69. package/chunks/2YWCEGTS.js +0 -21
  70. package/chunks/34ZKUFEA.js +0 -41
  71. package/chunks/4WHZ4EIW.js +0 -57
  72. package/chunks/B4VPD3ZT.js +0 -574
  73. package/chunks/BM4OSDRZ.js +0 -17
  74. package/chunks/DCXUEDOW.mjs +0 -67
  75. package/chunks/MTAQE4WC.js +0 -10411
  76. package/chunks/PLOSYUG2.js +0 -25
  77. package/chunks/URIW2U5M.js +0 -17
  78. package/chunks/VSY5YIQY.mjs +0 -11
  79. package/chunks/WOYJLK4Y.js +0 -1623
  80. package/collections.d.mts +0 -581
  81. package/collections.mjs +0 -114
  82. package/csp-origins.d.mts +0 -273
  83. package/csp-origins.mjs +0 -69
  84. package/data-assets.d.mts +0 -205
  85. package/data-assets.mjs +0 -66
  86. package/data-connections.d.mts +0 -594
  87. package/data-connections.mjs +0 -103
  88. package/data-credentials.d.mts +0 -204
  89. package/data-credentials.mjs +0 -59
  90. package/data-files.d.mts +0 -562
  91. package/data-files.mjs +0 -123
  92. package/extensions.d.mts +0 -293
  93. package/extensions.mjs +0 -77
  94. package/global.types-5iFvFJvX.d.mts +0 -115
  95. package/glossaries.d.mts +0 -1173
  96. package/glossaries.mjs +0 -237
  97. package/groups.d.mts +0 -434
  98. package/groups.mjs +0 -88
  99. package/identity-providers.d.mts +0 -550
  100. package/identity-providers.mjs +0 -83
  101. package/index.d.mts +0 -142
  102. package/index.mjs +0 -716
  103. package/items.d.mts +0 -535
  104. package/items.mjs +0 -87
  105. package/licenses.d.mts +0 -459
  106. package/licenses.mjs +0 -92
  107. package/qix.d.mts +0 -11629
  108. package/qix.mjs +0 -10
  109. package/quotas.d.mts +0 -112
  110. package/quotas.mjs +0 -32
  111. package/reload-tasks.d.mts +0 -227
  112. package/reload-tasks.mjs +0 -62
  113. package/reloads.d.mts +0 -207
  114. package/reloads.mjs +0 -46
  115. package/roles.d.mts +0 -175
  116. package/roles.mjs +0 -31
  117. package/spaces.d.mts +0 -562
  118. package/spaces.mjs +0 -124
  119. package/temp-contents.d.mts +0 -167
  120. package/temp-contents.mjs +0 -41
  121. package/tenants.d.mts +0 -300
  122. package/tenants.mjs +0 -73
  123. package/themes.d.mts +0 -268
  124. package/themes.mjs +0 -77
  125. package/transports.d.mts +0 -319
  126. package/transports.mjs +0 -65
  127. package/users.d.mts +0 -631
  128. package/users.mjs +0 -104
  129. package/web-integrations.d.mts +0 -274
  130. package/web-integrations.mjs +0 -62
  131. package/web-notifications.d.mts +0 -250
  132. package/web-notifications.mjs +0 -69
  133. package/webhooks.d.mts +0 -445
  134. package/webhooks.mjs +0 -104
package/reloads.js CHANGED
@@ -1,46 +1,46 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/reloads.ts
9
- var getReloads = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "reloads", {
9
+ var getReloads = async (query, options) => invokeFetch("reloads", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/reloads",
12
12
  query,
13
13
  options
14
14
  });
15
- var queueReload = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "reloads", {
15
+ var queueReload = async (body, options) => invokeFetch("reloads", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/reloads",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getReload = async (reloadId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "reloads", {
22
+ var getReload = async (reloadId, options) => invokeFetch("reloads", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/reloads/{reloadId}",
25
25
  pathVariables: { reloadId },
26
26
  options
27
27
  });
28
- var cancelReload = async (reloadId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "reloads", {
28
+ var cancelReload = async (reloadId, options) => invokeFetch("reloads", {
29
29
  method: "post",
30
30
  pathTemplate: "/api/v1/reloads/{reloadId}/actions/cancel",
31
31
  pathVariables: { reloadId },
32
32
  options
33
33
  });
34
34
  function clearCache() {
35
- return _URIW2U5Mjs.clearApiCache.call(void 0, "reloads");
35
+ return clearApiCache("reloads");
36
36
  }
37
37
  var reloadsExport = { getReloads, queueReload, getReload, cancelReload, clearCache };
38
38
  var reloads_default = reloadsExport;
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
- exports.cancelReload = cancelReload; exports.clearCache = clearCache; exports.default = reloads_default; exports.getReload = getReload; exports.getReloads = getReloads; exports.queueReload = queueReload;
39
+ export {
40
+ cancelReload,
41
+ clearCache,
42
+ reloads_default as default,
43
+ getReload,
44
+ getReloads,
45
+ queueReload
46
+ };
package/roles.js CHANGED
@@ -1,31 +1,31 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/roles.ts
9
- var getRoles = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "roles", {
9
+ var getRoles = async (query, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "roles", {
15
+ var getRole = async (id, options) => invokeFetch("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 _URIW2U5Mjs.clearApiCache.call(void 0, "roles");
22
+ return clearApiCache("roles");
23
23
  }
24
24
  var rolesExport = { getRoles, getRole, clearCache };
25
25
  var roles_default = rolesExport;
26
-
27
-
28
-
29
-
30
-
31
- exports.clearCache = clearCache; exports.default = roles_default; exports.getRole = getRole; exports.getRoles = getRoles;
26
+ export {
27
+ clearCache,
28
+ roles_default as default,
29
+ getRole,
30
+ getRoles
31
+ };
package/spaces.js CHANGED
@@ -1,42 +1,42 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/spaces.ts
9
- var getSpaces = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
9
+ var getSpaces = async (query, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
15
+ var createSpace = async (body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
22
+ var getSpaceTypes = async (options) => invokeFetch("spaces", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/spaces/types",
25
25
  options
26
26
  });
27
- var deleteSpace = async (spaceId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
27
+ var deleteSpace = async (spaceId, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
33
+ var getSpace = async (spaceId, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
39
+ var patchSpace = async (spaceId, body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var updateSpace = async (spaceId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
47
+ var updateSpace = async (spaceId, body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call
52
52
  contentType: "application/json",
53
53
  options
54
54
  });
55
- var getSpaceAssignments = async (spaceId, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
55
+ var getSpaceAssignments = async (spaceId, query, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
62
+ var createSpaceAssignment = async (spaceId, body, options) => invokeFetch("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) => _URIW2U5Mjs.invoke
67
67
  contentType: "application/json",
68
68
  options
69
69
  });
70
- var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
70
+ var deleteSpaceAssignment = async (spaceId, assignmentId, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
76
+ var getSpaceAssignment = async (spaceId, assignmentId, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "spaces", {
82
+ var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => invokeFetch("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) => _URI
88
88
  options
89
89
  });
90
90
  function clearCache() {
91
- return _URIW2U5Mjs.clearApiCache.call(void 0, "spaces");
91
+ return clearApiCache("spaces");
92
92
  }
93
93
  var spacesExport = {
94
94
  getSpaces,
@@ -106,19 +106,19 @@ var spacesExport = {
106
106
  clearCache
107
107
  };
108
108
  var spaces_default = spacesExport;
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
- exports.clearCache = clearCache; exports.createSpace = createSpace; exports.createSpaceAssignment = createSpaceAssignment; exports.default = spaces_default; exports.deleteSpace = deleteSpace; exports.deleteSpaceAssignment = deleteSpaceAssignment; exports.getSpace = getSpace; exports.getSpaceAssignment = getSpaceAssignment; exports.getSpaceAssignments = getSpaceAssignments; exports.getSpaceTypes = getSpaceTypes; exports.getSpaces = getSpaces; exports.patchSpace = patchSpace; exports.updateSpace = updateSpace; exports.updateSpaceAssignment = updateSpaceAssignment;
109
+ export {
110
+ clearCache,
111
+ createSpace,
112
+ createSpaceAssignment,
113
+ spaces_default as default,
114
+ deleteSpace,
115
+ deleteSpaceAssignment,
116
+ getSpace,
117
+ getSpaceAssignment,
118
+ getSpaceAssignments,
119
+ getSpaceTypes,
120
+ getSpaces,
121
+ patchSpace,
122
+ updateSpace,
123
+ updateSpaceAssignment
124
+ };
package/temp-contents.js CHANGED
@@ -1,12 +1,12 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/temp-contents.ts
9
- var uploadTempFile = async (query, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "temp-contents", {
9
+ var uploadTempFile = async (query, body, options) => invokeFetch("temp-contents", {
10
10
  method: "post",
11
11
  pathTemplate: "/api/v1/temp-contents",
12
12
  query,
@@ -14,28 +14,28 @@ var uploadTempFile = async (query, body, options) => _URIW2U5Mjs.invokeFetch.cal
14
14
  contentType: "application/octet-stream",
15
15
  options
16
16
  });
17
- var downloadTempFile = async (id, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "temp-contents", {
17
+ var downloadTempFile = async (id, query, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "temp-contents", {
24
+ var getTempFileDetails = async (id, options) => invokeFetch("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 _URIW2U5Mjs.clearApiCache.call(void 0, "temp-contents");
31
+ return clearApiCache("temp-contents");
32
32
  }
33
33
  var tempContentsExport = { uploadTempFile, downloadTempFile, getTempFileDetails, clearCache };
34
34
  var temp_contents_default = tempContentsExport;
35
-
36
-
37
-
38
-
39
-
40
-
41
- exports.clearCache = clearCache; exports.default = temp_contents_default; exports.downloadTempFile = downloadTempFile; exports.getTempFileDetails = getTempFileDetails; exports.uploadTempFile = uploadTempFile;
35
+ export {
36
+ clearCache,
37
+ temp_contents_default as default,
38
+ downloadTempFile,
39
+ getTempFileDetails,
40
+ uploadTempFile
41
+ };
package/tenants.js CHANGED
@@ -1,30 +1,30 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/tenants.ts
9
- var createTenant = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "tenants", {
9
+ var createTenant = async (body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "tenants", {
16
+ var getMyTenant = async (options) => invokeFetch("tenants", {
17
17
  method: "get",
18
18
  pathTemplate: "/api/v1/tenants/me",
19
19
  options
20
20
  });
21
- var getTenant = async (tenantId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "tenants", {
21
+ var getTenant = async (tenantId, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "tenants", {
27
+ var patchTenant = async (tenantId, body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.cal
32
32
  contentType: "application/json",
33
33
  options
34
34
  });
35
- var deactivateTenant = async (tenantId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "tenants", {
35
+ var deactivateTenant = async (tenantId, body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetc
40
40
  contentType: "application/json",
41
41
  options
42
42
  });
43
- var reactivateTenant = async (tenantId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "tenants", {
43
+ var reactivateTenant = async (tenantId, body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetc
49
49
  options
50
50
  });
51
51
  function clearCache() {
52
- return _URIW2U5Mjs.clearApiCache.call(void 0, "tenants");
52
+ return clearApiCache("tenants");
53
53
  }
54
54
  var tenantsExport = {
55
55
  createTenant,
@@ -61,13 +61,13 @@ var tenantsExport = {
61
61
  clearCache
62
62
  };
63
63
  var tenants_default = tenantsExport;
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
- exports.clearCache = clearCache; exports.createTenant = createTenant; exports.deactivateTenant = deactivateTenant; exports.default = tenants_default; exports.getMyTenant = getMyTenant; exports.getTenant = getTenant; exports.patchTenant = patchTenant; exports.reactivateTenant = reactivateTenant;
64
+ export {
65
+ clearCache,
66
+ createTenant,
67
+ deactivateTenant,
68
+ tenants_default as default,
69
+ getMyTenant,
70
+ getTenant,
71
+ patchTenant,
72
+ reactivateTenant
73
+ };
package/themes.js CHANGED
@@ -1,36 +1,36 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/themes.ts
9
- var getThemes = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "themes", {
9
+ var getThemes = async (options) => invokeFetch("themes", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/themes",
12
12
  options
13
13
  });
14
- var uploadTheme = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "themes", {
14
+ var uploadTheme = async (body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "themes", {
21
+ var deleteTheme = async (id, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "themes", {
27
+ var getTheme = async (id, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "themes", {
33
+ var patchTheme = async (id, body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void
38
38
  contentType: "multipart/form-data",
39
39
  options
40
40
  });
41
- var downloadTheme = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "themes", {
41
+ var downloadTheme = async (id, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "themes", {
47
+ var downloadFileFromTheme = async (id, filepath, options) => invokeFetch("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 _URIW2U5Mjs.clearApiCache.call(void 0, "themes");
54
+ return clearApiCache("themes");
55
55
  }
56
56
  var themesExport = {
57
57
  getThemes,
@@ -64,14 +64,14 @@ var themesExport = {
64
64
  clearCache
65
65
  };
66
66
  var themes_default = themesExport;
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
- exports.clearCache = clearCache; exports.default = themes_default; exports.deleteTheme = deleteTheme; exports.downloadFileFromTheme = downloadFileFromTheme; exports.downloadTheme = downloadTheme; exports.getTheme = getTheme; exports.getThemes = getThemes; exports.patchTheme = patchTheme; exports.uploadTheme = uploadTheme;
67
+ export {
68
+ clearCache,
69
+ themes_default as default,
70
+ deleteTheme,
71
+ downloadFileFromTheme,
72
+ downloadTheme,
73
+ getTheme,
74
+ getThemes,
75
+ patchTheme,
76
+ uploadTheme
77
+ };
package/transports.js CHANGED
@@ -1,47 +1,47 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/transports.ts
9
- var deleteEmailConfig = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "transports", {
9
+ var deleteEmailConfig = async (options) => invokeFetch("transports", {
10
10
  method: "delete",
11
11
  pathTemplate: "/api/v1/transports/email-config",
12
12
  options
13
13
  });
14
- var getEmailConfig = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "transports", {
14
+ var getEmailConfig = async (options) => invokeFetch("transports", {
15
15
  method: "get",
16
16
  pathTemplate: "/api/v1/transports/email-config",
17
17
  options
18
18
  });
19
- var patchEmailConfig = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "transports", {
19
+ var patchEmailConfig = async (body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "transports", {
26
+ var sendTestEmail = async (body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "transports", {
33
+ var validateEmailConfig = async (options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "transports", {
38
+ var verifyEmailConfigConnection = async (options) => invokeFetch("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 _URIW2U5Mjs.clearApiCache.call(void 0, "transports");
44
+ return clearApiCache("transports");
45
45
  }
46
46
  var transportsExport = {
47
47
  deleteEmailConfig,
@@ -53,13 +53,13 @@ var transportsExport = {
53
53
  clearCache
54
54
  };
55
55
  var transports_default = transportsExport;
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
- exports.clearCache = clearCache; exports.default = transports_default; exports.deleteEmailConfig = deleteEmailConfig; exports.getEmailConfig = getEmailConfig; exports.patchEmailConfig = patchEmailConfig; exports.sendTestEmail = sendTestEmail; exports.validateEmailConfig = validateEmailConfig; exports.verifyEmailConfigConnection = verifyEmailConfigConnection;
56
+ export {
57
+ clearCache,
58
+ transports_default as default,
59
+ deleteEmailConfig,
60
+ getEmailConfig,
61
+ patchEmailConfig,
62
+ sendTestEmail,
63
+ validateEmailConfig,
64
+ verifyEmailConfigConnection
65
+ };
package/users.d.ts CHANGED
@@ -22,8 +22,6 @@ type AssignedRoles = {
22
22
  readonly level: "admin" | "user";
23
23
  /** The role name */
24
24
  readonly name: string;
25
- /** An array of permissions associated to a given role. */
26
- readonly permissions: string[];
27
25
  /** The type of role */
28
26
  readonly type: "default";
29
27
  }[];
@@ -507,7 +505,7 @@ declare const getUser: (userId: string, query: {
507
505
  fields?: string;
508
506
  }, options?: ApiCallOptions) => Promise<GetUserHttpResponse>;
509
507
  type GetUserHttpResponse = {
510
- data: User;
508
+ data: User & unknown;
511
509
  headers: Headers;
512
510
  status: number;
513
511
  };