@qlik/api 0.0.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/LICENSE +17 -0
- package/README.md +8 -0
- package/api-keys.d.mts +313 -0
- package/api-keys.d.ts +313 -0
- package/api-keys.js +76 -0
- package/api-keys.mjs +76 -0
- package/apps.d.mts +1921 -0
- package/apps.d.ts +1921 -0
- package/apps.js +331 -0
- package/apps.mjs +331 -0
- package/audits.d.mts +262 -0
- package/audits.d.ts +262 -0
- package/audits.js +63 -0
- package/audits.mjs +63 -0
- package/auth-CSVTXOZX.js +36 -0
- package/auth-TE272Q34.mjs +36 -0
- package/auth-types-nnUcWhuU.d.mts +98 -0
- package/auth-types-nnUcWhuU.d.ts +98 -0
- package/auth.d.mts +26 -0
- package/auth.d.ts +26 -0
- package/auth.js +13 -0
- package/auth.mjs +13 -0
- package/automations.d.mts +638 -0
- package/automations.d.ts +638 -0
- package/automations.js +166 -0
- package/automations.mjs +166 -0
- package/brands.d.mts +614 -0
- package/brands.d.ts +614 -0
- package/brands.js +118 -0
- package/brands.mjs +118 -0
- package/chunk-3YE7EI7I.mjs +17 -0
- package/chunk-4ES65KO3.js +57 -0
- package/chunk-4FLMND6T.js +25 -0
- package/chunk-4OMEH5SW.mjs +1337 -0
- package/chunk-CKPJE4IA.mjs +57 -0
- package/chunk-GUQBHY3H.mjs +25 -0
- package/chunk-OULT3V2U.js +17 -0
- package/chunk-WM7FQU2U.mjs +21 -0
- package/chunk-XASXL2NC.js +1337 -0
- package/chunk-ZT4C7KCQ.js +21 -0
- package/collections.d.mts +535 -0
- package/collections.d.ts +535 -0
- package/collections.js +100 -0
- package/collections.mjs +100 -0
- package/csp-origins.d.mts +258 -0
- package/csp-origins.d.ts +258 -0
- package/csp-origins.js +66 -0
- package/csp-origins.mjs +66 -0
- package/data-assets.d.mts +195 -0
- package/data-assets.d.ts +195 -0
- package/data-assets.js +61 -0
- package/data-assets.mjs +61 -0
- package/data-connections.d.mts +527 -0
- package/data-connections.d.ts +527 -0
- package/data-connections.js +96 -0
- package/data-connections.mjs +96 -0
- package/data-credentials.d.mts +188 -0
- package/data-credentials.d.ts +188 -0
- package/data-credentials.js +56 -0
- package/data-credentials.mjs +56 -0
- package/data-files.d.mts +471 -0
- package/data-files.d.ts +471 -0
- package/data-files.js +116 -0
- package/data-files.mjs +116 -0
- package/docs/examples.md +4 -0
- package/enigma-session-4L373ALV.mjs +10196 -0
- package/enigma-session-TEB53FAF.js +10196 -0
- package/esm-4X3DKK5D.js +63 -0
- package/esm-SOWVJKOQ.mjs +63 -0
- package/extensions.d.mts +257 -0
- package/extensions.d.ts +257 -0
- package/extensions.js +74 -0
- package/extensions.mjs +74 -0
- package/global.types-Eto4uYwy.d.mts +102 -0
- package/global.types-hIvp-WdX.d.ts +102 -0
- package/glossaries.d.mts +1041 -0
- package/glossaries.d.ts +1041 -0
- package/glossaries.js +225 -0
- package/glossaries.mjs +225 -0
- package/groups.d.mts +379 -0
- package/groups.d.ts +379 -0
- package/groups.js +83 -0
- package/groups.mjs +83 -0
- package/identity-providers.d.mts +492 -0
- package/identity-providers.d.ts +492 -0
- package/identity-providers.js +80 -0
- package/identity-providers.mjs +80 -0
- package/index.d.mts +142 -0
- package/index.d.ts +142 -0
- package/index.js +678 -0
- package/index.mjs +678 -0
- package/invoke-fetch-MSSJAZ7K.mjs +14 -0
- package/invoke-fetch-PEI54KZO.js +14 -0
- package/items.d.mts +501 -0
- package/items.d.ts +501 -0
- package/items.js +84 -0
- package/items.mjs +84 -0
- package/licenses.d.mts +436 -0
- package/licenses.d.ts +436 -0
- package/licenses.js +87 -0
- package/licenses.mjs +87 -0
- package/package.json +264 -0
- package/qix-EU7PXRZ6.mjs +573 -0
- package/qix-RLTISYTB.js +573 -0
- package/qix.d.mts +11543 -0
- package/qix.d.ts +11543 -0
- package/qix.js +9 -0
- package/qix.mjs +9 -0
- package/quotas.d.mts +105 -0
- package/quotas.d.ts +105 -0
- package/quotas.js +31 -0
- package/quotas.mjs +31 -0
- package/reload-tasks.d.mts +222 -0
- package/reload-tasks.d.ts +222 -0
- package/reload-tasks.js +59 -0
- package/reload-tasks.mjs +59 -0
- package/reloads.d.mts +189 -0
- package/reloads.d.ts +189 -0
- package/reloads.js +44 -0
- package/reloads.mjs +44 -0
- package/roles.d.mts +150 -0
- package/roles.d.ts +150 -0
- package/roles.js +30 -0
- package/roles.mjs +30 -0
- package/spaces.d.mts +524 -0
- package/spaces.d.ts +524 -0
- package/spaces.js +118 -0
- package/spaces.mjs +118 -0
- package/temp-contents.d.mts +222 -0
- package/temp-contents.d.ts +222 -0
- package/temp-contents.js +60 -0
- package/temp-contents.mjs +60 -0
- package/tenants.d.mts +276 -0
- package/tenants.d.ts +276 -0
- package/tenants.js +68 -0
- package/tenants.mjs +68 -0
- package/themes.d.mts +235 -0
- package/themes.d.ts +235 -0
- package/themes.js +74 -0
- package/themes.mjs +74 -0
- package/transports.d.mts +298 -0
- package/transports.d.ts +298 -0
- package/transports.js +62 -0
- package/transports.mjs +62 -0
- package/users.d.mts +544 -0
- package/users.d.ts +544 -0
- package/users.js +99 -0
- package/users.mjs +99 -0
- package/web-integrations.d.mts +246 -0
- package/web-integrations.d.ts +246 -0
- package/web-integrations.js +59 -0
- package/web-integrations.mjs +59 -0
- package/web-notifications.d.mts +220 -0
- package/web-notifications.d.ts +220 -0
- package/web-notifications.js +66 -0
- package/web-notifications.mjs +66 -0
- package/webhooks.d.mts +422 -0
- package/webhooks.d.ts +422 -0
- package/webhooks.js +100 -0
- package/webhooks.mjs +100 -0
package/index.mjs
ADDED
|
@@ -0,0 +1,678 @@
|
|
|
1
|
+
import {
|
|
2
|
+
auth_default
|
|
3
|
+
} from "./chunk-GUQBHY3H.mjs";
|
|
4
|
+
import {
|
|
5
|
+
qix_default
|
|
6
|
+
} from "./chunk-CKPJE4IA.mjs";
|
|
7
|
+
import {
|
|
8
|
+
clearApiCache,
|
|
9
|
+
invokeFetch
|
|
10
|
+
} from "./chunk-3YE7EI7I.mjs";
|
|
11
|
+
import "./chunk-WM7FQU2U.mjs";
|
|
12
|
+
|
|
13
|
+
// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
|
|
14
|
+
var methodAbbreviations = {
|
|
15
|
+
G: "GET",
|
|
16
|
+
P: "POST",
|
|
17
|
+
U: "PUT",
|
|
18
|
+
A: "PATCH",
|
|
19
|
+
D: "DELETE",
|
|
20
|
+
O: "OPTIONS",
|
|
21
|
+
H: "HEAD",
|
|
22
|
+
C: "CONNECT",
|
|
23
|
+
T: "TRACE"
|
|
24
|
+
};
|
|
25
|
+
function methodCharToMethodName(method) {
|
|
26
|
+
try {
|
|
27
|
+
return methodAbbreviations[method];
|
|
28
|
+
} catch {
|
|
29
|
+
throw new Error(`Unknown short hand method:${method}`);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
var ignoredProps = /* @__PURE__ */ new Set(["$$typeof", "then", "__esmodule"]);
|
|
33
|
+
function createLazyApi(api2, initFunc) {
|
|
34
|
+
const lazyApi = {
|
|
35
|
+
initiated: false,
|
|
36
|
+
init: () => {
|
|
37
|
+
if (!lazyApi.initiated) {
|
|
38
|
+
initFunc();
|
|
39
|
+
lazyApi.initiated = true;
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
ownKeys(target) {
|
|
43
|
+
if (!lazyApi.initiated) {
|
|
44
|
+
lazyApi.init();
|
|
45
|
+
}
|
|
46
|
+
return Object.keys(target);
|
|
47
|
+
},
|
|
48
|
+
has(target, key) {
|
|
49
|
+
if (ignoredProps.has(key)) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
if (!lazyApi.initiated) {
|
|
53
|
+
lazyApi.init();
|
|
54
|
+
}
|
|
55
|
+
return !!target[key];
|
|
56
|
+
},
|
|
57
|
+
get(target, key) {
|
|
58
|
+
if (!ignoredProps.has(key) && !lazyApi.initiated) {
|
|
59
|
+
lazyApi.init();
|
|
60
|
+
}
|
|
61
|
+
return target[key];
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
return new Proxy(api2, lazyApi);
|
|
65
|
+
}
|
|
66
|
+
var runtimeApiCache = {};
|
|
67
|
+
function apiDefToApi(namespace, def, newFormat = false) {
|
|
68
|
+
if (namespace in runtimeApiCache) {
|
|
69
|
+
return runtimeApiCache[namespace];
|
|
70
|
+
}
|
|
71
|
+
const api2 = {
|
|
72
|
+
clearCache: () => clearApiCache(namespace)
|
|
73
|
+
};
|
|
74
|
+
const initFunc = () => {
|
|
75
|
+
traverse(namespace, "", def, api2);
|
|
76
|
+
};
|
|
77
|
+
const lazyApi = createLazyApi(api2, initFunc);
|
|
78
|
+
runtimeApiCache[namespace] = lazyApi;
|
|
79
|
+
return lazyApi;
|
|
80
|
+
}
|
|
81
|
+
function traverse(namespace, parentPath, node, resultingApi) {
|
|
82
|
+
Object.entries(node).forEach(([key, value]) => {
|
|
83
|
+
const pathTemplate = key ? `${parentPath}/${key}` : parentPath;
|
|
84
|
+
if (Array.isArray(value)) {
|
|
85
|
+
value.forEach((operationString) => {
|
|
86
|
+
const argNames = [...pathTemplate.matchAll(/\{([\w\-_]+)\}/g)].map((match) => match[1]);
|
|
87
|
+
const [operationNames, options, useInstead] = operationString.split(":");
|
|
88
|
+
const method = methodCharToMethodName(options[0]);
|
|
89
|
+
const [operationName, ...oldOperationNames] = operationNames.split(",");
|
|
90
|
+
const hasQuery = options.indexOf("Q") >= 0;
|
|
91
|
+
const hasBody = options.indexOf("B") >= 0;
|
|
92
|
+
const apiFunction = createClassicApiFn(
|
|
93
|
+
namespace,
|
|
94
|
+
operationName,
|
|
95
|
+
pathTemplate,
|
|
96
|
+
method,
|
|
97
|
+
argNames,
|
|
98
|
+
hasQuery,
|
|
99
|
+
hasBody,
|
|
100
|
+
useInstead
|
|
101
|
+
);
|
|
102
|
+
resultingApi[operationName] = apiFunction;
|
|
103
|
+
oldOperationNames.forEach((oldOperationName) => {
|
|
104
|
+
resultingApi[oldOperationName] = resultingApi[operationName];
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
} else {
|
|
108
|
+
traverse(namespace, pathTemplate, value, resultingApi);
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
function createClassicApiFn(namespace, operationName, pathTemplate, method, argNames, hasQuery, hasBody, useInstead) {
|
|
113
|
+
return (...args) => {
|
|
114
|
+
const pathVariables = {};
|
|
115
|
+
argNames.forEach((argName, index) => {
|
|
116
|
+
pathVariables[argName] = args[index];
|
|
117
|
+
});
|
|
118
|
+
let argPos = argNames.length;
|
|
119
|
+
let query;
|
|
120
|
+
let body;
|
|
121
|
+
if (hasQuery) {
|
|
122
|
+
query = args[argPos];
|
|
123
|
+
argPos++;
|
|
124
|
+
}
|
|
125
|
+
if (hasBody) {
|
|
126
|
+
body = args[argPos];
|
|
127
|
+
argPos++;
|
|
128
|
+
}
|
|
129
|
+
const options = args.length > argPos ? args[argPos] : void 0;
|
|
130
|
+
console.warn(`${namespace}.${operationName} is deprecated, use ${useInstead}.${operationName} instead`);
|
|
131
|
+
return invokeFetch(namespace, {
|
|
132
|
+
method,
|
|
133
|
+
pathTemplate,
|
|
134
|
+
pathVariables,
|
|
135
|
+
query,
|
|
136
|
+
body,
|
|
137
|
+
options
|
|
138
|
+
});
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// src/public/index.ts
|
|
143
|
+
var apiKeys = apiDefToApi("api-keys", {
|
|
144
|
+
api: {
|
|
145
|
+
v1: {
|
|
146
|
+
"api-keys": {
|
|
147
|
+
"": ["getApiKeys:GQ:", "createApiKey:PB:"],
|
|
148
|
+
configs: { "{tenantId}": ["getApiKeyConfig:G:", "patchApiKeyConfig:AB:"] },
|
|
149
|
+
"{id}": ["deleteApiKey:D:", "getApiKey:G:", "patchApiKey:AB:"]
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
var apps = apiDefToApi("apps", {
|
|
155
|
+
api: {
|
|
156
|
+
v1: {
|
|
157
|
+
apps: {
|
|
158
|
+
"": ["createApp:PB:"],
|
|
159
|
+
evaluations: {
|
|
160
|
+
"{baseid}": {
|
|
161
|
+
actions: {
|
|
162
|
+
compare: {
|
|
163
|
+
"{comparisonid}": {
|
|
164
|
+
"": ["getAppEvaluationComparison:GQ:"],
|
|
165
|
+
actions: { download: ["getAppEvaluationComparisonXML:G:"] }
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"{id}": { "": ["getAppEvaluation:GQ:"], actions: { download: ["getAppEvaluationXML:G:"] } }
|
|
171
|
+
},
|
|
172
|
+
import: ["importApp:PQB:"],
|
|
173
|
+
privileges: ["getAppPrivileges:G:"],
|
|
174
|
+
"{appId}": {
|
|
175
|
+
"": ["deleteApp:D:", "getAppInfo:G:", "updateAppInfo:UB:"],
|
|
176
|
+
copy: ["copyApp:PB:"],
|
|
177
|
+
data: { lineage: ["getAppDataLineage:G:"], metadata: ["getAppDataMetadata:G:"] },
|
|
178
|
+
export: ["exportApp:PQ:"],
|
|
179
|
+
"insight-analyses": {
|
|
180
|
+
"": ["getAppInsightAnalyses:G:"],
|
|
181
|
+
actions: { recommend: ["getAppInsightAnalysisRecommendations:PB:"] },
|
|
182
|
+
model: ["getAppInsightAnalysisModel:G:"]
|
|
183
|
+
},
|
|
184
|
+
media: {
|
|
185
|
+
files: { "{path}": ["deleteAppMedia:D:", "getAppMedia:G:", "uploadAppMedia:UB:"] },
|
|
186
|
+
list: { "{path}": ["getAppMediaList:GQ:"] },
|
|
187
|
+
thumbnail: ["getAppThumbnail:G:"]
|
|
188
|
+
},
|
|
189
|
+
objects: { "{objectId}": { actions: { "change-owner": ["updateAppObjectOwner:PB:"] } } },
|
|
190
|
+
owner: ["updateAppOwner:UB:"],
|
|
191
|
+
publish: ["publishApp:PB:", "republishApp:UB:"],
|
|
192
|
+
reloads: { logs: { "": ["getAppReloadLogs:G:"], "{reloadId}": ["getAppReloadLog:G:"] } },
|
|
193
|
+
scripts: {
|
|
194
|
+
"": ["getAppScriptHistory:GQ:", "updateAppScript:PB:"],
|
|
195
|
+
"{version}": ["deleteAppScript:D:", "getAppScript:G:", "patchAppScript:AB:"]
|
|
196
|
+
},
|
|
197
|
+
space: ["removeAppFromSpace:D:", "moveAppToSpace:UB:"]
|
|
198
|
+
},
|
|
199
|
+
"{guid}": { evaluations: ["getAppEvaluations:GQ:", "queueAppEvaluation:P:"] }
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
var audits = apiDefToApi("audits", {
|
|
205
|
+
api: {
|
|
206
|
+
v1: {
|
|
207
|
+
audits: {
|
|
208
|
+
"": ["getAudits:GQ:"],
|
|
209
|
+
archive: ["getArchivedAudits:GQ:"],
|
|
210
|
+
settings: ["getAuditSettings:G:"],
|
|
211
|
+
sources: ["getAuditSources:G:"],
|
|
212
|
+
types: ["getAuditTypes:G:"],
|
|
213
|
+
"{id}": ["getAudit:G:"]
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
var auth = auth_default;
|
|
219
|
+
var automations = apiDefToApi("automations", {
|
|
220
|
+
api: {
|
|
221
|
+
v1: {
|
|
222
|
+
automations: {
|
|
223
|
+
"": ["getAutomations:GQ:", "createAutomation:PB:"],
|
|
224
|
+
settings: ["getAutomationSettings:G:", "updateAutomationSettings:UB:"],
|
|
225
|
+
usage: ["getAutomationUsageMetrics:GQ:"],
|
|
226
|
+
"{id}": {
|
|
227
|
+
"": ["deleteAutomation:D:", "getAutomation:G:", "updateAutomation:UB:"],
|
|
228
|
+
actions: {
|
|
229
|
+
copy: ["copyAutomation:PB:"],
|
|
230
|
+
disable: ["disableAutomation:P:"],
|
|
231
|
+
enable: ["enableAutomation:P:"],
|
|
232
|
+
move: ["moveAutomation:PB:"]
|
|
233
|
+
},
|
|
234
|
+
runs: {
|
|
235
|
+
"": ["getAutomationRuns:GQ:", "queueAutomationRun:PB:"],
|
|
236
|
+
"{runId}": {
|
|
237
|
+
"": ["getAutomationRun:G:"],
|
|
238
|
+
actions: {
|
|
239
|
+
export: ["getAutomationRunDetails:P:"],
|
|
240
|
+
retry: ["retryAutomationRun:P:"],
|
|
241
|
+
stop: ["stopAutomationRun:P:"]
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
var brands = apiDefToApi("brands", {
|
|
251
|
+
api: {
|
|
252
|
+
v1: {
|
|
253
|
+
brands: {
|
|
254
|
+
"": ["getBrands:GQ:", "createBrand:PB:"],
|
|
255
|
+
active: ["getActiveBrand:G:"],
|
|
256
|
+
"{brand-id}": {
|
|
257
|
+
"": ["deleteBrand:D:", "getBrand:G:", "patchBrand:AB:"],
|
|
258
|
+
actions: { activate: ["activateBrand:PB:"], deactivate: ["deactivateBrand:PB:"] },
|
|
259
|
+
files: {
|
|
260
|
+
"{brand-file-id}": ["deleteBrandFile:D:", "getBrandFile:G:", "createBrandFile:PB:", "updateBrandFile:UB:"]
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
var collections = apiDefToApi("collections", {
|
|
268
|
+
api: {
|
|
269
|
+
v1: {
|
|
270
|
+
collections: {
|
|
271
|
+
"": ["getCollections:GQ:", "createCollection:PB:"],
|
|
272
|
+
favorites: ["getFavoritesCollection:G:"],
|
|
273
|
+
"{collectionId}": {
|
|
274
|
+
"": ["deleteCollection:D:", "getCollection:G:", "updateCollection:UB:"],
|
|
275
|
+
items: {
|
|
276
|
+
"": ["getCollectionItems:GQ:", "addCollectionItem:PB:"],
|
|
277
|
+
"{itemId}": ["deleteCollectionItem:D:", "getCollectionItem:G:"]
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
var cspOrigins = apiDefToApi("csp-origins", {
|
|
285
|
+
api: {
|
|
286
|
+
v1: {
|
|
287
|
+
"csp-origins": {
|
|
288
|
+
"": ["getCSPEntries:GQ:", "createCSPEntry:PB:"],
|
|
289
|
+
actions: { "generate-header": ["getCSPHeader:G:"] },
|
|
290
|
+
"{id}": ["deleteCSPEntry:D:", "getCSPEntry:G:", "updateCSPEntry:UB:"]
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
var dataAssets = apiDefToApi("data-assets", {
|
|
296
|
+
api: {
|
|
297
|
+
v1: {
|
|
298
|
+
"data-assets": {
|
|
299
|
+
"": ["deleteDataAssets:DB:", "createDataAsset:PB:"],
|
|
300
|
+
"{data-asset-id}": ["getDataAsset:GQ:", "patchDataAsset:AB:", "updateDataAsset:UB:"]
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
var dataConnections = apiDefToApi("data-connections", {
|
|
306
|
+
api: {
|
|
307
|
+
v1: {
|
|
308
|
+
"data-connections": {
|
|
309
|
+
"": ["getDataConnections:GQ:", "createDataConnection:PB:"],
|
|
310
|
+
actions: {
|
|
311
|
+
delete: ["deleteDataConnections:PB:"],
|
|
312
|
+
duplicate: ["duplicateDataAConnection:PB:"],
|
|
313
|
+
update: ["updateDataConnections:PB:"]
|
|
314
|
+
},
|
|
315
|
+
"{qID}": [
|
|
316
|
+
"deleteDataConnection:DQ:",
|
|
317
|
+
"getDataConnection:GQ:",
|
|
318
|
+
"patchDataConnection:AQB:",
|
|
319
|
+
"updateDataConnection:UQB:"
|
|
320
|
+
]
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
});
|
|
325
|
+
var dataCredentials = apiDefToApi("data-credentials", {
|
|
326
|
+
api: {
|
|
327
|
+
v1: {
|
|
328
|
+
"data-credentials": {
|
|
329
|
+
"{qID}": [
|
|
330
|
+
"deleteDataCredential:DQ:",
|
|
331
|
+
"getDataCredential:GQ:",
|
|
332
|
+
"patchDataCredential:AQB:",
|
|
333
|
+
"updateDataCredential:UQB:"
|
|
334
|
+
]
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
var dataFiles = apiDefToApi("data-files", {
|
|
340
|
+
api: {
|
|
341
|
+
v1: {
|
|
342
|
+
"data-files": {
|
|
343
|
+
"": ["getDataFiles:GQ:", "uploadDataFile:PB:"],
|
|
344
|
+
actions: { "change-space": ["moveDataFiles:PB:"], delete: ["deleteDataFiles:PB:"] },
|
|
345
|
+
connections: { "": ["getDataFileConnections:GQ:"], "{id}": ["getDataFileConnection:G:"] },
|
|
346
|
+
quotas: ["getDataFileQuotas:G:"],
|
|
347
|
+
"{id}": {
|
|
348
|
+
"": ["deleteDataFile:D:", "getDataFile:G:", "reuploadDataFile:UB:"],
|
|
349
|
+
actions: { "change-owner": ["changeDataFileOwner:PB:"], "change-space": ["moveDataFile:PB:"] }
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
});
|
|
355
|
+
var extensions = apiDefToApi("extensions", {
|
|
356
|
+
api: {
|
|
357
|
+
v1: {
|
|
358
|
+
extensions: {
|
|
359
|
+
"": ["getExtensions:G:", "uploadExtension:PB:"],
|
|
360
|
+
"{id}": {
|
|
361
|
+
"": ["deleteExtension:D:", "getExtension:G:", "patchExtension:AB:"],
|
|
362
|
+
file: { "": ["downloadExtension:G:"], "{filepath}": ["downloadFileFromExtension:G:"] }
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
});
|
|
368
|
+
var glossaries = apiDefToApi("glossaries", {
|
|
369
|
+
api: {
|
|
370
|
+
v1: {
|
|
371
|
+
glossaries: {
|
|
372
|
+
"": ["getGlossaries:GQ:", "createGlossary:PB:"],
|
|
373
|
+
actions: { import: ["importGlossary:PQB:"] },
|
|
374
|
+
"{id}": {
|
|
375
|
+
"": ["deleteGlossary:D:", "getGlossary:G:", "patchGlossary:AB:", "updateGlossary:UB:"],
|
|
376
|
+
actions: { export: ["exportGlossary:G:"] },
|
|
377
|
+
categories: {
|
|
378
|
+
"": ["getGlossaryCategories:GQ:", "createGlossaryCategory:PB:"],
|
|
379
|
+
"{categoryId}": [
|
|
380
|
+
"deleteGlossaryCategory:D:",
|
|
381
|
+
"getGlossaryCategory:G:",
|
|
382
|
+
"patchGlossaryCategory:AB:",
|
|
383
|
+
"updateGlossaryCategory:UB:"
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
terms: {
|
|
387
|
+
"": ["getGlossaryTerms:GQ:", "createGlossaryTerm:PB:"],
|
|
388
|
+
"{termId}": {
|
|
389
|
+
"": ["deleteGlossaryTerm:D:", "getGlossaryTerm:G:", "patchGlossaryTerm:AB:", "updateGlossaryTerm:UB:"],
|
|
390
|
+
actions: { "change-status": ["changeGlossaryTermStatus:PQ:"] },
|
|
391
|
+
links: ["getGlossaryTermLinks:GQ:", "createGlossaryTermLink:PB:"],
|
|
392
|
+
revisions: ["getGlossaryTermRevisions:GQ:"]
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
});
|
|
400
|
+
var groups = apiDefToApi("groups", {
|
|
401
|
+
api: {
|
|
402
|
+
v1: {
|
|
403
|
+
groups: {
|
|
404
|
+
"": ["getGroups:GQ:", "createGroup:PB:"],
|
|
405
|
+
actions: { filter: ["filterGroups:PQB:"] },
|
|
406
|
+
settings: ["getGroupSettings:G:", "patchGroupSettings:AB:"],
|
|
407
|
+
"{groupId}": ["deleteGroup:D:", "getGroup:G:", "patchGroup:AB:"]
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
var identityProviders = apiDefToApi("identity-providers", {
|
|
413
|
+
api: {
|
|
414
|
+
v1: {
|
|
415
|
+
"identity-providers": {
|
|
416
|
+
"": ["getIdps:GQ:", "createIdp:PB:"],
|
|
417
|
+
".well-known": { "metadata.json": ["getIdpWellKnownMetaData:G:"] },
|
|
418
|
+
me: { meta: ["getMyIdpMeta:G:"] },
|
|
419
|
+
status: ["getIdpStatus:G:"],
|
|
420
|
+
"{id}": ["deleteIdp:D:", "getIdp:G:", "patchIdp:AB:"]
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
});
|
|
425
|
+
var items = apiDefToApi("items", {
|
|
426
|
+
api: {
|
|
427
|
+
v1: {
|
|
428
|
+
items: {
|
|
429
|
+
"": ["getItems:GQ:"],
|
|
430
|
+
settings: ["getItemSettings:G:", "patchItemSettings:AB:"],
|
|
431
|
+
"{itemId}": {
|
|
432
|
+
"": ["deleteItem:D:", "getItem:G:", "updateItem:UB:"],
|
|
433
|
+
collections: ["getItemCollections:GQ:"],
|
|
434
|
+
publisheditems: ["getPublishedItems:GQ:"]
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
});
|
|
440
|
+
var licenses = apiDefToApi("licenses", {
|
|
441
|
+
api: {
|
|
442
|
+
v1: {
|
|
443
|
+
licenses: {
|
|
444
|
+
assignments: {
|
|
445
|
+
"": ["getLicenseAssignments:GQ:"],
|
|
446
|
+
actions: {
|
|
447
|
+
add: ["addLicenseAssignments:PB:"],
|
|
448
|
+
delete: ["deleteLicenseAssignments:PB:"],
|
|
449
|
+
update: ["updateLicenseAssignments:PB:"]
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
consumption: ["getLicenseConsumption:GQ:"],
|
|
453
|
+
overview: ["getLicenseOverview:G:"],
|
|
454
|
+
settings: ["getLicenseSettings:G:", "updateLicenseSettings:UB:"],
|
|
455
|
+
status: ["getLicenseStatus:G:"]
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
});
|
|
460
|
+
var qix = qix_default;
|
|
461
|
+
var quotas = apiDefToApi("quotas", {
|
|
462
|
+
api: { v1: { quotas: { "": ["getQuotas:GQ:"], "{id}": ["getQuota:GQ:"] } } }
|
|
463
|
+
});
|
|
464
|
+
var reloadTasks = apiDefToApi("reload-tasks", {
|
|
465
|
+
api: {
|
|
466
|
+
v1: {
|
|
467
|
+
"reload-tasks": {
|
|
468
|
+
"": ["getReloadTasks:GQ:", "createReloadTask:PB:"],
|
|
469
|
+
"{taskId}": ["deleteReloadTask:D:", "getReloadTask:G:", "updateReloadTask:UB:"]
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
});
|
|
474
|
+
var reloads = apiDefToApi("reloads", {
|
|
475
|
+
api: {
|
|
476
|
+
v1: {
|
|
477
|
+
reloads: {
|
|
478
|
+
"": ["getReloads:GQ:", "queueReload:PB:"],
|
|
479
|
+
"{reloadId}": { "": ["getReload:G:"], actions: { cancel: ["cancelReload:P:"] } }
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
});
|
|
484
|
+
var roles = apiDefToApi("roles", {
|
|
485
|
+
api: { v1: { roles: { "": ["getRoles:GQ:"], "{id}": ["getRole:G:"] } } }
|
|
486
|
+
});
|
|
487
|
+
var spaces = apiDefToApi("spaces", {
|
|
488
|
+
api: {
|
|
489
|
+
v1: {
|
|
490
|
+
spaces: {
|
|
491
|
+
"": ["getSpaces:GQ:", "createSpace:PB:"],
|
|
492
|
+
types: ["getSpaceTypes:G:"],
|
|
493
|
+
"{spaceId}": {
|
|
494
|
+
"": ["deleteSpace:D:", "getSpace:G:", "patchSpace:AB:", "updateSpace:UB:"],
|
|
495
|
+
assignments: {
|
|
496
|
+
"": ["getSpaceAssignments:GQ:", "createSpaceAssignment:PB:"],
|
|
497
|
+
"{assignmentId}": ["deleteSpaceAssignment:D:", "getSpaceAssignment:G:", "updateSpaceAssignment:UB:"]
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
var tempContents = apiDefToApi("temp-contents", {
|
|
505
|
+
api: {
|
|
506
|
+
v1: {
|
|
507
|
+
"temp-contents": {
|
|
508
|
+
"": ["uploadTempFile:PQB:"],
|
|
509
|
+
files: { "": ["createTus:P:"], "{id}": ["patchTus:AB:"] },
|
|
510
|
+
"{id}": { "": ["downloadTempFile:GQ:"], details: ["getTempFileDetails:G:"] }
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
var tenants = apiDefToApi("tenants", {
|
|
516
|
+
api: {
|
|
517
|
+
v1: {
|
|
518
|
+
tenants: {
|
|
519
|
+
"": ["createTenant:PB:"],
|
|
520
|
+
me: ["getMyTenant:G:"],
|
|
521
|
+
"{tenantId}": {
|
|
522
|
+
"": ["getTenant:G:", "patchTenant:AB:"],
|
|
523
|
+
actions: { deactivate: ["deactivateTenant:PB:"], reactivate: ["reactivateTenant:PB:"] }
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
});
|
|
529
|
+
var themes = apiDefToApi("themes", {
|
|
530
|
+
api: {
|
|
531
|
+
v1: {
|
|
532
|
+
themes: {
|
|
533
|
+
"": ["getThemes:G:", "uploadTheme:PB:"],
|
|
534
|
+
"{id}": {
|
|
535
|
+
"": ["deleteTheme:D:", "getTheme:G:", "patchTheme:AB:"],
|
|
536
|
+
file: { "": ["downloadTheme:G:"], "{filepath}": ["downloadFileFromTheme:G:"] }
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
});
|
|
542
|
+
var transports = apiDefToApi("transports", {
|
|
543
|
+
api: {
|
|
544
|
+
v1: {
|
|
545
|
+
transports: {
|
|
546
|
+
"email-config": {
|
|
547
|
+
"": ["deleteEmailConfig:D:", "getEmailConfig:G:", "patchEmailConfig:AB:"],
|
|
548
|
+
actions: {
|
|
549
|
+
"send-test-email": ["sendTestEmail:PB:"],
|
|
550
|
+
validate: ["validateEmailConfig:P:"],
|
|
551
|
+
"verify-connection": ["verifyEmailConfigConnection:P:"]
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
});
|
|
558
|
+
var users = apiDefToApi("users", {
|
|
559
|
+
api: {
|
|
560
|
+
v1: {
|
|
561
|
+
users: {
|
|
562
|
+
"": ["getUsers:GQ:", "createUser:PB:"],
|
|
563
|
+
actions: { count: ["countUsers:GQ:"], filter: ["filterUsers:PQB:"], invite: ["inviteUsers:PB:"] },
|
|
564
|
+
me: ["getMyUser:G:"],
|
|
565
|
+
metadata: ["getUsersMetadata:G:"],
|
|
566
|
+
"{userId}": ["deleteUser:D:", "getUser:GQ:", "patchUser:AB:"]
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
});
|
|
571
|
+
var webIntegrations = apiDefToApi("web-integrations", {
|
|
572
|
+
api: {
|
|
573
|
+
v1: {
|
|
574
|
+
"web-integrations": {
|
|
575
|
+
"": ["getWebIntegrations:GQ:", "createWebIntegration:PB:"],
|
|
576
|
+
"{id}": ["deleteWebIntegration:D:", "getWebIntegration:G:", "patchWebIntegration:AB:"]
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
var webNotifications = apiDefToApi("web-notifications", {
|
|
582
|
+
api: {
|
|
583
|
+
v1: {
|
|
584
|
+
"web-notifications": {
|
|
585
|
+
"": ["getNotifications:GQ:"],
|
|
586
|
+
all: ["deleteNotifications:D:", "patchNotifications:AB:"],
|
|
587
|
+
"{notificationId}": ["deleteNotification:D:", "getNotification:G:", "patchNotification:AB:"]
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
});
|
|
592
|
+
var webhooks = apiDefToApi("webhooks", {
|
|
593
|
+
api: {
|
|
594
|
+
v1: {
|
|
595
|
+
webhooks: {
|
|
596
|
+
"": ["getWebhooks:GQ:", "createWebhook:PB:"],
|
|
597
|
+
"event-types": ["getWebhookEventTypes:G:"],
|
|
598
|
+
"{id}": {
|
|
599
|
+
"": ["deleteWebhook:D:", "getWebhook:G:", "patchWebhook:AB:", "updateWebhook:UB:"],
|
|
600
|
+
deliveries: {
|
|
601
|
+
"": ["getWebhookDeliveries:GQ:"],
|
|
602
|
+
"{deliveryId}": { "": ["getWebhookDelivery:G:"], actions: { resend: ["resendWebhookDelivery:P:"] } }
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
var api = {
|
|
610
|
+
apiKeys,
|
|
611
|
+
apps,
|
|
612
|
+
audits,
|
|
613
|
+
auth,
|
|
614
|
+
automations,
|
|
615
|
+
brands,
|
|
616
|
+
collections,
|
|
617
|
+
cspOrigins,
|
|
618
|
+
dataAssets,
|
|
619
|
+
dataConnections,
|
|
620
|
+
dataCredentials,
|
|
621
|
+
dataFiles,
|
|
622
|
+
extensions,
|
|
623
|
+
glossaries,
|
|
624
|
+
groups,
|
|
625
|
+
identityProviders,
|
|
626
|
+
items,
|
|
627
|
+
licenses,
|
|
628
|
+
qix,
|
|
629
|
+
quotas,
|
|
630
|
+
reloadTasks,
|
|
631
|
+
reloads,
|
|
632
|
+
roles,
|
|
633
|
+
spaces,
|
|
634
|
+
tempContents,
|
|
635
|
+
tenants,
|
|
636
|
+
themes,
|
|
637
|
+
transports,
|
|
638
|
+
users,
|
|
639
|
+
webIntegrations,
|
|
640
|
+
webNotifications,
|
|
641
|
+
webhooks
|
|
642
|
+
};
|
|
643
|
+
var public_default = api;
|
|
644
|
+
export {
|
|
645
|
+
apiKeys,
|
|
646
|
+
apps,
|
|
647
|
+
audits,
|
|
648
|
+
auth,
|
|
649
|
+
automations,
|
|
650
|
+
brands,
|
|
651
|
+
collections,
|
|
652
|
+
cspOrigins,
|
|
653
|
+
dataAssets,
|
|
654
|
+
dataConnections,
|
|
655
|
+
dataCredentials,
|
|
656
|
+
dataFiles,
|
|
657
|
+
public_default as default,
|
|
658
|
+
extensions,
|
|
659
|
+
glossaries,
|
|
660
|
+
groups,
|
|
661
|
+
identityProviders,
|
|
662
|
+
items,
|
|
663
|
+
licenses,
|
|
664
|
+
qix,
|
|
665
|
+
quotas,
|
|
666
|
+
reloadTasks,
|
|
667
|
+
reloads,
|
|
668
|
+
roles,
|
|
669
|
+
spaces,
|
|
670
|
+
tempContents,
|
|
671
|
+
tenants,
|
|
672
|
+
themes,
|
|
673
|
+
transports,
|
|
674
|
+
users,
|
|
675
|
+
webIntegrations,
|
|
676
|
+
webNotifications,
|
|
677
|
+
webhooks
|
|
678
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InvokeFetchError,
|
|
3
|
+
clearApiCache,
|
|
4
|
+
invokeFetch,
|
|
5
|
+
invoke_fetch_default,
|
|
6
|
+
parseFetchResponse
|
|
7
|
+
} from "./chunk-4OMEH5SW.mjs";
|
|
8
|
+
export {
|
|
9
|
+
InvokeFetchError,
|
|
10
|
+
clearApiCache,
|
|
11
|
+
invoke_fetch_default as default,
|
|
12
|
+
invokeFetch,
|
|
13
|
+
parseFetchResponse
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkXASXL2NCjs = require('./chunk-XASXL2NC.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.InvokeFetchError = _chunkXASXL2NCjs.InvokeFetchError; exports.clearApiCache = _chunkXASXL2NCjs.clearApiCache; exports.default = _chunkXASXL2NCjs.invoke_fetch_default; exports.invokeFetch = _chunkXASXL2NCjs.invokeFetch; exports.parseFetchResponse = _chunkXASXL2NCjs.parseFetchResponse;
|