@qlik/api 1.32.0 → 1.33.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 +10 -10
- 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 +27 -27
- 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/{YTT2FEVE.js → 33GQY7N7.js} +1 -1
- package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{LTNGXTXG.js → GPRUNZV4.js} +3 -3
- package/chunks/{VVD2DPKQ.js → LIEZG7IM.js} +3 -3
- package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
- package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
- package/chunks/{RCLKKVYB.js → SPATCXXU.js} +9 -2
- package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
- package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
- 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 +101 -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 +13 -13
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +100 -52
- package/ml.js +379 -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 +22 -22
- 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/conditions.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 APISettings = {
|
|
5
5
|
/** Whether API endpoints for condition manager are enabled */
|
|
@@ -380,7 +380,7 @@ type SingleErrorResponse = {
|
|
|
380
380
|
* @param body an object with the body content
|
|
381
381
|
* @throws CreateConditionHttpError
|
|
382
382
|
*/
|
|
383
|
-
declare
|
|
383
|
+
declare function createCondition(body: ConditionCreateRequest, options?: ApiCallOptions): Promise<CreateConditionHttpResponse>;
|
|
384
384
|
type CreateConditionHttpResponse = {
|
|
385
385
|
data: ConditionResponse;
|
|
386
386
|
headers: Headers;
|
|
@@ -397,7 +397,7 @@ type CreateConditionHttpError = {
|
|
|
397
397
|
* @param body an object with the body content
|
|
398
398
|
* @throws CreateConditionPreviewHttpError
|
|
399
399
|
*/
|
|
400
|
-
declare
|
|
400
|
+
declare function createConditionPreview(body: ConditionCreateRequest, options?: ApiCallOptions): Promise<CreateConditionPreviewHttpResponse>;
|
|
401
401
|
type CreateConditionPreviewHttpResponse = {
|
|
402
402
|
data: PreviewResponse;
|
|
403
403
|
headers: Headers;
|
|
@@ -414,7 +414,7 @@ type CreateConditionPreviewHttpError = {
|
|
|
414
414
|
* @param id The id of the condition
|
|
415
415
|
* @throws GetConditionPreviewHttpError
|
|
416
416
|
*/
|
|
417
|
-
declare
|
|
417
|
+
declare function getConditionPreview(id: string, options?: ApiCallOptions): Promise<GetConditionPreviewHttpResponse>;
|
|
418
418
|
type GetConditionPreviewHttpResponse = {
|
|
419
419
|
data: PreviewStatusResponse;
|
|
420
420
|
headers: Headers;
|
|
@@ -430,7 +430,7 @@ type GetConditionPreviewHttpError = {
|
|
|
430
430
|
*
|
|
431
431
|
* @throws GetConditionsSettingsHttpError
|
|
432
432
|
*/
|
|
433
|
-
declare
|
|
433
|
+
declare function getConditionsSettings(options?: ApiCallOptions): Promise<GetConditionsSettingsHttpResponse>;
|
|
434
434
|
type GetConditionsSettingsHttpResponse = {
|
|
435
435
|
data: APISettings;
|
|
436
436
|
headers: Headers;
|
|
@@ -447,7 +447,7 @@ type GetConditionsSettingsHttpError = {
|
|
|
447
447
|
* @param body an object with the body content
|
|
448
448
|
* @throws SetConditionsSettingsHttpError
|
|
449
449
|
*/
|
|
450
|
-
declare
|
|
450
|
+
declare function setConditionsSettings(body: APISettingsUpload, options?: ApiCallOptions): Promise<SetConditionsSettingsHttpResponse>;
|
|
451
451
|
type SetConditionsSettingsHttpResponse = {
|
|
452
452
|
data: void;
|
|
453
453
|
headers: Headers;
|
|
@@ -464,7 +464,7 @@ type SetConditionsSettingsHttpError = {
|
|
|
464
464
|
* @param id The id of the condition
|
|
465
465
|
* @throws DeleteConditionHttpError
|
|
466
466
|
*/
|
|
467
|
-
declare
|
|
467
|
+
declare function deleteCondition(id: string, options?: ApiCallOptions): Promise<DeleteConditionHttpResponse>;
|
|
468
468
|
type DeleteConditionHttpResponse = {
|
|
469
469
|
data: void;
|
|
470
470
|
headers: Headers;
|
|
@@ -481,7 +481,7 @@ type DeleteConditionHttpError = {
|
|
|
481
481
|
* @param id The id of the condition
|
|
482
482
|
* @throws GetConditionHttpError
|
|
483
483
|
*/
|
|
484
|
-
declare
|
|
484
|
+
declare function getCondition(id: string, options?: ApiCallOptions): Promise<GetConditionHttpResponse>;
|
|
485
485
|
type GetConditionHttpResponse = {
|
|
486
486
|
data: Condition;
|
|
487
487
|
headers: Headers;
|
|
@@ -499,7 +499,7 @@ type GetConditionHttpError = {
|
|
|
499
499
|
* @param body an object with the body content
|
|
500
500
|
* @throws PatchConditionHttpError
|
|
501
501
|
*/
|
|
502
|
-
declare
|
|
502
|
+
declare function patchCondition(id: string, body: ConditionPatch, options?: ApiCallOptions): Promise<PatchConditionHttpResponse>;
|
|
503
503
|
type PatchConditionHttpResponse = {
|
|
504
504
|
data: void;
|
|
505
505
|
headers: Headers;
|
|
@@ -517,7 +517,7 @@ type PatchConditionHttpError = {
|
|
|
517
517
|
* @param body an object with the body content
|
|
518
518
|
* @throws CreateConditionEvaluationHttpError
|
|
519
519
|
*/
|
|
520
|
-
declare
|
|
520
|
+
declare function createConditionEvaluation(id: string, body: CreateEvaluationRequest, options?: ApiCallOptions): Promise<CreateConditionEvaluationHttpResponse>;
|
|
521
521
|
type CreateConditionEvaluationHttpResponse = {
|
|
522
522
|
data: CreateEvaluationResponse;
|
|
523
523
|
headers: Headers;
|
|
@@ -535,7 +535,7 @@ type CreateConditionEvaluationHttpError = {
|
|
|
535
535
|
* @param evaluationId The id of the evaluation
|
|
536
536
|
* @throws DeleteConditionEvaluationHttpError
|
|
537
537
|
*/
|
|
538
|
-
declare
|
|
538
|
+
declare function deleteConditionEvaluation(id: string, evaluationId: string, options?: ApiCallOptions): Promise<DeleteConditionEvaluationHttpResponse>;
|
|
539
539
|
type DeleteConditionEvaluationHttpResponse = {
|
|
540
540
|
data: void;
|
|
541
541
|
headers: Headers;
|
|
@@ -553,7 +553,7 @@ type DeleteConditionEvaluationHttpError = {
|
|
|
553
553
|
* @param evaluationId The id of the evaluation
|
|
554
554
|
* @throws GetConditionEvaluationHttpError
|
|
555
555
|
*/
|
|
556
|
-
declare
|
|
556
|
+
declare function getConditionEvaluation(id: string, evaluationId: string, options?: ApiCallOptions): Promise<GetConditionEvaluationHttpResponse>;
|
|
557
557
|
type GetConditionEvaluationHttpResponse = {
|
|
558
558
|
data: GetEvaluationResponse;
|
|
559
559
|
headers: Headers;
|
package/conditions.js
CHANGED
|
@@ -1,83 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/conditions.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
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
9
|
+
async function createCondition(body, options) {
|
|
10
|
+
return invokeFetch("conditions", {
|
|
11
|
+
method: "post",
|
|
12
|
+
pathTemplate: "/api/v1/conditions",
|
|
13
|
+
body,
|
|
14
|
+
contentType: "application/json",
|
|
15
|
+
options
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async function createConditionPreview(body, options) {
|
|
19
|
+
return invokeFetch("conditions", {
|
|
20
|
+
method: "post",
|
|
21
|
+
pathTemplate: "/api/v1/conditions/previews",
|
|
22
|
+
body,
|
|
23
|
+
contentType: "application/json",
|
|
24
|
+
options
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
async function getConditionPreview(id, options) {
|
|
28
|
+
return invokeFetch("conditions", {
|
|
29
|
+
method: "get",
|
|
30
|
+
pathTemplate: "/api/v1/conditions/previews/{id}",
|
|
31
|
+
pathVariables: { id },
|
|
32
|
+
options
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
async function getConditionsSettings(options) {
|
|
36
|
+
return invokeFetch("conditions", {
|
|
37
|
+
method: "get",
|
|
38
|
+
pathTemplate: "/api/v1/conditions/settings",
|
|
39
|
+
options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async function setConditionsSettings(body, options) {
|
|
43
|
+
return invokeFetch("conditions", {
|
|
44
|
+
method: "put",
|
|
45
|
+
pathTemplate: "/api/v1/conditions/settings",
|
|
46
|
+
body,
|
|
47
|
+
contentType: "application/json",
|
|
48
|
+
options
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
async function deleteCondition(id, options) {
|
|
52
|
+
return invokeFetch("conditions", {
|
|
53
|
+
method: "delete",
|
|
54
|
+
pathTemplate: "/api/v1/conditions/{id}",
|
|
55
|
+
pathVariables: { id },
|
|
56
|
+
options
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
async function getCondition(id, options) {
|
|
60
|
+
return invokeFetch("conditions", {
|
|
61
|
+
method: "get",
|
|
62
|
+
pathTemplate: "/api/v1/conditions/{id}",
|
|
63
|
+
pathVariables: { id },
|
|
64
|
+
options
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
async function patchCondition(id, body, options) {
|
|
68
|
+
return invokeFetch("conditions", {
|
|
69
|
+
method: "patch",
|
|
70
|
+
pathTemplate: "/api/v1/conditions/{id}",
|
|
71
|
+
pathVariables: { id },
|
|
72
|
+
body,
|
|
73
|
+
contentType: "application/json",
|
|
74
|
+
options
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
async function createConditionEvaluation(id, body, options) {
|
|
78
|
+
return invokeFetch("conditions", {
|
|
79
|
+
method: "post",
|
|
80
|
+
pathTemplate: "/api/v1/conditions/{id}/evaluations",
|
|
81
|
+
pathVariables: { id },
|
|
82
|
+
body,
|
|
83
|
+
contentType: "application/json",
|
|
84
|
+
options
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
async function deleteConditionEvaluation(id, evaluationId, options) {
|
|
88
|
+
return invokeFetch("conditions", {
|
|
89
|
+
method: "delete",
|
|
90
|
+
pathTemplate: "/api/v1/conditions/{id}/evaluations/{evaluationId}",
|
|
91
|
+
pathVariables: { id, evaluationId },
|
|
92
|
+
options
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
async function getConditionEvaluation(id, evaluationId, options) {
|
|
96
|
+
return invokeFetch("conditions", {
|
|
97
|
+
method: "get",
|
|
98
|
+
pathTemplate: "/api/v1/conditions/{id}/evaluations/{evaluationId}",
|
|
99
|
+
pathVariables: { id, evaluationId },
|
|
100
|
+
options
|
|
101
|
+
});
|
|
102
|
+
}
|
|
81
103
|
function clearCache() {
|
|
82
104
|
return clearApiCache("conditions");
|
|
83
105
|
}
|
package/consumption.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 Enforcement = {
|
|
5
5
|
/** Resource action type to be blocked */
|
|
@@ -125,7 +125,7 @@ type StandardListResponseProps = {
|
|
|
125
125
|
* @param query an object with query parameters
|
|
126
126
|
* @throws GetConsumptionExecutionsHttpError
|
|
127
127
|
*/
|
|
128
|
-
declare
|
|
128
|
+
declare function getConsumptionExecutions(query: {
|
|
129
129
|
actionToBlock?: string;
|
|
130
130
|
/** The advanced filtering to use for the query. Refer to [RFC 7644](https://datatracker.ietf.org/doc/rfc7644/) for the syntax.
|
|
131
131
|
*
|
|
@@ -144,7 +144,7 @@ declare const getConsumptionExecutions: (query: {
|
|
|
144
144
|
/** Specifies which periods to include regardless of the period type, start and end specified */
|
|
145
145
|
periodsToInclude?: ("current" | "previous")[];
|
|
146
146
|
sort?: ("periodstart" | "-periodstart" | "+periodstart" | "periodend" | "-periodend" | "+periodend")[];
|
|
147
|
-
}, options?: ApiCallOptions)
|
|
147
|
+
}, options?: ApiCallOptions): Promise<GetConsumptionExecutionsHttpResponse>;
|
|
148
148
|
type GetConsumptionExecutionsHttpResponse = {
|
|
149
149
|
data: ExecutionsByTenantList;
|
|
150
150
|
headers: Headers;
|
package/consumption.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/consumption.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
async function getConsumptionExecutions(query, options) {
|
|
10
|
+
return invokeFetch("consumption", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/consumption/executions",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
15
17
|
function clearCache() {
|
|
16
18
|
return clearApiCache("consumption");
|
|
17
19
|
}
|
package/csp-origins.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 CSPEntry = {
|
|
5
5
|
/** The CSP entry's unique identifier. */
|
|
@@ -76,7 +76,7 @@ type Link = {
|
|
|
76
76
|
* @param query an object with query parameters
|
|
77
77
|
* @throws GetCSPEntriesHttpError
|
|
78
78
|
*/
|
|
79
|
-
declare
|
|
79
|
+
declare function getCSPEntries(query: {
|
|
80
80
|
/** Filter resources by directive 'childSrc', true/false. */
|
|
81
81
|
childSrc?: boolean;
|
|
82
82
|
/** Filter resources by directive 'connectSrc', true/false. */
|
|
@@ -115,7 +115,7 @@ declare const getCSPEntries: (query: {
|
|
|
115
115
|
styleSrc?: boolean;
|
|
116
116
|
/** Filter resources by directive 'workerSrc', true/false. */
|
|
117
117
|
workerSrc?: boolean;
|
|
118
|
-
}, options?: ApiCallOptions)
|
|
118
|
+
}, options?: ApiCallOptions): Promise<GetCSPEntriesHttpResponse>;
|
|
119
119
|
type GetCSPEntriesHttpResponse = {
|
|
120
120
|
data: CSPEntryList;
|
|
121
121
|
headers: Headers;
|
|
@@ -134,7 +134,7 @@ type GetCSPEntriesHttpError = {
|
|
|
134
134
|
* @param body an object with the body content
|
|
135
135
|
* @throws CreateCSPEntryHttpError
|
|
136
136
|
*/
|
|
137
|
-
declare
|
|
137
|
+
declare function createCSPEntry(body: CSPEntryContent, options?: ApiCallOptions): Promise<CreateCSPEntryHttpResponse>;
|
|
138
138
|
type CreateCSPEntryHttpResponse = {
|
|
139
139
|
data: CSPEntry;
|
|
140
140
|
headers: Headers;
|
|
@@ -150,7 +150,7 @@ type CreateCSPEntryHttpError = {
|
|
|
150
150
|
*
|
|
151
151
|
* @throws GetCSPHeaderHttpError
|
|
152
152
|
*/
|
|
153
|
-
declare
|
|
153
|
+
declare function getCSPHeader(options?: ApiCallOptions): Promise<GetCSPHeaderHttpResponse>;
|
|
154
154
|
type GetCSPHeaderHttpResponse = {
|
|
155
155
|
data: CSPHeader;
|
|
156
156
|
headers: Headers;
|
|
@@ -167,7 +167,7 @@ type GetCSPHeaderHttpError = {
|
|
|
167
167
|
* @param id The CSP entry's unique identifier.
|
|
168
168
|
* @throws DeleteCSPEntryHttpError
|
|
169
169
|
*/
|
|
170
|
-
declare
|
|
170
|
+
declare function deleteCSPEntry(id: string, options?: ApiCallOptions): Promise<DeleteCSPEntryHttpResponse>;
|
|
171
171
|
type DeleteCSPEntryHttpResponse = {
|
|
172
172
|
data: void;
|
|
173
173
|
headers: Headers;
|
|
@@ -184,7 +184,7 @@ type DeleteCSPEntryHttpError = {
|
|
|
184
184
|
* @param id The CSP entry's unique identifier.
|
|
185
185
|
* @throws GetCSPEntryHttpError
|
|
186
186
|
*/
|
|
187
|
-
declare
|
|
187
|
+
declare function getCSPEntry(id: string, options?: ApiCallOptions): Promise<GetCSPEntryHttpResponse>;
|
|
188
188
|
type GetCSPEntryHttpResponse = {
|
|
189
189
|
data: CSPEntry;
|
|
190
190
|
headers: Headers;
|
|
@@ -202,7 +202,7 @@ type GetCSPEntryHttpError = {
|
|
|
202
202
|
* @param body an object with the body content
|
|
203
203
|
* @throws UpdateCSPEntryHttpError
|
|
204
204
|
*/
|
|
205
|
-
declare
|
|
205
|
+
declare function updateCSPEntry(id: string, body: CSPEntryContent, options?: ApiCallOptions): Promise<UpdateCSPEntryHttpResponse>;
|
|
206
206
|
type UpdateCSPEntryHttpResponse = {
|
|
207
207
|
data: CSPEntry;
|
|
208
208
|
headers: Headers;
|
package/csp-origins.js
CHANGED
|
@@ -1,49 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/csp-origins.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
|
-
|
|
9
|
+
async function getCSPEntries(query, options) {
|
|
10
|
+
return invokeFetch("csp-origins", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/csp-origins",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createCSPEntry(body, options) {
|
|
18
|
+
return invokeFetch("csp-origins", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/csp-origins",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function getCSPHeader(options) {
|
|
27
|
+
return invokeFetch("csp-origins", {
|
|
28
|
+
method: "get",
|
|
29
|
+
pathTemplate: "/api/v1/csp-origins/actions/generate-header",
|
|
30
|
+
options
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function deleteCSPEntry(id, options) {
|
|
34
|
+
return invokeFetch("csp-origins", {
|
|
35
|
+
method: "delete",
|
|
36
|
+
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
37
|
+
pathVariables: { id },
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async function getCSPEntry(id, options) {
|
|
42
|
+
return invokeFetch("csp-origins", {
|
|
43
|
+
method: "get",
|
|
44
|
+
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
45
|
+
pathVariables: { id },
|
|
46
|
+
options
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
async function updateCSPEntry(id, body, options) {
|
|
50
|
+
return invokeFetch("csp-origins", {
|
|
51
|
+
method: "put",
|
|
52
|
+
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
53
|
+
pathVariables: { id },
|
|
54
|
+
body,
|
|
55
|
+
contentType: "application/json",
|
|
56
|
+
options
|
|
57
|
+
});
|
|
58
|
+
}
|
|
47
59
|
function clearCache() {
|
|
48
60
|
return clearApiCache("csp-origins");
|
|
49
61
|
}
|
package/csrf-token.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.
|
|
@@ -27,7 +27,7 @@ type Errors = {
|
|
|
27
27
|
*
|
|
28
28
|
* @throws GetCsrfTokenHttpError
|
|
29
29
|
*/
|
|
30
|
-
declare
|
|
30
|
+
declare function getCsrfToken(options?: ApiCallOptions): Promise<GetCsrfTokenHttpResponse>;
|
|
31
31
|
type GetCsrfTokenHttpResponse = {
|
|
32
32
|
data: void;
|
|
33
33
|
headers: Headers;
|
package/csrf-token.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/csrf-token.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
async function getCsrfToken(options) {
|
|
10
|
+
return invokeFetch("csrf-token", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/csrf-token",
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
}
|
|
14
16
|
function clearCache() {
|
|
15
17
|
return clearApiCache("csrf-token");
|
|
16
18
|
}
|