@qlik/api 0.0.16 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/README.md +1 -1
  2. package/api-keys.js +25 -25
  3. package/apps.js +97 -97
  4. package/audits.js +23 -23
  5. package/auth.js +14 -14
  6. package/automations.js +47 -47
  7. package/brands.js +35 -35
  8. package/chunks/4HB3TAEO.js +4 -4
  9. package/chunks/{EHAANYDL.mjs → 4V5AAWUI.js} +3 -3
  10. package/chunks/{O4EAKEIN.mjs → D62LI5YU.js} +1 -1
  11. package/chunks/{6WX5AGKQ.mjs → L2BJNKLV.js} +2 -2
  12. package/chunks/{3YV6X7S6.mjs → LHCJKIEO.js} +1 -1
  13. package/chunks/OPRGGO4C.js +8 -8
  14. package/chunks/{HHOVS7QC.mjs → RNLZBOJU.js} +3 -3
  15. package/chunks/{BYD63JCG.mjs → SIU6HO6B.js} +5 -3
  16. package/chunks/{6AD3HYSF.mjs → TFSRDRRS.js} +1 -1
  17. package/chunks/{HOCTJESP.mjs → VK2CODYY.js} +2 -2
  18. package/chunks/{UKVTBYP6.mjs → XOVMZWDC.js} +2 -2
  19. package/collections.js +33 -33
  20. package/csp-origins.js +23 -23
  21. package/data-assets.js +21 -21
  22. package/data-connections.js +29 -29
  23. package/data-credentials.js +19 -19
  24. package/data-files.js +35 -35
  25. package/docs/authentication.md +5 -5
  26. package/docs/examples/fetch-spaces.md +1 -15
  27. package/docs/examples/show-sheet-list.md +1 -1
  28. package/docs/features.md +1 -1
  29. package/extensions.js +25 -25
  30. package/glossaries.js +59 -59
  31. package/groups.d.ts +0 -3
  32. package/groups.js +27 -27
  33. package/identity-providers.js +27 -27
  34. package/index.js +53 -53
  35. package/items.js +27 -27
  36. package/licenses.js +29 -29
  37. package/package.json +36 -232
  38. package/qix.d.ts +1 -1
  39. package/qix.js +10 -10
  40. package/quotas.js +15 -15
  41. package/reload-tasks.js +21 -21
  42. package/reloads.js +19 -19
  43. package/roles.js +15 -15
  44. package/spaces.js +35 -35
  45. package/temp-contents.js +17 -17
  46. package/tenants.js +23 -23
  47. package/themes.js +25 -25
  48. package/transports.js +23 -23
  49. package/users.d.ts +1 -3
  50. package/users.js +31 -31
  51. package/web-integrations.js +21 -21
  52. package/web-notifications.js +23 -23
  53. package/webhooks.js +31 -31
  54. package/api-keys.d.mts +0 -336
  55. package/api-keys.mjs +0 -80
  56. package/apps.d.mts +0 -2431
  57. package/apps.mjs +0 -398
  58. package/audits.d.mts +0 -286
  59. package/audits.mjs +0 -64
  60. package/auth-types-nnUcWhuU.d.mts +0 -98
  61. package/auth.d.mts +0 -26
  62. package/auth.mjs +0 -14
  63. package/automations.d.mts +0 -682
  64. package/automations.mjs +0 -173
  65. package/brands.d.mts +0 -670
  66. package/brands.mjs +0 -123
  67. package/chunks/2YWCEGTS.js +0 -21
  68. package/chunks/34ZKUFEA.js +0 -41
  69. package/chunks/4WHZ4EIW.js +0 -57
  70. package/chunks/B4VPD3ZT.js +0 -574
  71. package/chunks/BM4OSDRZ.js +0 -17
  72. package/chunks/DCXUEDOW.mjs +0 -67
  73. package/chunks/MTAQE4WC.js +0 -10411
  74. package/chunks/PLOSYUG2.js +0 -25
  75. package/chunks/URIW2U5M.js +0 -17
  76. package/chunks/VSY5YIQY.mjs +0 -11
  77. package/chunks/WOYJLK4Y.js +0 -1623
  78. package/collections.d.mts +0 -581
  79. package/collections.mjs +0 -114
  80. package/csp-origins.d.mts +0 -273
  81. package/csp-origins.mjs +0 -69
  82. package/data-assets.d.mts +0 -205
  83. package/data-assets.mjs +0 -66
  84. package/data-connections.d.mts +0 -594
  85. package/data-connections.mjs +0 -103
  86. package/data-credentials.d.mts +0 -204
  87. package/data-credentials.mjs +0 -59
  88. package/data-files.d.mts +0 -562
  89. package/data-files.mjs +0 -123
  90. package/extensions.d.mts +0 -293
  91. package/extensions.mjs +0 -77
  92. package/global.types-5iFvFJvX.d.mts +0 -115
  93. package/glossaries.d.mts +0 -1173
  94. package/glossaries.mjs +0 -237
  95. package/groups.d.mts +0 -434
  96. package/groups.mjs +0 -88
  97. package/identity-providers.d.mts +0 -550
  98. package/identity-providers.mjs +0 -83
  99. package/index.d.mts +0 -142
  100. package/index.mjs +0 -716
  101. package/items.d.mts +0 -535
  102. package/items.mjs +0 -87
  103. package/licenses.d.mts +0 -459
  104. package/licenses.mjs +0 -92
  105. package/qix.d.mts +0 -11629
  106. package/qix.mjs +0 -10
  107. package/quotas.d.mts +0 -112
  108. package/quotas.mjs +0 -32
  109. package/reload-tasks.d.mts +0 -227
  110. package/reload-tasks.mjs +0 -62
  111. package/reloads.d.mts +0 -207
  112. package/reloads.mjs +0 -46
  113. package/roles.d.mts +0 -175
  114. package/roles.mjs +0 -31
  115. package/spaces.d.mts +0 -562
  116. package/spaces.mjs +0 -124
  117. package/temp-contents.d.mts +0 -167
  118. package/temp-contents.mjs +0 -41
  119. package/tenants.d.mts +0 -300
  120. package/tenants.mjs +0 -73
  121. package/themes.d.mts +0 -268
  122. package/themes.mjs +0 -77
  123. package/transports.d.mts +0 -319
  124. package/transports.mjs +0 -65
  125. package/users.d.mts +0 -631
  126. package/users.mjs +0 -104
  127. package/web-integrations.d.mts +0 -274
  128. package/web-integrations.mjs +0 -62
  129. package/web-notifications.d.mts +0 -250
  130. package/web-notifications.mjs +0 -69
  131. package/webhooks.d.mts +0 -445
  132. package/webhooks.mjs +0 -104
