@qlik/api 2.2.0 → 2.3.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/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-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
- 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-DipDBQQ5.js} +258 -54
- package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
- package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
- package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
- package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
- package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
- package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.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 +6 -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-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/extensions.d.ts
CHANGED
|
@@ -1,4 +1,296 @@
|
|
|
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/extensions.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Object containing meta data regarding the bundle the extension belongs to. If it does not belong to a bundle, this object is not defined.
|
|
7
|
+
*/
|
|
8
|
+
type BundleMeta = {
|
|
9
|
+
/** Description of the bundle. */
|
|
10
|
+
description?: string;
|
|
11
|
+
/** Unique identifier of the bundle. */
|
|
12
|
+
id?: string;
|
|
13
|
+
/** Name of the bundle. */
|
|
14
|
+
name?: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* An error object.
|
|
18
|
+
*/
|
|
19
|
+
type Error = {
|
|
20
|
+
/** Object containing meta data regarding an error. It does not necessarily contain all the properties. */
|
|
21
|
+
meta?: Meta;
|
|
22
|
+
/** Optional JSON patch object pointing to an invalid property. */
|
|
23
|
+
source?: unknown;
|
|
24
|
+
/** The HTTP status code. */
|
|
25
|
+
status?: number;
|
|
26
|
+
/** Title of the HTTP status code. */
|
|
27
|
+
title: string;
|
|
28
|
+
/** The active traceId. */
|
|
29
|
+
traceId?: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* The extension model.
|
|
33
|
+
*/
|
|
34
|
+
type Extension = {
|
|
35
|
+
/** Author of the extension. */
|
|
36
|
+
author?: string;
|
|
37
|
+
/** Object containing meta data regarding the bundle the extension belongs to. If it does not belong to a bundle, this object is not defined. */
|
|
38
|
+
bundle?: BundleMeta;
|
|
39
|
+
/** If the extension is part of an extension bundle. */
|
|
40
|
+
bundled?: boolean;
|
|
41
|
+
/** Checksum of the extension contents. */
|
|
42
|
+
checksum?: string;
|
|
43
|
+
readonly createdAt?: string;
|
|
44
|
+
/** Map of dependencies describing version of the component it requires. */
|
|
45
|
+
dependencies?: unknown;
|
|
46
|
+
/** A date noting when the extension was deprecated. */
|
|
47
|
+
deprecated?: string;
|
|
48
|
+
/** Description of the extension. */
|
|
49
|
+
description?: string;
|
|
50
|
+
/** The file that was uploaded with the extension. */
|
|
51
|
+
file?: unknown;
|
|
52
|
+
/** Home page of the extension. */
|
|
53
|
+
homepage?: string;
|
|
54
|
+
/** Icon to show in the client. */
|
|
55
|
+
icon?: string;
|
|
56
|
+
readonly id?: string;
|
|
57
|
+
/** Keywords for the extension. */
|
|
58
|
+
keywords?: string;
|
|
59
|
+
/** Under which license this extension is published. */
|
|
60
|
+
license?: string;
|
|
61
|
+
/** Relative path to the extension's entry file, defaults to `filename` from the qext file. */
|
|
62
|
+
loadpath?: string;
|
|
63
|
+
/** The display name of this extension. */
|
|
64
|
+
name?: string;
|
|
65
|
+
/** Path to an image that enables users to preview the extension. */
|
|
66
|
+
preview?: string;
|
|
67
|
+
/** The name of the qext file that was uploaded with this extension. */
|
|
68
|
+
qextFilename?: string;
|
|
69
|
+
/** The version from the qext file that was uploaded with this extension. */
|
|
70
|
+
qextVersion?: string;
|
|
71
|
+
/** Link to the extension source code. */
|
|
72
|
+
repository?: string;
|
|
73
|
+
/** If the extension is a supernova extension or not. */
|
|
74
|
+
supernova?: boolean;
|
|
75
|
+
/** Supplier of the extension. */
|
|
76
|
+
supplier?: string;
|
|
77
|
+
/** List of tags. */
|
|
78
|
+
tags?: string[];
|
|
79
|
+
readonly tenantId?: string;
|
|
80
|
+
/** The type of this extension (visualization, etc.). */
|
|
81
|
+
type?: string;
|
|
82
|
+
readonly updateAt?: string;
|
|
83
|
+
readonly userId?: string;
|
|
84
|
+
/** Version of the extension. */
|
|
85
|
+
version?: string;
|
|
86
|
+
};
|
|
87
|
+
type Extensions = {
|
|
88
|
+
data: Extension[];
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Object containing meta data regarding an error. It does not necessarily contain all the properties.
|
|
92
|
+
*/
|
|
93
|
+
type Meta = {
|
|
94
|
+
/** A more detailed message explaining the error. */
|
|
95
|
+
message?: string;
|
|
96
|
+
/** Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created. */
|
|
97
|
+
resourceName?: string;
|
|
98
|
+
/** Full stack trace of the error that was raised. */
|
|
99
|
+
stack?: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Lists all imported extensions in the tenant.
|
|
103
|
+
*
|
|
104
|
+
* @throws GetExtensionsHttpError
|
|
105
|
+
*/
|
|
106
|
+
declare function getExtensions(options?: ApiCallOptions): Promise<GetExtensionsHttpResponse>;
|
|
107
|
+
type GetExtensionsHttpResponse = {
|
|
108
|
+
data: Extensions;
|
|
109
|
+
headers: Headers;
|
|
110
|
+
status: 200;
|
|
111
|
+
};
|
|
112
|
+
type GetExtensionsHttpError = {
|
|
113
|
+
data: unknown;
|
|
114
|
+
headers: Headers;
|
|
115
|
+
status: number;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Creates a new extension. Accepts either provided file or data object. The name of the new extension must be different to any existing extensions.
|
|
119
|
+
*
|
|
120
|
+
* @param body an object with the body content
|
|
121
|
+
* @throws UploadExtensionHttpError
|
|
122
|
+
*/
|
|
123
|
+
declare function uploadExtension(body: {
|
|
124
|
+
/** The extension model. */
|
|
125
|
+
data?: Extension;
|
|
126
|
+
/** Extension archive. */
|
|
127
|
+
file?: BodyInit;
|
|
128
|
+
}, options?: ApiCallOptions): Promise<UploadExtensionHttpResponse>;
|
|
129
|
+
type UploadExtensionHttpResponse = {
|
|
130
|
+
data: Extension;
|
|
131
|
+
headers: Headers;
|
|
132
|
+
status: 201;
|
|
133
|
+
};
|
|
134
|
+
type UploadExtensionHttpError = {
|
|
135
|
+
data: Error;
|
|
136
|
+
headers: Headers;
|
|
137
|
+
status: number;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Deletes a specific extension matching either extension ID or extension name.
|
|
141
|
+
*
|
|
142
|
+
* @param id Extension identifier or its qextFilename.
|
|
143
|
+
* @throws DeleteExtensionHttpError
|
|
144
|
+
*/
|
|
145
|
+
declare function deleteExtension(id: string, options?: ApiCallOptions): Promise<DeleteExtensionHttpResponse>;
|
|
146
|
+
type DeleteExtensionHttpResponse = {
|
|
147
|
+
data: void;
|
|
148
|
+
headers: Headers;
|
|
149
|
+
status: 204;
|
|
150
|
+
};
|
|
151
|
+
type DeleteExtensionHttpError = {
|
|
152
|
+
data: Error;
|
|
153
|
+
headers: Headers;
|
|
154
|
+
status: 403 | 404 | 410;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Returns a specific extension matching either extension ID or extension name.
|
|
158
|
+
*
|
|
159
|
+
* @param id Extension identifier or its qextFilename.
|
|
160
|
+
* @throws GetExtensionHttpError
|
|
161
|
+
*/
|
|
162
|
+
declare function getExtension(id: string, options?: ApiCallOptions): Promise<GetExtensionHttpResponse>;
|
|
163
|
+
type GetExtensionHttpResponse = {
|
|
164
|
+
data: Extension;
|
|
165
|
+
headers: Headers;
|
|
166
|
+
status: 200;
|
|
167
|
+
};
|
|
168
|
+
type GetExtensionHttpError = {
|
|
169
|
+
data: Error;
|
|
170
|
+
headers: Headers;
|
|
171
|
+
status: 403 | 404 | 410;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Updates a specific extension matching either extension ID or extension name. Accepts either provided file or data object.
|
|
175
|
+
*
|
|
176
|
+
* @param id Extension identifier or its qextFilename.
|
|
177
|
+
* @param body an object with the body content
|
|
178
|
+
* @throws PatchExtensionHttpError
|
|
179
|
+
*/
|
|
180
|
+
declare function patchExtension(id: string, body: {
|
|
181
|
+
/** The extension model. */
|
|
182
|
+
data?: Extension;
|
|
183
|
+
/** Extension archive. */
|
|
184
|
+
file?: BodyInit;
|
|
185
|
+
}, options?: ApiCallOptions): Promise<PatchExtensionHttpResponse>;
|
|
186
|
+
type PatchExtensionHttpResponse = {
|
|
187
|
+
data: Extension;
|
|
188
|
+
headers: Headers;
|
|
189
|
+
status: 200;
|
|
190
|
+
};
|
|
191
|
+
type PatchExtensionHttpError = {
|
|
192
|
+
data: Error;
|
|
193
|
+
headers: Headers;
|
|
194
|
+
status: number;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Downloads all files in the extension matching either extension ID or extension name as a `.zip` archive.
|
|
198
|
+
*
|
|
199
|
+
* @param id Extension identifier or its qextFilename.
|
|
200
|
+
* @throws DownloadExtensionHttpError
|
|
201
|
+
*/
|
|
202
|
+
declare function downloadExtension(id: string, options?: ApiCallOptions): Promise<DownloadExtensionHttpResponse>;
|
|
203
|
+
type DownloadExtensionHttpResponse = {
|
|
204
|
+
data: void;
|
|
205
|
+
headers: Headers;
|
|
206
|
+
status: 200;
|
|
207
|
+
};
|
|
208
|
+
type DownloadExtensionHttpError = {
|
|
209
|
+
data: Error;
|
|
210
|
+
headers: Headers;
|
|
211
|
+
status: 403 | 404 | 410;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Downloads a specific file from the extension matching either extension ID or extension name, identified by the file path within the imported extension.
|
|
215
|
+
*
|
|
216
|
+
* @param id Extension identifier or its qextFilename.
|
|
217
|
+
* @param filepath Path to the file location within the specified extension archive. Folders separated with forward slashes.
|
|
218
|
+
* @throws DownloadFileFromExtensionHttpError
|
|
219
|
+
*/
|
|
220
|
+
declare function downloadFileFromExtension(id: string, filepath: string, options?: ApiCallOptions): Promise<DownloadFileFromExtensionHttpResponse>;
|
|
221
|
+
type DownloadFileFromExtensionHttpResponse = {
|
|
222
|
+
data: void;
|
|
223
|
+
headers: Headers;
|
|
224
|
+
status: 200;
|
|
225
|
+
};
|
|
226
|
+
type DownloadFileFromExtensionHttpError = {
|
|
227
|
+
data: Error;
|
|
228
|
+
headers: Headers;
|
|
229
|
+
status: 403 | 404 | 410;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Clears the cache for extensions api requests.
|
|
233
|
+
*/
|
|
234
|
+
declare function clearCache(): void;
|
|
235
|
+
type ExtensionsAPI = {
|
|
236
|
+
/**
|
|
237
|
+
* Lists all imported extensions in the tenant.
|
|
238
|
+
*
|
|
239
|
+
* @throws GetExtensionsHttpError
|
|
240
|
+
*/
|
|
241
|
+
getExtensions: typeof getExtensions;
|
|
242
|
+
/**
|
|
243
|
+
* Creates a new extension. Accepts either provided file or data object. The name of the new extension must be different to any existing extensions.
|
|
244
|
+
*
|
|
245
|
+
* @param body an object with the body content
|
|
246
|
+
* @throws UploadExtensionHttpError
|
|
247
|
+
*/
|
|
248
|
+
uploadExtension: typeof uploadExtension;
|
|
249
|
+
/**
|
|
250
|
+
* Deletes a specific extension matching either extension ID or extension name.
|
|
251
|
+
*
|
|
252
|
+
* @param id Extension identifier or its qextFilename.
|
|
253
|
+
* @throws DeleteExtensionHttpError
|
|
254
|
+
*/
|
|
255
|
+
deleteExtension: typeof deleteExtension;
|
|
256
|
+
/**
|
|
257
|
+
* Returns a specific extension matching either extension ID or extension name.
|
|
258
|
+
*
|
|
259
|
+
* @param id Extension identifier or its qextFilename.
|
|
260
|
+
* @throws GetExtensionHttpError
|
|
261
|
+
*/
|
|
262
|
+
getExtension: typeof getExtension;
|
|
263
|
+
/**
|
|
264
|
+
* Updates a specific extension matching either extension ID or extension name. Accepts either provided file or data object.
|
|
265
|
+
*
|
|
266
|
+
* @param id Extension identifier or its qextFilename.
|
|
267
|
+
* @param body an object with the body content
|
|
268
|
+
* @throws PatchExtensionHttpError
|
|
269
|
+
*/
|
|
270
|
+
patchExtension: typeof patchExtension;
|
|
271
|
+
/**
|
|
272
|
+
* Downloads all files in the extension matching either extension ID or extension name as a `.zip` archive.
|
|
273
|
+
*
|
|
274
|
+
* @param id Extension identifier or its qextFilename.
|
|
275
|
+
* @throws DownloadExtensionHttpError
|
|
276
|
+
*/
|
|
277
|
+
downloadExtension: typeof downloadExtension;
|
|
278
|
+
/**
|
|
279
|
+
* Downloads a specific file from the extension matching either extension ID or extension name, identified by the file path within the imported extension.
|
|
280
|
+
*
|
|
281
|
+
* @param id Extension identifier or its qextFilename.
|
|
282
|
+
* @param filepath Path to the file location within the specified extension archive. Folders separated with forward slashes.
|
|
283
|
+
* @throws DownloadFileFromExtensionHttpError
|
|
284
|
+
*/
|
|
285
|
+
downloadFileFromExtension: typeof downloadFileFromExtension;
|
|
286
|
+
/**
|
|
287
|
+
* Clears the cache for extensions api requests.
|
|
288
|
+
*/
|
|
289
|
+
clearCache: typeof clearCache;
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* Functions for the extensions api
|
|
293
|
+
*/
|
|
294
|
+
declare const extensionsExport: ExtensionsAPI;
|
|
295
|
+
//#endregion
|
|
4
296
|
export { BundleMeta, DeleteExtensionHttpError, DeleteExtensionHttpResponse, DownloadExtensionHttpError, DownloadExtensionHttpResponse, DownloadFileFromExtensionHttpError, DownloadFileFromExtensionHttpResponse, Error, Extension, Extensions, ExtensionsAPI, GetExtensionHttpError, GetExtensionHttpResponse, GetExtensionsHttpError, GetExtensionsHttpResponse, Meta, PatchExtensionHttpError, PatchExtensionHttpResponse, UploadExtensionHttpError, UploadExtensionHttpResponse, clearCache, extensionsExport as default, deleteExtension, downloadExtension, downloadFileFromExtension, getExtension, getExtensions, patchExtension, uploadExtension };
|
package/extensions.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-QhLPeQr5.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/extensions.ts
|
|
6
5
|
/**
|
package/global-types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { v as PerformInteractiveLoginFn } from "./chunks/auth-types-
|
|
1
|
+
import { v as PerformInteractiveLoginFn } from "./chunks/auth-types-YrlH_R9f.js";
|
|
2
2
|
export { PerformInteractiveLoginFn };
|
package/global-types.js
CHANGED