@qlik/api 0.0.8 → 0.0.9

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 (157) hide show
  1. package/api-keys.d.mts +1 -1
  2. package/api-keys.d.ts +1 -1
  3. package/api-keys.js +11 -11
  4. package/api-keys.mjs +3 -3
  5. package/apps.d.mts +9 -7
  6. package/apps.d.ts +9 -7
  7. package/apps.js +47 -47
  8. package/apps.mjs +3 -3
  9. package/audits.d.mts +1 -1
  10. package/audits.d.ts +1 -1
  11. package/audits.js +10 -10
  12. package/audits.mjs +3 -3
  13. package/auth.js +4 -4
  14. package/auth.mjs +3 -3
  15. package/automations.d.mts +1 -1
  16. package/automations.d.ts +1 -1
  17. package/automations.js +22 -22
  18. package/automations.mjs +3 -3
  19. package/brands.d.mts +4 -4
  20. package/brands.d.ts +4 -4
  21. package/brands.js +16 -16
  22. package/brands.mjs +3 -3
  23. package/chunks/37STYSYC.js +41 -0
  24. package/{enigma-session-VTHT4O6N.js → chunks/AGASWXYW.js} +5 -5
  25. package/{invoke-fetch-X42FV2FS.mjs → chunks/AU62SBT4.mjs} +2 -2
  26. package/{chunk-GY2TAYQH.js → chunks/AULTUQC4.js} +2 -2
  27. package/{chunk-4R2XCEVK.mjs → chunks/EHZ6H6TD.mjs} +1 -1
  28. package/{chunk-EALMXU6S.js → chunks/EL2GSPZZ.js} +3 -3
  29. package/{qix-QWSMFPQY.js → chunks/F7GJTDIU.js} +9 -9
  30. package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
  31. package/{chunk-YILVC32M.mjs → chunks/K4YCNLTC.mjs} +1 -1
  32. package/{chunk-F24SLAYP.mjs → chunks/KDW6ZD2R.mjs} +61 -27
  33. package/{qix-57OF6A7B.mjs → chunks/L7DRRU3T.mjs} +3 -3
  34. package/{chunk-4MWB2T3C.mjs → chunks/POR3DZIU.mjs} +1 -1
  35. package/{chunk-QTCDGPKS.js → chunks/PQ4OWSWX.js} +63 -29
  36. package/chunks/VC2LAFLZ.js +17 -0
  37. package/{chunk-LLLEO6K6.mjs → chunks/VLLTA4EY.mjs} +3 -3
  38. package/{chunk-BRDPNGQ7.js → chunks/W2I5OQA5.js} +3 -3
  39. package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
  40. package/{auth-U6QTT3H4.mjs → chunks/WQHUX4R2.mjs} +2 -2
  41. package/{chunk-RYBRKLOY.js → chunks/XY3AC335.js} +4 -4
  42. package/{enigma-session-VSFGLOYW.mjs → chunks/YDB23Q56.mjs} +2 -2
  43. package/collections.d.mts +5 -21
  44. package/collections.d.ts +5 -21
  45. package/collections.js +15 -15
  46. package/collections.mjs +3 -3
  47. package/csp-origins.d.mts +1 -1
  48. package/csp-origins.d.ts +1 -1
  49. package/csp-origins.js +10 -10
  50. package/csp-origins.mjs +3 -3
  51. package/data-assets.d.mts +1 -1
  52. package/data-assets.d.ts +1 -1
  53. package/data-assets.js +9 -9
  54. package/data-assets.mjs +3 -3
  55. package/data-connections.d.mts +1 -1
  56. package/data-connections.d.ts +1 -1
  57. package/data-connections.js +13 -13
  58. package/data-connections.mjs +3 -3
  59. package/data-credentials.d.mts +1 -1
  60. package/data-credentials.d.ts +1 -1
  61. package/data-credentials.js +8 -8
  62. package/data-credentials.mjs +3 -3
  63. package/data-files.d.mts +1 -1
  64. package/data-files.d.ts +1 -1
  65. package/data-files.js +16 -16
  66. package/data-files.mjs +3 -3
  67. package/extensions.d.mts +1 -1
  68. package/extensions.d.ts +1 -1
  69. package/extensions.js +11 -11
  70. package/extensions.mjs +3 -3
  71. package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
  72. package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
  73. package/glossaries.d.mts +1 -1
  74. package/glossaries.d.ts +1 -1
  75. package/glossaries.js +28 -28
  76. package/glossaries.mjs +3 -3
  77. package/groups.d.mts +1 -1
  78. package/groups.d.ts +1 -1
  79. package/groups.js +12 -12
  80. package/groups.mjs +3 -3
  81. package/identity-providers.d.mts +1 -1
  82. package/identity-providers.d.ts +1 -1
  83. package/identity-providers.js +12 -12
  84. package/identity-providers.mjs +3 -3
  85. package/index.d.mts +1 -1
  86. package/index.d.ts +1 -1
  87. package/index.js +9 -9
  88. package/index.mjs +5 -5
  89. package/items.d.mts +1 -1
  90. package/items.d.ts +1 -1
  91. package/items.js +12 -12
  92. package/items.mjs +3 -3
  93. package/licenses.d.mts +1 -1
  94. package/licenses.d.ts +1 -1
  95. package/licenses.js +13 -13
  96. package/licenses.mjs +3 -3
  97. package/package.json +4 -1
  98. package/qix.d.mts +20 -2
  99. package/qix.d.ts +20 -2
  100. package/qix.js +4 -4
  101. package/qix.mjs +3 -3
  102. package/quotas.d.mts +1 -1
  103. package/quotas.d.ts +1 -1
  104. package/quotas.js +6 -6
  105. package/quotas.mjs +3 -3
  106. package/reload-tasks.d.mts +1 -1
  107. package/reload-tasks.d.ts +1 -1
  108. package/reload-tasks.js +9 -9
  109. package/reload-tasks.mjs +3 -3
  110. package/reloads.d.mts +1 -1
  111. package/reloads.d.ts +1 -1
  112. package/reloads.js +8 -8
  113. package/reloads.mjs +3 -3
  114. package/roles.d.mts +1 -1
  115. package/roles.d.ts +1 -1
  116. package/roles.js +6 -6
  117. package/roles.mjs +3 -3
  118. package/spaces.d.mts +1 -1
  119. package/spaces.d.ts +1 -1
  120. package/spaces.js +16 -16
  121. package/spaces.mjs +3 -3
  122. package/temp-contents.d.mts +1 -1
  123. package/temp-contents.d.ts +1 -1
  124. package/temp-contents.js +7 -7
  125. package/temp-contents.mjs +3 -3
  126. package/tenants.d.mts +6 -6
  127. package/tenants.d.ts +6 -6
  128. package/tenants.js +10 -10
  129. package/tenants.mjs +3 -3
  130. package/themes.d.mts +1 -1
  131. package/themes.d.ts +1 -1
  132. package/themes.js +11 -11
  133. package/themes.mjs +3 -3
  134. package/transports.d.mts +12 -12
  135. package/transports.d.ts +12 -12
  136. package/transports.js +10 -10
  137. package/transports.mjs +3 -3
  138. package/users.d.mts +5 -11
  139. package/users.d.ts +5 -11
  140. package/users.js +14 -14
  141. package/users.mjs +3 -3
  142. package/web-integrations.d.mts +1 -1
  143. package/web-integrations.d.ts +1 -1
  144. package/web-integrations.js +9 -9
  145. package/web-integrations.mjs +3 -3
  146. package/web-notifications.d.mts +1 -1
  147. package/web-notifications.d.ts +1 -1
  148. package/web-notifications.js +10 -10
  149. package/web-notifications.mjs +3 -3
  150. package/webhooks.d.mts +1 -1
  151. package/webhooks.d.ts +1 -1
  152. package/webhooks.js +14 -14
  153. package/webhooks.mjs +3 -3
  154. package/auth-XY6FVSVM.js +0 -41
  155. package/invoke-fetch-FRLO3CK6.js +0 -17
  156. /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
  157. /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