package/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/LHCJKIEO.js";
5
+ import "./chunks/4V5AAWUI.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/LHCJKIEO.js";
5
+ import "./chunks/4V5AAWUI.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/LHCJKIEO.js";
5
+ import "./chunks/4V5AAWUI.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/LHCJKIEO.js";
5
+ import "./chunks/4V5AAWUI.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/LHCJKIEO.js";
5
+ import "./chunks/4V5AAWUI.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
  };
package/users.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/LHCJKIEO.js";
5
+ import "./chunks/4V5AAWUI.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/users.ts
9
- var getUsers = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
9
+ var getUsers = async (query, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
15
+ var createUser = async (body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
22
+ var countUsers = async (query, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
28
+ var filterUsers = async (query, body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(v
33
33
  contentType: "application/json",
34
34
  options
35
35
  });
36
- var inviteUsers = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
36
+ var inviteUsers = async (body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
43
+ var getMyUser = async (options) => invokeFetch("users", {
44
44
  method: "get",
45
45
  pathTemplate: "/api/v1/users/me",
46
46
  options
47
47
  });
48
- var getUsersMetadata = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
48
+ var getUsersMetadata = async (options) => invokeFetch("users", {
49
49
  method: "get",
50
50
  pathTemplate: "/api/v1/users/metadata",
51
51
  options
52
52
  });
53
- var deleteUser = async (userId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
53
+ var deleteUser = async (userId, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
59
+ var getUser = async (userId, query, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(void 0, "users", {
66
+ var patchUser = async (userId, body, options) => invokeFetch("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) => _URIW2U5Mjs.invokeFetch.call(vo
72
72
  options
73
73
  });
74
74
  function clearCache() {
75
- return _URIW2U5Mjs.clearApiCache.call(void 0, "users");
75
+ return clearApiCache("users");
76
76
  }
77
77
  var usersExport = {
78
78
  getUsers,
@@ -88,17 +88,17 @@ var usersExport = {
88
88
  clearCache
89
89
  };
90
90
  var users_default = usersExport;
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
- exports.clearCache = clearCache; exports.countUsers = countUsers; exports.createUser = createUser; exports.default = users_default; exports.deleteUser = deleteUser; exports.filterUsers = filterUsers; exports.getMyUser = getMyUser; exports.getUser = getUser; exports.getUsers = getUsers; exports.getUsersMetadata = getUsersMetadata; exports.inviteUsers = inviteUsers; exports.patchUser = patchUser;
91
+ export {
92
+ clearCache,
93
+ countUsers,
94
+ createUser,
95
+ users_default as default,
96
+ deleteUser,
97
+ filterUsers,
98
+ getMyUser,
99
+ getUser,
100
+ getUsers,
101
+ getUsersMetadata,
102
+ inviteUsers,
103
+ patchUser
104
+ };