@qlik/api 1.31.0 → 1.33.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.
- package/api-keys.d.ts +10 -10
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +1301 -0
- package/assistants.js +329 -0
- package/audits.d.ts +10 -10
- package/audits.js +48 -36
- package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
- package/auth.d.ts +17 -4
- package/auth.js +4 -2
- package/automation-connections.d.ts +366 -0
- package/automation-connections.js +107 -0
- package/automations.d.ts +27 -27
- package/automations.js +159 -123
- package/automl-deployments.d.ts +97 -0
- package/automl-deployments.js +29 -0
- package/automl-predictions.d.ts +214 -0
- package/automl-predictions.js +84 -0
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{KBSD75QL.js → 33GQY7N7.js} +1 -1
- package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{DLKLPD7T.js → GPRUNZV4.js} +3 -3
- package/chunks/{YKZ2QYHN.js → LIEZG7IM.js} +3 -3
- package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
- package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
- package/chunks/{GUU3KZGK.js → SPATCXXU.js} +9 -2
- package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
- package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +662 -0
- package/conditions.js +135 -0
- package/consumption.d.ts +182 -0
- package/consumption.js +26 -0
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +62 -0
- package/csrf-token.js +25 -0
- package/data-alerts.d.ts +1004 -0
- package/data-alerts.js +187 -0
- package/data-assets.d.ts +8 -8
- package/data-assets.js +50 -40
- package/data-connections.d.ts +16 -16
- package/data-connections.js +87 -69
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +52 -42
- package/data-files.d.ts +18 -18
- package/data-files.js +107 -83
- package/data-qualities.d.ts +175 -0
- package/data-qualities.js +50 -0
- package/data-sets.d.ts +424 -0
- package/data-sets.js +87 -0
- package/data-sources.d.ts +268 -0
- package/data-sources.js +45 -0
- package/data-stores.d.ts +537 -0
- package/data-stores.js +128 -0
- package/dcaas.d.ts +192 -0
- package/dcaas.js +45 -0
- package/di-projects.d.ts +673 -0
- package/di-projects.js +196 -0
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +370 -0
- package/encryption.js +118 -0
- package/extensions.d.ts +11 -11
- package/extensions.js +61 -47
- package/glossaries.d.ts +33 -33
- package/glossaries.js +221 -173
- package/groups.d.ts +12 -12
- package/groups.js +72 -56
- package/identity-providers.d.ts +11 -11
- package/identity-providers.js +67 -51
- package/index.d.ts +113 -4
- package/index.js +626 -40
- package/interceptors.d.ts +9 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
- package/items.d.ts +14 -13
- package/items.js +71 -55
- package/knowledgebases.d.ts +890 -0
- package/knowledgebases.js +203 -0
- package/licenses.d.ts +14 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +712 -0
- package/lineage-graphs.js +108 -0
- package/ml.d.ts +2676 -0
- package/ml.js +477 -0
- package/notes.d.ts +110 -0
- package/notes.js +35 -0
- package/notifications.d.ts +98 -0
- package/notifications.js +26 -0
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +126 -0
- package/oauth-tokens.js +35 -0
- package/package.json +34 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +364 -0
- package/questions.js +38 -0
- package/quotas.d.ts +6 -6
- package/quotas.js +20 -16
- package/reload-tasks.d.ts +8 -8
- package/reload-tasks.js +46 -36
- package/reloads.d.ts +7 -7
- package/reloads.js +36 -28
- package/report-templates.d.ts +287 -0
- package/report-templates.js +94 -0
- package/reports.d.ts +4 -4
- package/reports.js +20 -16
- package/roles.d.ts +8 -8
- package/roles.js +46 -36
- package/sharing-tasks.d.ts +952 -0
- package/sharing-tasks.js +125 -0
- package/spaces.d.ts +22 -22
- package/spaces.js +153 -119
- package/tasks.d.ts +564 -0
- package/tasks.js +126 -0
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +30 -24
- package/tenants.d.ts +8 -8
- package/tenants.js +57 -45
- package/themes.d.ts +11 -11
- package/themes.js +61 -47
- package/transports.d.ts +8 -8
- package/transports.js +49 -37
- package/ui-config.d.ts +274 -0
- package/ui-config.js +91 -0
- package/users.d.ts +15 -15
- package/users.js +81 -63
- package/web-integrations.d.ts +8 -8
- package/web-integrations.js +46 -36
- package/web-notifications.d.ts +9 -9
- package/web-notifications.js +53 -41
- package/webhooks.d.ts +14 -14
- package/webhooks.js +88 -68
- package/chunks/2ZQ3ZX7F.js +0 -33
- package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/temp-contents.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An Error object.
|
|
@@ -54,13 +54,13 @@ type DetailResponse = {
|
|
|
54
54
|
* @param body an object with the body content
|
|
55
55
|
* @throws UploadTempFileHttpError
|
|
56
56
|
*/
|
|
57
|
-
declare
|
|
57
|
+
declare function uploadTempFile(query: {
|
|
58
58
|
/** The name of the file to upload. */
|
|
59
59
|
filename?: string;
|
|
60
60
|
/** The TTL parameter is used to define the time-to-live for the content resource in seconds.
|
|
61
61
|
* It defaults to one hour (3600) if no input is provided. Max TTL is 259200 (3 days).' */
|
|
62
62
|
ttl?: number;
|
|
63
|
-
}, body: BodyInit, options?: ApiCallOptions)
|
|
63
|
+
}, body: BodyInit, options?: ApiCallOptions): Promise<UploadTempFileHttpResponse>;
|
|
64
64
|
type UploadTempFileHttpResponse = {
|
|
65
65
|
data: void;
|
|
66
66
|
headers: Headers;
|
|
@@ -78,10 +78,10 @@ type UploadTempFileHttpError = {
|
|
|
78
78
|
* @param query an object with query parameters
|
|
79
79
|
* @throws DownloadTempFileHttpError
|
|
80
80
|
*/
|
|
81
|
-
declare
|
|
81
|
+
declare function downloadTempFile(id: string, query: {
|
|
82
82
|
/** Set to "1" to download the file in inline mode. Useful for displaying a preview of the file in a browser. */
|
|
83
83
|
inline?: string;
|
|
84
|
-
}, options?: ApiCallOptions)
|
|
84
|
+
}, options?: ApiCallOptions): Promise<DownloadTempFileHttpResponse>;
|
|
85
85
|
type DownloadTempFileHttpResponse = DownloadTempFile200HttpResponse | DownloadTempFile204HttpResponse | DownloadTempFile206HttpResponse;
|
|
86
86
|
type DownloadTempFile200HttpResponse = {
|
|
87
87
|
data: unknown;
|
|
@@ -109,7 +109,7 @@ type DownloadTempFileHttpError = {
|
|
|
109
109
|
* @param id The temporary contents ID.
|
|
110
110
|
* @throws GetTempFileDetailsHttpError
|
|
111
111
|
*/
|
|
112
|
-
declare
|
|
112
|
+
declare function getTempFileDetails(id: string, options?: ApiCallOptions): Promise<GetTempFileDetailsHttpResponse>;
|
|
113
113
|
type GetTempFileDetailsHttpResponse = GetTempFileDetails200HttpResponse | GetTempFileDetails204HttpResponse;
|
|
114
114
|
type GetTempFileDetails200HttpResponse = {
|
|
115
115
|
data: DetailResponse;
|
package/temp-contents.js
CHANGED
|
@@ -1,32 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/temp-contents.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
9
|
+
async function uploadTempFile(query, body, options) {
|
|
10
|
+
return invokeFetch("temp-contents", {
|
|
11
|
+
method: "post",
|
|
12
|
+
pathTemplate: "/api/v1/temp-contents",
|
|
13
|
+
query,
|
|
14
|
+
body,
|
|
15
|
+
contentType: "application/octet-stream",
|
|
16
|
+
options
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
async function downloadTempFile(id, query, options) {
|
|
20
|
+
return invokeFetch("temp-contents", {
|
|
21
|
+
method: "get",
|
|
22
|
+
pathTemplate: "/api/v1/temp-contents/{id}",
|
|
23
|
+
pathVariables: { id },
|
|
24
|
+
query,
|
|
25
|
+
options
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function getTempFileDetails(id, options) {
|
|
29
|
+
return invokeFetch("temp-contents", {
|
|
30
|
+
method: "get",
|
|
31
|
+
pathTemplate: "/api/v1/temp-contents/{id}/details",
|
|
32
|
+
pathVariables: { id },
|
|
33
|
+
options
|
|
34
|
+
});
|
|
35
|
+
}
|
|
30
36
|
function clearCache() {
|
|
31
37
|
return clearApiCache("temp-contents");
|
|
32
38
|
}
|
package/tenants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An error object describing the error.
|
|
@@ -176,7 +176,7 @@ type TenantPatchSchema = {
|
|
|
176
176
|
* @param body an object with the body content
|
|
177
177
|
* @throws CreateTenantHttpError
|
|
178
178
|
*/
|
|
179
|
-
declare
|
|
179
|
+
declare function createTenant(body: TenantCreationRequest, options?: ApiCallOptions): Promise<CreateTenantHttpResponse>;
|
|
180
180
|
type CreateTenantHttpResponse = {
|
|
181
181
|
data: Tenant;
|
|
182
182
|
headers: Headers;
|
|
@@ -192,7 +192,7 @@ type CreateTenantHttpError = {
|
|
|
192
192
|
*
|
|
193
193
|
* @throws GetMyTenantHttpError
|
|
194
194
|
*/
|
|
195
|
-
declare
|
|
195
|
+
declare function getMyTenant(options?: ApiCallOptions): Promise<GetMyTenantHttpResponse>;
|
|
196
196
|
type GetMyTenantHttpResponse = {
|
|
197
197
|
data: Tenant;
|
|
198
198
|
headers: Headers;
|
|
@@ -209,7 +209,7 @@ type GetMyTenantHttpError = {
|
|
|
209
209
|
* @param tenantId The ID of the tenant to retrieve
|
|
210
210
|
* @throws GetTenantHttpError
|
|
211
211
|
*/
|
|
212
|
-
declare
|
|
212
|
+
declare function getTenant(tenantId: string, options?: ApiCallOptions): Promise<GetTenantHttpResponse>;
|
|
213
213
|
type GetTenantHttpResponse = {
|
|
214
214
|
data: Tenant;
|
|
215
215
|
headers: Headers;
|
|
@@ -227,7 +227,7 @@ type GetTenantHttpError = {
|
|
|
227
227
|
* @param body an object with the body content
|
|
228
228
|
* @throws PatchTenantHttpError
|
|
229
229
|
*/
|
|
230
|
-
declare
|
|
230
|
+
declare function patchTenant(tenantId: string, body: TenantPatchSchema, options?: ApiCallOptions): Promise<PatchTenantHttpResponse>;
|
|
231
231
|
type PatchTenantHttpResponse = {
|
|
232
232
|
data: void;
|
|
233
233
|
headers: Headers;
|
|
@@ -266,7 +266,7 @@ type PatchTenantdefaultHttpError = {
|
|
|
266
266
|
* @param body an object with the body content
|
|
267
267
|
* @throws DeactivateTenantHttpError
|
|
268
268
|
*/
|
|
269
|
-
declare
|
|
269
|
+
declare function deactivateTenant(tenantId: string, body: TenantDeactivateRequest, options?: ApiCallOptions): Promise<DeactivateTenantHttpResponse>;
|
|
270
270
|
type DeactivateTenantHttpResponse = {
|
|
271
271
|
data: TenantDeactivateResponse;
|
|
272
272
|
headers: Headers;
|
|
@@ -284,7 +284,7 @@ type DeactivateTenantHttpError = {
|
|
|
284
284
|
* @param body an object with the body content
|
|
285
285
|
* @throws ReactivateTenantHttpError
|
|
286
286
|
*/
|
|
287
|
-
declare
|
|
287
|
+
declare function reactivateTenant(tenantId: string, body: unknown, options?: ApiCallOptions): Promise<ReactivateTenantHttpResponse>;
|
|
288
288
|
type ReactivateTenantHttpResponse = {
|
|
289
289
|
data: unknown;
|
|
290
290
|
headers: Headers;
|
package/tenants.js
CHANGED
|
@@ -1,53 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/tenants.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
9
|
+
async function createTenant(body, options) {
|
|
10
|
+
return invokeFetch("tenants", {
|
|
11
|
+
method: "post",
|
|
12
|
+
pathTemplate: "/api/v1/tenants",
|
|
13
|
+
body,
|
|
14
|
+
contentType: "application/json",
|
|
15
|
+
options
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async function getMyTenant(options) {
|
|
19
|
+
return invokeFetch("tenants", {
|
|
20
|
+
method: "get",
|
|
21
|
+
pathTemplate: "/api/v1/tenants/me",
|
|
22
|
+
options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function getTenant(tenantId, options) {
|
|
26
|
+
return invokeFetch("tenants", {
|
|
27
|
+
method: "get",
|
|
28
|
+
pathTemplate: "/api/v1/tenants/{tenantId}",
|
|
29
|
+
pathVariables: { tenantId },
|
|
30
|
+
options
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function patchTenant(tenantId, body, options) {
|
|
34
|
+
return invokeFetch("tenants", {
|
|
35
|
+
method: "patch",
|
|
36
|
+
pathTemplate: "/api/v1/tenants/{tenantId}",
|
|
37
|
+
pathVariables: { tenantId },
|
|
38
|
+
body,
|
|
39
|
+
contentType: "application/json",
|
|
40
|
+
options
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
async function deactivateTenant(tenantId, body, options) {
|
|
44
|
+
return invokeFetch("tenants", {
|
|
45
|
+
method: "post",
|
|
46
|
+
pathTemplate: "/api/v1/tenants/{tenantId}/actions/deactivate",
|
|
47
|
+
pathVariables: { tenantId },
|
|
48
|
+
body,
|
|
49
|
+
contentType: "application/json",
|
|
50
|
+
options
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
async function reactivateTenant(tenantId, body, options) {
|
|
54
|
+
return invokeFetch("tenants", {
|
|
55
|
+
method: "post",
|
|
56
|
+
pathTemplate: "/api/v1/tenants/{tenantId}/actions/reactivate",
|
|
57
|
+
pathVariables: { tenantId },
|
|
58
|
+
body,
|
|
59
|
+
contentType: "application/json",
|
|
60
|
+
options
|
|
61
|
+
});
|
|
62
|
+
}
|
|
51
63
|
function clearCache() {
|
|
52
64
|
return clearApiCache("tenants");
|
|
53
65
|
}
|
package/themes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An error object.
|
|
@@ -75,7 +75,7 @@ type Themes = {
|
|
|
75
75
|
*
|
|
76
76
|
* @throws GetThemesHttpError
|
|
77
77
|
*/
|
|
78
|
-
declare
|
|
78
|
+
declare function getThemes(options?: ApiCallOptions): Promise<GetThemesHttpResponse>;
|
|
79
79
|
type GetThemesHttpResponse = {
|
|
80
80
|
data: Themes;
|
|
81
81
|
headers: Headers;
|
|
@@ -92,12 +92,12 @@ type GetThemesHttpError = {
|
|
|
92
92
|
* @param body an object with the body content
|
|
93
93
|
* @throws UploadThemeHttpError
|
|
94
94
|
*/
|
|
95
|
-
declare
|
|
95
|
+
declare function uploadTheme(body: {
|
|
96
96
|
/** The theme model. */
|
|
97
97
|
data?: Theme;
|
|
98
98
|
/** Theme archive. */
|
|
99
99
|
file?: BodyInit;
|
|
100
|
-
}, options?: ApiCallOptions)
|
|
100
|
+
}, options?: ApiCallOptions): Promise<UploadThemeHttpResponse>;
|
|
101
101
|
type UploadThemeHttpResponse = {
|
|
102
102
|
data: Theme;
|
|
103
103
|
headers: Headers;
|
|
@@ -114,7 +114,7 @@ type UploadThemeHttpError = {
|
|
|
114
114
|
* @param id Theme identifier or its qextFilename.
|
|
115
115
|
* @throws DeleteThemeHttpError
|
|
116
116
|
*/
|
|
117
|
-
declare
|
|
117
|
+
declare function deleteTheme(id: string, options?: ApiCallOptions): Promise<DeleteThemeHttpResponse>;
|
|
118
118
|
type DeleteThemeHttpResponse = {
|
|
119
119
|
data: void;
|
|
120
120
|
headers: Headers;
|
|
@@ -131,7 +131,7 @@ type DeleteThemeHttpError = {
|
|
|
131
131
|
* @param id Theme identifier or its qextFilename
|
|
132
132
|
* @throws GetThemeHttpError
|
|
133
133
|
*/
|
|
134
|
-
declare
|
|
134
|
+
declare function getTheme(id: string, options?: ApiCallOptions): Promise<GetThemeHttpResponse>;
|
|
135
135
|
type GetThemeHttpResponse = {
|
|
136
136
|
data: Theme;
|
|
137
137
|
headers: Headers;
|
|
@@ -149,12 +149,12 @@ type GetThemeHttpError = {
|
|
|
149
149
|
* @param body an object with the body content
|
|
150
150
|
* @throws PatchThemeHttpError
|
|
151
151
|
*/
|
|
152
|
-
declare
|
|
152
|
+
declare function patchTheme(id: string, body: {
|
|
153
153
|
/** The theme model. */
|
|
154
154
|
data?: Theme;
|
|
155
155
|
/** Theme archive. */
|
|
156
156
|
file?: BodyInit;
|
|
157
|
-
}, options?: ApiCallOptions)
|
|
157
|
+
}, options?: ApiCallOptions): Promise<PatchThemeHttpResponse>;
|
|
158
158
|
type PatchThemeHttpResponse = {
|
|
159
159
|
data: Themes;
|
|
160
160
|
headers: Headers;
|
|
@@ -171,7 +171,7 @@ type PatchThemeHttpError = {
|
|
|
171
171
|
* @param id Theme identifier or its qextFilename
|
|
172
172
|
* @throws DownloadThemeHttpError
|
|
173
173
|
*/
|
|
174
|
-
declare
|
|
174
|
+
declare function downloadTheme(id: string, options?: ApiCallOptions): Promise<DownloadThemeHttpResponse>;
|
|
175
175
|
type DownloadThemeHttpResponse = {
|
|
176
176
|
data: void;
|
|
177
177
|
headers: Headers;
|
|
@@ -189,7 +189,7 @@ type DownloadThemeHttpError = {
|
|
|
189
189
|
* @param filepath Path to the file location within the specified theme archive. Folders separated with forward slashes.
|
|
190
190
|
* @throws DownloadFileFromThemeHttpError
|
|
191
191
|
*/
|
|
192
|
-
declare
|
|
192
|
+
declare function downloadFileFromTheme(id: string, filepath: string, options?: ApiCallOptions): Promise<DownloadFileFromThemeHttpResponse>;
|
|
193
193
|
type DownloadFileFromThemeHttpResponse = {
|
|
194
194
|
data: void;
|
|
195
195
|
headers: Headers;
|
package/themes.js
CHANGED
|
@@ -1,55 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/themes.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
9
|
+
async function getThemes(options) {
|
|
10
|
+
return invokeFetch("themes", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/themes",
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function uploadTheme(body, options) {
|
|
17
|
+
return invokeFetch("themes", {
|
|
18
|
+
method: "post",
|
|
19
|
+
pathTemplate: "/api/v1/themes",
|
|
20
|
+
body,
|
|
21
|
+
contentType: "multipart/form-data",
|
|
22
|
+
options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function deleteTheme(id, options) {
|
|
26
|
+
return invokeFetch("themes", {
|
|
27
|
+
method: "delete",
|
|
28
|
+
pathTemplate: "/api/v1/themes/{id}",
|
|
29
|
+
pathVariables: { id },
|
|
30
|
+
options
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function getTheme(id, options) {
|
|
34
|
+
return invokeFetch("themes", {
|
|
35
|
+
method: "get",
|
|
36
|
+
pathTemplate: "/api/v1/themes/{id}",
|
|
37
|
+
pathVariables: { id },
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async function patchTheme(id, body, options) {
|
|
42
|
+
return invokeFetch("themes", {
|
|
43
|
+
method: "patch",
|
|
44
|
+
pathTemplate: "/api/v1/themes/{id}",
|
|
45
|
+
pathVariables: { id },
|
|
46
|
+
body,
|
|
47
|
+
contentType: "multipart/form-data",
|
|
48
|
+
options
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
async function downloadTheme(id, options) {
|
|
52
|
+
return invokeFetch("themes", {
|
|
53
|
+
method: "get",
|
|
54
|
+
pathTemplate: "/api/v1/themes/{id}/file",
|
|
55
|
+
pathVariables: { id },
|
|
56
|
+
options
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
async function downloadFileFromTheme(id, filepath, options) {
|
|
60
|
+
return invokeFetch("themes", {
|
|
61
|
+
method: "get",
|
|
62
|
+
pathTemplate: "/api/v1/themes/{id}/file/{filepath}",
|
|
63
|
+
pathVariables: { id, filepath },
|
|
64
|
+
options
|
|
65
|
+
});
|
|
66
|
+
}
|
|
53
67
|
function clearCache() {
|
|
54
68
|
return clearApiCache("themes");
|
|
55
69
|
}
|
package/transports.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
type DeleteConfigNotFoundError = {
|
|
5
5
|
errors?: {
|
|
@@ -162,7 +162,7 @@ type SmtpResult = {
|
|
|
162
162
|
*
|
|
163
163
|
* @throws DeleteEmailConfigHttpError
|
|
164
164
|
*/
|
|
165
|
-
declare
|
|
165
|
+
declare function deleteEmailConfig(options?: ApiCallOptions): Promise<DeleteEmailConfigHttpResponse>;
|
|
166
166
|
type DeleteEmailConfigHttpResponse = {
|
|
167
167
|
data: void;
|
|
168
168
|
headers: Headers;
|
|
@@ -189,7 +189,7 @@ type DeleteEmailConfigdefaultHttpError = {
|
|
|
189
189
|
*
|
|
190
190
|
* @throws GetEmailConfigHttpError
|
|
191
191
|
*/
|
|
192
|
-
declare
|
|
192
|
+
declare function getEmailConfig(options?: ApiCallOptions): Promise<GetEmailConfigHttpResponse>;
|
|
193
193
|
type GetEmailConfigHttpResponse = {
|
|
194
194
|
data: GetEmailConfig;
|
|
195
195
|
headers: Headers;
|
|
@@ -212,7 +212,7 @@ type GetEmailConfigdefaultHttpError = {
|
|
|
212
212
|
* @param body an object with the body content
|
|
213
213
|
* @throws PatchEmailConfigHttpError
|
|
214
214
|
*/
|
|
215
|
-
declare
|
|
215
|
+
declare function patchEmailConfig(body: EmailConfigPatch, options?: ApiCallOptions): Promise<PatchEmailConfigHttpResponse>;
|
|
216
216
|
type PatchEmailConfigHttpResponse = {
|
|
217
217
|
data: void;
|
|
218
218
|
headers: Headers;
|
|
@@ -240,7 +240,7 @@ type PatchEmailConfigdefaultHttpError = {
|
|
|
240
240
|
* @param body an object with the body content
|
|
241
241
|
* @throws SendTestEmailHttpError
|
|
242
242
|
*/
|
|
243
|
-
declare
|
|
243
|
+
declare function sendTestEmail(body: Email, options?: ApiCallOptions): Promise<SendTestEmailHttpResponse>;
|
|
244
244
|
type SendTestEmailHttpResponse = {
|
|
245
245
|
data: SmtpResult;
|
|
246
246
|
headers: Headers;
|
|
@@ -267,7 +267,7 @@ type SendTestEmaildefaultHttpError = {
|
|
|
267
267
|
*
|
|
268
268
|
* @throws ValidateEmailConfigHttpError
|
|
269
269
|
*/
|
|
270
|
-
declare
|
|
270
|
+
declare function validateEmailConfig(options?: ApiCallOptions): Promise<ValidateEmailConfigHttpResponse>;
|
|
271
271
|
type ValidateEmailConfigHttpResponse = {
|
|
272
272
|
data: SmtpCheck;
|
|
273
273
|
headers: Headers;
|
|
@@ -283,7 +283,7 @@ type ValidateEmailConfigHttpError = {
|
|
|
283
283
|
*
|
|
284
284
|
* @throws VerifyEmailConfigConnectionHttpError
|
|
285
285
|
*/
|
|
286
|
-
declare
|
|
286
|
+
declare function verifyEmailConfigConnection(options?: ApiCallOptions): Promise<VerifyEmailConfigConnectionHttpResponse>;
|
|
287
287
|
type VerifyEmailConfigConnectionHttpResponse = {
|
|
288
288
|
data: SmtpResult;
|
|
289
289
|
headers: Headers;
|
package/transports.js
CHANGED
|
@@ -1,45 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/transports.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
9
|
+
async function deleteEmailConfig(options) {
|
|
10
|
+
return invokeFetch("transports", {
|
|
11
|
+
method: "delete",
|
|
12
|
+
pathTemplate: "/api/v1/transports/email-config",
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function getEmailConfig(options) {
|
|
17
|
+
return invokeFetch("transports", {
|
|
18
|
+
method: "get",
|
|
19
|
+
pathTemplate: "/api/v1/transports/email-config",
|
|
20
|
+
options
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
async function patchEmailConfig(body, options) {
|
|
24
|
+
return invokeFetch("transports", {
|
|
25
|
+
method: "patch",
|
|
26
|
+
pathTemplate: "/api/v1/transports/email-config",
|
|
27
|
+
body,
|
|
28
|
+
contentType: "application/json",
|
|
29
|
+
options
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
async function sendTestEmail(body, options) {
|
|
33
|
+
return invokeFetch("transports", {
|
|
34
|
+
method: "post",
|
|
35
|
+
pathTemplate: "/api/v1/transports/email-config/actions/send-test-email",
|
|
36
|
+
body,
|
|
37
|
+
contentType: "application/json",
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async function validateEmailConfig(options) {
|
|
42
|
+
return invokeFetch("transports", {
|
|
43
|
+
method: "post",
|
|
44
|
+
pathTemplate: "/api/v1/transports/email-config/actions/validate",
|
|
45
|
+
options
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
async function verifyEmailConfigConnection(options) {
|
|
49
|
+
return invokeFetch("transports", {
|
|
50
|
+
method: "post",
|
|
51
|
+
pathTemplate: "/api/v1/transports/email-config/actions/verify-connection",
|
|
52
|
+
options
|
|
53
|
+
});
|
|
54
|
+
}
|
|
43
55
|
function clearCache() {
|
|
44
56
|
return clearApiCache("transports");
|
|
45
57
|
}
|