package/roles.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/POR3DZIU.mjs";
5
+ import "./chunks/VLLTA4EY.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/roles.ts
9
9
  var getRoles = async (query, options) => invokeFetch("roles", {
package/spaces.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type ActionName = "create" | "read" | "update" | "delete" | "publish";
package/spaces.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type ActionName = "create" | "read" | "update" | "delete" | "publish";
package/spaces.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
+ require('./chunks/W2I5OQA5.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/spaces.ts
9
- var getSpaces = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
9
+ var getSpaces = async (query, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
15
+ var createSpace = async (body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
22
+ var getSpaceTypes = async (options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
27
+ var deleteSpace = async (spaceId, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
33
+ var getSpace = async (spaceId, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
39
+ var patchSpace = async (spaceId, body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var updateSpace = async (spaceId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
47
+ var updateSpace = async (spaceId, body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch
52
52
  contentType: "application/json",
53
53
  options
54
54
  });
55
- var getSpaceAssignments = async (spaceId, query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
55
+ var getSpaceAssignments = async (spaceId, query, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
62
+ var createSpaceAssignment = async (spaceId, body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.i
67
67
  contentType: "application/json",
68
68
  options
69
69
  });
70
- var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
70
+ var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
76
+ var getSpaceAssignment = async (spaceId, assignmentId, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "spaces", {
82
+ var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _EL2GSPZZjs.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 _chunkEALMXU6Sjs.clearApiCache.call(void 0, "spaces");
91
+ return _EL2GSPZZjs.clearApiCache.call(void 0, "spaces");
92
92
  }
93
93
  var spacesExport = {
94
94
  getSpaces,
package/spaces.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/POR3DZIU.mjs";
5
+ import "./chunks/VLLTA4EY.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/spaces.ts
9
9
  var getSpaces = async (query, options) => invokeFetch("spaces", {
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type Error = {
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type Error = {
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 _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
+ require('./chunks/W2I5OQA5.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/temp-contents.ts
9
- var uploadTempFile = async (query, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "temp-contents", {
9
+ var uploadTempFile = async (query, body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetc
14
14
  contentType: "application/octet-stream",
15
15
  options
16
16
  });
17
- var downloadTempFile = async (id, query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "temp-contents", {
17
+ var downloadTempFile = async (id, query, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "temp-contents", {
24
+ var getTempFileDetails = async (id, options) => _EL2GSPZZjs.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 _chunkEALMXU6Sjs.clearApiCache.call(void 0, "temp-contents");
31
+ return _EL2GSPZZjs.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,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/POR3DZIU.mjs";
5
+ import "./chunks/VLLTA4EY.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/temp-contents.ts
9
9
  var uploadTempFile = async (query, body, options) => invokeFetch("temp-contents", {
package/tenants.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type Error = {
@@ -125,12 +125,12 @@ type CreateTenantHttpError = {
125
125
  */
126
126
  declare const getMyTenant: (options?: ApiCallOptions) => Promise<GetMyTenantHttpResponse>;
127
127
  type GetMyTenantHttpResponse = {
128
- data: void;
128
+ data: Tenant;
129
129
  headers: Headers;
130
130
  status: number;
131
131
  };
132
132
  type GetMyTenantHttpError = {
133
- data: void;
133
+ data: unknown;
134
134
  headers: Headers;
135
135
  status: number;
136
136
  };
@@ -184,12 +184,12 @@ type PatchTenant429HttpError = {
184
184
  headers: Headers;
185
185
  status: 429;
186
186
  };
187
- type PatchTenantdefaultHttpError = {
187
+ type PatchTenantDefaultHttpError = {
188
188
  data: Errors;
189
189
  headers: Headers;
190
190
  status: "default";
191
191
  };
192
- type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantdefaultHttpError;
192
+ type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantDefaultHttpError;
193
193
  /**
194
194
  * Deactivates a tenant.
195
195
  *
@@ -285,4 +285,4 @@ interface TenantsAPI {
285
285
  */
286
286
  declare const tenantsExport: TenantsAPI;
287
287
 
288
- export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type PatchTenantHttpError, type PatchTenantHttpResponse, type PatchTenantdefaultHttpError, type ReactivateTenantHttpError, type ReactivateTenantHttpResponse, type Tenant, type TenantCreationRequest, type TenantDeactivateRequest, type TenantDeactivateResponse, type TenantPatchErrors, type TenantPatchSchema, type TenantsAPI, clearCache, createTenant, deactivateTenant, tenantsExport as default, getMyTenant, getTenant, patchTenant, reactivateTenant };
288
+ export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type PatchTenantDefaultHttpError, type PatchTenantHttpError, type PatchTenantHttpResponse, type ReactivateTenantHttpError, type ReactivateTenantHttpResponse, type Tenant, type TenantCreationRequest, type TenantDeactivateRequest, type TenantDeactivateResponse, type TenantPatchErrors, type TenantPatchSchema, type TenantsAPI, clearCache, createTenant, deactivateTenant, tenantsExport as default, getMyTenant, getTenant, patchTenant, reactivateTenant };
package/tenants.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type Error = {
@@ -125,12 +125,12 @@ type CreateTenantHttpError = {
125
125
  */
126
126
  declare const getMyTenant: (options?: ApiCallOptions) => Promise<GetMyTenantHttpResponse>;
127
127
  type GetMyTenantHttpResponse = {
128
- data: void;
128
+ data: Tenant;
129
129
  headers: Headers;
130
130
  status: number;
131
131
  };
132
132
  type GetMyTenantHttpError = {
133
- data: void;
133
+ data: unknown;
134
134
  headers: Headers;
135
135
  status: number;
136
136
  };
@@ -184,12 +184,12 @@ type PatchTenant429HttpError = {
184
184
  headers: Headers;
185
185
  status: 429;
186
186
  };
187
- type PatchTenantdefaultHttpError = {
187
+ type PatchTenantDefaultHttpError = {
188
188
  data: Errors;
189
189
  headers: Headers;
190
190
  status: "default";
191
191
  };
192
- type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantdefaultHttpError;
192
+ type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantDefaultHttpError;
193
193
  /**
194
194
  * Deactivates a tenant.
195
195
  *
@@ -285,4 +285,4 @@ interface TenantsAPI {
285
285
  */
286
286
  declare const tenantsExport: TenantsAPI;
287
287
 
288
- export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type PatchTenantHttpError, type PatchTenantHttpResponse, type PatchTenantdefaultHttpError, type ReactivateTenantHttpError, type ReactivateTenantHttpResponse, type Tenant, type TenantCreationRequest, type TenantDeactivateRequest, type TenantDeactivateResponse, type TenantPatchErrors, type TenantPatchSchema, type TenantsAPI, clearCache, createTenant, deactivateTenant, tenantsExport as default, getMyTenant, getTenant, patchTenant, reactivateTenant };
288
+ export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type PatchTenantDefaultHttpError, type PatchTenantHttpError, type PatchTenantHttpResponse, type ReactivateTenantHttpError, type ReactivateTenantHttpResponse, type Tenant, type TenantCreationRequest, type TenantDeactivateRequest, type TenantDeactivateResponse, type TenantPatchErrors, type TenantPatchSchema, type TenantsAPI, clearCache, createTenant, deactivateTenant, tenantsExport as default, getMyTenant, getTenant, patchTenant, reactivateTenant };
package/tenants.js CHANGED
@@ -1,30 +1,30 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
+ require('./chunks/W2I5OQA5.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/tenants.ts
9
- var createTenant = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "tenants", {
9
+ var createTenant = async (body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "tenants", {
16
+ var getMyTenant = async (options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "tenants", {
21
+ var getTenant = async (tenantId, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "tenants", {
27
+ var patchTenant = async (tenantId, body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetc
32
32
  contentType: "application/json",
33
33
  options
34
34
  });
35
- var deactivateTenant = async (tenantId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "tenants", {
35
+ var deactivateTenant = async (tenantId, body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invok
40
40
  contentType: "application/json",
41
41
  options
42
42
  });
43
- var reactivateTenant = async (tenantId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "tenants", {
43
+ var reactivateTenant = async (tenantId, body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invok
49
49
  options
50
50
  });
51
51
  function clearCache() {
52
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "tenants");
52
+ return _EL2GSPZZjs.clearApiCache.call(void 0, "tenants");
53
53
  }
54
54
  var tenantsExport = {
55
55
  createTenant,
package/tenants.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/POR3DZIU.mjs";
5
+ import "./chunks/VLLTA4EY.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/tenants.ts
9
9
  var createTenant = async (body, options) => invokeFetch("tenants", {
package/themes.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type Error = {
package/themes.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type Error = {
package/themes.js CHANGED
@@ -1,36 +1,36 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
+ require('./chunks/W2I5OQA5.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/themes.ts
9
- var getThemes = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "themes", {
9
+ var getThemes = async (options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "themes", {
14
+ var uploadTheme = async (body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "themes", {
21
+ var deleteTheme = async (id, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "themes", {
27
+ var getTheme = async (id, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "themes", {
33
+ var patchTheme = async (id, body, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(
38
38
  contentType: "multipart/form-data",
39
39
  options
40
40
  });
41
- var downloadTheme = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "themes", {
41
+ var downloadTheme = async (id, options) => _EL2GSPZZjs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "themes", {
47
+ var downloadFileFromTheme = async (id, filepath, options) => _EL2GSPZZjs.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 _chunkEALMXU6Sjs.clearApiCache.call(void 0, "themes");
54
+ return _EL2GSPZZjs.clearApiCache.call(void 0, "themes");
55
55
  }
56
56
  var themesExport = {
57
57
  getThemes,
package/themes.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/POR3DZIU.mjs";
5
+ import "./chunks/VLLTA4EY.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/themes.ts
9
9
  var getThemes = async (options) => invokeFetch("themes", {
package/transports.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type DeleteConfigNotFoundError = {
@@ -132,12 +132,12 @@ type DeleteEmailConfig404HttpError = {
132
132
  headers: Headers;
133
133
  status: 404;
134
134
  };
135
- type DeleteEmailConfigdefaultHttpError = {
135
+ type DeleteEmailConfigDefaultHttpError = {
136
136
  data: ErrorsPublic;
137
137
  headers: Headers;
138
138
  status: "default";
139
139
  };
140
- type DeleteEmailConfigHttpError = DeleteEmailConfig403HttpError | DeleteEmailConfig404HttpError | DeleteEmailConfigdefaultHttpError;
140
+ type DeleteEmailConfigHttpError = DeleteEmailConfig403HttpError | DeleteEmailConfig404HttpError | DeleteEmailConfigDefaultHttpError;
141
141
  /**
142
142
  * Returns the email configuration for a given tenant id (retrieved from JWT).
143
143
  *
@@ -154,12 +154,12 @@ type GetEmailConfig403HttpError = {
154
154
  headers: Headers;
155
155
  status: 403;
156
156
  };
157
- type GetEmailConfigdefaultHttpError = {
157
+ type GetEmailConfigDefaultHttpError = {
158
158
  data: ErrorsPublic;
159
159
  headers: Headers;
160
160
  status: "default";
161
161
  };
162
- type GetEmailConfigHttpError = GetEmailConfig403HttpError | GetEmailConfigdefaultHttpError;
162
+ type GetEmailConfigHttpError = GetEmailConfig403HttpError | GetEmailConfigDefaultHttpError;
163
163
  /**
164
164
  * Patch the email configuration for a given tenant id (retrieved from JWT).
165
165
  *
@@ -182,12 +182,12 @@ type PatchEmailConfig403HttpError = {
182
182
  headers: Headers;
183
183
  status: 403;
184
184
  };
185
- type PatchEmailConfigdefaultHttpError = {
185
+ type PatchEmailConfigDefaultHttpError = {
186
186
  data: ErrorsPublic;
187
187
  headers: Headers;
188
188
  status: "default";
189
189
  };
190
- type PatchEmailConfigHttpError = PatchEmailConfig400HttpError | PatchEmailConfig403HttpError | PatchEmailConfigdefaultHttpError;
190
+ type PatchEmailConfigHttpError = PatchEmailConfig400HttpError | PatchEmailConfig403HttpError | PatchEmailConfigDefaultHttpError;
191
191
  /**
192
192
  * Send a test mail with the supplied email info (subject, body, recipient). Email config from database is used for the connection.
193
193
  *
@@ -210,12 +210,12 @@ type SendTestEmail404HttpError = {
210
210
  headers: Headers;
211
211
  status: 404;
212
212
  };
213
- type SendTestEmaildefaultHttpError = {
213
+ type SendTestEmailDefaultHttpError = {
214
214
  data: ErrorsPublic;
215
215
  headers: Headers;
216
216
  status: "default";
217
217
  };
218
- type SendTestEmailHttpError = SendTestEmail403HttpError | SendTestEmail404HttpError | SendTestEmaildefaultHttpError;
218
+ type SendTestEmailHttpError = SendTestEmail403HttpError | SendTestEmail404HttpError | SendTestEmailDefaultHttpError;
219
219
  /**
220
220
  * Returns the isValid value for the email configuration for the tenant. Will return false if no email configuration exists.
221
221
  *
@@ -248,12 +248,12 @@ type VerifyEmailConfigConnection404HttpError = {
248
248
  headers: Headers;
249
249
  status: 404;
250
250
  };
251
- type VerifyEmailConfigConnectiondefaultHttpError = {
251
+ type VerifyEmailConfigConnectionDefaultHttpError = {
252
252
  data: ErrorsPublic;
253
253
  headers: Headers;
254
254
  status: "default";
255
255
  };
256
- type VerifyEmailConfigConnectionHttpError = VerifyEmailConfigConnection404HttpError | VerifyEmailConfigConnectiondefaultHttpError;
256
+ type VerifyEmailConfigConnectionHttpError = VerifyEmailConfigConnection404HttpError | VerifyEmailConfigConnectionDefaultHttpError;
257
257
  /**
258
258
  * Clears the cache for transports api requests.
259
259
  */
@@ -307,4 +307,4 @@ interface TransportsAPI {
307
307
  */
308
308
  declare const transportsExport: TransportsAPI;
309
309
 
310
- export { type DeleteConfigNotFoundError, type DeleteEmailConfig403HttpError, type DeleteEmailConfig404HttpError, type DeleteEmailConfigHttpError, type DeleteEmailConfigHttpResponse, type DeleteEmailConfigdefaultHttpError, type Email, type EmailConfigFieldPatch, type EmailConfigGet, type EmailConfigPatch, type ErrorPublic, type ErrorsPublic, type GetEmailConfig403HttpError, type GetEmailConfigHttpError, type GetEmailConfigHttpResponse, type GetEmailConfigdefaultHttpError, type PatchEmailConfig400HttpError, type PatchEmailConfig403HttpError, type PatchEmailConfigError, type PatchEmailConfigHttpError, type PatchEmailConfigHttpResponse, type PatchEmailConfigdefaultHttpError, type SendTestEmail403HttpError, type SendTestEmail404HttpError, type SendTestEmailHttpError, type SendTestEmailHttpResponse, type SendTestEmaildefaultHttpError, type SendTestMailConfigNotFoundError, type SmtpCheck, type SmtpConfigStatus, type SmtpResult, type TenantAdminError, type TransportsAPI, type ValidateEmailConfigHttpError, type ValidateEmailConfigHttpResponse, type VerifyConnectionConfigNotFoundError, type VerifyEmailConfigConnection404HttpError, type VerifyEmailConfigConnectionHttpError, type VerifyEmailConfigConnectionHttpResponse, type VerifyEmailConfigConnectiondefaultHttpError, clearCache, transportsExport as default, deleteEmailConfig, getEmailConfig, patchEmailConfig, sendTestEmail, validateEmailConfig, verifyEmailConfigConnection };
310
+ export { type DeleteConfigNotFoundError, type DeleteEmailConfig403HttpError, type DeleteEmailConfig404HttpError, type DeleteEmailConfigDefaultHttpError, type DeleteEmailConfigHttpError, type DeleteEmailConfigHttpResponse, type Email, type EmailConfigFieldPatch, type EmailConfigGet, type EmailConfigPatch, type ErrorPublic, type ErrorsPublic, type GetEmailConfig403HttpError, type GetEmailConfigDefaultHttpError, type GetEmailConfigHttpError, type GetEmailConfigHttpResponse, type PatchEmailConfig400HttpError, type PatchEmailConfig403HttpError, type PatchEmailConfigDefaultHttpError, type PatchEmailConfigError, type PatchEmailConfigHttpError, type PatchEmailConfigHttpResponse, type SendTestEmail403HttpError, type SendTestEmail404HttpError, type SendTestEmailDefaultHttpError, type SendTestEmailHttpError, type SendTestEmailHttpResponse, type SendTestMailConfigNotFoundError, type SmtpCheck, type SmtpConfigStatus, type SmtpResult, type TenantAdminError, type TransportsAPI, type ValidateEmailConfigHttpError, type ValidateEmailConfigHttpResponse, type VerifyConnectionConfigNotFoundError, type VerifyEmailConfigConnection404HttpError, type VerifyEmailConfigConnectionDefaultHttpError, type VerifyEmailConfigConnectionHttpError, type VerifyEmailConfigConnectionHttpResponse, clearCache, transportsExport as default, deleteEmailConfig, getEmailConfig, patchEmailConfig, sendTestEmail, validateEmailConfig, verifyEmailConfigConnection };