@qlik/api 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODEOWNERS +2 -0
- package/.github/workflows/release.yaml +35 -0
- package/README.md +1 -3
- package/api-keys.d.mts +27 -13
- package/api-keys.d.ts +27 -13
- package/api-keys.js +17 -13
- package/api-keys.mjs +12 -8
- package/apps.d.mts +580 -165
- package/apps.d.ts +580 -165
- package/apps.js +111 -44
- package/apps.mjs +78 -11
- package/audits.d.mts +20 -8
- package/audits.d.ts +20 -8
- package/audits.js +12 -11
- package/audits.mjs +7 -6
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-TE272Q34.mjs → auth-CPBNNC7S.mjs} +8 -3
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +56 -20
- package/automations.d.ts +56 -20
- package/automations.js +32 -25
- package/automations.mjs +18 -11
- package/brands.d.mts +45 -4
- package/brands.d.ts +45 -4
- package/brands.js +20 -15
- package/brands.mjs +7 -2
- package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
- package/{chunk-WM7FQU2U.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-4ES65KO3.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-4OMEH5SW.mjs → chunk-CYRLVHU3.mjs} +321 -53
- package/{chunk-XASXL2NC.js → chunk-D52VW5UN.js} +323 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-4FLMND6T.js → chunk-GV5SRHY2.js} +4 -4
- package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
- package/chunk-P57PW2II.js +11 -0
- package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
- package/chunk-ZFXKCRJC.mjs +11 -0
- package/collections.d.mts +52 -18
- package/collections.d.ts +52 -18
- package/collections.js +28 -14
- package/collections.mjs +16 -2
- package/csp-origins.d.mts +12 -0
- package/csp-origins.d.ts +12 -0
- package/csp-origins.js +12 -9
- package/csp-origins.mjs +5 -2
- package/data-assets.d.mts +10 -0
- package/data-assets.d.ts +10 -0
- package/data-assets.js +13 -8
- package/data-assets.mjs +7 -2
- package/data-connections.d.mts +20 -0
- package/data-connections.d.ts +20 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +10 -0
- package/data-credentials.d.ts +10 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +114 -29
- package/data-files.d.ts +114 -29
- package/data-files.js +25 -18
- package/data-files.mjs +15 -8
- package/{enigma-session-TEB53FAF.js → enigma-session-XPXDQAIV.js} +12 -7
- package/{enigma-session-4L373ALV.mjs → enigma-session-ZH6MYA54.mjs} +10 -5
- package/{esm-4X3DKK5D.js → esm-3VXX2GKL.js} +13 -9
- package/{esm-SOWVJKOQ.mjs → esm-OY4XVIJB.mjs} +13 -9
- package/extensions.d.mts +26 -2
- package/extensions.d.ts +26 -2
- package/extensions.js +13 -10
- package/extensions.mjs +5 -2
- package/glossaries.d.mts +55 -20
- package/glossaries.d.ts +55 -20
- package/glossaries.js +39 -27
- package/glossaries.mjs +14 -2
- package/groups.d.mts +29 -13
- package/groups.d.ts +29 -13
- package/groups.js +19 -14
- package/groups.mjs +13 -8
- package/identity-providers.d.mts +23 -7
- package/identity-providers.d.ts +23 -7
- package/identity-providers.js +16 -13
- package/identity-providers.mjs +8 -5
- package/index.js +150 -112
- package/index.mjs +146 -108
- package/{invoke-fetch-MSSJAZ7K.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +25 -22
- package/items.d.ts +25 -22
- package/items.js +17 -14
- package/items.mjs +11 -8
- package/licenses.d.mts +20 -0
- package/licenses.d.ts +20 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +7 -18
- package/{qix-RLTISYTB.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-EU7PXRZ6.mjs → qix-ZSJ4PIK3.mjs} +5 -4
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- package/qix.js +4 -3
- package/qix.mjs +3 -2
- package/quotas.d.mts +4 -0
- package/quotas.d.ts +4 -0
- package/quotas.js +6 -5
- package/quotas.mjs +3 -2
- package/reload-tasks.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +20 -11
- package/reloads.d.ts +20 -11
- package/reloads.js +9 -7
- package/reloads.mjs +4 -2
- package/roles.d.mts +4 -0
- package/roles.d.ts +4 -0
- package/roles.js +6 -5
- package/roles.mjs +3 -2
- package/spaces.d.mts +36 -30
- package/spaces.d.ts +36 -30
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +9 -70
- package/temp-contents.d.ts +9 -70
- package/temp-contents.js +10 -29
- package/temp-contents.mjs +5 -24
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +14 -9
- package/tenants.mjs +7 -2
- package/themes.d.mts +26 -2
- package/themes.d.ts +26 -2
- package/themes.js +13 -10
- package/themes.mjs +5 -2
- package/transports.d.mts +12 -0
- package/transports.d.ts +12 -0
- package/transports.js +12 -9
- package/transports.mjs +5 -2
- package/users.d.mts +48 -29
- package/users.d.ts +48 -29
- package/users.js +18 -13
- package/users.mjs +7 -2
- package/web-integrations.d.mts +10 -0
- package/web-integrations.d.ts +10 -0
- package/web-integrations.js +11 -8
- package/web-integrations.mjs +5 -2
- package/web-notifications.d.mts +12 -0
- package/web-notifications.d.ts +12 -0
- package/web-notifications.js +12 -9
- package/web-notifications.mjs +5 -2
- package/webhooks.d.mts +27 -7
- package/webhooks.d.ts +27 -7
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/invoke-fetch-PEI54KZO.js +0 -14
package/themes.d.mts
CHANGED
|
@@ -63,6 +63,7 @@ type Themes = {
|
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
65
|
* Lists all themes.
|
|
66
|
+
*
|
|
66
67
|
* @throws GetThemesHttpError
|
|
67
68
|
*/
|
|
68
69
|
declare const getThemes: (options?: ApiCallOptions) => Promise<GetThemesHttpResponse>;
|
|
@@ -78,10 +79,16 @@ type GetThemesHttpError = {
|
|
|
78
79
|
};
|
|
79
80
|
/**
|
|
80
81
|
* Creates a new theme. If a file is provided, the data field is not required.
|
|
82
|
+
*
|
|
81
83
|
* @param body an object with the body content
|
|
82
84
|
* @throws UploadThemeHttpError
|
|
83
85
|
*/
|
|
84
|
-
declare const uploadTheme: (body:
|
|
86
|
+
declare const uploadTheme: (body: {
|
|
87
|
+
/** The theme model. */
|
|
88
|
+
data?: Theme;
|
|
89
|
+
/** Theme archive. */
|
|
90
|
+
file?: BodyInit;
|
|
91
|
+
}, options?: ApiCallOptions) => Promise<UploadThemeHttpResponse>;
|
|
85
92
|
type UploadThemeHttpResponse = {
|
|
86
93
|
data: Theme;
|
|
87
94
|
headers: Headers;
|
|
@@ -94,6 +101,7 @@ type UploadThemeHttpError = {
|
|
|
94
101
|
};
|
|
95
102
|
/**
|
|
96
103
|
* Deletes a specific theme.
|
|
104
|
+
*
|
|
97
105
|
* @param id Theme identifier or its qextFilename.
|
|
98
106
|
* @throws DeleteThemeHttpError
|
|
99
107
|
*/
|
|
@@ -110,6 +118,7 @@ type DeleteThemeHttpError = {
|
|
|
110
118
|
};
|
|
111
119
|
/**
|
|
112
120
|
* Returns a specific theme.
|
|
121
|
+
*
|
|
113
122
|
* @param id Theme identifier or its qextFilename
|
|
114
123
|
* @throws GetThemeHttpError
|
|
115
124
|
*/
|
|
@@ -126,11 +135,17 @@ type GetThemeHttpError = {
|
|
|
126
135
|
};
|
|
127
136
|
/**
|
|
128
137
|
* Updates a specific theme with provided data. If a file is provided, the data field is not required.
|
|
138
|
+
*
|
|
129
139
|
* @param id Theme identifier or its qextFilename.
|
|
130
140
|
* @param body an object with the body content
|
|
131
141
|
* @throws PatchThemeHttpError
|
|
132
142
|
*/
|
|
133
|
-
declare const patchTheme: (id: string, body:
|
|
143
|
+
declare const patchTheme: (id: string, body: {
|
|
144
|
+
/** The theme model. */
|
|
145
|
+
data?: Theme;
|
|
146
|
+
/** Theme archive. */
|
|
147
|
+
file?: BodyInit;
|
|
148
|
+
}, options?: ApiCallOptions) => Promise<PatchThemeHttpResponse>;
|
|
134
149
|
type PatchThemeHttpResponse = {
|
|
135
150
|
data: Themes;
|
|
136
151
|
headers: Headers;
|
|
@@ -143,6 +158,7 @@ type PatchThemeHttpError = {
|
|
|
143
158
|
};
|
|
144
159
|
/**
|
|
145
160
|
* Downloads the theme as an archive.
|
|
161
|
+
*
|
|
146
162
|
* @param id Theme identifier or its qextFilename
|
|
147
163
|
* @throws DownloadThemeHttpError
|
|
148
164
|
*/
|
|
@@ -159,6 +175,7 @@ type DownloadThemeHttpError = {
|
|
|
159
175
|
};
|
|
160
176
|
/**
|
|
161
177
|
* Downloads a file from the theme archive.
|
|
178
|
+
*
|
|
162
179
|
* @param id Theme identifier or its qextFilename.
|
|
163
180
|
* @param filepath Path to the file archive for the specified theme archive. Folders separated with forward slashes.
|
|
164
181
|
* @throws DownloadFileFromThemeHttpError
|
|
@@ -181,29 +198,34 @@ declare function clearCache(): void;
|
|
|
181
198
|
interface ThemesAPI {
|
|
182
199
|
/**
|
|
183
200
|
* Lists all themes.
|
|
201
|
+
*
|
|
184
202
|
* @throws GetThemesHttpError
|
|
185
203
|
*/
|
|
186
204
|
getThemes: typeof getThemes;
|
|
187
205
|
/**
|
|
188
206
|
* Creates a new theme. If a file is provided, the data field is not required.
|
|
207
|
+
*
|
|
189
208
|
* @param body an object with the body content
|
|
190
209
|
* @throws UploadThemeHttpError
|
|
191
210
|
*/
|
|
192
211
|
uploadTheme: typeof uploadTheme;
|
|
193
212
|
/**
|
|
194
213
|
* Deletes a specific theme.
|
|
214
|
+
*
|
|
195
215
|
* @param id Theme identifier or its qextFilename.
|
|
196
216
|
* @throws DeleteThemeHttpError
|
|
197
217
|
*/
|
|
198
218
|
deleteTheme: typeof deleteTheme;
|
|
199
219
|
/**
|
|
200
220
|
* Returns a specific theme.
|
|
221
|
+
*
|
|
201
222
|
* @param id Theme identifier or its qextFilename
|
|
202
223
|
* @throws GetThemeHttpError
|
|
203
224
|
*/
|
|
204
225
|
getTheme: typeof getTheme;
|
|
205
226
|
/**
|
|
206
227
|
* Updates a specific theme with provided data. If a file is provided, the data field is not required.
|
|
228
|
+
*
|
|
207
229
|
* @param id Theme identifier or its qextFilename.
|
|
208
230
|
* @param body an object with the body content
|
|
209
231
|
* @throws PatchThemeHttpError
|
|
@@ -211,12 +233,14 @@ interface ThemesAPI {
|
|
|
211
233
|
patchTheme: typeof patchTheme;
|
|
212
234
|
/**
|
|
213
235
|
* Downloads the theme as an archive.
|
|
236
|
+
*
|
|
214
237
|
* @param id Theme identifier or its qextFilename
|
|
215
238
|
* @throws DownloadThemeHttpError
|
|
216
239
|
*/
|
|
217
240
|
downloadTheme: typeof downloadTheme;
|
|
218
241
|
/**
|
|
219
242
|
* Downloads a file from the theme archive.
|
|
243
|
+
*
|
|
220
244
|
* @param id Theme identifier or its qextFilename.
|
|
221
245
|
* @param filepath Path to the file archive for the specified theme archive. Folders separated with forward slashes.
|
|
222
246
|
* @throws DownloadFileFromThemeHttpError
|
package/themes.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ type Themes = {
|
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
65
|
* Lists all themes.
|
|
66
|
+
*
|
|
66
67
|
* @throws GetThemesHttpError
|
|
67
68
|
*/
|
|
68
69
|
declare const getThemes: (options?: ApiCallOptions) => Promise<GetThemesHttpResponse>;
|
|
@@ -78,10 +79,16 @@ type GetThemesHttpError = {
|
|
|
78
79
|
};
|
|
79
80
|
/**
|
|
80
81
|
* Creates a new theme. If a file is provided, the data field is not required.
|
|
82
|
+
*
|
|
81
83
|
* @param body an object with the body content
|
|
82
84
|
* @throws UploadThemeHttpError
|
|
83
85
|
*/
|
|
84
|
-
declare const uploadTheme: (body:
|
|
86
|
+
declare const uploadTheme: (body: {
|
|
87
|
+
/** The theme model. */
|
|
88
|
+
data?: Theme;
|
|
89
|
+
/** Theme archive. */
|
|
90
|
+
file?: BodyInit;
|
|
91
|
+
}, options?: ApiCallOptions) => Promise<UploadThemeHttpResponse>;
|
|
85
92
|
type UploadThemeHttpResponse = {
|
|
86
93
|
data: Theme;
|
|
87
94
|
headers: Headers;
|
|
@@ -94,6 +101,7 @@ type UploadThemeHttpError = {
|
|
|
94
101
|
};
|
|
95
102
|
/**
|
|
96
103
|
* Deletes a specific theme.
|
|
104
|
+
*
|
|
97
105
|
* @param id Theme identifier or its qextFilename.
|
|
98
106
|
* @throws DeleteThemeHttpError
|
|
99
107
|
*/
|
|
@@ -110,6 +118,7 @@ type DeleteThemeHttpError = {
|
|
|
110
118
|
};
|
|
111
119
|
/**
|
|
112
120
|
* Returns a specific theme.
|
|
121
|
+
*
|
|
113
122
|
* @param id Theme identifier or its qextFilename
|
|
114
123
|
* @throws GetThemeHttpError
|
|
115
124
|
*/
|
|
@@ -126,11 +135,17 @@ type GetThemeHttpError = {
|
|
|
126
135
|
};
|
|
127
136
|
/**
|
|
128
137
|
* Updates a specific theme with provided data. If a file is provided, the data field is not required.
|
|
138
|
+
*
|
|
129
139
|
* @param id Theme identifier or its qextFilename.
|
|
130
140
|
* @param body an object with the body content
|
|
131
141
|
* @throws PatchThemeHttpError
|
|
132
142
|
*/
|
|
133
|
-
declare const patchTheme: (id: string, body:
|
|
143
|
+
declare const patchTheme: (id: string, body: {
|
|
144
|
+
/** The theme model. */
|
|
145
|
+
data?: Theme;
|
|
146
|
+
/** Theme archive. */
|
|
147
|
+
file?: BodyInit;
|
|
148
|
+
}, options?: ApiCallOptions) => Promise<PatchThemeHttpResponse>;
|
|
134
149
|
type PatchThemeHttpResponse = {
|
|
135
150
|
data: Themes;
|
|
136
151
|
headers: Headers;
|
|
@@ -143,6 +158,7 @@ type PatchThemeHttpError = {
|
|
|
143
158
|
};
|
|
144
159
|
/**
|
|
145
160
|
* Downloads the theme as an archive.
|
|
161
|
+
*
|
|
146
162
|
* @param id Theme identifier or its qextFilename
|
|
147
163
|
* @throws DownloadThemeHttpError
|
|
148
164
|
*/
|
|
@@ -159,6 +175,7 @@ type DownloadThemeHttpError = {
|
|
|
159
175
|
};
|
|
160
176
|
/**
|
|
161
177
|
* Downloads a file from the theme archive.
|
|
178
|
+
*
|
|
162
179
|
* @param id Theme identifier or its qextFilename.
|
|
163
180
|
* @param filepath Path to the file archive for the specified theme archive. Folders separated with forward slashes.
|
|
164
181
|
* @throws DownloadFileFromThemeHttpError
|
|
@@ -181,29 +198,34 @@ declare function clearCache(): void;
|
|
|
181
198
|
interface ThemesAPI {
|
|
182
199
|
/**
|
|
183
200
|
* Lists all themes.
|
|
201
|
+
*
|
|
184
202
|
* @throws GetThemesHttpError
|
|
185
203
|
*/
|
|
186
204
|
getThemes: typeof getThemes;
|
|
187
205
|
/**
|
|
188
206
|
* Creates a new theme. If a file is provided, the data field is not required.
|
|
207
|
+
*
|
|
189
208
|
* @param body an object with the body content
|
|
190
209
|
* @throws UploadThemeHttpError
|
|
191
210
|
*/
|
|
192
211
|
uploadTheme: typeof uploadTheme;
|
|
193
212
|
/**
|
|
194
213
|
* Deletes a specific theme.
|
|
214
|
+
*
|
|
195
215
|
* @param id Theme identifier or its qextFilename.
|
|
196
216
|
* @throws DeleteThemeHttpError
|
|
197
217
|
*/
|
|
198
218
|
deleteTheme: typeof deleteTheme;
|
|
199
219
|
/**
|
|
200
220
|
* Returns a specific theme.
|
|
221
|
+
*
|
|
201
222
|
* @param id Theme identifier or its qextFilename
|
|
202
223
|
* @throws GetThemeHttpError
|
|
203
224
|
*/
|
|
204
225
|
getTheme: typeof getTheme;
|
|
205
226
|
/**
|
|
206
227
|
* Updates a specific theme with provided data. If a file is provided, the data field is not required.
|
|
228
|
+
*
|
|
207
229
|
* @param id Theme identifier or its qextFilename.
|
|
208
230
|
* @param body an object with the body content
|
|
209
231
|
* @throws PatchThemeHttpError
|
|
@@ -211,12 +233,14 @@ interface ThemesAPI {
|
|
|
211
233
|
patchTheme: typeof patchTheme;
|
|
212
234
|
/**
|
|
213
235
|
* Downloads the theme as an archive.
|
|
236
|
+
*
|
|
214
237
|
* @param id Theme identifier or its qextFilename
|
|
215
238
|
* @throws DownloadThemeHttpError
|
|
216
239
|
*/
|
|
217
240
|
downloadTheme: typeof downloadTheme;
|
|
218
241
|
/**
|
|
219
242
|
* Downloads a file from the theme archive.
|
|
243
|
+
*
|
|
220
244
|
* @param id Theme identifier or its qextFilename.
|
|
221
245
|
* @param filepath Path to the file archive for the specified theme archive. Folders separated with forward slashes.
|
|
222
246
|
* @throws DownloadFileFromThemeHttpError
|
package/themes.js
CHANGED
|
@@ -1,54 +1,57 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/themes.ts
|
|
8
|
-
var getThemes = async (options) =>
|
|
9
|
+
var getThemes = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/themes",
|
|
11
12
|
options
|
|
12
13
|
});
|
|
13
|
-
var uploadTheme = async (body, options) =>
|
|
14
|
+
var uploadTheme = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
14
15
|
method: "post",
|
|
15
16
|
pathTemplate: "/api/v1/themes",
|
|
16
17
|
body,
|
|
18
|
+
contentType: "multipart/form-data",
|
|
17
19
|
options
|
|
18
20
|
});
|
|
19
|
-
var deleteTheme = async (id, options) =>
|
|
21
|
+
var deleteTheme = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
20
22
|
method: "delete",
|
|
21
23
|
pathTemplate: "/api/v1/themes/{id}",
|
|
22
24
|
pathVariables: { id },
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
|
-
var getTheme = async (id, options) =>
|
|
27
|
+
var getTheme = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
26
28
|
method: "get",
|
|
27
29
|
pathTemplate: "/api/v1/themes/{id}",
|
|
28
30
|
pathVariables: { id },
|
|
29
31
|
options
|
|
30
32
|
});
|
|
31
|
-
var patchTheme = async (id, body, options) =>
|
|
33
|
+
var patchTheme = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
32
34
|
method: "patch",
|
|
33
35
|
pathTemplate: "/api/v1/themes/{id}",
|
|
34
36
|
pathVariables: { id },
|
|
35
37
|
body,
|
|
38
|
+
contentType: "multipart/form-data",
|
|
36
39
|
options
|
|
37
40
|
});
|
|
38
|
-
var downloadTheme = async (id, options) =>
|
|
41
|
+
var downloadTheme = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
39
42
|
method: "get",
|
|
40
43
|
pathTemplate: "/api/v1/themes/{id}/file",
|
|
41
44
|
pathVariables: { id },
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
|
-
var downloadFileFromTheme = async (id, filepath, options) =>
|
|
47
|
+
var downloadFileFromTheme = async (id, filepath, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
45
48
|
method: "get",
|
|
46
49
|
pathTemplate: "/api/v1/themes/{id}/file/{filepath}",
|
|
47
50
|
pathVariables: { id, filepath },
|
|
48
51
|
options
|
|
49
52
|
});
|
|
50
53
|
function clearCache() {
|
|
51
|
-
return
|
|
54
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "themes");
|
|
52
55
|
}
|
|
53
56
|
var themesExport = {
|
|
54
57
|
getThemes,
|
package/themes.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/themes.ts
|
|
8
9
|
var getThemes = async (options) => invokeFetch("themes", {
|
|
@@ -14,6 +15,7 @@ var uploadTheme = async (body, options) => invokeFetch("themes", {
|
|
|
14
15
|
method: "post",
|
|
15
16
|
pathTemplate: "/api/v1/themes",
|
|
16
17
|
body,
|
|
18
|
+
contentType: "multipart/form-data",
|
|
17
19
|
options
|
|
18
20
|
});
|
|
19
21
|
var deleteTheme = async (id, options) => invokeFetch("themes", {
|
|
@@ -33,6 +35,7 @@ var patchTheme = async (id, body, options) => invokeFetch("themes", {
|
|
|
33
35
|
pathTemplate: "/api/v1/themes/{id}",
|
|
34
36
|
pathVariables: { id },
|
|
35
37
|
body,
|
|
38
|
+
contentType: "multipart/form-data",
|
|
36
39
|
options
|
|
37
40
|
});
|
|
38
41
|
var downloadTheme = async (id, options) => invokeFetch("themes", {
|
package/transports.d.mts
CHANGED
|
@@ -113,6 +113,7 @@ type SmtpResult = {
|
|
|
113
113
|
};
|
|
114
114
|
/**
|
|
115
115
|
* Deletes email configuration for a given tenant id (retrieved from JWT).
|
|
116
|
+
*
|
|
116
117
|
* @throws DeleteEmailConfigHttpError
|
|
117
118
|
*/
|
|
118
119
|
declare const deleteEmailConfig: (options?: ApiCallOptions) => Promise<DeleteEmailConfigHttpResponse>;
|
|
@@ -139,6 +140,7 @@ type DeleteEmailConfigdefaultHttpError = {
|
|
|
139
140
|
type DeleteEmailConfigHttpError = DeleteEmailConfig403HttpError | DeleteEmailConfig404HttpError | DeleteEmailConfigdefaultHttpError;
|
|
140
141
|
/**
|
|
141
142
|
* Returns the email configuration for a given tenant id (retrieved from JWT).
|
|
143
|
+
*
|
|
142
144
|
* @throws GetEmailConfigHttpError
|
|
143
145
|
*/
|
|
144
146
|
declare const getEmailConfig: (options?: ApiCallOptions) => Promise<GetEmailConfigHttpResponse>;
|
|
@@ -160,6 +162,7 @@ type GetEmailConfigdefaultHttpError = {
|
|
|
160
162
|
type GetEmailConfigHttpError = GetEmailConfig403HttpError | GetEmailConfigdefaultHttpError;
|
|
161
163
|
/**
|
|
162
164
|
* Patch the email configuration for a given tenant id (retrieved from JWT).
|
|
165
|
+
*
|
|
163
166
|
* @param body an object with the body content
|
|
164
167
|
* @throws PatchEmailConfigHttpError
|
|
165
168
|
*/
|
|
@@ -187,6 +190,7 @@ type PatchEmailConfigdefaultHttpError = {
|
|
|
187
190
|
type PatchEmailConfigHttpError = PatchEmailConfig400HttpError | PatchEmailConfig403HttpError | PatchEmailConfigdefaultHttpError;
|
|
188
191
|
/**
|
|
189
192
|
* Send a test mail with the supplied email info (subject, body, recipient). Email config from database is used for the connection.
|
|
193
|
+
*
|
|
190
194
|
* @param body an object with the body content
|
|
191
195
|
* @throws SendTestEmailHttpError
|
|
192
196
|
*/
|
|
@@ -214,6 +218,7 @@ type SendTestEmaildefaultHttpError = {
|
|
|
214
218
|
type SendTestEmailHttpError = SendTestEmail403HttpError | SendTestEmail404HttpError | SendTestEmaildefaultHttpError;
|
|
215
219
|
/**
|
|
216
220
|
* Returns the isValid value for the email configuration for the tenant. Will return false if no email configuration exists.
|
|
221
|
+
*
|
|
217
222
|
* @throws ValidateEmailConfigHttpError
|
|
218
223
|
*/
|
|
219
224
|
declare const validateEmailConfig: (options?: ApiCallOptions) => Promise<ValidateEmailConfigHttpResponse>;
|
|
@@ -229,6 +234,7 @@ type ValidateEmailConfigHttpError = {
|
|
|
229
234
|
};
|
|
230
235
|
/**
|
|
231
236
|
* Verifies connection to email server for tenant provided via JWT
|
|
237
|
+
*
|
|
232
238
|
* @throws VerifyEmailConfigConnectionHttpError
|
|
233
239
|
*/
|
|
234
240
|
declare const verifyEmailConfigConnection: (options?: ApiCallOptions) => Promise<VerifyEmailConfigConnectionHttpResponse>;
|
|
@@ -255,33 +261,39 @@ declare function clearCache(): void;
|
|
|
255
261
|
interface TransportsAPI {
|
|
256
262
|
/**
|
|
257
263
|
* Deletes email configuration for a given tenant id (retrieved from JWT).
|
|
264
|
+
*
|
|
258
265
|
* @throws DeleteEmailConfigHttpError
|
|
259
266
|
*/
|
|
260
267
|
deleteEmailConfig: typeof deleteEmailConfig;
|
|
261
268
|
/**
|
|
262
269
|
* Returns the email configuration for a given tenant id (retrieved from JWT).
|
|
270
|
+
*
|
|
263
271
|
* @throws GetEmailConfigHttpError
|
|
264
272
|
*/
|
|
265
273
|
getEmailConfig: typeof getEmailConfig;
|
|
266
274
|
/**
|
|
267
275
|
* Patch the email configuration for a given tenant id (retrieved from JWT).
|
|
276
|
+
*
|
|
268
277
|
* @param body an object with the body content
|
|
269
278
|
* @throws PatchEmailConfigHttpError
|
|
270
279
|
*/
|
|
271
280
|
patchEmailConfig: typeof patchEmailConfig;
|
|
272
281
|
/**
|
|
273
282
|
* Send a test mail with the supplied email info (subject, body, recipient). Email config from database is used for the connection.
|
|
283
|
+
*
|
|
274
284
|
* @param body an object with the body content
|
|
275
285
|
* @throws SendTestEmailHttpError
|
|
276
286
|
*/
|
|
277
287
|
sendTestEmail: typeof sendTestEmail;
|
|
278
288
|
/**
|
|
279
289
|
* Returns the isValid value for the email configuration for the tenant. Will return false if no email configuration exists.
|
|
290
|
+
*
|
|
280
291
|
* @throws ValidateEmailConfigHttpError
|
|
281
292
|
*/
|
|
282
293
|
validateEmailConfig: typeof validateEmailConfig;
|
|
283
294
|
/**
|
|
284
295
|
* Verifies connection to email server for tenant provided via JWT
|
|
296
|
+
*
|
|
285
297
|
* @throws VerifyEmailConfigConnectionHttpError
|
|
286
298
|
*/
|
|
287
299
|
verifyEmailConfigConnection: typeof verifyEmailConfigConnection;
|
package/transports.d.ts
CHANGED
|
@@ -113,6 +113,7 @@ type SmtpResult = {
|
|
|
113
113
|
};
|
|
114
114
|
/**
|
|
115
115
|
* Deletes email configuration for a given tenant id (retrieved from JWT).
|
|
116
|
+
*
|
|
116
117
|
* @throws DeleteEmailConfigHttpError
|
|
117
118
|
*/
|
|
118
119
|
declare const deleteEmailConfig: (options?: ApiCallOptions) => Promise<DeleteEmailConfigHttpResponse>;
|
|
@@ -139,6 +140,7 @@ type DeleteEmailConfigdefaultHttpError = {
|
|
|
139
140
|
type DeleteEmailConfigHttpError = DeleteEmailConfig403HttpError | DeleteEmailConfig404HttpError | DeleteEmailConfigdefaultHttpError;
|
|
140
141
|
/**
|
|
141
142
|
* Returns the email configuration for a given tenant id (retrieved from JWT).
|
|
143
|
+
*
|
|
142
144
|
* @throws GetEmailConfigHttpError
|
|
143
145
|
*/
|
|
144
146
|
declare const getEmailConfig: (options?: ApiCallOptions) => Promise<GetEmailConfigHttpResponse>;
|
|
@@ -160,6 +162,7 @@ type GetEmailConfigdefaultHttpError = {
|
|
|
160
162
|
type GetEmailConfigHttpError = GetEmailConfig403HttpError | GetEmailConfigdefaultHttpError;
|
|
161
163
|
/**
|
|
162
164
|
* Patch the email configuration for a given tenant id (retrieved from JWT).
|
|
165
|
+
*
|
|
163
166
|
* @param body an object with the body content
|
|
164
167
|
* @throws PatchEmailConfigHttpError
|
|
165
168
|
*/
|
|
@@ -187,6 +190,7 @@ type PatchEmailConfigdefaultHttpError = {
|
|
|
187
190
|
type PatchEmailConfigHttpError = PatchEmailConfig400HttpError | PatchEmailConfig403HttpError | PatchEmailConfigdefaultHttpError;
|
|
188
191
|
/**
|
|
189
192
|
* Send a test mail with the supplied email info (subject, body, recipient). Email config from database is used for the connection.
|
|
193
|
+
*
|
|
190
194
|
* @param body an object with the body content
|
|
191
195
|
* @throws SendTestEmailHttpError
|
|
192
196
|
*/
|
|
@@ -214,6 +218,7 @@ type SendTestEmaildefaultHttpError = {
|
|
|
214
218
|
type SendTestEmailHttpError = SendTestEmail403HttpError | SendTestEmail404HttpError | SendTestEmaildefaultHttpError;
|
|
215
219
|
/**
|
|
216
220
|
* Returns the isValid value for the email configuration for the tenant. Will return false if no email configuration exists.
|
|
221
|
+
*
|
|
217
222
|
* @throws ValidateEmailConfigHttpError
|
|
218
223
|
*/
|
|
219
224
|
declare const validateEmailConfig: (options?: ApiCallOptions) => Promise<ValidateEmailConfigHttpResponse>;
|
|
@@ -229,6 +234,7 @@ type ValidateEmailConfigHttpError = {
|
|
|
229
234
|
};
|
|
230
235
|
/**
|
|
231
236
|
* Verifies connection to email server for tenant provided via JWT
|
|
237
|
+
*
|
|
232
238
|
* @throws VerifyEmailConfigConnectionHttpError
|
|
233
239
|
*/
|
|
234
240
|
declare const verifyEmailConfigConnection: (options?: ApiCallOptions) => Promise<VerifyEmailConfigConnectionHttpResponse>;
|
|
@@ -255,33 +261,39 @@ declare function clearCache(): void;
|
|
|
255
261
|
interface TransportsAPI {
|
|
256
262
|
/**
|
|
257
263
|
* Deletes email configuration for a given tenant id (retrieved from JWT).
|
|
264
|
+
*
|
|
258
265
|
* @throws DeleteEmailConfigHttpError
|
|
259
266
|
*/
|
|
260
267
|
deleteEmailConfig: typeof deleteEmailConfig;
|
|
261
268
|
/**
|
|
262
269
|
* Returns the email configuration for a given tenant id (retrieved from JWT).
|
|
270
|
+
*
|
|
263
271
|
* @throws GetEmailConfigHttpError
|
|
264
272
|
*/
|
|
265
273
|
getEmailConfig: typeof getEmailConfig;
|
|
266
274
|
/**
|
|
267
275
|
* Patch the email configuration for a given tenant id (retrieved from JWT).
|
|
276
|
+
*
|
|
268
277
|
* @param body an object with the body content
|
|
269
278
|
* @throws PatchEmailConfigHttpError
|
|
270
279
|
*/
|
|
271
280
|
patchEmailConfig: typeof patchEmailConfig;
|
|
272
281
|
/**
|
|
273
282
|
* Send a test mail with the supplied email info (subject, body, recipient). Email config from database is used for the connection.
|
|
283
|
+
*
|
|
274
284
|
* @param body an object with the body content
|
|
275
285
|
* @throws SendTestEmailHttpError
|
|
276
286
|
*/
|
|
277
287
|
sendTestEmail: typeof sendTestEmail;
|
|
278
288
|
/**
|
|
279
289
|
* Returns the isValid value for the email configuration for the tenant. Will return false if no email configuration exists.
|
|
290
|
+
*
|
|
280
291
|
* @throws ValidateEmailConfigHttpError
|
|
281
292
|
*/
|
|
282
293
|
validateEmailConfig: typeof validateEmailConfig;
|
|
283
294
|
/**
|
|
284
295
|
* Verifies connection to email server for tenant provided via JWT
|
|
296
|
+
*
|
|
285
297
|
* @throws VerifyEmailConfigConnectionHttpError
|
|
286
298
|
*/
|
|
287
299
|
verifyEmailConfigConnection: typeof verifyEmailConfigConnection;
|
package/transports.js
CHANGED
|
@@ -1,44 +1,47 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/transports.ts
|
|
8
|
-
var deleteEmailConfig = async (options) =>
|
|
9
|
+
var deleteEmailConfig = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "transports", {
|
|
9
10
|
method: "delete",
|
|
10
11
|
pathTemplate: "/api/v1/transports/email-config",
|
|
11
12
|
options
|
|
12
13
|
});
|
|
13
|
-
var getEmailConfig = async (options) =>
|
|
14
|
+
var getEmailConfig = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "transports", {
|
|
14
15
|
method: "get",
|
|
15
16
|
pathTemplate: "/api/v1/transports/email-config",
|
|
16
17
|
options
|
|
17
18
|
});
|
|
18
|
-
var patchEmailConfig = async (body, options) =>
|
|
19
|
+
var patchEmailConfig = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "transports", {
|
|
19
20
|
method: "patch",
|
|
20
21
|
pathTemplate: "/api/v1/transports/email-config",
|
|
21
22
|
body,
|
|
23
|
+
contentType: "application/json",
|
|
22
24
|
options
|
|
23
25
|
});
|
|
24
|
-
var sendTestEmail = async (body, options) =>
|
|
26
|
+
var sendTestEmail = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "transports", {
|
|
25
27
|
method: "post",
|
|
26
28
|
pathTemplate: "/api/v1/transports/email-config/actions/send-test-email",
|
|
27
29
|
body,
|
|
30
|
+
contentType: "application/json",
|
|
28
31
|
options
|
|
29
32
|
});
|
|
30
|
-
var validateEmailConfig = async (options) =>
|
|
33
|
+
var validateEmailConfig = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "transports", {
|
|
31
34
|
method: "post",
|
|
32
35
|
pathTemplate: "/api/v1/transports/email-config/actions/validate",
|
|
33
36
|
options
|
|
34
37
|
});
|
|
35
|
-
var verifyEmailConfigConnection = async (options) =>
|
|
38
|
+
var verifyEmailConfigConnection = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "transports", {
|
|
36
39
|
method: "post",
|
|
37
40
|
pathTemplate: "/api/v1/transports/email-config/actions/verify-connection",
|
|
38
41
|
options
|
|
39
42
|
});
|
|
40
43
|
function clearCache() {
|
|
41
|
-
return
|
|
44
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "transports");
|
|
42
45
|
}
|
|
43
46
|
var transportsExport = {
|
|
44
47
|
deleteEmailConfig,
|
package/transports.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/transports.ts
|
|
8
9
|
var deleteEmailConfig = async (options) => invokeFetch("transports", {
|
|
@@ -19,12 +20,14 @@ var patchEmailConfig = async (body, options) => invokeFetch("transports", {
|
|
|
19
20
|
method: "patch",
|
|
20
21
|
pathTemplate: "/api/v1/transports/email-config",
|
|
21
22
|
body,
|
|
23
|
+
contentType: "application/json",
|
|
22
24
|
options
|
|
23
25
|
});
|
|
24
26
|
var sendTestEmail = async (body, options) => invokeFetch("transports", {
|
|
25
27
|
method: "post",
|
|
26
28
|
pathTemplate: "/api/v1/transports/email-config/actions/send-test-email",
|
|
27
29
|
body,
|
|
30
|
+
contentType: "application/json",
|
|
28
31
|
options
|
|
29
32
|
});
|
|
30
33
|
var validateEmailConfig = async (options) => invokeFetch("transports", {
|