@qlik/api 1.32.0 → 1.34.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 +13 -12
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +34 -34
- package/assistants.js +257 -201
- 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 +12 -12
- package/automation-connections.js +75 -59
- package/automations.d.ts +29 -29
- package/automations.js +159 -123
- package/automl-deployments.d.ts +4 -4
- package/automl-deployments.js +14 -12
- package/automl-predictions.d.ts +13 -13
- package/automl-predictions.js +56 -44
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
- package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
- package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
- package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
- package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
- package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
- package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
- package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +13 -13
- package/conditions.js +97 -75
- package/consumption.d.ts +4 -4
- package/consumption.js +11 -9
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +3 -3
- package/csrf-token.js +10 -8
- package/data-alerts.d.ts +22 -22
- package/data-alerts.js +139 -107
- 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 +6 -6
- package/data-qualities.js +28 -22
- package/data-sets.d.ts +10 -10
- package/data-sets.js +59 -47
- package/data-sources.d.ts +7 -7
- package/data-sources.js +28 -22
- package/data-stores.d.ts +16 -16
- package/data-stores.js +92 -72
- package/dcaas.d.ts +6 -6
- package/dcaas.js +28 -22
- package/di-projects.d.ts +22 -22
- package/di-projects.js +148 -116
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +12 -12
- package/encryption.js +82 -62
- 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 +9 -4
- package/index.js +102 -67
- 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 +23 -23
- package/knowledgebases.js +153 -119
- package/licenses.d.ts +16 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +238 -60
- package/ml.js +391 -286
- package/notes.d.ts +4 -4
- package/notes.js +19 -15
- package/notifications.d.ts +4 -4
- package/notifications.js +11 -9
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +5 -5
- package/oauth-tokens.js +19 -15
- package/package.json +8 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +5 -5
- package/questions.js +22 -18
- 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 +10 -10
- package/report-templates.js +64 -50
- 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 +14 -14
- package/sharing-tasks.js +89 -69
- package/spaces.d.ts +27 -23
- package/spaces.js +153 -119
- package/tasks.d.ts +17 -17
- package/tasks.js +90 -70
- 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 +9 -9
- package/ui-config.js +61 -47
- 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/tasks.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 ErrorResponse = {
|
|
5
5
|
errors?: HttpResult[];
|
|
@@ -256,7 +256,7 @@ type TaskMetadata = {
|
|
|
256
256
|
* @param query an object with query parameters
|
|
257
257
|
* @throws GetTasksHttpError
|
|
258
258
|
*/
|
|
259
|
-
declare
|
|
259
|
+
declare function getTasks(query: {
|
|
260
260
|
/** The maximum number of resources to return for a request. */
|
|
261
261
|
limit?: number;
|
|
262
262
|
/** The page cursor. */
|
|
@@ -267,7 +267,7 @@ declare const getTasks: (query: {
|
|
|
267
267
|
* -updatedAt). A property must be prefixed by + or - to
|
|
268
268
|
* indicate ascending or descending sort order respectively. */
|
|
269
269
|
sort?: "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt";
|
|
270
|
-
}, options?: ApiCallOptions)
|
|
270
|
+
}, options?: ApiCallOptions): Promise<GetTasksHttpResponse>;
|
|
271
271
|
type GetTasksHttpResponse = {
|
|
272
272
|
data: TaskList;
|
|
273
273
|
headers: Headers;
|
|
@@ -287,10 +287,10 @@ type GetTasksHttpError = {
|
|
|
287
287
|
* @param body an object with the body content
|
|
288
288
|
* @throws CreateTaskHttpError
|
|
289
289
|
*/
|
|
290
|
-
declare
|
|
290
|
+
declare function createTask(query: {
|
|
291
291
|
/** ID of the reload-task to migrate from the old system (optional). */
|
|
292
292
|
migrateFrom?: string;
|
|
293
|
-
}, body: Task, options?: ApiCallOptions)
|
|
293
|
+
}, body: Task, options?: ApiCallOptions): Promise<CreateTaskHttpResponse>;
|
|
294
294
|
type CreateTaskHttpResponse = {
|
|
295
295
|
data: Task;
|
|
296
296
|
headers: Headers;
|
|
@@ -308,7 +308,7 @@ type CreateTaskHttpError = {
|
|
|
308
308
|
* @param query an object with query parameters
|
|
309
309
|
* @throws GetTasksResourceRunsHttpError
|
|
310
310
|
*/
|
|
311
|
-
declare
|
|
311
|
+
declare function getTasksResourceRuns(id: string, query: {
|
|
312
312
|
/** The maximum number of task runs to return for a request. */
|
|
313
313
|
limit?: number;
|
|
314
314
|
/** The page cursor. */
|
|
@@ -316,7 +316,7 @@ declare const getTasksResourceRuns: (id: string, query: {
|
|
|
316
316
|
/** The property of a resource to sort on (default sort is -startedAt).
|
|
317
317
|
* A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
318
318
|
sort?: "+startedAt" | "-startedAt" | "+endedAt" | "-endedAt" | "+status" | "-status" | "+taskId" | "-taskId" | "+actionId" | "-actionId";
|
|
319
|
-
}, options?: ApiCallOptions)
|
|
319
|
+
}, options?: ApiCallOptions): Promise<GetTasksResourceRunsHttpResponse>;
|
|
320
320
|
type GetTasksResourceRunsHttpResponse = {
|
|
321
321
|
data: OrchRunList;
|
|
322
322
|
headers: Headers;
|
|
@@ -335,7 +335,7 @@ type GetTasksResourceRunsHttpError = {
|
|
|
335
335
|
* @param id The task's unique identifier.
|
|
336
336
|
* @throws DeleteTaskHttpError
|
|
337
337
|
*/
|
|
338
|
-
declare
|
|
338
|
+
declare function deleteTask(id: string, options?: ApiCallOptions): Promise<DeleteTaskHttpResponse>;
|
|
339
339
|
type DeleteTaskHttpResponse = {
|
|
340
340
|
data: void;
|
|
341
341
|
headers: Headers;
|
|
@@ -352,7 +352,7 @@ type DeleteTaskHttpError = {
|
|
|
352
352
|
* @param id The task's unique identifier.
|
|
353
353
|
* @throws GetTaskHttpError
|
|
354
354
|
*/
|
|
355
|
-
declare
|
|
355
|
+
declare function getTask(id: string, options?: ApiCallOptions): Promise<GetTaskHttpResponse>;
|
|
356
356
|
type GetTaskHttpResponse = {
|
|
357
357
|
data: Task;
|
|
358
358
|
headers: Headers;
|
|
@@ -370,7 +370,7 @@ type GetTaskHttpError = {
|
|
|
370
370
|
* @param body an object with the body content
|
|
371
371
|
* @throws UpdateTaskHttpError
|
|
372
372
|
*/
|
|
373
|
-
declare
|
|
373
|
+
declare function updateTask(id: string, body: Task, options?: ApiCallOptions): Promise<UpdateTaskHttpResponse>;
|
|
374
374
|
type UpdateTaskHttpResponse = {
|
|
375
375
|
data: Task;
|
|
376
376
|
headers: Headers;
|
|
@@ -388,10 +388,10 @@ type UpdateTaskHttpError = {
|
|
|
388
388
|
* @param query an object with query parameters
|
|
389
389
|
* @throws StartTaskHttpError
|
|
390
390
|
*/
|
|
391
|
-
declare
|
|
391
|
+
declare function startTask(id: string, query: {
|
|
392
392
|
/** Indicates the origin of the trigger. If not provided, defaults to 'manual'. For event-triggered tasks, this can be the name of the triggering task. */
|
|
393
393
|
source?: string;
|
|
394
|
-
}, options?: ApiCallOptions)
|
|
394
|
+
}, options?: ApiCallOptions): Promise<StartTaskHttpResponse>;
|
|
395
395
|
type StartTaskHttpResponse = {
|
|
396
396
|
data: {
|
|
397
397
|
message?: string;
|
|
@@ -411,7 +411,7 @@ type StartTaskHttpError = {
|
|
|
411
411
|
* @param query an object with query parameters
|
|
412
412
|
* @throws GetTaskRunsHttpError
|
|
413
413
|
*/
|
|
414
|
-
declare
|
|
414
|
+
declare function getTaskRuns(id: string, query: {
|
|
415
415
|
/** The maximum number of task runs to return for a request. */
|
|
416
416
|
limit?: number;
|
|
417
417
|
/** The page cursor. */
|
|
@@ -419,7 +419,7 @@ declare const getTaskRuns: (id: string, query: {
|
|
|
419
419
|
/** The property of a resource to sort on (default sort is -startedAt).
|
|
420
420
|
* A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
421
421
|
sort?: "+startedAt" | "-startedAt" | "+endedAt" | "-endedAt" | "+status" | "-status" | "+taskId" | "-taskId" | "+actionId" | "-actionId";
|
|
422
|
-
}, options?: ApiCallOptions)
|
|
422
|
+
}, options?: ApiCallOptions): Promise<GetTaskRunsHttpResponse>;
|
|
423
423
|
type GetTaskRunsHttpResponse = {
|
|
424
424
|
data: OrchRunList;
|
|
425
425
|
headers: Headers;
|
|
@@ -438,7 +438,7 @@ type GetTaskRunsHttpError = {
|
|
|
438
438
|
* @param id The task's unique identifier.
|
|
439
439
|
* @throws GetLastTaskRunHttpError
|
|
440
440
|
*/
|
|
441
|
-
declare
|
|
441
|
+
declare function getLastTaskRun(id: string, options?: ApiCallOptions): Promise<GetLastTaskRunHttpResponse>;
|
|
442
442
|
type GetLastTaskRunHttpResponse = {
|
|
443
443
|
data: OrchRun;
|
|
444
444
|
headers: Headers;
|
|
@@ -456,7 +456,7 @@ type GetLastTaskRunHttpError = {
|
|
|
456
456
|
* @param runId The run's unique identifier.
|
|
457
457
|
* @throws GetTaskRunLogHttpError
|
|
458
458
|
*/
|
|
459
|
-
declare
|
|
459
|
+
declare function getTaskRunLog(id: string, runId: string, options?: ApiCallOptions): Promise<GetTaskRunLogHttpResponse>;
|
|
460
460
|
type GetTaskRunLogHttpResponse = {
|
|
461
461
|
data: {
|
|
462
462
|
/** Log content in plain text format */
|
package/tasks.js
CHANGED
|
@@ -1,78 +1,98 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/tasks.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
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
9
|
+
async function getTasks(query, options) {
|
|
10
|
+
return invokeFetch("tasks", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/tasks",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createTask(query, body, options) {
|
|
18
|
+
return invokeFetch("tasks", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/tasks",
|
|
21
|
+
query,
|
|
22
|
+
body,
|
|
23
|
+
contentType: "application/json",
|
|
24
|
+
options
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
async function getTasksResourceRuns(id, query, options) {
|
|
28
|
+
return invokeFetch("tasks", {
|
|
29
|
+
method: "get",
|
|
30
|
+
pathTemplate: "/api/v1/tasks/resources/{id}/runs",
|
|
31
|
+
pathVariables: { id },
|
|
32
|
+
query,
|
|
33
|
+
options
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
async function deleteTask(id, options) {
|
|
37
|
+
return invokeFetch("tasks", {
|
|
38
|
+
method: "delete",
|
|
39
|
+
pathTemplate: "/api/v1/tasks/{id}",
|
|
40
|
+
pathVariables: { id },
|
|
41
|
+
options
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function getTask(id, options) {
|
|
45
|
+
return invokeFetch("tasks", {
|
|
46
|
+
method: "get",
|
|
47
|
+
pathTemplate: "/api/v1/tasks/{id}",
|
|
48
|
+
pathVariables: { id },
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function updateTask(id, body, options) {
|
|
53
|
+
return invokeFetch("tasks", {
|
|
54
|
+
method: "put",
|
|
55
|
+
pathTemplate: "/api/v1/tasks/{id}",
|
|
56
|
+
pathVariables: { id },
|
|
57
|
+
body,
|
|
58
|
+
contentType: "application/json",
|
|
59
|
+
options
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
async function startTask(id, query, options) {
|
|
63
|
+
return invokeFetch("tasks", {
|
|
64
|
+
method: "post",
|
|
65
|
+
pathTemplate: "/api/v1/tasks/{id}/actions/start",
|
|
66
|
+
pathVariables: { id },
|
|
67
|
+
query,
|
|
68
|
+
options
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
async function getTaskRuns(id, query, options) {
|
|
72
|
+
return invokeFetch("tasks", {
|
|
73
|
+
method: "get",
|
|
74
|
+
pathTemplate: "/api/v1/tasks/{id}/runs",
|
|
75
|
+
pathVariables: { id },
|
|
76
|
+
query,
|
|
77
|
+
options
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
async function getLastTaskRun(id, options) {
|
|
81
|
+
return invokeFetch("tasks", {
|
|
82
|
+
method: "get",
|
|
83
|
+
pathTemplate: "/api/v1/tasks/{id}/runs/last",
|
|
84
|
+
pathVariables: { id },
|
|
85
|
+
options
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
async function getTaskRunLog(id, runId, options) {
|
|
89
|
+
return invokeFetch("tasks", {
|
|
90
|
+
method: "get",
|
|
91
|
+
pathTemplate: "/api/v1/tasks/{id}/runs/{runId}/log",
|
|
92
|
+
pathVariables: { id, runId },
|
|
93
|
+
options
|
|
94
|
+
});
|
|
95
|
+
}
|
|
76
96
|
function clearCache() {
|
|
77
97
|
return clearApiCache("tasks");
|
|
78
98
|
}
|
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/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.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/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.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;
|