@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/reloads.js
CHANGED
|
@@ -1,36 +1,44 @@
|
|
|
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/reloads.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
|
-
}
|
|
9
|
+
async function getReloads(query, options) {
|
|
10
|
+
return invokeFetch("reloads", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/reloads",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function queueReload(body, options) {
|
|
18
|
+
return invokeFetch("reloads", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/reloads",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function getReload(reloadId, options) {
|
|
27
|
+
return invokeFetch("reloads", {
|
|
28
|
+
method: "get",
|
|
29
|
+
pathTemplate: "/api/v1/reloads/{reloadId}",
|
|
30
|
+
pathVariables: { reloadId },
|
|
31
|
+
options
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
async function cancelReload(reloadId, options) {
|
|
35
|
+
return invokeFetch("reloads", {
|
|
36
|
+
method: "post",
|
|
37
|
+
pathTemplate: "/api/v1/reloads/{reloadId}/actions/cancel",
|
|
38
|
+
pathVariables: { reloadId },
|
|
39
|
+
options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
34
42
|
function clearCache() {
|
|
35
43
|
return clearApiCache("reloads");
|
|
36
44
|
}
|
package/report-templates.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions, D as DownloadableBlob } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions, D as DownloadableBlob } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
type CreateTemplateRequest = {
|
|
5
5
|
/** Template description */
|
|
@@ -88,7 +88,7 @@ type UpdateTemplateRequest = {
|
|
|
88
88
|
* @param query an object with query parameters
|
|
89
89
|
* @throws GetReportTemplatesHttpError
|
|
90
90
|
*/
|
|
91
|
-
declare
|
|
91
|
+
declare function getReportTemplates(query: {
|
|
92
92
|
/** If present, restrict the number of returned items to this value. */
|
|
93
93
|
limit?: number;
|
|
94
94
|
/** Template name to search and filter for. Case-insensitive open search with wildcards both as prefix and suffix. */
|
|
@@ -101,7 +101,7 @@ declare const getReportTemplates: (query: {
|
|
|
101
101
|
sort?: ("name" | "+name" | "-name" | "createdAt" | "+createdAt" | "-createdAt" | "updatedAt" | "+updatedAt" | "-updatedAt" | "type" | "+type" | "-type")[];
|
|
102
102
|
/** Return the templates that are using the specified app as data source. */
|
|
103
103
|
sourceAppId?: string;
|
|
104
|
-
}, options?: ApiCallOptions)
|
|
104
|
+
}, options?: ApiCallOptions): Promise<GetReportTemplatesHttpResponse>;
|
|
105
105
|
type GetReportTemplatesHttpResponse = {
|
|
106
106
|
data: GetTemplatesResponse;
|
|
107
107
|
headers: Headers;
|
|
@@ -120,7 +120,7 @@ type GetReportTemplatesHttpError = {
|
|
|
120
120
|
* @param body an object with the body content
|
|
121
121
|
* @throws CreateReportTemplateHttpError
|
|
122
122
|
*/
|
|
123
|
-
declare
|
|
123
|
+
declare function createReportTemplate(body: CreateTemplateRequest, options?: ApiCallOptions): Promise<CreateReportTemplateHttpResponse>;
|
|
124
124
|
type CreateReportTemplateHttpResponse = {
|
|
125
125
|
data: ReportTemplateResponse;
|
|
126
126
|
headers: Headers;
|
|
@@ -137,7 +137,7 @@ type CreateReportTemplateHttpError = {
|
|
|
137
137
|
* @param id The ID of the report template to delete.
|
|
138
138
|
* @throws DeleteReportTemplateHttpError
|
|
139
139
|
*/
|
|
140
|
-
declare
|
|
140
|
+
declare function deleteReportTemplate(id: string, options?: ApiCallOptions): Promise<DeleteReportTemplateHttpResponse>;
|
|
141
141
|
type DeleteReportTemplateHttpResponse = {
|
|
142
142
|
data: void;
|
|
143
143
|
headers: Headers;
|
|
@@ -154,7 +154,7 @@ type DeleteReportTemplateHttpError = {
|
|
|
154
154
|
* @param id The ID of the report template.
|
|
155
155
|
* @throws GetReportTemplateHttpError
|
|
156
156
|
*/
|
|
157
|
-
declare
|
|
157
|
+
declare function getReportTemplate(id: string, options?: ApiCallOptions): Promise<GetReportTemplateHttpResponse>;
|
|
158
158
|
type GetReportTemplateHttpResponse = {
|
|
159
159
|
data: ReportTemplateResponse;
|
|
160
160
|
headers: Headers;
|
|
@@ -172,7 +172,7 @@ type GetReportTemplateHttpError = {
|
|
|
172
172
|
* @param body an object with the body content
|
|
173
173
|
* @throws PatchReportTemplateHttpError
|
|
174
174
|
*/
|
|
175
|
-
declare
|
|
175
|
+
declare function patchReportTemplate(id: string, body: Operation[], options?: ApiCallOptions): Promise<PatchReportTemplateHttpResponse>;
|
|
176
176
|
type PatchReportTemplateHttpResponse = {
|
|
177
177
|
data: void;
|
|
178
178
|
headers: Headers;
|
|
@@ -190,7 +190,7 @@ type PatchReportTemplateHttpError = {
|
|
|
190
190
|
* @param body an object with the body content
|
|
191
191
|
* @throws UpdateReportTemplateHttpError
|
|
192
192
|
*/
|
|
193
|
-
declare
|
|
193
|
+
declare function updateReportTemplate(id: string, body: UpdateTemplateRequest, options?: ApiCallOptions): Promise<UpdateReportTemplateHttpResponse>;
|
|
194
194
|
type UpdateReportTemplateHttpResponse = {
|
|
195
195
|
data: ReportTemplateResponse;
|
|
196
196
|
headers: Headers;
|
|
@@ -207,7 +207,7 @@ type UpdateReportTemplateHttpError = {
|
|
|
207
207
|
* @param id The ID of the report template.
|
|
208
208
|
* @throws DownloadReportTemplateHttpError
|
|
209
209
|
*/
|
|
210
|
-
declare
|
|
210
|
+
declare function downloadReportTemplate(id: string, options?: ApiCallOptions): Promise<DownloadReportTemplateHttpResponse>;
|
|
211
211
|
type DownloadReportTemplateHttpResponse = {
|
|
212
212
|
data: DownloadableBlob;
|
|
213
213
|
headers: Headers;
|
package/report-templates.js
CHANGED
|
@@ -1,58 +1,72 @@
|
|
|
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/report-templates.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
|
-
}
|
|
9
|
+
async function getReportTemplates(query, options) {
|
|
10
|
+
return invokeFetch("report-templates", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/report-templates",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createReportTemplate(body, options) {
|
|
18
|
+
return invokeFetch("report-templates", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/report-templates",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function deleteReportTemplate(id, options) {
|
|
27
|
+
return invokeFetch("report-templates", {
|
|
28
|
+
method: "delete",
|
|
29
|
+
pathTemplate: "/api/v1/report-templates/{id}",
|
|
30
|
+
pathVariables: { id },
|
|
31
|
+
options
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
async function getReportTemplate(id, options) {
|
|
35
|
+
return invokeFetch("report-templates", {
|
|
36
|
+
method: "get",
|
|
37
|
+
pathTemplate: "/api/v1/report-templates/{id}",
|
|
38
|
+
pathVariables: { id },
|
|
39
|
+
options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async function patchReportTemplate(id, body, options) {
|
|
43
|
+
return invokeFetch("report-templates", {
|
|
44
|
+
method: "patch",
|
|
45
|
+
pathTemplate: "/api/v1/report-templates/{id}",
|
|
46
|
+
pathVariables: { id },
|
|
47
|
+
body,
|
|
48
|
+
contentType: "application/json",
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function updateReportTemplate(id, body, options) {
|
|
53
|
+
return invokeFetch("report-templates", {
|
|
54
|
+
method: "put",
|
|
55
|
+
pathTemplate: "/api/v1/report-templates/{id}",
|
|
56
|
+
pathVariables: { id },
|
|
57
|
+
body,
|
|
58
|
+
contentType: "application/json",
|
|
59
|
+
options
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
async function downloadReportTemplate(id, options) {
|
|
63
|
+
return invokeFetch("report-templates", {
|
|
64
|
+
method: "post",
|
|
65
|
+
pathTemplate: "/api/v1/report-templates/{id}/actions/download",
|
|
66
|
+
pathVariables: { id },
|
|
67
|
+
options
|
|
68
|
+
});
|
|
69
|
+
}
|
|
56
70
|
function clearCache() {
|
|
57
71
|
return clearApiCache("report-templates");
|
|
58
72
|
}
|
package/reports.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
|
* Error in resource handling
|
|
@@ -696,7 +696,7 @@ type ReloadTimestampMatchType = "noCheck" | "requestTimeExact";
|
|
|
696
696
|
* @param body an object with the body content
|
|
697
697
|
* @throws CreateReportHttpError
|
|
698
698
|
*/
|
|
699
|
-
declare
|
|
699
|
+
declare function createReport(body: ReportRequest, options?: ApiCallOptions): Promise<CreateReportHttpResponse>;
|
|
700
700
|
type CreateReportHttpResponse = {
|
|
701
701
|
data: void;
|
|
702
702
|
headers: Headers;
|
|
@@ -713,7 +713,7 @@ type CreateReportHttpError = {
|
|
|
713
713
|
* @param id Identifier of the request.
|
|
714
714
|
* @throws GetReportStatusHttpError
|
|
715
715
|
*/
|
|
716
|
-
declare
|
|
716
|
+
declare function getReportStatus(id: string, options?: ApiCallOptions): Promise<GetReportStatusHttpResponse>;
|
|
717
717
|
type GetReportStatusHttpResponse = {
|
|
718
718
|
data: ReportStatus;
|
|
719
719
|
headers: Headers;
|
package/reports.js
CHANGED
|
@@ -1,24 +1,28 @@
|
|
|
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/reports.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
9
|
+
async function createReport(body, options) {
|
|
10
|
+
return invokeFetch("reports", {
|
|
11
|
+
method: "post",
|
|
12
|
+
pathTemplate: "/api/v1/reports",
|
|
13
|
+
body,
|
|
14
|
+
contentType: "application/json",
|
|
15
|
+
options
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async function getReportStatus(id, options) {
|
|
19
|
+
return invokeFetch("reports", {
|
|
20
|
+
method: "get",
|
|
21
|
+
pathTemplate: "/api/v1/reports/{id}/status",
|
|
22
|
+
pathVariables: { id },
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
22
26
|
function clearCache() {
|
|
23
27
|
return clearApiCache("reports");
|
|
24
28
|
}
|
package/roles.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 CreateRole = {
|
|
5
5
|
/** Selection of scopes to assign to role */
|
|
@@ -163,7 +163,7 @@ type Role = {
|
|
|
163
163
|
* @param query an object with query parameters
|
|
164
164
|
* @throws GetRolesHttpError
|
|
165
165
|
*/
|
|
166
|
-
declare
|
|
166
|
+
declare function getRoles(query: {
|
|
167
167
|
/** The advanced filtering to use for the query. Refer to [RFC 7644](https://datatracker.ietf.org/doc/rfc7644/) for the syntax. All conditional statements within this query parameter are case insensitive. */
|
|
168
168
|
filter?: string;
|
|
169
169
|
/** The number of roles to retrieve. */
|
|
@@ -176,7 +176,7 @@ declare const getRoles: (query: {
|
|
|
176
176
|
sort?: string;
|
|
177
177
|
/** Determines wether to return a count of the total records matched in the query. Defaults to false. */
|
|
178
178
|
totalResults?: boolean;
|
|
179
|
-
}, options?: ApiCallOptions)
|
|
179
|
+
}, options?: ApiCallOptions): Promise<GetRolesHttpResponse>;
|
|
180
180
|
type GetRolesHttpResponse = {
|
|
181
181
|
data: ListRolesResult;
|
|
182
182
|
headers: Headers;
|
|
@@ -195,7 +195,7 @@ type GetRolesHttpError = {
|
|
|
195
195
|
* @param body an object with the body content
|
|
196
196
|
* @throws CreateRoleHttpError
|
|
197
197
|
*/
|
|
198
|
-
declare
|
|
198
|
+
declare function createRole(body: CreateRole, options?: ApiCallOptions): Promise<CreateRoleHttpResponse>;
|
|
199
199
|
type CreateRoleHttpResponse = {
|
|
200
200
|
data: Role;
|
|
201
201
|
headers: Headers;
|
|
@@ -212,7 +212,7 @@ type CreateRoleHttpError = {
|
|
|
212
212
|
* @param id The unique identifier for the role.
|
|
213
213
|
* @throws DeleteRoleHttpError
|
|
214
214
|
*/
|
|
215
|
-
declare
|
|
215
|
+
declare function deleteRole(id: string, options?: ApiCallOptions): Promise<DeleteRoleHttpResponse>;
|
|
216
216
|
type DeleteRoleHttpResponse = {
|
|
217
217
|
data: void;
|
|
218
218
|
headers: Headers;
|
|
@@ -229,7 +229,7 @@ type DeleteRoleHttpError = {
|
|
|
229
229
|
* @param id The unique identifier for the role.
|
|
230
230
|
* @throws GetRoleHttpError
|
|
231
231
|
*/
|
|
232
|
-
declare
|
|
232
|
+
declare function getRole(id: string, options?: ApiCallOptions): Promise<GetRoleHttpResponse>;
|
|
233
233
|
type GetRoleHttpResponse = {
|
|
234
234
|
data: Role;
|
|
235
235
|
headers: Headers;
|
|
@@ -247,7 +247,7 @@ type GetRoleHttpError = {
|
|
|
247
247
|
* @param body an object with the body content
|
|
248
248
|
* @throws PatchRoleHttpError
|
|
249
249
|
*/
|
|
250
|
-
declare
|
|
250
|
+
declare function patchRole(id: string, body: PatchRoles, options?: ApiCallOptions): Promise<PatchRoleHttpResponse>;
|
|
251
251
|
type PatchRoleHttpResponse = {
|
|
252
252
|
data: void;
|
|
253
253
|
headers: Headers;
|
package/roles.js
CHANGED
|
@@ -1,44 +1,54 @@
|
|
|
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/roles.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
|
-
}
|
|
9
|
+
async function getRoles(query, options) {
|
|
10
|
+
return invokeFetch("roles", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/roles",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createRole(body, options) {
|
|
18
|
+
return invokeFetch("roles", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/roles",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function deleteRole(id, options) {
|
|
27
|
+
return invokeFetch("roles", {
|
|
28
|
+
method: "delete",
|
|
29
|
+
pathTemplate: "/api/v1/roles/{id}",
|
|
30
|
+
pathVariables: { id },
|
|
31
|
+
options
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
async function getRole(id, options) {
|
|
35
|
+
return invokeFetch("roles", {
|
|
36
|
+
method: "get",
|
|
37
|
+
pathTemplate: "/api/v1/roles/{id}",
|
|
38
|
+
pathVariables: { id },
|
|
39
|
+
options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async function patchRole(id, body, options) {
|
|
43
|
+
return invokeFetch("roles", {
|
|
44
|
+
method: "patch",
|
|
45
|
+
pathTemplate: "/api/v1/roles/{id}",
|
|
46
|
+
pathVariables: { id },
|
|
47
|
+
body,
|
|
48
|
+
contentType: "application/json",
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
42
52
|
function clearCache() {
|
|
43
53
|
return clearApiCache("roles");
|
|
44
54
|
}
|
package/sharing-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 APISettingsUpload = {
|
|
5
5
|
/** Whether API endpoints for sharing are enabled */
|
|
@@ -664,7 +664,7 @@ type UserIDRecipientPersist = {
|
|
|
664
664
|
* @param query an object with query parameters
|
|
665
665
|
* @throws GetSharingTasksHttpError
|
|
666
666
|
*/
|
|
667
|
-
declare
|
|
667
|
+
declare function getSharingTasks(query: {
|
|
668
668
|
/** the filter by sharing task resource app id. TenantAdmin users may omit this parameter to list all sharing-tasks in the tenant. */
|
|
669
669
|
appid?: string;
|
|
670
670
|
/** Indicates if task with the status DELETING should be excluded from the list */
|
|
@@ -693,7 +693,7 @@ declare const getSharingTasks: (query: {
|
|
|
693
693
|
templateId?: string[];
|
|
694
694
|
/** the filter by sharing task resource type. If type is template-sharing only and user is not tenant admin, appid is also required. */
|
|
695
695
|
type?: ("chart-monitoring" | "chart-sharing" | "sheet-sharing" | "template-sharing")[];
|
|
696
|
-
}, options?: ApiCallOptions)
|
|
696
|
+
}, options?: ApiCallOptions): Promise<GetSharingTasksHttpResponse>;
|
|
697
697
|
type GetSharingTasksHttpResponse = {
|
|
698
698
|
data: SharingTaskRecurringListResponse;
|
|
699
699
|
headers: Headers;
|
|
@@ -712,7 +712,7 @@ type GetSharingTasksHttpError = {
|
|
|
712
712
|
* @param body an object with the body content
|
|
713
713
|
* @throws CreateSharingTaskHttpError
|
|
714
714
|
*/
|
|
715
|
-
declare
|
|
715
|
+
declare function createSharingTask(body: SharingTaskRecurringCreateRequest, options?: ApiCallOptions): Promise<CreateSharingTaskHttpResponse>;
|
|
716
716
|
type CreateSharingTaskHttpResponse = {
|
|
717
717
|
data: SharingTaskRecurringResponse;
|
|
718
718
|
headers: Headers;
|
|
@@ -729,7 +729,7 @@ type CreateSharingTaskHttpError = {
|
|
|
729
729
|
* @param body an object with the body content
|
|
730
730
|
* @throws ExecuteSharingTasksHttpError
|
|
731
731
|
*/
|
|
732
|
-
declare
|
|
732
|
+
declare function executeSharingTasks(body: SharingActionsTriggerCreateRequest, options?: ApiCallOptions): Promise<ExecuteSharingTasksHttpResponse>;
|
|
733
733
|
type ExecuteSharingTasksHttpResponse = {
|
|
734
734
|
data: void;
|
|
735
735
|
headers: Headers;
|
|
@@ -745,7 +745,7 @@ type ExecuteSharingTasksHttpError = {
|
|
|
745
745
|
*
|
|
746
746
|
* @throws GetSharingTasksSettingsHttpError
|
|
747
747
|
*/
|
|
748
|
-
declare
|
|
748
|
+
declare function getSharingTasksSettings(options?: ApiCallOptions): Promise<GetSharingTasksSettingsHttpResponse>;
|
|
749
749
|
type GetSharingTasksSettingsHttpResponse = {
|
|
750
750
|
data: SharingSettings;
|
|
751
751
|
headers: Headers;
|
|
@@ -762,7 +762,7 @@ type GetSharingTasksSettingsHttpError = {
|
|
|
762
762
|
* @param body an object with the body content
|
|
763
763
|
* @throws UpdateSharingTasksSettingsHttpError
|
|
764
764
|
*/
|
|
765
|
-
declare
|
|
765
|
+
declare function updateSharingTasksSettings(body: SharingSettingsPatchCompliantList, options?: ApiCallOptions): Promise<UpdateSharingTasksSettingsHttpResponse>;
|
|
766
766
|
type UpdateSharingTasksSettingsHttpResponse = {
|
|
767
767
|
data: void;
|
|
768
768
|
headers: Headers;
|
|
@@ -779,7 +779,7 @@ type UpdateSharingTasksSettingsHttpError = {
|
|
|
779
779
|
* @param body an object with the body content
|
|
780
780
|
* @throws ConfigureSharingTasksSettingsHttpError
|
|
781
781
|
*/
|
|
782
|
-
declare
|
|
782
|
+
declare function configureSharingTasksSettings(body: APISettingsUpload, options?: ApiCallOptions): Promise<ConfigureSharingTasksSettingsHttpResponse>;
|
|
783
783
|
type ConfigureSharingTasksSettingsHttpResponse = {
|
|
784
784
|
data: void;
|
|
785
785
|
headers: Headers;
|
|
@@ -796,7 +796,7 @@ type ConfigureSharingTasksSettingsHttpError = {
|
|
|
796
796
|
* @param taskId The sharing task identifier.
|
|
797
797
|
* @throws DeleteSharingTaskHttpError
|
|
798
798
|
*/
|
|
799
|
-
declare
|
|
799
|
+
declare function deleteSharingTask(taskId: string, options?: ApiCallOptions): Promise<DeleteSharingTaskHttpResponse>;
|
|
800
800
|
type DeleteSharingTaskHttpResponse = {
|
|
801
801
|
data: void;
|
|
802
802
|
headers: Headers;
|
|
@@ -814,10 +814,10 @@ type DeleteSharingTaskHttpError = {
|
|
|
814
814
|
* @param query an object with query parameters
|
|
815
815
|
* @throws GetSharingTaskHttpError
|
|
816
816
|
*/
|
|
817
|
-
declare
|
|
817
|
+
declare function getSharingTask(taskId: string, query: {
|
|
818
818
|
/** A boolean flag to know if the user has clicked on the view chart button */
|
|
819
819
|
isViewChart?: boolean;
|
|
820
|
-
}, options?: ApiCallOptions)
|
|
820
|
+
}, options?: ApiCallOptions): Promise<GetSharingTaskHttpResponse>;
|
|
821
821
|
type GetSharingTaskHttpResponse = {
|
|
822
822
|
data: SharingTaskRecurringResponse;
|
|
823
823
|
headers: Headers;
|
|
@@ -835,7 +835,7 @@ type GetSharingTaskHttpError = {
|
|
|
835
835
|
* @param body an object with the body content
|
|
836
836
|
* @throws PatchSharingTaskHttpError
|
|
837
837
|
*/
|
|
838
|
-
declare
|
|
838
|
+
declare function patchSharingTask(taskId: string, body: SharingTaskPatchRequestCompliantList, options?: ApiCallOptions): Promise<PatchSharingTaskHttpResponse>;
|
|
839
839
|
type PatchSharingTaskHttpResponse = {
|
|
840
840
|
data: void;
|
|
841
841
|
headers: Headers;
|
|
@@ -852,7 +852,7 @@ type PatchSharingTaskHttpError = {
|
|
|
852
852
|
* @param taskId The sharing task identifier.
|
|
853
853
|
* @throws CancelSharingTaskHttpError
|
|
854
854
|
*/
|
|
855
|
-
declare
|
|
855
|
+
declare function cancelSharingTask(taskId: string, options?: ApiCallOptions): Promise<CancelSharingTaskHttpResponse>;
|
|
856
856
|
type CancelSharingTaskHttpResponse = {
|
|
857
857
|
data: void;
|
|
858
858
|
headers: Headers;
|