@qlik/api 2.2.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analytics/change-stores.d.ts +386 -0
- package/analytics/change-stores.js +123 -0
- package/analytics.d.ts +14 -0
- package/analytics.js +13 -0
- package/api-keys.d.ts +362 -3
- package/api-keys.js +2 -3
- package/apps.d.ts +2673 -3
- package/apps.js +2 -3
- package/assistants.d.ts +1370 -3
- package/assistants.js +2 -3
- package/audits.d.ts +318 -3
- package/audits.js +4 -4
- package/auth-types.d.ts +1 -1
- package/auth-types.js +1 -2
- package/auth.d.ts +94 -2
- package/auth.js +63 -3
- package/automation-connections.d.ts +366 -3
- package/automation-connections.js +2 -3
- package/automation-connectors.d.ts +84 -3
- package/automation-connectors.js +2 -3
- package/automations.d.ts +805 -3
- package/automations.js +2 -3
- package/automl-deployments.d.ts +101 -3
- package/automl-deployments.js +2 -3
- package/automl-predictions.d.ts +238 -3
- package/automl-predictions.js +2 -3
- package/banners.d.ts +184 -3
- package/banners.js +2 -3
- package/brands.d.ts +670 -3
- package/brands.js +2 -3
- package/chunks/auth-XusKk8IA.js +32 -0
- package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
- package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
- package/chunks/{auth-functions-BmZgZYSs.js → interceptors-2VSXImC9.js} +498 -146
- package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-CckTK7bh.js} +3 -3
- package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-D9lpiAb-.js} +1 -5
- package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-BqxAMJ9M.js} +7 -7
- package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
- package/chunks/{qix-DjxuPCX0.js → qix-DpvHvpx7.js} +11 -10
- package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-BXZPnE6J.js} +48 -50
- package/collections.d.ts +582 -3
- package/collections.js +2 -3
- package/conditions.d.ts +662 -3
- package/conditions.js +2 -3
- package/consumption.d.ts +182 -3
- package/consumption.js +2 -3
- package/core/ip-policies.d.ts +328 -4
- package/core/ip-policies.js +108 -5
- package/core.d.ts +13 -4
- package/core.js +3 -4
- package/csp-origins.d.ts +273 -3
- package/csp-origins.js +2 -3
- package/csrf-token.d.ts +62 -3
- package/csrf-token.js +2 -3
- package/data-alerts.d.ts +1004 -3
- package/data-alerts.js +2 -3
- package/data-assets.d.ts +207 -3
- package/data-assets.js +2 -3
- package/data-connections.d.ts +678 -3
- package/data-connections.js +2 -3
- package/data-credentials.d.ts +292 -3
- package/data-credentials.js +2 -3
- package/data-files.d.ts +860 -3
- package/data-files.js +2 -3
- package/data-qualities.d.ts +175 -3
- package/data-qualities.js +2 -3
- package/data-sets.d.ts +424 -3
- package/data-sets.js +2 -3
- package/data-sources.d.ts +348 -3
- package/data-sources.js +2 -3
- package/data-stores.d.ts +537 -3
- package/data-stores.js +2 -3
- package/dcaas.d.ts +192 -3
- package/dcaas.js +2 -3
- package/di-projects.d.ts +812 -4
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +710 -4
- package/direct-access-agents.js +37 -5
- package/docs/authentication.md +1 -1
- package/encryption.d.ts +372 -3
- package/encryption.js +2 -3
- package/extensions.d.ts +295 -3
- package/extensions.js +2 -3
- package/global-types.d.ts +1 -1
- package/global-types.js +0 -2
- package/glossaries.d.ts +1223 -3
- package/glossaries.js +2 -3
- package/groups.d.ts +510 -3
- package/groups.js +2 -3
- package/identity-providers.d.ts +711 -3
- package/identity-providers.js +2 -3
- package/index.d.ts +78 -69
- package/index.js +28 -10
- package/interceptors.d.ts +52 -3
- package/interceptors.js +1 -2
- package/invoke-fetch-types.d.ts +1 -1
- package/items.d.ts +536 -3
- package/items.js +2 -3
- package/knowledgebases.d.ts +976 -3
- package/knowledgebases.js +2 -3
- package/licenses.d.ts +663 -3
- package/licenses.js +2 -3
- package/lineage-graphs.d.ts +704 -3
- package/lineage-graphs.js +2 -3
- package/ml.d.ts +2808 -3
- package/ml.js +2 -3
- package/notes.d.ts +110 -3
- package/notes.js +2 -3
- package/notifications.d.ts +98 -3
- package/notifications.js +2 -3
- package/oauth-callback.iife.js +1151 -0
- package/oauth-clients.d.ts +562 -3
- package/oauth-clients.js +2 -3
- package/oauth-tokens.d.ts +126 -3
- package/oauth-tokens.js +2 -3
- package/package.json +5 -4
- package/qix.d.ts +3 -3
- package/qix.js +38 -3
- package/questions.d.ts +364 -3
- package/questions.js +2 -3
- package/quotas.d.ts +112 -3
- package/quotas.js +2 -3
- package/reload-tasks.d.ts +249 -3
- package/reload-tasks.js +2 -3
- package/reloads.d.ts +260 -3
- package/reloads.js +2 -3
- package/report-templates.d.ts +287 -3
- package/report-templates.js +2 -3
- package/reports.d.ts +863 -3
- package/reports.js +2 -3
- package/roles.d.ts +312 -3
- package/roles.js +2 -3
- package/sharing-tasks.d.ts +1164 -3
- package/sharing-tasks.js +2 -3
- package/spaces.d.ts +779 -3
- package/spaces.js +2 -3
- package/tasks.d.ts +564 -3
- package/tasks.js +2 -3
- package/temp-contents.d.ts +167 -3
- package/temp-contents.js +2 -3
- package/tenants.d.ts +360 -3
- package/tenants.js +2 -3
- package/themes.d.ts +270 -3
- package/themes.js +2 -3
- package/transports.d.ts +435 -4
- package/transports.js +20 -5
- package/ui-config.d.ts +274 -3
- package/ui-config.js +2 -3
- package/users.d.ts +674 -3
- package/users.js +2 -3
- package/web-integrations.d.ts +294 -3
- package/web-integrations.js +2 -3
- package/web-notifications.d.ts +273 -3
- package/web-notifications.js +2 -3
- package/webhooks.d.ts +505 -3
- package/webhooks.js +2 -3
- package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
- package/chunks/apps-BwpXUGDb.d.ts +0 -2673
- package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
- package/chunks/audits-DakwzT97.d.ts +0 -316
- package/chunks/auth-6mptVm5Q.d.ts +0 -95
- package/chunks/auth-Cle0_tmz.js +0 -32
- package/chunks/auth-D11iO7ZV.js +0 -65
- package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
- package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
- package/chunks/automations-BGy83EBO.d.ts +0 -797
- package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
- package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
- package/chunks/banners-CgBRnZGv.d.ts +0 -184
- package/chunks/brands-DCgk6Gqx.d.ts +0 -671
- package/chunks/collections-BpYjcpIY.d.ts +0 -582
- package/chunks/conditions-CJJG7Uph.d.ts +0 -662
- package/chunks/consumption-DerFk437.d.ts +0 -182
- package/chunks/core-DQXNZdnf.d.ts +0 -12
- package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
- package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
- package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
- package/chunks/data-assets-CJDcssoX.d.ts +0 -207
- package/chunks/data-connections-VSB13K6g.d.ts +0 -678
- package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
- package/chunks/data-files-CVzn9M6V.d.ts +0 -860
- package/chunks/data-qualities-DBrot957.d.ts +0 -176
- package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
- package/chunks/data-sources-IsAaof_C.d.ts +0 -346
- package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
- package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
- package/chunks/di-projects-DVQTxASr.d.ts +0 -777
- package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
- package/chunks/encryption-BjA6xbCO.d.ts +0 -372
- package/chunks/extensions-OO0WtInj.d.ts +0 -294
- package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
- package/chunks/groups-C86-UG7S.d.ts +0 -511
- package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
- package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
- package/chunks/interceptors-DTYm37AU.js +0 -104
- package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
- package/chunks/ip-policies-DXlf172B.js +0 -108
- package/chunks/items-C-jzqvFW.d.ts +0 -536
- package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
- package/chunks/licenses-xzjnkitW.d.ts +0 -663
- package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
- package/chunks/ml-Abt2MUva.d.ts +0 -2809
- package/chunks/notes-BZxuyDgt.d.ts +0 -111
- package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
- package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
- package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
- package/chunks/qix-CYQsLyGQ.js +0 -40
- package/chunks/questions-BVp0tvNs.d.ts +0 -364
- package/chunks/quotas-CfAebRJd.d.ts +0 -113
- package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
- package/chunks/reloads-CwmagnFx.d.ts +0 -260
- package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
- package/chunks/reports-DzNC6Uq3.d.ts +0 -861
- package/chunks/roles-BYFIY6E7.d.ts +0 -312
- package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
- package/chunks/spaces-BK823t-b.d.ts +0 -780
- package/chunks/tasks-COKDfShO.d.ts +0 -564
- package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
- package/chunks/tenants-Bhn86519.d.ts +0 -361
- package/chunks/themes-v9NbhiBo.d.ts +0 -269
- package/chunks/transports-CqEiFxD3.d.ts +0 -362
- package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
- package/chunks/users-BSOBU_fg.d.ts +0 -675
- package/chunks/web-integrations-MisPAHod.d.ts +0 -295
- package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
- package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
- /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
- /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
- /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
- /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
- /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
- /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
package/themes.d.ts
CHANGED
|
@@ -1,4 +1,271 @@
|
|
|
1
|
-
import "./chunks/auth-types-
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
3
|
-
|
|
1
|
+
import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
|
|
2
|
+
import "./chunks/invoke-fetch-C1Z0RJYU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/public/rest/themes.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* An error object.
|
|
7
|
+
*/
|
|
8
|
+
type Error = {
|
|
9
|
+
/** Object containing meta data regarding an error. It does not necessarily contain all the properties. */
|
|
10
|
+
meta?: Meta;
|
|
11
|
+
/** Optional JSON patch object pointing to an invalid property. */
|
|
12
|
+
source?: unknown;
|
|
13
|
+
/** The HTTP status code. */
|
|
14
|
+
status?: number;
|
|
15
|
+
/** Title of the HTTP status code. */
|
|
16
|
+
title: string;
|
|
17
|
+
/** The active traceId. */
|
|
18
|
+
traceId?: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Object containing meta data regarding an error. It does not necessarily contain all the properties.
|
|
22
|
+
*/
|
|
23
|
+
type Meta = {
|
|
24
|
+
/** A more detailed message explaining the error. */
|
|
25
|
+
message?: string;
|
|
26
|
+
/** Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created. */
|
|
27
|
+
resourceName?: string;
|
|
28
|
+
/** Full stack trace of the error that was raised. */
|
|
29
|
+
stack?: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* The theme model.
|
|
33
|
+
*/
|
|
34
|
+
type Theme = {
|
|
35
|
+
/** Author of the theme. */
|
|
36
|
+
author?: string;
|
|
37
|
+
readonly createdAt?: string;
|
|
38
|
+
/** Map of dependencies describing version of the component it requires. */
|
|
39
|
+
dependencies?: unknown;
|
|
40
|
+
/** Description of the theme. */
|
|
41
|
+
description?: string;
|
|
42
|
+
/** The file that was uploaded with the theme. */
|
|
43
|
+
file?: unknown;
|
|
44
|
+
/** Home page of the theme. */
|
|
45
|
+
homepage?: string;
|
|
46
|
+
/** Icon to show in the client. */
|
|
47
|
+
icon?: string;
|
|
48
|
+
readonly id?: string;
|
|
49
|
+
/** Keywords for the theme. */
|
|
50
|
+
keywords?: string;
|
|
51
|
+
/** Under which license this theme is published. */
|
|
52
|
+
license?: string;
|
|
53
|
+
/** The display name of this theme. */
|
|
54
|
+
name?: string;
|
|
55
|
+
/** The name of the qext file that was uploaded with this theme. */
|
|
56
|
+
qextFilename?: string;
|
|
57
|
+
/** The version from the qext file that was uploaded with this extension. */
|
|
58
|
+
qextVersion?: string;
|
|
59
|
+
/** Link to the theme source code. */
|
|
60
|
+
repository?: string;
|
|
61
|
+
/** Supplier of the theme. */
|
|
62
|
+
supplier?: string;
|
|
63
|
+
/** List of tags. */
|
|
64
|
+
tags?: string[];
|
|
65
|
+
readonly tenantId?: string;
|
|
66
|
+
/** The type of this theme (visualization, etc.). */
|
|
67
|
+
type?: string;
|
|
68
|
+
readonly updateAt?: string;
|
|
69
|
+
readonly userId?: string;
|
|
70
|
+
/** Version of the theme. */
|
|
71
|
+
version?: string;
|
|
72
|
+
};
|
|
73
|
+
type Themes = {
|
|
74
|
+
data: Theme[];
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Lists all imported themes in the tenant.
|
|
78
|
+
*
|
|
79
|
+
* @throws GetThemesHttpError
|
|
80
|
+
*/
|
|
81
|
+
declare function getThemes(options?: ApiCallOptions): Promise<GetThemesHttpResponse>;
|
|
82
|
+
type GetThemesHttpResponse = {
|
|
83
|
+
data: Themes;
|
|
84
|
+
headers: Headers;
|
|
85
|
+
status: 200;
|
|
86
|
+
};
|
|
87
|
+
type GetThemesHttpError = {
|
|
88
|
+
data: unknown;
|
|
89
|
+
headers: Headers;
|
|
90
|
+
status: number;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Creates a new theme. Accepts either provided file or data object. The name of the new theme must be different to any existing themes.
|
|
94
|
+
*
|
|
95
|
+
* @param body an object with the body content
|
|
96
|
+
* @throws UploadThemeHttpError
|
|
97
|
+
*/
|
|
98
|
+
declare function uploadTheme(body: {
|
|
99
|
+
/** The theme model. */
|
|
100
|
+
data?: Theme;
|
|
101
|
+
/** Theme archive. */
|
|
102
|
+
file?: BodyInit;
|
|
103
|
+
}, options?: ApiCallOptions): Promise<UploadThemeHttpResponse>;
|
|
104
|
+
type UploadThemeHttpResponse = {
|
|
105
|
+
data: Theme;
|
|
106
|
+
headers: Headers;
|
|
107
|
+
status: 201;
|
|
108
|
+
};
|
|
109
|
+
type UploadThemeHttpError = {
|
|
110
|
+
data: Error;
|
|
111
|
+
headers: Headers;
|
|
112
|
+
status: number;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Deletes a specific theme matching either theme ID or theme name.
|
|
116
|
+
*
|
|
117
|
+
* @param id Theme identifier or its qextFilename.
|
|
118
|
+
* @throws DeleteThemeHttpError
|
|
119
|
+
*/
|
|
120
|
+
declare function deleteTheme(id: string, options?: ApiCallOptions): Promise<DeleteThemeHttpResponse>;
|
|
121
|
+
type DeleteThemeHttpResponse = {
|
|
122
|
+
data: void;
|
|
123
|
+
headers: Headers;
|
|
124
|
+
status: 204;
|
|
125
|
+
};
|
|
126
|
+
type DeleteThemeHttpError = {
|
|
127
|
+
data: Error;
|
|
128
|
+
headers: Headers;
|
|
129
|
+
status: 403 | 404 | 410;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Returns a specific theme matching either theme ID or theme name.
|
|
133
|
+
*
|
|
134
|
+
* @param id Theme identifier or its qextFilename
|
|
135
|
+
* @throws GetThemeHttpError
|
|
136
|
+
*/
|
|
137
|
+
declare function getTheme(id: string, options?: ApiCallOptions): Promise<GetThemeHttpResponse>;
|
|
138
|
+
type GetThemeHttpResponse = {
|
|
139
|
+
data: Theme;
|
|
140
|
+
headers: Headers;
|
|
141
|
+
status: 200;
|
|
142
|
+
};
|
|
143
|
+
type GetThemeHttpError = {
|
|
144
|
+
data: Error;
|
|
145
|
+
headers: Headers;
|
|
146
|
+
status: 403 | 404 | 410;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Updates a specific theme matching either theme ID or theme name. Accepts either provided file or data object.
|
|
150
|
+
*
|
|
151
|
+
* @param id Theme identifier or its qextFilename.
|
|
152
|
+
* @param body an object with the body content
|
|
153
|
+
* @throws PatchThemeHttpError
|
|
154
|
+
*/
|
|
155
|
+
declare function patchTheme(id: string, body: {
|
|
156
|
+
/** The theme model. */
|
|
157
|
+
data?: Theme;
|
|
158
|
+
/** Theme archive. */
|
|
159
|
+
file?: BodyInit;
|
|
160
|
+
}, options?: ApiCallOptions): Promise<PatchThemeHttpResponse>;
|
|
161
|
+
type PatchThemeHttpResponse = {
|
|
162
|
+
data: Themes;
|
|
163
|
+
headers: Headers;
|
|
164
|
+
status: 200;
|
|
165
|
+
};
|
|
166
|
+
type PatchThemeHttpError = {
|
|
167
|
+
data: Error;
|
|
168
|
+
headers: Headers;
|
|
169
|
+
status: number;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Downloads all files in the theme matching either theme ID or theme name as a `.zip` archive.
|
|
173
|
+
*
|
|
174
|
+
* @param id Theme identifier or its qextFilename
|
|
175
|
+
* @throws DownloadThemeHttpError
|
|
176
|
+
*/
|
|
177
|
+
declare function downloadTheme(id: string, options?: ApiCallOptions): Promise<DownloadThemeHttpResponse>;
|
|
178
|
+
type DownloadThemeHttpResponse = {
|
|
179
|
+
data: void;
|
|
180
|
+
headers: Headers;
|
|
181
|
+
status: 200;
|
|
182
|
+
};
|
|
183
|
+
type DownloadThemeHttpError = {
|
|
184
|
+
data: Error;
|
|
185
|
+
headers: Headers;
|
|
186
|
+
status: 403 | 404 | 410;
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* Downloads a file from the theme matching either theme ID or theme name, identified by the file path within the imported extension.
|
|
190
|
+
*
|
|
191
|
+
* @param id Theme identifier or its qextFilename.
|
|
192
|
+
* @param filepath Path to the file location within the specified theme archive. Folders separated with forward slashes.
|
|
193
|
+
* @throws DownloadFileFromThemeHttpError
|
|
194
|
+
*/
|
|
195
|
+
declare function downloadFileFromTheme(id: string, filepath: string, options?: ApiCallOptions): Promise<DownloadFileFromThemeHttpResponse>;
|
|
196
|
+
type DownloadFileFromThemeHttpResponse = {
|
|
197
|
+
data: void;
|
|
198
|
+
headers: Headers;
|
|
199
|
+
status: 200;
|
|
200
|
+
};
|
|
201
|
+
type DownloadFileFromThemeHttpError = {
|
|
202
|
+
data: Error;
|
|
203
|
+
headers: Headers;
|
|
204
|
+
status: 403 | 404 | 410;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Clears the cache for themes api requests.
|
|
208
|
+
*/
|
|
209
|
+
declare function clearCache(): void;
|
|
210
|
+
type ThemesAPI = {
|
|
211
|
+
/**
|
|
212
|
+
* Lists all imported themes in the tenant.
|
|
213
|
+
*
|
|
214
|
+
* @throws GetThemesHttpError
|
|
215
|
+
*/
|
|
216
|
+
getThemes: typeof getThemes;
|
|
217
|
+
/**
|
|
218
|
+
* Creates a new theme. Accepts either provided file or data object. The name of the new theme must be different to any existing themes.
|
|
219
|
+
*
|
|
220
|
+
* @param body an object with the body content
|
|
221
|
+
* @throws UploadThemeHttpError
|
|
222
|
+
*/
|
|
223
|
+
uploadTheme: typeof uploadTheme;
|
|
224
|
+
/**
|
|
225
|
+
* Deletes a specific theme matching either theme ID or theme name.
|
|
226
|
+
*
|
|
227
|
+
* @param id Theme identifier or its qextFilename.
|
|
228
|
+
* @throws DeleteThemeHttpError
|
|
229
|
+
*/
|
|
230
|
+
deleteTheme: typeof deleteTheme;
|
|
231
|
+
/**
|
|
232
|
+
* Returns a specific theme matching either theme ID or theme name.
|
|
233
|
+
*
|
|
234
|
+
* @param id Theme identifier or its qextFilename
|
|
235
|
+
* @throws GetThemeHttpError
|
|
236
|
+
*/
|
|
237
|
+
getTheme: typeof getTheme;
|
|
238
|
+
/**
|
|
239
|
+
* Updates a specific theme matching either theme ID or theme name. Accepts either provided file or data object.
|
|
240
|
+
*
|
|
241
|
+
* @param id Theme identifier or its qextFilename.
|
|
242
|
+
* @param body an object with the body content
|
|
243
|
+
* @throws PatchThemeHttpError
|
|
244
|
+
*/
|
|
245
|
+
patchTheme: typeof patchTheme;
|
|
246
|
+
/**
|
|
247
|
+
* Downloads all files in the theme matching either theme ID or theme name as a `.zip` archive.
|
|
248
|
+
*
|
|
249
|
+
* @param id Theme identifier or its qextFilename
|
|
250
|
+
* @throws DownloadThemeHttpError
|
|
251
|
+
*/
|
|
252
|
+
downloadTheme: typeof downloadTheme;
|
|
253
|
+
/**
|
|
254
|
+
* Downloads a file from the theme matching either theme ID or theme name, identified by the file path within the imported extension.
|
|
255
|
+
*
|
|
256
|
+
* @param id Theme identifier or its qextFilename.
|
|
257
|
+
* @param filepath Path to the file location within the specified theme archive. Folders separated with forward slashes.
|
|
258
|
+
* @throws DownloadFileFromThemeHttpError
|
|
259
|
+
*/
|
|
260
|
+
downloadFileFromTheme: typeof downloadFileFromTheme;
|
|
261
|
+
/**
|
|
262
|
+
* Clears the cache for themes api requests.
|
|
263
|
+
*/
|
|
264
|
+
clearCache: typeof clearCache;
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* Functions for the themes api
|
|
268
|
+
*/
|
|
269
|
+
declare const themesExport: ThemesAPI;
|
|
270
|
+
//#endregion
|
|
4
271
|
export { DeleteThemeHttpError, DeleteThemeHttpResponse, DownloadFileFromThemeHttpError, DownloadFileFromThemeHttpResponse, DownloadThemeHttpError, DownloadThemeHttpResponse, Error, GetThemeHttpError, GetThemeHttpResponse, GetThemesHttpError, GetThemesHttpResponse, Meta, PatchThemeHttpError, PatchThemeHttpResponse, Theme, Themes, ThemesAPI, UploadThemeHttpError, UploadThemeHttpResponse, clearCache, themesExport as default, deleteTheme, downloadFileFromTheme, downloadTheme, getTheme, getThemes, patchTheme, uploadTheme };
|
package/themes.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./chunks/
|
|
2
|
-
import "./chunks/
|
|
3
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
|
|
1
|
+
import "./chunks/public-runtime-modules-BqxAMJ9M.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/themes.ts
|
|
6
5
|
/**
|